Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
toliva
Posts: 3
Joined: 29 Dec 2008, 07:42

IPCop 1.4.21 Floating point exception

Post by toliva » 29 Dec 2008, 07:53

Hi
I've a Huawei E169G that I'd like to automate startup in IPCop but the bundled executable from here crashes with:

root@vanwall-1:~ # usb_modeswitch -v 0×12d1 -p 0×1001 -d 1
Floating point exception

If anybody's compiled for IPCop - I'd like to avoid setting up an IPCop dev system .....

living in hope......

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 01 Jan 2009, 21:42

Did you try all the binaries that are offered on the USB_ModeSwitch main page? Some compiler/system combinations give that error, so I compiled binaries for different systems. All x86 / 32bit.

toliva
Posts: 3
Joined: 29 Dec 2008, 07:42

IPCop 1.4.21 Floating point exception - Sorted

Post by toliva » 02 Jan 2009, 06:37

Hi

it's sorted

I mailed Tom Eichstaedt at www.ipadd.de who maintains a very useful pool of IPCop binaries and he's a star-

http://www.ipadd.de/download/usb_modeswitch095.tar.gz

works for me with IPCop 1.4.21 (2.4.36 kernel) and the following appended into /etc/rc.d/rc.local to invoke it from boot:


# Added for Huawei USB Modem

rmmod sd_mod
rmmod usb-storage
wait 2
/usr/sbin/usb_modeswitch -v 0x12d1 -p 0x1001 -H 1
wait 2
insmod usbserial vendor=0x12d1 product=0x1001 maxSize=4096

# Added for Huawei USB Modem

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 02 Jan 2009, 19:17

Good to know your system is working now. Thanks for the information.

But again, just for my information, did you check out the alternative binaries here ?

If none of these worked, I have to add more variants, and maybe should set up a 2.4 system. If you would be so kind ...

toliva
Posts: 3
Joined: 29 Dec 2008, 07:42

Post by toliva » 02 Jan 2009, 19:21

Will check your binaries - but no action likely till Monday 5th

Post Reply