View previous topic :: View next topic |
Author |
Message |
unrealracoon n00b
Joined: 25 Nov 2021 Posts: 3
|
Posted: Thu Nov 25, 2021 8:55 pm Post subject: No network after installation |
|
|
Hi, just finished my first install and can't get the internet working, even though during installation everything was OK.
The problem is this: when I boot into the system, ifconfig doesn't see wireless card:
Code: |
ifconfig -a
enp0s25: ...
io: ...
sit0: ...
|
When booting to livecd, ifconfig detects "wlp16s0" and works correctly with it. I didn't change many parameters during kernel configuration and pretty sure, that I even checked that wireless support is turned on.
lspci still finds wireless network controller
I searched for a solution and found this post with a similar problem(here it is https://forums.gentoo.org/viewtopic-p-7577838.html), but it seems like op had some problems with partitioning(and I believe, that is not the case here) and just used wired connection in the end. I currently can't do that, unfortunately, so I would really appreciate any help
p.s.
my machine is HP compaq 6720s, if that does matter
https://support.hp.com/lt-en/document/c01129747 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Nov 25, 2021 9:06 pm Post subject: |
|
|
unrealracoon,
Welcome to Gentoo.
We need the wifi lines from
You need the correct kernel driver for your card.
The rest of the wifi stack in the kernel.
Some Wifi cards need firmware too.
That's for your kernel.
To make it work once the interface appears inyou need the normal ethernet starting tools but they cannot be used until wpa-supplicant has established the radio link.
There is a page on the Wiki for wifi. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
unrealracoon n00b
Joined: 25 Nov 2021 Posts: 3
|
Posted: Thu Nov 25, 2021 9:21 pm Post subject: |
|
|
Thanks for the reply!
Code: |
lspci -nnk
10:00.0 Network Controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection [103c:135c]
|
It doesn't say "Kernel driver in use ..." unlike many others
If i understand correctly, wiki page you provided recommends installing this package https://packages.gentoo.org/packages/sys-kernel/linux-firmware , and I'm pretty sure, that I have installed it during the installation process. Code: | emerge --info sys-kernel/linux-firmware | shows a lot, so I assume it is installed |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Nov 25, 2021 9:44 pm Post subject: |
|
|
unrealracoon,
Your WiFi chipset is identified by its Vendor and Product IDs. That's the 8086:4222 in the first line.
Knowing that, one of the first hits for 8086:4222 pci linux kernel in your favourite search engine is
cateee.net which is an automatically generated site.
It says that you need CONFIG_IWL3945 in your kernel.
Read the rest of the page as there are pointers to the firmware and the rest of the Wifi stack.
Making drivers that need firmware as loadable modules <M> is easier than configuring them as built in <Y> an modules will read /lib/firmware when they load.
With the driver built into the kernel, the firmware must be built into the kernel too.
Code: | emerge --info sys-kernel/linux-firmware | shows your global configuration followed by
Code: | =================================================================
Package Settings
=================================================================
sys-kernel/linux-firmware-20211027::gentoo was built with the following:
USE="redistributable -initramfs -savedconfig (-unknown-license)" |
If linux-firmware is missing, the Package Settings at the bottom will be missing.
Your chipset is listed on the Wiki. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
unrealracoon n00b
Joined: 25 Nov 2021 Posts: 3
|
Posted: Thu Nov 25, 2021 10:37 pm Post subject: |
|
|
NeddySeagoon, building that driver as a module helped, and now everything works properly. I'm writing this message from gentoo machine using links, just to be sure
Thanks again for the advice! |
|
Back to top |
|
|
|