[SOLVED] [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Issues related to configuring your network
User avatar
TrevorH
Forum Moderator
Posts: 22584
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby TrevorH » 2018/01/04 15:57:42

Boot in command line only mode or use Ctrl-Alt-F2 to switch to a different VT so you can login at the command line. Check your logs for errors, I'd still guess video drivers so start with /var/log/Xorg.0.log
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
CorentinBL
Posts: 10
Joined: 2017/12/30 09:26:32

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby CorentinBL » 2018/01/04 16:58:00

Sorry for the late reply, I hadn't seen that your answer was on a new page. I attached the Xorg.0.log from the last boot because I don't know what should I pay attention to ...

[ 20.882]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 20.882] X Protocol Version 11, Revision 0
[ 20.882] Build Operating System: c1bm 3.10.0-514.10.2.el7.x86_64
[ 20.882] Current Operating System: Linux localhost 4.14.11-1.el6.elrepo.x86_64 #1 SMP Tue Jan 2 19:26:40 EST 2018 x86_64
[ 20.882] Kernel command line: ro root=/dev/mapper/vg_corentinprecision5520-lv_root rd_NO_LUKS rd_LVM_LV=vg_corentinprecision5520/lv_root rd_NO_MD LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=128M KEYBOARDTYPE=pc KEYTABLE=fr-latin9 rd_NO_DM rd_LVM_LV=vg_corentinprecision5520/lv_swap
[ 20.882] Build Date: 22 March 2017 02:59:47AM
[ 20.882] Build ID: xorg-x11-server 1.17.4-16.el6.centos
[ 20.882] Current version of pixman: 0.32.8
[ 20.882] Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
[ 20.882] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 20.882] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 4 17:52:00 2018
[ 20.883] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 20.883] (==) No Layout section. Using the first Screen section.
[ 20.883] (==) No screen section available. Using defaults.
[ 20.883] (**) |-->Screen "Default Screen Section" (0)
[ 20.883] (**) | |-->Monitor "<default monitor>"
[ 20.883] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 20.883] (==) Automatically adding devices
[ 20.883] (==) Automatically enabling devices
[ 20.883] (==) Not automatically adding GPU devices
[ 20.883] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 20.883] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 20.883] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 20.883] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
[ 20.883] (II) Loader magic: 0x5605d0e80020
[ 20.883] (II) Module ABI versions:
[ 20.883] X.Org ANSI C Emulation: 0.4
[ 20.883] X.Org Video Driver: 19.0
[ 20.883] X.Org XInput driver : 21.0
[ 20.883] X.Org Server Extension : 9.0
[ 20.886] (--) PCI:*(0:0:2:0) 8086:591b:1028:07bf rev 4, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 20.886] (II) LoadModule: "glx"
[ 20.887] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 20.892] (II) Module glx: vendor="X.Org Foundation"
[ 20.892] compiled for 1.17.4, module version = 1.0.0
[ 20.892] ABI class: X.Org Server Extension, version 9.0
[ 20.892] (==) AIGLX enabled
[ 20.892] (==) Matched intel as autoconfigured driver 0
[ 20.892] (==) Matched modesetting as autoconfigured driver 1
[ 20.892] (==) Matched fbdev as autoconfigured driver 2
[ 20.892] (==) Matched vesa as autoconfigured driver 3
[ 20.892] (==) Assigned the driver to the xf86ConfigLayout
[ 20.892] (II) LoadModule: "intel"
[ 20.892] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 20.894] (II) Module intel: vendor="X.Org Foundation"
[ 20.894] compiled for 1.17.4, module version = 2.99.917
[ 20.894] Module class: X.Org Video Driver
[ 20.894] ABI class: X.Org Video Driver, version 19.0
[ 20.894] (II) LoadModule: "modesetting"
[ 20.894] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 20.894] (II) Module modesetting: vendor="X.Org Foundation"
[ 20.894] compiled for 1.17.4, module version = 1.17.4
[ 20.894] Module class: X.Org Video Driver
[ 20.894] ABI class: X.Org Video Driver, version 19.0
[ 20.894] (II) LoadModule: "fbdev"
[ 20.894] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 20.894] (II) Module fbdev: vendor="X.Org Foundation"
[ 20.894] compiled for 1.17.4, module version = 0.4.3
[ 20.894] Module class: X.Org Video Driver
[ 20.894] ABI class: X.Org Video Driver, version 19.0
[ 20.894] (II) LoadModule: "vesa"
[ 20.894] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 20.895] (II) Module vesa: vendor="X.Org Foundation"
[ 20.895] compiled for 1.17.4, module version = 2.3.4
[ 20.895] Module class: X.Org Video Driver
[ 20.895] ABI class: X.Org Video Driver, version 19.0
[ 20.895] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 20.895] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 20.895] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 20.895] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 20.895] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 20.895] (II) FBDEV: driver for framebuffer: fbdev
[ 20.895] (II) VESA: driver for VESA chipsets: vesa
[ 20.895] (++) using VT number 1

[ 20.897] (WW) Falling back to old probe method for modesetting
[ 20.897] (WW) Falling back to old probe method for fbdev
[ 20.897] (II) Loading sub module "fbdevhw"
[ 20.897] (II) LoadModule: "fbdevhw"
[ 20.897] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[ 20.897] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 20.897] compiled for 1.17.4, module version = 0.0.2
[ 20.897] ABI class: X.Org Video Driver, version 19.0
[ 20.897] (WW) Falling back to old probe method for vesa
[ 20.897] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 20.897] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 20.897] (==) intel(0): RGB weight 888
[ 20.897] (==) intel(0): Default visual is TrueColor
[ 20.897] (WW) intel(0): Unknown chipset
[ 20.897] (II) UnloadModule: "intel"
[ 20.897] (EE) Screen(s) found, but none have a usable configuration.
[ 20.897] (EE)
Fatal server error:
[ 20.897] (EE) no screens found(EE)
[ 20.897] (EE)
Please consult the CentOS support
at http://wiki.centos.org/Documentation
for help.
[ 20.897] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 20.897] (EE)
[ 20.909] (EE) Server terminated with error (1). Closing log file.
French PhD Student - CentOS user since Dec. 27th 2017

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

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby TrevorH » 2018/01/04 17:08:46

[ 20.897] (WW) intel(0): Unknown chipset
[ 20.897] (II) UnloadModule: "intel"
[ 20.897] (EE) Screen(s) found, but none have a usable configuration.


This looks to be the source of the problem, it's an unsupported video adapter. From a previous line, it says the device is

[ 20.886] (--) PCI:*(0:0:2:0) 8086:591b:1028:07bf rev 4, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072

but my /usr/share/hwdata/pci.ids does not list an intel device with a device id of 591b, the nearest is a 5910 which is listed as a Xeon E3-1200 v6 video adapter.

Interestingly, running grep -i 8086 /lib/modules/3.10.0-693.11.1.el7.x86_64/modules.* | grep -i 591b on the CentOS kernel, it does list that device as supported. Try that on your ELRepo kernel instead and see if that says anything.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
CorentinBL
Posts: 10
Joined: 2017/12/30 09:26:32

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby CorentinBL » 2018/01/04 17:47:12

Here's the output of the command. I used $(uname -r) to use the correct kernel number.
Attachments
IMG_20180104_184317914_HDR~2.jpg
IMG_20180104_184317914_HDR~2.jpg (100.09 KiB) Viewed 457 times
French PhD Student - CentOS user since Dec. 27th 2017

pjsr2
Posts: 306
Joined: 2014/03/27 20:11:07

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby pjsr2 » 2018/01/04 21:45:39

According to http://topics-cdn.dell.com/pdf/precision-15-5520-laptop_owner's%20manual_en-us.pdf, Table 11, Video:
this computer comes with the following:
Discrete:
• NVIDIA Quadro M1200 / 4 GB GDDR5
Integrated:
• Intel HD Graphics 630/P630 with 7th Generation processors
• Intel HD Graphics 530 with 6th Generation processors

The Dell support site has available for download for RHEL 7.3: NVIDIA Quadro Graphics Driver 367.44 for RHEL7.3

Perhaps you should try to install the proprietary NVidia driver.

pjsr2
Posts: 306
Joined: 2014/03/27 20:11:07

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby pjsr2 » 2018/01/04 22:03:21

Also have a look at: https://access.redhat.com/ecosystem/hardware/2953251 and the links in the section "Additional Notes".

User avatar
CorentinBL
Posts: 10
Joined: 2017/12/30 09:26:32

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby CorentinBL » 2018/01/05 08:28:42

Thank you for the suggestion. I have two questions :

1- If I understand correctly, the links are for RHEL 7.x whereas I have 6.9, would it still work?
2- In the other thread that I quoted earlier (viewtopic.php?f=13&t=3119&start=10), it is mentioned to download the kmod-nvidia driver package, would it make better sense?

[EDIT 01]
Before installing any driver, I installed the nvidia-detect utility (http://elrepo.org/tiki/nvidia-detect) and it says that I have no NVidia devices on my computer.

[EDIT 02]
With some further research, I found out that my CPU is an Intel Core i5-7740HQ, and the Intel documentation associated to it say it comes with the Intel HD Graphics 630, which confirms what pjsr2 said. Someone on the forum seems to have handled the problem (viewtopic.php?f=49&t=64780&p=272416), any ideas about it?
French PhD Student - CentOS user since Dec. 27th 2017

pjsr2
Posts: 306
Joined: 2014/03/27 20:11:07

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby pjsr2 » 2018/01/05 10:30:59

The links I provided are for 7.x indeed. Neither Dell nor RedHat mention 6.9. (RHEL 6.9 has reached the stage in its life cycle where support for newer hardware is added restrictively.) The fact that Dell provides the RHEL 7.3 driver at least indicates that it should be possible to get this laptop to work.

When you use the kernel-ml-4.14 kernel, you cannot install the kmod-nvidia packages from ElRepo. These are created for the normal CentOS kernels.
You will have to download the driver package from NVidia and run the scripts that come with it to build your own driver. Building the driver will require that you install at least the kernel-ml-headers package. Not sure if you need to install some of the other kernel-ml packages as well. It is a long time ago that I did build my own NVidia driver this way.

Assuming your system has both discrete and integrated video, is there some bios setting related to this? I don't have experience with that, but the links in the RedHat article suggests that you may need to help the kernel with some options on selection of the video driver. It could be that without these options the X server has problems to figure out what it should do and you therefor are facing problems to start the X server with the Intel driver.

User avatar
CorentinBL
Posts: 10
Joined: 2017/12/30 09:26:32

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby CorentinBL » 2018/01/05 10:41:25

Good news, using the previous link I mentioned (viewtopic.php?f=49&t=64780&p=272416) I managed to create the driver for the Intel HD Graphics 630. Now the new kernel seems to be fully functional (by the way I also had a problem with my sound board and it was also solved).

This leads back to the original problem: The Wi-Fi driver. Even with the iwlwifi-8265-22.ucode file copied in the /lib/firmware, nothing happens.
French PhD Student - CentOS user since Dec. 27th 2017

User avatar
CorentinBL
Posts: 10
Joined: 2017/12/30 09:26:32

Re: [CentOS 6.9] Can't see and connect to Wi-Fi hotspots

Postby CorentinBL » 2018/01/05 14:16:51

And second good news: The Wi-Fi works now!

There was actually no problem with the iwlwifi installation, everything went fine. After that, I was able to see the 'wlan0' interface with ifconfig but I couldn't see or connect to any hotspot. After running 'iwlist wlan0 scanning', it returned 'wlan0 Interface doesn't support scanning : Network is down'. So yes, the solution was that simple : wi-fi was not activated. There was no LED or other idicator on the screen or on the keyboard to figure this out in another way.

So now everything seems to work fine. I will reboot my computer to start again clean but I think the problem is now solved!

Thank you TrevorH and pjsr2 for your time and helpful advice!
French PhD Student - CentOS user since Dec. 27th 2017