convert usb storage to usb broadband modem

E

emekadavid

Guest
How can I convert a usb modem registered as usb mass storage device to usb 4g broadband modem.
sample dmesg output below:
Code:
[    0.000000] Linux version 3.3.4-5.fc17.i686.PAE ([email protected]) (gcc version 4.7.0 20120504 (Red Hat 4.7.0-4) (GCC) ) #1 SMP Mon May 7 17:37:39 UTC 2012
[  206.500052] usb 2-2: new high-speed USB device number 3 using ehci_hcd
[  206.614772] usb 2-2: New USB device found, idVendor=0e8d, idProduct=7109
[  206.614775] usb 2-2: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[  206.614777] usb 2-2: Product: WiMAX USB Card
[  206.614779] usb 2-2: Manufacturer: MediaTek Inc.
[  206.685217] Initializing USB Mass Storage driver...
[  206.685329] scsi6 : usb-storage 2-2:1.0
[  206.686293] usbcore: registered new interface driver usb-storage
[  206.686296] USB Mass Storage support registered.
thanks
 


OP
E

emekadavid

Guest
i mode switched it using usb_modeswitch and it returned successful. I then tried to "modproble option" it to see if the modem can be registered.
it gave this result, truncated.
Code:
[[email protected]] modprobe option
[ 306.630109] usb 2-2: USB disconnect, device number 3
[ 308.955051] usb 2-2: new high-speed USB device number 8 using ehci_hcd
[ 309.069812] usb 2-2: New USB device found, idVendor=0e8d, idProduct=7109
[ 309.069816] usb 2-2: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[ 309.069818] usb 2-2: Product: WiMAX USB Card
[ 309.069820] usb 2-2: Manufacturer: MediaTek Inc.
[ 309.126687] Initializing USB Mass Storage driver...
[ 309.126800] scsi6 : usb-storage 2-2:1.0
[ 309.127784] usbcore: registered new interface driver usb-storage
[ 309.127787] USB Mass Storage support registered.
[ 310.142340] usb 2-2: USB disconnect, device number 8
[ 310.428038] usb 2-2: new high-speed USB device number 9 using ehci_hcd
[ 310.542823] usb 2-2: New USB device found, idVendor=0e8d, idProduct=7118
[ 310.542826] usb 2-2: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[ 310.542828] usb 2-2: Product: WiMAX USB Card
[ 310.542830] usb 2-2: Manufacturer: MediaTek Inc.
[ 562.345123] USB Serial support registered for GSM modem (1-port)
[ 562.345199] usbcore: registered new interface driver option
[ 562.345201] option: v0.7.2:USB Driver for GSM modems

you can see from the lat line that it is now registered as a gsm modem. uproblem right now is that 1) "modproble option" does not last when you unplug the dongle or restart the dongle, 2)networkmanager does not register the modem. what to do next to resolve both issues?
 
Last edited:
OP
E

emekadavid

Guest
you can see from the last line that it is now registered as a gsm modem. uproblem right now is that 1) "modproble option" does not last when you unplug the dongle or restart the dongle, 2)networkmanager does not register the modem. what to do next to resolve both issues?
 
OP
E

emekadavid

Guest
i wish someone can put me through.
I ran
Code:
wvdialconf /etc/wvdial.conf
.
output:

Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://alumnit.ca/wiki/?WvDial
report as above says no modem was detected.
wiki link is dead.
also.
Code:
lsmod
usb_wwan 19059 1 option
usb_storage 42787 0

how does one configure a gsm modem with setserial. the tldp page on modems, http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Modem-HOWTO.html, has no reference for gsm modems.
 
OP
E

emekadavid

Guest
setserial and stty report positive on modem query.
Code:
setserial -a /dev/ttyUSB0
ttyUSB0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0
Baud_base: 9600, close_delay: 50, divisor: 0
closing_wait: none
Flags: spd_normal

Code:
stty -F /dev/ttyUSB0
speed 9600 baud; line = 0;
eof = ^A; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
now, that's all i can go. have to wait for forum response.
 
OP
R

ryanvade

Guest
But that is not what it is. So, without working drivers this card will not work. Period.
 
OP
E

emekadavid

Guest
that's what am looking for. a channel to the kernel from the modem so that it can work. the wuala driver was installed and didn't work out. what i said was that the "modprobe option" command gave me the results i needed. i installed the rpm package from the wuala site, rebooted, before other commands.
what i have right now is a gsm modem (see dmesg above). i need a gsm modem driver for that wimax modem. or, maybe there is something i am missing out that you want to put me through on? thanks
 
OP
J

Jeremy

Guest
If you don't have a driver specifically for that device that is compatible with Linux, its probably not gonna work. If the site doesn't have one you're probably not going to get one unless someone makes/made one and its added to a repository somewhere.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online

No members online now.

Top