Wifi Adapter

Issues related to configuring your network
Post Reply
sargrass
Posts: 3
Joined: 2019/06/17 22:40:47

Wifi Adapter

Post by sargrass » 2019/06/17 22:57:06

Hi,

I'm new to CentOS and been tried to figure out the wireless connection for the last couple days. I ran the following codes:
# yum remove bcmwl-kernel-source && yum install git dkms
# git clone -b extended https://github.com/lwfinger/rtlwifi_n...
# sudo dkms add ./rtlwifi_new
# sudo dkms install rtlwifi-new/0.6

But I got stuck on the last one with output while installed the lates Kernel 5.0:
Error ! Bad returns status for module build on kernel: 3.10.0-957.21.2.el7.x86_64(x86_64)

It'll be really appreciated if someone could help me out

Thanks,

L.C.

User avatar
TrevorH
Forum Moderator
Posts: 25824
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wifi Adapter

Post by TrevorH » 2019/06/17 23:20:02

Post the output from lspci -nn | grep -i net
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

sargrass
Posts: 3
Joined: 2019/06/17 22:40:47

Re: Wifi Adapter

Post by sargrass » 2019/06/19 16:53:49

# lspci -nn | grep -i net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
03:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)

User avatar
TrevorH
Forum Moderator
Posts: 25824
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Wifi Adapter

Post by TrevorH » 2019/06/19 22:16:16

The first of those is your wired connection and is supported by the r8169 module in the distro kernel.

The second is your Intel wireless card and that's supported in the distro kernel by the iwlwifi module.

You shouldn't need to do anything to have support, it's already present for both your network cards.

What is the output from the commands:

ip link show
ip address show
lsmod | grep iwlwifi
nmcli
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

sargrass
Posts: 3
Joined: 2019/06/17 22:40:47

Re: Wifi Adapter

Post by sargrass » 2019/06/20 04:21:08

# p link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 54:ab:3a:ad:99:f9 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 36:71:b6:3f:f5:7b brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether 52:54:00:70:c7:db brd ff:ff:ff:ff:ff:ff
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
link/ether 52:54:00:70:c7:db brd ff:ff:ff:ff:ff:ff
# ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 54:ab:3a:ad:99:f9 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.21/24 brd 10.0.0.255 scope global noprefixroute dynamic enp2s0
valid_lft 584564sec preferred_lft 584564sec
inet 10.1.10.171/8 brd 10.255.255.255 scope global noprefixroute enp2s0
valid_lft forever preferred_lft forever
inet6 2601:647:5401:1f3e::6558/128 scope global noprefixroute dynamic
valid_lft 584566sec preferred_lft 584566sec
inet6 2601:647:5401:1f3e:eaba:235e:e8b5:e00f/64 scope global noprefixroute dynamic
valid_lft 192945sec preferred_lft 192945sec
inet6 fe80::805a:a0a3:f170:784f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 36:71:b6:3f:f5:7b brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:70:c7:db brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:70:c7:db brd ff:ff:ff:ff:ff:ff
# lsmod | grep iwlwifi
iwlwifi 223575 1 iwlmvm
cfg80211 632335 3 iwlwifi,mac80211,iwlmvm
# nmcli
enp2s0: connected to enp2s0
"Realtek RTL8111/8168/8411"
ethernet (r8169), 54:AB:3A:AD:99:F9, hw, mtu 1500
ip4 default, ip6 default
inet4 10.1.10.171/8
inet4 10.0.0.21/24
route4 10.0.0.0/24
route4 10.0.0.0/8
route4 0.0.0.0/0
inet6 2601:647:5401:1f3e:eaba:235e:e8b5:e00f/64
inet6 2601:647:5401:1f3e::6558/128
inet6 fe80::805a:a0a3:f170:784f/64
route6 fe80::/64
route6 2601:647:5401:1f3e::/64
route6 ::/0
route6 ff00::/8
route6 2601:647:5401:1f3e::6558/128

virbr0: connected to virbr0
"virbr0"
bridge, 52:54:00:70:C7:DB, sw, mtu 1500
inet4 192.168.122.1/24
route4 192.168.122.0/24

wlp3s0: unavailable
"Intel Wireless-AC 3165"
wifi (iwlwifi), 36:71:B6:3F:F5:7B, hw, mtu 1500
ESCOC

5e:e8b5:e00f/64
28
64

128

tu 1500

B, hw, mtu 1500
ESCOC

ESCOD

5e:e8b5:e00f/64
28
64

128

tu 1500

B, hw, mtu 1500
ESCOD
inet4 10.1.10.171/8
inet4 10.0.0.21/24
route4 10.0.0.0/24
route4 10.0.0.0/8
route4 0.0.0.0/0
inet6 2601:647:5401:1f3e:eaba:235e:e8b5:e00f/64
inet6 2601:647:5401:1f3e::6558/128
inet6 fe80::805a:a0a3:f170:784f/64
route6 fe80::/64
route6 2601:647:5401:1f3e::/64
route6 ::/0
route6 ff00::/8
route6 2601:647:5401:1f3e::6558/128

virbr0: connected to virbr0
"virbr0"
bridge, 52:54:00:70:C7:DB, sw, mtu 1500
inet4 192.168.122.1/24
route4 192.168.122.0/24

wlp3s0: unavailable
"Intel Wireless-AC 3165"
wifi (iwlwifi), 36:71:B6:3F:F5:7B, hw, mtu 1500

ESCOD
inet4 10.0.0.21/24
route4 10.0.0.0/24
route4 10.0.0.0/8
route4 0.0.0.0/0
inet6 2601:647:5401:1f3e:eaba:235e:e8b5:e00f/64
inet6 2601:647:5401:1f3e::6558/128
inet6 fe80::805a:a0a3:f170:784f/64
route6 fe80::/64
route6 2601:647:5401:1f3e::/64
route6 ::/0
route6 ff00::/8
route6 2601:647:5401:1f3e::6558/128

virbr0: connected to virbr0
"virbr0"
bridge, 52:54:00:70:C7:DB, sw, mtu 1500
inet4 192.168.122.1/24
route4 192.168.122.0/24

wlp3s0: unavailable
"Intel Wireless-AC 3165"
wifi (iwlwifi), 36:71:B6:3F:F5:7B, hw, mtu 1500

lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

virbr0-nic: unmanaged
"virbr0-nic"
tun, 52:54:00:70:C7:DB, sw, mtu 1500

DNS configuration:
servers: 75.75.75.75 75.75.76.76
domains: hsd1.ca.comcast.net
interface: enp2s0

servers: 2001:558:feed::1 2001:558:feed::2
interface: enp2s0

Post Reply