[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How can I connect HTC Touch mobile phone to my pc(Ubuntu)?

Posted on 2009-02-08
4
Medium Priority
?
7,325 Views
Last Modified: 2013-12-05
Hi,

I have a PC with Ubuntu on it, a HTC Touch mobile phone with Windows Mobile 6.1 on it.

My pc is connected to Internet, and I want to use this Internet connection on my phone.
i.e.:

Internet <-----> ADSL Modem <-----> PC(Ubuntu) <----> HTC Phone(WM6.1)

On my PC there are three network interfaces, (see code section for more info)
1)eth0 network interface between PC and ADSL modem
2)ppp0 ppp inteface between PC and ADSL mdoem(Internet)
3)eth1 network interface between PC and HTC Phone

Note: I know that i must share inetrnet connection but i don't know how to do it on ubuntu.

Thanks

eth0      Link encap:Ethernet  HWaddr 00:50:8d:82:89:66
          inet addr:192.168.1.50  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8dff:fe82:8966/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1869839 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2071890 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:573059315 (573.0 MB)  TX bytes:209103952 (209.1 MB)
          Interrupt:21 Base address:0xee00
 
eth1      Link encap:Ethernet  HWaddr 80:00:60:0f:e8:00
          inet addr:169.254.2.2  Bcast:169.254.2.255  Mask:255.255.255.0
          inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:10 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1438 (1.4 KB)  TX bytes:756 (756.0 B)
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:271655 errors:0 dropped:0 overruns:0 frame:0
          TX packets:271655 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:369703754 (369.7 MB)  TX bytes:369703754 (369.7 MB)
 
ppp0      Link encap:Point-to-Point Protocol
          inet addr:89.165.43.245  P-t-P:89.165.43.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:93 errors:0 dropped:0 overruns:0 frame:0
          TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:29353 (29.3 KB)  TX bytes:24257 (24.2 KB)

Open in new window

0
Comment
Question by:Hamed Zaghaghi
  • 3
4 Comments
 
LVL 9

Author Comment

by:Hamed Zaghaghi
ID: 23586482
I configure my PC using
https://help.ubuntu.com/community/Internet/ConnectionSharing

but i don't have access to change phone netwrok settings
0
 
LVL 1

Expert Comment

by:sweetde23
ID: 23656866
What you're asking for will be a little time consuming.  I used the HTC 8125 before my G1, and still haven't put enough time to set up Outlook in VMWare (Ubuntu host) just to get the old contacts off the 8125.  Have you thought about buying a $25 wireless router for internet & $10 SDCard USB connector for file transfers?
0
 
LVL 9

Author Comment

by:Hamed Zaghaghi
ID: 23661269
I knew that this question is a time consuming one, and thanks for your response, i can sync my HTC contacts with  odccm, synce-sync-engine and multisync in kubuntu 8.10.
you're right, a wireless router can solve internet connection problem, but i want to solve it as cheap as possible.
0
 
LVL 9

Accepted Solution

by:
Hamed Zaghaghi earned 0 total points
ID: 23666745
Hi,

I solved it,

i'm using this
sudo odccm -f --device-ip 169.254.2.1 --local-ip 169.254.2.2 --local-netmask 255.255.255.0

i read somwhere that new versions of odccm support DTPT(Desktop Pass-through), and now i can connect to internet via pc,  
note that "enable faster data syncronization" should checked, and these lines was added to /etc/network/interface:

auto eth1
iface eth1 inet dhcp

where eth1 is the name of network adapter of HTC

0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question