Edit /etc/wpa_supplicant.conf adding:
network={
key_mgmt=WPA-EAP
proto=WPA
eap=PEAP
scan_ssid=1
mode=0
pairwise=TKIP
password="password"
group=TKIP
identity="DOMAIN\user"
phase1="peaplabel=0"
phase2="auth=MSCHARPV2"
ssid="ap essid"
}
start wpa_supplicant daemon:
# wpa_supplicant -Dwext -iwlanx -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
Then:
# iwconfig wlanx essid "ap essid"
# dhclient wlanx
First you need to install encfs and fuse-utils packages
$ apt-get install encfs fuse-utils
So
$ encfs "secret path folder" "mount point with encfs filesystem"
$ encfs /home/joe/Desktop/secret /media/crypt-files
Now
you have mounted a encfs filesystem and you can paste or save all
information to encrypt in the “/media/crypt-files” mount point.
To hide the information (unmount the cifs filesystem):
$ fusermount -u /media/crypt-files
Now if you open the /home/joe/Desktop/secret folder you’ll see the files encrypted.
For mount it one more time and use or read the info
$ encfs /home/joe/Desktop/secret /media/crypt-files
give the pass and it’s done
handy linux and technology info