看板 Linux 關於我們 聯絡資訊
我用的是Fedora 10不知道為何,我的X windows下抓不到eth0 只得用ifup eth0 我想把這行自動在開機時執行,照鳥哥的書說法, 我在 /etc/profile 中加入 ifup eth0 可是沒作用 換在 /etc/inputrc 加入 ifup eth0 下次開機,按i這個鍵竟然會變成嗶聲, i鍵會變得沒有作用,不知道是何原因 若是在 ~/.bash_profile 或 ~/.bash_login加入 ifup eth0 則會顯示找不到該device,代表只有root才能執行 ifup eth0吧? 想請問要如何做才能達到我要的結果呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.99.0.10 ※ 編輯: realmojo 來自: 122.99.0.10 (11/30 22:42)
WolfLord:how abot /etc/rc.d/rc.local ? 11/30 23:14
antontw:原 po 好像沒搞清楚 rc 跟 bashrc 的功能。 12/01 09:44