wireless setup

来源:互联网 发布:2016年地区数据库 编辑:程序博客网 时间:2024/05/22 14:46

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wifi.conf
---------------------
ctrl_interface_group=0
ap_scan=1
#network={
#  ssid="e-puck" #this should be replaced by your ssid
#  scan_ssid=1
#  key_mgmt=WPA-PSK
#  psk=0175b7ab454e74e80020396131453fab3abee7b00107c4bd064cc3ac5e5eeb89
#}
network={
  ssid="Tenda1" #this should be replaced by your ssid
  scan_ssid=1
  key_mgmt=NONE
}
network={
  ssid="NAO_Network" #this should be replaced by your ssid
  scan_ssid=1
  key_mgmt=NONE
}


~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ iwconfig wlan# 

epuck@epuck6:/etc/network$ cat interfaces                                       
----------------------------------------
auto lo                                                                         
iface lo inet loopback                                                          
                                                                                
auto eth0                                                                       
iface eth0 inet dhcp                                                            
                                                                                
auto wlan0                                                                      
iface wlan0 inet dhcp                                                           
        wpa-conf /etc/network/wifi.conf                                         
                                                                                
auto wlan1                                                                      
iface wlan1 inet dhcp                                                           
        wpa-conf /etc/network/wifi.conf                                         
                                                                                
auto wlan2                                                                      
iface wlan2 inet dhcp                                                                                                                                 
        wpa-conf /etc/network/wifi.conf                                         
                                                                                
auto wlan3                                                                      
iface wlan3 inet dhcp                                                           
        wpa-conf /etc/network/wifi.conf 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

原创粉丝点击