get instant quote!
Customer Raves

"Great software and Great support!!! As a website design company we are always looking for software to enhance our clients’ websites. The products at magictoolbox.com are just what we’ve been looking for to integrate with our shopping cart system. The products come at a great price and the support is exceptional. We needed help getting the software installed within our shopping cart system and LuckyTeam was more than happy to help and was always quick to respond. I would highly recommend LuckyTeam and their products to all who would need quality products along with fast, personal, and responsive service."

David Russell
Red Spot Design, LLC

Latest Project

HIPPOS Network

http://customersupport.jeffries.co.uk

HIPPOS Network

 

How to make Nokia E60 (E-Series) access Internet using USB cable and IP passthrough mode in Linux

Task

I want to access Internet from my Nokia mobile through the Linux computer, using the USB link cable provided, so what do I need is:

  • Nokia E60 mobile :) I believe these instructions will also work on most other Series-60 (S60) Nokia phones.
  • Linux box with 2.6 kernel (my case - 2.6.18)
  • USB link cable provided with the phone

Lets assume we have next LAN configuration:

  • On linux box: external IP address (eth0) - 87.124.26.127
  • In Nokia mobile: access point configured for USB-cable connection with static IP address 10.0.0.2, default gateway 10.0.0.1 and don't forget to set two DNS servers (watch advanced settings when creating access point)
Of course you could use DHCP to automatically configure access point - static address are just easier for a howto.

Linux setup

You need to build custom kernel at first. Here is what you need:

  • Device Drivers -> USB support:
    • Support for host-side USB: Y. (not a module!)
    • USB network adapters:
      • Multi-purpose USB Networking framework: Y
      • Host for RNDIS devices: Y. (not a module!)
Now build you kernel with new settings and reboot.
Plug the USB cable into Linux box and select "IP passthrough" mode on your mobile.
Now watch your system logs (/var/log/kernel or whatever used on your system) for something like this:
kernel: usb 2-1: new full speed USB device using uhci_hcd and address 10
kernel: usb 2-1: configuration #1 chosen from 1 choice
kernel: eth2: register 'rndis_host' at usb-0000:00:1d.0-1, RNDIS device, 00:15:2a:b6:be:28
        
Next step is configuring NAT:
  • Put this line into your iptables configuration:
    • iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d ! 10.0.0.0/24 -j SNAT --to-source 87.124.26.127
      Don't forget to place your external IP here :)
  • Probably you will need to enable FORWARD and INPUT connections from eth2 (or whatever interface name you will have after plugging in your mobile)

Now try to access Internet using your mobile using the interface (access point) you created by the name you gave it when creating.

Did you know that there is Safari browser in your phone? :) Check this javascript in your phone, it works just like in any other PC browser! :)


add to del.icio.us - :How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux digg it - :How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux spurl:http%3A%2F%2Fluckyteam.co.uk%2Fnokia_e60_ip_passthrough_linux wists:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux simpy:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux newsvine:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux blinklist:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux furl:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux reddit:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux fark:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux blogmarks:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux Y!:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux smarking:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux magnolia:How to make Nokia E60 access Internet using USB cable and IP passthrough mode in Linux

 
Home  |  Products  |  Portfolio  |  Services  |  Contacts  |  Forum
© 2006-2007 LuckyTeam.co.uk