Comments (6)
I do like the solution that archiso uses, mixing systemd-networkd + iwd. I think that something in that direction is what we should aim for. Because we already have code for systemd-networkd.
from archinstall.
As discussed with grazzolini, we'll copy network configuration from the ISO for now.
And let the users useiwctl
to manually configure wifi before starting archinstall (since, archinstall needs to be installed it requires functional internet at first anyway)
This situation will change if archinstall is ever added to the iso. In that case it could be responsible for the network configuration. As things are now, it's fine to have things simple now (copying wifi configuration from the iso) and then move to a more complex solution in the future.
Also, I really don't think archinstall needs to do all the heavy lifting. After all, the idea is to have an installer that incorporates Arch KISS principle. Having the users doing some of the configuration manually is within that spirit.
from archinstall.
Based on a discussion over at IRC, iwctl
doesn't have a nice machine readable interface for its output.
They recommend python-dbus and to adopt their python examples using dbus.
from archinstall.
Appending some nice test code provided by mcon@irc://freenode/#iwd
It's Python bindings for iwd to communicate and monitor events.
from archinstall.
As discussed with grazzolini, we'll copy network configuration from the ISO for now.
And let the users use iwctl
to manually configure wifi before starting archinstall (since, archinstall needs to be installed it requires functional internet at first anyway)
from archinstall.
Added the following, the zero-option copies the current network configuration from the ISO (live media).
It first inserts a dummy-option into the list of interfaces:
- https://github.com/Torxed/archinstall/blob/1c80a893acfb97859dd6c0f61a2cf74c03958595/examples/guided.py#L199
And if zero (injected dummy interface) is selected, it stores it as is: - https://github.com/Torxed/archinstall/blob/1c80a893acfb97859dd6c0f61a2cf74c03958595/examples/guided.py#L229
And is then interpreted in guided during installation: - https://github.com/Torxed/archinstall/blob/1c80a893acfb97859dd6c0f61a2cf74c03958595/examples/guided.py#L54-L55
Which in turn copies two locations from ISO to (by default) /mnt
:
- Copies PSK files for iwd: https://github.com/Torxed/archinstall/blob/405794d53f1f47e2a19a906dbdfa6ad39ea79c17/archinstall/lib/installer.py#L208
- Copies .netdev/.network for systemd: https://github.com/Torxed/archinstall/blob/405794d53f1f47e2a19a906dbdfa6ad39ea79c17/archinstall/lib/installer.py#L216
from archinstall.
Related Issues (20)
- Nvidia-dkms installs wrong HOT 6
- aui-buildzfs patch + downloads limits
- BUG: Windows + gpt, Microsoft reserved partition have no fs_type
- Partition code not supported HOT 8
- Using archinstall version 2.8 to install arch, select grud as the bootstrap and it won't boot after installation. HOT 1
- Arch Install fails HOT 2
- FS type bcachefs is Unknown HOT 4
- mountpoint not found HOT 6
- exited with abnormal exit code [1] HOT 6
- Manual Partitioning failed on b8052c5 HOT 4
- "No module named 'parted'" even when parted is clearly installed. HOT 3
- Partitioning issues HOT 2
- Install to available free space HOT 1
- No module named 'archinstall' HOT 2
- 0x0.st/XXBx.log HOT 9
- [Suggestion] Disk configuration UUID check. HOT 3
- ModuleNotFoundError: No module named 'parted' (#1810 but with further problems) HOT 6
- Add "None" as an option for display manager HOT 3
- pipewire-pulse.socket does not exist HOT 1
- another crash (Failed to read disk "/dev/nvme0n1p3" with lsblk) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archinstall.