Compare commits
	
		
			No commits in common. "46457f23ad791b0a4a78294db14ff251ff31ff14" and "799e79c51b299787212a13ef30472e413b45eb97" have entirely different histories.
		
	
	
		
			46457f23ad
			...
			799e79c51b
		
	
		
							
								
								
									
										84
									
								
								blog.org
								
								
								
								
							
							
						
						
									
										84
									
								
								blog.org
								
								
								
								
							| 
						 | 
					@ -4,12 +4,9 @@
 | 
				
			||||||
#+HUGO_FRONT_MATTER_FORMAT: yaml
 | 
					#+HUGO_FRONT_MATTER_FORMAT: yaml
 | 
				
			||||||
#+ORG-HUGO-EXTERNAL-FILE-EXTENSIONS-ALLOWED-FOR-COPYING: nil
 | 
					#+ORG-HUGO-EXTERNAL-FILE-EXTENSIONS-ALLOWED-FOR-COPYING: nil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Meta :@Meta:
 | 
					* Refile
 | 
				
			||||||
** TODO Focus intentionally
 | 
					** Focus intentionally
 | 
				
			||||||
:PROPERTIES:
 | 
					
 | 
				
			||||||
:EXPORT_FILE_NAME: focus-intentionally
 | 
					 | 
				
			||||||
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :toc true
 | 
					 | 
				
			||||||
:END:
 | 
					 | 
				
			||||||
I am too easily distracted. Sitting at my desk on an average day, I have movies,
 | 
					I am too easily distracted. Sitting at my desk on an average day, I have movies,
 | 
				
			||||||
TV shows, and YouTube videos, about a million different chat applications, my
 | 
					TV shows, and YouTube videos, about a million different chat applications, my
 | 
				
			||||||
email client, Steam, and a web browser with yet more chat apps plus social media
 | 
					email client, Steam, and a web browser with yet more chat apps plus social media
 | 
				
			||||||
| 
						 | 
					@ -46,11 +43,7 @@ motivation must be rather high.
 | 
				
			||||||
*** References
 | 
					*** References
 | 
				
			||||||
- [[https://www.artofmanliness.com/character/behavior/monotasking-podcast/][The Art of Manliness: Become a Focused Monotasker]]
 | 
					- [[https://www.artofmanliness.com/character/behavior/monotasking-podcast/][The Art of Manliness: Become a Focused Monotasker]]
 | 
				
			||||||
- [[https://www.artofmanliness.com/character/habits/podcast-581-the-tiny-habits-that-change-everything/][The Art of Manliness: The Tiny Habits That Change Everything]]
 | 
					- [[https://www.artofmanliness.com/character/habits/podcast-581-the-tiny-habits-that-change-everything/][The Art of Manliness: The Tiny Habits That Change Everything]]
 | 
				
			||||||
** TODO Email can be pleasant, but like all good things, it takes work
 | 
					* Meta                                                                :@Meta:
 | 
				
			||||||
:PROPERTIES:
 | 
					 | 
				
			||||||
:EXPORT_FILE_NAME: email-can-be-pleasant-but-like-all-good-things-it-takes-work
 | 
					 | 
				
			||||||
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :toc true
 | 
					 | 
				
			||||||
:END:
 | 
					 | 
				
			||||||
* Technology                                                    :@Technology:
 | 
					* Technology                                                    :@Technology:
 | 
				
			||||||
** DONE (Ab)using mesh networks for easy remote support :Mesh__networking:Open__source:Remote__support:
 | 
					** DONE (Ab)using mesh networks for easy remote support :Mesh__networking:Open__source:Remote__support:
 | 
				
			||||||
CLOSED: [2021-11-01 Mon 02:51]
 | 
					CLOSED: [2021-11-01 Mon 02:51]
 | 
				
			||||||
| 
						 | 
					@ -588,75 +581,6 @@ Exactly how you do /that/ is */definitely/* beyond the scope of this post :P
 | 
				
			||||||
If you set any of this up, I would be interested to hear how it goes! As
 | 
					If you set any of this up, I would be interested to hear how it goes! As
 | 
				
			||||||
stated earlier, my contact information is at the bottom of the site's
 | 
					stated earlier, my contact information is at the bottom of the site's
 | 
				
			||||||
home page :)
 | 
					home page :)
 | 
				
			||||||
** TODO FreeBSD quirks on the Framework laptop :FreeBSD:Framework:
 | 
					 | 
				
			||||||
:PROPERTIES:
 | 
					 | 
				
			||||||
:EXPORT_FILE_NAME: freebsd-quirks-on-the-framework-laptop
 | 
					 | 
				
			||||||
:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :toc true
 | 
					 | 
				
			||||||
:END:
 | 
					 | 
				
			||||||
This is primarily intended for people new to FreeBSD. If you're already familiar
 | 
					 | 
				
			||||||
with it, [[https://wiki.freebsd.org/Laptops/Framework_Laptop][the wiki page]] will probably tell you everything you need. I had no idea
 | 
					 | 
				
			||||||
what I was doing so I had no idea what I was looking for! I had been beating my
 | 
					 | 
				
			||||||
head against a wall for about three hours before I decided to join ~#freebsd~ on
 | 
					 | 
				
			||||||
[[https://libera.chat/][Libera.Chat]]; the people there were friendly, helpful, and gave me tons of great
 | 
					 | 
				
			||||||
advice. I highly recommend popping in if you have any issues!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
*** The Handbook
 | 
					 | 
				
			||||||
Open [[https://docs.freebsd.org/en/books/handbook/][the handbook.]] Follow [[https://docs.freebsd.org/en/books/handbook/][the handbook.]] Read [[https://docs.freebsd.org/en/books/handbook/][the whole handbook.]] The developers
 | 
					 | 
				
			||||||
spend a /lot/ of time making sure it's the best resource available for learning
 | 
					 | 
				
			||||||
FreeBSD. In most cases, it will have an answer for any question related to
 | 
					 | 
				
			||||||
FreeBSD.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
That said, the Framework laptop is so new that it's not fully supported by the
 | 
					 | 
				
			||||||
current stable release, so for now, we'll need to diverge a bit. This guide is
 | 
					 | 
				
			||||||
really only applicable until the release of FreeBSD 13.1 and until ~drm-kmod~ hits
 | 
					 | 
				
			||||||
version 5.5+. Once those two criteria are met, following the handbook should be
 | 
					 | 
				
			||||||
entirely sufficient!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
*** The Source
 | 
					 | 
				
			||||||
In section 2.5.3 of the handbook/installer, make sure you tick the ~src~ box to
 | 
					 | 
				
			||||||
download the FreeBSD source code. It'll be necessary for building our graphics
 | 
					 | 
				
			||||||
drivers later on.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
*** The Graphics
 | 
					 | 
				
			||||||
This is where things are less-than-ideal at the moment. /Usually/, installing
 | 
					 | 
				
			||||||
[[https://cgit.freebsd.org/ports/tree/graphics/drm-kmod][graphics/drm-kmod]] would be sufficient, but the version in both FreeBSD's package
 | 
					 | 
				
			||||||
repos and in the ports tree is too old. At the time of writing, it's compatible
 | 
					 | 
				
			||||||
with Linux kernel 5.4 while the Framework's drivers are in Linux kernel 5.5+.
 | 
					 | 
				
			||||||
We'll need to clone the /sources/ for ~graphics/drm-kmod~, check out a more recent
 | 
					 | 
				
			||||||
branch, build the drivers, and use those instead.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
I'm not 100% certain whether the first step here is necessary but I don't feel
 | 
					 | 
				
			||||||
like reinstalling to check.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1. Install ~graphics/drm-kmod~ with ~pkg install drm-kmod~
 | 
					 | 
				
			||||||
2. Install ~devel/git~ with ~pkg install git~
 | 
					 | 
				
			||||||
3. Clone ~drm-kmod~'s source with
 | 
					 | 
				
			||||||
   #+BEGIN_SRC bash
 | 
					 | 
				
			||||||
git clone https://github.com/freebsd/drm-kmod
 | 
					 | 
				
			||||||
   #+END_SRC
 | 
					 | 
				
			||||||
4. Check out the ~5.7-stable~ branch with
 | 
					 | 
				
			||||||
   #+BEGIN_SRC bash
 | 
					 | 
				
			||||||
git checkout -b 5.7-stable --track remotes/origin/5.7-stable
 | 
					 | 
				
			||||||
   #+END_SRC
 | 
					 | 
				
			||||||
5. Build the package with ~make~
 | 
					 | 
				
			||||||
6. Uninstall ~drm-kmod~ and all of its dependencies with ~pkg remove drm-kmod~
 | 
					 | 
				
			||||||
   followed by ~pkg autoremove~
 | 
					 | 
				
			||||||
7. Install the more up-to-date drivers with ~make install~
 | 
					 | 
				
			||||||
8. Make sure the module works as expected with ~kldload /boot/modules/i915kms.ko~
 | 
					 | 
				
			||||||
9. If you suddenly see grey in your terminal, it works! Go ahead and add it to
 | 
					 | 
				
			||||||
   your boot config by appending the following line to ~/etc/rc.conf~
 | 
					 | 
				
			||||||
  #+BEGIN_SRC text
 | 
					 | 
				
			||||||
kld_load="/boot/modules/i915kms.ko"
 | 
					 | 
				
			||||||
  #+END_SRC
 | 
					 | 
				
			||||||
10. Reboot and you should be able to start Xorg as the handbook describes!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Again all of this information is available on [[https://wiki.freebsd.org/Laptops/Framework_Laptop][the FreeBSD wiki page for the
 | 
					 | 
				
			||||||
Framework laptop.]] The ~Graphics~ row in section 2 says /requires DRM-KMOD 5.5 or
 | 
					 | 
				
			||||||
higher. Fails to initialize with DRM-KMOD 5.4./ That's in reference to the
 | 
					 | 
				
			||||||
package we just built and installed.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Hope this helps!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
** TODO A perfect email setup (for me) :Email:Workflow:
 | 
					** TODO A perfect email setup (for me) :Email:Workflow:
 | 
				
			||||||
:PROPERTIES:
 | 
					:PROPERTIES:
 | 
				
			||||||
:EXPORT_FILE_NAME: a-perfect-email-setup-for-me
 | 
					:EXPORT_FILE_NAME: a-perfect-email-setup-for-me
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,11 +12,13 @@ params:
 | 
				
			||||||
  description: Blog of a pseudonymous netizen
 | 
					  description: Blog of a pseudonymous netizen
 | 
				
			||||||
  gitUrl: "https://git.nixnet.services/Amolith/secluded/commit/"
 | 
					  gitUrl: "https://git.nixnet.services/Amolith/secluded/commit/"
 | 
				
			||||||
  contact:
 | 
					  contact:
 | 
				
			||||||
 | 
					    fediverse: https://nixnet.social/amolith
 | 
				
			||||||
    email: amolith@secluded.site
 | 
					    email: amolith@secluded.site
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Visit http://gnuterrypratchett.com for explanation
 | 
					    # Visit http://gnuterrypratchett.com for explanation
 | 
				
			||||||
    # List names as an array
 | 
					    # List names as an array
 | 
				
			||||||
    clacks:
 | 
					    clacks:
 | 
				
			||||||
 | 
					      - Lloyd Barlowe
 | 
				
			||||||
      - Trabajo Taco
 | 
					      - Trabajo Taco
 | 
				
			||||||
 | 
					
 | 
				
			||||||
markup:
 | 
					markup:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,15 +5,17 @@ layout: home
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Welcome!
 | 
					## Welcome!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
My online pseudonym is Amolith. However, if we end up meeting in person, I would
 | 
					My online pseudonym is Amolith. However, if we end up meeting in person,
 | 
				
			||||||
be happy to introduce myself as myself. I am a musician, developer, sysadmin,
 | 
					I would be happy to introduce myself as myself. I am a dedicated Linux
 | 
				
			||||||
co-host of the [Linux Lads](https://linuxlads.com), small business owner, and
 | 
					user, musician, sysadmin, and founder of
 | 
				
			||||||
founder of not-for-profit [NixNet.](https://nixnet.services) At the moment, I’m
 | 
					[NixNet.](https://nixnet.services) At the moment, I’m a university
 | 
				
			||||||
also a university student studying Computer Science. If you're interested in a
 | 
					student studying Computer Science with plans of becoming a systems
 | 
				
			||||||
podcast on personal privacy and security through open source software, keep an
 | 
					architect in the future. I don’t have much time to play music so it’s
 | 
				
			||||||
eye on [Redacted.Life](https://redacted.life) for a podcast [Jake
 | 
					(mostly) an “in my room when I have a few minutes” thing. I also host a
 | 
				
			||||||
Bauer](https://paritybit.ca) and I are working on. We're hoping to release the
 | 
					(work-in-progress) podcast called [Redacted
 | 
				
			||||||
first episode in the beginning of 2023.
 | 
					Life;](https://redacted.life) the subject is Linux and libre software
 | 
				
			||||||
 | 
					with a hard spin on personal privacy and security. Nothing has been
 | 
				
			||||||
 | 
					recorded yet but it's in progress.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```text
 | 
					```text
 | 
				
			||||||
-----BEGIN GEEK CODE BLOCK-----
 | 
					-----BEGIN GEEK CODE BLOCK-----
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue