Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Speedtouch 330 ADSL USB Modem [Alternative] HOWTO

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
206 posts
  • Page 3 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
Author
Message
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Nov 09, 2005 8:30 am

WizNut wrote:Nov 9 07:17:27 gatekeeper pppd[15720]: connect(0.32): No such device
I'd guess that you have incorrect firmware files in /lib/firmware. For a revision zero (the good ol' green froggy stingray) model, you want the following filesizes (from KQD6 rather than ZZZL):

Code: Select all

ls -l /lib/firmware

-rw-------  1 root root    991 speedtch-1.bin
-rw-------  1 root root 762650 speedtch-2.bin
Top
peka
l33t
l33t
User avatar
Posts: 773
Joined: Wed Mar 16, 2005 7:06 pm
Location: Płońsk, Poland

  • Quote

Post by peka » Wed Nov 09, 2005 6:34 pm

I think you may have PPPoE connection as apposed to PPPoA, which I have at home and for which I wrote this howto.
I beliwe that wiki page you have mentioned (which btw refers to my howto) talks about PPPoA as well.
Notice you have eth0 interface while I have ppp0.

I'm not sure how to set up SpeedTouch to work on PPPoE - I've never needed to try it.
Try searching for Speedtouch PPPoE howto.

P.S I think you have the correct firmware sincie it;s being recognized.
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Top
WizNut
n00b
n00b
Posts: 37
Joined: Wed Nov 09, 2005 6:09 am
Location: Earth

  • Quote

Post by WizNut » Wed Nov 09, 2005 6:48 pm

peka wrote:I think you may have PPPoE connection as apposed to PPPoA, which I have at home and for which I wrote this howto.
I beliwe that wiki page you have mentioned (which btw refers to my howto) talks about PPPoA as well.
Notice you have eth0 interface while I have ppp0.

I'm not sure how to set up SpeedTouch to work on PPPoE - I've never needed to try it.
Try searching for Speedtouch PPPoE howto.

P.S I think you have the correct firmware sincie it;s being recognized.
I have Qwest for DSL. They used to be PPPoE, but now they're PPPoA. I know for a fact.

etho is an Intel Pro/100 Ethernet NIC.

anyways, thanks. If you have anything more I'd appreciate it.
Top
peka
l33t
l33t
User avatar
Posts: 773
Joined: Wed Mar 16, 2005 7:06 pm
Location: Płońsk, Poland

  • Quote

Post by peka » Wed Nov 09, 2005 7:10 pm

maybe you should use some other plugin, not pppoatm.so in your peer config and you should probably load some other kernel module for that as well
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Top
peka
l33t
l33t
User avatar
Posts: 773
Joined: Wed Mar 16, 2005 7:06 pm
Location: Płońsk, Poland

  • Quote

Post by peka » Wed Nov 09, 2005 7:12 pm

WizNut wrote: etho is an Intel Pro/100 Ethernet NIC.
But you have your Speedtouch plugged in USB, right?
Do you use your network (eth) card for sometning?
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Top
WizNut
n00b
n00b
Posts: 37
Joined: Wed Nov 09, 2005 6:09 am
Location: Earth

  • Quote

Post by WizNut » Thu Nov 10, 2005 2:21 am

peka wrote:
WizNut wrote: etho is an Intel Pro/100 Ethernet NIC.
But you have your Speedtouch plugged in USB, right?
Do you use your network (eth) card for sometning?
I'm trying to turn the machine into a DSL router / Shorewall Firewall / Bluetooth Access Point.

I was going to set it up as an 802.11g AP, but I gave up on getting the wifi card (Atheros chipset)
to work. I couldn't use ndiswrapper because I needed access point support along with support for
WPA/WPA2, 802.11x, and AES. From my own experiences and what I've seen on the forums, it appears
that madwifi is currently having some problems. :(

Anyways, at least I've got the bluetooth up and running.

btw, for the bluetooth, I didn't use the howto from http://gentoo-wiki.com. I look at the one on the
wiki, but evidently it's only for if you have a single bluetooth device to setup. What I ended up doing is adapting
a howto I found that was written for debian. Actually It would have been easier, except that AFIK, PalmOS doen't
support PAN. You have to establish a PPP connection. I hope they add support for it in an update.
Top
WizNut
n00b
n00b
Posts: 37
Joined: Wed Nov 09, 2005 6:09 am
Location: Earth

  • Quote

Post by WizNut » Fri Nov 11, 2005 1:43 am

Fixed it, kind of...

I did /usr/sbin/pppd debug call adsl. Apparently, my isp was requiring pap and not chap. :oops:

Up and running,
Thanks :)
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Wed Dec 07, 2005 3:18 pm

My modem after one or days lost is connection to my ISP, this is the error:
Dec 6 13:24:05 gandalf usb 1-2: USB disconnect, address 2
Dec 6 13:24:07 gandalf usb 1-2: new full speed USB device using uhci_hcd and address 3
Dec 6 13:24:07 gandalf usb 1-2: reset full speed USB device using uhci_hcd and address 3
Dec 6 13:24:08 gandalf speedtch 1-2:1.0: found stage 1 firmware speedtch-1.bin
Dec 6 13:24:09 gandalf speedtch 1-2:1.0: found stage 2 firmware speedtch-2.bin
Dec 6 13:24:09 gandalf modem_run[1787]: modem_run version 1.3.1 started by root uid 0
Dec 6 13:24:09 gandalf modem_run[1787]: Another program/driver is already accessing the modem (interface 2 cannot be claimed)...
Dec 6 13:24:09 gandalf rc-scripts: Can't load the microcode !!
Dec 6 13:24:09 gandalf rc-scripts: Please detach and attach again your modem to the USB port to unload the microcode.
Dec 6 13:24:09 gandalf rc-scripts: Then run '/etc/init.d/speedtouch start'
Dec 6 13:24:09 gandalf rc-scripts: Speedtouch firmware load failed
Dec 6 13:24:14 gandalf ATM dev 1: ADSL line is synchronising
Dec 6 13:24:24 gandalf ATM dev 1: DSL line goes up
Dec 6 13:24:24 gandalf ATM dev 1: ADSL line is up (4096 kb/s down | 256 kb/s up)
using ifconfig I still have a ppp0 device with an IP, but the network isn't working, anyone knows why this happends?

Tó

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Dec 07, 2005 3:54 pm

Tracking these problems down is difficult, because there are several potentials, e.g.:
  • The Speedtouch modem hung
    Problem with ADSL line
    Hardware problem at the telephone exchange
I'd expect the kernel module to be better than modem_run at attempting a reconnect. Manually disconnecting the modem from the USB port sometimes seems to be the only way to properly reset a dead connection.
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Wed Dec 07, 2005 4:07 pm

I'm full of work today, but tomorrow I'll use this guide to configure my connection.

Tó

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Dec 07, 2005 4:30 pm

The baselayout setup method is the one I recommend, since it's the future standard solution.
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Fri Dec 09, 2005 9:21 am

Paul I trued to follow the wiki but I got into one prob. I have emerged speedtouch, and it seams like it ain't needed anymore.
But if I emerge -C speetouch and reboot, the system will load a module speedtouch, cause it's on my modules autoload, but when I start my pppd it gives me No Device.
Something is not right, any advice?

Tó

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Fri Dec 09, 2005 9:28 am

Hmm, it sounds like you should follow the wiki method, because that's the one that I can help you best with :?

What are the error lines from /var/log/messages?
Top
To
Veteran
Veteran
User avatar
Posts: 1145
Joined: Sat Apr 12, 2003 9:12 pm
Location: Coimbra, Portugal
Contact:
Contact To
Website

  • Quote

Post by To » Fri Dec 09, 2005 2:07 pm

lol that was the one I follow, and why I was asking you to :wink:

Tó

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Top
tuxicated
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Tue Nov 02, 2004 6:56 pm

  • Quote

Post by tuxicated » Sun Dec 11, 2005 9:44 pm

I am trying to switch from kernel 2.6.12 to 2.6.14, with little luck unfortunately.

On kernel 2.6.12 I use the speedtouch ebuild, which works perfectly. I tried to follow the WIKI howto (http://gentoo-wiki.com/HOWTO_Speedtouch_modem) as closely as possible in order to switch to the new method of initialising the speedtouch modem.

Because I already had the speedtouch modem working, there was very little I needed to change. My kernel config already contained all the things that are needed, my /etc/ppp/peers/adsl was already correct, as are my *-secrets files. The only things that actually changed was the speedtouch bootscript that no longer runs, the new split firmware files, and the hotplug changes.

When I plug-in the modem while running kernel 2.6.14 and initialise it, I get this:

Code: Select all

Dec 11 16:40:05 [kernel] usb 3-2: new full speed USB device using uhci_hcd and address 7
Dec 11 16:40:06 [kernel] usb 3-2: reset full speed USB device using uhci_hcd and address 7
Dec 11 16:40:06 [hald] Timed out waiting for hotplug event 671. Rebasing to 672
Dec 11 16:40:07 [kernel] speedtch 3-2:1.0: found stage 1 firmware speedtch-1.bin
Dec 11 16:40:07 [kernel] speedtch 3-2:1.0: no stage 2 firmware found!
Dec 11 16:40:09 [rc-scripts] WARNING:  "speedtouch" has already been started.
Dec 11 16:40:10 [modem_run] modem_run version 1.3.1 started by root uid 0_
Dec 11 16:40:10 [rc-scripts] Can't load the microcode !!
Dec 11 16:40:10 [rc-scripts] Please detach and attach again your modem to the USB port to unload the microcode.
Dec 11 16:40:10 [rc-scripts] Then run '/etc/init.d/speedtouch start'
Dec 11 16:40:10 [rc-scripts] Speedtouch firmward load failed
Dec 11 16:40:34 [hald] Timed out waiting for hotplug event 689. Rebasing to 673
Dec 11 16:40:36 [hald] Timed out waiting for hotplug event 679. Rebasing to 680
Dec 11 16:40:38 [hald] Timed out waiting for hotplug event 681. Rebasing to 682
Dec 11 16:40:40 [hald] Timed out waiting for hotplug event 683. Rebasing to 684
Dec 11 16:40:42 [hald] Timed out waiting for hotplug event 685. Rebasing to 686

The message no stage 2 firmware found! is strange, because:

Code: Select all

takkie speedtouch # ls -l /lib/firmware/
total 753
-rw-r--r--  1 root root    991 dec 11 15:23 speedtch-1.bin
-rw-r--r--  1 root root 762650 dec 11 15:23 speedtch-2.bin
Both files are there. I tried setting the files to world-readable, but that did not fix anything. Another strange thing is that modem_run is still being called. Is this harmful, and how can I de-activate it when needed?

As soon as I reboot into kernel 2.6.12, the modem works fine using the good old speedtouch init script.

Any hints?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Dec 11, 2005 9:56 pm

tuxicated wrote:my /etc/ppp/peers/adsl was already correct
Did you already have "passive" in it? That's good.
Dec 11 16:40:10 [modem_run] modem_run version 1.3.1 started by root uid 0_
Unmerge the speedtouch ebuild. modem_run is conflicting with the kernel driver, because they're both trying to load the microcode into the modem at the same time.
Top
tuxicated
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Tue Nov 02, 2004 6:56 pm

It works, but unreliable.

  • Quote

Post by tuxicated » Sun Dec 25, 2005 2:27 pm

Ok, I unmerged the speedtouch package and merged the coldplug package. Now it seems to work, but it is not reliable.

On boot, it never works. I get this:

Code: Select all

Dec 25 15:14:17 [kernel] usb 3-2: USB disconnect, address 3
Dec 25 15:14:20 [kernel] eth0: link down
Dec 25 15:14:31 [kernel] usb 3-2: new full speed USB device using uhci_hcd and address 4
Dec 25 15:14:32 [kernel] usb 3-2: reset full speed USB device using uhci_hcd and address 4
Dec 25 15:14:33 [kernel] speedtch 3-2:1.0: no stage 1 firmware found!
When I unplug the modem and plug it in again, I get:

Code: Select all

Dec 25 15:15:45 [kernel] usb 3-2: USB disconnect, address 4
Dec 25 15:15:50 [kernel] usb 3-2: new full speed USB device using uhci_hcd and address 5
Dec 25 15:15:51 [kernel] usb 3-2: reset full speed USB device using uhci_hcd and address 5
Dec 25 15:15:53 [kernel] speedtch 3-2:1.0: found stage 1 firmware speedtch-1.bin
Dec 25 15:15:54 [kernel] speedtch 3-2:1.0: no stage 2 firmware found!
And when I unplug/plug the darn thing again, I get:

Code: Select all

Dec 25 15:16:10 [kernel] usb 3-2: USB disconnect, address 5
Dec 25 15:16:17 [kernel] usb 3-2: new full speed USB device using uhci_hcd and address 6
Dec 25 15:16:17 [kernel] usb 3-2: reset full speed USB device using uhci_hcd and address 6
Dec 25 15:16:19 [kernel] speedtch 3-2:1.0: found stage 1 firmware speedtch-1.bin
Dec 25 15:16:20 [kernel] speedtch 3-2:1.0: found stage 2 firmware speedtch-2.bin
Dec 25 15:16:25 [kernel] ATM dev 0: ADSL line is synchronising
Dec 25 15:16:35 [kernel] ATM dev 0: DSL line goes up
Dec 25 15:16:35 [kernel] ATM dev 0: ADSL line is up (6144 kb/s down | 768 kb/s up)
Finally, it worked! Does anyone have any idea why this is so unreliable?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Dec 25, 2005 5:18 pm

I've never seen that problem. Coldplug is not required - try unmerging coldplug. Check that modem_run has been removed. Did you run:

Code: Select all

rc-update del speedtouch default
Top
tuxicated
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Tue Nov 02, 2004 6:56 pm

  • Quote

Post by tuxicated » Wed Dec 28, 2005 3:40 pm

Yes, I also removed the speedtouch init script from boot sequence. Why does portage not do that automatically when you unmerge it??

I will try unmerging coldplug as soon as I have physical access to that machine again. For now it runs OK on kernel 2.6.12.

Hacking the modem software is sooo frustrating... Make one mistake and you loose contact with the rest of the planet and as a bonus you can't even emerge anything anymore... :x
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Dec 28, 2005 3:55 pm

tuxicated wrote:Yes, I also removed the speedtouch init script from boot sequence. Why does portage not do that automatically when you unmerge it??
Because portage did not add it, and if you want portage to make such blind & dangerous assumptions, use Debian instead :wink:
Make one mistake and you lose contact with the rest of the planet and as a bonus you can't even emerge anything anymore... :x
That is why Speedtouch modems come with installation CDs (for Windows). For Linux, it would be prudent to e.g. burn a CD with the contents of /lib/firmware
Top
Qubax
Guru
Guru
User avatar
Posts: 451
Joined: Fri Jul 19, 2002 9:41 pm
Location: Tirol, Austria

  • Quote

Post by Qubax » Tue Jan 31, 2006 11:17 pm

how much are problems related to udev?

i've got everything running with udev 070-r1

Code: Select all

Jan 28 13:26:53 [pppd] Plugin pppoatm.so loaded.
Jan 28 13:26:53 [pppd] PPPoATM plugin_init
Jan 28 13:26:53 [pppd] PPPoATM setdevname_pppoatm - SUCCESS:8.48
Jan 28 13:26:53 [pppd] pppd 2.4.3 started by root, uid 0
Jan 28 13:26:53 [pppd] Using interface ppp0
Jan 28 13:26:53 [pppd] Connect: ppp0 <--> 8.48
Jan 28 13:26:53 [kernel] ip_tables: (C) 2000-2002 Netfilter core team
Jan 28 13:26:53 [kernel] ipt_LOG: not logging via system console since somebody else already registe
red for PF_INET
Jan 28 13:26:53 [kernel] ip_conntrack version 2.3 (2047 buckets, 16376 max) - 216 bytes per conntrac
k
Jan 28 13:27:03 [kernel] ATM dev 0: DSL line goes up
Jan 28 13:27:03 [kernel] ATM dev 0: ADSL line is up (1088 kb/s down | 256 kb/s up)
then i do an update to udev-079-r1 and get:

Code: Select all

Jan 28 18:19:44 [kernel] usb 1-1: USB disconnect, address 2
Jan 28 18:19:47 [kernel] usb 1-1: new full speed USB device using uhci_hcd and address 3
Jan 28 18:19:48 [kernel] usb 1-1: reset full speed USB device using uhci_hcd and address 3
Jan 28 18:20:18 [kernel] speedtch 1-1:1.0: no stage 1 firmware found!
Jan 28 18:20:29 [pppd] Plugin pppoatm.so loaded.
Jan 28 18:20:29 [pppd] PPPoATM plugin_init
Jan 28 18:20:29 [pppd] PPPoATM setdevname_pppoatm - SUCCESS:8.48
Jan 28 18:20:29 [pppd] pppd 2.4.3 started by root, uid 0
Jan 28 18:20:29 [pppd] connect(8.48): No such device
Jan 28 18:20:29 [pppd] Exit.
going back to the old udev "solves" the problem.

any suggestions (beside sticking to the old udev)?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Tue Jan 31, 2006 11:26 pm

Qubax wrote:going back to the old udev "solves" the problem.
Was /dev/ppp not being created? Oh well, udev moves too fast - it's already a few versions ahead :?
Top
Qubax
Guru
Guru
User avatar
Posts: 451
Joined: Fri Jul 19, 2002 9:41 pm
Location: Tirol, Austria

  • Quote

Post by Qubax » Wed Feb 01, 2006 9:24 pm

i changed two things:
  • added packet socket in kernel
  • added passive to peers mode
now everything is also working with the new udev. someone know an explanation?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Wed Feb 01, 2006 9:32 pm

"passive" is very important, otherwise the timing of the connection attempt is crucial.
Top
idodesuke
Apprentice
Apprentice
User avatar
Posts: 244
Joined: Mon Dec 19, 2005 6:22 pm
Location: France

  • Quote

Post by idodesuke » Thu Feb 02, 2006 3:09 am

http://www.linux-usb.org/SpeedTouch/firmware/index.html

(sorry I'm french!)
if you have a problem with udev and the firmware use small extra udev program which isn't installed by default:

edit udev's rules configuration file:
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper"

in udev-079-r1.ebuild I see
local extras="extras/scsi_id extras/volume_id extras/ata_id extras/run_directory extras/usb_id extras/floppy extras/cdrom_id extras/firmware"
Top
Post Reply

206 posts
  • Page 3 of 9
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic