Hello,

strange it need such work arounds for, what I thought, a basic task.

A couple of weeks/month ago it was working fine. Except of apt-get update/upgrade I haven't changed anything at the configuration.

What I also do not understand is that the interface is still up after standby
$ sudo ifup wlan0
ifup: interface wlan0 already configured

$ ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:19:7e:38:f4:87
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:189889 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125388 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:204461922 (194.9 MiB)  TX bytes:16860680 (16.0 MiB)

But with dhclient I do not get an IP address.
$ sudo dhclient wlan0
<takes long and no output>
$

Only networking restarts or ifdown/ifup works.


On 2014-11-22 12:18, Andrew Shadura wrote:
Control: severity -1 wishlist

Hello,

On Sat, 22 Nov 2014 12:06:13 +0100
Thomas Fischbach <bugs.debian....@kennygno.de> wrote:

after standby I have no wireless access.

I use the following commands to fix it every time.
ifdown wlan0
ifup wlan0

Here my configuration for the interface

allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid name
wpa-psk secret

This is something expected and something I'm afraid I can't fix easily.
Try installing and using ifplugd or netplug. One more thing to help
with this is a udev rule to bring interfaces up and down when RF-kill
state changes:

SUBSYSTEM=="rfkill", ACTION=="change", ENV{RFKILL_STATE}=="1",
ENV{RFKILL_NAME}=="phy*", ENV{RFKILL_TYPE}=="wlan", RUN+="ifup ..."
SUBSYSTEM=="rfkill", ACTION=="change", ENV{RFKILL_STATE}=="0",
ENV{RFKILL_NAME}=="phy*", ENV{RFKILL_TYPE}=="wlan", RUN+="ifdown ..."


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to