Home > HowTo, likes, Mac OS X, N900, tethering, Ubuntu Lucid, USB, WiFi, Windows 7 > Tether N900’s wifi connection via USB

Tether N900’s wifi connection via USB

If you have been following this blog, you already know that the N900 is remarkable in its ability to adapt itself in various environments. This post will describe the steps needed in situations where you would like to connect to the internet using the N900’s wifi connection via USB from a desktop (or less likely,  a laptop) that does not have a wifi-adapter.

There might be other ways, but this post will explain the setup using SSH tunneling. The only drawback of this approach is that t

Note: Make sure USB Networking is setup before proceeding.

Ubuntu 10.04

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on port 9999.

ssh -D 9999 root@192.168.2.15

6. Modify the system proxy settings (System->Network Proxy) to use SOCKS proxy on localhost port 9999. Apply System-Wide to have all internet applications use it.

7. You are now online!

Windows 7/XP

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on localhost port 9999 using PuTTY. The tunneling option is under SSH->Tunnels. Enter 9999 as port, select ‘Dynamic’ and click Add. Open the connection to the N900 (192.168.2.15)

6. Modify the system proxy settings (Internet Options -> Connections -> LAN Settings) to use SOCKS proxy on localhost port 9999.

7. You should now be online!

Mac OS X

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on port 9999.

ssh -D 9999 root@192.168.2.15

6. Modify the system’s proxy settings (Network Preferences->Advanced->Proxies) to use SOCKS proxy on localhost port 9999.

7. You should now be able to browse the web in Safari.

About these ads
  1. bob_bipbip
    August 30, 2010 at 8:59 am

    YEAH !!!!!!
    awesome !!!!
    i will test it soon

  2. bujingai
    September 1, 2010 at 10:28 am

    i cant seem to get usb networking to work in my windows 7 64bit..help pls

  3. rebhana
    September 2, 2010 at 11:10 am

    Does it also work with the N900’s gprs connections or is it really strictly for wifi?

    • September 2, 2010 at 11:34 am

      Yes, this will also work for GPRS. The only difference is that you would first need SSH into the N900 via USB and then connect to the GPRS connection. But there are easier ways for tethering GPRS over USB.
      Ubuntu
      Windows
      Mac

  4. September 15, 2010 at 2:21 pm

    All these issues are important, and that’s why I just started blogging a while ago and it feels great

  5. Tomasz Zajac
    January 8, 2011 at 1:18 pm

    Hi,

    I did everything what you had described in this post and i have internet :)
    but neither google talk or any other communicator isn’t working/ also torrents are out…
    i think this is caused by ports but i don’t know how to make it work with my n900
    please help …….

    Tom

  6. salman
    December 29, 2011 at 3:52 pm

    can u plzz upload a video on it for xp…
    coz im nt able to do it…

  7. Ozzelot
    July 19, 2012 at 7:29 am

    Can’t get it to work in Windows XP Professional :( Aren’t there a bit more detailed instructions out there?

  8. mle
    July 20, 2012 at 2:44 pm

    Hm, has anyone tried connecting an android device to the N900’s grps over usb?

  9. July 18, 2013 at 9:58 am

    Hello my loved one! I want to say that this article is awesome, great written and come with approximately all vital
    infos. I’d like to peer extra posts like this .

  1. August 29, 2010 at 6:42 am
  2. August 30, 2010 at 10:59 am
  3. March 15, 2011 at 2:47 am
  4. February 23, 2013 at 9:58 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.