Hi Mladen,
I am happy to hear you have fixed that.
Now, perhaps I can get some help for my laptop, which is still not fully usable after a week of owning it?
I first tried to burn a USB stick for PureOS 2.1. I had no luck with that. I burned it three ways.
- OS X dd
- OS X etcher
- Linux gnome-disk-utility
Each time left me with a USB that the Librem did not think was bootable.
So I moved onto Debian Testing and burned a USB stick for that using OS X and dd.
The Librem happily booted from that and I installed successfully.
Then my troubles began. Even though the Debian installer had no problems using WIFI during the install, I cannot get the WIFI device to go active now that the box is ready. I am writing this using a USB ethernet dongle.
FYI: I am using KDE as a DE. I have done the majority of my testing with NetworkManager stopped and hacking WIFI config based on various blog entries I found on the ath9k.
On a clean boot, NetworkManager running, I see the following:
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 30:10:b3:77:c3:b7 brd ff:ff:ff:ff:ff:ff
$ sudo journalctl | grep "ath9k\|wlp2s0"
[sudo] password for rick:
Sep 05 14:31:27 red kernel: ath9k 0000:02:00.0: enabling device (0000 -> 0002)
Sep 05 14:31:28 red kernel: ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.0605] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/ieee80211/phy0/rfkill0) (driver ath9k)
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.1147] devices added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/net/wlp2s0, iface: wlp2s0)
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.1147] device added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/net/wlp2s0, iface: wlp2s0): no ifupdown configuration found.
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.2511] (wlp2s0): using nl80211 for WiFi device control
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.2520] device (wlp2s0): driver supports Access Point (AP) mode
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.2527] manager: (wlp2s0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/0)
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.2534] device (wlp2s0): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Sep 05 14:31:29 red kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Sep 05 14:31:29 red kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.2947] device (wlp2s0): supplicant interface state: init -> starting
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.3337] sup-iface[0x1773f70,wlp2s0]: supports 4 scan SSIDs
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.3343] device (wlp2s0): supplicant interface state: starting -> ready
Sep 05 14:31:29 red NetworkManager[2379]: <info> [1473111089.3343] device (wlp2s0): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Sep 05 14:31:29 red kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Sep 05 14:31:32 red wpa_supplicant[2447]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 05 14:31:32 red wpa_supplicant[2447]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 05 14:31:32 red NetworkManager[2379]: <info> [1473111092.7836] device (wlp2s0): supplicant interface state: ready -> inactive
$ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MYSSID"
scan_ssid=1
key_mgmt=WPA-PSK
psk=secret
}
The manual testing I have doing involved:
$ sudo service network-manager stop
$ wpa_passphrase MySSID seed-password
edit the supplicant file and add the psk
$ sudo ifconfig wlp2s0 up
$ sudo iwlist scan
shows Cell 1
$ sudo iwconfig wlp2s0 essid "MySSID" channel 1
$ sudo wpa_supplicant -B -Dwext -iwlp2s0 -c/etc/wpa_supplicant/wpa_supplicant.conf
ip addr shows state dormant
$ sudo dhclient wlp2s0
it pauses for a long time
once back, ip addr shows it down again
I would appreciate any help I can get. I don’t find laptops without WIFI to be all that useful.
Thanks.