After installing POSBOX let it boot with ethernet connected
login with ssh with user pi and raspberry as password.
1Disable Ramdisks
mount -o remount,rw /
mount -o remount,rw /root_bypass_ramdisk
vi /root_bypass_ramdisks/etc/fstab
change / from ro to rw
vi /home/pi/odoo/addons/point_of_sale/tools/posbox/configuration/setup_ramdisks.sh
comment out create_ramdisk
mount –bind / /root_bypass_ramdisks
reboot
2Reset Passwords
login again with ssh
sudo su -
passwd pi
set new password
Change hostname
vi /etc/hosts
change 127.0.1.1 raspberrypi to 127.0.1.1 <NEW_HOSTNAME>
vi /etc/hostname
change raspberrypi to <NEW_HOSTNAME>
3configure network
vi /etc/network/interfaces
insert the following lines:
auto eth0
iface eth0 inet static
address 192.168.20.12x
netmask 255.255.255.0
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.20.13x
netmask 255.255.255.0
wpa-ssid "AAPT_YES_4"
wpa-psk "PASSWORD"
4configure default gateway and DNS
vi /etc/nerwork/interfaces
add the follwong lines:
dns-nameservers 8.8.8.8
gateway 192.168.20.1
reboot