Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 12th, 2002, 12:17 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
Lightbulb [GUIDE] Alcatel Speedtouch USB modem under Redhat 7.3

OK this is a little guide to set up a Alcatel Speedtouch USB Modem, under RedHat 7.3
I'm in the UK and have this working using PIPEX adsl. They use PPPoA protocol, so thats what this is written for.

Stuff in italics are commands that need to be entered.

I don't claim to have written this, it's more an amalgamation to all the other different guides that I have gone through on the internet to get a working connection!!

OK all the files that I used will be attached to trailing messages for you to download and use as well.

first get the files attached in following messages.
speedtouch-20011007.tar.gz
speedmgmt.tar.gz (from alcatel website)
ppp-2.4.0-2.i386.rpm

Burn these files onto a CD or a floppy or however you want to to get them into Linux.
Boot up Linux, and log in as root.

Copy speedtouch-20011007.tar.gz and speedmgmt.tar.gz into /root (~)

Execute the ppp-2.4.0-2.i386.rpm file to update PPP to use PPPoA.

Start up a shell session and we're ready to start!

tar xvvzf speedtouch-20011007.tar.gz
cd speedtouch-20011007
./configure
make
make install

tar xvvzf speedmgmt.tar.gz

Don't make or install these drivers

cd /etc/ppp/peers

create file adsl
vi adsl

Enter the following information into the file.
debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/bin/pppoa2 -vpi 0 -vci 38"
nodetach
sync
user "username@provider"
noauth
kdebug 7
noaccomp
nopcomp
#nomagic
noccp
#passive
#lcp-echo-interval 5
#lcp-echo-failure 30
#persist


Find out -vpi -vci at your ISP's website (for pipex I looked here)

Ok time to add the username and password to the chap-secrets file

vi /etc/ppp/chap-secrets

You should see the following 2 lines, then enter the information just below them (in italics)
# Secrets for authentification using CHAP
# client server secret IP addresses
username@provider * yourpassword

cd ~

We're going to create a script to start up the ADSL service.
vi startadsl

and enter the following information
#!/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


Save and exit the file.

chmod 700 /root/startadsl

vi /etc/resolv.conf

and the fill in your dns-servers
nameserver 158.43.240.4
nameserver 158.43.240.3


Now to create the stop adsl script
vi stopadsl

Enter the following information
#!/bin/sh
kill -INT `pidof pppd`


Save and exit file.

chmod 700 /root/stopadsl

then ./startadsl&

the & means run as a seperate process so that you can still use the shell session.

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 view this information use this command tail -f /tmp/pppd.log

When the files updated so will your display of it!


And your all set to use ADSL under Linux!!
Hope that this helps you get the internet working under linux, any questions post em below, and I'll try my very best to help, but might not know the answers... LOL

[EDIT]
I have used Redhat 7.3 so that there is no need to recompile the kernal to make this as simple as possible.
7.3 is available for download from redhats website
[/EDIT]

[EDIT2]
Works on Redhat 8 and Redhat 9.
Should work on any other linux based systems too (hopefully)
[/EDIT2]
Comments on this post
adamgxtc disagrees!

Last edited by rendy : July 24th, 2003 at 07:58 AM.

Reply With Quote
  #2  
Old July 12th, 2002, 12:18 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
speedtouch.tar.gz (from Alcatels website..)
Attached Files
File Type: gz speedmgmt.tar.gz (286.7 KB, 1532 views)

Reply With Quote
  #3  
Old July 12th, 2002, 12:21 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
speedtouch-20011007.tar.gz
Attached Files
File Type: gz speedtouch-20011007.tar.gz (115.8 KB, 1084 views)

Reply With Quote
  #4  
Old July 12th, 2002, 12:24 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
ppp-2.4.0-2.i386.rpm

(in .zip due to file type validation)
Attached Files
File Type: zip ppp-2.4.0-2.i386.zip (172.2 KB, 1147 views)

Reply With Quote
  #5  
Old July 24th, 2002, 04:57 AM
peejay peejay is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 42 peejay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10
Thumbs up

Hi rendy,

I wish I'd found you post a week earlier - just been through the same process getting my SpeedTouch up and running under RedHat 7.3 and you guide would have saved a lot of time (like about 4 days in fact). The guides spot on btw. I'm with Freedom2Surf who also use PPPoA. Only bit I didn't need to do was update PPP.

My problem is that now I have the connection up and running, how do I actually get xinetd to use it? I'm a little new to Linux and a bit lost at sea with this one

I think the problem is that I need linux to recognise the modem as such, but not sure how this is done. Once I've done that I can use the Network Administration Tool to setup an ADSL connection. If I try this now however, my modem is not listed on the hardware tab.

Any advice would be greatly appreciated.

Peejay.

Reply With Quote
  #6  
Old July 25th, 2002, 03:46 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
Erm not 100% yet mate, give me some research time and I'm sure I'll get you an answer lol.

If anyone else here knows feel free to chip in

Reply With Quote
  #7  
Old July 25th, 2002, 04:00 PM
simonl85 simonl85 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 2 simonl85 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
./configure error

Hey, the guide and attatched files is much appreciated but i have a problem whenever i try to run the ./configure command. This is the returned message:

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

I am then returned to the # prompt. I was running the command in the speedtouch-20011007 directory.
This is the problem i encounter whenever i try and run this command in a shell under KDE. I've been trying to do this from many guides and youres seemed perfect. I just always seem to fall down at the stage of ./configure.

Any help as to why would be much appreciated.

Thanks,

Simon

Reply With Quote
  #8  
Old July 25th, 2002, 04:40 PM
simonl85 simonl85 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 2 simonl85 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ah ok found my answer - i believe i need a gcc compiler installed....

going to test it out now.

Reply With Quote
  #9  
Old July 25th, 2002, 08:44 PM
peejay peejay is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 42 peejay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 10
Thumbs up

Got it

Well, almost...

Problem is to do with routing, and the setting a default gatway.

if i add a record to the route tables:

>ip route add default via xxx.xxx.xxx.xxx dev ppp0

where the ip address is that of the remote host my adsl conects to, then flush the route cache:

>ip route flush cache

I now have full internet access

The only problem however is that if i reboot the box, the default record is removed from the route table.

Is this because the method I'm using is not permenent, or maybe something is re-writing the table during boot-up?

As ever, any thoughts would be greatly recieved.

peejay.

Reply With Quote
  #10  
Old August 10th, 2002, 01:48 PM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 10
I did what the guide said,and I got the same result as the in guide.But I cant use my internet,so I tried peejays solution,but it still doesnt work.Is there something else that I have to do to make it work?

Reply With Quote
  #11  
Old August 12th, 2002, 09:47 AM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
If you take a look in the ppd.log file in /tmp what do you see?
Are there any errors in there?
Can you post up the file so I can take a look, and what happens if you try pinging someone..

Reply With Quote
  #12  
Old August 12th, 2002, 12:57 PM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 10
I finally managed to make it work!! Im am posting this with Red Hat/Konqueror
Now I dont have to use Windows anymore!!!

Reply With Quote
  #13  
Old August 12th, 2002, 04:21 PM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 35 m 17 sec
Reputation Power: 10
Congratulations mate

Now you don't have to be a slave to the evil bill gates

but if you like msn get it for linux here... http://amsn.sourceforge.net/

Reply With Quote
  #14  
Old August 12th, 2002, 04:50 PM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 10
Yeah,it feels great to be free!

And,no thanks.I only use ICQ (no MS anymore...).I downloaded Licq and it works perfect.

Reply With Quote
  #15  
Old March 20th, 2003, 01:23 PM
pguy pguy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 pguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello, thanks for this great guide rendy, but I have a little problem here...
when I try to execute the rpm file I get an error message saying that a new version of "ppp" is currently installed. Can anybody help me please?
I'm really waiting for your reply
thanks in advance.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > [GUIDE] Alcatel Speedtouch USB modem under Redhat 7.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap