 |
 |
 |
 |
| Networking Networking with Fedora such as dhcp, IP numbers, wlan, modems, etc. |

2008-12-11, 01:43 PM CST
|
 |
Registered User
|
|
Join Date: Oct 2008
Posts: 23

|
|
|
Using a 3G USB modem on Fedora 10?
I have an ZTE MF622 USB modem, when I purchased it I asked if the modem worked on Linux and they told me no, but I'm sure that you can make anything work on Linux, with a little tweaking. So far I haven't found a guide to make this work on F10. Is there any way to make it work ?
Thanks.
|

2008-12-11, 01:47 PM CST
|
 |
Registered User
|
|
Join Date: Feb 2008
Location: Sydney Australia
Age: 55
Posts: 1,421

|
|
|
No telco will say it will work as then they will have to support it.
What happens when you try it?
I have a Huawei E169 3G Modem and Network Manager has handled it since F8. Just plugged it in and it worked.
|

2008-12-13, 10:20 AM CST
|
 |
Registered User
|
|
Join Date: Oct 2008
Posts: 23

|
|
Ok so I followed this guide: http://blog.ritualpc.com/?p=28, it's in spanish but the commands and the config files are the same, and I added this guide too http://blog.ufsoft.org/2007/11/30/zt...em-under-linux, so basically I used the rules file in the second link and the wvdial in the first one. Now I plug in my modem, go root, the wvdial, everything seems fine the dial starts, apparently I get an IP and a couple of DNS servers I keep the terminal open so I won't stop the process. I even try to ping the Open DNS servers, I remembered the address so I thought I'd give it a shot and it worked, but then I use firefox first it starts in offline mode, I uncheck the offline mode and I can't browse like I have no connection.
Did I do something wrong? Maybe I should try to remove the .rules file?
|

2008-12-13, 01:28 PM CST
|
 |
Registered User
|
|
Join Date: Feb 2008
Location: Sydney Australia
Age: 55
Posts: 1,421

|
|
|
Did you try just plugging it in and letting NetworkManager handle it?
|

2008-12-13, 02:37 PM CST
|
|
Registered User
|
|
Join Date: Dec 2004
Location: Leicestershire, UK
Posts: 516

|
|
|
I had always manually configured GSM/3G access through system-config-network, but after readin this thread wow.
Installed Fedora 10 on my laptop today, had a walks programme to produce which meant I needed a working laptop.
Started reading this thread and thought thats an idea. Plugged my N95* into the USB, NetworkManager detected it and created a connection.
The first attempt failed, but I simply went into 'Edit Connections' and put in a default user/password and filled in my networks APN and it worked.
I'm using it now, but am going back to ADSL soon as there is no 3G, only GPRS, where I live.
* I am using a mobile phone rather than a 3G modem, but I am of the opinion there is no real difference. A 3G modem is basically a cut down mobile phone, without keypad, display, headphone socket etc.
|

2008-12-13, 04:38 PM CST
|
 |
Registered User
|
|
Join Date: Oct 2008
Posts: 23

|
|
|
Well the Network manager didn't detect it, maybe I have to do some more config?
|

2008-12-13, 06:42 PM CST
|
 |
Registered User
|
|
Join Date: Feb 2008
Location: Sydney Australia
Age: 55
Posts: 1,421

|
|
Quote:
Originally Posted by Rokurosv
Well the Network manager didn't detect it, maybe I have to do some more config?
|
Check there is no GSM Network option when you click on the NetworkManager icon. If so just select it and see what happens. If not then you will need to configure manually. I've never done that so can't be much help. I would remove any configuration you have tried previously before testing though.
|

2009-01-14, 02:43 PM CST
|
|
Registered User
|
|
Join Date: Jan 2009
Posts: 6

|
|
Quote:
Originally Posted by Rokurosv
Ok so I followed this guide: http://blog.ritualpc.com/?p=28, it's in spanish but the commands and the config files are the same, and I added this guide too http://blog.ufsoft.org/2007/11/30/zt...em-under-linux, so basically I used the rules file in the second link and the wvdial in the first one. Now I plug in my modem, go root, the wvdial, everything seems fine the dial starts, apparently I get an IP and a couple of DNS servers I keep the terminal open so I won't stop the process. I even try to ping the Open DNS servers, I remembered the address so I thought I'd give it a shot and it worked, but then I use firefox first it starts in offline mode, I uncheck the offline mode and I can't browse like I have no connection.
Did I do something wrong? Maybe I should try to remove the .rules file?
|
I have the same problems, the terminal says i have a "conection" still firefox is useless, please help
|

2009-01-15, 08:27 AM CST
|
|
Registered User
|
|
Join Date: Aug 2007
Location: Kiev, Ukraine
Age: 26
Posts: 80

|
|
There is a way to use usbserial devices with NetworkManager.
First, you need usbserial module to load automatically when device is plugged in. I've done this by putting command
Code:
modprobe usbserial vendor=0x#### product=0x####
(with #### - your device ids) to /etc/rc.local. So the usbserial is always loaded and catches up the devices when it is plugged in. This can really be done by writing udev rules, so the module will be loaded only when device is connected. But I'm not familiar with udev and this trick works
Second create a file /etc/hal/fdi/information/3gmodem.fdi (any name is good, .fdi extension mandatory) with something like this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="serial.device" string="/dev/ttyUSB0">
<append key="info.capabilities" type="strlist">modem</append>
<append key="modem.command_sets" type="strlist">IS-707-A</append>
</match>
</device>
</deviceinfo>
The syntax is pretty obvious, this matches the device /dev/ttyUSB0 and adds 'modem' to it's capabilities and specifies 3g-modem command set. The more correct way will be matching device vendor and product id but it works this way.
After creating file restart HAL service (/etc/init.d/haldaemon restart) and connect your modem. In the NetworkManager's list 'Auto CDMA Network connection' will appear, if it all worked. Just edit it in NetworkManager configuration - login, password, etc. And connect.
|

2009-01-15, 02:05 PM CST
|
|
Registered User
|
|
Join Date: Jan 2009
Posts: 6

|
|
Quote:
Originally Posted by disjointed
Code:
modprobe usbserial vendor=0x#### product=0x####
(with #### - your device ids) to /etc/rc.local.
|
Hi, thanks for helping, im a very new user... 5 days of experience
How can i know my device id? were does it apereares? thanks for help
|

2009-01-15, 02:31 PM CST
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Boynton Beach Florida
Posts: 15

|
|
Quote:
Originally Posted by Wale999
Hi, thanks for helping, im a very new user... 5 days of experience
How can i know my device id? were does it apereares? thanks for help 
|
My Sierra AT&T aircard was auto-detected and using Network Manager I was able to connect without any configuration. Sweet!
You can get drivers for a number of aircards here.
http://www.betavine.net/bvportal/web/linux_drivers/
|

2009-01-15, 02:42 PM CST
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Boynton Beach Florida
Posts: 15

|
|
Quote:
|
disjointed wrote: This can really be done by writing udev rules, so the module will be loaded only when device is connected. But I'm not familiar with udev
|
Turns out not to be hard chore.
http://www.reactivated.net/writing_u...les.html#about
Last edited by Vietchia; 2009-01-15 at 02:43 PM CST.
Reason: Forgot link.
|

2009-01-16, 04:22 AM CST
|
|
Registered User
|
|
Join Date: Aug 2007
Location: Kiev, Ukraine
Age: 26
Posts: 80

|
|
Quote:
Originally Posted by Vietchia
|
Nice. Thanks for this link
|

2009-01-16, 01:30 PM CST
|
|
Registered User
|
|
Join Date: Jan 2009
Posts: 6

|
|
Quote:
Originally Posted by Vietchia
|
lsusb..... launched, still dono wich is my id
|

2009-01-16, 01:44 PM CST
|
|
Registered User
|
|
Join Date: Dec 2008
Location: Boynton Beach Florida
Posts: 15

|
|
Quote:
Originally Posted by Wale999
lsusb..... launched, still dono wich is my id
|
In my case with a Sierra aircard lsusb returns
Quote:
|
Bus 002 Device 003: ID 1199:6812 Sierra Wireless, Inc. MC8775 Device
|
The vendor code would be 1199 and the product code 6812.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Translations (Powered by  ):
All times are GMT -7. The time now is 10:40 AM CDT.
|
|
 |
 |
 |
 |
|
|