news | articles | reviews | software | modules | accessories | discussion | faq | mobile | store
VisorCentral.com >> Discussion >> Visor Related >> How To / Troubleshooting
Visor Deluxe ppp against Linux

Post a New Thread | Post A Reply

  Last Thread   Next Thread
Author
Topic: Visor Deluxe ppp against Linux    
zep_
Member

Registered: Aug 2001
Location:
Posts: 4

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 ?

zep_ is offline Old Post 08-16-2001 09:28 AM
Click Here to See the Profile for zep_ Edit/Delete Message Reply w/Quote
thorin
Member

Registered: Jul 2000
Location: Vancouver, BC, Canada
Posts: 415

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.">

thorin is offline Old Post 08-18-2001 03:10 AM
Click Here to See the Profile for thorin Edit/Delete Message Reply w/Quote
zep_
Member

Registered: Aug 2001
Location:
Posts: 4

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.

zep_ is offline Old Post 08-18-2001 12:13 PM
Click Here to See the Profile for zep_ Edit/Delete Message Reply w/Quote
dvIceT
Member

Registered: Dec 2000
Location:
Posts: 152

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.



Could you give the dump of the driver to /var/log/messages? This could be helpful in debugging. Also, what command are you using to initiate the ppp daemon? Have you consulted the USB-Visor howto?(I'm assuming you have.)

If you can get it working, it's pretty neat.

dvIceT is offline Old Post 08-18-2001 10:19 PM
Click Here to See the Profile for dvIceT Edit/Delete Message Reply w/Quote
zep_
Member

Registered: Aug 2001
Location:
Posts: 4

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.

zep_ is offline Old Post 08-20-2001 04:30 AM
Click Here to See the Profile for zep_ Edit/Delete Message Reply w/Quote
dvIceT
Member

Registered: Dec 2000
Location:
Posts: 152

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!

dvIceT is offline Old Post 08-20-2001 08:04 AM
Click Here to See the Profile for dvIceT Edit/Delete Message Reply w/Quote
zep_
Member

Registered: Aug 2001
Location:
Posts: 4

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

zep_ is offline Old Post 08-21-2001 04:48 AM
Click Here to See the Profile for zep_ Edit/Delete Message Reply w/Quote
dvIceT
Member

Registered: Dec 2000
Location:
Posts: 152

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!

dvIceT is offline Old Post 08-21-2001 07:28 PM
Click Here to See the Profile for dvIceT Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 07:55 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
[ Show a Printable Version | Email This Page to Someone! | Receive updates to this thread ]

Forum Jump:

Powered by: vBulletin Version 2.3.4
Copyright ©2000, 2001, Jelsoft Enterprises Limited.