A line in my /etc/network/interfaces file causes the wifi to stop working:
iface wlp12s0 inet dhcp
The Wifi symbol changes from a normal icon to the up and down arrows icon as well. Here is the code block that matters (wlp12s0 is the name of the wifi interface):
auto wlp12s0
iface wlp12s0 inet dhcp
wireless-power off
When I comment out the second line in this block, it works just fine!
I would like to know why that particular line being omitted causes it to work.
--Update--
The output of ifconfig
is as follows:
enp9s0 Link encap:Ethernet HWaddr 00:18:8b:dd:24:32
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:502 errors:0 dropped:0 overruns:0 frame:0
TX packets:502 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:39705 (39.7 KB) TX bytes:39705 (39.7 KB)
wlp12s0 Link encap:Ethernet HWaddr 00:1b:77:67:70:58
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f7fb:f289:cc1f:d952/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4293 errors:0 dropped:0 overruns:0 frame:0
TX packets:2203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1314477 (1.3 MB) TX bytes:479860 (479.8 KB)
wlp12s0
interprets as: wl --> wlan interface, p12 --> physical placement of device, PCI bus 12, s0 --> slot 0, inet --> interface uses TCP/IP networking, dhcp --> dynamic host configuration protocol. Now looking at p12 I suspect no bus 12 exists on your machine, so runlsusb
command. I doubt you will see a Bus 012, if I am right that means your trying to use a location that does not exist.wlp12s0
is the actual name it gives me when I runifconfg