Hi,
I'm struggling with wifi on Ubuntu 16.04.1 Server as wel.... :
this what I've been done till now:
Code:
cat /etc/network/interfaces :
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto wlp5s0
iface wlp5s0 inet dhcp
wireless-essid "NetworkName"
wireless-mode managed
wpa-drivr wext
post-up wpa_supplicant -Dwext -iwlp5s0 -c /etc/wpa_supplicant.conf -B
cat /etc/wpa_supplicant.conf :
network={
ssid="NetworkName"
psk="PskCode"
key_mgmt=WPA-EAP WPA-PSK
proto=RSN WPA
pairwise=CCMP TKIP
}
in /etc/network/if-pre-up.d/ iwconfig -> /etc/network/if-up.d/iwconfig
cat /etc/network/if-up.d/iwconfig :
#!/bin/sh
iwconfig wlp5s0 essid "NetworkName" mode managed
cat /etc/network/interfaces.d/wlp5s0 :
auto wlp5s0
iface wlp5s0 inet dhcp
wpa-ssid NetworkName
wpa-psk PskCode
Rebooting takes too long:
Code:
"A start job is running for Raise network interfaces ( / 5 min 1s)" !...... !!!
Code:
sudo ifup -v -wlp5s0
Parsing file /etc/network/interfaces.d/wlp5s0
ifup: interface wlp5s0 already configured
but pinging: ping 8.8.8.8 connect: Network is unreachable
Also doing:
Code:
sudo /etc/init.d/networking restart
[ok] Restarting networking (via systemctI): networking.service
png 8.8.8.8
connect: Network is unreachable
doing :
Code:
systemctl status networking.service
networking.service: Main process exited, code=exited, status=1/FAILURE
wlp5s0: CTRL-EVENT-DISCONNECTED
Failed to start Raise network interfaces
doing:
Code:
journalctl -xe
ifup[4205]: Error for wireless request "Set ESSID" (8B1A)
SET failed on device wlp5s0 ; Operation already in progress
run-parts: /etc/network/if-pre-up.d/iwconfig exited with return code 250
systemd[1]: /sbin/ifup: pre-up script failed
Failed to start Raise network interfaces
I ran the following script: https://github.com/UbuntuForums/wireless-info in order to gather the infos necessary for troubleshooting a wireless connection.Please find attached the resulting txt file
Looking forward to your kind help
Marco
Bookmarks