Closed RustyPixel closed 3 years ago
Greetings, Not really sure, I at this time, only test on rpi3b+ and rpi4. I did do a sample run on next-4.x branch with:
rpi3b+ and examples/kali-encrypted-basic-dropbear and all wifi settings set
Run was successful and luks unlocked over wifi. You might try the examples/kali-encrypted-basic-dropbear and see if works for you. Please verify the image from kali you need for your hardware.
I at this time, only test on rpi3b+ and rpi4
These have onboard WiFi and which limits the type of case i want to used at a distance, there is no IPEX connector for external antennas
I have got it working partly with using your examples/pios-encrypted-basic-dropbear
as the base for the install and then setup my WiFi manually.
I then look looked at the hooks/0000-experimental-initramfs-wifi.hook
and followed the link to the references notes, http://www.marcfargas.com/posts/enable-wireless-debian-initramfs/ which has a git gist page.
There i used the scripts in my tests and found that i was still getting the same errors and complaints about wlan0.
I decide change INTERFACE="wlan0"
to INTERFACE="wlx28107bb6d4ac"
( mac address of the wifi card ) and also
/sbin/wpa\_supplicant -i$INTERFACE -c/etc/wpa\_supplicant.conf -P/run/initram-wpa\_supplicant.pid -B -f /tmp/wpa\_supplicant.log
to
/sbin/wpa\_supplicant -Dnl80211,wext -i$INTERFACE -c/etc/wpa\_supplicant.conf -P/run/initram-wpa\_supplicant.pid -B -f /tmp/wpa\_supplicant.log
i added ip=:::::wlx28107bb6d4ac:dhcp:1.1.1.1:1.0.0.1
to /boot/cmdline.txt
Now the WiFi came up but I still having ifconfig complained about too many parameters, so i change above to match
ip=:::::wlx28107bb6d4ac:on
.
Now it all working and pulling a it own ip address, dns still gives me errors when i add.
Predictable-Network-Interface-Names was the problem for me with wlan0
Fixed by creating /etc/initramfs-tools/10-rename-network.rules with
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="28:10:7b:b6:d4:ac", NAME="wlan0"
then in /etc/initramfs-tools/hooks/enable-wireless added
copy_file config /etc/initramfs-tools/10-rename-network.rules /usr/lib/udev/rules.d/10-rename-network.rules
This problem has now been fixed for my but i hope this information helps other stuck with the same or similar problem
What about
Failed to connect to non-global ctrl-ifname: (nil) error: Success
Hi great work and thanks.
I have been trying for a few days now to get a new encrypted system up and running from a already known working non encrypted one.
The problem is under
experimental-initramfs-wifi
the wifi driver loads but i never comes up.Below is the following errors i get with putty when i follow via tty
please also see screenshot of monitor output
Here is also my config file
I have also been able to compile in a a new wifi module
8821cu
that also loads but i get the same error.Unit: Raspberry pi 2 OS: as in config file WIFI: wifi card DWA-131
r8712u
WIFI: wifi card cudy WU6508821cu
any advise would be great. Thanks