How to use Clonezilla on wireless network

Start Clonezilla normally but after “Collecting the info of network devices” and “Getting the link status of…” lines you have to choose your wireless netword card probably wlan0 and now on “Choose the mode to setup the network for this network card: wlan0” you choose

"enter_shell Enter_command_line_prompt,_Do_it_manually" 

and hit enter.

Then you will get info “Now enter another shell. When everything is done, run “exit” to go back to the original program. Press “Enter” to continue” here you just hit enter again.

Now you can check if your wlan nic is ok and run command:

iw dev

and you should see couple of lines and one line should be “Interface wlan0”.

Now we can bring our wlan nic up with a command:

ip link set wlan0 up

and after that we can use our wireless nic to scan wireless networks around us to see which one to connect. You will probably get too many lines to fit on your screen so if you which network you are going to connect you don’t need to care about this at all.

Now we have to tell Linux which network we want to connect and what is the passphrase (password) of that network with command:

wpa_passphrase SSID >> /etc/wpa_supplicant.conf

And there change SSID to your network name. After hitting enter you will get empty line and here you need to write your passphrase (password) to connect to your wireless network. After you have wrote it to the screen and checked that it’s correct hit enter again.

Now we can check that those things are right one the file so run command:

cat /etc/wpa_supplicant.conf

And you should see lines like ssid=”SSID” where SSID is your network and line psk=”password” where password is your network password.
If you wrote something wrong just remove wpa_supplicant.conf file with command:

rm /etc/wpa_supplicant.conf

and run wpa_passphrase command again and it should work ok.

Now we want to connect to our network and we have to run command:

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf

You will get couple of “ioctl[SIOCSIWENCODEEXT]: Invalid argument” lines but it should still work ok.

Now we can check if we are connected to wireless network with command:

iw wlan0 link

and you should see line which start with “Connected to” if everything went ok.

Next we have to get IP-address and other settings from the network so we run:

dhclient wlan0

After that you can check that you really got the ip-address with command:

ip addr show wlan0

and you can also test if you are connected to network and can connect to your server/NAS using ping command:

ping 192.168.0.2

Were 192.168.0.2 is your server IP-address where you have your images. Normally I use to ping Google DNS 8.8.8.8 but because you don’t need to use internet when using Clonezilla we are only testing our connection to our server/NAS

If you get reply from your server then you can just write exit and hit enter:

exit

and you should be back to Clonezilla and continue like normally.

You don’t need to do all of these things but it’s good to check everything when you are doing this first time.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.