ubuntu设置热点

参考: https://askubuntu.com/questions/318973/how-do-i-create-a-wifi-hotspot-sharing-wireless-internet-connection-single-adap
Simple steps: Create wifi hotspot in ubuntu

  1. Disable Wifi (Uncheck Enable Wi-Fi)

  2. Go to network connection (Edit Connections...)

  3. Click "Add"

  4. Choose "Wi-Fi" and click "Create"

  5. Type in Connection name like "wifi-hotspot"


    ubuntu设置热点_第1张图片
  6. Type in SSID as you wish


    ubuntu设置热点_第2张图片
  7. Choose Device MAC Address from the dropdown (wlan0)

  8. Wifi Security select "WPA & WPA2 Personal" and set a password.


    ubuntu设置热点_第3张图片
  9. Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.


    ubuntu设置热点_第4张图片
  10. Then save and close.

  11. Open Terminal (Ctrl+Alt+T) and type in the following command with your connection name used in step 5.

sudo gedit /etc/NetworkManager/system-connections/wifi-hotspot

  1. Find mode=infrastructure and change it to mode=ap


    ubuntu设置热点_第5张图片
  2. able the Wifi
    Now check the network section where wi-fi will be connected to the created hotspot with the name of SSID. (If you can not find it, go to Connect to Hidden Network).

你可能感兴趣的:(ubuntu设置热点)