View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3612
|
Posted: Sun Aug 08, 2021 3:58 am Post subject: Installing Gentoo on a laptop that have only Wireless card |
|
|
Hi, ALL,
According to the Handbook I can connect to the WiFi using:
Code: |
iw dev wlp9s0 connect -w GentooNode key 0:some-password
|
I tried following:
Code: |
t #iw dev wlp9s0 connect -w GentooNode key 0:my_passphrase
|
and
Code: |
t #iw dev wlp9s0 connect -w GentooNode key d:0:psk:my_passphrase
|
I got following output:
Quote: |
key must be [d:]index:data where
'd': means default (transmit) key
'index': is a single digit
|
What am I doing wrong?
Thank you. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Sun Aug 08, 2021 5:28 am Post subject: |
|
|
I might be wrong with obsolete data, but in the past, I thought you need to use a supplicant wpa_supplicant to deal with WPA keys, and the key in the iw* tools were meant for WEP keys. If you're using WPA/WPA2 then you need to look into that instead? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3612
|
Posted: Sun Aug 08, 2021 6:22 am Post subject: |
|
|
Hi,
I just tried to connect with wpa_supplicant.
I copied the configuration from the working machine but I didn't get a connection.
Unfortunately the laptop doesn't have a network card, only WiFi one.
Any idea how to troubleshoot?
Thank you. |
|
Back to top |
|
|
C5ace Guru
Joined: 23 Dec 2013 Posts: 474 Location: Brisbane, Australia
|
|
Back to top |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 290
|
Posted: Mon Aug 09, 2021 12:39 pm Post subject: |
|
|
ONEEYEMAN,
this should work with the minimal iso if the card is recognized properly, and wifi connection is WPA2 and DHCP:
generate config
Code: | $ wpa_passphrase {YOUR_SSID} > wpa.conf
....write password and press Enter Ctrl-C
|
find interface name
Code: | $ ip link show
1: lo: ...
2: wlp9s0: ...
|
make connection
Code: | $ wpa_supplicant -i wlp9s0 -c wpa.conf |
if you see the connection is established but ip address was not assigned you can try force dhcp manually
|
|
Back to top |
|
|
archsinner n00b
Joined: 26 Mar 2021 Posts: 1
|
Posted: Sat Sep 04, 2021 10:24 am Post subject: Seperate installation |
|
|
I also do what someone previously stated. I just install gentoo from another iso with wifi support most likely through NetworkManager and you can make sure to emerge NetworkManager when chrooted to haved wifi support with nmtui when booting up to your new system. You also could go the wpa_supplicant route and in my opinion make sure to emerge NetworkManager before unmounting in chroot to make it really easy on reboot to just nmtui, cheers! |
|
Back to top |
|
|
|