Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on a laptop that have only Wireless card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3612

PostPosted: Sun Aug 08, 2021 3:58 am    Post subject: Installing Gentoo on a laptop that have only Wireless card Reply with quote

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
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Sun Aug 08, 2021 5:28 am    Post subject: Reply with quote

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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3612

PostPosted: Sun Aug 08, 2021 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 474
Location: Brisbane, Australia

PostPosted: Sun Aug 08, 2021 9:36 am    Post subject: Reply with quote

ONEEYEMAN:

Download and install "Calculate Linux" on a USB stick with MBR to format.

https://www.calculate-linux.org/
https://wiki.calculate-linux.org/download
https://mirror.calculate-linux.org/release/21/cldx-21-x86_64.iso.torrent

Boot the USB stick. Connect to your router with WIFI. Then install Gentoo following the Handbook.
_________________
Observation after 30 years working with computers:
All software has known and unknown bugs and vulnerabilities. Especially software written in complex, unstable and object oriented languages such as perl, python, C++, C#, Rust and the likes.
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 290

PostPosted: Mon Aug 09, 2021 12:39 pm    Post subject: Reply with quote

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
Code:
$ dhcpcd wlp9s0
Back to top
View user's profile Send private message
archsinner
n00b
n00b


Joined: 26 Mar 2021
Posts: 1

PostPosted: Sat Sep 04, 2021 10:24 am    Post subject: Seperate installation Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum