Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212294

Re: WiFi interface unexpected response

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: WiFi interface unexpected response
Date 2019-08-06 08:20 +0200
Message-ID <ys0Zb-73J-1@gated-at.bofh.it> (permalink)
References <yrZqp-5YY-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

WiFi interface unexpected response "zetam.imap" <zetam@insiberia.net> - 2019-08-06 06:40 +0200
  Re: WiFi interface unexpected response Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-06 08:20 +0200
  Re: WiFi interface unexpected response Patrick Bartek <nemommxiv@gmail.com> - 2019-08-07 00:10 +0200

csiph-web