LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alcatel Speedtouch USB - SuSE 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/alcatel-speedtouch-usb-suse-9-0-a-120478/)

derek-888 11-27-2003 11:31 AM

Alcatel Speedtouch USB - SuSE 9.0
 
Can anybody help me with setting up my ADSL Modem. I have tried using the description given by indigojo_uk but it is a little brief and requires expansion.

Can somebody please give me a step-by-step advice.

Thanks in advance.

tredegar 11-27-2003 02:04 PM

Welcome to linux, and this forum.

There's a "search" button at the top of this window - try it! Read a lot, then try things, and you'll be pleasantly surprised at how easy this all becomes.

Persevere, there's a "learning curve", but you'll get there.

Best wishes.

derek-888 11-27-2003 02:35 PM

Thanks for the information on the search button, I have read all the results but they don't help. The advice given does not relate eg. use make and other related fuctions are not recognised perhaps there is something missing, but what?

iceman47 11-27-2003 03:02 PM

http://speedtouch.sourceforge.net/in...?/docs.en.html
all the info you'll ever need.
Just follow that howto TO THE LETTER and you'll be fine.
I don't mean to be rude, but I've helped many people setting the speedtouch up
and people just don't read anymore it seems.
If you run into problems, please tell us about it.

derek-888 11-27-2003 04:06 PM

Strange I was just looking at that site when I received your comments

So far I have:
# tar xvzf speedtouch-xxx.tar.gz
All OK
Cd to new directory
All OK
# ./configure && make
checking for gcc....No
checking for cc....No
configure Error: No acceptable cc found in $Path

Any idea where the problem is?

And I thought my CLI days were gone.

Thnks for the information I am trying

derek-888 11-29-2003 03:52 PM

After a lot of late nights and reading, things have improved:

Firstly using SuSE 9.0 Pro with a default installation does NOT install the gcc compiler, therefore I could not generate anything, re-installing cured this OK.

Went through the SpeedtouchUSB-Howto procedure in detail, with only a few minor questions outstanding.

1. When editing the chap and pap-secrets the files they do not look like the example. Is it correct to just type in:

the login name and password as shown below

#client server secret IP addresses
"xxyy.zz.comserve@bb3.comserve..co.uk" "*" "password"
# other stuff
# other stuff

2. I had to use
# ./modem_run -m -f /path/to/alcaudsl.sys (not the example)

to make do anything is that OK.

Thats it,
Thanks to all for the imformation, leraning curve is still virtical but getting there

tredegar 11-29-2003 04:50 PM

So, you got it working then?

FWIW I do not have the " marks in the chap & pap-secrets file. Mine looks like this:

# Secrets for authentication using CHAP
# client server secret IP addresses
xxyy.zz.comserve@bb3.comserve..co.uk * password

At first, the only way I could get the modem working was to execute:

./modem_run -m -f /path/to/alcaudsl.sys

....wait for the modem microcode to be uploaded (the modem's lights flash for about 15 sec)

Then give the command

pppd call adsl

If the connection is established the command

ifconfig ppp0

will give details of you IP address and other stuff.

derek-888 11-29-2003 05:16 PM

No its not working yet, but I am sure that It will during the next twenty four hours.

Thanks again!

derek-888 11-30-2003 09:52 AM

Almost there, just a few niggling problems which are really giving me grief:

1. ./modem_run -m -f /path/to/alcaudsl.sys
Works OK the LEDs on the modem do their stuff and then stay on.

2. pppd call adsl appears to work (no errors)

3. ifconfig ppp0 comes back with some info but no IP address etc.

Was I correct to put login info in after user

eg. user abcf.dsl@bb3.comserve.com

in the adsl file; should it be inside ""


Finally how do I automatically start the prodecure on bootup.


Thnks to all for the help I would not have got this far without it, one day I hope to be in a poaition to help others.

Derek-888

tredegar 11-30-2003 10:05 AM

Well done in getting this far!

By now, I am not sure which method you re using (and I think there are several!) but...

/etc/ppp/chap-secrets and /etc/ppp/pap-secrets should look like this:

#Secrets for authentication using PAP/CHAP
# client server secret IP address
abcd@hg0.btinternet.com * password *

There are NO quotes. There are spaces between the fields. There are two * characters.

I also had to put the IP addresses of my ISPs nameservers into /etc/resolv.conf

In the file /etc/ppp/peers/adsl the following lines are needed (but adjust for your username and ISP):

pty "usr/sbin/pppoa3 -m 1 -c -vpi 0 -vci 38"
user "abcd@hg0.btinternet.com"

Note that this time, the quotes ARE needed(!).

Don't bother with automatic startup until you can do it manually. I am very happy to help you with that when you have managed to get a connection.

Best wishes.

derek-888 11-30-2003 11:37 AM

Two steps forward one step back look to be the order of the day.

You are correct that was the method I was using.

I have changed the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets all looks Ok.

Changing -vpi 0 (was -vpi 8) in the /etc/ppp/peers/adsl file stops the ADSL LED going Green (stays at Amber) on the Modem and the system hangs.

I could not find /etc/resolv.conf file I gues it has to be created, what sort of info goes in here.

Its getting close now I can't wait.

tredegar 11-30-2003 12:24 PM

OK.

Quote:

Changing -vpi 0 (was -vpi 8) in the /etc/ppp/peers/adsl file stops the ADSL LED going Green (stays at Amber) on the Modem and the system hangs.
Change it back then! The settings I gave you were for BT. I don't know your ISP, it may be different.

My /etc/resolv.conf looks like this:

nameserver 127.0.0.1
nameserver more.dotted.numbers.here
nameserver more.dotted.numbers.here
nameserver more.dotted.numbers.here
nameserver more.dotted.numbers.here

Replace the IP addresses of your ISP's nameservers for "more.dotted.numbers.here". Your ISP documentation should have this, otherwise ask them.

I think that "nameserver 127.0.0.1", means check the local machine (your PC) first, to see if it knows how to resolve a name.

/etc/resolv.conf is owned by root, and its group is root. Its permissions are rw-r--r--

A good early sign of success is to

cat /var/log/messages (you need to be root)

scroll back, and look for something like this:

Nov 30 18:00:17 localhost pppoa3[1727]: pppoa3 version 1.2-beta1 started by root (uid 0)
Nov 30 18:00:17 localhost pppoa3[1727]: Control thread ready
Nov 30 18:00:18 localhost kernel: HDLC line discipline: version $Revision: 3.3 $, maxframe=4096
Nov 30 18:00:18 localhost kernel: N_HDLC line discipline registered.
Nov 30 18:00:18 localhost pppoa3[1757]: host --> pppoa3 --> modem stream ready
Nov 30 18:00:18 localhost pppoa3[1758]: modem --> pppoa3 --> host stream ready
Nov 30 18:00:24 localhost pppd[1724]: local IP address 81.128.52.72
Nov 30 18:00:24 localhost pppd[1724]: remote IP address 217.35.199.200
Nov 30 18:00:24 localhost pppd[1724]: primary DNS address 213.120.62.104
Nov 30 18:00:24 localhost pppd[1724]: secondary DNS address 213.120.62.97

That tells me that my PC is talking to the modem, and a connection has been established with my ISP, I have been allocated an IP address, and also I've been told the addresses of two DNS servers. (I suppose I could put these numbers into /etc/resolv.conf, but it seems to work without this extra step).

If you get the above output from cat /var/log/messages, then any further problems are likely to be to do with /etc/resolv.conf

Hope this helps. Persevere, the pleasure when it all starts working is worth it.

Best wishes.

PS Have you seen this:http://users.aber.ac.uk/gcn1/ADSL/ Check steps 4,6 and 7

derek-888 12-01-2003 04:32 PM

I got so far but it would not work. So I figured that I had done just too much tinkering. Re-installed Linux, went through the procedures again and guess what it's WORKING!!. I just need it to connect on boot up. If you can help on that then I am on top of the moon.

For the benefit of anybody else who may be interested:
The Freeserve nameserver numbers are:

195.92.195.94
195.92.195.95

My /etc/resolv.conf looks like this:

nameserver 127.0.0.1
nameserver 195.92.195.94
nameserver 195.92.195.95

I Really appreciate the help!

REgards to all

tredegar 12-02-2003 02:59 AM

At last!
Now, if you want it to connect at boot time you need to add the commands you would normally have typed at a console to the end of the file /etc/rc.d/rc.local. So, for me, the last few lines of this file read as follows:

# Load microcode into the Alcatel Speedtouch modem
/usr/sbin/modem_run -f /usr/share/speedtouch/mgmt.o
# And now connect
/usr/sbin/pppd call adsl

Best wishes.

smcoptyltd 12-02-2003 03:45 AM

"After a lot of late nights and reading, things have improved:"


Jezus Christ....

Several hours and several posts and he is....


a winner!

He has managed to install ADSL modem drivers.

It took 5 or 6 hours, huh?

And guy is not the silly one.

Now how about NVIDIA drivers?

Maybe a little faster, maybe 3 hours?

How about other battles like installing programs, network etc?

That behind WFW3.11!!!


All times are GMT -5. The time now is 09:29 PM.