Hi im trying to connect my huawei e160 usb modem but it keeps failing and does not show on the Network Manager, checking on /var/log/messages this it what I get: Any help?
Oct 5 15:31:30 LPKENBITD002 modem-manager: (ttyUSB1): re-checking support…
Oct 5 15:31:30 LPKENBITD002 modem-manager: (Huawei): (ttyUSB1) deferring support check
Oct 5 15:31:33 LPKENBITD002 modem-manager: (ttyUSB1): re-checking support…
Oct 5 15:31:33 LPKENBITD002 modem-manager: (Huawei): (ttyUSB1) deferring support check
Oct 5 15:31:36 LPKENBITD002 modem-manager: (ttyUSB1): re-checking support…
Oct 5 15:31:36 LPKENBITD002 modem-manager: (Huawei): (ttyUSB1) deferring support check
I have a problem with the E1550, sometimes in the lower right corner of the screen icon appears, mobile telephone (then the internet works),and sometimes no icon?
Why?..
@Sasa064: I think it would be better for you to start a new thread. Your problem seems not to be related and we can’t answer it here, because noone wants to hijack OP’s thread.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b059 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 08ff:2810 AuthenTec, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 002: ID 0461:4d17 Primax Electronics, Ltd Optical Mouse
dmesg | grep tty
0.000000] console [tty0] enabled
0.825996] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
0.826448] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
683.928884] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
683.929731] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
You must have libusb-1_0-devel installed for this compilation. Copy the resulting program to /sbin/huaweiAktBbo and run it as user root. Then load the driver:
modprobe usbserial vendor=0x12d1 product=0x1003
To automate the process create a udev script named /etc/udev/rules.d/50-huawei-e220.rules with the following contents:
I cant get past “gcc -o huaweiAktBbo -lusb huaweiAktBbo.c”
the output is
gcc -o huaweiAktBbo -lsusb huaweiAktBbo.c
/usr/lib/gcc/i586-suse-linux/4.5/../../../../i586-suse-linux/bin/ld: cannot find -lsusb
collect2: ld returned 1 exit status
When I change to "gcc -o huaweiAktBbo -/usr/sbin/lsusb huaweiAktBbo.c "
# gcc -o huaweiAktBbo -/usr/sbin/lsusb huaweiAktBbo.c
gcc: unrecognized option '-/usr/sbin/lsusb'
/tmp/ccMaarlJ.o: In function `release_usb_device':
huaweiAktBbo.c:(.text+0x17): undefined reference to `usb_release_interface'
huaweiAktBbo.c:(.text+0x41): undefined reference to `usb_close'
/tmp/ccMaarlJ.o: In function `list_devices':
huaweiAktBbo.c:(.text+0x72): undefined reference to `usb_get_busses'
/tmp/ccMaarlJ.o: In function `find_device':
huaweiAktBbo.c:(.text+0xdd): undefined reference to `usb_get_busses'
/tmp/ccMaarlJ.o: In function `main':
huaweiAktBbo.c:(.text+0x200): undefined reference to `usb_init'
huaweiAktBbo.c:(.text+0x205): undefined reference to `usb_find_busses'
huaweiAktBbo.c:(.text+0x20a): undefined reference to `usb_find_devices'
huaweiAktBbo.c:(.text+0x28a): undefined reference to `usb_open'
huaweiAktBbo.c:(.text+0x2fd): undefined reference to `usb_get_descriptor'
huaweiAktBbo.c:(.text+0x33d): undefined reference to `usb_get_descriptor'
huaweiAktBbo.c:(.text+0x37d): undefined reference to `usb_get_descriptor'
huaweiAktBbo.c:(.text+0x3d5): undefined reference to `usb_control_msg'
huaweiAktBbo.c:(.text+0x401): undefined reference to `usb_close'
collect2: ld returned 1 exit status
and your system recognises it as a modem when you type dmesg | grep tty as it gives
GSM modem (1-port) converter now attached to ttyUSB0
I use gnome network manager for such connections: I right-click on network manager: what I call the two TV screens; left click on edit connections; then click on mobile broadband; add; with distros such as ubuntu, they have a list of countries; networks; and the apn settings for each; with opensuse you need to research the apn settings by yourself; having set up this config, I would then left-click on network manager with the device plugged in; see the entry I had created: (opensuse offers the default title of GSM connection 1 or somesuch so you edit to suit yourself); and I left-click and connect
so help us understand what you do as you say
Hi im trying to connect my huawei e160 usb modem but it keeps failing and does not show on the Network Manager,
I recommend it as it has usb_modeswitch in its package; for opensuse to use the latest package, you otherwise have to install 2 .tar.bz2 packages which is more hassle: for debian users, a .deb package is available;
I have found sakis3g great; has all the apn settings preloaded;
so sakis3g replaces the need to use network manager to connect to the internet;