You are not logged in.
Hey people! I've installed arch linux on my laptop in dual boot with vista. Earlier I used ubuntu 9.10 but was fed up with the bloat. So, I'm migrating to arch(finally). Now, the problem is that I've bought a new micromax MMX 372g 3g usb modem. I used usb-modeswitch in ubutnu to switch it from storage to modem mode and used gnome-ppp to connect to the internet. I tried the same setup in arch but with wvdial. The script I use to change the device from storage mode to modem mode after plugging it in is:
#/bin/bash
usb_modeswitch -v 0x05c6 -p 0xf000 -M "5553424312345678000000000000061b000000020000000000000000000000"
sleep 2
modprobe -v option
sleep 2
echo "05c6 9000" >/sys/bus/usb-serial/drivers/option1/new_id
The same script used to work in ubuntu, but in arch the final product id remains 0xf000 rather than changing to 0x9000.
The problem seems to me is that somehow, I'm not able to access, modify or delete the file "/sys/bus/usb-serial/drivers/option1/new_id" even as root.
Also, it seems to work randomly sometimes but I'm not able to connect to the internet.
Also, a different but related question: The modem manager in windows which came with the modem device seem to force the device to catch network signals even if there is less intesity signal. Can this be done in linux. Is there any modem manager(CLI or GUI) for linux which can manage usb modems??
Kindly help me folks.:(:(
Offline
Try the following:
white a file usb_modeswitch.conf with
DefaultVendor= 0x05c6
DefaultProduct= 0xf000
TargetVendor= 0x05c6
TargetProduct= 0x9000
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
then (su)do:
usb_modeswitch -W -c usb_modeswitch.conf
modprobe usbserial vendor=0x05c6 product=0x9000
The file can be replaced by your command line options, but i like it more this way
I think I can't help you with the manager though... I used to use nm-applet for that :S
cheers
Last edited by olvar (2010-03-21 18:05:23)
Offline