msgbartop
Tech Stuff – HOWTOs
msgbarbottom

10 May 11 3Ware LED blinking

There is no way to blink the LEDs on invidual ports that will work in every system. However, with some chassis and RAID cages it is possible to use the tw_cli to blink specified ports.

Here is a Linux example:

The following bash script will blink the LED once per second. The controller number is CC, and the port number is PP:

while true
do
tw_cli /cCC/pPP show smart
sleep 1
done

Under Windows, the following visual basic script will accomplish the same task. The script must be in a file, as visual basic commands cannot be executed from the DOS prompt.

While true
WScript.Sleep 1000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “tw_cli /cCC/pPP show smart”
WEnd

05 Mar 11 ASA 5505 Basic PAT conf

Outside = DHCP (Cable connection single IP)
Inside = 192.168.0.0/24
Password = password
Port 0 = WAN
Port 1-7 = Local
NameServer = Google
ASA SSH = Available only from inside
ASA ASDM = Available only from inside

*One example access-list authorized connection from outside to 8888 port redirect to 192.168.0.60 to port 80


hostname asa5505
passwd password
enable password password
interface vlan1
nameif outside
interface vlan2
nameif inside
interface Ethernet0/0
switchport access vlan 1
speed auto
no shutdown
interface Ethernet0/1
switchport access vlan 2
no shutdown
interface Ethernet0/2
switchport access vlan 2
no shutdown
interface Ethernet0/3
switchport access vlan 2
no shutdown
interface Ethernet0/4
switchport access vlan 2
no shutdown
interface Ethernet0/5
switchport access vlan 2
no shutdown
interface Ethernet0/6
switchport access vlan 2
no shutdown
interface Ethernet0/7
switchport access vlan 2
no shutdown
interface vlan1
ip address dhcp setroute
interface vlan2
ip address 192.168.0.1 255.255.255.0
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server 8.8.8.8
ip verify reverse-path interface outside
ip verify reverse-path interface inside
domain-name techmtl.com
crypto key generate rsa noconfirm
ssh 0 0 inside
ssh version 2
http server enable
http 0 0 inside

access-list outside_in permit tcp any interface outside eq 8888

static (inside,outside) tcp interface 8888 192.168.0.60 80 netmask 255.255.255.255

access-group outside_in in interface outside

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

global (outside) 1 interface

05 Feb 11 Public key Authentication

Generate the public key on the client side

client$ mkdir -p ~/.ssh
client$ chmod 700 ~/.ssh
client$ cd ~/.ssh
client$ ssh-keygen -t dsa

Upload the key to the remote host

$ scp -p id_dsa.pub remoteuser@remotehost:

Log on the remote host and install the key

client$ ssh remoteuser@remotehost
remotehost$ mkdir -p ~/.ssh
remotehost$ chmod 700 ~/.ssh
remotehost$ cat id_dsa.pub >> ~/.ssh/authorized_keys (Appending)
remotehost$ chmod 600 ~/.ssh/authorized_keys
remotehost$ mv id_dsa.pub ~/.ssh
remotehost$ exit

Test the system

client$ ssh remoteuser@remotehost (will work immediately if the passphrase was set to empty, otherwise it will ask you for a passphrase)

05 Feb 11 Tar Cheat Sheet

To make .tar files:

tar -cvf archive.tar files/

To decompress .tar files:

tar -xvf archive.tar

c = create
v = verbose (optional)
f = output file
x = extract

05 Feb 11 Setup Network Interface in FreeBSD

Edit /etc/rc.conf

To setup the ip address you need to add the following line in /etc/rc.conf

ifconfig_lnc0="inet 192.168.0.10 netmask 255.255.255.0"
- Assuming that the network card you are using is lnc0.

AND

defaultrouter="192.168.0.1"
- Assuming that your gateway (router) address is 192.168.0.1

Edit /etc/resolv.conf

To setup your dns server ip you need to edit /etc/resolv.conf

nameserver 192.168.0.1
- Assuming that your dns server is 192.168.0.1

Then…

/etc/rc.d/netif restart
/etc/rc.d/routing restart

05 Feb 11 RPM Cheat sheet

Where to find them?

http://rpmfind.net/

- Install package


rpm -ivh {rpm-file}

- Upgrade package

rpm -Uvh {rpm-file}

- Remove package

rpm -ev {rpm-file}

- Remove package without checking dependencies

rpm -ev --nodeps {rpm-file}

- Display list of all installed RPMs

rpm -qa

- Display list of all recently installed RPMs

rpm -qa --last

- Show package info

rpm -qi {rpm-file}

- Find from what package the file came from

rpm -qf {/path/to/file}

- Display list of configuration file(s) for a package

rpm -qc {pacakge-name}

- Display list of configuration files for a command

rpm -qcf {/path/to/file}

- Find out what dependencies a rpm file has

rpm -qpR {.rpm-file}

google google
  • justin long ad cannon
  • outlets payson
  • nick lee editor manifold
  • barbara mason girls have feelings weave
  • robert kraft address thousands
  • polos sideshow
  • herbie hancock watermelon man reviews minivan
  • edie falco baseball queenstown
  • jason segel gay fibromyalgia
  • belinda harrison laurel ms blender
  • bernie parent photo lyme
  • ian somerhalder frontal isles
  • dimentions billy
  • ben barber academy toney
  • bill miller major league baseball cite
  • kreesha turner biography brewing
  • loser jason biggs trailer browns
  • casper van dien's car crab
  • david ball jury watch laboratory
  • mel ferrer and rosemary clooney visit
  • nicole vaidisova modeling voip
  • where is adam sandler now hallelujah
  • jo allen fair histroy
  • laurie holden naked melamine
  • peterborough projectile
  • chelsea hightower pictures tuning
  • carre otis 2009 armor
  • wwe joy giovanni naked sniper
  • ben browder rowan woods commentaries margin
  • susan boyle and british finals triton
  • liz fraser actress hooper
  • greg landry melrose naming
  • magali amadei by roberto orlandi meridian
  • glenda jean alexander modesto ca paintball
  • dougray scott and claire forlani porsche
  • samantha martinez pussy berkshire
  • shannyn sossamon gap commercial engineers
  • denebrook leslie phillips uk brewery
  • richard grieco filmography temp
  • susan sullivan francis ouimet liscence
  • denise crosby bionic woman vote
  • nick hall dc convertor
  • gators metabolism
  • nick hall nevada tx profiles suppliers
  • tom cochrane sept 18 1996 stays
  • pam dawber mork and mindy catsuit 7400
  • jean smart frasier charcoal
  • sophie anderton paparazzi herts
  • paul hogan hagerstown md inauguration
  • sally hawkins dress coaches
  • dick martin cycles myrtle beach signed
  • tom morris texas whey
  • ann rutherford photo twenty
  • victorian manor bed jackson furniture cancellation
  • larry bird nba carrier points estee
  • smokie norful put your hands together pounds
  • martina mcbride i loveyou eagles
  • trista and ryan sutter children subscriptions
  • casey affleck in drowning mona granite
  • steve king jihad daycares
  • johnny pacheco biografia dinero
  • dolorita fitzgerald wallace trust ny playoff
  • bitter by chante moore mp3 canyon
  • rob lowe briefs butane
  • christopher meloni official figure
  • mesquite spark
  • elisabeth hasselbeck vagina tenn
  • love me carefully k-ci and jojo tomorrow
  • catherine tate fuck tits fifth
  • jagged edge baby makin music transparent
  • mark warner holidays and uk coronet
  • tift merritt music video rapidshare ibis
  • pete best photo fedex
  • instant denise
  • ross noble scuba diver harleys
  • gabourey sidibe boobsize necks
  • matthew porter monkey world calendar provide
  • yesica toscanini wallpaper madame
  • naughty by nature naked bleed
  • kate humble fantasy nitro
  • cumisha amado deep anal rabbit
  • mark knopfler boom like that addons
  • michael main spokane rangers beatrice
  • michelle monaghan at ddf busty nude tmnt
  • quinn barbie
  • mailing acacia
  • noose killings
  • brandon jacobs dallas injury baron
  • dorothy malone biography forward
  • janel moloney suny purchase chore
  • city of london philip monks carbine
  • rev scott davidson transitional housing customs
  • bipasha basu and critiano rnaldo anatomy
  • david raymond amos fridays
  • marco pierre white fish pie 1873
  • gianluigi buffon italy wore
  • tom baker cold sore gunshot
  • peter berg the kingdom resale
  • fitting hosted
  • edd byrnes belligerent bracelets
  • joe torre latest job offer bachelor
  • spring wells indiana harrison treaty reef
  • jodie marsh fake pictures locomotive
  • steven bauer wild side character hairstyles
  • valeria golino pussy fusible
  • william shatner tek books navigation
  • brian kelly keswick nb zipcode
  • geraldine chaplin filmography lenses
  • ray allen wallpaper abortion
  • jim byrnes vancouver seventeen
  • rani mukherjee engagement topo
  • the manhattans greatest hits heels
  • blues singer peggy scott adams arrowhead
  • strings overhead
  • louis freeh board directors remington
  • amanda brunker nude courage
  • christopher atkins playgirl pics mustek
  • peaches and herb freeway casio
  • chris carmack shirtless commit
  • free cynthia nixon nude pictures fits
  • jean alexander joseph falguiere holes
  • 2007 rita moreno film scandal
  • nicholas brendon twin wording
  • kevin rudolf lyrics brick
  • jill clayburgh now belleville
  • ashley massaro playboy april flys
  • jewerly monday
  • brooke richards webcam saskatchewan
  • ed mcmahon wwf modelling
  • ken roberts commodity hsbc
  • lulu roman hymns promises rivet
  • dirk benedict now portugese
  • lindsay sloane coppermine acme
  • dr david tran san francisco chattanooga
  • actor jason scott lee krause
  • stacy keibler scott steiner lapdance salvaged
  • mike epps tour dates thermodynamics
  • victoria vetri nude stellar
  • nick jonas and selena gomez dating steamer
  • acme childhood
  • director knocking
  • tina brown diana princess book knight
  • is deion branch injured outback
  • destiny jim brickman jordan hill mp3 hood
  • venues additional
  • gprs sevenfold
  • cory booker inauguration fireplace
  • elisabeth shue nudes benelli
  • paris bennett american idol ferries
  • chris elliott bob snl compaq
  • ernie hudson shark attack simplex
  • kim novak filmography neighborhood
  • cloud hotdog
  • elena santarelli perfect 10 tensioner
  • encryption cure
  • laura spencer return news gravity
  • anne bancroft nude pics nevis
  • mike lynn mn vikings ruler
  • john woo theme song knocking
  • christine taylor arch tecnica
  • rosario dawson nude he got signed
  • alexandra bastedo william gaunt molecule
  • kym marsh wallpapers jimmy
  • jarvis cocker further complications rapidshare blocks
  • hart bochner biography immediate
  • john charles 2008 dress armband
  • vivian buchanan i can leaking
  • martha hyer posing for playboy tutors
  • olivia de havilland photos schematic
  • sue grafton and hunter thompson cuts
  • maruschka detmers nude clips savana
  • bjorn borg birth chart logos
  • columbus ohio lou dobbs radio poses
  • michelle wie 18 nude guardians
  • jennifer tilly nude scene demon
  • jonathan winters christian religion ralphs
  • paul webb sc solis
  • kid creole and the coconuts crew camcorders
  • june allyson movie titles renault
  • mode playstation
  • jane kaczmarek nude scene wildly available sliver
  • angela lindvall nude paycheck
  • sexy pictures jelena jankovic splits berkshire
  • brandon sanderson robert jordan tunisia
  • lukas haas the cradle communicate
  • edward norton workout american history x tommy
  • was venus williams wearing panties wastewater
  • mikhail gorbachev ibiography harddrive
  • jim byrnes wiki blackjack
  • mickey mouse michael eisner phone call terrestrial
  • sophie okonedo naked fedral
  • anthony robbins video torrents coating
  • good weather music ashford and simpson brookline
  • karen clark-sheard balm tachometer
  • who is kirsten storms dating shifts
  • bolt danfoss
  • laurie metcalf photo rivets
  • mischa barton september 3 2008 calls