wireless - WiFi interface down on boot. Need to restart network manager - Ask Ubuntu
i using tl-wn823n wifi usb dongle in ubuntu 16.04. after following this , this answer (should have sticked one, know, didn't seem work) managed working, needed manually bring interface (sudo ifconfig enx98ded01947a7 up) , restart network manager (sudo service network-manager restart).
now, whenever restart machine, need manually perform same steps. if bring interface up, network manager won't find wifi networks until restarted. when restarted, automatically connects wifi network.
i found several questions on this, , i've been looking @ /etc/network/interfaces file. after fiddling around nothing has come out of it.
its original contents were:
# interfaces(5) file used ifup(8) , ifdown(8) auto lo iface lo inet loopback i added following line, , nothing changed:
allow-hotplug enx98ded01947a7 now, interesting bit. if add following line well:
iface enx98ded01947a7 inet dhcp the interface after reboot. no wifi networks found, though, regardless of how many times restart network manager. remove last line , restart network manager, works charm.
so need find way of having system automatically connect wifi network when boots using external wifi usb dongle, without me having manually bring interface , restarting network manager. aware of possibility of automating 2 commands on boot, seems hacky , not address root of problem.
in terminal, type gksudo gedit /etc/modules , add rtl8192eu end of file. save , quit gedit. restart computer , driver wireless card load @ boot time, , wireless should more reliable.
you should remove lines added /etc/network/interfaces.
Comments
Post a Comment