freebsd:freebsd_3tweaks
This is an old revision of the document!
Table of Contents
FreeBSD Tweaks
Maybe useful to some…
Git
- 'git log' output does not show colorized output
- can see the escape sequence
- so, as user, type
git config --global core.pager "ls -r"
Network Configuration
Note DHCP client is dhclient - simply run dhclient <interface>
when booting to console and using something like USB tethering.
Configure (wireless) network interface (in case was not done during installation)
- FreeBSD has network interface name - based on the driver name (e.g. sis, re)
- to find this, use
pciconf -lv
- for normal wired connection (e.g. re0), add to 'rc.conf'
ifconfig_re0="DHCP"
- for a wireless connection (e.g. ath0), add in
wlan_ath0="wlan0" ifconfig_wlan0="DHCP"
- for a secured wireless connection (e.g. WPA protected), add in
wlan_ath0="wlan0" ifconfig_wlan0="WPA SYNCDHCP"
also, append '/ etc/wpa_supplicant.conf'
network={ ssid="the_ssid" psk="the_psk" }
- not sure why but
wlan0
was not auto-created?- from official handbook, do
ifconfig wlan0 create wlandev ath0
- to start up and scan, do
ifconfig wlan0 up scan
- or just scan, do
ifconfig wlan0 list scan
Graphics
Driver for ASUS E5450 Graphics Card (based on Radeon 5450?)
- install driver
pkg install -y xf86-video-ati
- to load on startup, edit
rc.conf
:kld_list="radeonkms"
For Intel Graphics (Asus H81M-K Motherboard)
- install driver
pkg install -y xf86-video-intel
- to load on startup, edit
rc.conf
:kld_list="i915kms"
- install something? (for kernel?)
pkg install -y drm-kmod
- some older ones require
drm-fake-kmod
instead
freebsd/freebsd_3tweaks.1736989373.txt.gz · Last modified: by azman