USB WIFI - Disappears after adding static ETH0 - Raspberry Pi Forums


ifconfig after install...

pi@pihole:~ $ ifconfig
eth0: flags=4163<up,broadcast,running,multicast> mtu 1500
inet 10.0.0.112 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 2601:186:80:51f0:c964:2a0f:a69f:ee27 prefixlen 128 scopeid 0x0<global>
inet6 fe80::9ee0:4458:3f1a:c7b6 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:e6:a7:a1 txqueuelen 1000 (ethernet)
rx packets 92 bytes 10076 (9.8 kib)
rx errors 0 dropped 3 overruns 0 frame 0
tx packets 78 bytes 13448 (13.1 kib)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (local loopback)
rx packets 0 bytes 0 (0.0 b)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 0 bytes 0 (0.0 b)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<up,broadcast,multicast> mtu 1500
ether b8:27:eb:b3:f2:f4 txqueuelen 1000 (ethernet)
rx packets 0 bytes 0 (0.0 b)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 0 bytes 0 (0.0 b)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan1: flags=4099<up,broadcast,multicast> mtu 1500
ether 00:19:86:31:ff:54 txqueuelen 1000 (ethernet)
rx packets 0 bytes 0 (0.0 b)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 0 bytes 0 (0.0 b)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

------------------------------------------------------------------------------------------------
add static ip eth0
sudo nano /etc/dhcpcd.conf

interface eth0
static ip_address=10.0.0.10/24
static ip6_address=fe80::ebc4:4d96:9f9:6c8b/64
static routers=10.0.0.1
static domain_name_servers=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844

reboot

ifconfig...

pi@pihole:~ $ ifconfig
eth0: flags=4163<up,broadcast,running,multicast> mtu 1500
inet 10.0.0.10 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::cc40:a9c9:25ac:8bdc prefixlen 64 scopeid 0x20<link>
inet6 fe80::ebc4:4d96:9f9:6c8b prefixlen 64 scopeid 0x20<link>
inet6 2601:186:80:51f0:c964:2a0f:a69f:ee27 prefixlen 128 scopeid 0x0<global>
ether b8:27:eb:e6:a7:a1 txqueuelen 1000 (ethernet)
rx packets 80 bytes 8388 (8.1 kib)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 73 bytes 12772 (12.4 kib)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (local loopback)
rx packets 0 bytes 0 (0.0 b)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 0 bytes 0 (0.0 b)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<up,broadcast,multicast> mtu 1500
ether 00:19:86:31:ff:54 txqueuelen 1000 (ethernet)
rx packets 0 bytes 0 (0.0 b)
rx errors 0 dropped 0 overruns 0 frame 0
tx packets 0 bytes 0 (0.0 b)
tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

------------------------------------------------------------------------------------------------
wlan1 - gone. if restore dhcpcd.conf , reboot... not return.

any possibility power issue?


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'