Archive

Posts Tagged ‘ubuntu’

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.

Advertisements

Tethering the N900 – Part 3 (Bluetooth)

Tethering over Bluetooth is slower but being wireless is a great advantage over USB.

Ubuntu 10.04

Another simple setup:

1. Install Dial-Up Networking (bluetooth-dun) from Extras on the N900.

2. Install blueman Bluetooth-Manager on Ubuntu. This is not required but a good gui doesn’t hurt.
sudo apt-get install blueman

3. Open blueman from the status bar and pair the N900.

4. Right-click the connection and select Dial-up Connection.

5. Select the T-Mobile connection. If you haven’t yet created a Connection, see my previous post.

6. Done.

Windows 7

Ovi-Suite is a good tool here.

1. Install Dial-Up Networking (bluetooth-dun) on the N900
2. Open Ovi-Suite.
2. Connect the N900 via bluetooth (Tools -> Add New Device).


3. Select Tools -> Connect to Internet

4. Surf!

Tethered N900 to Ubuntu 9.10 via Bluetooth

February 4, 2010 3 comments

Lars’ comment inspired me to give Bluetooth tethering a shot – again, something I have never tried before with any device. Sure enough, it is possible and thanks to Ubuntu, extremely easy. No command line required. All that is needed is:

The blueman front-end is optional but it makes the process simple. Right-click device -> Serial Ports -> Dialup Service. Once the N900 is connected, select the Broadband connection from the Network Manager. My MobileVikings connection worked flawlessly.

:likes: