Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
#!/bin/sh
echo " "
echo " net.redirectme.perrin.trueos.openrc.wlan0.workarounds.sh "
echo " "
echo " – a series of OpenRC commands that may help in situations where a "
echo " known good wireless Internet connection does not begin when expected …"
echo " "
echo " a request to stop the DHCP client daemon for wireless networking, "
rc-service dhcpcd.wlan0 stop
echo " a wait of two seconds …"
@grahamperrin
grahamperrin / backtrace.txt
Created January 1, 2017 12:37
backtrace whilst testing non-maintained Pipelight 0.2.8.2_2 on TrueOS Desktop (FreeBSD 12.0-CURRENT #12 5ef9376(drm-next-4.7): Thu Dec 29 16:26:36 UTC 2016 root@gauntlet:/usr/obj/usr/src/sys/GENERIC) at https://www.amazon.co.uk/dp/B00X674KKU?autoplaytrailer=1
Unhandled exception: 0xe0434352 in 32-bit code (0x62a40201).
Register dump:
CS:0033 SS:003b DS:003b ES:003b FS:0013 GS:001b
EIP:62a40201 ESP:0070edf4 EBP:0070ee58 EFLAGS:00200246( - -- I Z- -P- )
EAX:62a2b67d EBX:62c29718 ECX:00000000 EDX:00000014
ESI:00000005 EDI:00000005
Stack dump:
0x0070edf4: 0070eec4 00000014 00000000 e0434352
0x0070ee04: 00000001 00000000 62a40201 00000005
0x0070ee14: 8007000e 00000000 00000000 00000000
@grahamperrin
grahamperrin / chyves experiment 001.txt
Created January 2, 2017 20:09
My first experiment with chyves. Hit and miss.
$ date
Mon 2 Jan 2017 19:45:04 GMT
$ chyves wine-staging hpelitebook850g2 install
No pools configured.
Run setup to install chyves dataset on a pool.
Critical error detected. Exiting for following reason:
No seriously, run 'chyves dataset <ZFS-pool-name> install'
$ chyves dataset hpelitebook850g2 install
No pools configured.
Run setup to install chyves dataset on a pool.
@grahamperrin
grahamperrin / 2017-01-06 review of 2016-06-23 scrub.txt
Created January 6, 2017 08:05
preparing to migrate data from ZFS on Mac OS X
bash-3.2$ date ; uptime ; uname -v ; uname -n
Fri 6 Jan 2017 07:58:05 GMT
7:58 up 16 mins, 3 users, load averages: 1.42 1.54 1.26
Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64
cces3e-gjp4.local
bash-3.2$ zfs mount
bash-3.2$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
gjp22 394Gi 170Gi 255Gi /Users/gjp22
gjp22/VirtualBox 133Gi 170Gi 130Gi /Users/gjp22/Library/VirtualBox
@grahamperrin
grahamperrin / 2017-01-06 17-11 recovery with trueos-desktop-201701060022.txt
Created January 6, 2017 17:31
TrueOS Desktop recoveries from loss of networking
$ ifconfig | grep -v ether
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
inet 193.62.168.100 netmask 0xffffff00 broadcast 193.62.168.255
inet6 fe80::5a20:b1ff:fed8:f966%em0 prefixlen 64 scopeid 0x1
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
@grahamperrin
grahamperrin / pc-updatemanager.log
Created January 18, 2017 05:26
pc-updatemanager not producing a new active boot environment with FreeBSD 12.0-CURRENT #14 f92c24b(drm-next-4.7): Fri Jan 6 19:28:21 UTC 2017 root@gauntlet:/usr/obj/usr/src/sys/GENERIC
This file has been truncated, but you can view the full file.
pc-updatemanager: Tue Jan 17 10:36:51 GMT 2017
Checking for updates to ports-mgmt/pkg..
Updating the package repo database...
Cleaning old pkg upgrade cache...
Verifying / fetching packages for ports-mgmt/pkg - pkg-1.9.4_1.txz
Verifying / fetching packages for misc/trueos-desktop - trueos-desktop-201701162101.txz
Verifying / fetching packages for accessibility/accerciser - accerciser-3.14.0_1.txz
Verifying / fetching packages for accessibility/mousetweaks - mousetweaks-3.12.0_1.txz
Verifying / fetching packages for accessibility/orca - orca-3.18.2.txz
Verifying / fetching packages for archivers/file-roller - file-roller-3.20.3,1.txz
@grahamperrin
grahamperrin / 2017-01-17 swap space exhausted.txt
Last active January 18, 2017 05:57
Exhaustions of swap space with UNSTABLE or custom TrueOS Desktop
From /var/log/rc.log
----
rc shutdown logging stopped at Fri Jan 13 16:53:10 2017
rc sysinit logging started at Tue Jan 17 05:53:38 2017
OpenRC 0.23.83 is starting up FreeBSD 12.0-CURRENT (amd64)
@grahamperrin
grahamperrin / 2017-03-05 08-49 clumsily trying, failing to prefer a wired network connection.txt
Created March 5, 2017 13:26
2017-03-05 adventures with OpenRC in TrueOS with routers, old and new – vaguely related to https://discourse.trueos.org/t/-/963/4
$ ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=5259b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO>
ether 58:20:b1:d8:f9:66
inet6 fe80::5a20:b1ff:fed8:f966%em0 prefixlen 64 scopeid 0x1
inet 193.62.168.100 netmask 0xffffff00 broadcast 193.62.168.255
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
Don't be alarmed by the multiple matches – it's almost certain that there are duplicates and triplicates in my bookmarks.
Now let's see how a thumbnail appears for:
D|l
(For the curious: `D|l` is my abbreviation for Diigo: library.)
Now, I'll wait … let's say, ten seconds after the blinking i-beam appears in the search field of Conex before pasting that search phrase …
@grahamperrin
grahamperrin / ext-quantum-waterfox-56.md
Created June 4, 2018 21:25
Known issues with extensions that require at least Firefox 57, when used with Waterfox 56

A few examples of issues that may occur.

0.14 (2018-04-04)

Works with Firefox 57.0 and later

With Waterfox 56.2.0 on FreeBSD-CURRENT, the Decontain option causes disappearance of the tab.