Greetings to all.
As the title of this thread states, I am trying to configure my wireless card. I have followed the directions mentioned in chapter 24 of the installation guide, but on every reboot the setup stops working.
The dmesg log tells me that my card is detected by the kernel:
Thinkpad_X260$ dmesg | grep iwm0
[ 1.004485] iwm0 at pci2 dev 0 function 0: vendor 8086 product 24f3 (rev. 0x3a)
[ 1.004485] iwm0: interrupting at msi3 vec 0
[ 6.204914] iwm0: hw rev 0x200, fw ver 22.361476.0, address f0:d5:bf:6c:f6:3d
[ 6.204914] iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 6.204914] iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 6.204914] iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 1.005459] iwm0 at pci2 dev 0 function 0: vendor 8086 product 24f3 (rev. 0x3a)
[ 1.005459] iwm0: interrupting at msi3 vec 0
[ 5.864522] iwm0: hw rev 0x200, fw ver 22.361476.0, address f0:d5:bf:6c:f6:3d
[ 5.864522] iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 5.864522] iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 5.864522] iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 1.004744] iwm0 at pci2 dev 0 function 0: vendor 8086 product 24f3 (rev. 0x3a)
[ 1.004744] iwm0: interrupting at msi3 vec 0
[ 6.209482] iwm0: hw rev 0x200, fw ver 22.361476.0, address f0:d5:bf:6c:f6:3d
[ 6.239483] iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 6.269482] iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 6.289482] iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
This is how I have my rc.config file configured.
Thinkpad_X260$ cat /etc/rc.conf
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
fi
rc_configured=YES
dbus=YES
random_file=/etc/entropy-file
sshd=YES
ntpd=YES
power=YES
hostname=Thinkpad_X260
cgd=NO
raidframe=NO
wscons=YES
ifconfig_iwm0="up"
dhcpcd=YES
dhcpcd_flags="-qM iwm0 -b"
wpa_supplicant=YES
wpa_supplicant_flags="-B -c /etc/wpa_supplicant.conf -i iwm0"
However, even though sysctl tells me that the iwm0 interface is active, I have no internet connection.
Thinkpad_X260$ sysctl -a | grep iwm0
net.link.ieee80211.vap0.parent = iwm0
net.interfaces.iwm0.rcvq.drops = 0
net.interfaces.iwm0.sndq.len = 0
net.interfaces.iwm0.sndq.maxlen = 256
net.interfaces.iwm0.sndq.drops = 0
hw.iwm.iwm0.fw_loaded = 1
The curious thing is that if I configure it on the fly, the connection is correctly established.
ifconfig iwm0 up
service wpa_supplicant reload
service dhcpcd restart
Is there something that I have configured wrong?