CHanging configuration file for modem setup
Posted: 31 May 2014, 23:01
Hi I am using modeswitch 1.2.3 in a Pi environment with a Huawei E303 modem.
Had many issues but ultimately by using the following (not certain exactly what all the flags do), it works.
sudo usb_modeswitch -b2 -v 0x12d1 -p 0x1f01 -n -I -W -M 55534243123456780000000000000011060000000000000000000000000000
How do I change the config file (or override it), to use the above as opposed to it's default for the device id on start up automatically.
THe default for this id puts it into ethernet mode which I don't want. I need ppp mode to enable port forwarding.
Thanks
Peter
Just to add that without using options such as -I and -W it didn't work
Had many issues but ultimately by using the following (not certain exactly what all the flags do), it works.
sudo usb_modeswitch -b2 -v 0x12d1 -p 0x1f01 -n -I -W -M 55534243123456780000000000000011060000000000000000000000000000
How do I change the config file (or override it), to use the above as opposed to it's default for the device id on start up automatically.
THe default for this id puts it into ethernet mode which I don't want. I need ppp mode to enable port forwarding.
Thanks
Peter
Just to add that without using options such as -I and -W it didn't work