Hi,
I use usb-modeswitch in jessie-backports to bringup the Aldi Webstick (Mediatek MD 99079), which works nicely.
I integrated the network interface in /etc/network/interfaces
#auto ppp0 iface ppp0 inet ppp provider alditalk pre-up /usr/local/bin/setPIN.sh
which also works nicely with "ifup ppp0".
The downside I see though is that if I uncomment the "auto ppp0" I get a
root@mohot:~# ifup ppp0 /usr/sbin/pppd: In file /etc/ppp/peers/alditalk: unrecognized option '/dev/ttyUSB0' Failed to bring up ppp0. root@mohot:~#
I suspect it is because at the time ifupdown tries to bringup /dev/ttyUSB0, usb-modeswitch did not yet run on this interface.
root@mohot:~# grep ttyUSB0 /var/log/syslog Dec 11 08:50:47 mohot networking[227]: Configuring network interfaces.../usr/sbin/pppd: In file /etc/ppp/peers/alditalk: unrecognized option '/dev/ttyUSB0' Dec 11 08:50:47 mohot pppd[256]: In file /etc/ppp/peers/alditalk: unrecognized option '/dev/ttyUSB0' Dec 11 08:50:56 mohot kernel: [ 17.462944] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 root@mohot:~#
Is there a way to get this dependency included in the boot process?
Many thanks Rainer
-- Rainer Dorsch http://bokomoko.de/ |