> Hi Peter, the problem is that there are two different drivers for the
modem.
> One comes as a kernel module, the other as a user space program.  You
> are trying to run the user space driver with the kernel module loaded.
Sorry,
> it won't work!  They are fighting over the modem (the kernel module won,
> but you told pppd to use the user space driver).  So first you need to
decide
> which driver you want to use.  If it is the user space driver, follow the
> instructions at
> http://speedtouch.sourceforge.net/
> If it is the kernel driver, go to
> http://www.linux-usb.org/SpeedTouch/

Hmm. I've mixed the two method...because in the second howto it is said that
"the driver itself consists of two different parts. A kernel part and a user
space part. "
But now it's getting clear!:)
The only thing what I had to do to use only the user space driver is to
remove the speedtch modul. After then I got the following result:

Jul  4 18:33:06 atron kernel: usb.c: deregistering driver speedtch
Jul  4 18:33:10 atron modprobe: modprobe: Can't locate module char-major-6
Jul  4 18:33:42 atron modprobe: modprobe: Can't locate module char-major-6
Jul  4 18:34:46 atron last message repeated 2 times
Jul  4 18:35:14 atron pppd[701]: pppd 2.4.1 started by root, uid 0
Jul  4 18:35:14 atron pppoa3[702]: pppoa3 version 1.2-beta1 started by root
(uid 0)
Jul  4 18:35:14 atron pppoa3[702]: Control thread ready
Jul  4 18:35:14 atron pppd[701]: using channel 1
Jul  4 18:35:14 atron pppd[701]: Using interface ppp0
Jul  4 18:35:14 atron pppd[701]: Connect: ppp0 <--> /dev/pts/3
Jul  4 18:35:14 atron kernel: HDLC line discipline: version $Revision: 3.3
$, maxframe=4096
Jul  4 18:35:14 atron kernel: N_HDLC line discipline registered.
Jul  4 18:35:15 atron kernel: usb.c: usbdevfs driver claimed interface
cfe37978
Jul  4 18:35:15 atron pppoa3[717]: host  --> pppoa3 --> modem stream ready
Jul  4 18:35:15 atron pppoa3[718]: modem --> pppoa3 --> host  stream ready
Jul  4 18:35:15 atron pppd[701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x641ac00d>]
Jul  4 18:35:18 atron modprobe: modprobe: Can't locate module char-major-6
Jul  4 18:35:18 atron pppd[701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x641ac00d>]
Jul  4 18:35:21 atron pppd[701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x641ac00d>]
Jul  4 18:35:24 atron pppd[701]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x641ac00d>]
Jul  4 18:35:43 atron last message repeated 6 times
Jul  4 18:35:46 atron pppd[701]: LCP: timeout sending Config-Requests
Jul  4 18:35:46 atron pppd[701]: Connection terminated.
Jul  4 18:35:46 atron pppoa3[717]: Error reading from source device
Jul  4 18:35:46 atron pppoa3[702]: Woken by a sem_post event -> Exiting
Jul  4 18:35:46 atron pppoa3[702]: Write to usb Canceled
Jul  4 18:35:46 atron pppoa3[702]: Exiting
Jul  4 18:35:46 atron pppd[701]: using channel 2
Jul  4 18:35:46 atron pppd[701]: Using interface ppp0
Jul  4 18:35:46 atron pppd[701]: Connect: ppp0 <--> /dev/pts/4
Jul  4 18:35:46 atron pppoa3[733]: pppoa3 version 1.2-beta1 started by root
(uid 0)
Jul  4 18:35:46 atron pppd[701]: Script /usr/local/sbin/pppoa3 -m 1 -c -vpi
8 -vci 35 finished (pid 702), status = 0xff
Jul  4 18:35:46 atron pppoa3[733]: Control thread ready
Jul  4 18:35:46 atron kernel: usb.c: usbdevfs driver claimed interface
cfe37978
Jul  4 18:35:46 atron pppoa3[736]: host  --> pppoa3 --> modem stream ready
Jul  4 18:35:46 atron pppoa3[737]: modem --> pppoa3 --> host  stream ready
Jul  4 18:35:47 atron pppd[701]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0xd57a475e>]
Jul  4 18:35:50 atron pppd[701]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0xd57a475e>]
Jul  4 18:35:50 atron modprobe: modprobe: Can't locate module char-major-6
Jul  4 18:35:53 atron pppd[701]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0xd57a475e>]
Jul  4 18:36:14 atron last message repeated 7 times
Jul  4 18:36:17 atron pppd[701]: LCP: timeout sending Config-Requests
Jul  4 18:36:17 atron pppd[701]: Connection terminated.
Jul  4 18:36:17 atron pppoa3[736]: Error reading from source device
Jul  4 18:36:17 atron pppoa3[733]: Woken by a sem_post event -> Exiting
Jul  4 18:36:17 atron pppoa3[733]: Write to usb Canceled
Jul  4 18:36:17 atron pppoa3[733]: Exiting
[...]

Now I feel that the finish is closer, but still there's something wrong.
What can it be?
Misconfiguration of config files?
--
/etc/ppp/options:
noauth
usepeerdns
lock
noipdefault
--
/etc/ppp/peers/adsl
#
# This file could be rename but its place is under /etc/ppp/peers
# To connect to Internet using this configuration file
# pppd call adsl, where "adsl" stands for the name of this file
#

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35"
sync
user "root"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
--
( vpi/vci checked it is 8/35 in vnet-hungary)

chap-secrets:
"myname"    "*"    "passw"    "*"
--
pap-secrets:
myname    *    passw
---------------------------------

Thanks for the answers!

Peter




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

        

Reply via email to