Martin Mielke wrote: > Hi Rui, > Hi Martin,
> thanks for your reply and sorry for getting back in touch so late.. > > Yes, I was talking about a Huawei E220 USB, sorry for not making it clear... no problem :) > > Well, I followed your descriptions but I still cannot use it under openSuSE > 10.2 (kernel 2.6.18.2-34-default). On the company I work at, I've managed to make about 30 of them work under those instructions, on a mix of openSUSE10.1 and openSUSE10.2. You must have missed something... > > When I reboot the laptop with the E220 connected to it, as you suggested, it > shows up as removable storage. So I must eject /media/MOBILE_CONNECT... According to your /var/log/messages files you posted at bottom, it is being detected. It should be available at /dev/ttyUSB0 > > When creating the new /etc/udev/rules.d/10-huaweie220.rules file I get these > errors in /var/log/messages all the time: > ---- > Apr 8 19:02:51 hexe udevd[933]: add_to_rules: invalid rule > '/etc/udev/rules.d/10-huaweie220.rules:1' > Apr 8 19:02:51 hexe udevd[933]: add_to_rules: invalid KERNEL operation > Apr 8 19:02:51 hexe udevd[933]: add_to_rules: invalid rule > '/etc/udev/rules.d/hsf.rules:1' Strange !! Can you email me your /etc/udev/rules.d/10-huaweie220.rules ? > ---- > > And now some pasted lines from the /var/log/message file: > ---- > Apr 4 22:31:35 hexe kernel: usb 4-1: new full speed USB device using > uhci_hcd and address 11 > Apr 4 22:31:35 hexe kernel: usb 4-1: new device found, idVendor=12d1, > idProduct=1003 > Apr 4 22:31:35 hexe kernel: usb 4-1: new device strings: Mfr=1, Product=2, > SerialNumber=0 > Apr 4 22:31:35 hexe kernel: usb 4-1: Product: HUAWEI Mobile > Apr 4 22:31:35 hexe kernel: usb 4-1: Manufacturer: HUAWEI Technologies > Apr 4 22:31:35 hexe kernel: usb 4-1: configuration #1 chosen from 1 choice > Apr 4 22:31:35 hexe kernel: usbserial_generic 4-1:1.0: generic converter > detected > Apr 4 22:31:35 hexe kernel: usb 4-1: generic converter now attached to > ttyUSB0 Sould be this one... > Apr 4 22:31:35 hexe kernel: usbserial_generic 4-1:1.1: generic converter > detected > Apr 4 22:31:35 hexe kernel: usb 4-1: generic converter now attached to > ttyUSB1 > Apr 4 22:31:35 hexe kernel: usbserial_generic 4-1:1.2: generic converter > detected > Apr 4 22:31:35 hexe kernel: usb 4-1: generic converter now attached to > ttyUSB2 > Apr 4 22:31:40 hexe ifup: modem0 > Apr 4 22:31:40 hexe pppd[14643]: Plugin passwordfd.so loaded. > Apr 4 22:31:40 hexe pppd[14643]: pppd 2.4.4 started by root, uid 0 > Apr 4 22:31:40 hexe ifup-ppp: interface modem0 is up > Apr 4 22:31:40 hexe SuSEfirewall2: Warning: ip6tables does not support state > matching. Extended IPv6 support disabled. > Apr 4 22:31:41 hexe SuSEfirewall2: Setting up rules from > /etc/sysconfig/SuSEfirewall2 ... > Apr 4 22:31:41 hexe SuSEfirewall2: batch committing... > Apr 4 22:31:41 hexe SuSEfirewall2: Firewall rules successfully set > Apr 4 22:31:41 hexe wvdial[14817]: WvDial: Internet dialer version 1.54.0 > Apr 4 22:31:41 hexe wvdial[14817]: Initializing modem. > Apr 4 22:31:41 hexe wvdial[14817]: Sending: ATZ > Apr 4 22:31:41 hexe wvdial[14817]: Sending: ATQ0 > Apr 4 22:31:41 hexe wvdial[14817]: Re-Sending: ATZ > Apr 4 22:31:41 hexe wvdial[14817]: Modem not responding. Opps. Not even an AT gets through? strange ! > Apr 4 22:31:41 hexe pppd[14643]: Connect script failed > Apr 4 22:31:42 hexe pppd[14643]: Exit. > Apr 4 22:31:47 hexe ifdown: modem0 > ---- > > I must execute ifup/ifdown modem0 manually in order to create a link... still > it doesn't work. > > Now some of the relevant files: > ---- > hexe:~ # cat /etc/sysconfig/network/providers/provider0 > ASKPASSWORD='no' > AUTODNS='yes' > DEMAND='yes' > DNS1='80.58.0.33' > DNS2='80.58.32.97' > DSLSUPPORTED='no' > IDLETIME='0' > ISDNSUPPORTED='no' > MODEMSUPPORTED='yes' > MODIFYDNS='yes' > PASSWORD='vodafone' > PHONE='*99***1#' > PROVIDER='vodafone' > STUPIDMODE='yes' > USERNAME='vodafone' > > ---- > hexe:~ # cat /etc/sysconfig/network/ifcfg-modem0 > BOOTPROTO='none' > DIALCOMMAND='ATDT' > DIALPREFIX='' > DIALPREFIXREGEX='' > INIT1='ATZ' > INIT2='AT&F' > INIT3='ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' > INIT8='ATM0' > INIT9='' These INIT's are not what I have sent you. Use the ones I've sent you... > MODEM_DEVICE='/dev/ttyS0' This should be /dev/ttyUSB0 > NAME='Modem' > PPPD_OPTIONS='' > PROVIDER='provider0' > SPEED='460800' > STARTMODE='hotplug' > UNIQUE='' > USERCONTROL='yes' > ---- > > ...as I need to enter the SIM PIN-code I modified it a little bit to use > "Init1 = AT+CPIN=XXXX" but still it doesn't work... The method you use to enter the PIN is correct but, it only works the first time. If you try to enter that same AT a second time the dial script aborts with an error. Be careful on that. Wy don't you just disable the PIN ( just an idea ). > > Surely there's a very stupid thing I'm overseeing and therefore it doesn't > work. No, it's a lot of instructions... It's not difficult to make an error somewhere :) It could be the MODEM_DEVICE option on your ifcfg-modem0 file... > > We could continue this issue off the list until I get it solved. I'll post > the final solution then... what do you think? You're free to email-me personally... I also agree that if something can add to correctly configure the device, it should be posted here at a latter time. > > Thanks in advance! No problem... > > > Regards, > Martin Rui > > > ----- Original Message ---- > From: Rui Santos <[EMAIL PROTECTED]> > To: OpenSuSE <[email protected]> > Sent: Wednesday, April 4, 2007 1:53:28 PM > Subject: Re: [opensuse] Huawei E220 on openSuSE 10.2 > > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
