networking - Ethernet stopped working after running some commands - Ask Ubuntu


i trying share internet connection ethernet wire. didn't work.

but cannot internet ethernet.

i executed command:

sudo ifconfig enp2s0f1 169.254.82.80 

the result of ifconfig this:

enp2s0f1  link encap:ethernet  hwaddr 2c:56:dc:80:9a:3e             inet addr:169.254.64.195  bcast:169.254.255.255  mask:255.255.0.0           inet6 addr: fe80::2e56:dcff:fe80:9a3e/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:48 errors:0 dropped:126 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:0 (0.0 b)  tx bytes:8640 (8.6 kb)  enp2s0f1:avahi link encap:ethernet  hwaddr 2c:56:dc:80:9a:3e             inet addr:169.254.8.45  bcast:169.254.255.255  mask:255.255.0.0           broadcast running multicast  mtu:1500  metric:1  lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:65536  metric:1           rx packets:5145 errors:0 dropped:0 overruns:0 frame:0           tx packets:5145 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:644032 (644.0 kb)  tx bytes:644032 (644.0 kb)  wlp3s0    link encap:ethernet  hwaddr 80:a5:89:50:f5:0d             inet addr:100.64.194.17  bcast:100.64.223.255  mask:255.255.224.0           inet6 addr: 2001:67c:1220:c190:cc59:999:f43f:c2d5/64 scope:global           inet6 addr: fe80::82a5:89ff:fe50:f50d/64 scope:link           inet6 addr: 2001:67c:1220:c190:82a5:89ff:fe50:f50d/64 scope:global           broadcast running multicast  mtu:1280  metric:1           rx packets:58488 errors:0 dropped:0 overruns:0 frame:0           tx packets:15426 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:19185577 (19.1 mb)  tx bytes:2154035 (2.1 mb) 

what did , how possible fix this?

169.254.82.80 non routable ip windows assigns when can't other ip. it's pretty useless. , assigned useless ip 169.254.82.80 enp2s0f1 interface. assignment not persistent things go before after reboot. or (assuming connect internet via wireless) shut down , bring interface sudo ifdown enp2s0f1 && sudo ifup enp2s0f1


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User