[ubuntu-uk] 64-bit Kubuntu and Speedtouch modem
wulfmann at tiscali.co.uk
Thu Jun 12 13:05:25 BST 2008
Matt Darcy wrote:
> Moving the scripts is a fine way to keep your config, will the modem
> work, well that will depend on the compatability of the modem with the
> driver supplied in the later kernel on 8.04 and how stable that newer
> driver is in 64bit.
> If the driver is a native driver in the kernel, I'd put money on you
> being fine, if it's a 3rd party or "restricted" style driver, well, try
> it and find out.
The files that I've got to move are:
The secrets files... They are identical:
The dial script:
The firmware. These I got from a downloaded tarfile.
Disclaimer: I'm a Bash-script newbie! Please don't laugh too hard if
there's a simpler way to do this! (Or I've got it completely wrong! :@(
This is the script I wrote to put them all in the "right" places, with
the "right" owners and permissions:
sudo cp dial /etc/init.d
sudo chown root:root /etc/init.d/dial
sudo chmod 744 /etc/init.d/dial
sudo cp speedtch /etc/ppp/peers/
sudo chown root:dip /etc/ppp/peers/speedtch
sudo chmod 640 /etc/ppp/peers/speedtch
sudo cp speedtch.ko /lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/
sudo chown root:root
sudo chmod 644
sudo cp speedtch /lib/firmware
sudo cp speedtch-1.bin /lib/firmware
sudo cp speedtch-2.bin /lib/firmware
sudo chown root:root /lib/firmware/speedtch
sudo chown root:root /lib/firmware/speedtch-1.bin
sudo chown root:root /lib/firmware/speedtch-2.bin
sudo chmod 640 /lib/firmware/speedtch
sudo chmod 640 /lib/firmware/speedtch-1.bin
sudo chmod 640 /lib/firmware/speedtch-2.bin
sudo cp chap-secrets /etc/ppp
sudo chown root:root /etc/ppp/chap-secrets
sudo chmod 600 /etc/ppp/chap-secrets
sudo cp pap-secrets /etc/ppp
sudo chown root:wulfy /etc/ppp/pap-secrets
sudo chmod 600 /etc/ppp/pap-secrets
This is the dial script, which is essentially a "start" script. How
would I change it to allow stopping as well?
while [[ $((count++)) -lt 40 ]]
sync=$(dmesg | grep 'ADSL line is up')
if [ ! -z "$sync" ]
pppd call speedtch
echo "The SpeedTouch firmware did not load"
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz
More information about the ubuntu-uk