Download the CentOS LiveDVD from here: http://linux.dell.com/files/openmanage-contributions/om-firmware-live/
next, copy it to a usb drive with dd:
sudo dd if=<path to CentOS iso> of=/dev/<my usb drive> bs=4096
This image should have all the latest firmware built into it. I used this to update BMC firmware for the Dell R900.
There is a blog by Dell about this procedure as well, shown here:
http://en.community.dell.com/techcenter/b/techcenter/archive/2011/08/17/centos-based-livedvd-to-update-firmware-on-dell-servers.aspx
Wednesday, June 4, 2014
OpenWRT on DIR 601 Rev B1
Have to use the NA file, because the other file won't get recognized as firmware.
Once that is done, telnet into 192.168.1.1 to set up OpenWRT
uci del wireless.@wifi-device[0].disabled
uci del wireless.@wifi-iface[0].network
uci set wireless.@wifi-iface[0].mode=sta
uci commit wireless
wifi
iw wlan0 scan
then follow the steps here
http://wiki.openwrt.org/doc/recipes/routedclient#using.masquerade
Make sure to change the LAN settings to a subnet not shared by the "mothership" router! And also encryption type is PSK2 for WPA/WPA2 mixed mode - iw wlan0 scan did not show the same output as the steps on the page.
To change the default LAN IP of the D-Link network, simply edit /etc/config/network
http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-dir-601-b1-squashfs-factory-NA.bin
http://wiki.openwrt.org/doc/howto/clientmode
http://gradengineering.blogspot.com/2013/09/basic-setup-of-openwrt-on-dir-601-b1.html
Once that is done, telnet into 192.168.1.1 to set up OpenWRT
uci del wireless.@wifi-device[0].disabled
uci del wireless.@wifi-iface[0].network
uci set wireless.@wifi-iface[0].mode=sta
uci commit wireless
wifi
iw wlan0 scan
then follow the steps here
http://wiki.openwrt.org/doc/recipes/routedclient#using.masquerade
Make sure to change the LAN settings to a subnet not shared by the "mothership" router! And also encryption type is PSK2 for WPA/WPA2 mixed mode - iw wlan0 scan did not show the same output as the steps on the page.
To change the default LAN IP of the D-Link network, simply edit /etc/config/network
http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-dir-601-b1-squashfs-factory-NA.bin
http://wiki.openwrt.org/doc/howto/clientmode
http://gradengineering.blogspot.com/2013/09/basic-setup-of-openwrt-on-dir-601-b1.html
Get full structure of website
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains reddit.com\
--no-parent \
www.reddit.com
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains reddit.com\
--no-parent \
www.reddit.com
Friday, February 7, 2014
Zipit Z2 Information
SAVED FOR POSTERITY
Based on debian sid.
2 users set up by default. root password root. user password user.
The system auto logs in as user at boot and starts the desktop environment.
The keymapping is standard to the other zipit userlands.
The smily face = esc
The zipit key = tab
Alt = alt
… = ctrl
D-pad = arrow keys
Options key turns on and off the mouse (d-pad)
Mouse buttons are: center of d-pad = right click, stop button = left click
Commonly asked “where are these keys?”
alt+next = ~
ctrl+backspace = | (NOTE: on my version this is ALT+Smiley)
alt+. = }
alt+, = {
shift+. = >
shift+, = <
ctrl+shift+j = (
ctrl+shift+k = )
alt+prev = scroll up (in irssi)
alt+next = scroll down (in irssi)
shift+prev = scroll up (in terminal)
shift+next = scroll down (in terminal)
Keybindings for desktop shortcuts:
ctrl+m = menu
ctrl+t = terminal
ctrl+r = run prompt
ctrl+l = close window
ctrl+n = next window
ctrl+p = previous window
ctrl+q = backlights off
ctrl+w = backlights on
To adjust lcd and keyboard backlights manually, run as root:
lcd max high med low off
keys max high med low off
Monday, December 9, 2013
DSP snippets
PITCH DETECTION
kevin_thibedeau writes
There is a good way to make the harmonic product spectrum more robust to the effects of noise. You generate a synthetic spectrum starting from a histogram of zero crossing intervals that has been "smeared" back into a continuous signal with Gaussian peaks by applying a kernel density estimate. The result can then be passed through the HPS to find the fundamental. The decorrelated zero crossings caused by noise are much less problematic than working with the HPS of the original signal.
Also, an overview here: http://obogason.com/fundamental-frequency-estimation-and-machine-learning/
Original link:https://news.ycombinator.com/item?id=10757879
PEAK DETECTION
John on comp.dsp writes (https://groups.google.com/forum/#!topic/comp.dsp/MqSJjoaq8Hg)
It is entirely inappropriate for some problems, but one peak-picker that I use sometimes is a three segment sliding window:
LLLLLLLLLLCCCCCRRRRRRRRRR
When the maximum of window C is in the middle of C, and that maximum exceeds max(f(L),f(R)), then a peak at the middle of C is declared. The function f can be mean(L) or max(L) or something else. The window lengths are tuned to your requirements
Lito on comp.dsp writes
For a series with well behaved peaks the following
has worked for me. What it lacks in efficiency it
it makes up for with reliability.
function peaks(x,region,thresh)
value,index = max(x)
while value > thresh
add value, index to list
zero out region about index
value,index = max(x)
endwhile
return list
kevin_thibedeau writes
There is a good way to make the harmonic product spectrum more robust to the effects of noise. You generate a synthetic spectrum starting from a histogram of zero crossing intervals that has been "smeared" back into a continuous signal with Gaussian peaks by applying a kernel density estimate. The result can then be passed through the HPS to find the fundamental. The decorrelated zero crossings caused by noise are much less problematic than working with the HPS of the original signal.
Also, an overview here: http://obogason.com/fundamental-frequency-estimation-and-machine-learning/
Original link:https://news.ycombinator.com/item?id=10757879
PEAK DETECTION
John on comp.dsp writes (https://groups.google.com/forum/#!topic/comp.dsp/MqSJjoaq8Hg)
It is entirely inappropriate for some problems, but one peak-picker that I use sometimes is a three segment sliding window:
LLLLLLLLLLCCCCCRRRRRRRRRR
When the maximum of window C is in the middle of C, and that maximum exceeds max(f(L),f(R)), then a peak at the middle of C is declared. The function f can be mean(L) or max(L) or something else. The window lengths are tuned to your requirements
Lito on comp.dsp writes
For a series with well behaved peaks the following
has worked for me. What it lacks in efficiency it
it makes up for with reliability.
function peaks(x,region,thresh)
value,index = max(x)
while value > thresh
add value, index to list
zero out region about index
value,index = max(x)
endwhile
return list
Monday, October 28, 2013
Git snippets
REMOVE LARGE FILES (all .pkl files in this case)
git filter-branch --index-filter 'git rm --cached --ignore-unmatch *.pkl' --tag-name-filter cat -- --all
ARTICLE ON GIT SUBMODULES
http://chrisjean.com/2009/04/20/git-submodules-adding-using-removing-and-updating/
Basically, git submodule add https://kastnerkyle@github.com/kastnerkyle/RNNLIB RNNLIB
git filter-branch --index-filter 'git rm --cached --ignore-unmatch *.pkl' --tag-name-filter cat -- --all
ARTICLE ON GIT SUBMODULES
http://chrisjean.com/2009/04/20/git-submodules-adding-using-removing-and-updating/
Basically, git submodule add https://kastnerkyle@github.com/kastnerkyle/RNNLIB RNNLIB
Saturday, September 21, 2013
Adjusting Low Volume in Linux
QUIET RIOT
First, try running
alsamixer
from the command line. If there is still some headroom on any of the sliders, bump them to 100%. Sometimes there are weird interactions between the different volume sliders, and making them all 100% could increase you output volume.
IT AIN'T ENOUGH
For even more volume, we can head to the commandline.
pacmd list-sinks
will list all possible sinks for volume increases on your system. To bump my volume to approximately 200% (100% is 65536), I used:
pacmd set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 125000
This will increase noise to some extent (looking into some good ways to filter it), but at least those quiet sounds can now be heard!
http://askubuntu.com/questions/219739/adjust-max-possible-volume-in-pulseaudio
First, try running
alsamixer
from the command line. If there is still some headroom on any of the sliders, bump them to 100%. Sometimes there are weird interactions between the different volume sliders, and making them all 100% could increase you output volume.
IT AIN'T ENOUGH
For even more volume, we can head to the commandline.
pacmd list-sinks
will list all possible sinks for volume increases on your system. To bump my volume to approximately 200% (100% is 65536), I used:
pacmd set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 125000
This will increase noise to some extent (looking into some good ways to filter it), but at least those quiet sounds can now be heard!
http://askubuntu.com/questions/219739/adjust-max-possible-volume-in-pulseaudio
Subscribe to:
Posts (Atom)