Body of Knowledge

knowledge sharing - wiki brain

Archive for October, 2006

useful Windows family administration tools

No comments

howto install cisco vpn client on Ubuntu

  1. Getting ready to compile the code
  2. # sudo apt-get install build-essential linux-headers-`uname -r`
  3. Get the lastest version from cisco and untar
  4. # tar zxvf vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz
  5. Make (inside the vpnclient dir)
  6. # make
  7. install vpn client
  8. # sudo ./vpn_install
  9. Create a VPN profile with info like Host, authentication method…
  10. # sudo pico /etc/opt/cisco-vpnclient/Profiles/sample.pcf
  11. Start the VPN Service
  12. # sudo /etc/init.d/vpnclient_init start
  13. Import a given root certificate
  14. # sudo cisco_cert_mgr -R -op import -f root.cer
  15. Import a given user certificate
  16. # sudo cisco_cert_mgr -U -op import -f user.cer
  17. Establish a connection
  18. # sudo vpnclient connect profile

Useful Links:

http://popey.com/node/62

No comments

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:

  1. Install wpasupplicant
  2. # sudo apt-get install wpasupplicant
  3. Generate wpa passphrase
  4. # sudo wpa_passphrase ssid [passprase]
  5. Add network info to /etc/supplicant.conf
  6. network={
    ssid="ssid”
    scan_ssid=1 # only needed if your access point uses a hidden ssid
    proto=WPA
    key_mgmt=WPA-PSK
    psk=123456a123456e34d67daef00eb5fab3ae228716e1e123456c004bc61dccc98c
    }
  7. Finally update network file /etc/network/interfaces
    • Before
    • auto eth1
      iface eth1 inet dhcp
    • After
    • 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 comments

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:

  1. Add the folowing line to your sources.list file
  2. # deb http://flomertens.keo.in/ubuntu/ dapper main
  3. Add the repository key be able to download the packages
  4. # wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add -
    # sudo apt-get && sudo apt-get upgrade
  5. Install the package
  6. # sudo apt-get install ntfs-3g
  7. Add your ntfs partition
  8. # 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 comments

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
http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs

No comments

Next Page »