LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-20-2002, 03:56 PM   #1
freddymio
LQ Newbie
 
Registered: May 2002
Location: La Baule, France
Distribution: From June-Sept/02 RedHat 7.3 on IBM Thinkpad 600 266MHz.
Posts: 15

Rep: Reputation: 0
Thumbs down 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.

 
Old 05-20-2002, 06:32 PM   #2
jetfreggel
Member
 
Registered: May 2002
Posts: 172

Rep: Reputation: 30
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
 
Old 11-17-2002, 11:35 AM   #3
creamygoodness
LQ Newbie
 
Registered: Nov 2002
Location: South of England
Distribution: Mandrake 9.0
Posts: 4

Rep: Reputation: 0
Thanks ... I`ll see how I get on and let you know if it worked or not
 
Old 12-10-2002, 03:12 PM   #4
Swave0
LQ Newbie
 
Registered: Dec 2002
Distribution: Redhat 8.0
Posts: 3

Rep: Reputation: 0
Question 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?
 
Old 08-10-2003, 01:08 PM   #5
newbie23
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
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!
 
Old 08-11-2003, 11:25 AM   #6
jetfreggel
Member
 
Registered: May 2002
Posts: 172

Rep: Reputation: 30
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
 
Old 08-11-2003, 02:05 PM   #7
newbie23
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
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!
 
Old 08-15-2003, 09:51 AM   #8
Andres
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
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!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alcatel USB Speedtouch modem.... CryptDragoon Slackware 0 01-31-2004 09:52 PM
USB modem (Alcatel Speedtouch) dcarle Linux - Networking 6 11-01-2003 09:22 AM
Alcatel SpeedTouch USB Modem triggerman Linux - Hardware 1 08-03-2003 04:39 AM
Alcatel ADSL SpeedTouch USB Modem Swave0 Linux - Software 3 12-12-2002 04:14 PM
To anyone with an alcatel speedtouch, or usb/dsl gurus! drjimstuckinwin Linux - Networking 2 01-02-2002 06:23 PM


All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration