profile 與 ifconfig 與smbmount - Linux

Table of Contents

※ 引述《asail0712 (emeth)》之銘言:
: 我在profile檔案裡面
: 加了
: ifconfig eth0 xxx.xxx.xxx.xxx up (設定IP)
: cd /
: smbmount //ooo.ooo.ooo.ooo/abcd /mnt (想做mount)
: 但是最後結果出現
: 108: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
: SMB connection failed
: 但是同樣的mount指令在開機完之後
: 就可以成功mount
: 請問是什麼原因呢?? 該怎麼解決???


ifconfig,smbmount 這些指令不適合出現在 profile 檔案裡, 因為開機

是有順序性的, ifconfig, smbmount 這些指令建議放在開機最後一個

script 裡面 /etc/rc.local



--

SmallKen's Blog
http://smallken.no-ip.org/blog

--

All Comments