LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RH 7.3 Installing DSL SpeedTouch USB modem from Alcatel (France) (http://www.linuxquestions.org/questions/linux-newbie-8/rh-7-3-installing-dsl-speedtouch-usb-modem-from-alcatel-france-21404/)

freddymio 05-20-2002 03:56 PM

RH 7.3 Installing DSL SpeedTouch USB modem from Alcatel (France)
 
Please Help !! Got to present a project on the Linux platform in 2 weeks and I'm stucked with the modem connection !

I have spent a lot of time reading and trying to understand, but I find all documentation very complex. I'm sure there must be an easier way to install this aparatus.
All docs I've come across do not specify the version they are conceived for, so I doubt that RedHat 7.3 wouldn't have simplified the process.
My Linux is running OK on my Pentium III 1Ghz (where I have also intalled and running W2K pro).
Thank you in advance. This issue must be old for many of u's but I haven't found anything on the subject for RH7.3 searching in the forums.

:study: :jawa: :Pengy:

jetfreggel 05-20-2002 06:32 PM

first get the driver from the site of Papillault

speedtouch-20011007.tar.gz
and the linux driver from alcatel

then
tar xvvzf speedtouch-20011007.tar.gz
cd speedtouch-20011007
make
make install
tar xvvzf speedmgmt.tar.gz
don't install driver
go to /etc/ppp/peers
create file adsl

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/bin/pppoa2 -vpi 8 -vci 35"
nodetach
sync
user "jouwlogin@jouwprovider"
noauth
kdebug 7
noaccomp
nopcomp
#nomagic
noccp
#passive
#lcp-echo-interval 5
#lcp-echo-failure 30
#persist

check -vpi -vci at your internetprovider
the go to /etc/ppp/chap-secrets

# Secrets for authentification using CHAP
# client server secret IP addresses
yourlogin@jouwprovider * yourpassword
create file in your root home dir
startadsl
#!/bin/sh
/sbin/modprobe n_hdlc >& /tmp/pppd.log
/sbin/modprobe ppp_synctty &> /tmp/pppd.log
/usr/local/bin/modem_run -f /root/mgmt/mgmt.o -m
/usr/sbin/pppd call adsl &> /tmp/pppd.log
/sbin/route add default ppp0

chmod 700 /root/startadsl

then go to /etc/resolv.conf

and the fill in your dns-servers
nameserver 195.238.2.21
nameserver 195.238.2.22

then ./startadsl

and then you get something like this in your /tmp/pppd.log
in another shell
Gotcha, I found your ADSL ALCATEL SpeedTouch USB modem!
best offset 6463 with probability 87%best offset 532634 with probability 100%
BLOCK0 : 511 bytes downloaded : OK
BLOCK1 : 991 bytes uploaded : OK
BLOCK2 : 511 bytes downloaded : OK
BLOCK3 : 526187 bytes uploaded : OK
BLOCK4 : 511 bytes downloaded : OK
Reference : 3EC XXXXXXXXX 0X (see under your modem box)
ADSL line is blocked?
ADSL line is synchronising
ADSL line is synchronisingreceived interrupts, len = 6a1 00 01 00 00 00
ADSL line is up, downstream at 1103 kbit/s, upstream at 750 kbit/s
ADSL link goes UPusing channel 1
Using interface ppp0Connect: ppp0 <--> /dev/pts/3sent
[LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x57 ]
sent [LCP ConfAck id=0x57 ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
rcvd [CHAP Challenge id=0x1 <756235139fbb387dc1654b72ec158e5b>, name = "BRU101"]
sent [CHAP Response id=0x1 <0591062ecf1be60e8f18343105949471>, name = "bk26xxxxx@skynet"]
rcvd [CHAP Success id=0x1 "CHAP authentication success, unit 385"]


to stop adsl
create /root/stopadsl

#!/bin/sh
kill -INT `pidof pppd`

chmod 700 /root/stopadsl

creamygoodness 11-17-2002 11:35 AM

Thanks ... I`ll see how I get on and let you know if it worked or not :)

Swave0 12-10-2002 03:12 PM

not working for me
 
i have redhat 8, and i get errors on the "make" command...

[root@localhost root]# cd speedtouch-20011007
[root@localhost speedtouch-20011007]# make
Makefile:10: speedtouch.tmpl: No such file or directory
/bin/sh configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
make: *** [speedtouch.tmpl] Error 1

can anyone give me some help?

newbie23 08-10-2003 01:08 PM

Hi there...

ive a problem, too... it wont work. I tried your mini-howto and all what ive got is something like this:

i type ./startadsl in (at my root folder) and then the modem is blinking red then the adsl "led" is switching to green (blinking) holding the green status... and after these 30 sec. linux say

something: SI0CADDRT: No such device

Ive a speedtouch USB 330 in red... on Suse Linux 8.1

Something like this is in my pppd.log:

using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3ee66edd>]
LCP: timeout sending Config-Requests
Connection terminated.
Waiting for 1 child processes...
script /usr/local/bin/pppoa2 -vpi 8 -vci 35, pid 1493
Script /usr/local/bin/pppoa2 -vpi 8 -vci 35 finished (pid 1493), status = 0x0


Thanks a lot and sorry 4 my bad english!

jetfreggel 08-11-2003 11:25 AM

hey there but did you put the code of your country
right

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/bin/pppoa2 -vpi 8 -vci 35"` (*)
nodetach
sync
user "jouwlogin@jouwprovider"
noauth
kdebug 7
noaccomp
nopcomp
#nomagic
noccp
#passive
#lcp-echo-interval 5
#lcp-echo-failure 30
#persist

*check -vpi -vci and vci at your internetprovider

post your config file (exchange your username and password with other charcters)

i hope that i was any help

newbie23 08-11-2003 02:05 PM

hi, it was the something else... i guess the mgmt.o... but thanks a lot!

Now ive a script how make the work for me (mgmt.o loading, modprobe etc) and i would go online with another computer in my network, so the linux with the alcatel modem is my server (router)... I use the SuSE firewall 2 for masquarading and it works well but i have to restart the firewall every time i go offline and online again, because my firewall wont find the ppp0 ...

know somebody a cronjob who let me go online all the time like dial on demand? or a cronjob etc a cgi script who checks my connection on if the server got offline redial?

Thanks a lot!:study:

Andres 08-15-2003 09:51 AM

Hi everyone!

My service provider runs over PPPoE... does anyone konws how to configure the Speedtouch 330 in Redhat 7.3 in this case?!

Thanks!!


All times are GMT -5. The time now is 05:26 AM.