1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Merge pull request #2759 from deldesir/drop-bridge-utils

Drop bridge-utils [and deprecate br0.j2]
This commit is contained in:
A Holt 2021-04-29 11:05:00 -04:00 committed by GitHub
commit 2d1337d35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -73,7 +73,7 @@ if [[ `command -v nmcli` ]]; then # "command -v" is POSIX compliant; it c
fi
ip r >> iiab-network.log
brctl show >> iiab-network.log
bridge -d link >> iiab-network.log
echo >> iiab-network.log
echo "iiab-network run start: $Start" >> iiab-network.log
echo "iiab-network run end: $End" >> iiab-network.log
@ -88,7 +88,7 @@ if [[ `command -v nmcli` ]]; then
nmcli c
fi
ip r
brctl show
bridge -d link
echo
echo "iiab-network run start: $Start"
echo "iiab-network run end: $End"

View file

@ -31,7 +31,6 @@
package:
name:
- acpid # Daemon for ACPI (power mgmt) events
- bridge-utils # DEPRECATED according to https://wiki.linuxfoundation.org/networking/bridge SEE PR #2752
- bzip2 # 2021-04-26: Prob not used, but can't hurt?
- curl # Used to install roles/nodejs and roles/nodered
#- etckeeper # "nobody is really using etckeeper and it's bloating the filesystem every time apt runs" per @jvonau at https://github.com/iiab/iiab/issues/1146
@ -39,6 +38,7 @@
- hostapd
- htop
- i2c-tools # Low-level bus/chip/register/EEPROM tools e.g. for RTC
- iproute2
- logrotate
#- lynx # Installed by 1-prep's roles/iiab-admin/tasks/access.yml
- make # 2021-04-26: What roles (if any) truly still use this?

View file

@ -65,7 +65,7 @@
command: /usr/bin/iiab-gen-iptables
- name: Checking if WiFi slave is active
shell: brctl show br0 | grep {{ iiab_wireless_lan_iface }} | wc -l
shell: bridge -d link | grep {{ iiab_wireless_lan_iface }} | wc -l
# when: hostapd_enabled and discovered_wireless_iface != iiab_wan_iface and iiab_lan_iface == "br0"
when: hostapd_enabled and iiab_lan_iface == "br0"
register: wifi_slave

View file

@ -189,7 +189,7 @@ cat_cmd 'ip addr' 'Network interfaces'
cat_cmd 'ifconfig' 'Network interfaces (old view)'
cat_cmd 'ip route' 'Routing table'
cat_cmd 'netstat -rn' 'Routing table (old view)'
cat_cmd 'brctl show' 'Bridge for LAN side'
cat_cmd 'bridge -d link' 'Bridge for LAN side'
cat_cmd 'sudo netstat -natp' 'Ports/Services in use'
cat_cmd 'systemctl status dnsmasq' 'Is dnsmasq running?'
cat_cmd 'sudo journalctl -b 0 -u dnsmasq' 'dnsmasq log'