1) the output of "dmesg | grep iwlwifi" is...
[ 0.640780] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have
ASPM control [ 0.641112] Loading firmware: iwlwifi-5000-5.ucode
[ 0.641332] iwlwifi 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692 5000-5.ucode op_mode iwldvm [ 0.641360] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled [ 0.641364] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled [ 0.641367] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled [ 0.641370] iwlwifi 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54 [ 17.311014] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
[ 17.424989] iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
Nice to see that it detects the 5100 AGN just like lspci. As the old saying goes, "use it or lose it"; I used to be able to run wifi on this machine manually (command line) in the past, but now I've completely forgotten how. I've emerged "iw" and "wpa_supplicant". "iw dev" shows
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:26:c6:4a:b4:92
type managed
txpower 15.00 dBm
Questions...
1) what do I do to scan and get a list of available networks?
scan
scan_results
2) how do I connect to one of the listed networks (assuming either
it's public, or I have the password) ?
scan0 (if there is no other network yet configured)
scan_results
add_network
set_network 0 ssid "My_blah_AP" <== From the results0K
set_network 0 psk "My_secret_passphrase"
enable_network 0
save configOK
3) minor detail... The Google hits I've found all show both DVM and
MVM support enabled. Given that dmesg output shows "op_mode iwldvm",
can I safely get rid of MVM support ?
I'm having problems, even running as root. As per the previous
message, the system is detecting the hardware, but wpa_aupplicant cannot
get going. I have a minimal /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
update_config=1
From https://wiki.gentoo.org/wiki/Wpa_supplicant#Using_wpa_cli the
command for debugging is...
wpa_supplicant -Dnl80211 -iwlan0 -C/var/run/wpa_supplicant/ -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
...to which I appended ">>logfile.txt 2>&1" to grab all output. I
waited for a minute or so, and got the logfile which I've attached. Any ideas?
During launch, wpa_supplicant blows up on...
DIR=/var/run/wpa_supplicant GROUP=wheel
DIR=/var/run/wpa_supplicant GROUP=0
https://wiki.gentoo.org/wiki/Wpa_supplicant#Configuration recommends...
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
The 3 lines in my wpa_supplicant.conf that are not commented out are...
ctrl_interface_group=0
ap_scan=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
Thank you for your help. It works.
I live in a condo building. As
a regular user "wpa_cli scan" followed by "wpa_cli scan_result" shows approximately a couple of dozen machines. BTW I've disabled MVM and
wifi still works.
One last question; I occasionally see signs in various places saying
Our network name is "foo" and password is "bar".
My reading of the wpa_cli man page indicates I should use...
wpa_cli password foo bar
...to log on. Is that correct?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 100:13:58 |
Calls: | 6,767 |
Calls today: | 5 |
Files: | 12,295 |
Messages: | 5,376,420 |
Posted today: | 1 |