我正要使用 wimax 调制解调器并通过以太网电缆获得互联网连接,但是当 ISP 安装程序(来到我们家对 Linux 不太熟悉)要配置时,他不能这样做。
所以我只是尝试了这些东西:
1)
输入:
ethtool eth0
输出:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x0000003f (63)
drv probe link timer ifdown ifup
Link detected: no
2)
输入:
ethtool ethX
输出:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
3)
输入:
sudo rfkill list all
输出:
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: yes
4)
输入:
ifconfig -a
输出:
eth0 Link encap:Ethernet HWaddr b8:88:e3:88:62:3b
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)
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:1283 errors:0 dropped:0 overruns:0 frame:0
TX packets:1283 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:183079 (183.0 KB) TX bytes:183079 (183.0 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.13.147.136 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6478 errors:0 dropped:0 overruns:0 frame:0
TX packets:7867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2817719 (2.8 MB) TX bytes:967126 (967.1 KB)
wlan0 Link encap:Ethernet HWaddr 08:3e:8e:16:60:2b
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:17
我现在如何启用我的局域网并获得互联网连接?我用的是联想G470。它显然已经消失了,从那时起我就不能使用 wifi,所以我现在正在尝试使用有线电缆。这已经是需要通过技术手段解决的硬件问题了吗?
使用打开一个终端CtrlAltT。
首先使用 (
sudo cp /etc/network/interfaces /etc/network/interfaces.old
) 备份此文件,然后对其进行编辑:将以下内容粘贴到您的文件中删除所有其他内容
保存并退出文件然后尝试以下命令。