Default image

howto install cisco vpn client on Ubuntu

Getting ready to compile the code sudo apt-get install build-essential linux-headers-`uname -r` Get the lastest version from cisco and untar tar zxvf vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz Make (inside the vpnclient dir) make install vpn client sudo ./vpn_install Create a VPN profile with info like Host, authentication method… sudo pico /etc/opt/cisco-vpnclient/Profiles/sample.pcf Start the VPN Service sudo /etc/init.d/vpnclient_init start Import a given root certificate sudo cisco_cert_mgr -R -op import -f root.cer Import a given user certificate ...

October 26, 2006 · 1 min · 88 words · João Malcata
Default image

wpa wlan on ubuntu

On Ubuntu (dapper at least) WEP is installed but not WPA (wi-fi protected access) a safer encription protocol. Wep can be cracked within minutes. To enable WPA you must: Install wpasupplicant sudo apt-get install wpasupplicant Generate wpa passphrase sudo wpa_passphrase ssid [passprase] Add network info to /etc/supplicant.conf network={ ssid="ssid" scan_ssid=1 # only needed if your access point uses a hidden ssid proto=WPA key_mgmt=WPA-PSK psk=123456a123456e34d67daef00eb5fab3ae228716e1e123456c004bc61dccc98c } Finally update network file /etc/network/interfaces ...

October 24, 2006 · 1 min · 99 words · João Malcata
Default image

ntfs mounted with write permissions

On Ubuntu (and in general) ntfs mount with write permissons is still a big issue. Here is a simple cookbook for NTFS read/write: Add the folowing line to your sources.list file deb https://flomertens.keo.in/ubuntu/ dapper main Add the repository key be able to download the packages wget https://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add - sudo apt-get && sudo apt-get upgrade Install the package sudo apt-get install ntfs-3g Add your ntfs partition ...

October 20, 2006 · 1 min · 104 words · João Malcata
Default image

Generic audio e video play using Ubuntu (or GNOME...)

You can use synaptic or apt-get to install the packages mentioned in the following links: https://help.ubuntu.com/community/RestrictedFormats https://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs

October 19, 2006 · 1 min · 17 words · João Malcata
Default image

add a scheduled job with crontab

In order to add a scheduled job just call “crontab -e” and add entries to the crontab file. Take a look at this scheduled crontab examples: 0 0 * * * ~/incremental_bck.sh --midnight every day 0 0 * * 1-5 ~/send_happybirthday.sh --midnight every weekday 0 0 1,15 * * ~/full_backup.sh --midnight on 1st and 15th days

October 15, 2006 · 1 min · 56 words · João Malcata
Default image

Reset MySql root password

Stop mysqld and restart it with the –skip-grant-tables –user=root shell> mysql -u root -e "UPDATE mysql.user SET Password=PASSWORD('**newpwd**') WHERE User='root';" shell> mysql -u root -e "FLUSH PRIVILEGES;" Replace “newpwd” with the actual root password that you want to use.

October 10, 2006 · 1 min · 39 words · João Malcata
Default image

recommended firefox extensions

Here is a list of recommended firefox extensions: Tab Mix Plus - enhances browsing capabilities, includes session manager; NoScript - alows JavaScript for trusted domains with white list management;

September 22, 2006 · 1 min · 29 words · João Malcata
Default image

Spam free solution for e-mail registration

This service www.mailinator.com allows you to have an instant mailbox for getting junk e-mail without entering your personal data.

September 21, 2006 · 1 min · 19 words · João Malcata
Default image

basic shell commands

Shell Concatenate & Compress (to from) tar -cvzf filepath/filename.tar.gz filename Extract multiple files (from to) tar -xvzf filename.tar.gz Copy files across systems(from to) scp user@from-server:path/file user@to-server:path/file Sort with count by column x cut -d " " -f 2 raw.file | sort | uniq -c | sort -nr > ordered_by_freq_file – References www.watsys.unh.edu/Darlene/TechToolsFiles/LammersUNIXDemo/UNIX_Intro.html

September 20, 2006 · 1 min · 52 words · João Malcata
Default image

install vmware tools on Ubuntu

Install needed packages sudo apt-get install gcc sudo apt-get install linux-headers-$(uname -r) Create vmware tools package Use VMware window option VM -> Install VMware Tools to generate a virtual DVD-ROM with the package. Uncompress & Untar VMwareTools-x.x.x-xxxxx.tar.gz click the packge DVD-ROM and “extract to” Desktop the tar.gz file Run vmware-install.pl sudo Desktop/vmware-tools-distrib/vmware-install.pl

September 20, 2006 · 1 min · 52 words · João Malcata