Wifi

https://github.com/MiSTer-devel/Main_MiSTer/wiki
aixz
Atarian
Atarian
Posts: 8
Joined: Mon Nov 20, 2017 11:34 am

Re: Wifi

Post by aixz »

Hi,
got 3 usb dongle with 8188EU Realtek chipset, no one works:
I downloaded the .bin here:

https://github.com/lwfinger/rtl8188eu/r ... 88eufw.bin

- created /rtlwifi in /usr/lib/firmware with 0755 permissions
- copied rtl8188eufw.bin to /usr/lib/firmware/rtlwifi/rtl8188eufw.bin
- set file permissions to 0755 (rwxr-xr-x)
- reboot

wpa_supplicant.conf:

ctrl_interface=/run/wpa_supplicant
update_config=1
country=fr

network={
scan_ssid=1
ssid="my-ssid"
psk="my-passwd"
}

no wifi icon appeared

something i missed ?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Wifi

Post by Sorgelig »

Basically linux is not plug-and-play OS. So you can't expect that random WiFi adapter will work.
It's not like Windows where you install supplied by vendor driver and it will start to work.

The best practice is to read the tread and check what dongles are confirmed to work.

Another approach is to analyze the kernel sources and try to add code for new wifi dongles.
aixz
Atarian
Atarian
Posts: 8
Joined: Mon Nov 20, 2017 11:34 am

Re: Wifi

Post by aixz »

exactly,
that's why I read the thread before posting, read what terminator2k2 wrote, did the same, and had different result.
high5
Atari User
Atari User
Posts: 37
Joined: Thu Dec 27, 2018 10:29 pm

Re: Wifi

Post by high5 »

I also have a realtek based dongle. Took some time to get it working. Dont know what did the trick in the end but here is what I have done:
- put 8188 and 8192 driver from https://packages.debian.org/de/jessie/firmware-realtek to /lib/firmware/rtlwifi
- altered wpa_supplicant.conf
- set correct timezone via script from locutus
aixz
Atarian
Atarian
Posts: 8
Joined: Mon Nov 20, 2017 11:34 am

Re: Wifi

Post by aixz »

nice package, full of drivers! thx! the file for my dongle (8188EU) has the same CRC as the one I downloaded on the github link I posted, but maybe 8192 is also used. will try this evening !
what do you mean by "altered wpa_supplicant.conf" ? just suit the config to your wifi ssid/pw ?
high5
Atari User
Atari User
Posts: 37
Joined: Thu Dec 27, 2018 10:29 pm

Re: Wifi

Post by high5 »

Yes.

Code: Select all

ctrl_interface=/run/wpa_supplicant
update_config=1
country=DE

network={
scan_ssid=1
ssid="my-ssid"
psk="my-passwd"
}
aixz
Atarian
Atarian
Posts: 8
Joined: Mon Nov 20, 2017 11:34 am

Re: Wifi

Post by aixz »

ok, no success with realtek dongles

HOWEVER
tried an old 54G D-Link DWL-G122, success !
1 - go to https://packages.debian.org/stretch/all ... e/download and download package
2 - copy rt73.bin, rt2860.bin, rt2870.bin in /lib/firmware
3 - set permissions to 0644
4 - reboot
5 - it works.
bitfan2011
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 112
Joined: Sat Dec 29, 2018 5:46 pm

Re: Wifi

Post by bitfan2011 »

Could anyone help me get started on Mister wifi?
I have a Panda PAU05 usb adapter and I downloaded a driver file which I guess needs to be copied into the linux filesystem somewhere?
All I want to be able to do is connect remotely to make .ini changes, etc. and reboot.
Cheers
high5
Atari User
Atari User
Posts: 37
Joined: Thu Dec 27, 2018 10:29 pm

Re: Wifi

Post by high5 »

Would suggest following WIFI setup in Wiki: https://github.com/MiSTer-devel/Main_Mi ... WiFi-setup
If this does not work you may try adding the driver to /lib/firmware
bitfan2011
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 112
Joined: Sat Dec 29, 2018 5:46 pm

Re: Wifi

Post by bitfan2011 »

high5 wrote:Would suggest following WIFI setup in Wiki: https://github.com/MiSTer-devel/Main_Mi ... WiFi-setup
If this does not work you may try adding the driver to /lib/firmware
ok, so i need to use wired ethernet initially, then i can enable the wifi. i just need to find a huge cable now...
djmartins
Captain Atari
Captain Atari
Posts: 328
Joined: Wed Nov 21, 2018 10:26 pm

Re: Wifi

Post by djmartins »

bitfan2011 wrote:
high5 wrote:Would suggest following WIFI setup in Wiki: https://github.com/MiSTer-devel/Main_Mi ... WiFi-setup
If this does not work you may try adding the driver to /lib/firmware
ok, so i need to use wired ethernet initially, then i can enable the wifi. i just need to find a huge cable now...
Look at using the console and MC to move files around....
Just takes another machine and a USB cable
bitfan2011
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 112
Joined: Sat Dec 29, 2018 5:46 pm

Re: Wifi

Post by bitfan2011 »

djmartins wrote:
bitfan2011 wrote:
high5 wrote:Would suggest following WIFI setup in Wiki: https://github.com/MiSTer-devel/Main_Mi ... WiFi-setup
If this does not work you may try adding the driver to /lib/firmware
ok, so i need to use wired ethernet initially, then i can enable the wifi. i just need to find a huge cable now...
Look at using the console and MC to move files around....
Just takes another machine and a USB cable
Ahh, that's right. The DE-10 board came with one of the cables, right?
warham
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Fri Oct 12, 2018 7:17 am

Re: Wifi

Post by warham »

If you cant get it working and your using a usb hub try a different one. I have two hubs, one works with wifi and one doesn't. Gamepads work fine on both. The one that doesn't work is made by dlink.
Yasri
Atarian
Atarian
Posts: 2
Joined: Fri Jan 18, 2019 3:53 pm

Re: Wifi

Post by Yasri »

Here is a option if you need wireless. Use a wifi range extender to act as a wireless adapter. It is what I use for my stuff near my tv. Got the tv/computer/consoles plugged into the switch out to the extender and over to my router wirelessly. Makes it so I got less devices stomping on the wifi bands, and the extender has much better antennas then my other devices so the range/speed is much better.

These are the ones I bought a few years ago. Newer/better ones should be around by now.
Switch
https://www.amazon.com/gp/product/B00A121WN6/
Wifi Extender
https://www.amazon.com/gp/product/B010S6SG3S
djmartins
Captain Atari
Captain Atari
Posts: 328
Joined: Wed Nov 21, 2018 10:26 pm

Re: Wifi

Post by djmartins »

bitfan2011 wrote:Ahh, that's right. The DE-10 board came with one of the cables, right?
Yes, just transfer the drivers needed and move then to the proper folder on the linux side using MC through the console.
Looking at the console when having issues is a huge help too and why it was put there.
It is how I got my WiFi dongle working, a Xiaomi one like Terasic sells.
Ldaborc
Retro freak
Retro freak
Posts: 16
Joined: Fri Nov 23, 2018 3:03 pm

Re: Wifi

Post by Ldaborc »

Hi there! I'm asking for your help. I have a problem with the Wi-Fi adapter and MiSter. Adapter TP-Link TL-WN725N_V2 in any does not want to work! Reread all that did other users, but it did not help. With the lsusb command, it simply outputs: Bus 001 Device 004:ID 0bda: 8179. On the Internet I found a lot of tips on how to make this adapter work on linux, but they did not help me. MiSter is not in what it does not want to see. I very much hope that this issue will be resolved soon.
If I could, I would have done it myself! 8)
warham
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Fri Oct 12, 2018 7:17 am

Re: Wifi

Post by warham »

djmartins wrote:
bitfan2011 wrote:Ahh, that's right. The DE-10 board came with one of the cables, right?
Yes, just transfer the drivers needed and move then to the proper folder on the linux side using MC through the console.
Looking at the console when having issues is a huge help too and why it was put there.
It is how I got my WiFi dongle working, a Xiaomi one like Terasic sells.
I have the same Xiaomi which works fine from the OTG USB hubs.
Have any troubleshooting tips that might help to help get it to work with other usb hubs?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Wifi

Post by Sorgelig »

Ldaborc wrote:Hi there! I'm asking for your help. I have a problem with the Wi-Fi adapter and MiSter. Adapter TP-Link TL-WN725N_V2 in any does not want to work! Reread all that did other users, but it did not help. With the lsusb command, it simply outputs: Bus 001 Device 004:ID 0bda: 8179. On the Internet I found a lot of tips on how to make this adapter work on linux, but they did not help me. MiSter is not in what it does not want to see. I very much hope that this issue will be resolved soon.
http://www.atari-forum.com/viewtopic.ph ... 36#p364236
Ldaborc
Retro freak
Retro freak
Posts: 16
Joined: Fri Nov 23, 2018 3:03 pm

Re: Wifi

Post by Ldaborc »

Sorgelig.
What you write to me: it's all done (downloaded files, copied them into folders, put the right, all tried what was written there) nothing helped. From under Windows everything works perfectly.
If you can, please post here detailed instructions on how to overcome this problem. And if anyone has earned this kind of adapter let him tell you how he did it. Thanks.
If I could, I would have done it myself! 8)
djmartins
Captain Atari
Captain Atari
Posts: 328
Joined: Wed Nov 21, 2018 10:26 pm

Re: Wifi

Post by djmartins »

warham wrote:I have the same Xiaomi which works fine from the OTG USB hubs.
Have any troubleshooting tips that might help to help get it to work with other usb hubs?
Nope, lots of USB hub problems so ordered the hub board from misteraddons......
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Wifi

Post by Sorgelig »

Ldaborc wrote:Sorgelig.
What you write to me: it's all done (downloaded files, copied them into folders, put the right, all tried what was written there) nothing helped. From under Windows everything works perfectly.
If you can, please post here detailed instructions on how to overcome this problem. And if anyone has earned this kind of adapter let him tell you how he did it. Thanks.
You didn't read my link i gave you.
Ok, i will copy the text for you:
Sorgelig wrote:Basically linux is not plug-and-play OS. So you can't expect that random WiFi adapter will work.
It's not like Windows where you install supplied by vendor driver and it will start to work.
The best practice is to read the tread and check what dongles are confirmed to work.
If you want to make work exactly your dongle, then you need to dig into Kernel sources and patch them or add new driver sources.
Gazprom
Atarian
Atarian
Posts: 2
Joined: Mon Dec 17, 2018 12:11 am
Location: Sweden

Re: Wifi

Post by Gazprom »

Just wanted to report that the ASUS USB-AC53 nano rev. A1 added in the last linux update is working fine and it's fast.
HappyBirthday
Retro freak
Retro freak
Posts: 11
Joined: Fri Dec 07, 2018 5:29 pm

Re: Wifi

Post by HappyBirthday »

pcm720 wrote: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.
Thanks pcm720, I got this N-300 mini one to work after putting rtl8192eu_nic.bin in /lib/firmware/rtlwifi

https://www.amazon.com/TP-Link-TL-WN823 ... 0088TKTY2/
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Wifi

Post by Sorgelig »

there are many WiFi firmwares here: https://github.com/wkennington/linux-firmware
I will add some of them in the next Linux release. Hope it will make more WiFi dongles to work out of the box.
BBond007
Captain Atari
Captain Atari
Posts: 466
Joined: Wed Feb 28, 2018 3:23 am

Re: Wifi

Post by BBond007 »

Sorgelig wrote:there are many WiFi firmwares here: https://github.com/wkennington/linux-firmware
I will add some of them in the next Linux release. Hope it will make more WiFi dongles to work out of the box.
I don't know if it will be useful to many people or not, but I have made a script to download and install the firmware from that site.

You must (temporarily) be connected via ethernet while running the script or you can place the bin file in /media/fat and internet will not be required.

you can change which BIN it downloads/installs by editing this line:

WIFI_BIN="rtl8192eu_nic.bin"
You do not have the required permissions to view the files attached to this post.

Return to “MiSTer”