Dec
29
2009
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
Tags: bash, linux
Dec
19
2009
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
Tags: debian, fedora, linux, network, redhat, ubuntu
Dec
14
2009
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 […]
Tags: Cisco, debian, linux, router, virtualization
Dec
09
2009
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] […]
Tags: linux, network, ubuntu, wifi
Oct
13
2009
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, […]
Tags: AIX, ksh, linux, solaris, unix