我在尝试连接以太网时遇到了一些麻烦。事实上,我的以太网需要 IP 配置。我尝试使用 GUI 和终端对其进行配置,但没有成功。请帮忙。
这些是我的 ifconfig 命令的结果:
$ ifconfig
enp0s25 Link encap:Ethernet HWaddr 28:92:4a:2a:6d:ba
inet addr:172.46.16.145 Bcast:172.46.16.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)
Interrupt:20 Memory:d9400000-d9420000
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:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3704 (3.7 KB) TX bytes:3704 (3.7 KB)