Huawei E303 on 12.2, driver install, usb switch happens, cdc_ether runs, but no internet

I plugged a South African Vodacom Huawei E303 3G into my installation and dmesg responce with
[50408.787026] usb 2-1: new high-speed USB device number 8 using ehci_hcd
[50408.901769] usb 2-1: New USB device found, idVendor=12d1, idProduct=1f01
[50408.901774] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[50408.901778] usb 2-1: Product: HUAWEI HiLink
[50408.901781] usb 2-1: Manufacturer: HUAWEI
[50408.903161] scsi11 : usb-storage 2-1:1.0
[50409.904667] scsi 11:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[50409.905902] sr1: scsi-1 drive
[50409.906089] sr 11:0:0:0: Attached scsi CD-ROM sr1
[50409.906215] sr 11:0:0:0: Attached scsi generic sg6 type 5

[50410.156047] usb 2-1: USB disconnect, device number 8
[50412.826027] usb 2-1: new high-speed USB device number 9 using ehci_hcd
[50412.941024] usb 2-1: New USB device found, idVendor=12d1, idProduct=14db
[50412.941029] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[50412.941033] usb 2-1: Product: HUAWEI HiLink
[50412.941035] usb 2-1: Manufacturer: HUAWEI
[50413.229125] cdc_ether 2-1:1.0: eth1: register ‘cdc_ether’ at usb-0000:00:1d.7-1, CDC Ethernet Device, 58:2c:80:13:92:63
[50413.229201] usbcore: registered new interface driver cdc_ether

When I run ifconfig -a I saw a new eth1 but no IP address, I then use Yast to configure this new device and assign static address of 192.168.1.1.
I now can ping the new ctc_ether device at 192.168.1.1 but the web-page on 192.168.1.1 is not available,
//-------------------------

route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
//-------------------------

ifconfig -a

br0 Link encap:Ethernet HWaddr 00:1D:7D:01:C9:03
inet addr:192.168.1.60 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:7dff:fe01:c903/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3788 errors:0 dropped:88 overruns:0 frame:0
TX packets:3869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2611756 (2.4 Mb) TX bytes:628779 (614.0 Kb)

eth0 Link encap:Ethernet HWaddr 00:1D:7D:01:C9:03
inet6 addr: fe80::21d:7dff:fe01:c903/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:3630846 errors:0 dropped:0 overruns:0 frame:0
TX packets:2006604 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5304624459 (5058.8 Mb) TX bytes:132868814 (126.7 Mb)

eth1 Link encap:Ethernet HWaddr 58:2C:80:13:92:63
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5a2c:80ff:fe13:9263/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11303 (11.0 Kb) TX bytes:23507 (22.9 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:424 errors:0 dropped:0 overruns:0 frame:0
TX packets:424 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34639 (33.8 Kb) TX bytes:34639 (33.8 Kb)
//------------------------------

lsmod | grep cdc_ether

cdc_ether 14392 0
usbnet 36407 1 cdc_ether
//----------------------------

lsusb

Bus 002 Device 009: ID 12d1:14db Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 07cc:0301 Carry Computer Eng., Co., Ltd 6-in-1 Card Reader
Bus 008 Device 002: ID 046d:c042 Logitech, Inc. G3 Laser Mouse
Bus 008 Device 003: ID 046d:c30e Logitech, Inc. UltraX Keyboard (Y-BL49)
//
Yast network settings
static 192.168.1.1 Netmask /24 Hostname Huawei
Hardware Module ctc_ether No Options selected

Everything seen to be OK but no web page no, internet etc. However if I plug this same 3G into a windows machine I can see the web page on 192.168.1.1 and all the DHCPD etc, and have access to the internet;

Thanks in advance
Gerrie

When I run ifconfig -a I saw a new eth1 but no IP address, I then use Yast to configure this new device and assign static address of 192.168.1.1.

  1. Usually, the first address in a subnet is reserved for use as the gateway, so your ethernet interface would get assigned the next available (and valid) host address eg 192.168.1.2. (After that, if the device has a web interface, you should now be able to access it.)

  2. Is there any reason you’re assigning a static IP, rather than using DHCP? I would have thought that for a removable ethernet device such as this, it would be easier to configure it using the network manager (rather than via YaST). It will probably be treated as a wired ethernet device (rather than a mobile broadband device), but I don’t have any experience with these newer usb-connected devices. (The older type presented a high-speed serial interface).

Thanks, this is also my first time using a device that use cdc_ether, used to use the “serial usb devices”. I thought the device was the gateway, and your idea to assign another address did the trick. It is working now. Regards

Great, thanks for the update.

so this just looks like any other mobile broadband modem

http://www.huaweidevice.co.in/Products/MobileBroadband/E303.php

and by its ID in the first post, it had already “flipped” its ID

from this thread

USB_ModeSwitch • View topic - E303 on Slackware 12.2 (embedded)

After mode switch:
#> lsusb ID 12d1:14db

so I guess another way to configure would be the…network manager…add…mobile broadband…

…I would add a screenshot…but I can’t work out how…perhaps someone can enlighten me…