[問題] 請教udhcpc會卡住的問題?

看板LinuxDev作者 (阿偉蘇)時間13年前 (2011/02/21 15:49), 編輯推噓2(206)
留言8則, 3人參與, 最新討論串1/2 (看更多)
Dear all, 我參考 http://sites.google.com/site/koukailinuxdev/build-usb-linux/create_initrd 功能正常 但我網路線不接去執行的話 程式就被卡在那裡 有參數-T 但我設了還是卡死在那 直到我接回網路線才變會正常 請問還有什麼方式可以解嗎? 感謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.32.227.107

02/21 15:49, , 1F
忘了說我是用busybox的
02/21 15:49, 1F

02/21 17:18, , 2F
-n Exit with failure if lease cannot be immediately
02/21 17:18, 2F

02/21 17:18, , 3F
negotiated
02/21 17:18, 3F

02/21 17:19, , 4F
我猜是這個問題~
02/21 17:19, 4F

02/21 17:40, , 5F
感謝~會卡一下但至少不會永久卡死!
02/21 17:40, 5F

02/21 17:43, , 6F
把udhcpc丟到背景執行
02/21 17:43, 6F

02/21 17:44, , 7F
這樣就算udhcpc拿不到IP也不會影響到你其他的process
02/21 17:44, 7F

02/22 15:22, , 8F
有~我改到背景跑了~感謝~
02/22 15:22, 8F
文章代碼(AID): #1DOXZvzI (LinuxDev)
文章代碼(AID): #1DOXZvzI (LinuxDev)