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(确认结果)