<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>niroze.net</title>
	<atom:link href="https://www.niroze.net/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.niroze.net</link>
	<description>Chris Humphries</description>
	<lastBuildDate>Wed, 09 May 2018 17:48:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">120503267</site>	<item>
		<title>Planning out B/X D&#038;D &#8211; Team Alpha sessions</title>
		<link>https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/</link>
		<comments>https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/#respond</comments>
		<pubDate>Tue, 08 May 2018 17:04:16 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Tabletop Roleplaying Gaming]]></category>
		<category><![CDATA[B/X DnD]]></category>
		<category><![CDATA[B/X DnD – Team Alpha]]></category>
		<category><![CDATA[Labyrinth Lord]]></category>
		<category><![CDATA[Roll20]]></category>

		<guid isPermaLink="false">https://www.niroze.net/?p=194</guid>
		<description><![CDATA[<p>I am currently planning and preparing to run regular sessions on Roll20, running B/X D&#38;D (using Labyrinth Lord rulebook). I am calling this first group &#8220;Team Alpha&#8221; since it is the first. I intend for it to be a low commitment game, where there can be revolving players and pre-generated characters available. My main B/X <a href="https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">Planning out B/X D&#038;D &#8211; Team Alpha sessions</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/">Planning out B/X D&#038;D &#8211; Team Alpha sessions</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>I am currently planning and preparing to run regular sessions on Roll20, running B/X D&amp;D (using Labyrinth Lord rulebook). I am calling this first group &#8220;Team Alpha&#8221; since it is the first. I intend for it to be a low commitment game, where there can be revolving players and pre-generated characters available.</p>
<p style="padding-left: 30px;">My main <a href="https://www.niroze.net/tabletop-roleplaying-games/b-x-dd-team-alpha/">B/X D&amp;D – Team Alpha</a> page has more information, and will be a central hub of information for that group.</p>
<p>I&#8217;m excited to finally run games for players and learn all I can from it. It will be fun!</p>
<p><img data-attachment-id="234" data-permalink="https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/makerldate2017-8-19ver5lenskan03actkan02e-y/" data-orig-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?fit=2048%2C1393&amp;ssl=1" data-orig-size="2048,1393" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 2&quot;,&quot;caption&quot;:&quot;Maker:L,Date:2017-8-19,Ver:5,Lens:Kan03,Act:Kan02,E-Y&quot;,&quot;created_timestamp&quot;:&quot;1525870758&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.442&quot;,&quot;iso&quot;:&quot;54&quot;,&quot;shutter_speed&quot;:&quot;0.008335&quot;,&quot;title&quot;:&quot;Maker:L,Date:2017-8-19,Ver:5,Lens:Kan03,Act:Kan02,E-Y&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="B2 The Keep on the Borderlands &#8211; study begins" data-image-description="" data-medium-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?fit=300%2C204&amp;ssl=1" data-large-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?fit=780%2C531&amp;ssl=1" class="wp-image-234 size-large" src="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?resize=780%2C531&#038;ssl=1" alt="" width="780" height="531" srcset="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?resize=1024%2C697&amp;ssl=1 1024w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?resize=300%2C204&amp;ssl=1 300w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?resize=768%2C522&amp;ssl=1 768w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/IMG_20180509_125918.jpg?w=1560&amp;ssl=1 1560w" sizes="(max-width: 780px) 100vw, 780px" data-recalc-dims="1" /></p>
<h4></h4>
<h4>Todo List</h4>
<figure id="attachment_139" style="width: 215px" class="wp-caption alignright"><img data-attachment-id="139" data-permalink="https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/gnoll/" data-orig-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?fit=1535%2C2138&amp;ssl=1" data-orig-size="1535,2138" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Gnoll" data-image-description="" data-medium-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?fit=215%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?fit=735%2C1024&amp;ssl=1" class="size-medium wp-image-139" src="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?resize=215%2C300&#038;ssl=1" alt="" width="215" height="300" srcset="https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?resize=215%2C300&amp;ssl=1 215w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?resize=768%2C1070&amp;ssl=1 768w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?resize=735%2C1024&amp;ssl=1 735w, https://i1.wp.com/www.niroze.net/wp-content/uploads/2018/05/Gnoll.png?w=1535&amp;ssl=1 1535w" sizes="(max-width: 215px) 100vw, 215px" data-recalc-dims="1" /><figcaption class="wp-caption-text">&#8220;Gnoll&#8221; by Axebane Games, Monsters Fantasy Stock Art Vol 1.</figcaption></figure>
<p>I have a few things to prepare and plan ahead of time:</p>
<ul>
<li>Read and re-read and maybe re-read again &#8220;B2: The Keep on the Borderlands&#8221; module. I have the paper and digital versions.</li>
<li>Generate characters for players to use and put in <a href="https://app.roll20.net/campaigns/details/3284393/b-slash-x-d-and-d-team-alpha">Roll20</a>.</li>
<li>Finalize on <a href="https://www.niroze.net/tabletop-roleplaying-games/b-x-house-rules/">B/X House Rules</a>.</li>
<li>Fill in the module with NPCs, monsters, and other GM-generated content I can do ahead of time.</li>
<li>Prepare any maps and put in Roll20.</li>
<li>Prepare any handouts and put in Roll20.</li>
<li>Refresh on Labyrinth Lord rulebook.</li>
<li>Prepare Social Media callouts on relevant Google+ communities, <a href="https://www.niroze.net/tabletop-roleplaying-games/facebook-groups-for-ttrpg/">Facebook Groups</a>, and Twitter to recruit players.</li>
<li>Prepare template to summarize what happens during sessions.</li>
</ul>
<p>&nbsp;</p>
<h4>Team Omega?</h4>
<p>From that group, I do hope to find players that would be open to playing in &#8220;Team Omega&#8221; which will be a high commitment game, where players are expected to show up on a regular basis. <em>Baby steps, right? </em></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/">Planning out B/X D&#038;D &#8211; Team Alpha sessions</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/planning-out-b-x-dd-team-alpha-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">194</post-id>	</item>
		<item>
		<title>Qemu, NetBSD, and evbarm (VEXPRESS_A15)</title>
		<link>https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/</link>
		<comments>https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/#respond</comments>
		<pubDate>Mon, 31 Jul 2017 05:33:51 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[ARMv7]]></category>
		<category><![CDATA[Emulation]]></category>
		<category><![CDATA[Netbsd]]></category>
		<category><![CDATA[QEMU]]></category>

		<guid isPermaLink="false">https://sogubsys.com/?p=102</guid>
		<description><![CDATA[<p>Setup References @jmcwhatever Jared McNeill https://wiki.netbsd.org/ports/evbarm/qemu_arm/ (written by @jmcwhatever, too?) Build tools and kernel for platform # CVS -current in /usr/src cd /usr/src cvs up -A -dP ./build.sh -O ../obj_vexpress_a15/ -T ../tools_vexpress_a15 -U -u -m evbearmv7hf-el tools ./build.sh -O ../obj_vexpress_a15/ -T ../tools_vexpress_a15 -U -u -m evbearmv7hf-el kernel=VEXPRESS_A15 Setup Disk cd /var/tmp mkdir qemu cd qemu <a href="https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">Qemu, NetBSD, and evbarm (VEXPRESS_A15)</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/">Qemu, NetBSD, and evbarm (VEXPRESS_A15)</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h3>Setup</h3>
<h4>References</h4>
<ul>
<li><a href="https://twitter.com/jmcwhatever">@jmcwhatever Jared McNeill</a></li>
<li><a href="https://wiki.netbsd.org/ports/evbarm/qemu_arm/">https://wiki.netbsd.org/ports/evbarm/qemu_arm/</a> (written by @jmcwhatever, too?)</li>
</ul>
<h4>Build tools and kernel for platform</h4>
<pre># CVS -current in /usr/src
cd /usr/src
cvs up -A -dP
./build.sh -O ../obj_vexpress_a15/ -T ../tools_vexpress_a15 -U -u -m evbearmv7hf-el tools
./build.sh -O ../obj_vexpress_a15/ -T ../tools_vexpress_a15 -U -u -m evbearmv7hf-el kernel=VEXPRESS_A15</pre>
<h4>Setup Disk</h4>
<pre>cd /var/tmp
mkdir qemu
cd qemu
ftp http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/201707241040Z/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
gzip -d armv7.img.gz
qemu-img resize armv7.img 20G</pre>
<h4>Setup network bridge</h4>
<p>alc0 is my wired network device. This will not work with WPA personal wifi.</p>
<pre>ifconfig bridge0 create
brconfig bridge0 add alc0
ifconfig bridge0 up
ifconfig tap0 create
ifconfig tap0 0.0.0.0 up
brconfig bridge0 add tap0</pre>
<h4>Startup qemu</h4>
<p>I couldn&#8217;t get fb console to work for me. If you want to try, then remove <em>-nographic</em> and change <em>console=tty1</em> to <em>console=fb</em>.</p>
<pre>qemu-system-arm \
 -M vexpress-a15 \
 -kernel /usr/obj_vexpress_a15/sys/arch/evbarm/compile/VEXPRESS_A15/netbsd.ub \
 -dtb /usr/obj_vexpress_a15/sys/arch/evbarm/compile/VEXPRESS_A15/vexpress-v2p-ca15-tc1.dtb \
 -sd /var/tmp/qemu/armv7.img \
 -m 512M \
 -append 'root=ld0a console=tty1' \
 -nographic \
 -net nic -net tap,fd=3 3&lt;&gt;/dev/tap0
</pre>
<h3>uname -a</h3>
<pre>armv7# uname -a
NetBSD armv7 8.99.1 NetBSD 8.99.1 (VEXPRESS_A15) #0: Sun Jul 30 13:35:47 EDT 2017 root@shrimpy.sogubsys.com:/usr/obj_vexpress_a15/sys/arch/evbarm/compile/VEXPRESS_A15 evbarm
armv7#</pre>
<h3>dmesg</h3>
<pre>Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.1 (VEXPRESS_A15) #0: Sun Jul 30 13:35:47 EDT 2017
	root@shrimpy.sogubsys.com:/usr/obj_vexpress_a15/sys/arch/evbarm/compile/VEXPRESS_A15
total memory = 512 MB
avail memory = 500 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
timecounter: Timecounters tick every 10.000 msec
armfdt0 (root)
fdt0 at armfdt0: V2P-CA15
fdt1 at fdt0
fdt2 at fdt1: V2M-P1
fdt3 at fdt2
fdt4 at fdt0
cpus0 at fdt0
cpu0 at cpus0: Cortex-A15 r2p1 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 2-way L1 PIPT Instruction cache
cpu0: 32KB/64B 2-way write-back-locking-C L1 PIPT Data cache
cpu0: 2304KB/64B 16-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at cpus0: disabled (unresponsive)
gic0 at fdt0: GIC
armgic0 at gic0: Generic Interrupt Controller, 160 sources (160 valid)
armgic0: 256 Priorities, 128 SPIs, 16 PPIs, 16 SGIs
gtmr0 at fdt0: Generic Timer
armgtmr0 at gtmr0: ARMv7 Generic 64-bit Timer (62500 kHz)
armgtmr0: interrupting on irq 27
timecounter: Timecounter "armgtmr0" frequency 62500000 Hz quality 500
fregulator0 at fdt2: 3V3
fclock0 at fdt2: 32768 Hz fixed clock
fclock1 at fdt2: 1000000 Hz fixed clock
fclock2 at fdt2: 24000000 Hz fixed clock
/dcc at fdt0 not configured
vxsysreg0 at fdt3
/smb@8000000/motherboard/iofpga@3,00000000/sysctl@20000 at fdt3 not configured
/smb@8000000/motherboard/mcc at fdt2 not configured
/smb@8000000/motherboard/vram@2,00000000 at fdt2 not configured
genfb0 at fdt3
genfb0: framebuffer at 0x18000000, size 640x480, depth 32, stride 2560
wsdisplay0 at genfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
/virtio_mmio@1c130000 at fdt0 not configured
/virtio_mmio@1c130200 at fdt0 not configured
/virtio_mmio@1c130400 at fdt0 not configured
/virtio_mmio@1c130600 at fdt0 not configured
/hdlcd@2b000000 at fdt0 not configured
/memory-controller@2b0a0000 at fdt0 not configured
/memory-controller@7ffd0000 at fdt0 not configured
/dma@7ffb0000 at fdt0 not configured
/pmu at fdt0 not configured
/smb@8000000/motherboard/flash@0,00000000 at fdt2 not configured
/smb@8000000/motherboard/psram@1,00000000 at fdt2 not configured
smsh0 at fdt2: SMSC LAN9118 Rev 1
smsh0: MAC address 52:54:00:12:34:56
ukphy0 at smsh0 phy 1: OUI 0x00800f, model 0x000d, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
smsh0: interrupting on GIC irq 47
/smb@8000000/motherboard/usb@2,03000000 at fdt2 not configured
/smb@8000000/motherboard/leds at fdt2 not configured
/smb@8000000/motherboard/iofpga@3,00000000/i2c@30000 at fdt3 not configured
aaci0 at fdt3: Advanced Audio CODEC
aaci0: ac97: National Semiconductor LM4549 codec; headphone, 18 bit DAC, 18 bit ADC, National Semi 3D
aaci0: ac97: ext id 0x1
audio0 at aaci0: half duplex, playback, mmap
aaci0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
aaci0: interrupting on GIC irq 43
plmmc0 at fdt3
sdmmc0 at plmmc0
plkmi0 at fdt3: PS2 controller
pckbd0 at plkmi0 (kbd slot)
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
plkmi0: interrupting on GIC irq 44
plkmi1 at fdt3: PS2 controller
pms0 at plkmi1 (aux slot)
wsmouse0 at pms0 mux 0
plkmi1: interrupting on GIC irq 45
plcom0 at fdt3
plcom0: txfifo disabled
plcom0: console
plcom1 at fdt3
plcom1: txfifo disabled
plcom2 at fdt3
plcom2: txfifo disabled
plcom3 at fdt3
plcom3: txfifo disabled
/smb@8000000/motherboard/iofpga@3,00000000/wdt@f0000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/timer@110000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/timer@120000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/i2c@160000 at fdt3 not configured
plrtc0 at fdt3: RTC
/smb@8000000/motherboard/iofpga@3,00000000/compact-flash@1a0000 at fdt3 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
ld0 at sdmmc0: &lt;0xaa:0x5859:QEMU!:0x01:0xdeadbeef:0x062&gt;
ld0: 20480 MB, 10402 cyl, 64 head, 63 sec, 512 bytes/sect x 41943040 sectors
ld0: 39056768 trailing sectors not covered by disklabel
ld0: 4-bit width, 12.000 MHz
IPsec: Initialized Security Association Processing.
boot device: ld0
ld0: 39056768 trailing sectors not covered by disklabel
root on ld0a dumps on ld0b
ld0: 39056768 trailing sectors not covered by disklabel
ld0: 39056768 trailing sectors not covered by disklabel
root file system type: ffs
kern.module.path=/stand/evbarm/8.99.1/modules
WARNING: clock gained 6 days
rebooting...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.1 (VEXPRESS_A15) #0: Sun Jul 30 13:35:47 EDT 2017
	root@shrimpy.sogubsys.com:/usr/obj_vexpress_a15/sys/arch/evbarm/compile/VEXPRESS_A15
total memory = 512 MB
avail memory = 500 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
timecounter: Timecounters tick every 10.000 msec
armfdt0 (root)
fdt0 at armfdt0: V2P-CA15
fdt1 at fdt0
fdt2 at fdt1: V2M-P1
fdt3 at fdt2
fdt4 at fdt0
cpus0 at fdt0
cpu0 at cpus0: Cortex-A15 r2p1 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 2-way L1 PIPT Instruction cache
cpu0: 32KB/64B 2-way write-back-locking-C L1 PIPT Data cache
cpu0: 2304KB/64B 16-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at cpus0: disabled (unresponsive)
gic0 at fdt0: GIC
armgic0 at gic0: Generic Interrupt Controller, 160 sources (160 valid)
armgic0: 256 Priorities, 128 SPIs, 16 PPIs, 16 SGIs
gtmr0 at fdt0: Generic Timer
armgtmr0 at gtmr0: ARMv7 Generic 64-bit Timer (62500 kHz)
armgtmr0: interrupting on irq 27
timecounter: Timecounter "armgtmr0" frequency 62500000 Hz quality 500
fregulator0 at fdt2: 3V3
fclock0 at fdt2: 32768 Hz fixed clock
fclock1 at fdt2: 1000000 Hz fixed clock
fclock2 at fdt2: 24000000 Hz fixed clock
/dcc at fdt0 not configured
vxsysreg0 at fdt3
/smb@8000000/motherboard/iofpga@3,00000000/sysctl@20000 at fdt3 not configured
/smb@8000000/motherboard/mcc at fdt2 not configured
/smb@8000000/motherboard/vram@2,00000000 at fdt2 not configured
genfb0 at fdt3
genfb0: framebuffer at 0x18000000, size 640x480, depth 32, stride 2560
wsdisplay0 at genfb0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-3 added (default, vt100 emulation)
/virtio_mmio@1c130000 at fdt0 not configured
/virtio_mmio@1c130200 at fdt0 not configured
/virtio_mmio@1c130400 at fdt0 not configured
/virtio_mmio@1c130600 at fdt0 not configured
/hdlcd@2b000000 at fdt0 not configured
/memory-controller@2b0a0000 at fdt0 not configured
/memory-controller@7ffd0000 at fdt0 not configured
/dma@7ffb0000 at fdt0 not configured
/pmu at fdt0 not configured
/smb@8000000/motherboard/flash@0,00000000 at fdt2 not configured
/smb@8000000/motherboard/psram@1,00000000 at fdt2 not configured
smsh0 at fdt2: SMSC LAN9118 Rev 1
smsh0: MAC address 52:54:00:12:34:56
ukphy0 at smsh0 phy 1: OUI 0x00800f, model 0x000d, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
smsh0: interrupting on GIC irq 47
/smb@8000000/motherboard/usb@2,03000000 at fdt2 not configured
/smb@8000000/motherboard/leds at fdt2 not configured
/smb@8000000/motherboard/iofpga@3,00000000/i2c@30000 at fdt3 not configured
aaci0 at fdt3: Advanced Audio CODEC
aaci0: ac97: National Semiconductor LM4549 codec; headphone, 18 bit DAC, 18 bit ADC, National Semi 3D
aaci0: ac97: ext id 0x1
audio0 at aaci0: half duplex, playback, mmap
aaci0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
spkr0 at audio0: PC Speaker (synthesized)
wsbell at spkr0 not configured
aaci0: interrupting on GIC irq 43
plmmc0 at fdt3
sdmmc0 at plmmc0
plkmi0 at fdt3: PS2 controller
pckbd0 at plkmi0 (kbd slot)
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
plkmi0: interrupting on GIC irq 44
plkmi1 at fdt3: PS2 controller
pms0 at plkmi1 (aux slot)
wsmouse0 at pms0 mux 0
plkmi1: interrupting on GIC irq 45
plcom0 at fdt3
plcom0: txfifo disabled
plcom0: console
plcom1 at fdt3
plcom1: txfifo disabled
plcom2 at fdt3
plcom2: txfifo disabled
plcom3 at fdt3
plcom3: txfifo disabled
/smb@8000000/motherboard/iofpga@3,00000000/wdt@f0000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/timer@110000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/timer@120000 at fdt3 not configured
/smb@8000000/motherboard/iofpga@3,00000000/i2c@160000 at fdt3 not configured
plrtc0 at fdt3: RTC
/smb@8000000/motherboard/iofpga@3,00000000/compact-flash@1a0000 at fdt3 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
ld0 at sdmmc0: &lt;0xaa:0x5859:QEMU!:0x01:0xdeadbeef:0x062&gt;
ld0: 20480 MB, 10402 cyl, 64 head, 63 sec, 512 bytes/sect x 41943040 sectors
ld0: 4-bit width, 12.000 MHz
IPsec: Initialized Security Association Processing.
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
kern.module.path=/stand/evbarm/8.99.1/modules
wsdisplay0: screen 4 added (default, vt100 emulation)
</pre>
<p>The post <a rel="nofollow" href="https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/">Qemu, NetBSD, and evbarm (VEXPRESS_A15)</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/qemu-netbsd-evbarm-vexpress_a15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">225</post-id>	</item>
		<item>
		<title>CHIP Pro Dev Kit Arrived</title>
		<link>https://www.niroze.net/chip-pro-dev-kit-arrived/</link>
		<comments>https://www.niroze.net/chip-pro-dev-kit-arrived/#respond</comments>
		<pubDate>Fri, 28 Jul 2017 15:58:31 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[ARMv7]]></category>
		<category><![CDATA[CHIP Pro]]></category>
		<category><![CDATA[Netbsd]]></category>
		<category><![CDATA[unboxed]]></category>

		<guid isPermaLink="false">https://sogubsys.com/?p=100</guid>
		<description><![CDATA[<p>C.H.I.P. Pro Dev Kit from Next Thing Co. for the great price of $49! &#160; This kit has everything! I appreciate the development board with all the interfaces available. I am looking forward to playing with this. Great documentation is available. https://github.com/NextThingCo/CHIP_Pro-Hardware/tree/master/Datasheets https://github.com/NextThingCo/CHIP-Hardware/tree/master/CHIP%5Bv1_0%5D/CHIPv1_0-BOM-Datasheets &#160; Everything is favorable for working on this project, all cards are <a href="https://www.niroze.net/chip-pro-dev-kit-arrived/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">CHIP Pro Dev Kit Arrived</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/chip-pro-dev-kit-arrived/">CHIP Pro Dev Kit Arrived</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-99" src="https://i0.wp.com/www.niroze.net/wp-content/uploads/2017/07/DFshvOLXkAQAx8V.jpg?resize=780%2C491&#038;ssl=1" alt="CHIP Pro Dev kit" width="780" height="491" data-recalc-dims="1" /></p>
<p><a href="https://getchip.com/pages/chippro">C.H.I.P. Pro Dev Kit from Next Thing Co. for the great price of $49!</a></p>
<p>&nbsp;</p>
<p>This kit has everything! I appreciate the development board with all the interfaces available. I am looking forward to playing with this.</p>
<p>Great documentation is available.</p>
<ul>
<li><a href="https://github.com/NextThingCo/CHIP_Pro-Hardware/tree/master/Datasheets">https://github.com/NextThingCo/CHIP_Pro-Hardware/tree/master/Datasheets</a></li>
<li><a href="https://github.com/NextThingCo/CHIP-Hardware/tree/master/CHIP%5Bv1_0%5D/CHIPv1_0-BOM-Datasheets">https://github.com/NextThingCo/CHIP-Hardware/tree/master/CHIP%5Bv1_0%5D/CHIPv1_0-BOM-Datasheets</a></li>
</ul>
<p>&nbsp;</p>
<p>Everything is favorable for working on this project, all cards are stacking in favor of the developer!</p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/chip-pro-dev-kit-arrived/">CHIP Pro Dev Kit Arrived</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/chip-pro-dev-kit-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">224</post-id>	</item>
		<item>
		<title>NEO Complete Starter Kit Arrived</title>
		<link>https://www.niroze.net/neo-complete-starter-kit-arrived/</link>
		<comments>https://www.niroze.net/neo-complete-starter-kit-arrived/#respond</comments>
		<pubDate>Wed, 26 Jul 2017 21:05:24 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Allwinner H3]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[NanoPi]]></category>
		<category><![CDATA[Neo]]></category>
		<category><![CDATA[Netbsd]]></category>
		<category><![CDATA[unboxed]]></category>

		<guid isPermaLink="false">https://sogubsys.com/?p=93</guid>
		<description><![CDATA[<p>NEO Complete Starter Kit starter kit from FriendlyElec/FriendlyARM for the low price of $29!  &#160; This is my first ARM hardware purchase to arrive, and I&#8217;m excited about it! It is still sitting in a box until I have time to devote to messing with it and waiting for support items to arrive that I <a href="https://www.niroze.net/neo-complete-starter-kit-arrived/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">NEO Complete Starter Kit Arrived</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/neo-complete-starter-kit-arrived/">NEO Complete Starter Kit Arrived</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><img class="alignnone wp-image-92 size-full" src="https://i0.wp.com/www.niroze.net/wp-content/uploads/2017/07/IMG_20170725_1858172.jpg?resize=780%2C506&#038;ssl=1" alt="NEO Complete Starter Kit" width="780" height="506" data-recalc-dims="1" /></p>
<p><a href="http://www.friendlyarm.com/index.php?route=product/product&amp;path=85&amp;product_id=190">NEO Complete Starter Kit starter kit from FriendlyElec/FriendlyARM for the low price of $29! </a></p>
<p>&nbsp;</p>
<p>This is my first ARM hardware purchase to arrive, and I&#8217;m excited about it!</p>
<p>It is still sitting in a box until I have time to devote to messing with it and waiting for support items to arrive that I got from eBay (shipped from China):</p>
<ul>
<li><a href="http://www.ebay.com/itm/USB-To-RS232-TTL-UART-PL2303HX-Auto-Converter-USB-to-COM-Cable-Adapter-Module/192047052608">USB To RS232 TTL UART PL2303HX Auto Converter USB to COM Cable Adapter Module</a></li>
<li><a href="http://www.ebay.com/itm/10cm-2-54mm-Female-to-Female-Dupont-Wire-Jumper-Cable-for-Arduino-Breadboard/172709305261">10cm 2.54mm Female to Female Dupont Wire Jumper Cable for Arduino Breadboard</a></li>
<li><a href="http://www.ebay.com/itm/CP2102-USB-2-0-to-TTL-UART-Module-6Pin-Serial-Converter-STC-Replace-FT232-Module/381374541932">CP2102 USB 2.0 to TTL UART Module 6Pin Serial Converter STC Replace FT232 Module</a></li>
</ul>
<p>So, a task for this weekend is to read the manuals provided, watch youtube videos from others detailing the device, and see about powering it on (and booting off the Ubuntu image on the included SD card). I have no idea about NetBSD support at the moment, that will be a secondary project, as I need to ensure it is working as intended before monkeying with NetBSD support and troubleshooting.</p>
<p>&nbsp;</p>
<p>Here is a video of it all put together and what I should expect, using the Ubuntu image.</p>
<p><iframe class='youtube-player' type='text/html' width='780' height='469' src='https://www.youtube.com/embed/GwXzlxVmyEQ?version=3&#038;rel=1&#038;fs=1&#038;autohide=2&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/neo-complete-starter-kit-arrived/">NEO Complete Starter Kit Arrived</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/neo-complete-starter-kit-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">223</post-id>	</item>
		<item>
		<title>Drivers, Kernel Internals, and ARM Assembly</title>
		<link>https://www.niroze.net/drivers-kernel-internals-arm-assembly/</link>
		<comments>https://www.niroze.net/drivers-kernel-internals-arm-assembly/#respond</comments>
		<pubDate>Mon, 24 Jul 2017 16:19:24 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Assembly]]></category>
		<category><![CDATA[Drivers]]></category>
		<category><![CDATA[gxemul]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Netbsd]]></category>
		<category><![CDATA[QEMU]]></category>

		<guid isPermaLink="false">https://sogubsys.com/?p=75</guid>
		<description><![CDATA[<p>So, I want to be a kernel programmer because the &#8220;magic&#8221; of how the hardware and software can talk to one another is fascinating. NetBSD is attractive to me to explore this because the code base is done well, the developers are super helpful and friendly, there is a lot of work to do, and <a href="https://www.niroze.net/drivers-kernel-internals-arm-assembly/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">Drivers, Kernel Internals, and ARM Assembly</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/drivers-kernel-internals-arm-assembly/">Drivers, Kernel Internals, and ARM Assembly</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>So, I want to be a kernel programmer because the &#8220;magic&#8221; of how the hardware and software can talk to one another is fascinating. NetBSD is attractive to me to explore this because the code base is done well, the developers are super helpful and friendly, there is a lot of work to do, and there aren&#8217;t a million people working on it, so there is a spot for me to provide value.</p>
<p>Why ARM? Because it needs a lot of work, and there are only a couple people currently working in the space right now, with <a href="https://twitter.com/jmcwhatever">Jared McNeill</a> being the big player right now cranking out driver after driver and support for different boards at an incredible pace. Also, there is an added perk of the hardware is super affordable.</p>
<p>Wanting to do something is 10% of the battle right? I wasn&#8217;t born with all this knowledge, so I have to learn it and refresh what I do happen to know.</p>
<h3>C Programming</h3>
<p>I was rusty and still am a bit on C, so I picked up a few books to refresh my knowledge. The ##c channel on Freenode IRC is super helpful, and using their recommendations at <a href="http://www.iso-9899.info/wiki/Books">http://www.iso-9899.info/wiki/Books</a> I got:</p>
<ul>
<li>Mastering Algorithms with C: Useful Techniques from Sorting to Encryption</li>
<li>C Traps and Pitfalls</li>
<li>C Pocket Reference</li>
<li>K&amp;R C (2nd edition)</li>
</ul>
<p>&nbsp;</p>
<h3>Writing Drivers in NetBSD</h3>
<p>I wasn&#8217;t sure where to start, so I took any and all recommendations, and resources linked from the NetBSD website. This helped out a lot. I need to go through them again, but at least now I have a rough idea of how things fit together so I can ask the right questions.</p>
<ul>
<li>rkujawa bus space tutorial: <a href="https://cloud.github.com/downloads/rkujawa/busspace-tutorial/bus_space_tutorial.pdf">https://cloud.github.com/downloads/rkujawa/busspace-tutorial/bus_space_tutorial.pdf</a></li>
<li>NetBSD Device Driver Writing Guide: <a href="https://www.netbsd.org/docs/kernel/ddwg.html">https://www.netbsd.org/docs/kernel/ddwg.html</a></li>
<li>Writing a NetBSD kernel module: <a href="https://saurvs.github.io/post/writing-netbsd-kern-mod/">https://saurvs.github.io/post/writing-netbsd-kern-mod/</a></li>
</ul>
<p>&nbsp;</p>
<h3>ARM</h3>
<p>I purchased a couple of devices: the <a href="https://getchip.com/pages/chippro">CHIP Pro</a> and the <a href="http://www.friendlyarm.com/index.php?route=product/product&amp;path=85&amp;product_id=190">NEO Complete Starter Kit</a> which will allow me to hit the ground running for cheap.</p>
<p>Devices are cool, and all, but I have to learn all about ARM, so I got a cool book <a href="https://www.amazon.com/gp/product/0992391695/">ARM A32 Assembly Language: 32-Bit ARM, Neon, VFP, Thumb</a> that I&#8217;m slowly working my way through. I also found blog posts <a href="https://saurabhsengarblog.wordpress.com/2015/12/05/arm-architecture-basics/">ARM Architecture Basics</a> and <a href="https://saurabhsengarblog.wordpress.com/2015/11/28/device-tree-tutorial-arm/">Device Tree Tutorial (ARM)</a> to be helpful.</p>
<p>&nbsp;</p>
<h3>What&#8217;s next?</h3>
<p>After I finish consuming educational materials, I will setup emulation environments with qemu and gxemul (<a href="http://www.netbsd.org/ports/emulators.html">see NetBSD emulators page</a>) with cross-compiled kernels and userland utilities. I can then poke around drivers and ARM platform specific code to see how it is currently setup.</p>
<p>Maybe there is something that doesn&#8217;t exist yet in emulation I can begin tinkering with to get to work, but most of the low hanging fruit is likely done.</p>
<p>&nbsp;</p>
<p>This is a tinkering hobby, not a job. I just need to keep it in that frame of mind so no matter what I won&#8217;t get burnt out. Trying to not drink from the firehose.</p>
<p>I also will try to keep the <a href="https://sogubsys.com/links/">Links page</a> up-to-date.</p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/drivers-kernel-internals-arm-assembly/">Drivers, Kernel Internals, and ARM Assembly</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/drivers-kernel-internals-arm-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">210</post-id>	</item>
		<item>
		<title>Mutt, Procmail, GnuPG, and Postfix MX</title>
		<link>https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/</link>
		<comments>https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/#respond</comments>
		<pubDate>Thu, 06 Jul 2017 22:01:31 +0000</pubDate>
		<dc:creator><![CDATA[Chris]]></dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[GnuPG]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[MX]]></category>
		<category><![CDATA[Netbsd]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[procmail]]></category>

		<guid isPermaLink="false">https://sogubsys.com/?p=56</guid>
		<description><![CDATA[<p>At first, I was lazy. I used Google&#8217;s Gsuite for sogubsys, piggy-backing off sogub services. It was a hack and I didn&#8217;t feel good about it. Fortunately, in a tech-kern post Mouse stated that he couldn&#8217;t or wouldn&#8217;t receive emails that include a Gmail path. Thanks, Mouse. That simple statement was enough for me to <a href="https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/" class="read-more">Continue reading... <span class="screen-reader-text sr-only">Mutt, Procmail, GnuPG, and Postfix MX</span></a></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/">Mutt, Procmail, GnuPG, and Postfix MX</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>At first, I was lazy. I used Google&#8217;s Gsuite for sogubsys, piggy-backing off sogub services. It was a hack and I didn&#8217;t feel good about it. Fortunately, in a <a href="http://mail-index.netbsd.org/tech-kern/2017/07/03/msg022055.html" target="_blank" rel="noopener">tech-kern post</a> Mouse stated that he couldn&#8217;t or wouldn&#8217;t receive emails that include a Gmail path. Thanks, Mouse.</p>
<p>That simple statement was enough for me to do what I actually wanted to do: run my own MX and handle my own mail. I&#8217;ve done it before, but it was a long time ago.</p>
<p>Here are the requirements:</p>
<ul>
<li>Use Postfix as the MX for sogubsys.com.</li>
<li>Use Mutt as a local client.</li>
<li>Use Maildir instead of Mailbox.</li>
<li>Use GnuPG to support encryption, signing, decryption, and verification of keys and signatures in Mutt, using both attachments (new) and inline (old) formats.</li>
<li>Subscribe to a lot of NetBSD mailing lists and easily be able to discern threads and what list it is a part of in Mutt.</li>
<li>Backup all incoming email to the previously used Gmail address.</li>
<li>Setup a NetBSD stable server (7.1 at this time).</li>
<li>Be able to check email from my Android phone.</li>
</ul>
<p>All of these things are simple. I&#8217;ll detail what I did, so you can do it, too.</p>
<p>&nbsp;</p>
<h2>Server Setup</h2>
<p>I decided to use vultr.com as a service provider due to their ability to allow a custom ISO for installation of a VPS, ease of use, stability, and I already had experience with them. Use whatever service you like, but I like Vultr.</p>
<p>I provisioned a server with latest NetBSD 7.1. I ensured pkgin was installed and ssh was started. Network was configured as hostname ripley.sogubsys.com with an IPv4 IP and IPv6 subnet, and reverse DNS on both (all in the Vultr web control panel).</p>
<p>I installed packages I&#8217;ll later need:</p>
<pre># pkgin in mutt procmail gnupg mb2md emacs25-nox</pre>
<p>&nbsp;</p>
<h2>Postfix Setup</h2>
<p>Postfix is installed by default. I configured it to support receiving email for sogubsys.com, itself, to listen on all interfaces, and bcc all email to another email address.</p>
<p><em>/etc/postfix/recipient_bcc_maps</em></p>
<pre>@sogubsys.com sogubsys@sogub.com</pre>
<p><em>/etc/postfix/main.cf</em></p>
<pre>smtpd_banner = ripley.sogubsys.com ESMTP =^..^= RIP Jonesy
biff = no
append_dot_mydomain = no
readme_directory = no
myhostname = ripley.sogubsys.com
myorigin = ripley.sogubsys.com
mydestination = sogubsys.com, ripley.sogubsys.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
luser_relay = chris
local_recipient_maps =
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps
disable_vrfy_command = yes
default_process_limit = 100
smtpd_client_connection_count_limit = 10
smtpd_client_connection_rate_limit = 30
queue_minfree = 20971520
header_size_limit = 51200
message_size_limit = 10485760
smtpd_recipient_limit = 100
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
home_mailbox = Maildir/
mailbox_command = /usr/pkg/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir</pre>
<p>Activate new configuration. Postfix is defaulted to start in /etc/defaults/rc.conf, but I put it in /etc/rc.conf anyway (in case that changes in the future).</p>
<pre># echo "postfix=YES" &gt;&gt; /etc/rc.conf
# postmap /etc/postfix/recipient_bcc_maps
# /etc/rc.d/postfix restart</pre>
<p>&nbsp;</p>
<h2>DNS Setup</h2>
<p>I then updated DNS for the sogubsys.com zone, adding A and AAAA records for ripley.sogubsys.com. I then removed the google MX records and added a single MX record pointing to ripley.sogubsys.com. Additionally, I added an SPF TXT record.</p>
<pre>ripley 3600 IN A 45.76.43.239
ripley 3600 IN AAAA 2001:19f0:5001:43c:3d71:ba18:a8f1:6b8
@ 3600 IN MX 0 ripley.sogubsys.com
@ 3600 IN TXT "v=spf1 mx ip4:45.76.43.239 -all"</pre>
<p>&nbsp;</p>
<h2>Procmail Setup</h2>
<p>This part took the longest because I was battling with the :0* options trying to get it right. Basically I only want to X-Label all the things and Mutt will then display that label next to the subject.</p>
<p><em>~/.procmailrc</em></p>
<pre>MAILDIR=/home/chris/Maildir
LOGFILE=/var/tmp/procmail.log
VERBOSE=yes
LOGABSTRACT=all

# Twitter: @sogubsys
:0fhw
* ^From.*twitter
| /usr/pkg/bin/formail -I "X-Label: twitter"

# netbsd-advocacy
:0fhw
* ^List-Id: netbsd-advocacy.*
| /usr/pkg/bin/formail -I "X-Label: netbsd-advocacy"

# netbsd-announce
:0fhw
* ^List-Id: netbsd-announce.*
| /usr/pkg/bin/formail -I "X-Label: netbsd-announce"

# security-announce
:0fhw
* ^List-Id: security-announce.*
| /usr/pkg/bin/formail -I "X-Label: security-announce"

# source-changes-d
:0fhw
* ^List-Id: source-changes-d.*
| /usr/pkg/bin/formail -I "X-Label: source-changes-d"

# source-changes-digest
:0fhw
* ^List-Id: source-changes-digest.*
| /usr/pkg/bin/formail -I "X-Label: source-changes-digest"

# tech-crypto
:0fhw
* ^List-Id: tech-crypto.*
| /usr/pkg/bin/formail -I "X-Label: tech-crypto"

# tech-kern
:0fhw
* ^List-Id: tech-kern.*
| /usr/pkg/bin/formail -I "X-Label: tech-kern"

# tech-perform
:0fhw
* ^List-Id: tech-perform.*
| /usr/pkg/bin/formail -I "X-Label: tech-perform"

# tech-pkg
:0fhw
* ^List-Id: tech-pkg.*
| /usr/pkg/bin/formail -I "X-Label: tech-pkg"

# tech-security
:0fhw
* ^List-Id: tech-security.*
| /usr/pkg/bin/formail -I "X-Label: tech-security"

# source-changes-full
:0fhw
* ^List-Id: source-changes-full.*
| /usr/pkg/bin/formail -I "X-Label: source-changes-full"</pre>
<p>&nbsp;</p>
<h2>Mutt Setup</h2>
<p>This part wasn&#8217;t too bad. I kept having to add things to the config as I noticed I missed things, but here is what I got.</p>
<p>I used the code for explicitly adding labels and filtering by labels from  <a href="https://blitiri.com.ar/p/other/mutt-labels/" target="_blank" rel="noopener">https://blitiri.com.ar/p/other/mutt-labels/</a></p>
<p><em>~/.mutt/</em>muttrc</p>
<pre>set realname = 'Chris Humphries'
set editor = 'emacs'
set index_format="%4C %Z %{%b %d} %-15.15L %?M?(#%03M)&amp;(%4l)? %?y?(%.20Y) ?%s"
set visual = 'emacs'
set from = 'chris@sogubsys.com'
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
bind pager  previous-page
bind pager  next-page
color normal white black
color hdrdefault blue black
color indicator white blue
color markers red black
color quoted cyan black
color status white blue
color error red white
color underline yellow black
mono quoted standout
mono hdrdefault underline
mono indicator underline
mono status bold
set sort=threads
set sort_browser=date
set mbox_type=Maildir
set folder="~/Maildir"
set mask="!^\\.[^.]"
set mbox="~/Maildir"
set record="+.Sent"
set postponed="+.Drafts"
set spoolfile="~/Maildir"
message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp"

# From https://blitiri.com.ar/p/other/mutt-labels/
macro index y "set editor=\"~/bin/editlabel append\"\n\
\
set editor=emacs\n" "Append label"
macro pager y "set editor=\"~/bin/editlabel append\"\n\
\
set editor=emacs\n" "Append label"
macro index Y "set editor=\"~/bin/editlabel menu\"\n\
\
set editor=emacs\n" "Edit labels"
macro pager Y "set editor=\"~/bin/editlabel menu\"\n\
\
set editor=emacs\n" "Edit labels"
macro index \Cy "~y " "Limit view to label"
</pre>
<p>&nbsp;</p>
<h2>Screenshots</h2>
<p>Mutt main screen in normal terminal</p>
<p><img class="alignnone size-full wp-image-61" src="https://i2.wp.com/www.niroze.net/wp-content/uploads/2017/07/mutt-mainscreen.png?resize=780%2C408&#038;ssl=1" alt="" width="780" height="408" data-recalc-dims="1" /></p>
<p>&nbsp;</p>
<p>Mutt PGP signed message in normal terminal</p>
<p><img class="alignnone size-full wp-image-62" src="https://i0.wp.com/www.niroze.net/wp-content/uploads/2017/07/mutt-individual-message.png?resize=780%2C718&#038;ssl=1" alt="" width="780" height="718" data-recalc-dims="1" /></p>
<p>&nbsp;</p>
<p>Mutt PGP signed message in JuiceSSH terminal</p>
<p><img class="alignnone size-full wp-image-63" src="https://i0.wp.com/www.niroze.net/wp-content/uploads/2017/07/mutt-individual-message-juicessh.png?resize=780%2C1387&#038;ssl=1" alt="" width="780" height="1387" data-recalc-dims="1" /></p>
<p>The post <a rel="nofollow" href="https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/">Mutt, Procmail, GnuPG, and Postfix MX</a> appeared first on <a rel="nofollow" href="https://www.niroze.net">niroze.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.niroze.net/mutt-procmail-gnupg-postfix-mx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">205</post-id>	</item>
	</channel>
</rss>
