Kategoriarkiv: FreeBSD

huh

am instalat vmware-le, dar cand dau power off la masina imi da urmatorul mesaj: Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device. Am citit in /usr/ports/emulators/vmware3/pkg-message, iar acolo zice sa trec “kern.ipc.shm_allow_removed” pe 1, dar nu … Læs resten

Udgivet i FreeBSD, Humor | Skriv en kommentar

Multiple X Sessions

Stats session on X-Terminal 1 startx — :1

Udgivet i FreeBSD, Knowledge Base, Linux, Old Base | Skriv en kommentar

/proc in freebsd

in fstab: proc /proc procfs rw 0 0 mount /proc

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

CUPS In freebsd

install port /usr/ports/print/cups You gotta replace the old lpr with cups’s lpr for all stuff to work. demo1# rm /usr/bin/lpr demo1# cp /usr/local/bin/lpr /usr/bin/lpr

Udgivet i FreeBSD, Knowledge Base | Skriv en kommentar

Editing the .bash_profile to your needs

When you’ve installed bash from scratch or from ports on BSD bash is pretty ugly. it looks something like this: bash-2.05b$ pretty useless it is here .bash_profile comes in to view I’m not going blabber alot with long howto’s etc. … Læs resten

Udgivet i FreeBSD, Old Base, Shellscript | Skriv en kommentar

Enabling directory indexes in Apache (2)

The default setting should be something like: <Directory /> Options FollowSymLinks AllowOverride All </Directory> Just add indexes: <Directory /> Options FollowSymLinks indexes AllowOverride All </Directory>

Udgivet i Apache, FreeBSD, Knowledge Base, Lamp, Linux, Old Base | Skriv en kommentar

Mount iso file under freebsd

pinable# mdconfig -a -t vnode -f WarLinux-0.5cd.iso -u 0 pinable# mount -t cd9660 /dev/md0 /mnt

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

Change NIC MAC in FreeBSD

ifconfig xl0 ether 00:11:22:33:44:55

Udgivet i FreeBSD, Knowledge Base | Skriv en kommentar

Change NIC MAC in FreeBSD

ifconfig xl0 ether 00:11:22:33:44:55

Udgivet i FreeBSD | Skriv en kommentar

Standard freebsd fstab

Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto … Læs resten

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar