Page 1 of 1

[Solved] Change Static IP Address Using Same ISO

Posted: 02 Jul 2015, 18:14
by feist
Hello,

I would like to change the static IP address defined previously to a new static IP address without going through the kiosk setup wizard again due to many customizations that I would have to redo.

I can see that the /etc/rc.d/rc.M file found in 003-settings.xzm initializes the NIC:

# Initialize the networking hardware:
for x in `ls /sys/class/net | egrep -v 'sip|lo'`; do
dhcpcd -L -t 0 $x >/dev/null 2>&1 &
done

I assume the static IP address is defined in this file. The question is, in which XZM file can I find /sys/class/net? I've been searching, but I'm having a hard time locating this file.

Re: Change Static IP Address Using Same ISO

Posted: 02 Jul 2015, 19:11
by sunnysideofthesun
I'm sorry if the following is not what you seek for, but I hope you may find it useful.
https://wiki.archlinux.org/index.php/Dh ... ic_profile
And general approach for Gentoo (base of Kiosk Edition)
https://forums.gentoo.org/viewtopic-t-7 ... art-0.html

Re: Change Static IP Address Using Same ISO

Posted: 02 Jul 2015, 22:08
by feist
Thanks, but I didn't find the static IP address listed in the files referenced. Just need to know in where Porteus Kiosk stores its static IP address information.

Re: Change Static IP Address Using Same ISO

Posted: 03 Jul 2015, 08:37
by fanthom
@feist

please edit 003-settings.xzm/etc/rc.d/rc.M and hash out '/etc/rc.d/rc.inet1' string.
now insert your own network details under it.

Re: Change Static IP Address Using Same ISO

Posted: 07 Jul 2015, 19:10
by feist
Thank you for the information. I ended up updating to 3.4.0 and love the new features.