![]() |
Show 20 posts from this thread on one page |
VisorCentral.com (http://discussion.visorcentral.com/vcforum/index.php)
- How To / Troubleshooting (http://discussion.visorcentral.com/vcforum/forumdisplay.php?forumid=2)
-- Visor Deluxe ppp against Linux (http://discussion.visorcentral.com/vcforum/showthread.php?threadid=17622)
Visor Deluxe ppp against Linux
Hi there,
I am trying to get My visor to connect to PPPD,
i have tried the following different setups :
Using linkdirect (Visor w/serial cable) speed 19200 against pppd.
i get the following error. And no connection show up in pppd.
I get the following error : Error PPP Timeout (0x1231)
I also have put LinkUsb into my visor, but i can't figure out how to bind pppd to /dev/ttyUSB0
anyone has a clue ?
It's impossible. I and many others have tried. the visor deluxe will simply not make a PPP connection over a serial cradle.
Some people have made it work with IRDA and USB cradles and linux though.
__________________
-thorin
I have a webcomic. You should read it, or I may do something rash. <b><a href=http://driveby.keenspace.com/>Drive-by Loitering</a></b> is updated every monday, wednesday and friday.
<!img src=http://www.frontfly.com/myrouter/vcsig2.gif alt="Soundsgood is too elite for the punks."><img src=http://www.frontfly.com/vcsig.gif ><!img src=http://www.frontfly.com/myrouter/vcsig2.gif alt="Soundsgood is too elite for the punks.">
Do you have any help with setting upp pppd listening on the usb port ttyUSB0 ?
I have the visor handspring kernel module built into the kernel.
when i bind pppd to the ttyusb0 i see that it loads the kernel driver
and detects the handspring, but i always get ppp timeout when i connect to it.
Maybe it's time to buy myself a new visor model or a palm vx instead which can upgrade the os.
quote:
Originally posted by zep_
Do you have any help with setting upp pppd listening on the usb port ttyUSB0 ?
I have the visor handspring kernel module built into the kernel.
when i bind pppd to the ttyusb0 i see that it loads the kernel driver
and detects the handspring, but i always get ppp timeout when i connect to it.
Hi m8, i have been trying pppd with this line :
/usr/sbin/pppd /dev/ttyUSB0 57600 192.168.0.9:192.168.0.44 proxyarp persist local noauth silent nodetach ms-dns 192.168.0.200
The 'weird' part is that i have to start coldsync, and then start pppd and then shut down coldsync to be able to bind to the usb port (with the handspring driver resident)
coldsync -p /dev/ttyUSB1
I always get ppp timeout when i try via usb or serial cable, you mention that it's possible to use irda ? how do i set that up, but first i would love to get the usb / serial ppp connection fixed.
On the palm, i am using linkusb/directlink, phonenumber set to '00'.
This is the driver in the kernel, which loads when i use my visor on usb :
/var/log/messages.1:Aug 17 05:53:13 zep kernel: visor.c: Handspring Visor: Number of ports: 2
/var/log/messages.1:Aug 17 05:53:13 zep kernel: visor.c: Handspring Visor: port 1, is for Generic use and is bound to ttyUSB0
/var/log/messages.1:Aug 17 05:53:13 zep kernel: visor.c: Handspring Visor: port 2, is for HotSync use and is bound to ttyUSB1
with usb :
/var/log/messages.1:Aug 17 05:56:25 zep pppd[9152]: pppd 2.4.0 started by root, uid 0
/var/log/messages.1:Aug 17 05:56:25 zep pppd[9152]: Using interface ppp0
/var/log/messages.1:Aug 17 05:56:25 zep pppd[9152]: Connect: ppp0 <--> /dev/ttyUSB1
/var/log/messages.1:Aug 17 05:56:55 zep pppd[9152]: LCP: timeout sending Config-Requests
/var/log/messages.1:Aug 17 05:56:55 zep pppd[9152]: Connection terminated.
/var/log/messages.1:Aug 17 05:56:55 zep pppd[9152]: Exit.
with serial :
/var/log/messages.1:Aug 17 05:35:42 zep pppd[8615]: using the noauth option requires root privilege
/var/log/messages.1:Aug 17 05:35:50 zep pppd[8642]: pppd 2.4.0 started by root, uid 0
/var/log/messages.1:Aug 17 05:35:50 zep pppd[8642]: Using interface ppp0
/var/log/messages.1:Aug 17 05:35:50 zep pppd[8642]: Connect: ppp0 <--> /dev/ttyS0
/var/log/messages.1:Aug 17 05:36:20 zep pppd[8642]: LCP: timeout sending Config-Requests
/var/log/messages.1:Aug 17 05:38:30 zep pppd[8642]: Terminating on signal 15.
/var/log/messages.1:Aug 17 05:38:30 zep pppd[8642]: Connection terminated.
Your pppd command looks pretty similar to mine. Mine is a variant of the one provided at
http://www.calvin.edu/~rvbijl39/visor/beta/x215.html
but with different IP addresses. I have no idea what many of those options do, but they might make a difference. One potential gotcha that might relate to the weirdness you mention is that you have to initiate the PPP connection on the Visor side before you execute the pppd command on the Linux side.
Hope these things help. Good luck!
Aug 21 05:42:38 zep kernel: hub.c: USB new device connect on bus1/1, assigned device number 7
Aug 21 05:42:38 zep kernel: usbserial.c: Handspring Visor converter detected
Aug 21 05:42:38 zep kernel: visor.c: Handspring Visor: Number of ports: 2
Aug 21 05:42:38 zep kernel: visor.c: Handspring Visor: port 1, is for Generic use and is bound to ttyUSB0
Aug 21 05:42:38 zep kernel: visor.c: Handspring Visor: port 2, is for Generic use and is bound to ttyUSB1
Aug 21 05:42:38 zep kernel: usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Aug 21 05:42:38 zep kernel: usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
Aug 21 05:42:39 zep /etc/hotplug/usb.agent: ... no drivers for USB product 82d/100/100
Aug 21 05:43:19 zep kernel: usb.c: USB disconnect on device 7
Aug 21 05:43:19 zep kernel: usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
Aug 21 05:43:19 zep kernel: usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
I tried after the page you posted, i get the following in the /var/log/messages
i still get pppd timeout, this is really weird i think!
i want to be a geeky as i can be, and without having a web server on my palm i cant sleep at night 
Here's the dump of my connection messages:
Aug 21 09:31:08 linbox kernel: usb.c: USB new device connect, assigned device nu
mber 2
Aug 21 09:31:08 linbox kernel: usbserial.c: Handspring Visor converter detected
Aug 21 09:31:08 linbox kernel: visor.c: Handspring Visor: Number of ports: 2
Aug 21 09:31:08 linbox kernel: visor.c: Handspring Visor: port 1, is for Generic
use and is bound to ttyUSB0
Aug 21 09:31:08 linbox kernel: visor.c: Handspring Visor: port 2, is for Generic
use and is bound to ttyUSB1
Aug 21 09:31:08 linbox kernel: usbserial.c: Handspring Visor converter now attac
hed to ttyUSB0 (or usb/tts/0 for devfs)
Aug 21 09:31:08 linbox kernel: usbserial.c: Handspring Visor converter now attac
hed to ttyUSB1 (or usb/tts/1 for devfs)
Aug 21 09:31:12 linbox kernel: CSLIP: code copyright 1989 Regents of the Univers
ity of California
Aug 21 09:31:12 linbox kernel: PPP: version 2.3.7 (demand dialling)
Aug 21 09:31:12 linbox kernel: PPP line discipline registered.
Aug 21 09:31:13 linbox kernel: registered device ppp0
Aug 21 09:31:13 linbox pppd[1409]: pppd 2.3.7 started by root, uid 0
Aug 21 09:31:13 linbox pppd[1409]: Using interface ppp0
Aug 21 09:31:13 linbox pppd[1409]: Connect: ppp0 <--> /dev/ttyUSB0
Aug 21 09:31:17 linbox pppd[1409]: Cannot determine ethernet address for proxy A
RP
Aug 21 09:31:17 linbox pppd[1409]: local IP address 192.168.3.1
Aug 21 09:31:17 linbox pppd[1409]: remote IP address 192.168.3.2
My pppd command is:
/usr/sbin/pppd /dev/ttyUSB0 230400 192.168.3.1:192.168.3.2 local \
ms-dns 192.168.1.1 netmask 255.255.255.0 persist passive noauth debug \
nodeflate nobsdcomp noccp nopcomp proxyarp
I'm running Mandrake 7.0 with kernel 2.2.17-21mdk which has the USB backport. One thing I've noticed from your message dumps is that ppp appears to be binding ttyUSB1 instead of ttyUSB0. This might make a difference depending on what type of Visor you're using.
Again, good luck!
| All times are GMT. The time now is 02:27 AM. | Show 20 posts from this thread on one page |
Powered by: vBulletin Version 2.3.4
Copyright © Jelsoft Enterprises Limited 2000 - 2016.