Archive

Archive for the ‘Linux’ Category

Multiple WLANs – DD-WRT Wiki

February 14th, 2010 karlosp No comments
Categories: Linux, Wireless Tags:

Setting up a Subversion Server on Ubuntu Gutsy Gibbon server | Subversionary

November 4th, 2009 karlosp No comments

Setting up a Subversion Server on Ubuntu Gutsy Gibbon server via Setting up a Subversion Server on Ubuntu Gutsy Gibbon server | Subversionary.

 

How to perfect setup server

http://how2forge.org/perfect-server-ubuntu-9.10-karmic-koala-ispconfig-2-p6

Categories: Linux Tags:

Install Subversion with Web Access on Ubuntu :: the How-To Geek

November 3rd, 2009 karlosp No comments

Install Subversion with Web Access on Ubuntu This article covers installing subversion with the apache module so that it can be easily accessed from other systems on a public network. If you want a more secure svn server, you could use svnserve+ssh, which isn’t covered in this article. To install subversion, open a terminal and run the following command: via Install Subversion with Web Access on Ubuntu :: the How-To Geek.

 

How to perfect setup server

http://how2forge.org/perfect-server-ubuntu-9.10-karmic-koala-ispconfig-2-p6

Categories: Linux Tags:

Find IP

August 14th, 2009 karlosp No comments

Find IP

You get onto a network and can’t, or don’t want, to use DHCP, how to you find out what IP addresses are available? Find IP is a bash script inspired by a an app called marco which performs the same task but is written in python and requires a number of libraries, Find IPs only dependency is arping.

Download Find IP.

See the README file for usage notes.

via Find IP – DigiNinja.

Categories: Linux Tags:

Arch Linux: warning: Setting locale failed

May 5th, 2009 karlosp No comments
C:
  1. perl: warning: Setting locale failed.
  2. perl: warning: Please check that your locale settings:
  3. LANGUAGE = (unset),
  4. LC_ALL = (unset),
  5. LC_COLLATE = "C",

edit /etc/locale.gen (sample file) *and then* run locale-gen

Categories: Linux Tags: , ,

Linux Extract Script

March 13th, 2009 karlosp No comments
CODE:
  1. The following function will decompress a wide range of compressed filetypes. Add the function to '~/.bashrc' and then run with the syntax 'extract MyCompressedFile'
  2.  
  3.  extract () {
  4.    if [ -f $1 ] ; then
  5.        case $1 in
  6.            *.tar.bz2)   tar xvjf $1    ;;
  7.            *.tar.gz)    tar xvzf $1    ;;
  8.            *.bz2)       bunzip2 $1     ;;
  9.            *.rar)       rar x $1       ;;
  10.            *.gz)        gunzip $1      ;;
  11.            *.tar)       tar xvf $1     ;;
  12.            *.tbz2)      tar xvjf $1    ;;
  13.            *.tgz)       tar xvzf $1    ;;
  14.            *.zip)       unzip $1       ;;
  15.            *.Z)         uncompress $1  ;;
  16.            *.7z)        7z x $1        ;;
  17.            *)           echo "don't know how to extract '$1'..." ;;
  18.        esac
  19.    else
  20.        echo "'$1' is not a valid file!"
  21.    fi
  22.  }

Categories: Linux Tags: , ,

Arch

February 2nd, 2009 karlosp No comments

Change Webmin user password

/opt/webmin/changepass.pl /etc/webmin <user> <pwd>

Allow connection from IP

vi /etc/webmin/miniserv.conf

Categories: Linux Tags: , , ,

Protected: Backtrack – WEP crack: auto-wep-crack.sh

December 22nd, 2008 karlosp Enter your password to view comments.

This post is password protected. To view it please enter your password below:


Categories: Linux Tags: , , ,

Linux bash history

November 8th, 2008 karlosp No comments
CODE:
  1. cd ~
  2. vim .inputrc
  3.  
  4. copy / paste
  5.  
  6. "\e[5~": history-search-backward
  7. "\e[6~": history-search-forward

http://www.electrictoolbox.com/history-search-auto-completion-bash-shell-ubuntu/

Categories: Linux Tags:

Linux: clarkconnect link domain to user home directory

August 28th, 2008 karlosp No comments
CODE:
  1. (v webminu) odprem fajl /etc/fstab v katerem na koncu dodam:
  2. /var/www/virtual/domena.si /home/user/www none rw,bind 0 0

Categories: Linux Tags:

Ettercap 0.7.3 for PCLinuxOS

June 8th, 2008 karlosp No comments

Install:

CODE:
  1. rpm -ivh ettercap-ng-073-1mdv20070i586.rpm

ettercap 0.7.3

ettercap -G

Categories: Linux Tags:

TinyMe Synaptic

May 29th, 2008 karlosp No comments
CODE:
  1. http://spout.ussg.indiana.edu/linux/pclinuxos/pclinuxos/apt/
  2. pclinuxos/2007
  3. main extra nonfree kde

CODE:
  1. http://distro.ibiblio.org/pub/linux/distributions/tinyme/apt/
  2. 2007
  3. main nonfree tinyme

Categories: Linux Tags:

Linux find route gateway and internet device IP

May 25th, 2008 karlosp No comments
CODE:
  1. #!/bin/sh
  2.  
  3. for i in $( route -n | grep UG | awk '{print $2}' )
  4. do
  5. echo $i
  6. done

Find ip

CODE:
  1. ifconfig eth0 |  awk -F: '/inet addr:/{print $2}' | awk '{print $1}'

Remove invalid gateways

CODE:
  1. #!/bin/sh
  2.  
  3. WAN=`zenity --entry --text="Vpisi mrezno kartico, ki je povezana na internet; ponavadi: eth0, wlan0"`
  4. if [ -z $WAN ]
  5. then
  6. echo "Vpisi vmrezno kartico!"
  7. exit
  8. fi
  9.  
  10. for i in $( route -n | grep UG  | grep -v $WAN | awk '{print $2}' )
  11. do
  12. route del default gw $i
  13. done

Categories: Linux Tags:
101893 pages viewed, 158 today
53333 visits, 93 today
FireStats icon Powered by FireStats