Archive for October, 2006
howto install cisco vpn client on Ubuntu
- Getting ready to compile the code
- Get the lastest version from cisco and untar
- Make (inside the vpnclient dir)
- install vpn client
- Create a VPN profile with info like Host, authentication method…
- Start the VPN Service
- Import a given root certificate
- Import a given user certificate
- Establish a connection
# sudo apt-get install build-essential linux-headers-`uname -r`
# tar zxvf vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz
# make
# sudo ./vpn_install
# sudo pico /etc/opt/cisco-vpnclient/Profiles/sample.pcf
# sudo /etc/init.d/vpnclient_init start
# sudo cisco_cert_mgr -R -op import -f root.cer
# sudo cisco_cert_mgr -U -op import -f user.cer
# sudo vpnclient connect profile
Useful Links:
No commentswpa 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
- Generate wpa passphrase
- Add network info to /etc/supplicant.conf
- Finally update network file /etc/network/interfaces
- Before
- After
# sudo apt-get install wpasupplicant
# sudo wpa_passphrase ssid [passprase]
network={
ssid="ssid”
scan_ssid=1 # only needed if your access point uses a hidden ssid
proto=WPA
key_mgmt=WPA-PSK
psk=123456a123456e34d67daef00eb5fab3ae228716e1e123456c004bc61dccc98c
}
auto eth1 iface eth1 inet dhcp
auto eth1 iface eth1 inet dhcp wireless-essid MyWireless pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf post-down killall -q wpa_supplicant
Links
https://help.ubuntu.com/community/WifiDocs/WPAHowTo
http://www.sirlab.de/linux/debian_dell_d610.html#wlan
No commentsntfs 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
- Add the repository key be able to download the packages
- Install the package
- Add your ntfs partition
# deb http://flomertens.keo.in/ubuntu/ dapper main
# wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add -
# sudo apt-get && sudo apt-get upgrade
# sudo apt-get install ntfs-3g
# sudo pico fstab
/dev/partition /media/mount_point ntfs-3g defaults,utf8 0 0
Voilá mount or remount the drive and you have a ntfs partition writable. valid also for future removable ntfs drives.
Useful links:
http://www.ubuntuforums.org/showthread.php?t=217009
https://wiki.ubuntu.com/ntfs-3g
http://ubuntuos.wordpress.com/2006/08/02/howto-write-to-windows-ntfs-drive-from-ubuntu-ntfs-3g/
No commentsGeneric 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
http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs