Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless interface gets shut down
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Sun Feb 12, 2006 8:53 pm    Post subject: Wireless interface gets shut down Reply with quote

Hello,

I don't know why this is happening, but lately i have come across this problem:
After some time of working, my wireless interface just gets shut down. I can't really say if it is always after the same amount of time.
All i get in the logs is this:

Code:
Feb 12 19:34:49 stradivari dhcpcd[6044]: terminating on signal 15
Feb 12 19:34:49 stradivari ACPI: PCI interrupt for device 0000:00:0f.0 disabled
Feb 12 19:34:49 stradivari ath_pci: driver unloaded
Feb 12 19:34:49 stradivari ath_rate_sample: unloaded
Feb 12 19:34:49 stradivari ath_hal: driver unloaded
Feb 12 19:34:49 stradivari wlan: mac acl policy unregistered
Feb 12 19:34:49 stradivari wlan: driver unloaded


What is going on? Anybody have clues? I mean, why is it getting the signal? If i am stupid here, pls point that out!

FYI:
Code:
System uname: 2.6.15-nitro3 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.12.0_pre14


Working with wpa_supplicant-0.5.1 and the latest madwifi from portage (20060201).

Otherwise everything is working fine. It is not really a big problem, as i can just restart net.ath0 afterwards, but it kind of bugs me.
Another hint: Basically happens when i am not really doing anything network related, like really nothing or watching a movie.

Any hints are appreciated!

regards,
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
mars-red
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 204
Location: New Hampshire

PostPosted: Mon Feb 13, 2006 4:31 am    Post subject: Reply with quote

I feel like a huge dope admitting this, but when I was having similar problems it ended up being that I kept hitting the hardware kill switch for my wireless radio by accident. The button is in the worst place on my Sager laptop, so if you lean forward with it in your lap, the button gets pressed without you realizing it.

Eliminate that as a possible cause first, or you will drive yourself nuts (like me). :oops:
_________________
my wrench blog: http://www.digitaldownpour.com/blog
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Feb 13, 2006 7:29 am    Post subject: Reply with quote

Thanks a lot, but it is not a laptop! Normal desktop.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
mars-red
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 204
Location: New Hampshire

PostPosted: Mon Feb 13, 2006 4:28 pm    Post subject: Reply with quote

Ah. Nevermind. :)
_________________
my wrench blog: http://www.digitaldownpour.com/blog
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Thu Feb 16, 2006 10:15 am    Post subject: Reply with quote

I think i solved it.
The connection to my DSL-Router and Wireless-AP Fritx-Box Fon Wlan 7050 seemed to just go down after a while.
So i switched off the option of so-called g++ mode, and it seems to be more stable like that. Will still test and then put __SOLVED__ to the title.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Sun Feb 19, 2006 1:01 pm    Post subject: Reply with quote

OK, i was wrong, didn't solve it. Still happens. Getting on my nerves now, big time. :evil:

Is there a way of watching the signal strength aso. without constantly looking at my gKrellm?
Pls, any help is appreciated.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
sundialsvc4
Guru
Guru


Joined: 10 Nov 2005
Posts: 436

PostPosted: Sun Feb 19, 2006 11:10 pm    Post subject: Reply with quote

Well, that "terminated on signal 15" message seems strange. That's SIGTERM, and that implies to me some kind of explicit request. Not a hardware or software failure.

The first place I'd look is the "/var/log/everything/current" (or whatever) system log-file to see what is happening just before the connection goes down. It's doubly-odd that dhcpcd is dropping for any reason... it usually stays up the whole time the system's booted.
Back to top
View user's profile Send private message
mars-red
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 204
Location: New Hampshire

PostPosted: Mon Feb 20, 2006 12:09 am    Post subject: Reply with quote

haader, if you use KDE there's a little KDE panel applet that you can dock into the taskbar that will give you three small bars that represent the noise level, signal strength, and overall link quality. It' handy to use, because it's easy to interpret and really doesn't take up any space.
_________________
my wrench blog: http://www.digitaldownpour.com/blog
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Feb 20, 2006 8:05 am    Post subject: Reply with quote

Hi guys,

thanks a lot for your help already.
This little handy applet you are talking about is probably equivalent to what i meant with that gKrellm for the wireless card. It shows me these things, but i don't want to be looking at it constantly in 3 hours, so i thought maybe i can have it make a log or something to make sure it is not just the connection that gets dropped. But even then it would be odd for dhcpcd to just shut down.

Basically what happens is the same as when i shut the system down, except that no other process does what dhcpcd does. Before the above excerpt from the log there is nothing that would have a connection to that. Not even time-wise. I mean, the last entry before dhcpcd shutting down is sometimes hours or minutes earlier.

Thanks a lot so far. Any other suggestions are welcome!
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Mon Feb 20, 2006 9:13 am    Post subject: Reply with quote

I've the same problem after upgrading to last unstable baselayout and switching to wpa_supplicant (iwconfig doesn't work anymore for me). Every night, at random hours, network stops with signal 15 received from dhcpcd.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Feb 20, 2006 10:02 am    Post subject: Re: Wireless interface gets shut down Reply with quote

haader wrote:

Code:
Feb 12 19:34:49 stradivari dhcpcd[6044]: terminating on signal 15
Feb 12 19:34:49 stradivari ACPI: PCI interrupt for device 0000:00:0f.0 disabled
Feb 12 19:34:49 stradivari ath_pci: driver unloaded
Feb 12 19:34:49 stradivari ath_rate_sample: unloaded
Feb 12 19:34:49 stradivari ath_hal: driver unloaded
Feb 12 19:34:49 stradivari wlan: mac acl policy unregistered
Feb 12 19:34:49 stradivari wlan: driver unloaded


What is going on? Anybody have clues? I mean, why is it getting the signal? If i am stupid here, pls point that out!


Kernel thinks your hardware has been unplugged/disabled

Quote:

FYI:
Code:
System uname: 2.6.15-nitro3 i686 AMD Athlon(tm) XP 1600+


As yes. Try a decent kernel like gentoo-sources :roll:
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Feb 20, 2006 4:25 pm    Post subject: Reply with quote

So far i never had any problems with Nitro-Sources, but just timewise it might be the problem. but i don't recall when exactly i tried the latest version or when the problem actually started.
But i'll look into the gentoo-sources.

Might it be the new baselayout dgaffuri pointed out?

Thanks a lot, to all of you.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
mars-red
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 204
Location: New Hampshire

PostPosted: Mon Feb 20, 2006 4:29 pm    Post subject: Reply with quote

I've had fantastic luck with gentoo-sources, and everything works (including lappy stuff like power saving, speedstep, etc etc).

I have noticed the new ~x86 ipw2200 does not work on my system - drive loads and adapter finds wireless network, but is unable to get dhcp address - I rolled back to previous ipw2200 and it's happy again. I don't believe that's related to your problem, though.
_________________
my wrench blog: http://www.digitaldownpour.com/blog
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Feb 20, 2006 4:35 pm    Post subject: Reply with quote

haader wrote:
Might it be the new baselayout dgaffuri pointed out?


As a developer for baselayout I can state that baselayout does not do anything with the disabling of hardware nor the unloading of modules.

However, feel free to experiment with the baselayout versions in portage :)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Mon Feb 20, 2006 4:54 pm    Post subject: Reply with quote

haader wrote:
Might it be the new baselayout dgaffuri pointed out?

I rather suspect wpa_supplicant.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Tue Feb 21, 2006 7:56 pm    Post subject: Reply with quote

I am having the exact same problem. With the exception that my wireless connection barely stays up more than 10 minutes. Here's part of my /var/log/messages:

Code:

Feb 21 20:24:51 B9993RZV dhcpcd[9868]: broadcasting DHCP_REQUEST for 192.168.1.6
Feb 21 20:24:53 B9993RZV dhcpcd[9868]: broadcastAddr option is missing in DHCP server response. Assuming 192.168.1.255
Feb 21 20:24:53 B9993RZV dhcpcd[9868]: dhcpIPaddrLeaseTime=86400 in DHCP server response.
Feb 21 20:24:53 B9993RZV dhcpcd[9868]: dhcpT1value is missing in DHCP server response. Assuming 43200 sec
Feb 21 20:24:53 B9993RZV dhcpcd[9868]: dhcpT2value is missing in DHCP server response. Assuming 75600 sec
Feb 21 20:24:53 B9993RZV dhcpcd[9868]: DHCP_ACK received from  (192.168.1.254)
Feb 21 20:24:53 B9993RZV dhcpcd[9872]: terminating on signal 15


I can restart the connection by "/etc/init.d/net.ath0 restart" but after a couple of minutes the connection drops again. :-(

Code:

*/ $ uname -a
Linux B9993RZV 2.6.15-gentoo-r1 #3 Thu Feb 9 17:20:05 CET 2006 i686 Intel(R) Pentium(R) M processor 1700MHz GenuineIntel GNU/Linux


So at least you see you are not alone :-) .

But seriously, I definitely want to figure this one out and get it fixed, but I have no clue. I am using baselayout-1.12.0_pre16-r1 and wpa_supplicant-0.5.1. My wireless card is atheros based therefore I use madwifi-driver-0.1443.20060207 . Anyone having some hint what to look for?

Thanks!
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Tue Feb 21, 2006 9:31 pm    Post subject: Reply with quote

I didn't really change anything, but it seems like it didn't do it yesterday or today. I'll keep on watching. Fortunately it's not as bad with me as with ghutzl, sorry.

I tried just going back to wpa_supplicant-0.5.0, but i didn't know how to with portage.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Tue Feb 21, 2006 9:48 pm    Post subject: Reply with quote

I think I can help you with downgrading to an older version: Just mask the higher versions that you don't want by adding them to your /etc/portage/package.mask. For getting wpa_supplicant-0.5.0 you just add these two lines to your /etc/portage/package.mask:

Code:
=wpa_supplicant-0.5.0-r1
=wpa_supplicant-0.5.1


The following line would maks all ebuilds of wpa_supplicant higher than 0.5.0:

Code:
>wpa_supplicant-0.5.0


When you emerge wpa_supplicant now it should emerge wpa_supplicant-0.5.0.

I am still trying to investigate the problem. I was thinking about a program to monitor signals, so i could find out from where the signal 15 comes from. Currently my solution is to attatch the gdb debugger to the dhcp process with

Code:
gdb --pid=<PID>


But now I don't know if I should cry or laugh, but it does not happen any more !!!??? At least not for the past 20 min. or so. I will wait a little longer and see.....
Back to top
View user's profile Send private message
ghutzl
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 123
Location: Germany

PostPosted: Tue Feb 21, 2006 10:26 pm    Post subject: Reply with quote

More news....

gdb didn't help. The dhcp process got killed and gdb just told me about the SIGTERM that the process got, but not from where it got it. Seems like I have to look for something else. Anyone having any idea?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Feb 22, 2006 8:05 am    Post subject: Reply with quote

Why not try another dhcp client? There's another 3 in portage
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Wed Mar 01, 2006 11:17 am    Post subject: Reply with quote

Hey guys,

as sudden as it started it left again. I haven't had this problem for a couple of days. Just disappeared.

...these things make me wonder...
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
morbid
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 90

PostPosted: Thu Mar 16, 2006 5:45 pm    Post subject: Reply with quote

I'm still having this issue. I've been thinking it was ifplugd... but net.ath0 shows as still running when my ath0 interface disappears. It has nothing to do with usage either... it keeps crapping out while I'm downloading OOo 2.0.2.

Oh... the reason I've thought it was ifplugd is because I never start net.ath0... it starts automatically. But in my ifplugd config, I specify it to only manage eth0 and also to ignore wireless connections. Neither net.ath0 or net.eth0 are in a runlevel.
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Thu Mar 16, 2006 5:49 pm    Post subject: Reply with quote

I also experience it again. At first i wanted to just try another dhcp-client, like uberlord suggested, but now i've just tried updating madwifi, as there is an update available. We'll see, i just did the update like half hour ago, but will post back soon, if there are any changes.
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Thu Mar 16, 2006 7:11 pm    Post subject: Reply with quote

Could the people experiencing this problem pls post their kernel-versions and details, just to see if it is maybe the kernel-sources or nitro or something!
Thanks!
_________________
samuel.
'Do not let one girding on boast about himself like one unfastening'
Back to top
View user's profile Send private message
morbid
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2003
Posts: 90

PostPosted: Thu Mar 16, 2006 8:53 pm    Post subject: Reply with quote

sys-apps/baselayout-1.12.0_pre16-r3
net-wireless/madwifi-driver-0.1473.20060312
net-wireless/madwifi-tools-0.1473.20060312
net-wireless/wireless-tools-28_pre15
sys-kernel/archck-sources-2.6.15_p7

Despite these versions... I've been having this issue for about 3 months.

And I guess it's not ifplugd... I stopped it and manually started ath0 and eth0, but ath0 keeps disappearing and net.ath0 shows as "inactive".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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