View previous topic :: View next topic |
Author |
Message |
vputz Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/100698500146b7b4be507b8.jpg)
Joined: 16 Mar 2005 Posts: 310 Location: Oxford, England
|
Posted: Tue Sep 05, 2006 2:13 am Post subject: Wireless drops, netmount won't let it restart...? |
|
|
Okay... got a wireless card (don't remember the model offhand; lspci lists it as "01:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)") using Ndiswrapper and the bcmwl5 driver, wpa_supplicant, etc. Works like a charm.
Sorta.
After several hours, could be 6, could be 16, the card drops out. Now, I can sometimes go to the machine and manually /etc/init.d/net.wlan0 restart...
...BUT...
This machine also uses nfs with a mounted portage directory. If the card dies while that directory is mounted, Woe Betide the user, because attempts to /etc/init.d/net.wlan0 restart will simply hang when attempting to stop netmount, and the machine is impossible to reconnect to the net without a full hard reboot (you can't just shutdown, either--still hangs on netmount).
1) Any solution to the card dying periodically?
2) Any solution to the netmount issue?
This is my freevo box, and I don't watch a ton of TV, but the point of a digital video recorder is somewhat lost when you can't get TV listings onto it with any frequency. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
irwinr Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_neo_2.gif)
Joined: 11 May 2004 Posts: 152 Location: Texas
|
Posted: Tue Sep 05, 2006 4:53 am Post subject: |
|
|
Heh, welcome to the nightmare of NFS.
See man mount_nfs( :
Quote: |
If the server becomes unresponsive while an NFS file system is mounted,
any new or outstanding file operations on that file system will hang
uninterruptibly until the server comes back (or that NFS file system is
forcibly unmounted). To modify this default behaviour, see the -i and -s
flags.
|
NFS has this little problem that on a default NFS mount, if you lose your network connection, NFS basically locks up until your connection comes back. You can not stop the netmount service while NFS is in this state, so you can't 'restart' the network interface because in order to stop it, the service dependancies require NFS be stopped, which can't be done until the connection comes back up. And it's even worse in Linux, because I'm pretty sure the Linux kernel will not let you force unmount an unresponsive NFS share, at least it dodn't back when I used to use NFS.
It's catch-22, and you'll either have to mount the NFS share with the -i or -s options, or remove netmount (And any other NFS related services) as dependencies of your network interface. (Which could prevent them from starting up in the correct order.)
Alternatively, you could 'zap' your wlan service (IE: /etc/init.d/net.wlan0 zap), which stops it without actually sopping it, and then 'start' it, to see if it will resume the connection without having to fully stop it first.
-Jeremy |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nitro888 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Jul 2006 Posts: 17
|
Posted: Tue Sep 05, 2006 9:10 pm Post subject: Re: Wireless drops, netmount won't let it restart...? |
|
|
vputz wrote: | Okay... got a wireless card (don't remember the model offhand; lspci lists it as "01:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)") using Ndiswrapper and the bcmwl5 driver, wpa_supplicant, etc. Works like a charm.
Sorta.
After several hours, could be 6, could be 16, the card drops out. Now, I can sometimes go to the machine and manually /etc/init.d/net.wlan0 restart...
|
Hi there, have you been able to find a solution to your first problem of the wireless card dropping? I have the same problem, mine uses the RT61 chipset. When I reboot, everything is fine, network works great. However after some time the wireless drops (it's when I leave the machine for some time and come back to it later). When I run iwconfig, I notice that the network quality is 0/100. But if I just reboot (soft reboot only no hard reboot needed), then everything is fine again. Does anyone know how to fix it? Is there some setting I forgot to configure that might turn off the wireless network after a timeout, like a sleep mode or power save mode or something like that I need to turn off? Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vputz Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/100698500146b7b4be507b8.jpg)
Joined: 16 Mar 2005 Posts: 310 Location: Oxford, England
|
Posted: Thu Sep 07, 2006 4:30 pm Post subject: |
|
|
Thank you Jeremy! I'll toy with it.
Nitro: no solution yet. For my card, there is apparently an open-source reverse-engineered driver (bcm43xx) but I'm not certain it will work better than ndiswrapper, and I'm always nervous about kernel upgrades, so I'm holding off for the moment.
I sure wish I could just run a cable, but it's several rooms away and abutting an external wall with no crawlspace, so wireless is pretty much the way to go... UNFORTUNATELY. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|