I have HP NoteBooks ProBook5420s. There is a little problem with driver in KUbuntu.
lspci|grep "Network controller:"
44:00.0 Network controller: RaLink RT3090 Wireless 802.11n 1T/1R PCIe
In spite of that the controller is RT3090 it works with rt3390sta driver.
lsmod |grep rt
rt3390sta 1153989 1
My attemts to enable wireless networking with rt3090sta driver were unsaccessfull.
Sunday, November 14, 2010
Ram diska creation
Ram diska creation. It is very usefull if you like wardriving:)
# mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk
# mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/
or
# mount -t tmpfs tmpfs /tmp/ramdisk -o size=1G,nr_inodes=200k,mode=01777
# mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk
# mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/
or
# mount -t tmpfs tmpfs /tmp/ramdisk -o size=1G,nr_inodes=200k,mode=01777
Friday, October 1, 2010
Friday, September 24, 2010
bash config to use arrows to scroll history
Insert into .bashrc to turn on using arrows up/down to search in bash history.
bind '"\e[A"':history-search-backward bind '"\e[B"':history-search-forward shopt -s cdspell shopt -s cmdhist shopt -s histappend export HISTCONTROL="ignoredups"
very useful ;-)
Wednesday, November 18, 2009
Network backup with NC and TAR
Backup to another host through NetCat command. It can be useful if there is no space for local backup or just for file transfer between hosts.
nc -l -p 8081 >/tmp/nc.dump #just listen on port 8081 and rewrite to stdout
then send something in raw to remote host:
tar c /opt/music | nc -w 2 HOST 8081
cat /tmp/mp3.file | nc -w 2 HOST 8081
-w 2 - wait silence for 2 seconds at stdin of NC and exit
.
nc -l -p 8081 >/tmp/nc.dump #just listen on port 8081 and rewrite to stdout
then send something in raw to remote host:
tar c /opt/music | nc -w 2 HOST 8081
cat /tmp/mp3.file | nc -w 2 HOST 8081
-w 2 - wait silence for 2 seconds at stdin of NC and exit
.
Subscribe to:
Posts (Atom)