LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-02-2023, 07:55 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
iwd for wifi in BLFS 11.3?


I was reading up on the various options for wireless on BLFS, with a thought from trying something besides the usual (for me) Network Manager). I read about iwd (not to be confused with iw, which is in the BLFS book) and it seems interesting. Of particular interest is how, just from the command line, it can not only prompt you for a password to connect to a given wifi, but it will automatically save and use that password in the future. Well, in theory.

Has anyone used iwd in their BLFS system? How did you like it?

Thank you.
 
Old 09-02-2023, 09:27 PM   #2
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Some more reading. iwd is in the repo of Void, Alpine and Devuan. Seems ligit, so I compiled it.

The compilation was a little odd. One of the dependencies has to be detarred alongside the iwd source and then they both get compiled. Aside from that, not difficult. DESTDIR worked with make install.

I ran the daemon /lib/libexec/iwd in a root shell, then ran the text interface controller, iwctl.

Although my wifi uses the new-style name of wlp13s0, and despite iwd being a newer program, it showed my wifi as wlan0. Erm OK? I connected to it. It even showed the signal strength as a string of *'s.

Dhcp handling is broken. I did more reading, set up the config file in /etc/iwd/ and enabled what seemed to be the right settings, restarted iwd and ... no dhcp. Near as I can tell, me having the dhcp client is what the problem is. It wants opendhcp or systemd's dhcp thingie. There was something about an internal dhcp funcion inside iwd but that for reasons unknown doesn't work either.

I've no ideas.
 
Old 09-03-2023, 01:43 PM   #3
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
In the past i have used just wpa-supplicant and dhcpcd to connect to wireless. These days i just use NetworkManager and it's built-in dhcp resolver (i think in the recent past, dhcpcd stopped working right with networkmanager). Half the time i just connect via usb tethering and charge my phone at the same time.

I suggest you install dhcpcd (without 'privilege separation') and try it out. After the connection is established use:
Code:
dhcpcd wlp13s0
and just before disconnecting use:
Code:
dhcpcd --release wlp13s0
It should alter the /etc/resolv.conf file if it's working. If that file don't exist i would create it first.

Last edited by bryan_S; 09-03-2023 at 01:48 PM.
 
Old 09-07-2023, 11:32 AM   #4
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Thanks for the reply.

I ended up taking out iwd and putting in WPA Supplicnt & NetworkManager. I guess it's the inescapable combination for a wifi-using system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 22.10 Plans to Replace WPA with IWD for Wireless Connectivity LXer Syndicated Linux News 0 06-04-2022 06:09 AM
[SOLVED] BLFS 10.0 How do I get total ownership of my blfs system ? Captian Kangeroo Linux From Scratch 4 12-09-2020 08:45 PM
[Request] Set kernel options to support iwd raspware Slackware - ARM 6 07-23-2020 01:38 AM
[BLFS 7.4] Wifi wlan0 interface didn't recognize fedifedi Linux From Scratch 23 11-18-2014 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration