我正在按照随机教程尝试在我的笔记本电脑上创建一个专用 Wifi 网络,该网络会将我笔记本电脑上的以太网互联网连接转发到我的专用网络上的其他设备。显然我不知道我在做什么,经过一些非常糟糕的尝试后,我试图撤消所有更改,而目前我仍然遇到尝试让我的无线接口再次连接到我的 wifi 的问题。目前我只能使用 USB/以太网网络共享来连接到互联网。
但是网络接口仍然列出并且可识别。
lshw -C网络
*-network
description: Ethernet interface
product: Ethernet Connection I218-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 04
serial: f0:1f:af:4e:4a:b8
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.7-3 ip=10.17.20.118 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:52 memory:f7e00000-f7e1ffff memory:f7e3c000-f7e3cfff ioport:f080(size=32)
*-network UNCLAIMED
description: Network controller
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: 73
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f7d00000-f7d01fff
*-network
description: Ethernet interface
physical id: 2
logical name: docker0
serial: 02:42:07:32:b8:da
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
我可以根据要求附加其他信息,也可以显示正在运行的服务。丢失了我尝试过的所有教程的链接(抱歉),但这里有两个:
https://medium.com/@arnab.k/ubuntu-how-to-setup-a-wi-fi-hotspot-access-point-mode-192cbb2eeb90 https://www.linuxuprising.com/2018/09/how-to-create-wi-fi-hotspot-in-ubuntu.html
网络管理器服务状态
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-04-07 14:45:39 EDT; 21min ago
Docs: man:NetworkManager(8)
Main PID: 1059 (NetworkManager)
Tasks: 3 (limit: 9368)
Memory: 14.7M
CGroup: /system.slice/NetworkManager.service
└─1059 /usr/sbin/NetworkManager --no-daemon
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5584] device (usb0): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5800] dhcp4 (usb0): canceled DHCP transaction
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5800] dhcp4 (usb0): state changed bound -> done
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5895] modem["ttyACM0"]: modem state changed, 'disabled' --> 'enabling' (reason: user preference)
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5899] manager: (ttyACM0): new Broadband device (/org/freedesktop/NetworkManager/Devices/6)
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5905] device (ttyACM0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5911] device (ttyACM0): modem state 'enabling'
Apr 07 14:47:33 jab NetworkManager[1059]: <info> [1586285253.5926] device (ttyACM0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr 07 14:47:34 jab NetworkManager[1059]: <info> [1586285254.2751] modem["ttyACM0"]: modem state changed, 'enabling' --> 'enabled' (reason: user-requested)
Apr 07 14:47:34 jab NetworkManager[1059]: <info> [1586285254.3673] modem["ttyACM0"]: modem state changed, 'enabled' --> 'registered' (reason: unknown)
配置文件
docker0 no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
eno1 no wireless extensions.
lo no wireless extensions.
我知道这是一个软件(很可能是驱动程序)问题,因为我在这台计算机和 Windows 操作系统上双重启动,但我仍然可以访问互联网。
再次感谢!
答案1
忘记了如何删除 Wireless 7260 的驱动程序,但后来我尝试安装向后移植 iwlwifi 驱动程序。在遵循这两篇文章的建议后删除了它,并且没有更新我就可以走了。抱歉我没有更好地记录这一点。