Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My intent is to perform a backup of my laptop's (Dell Vostro 3350) sda1 disk to my desktop. After some googling I decided to use CloneZilla for that purpose. I have an OpenSSH server installed and running on my desktop. So I inserted CloneZilla CD to CD-rom, booted from it, then chose an option smth like "use ssh server to store image". Then I got an invitation to choose a network interface. I chose wlan0 and entered shell to manualy configure connection. And that's where I got into trouble, for wifi-network which I wanted to use is WPA2-encrypted, and I don't know how to connect to it from command line.

Can somebody assist me. Appreciation for advance.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You want to use wpa_supplicant to configure the WPA2 portion. I don't recall the exact order, of whether you should run that first or iwconfig first, though. Here's the Ubuntu man page:

http://manpages.ubuntu.com/manpages/precise/man8/wpa_supplicant.8.html

There should be pointers elsewhere on using it correctly with whatever distro CloneZilla is based on.

share|improve this answer
    
Thanks so much for that hint which turned out to be very useful to me. –  user116540 Apr 7 '12 at 2:06

Actual steps to follow:

1.create config-file for wpa_supplicant

# touch /etc/wpa_suppl.conf

2.edit it with vi-editor

# vi /etc/wpa_suppl.conf

there should be:

network={
    ssid="your_ssid"
    psk="your_key"
}

then:

# wpa_supplicant -B -iwlan0 -c/etc/wpa_suppl.conf -Dwext
# dhclient wlan0

Thats all

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.