View previous topic :: View next topic |
Author |
Message |
breiko Tux's lil' helper
Joined: 23 May 2006 Posts: 106 Location: Italy
|
Posted: Fri Jul 21, 2006 9:30 am Post subject: Problem with DHCP and net.eth0 |
|
|
Hi! I have a problem! Yeah..
This is my /etc/init.d/net
Code: | config_eth0=("192.168.0.5 netmask 255.255.255.0")
routes_eth0=( "default gw 192.168.0.1" )
|
This is the result of etc/init.d/net.eth0 start
Code: | localhost init.d # /etc/init.d/net.eth0 start
* Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ...
|
Why dhcpd starts? I put a static ip in /etc/init.d/net ..
So I have to start my network manually:
Code: |
localhost init.d # ifconfig eth0 192.168.0.5 up
localhost init.d # route add default gw 192.168.0.1
|
|
|
Back to top |
|
|
Tin Guru
Joined: 22 Dec 2005 Posts: 305 Location: Namur, Belgium
|
Posted: Fri Jul 21, 2006 10:15 am Post subject: |
|
|
I think that you should define your network configuration in
/etc/conf.d/net
and not in
/etc/init.d/net
_________________ Tin, the gentoobie |
|
Back to top |
|
|
breiko Tux's lil' helper
Joined: 23 May 2006 Posts: 106 Location: Italy
|
Posted: Fri Jul 21, 2006 11:23 am Post subject: |
|
|
Thanks I'm an idiot.. or just a newbie. |
|
Back to top |
|
|
|