need help for configuring wifi under OpenSuse 11 [update]

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

need help for configuring wifi under OpenSuse 11 [update]

#1 Post by Marin85 » Wed Sep 03, 2008 9:48 am

Here is the output of iwconfig:

Code: Select all

lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"dragwl"  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:19:E0:A0:D2:8C
          Bit Rate:1 Mb/s   Tx-Power:8 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=27/70  Signal level=-67 dBm  Noise level=-94 dBm
          Rx invalid nwid:682  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

irda0     no wireless extensions.
And here is the output of ifconfig

Code: Select all

ath0      Link encap:Ethernet  HWaddr 00:19:7D:D6:7A:F2
          inet6 addr: fe80::219:7dff:fed6:7af2/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:16:36:FF:80:60
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16

irda0     Link encap:IrLAP  HWaddr f7:2c:37:b5
          UP RUNNING NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4408 (4.3 Kb)  TX bytes:4408 (4.3 Kb)

wifi0     Link encap:UNSPEC  HWaddr 00-19-7D-D6-7A-F2-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3893 errors:0 dropped:0 overruns:0 frame:22411
          TX packets:300 errors:13 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:459220 (448.4 Kb)  TX bytes:14202 (13.8 Kb)
          Interrupt:17
And here is the output of dhclient ath0

Code: Select all

Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:19:7d:d6:7a:f2
Sending on   LPF/ath0/00:19:7d:d6:7a:f2
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
I believe the good news is that the card receives association with the AP, the bad news is that´s all :lol: :cry: Because there is still no actual internet connection working there. In YAST the card is set to DHCP. Scanning is working properly both in konsole and KNetworkManager. The latter can´t establish connection either. I tried disabling eth0, but to no avail. Any hints what I should be looking for/at are greatly appreciated!

Thanks

Marin

EDIT: Looking at the increasing nwid I don´t want to believe that madwfi cannot handle some sort of overtraffic in the channel. This shouldn´t be a problem, right? (Apparently, it´s not an issue under Vista.)
Last edited by Marin85 on Fri Jan 30, 2009 8:04 am, edited 2 times in total.
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

gongo2k1
Sophomore Member
Posts: 200
Joined: Mon Jun 30, 2008 10:25 pm

#2 Post by gongo2k1 » Wed Sep 03, 2008 2:30 pm

lol, that card is really giving you problems no matter what you try!

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#3 Post by Marin85 » Thu Sep 04, 2008 7:32 am

Yes, it´s almost tragicomic :lol: and it´s also embarrassing to spam the forum with it anymore :oops: If I find any working solution to this, I´ll post back. If that´s my last post here, I might have gone kill myself!


Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

rssb
Junior Member
Junior Member
Posts: 476
Joined: Tue Dec 14, 2004 4:35 pm
Location: Richmond,VA

#4 Post by rssb » Thu Sep 04, 2008 7:55 am

Are you using the madwifi drivers or the Suse 11.0's ath5k ?

Mine is an atheros, the networks would show up but would not connect ( fail to get an ip ) like your case.

Following this link , I have everything working now.

http://www.susegeek.com/wireless/unable ... nsuse-110/

HTH

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#5 Post by Marin85 » Fri Sep 05, 2008 6:56 am

Thanks for your reply and for the link. I have already blacklisted the ath5k driver before installing madwifi. lsmod | grep ath5k has no output in konsole and rmmod ath5k says there is no such module. So I don´t thing the ath5k is here really the problem, but I´ll check that out again.
Also thanks for the link! It´s worth a try, I think I may be doing something wrong in the YaST2 part.

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

rssb
Junior Member
Junior Member
Posts: 476
Joined: Tue Dec 14, 2004 4:35 pm
Location: Richmond,VA

#6 Post by rssb » Fri Sep 05, 2008 9:25 am

once you have the madwifi drivers complied and rebooted.

Do a modprobe -a ath_pci, then check if you are able to see the wireless networks on command line.

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#7 Post by Marin85 » Fri Sep 05, 2008 1:25 pm

Without first configuring the wifi card in YaST2 I´m not able to see the wireless devices in konsole even with the ath_pci module loaded.

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#8 Post by lightweight » Fri Sep 05, 2008 7:30 pm

Try a

Code: Select all

sudo iwlist ath0 scanning
Have you isolated if this is a dhcp client problem or if your card simply can't pass traffic by setting a static ip?

If you do isolate this to dhcp, fwiw on my x60s's Atheros card I sometimes can't get leases when moving around unless I kill the dhclient tied to the interface. I am not suggesting that this is an Atheros specific problem, only that I never did this with Intel 4965 on my x61s (though the Intel tends to disassociate with APs). Anyway, try this, which gracefully kills any dhclients, clears all lease info (the dhcpd server will parse its dhcpd.leases on the client request, anyway), sleeps for a second, then starts a new dhclient. Totally jank and lazy, but a series of steps that work for me when I move around from AP to AP.

Code: Select all

for i in `ps ax |awk '/dhclient/ print $1'`; do sudo kill -15 $i; done; echo "" |sudo tee /var/lib/dhcp3/dhclient.ath0.leases; sleep 5; sudo dhclient ath0
(You could set that as an alias in your .bashrc and if your sudoers are set correctly, only need to use your password/fingerprint once when calling it.)
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#9 Post by Marin85 » Sat Sep 06, 2008 11:28 am

Update: I installed yesterday a fresh copy of OpenSuse 11 32bit. Then: compiled madwifi -> installed madwifi -> blacklisted ath5k -> rebooted -> able to see ath0 and wifi0 devices in terminal (without modprobe ath_pci) -> iwlist ath0 scan lists the available networks for a few minutes (but NetworkManager doesn´t see any) -> in a few minutes iwlist ath0 scan output is ath0: no scan results :? All that was before configuring the network in YaST2.

@lightweight: This could be very well an issue with the dhcp client. I found a post on another forum describing exact the same problem on a ThinkPad with Atheros chipset and suggesting that replacing dhclient with pump solves the porblem. I´m going to try this out when I´m back home and have an ethernet cable.
Also, I don´t actually move around, I have placed my laptop where I get the strongest signal, but I´m going to try killing the dhclient.

Marin

Off topic: I made some research on the ThinkPad Atheros chipsets and it seems that not all ThinkPad a/b/g cards are the same, even though the chipsets are all identified as AR5212 in Linux. So, it could be indeed the card that is not fully supported by madwifi :?
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#10 Post by lightweight » Sat Sep 06, 2008 2:15 pm

two cents: using madwifi 0.9.4 on 2.6.25-2 and need ath_pci loaded, or else my Atheros card becomes unusable.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

#11 Post by Marin85 » Sat Sep 06, 2008 3:09 pm

I usually modprobe the ath_pci module, but it seems that even without typing this in the terminal the modules ath_pci, ath_hal, wlan and ath_sample are loaded after reboot. At least they show up altogether with lsmod.

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

Re: need some help for configuring wifi under OpenSuse 11

#12 Post by Marin85 » Fri Jan 30, 2009 7:50 am

Sorry to revive somewhat old thread. but here is an

Update: A few weeks ago I found out that Mandriva 2008 Spring edition works flawlessly with my Atheros-based wifi card delivering really very impressive signal strength and ranges! However, updating the driver made it behave buggy. So, my assumption is that my issues with that card under Linux came somehow from the madwifi version which maybe was way to advanced for it or just not really that compatible... Anyway, I´ll be happy if someone could tell what the version of the madwifi driver is that Mandriva 2008 Spring comes with per default, so that I may try it out in other Linux distros (actually, I would stay with Mandriva, but for some reason it didn´t like my ultrabay drive, I guess I should have checked the permissions...)

Thanks

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

Re: need some help for configuring wifi under OpenSuse 11 UPDATE

#13 Post by GomJabbar » Fri Jan 30, 2009 8:23 am

In what way did Mandriva not work with your ultrabay drive? Are you talking about an optical drive or hard drive? Was Mandriva located on the ultrabay drive?

The file in Main Release is: madwifi-source-0.9.3-3mdv2008.1.noarch.rpm
All the madwifi-kernel drivers in Main Updates are version: 0.9.3.3-5.r3114
DKB

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

Re: need help for configuring wifi under OpenSuse 11 [update]

#14 Post by Marin85 » Fri Jan 30, 2009 8:44 am

I forgot to mention that the drive was/is a hard disk. I had Mandriva 2008 Spring installed on my primary HD. If I remember correctly, it told me that it could not access the ultrabay HD. That´s why I think I hadn´t set permissions properly. In fact I had moved all my data onto that drive in preparation to abandon windows and move completely to Linux, but to be honest, with this message I got scared not to lose my data as the ultrabay drive was my only backup since the other one had been formatted by Mandriva, so I didn´t try to work out the permissions (at least, that´s my guess why it didn´t work...).

Thanks,

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

Re: need help for configuring wifi under OpenSuse 11 [update]

#15 Post by Marin85 » Fri Jan 30, 2009 8:50 am

As for the ultrabay HD, now when I think again about it, I´m really not sure if it wasn´t indeed an active partition with windows installed on it :? I don´t know if that would make any difference for Mandriva Linux though... Also, I believe I put it instead of the DVD drive after Mandriva had been completely installed and after a few runs of it. I did this while my ThinkPad was powered off (not rebooting!), but I guess this doesn´t work like in Windows, so that might have been well the reason as well.
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

GomJabbar
Moderator
Moderator
Posts: 9765
Joined: Tue Jun 07, 2005 6:57 am

Re: need help for configuring wifi under OpenSuse 11 [update]

#16 Post by GomJabbar » Fri Jan 30, 2009 9:10 am

I don't remember the details exactly, but you go into MCC (Mandriva Linux Control Center) and under Local disks expert mode, add read/write permissions for all users. You might need to install ntfs-3g as well. You need to reboot for changes to take effect.

http://wiki.mandriva.com/en/NTFS
DKB

Marin85
Senior ThinkPadder
Senior ThinkPadder
Posts: 2975
Joined: Sat May 12, 2007 10:54 am
Location: Munich, Germany

Re: need help for configuring wifi under OpenSuse 11 [update]

#17 Post by Marin85 » Fri Jan 30, 2009 9:22 am

Hm, ok, thanks for the information, I will need it the next time I come back to Mandriva :)

Marin
IBM Lenovo Z61p | 15.4'' WUXGA | Intel Core 2 Duo T7400 2x 2.16GHz | 4 GB Kingston HyperX | Hitachi 7K500 500 GB + WD 1TB (USB) | ATI Mobility FireGL V5200 | ThinkPad Atheros a/b/g | Analog Devices AD1981HD | Win 7 x86 + ArchLinux 2009.08 x64 (number crunching)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests