Author Topic: Final try at sync and internet access  (Read 15835 times)

Anonymous

  • Guest
Final try at sync and internet access
« Reply #30 on: December 21, 2003, 12:57:10 pm »
Process LocalIP RomoteIP LocalPort State Protocol
Unknown 192.168.129.1 192.168.129.201 139 TIME_WAIT TCP   

I see this port open just after the zaurus goes from on to power save standby. Then the port closes after a minute or so. This makes sense but Windows sees an unknown process. Must be a process running on the zaurus (the server?).

Anonymous

  • Guest
Final try at sync and internet access
« Reply #31 on: December 21, 2003, 03:44:46 pm »
During synchronization, pclink2 runs in Windows.

SNPLCEXE.EXE 192.168.129.1 192.168.129.201 1090 ESTABLISHED TCP C:Program FilesCommon FilessharpSLSSPCLINK2SNPLCEXE.EXE

Anonymous

  • Guest
Final try at sync and internet access
« Reply #32 on: December 21, 2003, 05:51:14 pm »
If routing inet via a windows machine to the Z, try out:
http://www.youngzsoft.net/ccproxy/

to setup proxy traffic between the 2 machines.
has worked for me.


- Devz

Anonymous

  • Guest
Final try at sync and internet access
« Reply #33 on: December 21, 2003, 05:58:43 pm »
Quote
If routing inet via a windows machine to the Z, try out:
http://www.youngzsoft.net/ccproxy/
to setup proxy traffic between the 2 machines.
I\'ve used ICS, Internet Connection Sharing, to do the same. ICS is part of the Windows operating system.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
Final try at sync and internet access
« Reply #34 on: December 21, 2003, 10:35:44 pm »
Can someone post the output of \"route\" from their Z and the output of \"route print\" and \"ipconfig\" from their windows box when they have access to the internet as has been discussed in this thread?

Much appreciated.

Anonymous

  • Guest
Final try at sync and internet access
« Reply #35 on: December 22, 2003, 11:17:26 am »
Quote
Can someone post the output of \"route\" from their Z and the output of \"route print\" and \"ipconfig\" from their windows box when they have access to the internet as has been discussed in this thread?
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.129.0   *               255.255.255.0   U     0      0        0 usbd0
#
C:]route print
===============================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x60003 ...40 00 02 00 00 01 ...... SL Series (NDIS 5)
0x60004 ...xx xx xx xx xx xx...... Wireless USB Adapter #2
===============================================
===============================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.xxx.xxx    192.168.xxx.xxx       30
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.xxx.xxx    255.255.255.0     192.168.xxx.xxx    192.168.xxx.xxx       30
     192.168.xxx.xxx  255.255.255.255        127.0.0.1       127.0.0.1       30
    192.168.xxx.255  255.255.255.255     192.168.xxx.xxx    192.168.xxx.xxx       30
    192.168.129.0    255.255.255.0    192.168.129.1   192.168.129.1       30
    192.168.129.1  255.255.255.255        127.0.0.1       127.0.0.1       30
  192.168.129.255  255.255.255.255    192.168.129.1   192.168.129.1       30
  255.255.255.255  255.255.255.255     192.168.xxx.xxx    192.168.xxx.xxx       1
  255.255.255.255  255.255.255.255    192.168.129.1   192.168.129.1       1
Default Gateway:       192.168.xxx.xxx
===============================================
Persistent Routes:
  None
C:]ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : Desktop
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 21:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : SL Series (NDIS 5)
        Physical Address. . . . . . . . . : 40-00-02-00-00-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.129.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter Wireless Network Connection 2:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Wireless USB Adapter #2
        Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.xxx.xxx
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.xxx.xxx
        DNS Servers . . . . . . . . . . . : 192.168.xxx.xxx

Anonymous

  • Guest
Final try at sync and internet access
« Reply #36 on: December 22, 2003, 10:34:10 pm »
Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

hacked around all day.  internet access still doesn\'t work.  but now sync doesn\'t work either.  I\'ve got to give up for tonight.

There is just no excuse for this to be so hard.

Anonymous

  • Guest
Final try at sync and internet access
« Reply #37 on: December 23, 2003, 07:27:40 am »
Infrequently the USB network connection is lost between the Zaurus and PC. I need to remove the Zaurus from the cradle and replace it in the cradle. This starts interface usdb0 and allows synchronization.

I hear the Device Connect and Device Disconnect sounds from Windows.

boop-beep, beep-boop.  

Anonymous

  • Guest
Final try at sync and internet access
« Reply #38 on: December 23, 2003, 10:35:01 am »
I haven\'t seen this in this thread, but is there a chance that the windows firewall is on?

Anonymous

  • Guest
Final try at sync and internet access
« Reply #39 on: December 23, 2003, 04:06:23 pm »
nope.  I\'ve made sure that it\'s off.  I also use zonealarm and it\'s off as well.

Mind you, I\'ve got the sync working again (after re-installing the tkc rom and doing a thorough cleaning and reinstalling of the dirvers / software on XP.

Since I can ping the adapters on the windows box, I\'m thinking its a problem on the windows side.  So. . . . back at it.

b2bpro

  • Full Member
  • ***
  • Posts: 218
    • View Profile
    • http://
Final try at sync and internet access
« Reply #40 on: December 23, 2003, 05:47:41 pm »
(that last post \'guest\' was actually me)

OK.  Getting there sort of.  I have another question.

On my XP box, I have 3 \'network connections\' with IP addresses as follows

ppp adpater - ip address X (this is for my dsl modem)
local area connection - ip address Y (this is for the local network - connects to the internet via ppp adapter)
local area connection 10 - ip address Z (this is for connecting to the zaurus)

I can ping all 3 of these addresses from my zaurus. I needed to add a default route on my zaurus to set the gateway to Z.  local area connection (ip Y) is also configured to share its internet connection.

Now, when I ping somewhere in the outside world using an ip address (testing with googles ip which i can ping from my xp box) it doesn\'t work.  I do not get an error \"network is unavailable\", rather it just doesn\'t output a reply.  When I interrupt the ping it will tell me that it got 100% packet loss. So I think that my tcpip connection between my zaurus and xp box is OK.  (the zaurus also comes up in network neighbourhood as it should)

So the question is, how do I get the ping all the way out to the internet?  I have tried creating routes in windows between any and all combinations of the 4 ip addresses (X, Y, Z and 192.168.129.201 - the zaurus as defined in PC-Link).

I have also tried using a bridge connection rather than internet connection sharing and I have tried using ccproxy as someone suggested.

Or is this something I need to set on the zaurus?

Any ideas?

Anonymous

  • Guest
Final try at sync and internet access
« Reply #41 on: December 23, 2003, 06:28:30 pm »
Try a different USB port. Connect the zaurus directly to a USB port at the back of the PC.

Try this traceroute program (I use the free version of Ping Plotter). This shows the local LAN gateway, then the default gateway before NAT, then some IP address (probably the DSL switch at the phone company), then the ISP server covad.net and off to the internet.

http://www.pingplotter.com/download.html

Anonymous

  • Guest
Final try at sync and internet access
« Reply #42 on: December 23, 2003, 10:51:28 pm »
Compare the ifconfig output. IP addresses should match. Is it UP BROADCAST RUNNING MULTICAST  ?

# ifconfig usbd0
usbd0     Link encap:Ethernet  HWaddr 40:00:01:00:00:01
          inet addr:192.168.129.201  Bcast:192.168.129.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4989 errors:1 dropped:1 overruns:0 frame:1
          TX packets:4236 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:5507188 (5.2 Mb)  TX bytes:2275438 (2.1 Mb)

Do you have MAC filtering in your network? If yes, you need to allow connection for 40:00:02:00:00:01

C:]ipconfig /all
Ethernet adapter Local Area Connection 21:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : SL Series (NDIS 5)
        Physical Address. . . . . . . . . : 40-00-02-00-00-01

Anonymous

  • Guest
Final try at sync and internet access
« Reply #43 on: December 24, 2003, 12:01:51 am »
These modules should load when the Zaurus is in the cradle.

# lsmod
Module                  Size  Used by
sa1100_bi              23088   0  (unused)
net_fd                 16688   1
usbdcore               22592   0  [sa1100_bi net_fd]
kbdsim                  1008   0  (unused)
usbdmonitor             5488   0
prism2_cs              54576   0
p80211                  9952   1  [prism2_cs]
sharp_mmcsd_m          27408   2
devinfo                 2912   0  (unused)
#

Anonymous

  • Guest
Final try at sync and internet access
« Reply #44 on: December 24, 2003, 12:21:54 am »
Have you seen this from http://www.ruault.com/Zaurus/ethernet-over...-usb-howto.html

on the Zaurus side :
add a default route pointing to your linux PC :
route add -host 192.168.129.1 usbd0
route delete -net 192.168.129.0/24 usbd0
route add default gw 192.168.129.1
then edit /etc/resolv.conf to add the IP of your DNS:
add a line like this nameserver xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx is the address of your nameserver.

With the latest ROMS qtopia has been \"hardened\" a little bit and now accepts only connections on port 4242 and 4343 ( ftp and sync ports ) from an IP that has been assigned by the Zaurus\'s dhcp server or that is equal to 192.168.129.1.
The solution is to use one of the following:
Assign 192.168.129.1 to the PC usb interface ( see instructions below ).
Use the dhcp server running on the Z to get the IP address of the PC\'s usb interface by running dhcpd /dev/usb0 on the PC instead of doing the manual IP assignment.