Hi,
When trying to connect to the internet, Firefox can’t find any web pages. I’m running 12.1, KDE, with a Netgear WG111T USB wireless adaptor configured via Yast using the traditional ifup. I couldn’t get NetworkManager to work for me. I’ve also got the firewall disabled in Yast.
The output of dmesg is :
17.567786] ndiswrapper: driver netwg11t (NETGEAR,09/05/2005,1.5.0.2102) loaded
17.568757] ndiswrapper (ZwQueryValueKey:2329): not fully implemented (yet)
18.214723] wlan0: ethernet device 00:18:4d:da:03:db using NDIS driver: netwg11t, version: 0x10005, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 1385:4251.F.conf
18.275269] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
18.275431] usbcore: registered new interface driver ndiswrapper
18.704239] ADDRCONF(NETDEV_UP): wlan0: link is not ready
19.921976] ADDRCONF(NETDEV_UP): eth0: link is not ready
23.834760] ndiswrapper (iw_set_auth:1602): invalid cmd 12
25.882153] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
The output of iwlist is :
linux-4xoj:/home/Jim # iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:1B:2F:50:DB:76
ESSID:"HOME_WAN"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.417 GHz (Channel 2)
Quality:42/100 Signal level:-69 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
The output of iwconfig is :
linux-4xoj:/home/Jim # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11b ESSID:"HOME_WAN"
Mode:Managed Frequency:2.417 GHz Access Point: 00:1B:2F:50:DB:76
Bit Rate=11 Mb/s
Encryption key:off
Power Management:off
Link Quality:43/100 Signal level:-68 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
There’s probably one small thing I haven’t done, but being a newbie to this I’ve no idea what that small thing might be!
On 03/08/2012 04:16 AM, notwenj wrote:
>
> Hi,
> Thanks for replying!
>
> I’m using DHCP.
> The output of ifconfig is below, there isn’t an IP assigned.
>
> linux-4xoj:/home/Jim # /sbin/ifconfig
> eth0 Link encap:Ethernet HWaddr 00:19:21:41:30:C3
> 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:43 Base address:0xe000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:87 errors:0 dropped:0 overruns:0 frame:0
> TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:6249 (6.1 Kb) TX bytes:6249 (6.1 Kb)
>
> wlan0 Link encap:Ethernet HWaddr 00:18:4D:DA:03:DB
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:49 errors:0 dropped:0 overruns:0 frame:0
> TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5537 (5.4 Kb) TX bytes:10133 (9.8 Kb)
You have not authenticated yet. Please check the contents of
/etc/sysconfig/network/ifcfg-wlan0 to make certain that the contents are
correct. It should be something like
BOOTPROTO='dhcp'
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_ESSID='HOME_WAN'
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_POWER='none'
WIRELESS_WPA_PSK='your_wpa_secret_goes_here'
IFPLUGD_PRIORITY='0'
There is one additional possibility for a problem. Your device is 802.11b, and
it is possible that the AP is set to 802.11g-only.
I also wonder about that setting of channel 2. Are you aware that wireless
channels are 5 MHz apart, but 20 MHz wide. It is not like TV. The "clear"
channels are 1, 6, and 11. When you select #2, you get interference from both 1
and 6.
Thanks again for your help!
The contents of ifcfg-wlan0 match your listing. There are a lot of other entries in the file apart from those you’ve listed, and these are not set to anything (just ’ ') but I assume this is ok?
The router is set to b-only.
The PC is a dual boot, with Vista being the other OS. Vista uses the same router/usb adapter and is happy with channel 2 - in fact this channel was used because we kept interfering with our neighbours wireless networks - so I’m hoping this setup should be ok for Linux.
Is there anything else I can check?
On 03/09/2012 07:06 AM, notwenj wrote:
>
> Thanks again for your help!
> The contents of ifcfg-wlan0 match your listing. There are a lot of
> other entries in the file apart from those you’ve listed, and these are
> not set to anything (just ’ ') but I assume this is ok?
> The router is set to b-only.
> The PC is a dual boot, with Vista being the other OS. Vista uses the
> same router/usb adapter and is happy with channel 2 - in fact this
> channel was used because we kept interfering with our neighbours
> wireless networks - so I’m hoping this setup should be ok for Linux.
> Is there anything else I can check?
The extra blank entries in ifcfg-wlan0 are OK.
The setup should be OK. Are you sure that selecting channel 2 will stop the
interference with the neighbors? Channel 1 would be better as that would not
interfere with channel 6. As I explained before, everyone should be on 1, 6, or 11.
Two other things to check:
Is wpa_supplicant running? Use ‘ps ax | grep wpa’ to see. You should see a
line for “/usr/sbin/wpa_supplicant”.
Post a “session” from /var/log/wpa_supplicant.log. This will start with a
line "Trying to authenticate with <MAC address> (SSID=’<your SSID>’ freq=24XX
MHz). The standard log is a little sparse, but we will try that first.
Channel2 works for us, but I’ll keep it in mind to change to 6 or 11 if there’s future problems (I think the neighbours are on channel1, which is why we switched to 2 in the first place).
And here’s the results from wpa_supplicant.log. Looks like we’ve found the problem.
nl80211: ‘nl80211’ generic netlink not found
Trying to associate with 00:1b:2f:50:db:76 (SSID=‘HOME_WAN’ freq=2417 MHz)
Association request to the driver failed
Associated with 00:1b:2f:50:db:76
Associated with 00:1b:2f:50:db:76
Associated with 00:1b:2f:50:db:76
Associated with 00:1b:2f:50:db:76
CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
CTRL-EVENT-TERMINATING - signal 15 received
Hi, thanks for the help.
I had to use a wired connection to get online, but when I did zypper said, “Nothing to do”.
When I look at the Software Management section in Yast, it tells me iw-0.9.22-4.1.3 is installed.
rpm still returns nothing though.
Should I try removing the iw package and reinstalling it? What’s the best way of doing that?
Run this for me and paste the results. This is what I get when I run it. The “i” indicates installed.
The se is search. The -d is description. The wp is what provides, just like rpm’s --whatprovides.
As you can see it shows 3 columns. The first is the name of the package. The second is the description, and the third is the type, such as package or source package.
zypper se -d wp nl80211
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------------------------------------+---------------------------------------+-----------
| calf | Calf is a set of audio effect plugins | package
| calf | Calf is a set of audio effect plugins | srcpackage
| cheesetracker | A portable Impulse Tracker clone | package
| cheesetracker | A portable Impulse Tracker clone | srcpackage
| clamav | Antivirus Toolkit | package
| clamav | Antivirus Toolkit | srcpackage
| compiz-plugins-extra | Compiz extra plugins | package
i | gstreamer-0_10-plugins-ugly | GStreamer Streaming-Media Framework-> | package
| gstreamer-0_10-plugins-ugly | GStreamer Streaming-Media Framework-> | srcpackage
i | gstreamer-0_10-plugins-ugly-32bit | GStreamer Streaming-Media Framework-> | package
| hostapd | Turns Your WLAN Card into a WPA cap-> | package
| hostapd | Turns Your WLAN Card into a WPA cap-> | srcpackage
i | iw | A configuration tool for wireless d-> | package
| iw | A configuration tool for wireless d-> | srcpackage
| ladspa-calf | Calf ladspa-plugins | package
i | libdlm | Application interface to the kernel-> | package
| libdlm-devel | Application interface to the kernel-> | package
i | libdlm3 | Application interface to the kernel-> | package
i | libproxy1-pacrunner-mozjs | Libproxy module to support wpad/pac-> | package
| libproxy1-pacrunner-mozjs-32bit | Libproxy module to support wpad/pac-> | package
i | libproxy1-pacrunner-webkit | Libproxy module to support WPAD/PAC-> | package
| libproxy1-pacrunner-webkit-32bit | Libproxy module to support WPAD/PAC-> | package
| libwpd | Library for Importing WordPerfect (-> | srcpackage
i | libwpd-0_9-9 | Library for Importing WordPerfect (-> | package
| libwpd-0_9-9-debuginfo | Debug information for package libwp-> | package
| libwpd-debugsource | Debug sources for package libwpd | package
| libwpd-devel | Library for importing WordPerfect (-> | package
| libwpd-devel-doc | Documentation for the libwpd API | package
i | libwpd-tools | Library for importing WordPerfect (-> | package
| libwpd-tools-debuginfo | Debug information for package libwp-> | package
| libwpg | Library to read and parse graphics -> | srcpackage
i | libwpg-0_2-2 | Library to read and parse graphics -> | package
| libwpg-0_2-2-debuginfo | Debug information for package libwp-> | package
| libwpg-debugsource | Debug sources for package libwpg | package
| libwpg-devel | Files for Developing with libwpg | package
| libwpg-devel-doc | Documentation for the libwpg API | package
| libwpg-tools | Tools for converting WordPerfect Gr-> | package
| libwpg-tools-debuginfo | Debug information for package libwp-> | package
| libwps-0_2-2 | Library for importing the Microsoft-> | package
| libwps-devel | Files for Developing with libwps | package
| libwps-tools | Tools for converting the Microsoft -> | package
i | openSUSE-2011-15 | update for NetworkManager-gnome, Ne-> | patch
| openSUSE-2012-145 | wpa_supplicant: fix crash on receiv-> | patch
i | perl-Crypt-SSLeay | OpenSSL support for LWP | package
| perl-HTML-Form | Class that represents an HTML form -> | package
i | perl-HTTP-Cookies | HTTP cookie jars | package
i | perl-LWP-MediaTypes | guess media type for a file or a URL | package
| perl-LWP-Online | Does your process have access to th-> | package
| perl-LWP-Protocol-https | Provide https support for LWP::User-> | package
| perl-Net-SSLGlue | add/extend SSL support for common p-> | package
| perl-Perl-Critic | Critique Perl source code for best--> | package
i | plasmoid-cwp | Customizable Weather Plasmoid | package
| plasmoid-cwp | Customizable Weather Plasmoid | srcpackage
| plasmoid-cwp-debuginfo | Debug information for package plasm-> | package
| plasmoid-cwp-debugsource | Debug sources for package plasmoid--> | package
i | plasmoid-cwp-lang | Languages for package plasmoid-cwp | package
i | plasmoid-veromix | Mixer plasmoid for the Pulseaudio s-> | package
| plasmoid-veromix | Mixer plasmoid for the Pulseaudio s-> | srcpackage
i | plasmoid-yawp | Yet Another Weather Plasmoid | package
| plasmoid-yawp | Yet Another Weather Plasmoid | srcpackage
| plasmoid-yawp-debuginfo | Debug information for package plasm-> | package
| plasmoid-yawp-debugsource | Debug sources for package plasmoid--> | package
| plasmoid-yawp-debugutils | Utilities for debugging yawp | package
| plasmoid-yawp-debugutils-debuginfo | Debug information for package plasm-> | package
| rt3562sta | RT3562 Wireless Lan Linux Driver | srcpackage
| rt3562sta-kmp-default | RT3562 Wireless Lan Linux Driver | package
| rt3562sta-kmp-desktop | RT3562 Wireless Lan Linux Driver | package
| rt3562sta-kmp-pae | RT3562 Wireless Lan Linux Driver | package
| rt3562sta-kmp-xen | RT3562 Wireless Lan Linux Driver | package
| wordwarvi | A retro styled side scrolling shoot-> | package
| wordwarvi | A retro styled side scrolling shoot-> | srcpackage
i | wpa_supplicant | WPA supplicant implementation | package
| wpa_supplicant | WPA supplicant implementation | srcpackage
i | wpa_supplicant-gui | WPA supplicant graphical front-end | package
| xfwpcnm | A xfce4 wallpaper changer | package
| xfwpcnm | A xfce4 wallpaper changer | srcpackage
| xfwpcnm-debuginfo | Debug information for package xfwpcnm | package
Jim@linux-4xoj:~> zypper se -d wp n180211
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------------------------+---------------------------------------------------------------------------------------+-----------
| clamav | Antivirus Toolkit | package
| compiz-plugins-extra | Compiz extra plugins | package
| gstreamer-0_10-plugins-ugly | GStreamer Streaming-Media Framework Plug-Ins | package
| hostapd | Turns Your WLAN Card into a WPA capable Access Point | package
| libdlm | Application interface to the kernel's distributed lock manager | package
| libdlm-devel | Application interface to the kernel's distributed lock manager | package
| libdlm3 | Application interface to the kernel's distributed lock manager | package
| libproxy1-pacrunner-mozjs | Libproxy module to support wpad/pac parsing via Mozilla JavaScript Engine | package
i | libproxy1-pacrunner-webkit | Libproxy module to support WPAD/PAC parsing via WebKit JavaScript Engine | package
| libwpd-0_9-9 | Library for Importing WordPerfect (tm) Documents | package
| libwpd-devel | Library for importing WordPerfect (tm) documents | package
| libwpd-devel-doc | Documentation for the libwpd API | package
| libwpd-tools | Library for importing WordPerfect (tm) documents | package
| libwpg-0_2-2 | Library to read and parse graphics in WordPerfect Graphics format | package
| libwpg-devel | Files for Developing with libwpg | package
| libwpg-devel-doc | Documentation for the libwpg API | package
| libwpg-tools | Tools for converting WordPerfect Graphics files | package
| libwps-0_2-2 | Library for importing the Microsoft Works word processor file format | package
| libwps-devel | Files for Developing with libwps | package
| libwps-tools | Tools for converting the Microsoft Works word processor file format | package
| openSUSE-2011-15 | update for NetworkManager-gnome, NetworkManager, wpa_supplicant, gnome-control-center | patch
| openSUSE-2012-145 | wpa_supplicant: fix crash on receiving a malformed probe response from an AP | patch
| perl-Crypt-SSLeay | OpenSSL support for LWP | package
| perl-HTML-Form | Class that represents an HTML form element | package
| perl-HTTP-Cookies | HTTP cookie jars | package
| perl-LWP-MediaTypes | guess media type for a file or a URL | package
| perl-LWP-Online | Does your process have access to the web | package
| perl-LWP-Protocol-https | Provide https support for LWP::UserAgent | package
| perl-Net-SSLGlue | add/extend SSL support for common perl modules | package
| perl-Perl-Critic | Critique Perl source code for best-practices. | package
| plasmoid-cwp | Customizable Weather Plasmoid | package
| plasmoid-cwp-lang | Languages for package plasmoid-cwp | package
i | wpa_supplicant | WPA supplicant implementation | package
| wpa_supplicant | WPA supplicant implementation | srcpackage
| wpa_supplicant-gui | WPA supplicant graphical front-end | package
Now, Let’s narrow it down a bit so we can reasonably see what is installed and what needs to be installed.
zypper wp nl80211
zypper se --match-exact iw
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+------+---------------------------------------------------------+-----------
i | iw | A configuration tool for wireless devices using nl80211 | package
| iw | A configuration tool for wireless devices using nl80211 | srcpackage
If yours doesn’t show this, you need to make it look like this.
It was the “no providers” message from zypper that made me wonder if I was missing a package (or something else). I wasn’t sure if just because zypper told me something was installed whether it was actually doing anything/executing.
Here’s the output from lsmod. What are we looking for here?
I don’t see your wireless loaded. At the moment I don’t know if the module to load is iw or n180211. I’ll haven to research that, unless someone else chimes in.