LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-02-2007, 03:33 PM   #1
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Unhappy 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.
 
Old 03-02-2007, 04:58 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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?
 
Old 03-02-2007, 06:42 PM   #3
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Original Poster
Rep: Reputation: 15
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?
 
Old 03-02-2007, 06:51 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
router pc problem, internet stopped working, lan works, using rc.firewall glorsplitz Linux - Networking 4 10-09-2007 08:18 PM
The security on my router (DL-524) stopped working... Richard Rahl General 5 08-19-2006 02:27 AM
net card stopped working in linux Rarrum Linux - Networking 1 11-22-2004 05:25 AM
USB key drive mysteriously stopped working legalbeagle Linux - Laptop and Netbook 3 11-12-2004 01:59 PM
network stopped working in linux, ok in XP? storpipfugl Linux - Networking 2 07-23-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration