Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Support > Networking

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


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2008-12-11, 01:43 PM CST
Rokurosv's Avatar
Rokurosv Offline
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.
Reply With Quote
  #2  
Old 2008-12-11, 01:47 PM CST
ozjd's Avatar
ozjd Offline
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.
Reply With Quote
  #3  
Old 2008-12-13, 10:20 AM CST
Rokurosv's Avatar
Rokurosv Offline
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?
Reply With Quote
  #4  
Old 2008-12-13, 01:28 PM CST
ozjd's Avatar
ozjd Offline
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?
Reply With Quote
  #5  
Old 2008-12-13, 02:37 PM CST
trigpoint Offline
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.
Reply With Quote
  #6  
Old 2008-12-13, 04:38 PM CST
Rokurosv's Avatar
Rokurosv Offline
Registered User
 
Join Date: Oct 2008
Posts: 23
Well the Network manager didn't detect it, maybe I have to do some more config?
Reply With Quote
  #7  
Old 2008-12-13, 06:42 PM CST
ozjd's Avatar
ozjd Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 55
Posts: 1,421
Quote:
Originally Posted by Rokurosv View Post
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.
Reply With Quote
  #8  
Old 2009-01-14, 02:43 PM CST
Wale999 Offline
Registered User
 
Join Date: Jan 2009
Posts: 6
Quote:
Originally Posted by Rokurosv View Post
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
Reply With Quote
  #9  
Old 2009-01-15, 08:27 AM CST
disjointed Offline
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.
Reply With Quote
  #10  
Old 2009-01-15, 02:05 PM CST
Wale999 Offline
Registered User
 
Join Date: Jan 2009
Posts: 6
Quote:
Originally Posted by disjointed View Post
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
Reply With Quote
  #11  
Old 2009-01-15, 02:31 PM CST
Vietchia Offline
Registered User
 
Join Date: Dec 2008
Location: Boynton Beach Florida
Posts: 15
Quote:
Originally Posted by Wale999 View Post
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
Code:
lsusb
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/
Reply With Quote
  #12  
Old 2009-01-15, 02:42 PM CST
Vietchia Offline
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.
Reply With Quote
  #13  
Old 2009-01-16, 04:22 AM CST
disjointed Offline
Registered User
 
Join Date: Aug 2007
Location: Kiev, Ukraine
Age: 26
Posts: 80
Quote:
Originally Posted by Vietchia View Post
Nice. Thanks for this link
Reply With Quote
  #14  
Old 2009-01-16, 01:30 PM CST
Wale999 Offline
Registered User
 
Join Date: Jan 2009
Posts: 6
Quote:
Originally Posted by Vietchia View Post
Code:
lsusb
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/
lsusb..... launched, still dono wich is my id
Reply With Quote
  #15  
Old 2009-01-16, 01:44 PM CST
Vietchia Offline
Registered User
 
Join Date: Dec 2008
Location: Boynton Beach Florida
Posts: 15
Quote:
Originally Posted by Wale999 View Post
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora doesn't like my modem velcrosnap Networking 12 2009-07-03 02:02 PM CDT
Fedora won't see my 56k Modem cosmic_nomad Networking 5 2006-09-04 08:41 AM CDT
Lucent Win Modem Problem (Sorry guys, another guy with a Win Modem) Linoman Hardware 3 2005-11-13 02:45 AM CST
56k modem and network not dropping when modem switched off Motor Networking 1 2005-09-14 09:06 AM CDT
2.6.0 kernel din't detected modem externel modem Nguyen Anh Phu gmane.linux.redhat.fedora.general 1 2004-06-14 03:18 AM CDT

Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 10:40 AM CDT.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Rules | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2010, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages thanks to vBET Translator 2.3.10