Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PacBSD installation on Lenovo X240 laptop.
This is a series of notes as of september 24, 2016.
PGP errors : turn off the PGP checking in /etc/pacman.conf
Then use pacstrap base base-devel
```
SigLevel = None DatabaseOptional
```
@sinetek

This comment has been minimized.

Copy link
Owner Author

commented Sep 24, 2016

Preparing the Disk (MBR UFS)

gpart destroy -F ada0
gpart create -s mbr ada0
gpart add -t freebsd-ufs ada0s1
newfs -U -j -L root /dev/ada0s1

Wireless

kldload if_iwm
ifconfig wlan0 create wlandev iwm0

Create /etc/wpa_supplicant.conf:

network={
  ssid="SSID"
  psk="password"
}

Fire up wifi daemon (in a new vty):

wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf
dhclient wlan0

Automating Wireless

Edit /boot/loader.conf to get us the proper modules loaded at boot:

iwm7260fw_load="YES"
if_iwm_load="YES"

XXX: is there a way to automate the wpa_supplicant steps? Perhaps in an openrc service run at startup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.