Quellcode |
|
1 |
# cp /etc/resolv.conf ~ |
Quellcode |
|
1 |
# /etc/init.d/net.eth0 stop |
Quellcode |
|
1 |
# /etc/init.d/net.eth0 start |
Zitat
Original von schade
Also weder bei /etc/init.d/net.eth0 stop noch bei /etc/init.d/net.eth0 start ändert sich die /etc/resolv.conf
Quellcode |
|
1 |
dhcpcd_eth0="-t 10 -R" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
# This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). dns_domain_lo="meinNetz" modules=( "dhcpcd" ) config_eth0=( "dhcp" ) dhcpcd_eth0="-o -t 10 -R -h Linuxprise" # Timeout nach 10 Sekunden dhcp_eth0="release nodns nontp nonis" # Nur eine Adresse anfordern |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
$ cat /etc/conf.d/net # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=("dhcp") dhcpcd_eth0="-o -t 10 -D -h asmodean" fallback_eth0=("192.168.45.33 netmask 255.255.255.0 broadcast 192.168.45.255") fallback_route_eth=("default via 192.168.45.254") config_eth1=("dhcp") dhcpcd_eth1="-o -t 10 -D -h asmodean" |
Quellcode |
|
1 2 |
config_eth0=( "dhcp" ) dhcpcd_eth0="-o -t 10 -h Linuxprise" # Timeout nach 10 Sekunden |
Quellcode |
|
1 2 |
# /etc/init.d/net.eth0 stop # dhcpcd -o -t 10 -h Linuxprise |