initrd modules options

man modprobe.conf

options modulename option…

This command allows you to add options to the module modulename (which might be an alias) every time it is inserted into  the  kernel:  whether directly (using modprobe modulename, or because the module being inserted depends on this module.

vi /etc/modprobe.d/options

options sundance media=”10mbps_fd,autosense,autosense,10mbps_fd,autosense,autosense,autosense,autosense”

update-initramfs -uv

Posted in kernel at February 15th, 2010. No Comments.

ssh client putty multi tab

PuTTY Connection Manager is a free PuTTY Client Add-on for Windows platforms which goal is to provide a solution for managing multiple PuTTY instances

Posted in Windows at February 9th, 2010. No Comments.

win auto install skype openoffice firefox vlc

Ninite installs software fast with default settings and
says “no” to browser toolbars and other junk.

Ninite checks your PC’s language and 64-bit support
to install the latest, best version of each program.

Posted in Windows at February 9th, 2010. No Comments.

script auto connect multi ssh-server konsole


## arr dei server  formato '[email protected] |nome_simbolico'  
SERVER=('[email protected] |SERVERA' '[email protected] | SERVERB' '[email protected] -p4390 |SERVERC' '[email protected] -p2100 |

# start a new konsole window and save the handle in $konsole
konsole=$(dcopstart konsole-script)

# maximize the new window
dcop $konsole konsole-mainwindow#1 maximize

# get current session for the first (just created) window
thissession=$(dcop $konsole konsole currentSession)

# rename this window/session
dcop $konsole $thissession renameSession "Scuolazoo  init"

# start a new session tab for each server
for s in "${SERVER[@]}" ; do
srv=`echo $s|awk -F\| '{print $1}'`
name=`echo $s|awk -F\| '{print $2}'`

# this output is displayed on the terminal which is running your script
echo "connect to server: $name"

# create another konsole tab and save handle in $newsession
newsession=`dcop $konsole konsole newSession "ssh $srv"`

# wait for shell startup 
while [ `dcop $konsole $newsession sessionPID` -eq 0 ]; 
do sleep 0.1 

# rename the new session
dcop $konsole $newsession renameSession $name

# and start the ssh session
dcop $konsole $newsession sendSession "exec ssh $srv  \"$param\""


# close the first session window
dcop $konsole $thissession closeSession > /dev/null
Posted in Bash at February 9th, 2010. No Comments.

Line Attenuation

Line Attenuation
In gerneral, attenuation is the loss of signal over distance. Unfortunately, dB loss is not just dependent on distance. It also depends on cable type and gauge (which can differ over the length of the cable), the number and location other connection points on the cable.
•20bB. and below = Outstanding
•20dB-30dB. = Excellent
•30dB-40dB. = Very Good
•40dB-50dB. = Good
•50dB-60dB. = Poor and may experience connectivity issues
•60dB. and above = Bad and will experience connectivity issues
Line attenuation also affects your speed.
•75 dB+: Out of range for broadband
•60-75 dB: max speed up to 512kbps
•43-60dB: max speed up to 1Mbps
•0-42dB: speed up to 2Mbps+

Posted in Internet at February 9th, 2010. No Comments.

SNR means Signal to Noise Ratio

SNR means Signal to Noise Ratio.

Simply put divide the Signal value by Noise Value and you get SNR. You need high SNR for a stable connection. In general, a higher signal to noise ratio will result in less errors.
•6bB. or below = Bad and will experience no line synchronisation and frequent disconnections
•7dB-10dB. = Fair but does not leave much room for variances in conditions.
•11dB-20dB. = Good with little or no disconnection problems
•20dB-28dB. = Excellent
•29dB. or above = Outstanding

Posted in Internet at February 9th, 2010. 1 Comment.

bash find email year based

for i in `find . -type f -iname ‘*[0-9]*’` ; do  head -n $(grep -m1 -n ^$ $i | awk -F : ‘{print $1}’) $i | grep “^Date.*\ 2005\ ” -q  ; if [ $? != 1 ]; then echo $PWD $i; fi ; done

Posted in Bash at February 9th, 2010. No Comments.