OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: Prefect47 on February 18, 2004, 04:38:59 am

Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 18, 2004, 04:38:59 am
Got my AirCable USB yesterday (<1week delivery from the states to Sweden  ) and I\'ve confirmed that I have some sort of serial communication going on. Nothing specific since HyperTerminal is a piece of crap...

To anyone who has one of these running against a Windows machine, like w2k, how do you set it up to connect to the internet through that machine? ALso, how do I get it to act like a USB cable and not a serial (/dev/ttyS0) connection?
Title: Connect to internet with AirCable USB?
Post by: corky on February 18, 2004, 04:44:24 am
Try my howto http://www.zaurususergroup.com/modules.php...0Serial%20Setup (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Air%20Cable%20Serial%20Setup)
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 18, 2004, 05:50:32 am
Quick reply

I tried to follow the guides. I have a serial connection on w2k/COM3 that accepts 192.168.129.1-192.168.129.2 and the Z is set to 192.168.129.1 in \"PC Link\". However, I don\'t have a /etc/ppp/pcdial script... and ppp-on says \"can\'t find ./SETVAR\".

My Z is a C860 that runt TkROM and sukoshi kernel, BTW.
Title: Connect to internet with AirCable USB?
Post by: corky on February 18, 2004, 07:13:29 am
thats for the sl5500, sl5600 I don\'t know if that would work with the C860 (should post what Z you have in your question). the script is cut and paste from the howto and ppp-on should be in /etc/ppp/. Sorry I can\'t help more.
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 18, 2004, 08:04:22 am
OK, I\'ve done the \"Connecting to Win2K from the Z\" HOWTO and now have the pcdial and dialpc files, and I have setup w2k with the address range 192.168.129.1-255. When I run \"init 3\" I see the aircable connecting and going to \"blue\" mode.

I then run /etc/ppp/pcdial and get a \"Device ttyS0 is locked by pid N\" where N is the pid of pppd. Absolutely nothing else happens, not on the Z and not on w2k.

(BTW, maybe unrelated but isn\'t there supposed to be an usbnet module loaded somewhere at this point? modprobe/insmod can\'t find that one on my Z. Or is that only on a Linux *host*?)
Title: Connect to internet with AirCable USB?
Post by: corky on February 18, 2004, 08:34:57 am
The \"init 3\" is for the sl5500 because ppp does not start automatily. I have no idea about the c860 . try searching the forum.
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 18, 2004, 09:05:34 am
Some progress: I noticed that I don\'t have an /etc/chatscripts folder, nor do I have an /etc/ppp/chatscripts/win2k file. Could you post your file here?
Title: Connect to internet with AirCable USB?
Post by: corky on February 18, 2004, 09:30:36 am
Here it is I hope it helps

----------------------code----------------------
# TIMEOUT 360
\"\" \"CLIENTCLIENTc\"
\"SERVER\" \"SERVERc\"
------------------------end code------------------
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 18, 2004, 11:27:33 am
Thanks for the file.

My problems seems to be that pppd is started by \"init 3\" and then runs all the time and has a lock on /dev/ttyS0, which prevents the \"dialling\".
Title: Connect to internet with AirCable USB?
Post by: corky on February 18, 2004, 12:28:35 pm
Well then reboot and don\'t run init 3.
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 19, 2004, 03:14:46 am
So init 3 was just for testing after the first set-up?

Now I\'ve got the exact files and configs from the HOWTO, and pcdial starts ok. But after about a minute (or when I manually run ppp-off) it says \"Connect script failed\", probably because w2k doesn\'t respond.

I have the virtual COM3 port with a \"cable between computers\", 115200 with hardware flow control, 8/none/1.

I also have the Incoming Connections network entry on w2k, but I can\'t see if it\'s actually listening on COM3. Is there a way to do this?
Title: Connect to internet with AirCable USB?
Post by: Prefect47 on February 19, 2004, 03:43:39 am
Like most windows problems, this one was solved by UPDATING THE DRIVERS. Apparently, the drivers that were included on the CD were the 1.00.2115 ones from december 2002!

Now I have a working serial connection to w2k. Next step is to get w2k to let the Z out on the internet.  8)
Title: Connect to internet with AirCable USB?
Post by: corky on February 19, 2004, 04:18:15 am
You are connecting to win2k from the Z, the init 3 is for connecting to the Z from win2k. I glad you got it working.