Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 16:03:52 -0400
From:      Martes G Wigglesworth <wigglesworth02@comcast.net>
To:        newbies freebsd list <freebsd-newbies@freebsd.org>, freebsd-questions@freebsd.org, freebsd-usb@freebsd.org
Subject:   Problems with ppp and pocketpc over usb connections.(long list at bottom)
Message-ID:  <1113249832.680.57.camel@Mobil1.276NET>

next in thread | raw e-mail | index | archive | help
I am having difficulties using user-ppp for connecting my usb-cabled
pocketpc to Freebsd.  The chat script indicates that it cannot set speed
to 0.  Also, am I supposed to have the ppp.conf setup to host
connections?  I am very new to ppp and I am not sure.  The howtos don't
even begin to explain what is actually going on.  They all just list
simple configurations that seem to work for everyone but me.  The tun0
device is used and given an ip address, however, I am not able to ping
either address that is associated with the tun0 device interface.  I am
trying to get synce and multisync to work, however, I have discovered
that RAPI is not initialized, meaning that the pda is never actually
connected to the tun0 interface, hence never connected to
synce-serial-start, and multisync instances.  I was able to see ip
address assignments when I started this email, and now that I have
started the processes again, I am getting only a PID  as shown below. 
Can someone please give me a clue as to what is going on?  All the docs
seem to assume that all is well, and people are using their PPcs with
*nix, so what is wrong with my picture?

Thanks for the assistance, in advance.


I get the following, while connected, just after usbd has assigned the
ucom0 device:

>dmesg|grep ucom0 ucom0:
<Windows CE Device> Hewlett Packard product 0x1016, rev 1.00/0.00,addr 2
>ifconfig|grep tun
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        Opened by PID 3718
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

> sudo tail -f /var/log/ppp.log
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: 8 packets in, 10
packets out
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase:  total 15 bytes/sec, peak
24 bytes/sec on Mon Apr 11 15:38:07 2005
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: hangup ->
opening
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: Enter pause (3)
for redialing.
Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Chat: deflink: Reconnect try 2
of 0
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: Signal 15, terminate.
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: Disconnected!
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: opening ->
closed
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: bundle: Dead
Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: PPP Terminated (normal).
Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: Using interface: tun0
Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: deflink: Created in closed
state
Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: Using interface: tun1
Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: deflink: Created in closed
state
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: ident user-ppp
VERSION (built COMPILATIONDATE)
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set speed
115200
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set timeout
180
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: enable dns
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set speed 115200
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set timeout 0
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set dial
Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set ifaddr
192.168.2.104 192.168.2.202
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: ident user-ppp
VERSION (built COMPILATIONDATE)
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set speed
115200
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set timeout
180
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: enable dns
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set device
/dev/ucom0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set speed 115200
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set timeout 0
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set dial
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set ifaddr
192.168.2.104 192.168.2.202
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: PPP Started (ddial mode).
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: bundle: Establish
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: closed ->
opening
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: PPP Started (background
mode).
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Establish
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: closed ->
opening
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: /dev/ucom0 is in
use
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Failed to open device
(attempt 1 of 1)
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: opening ->
closed
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Dead
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Parent notified of redial
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: PPP Terminated (normal).
Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Phase: Parent: Child failed
(errdead)
Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Parent notified of failure
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: Connected!
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: opening -> dial
Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: dial -> carrier
Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: /dev/ucom0
doesn't support CD
Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: carrier -> login
Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: login -> lcp




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1113249832.680.57.camel>