You are not logged in.
hey
what is the command for get ip address from the dhcp?
Offline
dhcpcd
Offline
[root@myhost chch]# ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
[root@myhost chch]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0F:EA:5D:67:47
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:519 errors:0 dropped:0 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121907 (119.0 Kb) TX bytes:86505 (84.4 Kb)
Interrupt:18 Base address:0xc000[root@myhost chch]# dhcpcd eth0
Error, eth0: dhcpcd already running (/var/run/dhcpcd-eth0.pid)
Last edited by dids22 (2007-05-15 21:20:31)
Offline
an easy way to do that is "dhcpcd [interface] -k"
Offline
ty its working
there is a way to release the ip? (the ip will be 0.0.0.0)
Offline
release. dhcpcd [interface] -K as stated above.
Offline