freebsd安装配置
1,无线网卡设置
- vim /etc/wpa_supplicant.conf
network={
scan_ssid=1 # 如果是隐藏wifi加入这个,不是就不要加了
ssid="abc"# abc为wifi名字
psk="1234" # 密码
}
2,/etc/rc.conf 网卡配置
- wlans_iwn0="wlan0"
- ifconfig_wlan0="WPA DHCP"
3,wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
- # 如果报错,看后面的其他方法
4,重启
- service netif restart # 重启网络
- service routing restart # 重启路由
5,pkg太慢
/etc/pkg/FreeBSD.conf - 改用 hshh
6,Xorg
pkg install Xorg
/usr/ports/fvwm2/make install clean
pkg install xf86-video-intel / xf86-video-nv
pkg install drm-kmod (具体设置请看https://wiki.freebsd.org/Graphics)(drm-kmod包含了intel和ati驱动),我是集成显卡,所以用intel驱动.pkg install libva-intel-driver (intel高清解码器)
pkg install xf86-video-intel(intel开源程序)
加载内核模块,在 /etc/rc.conf 里添加:
kld_list="/boot/modules/i915kms.ko"
7.设置xorg
Xorg -configure (生成配置文件xorg.conf.new)
Start the X system(测试生成的配置文件xorg.conf.new)
一旦测试成功,mv xorg.conf.new /etc/X11/xorg.conf,至此,xorg安装完毕.
ee /etc/rc.conf,加入:
hald_enable='YES"
dbus_enable='YES"

浙公网安备 33010602011771号