1

I do not know why, but when I unplug my ethernet cable, I have no more wifi connection. I use /etc/network/interfaces for configure my static IP

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet static
address 192.168.XXX.XX0
netmask 255.255.255.0
gateway 192.168.XXX.XXX

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.XXX.XX1
netmask 255.255.255.0
gateway 192.168.XXX.XXX
   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

And my wpa_supllicant.conf is correct

Does anyone know why? Thanks

tlhIngan
  • 3,372
  • 5
  • 21
  • 33
Brian
  • 11
  • 3

1 Answers1

0

In case it helps, I have this in my /etc/network/interfaces file:

auto wlan0
iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

I'm wondering if adding auto wlan0 might help here.

Will
  • 210
  • 2
  • 5