Changes between Version 7 and Version 8 of FreeBSDOnEmbeddedDevice


Ignore:
Timestamp:
Feb 2, 2012, 10:41:36 AM (13 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDOnEmbeddedDevice

    v7 v8  
    4747
    4848Need rw on first boot for ssh keys and such:
    49 chroot# echo "/dev/ad0s1a / ufs rw,noatime 0 1" > /etc/fstab
    50 Tip: On Soekris net4801 v1.33 Flash is secondary
    51 net4801# echo "/dev/ad1s1a / ufs rw,noatime 0 1" > /etc/fstab
     49chroot# echo "/dev/ada0s1 / ufs rw,noatime 0 1" > /etc/fstab
    5250
    5351Make sure to continue to check the disks on reboot, instead of waiting for user input:
     
    6866
    6967Enable serial console:
    70 chroot# sed '/ttyu0/ s/off/on /' /etc/ttys > /etc/ttys.new && mv /etc/ttys.new /etc/ttys
     68chroot# sed -I '' '/ttyu0/ s/off/on /' /etc/ttys
    7169
    7270Cosmetic: disable all vidconsoles as a soekris embedded device does not have any:
    73 chroot# sed '/ttyv[0-7]/ s/on /off/g' /etc/ttys > /etc/ttys.new && mv /etc/ttys.new /etc/ttys
     71chroot# sed -I '' '/ttyv[0-7]/ s/on /off/g' /etc/ttys
     72
     73== Package Install Pre-Req ==
     74chroot# setenv FTP_PASSIVE_MODE yes
     75chroot# PACKAGEROOT=ftp://ftp.nl.FreeBSD.org
    7476
    7577== Accounting & access control ==
     
    7880
    7981Administive user (admin for example):
    80 chroot# setenv FTP_PASSIVE_MODE yes
    8182chroot# pkg_add -r sudo
    8283chroot# pw useradd admin -G wheel -c 'Admin User' -s /bin/csh -m -w random
     
    8586== Networking ==
    8687chroot# echo "hostname=riff.vanderzwet.net" >> /etc/rc.conf
    87 
    88 Package installation using 7.2 kernel and 8.0-RC2 world is core dumping, postponing for later stage
    8988
    9089Make any other optional changes before first boot inside chroot(8):