LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-15-2005, 08:32 AM   #16
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30

Hi oncemorewith
One of the benefits of the new setup is that you don't need to do 'call pppd speedtch' or 'modem_run' anymore. In fact, if you use the method I mentioned, then neither of those commands will be installed on your system....they make up part of the old setup. Did you install the old driver package by any chance as well? (All that is required from it is the firmware). So as far as I know, you won't need your 'dial' script. I wonder if something is interferring, as you /var/log/messages indicate that this might be the case

My modem is started up by hotplug - you can set it to do so in YAST, or by changing STARTMODE='hotplug' in the network config file in /etc/sysconfig/network/ifcfg-dsl0. While you are at it, also make sure it uses the "PPP over ATM" dial mode.

As for the modules, check your modprobe.conf- the modules should
be in there as follows, will be loaded automatically.

alias char-major-108 ppp_generic
alias char-major-144 pppoe
alias net-pf-24 pppoe

Though I'm not sure it's related to all this, you can change your hostname to whatever you want using YAST->Network Services->Hostname
or by editing the /etc/hosts and /etc/HOSTNAME manually.

L

Last edited by lacerto; 05-15-2005 at 08:47 AM.
 
Old 05-15-2005, 12:43 PM   #17
Olaf_Rye
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
Speedtouch 330 Modem on SuSE 9.3

I have just bought the SuSE 9.3 version and cannot get my Speedtouch 330 modem to work. I had a vain hope that the procedure to make this device function on SuSE 9.2 might apply, but unfortunately I have had no luck--the system tells me that the modem_run needs root permission to run (and I am doing all the installation from root !). Does anyone have any advice on this ? It is exasperating me, but apart from that, I have a favourable impression of SuSE 9.3 !
 
Old 05-15-2005, 03:24 PM   #18
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
Hi Lacertes

I wholeheartedly agree that something somewhere is clashing. I'd done all the 9.2 palaver (to no avail) and I tried to get rid of it all (I moved the old init.d/dial but not the /etc/ppp/peers/speedtch

The modem does (sort of) start on hotplug and STARTMODE='hotplug' in /etc/sysconfig/network/ifcfg-dsl0. It just won't start on boot! I've put all the right bumpf in Yast. As you say I no longer use the modem_run script but pppoatm doesn't get started until I do it by hand.

You mentioned modprobe.conf. All the pppoe lines you mention are in there. Does it need a pppoatm line as well? Or is that in ppp_generic?

The hostname thing - that'll give me something to sort out when I fix all this. Though I promise that the first time I ran all this hotplug stuff my $HOSTNAME went MIA. Coincidence? probably

Which logs are the most helpful for all this? I know about /var/log/messages and /var/log/boot.msg just says
dsl0 done
Setting up service network . . . . . . . . . . . . . . . .done

dmesg says
PPP generic driver version 2.4.2
pppoatm: unsupported module, tainting kernel.
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
cdrom: open failed.
st: Version 20041025, fixed bufsize 32768, s/g segs 256
Disabled Privacy Extensions on device ee501000(sit0)
eth0: link down
cdrom: open failed.
eth0: no IPv6 routers present
usbcore: registered new driver speedtch
usb 1-2: found stage 1 firmware speedtch-1.bin
usb 1-2: found stage 2 firmware speedtch-2.bin
JBD: barrier-based sync failed on hda7 - disabling barriers
Non-volatile memory driver v1.2
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
ACPI: Thermal Zone [THRM] (22 C)
powernow-k8: Processor cpuid 670 not supported
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
bootsplash: status on console 0 changed to on
subfs 0.9
end_request: I/O error, dev fd0, sector 0
bootsplash: status on console 0 changed to on
JBD: barrier-based sync failed on hda5 - disabling barriers
usb 1-2: USB disconnect, address 2
usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: found stage 1 firmware speedtch-1.bin
usb 1-2: found stage 2 firmware speedtch-2.bin
ADSL line is synchronising
DSL line goes up
ADSL line is up (320 Kib/s down | 160 Kib/s up)
The last 6 lines are when I unplug it and then replug!

Thanks again.

PS Olaf_Rye - Just do as Lacertes says - it works!

Last edited by oncemorewith; 05-15-2005 at 03:31 PM.
 
Old 05-15-2005, 04:29 PM   #19
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
Hi oncemorewith

Aha...sorry..read your last note way too quickly.

While I don't understand why pppoatm is not being loaded automatically (it does on my machine), you could force it to load
by adding it to the "MODULES_LOADED_ON_BOOT" line in your /etc/sysconfig/kernel file.

eg:
MODULES_LOADED_ON_BOOT="exisitingmodule1 anothermodule2 pppoatm"

L

PS. This whole thing would be much easier to do with a little script - judging by the number of views this thread has generated, it might just be worth doing. I'm not that great at bash, but I've some time this week, so will give it a try.

EDIT: Shell script to automate the process is about half done. Will post it up for scrutiny tomorrow hopefully

Last edited by lacerto; 05-15-2005 at 08:20 PM.
 
Old 05-15-2005, 04:37 PM   #20
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
\begin{confession}
I have a bad feeling that I had to mess around with the whole ppp thing in order for the 9.2 method to not work.
\end{confession}

I'll try it when I get home from work.

Thanks
 
Old 05-16-2005, 03:02 AM   #21
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
So close but still so far. pppoatm now starts on boot - lovely. However the modem doesn't quite manage it. I sorta think it could be one of three things:
a) I've not managed to uninstall the stuff I did following the 9.2 instructions,
b) I screwed something up when uninstalling the 9.2 instructions,
c) it's tripping over itself and trying to run pppd before the ADSL stuff has finished synchronising.

My money is on either a or b (ie my own stupid fault). Some possibly irrelevant error messages are:
/var/log/messages
May 17 07:37:50 buffy pppd[6398]: Plugin pppoatm.so loaded.
May 17 07:37:50 buffy pppd[6398]: PPPoATM plugin_init
May 17 07:37:50 buffy pppd[6398]: Plugin passwordfd.so loaded.
May 17 07:37:50 buffy pppd[6398]: unrecognized option '0/100'
May 17 07:37:53 buffy modem_run[6173]: Another program/driver is already accessing the modem (interface 1 cannot be claimed)...

I have removed every reference to init.d/dial and /usr/sbin/modem_run (infact everything but /etc/ppp/peers/speedtch which I use when I manually start pppd (maybe that's the problem?).

Anyway - as before all comments gratefully accepted.

PS As far as I'm aware this is the only thing around that talks about Suse 9.3 and speedtouch. This could explain the number of hits
 
Old 05-16-2005, 05:31 AM   #22
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
Oh dear onemore...this is getting more and more curious.

One other thing has just occurred to me - for some reason, the new method does not use the pap/chap secrets file....would you mind humoring me and renaming/removing them for at least one boot? And perhaps the same for speedtch script? And if that still doesn't work, you could try taking out pppoatm from the sysconfig/kernel file..who knows ;-)
L

Last edited by lacerto; 05-16-2005 at 05:32 AM.
 
Old 05-16-2005, 06:38 AM   #23
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
chap/pap-secrets and peers/speedtch moved to *.not and a reboot coming up. Just for you lacertes. If I never return you'll know why!
 
Old 05-16-2005, 05:22 PM   #24
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
In case anyone wants to try/test it, I now have a first draft shell script to automate the driver installation.


Last edited by lacerto; 05-16-2005 at 05:32 PM.
 
Old 05-16-2005, 06:53 PM   #25
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
One willing guinea pig at your service.

Out of interest - losing chap/pap secrets was not a good move (at least for those of us who need to run pppd mnanually). Renaming the peers/speedtch script is no problem but it doesn't make it work either!

How does one go about getting this script? If your email on this is a functioning one I could try that option (mine on here is just full of crap that I never look at so probably not much use). Or does this site have a magic way of doing things.
 
Old 05-17-2005, 04:44 AM   #26
Olaf_Rye
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
Automated Script

I would be delighted to give the automated script a go ! I have been waiting in trepidation to install the modem given all the fiddling involved, but I am dying to access the net with Linux instead of this strange Windows environment !
 
Old 05-17-2005, 07:07 AM   #27
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
removed

Last edited by lacerto; 06-15-2005 at 05:34 PM.
 
Old 05-17-2005, 07:26 AM   #28
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
oncemorewith

One thing I see missing from your log which is in mine is smpppd - have you got it running?

May 13 16:46:59 kernel: pppoatm: unsupported module, tainting kernel.
May 13 16:46:59 hal.hotplug[3343]: timout(10000 ms) waiting for /class/net/ppp0
May 13 16:47:01 pppd[3169]: CHAP authentication succeeded
May 13 16:47:01 smpppd[3634]: smpppd version 1.58 started

Last edited by lacerto; 05-17-2005 at 08:28 AM.
 
Old 05-17-2005, 05:23 PM   #29
Olaf_Rye
LQ Newbie
 
Registered: Mar 2005
Location: England
Distribution: SuSE
Posts: 9

Rep: Reputation: 0
Pardon my ignorance Lacerto, as I am still rather new to Linux. Should I put the script you wrote in the firmware-extractor directory ? Or should I create a new one and drop the various .tar files and so forth ? Again, I ask foolish questions because of my inexperience ! Thanks for your help ... I really want to get back online with Linux and keep working on my learning curve ...
 
Old 05-17-2005, 05:48 PM   #30
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
Evening Olaf_Rye

The script can run from anywhere e.g

/home/olaf/speedy93.sh
Just pop the firmware-extractor.tar.gz and speedmgmt.tar.gz and
SpeedTouch330_firmware_3012.zip files in the same directory.
(They will be extracted as part of the script).
eg:
/home/olaf/ firmware-extractor.tar.gz
/home/olaf/SpeedTouch330_firmware_3012.zip
/home/olaf/speedmgmt.tar.gz

Don't forget to run: chmod 774 speedy93.sh first to make the script executable

Then run like this as root: ./speedy.sh

L
 
  


Reply



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
Speedtouch 330 On Suse 9.1 dj9928 Linux - Hardware 3 05-03-2005 08:50 AM
speedtouch 330 on suse 9.1 dAdESiTo Linux - Hardware 4 09-14-2004 03:08 AM
speedtouch 330 on SuSe 9.1 CHiel_l Linux - Software 4 08-14-2004 08:58 AM
SuSE 9.1 and Alcatel Speedtouch lacerto Linux - Hardware 1 05-31-2004 03:24 PM
need some help - Alcatel SpeedTouch on Suse painkiller Linux - Networking 0 02-17-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:00 PM.

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
Open Source Consulting | Domain Registration