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:
parent
8bd4895978
commit
5092229fcc
4 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ if [[ `command -v nmcli` ]]; then # "command -v" is POSIX compliant; it c
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ip r >> iiab-network.log
|
ip r >> iiab-network.log
|
||||||
brctl show >> iiab-network.log
|
bridge -d link >> iiab-network.log
|
||||||
echo >> iiab-network.log
|
echo >> iiab-network.log
|
||||||
echo "iiab-network run start: $Start" >> iiab-network.log
|
echo "iiab-network run start: $Start" >> iiab-network.log
|
||||||
echo "iiab-network run end: $End" >> iiab-network.log
|
echo "iiab-network run end: $End" >> iiab-network.log
|
||||||
|
@ -88,7 +88,7 @@ if [[ `command -v nmcli` ]]; then
|
||||||
nmcli c
|
nmcli c
|
||||||
fi
|
fi
|
||||||
ip r
|
ip r
|
||||||
brctl show
|
bridge -d link
|
||||||
echo
|
echo
|
||||||
echo "iiab-network run start: $Start"
|
echo "iiab-network run start: $Start"
|
||||||
echo "iiab-network run end: $End"
|
echo "iiab-network run end: $End"
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- acpid
|
- acpid
|
||||||
- bridge-utils
|
|
||||||
- bzip2
|
- bzip2
|
||||||
- curl
|
- 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
|
#- 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
|
- hostapd
|
||||||
- htop
|
- htop
|
||||||
- i2c-tools
|
- i2c-tools
|
||||||
|
- iproute2
|
||||||
- logrotate
|
- logrotate
|
||||||
#- lynx # Installed by 1-prep's roles/iiab-admin/tasks/access.yml
|
#- lynx # Installed by 1-prep's roles/iiab-admin/tasks/access.yml
|
||||||
- make
|
- make
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
command: /usr/bin/iiab-gen-iptables
|
command: /usr/bin/iiab-gen-iptables
|
||||||
|
|
||||||
- name: Checking if WiFi slave is active
|
- 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 discovered_wireless_iface != iiab_wan_iface and iiab_lan_iface == "br0"
|
||||||
when: hostapd_enabled and iiab_lan_iface == "br0"
|
when: hostapd_enabled and iiab_lan_iface == "br0"
|
||||||
register: wifi_slave
|
register: wifi_slave
|
||||||
|
|
|
@ -189,7 +189,7 @@ cat_cmd 'ip addr' 'Network interfaces'
|
||||||
cat_cmd 'ifconfig' 'Network interfaces (old view)'
|
cat_cmd 'ifconfig' 'Network interfaces (old view)'
|
||||||
cat_cmd 'ip route' 'Routing table'
|
cat_cmd 'ip route' 'Routing table'
|
||||||
cat_cmd 'netstat -rn' 'Routing table (old view)'
|
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 'sudo netstat -natp' 'Ports/Services in use'
|
||||||
cat_cmd 'systemctl status dnsmasq' 'Is dnsmasq running?'
|
cat_cmd 'systemctl status dnsmasq' 'Is dnsmasq running?'
|
||||||
cat_cmd 'sudo journalctl -b 0 -u dnsmasq' 'dnsmasq log'
|
cat_cmd 'sudo journalctl -b 0 -u dnsmasq' 'dnsmasq log'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue