You are not logged in.

#1 2016-01-16 11:22:18

benoliver999
Member
From: Sheffield
Registered: 2014-02-01
Posts: 39
Website

[SOLVED] No IP on wifi after sleep/suspend, post-upgrade.

At some point within the last week, my laptop no longer gets an IP address from its wifi network after I resume from suspend.

It connects fine on boot.

I used netctl, specifically

wifi-menu

to set it up and haven't had to do a thing since then.

Until now. The wifi seems to connect but won't get an IP when I open the lid from suspend. I'm just using i3bar to get a readout, there are probably better places to look, I do not have much experience debugging this stuff. It says it's on the network, but without an IP.

Running

wifi-menu

fixes the problem, but it's a pain every time.

The network controller is apparently

Intel Corporation Centrino Wireless-N 2230 (rev c4)

device driver

iwlwifi

.

I will try it on ethernet when I get a chance, but I don't have an easy place to test this.

Last edited by benoliver999 (2016-01-17 13:50:54)

Offline

#2 2016-01-17 13:50:38

benoliver999
Member
From: Sheffield
Registered: 2014-02-01
Posts: 39
Website

Re: [SOLVED] No IP on wifi after sleep/suspend, post-upgrade.

Setting the details for a static connection did the trick. So:

## /etc/netctl/my-profile
---

Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=MYSSID
IP=static
Address=('192.168.1.5/24')
Gateway='192.168.1.1'
DNS=('8.8.8.8')
Key=MYKEY
Priority=2

I don't know why I suddenly had to do this, but it works, and actually connects much faster than it used to.

Offline

Board footer

Powered by FluxBB