
Hi all. Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard. I have a RPi Model B running current Raspian, and a wifi dongle that claims to run on it. `lsusb` reports it as Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter and `usb-devices` says: T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) Now... even though it says "Driver=(none)" on that last line, `lsmod` reports: Module Size Used by [...] mt7601u 86636 0 mac80211 650707 1 mt7601u cfg80211 525998 2 mac80211,mt7601u [...] snd_hwdep 6479 1 snd_usb_audio videodev 177702 3 uvcvideo,videobuf2_core,videobuf2_v4l2 snd_usbmidi_lib 22479 1 snd_usb_audio snd_rawmidi 23727 1 snd_usbmidi_lib media 28994 2 uvcvideo,videodev rfkill 21373 2 cfg80211 snd_seq_device 5266 1 snd_rawmidi snd_bcm2835 23131 0 snd_pcm 97825 2 snd_usb_audio,snd_bcm2835 snd_timer 22706 1 snd_pcm snd 68784 8 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_pcm bcm2835_gpiomem 3791 0 uio_pdrv_genirq 3718 0 uio 10166 1 uio_pdrv_genirq fixed 3029 0 ip_tables 12512 0 x_tables 20921 1 ip_tables ipv6 384391 18 So there is a module called mt7201u being loaded yet it's not seen as the associated driver to this card in usb-devices and it's definitely not showing in ifconfig or iwconfig. Any suggestions on what I'm missing is greatly appreciated. -- Evan Leibovitch Toronto, Canada Em: evan at telly dot org Sk: evanleibovitch Tw: el56

On 08/23/2017 06:11 PM, Evan Leibovitch via talk wrote:
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
I've never had a problem getting networking to run on Linux. In fact, I find it's better than Windows. The only problem I've had is trying to set up a hot spot, as mentioned in another thread.

On Wed, Aug 23, 2017 at 6:11 PM, Evan Leibovitch via talk <talk@gtalug.org> wrote:
Hi all.
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
I have a RPi Model B running current Raspian, and a wifi dongle that claims to run on it.
These instructions might help. Some driver updates from 2015 and source links. https://groenholdt.net/Computers/RaspberryPi/MediaTek-MT7601-USB-WIFI-on-the...
`lsusb` reports it as Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
and `usb-devices` says: T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Now... even though it says "Driver=(none)" on that last line, `lsmod` reports: Module Size Used by [...] mt7601u 86636 0 mac80211 650707 1 mt7601u cfg80211 525998 2 mac80211,mt7601u [...] snd_hwdep 6479 1 snd_usb_audio videodev 177702 3 uvcvideo,videobuf2_core,videobuf2_v4l2 snd_usbmidi_lib 22479 1 snd_usb_audio snd_rawmidi 23727 1 snd_usbmidi_lib media 28994 2 uvcvideo,videodev rfkill 21373 2 cfg80211 snd_seq_device 5266 1 snd_rawmidi snd_bcm2835 23131 0 snd_pcm 97825 2 snd_usb_audio,snd_bcm2835 snd_timer 22706 1 snd_pcm snd 68784 8
snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3791 0 uio_pdrv_genirq 3718 0 uio 10166 1 uio_pdrv_genirq fixed 3029 0 ip_tables 12512 0 x_tables 20921 1 ip_tables ipv6 384391 18
So there is a module called mt7201u being loaded yet it's not seen as the associated driver to this card in usb-devices and it's definitely not showing in ifconfig or iwconfig.
Any suggestions on what I'm missing is greatly appreciated.
-- Evan Leibovitch Toronto, Canada
Em: evan at telly dot org Sk: evanleibovitch Tw: el56
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

Sheesh. Six replies, and only on actually relevant to the question asked. Thanks, Russell. I'd seen that page. It indicates that the MT7601U driver is already in the kernel after kernel 4.2. I see it there, it shows up what I run `lsmod`. But I still can't get it running. Under `usb-devices` I have T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) So I have the kernel module loaded, and the hardware recognized, but the system isn't matching the device to this driver. Any suggestions? Do I go back to the old pre-4.2 driver? Would it react differently to the current one? I can get another dongle with another chipset, but that will take time. - Evan On 23 August 2017 at 18:31, Russell Reiter <rreiter91@gmail.com> wrote:
On Wed, Aug 23, 2017 at 6:11 PM, Evan Leibovitch via talk <talk@gtalug.org> wrote:
Hi all.
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
I have a RPi Model B running current Raspian, and a wifi dongle that claims to run on it.
These instructions might help. Some driver updates from 2015 and source links.
https://groenholdt.net/Computers/RaspberryPi/MediaTek-MT7601-USB-WIFI-on- the-Raspberry-Pi/MediaTek-MT7601-USB-WIFI-on-the-Raspberry-Pi.html
`lsusb` reports it as Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U
Adapter
and `usb-devices` says: T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Now... even though it says "Driver=(none)" on that last line, `lsmod` reports: Module Size Used by [...] mt7601u 86636 0 mac80211 650707 1 mt7601u cfg80211 525998 2 mac80211,mt7601u [...] snd_hwdep 6479 1 snd_usb_audio videodev 177702 3 uvcvideo,videobuf2_core,videobuf2_v4l2 snd_usbmidi_lib 22479 1 snd_usb_audio snd_rawmidi 23727 1 snd_usbmidi_lib media 28994 2 uvcvideo,videodev rfkill 21373 2 cfg80211 snd_seq_device 5266 1 snd_rawmidi snd_bcm2835 23131 0 snd_pcm 97825 2 snd_usb_audio,snd_bcm2835 snd_timer 22706 1 snd_pcm snd 68784 8 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_
Wireless lib,snd_seq_device,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3791 0 uio_pdrv_genirq 3718 0 uio 10166 1 uio_pdrv_genirq fixed 3029 0 ip_tables 12512 0 x_tables 20921 1 ip_tables ipv6 384391 18
So there is a module called mt7201u being loaded yet it's not seen as the associated driver to this card in usb-devices and it's definitely not showing in ifconfig or iwconfig.
Any suggestions on what I'm missing is greatly appreciated.
-- Evan Leibovitch Toronto, Canada
Em: evan at telly dot org Sk: evanleibovitch Tw: el56
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Evan Leibovitch Toronto, Canada Em: evan at telly dot org Sk: evanleibovitch Tw: el56

On August 25, 2017 5:07:48 AM EDT, Evan Leibovitch <evan@telly.org> wrote:
Sheesh.
Six replies, and only on actually relevant to the question asked.
Thanks, Russell. I'd seen that page. It indicates that the MT7601U driver is already in the kernel after kernel 4.2. I see it there, it shows up what I run `lsmod`.
But I still can't get it running.
Under `usb-devices` I have
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
So I have the kernel module loaded, and the hardware recognized, but the system isn't matching the device to this driver.
Any suggestions?
Got the firmware in the right location? /lib/firmware/MT7601u.bin This guy got it working, albeit without WEP https://github.com/Yackou/nixie-radio/wiki/mt7601u-compilation
Do I go back to the old pre-4.2 driver? Would it react differently to the current one?
Might have to go back. Although I did read that this particular firmware is missing from linux-firmware and that simply putting the blob in the right place fixed it for some Ubuntu distros. The post I saw had your device listed as working out of the box on Ubuntu 15 and some instructions for patching earlier releases. Apparently this is a popular problem. https://github.com/raspberrypi/linux/issues/1090 Usb hotplugging of a NIC, its kind of a funny concept. Trusted networks don't necessarily like that kind of quick change artistry. IMO usb has a shifty history of tracking and managing a hid Endpoint (device) to endpoints (buffers) Pi boards with different revisions, plus throw in systemd targets to boot and your looking at a clusterfork about to happen. The general tone is its not worth the time because better dongles are out there. You could see what wpa_supplicant shows systemctl status wpa_supplicant.service -l Or post the output of uname -a and ps xawf -eo pid,user,cgroups,args for the bigger picture. I'd bet on the firmware blob tho. Thats an issue with a lot of history in Linux and it does look like there is a working one out there. Hope this helps.
I can get another dongle with another chipset, but that will take time.
- Evan
On 23 August 2017 at 18:31, Russell Reiter <rreiter91@gmail.com> wrote:
On Wed, Aug 23, 2017 at 6:11 PM, Evan Leibovitch via talk
wrote:
Hi all.
Making networking run on Linux desktops has always been IMO one of
reasons why it's not caught on. Stuff just shouldn't be this hard.
I have a RPi Model B running current Raspian, and a wifi dongle
claims
to run on it.
These instructions might help. Some driver updates from 2015 and
<talk@gtalug.org> the that source
links.
https://groenholdt.net/Computers/RaspberryPi/MediaTek-MT7601-USB-WIFI-on-
the-Raspberry-Pi/MediaTek-MT7601-USB-WIFI-on-the-Raspberry-Pi.html
`lsusb` reports it as Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U
Adapter
and `usb-devices` says: T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=148f ProdID=7601 Rev=00.00 S: Manufacturer=MediaTek S: Product=802.11 n WLAN S: SerialNumber=1.0 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA I: If#= 0 Alt= 0 #EPs= 8 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Now... even though it says "Driver=(none)" on that last line, `lsmod` reports: Module Size Used by [...] mt7601u 86636 0 mac80211 650707 1 mt7601u cfg80211 525998 2 mac80211,mt7601u [...] snd_hwdep 6479 1 snd_usb_audio videodev 177702 3 uvcvideo,videobuf2_core,videobuf2_v4l2 snd_usbmidi_lib 22479 1 snd_usb_audio snd_rawmidi 23727 1 snd_usbmidi_lib media 28994 2 uvcvideo,videodev rfkill 21373 2 cfg80211 snd_seq_device 5266 1 snd_rawmidi snd_bcm2835 23131 0 snd_pcm 97825 2 snd_usb_audio,snd_bcm2835 snd_timer 22706 1 snd_pcm snd 68784 8 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_
Wireless lib,snd_seq_device,snd_bcm2835,snd_pcm
bcm2835_gpiomem 3791 0 uio_pdrv_genirq 3718 0 uio 10166 1 uio_pdrv_genirq fixed 3029 0 ip_tables 12512 0 x_tables 20921 1 ip_tables ipv6 384391 18
So there is a module called mt7201u being loaded yet it's not seen as the associated driver to this card in usb-devices and it's definitely not showing in ifconfig or iwconfig.
Any suggestions on what I'm missing is greatly appreciated.
-- Evan Leibovitch Toronto, Canada
Em: evan at telly dot org Sk: evanleibovitch Tw: el56
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Russell Sent by K-9 Mail

On 2017-08-23 06:11 PM, Evan Leibovitch via talk wrote:
Hi all.
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
This is a red herring. The reason why Linux desktops have not caught on has nothing to do with the technical merits, or lack thereof. It's entirely a business decision. Microsoft and various hardware manufacturers, like Dell, have developed a vast ecosystem of VARs and other support resources. There are great financial incentives for I.T. support firms to promote the Windows ecosystem. There is no counterpart to Microsoft in the Linux world so there are no financial incentives for anyone to push Linux on the desktop. Microsoft and Dell cultivate relationships with VARs and funnel business their way. Who does that in the Linux world? No one. Which large and influential organization promotes Linux on desktops? No one. If ease of installation has something to do with desktop adoption, Windows would have been displaced long ago. Microsoft has a tremendous advantage in the market because of the OEM relationships it has with hardware vendors. Most people have no idea how difficult or easy Windows is to install because they never have to do it. It comes pre-loaded on their computer. In corporate environments, there are many tools designed to make the mass deployment and management of Windows desktops relatively pain-free so the complexity of Windows installation and configuration is, again, hidden from people. -- Regards, Clifford Ilkay + 1 647-778-8696

Warm greetings to GTALUG, Comments below. (apologies for the messy format -- due to ancient Microsoft Outlook Express...) Steve ----- Original Message ----- From: "CLIFFORD ILKAY via talk" <talk@gtalug.org> To: <talk@gtalug.org> Sent: Wednesday, August 23, 2017 7:04 PM Subject: Re: [GTALUG] Raspberry PI wifi problem
On 2017-08-23 06:11 PM, Evan Leibovitch via talk wrote:
Hi all.
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
This is a red herring. The reason why Linux desktops have not caught on has nothing to do with the technical merits, or lack thereof. It's entirely a business decision. Microsoft and various hardware manufacturers, like Dell, have developed a vast ecosystem of VARs and other support resources. There are great financial incentives for I.T. support firms to promote the Windows ecosystem. There is no counterpart to Microsoft in the Linux world so there are no financial incentives for anyone to push Linux on the desktop. Microsoft and Dell cultivate relationships with VARs and funnel business their way. Who does that in the Linux world? No one. Which large and influential organization promotes Linux on desktops? No one.
If ease of installation has something to do with desktop adoption, Windows would have been displaced long ago. Microsoft has a tremendous advantage in the market because of the OEM relationships it has with hardware vendors. Most people have no idea how difficult or easy Windows is to install because they never have to do it. It comes pre-loaded on their computer. In corporate environments, there are many tools designed to make the mass deployment and management of Windows desktops relatively pain-free so the complexity of Windows installation and configuration is, again, hidden from people.
+1. I am a Windows XP "orphan" on a Dell 3000 PC bought in 2004. Working (slowly) to move to a new desktop PC running debian Linux as primary OS with Windows 7 (likely under QEMU) if needed for a Windows-specific app. My motivation in declining to take the easy route (moving to MS Windows 7 / 10) is a combination of bloody-mindedness and love of all things open source. In addition to the powerful arguments provided by Clifford I., explaining Microsoft dominaiton, here are three: 1. Another "iron grip" enjoyed by Microsoft is the MS Office product suite (and related web-centric stuff) that keeps much of the world shackled to the MS monolith. There really ISN'T any way to obtain MS Office functionality elsewere. For a business that does business with other businesses, lack of MS Office compatibility can be a big problem. I have had to ask more than one sender to provide a PDF, after they had blithely sent some MS-Office attachment or other to me. Scheduling meetings with other organizations that use MS Outlook, can be another pain for the Outlook-deprived Thank goodness for the PDF standard !! My plan in moving to debian Linux is to look for a good document editor that uses the PDF format as its native representation. And of course there is Open Office that (on Win XP at least) is ok, but hardly as slick as equivalent MS product. 2. Another stumbling block for a Windows user looking to "divorce" MS, is the need to choose a desktop GUI. Way too much ink has been spilt and far too many pixels lit, in unproductive linux desktop flame wars. Windows does away with all this productivity-killing confusion over choice of desktop. Here, in helping me clarify my choice of desktop software, is where GTALUG (again) provided enormous value. Some recent discussion around desktops "Re: [GTALUG] Desktop swap" has led me to add Fvwm (that uses X) as a first trial "minimalist" desktop, but still to order the debian Linux DVDs with LXDE. 3. If someone isn't using a cloud-based email IMAP hosting service, but instead using a POP3 / SMTP hosting service and keeping emails on local disk (as I am), dropping Microsoft Windows means converting the local MS-based email database to a new email client. Yes, Mozilla Thunderbird can import emails from MS Outlook and MS Outlook Express (but only when Thunderbird runs under Windows). But frankly, I have too much invested in my precious 1.5 GB of email history to trust the standard Thunderbird import function. So I have written my own C++ program to generate solid conversion integrity checking for the email database conversion. Call me paranoid. And this C++ program isn;t fiished yet. * * * * * * The existence of the GTALUG has become a great comfort to me, on this long road from Win XP to debian Linux. For example, because of GTALUG advice, I'm going to use bash instead of MKSH, I doubled the RAM on the new PC, and made other tweaks to the HW configuration, based on advice from GTALUG members. Presently I'm working with a distributor to get a quote on the parts for a do-it-your-self ATX mid-tower build. I hope to be soon booting up debian Linux on that new box. I'm sooooo looking forward to escaping from the MS stranglehold ... --------------------------------------------------------------------------------
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

| From: "Steve Petrie, P.Eng. via talk" <talk@gtalug.org> | 1. Another "iron grip" enjoyed by Microsoft is the MS Office product | suite (and related web-centric stuff) that keeps much of the world | shackled to the MS monolith. The anti-trust action against MS in the 1990's should have split the company along natural product lines. US Anti-trust folks really lack vision and clout. Canadian anti-trust folks are worse. I submitted a complaint about Microsoft and they were not even allowed to tell me if they were doing anything about it. Clearly they did not. | My | plan in moving to debian Linux is to look for a good document editor | that uses the PDF format as its native representation. And of course | there is Open Office that (on Win XP at least) is ok, but hardly as | slick as equivalent MS product. It is not reasonable to use PDF as the representation of a living document. It is good for representing the formatted result (imitation paper). The structure of the document is just not represented in PDF. I'm not an expert in Microsoft Word but it comes from a very honourable lineage. The original author created the Bravo editor at Xerox PARC. My impression (not reliable) is that LibreOffice is nowhere near as elegant. But it is mostly good enough for my very modest Microsoft Office needs. If I cared, I'd probably use LaTeX for a document I needed formatted. My (adult) kids do. For a variety of reasons it isn't user friendly. I have used a lot of troff but don't recommend that. It really comes down to who you need to share working documents with, what you like, and what helpful resources are in your community. Oh, and how long you need the document format to be supported. LibreOffice looks to have long-time support. And it is open source so it could be maintained even if the Document Foundation fails. On the other hand, it is a massive and ugly code base: probably hard to maintain.

On Thu, Aug 24, 2017 at 05:29:39PM -0400, D. Hugh Redelmeier via talk wrote:
| From: "Steve Petrie, P.Eng. via talk" <talk@gtalug.org>
| 1. Another "iron grip" enjoyed by Microsoft is the MS Office product | suite (and related web-centric stuff) that keeps much of the world | shackled to the MS monolith.
The anti-trust action against MS in the 1990's should have split the company along natural product lines. US Anti-trust folks really lack vision and clout.
I wish Microsoit release "MS-Office for Linux" and put an end to all this sillyness. Who knows, I may see "MS-Linux" along side "MS-Windows". -- William Park <opengeometry@yahoo.ca>

On 08/24/2017 01:21 AM, Steve Petrie, P.Eng. via talk wrote:
3. If someone isn't using a cloud-based email IMAP hosting service, but instead using a POP3 / SMTP hosting service and keeping emails on local disk (as I am), dropping Microsoft Windows means converting the local MS-based email database to a new email client. Yes, Mozilla Thunderbird can import emails from MS Outlook and MS Outlook Express (but only when Thunderbird runs under Windows). But frankly, I have too much invested in my precious 1.5 GB of email history to trust the standard Thunderbird import function. So I have written my own C++ program to generate solid conversion integrity checking for the email database conversion. Call me paranoid. And this C++ program isn;t fiished yet.
Get going with IMAP. Then you can drag 'n drop your POP email into an IMAP account. If fact, you don't even have to do all that. Just create a new IMAP account and stop the POP account from downloading mail. Have sending save outgoing mail on the IMAP account too. That way, you can refer back to the POP messages when needed, but use IMAP going forward.

On 2017-08-23 06:11 PM, Evan Leibovitch via talk wrote:
Making networking run on Linux desktops has always been IMO one of the reasons why it's not caught on. Stuff just shouldn't be this hard.
I have a RPi Model B running current Raspian, and a wifi dongle that claims to run on it.
To keep things simple I start X and use the GUI based tool to configure WiFi networking. -- Cheers! Kevin. http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include <disclaimer/favourite> | --Chris Hardwick

On 2017-08-23 06:11 PM, Evan Leibovitch via talk wrote:
I have a RPi Model B running current Raspian, and a wifi dongle that claims to run on it.
Is that latest-latest Raspbian, as in Raspbian Stretch released last week? It has some known networking issues that the Raspbian devs have been a bit coy about addressing. The Foundation's current official response is along the lines of "It works if you set it up with keyboard and monitor", but if you're doing a headless setup, that doesn't help. What worked for me was ensuring that wpa-supplicant.conf had the following lines at the top, even if you're working on the skeleton version copied from /boot country=CA ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 Like all Raspberry Pi things, don't follow web advice more than a year old. With the change to systemd and the huge changes in the firmware, almost everything that was received wisdom is now useless or actively harmful. Working with anything other than Realtek USB wifi on a Raspberry Pi can be a crapshoot at the best of times. Best source of support is, as ever, https://www.raspberrypi.org/forums/index.php cheers, Stewart

On 25 August 2017 at 12:27, Stewart C. Russell via talk <talk@gtalug.org> wrote:
Is that latest-latest Raspbian, as in Raspbian Stretch released last week? It has some known networking issues that the Raspbian devs have been a bit coy about addressing.
That's the one, and thanks for the heads-up.
The Foundation's current official response is along the lines of "It works if you set it up with keyboard and monitor", but if you're doing a headless setup, that doesn't help.
... and headless is the intended use. What worked for me was ensuring that
wpa-supplicant.conf had the following lines at the top, even if you're working on the skeleton version copied from /boot
country=CA ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
Was all there, exactly like that. But iwconfig and other tools didn't even indicate that the install got as far as the WPA setup. Like all Raspberry Pi things, don't follow web advice more than a year
old.
I suspected as much. Many sites were giving really complex rebuilding steps for a driver that's supposedly already there. Unfortunately the most recent forum stuff that I could on this is from 2015. Working with anything other than Realtek USB wifi on a
Raspberry Pi can be a crapshoot at the best of times.
I'm seeing that the more I read. Considering the low cost of entry <http://www.ebay.com/itm/High-Speed-Realtek-RTL8188cus-USB-150M-150Mbps-n-Wireless-WiFi-adapter-Card-PC/232080390093> I think it's just the path of least resistance to switch to that. One last thing. I'm using a 2A USB power supply for the Pi B; I hope that's enough. Some previous forum advice suggests that some dongles need a separate powered USB hub which I don't have. Thanks, Stewart and Russell, for the help. - Evan
participants (10)
-
CLIFFORD ILKAY
-
D. Hugh Redelmeier
-
Evan Leibovitch
-
James Knott
-
Kevin Cozens
-
Russell
-
Russell Reiter
-
Steve Petrie, P.Eng.
-
Stewart C. Russell
-
William Park