Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
creatron
Posts: 4
Joined: 05 Sep 2012, 12:34

E303 on Slackware 12.2 (embedded)

Post by creatron » 05 Sep 2012, 15:46

Slackware 12.2 (console only)
0. Downloaded the usb-modeswitch and devices from this webpage, and install on both
1. Huawei E303 (South Africa) register ID same as E535
2. When the dongle is connected, but mode switch has not yet run:
#> lsusb ID 12d1:1f01
After mode switch:
#> lsusb ID 12d1:14db
3. E303 never register as a serial device instead it registers as an cdc_ether device after the mode switch. (usb_modeswitch).
Hence the /dev/ttyUSBX is not applicable, instead in shows up as an ethernet device eth1 and can be seen with 'ifconfig -a'.
No ip address allocated however.

4. I tried to setup the eth1 with ifconfig, and to assign an IP address, I can then ping the IP with success, tried to access a possible webpage with lynx IP , but no luck.
5. I tried to set this as default gw, but cannot do a nslookup
6. #> modprobe usbnet return nothing

What am I missing?, and what step should I do now

from devices I found
#######################################################
# Huawei E353 (3.se)
#
# Contributor: Ulf Eklund

DefaultVendor= 0x12d1
DefaultProduct=0x1f01

TargetVendor= 0x12d1
TargetProduct= 0x14db

MessageContent="55534243123456780000000000000a11062000000000000100000000000000"

# Driver is cdc_ether
NoDriverLoading=1

Thanks
Gerrie

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Re: E303 on Slackware 12.2 (embedded)

Post by Josh » 05 Sep 2012, 18:56

If I remember correctly, you have to start dhcp on the "ethernet" interface, and possibly setting the default route to it.

There is a thread about it here:
http://www.draisberghof.de/usb_modeswit ... 5129#p5129

creatron
Posts: 4
Joined: 05 Sep 2012, 12:34

Re: E303 on Slackware 12.2 (embedded)

Post by creatron » 05 Sep 2012, 21:10

Thanks for the feedback. I tried dhclient and ipconfig to setup the 'new' eth1 , the results seem to be the same, I can only ping the device, as seen with ipconfig -a.

I already tried to route add default gw 192.169.1.100 (dhcp allocated)
and checked the route with route -n, the gw is correct and 'up'.

But I cannot 'nslookup' or 'ping' any external IPs , even if I use the google.com 'lookup' ip xx.yy.zz.kk address to ping.

NS I tried it on Open Suse 11.4 , and is getting the same result. I also tried the Linux install program ( available on the flash supplied the modem, was amazed it was available!) linux_mbb_install , but I get the same result from either usb_modeswitch or the NDIS driver on the modem device.

Regards

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Re: E303 on Slackware 12.2 (embedded)

Post by Josh » 05 Sep 2012, 21:25

I googled some more and found that the modem seems to include a web interface to make settings ("http://192.168.1.1/"). Did you try that?

creatron
Posts: 4
Joined: 05 Sep 2012, 12:34

Re: E303 on Slackware 12.2 (embedded)

Post by creatron » 05 Sep 2012, 22:53

Josh wrote:I googled some more and found that the modem seems to include a web interface to make settings ("http://192.168.1.1/"). Did you try that?

What I did not know was that the device is pre-configured with
DHCPD 192.168.1.1
GW 192.168.1.1
nameserver 192.168.1.1
and a web page at 192.168.1.1

Thus the solution is
a) set the default gw to 192.168.1.1,
b) config ethx (modem ) to 192.168.1.100,
d) edit /etc/resolv.conf for the domain and nameserver, and bobs your uncle it works.

Thanks for the hint.
Gerrie

wifi_help
Posts: 5
Joined: 19 Sep 2012, 14:14

Re: E303 on Slackware 12.2 (embedded)

Post by wifi_help » 20 Sep 2012, 14:28

Does the web interface on this device let you put it in bridging mode, so the Linux or OpenWRT device can have the public IP instead of a 192.168.1.x address?

creatron
Posts: 4
Joined: 05 Sep 2012, 12:34

Re: E303 on Slackware 12.2 (embedded)

Post by creatron » 20 Sep 2012, 15:53

wifi_help wrote:Does the web interface on this device let you put it in bridging mode, so the Linux or OpenWRT device can have the public IP instead of a 192.168.1.x address?
I just looked at the web page but could not find any such settings.

I do know that if any other network card device is on the same net 192.168.1.x , the web page is not available.

Ifconfig also does not show any info in the 192.168.1.1 device , but you can ping it, and viewed in a web page.

Maybe you can give me instructions what to do then I can issue the command and send the response back.

I know it is possible to get the 'pppo' address from a router (for dyndns), so maybe one can try it on this device, but I don't know how, because the IP must exist.

Regards

wifi_help
Posts: 5
Joined: 19 Sep 2012, 14:14

Re: E303 on Slackware 12.2 (embedded)

Post by wifi_help » 20 Sep 2012, 15:58

Could you share screenshots of the different pages in the web interface? Do you have a blog or some web server where you can share them?

Post Reply