Wifi for DSLinux
This is the second article that follows on from the article on how to install Linux on the DS. But whats a Nintendo DS with Linux without Wifi access? Hmm?
Okay, this is a lot harder than anything we did in the last article, and I'm hoping you have some knowledge of Linux commands or have used a linux terminal before.
But before that, a quick note.
=======================================================
In my examples you will see text boxes like this:
These are Linux terminal commands that should be typed into the DS terminal.
And one more thing. The thing with most routers is that they just throw out
random IP's to every computer connecting to it via this little yoke called DHCP.
Unfortunately for us, DHCP rarely works in DSLinux, so what we have to do is get our router to assign a static IP for the DS.
What you should do here is login to your router and set the IP you wish to use for your DS to static. I can't describe how to do it for every
router out there, so just check the manufacturers website for that. Or failing that...ye know...RTFM....
=======================================================
Right, lets get down to it. There are two ways of connecting wirelessly to an access point. With and without an encryption key. I've found connecting without an encryption key is infinitely easier than connecting with an encryption key. So lets do that first. If you want to connect to a wireless network that is encrypted, skip ahead to that part here.
Connecting: Unencrypted-ly
Roysh, it's quite simple if you don't need a WEP key. The following is the first command, and should be typed into the terminal:
This command adds a wireless profile associated with your wireless network.
Note: Change the channel number to whatever channel your router broadcasts on.
Now you need to start the DS wireless, so type the following command:
ZOMG NOWAI. Yes, the DS wifi LED should have started to blink slowly now. This means the DSWifi is running.
Note: My router's IP is 192.168.1.1, and you should change the IP to your routers.
Now to just do this final little command:
Where your routers IP addresss is 192.168.1.1. If it's not, change it to whatever it is.
What you have to do now is ping your router to see if you are connected to it. Type this into your DS terminal:
If all went well, the terminal should return "192.168.1.1 is alive!"
Now your DS is connected to your unencrypted wireless network! \o/
In the works...