LoginSignup
1
0

More than 5 years have passed since last update.

Ubuntu16.04LTS server を無線LANでインストールすると無線LANに接続できない

Last updated at Posted at 2017-11-29

Ubuntu16.04LTS Serverを無線LANでインストールすると無線LANに接続できない

現象

Ubuntu16.04LTS serverをインストール時に無線LANを選択すると、インストール時には無線LANが有効となるものの、インストール後再起動時に無線LANが有効にならない。

解決策

手動で設定ファイルを書く

$ wpa_passphrase SSID password > ~/wpa_supplicant.conf

$ cat ~/wpa_supplicant.conf
network={
    ssid="SSID"
    psk=***************************************
sudo cp ~/wpa_supplicant.conf /etc/wpa_supplicant.conf

インターフェース名を調べる。(wlp1s0等)

ifconfig -a

/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto wlp1s0
iface wlp1s0 inet static
address 192.168.10.201
netmask 255.255.255.0
gateway 192.168.10.1

wpa_conf /etc/wpa_supplicant.conf

DNSの設定

再起動

sudo shutdown -r now

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0