Blocker:risc:settings: различия между версиями

Материал из EWiki
Перейти к навигации Перейти к поиску
Новая страница: «cat /etc/sysctl.conf net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 /etc/network/interfaces <nowiki>#</nowiki>setup network for starfive br0 auto br0 allow-hotplug br0 iface br0 inet static         address 192.168.3.31/24         bridge_ports end0 end1         bridge_stp off         bridge_waitport 0         bridge_fd 0 reboot»
 
Нет описания правки
Строка 1: Строка 1:
cat /etc/sysctl.conf
'''cat /etc/sysctl.conf'''


net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-iptables = 0


net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-arptables = 0
/etc/network/interfaces


/etc/network/interfaces
'''/etc/network/interfaces'''


<nowiki>#</nowiki>setup network for starfive br0
<nowiki>#</nowiki>setup network for starfive br0
Строка 25: Строка 26:
        bridge_fd 0
        bridge_fd 0


 
'''reboot'''
reboot

Версия от 06:32, 10 октября 2023

cat /etc/sysctl.conf

net.bridge.bridge-nf-call-iptables = 0

net.bridge.bridge-nf-call-arptables = 0 /etc/network/interfaces

/etc/network/interfaces

#setup network for starfive br0

auto br0

allow-hotplug br0

iface br0 inet static

        address 192.168.3.31/24

        bridge_ports end0 end1

        bridge_stp off

        bridge_waitport 0

        bridge_fd 0

reboot