Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speedtouch 330 ADSL USB Modem [Alternative] HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Nov 09, 2005 8:30 am    Post subject: Reply with quote

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:
ls -l /lib/firmware

-rw-------  1 root root    991 speedtch-1.bin
-rw-------  1 root root 762650 speedtch-2.bin
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Wed Nov 09, 2005 6:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 11
Location: Earth

PostPosted: Wed Nov 09, 2005 6:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Wed Nov 09, 2005 7:10 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Wed Nov 09, 2005 7:12 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 11
Location: Earth

PostPosted: Thu Nov 10, 2005 2:21 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
WizNut
n00b
n00b


Joined: 09 Nov 2005
Posts: 11
Location: Earth

PostPosted: Fri Nov 11, 2005 1:43 am    Post subject: Reply with quote

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 :)
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Dec 07, 2005 3:18 pm    Post subject: Reply with quote

My modem after one or days lost is connection to my ISP, this is the error:

Quote:
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?


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Dec 07, 2005 3:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Dec 07, 2005 4:07 pm    Post subject: Reply with quote

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


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Dec 07, 2005 4:30 pm    Post subject: Reply with quote

The baselayout setup method is the one I recommend, since it's the future standard solution.
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Fri Dec 09, 2005 9:21 am    Post subject: Reply with quote

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?


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Dec 09, 2005 9:28 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Fri Dec 09, 2005 2:07 pm    Post subject: Reply with quote

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


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Sun Dec 11, 2005 9:44 pm    Post subject: Reply with quote

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:

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:

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?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Dec 11, 2005 9:56 pm    Post subject: Reply with quote

tuxicated wrote:
my /etc/ppp/peers/adsl was already correct

Did you already have "passive" in it? That's good.

Quote:
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.
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Sun Dec 25, 2005 2:27 pm    Post subject: It works, but unreliable. Reply with quote

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:

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:

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:

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?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Dec 25, 2005 5:18 pm    Post subject: Reply with quote

I've never seen that problem. Coldplug is not required - try unmerging coldplug. Check that modem_run has been removed. Did you run:
Code:
rc-update del speedtouch default
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Wed Dec 28, 2005 3:40 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Dec 28, 2005 3:55 pm    Post subject: Reply with quote

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:

Quote:
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
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Tue Jan 31, 2006 11:17 pm    Post subject: Reply with quote

how much are problems related to udev?

i've got everything running with udev 070-r1
Code:
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:
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)?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jan 31, 2006 11:26 pm    Post subject: Reply with quote

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 :?
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Feb 01, 2006 9:24 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Feb 01, 2006 9:32 pm    Post subject: Reply with quote

"passive" is very important, otherwise the timing of the connection attempt is crucial.
Back to top
View user's profile Send private message
idodesuke
Apprentice
Apprentice


Joined: 19 Dec 2005
Posts: 244
Location: France

PostPosted: Thu Feb 02, 2006 3:09 am    Post subject: Reply with quote

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"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 3 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum