View previous topic :: View next topic |
Author |
Message |
tuppe666 Guru
Joined: 02 Mar 2004 Posts: 423
|
Posted: Tue Nov 02, 2004 9:22 pm Post subject: |
|
|
Looks like its in my .config have a look at yours
gedit .config
cat .config
nano .config
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
CONFIG_USB_SPEEDTOUCH=m
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set |
|
Back to top |
|
|
PeeJay n00b
Joined: 15 Aug 2004 Posts: 46 Location: Sydney, Australia
|
Posted: Wed Nov 03, 2004 3:51 am Post subject: |
|
|
Not there. So I put it there and saved it, open to chech it was still there.
then make menuconfig - no option for it. Save config file on the way out
Check .config again - Gone! I searched manually and automatically for "speedtouch" and it's just not there! Perhaps I should post a message in the Kernel section.
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
CONFIG_USB_CYTHERM=m
CONFIG_USB_PHIDGETSERVO=m
# CONFIG_USB_TEST is not set |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Wed Nov 03, 2004 11:04 am Post subject: |
|
|
I believe it's dependant on some other kernel settings. Have you checked to make sure you have all the other settings from the first post in this thread?
I think the ATM stuff is needed before speedtouch drivers appear as an option. _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
PeeJay n00b
Joined: 15 Aug 2004 Posts: 46 Location: Sydney, Australia
|
Posted: Thu Nov 04, 2004 12:21 am Post subject: |
|
|
Arrgghh!! Yes, that fixed it! Thanks. I should have known better |
|
Back to top |
|
|
Skoby n00b
Joined: 01 Nov 2004 Posts: 5 Location: Scotland
|
Posted: Wed Nov 10, 2004 6:52 pm Post subject: |
|
|
Erhm guys. Im just about to make my switch to linux (for good hopefully) and it seems i'm one of the ufortunates to have a speedtouch 300. Im a total Linux n00b and i have been frantically reading up on everything. How easy is it going to be for me (a person with no linux experiance whatsoever) to install gentoo and then my modem?
I printed out the howto, but what if something goes wrong, im screwed because i wont have net access. Will it just be easier for me to buy another modem instead of going grey at 17 or should i bite my lip, make a mistake, learn from it and learn a bit more about linux? I dont have any other hard drives kicking around so i cant really install linux on another one incase i mess up, lol. _________________ skoby
There is no good or wrong, only fun and boring. |
|
Back to top |
|
|
PeeJay n00b
Joined: 15 Aug 2004 Posts: 46 Location: Sydney, Australia
|
Posted: Thu Nov 11, 2004 6:26 am Post subject: |
|
|
Buy an ethernet modem!!! makes life sooo simple!.
Or failing that create a windows/linux dualboot system.
You'd learn a lot from trying to install your speedtouch (like I did the first time...) but you need a good backup to access here to find out how to fix it when it don't work the first time |
|
Back to top |
|
|
Skoby n00b
Joined: 01 Nov 2004 Posts: 5 Location: Scotland
|
Posted: Thu Nov 11, 2004 1:39 pm Post subject: |
|
|
lol, yeah. Ethernet modem eh? Thanks mate! I'lll jump out and get one incase i cant get the speedtouch to work. Not going to give up on it cos i have a feeling that I could learn alot from this that i'll need later. _________________ skoby
There is no good or wrong, only fun and boring. |
|
Back to top |
|
|
tuppe666 Guru
Joined: 02 Mar 2004 Posts: 423
|
Posted: Sat Nov 13, 2004 12:43 am Post subject: |
|
|
The modem is a bobby dazzler when it works, and the mailing list are worth signing up for on the driver site. Took me two days to get working the first time there is far too much help out there, syslog became my freind, although there are really too many files out there are the moment, although there seems to be lots of work on the driver, updates are with every kernel. |
|
Back to top |
|
|
giZmo79 n00b
Joined: 19 Dec 2004 Posts: 3
|
Posted: Sun Dec 19, 2004 8:16 pm Post subject: Pas de detection de l'interface ppp0 |
|
|
Bonjour a tous,
Je suis nouveau sous gentoo (malgre qq annees d'experience sous linux) et j'essaie de connecter mon modem Alcatel Speedtouch USB.
J'ai suivi a la lettre le howto de fazto, pius celui de la doc fournie avec le package speedtouch, mais rien a faire...
Je suis les instructions de fazto et tout va bien jusqu'a l'instruction:
# /etc/init.d/speedtouch start
Reponse:
* Starting speedtouch ADSL Modem ...
* Loading firmware ...
* Can't load the microcode!!
La dessus, je fais un ifconfig ppp0 et il me repond:
#ifconfig ppp0
ppp0: erreur lors de la recherche d'infos sur l'interface: Periferique non trouve
Finalement, je verifie ma config noyau et en particulier que j'ai bien compile le PPP support en module; c'est bon...
Mais, en essayant de faire un "modprobe ppp_generic", il me repond:
#modprobe ppp_generic
WARNING: Error inserting ppp_generic (/lib/modules/2.6.9-gentoo-r9/kernel/drivers/net/ppp_generic.ko) : Device or resource busy
Resultat, bien sur les modules qui dependent de ppp_generic ne sont pas charges non plus.
J'ai essaye aussi de recompiler le noyau avec le support PPP en dur, mais ca ne change rien.
Donc si qqn a une bonne idee, je suis preneur!!
giZmo
P.S: Au fait, le protocole utilise est PPPoA
Merci d'avance |
|
Back to top |
|
|
volumen1 Guru
Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
Posted: Sun Dec 19, 2004 9:07 pm Post subject: |
|
|
It's been quite some time since my highschool french classes. But, I think I would focus on this error first Code: | Can't load the microcode!! | .
In /etc/conf.d/speedtouch, you should have a line that sets the microcode path. For example, in mine, I have the following
Code: | MICROCODE="/usr/local/lib/speedtouch/firmware.bin"
|
Then you need to make sure that firmware is actually in that location.
Code: | ls -al /usr/local/lib/speedtouch/
total 668
drwxr-xr-x 2 root root 4096 Oct 13 20:51 .
drwxr-xr-x 3 root root 4096 Oct 13 20:51 ..
-rw-r--r-- 1 root root 671653 Jun 18 2004 firmware.bin
|
After you have that working, then I would tackle your PPP config.
Bonne chance! _________________ I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com |
|
Back to top |
|
|
giZmo79 n00b
Joined: 19 Dec 2004 Posts: 3
|
Posted: Sun Dec 19, 2004 9:36 pm Post subject: it's better in english |
|
|
hi there,
Well, i'm sorry about my first message; further ones will be in english!!
About my microcode, well, my path is all right (i've already checked it), even in the speedtouch script.
How can i tackle my PPP config.
Thanks a lot
giZmo |
|
Back to top |
|
|
volumen1 Guru
Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
Posted: Sun Dec 19, 2004 9:48 pm Post subject: |
|
|
Are you still getting the error about the microcode? What if you change VERBOSE="2" in /etc/conf.d/speedtouch and try to start? See if it gives you more information. _________________ I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com |
|
Back to top |
|
|
giZmo79 n00b
Joined: 19 Dec 2004 Posts: 3
|
Posted: Mon Dec 20, 2004 10:48 am Post subject: still getting the error |
|
|
hi,
the error about the microcode still remains and the verbose level doesn't give me more information.
But i think that the error comes rather from the fact that linux is unable to load the module ppp_generic. As a result, the depending modules aren't loaded ether.
I tried to recompile with ppp support integrated in the kernel, but nothing to do. |
|
Back to top |
|
|
djm Arch/Herd Tester
Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Mon Dec 20, 2004 12:40 pm Post subject: Re: still getting the error |
|
|
giZmo79 wrote: | hi,
the error about the microcode still remains and the verbose level doesn't give me more information.
But i think that the error comes rather from the fact that linux is unable to load the module ppp_generic. As a result, the depending modules aren't loaded ether.
I tried to recompile with ppp support integrated in the kernel, but nothing to do. |
Maybe, but not necessarily. Syslog might have more information, so pressing ctrl+alt+F12 after the micrcode (alt+F7 to get back), or tail /var/log/messages might show you something (of course, these might be different on your system, but you'll almost certainly already know that if they are) _________________ the forums.gentoo.org poster formally known as metal leper |
|
Back to top |
|
|
Faisca n00b
Joined: 26 Oct 2004 Posts: 10
|
Posted: Tue Dec 21, 2004 1:41 am Post subject: |
|
|
Hello, i have a small problem, :
This are the modules that i have:
Code: |
bash-2.05b# lsmod
Module Size Used by
usb_storage 27944 -
ohci_hcd 18988 -
snd_emu10k1_synth 6792 -
snd_emux_synth 36296 -
snd_seq_virmidi 5512 -
snd_seq_midi_emul 6664 -
snd_emu10k1 94248 -
snd_util_mem 3272 -
snd_hwdep 6980 -
fglrx 231932 -
bash-2.05b#
|
then i connect the modem USB speedtouch rev 4 (the silver one) and i get the following:
(i simple connect the modem, i do have hotplug or coldplug started and i do not call speedtouch start or modem_run ...)
Code: |
bash-2.05b# lsmod
Module Size Used by
ppp_generic 21372 -
slhc 6376 -
speedtch 13424 -
atm 36596 -
usb_storage 27944 -
ohci_hcd 18988 -
snd_emu10k1_synth 6792 -
snd_emux_synth 36296 -
snd_seq_virmidi 5512 -
snd_seq_midi_emul 6664 -
snd_emu10k1 94248 -
snd_util_mem 3272 -
snd_hwdep 6980 -
fglrx 231932 -
bash-2.05b#
|
Code: |
bash-2.05b# tail /var/log/messages
Dec 21 00:24:53 Faisca ohci_hcd 0000:00:02.0: wakeup
Dec 21 00:24:53 Faisca usb 1-2: new full speed USB device using address 2
Dec 21 00:24:54 Faisca NET: Registered protocol family 8
Dec 21 00:24:54 Faisca NET: Registered protocol family 20
Dec 21 00:24:54 Faisca usbcore: registered new driver speedtch
Dec 21 00:24:54 Faisca modem_run[6596]: modem_run version 1.3.1 started by root uid 0
Dec 21 00:24:54 Faisca modem_run[6596]: Found SpeedTouch USB modem
Dec 21 00:24:54 Faisca modem_run[6596]: Modem revision: 0400
Dec 21 00:24:54 Faisca modem_run[6596]: Best offset 0 with probability 100%
Dec 21 00:24:54 Faisca modem_run[6596]: Best offset 927 with probability 100%
Dec 21 00:24:54 Faisca modem_run[6596]: Firmware info (CRC:0x69636579, Size:935, Checked: Yes, Alcatel/Thomson Boot block (new))
Dec 21 00:24:54 Faisca modem_run[6596]: Best offset 0 with probability 100%
Dec 21 00:24:54 Faisca modem_run[6596]: Best offset 775501 with probability 100%
Dec 21 00:24:54 Faisca modem_run[6596]: Firmware info (CRC:0x0223733c, Size:775509, Checked: Yes, 1.0.10 - Win32 Rev 0400 SACHU3)
Dec 21 00:24:54 Faisca modem_run[6596]: BLOCK1 : 935 bytes uploaded : OK
Dec 21 00:24:54 Faisca modem_run[6596]: BLOCK2 : 511 bytes downloaded : OK
Dec 21 00:24:58 Faisca modem_run[6596]: BLOCK3 : 775509 bytes uploaded : OK
Dec 21 00:24:58 Faisca modem_run[6596]: BLOCK4 : 511 bytes downloaded : OK
Dec 21 00:24:59 Faisca modem_run[6596]: Found kernel mode driver
Dec 21 00:24:59 Faisca modem_run[6596]: Modem reference : 35720370......
Dec 21 00:25:29 Faisca modem_run[6596]: ADSL synchronization has been obtained
Dec 21 00:25:29 Faisca modem_run[6596]: ADSL line is up (512 kbit/s down | 128 kbit/s up)
Dec 21 00:25:29 Faisca pppd[6605]: Plugin /usr/lib/pppd/2.4.3/pppoatm.so loaded.
Dec 21 00:25:29 Faisca CSLIP: code copyright 1989 Regents of the University of California
Dec 21 00:25:29 Faisca PPP generic driver version 2.4.2
Dec 21 00:25:29 Faisca pppd[6605]: PPPoATM plugin_init
Dec 21 00:25:29 Faisca pppd[6605]: PPPoATM setdevname_pppoatm - SUCCESS:0.35
Dec 21 00:25:29 Faisca pppd[6605]: In file /etc/ppp/peers/adsl: unrecognized option 'lock'
Dec 21 00:25:29 Faisca rc-scripts: Failed to start the PPP daemon
bash-2.05b#
|
In the log, is it normal the line where it says that Quote: | Dec 21 00:25:29 Faisca PPP generic driver version 2.4.2 | i do not understand it since my pppd version is 2.4.3!
I also do not understand why it says: "unrecognized option 'lock'".
My /etc/ppp/peers/adsl has:
Code: |
lock
defaultroute
noipdefault
noauth
holdoff 4
maxfail 25
persist
asyncmap 0
lcp-echo-interval 2
lcp-echo-failure 7
name xxxxx@xxxxx
plugin /usr/lib/pppd/2.4.3/pppoatm.so
0.35
|
If i do pppd i will get:
Code: |
bash-2.05b# pppd
Plugin /usr/lib/pppd/2.4.3/pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname_pppoatm - SUCCESS:0.35
bash-2.05b# tail /var/log/messages
Dec 21 00:32:53 Faisca pppd[6627]: Plugin /usr/lib/pppd/2.4.3/pppoatm.so loaded.
Dec 21 00:32:53 Faisca pppd[6627]: PPPoATM plugin_init
Dec 21 00:32:53 Faisca pppd[6627]: PPPoATM setdevname_pppoatm - SUCCESS:0.35
Dec 21 00:32:53 Faisca pppd[6628]: pppd 2.4.3 started by root, uid 0
Dec 21 00:32:53 Faisca pppd[6628]: Using interface ppp0
Dec 21 00:32:53 Faisca pppd[6628]: Connect: ppp0 <--> 0.35
Dec 21 00:32:53 Faisca pppd[6628]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Dec 21 00:33:23 Faisca pppd[6628]: LCP: timeout sending Config-Requests
Dec 21 00:33:23 Faisca pppd[6628]: Connection terminated.
Dec 21 00:33:23 Faisca pppd[6628]: connect(0.35): Address already in use
Dec 21 00:33:23 Faisca pppd[6628]: Exit.
bash-2.05b#
|
Sorry for my bad english (i'm portuguese) and sorry for the long post.
Please help. |
|
Back to top |
|
|
djm Arch/Herd Tester
Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Tue Dec 21, 2004 12:08 pm Post subject: |
|
|
Faisca wrote: | I also do not understand why it says: "unrecognized option 'lock'".
My /etc/ppp/peers/adsl has:
Code: |
lock
defaultroute
noipdefault
noauth
holdoff 4
maxfail 25
persist
asyncmap 0
lcp-echo-interval 2
lcp-echo-failure 7
name xxxxx@xxxxx
plugin /usr/lib/pppd/2.4.3/pppoatm.so
0.35
|
|
Have you tried taking lock out of /etc/ppp/peers/adsl? I don't know what it does, but it seems to be causing you a problem _________________ the forums.gentoo.org poster formally known as metal leper |
|
Back to top |
|
|
Faisca n00b
Joined: 26 Oct 2004 Posts: 10
|
Posted: Sat Dec 25, 2004 12:07 pm Post subject: |
|
|
thanks for your help djm.
If i remove the "lock" option, it will give me the same error but in the 0.35. I do not think that the problem is in that file, probably some service (speedtouch) is trying to do the same thing twice. Sincerely i have no idea of what's going on. |
|
Back to top |
|
|
djm Arch/Herd Tester
Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Sat Dec 25, 2004 12:10 pm Post subject: |
|
|
Have a look at:
http://speedtouchconf.sourceforge.net/
Hopefully this will set things up automatically for you, or if not it might give some more insight into why things aren't working _________________ the forums.gentoo.org poster formally known as metal leper |
|
Back to top |
|
|
Faisca n00b
Joined: 26 Oct 2004 Posts: 10
|
Posted: Sat Dec 25, 2004 1:14 pm Post subject: |
|
|
I will do that, thanks. |
|
Back to top |
|
|
volumen1 Guru
Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
|
Back to top |
|
|
milkman n00b
Joined: 28 Aug 2002 Posts: 8 Location: Hamilton, New Zealand
|
Posted: Thu Jan 20, 2005 6:51 am Post subject: Re: 2.6.10 kernel |
|
|
I have just purchased the Speedtouch USB 330 revision 4 (silver) modem, and have finally got it working in kernel 2.6.10.
What I have noticed is that the speedtouch version 1.3.1 does not work for me, but the 1.3 does.
I have managed to get it working with the command:
modem_run -v 2 -s -k -r 4 -f /etc/speedtouch/ZZZL_3.012 |
|
Back to top |
|
|
xming Guru
Joined: 02 Jul 2002 Posts: 441
|
Posted: Fri Jan 21, 2005 7:13 pm Post subject: |
|
|
Better to use the kernel driver firmware loading function instead of modem run, faster boot time and more reliable, you can find more info on my site.
xming _________________ http://wojia.be |
|
Back to top |
|
|
Tyrius n00b
Joined: 27 Aug 2004 Posts: 46 Location: Southampton, UK
|
Posted: Fri Jan 21, 2005 8:52 pm Post subject: |
|
|
Hiya,
Has anyone managed to find a way to automatically start pppd after the firmware hotplug has finished? (using the new method in the above post) It is just a pain having to login as root to start the pppd from the command line everytime you start the computer, especially when the old way did have an automatic way of starting pppd.
Thanks in advance. |
|
Back to top |
|
|
volumen1 Guru
Joined: 01 Mar 2003 Posts: 393 Location: Missoula, MT
|
Posted: Fri Jan 21, 2005 8:59 pm Post subject: |
|
|
What about editing the /etc/init.d/speedtouch script to just start PPPD? That's what I was going to do, but I can't reboot my ADSL gateway until tonight or tomorrow, so I haven't tested it. But, here's what I was going to put in the speedtouch initscript.
Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/files/speedtouch.rc7,v 1.2 2004/09/28 01:23:20 swegener Exp $
depend() {
need localmount modules
}
start() {
ebegin "Starting Speedtouch ADSL Modem..."
einfo "Speedtouch firmware loaded via Hotplug now"
eend 0
if [ ! -f "/etc/ppp/peers/$PEER" ]; then
eend 1 "Failed to find peer configuration"
return 1
fi
einfo "Launching the PPP daemon..."
rm -f /var/run/pppoa*.pid
start-stop-daemon --start \
--exec /usr/sbin/pppd call $PEER &>/dev/null
eend $? "Failed to start the PPP daemon"
}
stop() {
ebegin "Shutting down the SpeedTouch ADSL Modem..."
start-stop-daemon --stop --pidfile /var/run/ppp0.pid pppd
eend $? "Failed to stop 'pppd'."
} |
_________________ I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Last edited by volumen1 on Fri Jan 21, 2005 11:44 pm; edited 1 time in total |
|
Back to top |
|
|
Tyrius n00b
Joined: 27 Aug 2004 Posts: 46 Location: Southampton, UK
|
Posted: Fri Jan 21, 2005 9:18 pm Post subject: |
|
|
Hiya,
Tried the script which was posted by volumen1 and it works perfectly
Well done volumen1 for the solution. |
|
Back to top |
|
|
|