On 18/12/19 at 17:32, Nektarios Katakis wrote: > > You should try to associate the wireless nic with your wifi by running > only wpa_supplicant to see if that succeeds (the link state should > change - the mode in the `iwconfig` command should be managed). > > For example this is how my config looks like > ``` > allow-hotplug wlx000f00bf4a3f > iface wlx000f00bf4a3f inet static > address 192.168.1.71 > netmask 255.255.255.0 > gateway 192.168.1.254 > wpa-ssid ssid-name > wpa-psk > e8918bce6980814557b664fb52bda4d342174d2a2c95dd06078d7a29851de799 > ``` > > Hope this helps.
Thanks for your answer I've just solved thank reading this link [1] it was the gateway line once commented all work fine. Now the wlan0 configuration file is: ~# cat /etc/network/interfaces.d/wlan0 # allow-hotplug wlan0 iface wlan0 inet static address 192.168.0.9 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 # gateway 192.168.0.1 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf Debian on raspberrypi works great I've cups, bind9, isc-dhcp-server running fine, if you are unsure give it a try. [1] https://raspberrypi.stackexchange.com/questions/13895/solving-rtnetlink-answers-file-exists-when-running-ifup -- Franco Martelli