LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2011, 10:31 AM   #1
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Rep: Reputation: 18
wired network help 13.37


I've got a problem where my new router won't give my slack box an ip address!

Nothing else has changed, just the new router (netgear WNR1000v2). This is what I get from /etc/rc.d/rc.inet1 eth0_restart
Code:
Polling for DHCP server on interface eth0:
dhcpcd[1910]: version 5.2.11 starting
dhcpcd[1910]: eth0: broadcasting for a lease
dhcpcd[1910]: timed out
dhcpcd[1910]: allowing 8 seconds for IPv4LL timeout
dhcpcd[1910]: eth0: probing for an IPv4LL address
dhcpcd[1910]: eth0: checking for 169.254.119.16
dhcpcd[1910]: eth0: using IPv4LL address 169.254.119.16
dhcpcd[1910]: forked to background, child pid 1930
I tried increasing the dhcp timeout to 10 secs and then 30 secs, but it made no difference.

here's the eth0 part of my config file /etc/rc.d/rc.inet1.conf:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
DHCP_TIMEOUT[0]="10"
DHCP_IPADDR[0]=""

# Default gateway IP address:
GATEWAY=""
All other devices are happy with the new router - other PCs, phones, games consoles and annoyingly, the windows partition on the slack box is OK too.

I don't know where to even start!
 
Old 10-11-2011, 10:42 AM   #2
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
I probably should mention that I have a wireless AP in-between the slack box and the router, set-up in client mode, like this http://www.tp-link.com/mx/support/showfaq.asp?id=177

That's not a new thing though, I had that in place with the old router.
 
Old 10-16-2011, 08:05 AM   #3
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Rep: Reputation: 68
I don't have an actual solution, but I would suggest some troubleshooting steps:

1. Connect your computer directly to the Netgear router with a cable - make sure that works.
2. If the above works, try to connect via wireless to the netgear router and make sure that works.
3. If the above works, log into the TP-link AP and make sure that is still connected correctly to the Netgear router.
4. If the above works, try connecting another computer via cable to the TP-link AP and see if it works.

From your info, I would say the most likely culprit is the TP-Link AP. If you changed your Netgear router, there is a good chance the TP-Link is not connecting to it anymore.
 
Old 10-17-2011, 04:26 AM   #4
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
Thanks for the suggestions.

One of the first things I had to do was log-in to the TP-LINK and connect it to the new router. It's definitely working because, as I said, the windows partition on the slack box is fine and that's using the wire from the TP-LINK. I've also had a games console working fine from the TP-LINK wire.

I tried 1. and it connects wired straight into the router, unfortunately that's not a practical solution.
Think I'll have to get a wireless card or dongle and try 2., but I've already had to replace the router so I'm not keen to shell out more cash to replace the TP-LINK which is working fine. I'll just have to use the windows partition a lot more. Or maybe I'll ditch the whole thing, it's pretty old now and I don't use it much anyway.
 
Old 10-17-2011, 04:51 AM   #5
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Rep: Reputation: 68
Just a long shot - but have a look at /etc/udev/rules.d folder - at the persistent-net file. I'm wondering if, for some reason, your real network card has somehow ended up somewhere else but eth0.

Also, try:

Code:
#ifconfig eth1 up
#ifconfig eth2 up
to see if any of them exist. Any chance you have more then one ethernet card in that system?

Of course, you can also do a:

Code:
#dmesg | grep eth*
to see what's happening during the boot, or even:

Code:
#dmesg | grep your_ethernet_kernel_module*
to see what was happening when the ethernet card was detected during boot.

Also, make sure there is no firewall active to start with. I suppose a misconfigured firewall could stop all traffic on eth0.

Like I said, a long shot (well, several long shots :-) ).

Sebastian
 
Old 10-17-2011, 08:04 AM   #6
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
It's definitely eth0. I did try it with the firewall off, made no difference. I decided to give it one more chance and ordered a wireless dongle...

Thanks for the ideas anyway.
 
Old 10-17-2011, 08:15 AM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Does it work when you assign a static ip?
 
Old 10-17-2011, 08:23 AM   #8
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by mrclisdue View Post
Does it work when you assign a static ip?
Nope.
 
Old 10-17-2011, 02:50 PM   #9
pg99
Member
 
Registered: May 2008
Location: UK
Distribution: Slackware
Posts: 73

Original Poster
Rep: Reputation: 18
Hey it's working! I deleted the udev persistent-net file, turned off the firewall, ran netconfig and assigned a static ip address, restarted eth0 and it came up working.

Thanks for the helpful suggestions.

Edit: it didn't work for long. Next reboot it was out again and refused to come back. I gave up and am now online with a ralink wireless usb instead!

Last edited by pg99; 10-21-2011 at 04:58 PM. Reason: update for posterity
 
  


Reply



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
share printer on wifi network to wired network wardy277 Linux - Wireless Networking 1 08-26-2011 11:28 AM
bridging a wireless and wired network causes wired to stop working royce2020 Linux - Networking 0 04-21-2009 04:48 PM
Bridging a wired network to a (managed by network manager) wireless one jemenake Linux - Wireless Networking 2 09-09-2008 09:18 PM
Network Manager issue : Does not distinguish between wired and wireless network rohanak Linux - Laptop and Netbook 1 09-04-2008 04:49 PM
Bridging a wired network to a wifi network bobmcobob Linux - Wireless Networking 2 07-18-2008 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:58 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