1. ifconfig eth0 down ifconfig eth1 down(關閉所有網卡) 2. iwconfig eth1 essid **** key s:***(設置網絡參數) ifconfig eth1 up(啟動無線網卡) 3. dhclient(gentoo linux是dhcpd) eth1(獲取ip地址) 4. ifconfing eth1(確認結果)