profile 與 ifconfig 與smbmount - Linux

Belly avatar
By Belly
at 2008-06-17T12:08

Table of Contents

我在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

請問是什麼原因呢?? 該怎麼解決???

--
Tags: Linux

All Comments

請問cPanel的售價

Frederica avatar
By Frederica
at 2008-06-17T09:36
從以前到現在,我買過的網頁、資料庫空間,大多廠商都是 提供cPanel給user登入管理自己的設定、Email、檔案等等, 使用起來覺的蠻方便的,所以有點好奇想知道像Panel售價大概是多少呢? 我網路簡略查一下,好像48美金/month,請問是這個價錢嗎? 有年或終身授權的嗎? -- ...

請問crontab如何設定隔週工作?

Ida avatar
By Ida
at 2008-06-17T06:58
這樣子可行嗎?用test判斷 /root/week 是否存在, 如果有就執行A,不然就執行B 執行A的時候先將/root/week刪除,下次就會執行B 執行B的時候就做/root/week出來,下次就會執行A 0 0 * * 5 test -e /root/week andamp;andamp; A || ...

Perl CPAN DBD:mysql error

Steve avatar
By Steve
at 2008-06-17T01:34
本來跑好好的MT 去讀取MySQL 結果最近忽然出現 Got an error: install_driver(mysql) failed: Canand#39;t load and#39;/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/a ...

請教關於shellscript寫法上的一些問題

Xanthe avatar
By Xanthe
at 2008-06-17T01:05
小弟是新手,最近開始學著撰寫shell script(csh)請教一下大家。 問題一 在某個log檔中如果有出現abc的字,那代表運算執行完畢。x 參考了網上找到的資料 if (grep abc ./path/a.log andgt; /dev/null )then ....... endif 在執行的時候 ...

有辦法 Monitor 某隻檔案是哪個程式產生的嗎

Lucy avatar
By Lucy
at 2008-06-16T23:34
請問, 在 Linux 下,常常在某些資料夾會產生一些奇怪的檔案。 如果想知道,某隻檔案是哪個程式或process 產生的, 有辦法做到嗎? 謝謝 - ...