View previous topic :: View next topic |
Author |
Message |
matsu n00b
Joined: 21 Nov 2011 Posts: 30
|
Posted: Mon Apr 22, 2013 10:24 am Post subject: Connection to router suddenly fails |
|
|
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 |
|
|
Alex_ir n00b
Joined: 02 Mar 2005 Posts: 16 Location: Украина
|
Posted: Mon Apr 22, 2013 10:38 am Post subject: |
|
|
What are you see with "ifconfig" in this moment ? Can are you see your MAC address on your router ? |
|
Back to top |
|
|
matsu n00b
Joined: 21 Nov 2011 Posts: 30
|
Posted: Mon Apr 22, 2013 11:02 am Post subject: |
|
|
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 |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 441
|
Posted: Mon Apr 22, 2013 12:06 pm Post subject: |
|
|
It's going to be very hard to diagnose if the problem can't be replicated. |
|
Back to top |
|
|
matsu n00b
Joined: 21 Nov 2011 Posts: 30
|
Posted: Mon Apr 22, 2013 6:16 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Apr 22, 2013 7:23 pm Post subject: |
|
|
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 |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Mon Apr 29, 2013 10:52 pm Post subject: |
|
|
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 |
|
|
|