Wifi
Wifi
@Sorgelig, thanks for adding wifi support to MiSTer.
The Wiki states some wifi are supported. What USB wifi dongles are supported or could you recommend a few?
The Wiki states some wifi are supported. What USB wifi dongles are supported or could you recommend a few?
You do not have the required permissions to view the files attached to this post.
Re: Wifi
I've only tried ASUS wifi dongle which is realtek based.
It's hard to name the modules because i don't know which dongles used which chip.
It's more like try and see
Probably it's wise to try dongle you probably have. Buying a new one is more like buying cat in the bag.
At least till we have some list of proven to work dongles.
It's hard to name the modules because i don't know which dongles used which chip.
It's more like try and see

Probably it's wise to try dongle you probably have. Buying a new one is more like buying cat in the bag.
At least till we have some list of proven to work dongles.
Re: Wifi
Actually WiFi is not a good option for connection. On my WiFi dongle it takes some time to connect. And it's not always succeed connection. Something in wifi framework locks the whole system till it finish initial connection phase, so i cannot even use keyboard in menu core some time after boot.
So, you have been warned
So, you have been warned

Re: Wifi
This kinds works for me:NML32 wrote:@Sorgelig, thanks for adding wifi support to MiSTer.
The Wiki states some wifi are supported. What USB wifi dongles are supported or could you recommend a few?
Wifi_Wiki.PNG
https://www.ebay.com/itm/New-150Mbps-15 ... 25c57ee51e
Re: Wifi
Guess I am lucky, since don't experience this, I can use the keyboard at once to browse the menu.Sorgelig wrote:Something in wifi framework locks the whole system till it finish initial connection phase, so i cannot even use keyboard in menu core some time after boot.
I insert power, it takes maybe 2-3 seconds for menu to show up, I press M to go to Minimig core, and by the time Workbench is up, the Linux side is online.

I know that some adapters look like more like ethernet NICs from the Linux side, doing all the wifi-work on their own, and after initial authentication/connecting, the kernel just needs to send ethernet packages to them. Other adapters function more like a "stripped radio" and rely much more on the 802.11 framework in the operating system. The trends is more and more the former, which simplifies things for the OS, but makes the security scenery a bit harder. Speaking of that, just for fun I now tried a wpa config set up for WPA2-Enterprise, with 802.1x/PEAPv0/MSCHAPv2 authentication to an eduroam access point - and it works

I am using this adapter from The Pi Hut
(though it requires an extra piece of firmware, rt2870.bin, that simply goes into /lib/firmware)
-- kolla
Re: Wifi
My ASUS dongle looks exactly like yours, but it has ASUS logo and chip is realtek instead of ralink.kolla wrote: I am using this adapter from The Pi Hut
(though it requires an extra piece of firmware, rt2870.bin, that simply goes into /lib/firmware)
Re: Wifi
My Wifi USB adapter arrived today and so far it's working great.
So far no connection delays.
300Mbps Realtek RTL8192CU Chipset 2T2R Mini WIFI USB Adapter/ Wireless Lan Card/ Wifi Dongle
https://www.amazon.com/gp/product/B00GY ... UTF8&psc=1

300Mbps Realtek RTL8192CU Chipset 2T2R Mini WIFI USB Adapter/ Wireless Lan Card/ Wifi Dongle
https://www.amazon.com/gp/product/B00GY ... UTF8&psc=1
You do not have the required permissions to view the files attached to this post.
Re: Wifi
It seems USB HUB gave me mentioned problems with WiFi. After change to another one WiFi dongle is much more stable. Keyboard doesn't freeze while WiFi initialization.
Re: Wifi
I want to mention that most WiFi 802.11ac dongles aren't supported (probably none).
So, don't try to pick 5Ghz WiFi - it won't work.
I've tried to add driver to one WiFi 5Ghz device. But it's Linux, you know.. If driver is not included in kernel, then attempt of adding it from outside most likely will fail. Almost every kernel version has its quirks and requires special tweak for external driver.
Anyway, after spending the whole day i gave up.
So, don't try to pick 5Ghz WiFi - it won't work.
I've tried to add driver to one WiFi 5Ghz device. But it's Linux, you know.. If driver is not included in kernel, then attempt of adding it from outside most likely will fail. Almost every kernel version has its quirks and requires special tweak for external driver.
Anyway, after spending the whole day i gave up.
Re: Wifi
It seems i've just contradicted myself 
I've succeeded to integrate the driver for D-Link 5Ghz dongle! This is a good thing for me since 2.4GHz in my area is too noisy and hard to use.
The first one if tried was TP-Link on mediatek MT7610u chip and all my attempts to make it work were failed. It also uses weird custom settings for authentication - such a rubbish.
D-Link DWA-171 (HWVer: A1) on RTL8812AU chip works well using standard wpa_supplicant. So, at least this WiFi-ac dongle will work in new Linux release. Probably other dongles on the same chip (and RTL8821AU) will work as well.

I've succeeded to integrate the driver for D-Link 5Ghz dongle! This is a good thing for me since 2.4GHz in my area is too noisy and hard to use.
The first one if tried was TP-Link on mediatek MT7610u chip and all my attempts to make it work were failed. It also uses weird custom settings for authentication - such a rubbish.
D-Link DWA-171 (HWVer: A1) on RTL8812AU chip works well using standard wpa_supplicant. So, at least this WiFi-ac dongle will work in new Linux release. Probably other dongles on the same chip (and RTL8821AU) will work as well.
Re: Wifi
So trying to get wifi working but a little confused. The wiki refers to wpa_supplicant file with the extension .txt but on my card in the linux folder is wpa_supplicant.conf... I have edited the file as instructed and tried all variations with both the .conf file and a .txt together, one on their own and vice versa, still no joy, what is the correct way?locate the file linux/_wpa_supplicant.txt
open in text editor supporting Linux/Unix line endings (for example Notepad++)
replace put_your_SSID_here with your actual WiFi network name and put_your_password_here with your WiFi password.
rename _wpa_supplicant.txt to wpa_supplicant.txt
reboot the MiSTer
just one wpa_supplicant file? if so text or conf extension? or both? also I assume the "replace" parts are meant to retain the inverted commas and you put the SSID and KEY inside the quotes, i know this is basic but at this point i am just trying every variation

Perhaps my usb wifi dongle is the culprit, in which case I will try another one, but I would still like to know the correct procedure..
Here is what I am using:
MK Electronics® Mini Wifi Dongel Wireless USB 2.0 Adaptor Stick for Windows, Mac and Linux – Genuine ENIGAM2, Realtek RTL8192CU Chipset
https://www.amazon.co.uk/gp/product/B01 ... UTF8&psc=1
Re: Wifi
Correct file is wpa_supplicant.conf
Quotes should be kept for SSD and pass of course. Otherwise they wouldn't be there.
RTL8192CU should work, but specific dongle may have something special preventing it work. As everything in Linux - even trivial things may require a lot of effort to make it work.
Linux is not really plug and play OS
While WiFi is good feature, it may require some linux knowledge in case if it not work right away.
Quotes should be kept for SSD and pass of course. Otherwise they wouldn't be there.
RTL8192CU should work, but specific dongle may have something special preventing it work. As everything in Linux - even trivial things may require a lot of effort to make it work.
Linux is not really plug and play OS

While WiFi is good feature, it may require some linux knowledge in case if it not work right away.
Re: Wifi
Has anyone tried TP-LINK TL-WN823N?
Quick googling shows that it's based on RTL8192CU/EU, but it would be nice to know that it works before I buy one.
TP-LINK TL-WN823N V2 (based on RTL8192EU) works fine!
I had to find and copy rtl8192eu_nic.bin to /lib/firmware/rtlwifi for the dongle to work.
Quick googling shows that it's based on RTL8192CU/EU, but it would be nice to know that it works before I buy one.
TP-LINK TL-WN823N V2 (based on RTL8192EU) works fine!
I had to find and copy rtl8192eu_nic.bin to /lib/firmware/rtlwifi for the dongle to work.
Re: Wifi
Hi,
Also working with "Xiaomi Mi Portable WiFi" which you can buy on Terasic homepage.
http://www.terasic.com.tw/cgi-bin/page/ ... 6&PartNo=8
Need mt7601u.bin in \lib\firmware
https://github.com/wkennington/linux-fi ... t7601u.bin
Also working with "Xiaomi Mi Portable WiFi" which you can buy on Terasic homepage.
http://www.terasic.com.tw/cgi-bin/page/ ... 6&PartNo=8
Need mt7601u.bin in \lib\firmware
https://github.com/wkennington/linux-fi ... t7601u.bin
Re: Wifi
I can confirm that this works flawless. This is one of the cheapes possibilities to enhance MISTer functionality.Jaydg wrote:Hi,
Also working with "Xiaomi Mi Portable WiFi" which you can buy on Terasic homepage.
http://www.terasic.com.tw/cgi-bin/page/ ... 6&PartNo=8
Need mt7601u.bin in \lib\firmware
https://github.com/wkennington/linux-fi ... t7601u.bin

Re: Wifi
NML32 wrote:My Wifi USB adapter arrived today and so far it's working great.So far no connection delays.
300Mbps Realtek RTL8192CU Chipset 2T2R Mini WIFI USB Adapter/ Wireless Lan Card/ Wifi Dongle
https://www.amazon.com/gp/product/B00GY ... UTF8&psc=1
51Q2ajahfmL._SL1000_.jpg
Did you have to install a driver or do anything special? I just ordered this same one.
Re: Wifi
No, I just needed to make a few config changes.warham wrote:NML32 wrote:My Wifi USB adapter arrived today and so far it's working great.So far no connection delays.
300Mbps Realtek RTL8192CU Chipset 2T2R Mini WIFI USB Adapter/ Wireless Lan Card/ Wifi Dongle
https://www.amazon.com/gp/product/B00GY ... UTF8&psc=1
51Q2ajahfmL._SL1000_.jpg
Did you have to install a driver or do anything special? I just ordered this same one.
Instructions in the MiSTer Wiki.
https://github.com/MiSTer-devel/Main_Mi ... WiFi-setup
Re: Wifi
I can confirm that the EDIMAX EW-7811UN dongle works (Realtek RTL8188 based).
However when I turn on the DE10Nano or do a cold reboot the Wifi only works about 50% of the time. When I replug the dongle it is detected an works fine. Any idea how to fix this?
However when I turn on the DE10Nano or do a cold reboot the Wifi only works about 50% of the time. When I replug the dongle it is detected an works fine. Any idea how to fix this?
- BitsNStuff
- Obsessive compulsive Atari behavior
- Posts: 122
- Joined: Tue Oct 16, 2018 7:55 am
- Contact:
Re: Wifi
I think I may go wireless with mine too, for most things I'll always opt for wired but it would just more convenient for me using wireless due to where it's placed.
EW-7822ULC
Here the kernel module for the RTL8822BU based Edimax EW-7822ULC 802.11ac adapter:
http://sven.killig.de/MiSTer/
http://sven.killig.de/MiSTer/
-
- Captain Atari
- Posts: 381
- Joined: Sun Sep 20, 2009 6:54 am
- Location: FRANCE
Re: Wifi
hi
just test with a Netgear WNA1000M
work great just by modified wpa.supplicant.txt

just test with a Netgear WNA1000M
work great just by modified wpa.supplicant.txt

CPC-Power Staff
Re: Wifi
@Sorgelig I bought this adapter (same rev A1), I figured if you were using it then for sure it would work! But alas, nothing. When I install it on a Windows box I see it has an 8811au, and MiSTer does not use it.Sorgelig wrote:D-Link DWA-171 (HWVer: A1) on RTL8812AU chip works well using standard wpa_supplicant. So, at least this WiFi-ac dongle will work in new Linux release. Probably other dongles on the same chip (and RTL8821AU) will work as well.
Is there some trick I am missing with the Linux image?
Re: Wifi
Hi Diggie,diggie wrote:@Sorgelig I bought this adapter (same rev A1), I figured if you were using it then for sure it would work! But alas, nothing. When I install it on a Windows box I see it has an 8811au, and MiSTer does not use it.Sorgelig wrote:D-Link DWA-171 (HWVer: A1) on RTL8812AU chip works well using standard wpa_supplicant. So, at least this WiFi-ac dongle will work in new Linux release. Probably other dongles on the same chip (and RTL8821AU) will work as well.
Is there some trick I am missing with the Linux image?
I confirm D-link DWA-171 works well on MiSTer !
I just modified the standard wpa_supplicant file and it worked.
My version of the dongle is version A1. Firmware is version 1.9.
How is it connected to your mister ? As far as I am concerned, I use a otg USB hub.
Re: Wifi
I have it connected via a powered USB hub and otg cable, this is currently working to support gamepads, mouse, keyboard.
I have only just built the MiSTer unit and currently have to squeeze in play time between family visiting and my work, so I will try to do some more debugging. I think the DE 10 maybe comes with a cable for attaching to console? Perhaps I will try that next. I just wanted to check I had not missed an obvious step first. Sounds like once wpa_supplicant.conf is updated it should just work. Oh well, fun times ahead..
I have only just built the MiSTer unit and currently have to squeeze in play time between family visiting and my work, so I will try to do some more debugging. I think the DE 10 maybe comes with a cable for attaching to console? Perhaps I will try that next. I just wanted to check I had not missed an obvious step first. Sounds like once wpa_supplicant.conf is updated it should just work. Oh well, fun times ahead..

Re: Wifi
Alright, I'm back to a bit or MiSTer'ing after Thanksgiving.
I hooked up to the console and found that:
* Simply issuing ifup wlan0 will bring up wlan0 and give it an IP using the wpa_supplicant.conf I had configured, so my settings were fine
* MiSTer usually fails to bring up wlan0 during boot, but it _sometimes_ succeeds.
* If I edit the interfaces file to make wlan0 allow-hotplug, then any time I replug the USB wifi it will connect, but it still doesn't help resolve it connecting at boot reliably.
* Adding a pre-up sleep doesn't help the boot issue.
I'm not an expert with this and need to do more digging, but I would expect that at boot time all the config needed to support the OTG hub might not be up before attempting to bring up wlan0, wlan1.
I hooked up to the console and found that:
* Simply issuing ifup wlan0 will bring up wlan0 and give it an IP using the wpa_supplicant.conf I had configured, so my settings were fine
* MiSTer usually fails to bring up wlan0 during boot, but it _sometimes_ succeeds.
* If I edit the interfaces file to make wlan0 allow-hotplug, then any time I replug the USB wifi it will connect, but it still doesn't help resolve it connecting at boot reliably.
* Adding a pre-up sleep doesn't help the boot issue.
I'm not an expert with this and need to do more digging, but I would expect that at boot time all the config needed to support the OTG hub might not be up before attempting to bring up wlan0, wlan1.