Mobile Broadband for your Ubuntu Laptop via Vodafone 3G Android Smartphone
This allows you to "tether" a laptop or pc running Ubuntu Linux 9.10 (Karmic Koala), allowing it to gain broadband access to the internet via your 3G capable Android smartphone on the Vodafone NZ network.
Vodafone 3G Device Configuration
Tested with my HTC Hero (Android 1.5, parallel imported via TradeMe) and Ubuntu Linux 9.10, aka "Karmic Koala" (64 bit version) on my Insite laptop.
Configure the phone - when complete, you should see a little "H" in the status bar at the top middle, indicating you're online, and two little arrows in the top left indicating you're sharing your connection:
- Configure Mobile networking
- Settings->Wireless Controls->Mobile network settings->Access Point names
- Set "Name" = Vodafone (or whatever you want)
- Set "APN" = www.vodafone.net.nz (although this could also be "Internet" or see http://www.geekzone.co.nz/forums.asp?forumid=40&topicid=9780 for networks and their properties).
- Nothing else needs to be set (although MCC is preset to 530 and MNC to 01 on my phone)
- menu button -> Save
- enable (checkbox) Settings->Wireless Controls->Mobile network
- Plug phone into laptop via USB
- enable (checkbox) Settings->Wireless Controls->Mobile network sharing - Ok the dialog that comes up saying HTC Sync will be disabled.
Ubuntu Linux Laptop Configuration
Configure the laptop - upon plugging the phone into the laptop, the Network Manager (NM) applet informed me that it had established a "Wired usb0" connection. This gives you an IP on the 192.168.100 network - gateway 192.168.100.254 (the phone presumably). This does not, however, seem to allow tethering. To achieve this, I did the following:
- Set up Go to NM applet icon and right-click, select Edit Connections...
- Select Mobile Broadband tab
- Add new connection
- click Forward
- check that New Zealand is selected country (was auto-selected in my case), Forward
- select provider (Vodafone)
- select plan - choices: WAP, Restricted, Unrestricted (public), or other... I chose "Unrestricted (public)", Forward
- review settings, Forward
- Shows connection name, and a form with various fields, and PPP and IPv4 settings tabs. These can be ignored. Apply
- Close NM
You should now be able to talk to the net. My laptop network settings following this configurations.
Network Interface:
usb0 Link encap:Ethernet HWaddr 4a:b3:53:ae:57:65
inet addr:192.168.100.100 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::48b3:53ff:feae:5765/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1198 errors:2 dropped:0 overruns:0 frame:2
TX packets:1122 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Routing:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 usb0
I was able to ping google.com, access SMTP on port 587, access SSH on 22, and Secure IMAP on 993.
Another reference that might be useful to some people.
- Login to post comments
