Tutorial Create an NDS-Compatible Hotspot on Linux

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
I'm creating this tutorial because this is a much better solution than using an old version of Windows or using Mobile Data for this functionality.

Requirements

  • Linux-compatible Wireless Adapter (WiFi Card)
  • Linux Distribution of your choosing (I'm using Manjaro for this tutorial and have also successfully done this on Ubuntu)
  • Nintendo DS Console
  • A secondary connection on host computer (Ethernet/Second Wireless Adapter/etc.)

Steps to achieve
  1. Open a terminal window and type or paste the following text:

    Code:
    nm-connection-editor

    poUI6gI.png



  2. After entering that text, a GUI window will appear. In this Window, click the plus button at the bottom of the screen to create a new connection. If you have an existing connection under Wi-Fi adapters called "Hotspot", please remove it now. We'll be making a new one.

    9RUYZQu.png


  3. After clicking the plus button, set the connection type in the dropdown list to Wi-Fi. Click Create now.

    WZp6ajx.png


  4. The settings menu for your new connection will open automatically when created. From here, set the following information: Connection name (must be "Hotspot"), SSID (can be whatever you want, for this tutorial, I used "NintendoWFC"), and mode (must be "Hotspot").

    lJws8QX.png


  5. Now, click on the Wi-Fi Security tab. This part is what will make the connection work with the NDS console, as well as other consoles that don't support modern WPA2 connections, such as the PSP. Set the Security parameter dropdown to "WEP 40/128-bit Key". Type in a password for the network in the "Key" field, and click Save on the bottom right of the window.

    3KziLMe.png

Congratulations, you've made your hotspot. Once saved, you can activate this hotspot by opening a Terminal window and running the following command:

Code:
nmcli connection up Hotspot

You can shut down the hotspot with the same command, but changing "up" to "down".

Bonus

By creating a .desktop file (on GNOME, may work on other desktop environments, but I have not confirmed), you can run this command at startup silently. There are other ways to do this for those using other Desktop Environments, but I will not explain that here.

To do this, open a text editor of your choosing and paste the following text:

Code:
[Desktop Entry]
Type=Application
Name=nmcliAP
Exec=nmcli connection up Hotspot

Save the file anywhere as "hotspot.desktop" and then move the file to the following directory:

Code:
/usr/share/applications/

Once this is done, open GNOME Tweaks and go to the Startup Applications section. After clicking the plus sign to add a Startup Application, you should now see nmcliAP (the .desktop entry we just created) on the list of Applications provided. Add this as a startup app and your new hotspot will launch in the background every time you boot your Linux operating system.

Note: WEP Security is easy to break and you should only use it when you need to, or find a way to whitelist MAC addresses so you don't have to worry about your connection being cracked.
 
Last edited by Sophie-bear,

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
2,524
Trophies
2
XP
5,618
Country
Germany
Nice tutorial. I have played around with Networkmanager on my laptop (openSUSE 15.0) to test connecting a DS to the internet some weeks ago (worked).

Surprisingly modern Windows does not seem to support the outdated and practically useless WEP. (If the user has a reason and knows about the risk, the OS should not patronize. A BIG warning would be good though). Because of the risks that come with a WEP hotspot I would rather not not use any autostart on an OS or a computer that is also used for other purposes.

On a computer or secondary OS used only for providing a DS compatible hotspot the autostart is a good idea and convenient.
 

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
Because of the risks that come with a WEP hotspot I would rather not not use any autostart on an OS or a computer that is also used for other purposes.

On a computer or secondary OS used only for providing a DS compatible hotspot the autostart is a good idea and convenient.

I'm fortunate enough to live someplace where I can be certain no one around me is technically capable of breaking into a WEP connection, or I'd have the same feelings as you.
I know this isn't the case for many people so I did add a small disclaimer at the bottom of the original post for that very reason.
 

Ryccardo

watching Thames TV from London
Member
Joined
Feb 13, 2015
Messages
7,406
Trophies
0
Age
26
Location
Imola
XP
6,333
Country
Italy
Surprisingly modern Windows does not seem to support the outdated and practically useless WEP.
Medium-length story, it never supported acting as (infrastructure mode) wep hotspot; and back in the day some wireless card manufacturers provided that themselves, but when 7 came out with its official HostedNetwork WPA2-only hotspot, probably literally every 3rd party tool (including the often cited Connectify) switched to being a frontend for that...
 

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
Would this work on Win10 and a generic (Non-nintendo) USB wifi adapter?
This method is specifically for Linux operating systems. While Windows 10 does have some weird integrated Linux support now, I don't believe it's capable of this. You would have to install another operating system on your PC and dual boot for this guide to be useful for you. The USB Wi-Fi adapter thing would most likely work with this method, assuming your PC is connected to the internet by wired connection or a different adapter than the one you would use for this.
 

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
>>as well as other consoles that don't support WPA connections, such as the PSP
PSP works with WPA. I'm using WPA-AES.
Doesn't work with WPA2, which is far-and-away the most commonly applied security on modern modems and routers. WPA-AES is not a commonality in 2019.
I will change the wording there, but my point is still there.
 
Last edited by Sophie-bear,
  • Like
Reactions: Alexander1970
D

Deleted User

Guest
How much would this change on something more common/noob ish, like, linux mint or ubuntu? (not that there is anything wrong with ubuntu or linux mint.)
 

Tempylon

Well-Known Member
Member
Joined
Mar 4, 2018
Messages
249
Trophies
0
XP
990
Country
Germany
I'm creating this tutorial because this is a much better solution than using an old version of Windows or using Mobile Data for this functionality.

Requirements

  • Linux-compatible Wireless Adapter (WiFi Card)
  • Linux Distribution of your choosing (I'm using Manjaro for this tutorial and have also successfully done this on Ubuntu)
  • Nintendo DS Console
  • A secondary connection on host computer (Ethernet/Second Wireless Adapter/etc.)

Steps to achieve
  1. Open a terminal window and type or paste the following text:

    Code:
    nm-connection-editor

    poUI6gI.png



  2. After entering that text, a GUI window will appear. In this Window, click the plus button at the bottom of the screen to create a new connection. If you have an existing connection under Wi-Fi adapters called "Hotspot", please remove it now. We'll be making a new one.

    9RUYZQu.png


  3. After clicking the plus button, set the connection type in the dropdown list to Wi-Fi. Click Create now.

    WZp6ajx.png


  4. The settings menu for your new connection will open automatically when created. From here, set the following information: Connection name (must be "Hotspot"), SSID (can be whatever you want, for this tutorial, I used "NintendoWFC"), and mode (must be "Hotspot").

    lJws8QX.png


  5. Now, click on the Wi-Fi Security tab. This part is what will make the connection work with the NDS console, as well as other consoles that don't support modern WPA2 connections, such as the PSP. Set the Security parameter dropdown to "WEP 40/128-bit Key". Type in a password for the network in the "Key" field, and click Save on the bottom right of the window.

    3KziLMe.png

Congratulations, you've made your hotspot. Once saved, you can activate this hotspot by opening a Terminal window and running the following command:

Code:
nmcli connection up Hotspot

You can shut down the hotspot with the same command, but changing "up" to "down".

Bonus

By creating a .desktop file (on GNOME, may work on other desktop environments, but I have not confirmed), you can run this command at startup silently. There are other ways to do this for those using other Desktop Environments, but I will not explain that here.

To do this, open a text editor of your choosing and paste the following text:

Code:
[Desktop Entry]
Type=Application
Name=nmcliAP
Exec=nmcli connection up Hotspot

Save the file anywhere as "hotspot.desktop" and then move the file to the following directory:

Code:
/usr/share/applications/

Once this is done, open GNOME Tweaks and go to the Startup Applications section. After clicking the plus sign to add a Startup Application, you should now see nmcliAP (the .desktop entry we just created) on the list of Applications provided. Add this as a startup app and your new hotspot will launch in the background every time you boot your Linux operating system.

Note: WEP Security is easy to break and you should only use it when you need to, or find a way to whitelist MAC addresses so you don't have to worry about your connection being cracked.
Wiimmfi DS users just gone up to 500%:rofl:!
 
Last edited by Tempylon,
  • Like
Reactions: dicamarques

SNBeast

Member
Newcomer
Joined
Jul 14, 2016
Messages
14
Trophies
0
Age
20
XP
173
Country
United States
It's oft here said to add a whitelist, but could you add a method to do so to the guide? Searching doesn't yield much.
 

Leeo97one

Member
Newcomer
Joined
Jul 3, 2020
Messages
14
Trophies
0
XP
102
Country
France
I'm unable to setup a hotspot properly using the official Nintendo Wi-Fi USB Connector. I can connect to it using my Android device, but with my N2DS XL I keep getting error code 51302 or 51099.
upload_2020-12-20_15-19-56.png upload_2020-12-20_15-20-18.png
 
Last edited by Leeo97one,

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
I'm unable to setup a hotspot properly using the official Nintendo Wi-Fi USB Connector. I can connect to it using my Android device, but with my N2DS XL I keep getting error code 51302 or 51099.
I don't know enough about the Nintendo Wi-Fi USB Connector to be able to help with this, unfortunately.
 
  • Like
Reactions: Alexander1970

BETA215

Unknown Member
Member
Joined
Dec 30, 2014
Messages
187
Trophies
0
Location
they/them
XP
627
Country
Argentina
Followed this tutorial step-to-step, but I can't seem to make a working hotspot. Manjaro shows it's created and running, DS will detect it, but when running the connection test it'll fail. Changed connection's DNS to the ones shown here - https://github.com/KaeruTeam/nds-constraint - but no changes.

Terminal shows:

** Message: 22:51:30.623: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 0. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:30.854: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 1. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:33.117: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 2. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:33.595: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 3. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:39.650: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 4. A key must be either of length 5/13 (ascii) or 10/26 (hex)

And it's already a 5 characters password.
 

Sophie-bear

The Coolest Bear Around
OP
Member
Joined
Jan 4, 2017
Messages
987
Trophies
1
Age
27
Website
thebearsden.web.fc2.com
XP
2,252
Country
United States
Followed this tutorial step-to-step, but I can't seem to make a working hotspot. Manjaro shows it's created and running, DS will detect it, but when running the connection test it'll fail. Changed connection's DNS to the ones shown here - https://github.com/KaeruTeam/nds-constraint - but no changes.

Terminal shows:

** Message: 22:51:30.623: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 0. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:30.854: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 1. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:33.117: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 2. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:33.595: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 3. A key must be either of length 5/13 (ascii) or 10/26 (hex)
** Message: 22:51:39.650: Cannot save connection due to error: Invalid setting Wi-Fi Security: invalid wep-key: wrong key length 4. A key must be either of length 5/13 (ascii) or 10/26 (hex)

And it's already a 5 characters password.

If the network is using 128-bit WEP, your Key needs to be 13 characters, assuming you use an ascii Key. I'm not sure why your 40-bit Key isn't working. I used a 10-digit hex password in my example above, so maybe that's worth trying as well. That would be a password made up of numbers 0-9 and letters A-F.
 
Last edited by Sophie-bear,

BETA215

Unknown Member
Member
Joined
Dec 30, 2014
Messages
187
Trophies
0
Location
they/them
XP
627
Country
Argentina
Tried doing these steps in a different laptop and it worked perfectly. I guess there must be issues with drivers: until some months ago WiFi didn't even worked in Linux. Now built-in WiFi and bluetooth work, but hotspot won't.
 
  • Like
Reactions: Sophie-bear
General chit-chat
Help Users
  • No one is chatting at the moment.
    Julie_Pilgrim @ Julie_Pilgrim: i love how the crowd still cheered when thousand miles played lmao