[speedtouch] Modem disconnect script

2004-06-05 Thread William M. Quarles
Doesn't there need to be a disconnect script in order for pppd to nicely 
shutdown the ADSL connection?  I can tell you that if I unplug the 
modem, the kernel modules remain locked for several (possibly many) 
hours before I can remove them.  If I plug the modem back in, pppd can't 
establish a connection.  Has anybody thought of writing a pppd 
disconnect script?

Peace,
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: How is modem_run loading automatically? (Fedora Core 1)

2004-05-26 Thread William M. Quarles
George Miliotis (Corfiot) wrote:
 William M. Quarles wrote:
 Static route? Do you mean a static IP address? I really have no
 clue what youare talking about. If you're talking about static IP
 address, I don't haveone. And I don't understand what the route
 command does or how it works.
 (Yes, I looked at the man page.) Peace, William Just type 'route' in
 a terminal before and after your pppd is up and paste the two
 results, maybe we can come up with something for you :)

Got it to work somehow.  Problem was editting my masquerading firewall 
script so that the device was ppp1 now instead of ppp0.  Thanks!

One more question for the list: how do I disconnect the modem?  Just 
unplugging it leaves the drivers loaded and reserved for a VERY long 
time;  I also can't recconnect after that, unless I wait for the drivers 
to clear for removal, or I reboot.

Thanks again in advance!
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread William M. Quarles
Aad Rijnberg wrote:
[snip]
 /snip
   - from this I see two (different) problems:
 1) the firmware downloading modem goes wrong
 2) pppoatm.so is missing
 
 Do you have any suggestions for next steps that I can take?
 
 Regards,
 Aad
 
 

I'm using Fedora Core 1, but I'll throw in my 2 cents.  The first cent 
is that Fedora Core 2 final is out, so you need to get it.

Next, it looks like you didn't install everything from speedbundle. 
Then again, neither did I, but you still need most of it.  Are you sure 
that everything compiled and installed?  Did you make sure to get the 
necessary firmware (It's not included with speedbundle!)?

You need to move your pppd executables out of the way and install the 
pppd found in speedbundle.  This will place the necessary pppoatm.so 
plugin. But read the rest of this first.

run ./configure from the root of the speedbundle directory.
It will tell you what values you need to fill in the ppp_scripts and if 
you need the firmware file (you do have the firmware file, right?) 
There is a bug in the ppp_scripts, you need to edit speedtch and replace 
the 0.00 with your VPI and VCI numbers for your service.

I think that you need the kernel-source package installed, but I'm not 
certain.

Then try to make.  If you get an error on the make, do a make clean, 
re-./configure.  You will most likely fail on the linux-atm or ppp.  If 
that's the case, you don't really need linux-atm (someone correct me if 
I'm wrong; if I'm right, i would suggest leaving it out anyways, I think 
this unnecessarily writes over stuff in your existing kernel), so you 
can make and make install on each of the directories individually, 
leaving out linux-atm.  If you look at the top-level Makefile, you'll 
see how it does this (you'll want to copy its lines).  If the make fails 
on ppp, check the output, it is most likely complaining about the 
kernel.  In that case, you need to use a standard Linux kernel for the 
build rather than the Fedora Linux kernel (don't forget to move your 
original pppd executeables out of the way before installing the new 
pppd).  If you don't want to mess with the standard Linux kernel, this 
website http://ccrma.stanford.edu/planetccrma/software/, once updated 
for Fedora Core 2, will have rpms for a kernel that is reasonable close 
enough the standard Linux kernel to work (there will be two versions of 
the kernel on this site, a Fedora-like kernel and a std-Linux-like kernel).

If you still get this error:
 May 23 08:07:47 localhost kernel: usbfs: process 1608 (modem_run)
 did not claim interface 0 before use
then I suggest editing /etc/hotplug/usb/speedtch and increase the sleep 
time.

I rebuilt the source RPM from this site, rather than using the 
speedbundle's firmware loader (they are essentially the same, though): 
http://www.ottolander.nl/opensource/speedtouch/speedtouch.html

rpmbuild --rebuild some.src.rpm

The resulting rpm ends up in /usr/src/redhat/RPMS/your architecture/
the redhat might be fedora or something else now that they are on 
Fedora Core 2.  Then I installed the RPM.  If you can still get this to 
work with speedbundle and without the RPM, great, but I couldn't for 
some reason.  If you do install the firmware loaders without the RPM, 
great, but I couldn't get it done.  However, if you do install this RPM, 
be sure to erase the firmware loaders installed by speedbundle.

Peace,
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread William M. Quarles
William M. Quarles wrote:
 If you still get this error:
 
May 23 08:07:47 localhost kernel: usbfs: process 1608 (modem_run)
did not claim interface 0 before use
 
 then I suggest editing /etc/hotplug/usb/speedtch and increase the sleep 
 time.
 

I just thought of something, a sleep time before the modem_run statement 
might be necessary on your system if my previous suggestion doesn't work.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: How is modem_run loading automatically? (Fedora Core 1)

2004-05-22 Thread William M. Quarles
Duncan,

Thanks a lot for your help.

Peace,
William


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: How is modem_run loading automatically? (Fedora Core 1)

2004-05-22 Thread William M. Quarles
Duncan Sands wrote:
4. PPPd won't let ppp0 (or ppp1, whatever) take priority as being The
Internet Connection over my Ethernet card, which is connected to my
home network, not to the Internet at all.  How can I get the ppp device
to take priority (and if possible, automatically)?
 
 
 Try the defaultroute pppd option.
 

Duncan,

I thought that would work, but pppd seemed to ignore it.  Here is the 
line from /etc/hotplug/usb/speedtch:

/usr/sbin/pppd call speedtch defaultroute unit 1

Did I write that correctly?

Thanks a lot,
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: How is modem_run loading automatically? (Fedora Core 1)

2004-05-22 Thread William M. Quarles
George Miliotis (Corfiot) wrote:
 William M. Quarles wrote:
 
 
Duncan,

I thought that would work, but pppd seemed to ignore it.  Here is the 
line from /etc/hotplug/usb/speedtch:

/usr/sbin/pppd call speedtch defaultroute unit 1

Did I write that correctly?

Thanks a lot,
William

 

 
 Maybe you have a static route set up?
 
 try a 'route' command before and after your ppp link is up...
 
 --G
 

Static route?  Do you mean a static IP address?  I really have no clue 
what you are talking about.  If you're talking about static IP address, 
I don't have one.  And I don't understand what the route command does or 
how it works.  (Yes, I looked at the man page.)

Peace,
William

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] How is modem_run loading automatically? (Fedora Core 1)

2004-05-21 Thread William M. Quarles
Hi,

I tried sending this out before, but my questions didn't get answered, 
so I'll try again.  I'm sorry if the developers felt like they were 
flamed.  I'd really appreciate your help.

So I need to know this:
1. How are modem_run and pppd automatically being started when I plug in
my modem?  I am bugged being a GNU/Linux user/administrator who has no
clue what a piece of his system is doing behind his back.
2. Why is modem_run being loaded three times when I plug in the modem,
and how can I get it to load only once?.
3. How can I get pppd to load the modem as ppp1 instead of ppp0?
4. PPPd won't let ppp0 (or ppp1, whatever) take priority as being The
Internet Connection over my Ethernet card, which is connected to my
home network, not to the Internet at all.  How can I get the ppp device
to take priority (and if possible, automatically)?

Thanks,
William


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] How is modem_run loading automatically? (Fedora Core 1)

2004-05-18 Thread William M. Quarles
Hi,

I went through an awful lot of pain to get this to work.  Let me say 
that speedbundle does NOT work just out of the box!

I ended up rebuilding a binary RPM file from the source RPM available at 
this site:

http://www.ottolander.nl/opensource/speedtouch/speedtouch.html

However, since my system was already a mess from previously trying to 
install from  Benoit Papillault's SpeedTouch USB for *nix SourceForge 
project (I don't know why you say that his project is an alternative: 
half of your software is all of his software!), then SpeedBundle from 
the Linux-USB project, I have no clue how things got working.  However, 
they did not start working until I had all three piled on top of each 
other, and then I had to do a little trimming to get rid of excess 
copies of modem_run in the path.

Although it wasn't quite working, because I restored my PPP files from 
before, so I had to recompile the PPP included with SpeedBundle, and 
install it again.  Once that was in, I think that it was the supposedly 
It should all 'just work' SpeedBundle left a key flaw of not asking 
for the VCI and VPI settings for the /etc/ppp/peers/adsl file, (they 
were left at 0.00) so I had to write those in myself.  I had no clue 
what the 0.00 was there for, I had to dig out its meaning from some 
other text.

So now I need to know this:
1. How are modem_run and pppd automatically being started when I plug in 
my modem?  I am bugged being a GNU/Linux user/administrator who has no 
clue what a piece of his system is doing behind his back.
2. Why is modem_run being loaded three times when I plug in the modem, 
and how can I get it to load only once? (To the why, someone will might 
say, duh, because you installed three packages that all included it on 
top of each other, but it didn't load at all until I got the third one in).
3. How can I get pppd to load the modem as ppp1 instead of ppp0?
4. PPPd won't let ppp0 (or ppp1, whatever) take priority as being The 
Internet Connection over my Ethernet card, which is connected to my 
home network, not to the Internet at all.  How can I get the ppp device 
to take priority (and if possible, automatically)?

Thanks,
William


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]