分類彙整: FreeBSD

FreeBSD 的 Disklabel 救援及回復

(This article is for Taiwanese/Chinese reader,for English version, see here)

前篇,kmd.twbbs.org 這台主機的系統碟
由於很詭異的原因整個 MBR 都丟掉了
於是我試著尋找 FreeBSD 底下自動分析 disklabel 資訊的工具
希望能盡人士聽天命

scan_ffs (8) 就是最終的選擇
閱讀全文 FreeBSD 的 Disklabel 救援及回復

Using rc under FreeBSD

2002 年以來,FreeBSD 將 NetBSD 的 rc 整合至系統中
用於系統啟動時,載入網路、防火牆與系統服務服務。

但有時系統上的服務彼此具有相依性,比方說:
Snort 可能需要以 MySQL 作為後端,此時 MySQL 必須在 Snort 之前啟動。
閱讀全文 Using rc under FreeBSD

Taiwanese Translation for phpSysInfo

After migrating my web server from php4 to php5, the well-known system monitoring package, phpSysInfo, is also updated.
But in 3.0 rc4, the latest release candidate, Chinese language file was not included. So I made a translation this afternoon, and mail it to the authors.

Hope it will be committed in the next release.

Some Tips for VMware

  1. Network driver
  2. The default lnc driver is GIANT-locked, and is dropped in FreeBSD 7. The replacement for lnc is le and it’s present in FreeBSD 6.2 and newer, but it’s not included in GENERIC.
    So, put device le in the kernel configuration and re-compile kernel.

    Actually, VMWare can emulate Intel e1000 Gigabit Ethernet (em) hardware instead of the AMD Lance (pcn/lnc/le). To make it works, edit the .vmx file and put ethernet0.virtualDev="e1000" near the ethernet0 settings (indeed, anywhere is ok).
    閱讀全文 Some Tips for VMware