Package: ifupdown
Version: 0.8.29
Severity: wishlist
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Sometimes, when I have one interface up (say: eth0) I want to put up another
interface (say: wlan0) and set default route to it.
Sometimes I want to have defaultroute unchanged.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Cannot see appropriate option.
* What was the outcome of this action?
Default route is unchanged - has to be changed manually.
* What outcome did you expect instead?
when I do: "ifup wlan0 -o "replacedefaultroute=yes" - default route is set
to new interface.
*** End of the template - remove these template lines ***
-- Package-specific info:
--- /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
[...cut...]
--- up and down scripts installed:
/etc/network/if-down.d:
total 24
-rwxr-xr-x 1 root root 1015 Jan 23 2017 avahi-autoipd
-rwxr-xr-x 1 root root 283 Feb 19 2015 bind9
-rwxr-xr-x 1 root root 289 Jan 16 00:12 bind9.dpkg-dist
-rwxr-xr-x 1 root root 283 Dec 10 20:23 bind9~
lrwxrwxrwx 1 root root 26 Apr 6 2014 debug -> /etc/network/if-up.d/debug
lrwxrwxrwx 1 root root 29 Apr 6 2014 iptables ->
/etc/network/if-up.d/iptables
-rwxr-xr-x 1 root root 372 Mar 17 2014 openvpn
-rwxr-xr-x 1 root root 256 May 8 2013 resolvconf
lrwxrwxrwx 1 root root 32 Dec 28 11:26 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-post-down.d:
total 4
lrwxrwxrwx 1 root root 23 Sep 18 23:25 avahi-daemon -> ../if-up.d/avahi-daemon
lrwxrwxrwx 1 root root 29 Jun 26 2017 bridge -> /lib/bridge-utils/ifupdown.sh
lrwxrwxrwx 1 root root 26 Apr 6 2014 debug -> /etc/network/if-up.d/debug
lrwxrwxrwx 1 root root 29 Apr 6 2014 iptables ->
/etc/network/if-up.d/iptables
-rwxr-xr-x 1 root root 1409 Mar 24 2016 wireless-tools
lrwxrwxrwx 1 root root 32 Dec 28 11:26 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
/etc/network/if-pre-up.d:
total 28
lrwxrwxrwx 1 root root 29 Jun 26 2017 bridge -> /lib/bridge-utils/ifupdown.sh
lrwxrwxrwx 1 root root 29 Jun 26 2017 bridge~ ->
/lib/bridge-utils/ifupdown.sh
-rwxr-xr-x 1 root root 344 Jan 28 2014 ethtool
-rwxr-xr-x 1 root root 344 Jun 30 2016 ethtool~
-rwxr-xr-x 1 root root 137 Aug 16 2016 uml-utilities
-rwxr-xr-x 1 root root 4178 Mar 24 2016 wireless-tools
lrwxrwxrwx 1 root root 32 Dec 28 11:26 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
-rwx------ 1 root root 771 Oct 19 2014 wwan
-rwx------ 1 root root 771 Oct 19 2014 wwan~
/etc/network/if-up.d:
total 88
-rwxr-xr-x 1 root root 817 May 8 2013 000resolvconf
-rwxr-xr-x 1 root root 923 Jan 23 2017 avahi-autoipd
-rwxr-xr-x 1 root root 484 Nov 26 2013 avahi-daemon
-rwxr-xr-x 1 root root 484 Jan 23 2017 avahi-daemon~
-rwxr-xr-x 1 root root 484 Jan 23 2017 avahi-daemon~~
-rwxr-xr-x 1 root root 283 Feb 19 2015 bind9
-rwxr-xr-x 1 root root 289 Jan 16 00:12 bind9.dpkg-dist
-rwxr-xr-x 1 root root 283 Dec 10 20:23 bind9~
-rwxr-xr-x 1 root root 37 Apr 8 2014 debug
-rwxr-xr-x 1 root root 37 Apr 8 2014 debug~
-rwxr-xr-x 1 root root 1685 Sep 22 2014 ethtool
-rwxr-xr-x 1 root root 1685 Jun 30 2016 ethtool~
-rwxr-xr-x 1 root root 795 Jan 22 15:35 iptables
-rwxr-xr-x 1 root root 4958 Jun 8 2014 mountnfs
-rwxr-xr-x 1 root root 4958 Feb 12 2017 mountnfs~
-rwxr-xr-x 1 root root 900 Apr 28 2016 ntpdate
-rwxr-xr-x 1 root root 972 Jun 18 2017 openssh-server
-rwxr-xr-x 1 root root 972 Oct 17 10:56 openssh-server~
-rwxr-xr-x 1 root root 385 Jul 7 2015 openvpn
-rwxr-xr-x 1 root root 261 Nov 14 2014 uml-utilities
lrwxrwxrwx 1 root root 32 Dec 28 11:26 wpasupplicant ->
../../wpa_supplicant/ifupdown.sh
-- System Information:
Debian Release: buster/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8),
LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ifupdown depends on:
ii adduser 3.116
ii iproute2 4.14.1-1
ii libc6 2.26-4
ii lsb-base 9.20170808
Versions of packages ifupdown recommends:
ii isc-dhcp-client [dhcp-client] 4.3.5-3+b2
Versions of packages ifupdown suggests:
ii ppp 2.4.7-1+4
pn rdnssd <none>
-- no debconf information