Ubuntu 네트워크 설정 자세히 알 아 보기

3352 단어 Linux
    :http://blog.sina.com.cn/s/blog_5f43e5250102uxtc.html
ubuntu     :
 :       
  ubuntu           
/etc/network/interfaces                   ubuntu    ;
            ip         ,     /NetworkManager/NetworkManager.conf        。
         ,
1:  /etc/NetworkManager/NetworkManager.conf   managed=false , interfaces        ,
2:/etc/NetworkManager/NetworkManager.conf   managed=true ,      。
sudo ifconfig    #                    
                              eth0  ----      ;
                              wlan0 ---                           。
                                               (     lspci  -vnn -d 14e4:           ,         )
                                                 :https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
sudo pppoeconf   #    pppoe           ,       
sudo pon dsl-provider    #     
sudo poff        #     
sudo vim /etc/network/interfaces 
  interfaces     :               
#interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0
iface eth0 inet manual

sudo etc/init.d/networking restart  ##

----------------------------------------------------------------------------------------------------------------------------------------------------

                 

sudo stop network-manager   #           
sudo start network-manager  sudo etc/init.d/networking restart  #      
sudo ifconfig eth0 down   
sudo ifconfig eth0 up    #         

  :       


iwconfig  wlan0  #            
iwlist wlan0
scan   #      
sudo iwconfig wlan0 essid 【account】 
key  【password】   #                                                               
#ascii      
dhclient wlan0   #    ip  
ifconfig wlan0 down  #    
ifconfig wlan0 up    #    
ping  192.168.1.1  #    ,         

 :wifi      
1:  wifi       
        ,ping      ,ping     。
        :
lspci -vnn -d 14e4        ,     
                 
http://askubuntu.com/questions/55868/installing-broadcom-wireless-drivers?lq=1    

좋은 웹페이지 즐겨찾기