On Ma, 06 aug 19, 01:34:43, zetam.imap wrote:
> hello
> I have quite (to me) unexplained behavior in a wifi interface I defined
> in /etc/network/interfaces config file.
> I turned off NetworkManager
>
> root@:~ # systemctl stop NetworkManager.service
> root@:~ # systemctl disable NetworkManager
>
>
> The /etc/network/interface file content
>
> auto lo enp0s25
> iface lo inet loopback
>
> iface enp0s25 inet static
> address 192.168.1.243
> netmask 255.255.255.0
> gateway 192.168.1.254
>
>
> auto wlp3s0
> iface wlp3s0 inet static
> address 172.16.1.243
> netmask 255.255.255.0
> network 172.16.1.0
> broadcast 172.16.1.255
network and broadcast are not necessary.
> gateway 172.16.1.1
> wpa-essid essidname
> wpa-psk abcdef0123456789a....
>
>
> The /etc/wpa_supplicant.conf file content
>
> network={
> ssid="essidname"
> #psk="pass"
> psk=abcdef0123456789a...
> }
Why do you need this if you configure wpa in /etc/network/interfaces?
[...]
> The strange behavior is that after running the failed `ifup` then the
> interface starts to work correctly!
Try switching wlp3s0 from auto to allow-hotplug.
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature