UBUNTU SERVER 配置網卡

1. 修改interface文件。

    vi  /etc/network/interfaces

添加


auto eth0

iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
address 192.168.1.202
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1 192.168.253.3
wpa-conf /etc/wpa_config.conf

2. 填寫無線ID

  wpa_passphrase TP-LINK 123456 > /etc/wpa_config.conf

3. 修改啓動配置BUG

  vi /etc/init/failsafe.conf

注掉

#sleep 20

#sleep 40

#sleep 59


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章