Hi Rui,
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...
Well, I followed your descriptions but I still cannot use it under openSuSE 10.2 (kernel 2.6.18.2-34-default).
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...
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'
----
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
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.
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=''
MODEM_DEVICE='/dev/ttyS0'
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...
Surely there's a very stupid thing I'm overseeing and therefore it doesn't work.
We could continue this issue off the list until I get it solved. I'll post the final solution then... what do you think?
Thanks in advance!
Regards,
Martin
----- Original Message ----
From: Rui Santos
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org