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
    Quote Originally Posted by Forester View Post
    Hi Charlie,

    You've tried unplugging and reinsertion to get out of this disconnect problem. I seem to remember you have a laptop. Does closing the lid make it suspend/hibernate ? Does the wireless reconnect when you resume ? Have you tried closing the lid as a way either of avoiding or of getting out of this disconnect problem ?


    There is one long conversion between some well meaning chap with a problem and an expert. Basically the expert was saying if the chap had a problem he should find out exactly which change in the kernel has introduced it and then maybe the expert would look into it. Ever build the kernel yourself ? Ever done a git bisection ? The chap's problem was a disconnect at start up that was intermittent (like Krishna's). Get one bisect wrong and you're wasting your time.

    Have I seen this kind of problem ? May be and I might be able to suggest a work around. I've two old laptop I sometimes use for testing. One has a cheap USB wireless and the other an old PCMCIA card wireless. Last backend I tried testing Debian squeeze installation by using the netinstall from the smallest business card iso. Not recommended. It worked fine but was slow so I left it running overnight. In the morning the wireless connections were dead (both laptops). No way to revive them short of unplugging and reinserting the device and then rescanning to remake the network connection allowing the installation to be completed.

    My hypothesis os that if the wireless adapter is idle for a long time it will shut down. It will appear to disconnect from Linux and you need, at least, to unplug and reinsert. No one sees this much because wireless connections are usually idle for long enough.

    Open a console and ping your router. Leave the ping running for 48 hours and see if your wireless does not disconnect. If it does not, then install ntp and all ntp to the list of SERVICES in /etc/rc.local. That should keep your wireless up and your time correct.
    Forester,

    I tried out running knoppix briefly as a live cd on my wife's laptop, but I'm mainly running it installed on the HDD of my old Dell desktop, that's where I'm seeing this problem.

    Generally, it does seem like my wireless connection dies when the machine is idle. The first time it ran successfully overnight was when I was running iwevent in a terminal window, which would probably act similar to doing a ping.

    However, it has died several times when I was in the middle of surfing the web. Generally it will stay up for 3 or 4 hours at at time. For some reason it's been working for about 28 hours straight now, I'm not sure what's up.

    It seems the best way to recover is hit cancel when it prompts for my credentials, which it shouldn't really have to do, since I've saved them in the keyring. This puts the adapter in disconnected mode. I generally have

    tail -F /var/log/syslog

    running in a terminal window. After all the activity has stopped, I remove and reinsert my adapter and then pick my wireless router from the list. If I remove adapter while linux is trying to use it, it seems to put things in a weird state and I sometimes have to do a reboot to get it to work again.

    Thanks,
    -Charlie
    Last edited by Charlie Foxtrot; 04-24-2011 at 07:21 PM.

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by Charlie Foxtrot View Post
    However, it has died several times when I was in the middle of surfing the web.
    Oh dear. I'm sorry to read that. Must be a bit of nuisance. However, you seem to have a work around.

    The thread I read said there is bug somewhere in the encryption. Perhaps that is what you are seeing. It wasn't clear but what was clear was that they don't know where the problem lies so little chance of a fix any time soon.

    I looked at the ar9170 driver page you referenced and it says the driver is deprecated and you should be using the carl9170 driver instead. The driver is present in Knoppix but you'd need to download appropriate firmware. Both drivers a loadable modules (they aren't actually built into the kernel). If you want to try this driver, we'd need to find and change a udev rule somewhere. Let me know if you want to give it a go and I'll dig a little deeper.

  3. #3
    Member
    Join Date
    Apr 2011
    Location
    Durham, NC, USA
    Posts
    31
    I might try playing around with the firmware later. For now, I've noticed that I'm seeing the following in dmesg:

    [ 3.812719] usb 5-2: not running at top speed; connect to a high speed hub

    So I've ordered an el-cheapo USB 2.0 adapter card, and will try that out. I'm wondering if it might make my connection more stable, in addition to making it faster.

    -Charlie

  4. #4
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by Charlie Foxtrot View Post
    So I've ordered an el-cheapo USB 2.0 adapter card, and will try that out. I'm wondering if it might make my connection more stable, in addition to making it faster.
    I hope so. I did wonder when you said you had an old laptop whether you were stuck with USB 1.1.

    USB 1.1 through put is about the same as 802.11 b (12 Mbps). If this forces your adapter into that mode, it will slow your WLAN down for anyone else using it. With a USB 2.0 hub you should get 802.11 g (54 Mbps) so yes it will be faster. Fast enough to watch streamed video (if your laptop can keep up).

    I would hope it is more stable. Although your adapter claims to be USB 1.1 compatible, that won't have been tested as much. I've had wireless disconnects while transferring large files to another machine. I guess something couldn't take the load. Overload might be why you loose the connection while you're busy. That should get better with a USB 2 hub. You don't want the wireless going down and taking your VPN connection with it.

    Interference is another possibility. Does the Network Manager report other wireless networks in your neighbourhood ? Are they on the same channel ? If so, try using a different one. It is said that things like cordless mice and cheap electrical equipment can cause interference too.

    Anyway, best of luck. Let us know how you get on.

Posting Permissions

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


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb picture

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb

$58.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard picture

GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard

$65.00



HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002 picture

HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002

$39.99