
Zaurus DevNet | ![]() ![]() ![]() ![]() ![]() |
Welcome Guest ( Log In | Register ) |
Pages: (3) 1 [2] 3 ( Go to first unread post ) | ![]() ![]() ![]() |
tumnus |
Posted: Jun 2 2003, 11:21
PM
| ||||
![]() Advanced Member ![]() ![]() ![]() Group: Developer Posts: 1249 Member No.: 176 Joined: 13-December 02 ![]() |
You can specify more than one interface in that field. Just list them with spaces in between. e.g. eth0 usb0 irda0 See here for more: http://samba.mirror.ac.uk/samba/docs/man/smb.conf.5.html#INTERFACES -------------------- Search the ZUG FAQ & Howtos -- UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 8.1 Pro, Windows XP Home Socket Bluetooth CF Card (Rev F), Viking 64MB MMC Card, Crucial 128MB CF Card, Palm Tungsten T Stylus, Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender | ||||
vman |
Posted: Jun 4 2003, 07:23
PM
|
Advanced Member ![]() ![]() ![]() Group: Developer Posts: 125 Member No.: 6792 Joined: 24-April 03 ![]() |
My problem: My Z is assigned a static ip address by the network admin and I can't change it. My Windoze XP Pro box is assigned a static ip address and I can't change it. Note: 192.168.1.1 is not used on this network Solution: 1.) Edited /home/root/usr/lib/smb.conf by adding eth0 to the usbd0 parameter and change the workgroup parameter to match my workgroup 2.) Rename /etc/rc.d/init.d/samba to /etc/rc.d/init.d/samba.orig (if you skip this step, your Z will connect to the network automatically as soon as you insert the network card and will not disconnect until you suspend the Z and pull the network card out-while suspended- and then un-suspend and close the PC Link application, not good if you have to connect to two different networks like I do.) 3.) Add the following lines to the end of /etc/inetd.conf (back up your inetd.conf file first) netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/sbin/nmbd 4.) Setup pc-link on the zaurus and zaurus manager on the pc to use USB-TCP/IP and the IP address that you want to use. eg 192.168.1.XX 5.) setup your wireless card on the zaurus to use the same IP address on the zaurus ie 192.168.1.XX 6.) Setup the pc network card to use the same ip address with .1 as the final octet ie 192.168.1.1; In Windows XP you can assign two ip addresses to the same network card. (This worked for me. My windows box has ip addresses 192.168.1.YY and 192.168.1.1 both assigned to the same network card.) 7.) Reboot the z or Run the command /etc/rc.d/init.d/inet restart (just in case, I did both) These are the steps I used and sync and samba seem to work just fine; at least I haven't had any problems. I have not had a chance to see if samba or cradle sync work on my other network. (I will update this when I have a chance to check that) Comments, flames, destructive criticism, any feedback welcome ![]() V-Man -------------------- SL-5500 Sharp 3.10 ROM Pockettop Keyboard NetGear MA701 WiFi Various CF & SD/MMC cards Various homebuilt battery boxes and power supplies |
vman |
Posted: Jun 5 2003, 04:14
PM
|
Advanced Member ![]() ![]() ![]() Group: Developer Posts: 125 Member No.: 6792 Joined: 24-April 03 ![]() |
Update: Home network: Sync to WinXP Pro laptop. IP addresses assigned by DHCP, XXX.XXX.XXX.1 is used by the DHCP server. I am too lazy to change my home network around as I will leave the cradle at home and use it to sync. (Use cradle) you must change the PC Link app on the Z back to "USB - I/O (default)" to use the cradle to sync. No other network settings were changed. Obviously, samba will not work as both networks use different workgroups. I could easily change the workgroups to match, but I don't like the name of my work workgroup. I will just make a script to change out the samba configuration files when I need samba at home (don't need it often, as at home I use card readers). Steps: 1. Have files smb.work smb.home and smb.conf 2. At home run script similiar to: rm smb.conf cp smb.home smb.conf exit 3. At work run script similiar to: rm smb.conf cp smb.work smb.conf exit 4. When inserting network card, it automatically tries to connect to work network. Tell it to disconnect from work network and connect to home network. It seems to work fine. If anyone knows what I screwed up to make this connect automatically, let me know. There is another thread where someone is trying to make their Z connect automatically and can't. Go figure; I don't want it to and it does, they want it to and it won't ![]() V-Man -------------------- SL-5500 Sharp 3.10 ROM Pockettop Keyboard NetGear MA701 WiFi Various CF & SD/MMC cards Various homebuilt battery boxes and power supplies |
chas |
![]() |
Newbie ![]() Group: User Posts: 4 Member No.: 7550 Joined: 15-May 03 ![]() |
![]() Thought I'd give a little feedback to help others along. Followed vman's advice and added eth0 to the devices line of smb.conf Added the netbios lines to inetd.conf Had just a few problems changing the IP address. I added a second IP address for my PC under Windoze XP, no prob. I added 192.168.1.1 Changed the Zaurus to static IP at 192.168.1.2 . At this point Opera and email stopped working. Of course, different subnet. Changed the router's mask to 255.255.0.0 to allow for two subnets and it worked. (Anyone know if this is dangerous on my little home network? Suppose I could make it 255.255.252.0 for these purposes but don't want to mess with a good thing.) Rebooted and sync worked without a hitch. Same for all the Zaurus utilities. But I couldn't detect the Samba shares on my PC, something to work on later. One last thought, perhaps off-topic. Does the standard backup/restore backup these files? I fear having to redo all of these changes after a reset. /etc and /usr don't seem to be in the backup lists I get. Chas |
gkujawa |
Posted: Jun 13 2003, 06:18
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 174 Member No.: 6184 Joined: 11-April 03 ![]() |
I have set things up as noted in this thread, but
receive a Communication was aborted error on the Z when I initiate
synching on my PC end. The Z indicates that synching is at least being
attempted but that error pops up repeatedly until my PC reports the
failure. The PC Link on the Z and Zaurus Manager on my PC are both set for the correct IP address (the wireless card on my Z's). I know Samba is working because I mount my Z as a network share and regularly move files back and forth. I have the inetd.conf edited so that it starts up with the Z each time like this thread mentions. I edited the comset.ini on the PC so that it looks for USB/TCP-IP as the connection type. And I have the PC Link set for USB/TCP-IP as well. Any suggestions? Is there a log file on the Z I can reference to troubleshoot this further? |
gkujawa |
Posted: Jun 13 2003, 06:44
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 174 Member No.: 6184 Joined: 11-April 03 ![]() |
I checked the smb and nmb log files and didn't see
anything there. Not sure about the sync log's location... |
jdaley |
Posted: Jun 13 2003, 10:21
AM
|
Member ![]() ![]() Group: Developer Posts: 17 Member No.: 515 Joined: 18-December 02 ![]() |
I have seen this error when the pc end of the link is
not configured with the .1 or if appropriate the .2 octet. At the moment I
believe the intellisync software has been hardcoded to use the .1/.2 so it
simply is not possible to use anything else - one might argue that this is
crazy but .... The zaurus sync mechanism appears to use samba vi qtsamba - so to get error logs you need to play with these - if you look at qpe.sh and at smb.conf you'll see outputs piped to /dev/null If you change these so that they are pointing at files (qpe.sh on the 3.1rom has a commented out line pointing at a suitable log file - just swop that for the real thing) then you begin to get some more information - alternatively add logfile = to smb.conf To get more you need to increase the debug level on samba startup - add debug level = to smb.conf 0 is no debug, 9 is more than you need |
gkujawa |
Posted: Jun 13 2003, 10:44
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 174 Member No.: 6184 Joined: 11-April 03 ![]() |
Thanks for the tips. I did turn on logging earlier
today but didn't see much. I will check to ensure the PC end is configured
for a .1 address in the final octet. It's strange that the connection is
initiated because I see acknowledgement on the Z. But the PC end just
hangs so the Intellisync hardcoding probably is the deal. I will try it out and let you know. Thanks again! ![]() |
gkujawa |
Posted: Jun 13 2003, 10:56
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 174 Member No.: 6184 Joined: 11-April 03 ![]() |
I changed my PC to end in a .2 for the final octet.
the .1 ending is in use by my company's router so I couldn't use that. I
still received the same error message. Oh well. I guess I will wait it out until I can configure something more flexible for WLAN synching. I know OZ supports it right out of the box but it's missing a couple of things for what I am trying to bundle together for our sales force (e.g. - quality audio subsystem for WVoIP). Thanks anyway! |
vman |
Posted: Jun 13 2003, 08:50
PM
| ||||
Advanced Member ![]() ![]() ![]() Group: Developer Posts: 125 Member No.: 6792 Joined: 24-April 03 ![]() |
This is exactly what is happening. I was able to duplicate the problem when I was setting wireless syncing up. I do not know of a work around at this time. On my work network, the .1 octect was not in use so I was very lucky. ![]() ![]() V-Man -------------------- SL-5500 Sharp 3.10 ROM Pockettop Keyboard NetGear MA701 WiFi Various CF & SD/MMC cards Various homebuilt battery boxes and power supplies | ||||
jdaley |
Posted: Jun 14 2003, 11:16
AM
| ||
Member ![]() ![]() Group: Developer Posts: 17 Member No.: 515 Joined: 18-December 02 ![]() |
There is no problem having wirless and usb set up the same way/same address - as long as you don't try to use them both at the same time - thats how I use mine I suspect this is just a bit of lazy programming - (there's no excuse for hard coding anything in this arena) the issue being that Sharp are presumably trying to keep sync setup simple whilst catering for some variability in networks - this whole sync area needs to be opened up, preferably to config files, if the unit is to be used in the 'business' market. To be able to consider this for any sort of reasonable deployment over and above single user the thing needs a) ability to set the sync transport layer (usb, eth, ir, flat file etc) b) ability to set the ip addresses/mask/routing for each end of the communication c) ability to do without the docking station Its frustrating to find that its so nearly there then hit a showstopper that is so trivial. (Sharp aren't alone in this, I've had equivalent fun with CE et al) If anyone is going to deploy more than a handful then there is no way they want the hassle of setting them up individually - using config files would at least permit a 'one step' configuration for a specific user | ||
amdonati |
Posted: Jun 15 2003, 11:31
AM
|
Advanced Member ![]() ![]() ![]() Group: User Posts: 129 Member No.: 2763 Joined: 18-January 03 ![]() |
Hi, I am having a similar stop but in a different environment. I am trying to sync my outlook running in win4lin with my Z. As win4lin and the Z are on the same subnetwork, with my linux box acting as a dhcp and netting server, with the old rom and with OZ I was able to do sync, even if with all the known problems ![]() For starting the sync I had to manually change the communication settings in the Zaurus manager (to USB-TCP/IP ) because, as it could not find the Zaurus in the craddle (as win4lin cannot access USB devices), was not allowing me to change setting. But, as the .1 final octet is used by the linux box, win4lin has a different octet (.251), and therefore the sync starts but immediately stops with the (in)famous communication was aborted message I really hope a solution can be quickly found to this... ![]() Ciao, Adalberto -------------------- Zaurus SL-5500 with TKC 1.0 ROM Socket CF BT card (Rev. F) Socket CF Lan card 64 and 256 Mb SD card 32 mb CF card Gentoo Linux 1.4 - WinXP |
gkujawa |
Posted: Jun 16 2003, 04:28
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 174 Member No.: 6184 Joined: 11-April 03 ![]() |
The sync issue really is something that should be
cleaned up if this device is to be used in the general PDA user
population. Being able to seamlessly synch via USB, WLAN, IRDA, etc. would
be a big plus. That would set the Z head and shoulders above some of the
competition that doesn't have as many options. The OZ ROM's have that advantage for sure. Their synching options are more wide open and don't have some of the hard-coded limitations as the Sharp ROM's have. Only being able to synch if IP addresses end in a .1 or .2 is really short-sighted. ![]() |
2devnull |
Posted: Oct 23 2003, 06:23
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: Developer Posts: 89 Member No.: 10573 Joined: 3-September 03 ![]() |
This did not work for me. I have a SL-5600 but I keep
getting the "Please check your TCP/IP connection" error message when I try
to connect the Z to the PC wireless NIC using ad-hoc. PLease let me know
how you got this to work. Does it need Intellisync, I was trying to use
Qtopia Desktop 1.5.4 (Sharp standard) throught Zaurus Manager on the PC.
Any help is greatly appreciated. -------------------- Regards, 2>/dev/null SL-C860 | Socket Low Powered Wi-Fi | Sandisk 256 MB SD | Lexar 256 MB SD | Smart 64 MB SD | CF Camera CE-AG06 | Serial IO USB Cable | Tungsten T Stylus | |
zbones |
Posted: Oct 24 2003, 10:49
AM
|
![]() Advanced Member ![]() ![]() ![]() Group: User Posts: 101 Member No.: 10041 Joined: 7-August 03 ![]() |
I use intellisync. I did spend a couple of nights trying to get it to work with my current ip address, it would connect to the zaurus, the zaurus would display the "communicating" screen, but would then fail. eventually I changed my ip's to 10.0.0.1 for the pc, and 10.0.0.100 for the zaurus, and hay presto, it worked. does the zurus offer any signs that it has received a connection? -------------------- slc760. tkcrom v2.51, javaboy kernel. sl5500, tkcrom v1.0, 128mb sandisk cf, 512mb kingston cf, sandisk 256mb SD Will not work as ext2, fine as fat. Lexar 256mb SD, works fine both as fat and ext2. Buffalo WLI-CF-S11G wireless card. haicom 303mmf gps card works as serial and cf. winblows xp, cos I have to, Mandrake 9.1 linux, cos I want to! |
![]() |
![]() ![]() ![]() |