ifdown / ifup not working
Posted: Sat May 13, 2017 11:19 am
can anyone explain this?
It is making a GUI connection essential in order to do anything with the network.
hmm, so i added an interface
no change
now two if the interfaces have gone (both on a usb3 dual nic thing)
ifconfig
enp0s25 Link encap:Ethernet HWaddr f4:4d:30:6c:d3:07
inet addr:192.168.1.92 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::53ff:2f5e:ce92:3f13/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:4846 errors:0 dropped:2 overruns:0 frame:0
TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:722522 (722.5 KB) TX bytes:65219 (65.2 KB)
Interrupt:20 Memory:aa100000-aa120000
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:474 errors:0 dropped:0 overruns:0 frame:0
TX packets:474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:48685 (48.6 KB) TX bytes:48685 (48.6 KB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I get the same even when i revert back to the old (much better) eth0, eth1 etc..matt@cube03 ~/Documents $ ifconfig
enp0s25 Link encap:Ethernet HWaddr f4:4d:30:6c:d3:07
inet addr:192.168.1.92 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::53ff:2f5e:ce92:3f13/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:2213 errors:0 dropped:2 overruns:0 frame:0
TX packets:332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:201120 (201.1 KB) TX bytes:30250 (30.2 KB)
Interrupt:20 Memory:aa100000-aa120000
enx000acd28f467 Link encap:Ethernet HWaddr 00:0a28:f4:67
inet addr:192.168.1.112 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::405e:4d8e:5810:c2b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2045 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164134 (164.1 KB) TX bytes:20517 (20.5 KB)
enx000acd28f468 Link encap:Ethernet HWaddr 00:0a28:f4:68
inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d156:ef32:7e6f:33a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8854 errors:0 dropped:0 overruns:0 frame:0
TX packets:8569 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2647071 (2.6 MB) TX bytes:1720058 (1.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBcollisions:0 txqueuelen:1Code: Select all
ACK RUNNING MTU:65536 Metric:1 RX packets:380 errors:0 dropped:0 overruns:0 frame:0 TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:34990 (34.9 KB) TX bytes:34990 (34.9 KB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
matt@cube03 ~/Documents $ sudo ifdown enx000acd28f468
[sudo] password for matt:
Unknown interface enx000acd28f468
It is making a GUI connection essential in order to do anything with the network.
Code: Select all
cat /run/network/ifstate
lo=lo
Code: Select all
cat /run/network/ifstate
lo=lo
enx000acd28f468=enx000acd28f468
Code: Select all
sudo service networking restart
ifconfig
enp0s25 Link encap:Ethernet HWaddr f4:4d:30:6c:d3:07
inet addr:192.168.1.92 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::53ff:2f5e:ce92:3f13/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:4846 errors:0 dropped:2 overruns:0 frame:0
TX packets:738 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:722522 (722.5 KB) TX bytes:65219 (65.2 KB)
Interrupt:20 Memory:aa100000-aa120000
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:474 errors:0 dropped:0 overruns:0 frame:0
TX packets:474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:48685 (48.6 KB) TX bytes:48685 (48.6 KB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)