removido
(usa Nenhuma)
Enviado em 11/02/2022 - 20:16h
olá
gostaria de saber porque o netifrc me apresenta esse erro quando eu tento configurar uma rede estática simples
config_ens33="192.168.0.2/24" <-- funciona bem quando configurado para dhcp (config_ens33="dhcp")
routes_ens33="default via 192.168.0.1"
dns_servers_ens33="177.8.220.30 177.10.56.3"
modules="!iproute2"
essa é a saida da execução do programa (está faltando algo ?)
rc-service -v net.ens33 restart
net.ens33 | * Caching service dependencies ... [ ok ]
net.ens33 |net.ens33 | * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/net.ens33 stop
net.ens33 | * Bringing down interface ens33
net.ens33 | * Skipping module adsl due to missing program: /usr/sbin/adsl-start /usr/sbin/pppoe-start
net.ens33 | * Skipping module clip due to missing program: /usr/sbin/atmsigd
net.ens33 | * Skipping module ethtool due to missing program: ethtool
net.ens33 | * Skipping module iw due to missing program: /usr/sbin/iw
net.ens33 | * Skipping module firewalld due to missing program: firewall-cmd
net.ens33 | * Skipping module pppd due to missing program: /usr/sbin/pppd
net.ens33 | * Skipping module pump due to missing program: /sbin/pump
net.ens33 | * Skipping module wireguard due to missing program: /usr/bin/wg
net.ens33 | * Loaded modules: veth ip6to4 ip6rd dhcpcd dhclientv6 dhclient udhcpc vlan system iproute2 ifconfig ssidnet wpa_supplicant iwconfig ipppd ifplugd netplugd macnet macchanger macvlan hsr dummy ccwgroup bridge tuntap l2tp br2684ctl bonding arping apipa
net.ens33 | * Stopping dhcpcd on ens33 ...
net.ens33 |sending signal TERM to pid 1780
net.ens33 |waiting for pid 1780 to exit [ ok ]
net.ens33 | * ip addr flush dev ens33 scope global
net.ens33 | * ip addr flush dev ens33 scope site
net.ens33 | * ip addr flush dev ens33 scope host
net.ens33 | * ip -4 route flush table cache dev ens33
net.ens33 | * ip -6 route flush table cache dev ens33
net.ens33 | * ip link set dev ens33 down
net.ens33 |net.ens33 | * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/net.ens33 start
net.ens33 | * Bringing up interface ens33
net.ens33 | * Skipping module adsl due to missing program: /usr/sbin/adsl-start /usr/sbin/pppoe-start
net.ens33 | * Skipping module br2684ctl due to missing program: br2684ctl
net.ens33 | * Skipping module clip due to missing program: /usr/sbin/atmsigd
net.ens33 | * Skipping module ethtool due to missing program: ethtool
net.ens33 | * Skipping module netplugd due to missing program: /sbin/netplugd
net.ens33 | * Skipping module ifplugd due to missing program: /usr/sbin/ifplugd
net.ens33 | * Skipping module ipppd due to missing program: /usr/sbin/ipppd
net.ens33 | * Skipping module iw due to missing program: /usr/sbin/iw
net.ens33 | * Skipping module firewalld due to missing program: firewall-cmd
net.ens33 | * Skipping module pppd due to missing program: /usr/sbin/pppd
net.ens33 | * Skipping module udhcpc due to missing program: /bin/busybox
net.ens33 | * Skipping module pump due to missing program: /sbin/pump
net.ens33 | * Skipping module dhclient due to missing program: /sbin/dhclient
net.ens33 | * Skipping module dhclientv6 due to missing program: /sbin/dhclient
net.ens33 | * Skipping module wireguard due to missing program: /usr/bin/wg
net.ens33 | * Loaded modules: apipa arping bonding l2tp tuntap bridge ccwgroup dummy hsr macvlan macchanger macnet wpa_supplicant ssidnet ifconfig system vlan dhcpcd ip6rd ip6to4 veth
net.ens33 | * Configuring ens33 for MAC address d0:27:88:5f:82:d5 ... [ ok ]
net.ens33 | * 192.168.0.2/24 ... [ ok ]
net.ens33 | * Adding routes
net.ens33 | * default via 192.168.0.1 ... [ ok ]