View previous topic :: View next topic |
Author |
Message |
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Mon Jul 22, 2002 12:43 am Post subject: dhcpcd eth0 needs to load at startup |
|
|
My internet connection works when I type
[cood]dhcpd eth0[/code]
How do I automatically configure this so I don't need to do it myself on each startup? |
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Mon Jul 22, 2002 12:48 am Post subject: |
|
|
assuming that you meant "dhcpcd eth0": in /etc/conf.d/net : Code: | iface_eth0="dhcp"
dhcpcd_eth0="-t 30" |
and after that Code: | rc-update add net.eth0 default |
EDIT: the "-t 30" option sets the timeout for the dhcpcd. this is rather usefull once you're booting without having a dhcp server, I don't know what the default timeout is (if there is any), but sure longer than 5 minutes !
* ElCondor pasa * _________________ Here I am the victim of my own choices and I'm just starting!
Last edited by ElCondor on Mon Jul 22, 2002 1:07 am; edited 1 time in total |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 22, 2002 12:51 am Post subject: |
|
|
Uncomment #iface_eth0="dhcp" line in /etc/conf.d/net.
Forum search would have probably gotten you this. |
|
Back to top |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Mon Jul 22, 2002 1:00 am Post subject: |
|
|
Thanks for the quick replies. I had both those lines set but didn't have the -t 30 value set
when I type rc-update add net eth0 default I get
* /sbin/rc-update: /etc/init.d/net not found; aborting
I am root, I did a "su -". I was told that would help but it didn't
I also tried substituting /sbin/rc-update for rc-update.
Thanks again |
|
Back to top |
|
|
Guest
|
Posted: Mon Jul 22, 2002 1:02 am Post subject: |
|
|
check etc/conf.d/net
line should be uncommented
iface_eth0="dhcp" |
|
Back to top |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Mon Jul 22, 2002 1:06 am Post subject: |
|
|
I still get the error when the line is commented out |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 22, 2002 1:07 am Post subject: |
|
|
You missed a "." between net and eth0 there. |
|
Back to top |
|
|
Mallrats Guru
Joined: 15 Jul 2002 Posts: 414 Location: Cleveland Ohio
|
Posted: Mon Jul 22, 2002 1:09 am Post subject: |
|
|
Of all things restarting fixed it! |
|
Back to top |
|
|
Guest
|
Posted: Mon Jul 22, 2002 1:20 am Post subject: |
|
|
self-proclaimed crowned Guru -geeks never ask if possibly a typo
just critisize |
|
Back to top |
|
|
Guest
|
Posted: Mon Jul 22, 2002 1:26 am Post subject: restart ? |
|
|
Ever had windows on this machine
forgot to delete registry |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 22, 2002 1:50 am Post subject: |
|
|
"Self proclaimed guru"... which bee got under your bonnet? What is the criticism? Read his post carefully:
Quote: |
when I type rc-update add net eth0 default I get
* /sbin/rc-update: /etc/init.d/net not found; aborting
|
He had his net.eth0 file in his default init level already. This is why the reboot worked. Think before you post.
Anonymous wrote: | self-proclaimed crowned Guru -geeks never ask if possibly a typo
just critisize |
|
|
Back to top |
|
|
Guest
|
Posted: Mon Jul 22, 2002 3:16 am Post subject: |
|
|
want to walk on water, don't take the bait sucker |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 22, 2002 3:18 am Post subject: |
|
|
Get a life, anon. Learn to read and write intelligibly... or haven't they covered that yet in grade school?
Anonymous wrote: | want to walk on water, don't take the bait sucker |
|
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Jul 22, 2002 3:19 am Post subject: |
|
|
These forums are for help. If you can't help, at least don't be a hindrance. |
|
Back to top |
|
|
Guest
|
Posted: Mon Jul 22, 2002 3:35 am Post subject: |
|
|
feeling damp ?
try parting instead of walking |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jul 22, 2002 9:24 am Post subject: |
|
|
Locking thread.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
|