[Solved] Modify wpa_supplicant.conf
Posted: 24 May 2018, 15:21
Hi folks,
I'm testing Porteus Kiosk Edition version 4.6.0 now.
The wizard helps greatly in the case when I use a wired connection. Unfortunately if I want to use my Eduroam account and wifi I'm fairly out of luck.
The setup process only helps configuring PEAP but there is no option to select TTLS (as EAP method) and PAP as phase2 protocol (both mandatory for using Eduroam).
I know that wpa_supplicant can be configured this way and therefore I only need to rewrite the wpa_supplicant.conf in the /etc/ directory, rebuild the iso and have a running kiosk edition.
I read the tutorials for extracting and rebuilding the xzm modules and created successfully an iso file of the kiosk edition where I have a bash prompt now.
While the system is running I can easily find and access the /etc/wpa_supplicant.conf . Clearly it shows me the configuration I made using the wizard.
But if I extract the iso file I can't find the wpa_supplicant.conf. Neither 'find' nor 'grep' helps me here as they don't show me where the wpa_supplicant.conf is generated or saved. I have only an idea about starting the wpa_supplicant itself (/etc/rc.d/rc.M starts /etc/rc.d/rc.inet1 which reads the wpa_supplicant.conf).
After messing around with these files I searched this forum for a solution. I only found the post from fanthom Re: Porteus Kiosk Edition v2.0 beta feedback (Post by fanthom #11023) where the wpa_supplicant.conf has been moved to the /rootcopy folder. But some later post by fanthom Re: Kiosk.iso -/rootcopy Folder where ? (Post by fanthom #29717) mentions that the /rootcopy folder itself caused issues and has been deleted since version 3.1.
Obviously the needed /etc/wpa_supplicant.conf is not saved in 003-settings.xzm, but I can't figure out where the configuration file is created and where the data for it comes from.
So my question is: How can I configure the wpa_supplicant.conf and save it in a way that the generated iso file contains the new configuration?
Have a nice day
EEx-I/O
I'm testing Porteus Kiosk Edition version 4.6.0 now.
The wizard helps greatly in the case when I use a wired connection. Unfortunately if I want to use my Eduroam account and wifi I'm fairly out of luck.
The setup process only helps configuring PEAP but there is no option to select TTLS (as EAP method) and PAP as phase2 protocol (both mandatory for using Eduroam).
I know that wpa_supplicant can be configured this way and therefore I only need to rewrite the wpa_supplicant.conf in the /etc/ directory, rebuild the iso and have a running kiosk edition.
I read the tutorials for extracting and rebuilding the xzm modules and created successfully an iso file of the kiosk edition where I have a bash prompt now.
While the system is running I can easily find and access the /etc/wpa_supplicant.conf . Clearly it shows me the configuration I made using the wizard.
But if I extract the iso file I can't find the wpa_supplicant.conf. Neither 'find' nor 'grep' helps me here as they don't show me where the wpa_supplicant.conf is generated or saved. I have only an idea about starting the wpa_supplicant itself (/etc/rc.d/rc.M starts /etc/rc.d/rc.inet1 which reads the wpa_supplicant.conf).
After messing around with these files I searched this forum for a solution. I only found the post from fanthom Re: Porteus Kiosk Edition v2.0 beta feedback (Post by fanthom #11023) where the wpa_supplicant.conf has been moved to the /rootcopy folder. But some later post by fanthom Re: Kiosk.iso -/rootcopy Folder where ? (Post by fanthom #29717) mentions that the /rootcopy folder itself caused issues and has been deleted since version 3.1.
Obviously the needed /etc/wpa_supplicant.conf is not saved in 003-settings.xzm, but I can't figure out where the configuration file is created and where the data for it comes from.
So my question is: How can I configure the wpa_supplicant.conf and save it in a way that the generated iso file contains the new configuration?
Have a nice day
EEx-I/O