Surfing Internet without a wireless access point

What if you have your laptop, your gadget and only Ethernet (cable) connection?

Then you need brick-to-brick web surfing!

We will show you how to set up your laptop as a wireless router (if it has a wireless card, of course), and how to set up the Nokia 770 to use this connection.

Gain root on your laptop, and set up an ad-hoc network, as we saw in the last post


root@laptop# iwconfig eth1 mode ad-hoc essid 'bricktobrick' channel 7
root@laptop# ifconfig eth1 10.0.0.1

Now, you must only forward all the traffic to the ethernet card, with iptables


root@laptop# iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.2 -j MASQUERADE

Where 10.0.0.2 is the IP of the Nokia 770, eth1 is the laptop’s wireless interface, and eth0 is the laptop’s ethernet interface.

Now only set this connection in the Nokia 770, with 10.0.0.01 as router, and the right DNS address (use the same than your laptop).

If your laptop is connected to the Internet with the ethernet card, you should be able now to surf the web, listen to the radio, etc, with your gadget.

So if don’t have a wireless router, and your girlfriend is talking with her friends with Messenger with the laptop, you can still read the web and check your e-mail with your gadget ;-)

15 comments November 18th, 2005

Brick-to-Brick networking (and how to set up a SSH server and root access)

7 comments November 17th, 2005

Bluetooth keyboards for the Nokia 770

9 comments November 17th, 2005

I got my gadget!

2 comments November 16th, 2005

Next Posts


What's this?

This is a blog about the new Nokia 770. It will show tricks, hacks, reviews, etc about this impressive gadget. Comments and feedback are welcome.

You can contact me at isra _at_ herraiz.org, or just leaving a comment in any post.

Latest comments

Gizmo to offer free calls both to landline and mobile lines  4
santi, Sabeel, mami [...]

Non-HID bluetooth keyboards working!  17
Rob Mulally, gene jaleski, herraiz [...]

Bluetooth keyboards for the Nokia 770  9
jose manuel a.lopez, jose manuel a.lopez, Bill [...]

wxWidgets and wxPython almost hildonized  12
jaremo, cowbot, Peter [...]

Links

Posts by Month

Feeds

Valid XHTML
Valid CSS
No-www.org