Author Topic: USB Networking faq  (Read 3847 times)

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
USB Networking faq
« on: September 20, 2004, 11:42:30 pm »
I have searched and searched  -- read throught the networking faqs which are all serial for some reason...

I have sifted through the forums and have been unable to find a complete solution

so here is the problem:

860
kathrin  rc3
I am trying to connect to a windows xp box  - i connect the usb cable i get the driver loaded and the virtual network card is created so here is the rub


what are the ip settings needed to connect to the zaurus and dare i say connect to the internet from the zaurus through my windows box.

te confusing things is that there are settings in the following areas and i cant seem toget it to work together

the usb config on the zaurus
the network config on the zaurus
the virtual network connector on the xp box
the zaurus manager on the xp box

the ip setup of the windows box is

nated from a dsl router

10.2.0.1 is the gateway and dhcp addresses are handed out between 10.2.0.2-254

how do i bring all the settings together and what should they be? Should they be all the same ? Should they be all different ? Should they share the same ip space as the windows box 10.2.0.x or should they be different? Do I need to even run the Zaurus manager?

I want to be able to telnet to the zaurus and later mount it as a drive after i install samba


thank you thank you than you for any help you can offer
« Last Edit: September 20, 2004, 11:53:15 pm by davidspitzer »

ostense

  • Newbie
  • *
  • Posts: 41
    • View Profile
USB Networking faq
« Reply #1 on: September 21, 2004, 10:18:10 am »
It is not complex to establish a tcp connection between a XP and the Z via USB. The zaurus and XP is almost automatic.

On the zaurus check the USB setup with the the command ifconfig. You should have a en entry named usbd0 . Probably with an IP address 192.168.129.201 .
If this is missing then set it up with th USB function tool in the system folder (fill in Network, IP  and netmask (255.255.255.0) and click OK.
Then do the following command where xxx ist th IP on the XP you are connected to :
route add -host xxx usbd0

Then the zaurus is ready !

On the XP if you have installed the usb drivers you can configure your IP or let it be set automatic . I have configured it to 192.168.1.100  .  (to configer right click your net icon for the usb LAN and  under General open properties under TCPIP )

Then you need to open a dos window and do the following command where zzz is the IP on your Zaurus and xxx is the IP on your XP:
route add zzz xxx

If you want to telnet to your Zaurus you need to setup and install a telnet demon, but this is not recomended. Rather use ssh because the pdaxrom comes with a ssh server pr default.  From the XP use the ssh client putty (search for putty.exe at google) .  

I use Cygwin on my XP with ssh and X server which I consider to be the best way to do ssh and X forwarding.

davidspitzer

  • Newbie
  • *
  • Posts: 43
    • View Profile
USB Networking faq
« Reply #2 on: September 21, 2004, 02:25:13 pm »
do i need the zaurus manager running on xp to connect

ostense

  • Newbie
  • *
  • Posts: 41
    • View Profile
USB Networking faq
« Reply #3 on: September 22, 2004, 11:33:25 am »
I do not know what the zaurus manager is ... But I have done the tcpip with USB from XP to Z and visa versa . On the XP the only thing you need are the USB drivers from Sharp ...

naramani

  • Newbie
  • *
  • Posts: 2
    • View Profile
USB Networking faq
« Reply #4 on: September 22, 2004, 01:59:11 pm »
I am new to this.  Can you take the USB driver from sharp from the Japanese CD?  If not, where do you get it from Sharp?

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
USB Networking faq
« Reply #5 on: September 22, 2004, 09:18:18 pm »
Yes. From the japanese cd.

 - BRG
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
USB Networking faq
« Reply #6 on: September 22, 2004, 09:18:34 pm »
Yes. From the japanese cd.

 - BRG
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

gpinkham

  • Newbie
  • *
  • Posts: 5
    • View Profile
USB Networking faq
« Reply #7 on: September 22, 2005, 03:59:03 pm »
Quote
It is not complex to establish a tcp connection between a XP and the Z via USB. The zaurus and XP is almost automatic.

On the zaurus check the USB setup with the the command ifconfig. You should have a en entry named usbd0 . Probably with an IP address 192.168.129.201 .
If this is missing then set it up with th USB function tool in the system folder (fill in Network, IP  and netmask (255.255.255.0) and click OK.
Then do the following command where xxx ist th IP on the XP you are connected to :
route add -host xxx usbd0

Then the zaurus is ready !

On the XP if you have installed the usb drivers you can configure your IP or let it be set automatic . I have configured it to 192.168.1.100  .  (to configer right click your net icon for the usb LAN and  under General open properties under TCPIP )

Then you need to open a dos window and do the following command where zzz is the IP on your Zaurus and xxx is the IP on your XP:
route add zzz xxx

If you want to telnet to your Zaurus you need to setup and install a telnet demon, but this is not recomended. Rather use ssh because the pdaxrom comes with a ssh server pr default.  From the XP use the ssh client putty (search for putty.exe at google) . 

I use Cygwin on my XP with ssh and X server which I consider to be the best way to do ssh and X forwarding.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=42963\"][{POST_SNAPBACK}][/a][/div]

I'm trying to get the USB network to work bwteen OZ and WinXP.. I had it working this morning with SharpRom3.1 before I "upgraded" to OZ..   I see usbd0 in the ifconfig but it does not have an assigned IP address..   I have tried to configure it in the Network application..   I noticed it shows usbd0 but the ip next to it shows 0.0.0.0.. When I click configure it shows the Static address I assigned in the dialog box..    If I try to restart it it fails..  I also noticed that if I type ifdown usbd0 on the command prompt I get the "route: SIOC[ADD|DEL]RT: no such process...    

Any suggestions?