Ko có wifi trong ubuntu
- em vừa cài đặt ubuntu 16.04 // với win 10 , nhưng e làm đủ cách trên youtube và mạng cx không có kết nối wifi , mông các cao nhân giúp đỡ em chút
- 1 số thông tin về ubuntu của e
########## wireless info START ##########
Report from: 25 Dec 2017 20:32 +07 +0700
Booted last: 25 Dec 2017 00:00 +07 +0700
Script from: 05 Dec 2017 03:13 UTC +0000
release
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
kernel
Linux 4.4.0-104-generic #127-Ubuntu SMP Mon Dec 11 12:16:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
desktop
Ubuntu
lspci
02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fb] (rev 10)
Subsystem: Intel Corporation Device [8086:2110]
03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8171 Gigabit Ethernet [1969:10a1] (rev 10)
Subsystem: Micro-Star International Co., Ltd. [MSI] QCA8171 Gigabit Ethernet [1462:11c8]
Kernel driver in use: alx
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1770:ff00
Bus 001 Device 006: ID 09da:010e A4Tech Co., Ltd.
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 04f2:b521 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PCMCIA card info
rfkill
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
lsmod
msi_wmi 16384 0
sparse_keymap 16384 1 msi_wmi
mxm_wmi 16384 1 nouveau
wmi 20480 3 msi_wmi,mxm_wmi,nouveau
video 40960 3 i915_bpo,msi_wmi,nouveau
interfaces
auto lo
iface lo inet loopback
ifconfig
eth0 Link encap:Ethernet HWaddr <MAC ‘eth0’ [IF1]>
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::fe64:323:9af1:72b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:88486 errors:0 dropped:0 overruns:0 frame:0
TX packets:66685 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:100934412 (100.9 MB) TX bytes:6835373 (6.8 MB)
Interrupt:19
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:5786 errors:0 dropped:0 overruns:0 frame:0
TX packets:5786 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:823424 (823.4 KB) TX bytes:823424 (823.4 KB)
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
resolv.conf
nameserver 127.0.1.1
network managers
Installed:
NetworkManager
Running:
root 935 1 0 19:33 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon
NetworkManager info
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Qualcomm Atheros
GENERAL.PRODUCT: QCA8171 Gigabit Ethernet
GENERAL.DRIVER: alx
GENERAL.DRIVER-VERSION:
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR: <MAC ‘eth0’ [IF1]>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net/eth0
GENERAL.IP-IFACE: eth0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: –
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 4284f7e8-56c3-38d2-8bb0-dc7f239dfaf8
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
WIRED-PROPERTIES.CARRIER: on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 4284f7e8-56c3-38d2-8bb0-dc7f239dfaf8 | Wired connection 1
IP4.ADDRESS[1]: 192.168.1.6/24
IP4.GATEWAY: 192.168.1.1
IP4.DNS[1]: 203.113.131.2
IP4.DNS[2]: 203.113.131.3
DHCP4.OPTION[1]: requested_routers = 1
DHCP4.OPTION[2]: requested_domain_search = 1
DHCP4.OPTION[3]: requested_time_offset = 1
DHCP4.OPTION[4]: requested_domain_name = 1
DHCP4.OPTION[5]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]: requested_broadcast_address = 1
DHCP4.OPTION[7]: requested_netbios_scope = 1
DHCP4.OPTION[8]: requested_wpad = 1
DHCP4.OPTION[9]: next_server = 0.0.0.0
DHCP4.OPTION[10]: expiry = 1514211935
DHCP4.OPTION[11]: requested_interface_mtu = 1
DHCP4.OPTION[12]: requested_subnet_mask = 1
DHCP4.OPTION[13]: routers = 192.168.1.1
DHCP4.OPTION[14]: dhcp_message_type = 5
DHCP4.OPTION[15]: ip_address = 192.168.1.6
DHCP4.OPTION[16]: requested_static_routes = 1
DHCP4.OPTION[17]: requested_domain_name_servers = 1
DHCP4.OPTION[18]: dhcp_lease_time = 3600
DHCP4.OPTION[19]: broadcast_address = 192.168.1.255
DHCP4.OPTION[20]: requested_ntp_servers = 1
DHCP4.OPTION[21]: requested_netbios_name_servers = 1
DHCP4.OPTION[22]: domain_name_servers = 203.113.131.2 203.113.131.3
DHCP4.OPTION[23]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]: subnet_mask = 255.255.255.0
DHCP4.OPTION[25]: network_number = 192.168.1.0
DHCP4.OPTION[26]: requested_host_name = 1
DHCP4.OPTION[27]: dhcp_server_identifier = 192.168.1.1
IP6.ADDRESS[1]: fe80::fe64:323:9af1:72b1/64
IP6.GATEWAY: fe80::1
IP6.ROUTE[1]: dst = fe80::1/128, nh = ::, mt = 100
IP6.DNS[1]: fe80::1
DHCP6.OPTION[1]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[2]: dhcp6_name_servers = fe80::1
DHCP6.OPTION[3]: dhcp6_server_id = 0:3:0:6:70:9f:2d:f1:1:26
DHCP6.OPTION[4]: requested_dhcp6_client_id = 1
DHCP6.OPTION[5]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[6]: dhcp6_info_refresh_time = 86400
DHCP6.OPTION[7]: dhcp6_client_id = 0:4:8e:21:26:cb:93:63:8:17:a6:78:43:c1:ff:13:5f:c5
NetworkManager.state
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
NetworkManager profiles
Netplan config
iw reg get
Region: Asia/Ho_Chi_Minh (based on set time zone)
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
(5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
iwlist channels
lo no frequency information.
eth0 no frequency information.
iwlist scan
lo Interface doesn’t support scanning.
eth0 Interface doesn’t support scanning.
module infos
module parameters
/etc/modules
lp
modprobe options
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod)
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
rc.local
exit 0
pm-utils
udev rules
[/etc/udev/rules.d/70-persistent-net.rules]
PCI device 0x1969:0x10a1 (alx)
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}=="<MAC ‘eth0’ [IF1]>", ATTR{dev_id}==“0x0”, ATTR{type}==“1”, KERNEL=="eth", NAME=“eth0”
dmesg
[ 8.030070] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
[ 8.167895] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
[ 20.301606] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready (repeated 2 times)
[ 20.302618] alx 0000:03:00.0 eth0: NIC Up: 100 Mbps Full
[ 20.302840] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
########## wireless info END ############

Thử gõ lệnh:
sudo lshw -C network
để xem thử Ubuntu có nhận được thiết bị không, rồi tính tiếp theo bài hướng dẫn ở đây.