Results 1 to 10 of 11

Thread: Problems using Netgear WN111v2 with the driver built into the kernel

Hybrid View

  1. #1
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31

    Problems using Netgear WN111v2 with the driver built into the kernel

    Hello,

    I'm having problems with my wireless connection going down using the driver that's built into the knoppix 6.4.4 kernel. It generally will stay up for a few hours then it no longer works, and I have to remove and reinsert the connector, or even reboot the machine. Lately, it seem that a full reboot is typically what is required. I had similar, but somewhat worse, problems with Mint 10 as well. On the other hand with Lucid Puppy 5.2, it would stay up for a couple days.

    When the connection goes down, I don't get the prompt to use the credentials stored in the keyring, instead I get the Wireless Network Authentication Required dialog.

    I'm using older, two part firmware, as is describe here:
    http://wireless.kernel.org/en/users/Drivers/ar9170

    With Mint 10, I tried both the old and new firmware, it was pretty much the same either way. Puppy used the 2 part firmware, so that's what I've tried with knoppix.

    I thought that maybe the reason that Puppy was working was that it used an older version of the kernel (2.6.33.2), but I've tried to use knoppix 6.2, which is has a slightly older kernel than Puppy and it was pretty much the same.

    Here's where it loses the connection:

    Code:
    Apr 21 16:28:06 Microknoppix -- MARK --
    Apr 21 16:44:58 Microknoppix kernel: [29816.893738] ieee80211 phy0: wlan0: No probe response from AP 94:44:52:43:16:f4 after 500ms, disconnecting.
    Apr 21 16:44:58 Microknoppix wpa_supplicant[2886]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Apr 21 16:44:58 Microknoppix kernel: [29817.069489] cfg80211: Calling CRDA to update world regulatory domain
    Apr 21 16:44:58 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  completed -> disconnected 
    Apr 21 16:44:58 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  disconnected -> scanning 
    Apr 21 16:45:01 Microknoppix wpa_supplicant[2886]: Trying to associate with 94:44:52:43:16:f4 (SSID='Charlies' freq=2432 MHz)
    Apr 21 16:45:01 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  scanning -> associating 
    Apr 21 16:45:01 Microknoppix kernel: [29820.106860] wlan0: authenticate with 94:44:52:43:16:f4 (try 1)
    Apr 21 16:45:01 Microknoppix kernel: [29820.303730] wlan0: authenticate with 94:44:52:43:16:f4 (try 2)
    Apr 21 16:45:02 Microknoppix kernel: [29820.503745] wlan0: authenticate with 94:44:52:43:16:f4 (try 3)
    Apr 21 16:45:02 Microknoppix kernel: [29820.703734] wlan0: authentication with 94:44:52:43:16:f4 timed out
    Apr 21 16:45:06 Microknoppix NetworkManager[2855]: <info> (wlan0): roamed from BSSID 94:44:52:43:16:F4 (Charlies) to (none) ((none)) 
    Apr 21 16:45:11 Microknoppix wpa_supplicant[2886]: Authentication with 94:44:52:43:16:f4 timed out.
    Apr 21 16:45:11 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  associating -> disconnected 
    Apr 21 16:45:11 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  disconnected -> scanning 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 8 -> 3 (reason 11) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): deactivating device (reason: 11). 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 3204 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <error> [1303404314.202975] [nm-system.c:1229] check_one_route(): (wlan0): error -34 returned from rtnl_route_del(): Netlink Error (errno = Numerical result out of range) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) starting connection 'Auto Charlies' 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 3 -> 4 (reason 0) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  scanning -> disconnected 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 4 -> 5 (reason 0) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0/wireless): access point 'Auto Charlies' has security, but secrets are required. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 5 -> 6 (reason 0) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 6 -> 4 (reason 0) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 4 -> 5 (reason 0) 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0/wireless): connection 'Auto Charlies' has security, and secrets exist.  No new secrets needed. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Config: added 'ssid' value 'Charlies' 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Config: added 'scan_ssid' value '1' 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Config: added 'key_mgmt' value 'WPA-PSK' 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Config: added 'psk' value '<omitted>' 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> Config: set interface ap_scan to 1 
    Apr 21 16:45:14 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  disconnected -> scanning 
    Apr 21 16:45:40 Microknoppix NetworkManager[2855]: <warn> Activation (wlan0/wireless): association took too long. 
    Apr 21 16:45:40 Microknoppix NetworkManager[2855]: <info> (wlan0): device state change: 5 -> 6 (reason 0) 
    Apr 21 16:45:40 Microknoppix NetworkManager[2855]: <warn> Activation (wlan0/wireless): asking for new secrets 
    Apr 21 16:45:40 Microknoppix NetworkManager[2855]: <info> (wlan0): supplicant connection state:  scanning -> disconnected 
    Apr 21 16:45:55 Microknoppix NetworkManager[2855]: <warn> (wlan0): link timed out. 
    Apr 21 17:08:06 Microknoppix -- MARK --
    I got home my connection was down. I tried to log in using the saved credentials (it wasn't asking me to use the keyring). It failed, I tried removing and reinserting the wireless adapter several times, but it didn't work:


    Running iwevent last night to see if I had anything interesting, my wireless connection stayed up all night for the first time. I tried it again this eventing with the following results. Any idea what's up with the segmentation fault? It appears to coincide with it losing the connection.

    Code:
    knoppix@Microknoppix:~$ iwevent
    Waiting for Wireless Events from interfaces...
    19:41:18.210480   wlan0    Scan request completed
    19:41:57.796882   wlan0    Scan request completed
    19:42:57.793745   wlan0    Scan request completed
    19:44:17.800202   wlan0    Scan request completed
    19:45:57.800193   wlan0    Scan request completed
    19:47:57.836848   wlan0    Scan request completed
    19:49:57.823711   wlan0    Scan request completed
    19:51:57.790160   wlan0    Scan request completed
    19:53:57.826810   wlan0    Scan request completed
    19:55:58.170337   wlan0    Scan request completed
    19:57:57.800120   wlan0    Scan request completed
    19:58:00.472203   wlan0    New Access Point/Cell address:Not-Associated
    19:58:02.253448   wlan0    Scan request completed
    19:58:02.329379   wlan0    Set Mode:Managed
    19:58:02.329445   wlan0    Set ESSID:off/any
    19:58:02.329463   wlan0    Set Frequency:2.432 GHz (Channel 5)
    19:58:02.330301   wlan0    Set ESSID:"Charlies"
    19:58:02.502064   wlan0    Association Response IEs:010882848B961224486C32040C183060DD180050F2020101000003A4000027A4000042435E0062322F002D1AEE1113FFFF00000100000000000000000000000
    handle_netlink_events: error reading netlink: Bad file descriptor.
    Segmentation fault
    I guess I'll try the newer firmware, but any ideas as to anything else I should look for? I have a system log of Mint 10 losing the connection too, it looks pretty similar.

    I also have logs of it loading and connecting to my router after a reboot with knoppix, etc.

    -Charlie

  2. #2
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31
    For what it's worth; I've been using the newer, one part firmware overnight; but it hasn't helped.

    -Charlie

  3. #3
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Charlie, et. al. -

    FWIW, I often see the prompt to supply the WPA2 passphrase for my wireless network when I boot my Knoppix box after shutting it down. I have found that by simply hitting escape or clicking the Cancel button on the dialog box, the system will then automatically "find" the credential store (which I have set to use a saved password to access the credentials without typing them more than once.) I don't know why it doesn't just get to it immediately, but it usually only happens once at the beginning of a new session.

    Hope that helps!
    Krishna

  4. #4
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31
    Krishna,

    I tried hitting cancel, but it immediately went to disconnected status. I've roll back to the 2 part firmware, it seems like it might work slightly better.

    -Charlie

  5. #5
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by Charlie Foxtrot View Post
    Krishna,

    I tried hitting cancel, but it immediately went to disconnected status. I've roll back to the 2 part firmware, it seems like it might work slightly better.

    -Charlie
    Yeah, mine does that, too. But it then immediately(?) starts connecting again, and this time it finds the credentials store. One possible difference is that I have set my router to NOT broadcast the SSID, so the process must proceed WITHOUT finding it broadcast; also, the driver in use in my case is the ath5k, which is where you suspect the trouble is arising, I think. It is possible that's it, but I thought enumerating the symptoms of my similar troubles might help clarify the situation for you.

    Cheers!

    Krishna

  6. #6
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31
    Are you using the WN111V2 and the ath5k drivers? How do you get it to do that, since the driver is in the kernel? Or do you mean the ath5k firmware? I'm not sure how you would do that either, since the kernel first looks for ar9170.fw and if it can't find that goes looking for ar9170-1.fw and ar9170-2.fw.

    -Charlie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES picture

Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES

$2630.00



M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB picture

M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB

$19.86



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$117.99



WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN picture

WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN

$59.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Intel DC S3510 Series 120GB SSD 2.5

Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K

$8.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$8.99



Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD) picture

Western Digital PC SN730 256GB NVMe SDBQNTY-256G M.2 2280 PCIe Solid State (SSD)

$16.00



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$109.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$249.99