Skip to content

Instantly share code, notes, and snippets.

@01BTC10
01BTC10 / serial-console-idrac6.txt
Created June 15, 2018 17:28
How to enable serial port console redirection to the iDRAC6
- Enable serial console and redirection via com2 in the BIOS: https://i.imgur.com/fI9fVYx.png
- Press ctrl+r when booting to enable remote access to idrac.
- Connect to idrac via ssh and configure the serial console.
/admin1->racadm config -g cfgSerial -o cfgSerialBaudRate 9600
/admin1->racadm config -g cfgSerial -o cfgSerialCom2RedirEnable 1
/admin1->racadm config -g cfgSerial -o cfgSerialSshEnable 1
/admin1->racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 1
/admin1->racadm config -g cfgIpmiSol -o cfgIpmiSolBaudRate 9600
./bin: directory
./bin/ash: symbolic link to busybox
./bin/atcmd: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
./bin/atserver: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
./bin/bftpd: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
./bin/brctl: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
./bin/busybox: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, corrupted section header size
./bin/cat: symbolic link to busybox
./bin/chmod: symbolic link to busybox
./bin/chown: symbolic link to busybox
1512964802545 Sync.Service INFO Loading Weave 1.60.0
1512964802546 Sync.Engine.Clients DEBUG Engine constructed
1512964802546 Sync.Engine.Clients DEBUG Resetting clients last sync time
1512964802548 Sync.Engine.Clients DEBUG SyncEngine initialized: clients
1512964802555 Sync.Engine.Addons DEBUG Engine constructed
1512964802555 Sync.Engine.Addons DEBUG SyncEngine initialized: addons
1512964802556 Sync.AddonsReconciler DEBUG No data seen in loaded file: addonsreconciler
1512964802560 Sync.Engine.Bookmarks DEBUG Engine constructed
1512964802560 Sync.Engine.Bookmarks DEBUG SyncEngine initialized: bookmarks
1512964802561 Sync.Engine.Forms DEBUG Engine constructed
@01BTC10
01BTC10 / .SRCINFO
Last active December 9, 2017 04:32
ccache memcached patch and test for PKGBUILD
$ cat .SRCINFO
# Generated by mksrcinfo v8
# Thu Mar 31 08:58:21 UTC 2016
pkgbase = ccache-git
pkgdesc = A compiler cache
pkgver = v3.2.4_110_g1cfdf73
pkgrel = 1
url = http://ccache.samba.org/
arch = i686
arch = x86_64
@01BTC10
01BTC10 / nfs-ganesha-lock.service
Created October 4, 2017 05:18
How to remove nfs-ganesha from Debian.
[Unit]
Description=Removal Service
[Service]
Type=forking
ExecStart=/usr/bin/test 1=1
ExecStop=/usr/bin/test 1=1
[Install]
WantedBy=multi-user.target
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "1"
EndSection
Section "Files"
@01BTC10
01BTC10 / add.sh
Created August 8, 2017 21:58 — forked from ArseniyShestakov/add.sh
My compiler alternatives
# Cleanup old alternatives
update-alternatives --remove-all cc
update-alternatives --remove-all c++
update-alternatives --remove-all gcc
update-alternatives --remove-all g++
update-alternatives --remove-all clang
update-alternatives --remove-all clang++
update-alternatives --remove-all icc
update-alternatives --remove-all icc++
# Copyright 2014 Chris Cohen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the