OESF Portables Forum
General Forums => General Discussion => Topic started by: b2bpro on December 19, 2003, 10:44:03 pm
-
OK. I am about to throw this 860 off the highest building I can find.
NOTE: THE FOLLOWING IS A RANT. IF YOU DON\"T WANT TO LISTEN PLEASE SKIP TO THE NEXT PARAGRAPH CAUSE I REALLY NEED SOME HELP. -- I know why Sharp does not want to release these things in north america - its because they are not ready for prime time. If you want to sell a pda to the mass market you have to make it work \"out-of-the-box\". I have been trying to get this thing to sync and connect to the internet for about two weeks now and I haven\'t been able to. Note that I have been working with computers for over 25 years. I started out building computers from components in the 70\'s - etching pc boards etc. (I know, I know - I\'m a dinosaur) I am now designing/developing web e-commerce apps using java/jboss/tomcat so I feel that I have a resonable level of competence to bring to this thing. The reason I want to use a zaurus is because it seems to meet the requirements my company has for a certain application. I want to use it as a node in a peer to peer ecommerce application and am hoping to be a zaurus reseller. This application will be used by people who are not linux guru\'s so it needs to work (once set up) well enough for someone who has little technical know-how. I need a PIM (no problem) word/excel compatability (no problem) but I also need internet connectivity via the usb cable so someone can sync to my app and then hit the road (big problem) and also the ability to sync to outlook (big problem). Despite the excellent work done by a lot of people around the world to build these custom roms, etc., the fact is that there are certain things that just don\'t work easily.
OK. I feel better now.
The two things I need are to be able to sync with outlook and to connect to the internet over the usb cable. I have tried various instructions from several people and sources over the past two weeks. I have searched this forum as well as zaurus.com and eterne.net. I have read all the how-tos I could find. I have tried TKC, X11, OZ and the original Sharp ROMs. I have tried software - usb drivers and intellisync - from several sources. I have tried from my home pc (winXP) and work (Win 2000).
The closest that I have gotten is my current configuration.
My Zaurus is running TKC 2.5.1 which I just loaded.
PCLINK is set to USB-TCP/IP (advanced) with the hostname zaurus and USB IP 192.168.129.201.
I have added my DNS server ip\'s to /etc/resolv.conf (as indicated by a helpful soul)
MY PC is using Windows XP
I am using intellesync and the usb drivers from 560v132s.zip that I just downloaded from myzaurus.com.
The network connection for the zaurus (in windows XP) is set to ip address 192.168.129.200/255.255.255.0.
The local area connection for my original internet connection is set to \"allow other computers to connect through this computers internet connection\"
I have disabled my pc firewall (zonealarm) for testing.
I have uninstalled and reinstalled and rebooted several times.
Now:
I can ping the zaurus (192.168.129.201) from my pc.
I can ping my pc connection (192.168.129.200) from the zaurus.
But:
I can\'t ping www.google.com - Host name lookup failure
I can\'t ping 216.239.37.99 (googles ip) - Network is unreachable
I can\'t ping 169.254.142.154 (my dhcp assigned ip address from my isp) - Network is unreachable
When I run intellisync the zaurus screen flips into \"communicating\" mode , but then I get a \"communication was aborted\" on the zaurus 6 times and \"an error occured while trying to connect\" on the pc then it all stops.
I would REALLY, REALLY, REALLY like some help with this. I just can\'t figure out what\'s going on and I know other people have this working.
(P.S. - you\'ll see this over on devnet as well)
-
I presume that you need to add some routes to your Windows box(es) so that they know how to get the packets where they should be going (and coming back from).
People have posted about this *extensively* on the devnet. I\'d take a look there before you do any throwing (I know you say you\'ll be posting there, try a search back in time a lot, now that you have connectivity the instructions will be the same for any of the Zs), and if you do decide to throw it, tell me where and when, I wasn\'t bad at cricket ;-)
Actually Windows might need ICS (internet connection sharing) to be turned on. Try a search for that on the devnet too.
Si
-
Actually Windows might need ICS (internet connection sharing) to be turned on. Try a search for that on the devnet too.
Yes, Windows will either need ICS enabled or it will need the Zaurus network device bridged to your existing LAN\'s NIC (if you\'re accessing the Internet from a LAN already). Otherwise, packets originating from the Z will just be dropped as you haven\'t instructed Windows to forward them.
My Zaurus is integrated perfectly into my LAN. I used the following commands to set it up:
echo "nameserver 192.168.1.1" > /etc/resolv.conf
ifconfig usbd0 192.168.1.200 broadcast 192.168.1.255 netmask 255.255.255.0
route add -net default gw 192.168.1.1 netmask 0.0.0.0 metric 1 usbd0
My ADSL router is 192.168.1.1 (also providing DNS), my XP box is 192.168.1.23 and my Zaurus is 192.168.1.200
Remember, with a configuration like mine, the Z is bridged to the NIC. If your Windows box has a standalone Internet connection then I\'d imagine ICS is your best option.
-
Well I tried adding the route and also the other commends mentioned, but still no go.
By the way. Do those commands write to files, or do I need to create a script to re-run them if I need to?
-
Check the zaurus has the same workgroup as your pc. I use pc IP address 192.168.129.1 Many of the duplicate log entries removed.
# pwd
/home/root/usr/lib/samba
# grep BYANDLARGE smb.conf
workgroup = BYANDLARGE
#
# pwd
/home/system/var/smb
# grep BYANDLARGE log.nmb
log.nmb: process_name_refresh_request: unicast name registration request received for name BYANDLARGE<1e> from IP 192.168.129.1 on subnet UNICAST_SUBNET.
log.nmb: Samba name server ZAURUS is now a local master browser for workgroup BYANDLARGE on subnet 192.168.129.201
log.nmb: process_name_refresh_request: unicast name registration request received for name BYANDLARGE<00> from IP 192.168.129.1 on subnet UNICAST_SUBNET.
log.nmb: process_name_registration_request: unicast name registration request received for name BYANDLARGE<1e> from IP 192.168.129.1 on subnet UNICAST_SUBNET.
Error - should be sent to WINS server
log.nmb: Samba name server ZAURUS is now a local master browser for workgroup BYANDLARGE on subnet 192.168.129.201
log.nmb: process_name_refresh_request: unicast name registration request received for name BYANDLARGE<1e> from IP 192.168.129.1 on subnet UNICAST_SUBNET.
#
-
I had my doubts about the above too, especially if your Z and the internet connection adaptor are on different subnets.
One thing that does work, though it takes your PC off the net while you\'re running it, is to bridge the connections between the two adaptors.
Control Panel ] Network Connections, then select both of the adaptors in question, right click and choose bridge.
You\'ll need to alter your Z\'s IP address, mask, DNS and gateway to that of your PC though before you do the bridging (actually you may be able to do it afterwards, but it\'s a pain without the keyboard).
The other thing to try is a proxy server running on your PC, that said I (think I) need one with nested proxies as I\'m hidden behind another proxy server at Uni - I\'ve also had this working.
Si
-
Also check this (DESKTOP is Windows pc name, BYANDLARGE is workgroup, ZAURUS is device name)
# pwd
/home/system/var/lock/samba
# cat nmbd.pid
3191
# cat smbd.pid
3189
# cat browse.dat
\"BYANDLARGE\" c0001000 \"\" \"BYANDLARGE\"
\"ZAURUS\" 40019a03 \"Samba 2.0.7-ja-2.2\" \"BYANDLARGE\"
\"DESKTOP\" 40011203 \"\" \"BYANDLARGE\"
#
-
On your PC with zaurus on and in cradle:
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
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.129.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.129.201
Primary WINS Server . . . . . . . : 192.168.129.201
Lease Obtained. . . . . . . . . . : Saturday, December 20, 2003 8:33:55 AM
Lease Expires . . . . . . . . . . : Saturday, December 20, 2003 8:43:55 AM
-
See if the servers are running.
# ps -ef |grep mbd
root 5865 1 0 16:47 ? 00:00:00 smbd -D -l /dev/null
root 5867 1 0 16:47 ? 00:00:00 nmbd -D -l /dev/null
root 6019 6016 1 16:58 ttya0 00:00:00 grep mbd
#
-
your pc has to route the packets of the Z as well:
in other words in cmd on Windows:
- route add 192.168.129.201 255.255.255.255 192.168.129.1
Could you also post the output of \"route print\" into the forum?
-
Wow. Lots of things to try. I appreciate all the help. It\'ll take a bit to try all these.
OK As it turns out my computer was in workgroup \"MSHOME\" and my Zaurus was in \"WORKGROUP\" All are \"MSHOME\" now.
OK. NOw for the \"route print\" outputs.
From my PC
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x90003 ...00 50 8d 51 22 68 ...... NVIDIA nForce MCP Networking Controller - Packet Scheduler Miniport
0x110005 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
0x140002 ...40 00 02 00 00 01 ...... SL series Ver3 (NDIS 5) - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 65.92.13.181 65.92.13.181 1
65.92.13.1 255.255.255.255 65.92.13.181 65.92.13.181 1
65.92.13.181 255.255.255.255 127.0.0.1 127.0.0.1 50
65.255.255.255 255.255.255.255 65.92.13.181 65.92.13.181 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 169.254.142.154 169.254.142.154 20
169.254.142.154 255.255.255.255 127.0.0.1 127.0.0.1 20
169.254.255.255 255.255.255.255 169.254.142.154 169.254.142.154 20
192.168.129.0 255.255.255.0 192.168.129.200 192.168.129.200 30
192.168.129.200 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.129.255 255.255.255.255 192.168.129.200 192.168.129.200 30
224.0.0.0 240.0.0.0 169.254.142.154 169.254.142.154 20
224.0.0.0 240.0.0.0 192.168.129.200 192.168.129.200 30
224.0.0.0 240.0.0.0 65.92.13.181 65.92.13.181 1
255.255.255.255 255.255.255.255 169.254.142.154 169.254.142.154 1
255.255.255.255 255.255.255.255 192.168.129.200 192.168.129.200 1
Default Gateway: 65.92.13.181
===========================================================================
Persistent Routes:
None
From my Zaurus
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
default 192.168.129.200 0.0.0.0 UG 0 0 0 usbd0
default 192.168.129.200 0.0.0.0 UG 1 0 0 usbd0
-
Check the zaurus has the same workgroup as your pc.
It was different, but now changed to MSHOME on both systems. Still no go.
/home/system/var/smb
# grep BYANDLARGE log.nmb
There is not log.nmb in /home/systrm/var/smb. In fact that directory is empty
-
/home/system/var/lock/samba
# cat nmbd.pid
3191
# cat smbd.pid
3189
nmbd.pid is 1404 smbd.pid is 1402 -- although this changes but always has delta = 2
# cat browse.dat
\"BYANDLARGE\" c0001000 \"\" \"BYANDLARGE\"
\"ZAURUS\" 40019a03 \"Samba 2.0.7-ja-2.2\" \"BYANDLARGE\"
\"DESKTOP\" 40011203 \"\" \"BYANDLARGE\"
#
\"MSHOME\" c0001000 \"ZAURUS\" \"MSHOME\"
\"ZAURUS 40049a03 \"Samba 2.0.7-ja-2.2 \"MSHOME\"
\"REGULAR\" 40011003 \"\" \"MSHOME\"
Looks similar to what you posted - REGULAR is the name of my XP box.
-
On your PC with zaurus on and in cradle:
C:]ipconfig /all
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : SL Series (NDIS 5)
Physical Address. . . . . . . . . : 40-00-02-00-00-01
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.129.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.129.201
Primary WINS Server . . . . . . . : 192.168.129.201
Mine is
Ethernet adapter Local Area Connection 7:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : SL series Ver3 (NDIS 5)
Physical Address. . . . . . . . . : 40-00-02-00-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.129.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 209.226.175.223
198.235.216.134
I\'m a little confused because your info seems to indicate you have the zaurus NDIS adapter set to dhcp on your windows box. I thought that the idea was to hard code the ip address so it would remain constant on the zaurus
-
See if the servers are running.
# ps -ef |grep mbd
root 5865 1 0 16:47 ? 00:00:00 smbd -D -l /dev/null
root 5867 1 0 16:47 ? 00:00:00 nmbd -D -l /dev/null
root 6019 6016 1 16:58 ttya0 00:00:00 grep mbd
#
funny all I get is the grep process.
root 1420 1152 2 18:29 ttya0 00:00:00 grep mbd
What are the two other processes that are running? This looks interesting, maybe something isn\'t starting up.
-
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
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.129.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.129.201
Primary WINS Server . . . . . . . : 192.168.129.201
After replying to this just above, I thought it might help to see the entire ipconfig from my pc. The reason is that I have a DSL modem so there are two components on the normal network connection config. The DSL connection has a differnet ip assigned than the network connection thing. Which should be used.
Windows IP Configuration
Host Name . . . . . . . . . . . . : regular
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce MCP Networking Contro
ler
Physical Address. . . . . . . . . : 00-50-8D-51-22-68
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Autoconfiguration IP Address. . . : 169.254.142.154
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
PPP adapter sympatico:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 65.92.13.181
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 65.92.13.181
DNS Servers . . . . . . . . . . . : 207.236.176.27
206.47.244.42
NetBIOS over Tcpip. . . . . . . . : Disabled
Ethernet adapter Local Area Connection 7:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : SL series Ver3 (NDIS 5)
Physical Address. . . . . . . . . : 40-00-02-00-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.129.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 209.226.175.223
198.235.216.134
Again, thanks for the help
-
I\'ve also made a few other changes as per another how-to
I created two files
/etc/hotplug/routeadd.sh
#!/bin/sh
route add default gw 192.168.0.1
/etc/hotplug/routedel.sh
#!/bin/sh
route del default
Added the following line at the end of the usbd_net_if_up() function in /etc/hotplug/usbd.func:
/etc/hotplug/routeadd.sh
Add the following line at the end of the usbd_net_if_down() function in /etc/hotplug/usbd.func:
/etc/hotplug/routedel.sh
-
Read about samba servers. They run on my zaurus.
http://us1.samba.org/samba/docs/man/nmbd.8.html (http://us1.samba.org/samba/docs/man/nmbd.8.html)
http://us1.samba.org/samba/docs/man/smbd.8.html (http://us1.samba.org/samba/docs/man/smbd.8.html)
you have the zaurus NDIS adapter set to dhcp on your windows box.
That is probably why nmbd and smbd are not running on your zaurus. I\'m not sure.
log.nmb: Samba name server ZAURUS is now a local master browser for workgroup BYANDLARGE on subnet 192.168.129.201
My suggestion is to use DHCP.
-
root 498 291 1 qtsamba -qcop /tmp/qcop-msg-qtsamba
root 532 1 0 /usr/sbin/dhcpd -cf /etc/hotplug/dhcpcd.conf -lf /var/state/dhcp/dhcpd-u
root 543 1 0 smbd -D -l /dev/null
root 550 1 0 nmbd -D -l /dev/null
More about samba on the zaurus
-
Ahhh - thanks oreo. I just ran nmbd and smbd and then did a sync and it worked. Very cool. Of course I am also using DHCP now. Time to fiddle and see what actually did it.
I\'ll have to add these to my ?? .profile ??
Would this be the best place to add these? Also, is there something else about the fact that these program were not running? for instance could I have not installed something?
Now I just need to get tcp/ip working
-
I searched for nmbd and smbd.
/home/etc/rc.d/init.d/samba
#!/bin/sh
case $1 in
\'start\')
if [ -f /var/lock/subsys/authenticate ] ; then
# echo samba locked. ]] /var/samba.log
exit 0;
fi
if [ -f /var/lock/samba/forbid ] ; then
rm -f /var/lock/samba/forbid
exit 0;
fi
hostname `cat /etc/HOSTNAME`
echo \"Starting smbd...\"
smbd -D -l /dev/null
echo \"Starting nmbd...\"
nmbd -D -l /dev/null
;;
\'stop\')
echo \"Stopping smbd and nmbd...\"
PID=`cat /var/lock/samba/smbd.pid`
kill $PID
PID=`cat /var/lock/samba/nmbd.pid`
kill $PID
rm -f /var/lock/samba/smbd.pid
rm -f /var/lock/samba/nmbd.pid
;;
*)
echo \"usage: smb {start|stop}\"
;;
esac
#
-
Interesting - had to be using dhcp - when i changed it back to hard ip address it failed again.
Now I\'ve got to go back over what I\'ve done so I know how to get this working if I ever change roms.
-
samba start
look at:
/home/etc/hotplug/net.agent
/home/etc/hotplug/usbd.func
-
In summary,
These processes start when the powered zaurus is placed on the cradle connected to the active USB port of a Windows XP PC and the usbd0 interface starts up.
root 346 2 0 03:55 qtsamba -qcop /tmp/qcop-msg-qtsamba
root 378 1 0 03:55 /usr/sbin/dhcpd -cf /etc/hotplug/dhcpcd.conf -lf /var/state/dhcp/dhcpd-u
root 383 1 0 03:55 smbd -D -l /dev/null
root 385 1 0 03:55 nmbd -D -l /dev/null
smbd and nmbd are started in /home/etc/rc.d/init.d/samba
where samba start is a call from /home/etc/hotplug/net.agent
/etc/rc.d/init.d/samba start
echo Start samba. >> /var/samba.log
dhcpd starts in /home/etc/hotplug/usbd.func
/usr/sbin/dhcpd -cf $dhcpd_conf -lf $dhcpd_leases -pf $dhcpd_pid usbd0 > /dev/null 2>&1
---------------------------------------------------
I\'ll have to add these to my ?? .profile ?? Would this be the best place to add these? Also, is there something else about the fact that these program were not running?
These events start when the usbd0 interface starts with the factory rom. No changes are needed. I think there is value in going back to the default system files, using DHCP and setting the workgroup. The samba files should start when usbd0 starts.
-
Hmm, interesting. I may have broken the startup of nmbd and smbd when I was doing the various mods to get this stuff working.
I\'m going to spend some time today figuring out what I did and then trying to apply only those bits that I think will make my sync work. (NAND backup first of course) I\'m thinking that my internet access problem might be similar to the sync solution. If I use DHCP on the SL NDIS network adapter, perhaps I need to use an ip address in the same range for the zaurus. Too bad PC link doesn\'t use dhcp. A lot of instructions I saw seem to be from people behind routers that use dhcp and give out addresses in the 192.168.0.x range so maybe thats why the default ip address works for them.
I feel I\'m getting closer. Thanks guys.
-
In summary continued,
In Windows XP these ports open and remain open when interface usbd0 starts.
svchost.exe 192.168.129.1 520 UDP
svchost.exe 192.168.129.1 1900 UDP
svchost.exe 192.168.129.1 123 UDP
system 192.168.129.1 137 UDP
system 192.168.129.1 138 UDP
system 192.168.129.1 139 UDP
When usbd0 stops, only this port remains open and stays open all the time. Must be that the Sharp drivers use the fixed address 192.168.129.1
svchost.exe 192.168.129.1 520 UDP
SL Series (NDIS 5) Network Adapter
C:WINDOWSSystem32DRIVERSslz1nd5.sys
SL Series (WDM) Universal Serial Bus controller
C:WINDOWSSystem32DRIVERSslz1cr.sys
C:WINDOWSSystem32DRIVERSslz1unic.sys
C:WINDOWSSystem32DRIVERSslz1wh.sys
I\'m thinking that my internet access problem might be similar to the sync solution. If I use DHCP on the SL NDIS network adapter, perhaps I need to use an ip address in the same range for the zaurus.
Yes. The USB address is 192.168.129.201. The zaurus server assigns 192.168.129.1 to the PC USB port.
On the zaurus in PC Link I use
Hostname zaurus
USB IP 195.168.129.201
USB - TCP (advanced)
On the PC in Zaurus Manager I use
Connections USB - TCP (advanced)
Hostname (for TCP/IP) zaurus
Host IP (for TCP/IP) 192.168.129.1
Passcode Settings Remember Passcode
I do use a router but I use fixed network IP addresses, not DHCP for the network. However, the network addresses are in the same subnet as the USB port (and of course the same workgroup). The SL NDIS IP address, I guess, comes from the zaurus server.
-
typo:
USB IP 195.168.129.201 should be
USB IP 192.168.129.201
-
On the zaurus in PC Link I use
Hostname zaurus
USB IP 195.168.129.201
USB - TCP (advanced)
On the PC in Zaurus Manager I use
Connections USB - TCP (advanced)
Hostname (for TCP/IP) zaurus
Host IP (for TCP/IP) 192.168.129.1
Passcode Settings Remember Passcode
Hold on a minute. You are setting the ip for the zaurus to 192.168.129.201 on the zaurus but 192.168.129.1 in zaurus manager. I thought that those should both be the same and that in zaurus manager you are basically telling the zaurus manager what ip the zaurus is configured at. What is the thinking there?
-
another typo:
Host IP (for TCP/IP) 192.168.129.1 should be
Host IP (for TCP/IP) 192.168.129.201
-
Process LocalIP LocalPort State Protocol
System 192.168.129.1 139 LISTEN TCP
A TCP port, not UDP. Sorry for the typo mistakes.
-
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?).
-
During synchronization, pclink2 runs in Windows.
SNPLCEXE.EXE 192.168.129.1 192.168.129.201 1090 ESTABLISHED TCP C:Program FilesCommon FilessharpSLSSPCLINK2SNPLCEXE.EXE
-
If routing inet via a windows machine to the Z, try out:
http://www.youngzsoft.net/ccproxy/ (http://www.youngzsoft.net/ccproxy/)
to setup proxy traffic between the 2 machines.
has worked for me.
- Devz
-
If routing inet via a windows machine to the Z, try out:
http://www.youngzsoft.net/ccproxy/ (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.
-
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.
-
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
-
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.
-
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.
-
I haven\'t seen this in this thread, but is there a chance that the windows firewall is on?
-
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.
-
(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?
-
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 (http://www.pingplotter.com/download.html)
-
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
-
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)
#
-
Have you seen this from http://www.ruault.com/Zaurus/ethernet-over...-usb-howto.html (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.
-
From http://humphrey.applitec.com/zaurus/index.html (http://humphrey.applitec.com/zaurus/index.html)
. Edit /etc/resolv.conf and replace the 127.0.0.1 with your providers
nameserver entry.
2. Edit /etc/hotplug/usbdnet.conf and add a line GATEWAY=192.168.129.200
3. Edit /etc/hotplug/usbd.func and after
ifconfig usbd0 $IP netmask $NETMASK
add the following three lines:
if [ \"$GATEWAY\" != \"\" ]; then
route add default gw $GATEWAY
fi
So now you just plug it in and out and always have net and internet with
it...
-
also from http://humphrey.applitec.com/zaurus/index.html (http://humphrey.applitec.com/zaurus/index.html)
Now you will probably want to have the Z talk to the Internet. Here is what I had to do to get this all working. First you need to add routes on the Z. You will need to do the following:
route add -host 192.168.129.1 dev usbd0
route add -host 192.168.129.201 dev usbd0
route add default gw 192.168.129.1 dev usbd0
Found this at Zaurus Devnet:
set the Z to the same IP address as the PC and bridge the ethernet and USB connections on the PC in Control Panel]Network Connections.
-
Wow, Thanks oreo. I won\'t have a chance to try these all out right away, but I\'ll try them as soon as festivities allow. I appreciate the trouble you\'ve gone through and I\'ll get back with how things have worked out.
P.S. Merry christmas
-
P.S. Merry christmas
Merry Christmas. Good luck.
-
This looks promising.
USB internet connection (http://www.zaurus.com/dev/board/index.php?showtopic=3308&st=0)
instructions on how to setup your Zaurus to browse the Internet from the cradle using Windows 2000 (http://tada.zaurii.net/network/proxy/index.html)
WinXP USB Internet HOWTO, set up your XP/zaurus for USB internet!
(http://www.zaurus.com/dev/board/index.php?showtopic=4557&hl=usb+internet)
-
This is where my zaurus records network information that may be related to USB TCP/IP. The system logs this information automatically.
# pwd
/home/etc/hotplug
# cat dhcpcd.conf
#
subnet 192.168.129.0 netmask 255.255.255.0 {
range 192.168.129.1 192.168.129.1;
option netbios-name-servers 192.168.129.201;
option netbios-node-type 8;
default-lease-time 600;
max-lease-time 7200;
}
# cat usbdnet.conf
IP=192.168.129.201
NETMASK=255.255.255.0
DHCPS=yes
DHCPC=no
#
This is where lease time is stored.
# pwd
/home/system/var/state/dhcp
# cat dhcpd-usbd0.leases
lease 192.168.129.1 {
starts 4 2003/12/25 9:05:26;
ends 4 2003/12/25 9:15:26;
hardware ethernet 40:00:02:00:00:01;
uid 01:40:00:02:00:00:01;
client-hostname \"Desktop\";
}
-
Well, I\'ve tried everything suggested in this thread and it still doesn\'t work. I\'ve got sync working to outlook but no internet access.
I\'m wondering if there is something different about the 860 that makes it not work. It seems I\'ve gone around and around a bunch of different instructions - all variations on mostly the same configuration files / settings.
Anyway - I\'m too weary of the process. Maybe I\'ll try it again in a few days. I may just get a wireless router and I\'ll just do wireless for myself at this point. Unfortuately this means I won\'t be able to build the application that I wanted to. At least until things get better integrated into the operating system. There is no way I will be able to recommend that clients buy zaurus pda\'s without this process being a lot easier.
Thanks for the effort oreo. Too bad it didn\'t work out.