You are not logged in.
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
Offline
I have to ask... how does it work with sakis3g with bash installed? Try changing "option" to "cdc_ether" - also as a side-note, not all the modems you listed need cdc_ether to work because some can still use dial mode to connect. Incidentally, it seems to be a common Linux issue with recently updated distros - arch and ubuntu being the two that had a similiar issue according to google.
I'm being forced to move to SliTaz Cooking because my SliTaz 4 install broke by making the mouse pointer disappear, so cooking's issues will soon be mine too. I'll probably update sakis3g to the latest usb_modeswitch and database (new versions was released on the 7th for both) once I'm settled.
Offline
I found the error for route:
in /etc/init.d/network.sh - it should be like this:
# Configure loopback interface.
echo -n "Configuring loopback..."
/sbin/ifconfig lo 127.0.0.1 up
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
now evrything looks good
root@slitaz:/home/tux# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.22.2.1 0.0.0.0 UG 0 0 0 eth1
10.22.2.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
root@slitaz:/home/tux#
not only for UMTS - also wifi - all the redirectig sits, where you have the accept button to get internet, did not work.....
Thomas
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]