LinuxQuestions.org
Visit Jeremy's Blog.
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 10-19-2003, 10:38 PM   #1
likwid818
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Slackware 8 and DHCPCD - Timed out


can anyone help me with a slack 8 question? after running insmod tulip to install my nic driver, i do ifconfig eth0 192.168.0.1 and then dhcpcd -d eth0, but dhcpcd puts in syslog that it timed out waiting for DHCP server.. im using a linksys lne100tx fast ethernet card, and it is recognized at boot.. this method has worked for me before, but now it is not.. i haven't made any changes to any config files, except /etc/inetd.conf since it stopped working.. i don't understand.. any help?

likwid
 
Old 10-19-2003, 10:58 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
i don't know much about networking yet, but maybe try the ifconfig without the router IP, "ifconfig eth0 up."

also, why insmod and not modprobe? just curious, as i have always used modprobe and don't know how insmod is different.
 
Old 10-21-2003, 10:01 PM   #3
likwid818
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Hmm.. It's weird, I got it to work that way yesterday, after messing with it a little, ifconfig eth0 up and dhcpcd worked.. but now its not.. I've tried cycling my modem also, no luck.. Thre reason I use insmod is basically the same as the reason you use modprobe.. its what I've always used.. Thanks for the help..

likwid
 
Old 10-22-2003, 10:57 AM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
did you reboot? that would kill the driver and the daemon, and the ethernet device connection until you set everything up again (or automated it to start on boot). you can also use plain "ifconfig" to get the status of your ethernet interfaces. you should have an eth0 and a lo, both up.

once you have it figured out and working, add the modprobe to the /etc/rc.d/rc.modules file (using the format in the file, e.g., /sbin/modprobe tulip -- or whatever driver works) so it will load at boot and allow your interfaces to come up and get connected. if it worked once and you had a connection, i don't see why it wouldn't work again.

--------------
# modprobe tulip
# ifconfig eth0 up
# dhcpcd eth0


>edit: you can try pinging, too, to see if you have some connection at least:
# ping google.com (etc.)

Last edited by synaptical; 10-22-2003 at 11:21 AM.
 
Old 10-22-2003, 07:45 PM   #5
likwid818
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
yea, i did reboot.. and i knew it would kill the connection and everything.. but i tried all that after i rebooted, exactly what you typed, and it still says it timed out waiting for a valid dhcp server response... i know its weird that it was working at one time, now its not.. i dont know what the deal is. i think im just going to format and install redhat 9..
 
Old 10-22-2003, 07:53 PM   #6
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
I may be off in the wrong direction but.... I had a similar problem on Slack 9 with a linksys card. It just wouldn't hold its config. I simply ran the command netconfig and configured the card through Slack wizard type thingy. Worked solid ever since.


Last edited by WingNut; 10-22-2003 at 07:58 PM.
 
Old 10-22-2003, 10:45 PM   #7
likwid818
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I've also run netconfig, and it doesnt even bring the interface up before it tries to connect to the dhcp..
 
  


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
slackware dhcpcd client? chbin Slackware 15 03-17-2005 08:28 AM
/sbin/dhcpcd: not running - Slackware 10 jtp51 Slackware 6 10-14-2004 12:40 PM
slackware 10 dhcpcd problem solved yet? taek Slackware 7 08-16-2004 12:55 AM
DHCPCD / Slackware 8.0 Problem romanivice Linux - Networking 3 02-15-2002 08:26 PM
DHCPCD in Slackware 8.0 Floppy Linux - Networking 3 02-10-2002 07:58 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration