Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-02-2007, 03:33 PM
|
#1
|
Member
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43
Rep:
|
Router mysteriously stopped working with Linux
Hi,
I'm having a pretty weird problem... I don't know precisely what caused it, it *may* have been shortly after a kernel recompile but I think the only thing I changed was enabling software suspend.
Basically, I can't connect to my router anymore, when I'm booted into Linux. When booted in Windows on the same machine, it detects and connects with no issues.
What's really puzzling to me is that the wireless connection is working slightly better than the wired connection right now. The wired connection just 100% stopped working - it's as if it's not plugged in at all, dhcpcd just times out after 15 seconds. However, the wireless connection will connect and authenticate (using WPA-PSK), retrieve DHCP info, and I'll even be able to browse the internet for about 30 seconds... then it cuts off and ifconfig shows that the assigned IP address disappeared too.
My wired connection still works fine when plugged directly into the residence network - the problems only occur when connecting to the residence network _through_ my router.
Does anybody know what could be going wrong? I've always been able to connect both wired and wireless to this router with Linux before...
------------------
Distro: Gentoo
Wireless: MadWifi driver, atheros-based chipset; separately built module
Wired: 8139too driver, Realtek 8139 chipset [or similar]; built into kernel
Kernel: 2.6.19-gentoo-r5
Note: I *did* re-emerge the madwifi driver after rebuilding the kernel.
|
|
|
03-02-2007, 04:58 PM
|
#2
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Well first all this is just a stab into the dark but we have to start somewhere.
Lets see what is running.
Code:
rc-update show
ifconfig
route -n
stop any net.* that is up
Code:
/etc/init.d/net.eth0 stop <-- same for eth1 if it is up
look at cat /etc/resolv.conf
Try to connect the wired alone;
dhcpcd eth0
and then look at;
ifconfig
route -n
cat /etc/resolv.conf
what happens?
|
|
|
03-02-2007, 06:42 PM
|
#3
|
Member
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43
Original Poster
Rep:
|
Thanks for the reply.
Oddly enough, it seems that the problem is just that dhcpcd was timing out too soon. A timeout value of 30 seems to give it enough time to connect now, and both wired and wireless are connecting without issue. I really don't know why this is the case, a timeout of 5 used to be more than enough for this router.
I've actually also been noticing that my router seems to detect my wireless connection twice, with different MAC's (status shows 2 wireless connections with same timestamp), but I've never noticed any related issues... do you have any idea where this might be coming from?
|
|
|
03-02-2007, 06:51 PM
|
#4
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
I would *THINK* (we are in trouble now) if it shows two mac's it would be two different laptops. That and the slow dhcp, the router may be acting up. I have had problems with mine before and just turn everything off and unplug it for maybe 20 seconds and then reconnect everything and it worked fine.
|
|
|
All times are GMT -5. The time now is 06:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|