Hi Mario, > seems it works if run by hand, pity that at the moment I do not have a valid > UMTS subscription with which to test things. Weird that it doesn't run automatically. In the logread you posted before, I did notice an error from the usb_modeswitch hotplug script, which I thought was harmless (I've seen it before, but for me it didn't break things). I guess I should see if I can reproduce it here and find out what's causing it.
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether > E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms > I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=06 Prot=00 Driver=cdc_ether > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms Ok, that looks like it switched succesfully. > what was the next step... to check whether the network device was created... Yup, you can run "ifconfig -a" to see if a network interface appeared. If so, you should be able to run a DHCP client on the interface (udhcpc, probably with some options) to get an address and connectivity. > but still how do we automatize the process? The fact that usb_modeswitch doesn't run is a bug, I'll see if I can fix that. After that, the DHCP client should be run automatically. Possibly it could be sufficient to change the value of wan_ifname in /lib/fon/config.sh, to make the Fonera just use the cdc_ether device instead of the regular ethernet device for wan. However, to make that work, it probably needs an explicit "ifup wan" command after the modeswitch when the cdc_ether device becomes available. Perhaps the timing is right so it works after a reboot, but I'm not entirely sure... Regards, Matthijs Kooijman _______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
