(For now it works for DSi but not ds/wii :( )
Ok, so here WAS my problem:
I have WIRED INTERNET (earthlink), (and no wifi router)
it only allows ONE web connection at a time, and one IP address is assigned!
My laptop has x(UBUNTU) Linux/ vista on it, if i use the built-in hotspot creators, it says can't get IP address, and fails to connect.
After many Google searches, youtube videos, and help files, I was told many thing, but they were all made for people who want to make a hotspot for another laptop, and it requires a DCHP server, Plus your ISP must support many connections.
Requirements:
ubuntu or xubuntu (live CD, or install)
a pc/laptop with an ethernet port, and a wifi card(or usb wifi)
Nintendo DS, and a wifi Game
Recommended software:
Wicd - wireless lan mangier
RutilT - Great for making hotspots
In side Linux boot up the terminal:
and run this command:
Ifconfig
this shows all your network hardware;
you should have at least 3;
they should be called eth0, lo, and wlan0 ; (if there not (like you have eth1 instead, throughout the tutorial I will be calling it eth0, so just type eth1 instead, {YES, you have to replace it EVERY Time})
now enter three commands: (one at a time)
sudo iptables -A FORWARD -i eth0 -o wlan0 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
sudo iptables -A POSTROUTING -t nat -j MASQUERADE
Ok, what we are doing is "packet forwarding", basically your PC acts as a middle man, and when your DS, wants to go on-line it tells the PC, the PC gets the data and hands it to the Ds, and vice versa;
next run this:
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
Now we can make ad-hoc network so the DS can talk to the PC;
open your favorite network utility; ( i will use RutilT)
now create a new profile; (or create new connection)
give it a name, (name of the connection not the WIFI signal)
Set an SSID: (wifi's name), and a WEP key, (if you must, could cause problems)
Select a channel; (6, works best for me, 10 and 1 are usually OK too)
and save it.
boot up your DS, and load your WiFi compatible Game;
and go to wifi settings, or configure wifi. (see game Manuel)
create a new connection, and select Manuel setup.
click edit by SSID and enter your SSID (wifi name)
enter Wep key if you set one;
Click "NO" beside Auto-obtain IP address;
Set the settings as follows:
IP address: 192.168.0.111
subnet mask: 255.255.255.0
Gateway:192.168.0.1
(for DNS, I'm using OPENDNS, you may use your own if you wish.)
Primary DNS 208.67.222.222
Secondary DNS: 208.67.220.220
Now click "save settings"
No comments:
Post a Comment