Jun 182015
 

Serial port console, tested with DRAC6 Express and Ubuntu 14.04

I aint payin for DRAC Enterprise!

insta-10

create service for console

vim /etc/init/ttyS1.conf

start on stopped rc RUNLEVEL=[12345]
stop on runlevel [!12345]
respawn
exec /sbin/getty -L 115200 ttyS1 vt102

sudo start ttyS1

edit grub setting

vim /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS1 console=ttyS1,115200n8"
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

sudo update-grub

make sure ttyS1 is present in /etc/securetty (it’s there by default)

we need to assign com2 to DRAC now, either via BIOS or via omconfig (you did install OpenManage, did you?)

omreport chassis biossetup
omconfig chassis biossetup attribute=serialcom setting=com2
omconfig chassis biossetup attribute=crab setting=enabled

or reboot and enter BIOS (F2) Serial Communication section

serial communication....On with serial redirection via com2
serial port address....Serial device1 = com1, serial device2 = com2
external serial connector....Serial device 2
failsafe baud rate....115200
remote terminal type....vt100/vt220
redirection after boot....Enabled
Save the changes and exit.

 

After reboot ssh to your DRAC and type on prompt

/admin1-> console com2

 
You’re welcome
 

Source:

http://mossiso.com/2011/10/17/centos-6-idrac6-and-poweredge-r510.html
http://www.openfusion.net/linux/dell_omsa

 

 


 

Jun 182015
 

Pi_insideJust some useful commands:

  • Make sure your RPI is up to date:
sudo apt-get install rpi-update
sudo rpi-update
sudo apt-get update
sudo apt-get upgrade
  • Check capabilities:
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1

vcgencmd version

Jun 17 2015 13:36:16
Copyright (c) 2012 Broadcom
version 1352d17ed6bd078120ac262b8c45b5b3a0d398de (clean) (release)

  • Streaming of USB video camera:

Start streaming on Pi:

cvlc v4l2:///dev/video0 --v4l2-width 640 --v4l2-height 480 --v4l2-chroma h264 --sout '#standard{access=http,mux=ts,dst=0.0.0.0:8080}

Start watching on client:

cvlc http://10.6.23.101:8080

Bonus, autostart streaming at boot:

Add streaming line to script
sudo chmod +x /home/pi/bin/stream.sh
crontab -e
@reboot /home/pi/bin/stream.sh
  • Configure WLAN
sudo vim /etc/network/interfaces
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "YOUR NETWORK SSID"
wpa-psk "WIFI PASSWORD"
sudo reboot

Or install wicd-curses and wicd-daemon