Wulfy wrote:
> 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.
>>
>> Matt
>>
>>
>>   
>>     
> The files that I've got to move are:
>
> The secrets files...  They are identical:
> chap-secrets
> pap-secrets
>
> The dial script:
> dial
>
> The firmware.  These I got from a downloaded tarfile.
> speedtch
> speedtch-1.bin
> speedtch-2.bin
> speedtch.ko
>
> 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:
>
> ***
>
> #!/bin/bash
>
> 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 
> /lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/speedtch.ko
> sudo chmod 644 
> /lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/speedtch.ko
>
> 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?
>
> ***
>
> #!/bin/bash
> modprobe ppp_generic
> modprobe pppoatm
> count=0
> while [[ $((count++)) -lt 40 ]]
> do
>   sync=$(dmesg | grep 'ADSL line is up')
>   if [ ! -z "$sync" ]
>   then
>     pppd call speedtch
>     exit 0
>   fi
>   sleep 1
> done
> echo "The SpeedTouch firmware did not load"
>
> ***
>
>
>   


No one is laughing

here is your problem though

sudo cp speedtch.ko /lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/
sudo chown root:root 
/lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/speedtch.ko
sudo chmod 644 
/lib/modules/2.6.22-14-generic/kernel/drivers/usb/atm/speedtch.ko

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


1.) that kernel module your copying is built against an older kernel/headers etc
2.) that kernel module your copying is build against a 32bit kernel

I don't know the situation with the firmware, but I suspect you'll need kernel 
specific versions for solid compatability.

>From what I'm seeing above, this is a module / firmware from outside the 
>kernel (3rd party)

As such, I'd recommend you set this up from scratch on your new machine.


Matt

sudo chmod 640 /lib/firmware/speedtch-2.bin



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.org/UKTeam/

Reply via email to