1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

replace 'brctl' with 'bridge'

This commit is contained in:
Jerry Vonau 2021-04-26 16:44:09 -05:00
parent 8bd4895978
commit 5092229fcc
4 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
- bridge-utils
- bzip2
- curl
#- 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
- iproute2
- logrotate
#- lynx # Installed by 1-prep's roles/iiab-admin/tasks/access.yml
- make

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'