Power & Source of Big Ideas

ifup, ifdown, ifquery does not work

Moderators: chensy, FATechsupport

when i enter into the console. ifconfig i get:

Code: Select all

root@NanoPi-Duo:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:42:ff:ce:a7:8d
          inet addr:192.168.0.25  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::b5b9:acf0:e04c:825a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:62 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7463 (7.4 KB)  TX bytes:9059 (9.0 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10248 (10.2 KB)  TX bytes:10248 (10.2 KB)

wlan0     Link encap:Ethernet  HWaddr dc:44:6d:c0:ff:ee
          inet addr:192.168.0.27  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::586:c94:d67b:9008/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:774 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:215195 (215.1 KB)  TX bytes:176523 (176.5 KB)

root@NanoPi-Duo:/#



yet, if i try any of the following, i get Unknown interface xxx. Yet I have interconnection.

Code: Select all

root@NanoPi-Duo:/# ifdown eth0
Unknown interface eth0
root@NanoPi-Duo:/# ifdown wlan0
Unknown interface wlan0
root@NanoPi-Duo:/# ifup eth0
Unknown interface eth0
root@NanoPi-Duo:/# ifup eth0
Unknown interface eth0
root@NanoPi-Duo:/# ifquery eth0
Unknown interface eth0
root@NanoPi-Duo:/# ifquery wlan0
Unknown interface wlan0
root@NanoPi-Duo:/#
did you get the same errors when using

ifconfig eth0 down
ifconfig eth0 up
ifconfig wlan0 down
ifconfig wlan0 up
ifconfig -a
I do not get errors with those. Yet when i do ifconfig eth0 down, it does not stop my internet access.

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 4 guests