Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connection to router suddenly fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
matsu
n00b
n00b


Joined: 21 Nov 2011
Posts: 30

PostPosted: Mon Apr 22, 2013 10:24 am    Post subject: Connection to router suddenly fails Reply with quote

It has happened four times over the last two weeks that the router connection would suddenly fail and that there was no possibility to regain connection. Neither restarting the router nor dhcpcd restart would solve the problem, only after rebooting my computer I could connect to the router again.
Before happening I didn't do anything worth mentioning, and I cannot remember having changed my system two weeks ago except for some updates including a kernel update.
This has never happend before in those years I have been using Gentoo.

Any ideas what could have happened here or what I could look for the next time it will happen (as it didn't look really random to me)?
Back to top
View user's profile Send private message
Alex_ir
n00b
n00b


Joined: 02 Mar 2005
Posts: 16
Location: Украина

PostPosted: Mon Apr 22, 2013 10:38 am    Post subject: Reply with quote

What are you see with "ifconfig" in this moment ? Can are you see your MAC address on your router ?
Back to top
View user's profile Send private message
matsu
n00b
n00b


Joined: 21 Nov 2011
Posts: 30

PostPosted: Mon Apr 22, 2013 11:02 am    Post subject: Reply with quote

Unfortunately, I didn't think about ifconfig then, so I don't know the output.
I only know that "route -n" showed the same route as usual.
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 441

PostPosted: Mon Apr 22, 2013 12:06 pm    Post subject: Reply with quote

It's going to be very hard to diagnose if the problem can't be replicated.
Back to top
View user's profile Send private message
matsu
n00b
n00b


Joined: 21 Nov 2011
Posts: 30

PostPosted: Mon Apr 22, 2013 6:16 pm    Post subject: Reply with quote

I am aware that it is impossible to diagnose now.
I just don't know what to do for error diagnosis (like said "ifconfig -a" which I didn't think about), which outputs I will need, when it will happen again, because I won't have internet connection to be able to ask here.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Apr 22, 2013 7:23 pm    Post subject: Reply with quote

dmesg is your friend for network error message.

And you should try to just unload and reload the network card module instead of rebooting, ease the pain.
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Mon Apr 29, 2013 10:52 pm    Post subject: Reply with quote

To diagnose, you can use outputs of "ifconfig" and "route -n", also "iwconfig" if it's wlan.

To do the (kernel) module reloading, the networking kernel driver must be a module (not compiled-in), and you must know the module's name (lsmod should help, and "lspci -v"). When it happens, after you've gathered diagnostic data, you can rmmod and modprobe it, just for testing. This will create more dmesg output and maybe it works again.
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
Page 1 of 1

 
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