Package: ifupdown Version: 0.7~beta2 Severity: normal
I have got wvdial working and in particular the pon.wvdial and poff.wvdial commands. For consistency with the other network connections I have tried to express this as a stanza in /etc/network/interfaces. iface ppp0 inet dhcp pre-up ppp0-up || true post-down poff.wvdial || true The ppp0-up sctipt (based upon 127786) is as follows: nicholas@beaumont:~$ cat /usr/local/bin/ppp0-up #!/bin/sh /usr/sbin/usb_modeswitch --p 1003 -v 12d1 /usr/bin/pon.wvdial "$@" while sleep 1 do if ifconfig ppp0 | grep UP >/dev/null then ifconfig ppp0 | grep 'inet addr' break fi done When I run 'ifup ppp0' I get much the output one would expect save for: Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Unsupported device type 512 for "ppp0" Failed to bring up ppp0. And of course ppp0 is not listed in /run/network/ifstate although the ppp0 connection is actually working according to ifconfig and actual use. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ifupdown depends on: ii initscripts 2.88dsf-22 ii iproute 20120105-1 ii libc6 2.13-26 ii lsb-base 3.2-28.1 ifupdown recommends no packages. Versions of packages ifupdown suggests: pn isc-dhcp-client [dhcp-client] 4.2.2-2 pn net-tools 1.60-24.1 pn ppp 2.4.5-5 pn rdnssd <none> -- Configuration Files: /etc/init.d/ifupdown-clean [Errno 2] No such file or directory: u'/etc/init.d/ifupdown-clean' -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org