![]() ![]() † According to the man pages of usb_modeswitch. For example, I used to have a dongle that works with Modem = /dev/ttyUSB2. Try whatever that comes up, if there are several devices, try them one by one using the Modem option. They may be called /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 or /dev/gsmmodem. If the dongle is successfully configured, devices other sr1 should show up in /dev. In your case, run usb-modeswitch -default-vendor 0x12d1 -default-product 0x1f17. Usually it's just the Vendor ID and product ID. Otherwise, run usb-modeswitch and pass the necessary information. usb-modeswitch-data provides udev rules that automatically recognises and configures common devices, so you probably don't have to manually run the program yourself. Install usb-modeswitch and usb-modeswitch-data if they aren't already installed. Sometimes the manufacturer doesn't provide a driver for Linux, so the program usb_modeswitch is needed. On Linux, the mode of USB device have to been switched as well. If the driver is already installed, it makes the storage device disappear and a new device, mainly composite with modem ports, shows up. When plugged in for the first time, they act like a storage device and start installing the Windows driver from there. Some USB dongles have their proprietary Windows drivers onboard. > Cannot open /dev/sr1: Invalid argument Now, if I run sudo wvdial I get: -> WvDial: Internet dialer version 1.61 I've changed my wvdial configuration file, and added: Modem = /dev/sr1 Sudo lsblk sr1 11:1 1 128M 0 rom /media/icebox/Vodafone Mobile Broadband I've found a command that tells me which /dev/* is my Vodafone Stick. I've tried to install it's own software (windows application) with wine, but also got an error. This one (I guess) is the usb stick Bus 001 Device 007: ID 12d1:1f17 Huawei Technologies Co., Ltd. Integrated Rate Matching Hubīus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubīus 001 Device 007: ID 12d1:1f17 Huawei Technologies Co., Ltd.īus 001 Device 004: ID 0a5c:21bc Broadcom Corp. Integrated Rate Matching Hubīus 002 Device 002: ID 8087:0024 Intel Corp. The diff before.txt after.txt got me this: 9a10īus 001 Device 002: ID 8087:0024 Intel Corp. ![]() I've took out of the USB port the stick, and run ls -1 /dev > before.txt. Mobile Broadband (Unlimited Mobile Broadband and Simply Broadband 4G) connects to the Vodafone mobile network and creates a wireless network inside your business. I don't have any /dev/modem file or folder, and also no file starting with the name ttyUSB. > Cannot open /dev/modem: No such file or directory When I run sudo wvdial I get this -> WvDial: Internet dialer version 1.61 I've installed wvdial, set up the configuration to Phone = *99# Just got to general, and checked Automatically connect to this network when it is available, and saved.Selected Mobile Internet (Postpaid) I've called the guy who gave me the stick, and he told me it's Postpaid (anyway, I've tried also prepaid, not working).Selected my country, and network (vodafone).I have Ubuntu 13.04 and I bought yesterday a Vodafone USB stick for internet connection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |