LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   EC1260 USB modem connection from CLI (https://www.linuxquestions.org/questions/linux-networking-3/ec1260-usb-modem-connection-from-cli-4175452414/)

n24j87 03-02-2013 12:23 PM

EC1260 USB modem connection from CLI
 
Hi,
I am trying to connect EC1260 wireless data modem HSD USB card from CLI.
I have followed below steps, needed further steps used to connect it to internet.
System details
core i3 processor, 4gb RAM, Installed Fedora-18-x86_64-DVD as a infrastructure server and no GUI available.
lsusb cmd detects it as:-
Bus 002 Device 005: ID 12d1:140b Huawei Tech. EC 1260 wireless data modem HSD USB card.

dmesg | less outputs:-
option 2-1.6:1.0 : GSM modem (1-port) converter detected.
USB 2-1.6:1.0 : GSM modem (1-port) converter now attached to ttyUSB0.


Contents of usb_modeswitch.conf file
DisablingSwitching=0 and EnableLogging=1

For further steps do i need wvdial package

Please let me Know if any other information is needed.

Thanks,
n24j87

n24j87 03-02-2013 12:25 PM

cd etc/usb_modeswitch.d
cat 12d1:1505
It gives:-
# Huawei EC156, Huawei E372u-8
TargetVendor= ox12d1

TargetProductList="140b,1506,150f,150a"

MessageContent="555342431......................... ..........................................."

This shows that my device (i.e. 140b present in TargetProductList) is supported by usb_modeswitch

n24j87 03-02-2013 12:26 PM

using cmd
usb_modeswitch -v 0x12d1 -p 0x140b --huawei-mode

Output:-

Looking for default devices...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 005 on device 002 ...
OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x02 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
---------------------------------------------
Manufacturer: HUAWEI TECHNOLOGYIES
Product: HUAWEI Mobile
Serial No: yyyyyyyyyyyyyyyyyyyyyy
------------------------------------------------
Sending Huawei control message ....
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.


All times are GMT -5. The time now is 08:01 AM.