Archive for the 'Systems' Category

 

 

Dec 29 2009

Bash Colored Root Prompt

Published by under Linux

From Linux Suse /etc/bash.bashrc: # Colored root prompt (see bugzilla #144620) if test “$UID” -eq 0 -a -t && type -p tput > /dev/null 2>&1 ; then _bred=”$(tput bold 2> /dev/null; tput setaf 1 2> /dev/null)” _sgr0=”$(tput sgr0 2> /dev/null)” PS1=”\[$_bred\]$PS1\[$_sgr0\]” unset _bred _sgr0 fi

No responses yet

Dec 19 2009

Redhat/Ubuntu/Debian Bridge Interface Startup Scripts

Published by under Linux

All systems need bridge-utils package installed either with yum or apt-get.  Redhat / Fedora Edit each network interface startup file that is going to be added to the bridge  And create the bridge configuration file Ubuntu Debian

No responses yet

Dec 14 2009

A Virtual Cisco Router on your Network

Published by under Cisco,Linux

Dynamips and dynagen let you create a virtual Cisco router on a Linux box. It would be even better if that router was reachable from the LAN, wouldn’t it? Going further, that same router could lead us to another couple of virtual routers running in a lab.  Download and Installation Download dynamips and dynagen from […]

One response so far

Dec 09 2009

Atheros Wireless Interface on Linux Ubuntu

Published by under Linux

I was surprised ifconfig wouldn’t return an interface for my Atheros chipset based Netgear wireless card. Unlike Redhat, Madwifi does not seem to compile on Ubuntu, no matter what version is used. Kernel headers installed, I keep getting the same error: /root/madwifi-0.9.4/net80211/ieee80211_power.c: In function ‘ieee80211_pwrsave’: /root/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function ‘__skb_append’ make[3]: *** [/root/madwifi-0.9.4/net80211/ieee80211_power.o] […]

No responses yet

Oct 13 2009

Command History with Arrow Keys in ksh

Published by under Aix,Linux,Misc,Solaris

Arrows aren’t used in ksh as a default. To enable command history like in Bash, add the following lines in the .profile or .kshrc file:  ^P, ^N, etc aren’t one single character. Enter Ctrl-V and Ctrl-P to display them in vi. Auto-completion is only available for files, not commands. Press either twice on the escape key, […]

One response so far

« Prev - Next »