FreeBSD: Difference between revisions

From DWIKI
Line 59: Line 59:


===ping: sendto: Permission denied===
===ping: sendto: Permission denied===
all hits say that's firewall, but there was something!
sysctl:
security.jail.allow_raw_sockets: 0
 


[[Category: System Administration]]
[[Category: System Administration]]

Revision as of 13:20, 3 May 2008

Documentation

Tips and Tricks

  • man intro
  • man tuning
  • mergemaster
  • man pw
sysinstall
cd /sys/i386/conf ; make LINT
systat -vm

Rescue


Kernel modules

kldload kldstat etc

Hardware info

kenv
pciconf -lv
grep -i cpu /var/run/dmesg.boot
sysctl hw.ncpu

Resources

systat -pigs
fstat

FAQ

Upgrading

http://people.freebsd.org/~rse/upgrade/

portupgrade -P -f -a

Post install messages

/usr/ports/*/*/pkg-message

Courier-imap certificates

check out /usr/local/share/mkimapdcert

crontab: temp file must be edited in place

Happens when you set EDITOR=vim. Fix it by setting :set nobackup and :set nowritebackup in .vimrc

ping: sendto: Permission denied

sysctl:

security.jail.allow_raw_sockets: 0