Tuesday, 16 June 2009

Fedora 11 and Mobile Broadband



When I was previously running F10 I managed to get my three mobile broadband setup without any hassle, which I conveniently forgot how to do when I install Fedora 11. After a quick search I found a comment on the redhat bugzilla. I have the ZTE MF622 usb modem from Three. Here the steps I followed to get it up and running.

Install usb_modeswitch, this changes the device from a CD Drive to a usb modem.

#as root
yum install usb_modeswitch


Edit the /etc/usb_modeswitch.conf and uncomment the section that related to your specific modem. This tells usb_modeswitch which modem you are using.

# ZTE MF622 (aka "Onda MDC502HS")
#
# Contributor: "andylog"

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0002

MessageEndpoint=0x04


Now edit the udev rules to add a new line to automatically call the usb_modeswitch when the device is plugged in.

vi /etc/udev/rules.d/70-persistent-cd.rules


Append the following to the end of the file

ACTION=="add", ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000",
RUN+="/usr/bin/usb_modeswitch"


Once this has been done run the following and then plug your modem in


udevadm control --reload-rules


You should now be ready to create a mobile broadband connection via NetworkManager.

6 comments:

  1. [...] thing that I forgot to mention in my previous post about setting up mobile broadband on Fedora 11 is that three do not always set the correct DNS servers. This was annoying as it would appear that [...]

    ReplyDelete
  2. realy bad that fedora not have this mobile Brodband in fedora 11 frome the start

    ReplyDelete
  3. I noticed a new packaged come down the other day called mobile-broadband-providers. However there is still no support for mobile broadband for the UK users. Which is something that I'll try and take a look at when get time.

    ReplyDelete
  4. I followed your guide but did you miss a step out? I found the device was not recognised by HAL in my case it was the ZTE MF627 dongle not the 622 so it could be that HAL is not up to date. The result was that I had no device in my NetworkManager settings!

    I found a useful post here http://forum.eeeuser.com/viewtopic.php?id=53171

    Which gives the HAL setup:







    GSM-07.07
    GSM-07.05
    modem






    Not certain if will help another lost 627 user out there. Final note 627 uses the 628+ (plus a load of other 62* numbers) settings in usb_switch even though it is not explicitly named.

    ReplyDelete
  5. Thanks for the guide. It worked like a charm.
    The only thing was that I used he next ZTE MF622 option instead of your suggestion.

    ReplyDelete
  6. Thanks John,

    I finally sucedded in connecting the Photon plus on FC11 with the help of your suggestions.

    Thanks a lot :-)

    ReplyDelete