You are not logged in.
Raspberry Pi OS allows the user to configure the wpa_supplicant to connect to wifi. And now I would like to install Arch into Rock Pi X (x86 SBC), but I don't have any display screen that could connect to it. And also no extral cable. Any solutions to solve it?
I found file "ARCH_202105/arch/pkglist.x86_64.txt", it seems that pkg wpa_supplicant is available when installation.
Last edited by malacology (2022-01-02 21:25:23)
Don't speak to silly man. Keep Minimalism.
Offline
Create the config file for wpa: https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli
and enable e.g. systemd-networkd systemd-resolved who will make use of wpa, if the config file is named correctly, e.g. "wpa_supplicant-wlan0.conf"
By the way, how to you plan to install Arch without display and cable ? I'm not aware of official ready-to-run images for arch, like they exist for archarm.
Offline
I'm assuming they're planning to ssh into it.
Offline
I believe archiso comes with cloudinit now, so follow the headless install tips here:
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I believe archiso comes with cloudinit now, so follow the headless install tips here:
Right, that's what I wanted. I am a little worried if the ssh is not auto opened
Don't speak to silly man. Keep Minimalism.
Offline
Create the config file for wpa: https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli
and enable e.g. systemd-networkd systemd-resolved who will make use of wpa, if the config file is named correctly, e.g. "wpa_supplicant-wlan0.conf"By the way, how to you plan to install Arch without display and cable ? I'm not aware of official ready-to-run images for arch, like they exist for archarm.
Acutually, I have one cable but now used by wifi machie. And the ROCK PI X is not an arm machine but x86.
Don't speak to silly man. Keep Minimalism.
Offline
I'm assuming they're planning to ssh into it.
Right, and I realize that ssh is the most important step to it instead of the wifi connection. Thanks. Also, if I don't the crab, I would need to pre-configure wifi.
Last edited by malacology (2021-05-26 00:55:05)
Don't speak to silly man. Keep Minimalism.
Offline
The archboot isos have sshd enabled by default for root login with no password.
Offline
The archboot isos have sshd enabled by default for root login with no password.
But it seems that the iso is too old, 2020.07, it will not run, I have experienced the 2020 iso, they can't run on VM.
Don't speak to silly man. Keep Minimalism.
Offline
Slithery wrote:The archboot isos have sshd enabled by default for root login with no password.
But it seems that the iso is too old, 2020.07, it will not run, I have experienced the 2020 iso, they can't run on VM.
Um, what? This post is complete gibberish.
Offline
I now plan to make it auto-connect wifi and auto enable ssh by the following
add wpa_supplicant.conf to sdlive/arcn/boot/ [sdlive is my usb]
containing following words
country=[country_short]
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="wifi_name"
psk="passwd"
key_mgmt=WPA-PSK
priority=1
}
enable ssh by adding file called ssh to sdlive/arcn/boot/
I don't know if it's possible
Don't speak to silly man. Keep Minimalism.
Offline
malacology wrote:Slithery wrote:The archboot isos have sshd enabled by default for root login with no password.
But it seems that the iso is too old, 2020.07, it will not run, I have experienced the 2020 iso, they can't run on VM.
Um, what? This post is complete gibberish.
Sorry, I test on WSL2, and it actually meets problems, I changed a newer image, then it works.
Don't speak to silly man. Keep Minimalism.
Offline
I believe archiso comes with cloudinit now, so follow the headless install tips here:
It seems that the Arch installing auto enable sshd based on guide of install on local machine
Don't speak to silly man. Keep Minimalism.
Offline
It seems that the Arch installing auto enable sshd based on guide of install on local machine
Yes, sshd is enabled now, but you need to configure an ssh key with cloud-init, there is no unprotected ssh access.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
malacology wrote:It seems that the Arch installing auto enable sshd based on guide of install on local machine
Yes, sshd is enabled now, but you need to configure an ssh key with cloud-init, there is no unprotected ssh access.
Actually, I can't understand the wiki completely. Could I connect it via ssh and then configure cloud-init or just set password to root? I maybe don't need protected ssh.
Last edited by malacology (2021-05-26 14:19:37)
Don't speak to silly man. Keep Minimalism.
Offline
Could I connect it via ssh and then configure cloud-init or just set password to root?
No, you have to either create a second usb stick with your network config and ssh keys saved in the cloud-init format or you have to edit the archiso and add the cloudinit files there. Both options are described in the wiki article.
Last edited by progandy (2021-05-26 15:23:42)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Could I connect it via ssh and then configure cloud-init or just set password to root?
No, you have to either create a second usb stick with your network config and ssh keys saved in the cloud-init format or you have to edit the archiso and add the cloudinit files there. Both options are described in the wiki article.
Okay, thanks, I got it.
Don't speak to silly man. Keep Minimalism.
Offline
Since the rockpi supports uefi I think you can do the following:
- write the iso to your usb stick
- use e.g. cfdisk or sgdisk to create a new partition in the remaining free space (accept losing the iso9660 signature)
- create a new FAT32 filesystem in that new partition named "CIDATA"
- Copy the two files.
- Pray it works.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
this kind of machine must be modifed BIOS, so there must be something like displayed, it's solved.
Don't speak to silly man. Keep Minimalism.
Offline