OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: dati on April 01, 2006, 12:04:44 am
-
[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 NIC-Zaurus then Right Click and Select Bridge Connection.
2. Then Follow Instruction on Screen.
This make your pc and zaurus USB connect in the same network segment.
Network Layout:
NIC-PC (IP) Â Â Â Â Â NIC-Zaurus (IP)
192.168.1.100/24 Â Â 192.169.1.200/24
Note: Once the above step is perform, you'll see another connection is created by Windows Named: Bridge
If you select the properties of this connection, you'll see that the NIC-PC and NIC-Zaurus is added in here.
If you issue a command on Windows from the command prompt (CMD.EXE)
ipconfig /all
You'll see that you now have only 1 NIC with IP Address obtain from DHCP.
Before the NICs is bridge you have 2 NIC with 2 separate IP Address.
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 (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 (http://www.windowsnetworking.com/articles_tutorials/wxpbrdge.html)