Wi-Fi help.

Linux for blind general discussion blinux-list at redhat.com
Mon Jan 8 07:49:59 UTC 2018


Willem here.
His/her iwconfig output already show the interface name to be wlan0, so 
the dmesg should not be required.
Regards.


On Mon, 8 Jan 2018, Linux for blind general discussion wrote:

> Before doing any of that, I recommend as root dmesg|grep -i wlan <cr>. Some 
> of these systems like to rename wlan0 and give it strange names and this way 
> you know what that name is and don't waste time.
>
> On Mon, 8 Jan 2018, Linux for blind general discussion wrote:
>
>> Date: Mon, 8 Jan 2018 00:16:29
>> From: Linux for blind general discussion <blinux-list at redhat.com>
>> To: Linux for blind general discussion <blinux-list at redhat.com>
>> Subject: Re: Wi-Fi help.
>> 
>> Hi, Willem here.
>> I have not used wpa_cli, but if your 
>> /etc/wpa_supplicant/wpa_supplicant.conf has a valid network block, you can 
>> look at your /etc/network/interfaces to see what the entry for wlan0 looks 
>> like and then take it from there.
>> By the sound of it, you might not have a configuration for wlan0 in there.
>> If so, add something like the below to /etc/network/interfaces and then try
>> ifup wlan0
>> 
>> 
>> 
>> iface wlan0 inet dhcp
>> pre-up wpa_supplicant -iwlan0 -B -c/etc/wpa_supplicant/wpa_supplicant.conf
>> post-down killall -q wpa_supplicant
>> auto wlan0
>> HTH, Willem
>> 
>> 
>> On Sun, 7 Jan 2018, Linux for blind general discussion wrote:
>>
>>>  Following the guide at
>>>  https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md,
>>>  I successfully got my Raspberry Pi 3 running a near stock Raspbian
>>>  Stretch Lite connected to my wireless network. Copying
>>>  /etc/wpa_supplicant/wpa_supplicant.conf and running wpa_cli -i wlan0
>>>  reconfigure, I repeated this on my Raspbery Pi 2 using a USB Wi-Fi
>>>  dongle without any effort.
>>>
>>>  Now, I'm trying to repeat this on a desktop that has Wi-Fi onboard
>>>  with much less success. I installed wpasupplicant and wireless-tools
>>>  via Aptitude, copied over the wpa_supplicant.conf file, and ran
>>>  wpa_cli -i wlan0 reconfigure to recieve the following error message:
>>>
>>>  Failed to connect to non-global ctrl_ifname: wlan0  error: No such
>>>  file or directory
>>>
>>>  And running iwconfig produces the following output:
>>>
>>>  wlan0     IEEE 802.11  ESSID:off/any
>>>           Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
>>>           Retry short limit:7   RTS thr:off   Fragment thr:off
>>>           Power Management:off
>>>
>>>  Neither of which is all that helpful, especially since the above
>>>  mentioned successes with Raspberry Pis are the only successes I've
>>>  ever had connecting a Linux machine to a wireless network.
>>>
>>>  So, any ideas as to what I'm doing wrong?
>>>  --
>>>  Sincerely,
>>>
>>>  Jeffery Wright
>>>  President Emeritus, Nu Nu Chapter, Phi Theta Kappa.
>>>  Former Secretary, Student Government Association, College of the
>>>  Albemarle.
>>>
>>>  _______________________________________________
>>>  Blinux-list mailing list
>>>  Blinux-list at redhat.com
>>>  https://www.redhat.com/mailman/listinfo/blinux-list
>>> 
>> 
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>> 
>> 
>
> -- 
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>




More information about the Blinux-list mailing list