Author Topic: Connect To Internet Via Z-usb Cable (xp Ics)  (Read 2438 times)

dati

  • Newbie
  • *
  • Posts: 22
    • View Profile
Connect To Internet Via Z-usb Cable (xp Ics)
« on: April 01, 2006, 05:48:40 pm »
[span style=\'font-size:12pt;line-height:100%\']Assume:
You have install Zaurus PC Driver.
SL series Ver3 (NDIS 5)

You have a DHCP Server.
(My is the Wireless Router with inbuild DHCP Server (192.168.1.1/24))

[/span]

On My "Windows XP SP2" I have the following NIC.
1. (NIC-PC) <-- Physical
2. (NIC-Zaurus) <-- Virtual (Only appear when I connect the Zaurus USB Cable).

Step 1 (Perform on PC).
Make sure your Zaurus USB Cable is connected to the PC, so that the Zaurus Virtual NIC appear.

1. Select NIC-PC and then Right Click and Select Properties.
2. Click on the Advanced Tab

3.Then Check the box:
Allow other network users to connect through this computer's internet connection

Under Section Home networking connection:
select your [ZAURUS NIC]

4. Then Click on the OK Button.

Note: Once the above step is perform, you'll see that your Zaurus NIC IP is now Manually set to 192.168.0.1

Network Layout:
Code: [Select]
NIC-PC (IP)          NIC-Zaurus (IP)
192.168.1.100/24     192.168.0.1/24


Step 2 (Perform on Zaurus).
Modify /etc/hotplug/usbdnet.conf
DHCPS=yes
DHCPC=no

to

DHCPS=no
DHCPC=yes

(This make zaurus to automatically obtain an IP Address from a DHCP Server when the USB Cable is connected to the PC

After the file (usbdnet.conf) is modify, unplug the USB cable from the PC and Re-Connect the USB Cable.

Note:
/etc/resolv.conf (automatically update with the information from the DHCP Server).

eg: on my zaurus /etc/resolv.conf
I have 3 entry as follow:
nameserver xxx.xxx.xxx.xxx (DNS)
nameserver xxx.xxx.xxx.xxx (DNS)
search www.xxx.com

When I do a ping from zaurus to www.yahoo.com.au (it work).


Step 3 Connect to Internet
Open On Zaurus | Network | Opera Browser.

You'll see a dialog box
Aborted
--------------------
Dummy-Device Drop Down List
Connect Button
-----------------

Just ignore the above dialog box (Don't click on the Connect Button).

You need to install Dummy-Device (IPK) on Zaurus
(Just install, don't need to set anything).
http://web.mol.ru/~zaurus/feed/dummydev_0.01-1_arm.ipk

You can start surfing by going to your favorite site.

On Opera Browser Menu (The 2nd Icon)
Click Navigation | Go to page
then type your url: www.google.com
then press enter

I did a test on www.google.com and it work!

==============================================
If you want to use Netfront Browser to Browse you have to do some extra work:

Open Netfront Browser you see a dialog box
Connection Prompt
---------------------
No connection to the network.
Connect Now?
Yes | No

Click on the No button.

Another Dialog box appear:
Warning
-------------
Cancelled loading the page
OK button

Click on the OK button.

Now open the KConsole/Terminal type:
qcop QPE/Network "up()"

then press Enter.

you can now switch back to the Netfront browser and start Sufing.


 Happy Surfing.


I've got the idea from the following references
Reference:
Configure Windows XP as a network Bridge.
http://www.windowsnetworking.com/articles_...s/wxpbrdge.html
« Last Edit: April 02, 2006, 08:54:10 pm by dati »