[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 問一下network的設定問題!!



Pun Kuan Tou wrote:

>剛安裝完woody後發現它沒有lo的介面,每次開機都要手動
>ifconfig lo 127.0.0.1才行,如何設定在開機時自動做這動作.
>如果沒有這個設定,esd就無法正常.......
>
>

請修改 /etc/network/interfaces 檔案,
以下是我的 interfaces 內容:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# The first network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.28
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254


關於 interfaces 檔案的詳細寫法,請 man interfaces





Reply to: