Wednesday, October 24, 2012

Dynamic DNS updater behind a router.


I use Dynamic DNS to be able to communicate to/from my laptop to the LAN. I recently noticed that when it was plugged in at home, the address it was updating was a DHCP issued by my router. Here is the fix I used to make it work correctly.

replace the use= line in your /etc/ddclient.conf with the following.
use=web, web=checkip.dyndns.org/


Sample /etc/ddclient.conf :

protocol=zoneedit1
use=if, if=eth0
server=dynamic.zoneedit.com
login='user'
password='password'
mydomain.com




DiffProbe for Dectecting Traffic Shaping in Ubuntu

ISP's like to shape your traffic... use the following to see if you are a victim.

cd /tmp && wget -O shaperprobe.tgz http://goo.gl/DvfAy
tar xvf shaperprobe.tgz -C ~/ && cd ~/shaperprobe && make
cd ~/shaperprobe && ./prober

Tuesday, October 23, 2012

Disable crash reporting in Xubuntu 12.04

sudo sed -i "s/enabled=1/enabled=0/g" '/etc/default/apport'

Reset MySQL password under Ubuntu

sudo /etc/init.d/mysql stop
sudo mysqld --skip-grant-tables &
mysql -u root mysql
UPDATE user SET Password=PASSWORD('NEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit;

Kernel 3.6.0 in Ubuntu/Mint 32/64 bit


Very early still, but it seems to run quicker & more responsive.

  cd /tmp
  wget http://dl.dropbox.com/u/47950494/upubuntu.com/linux-kernel-3.6 -O linux-kernel-3.6
  chmod +x linux-kernel-3.6
  sudo sh linux-kernel-3.6

Saturday, September 29, 2012

NCCDC Documentary - Interesting


NCCDC Documentary-Cyber Security




Gerix Wifi Cracker in Ubuntu 12.04

Gerix Wifi Cracker used to be in the Ubuntu repos, but isn't anymore. Here is how to install it.

If you happen to still be using WEP for your network, you might want to give the following a try to see just how weak your security really is.

Add the backtrack repos...


sudo sh -c 'echo "deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing" >> /etc/apt/sources.list'

sudo sh -c 'echo "deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing" >> /etc/apt/sources.list'

sudo sh -c 'echo "deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing" >> /etc/apt/sources.list'

sudo apt-get update
sudo apt-get install gerix-wifi-cracker-ng

Run it with 
gksudo python /usr/share/gerix-wifi-cracker-ng/gerix.py