I deleted my last post, because nobody was answering and add one more detail:
1) why usb_modeswitch does not switch the modem automatic...
there is a config file for the Huawei E353
/etc/usb_modeswitch.d/12d1:1f01 and there are the lines in
/etc/udev/rules.d/40-usb_modeswitch.rules
# Huawei E353 (3.se)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1f01", RUN+="usb_modeswitch '%b/%k'"
but it shows up as CD-Rom
only when I run:
root@slitaz:/home/tux# usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14db -M
"55534243123456780000000000000a11062000000000000100000000000000"
it switches - what is the problem??? - sorry I dont find it
2) THERE IS A PROBLEM WITH ROUTE:
why lo is set to 127.0.0.1? - normally in linux it is set to 127.0.0.0
and when I run route, it gives a netmask of 255.255.255.255 for 127.0.0.1, which is also quite strange!!!
root@slitaz:/home/tux# ifconfig
eth2 Link encap:Ethernet HWaddr 58:2C:80:13:92:63
inet addr:192.168.1.100 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:7059 errors:0 dropped:0 overruns:0 frame:0
TX packets:5722 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6074833 (5.7 MiB) TX bytes:601358 (587.2 KiB)
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@slitaz:/home/tux# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default hi.link 0.0.0.0 UG 0 0 0 eth2
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
only when I change lo to 127.0.0.0 and correct the netmask to 255.0.0.0 for lo, I can connect to the internet
root@slitaz:/home/tux# route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
root@slitaz:/home/tux# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default hi.link 0.0.0.0 UG 0 0 0 eth2
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
root@slitaz:/home/tux#
I think, this should be corrected for 5.0 as we said to have UMTS support..... because:
Huawei Modems E173u-2, E303, E353, E392, E5830/E5830S, E1820, E5832, E3131, ZTE (Vodafone) K3770-Z, K4510-Z, K3806-Z, K3805-Z are using the cdc_ether driver and I am shure there are some more.....
Thomas