Archive

Archive for May, 2008

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:

Linux command line reference for common operations

May 24th, 2008 karlosp No comments
Categories: Linux Tags:

Linux: add | delet route

May 22nd, 2008 karlosp No comments

Checking the route table in Linux

CODE:
  1. netstat -rn
  2. route -n

Adding and Removing a Network in Linux

CODE:
  1. route add -net 10.10.10.0/24 gw 192.168.0.1
  2. route del -net 10.10.10.0/24 gw 192.168.0.1

Adding and Removing a specific host in Linux

CODE:
  1. route add -host 10.10.10.45 gw 192.168.0.1
  2. route del -host 10.10.10.45 gw 192.168.0.1

Adding a Default GW in Linux

CODE:
  1. route add default gw 192.168.0.1
  2. route del default gw 192.168.0.1

Categories: Linux Tags:

Eclipse install visual editor

May 22nd, 2008 karlosp No comments

FAQ

+ install pde

Categories: Malo mešano Tags:

dd-wrt WRT54G_v4_Installation_Tutorial

May 13th, 2008 karlosp No comments
Categories: Malo mešano Tags:
101902 pages viewed, 149 today
53338 visits, 89 today
FireStats icon Powered by FireStats