由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - what did i do wrong to renew lease using udhcpc‏
相关主题
move cable from eth1 to eth0, but cannot ping eth0arch linux装完怎么没网络?
dhcp question‏why /etc/network/interfaces doesn't show "eth0"
Which DNS server are you using?won't take the eth0 config from /etc/network/interaces
为什么resolv.conf总被复原fedora DHCP problem
请教kickstart自动安装linux的问题make ubuntu to use static ip in command line
双网卡的配置问题!!2 default gateway when have 2 eth interfaces
Wireless 无法访问局域网如果自己写linux程序,network down了如何很快通知user app?
问个简单的命令问一个 dual boot networking 的问题
相关话题的讨论汇总
话题: udhcpc话题: do话题: root话题: did话题: eth0
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
# udhcpc --help
BusyBox v1.18.4 (2011-09-06 10:46:51 EDT) multi-call binary.
Hi, for some reason i cannot renew the lease.
root# udhcpc -i eth0 -s ./udhcpc.script -p eth0.pid -b
yes i got the ip address etc.
in udhcpc.script i put echos in the beginning so i know it get called
now since udhcpc is up running for eth0, i do this,
root# cat eth0.pid, i get 869
root# /bin/kill -SIGUSR1 869
nothing happened, no print from udhcpc.script
what did i do wrong pls ?
do i have files missing ?
v*s
发帖数: 29
2
I think all you did is killing udhcpc. Of course you will not get a ip
address.
Do you run it on embedded device?
Any specific reason why you use udhcpc instead of isc-dhcp?
Maybe you should learn some basic about dhcp first, even Linux. If you kill
a proc, how do you expect it to do things for you afterwards?

【在 w*s 的大作中提到】
: # udhcpc --help
: BusyBox v1.18.4 (2011-09-06 10:46:51 EDT) multi-call binary.
: Hi, for some reason i cannot renew the lease.
: root# udhcpc -i eth0 -s ./udhcpc.script -p eth0.pid -b
: yes i got the ip address etc.
: in udhcpc.script i put echos in the beginning so i know it get called
: now since udhcpc is up running for eth0, i do this,
: root# cat eth0.pid, i get 869
: root# /bin/kill -SIGUSR1 869
: nothing happened, no print from udhcpc.script

1 (共1页)
进入Linux版参与讨论
相关主题
问一个 dual boot networking 的问题请教kickstart自动安装linux的问题
求助:ubuntu上不了网(非无线)双网卡的配置问题!!
[求助]ICS无法访问citicards.comWireless 无法访问局域网
请问网络高手问个简单的命令
move cable from eth1 to eth0, but cannot ping eth0arch linux装完怎么没网络?
dhcp question‏why /etc/network/interfaces doesn't show "eth0"
Which DNS server are you using?won't take the eth0 config from /etc/network/interaces
为什么resolv.conf总被复原fedora DHCP problem
相关话题的讨论汇总
话题: udhcpc话题: do话题: root话题: did话题: eth0