How To: Saved for my records
WUSB100N and Backtrack 5
AWUS036H and Backtrack 5 in VM
Force IP Forwarding on All the Time: gedit /etc/sysctl.conf
Removing Apple Password
# Reboot
# Hold apple + s down after you hear the chime.
# When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
* mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now
How to fix Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
Apparently, OS X Tiger doesn't allow for PHP MySQL connection out of the box. You get this:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
I found the most clear fix here:
/etc/php.ini(.default) looks for mysql.sock in the wrong place... two options are to make a symbolic link from the right place to the socket...
sudo mkdir /var/mysql
sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
Or you can update your php.ini (.default) by finding "mysql.default_socket" and setting it to equal /private/tmp/mysql.sock and then restart apache with "apachectl graceful"
Multi Boot Linux CD
Hirens Boot CD (700mb)
How to boot from USB in VMWare:
Download Plop boot manager: http://www.plop.at/en/bootmanager/download.html
Unzip, run VMWare off the iso, and voila!
AWUS036H and Backtrack 5 in VM
Force IP Forwarding on All the Time: gedit /etc/sysctl.conf
Removing Apple Password
# Reboot
# Hold apple + s down after you hear the chime.
# When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
* mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now
How to fix Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
Apparently, OS X Tiger doesn't allow for PHP MySQL connection out of the box. You get this:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
I found the most clear fix here:
/etc/php.ini(.default) looks for mysql.sock in the wrong place... two options are to make a symbolic link from the right place to the socket...
sudo mkdir /var/mysql
sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
Or you can update your php.ini (.default) by finding "mysql.default_socket" and setting it to equal /private/tmp/mysql.sock and then restart apache with "apachectl graceful"
Multi Boot Linux CD
Hirens Boot CD (700mb)
How to boot from USB in VMWare:
Download Plop boot manager: http://www.plop.at/en/bootmanager/download.html
Unzip, run VMWare off the iso, and voila!

