I use autofs to mount a windows share on my router, this stopped working with “mount error(112): Host is down”. Looks like it was due to some arch linux update, as per dmesg:
[ 5986.858242] No dialect specified on mount. Default has changed to
a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the
less secure SMB1 dialect to access old servers which do not support
SMB3 specify vers=1.0 on mount. For somewhat newer servers such as
Windows 7 try vers=2.1.
Specifying version 1.0 fixed it. (Note: this is just on my home network, you might want more security elsewhere). Fixed autofs …
Continue reading ‘Windows shares no longer mounting on Linux’ »
With “Error creating terminal: Message recipient disconnected from message bus without replying” Try:
sudo pacman -R --nodeps --nodeps vte3-notification
sudo pacman -S vte3
Here are the tools I use to live my life on the command line: Mail Client: Mutt Filtering: procmail, imapfilter Search: mairix General Web Client: Lynx, Links, Elinks, w3m Tools: wget, aria2c, curl Web Services Toodledoo: toodledo (ruby gem) Misc search engines: Surfraw Google Calendar: gagenda Ebay: esniper BBC Iplayer: get_iplayer Google Drive: gdrive Google …
Continue reading ‘Command Line tools’ »
Leaving passwords in your shell history is a security issue. I wrote a tool to help check: checkhistory. Feel free to send me pull requests / patches with additional regexes to match.
An open-source service monitoring system and time series database. via Prometheus.
2 tools for creating RPMs, DEBs, etc easily: fpm & checkinstall
qicinga – a short python script I’ve written to display Icinga Service Statuses (Statii?) at the commandline.
lsblk displays all block devices as a tree, eg:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 886.5G 0 part /
├─sda2 8:2 0 878.9G 0 part /home
├─sda3 8:3 0 19.5G 0 part [SWAP]
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 78.1G 0 part
└─vms-vm1 (dm-0) 253:0 0 30G 0 lvm /mnt/vm1
More info via Karel Zak’s blog: lsblk8.
sudo /usr/sbin/sshd -t via OpenSSH Tip: Check Syntax Errors before Restarting Server.
Your editor supports source code highlighting, so why not the console? Actually it can with source-highlighter via Peter Eisentraut’s Blog: Adding Color to the Console: Code Syntax Highlighting with less and source-highlight. I’ve just created a shell alias like alias shl=”/usr/bin/source-highlight -fesc -oSTDOUT -i ” though