Problem: Modem Alcatel SpeedTouch 330 with the FreeBSD 4.9

Godinho, Carla carla.godinho at hp.com
Wed Feb 18 04:22:16 PST 2004


Hi dear users of FreeBSD,
I'm having problems when trying to use the Modem Alcatel SpeedTouch 330
with the FreeBSD 4.9. Everytime I tried to start the ppp I get the
following error:
ppp[2742]: tun0: Phase: Unknown protocol 0x7075 (unrecognised protocol)

I've done some research in the Internet and I'm aware that it is tuff to
use this kind of Modem with FreeBSD 4.9.

I will try to describe the installation and configuration steps that
I've done to set this modem, so you can help me:


1) I get the firmware from
http://speedtouch.sourceforge.net/files/firmware.bin and the
speedtouch-1.2-beta2 from
http://speedtouch.sourceforge.net/index.php?/download.en.html

2) I installed the speedtouch-1.2-beta2 with success

3) Then I copied the firmware.bin to /usr/local/libdata/firmware.bin

4) I connected my Modem to the usb Port and my system recognized the
Modem saying: ugen0 Alcatel Speech Modem 330

4) I configured my /etc/ppp/ppp.conf like this:

#   $Id: ppp.conf.sample,v 1.4 2003/01/01 15:18:33 rogler Exp $
#################################################################

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

adsl:
 set phone <<ANY>>
 set authname op137649 at telepac
 set authkey 14851889
 set device !"/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -e 1 -d /dev/ugen0
-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
 add default HISADDR
 enable dns

#######end
______________________________________

Where vpi,vci is 0.35 for Portugal

5) Then I started manually the modem_run like this:

/usr/local/sbin/modem_run -m -v 2 -f /usr/local/libdata/firmware.bin -d
/dev/ugen0 &

6) I run the command

ppp -background adsl

7) The error is described in the file /var/log/ppp.log:

Feb 18 09:54:39 Nereus_teste ppp[2741]: Phase: Using interface: tun0
Feb 18 09:54:39 Nereus_teste ppp[2741]: Phase: deflink: Created in
closed state
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set phone
<<ANY>>
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set
authname op137649 at telepac
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set authkey
********
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set device
!/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -e 1 -d /dev/u
gen0 -v 2
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: accept chap
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set speed
sync
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set timeout
0
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: enable lqr
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set
lqrperiod 5
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set redial
15 10000
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set dial
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: set ifaddr
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: add default
HISADDR
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Command: adsl: enable dns
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: PPP Started
(background mode).
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: bundle: Establish
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: closed ->
opening
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: Connected!
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: opening ->
dial
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Chat: deflink: Dial
attempt 1 of 10000
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: dial ->
carrier
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: carrier ->
login
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: login ->
lcp
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: Unknown protocol
0x7075 (unrecognised protocol)
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: read (0):
Connection reset by peer
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink:
Disconnected!
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: lcp ->
logout
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: logout ->
hangup
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink:
Disconnected!
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: Connect
time: 0 secs: 63 octets in, 71 octets out
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: 1 packets
in, 1 packets out
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase:  total 134
bytes/sec, peak 0 bytes/sec on Wed Feb 18 09:54:39 2004
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: HUPing
2744
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: deflink: hangup ->
closed
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: bundle: Dead
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Phase: PPP Terminated
(normal).
Feb 18 09:54:39 Nereus_teste ppp[2742]: tun0: Chat: Parent notified of
failure
Feb 18 09:54:39 Nereus_teste ppp[2741]: tun0: Phase: Parent: Child
failed (errdead)


P.S: I have to use the FreeBSD 4.9, the stable version, so I cannot
upgrade or downgrade the SO system.

Is there any patch?
Should I use speedtouch-1.2-beta3?


Can anybody help me?


Thank you a lot
CG





More information about the freebsd-questions mailing list