Ubuntu Malaysia

Forum Ubuntu Malaysia
 

It is currently Mon Sep 06, 2010 6:04 pm


Post new topic Reply to topic  [ 6 posts ] 
Author Message
Offline
 Post subject: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Tue Mar 04, 2008 12:33 am 
Ubuntu-my Babies
Ubuntu-my Babies
 Profile

Joined: Fri Nov 09, 2007 3:11 am
Posts: 24
Didalam Windows Mobile 5 terdapat aplikasi "Wireless Modem" yg memboleh kan PDA Phone anda bertindak sebagai modem 3G..
untuk menyambung kerangkaian 3G pengguna gnome boleh menggunakan "GNOME PPP" atau "KPPP" utk KDE dan sebagainya utk melakukan capaian..
tetapi untuk keluaran Windows Mobile 6 kaedah ini dimudahkan dengan aplikasi "Internet Sharing"

Disini saya ingin berkongsi bagaimana untuk melakukan internet sharing dari Windows Mobile 6 dengan sistem operasi Linux anda..

1. enable kan internet sharing di PDA Phone anda tetapi jangan cucuk usb cable dahulu

2. anda mungkin perlu menginstall pakej SVN terlebih dahulu untuk kaedah ini
Code:
sudo apt-get install svn


2. download usb-rndis-lite driver dengan svn
Code:
svn co https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
make
sudo ./clean.sh
sudo make install


3. create file /etc/network/ifcfg-rndis0 dengan content seperti berikut:
Code:
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU='1460'
MRU='1500'
NAME=''
PEERDNS=no
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='no'
_nm_name='static-0'


** file /etc/network/ifcfg-rndis0 bagi debian / ubuntu atau /etc/sysconfig/network/ifcfg-rndis0 bagi yg lain2..

Sekarang, cucuk cable USB antara PDA Phone dengan komputer anda dan jalankan command "dmesg", anda akan nampak sesuatu seperti:
Code:
ohci_hcd 0000:02:02.0: wakeup
usb 3-2: new full speed USB device using ohci_hcd and address 4
usb 3-2: new device found, idVendor=0bb4, idProduct=0303
usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: Generic RNDIS
usb 3-2: Manufacturer: HTC
usb 3-2: SerialNumber: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
usb 3-2: configuration #1 chosen from 1 choice
rndis0: register ‘rndis_host’ at usb-0000:02:02.0-2, RNDIS device, xx:xx:xx:xx:xx:xx


dan jika perintahkan command ifconfig:
Code:
rndis0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: 2002:48fa:7644:19:8200:60ff:fe0f:e800/64 Scope:Global
inet6 addr: fec0::19:8200:60ff:fe0f:e800/64 Scope:Site
inet6 addr: fe80::8200:60ff:fe0f:e800/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1460 Metric:1
RX packets:761 errors:737 dropped:0 overruns:0 frame:0
TX packets:729 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:405771 (396.2 Kb) TX bytes:120796 (117.9 Kb)


** network interface boleh jadi eth2 dan sebagainya di ubuntu saya eth3 adalah interface yg terhasil.. boleh skip langkah 3 jika simptom ini terjadi.. tetapi ip DHCP yang akan diberikan kebiasaannya ialah "192.168.0.102"

Sekadar maklumat tambahan:

Quote:
The rndis0 device will exist both when internet sharing is enabled via usb and when it is NOT….here is how it works:

If internet sharing IS enabled via usb you have access to the internet and will get an IP…default route will be set.

If internet sharing is NOT enabled via usb then the rndis0 device will exist and can be used by programs such as syncE to manage your contact list or transfer files but you will not have internet access (from the phone) and more than likely you will not get an ip address auto assigned (it may keep the ip it used last).


p/s: ada sapa2 nak tolong create deb package dan maintain 3rd party ubuntu repo untuk menda ni? :roll:


Top
 

Offline
 Post subject: Re: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Mon Jun 09, 2008 5:04 am 
Ubuntu-my Babies
Ubuntu-my Babies
 WWW  YIM  Profile

Joined: Thu Mar 20, 2008 5:59 am
Posts: 21
Location: PJ
peh. ade pda kalu layan ni

_________________
Modern Technology IS Wonderful.


Top
 

Offline
 Post subject: Re: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Tue Jun 10, 2008 8:52 pm 
Ubuntu-my Babies
Ubuntu-my Babies
User avatar
 Profile

Joined: Mon Jun 09, 2008 3:09 am
Posts: 13
tq la bang.. n finally.... n really 3xxxxx finally i can access to the internet using my palm treo750v...

udah lama gue carian.. baru kini berjumpa...

walau ada beberapa perbezaan seperti svn tu aku ganti dgn perkataan "subversion".. walaubagaimanapung.. very helpful...

tq very much...

_________________
"Musnahkanlah virus-virus benci,
Virus yang bisa rusakkan jiwa,
dan busukkan hati"


Top
 

Offline
 Post subject: Re: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Fri Oct 10, 2008 9:31 am 
Ubuntu-my Babies
Ubuntu-my Babies
User avatar
 Profile

Joined: Mon Sep 29, 2008 3:37 pm
Posts: 1
Hi,
Saya baru je install Ubuntu 8.04 kat laptop rumah. Kat rumah takde internet connection & previously i use my PocketPC (Win Mobile 5) to connect with Win XP. So skrg I nak try connect Ubuntu dengan my PocketPC.

I am very new with Linux/Ubuntu but willing to learn. Melihatkan post2 yang lepas I tak faham kat mana I perlu input untuk "Code, Quote **File"...boleh tolong ajar tak apa maksud semua ni? I memang baru dalam command2 Ubuntu.

_________________
Keep an open mind...


Top
 

Offline
 Post subject: Re: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Thu Mar 19, 2009 3:12 pm 
Ubuntu-my Babies
Ubuntu-my Babies
User avatar
 Profile

Joined: Mon Jun 09, 2008 3:09 am
Posts: 13
Apa masalahnya.. boleh beri dengan lebih spesifik seperti HP/PDA model apa dan OS apa yang anda guna.

Sebab kalau pakai Ubuntu 8.10 memang dah boleh auto detect dan RNDIS dan terus boleh melayari internet

_________________
"Musnahkanlah virus-virus benci,
Virus yang bisa rusakkan jiwa,
dan busukkan hati"


Top
 

Offline
 Post subject: Re: 3G Internet Sharing on Windows Mobile 6 with Linux via USB
PostPosted: Sun Mar 22, 2009 12:52 pm 
Admin
User avatar
 WWW  YIM  Profile

Joined: Mon Jul 30, 2007 3:40 pm
Posts: 175
Location: Kuala Lumpur, Malaysia
yeah ...

dalam intrepid .. RNDIS dah auto detect ... just tunggu kat Internet Connection Sharing (ICS dlm pda) utk pilih either USB @ Bluetooth PAN dan CONNECT ja ....
.... UBUNTU ROXX !!!

i can use bluetooth PAN & USB to connected to my EDGE connection .. now my life in mobility ... hehe

_________________
Image
http://blog.myfenris.net
https://launchpad.net/~fenris
https://wiki.kubuntu.org/fenris
Kubuntu Jaunty Jackalope 9.04
Thinkpad T61


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Ubuntu Malaysia Forum