Skip to content

Instantly share code, notes, and snippets.

@philmb3487
Last active October 6, 2016 05:01
Show Gist options
  • Save philmb3487/aad2b00849c9dc1a61141da714715255 to your computer and use it in GitHub Desktop.
Save philmb3487/aad2b00849c9dc1a61141da714715255 to your computer and use it in GitHub Desktop.
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
```
@philmb3487
Copy link
Author

philmb3487 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