Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »DerSigi« (30.07.2012, 22:28)
Quellcode |
|
1 2 3 |
modules_eth0="( "dhcpcd" ) config_eth0="( "dhcp" ) dhcpd_eth0="-d -10 10" |
Quellcode |
|
1 2 3 4 5 |
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.0 - 255.0.0.0 ! 0 - 0 - 192.168.178.0 0.0.0.0 255.255.255.0 U 2 0 0 eth0 |
Quellcode |
|
1 2 |
modules_eth0="dhcpcd" config_eth0="dhcp" |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
: 2012-07-28T23:19:23.150512+02:00 gentoo-vm kernel: e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI 2012-07-28T23:19:23.150515+02:00 gentoo-vm kernel: e1000: Copyright (c) 1999-2006 Intel Corporation. 2012-07-28T23:19:23.150521+02:00 gentoo-vm kernel: e1000 0000:02:01.0: eth0: (PCI:66MHz:32-bit) 00:0c:29:1e:ae:9f 2012-07-28T23:19:23.150524+02:00 gentoo-vm kernel: e1000 0000:02:01.0: eth0: Intel(R) PRO/1000 Network Connection : : 2012-07-28T23:19:23.150599+02:00 gentoo-vm kernel: e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None 2012-07-28T23:19:23.845459+02:00 gentoo-vm kernel: NET: Registered protocol family 10 : |
Quellcode |
|
1 |
# rc-update add dhcpcd default |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »DerSigi« (29.07.2012, 00:28)
Quellcode |
|
1 |
dhcpcd -d -B eth0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# dhcpcd -d -B eth0 dhcpcd[24601]: version 5.2.12 starting dhcpcd[24601]: eth0: using hwaddr 00:0c:29:1e:ae:9f dhcpcd[24601]: eth0: executing '/lib64/dhcpcd/dhcpcd-run-hooks', reason PREINIT dhcpcd[24601]: eth0: executing '/lib64/dhcpcd/dhcpcd-run-hooks', reason CARRIER dhcpcd[24601]: eth0: reading lease '/var/lib/dhcpcd/dhcpcd-eth0.lease' dhcpcd[24601]: eth0: rebinding lease of 192.168.178.45 dhcpcd[24601]: eth0: sending REQUEST (xid 0x9199ce36), next in 4.55 seconds dhcpcd[24601]: eth0: acknowledged 192.168.178.45 from 192.168.178.1 dhcpcd[24601]: eth0: checking for 192.168.178.45 dhcpcd[24601]: eth0: sending ARP probe (1 of 3), next in 1.48 seconds dhcpcd[24601]: eth0: sending ARP probe (2 of 3), next in 1.75 seconds dhcpcd[24601]: eth0: sending ARP probe (3 of 3), next in 2.00 seconds dhcpcd[24601]: eth0: leased 192.168.178.45 for 864000 seconds dhcpcd[24601]: eth0: adding IP address 192.168.178.45/24 dhcpcd[24601]: eth0: adding route to 192.168.178.0/24 dhcpcd[24601]: eth0: adding default route via 192.168.178.1 dhcpcd[24601]: eth0: writing lease '/var/lib/dhcpcd/dhcpcd-eth0.lease' dhcpcd[24601]: eth0: executing '/lib64/dhcpcd/dhcpcd-run-hooks', reason BOUND dhcpcd[24601]: eth0: sending ARP announce (1 of 2), next in 2.00 seconds dhcpcd[24601]: eth0: sending ARP announce (2 of 2) |