Changes between Version 7 and Version 8 of FreeBSDOnEmbeddedDevice
- Timestamp:
- Feb 2, 2012, 10:41:36 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeBSDOnEmbeddedDevice
v7 v8 47 47 48 48 Need 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 49 chroot# echo "/dev/ada0s1 / ufs rw,noatime 0 1" > /etc/fstab 52 50 53 51 Make sure to continue to check the disks on reboot, instead of waiting for user input: … … 68 66 69 67 Enable serial console: 70 chroot# sed '/ttyu0/ s/off/on /' /etc/ttys > /etc/ttys.new && mv /etc/ttys.new/etc/ttys68 chroot# sed -I '' '/ttyu0/ s/off/on /' /etc/ttys 71 69 72 70 Cosmetic: 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 71 chroot# sed -I '' '/ttyv[0-7]/ s/on /off/g' /etc/ttys 72 73 == Package Install Pre-Req == 74 chroot# setenv FTP_PASSIVE_MODE yes 75 chroot# PACKAGEROOT=ftp://ftp.nl.FreeBSD.org 74 76 75 77 == Accounting & access control == … … 78 80 79 81 Administive user (admin for example): 80 chroot# setenv FTP_PASSIVE_MODE yes81 82 chroot# pkg_add -r sudo 82 83 chroot# pw useradd admin -G wheel -c 'Admin User' -s /bin/csh -m -w random … … 85 86 == Networking == 86 87 chroot# 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 stage89 88 90 89 Make any other optional changes before first boot inside chroot(8):