我正在按照隨機教程嘗試在我的筆記型電腦上創建一個專用 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 驅動程式。在遵循這兩篇文章的建議後刪除了它,並且沒有更新我就可以走了。抱歉我沒有更好地記錄這一點。