Mailinglist Archive: opensuse (3175 mails)

< Previous Next >
Re: [opensuse] Huawei E220 on openSuSE 10.2
  • From: Rui Santos <rsantos@xxxxxxxxxxxxx>
  • Date: Wed, 04 Apr 2007 12:53:28 +0100
  • Message-id: <461391B8.3000002@xxxxxxxxxxxxx>


Martin Mielke wrote:
> Hi folks,
>
> it seems that I've made a mistake by subscribing a HSDPA with my provider (Vodafone)... at least I have 15 days to try it out before bringing it back...
>
> Well, after googling around for a while I cannot get the device to work at all...
> Some of the links I found do provide very useful information but in the end I still cannot use that device from my laptop...
>
> So, before flooding you with logfiles, configurations and so, I'd like to know: has anyone here successfully installed such HSDPA device under openSuSE 10.2?? if so, which considerations should I keep in mind?
>   

I Assume you mean HUAWEI E220 USB.

I did :)

Here are a few instructions to get it to work:


1) At /etc/modprobe.conf.local, insert the following lines:
options usbserial    vendor=0x12d1 product=0x1003
options usb_storage    delay_use=0

that last line may not be needed but, just try with it first...


2) at /etc/sysconfig/kernel file, find

MODULES_LOADED_ON_BOOT=""

and replace it with

MODULES_LOADED_ON_BOOT="usbserial"

It might be safer to also run /sbin/SuSEconfig after you save your changes.


3) Create a file named '/etc/udev/rules.d/10-huaweie220.rules' and place
the following line inside.

BUS="usb", SYSFS{idVendor}="12d1", SYSFS{idProduct}="1003",
SYSFS{bNumInterfaces}=" 1", RUN+="/usr/local/bin/huaweiAktBbo-i386.out"


4) go to

http://www.kanoistika.sk/bobovsky/archiv/umts/

download the huaweiAktBbo-i386.out file, place it on /usr/local/bin/,
and give it permissions to execute.
NOTE: If your architecture isn't i386, you have to download the .c file
and compile it yourself...


5) On YaST, create a modem connection with a provider. Here are my files::
/etc/sysconfig/network/ifcfg-modem0

BOOTPROTO='none'
DIALCOMMAND='ATDT'
DIALPREFIX=''
DIALPREFIXREGEX=''
INIT1='ATZ'
INIT2='AT&F'
INIT3='AT&FE0V1X1&D2&C1S0=0'
INIT8='ATM0'
INIT9='ATX3'
MODEM_DEVICE='/dev/ttyUSB0'
NAME='Modem'
PPPD_OPTIONS=''
PROVIDER='provider0'
SPEED='460800'
STARTMODE='hotplug'
UNIQUE=''
USERCONTROL='no'

/etc/sysconfig/network/providers/provider0

ASKPASSWORD='no'
AUTODNS='yes'
DEFAULTROUTE='yes'
DEMAND='yes'
DNS1='195.23.16.25'
DNS2='195.23.16.26'
DSLSUPPORTED='no'
IDLETIME='0'
IPADDR=''
ISDNSUPPORTED='no'
MODEMSUPPORTED='yes'
MODIFYDNS='yes'
MODIFYIP='yes'
PASSWORD='tmn'
PHONE='*99#'
PROVIDER='TMN'
REMOTE_IPADDR=''
STUPIDMODE='yes'
USERNAME='tmn'

You may change this as it best fits your needs.

6) Reboot your system with the device plugged in. You shouldn't have to
but, just trust me...

REMARK 1: Try to use the shorter cable. If you need the longer cable
always connect both ends.
REMARK 2: This works for devices with PID,VID of 0x12d1,0x1003
respectively only. If you do not have that device, please place here the
contents of /proc/bus/usb/devices.
REMARK 3: I have USB_DEVICEFS compiled in my kernel, witch does not come
with openSUSE 10.2 default kernel. It shouldn't be needed but, if you
manage not to get it work I will remove it for my kernel and try it. Let
me know.
REMARK 4: to bring internet up, just try to ping an external address. if
it gives you a network unreachable try a 'ifup modem0'.

Well, good luck...


> Any hints are welcomed!
>
>
> TIA,
> Martin
>
>
>
>
>
>  
> ____________________________________________________________________________________
> Finding fabulous fares is fun.  
> Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
>   

-- 
Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!

-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References