Which usb_modeswitch.d file do I need to use?
These are the 2 packages related to usb_modeswitch
usb-modeswitch
usb-modeswitch-data
Please check if both are installed.
/etc/usb-modeswitch.conf
is part of usb-modeswitch
as you can see here:
I got here by opening synaptic
, searching for modeswitch, clicking usb-modeswitch
and then clicking properties
and installed files
.
1 thing: I am using 11.04.
In 10.04 you might have to install your own config file. If you did install from synaptic and it still does not work this topic suggests installing from source: usb-modeswitch and usb-modeswitch-data (but you are on your own here ;) ).
Regarding the edit: see this topic on ubuntuforums
I'll summarise what I did here for the benefit of others:
I purchased a '3' ZTE MF112 dongle
I plugged it in.
lsusb
gives19d2:0103
sudo aptitude install usb-modeswitch
4.sudo -H gedit /etc/udev/rules.d/zte_eject.rules
SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="0103", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"
reboot
lsusb
gives19d2:0031
Using NetworkManager > Edit Connections > Mobile Broadband, I set up the dongle to access 3's network.
I can now connect whenever I plug in the dongle, provided there is good mobile coverage.
Related videos on Youtube
oshirowanen
Updated on September 18, 2022Comments
-
oshirowanen over 1 year
How do I configure
usb_modeswitch
onUbuntu 10.04
?When the device is pluged in
lsusb
gives:oshirowanen@laptop:~$ lsusb Bus 001 Device 004: ID 19d2:0103 ONDA Communication S.p.A.
When I eject the device manually to get it to be recognised as a modem,
lsusb
gives:oshirowanen@laptop:~$ lsusb Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636
So then I searched for
19d2
and got:oshirowanen@laptop:~$ sudo updatedb && locate 19d2 /etc/usb_modeswitch.d/19d2:0053 /etc/usb_modeswitch.d/19d2:2000 /etc/usb_modeswitch.d/19d2:2000:uPr=USB_ZTE /etc/usb_modeswitch.d/19d2:2000:uPr=ZTE_CDMA /etc/usb_modeswitch.d/19d2:fff5 /etc/usb_modeswitch.d/19d2:fff6
So it seems there is no
usb_modeswitch.conf
file in ubuntu 10.04, instead I get these files in/etc/usb_modeswitch.d
Do I need to use one of these
19d2
files, if so, which one and how? -
oshirowanen almost 13 yearsthanks, that was very useful. Please see my updated question above.
-
Rinzwind almost 13 years@oshirowanen \o/ \o/