PDA

View Full Version : Config for USB 3G


hqthao
13th January 2012, 04:49 PM
I have google many results to config USB 3G.
This is one of a link I have do for tutorial:
http://dgthanhan.blogspot.com/2010/05/viettel-3g-usb-modem-with-fedora.html
But the last step is ... using 3G, I still cannot see my 3G device.
Or I have use installer.sh on USB 3G, and I successfully install (there an USB 3G icon), but when I clicked it, it just loading some seconds and shut down :(
I still do some others tutorial but still cannot connect.

@: Before doing these step, I have type command: lsusb, but I cannot find my USB 3G. So, does it useless when doing these tutorial when my machine doesn't see it yet ? (my windows use it smoothly).

Who give me a help,please.
thanks :)

AlexDudko
13th January 2012, 05:58 PM
What modem do you use?

Edanny101
13th January 2012, 07:15 PM

Need to know the device of your broadband modem.
You can check using command:
dmesg|grep tty
And make sure you have installed "usb_modeswitch & modemmanager "
yum install usb_modeswitch ModemManager

AlexDudko
13th January 2012, 07:38 PM
Need to know the device of your broadband modem.
You can check using command:
dmesg|grep tty
And make sure you have installed "usb_modeswitch & modemmanager "
yum install usb_modeswitch ModemManager

modemmanager is a dependency of NetworkManager so if the latter is installed the former should be installed also.
usb_modeswitch package is installed automatically from LiveCD though I'm not sure about DVD's.

It can actually happen that the device is simply not supported in Linux that's why it is important to know which device is used.

Edanny101
13th January 2012, 07:44 PM
modemmanager is a dependency of NetworkManager so if the latter is installed the former should be installed also.
usb_modeswitch package is installed automatically from LiveCD though I'm not sure about DVD's.

It can actually happen that the device is simply not supported in Linux that's why it is important to know which device is used.

Thanks AlexDudko for information and you are right.

AlexDudko
13th January 2012, 07:50 PM
This thread could be interesting for you http://live.gnome.org/NetworkManager/MobileBroadband

hqthao
14th January 2012, 07:46 AM
I don't sure how to view the device of my broadband modem. This is a notice after dmesg|grep tty command:
[ 0.000000] console [tty0] enabled
[ 37.855799] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 37.856044] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 37.856182] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 37.856349] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB3

And I have installed usb_modeswitch,too. I still use NetworkManager to config my 3G network, (when config, I see my country, my network provider) but up to now there's no result :( Fedora still cannot see my 3G device and of course, still cannot use it as a modem, too :(

I don't know why Fedora doesn't see my 3g device. (in case that just a normal USB).
when I command:lsusb, just have these line: (I see that no line for my 3g device)
Bus 002 Device 012: ID 0cf3:3005 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 138a:003c Validity Sensors, Inc.
Bus 002 Device 003: ID 0461:4dc7 Primax Electronics, Ltd
Bus 002 Device 013: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 002 Device 006: ID 19d2:0108 ONDA Communication S.p.A.

Give me another help please.
thanks :)

AlexDudko
14th January 2012, 12:54 PM
I don't sure how to view the device of my broadband modem. This is a notice after dmesg|grep tty command:
[ 0.000000] console [tty0] enabled
[ 37.855799] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 37.856044] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 37.856182] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 37.856349] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB3

And I have installed usb_modeswitch,too. I still use NetworkManager to config my 3G network, (when config, I see my country, my network provider) but up to now there's no result :( Fedora still cannot see my 3G device and of course, still cannot use it as a modem, too :(

I don't know why Fedora doesn't see my 3g device. (in case that just a normal USB).
when I command:lsusb, just have these line: (I see that no line for my 3g device)
Bus 002 Device 012: ID 0cf3:3005 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 138a:003c Validity Sensors, Inc.
Bus 002 Device 003: ID 0461:4dc7 Primax Electronics, Ltd
Bus 002 Device 013: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 002 Device 006: ID 19d2:0108 ONDA Communication S.p.A.

Give me another help please.
thanks :)

Red line is your device. It is seen by Fedora and it is shown as already switched to GSM mode.

David Batson
14th January 2012, 03:57 PM
You might need to run nm-connection-editor from terminal as root to set up your modem initially. I've had to do that with my 3G modem before.

hqthao
15th January 2012, 01:19 AM
Yes, I have use Network Connection, (select country-->select network provider->select type of networkd...) but still cannot use USB 3G :(
who give me another help,please.
thanks :)

hqthao
16th January 2012, 04:03 PM
Who give me more some idea, please.
At this time, I still cannot use 3g internet in Linux, so I must use Windows to surf web now :(

Edanny101
17th January 2012, 03:59 AM
Can you please provide more information such as your 3g modem brand & etc.