[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975420: refcard: Network section should refer to ifupdown for network interfaces



Source: refcard
Severity: normal
Tags: patch
X-Debbugs-Cc: jesse@sney.ca

Dear Maintainer,

The section "The Network" in the refcard specifies configuration of network interfaces in /etc/network/interfaces, but then refers to 'ip link set device [up][down]' to enable/disable them, this is incorrect. 

The /etc/network/interfaces file is intended to be manipulated with ifupdown, with 'ifup device' or 'ifdown device' used to bring interfaces up or down. By contrast, 'ip link set device up' would only bring up the physical link, and not inherently do anything with regards to configuration in /etc/network/interfaces. 

I'm attaching a simple diff against the current (2020-11-21) entries.dbk in salsa, which fixes this error. 

sney

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
538,540c538,540
<       <glossentry id="ip-link">
< 	<glossterm>ip link set
< 	<replaceable>device</replaceable> <optional>up</optional><optional>down</optional></glossterm>
---
>       <glossentry id="ifupdown">
> 	<glossterm>if<optional>up</optional><optional>down</optional>
> 	<replaceable>device</replaceable></glossterm>

Reply to: