Hi everyone.

First up, some background:

[EMAIL PROTECTED] uname -a
FreeBSD tobermory.home 6.1-RELEASE FreeBSD 6.1-RELEASE #8: Tue May  9 
21:04:02 BST 2006     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TOBERMORY 
  i386

[EMAIL PROTECTED] where pppoa
pppoa-1.3.1,2 is in net/pppoa

When I start up the machine, it reports the usb modem as unfindable, but 
when I unplug it and plug it back in, it fixes itself. This isn't ideal, 
but I'll live with it.

The real problem is that when ppp starts, it won't connect to the ISP to 
authenticate.  Well, as far as I can make out. I get 16 seconds whereby 
it tries, then starts over.

Here's what it looks like in the logs:

modem_run.log
May 19 03:57:06 tobermory modem_run[1482]: modem_run version 1.3.1 
started by root uid 0

[EMAIL PROTECTED] sudo /etc/rc.d/ppp start
Starting ppp.
Warning: Add route failed: 0.0.0.0/0 already exists

ppp.log:
May 19 03:58:05 tobermory ppp[1493]: Phase: Using interface: tun0
May 19 03:58:05 tobermory ppp[1493]: Phase: deflink: Created in closed state
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set authname 
[EMAIL PROTECTED]
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set authkey 
********
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set device 
!/usr/local/sbin/pppoa2 -d /dev/ugen0 -vpi 0 -vci 38 -v 2
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: accept chap
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set speed sync
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set timeout 0
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: enable lqr
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set lqrperiod 5
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set redial 15 
10000
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set dial
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: set ifaddr 
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: disable ipv6cp
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: disable dns
May 19 03:58:05 tobermory ppp[1493]: tun0: Command: adsl: add default 
HISADDR
May 19 03:58:05 tobermory ppp[1493]: tun0: Warning: Add route failed: 
0.0.0.0/0 already exists
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: PPP Started (ddial mode).
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: bundle: Establish
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: closed -> opening
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: Connected!
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: opening -> dial
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: dial -> carrier
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: carrier -> login
May 19 03:58:05 tobermory ppp[1494]: tun0: Phase: deflink: login -> lcp
May 19 03:58:05 tobermory ppp[1494]: tun0: LCP: FSM: Using "deflink" as 
a transport
May 19 03:58:05 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Initial --> Closed
May 19 03:58:05 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Closed --> Stopped
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP: deflink: LayerStart
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP: deflink: 
SendConfigReq(1) state = Stopped
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP:  MRU[4] 1500
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP:  MAGICNUM[6] 0xee438e61
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP:  QUALPROTO[8] proto 
c025, interval 5000ms
May 19 03:58:06 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Stopped --> Req-Sent
May 19 03:58:09 tobermory ppp[1494]: tun0: LCP: deflink: 
SendConfigReq(1) state = Req-Sent
May 19 03:58:09 tobermory ppp[1494]: tun0: LCP:  MRU[4] 1500
May 19 03:58:09 tobermory ppp[1494]: tun0: LCP:  MAGICNUM[6] 0xee438e61
May 19 03:58:09 tobermory ppp[1494]: tun0: LCP:  QUALPROTO[8] proto 
c025, interval 5000ms
May 19 03:58:12 tobermory ppp[1494]: tun0: LCP: deflink: 
SendConfigReq(1) state = Req-Sent
May 19 03:58:12 tobermory ppp[1494]: tun0: LCP:  MRU[4] 1500
May 19 03:58:12 tobermory ppp[1494]: tun0: LCP:  MAGICNUM[6] 0xee438e61
May 19 03:58:12 tobermory ppp[1494]: tun0: LCP:  QUALPROTO[8] proto 
c025, interval 5000ms
May 19 03:58:15 tobermory ppp[1494]: tun0: LCP: deflink: 
SendConfigReq(1) state = Req-Sent
May 19 03:58:15 tobermory ppp[1494]: tun0: LCP:  MRU[4] 1500
May 19 03:58:15 tobermory ppp[1494]: tun0: LCP:  MAGICNUM[6] 0xee438e61
May 19 03:58:15 tobermory ppp[1494]: tun0: LCP:  QUALPROTO[8] proto 
c025, interval 5000ms
May 19 03:58:18 tobermory ppp[1494]: tun0: LCP: deflink: 
SendConfigReq(1) state = Req-Sent
May 19 03:58:18 tobermory ppp[1494]: tun0: LCP:  MRU[4] 1500
May 19 03:58:18 tobermory ppp[1494]: tun0: LCP:  MAGICNUM[6] 0xee438e61
May 19 03:58:18 tobermory ppp[1494]: tun0: LCP:  QUALPROTO[8] proto 
c025, interval 5000ms
May 19 03:58:21 tobermory ppp[1494]: tun0: LCP: deflink: LayerFinish
May 19 03:58:21 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Req-Sent --> Stopped
May 19 03:58:21 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Stopped --> Closed
May 19 03:58:21 tobermory ppp[1494]: tun0: LCP: deflink: State change 
Closed --> Initial
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: Disconnected!
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: lcp -> logout
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: logout -> hangup
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: Disconnected!
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: Connect time: 
16 secs: 0 octets in, 130 octets out
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: 0 packets in, 
5 packets out
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase:  total 8 bytes/sec, 
peak 10 bytes/sec on Fri May 19 03:58:09 2006
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: HUPing 1498
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: hangup -> opening
May 19 03:58:21 tobermory ppp[1494]: tun0: Phase: deflink: Enter pause 
(3) for redialing.

pppoa.log
May 19 03:58:05 tobermory pppoa2[1498]: Starting PPPoA2 ( merged version 
includes new ATM/AAL5 stack ) 1.3.1
May 19 03:58:05 tobermory pppoa2[1498]: Using vpi=0, vci=38
May 19 03:58:05 tobermory pppoa2[1498]: Using PPPoA mode
May 19 03:58:05 tobermory pppoa2[1498]: I'm the parent   process, I 
handle the endpoint 0x07
May 19 03:58:05 tobermory pppoa2[1498]: pty descriptors : fdin=3, fdout=4
May 19 03:58:05 tobermory pppoa2[1498]: Increasing SNDBUF from 2048 to 65536
May 19 03:58:05 tobermory pppoa2[1498]: Increasing RCVBUF from 4096 to 65536
May 19 03:58:05 tobermory pppoa2[1498]: Got the modem !
May 19 03:58:05 tobermory pppoa2[1498]: host  --> pppoa2 --> modem 
stream ready
May 19 03:58:05 tobermory pppoa2[1501]: I'm the children process, I 
handle the endpoint 0x87
May 19 03:58:05 tobermory pppoa2[1501]: modem --> pppoa2 --> host 
stream ready
May 19 03:58:06 tobermory pppoa2[1498]: PPP packet read from source 
device (24 bytes long)
May 19 03:58:06 tobermory pppoa2[1498]: ATM cell queue built (53 bytes long)
May 19 03:58:06 tobermory pppoa2[1498]: ATM cell queue sent to USB
May 19 03:58:09 tobermory pppoa2[1498]: PPP packet read from source 
device (24 bytes long)
May 19 03:58:09 tobermory pppoa2[1498]: ATM cell queue built (53 bytes long)
May 19 03:58:09 tobermory pppoa2[1498]: ATM cell queue sent to USB
May 19 03:58:12 tobermory pppoa2[1498]: PPP packet read from source 
device (24 bytes long)
May 19 03:58:12 tobermory pppoa2[1498]: ATM cell queue built (53 bytes long)
May 19 03:58:12 tobermory pppoa2[1498]: ATM cell queue sent to USB
May 19 03:58:15 tobermory pppoa2[1498]: PPP packet read from source 
device (24 bytes long)
May 19 03:58:15 tobermory pppoa2[1498]: ATM cell queue built (53 bytes long)
May 19 03:58:21 tobermory pppoa2[1498]: Killed by a signal 1

I've banged my head against /etc/ppp/ppp.conf to no avail. Nothing I do 
makes it work any better. I read in my ISP docs that I am meant to tell 
it to use a phone number of "0,38", but I can't get that to do anything 
either, although this could be down to my lack of experience dealing 
with ppp.conf

ppp.conf looks like this:

default:
  ident user-ppp VERSION (built COMPILATIONDATE)
  set log Phase Chat IPCP CCP tun command LCP

adsl:
  set authname {my_auth_name}
  set authkey {my_password}
  set device !"/usr/local/sbin/pppoa2 -d /dev/ugen0 -vpi 0 -vci 38 -v 2"
  accept chap
  set speed sync
  set timeout 0
  enable lqr
  set lqrperiod 5
  set redial 15 10000
  set dial ""
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  disable ipv6cp
  disable dns
  add default HISADDR

I know the line works because I tested it in windows, and it was fine. 
Well, as fine as plugging a modem directly into a windows machine can 
ever be, I guess.

Any suggestions on things I can try to get this working? It's driving me 
insane.

Thanks for any help.

-- 
Spadge
"Intoccabile"
www.fromley.com

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to