I've downloaded the latest stable clonezilla and made a bootable usb using tuxboot, I've got clonezilla live version: 2.3.2-22-amd64 but I don't know whether I've got the debian version or the ubuntu version, it doesn't say anywhere. The problem is I don't know how to connect a wlan device to the network so I can do a network backup. I need to configure ssid and wep key but there's no option to do that. The machine is in a place where there is no ethernet port so I have to use wireless. I've searched on google but can't find any instructions on how you do this in clonezilla. Can anyone advise?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In this case, you have to manually configure your wireless network.
First you enter the command line prompt, then refer to some doc about how to do that in the command line prompt, e.g. http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/
Once you have finished the network configuration, you can type "exit" in the console 1 then the clonezilla live main menu will be shown again.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just wanted to say thanks to Steven Shiau for that link as it works well and I am using the newest Clonezilla v2.6.4-10. but since I am using older Wireless G router, the wireless is much slower and slows down the cloning process quite a bit, as it takes about 22min to finish on wireless vs a wired connection which takes less than 6 minutes with Clonezilla on same laptop/Clonezilla settings with only changing from WiFi to wired connection being the only difference. NOTE: I imaged Linux Mint v19.3-Xfce general setup on a laptop (HP2000 ; was 2GB with about 1.6GB of RAM usable but I currently have 8GB of RAM in it along with a 128GB SSD) which the basic install with some updates etc took 12GB of storage space on the SSD compressed down to about 2.8GB (I am not using the default compression options in Clonezilla but the 'pzstd' option on 'expert' settings instead).
but to help cut through the BS of that link (since it's fairly dailed but when you boil it down, the commands below are basically all one seems to really need), chances are many will only need to issue the following commands to get their WiFi working with Clonezilla which will help speed things up (and to state the obvious one presses the ENTER key on the keyboard after they type each line after the #)...
root@debian:~# wpa_passphrase SSID >> /etc/wpa_supplicant.conf
"ENTER YOUR WIRELESS PASSWORD" (without the ")
root@debian:~# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
root@debian:~# dhclient wlan0
root@debian:~# ping 8.8.8.8 (NOTE: if you get a response from it, your WiFi connection is working and you simply press CTRL+C to exit out of the ping test)
root@debian:~# exit
then Clonezilla's interface will come back up on screen (asking for the IP address of the computer running the Samba etc server) and then you proceed like usual.
NOTE: change 'SSID' above to whatever your routers SSID is. if your not sure, just issue the 'iw wlan0 scan' (without the ') before running any of the above commands as that will scan for WiFi connections and then you can find your SSID there. side note: but I already knew my SSID since I got DD-WRT (r41686(Dec 10th 2019)) setup on my old Wireless G router.
NOTE: the ping command is optional but I figured it's a good idea to do that just to make sure your WiFi is working with Clonezilla before proceeding.
NOTE: if by some chance you accidentally enter the wrong password you can fix it and retry by issuing the following command... "rm /etc/wpa_supplicant.conf" (without the ") and then just press up/down on your keyboard to cycle through your previous commands as this will save a bit of time manually retyping things. because I noticed when I initially messed up entering my WiFi password, I just issued the wpa_passphrase SSID command again and it just enters additional info below your initial wrong password and does not seem to help since only the initial wrong password entered seems to take effect (as you can view using "cat /etc/wpa_supplicant.conf" (without the ") ; which shows your multiple attempts and it seems only the first one took effect and you need to clear it and start from scratch which is where that 'rm' command (which just 'removes' a file) comes into play).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I realize this thread is pretty old, but I haven't found any more recent information...
I am using clonezilla-live-20210609-hirsute-amd64. I am able to boot into the command line and activate my WiFi by following the steps mentioned above. I can then exit the shell and continue in the live menu.
This works, but it requres a lot of typing and manual work every time I need to save/restore an image and so i would like to automate it. I have tried using ocs_preload, like this:
I've downloaded the latest stable clonezilla and made a bootable usb using tuxboot, I've got clonezilla live version: 2.3.2-22-amd64 but I don't know whether I've got the debian version or the ubuntu version, it doesn't say anywhere. The problem is I don't know how to connect a wlan device to the network so I can do a network backup. I need to configure ssid and wep key but there's no option to do that. The machine is in a place where there is no ethernet port so I have to use wireless. I've searched on google but can't find any instructions on how you do this in clonezilla. Can anyone advise?
In this case, you have to manually configure your wireless network.
First you enter the command line prompt, then refer to some doc about how to do that in the command line prompt, e.g.
http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/
Once you have finished the network configuration, you can type "exit" in the console 1 then the clonezilla live main menu will be shown again.
Steven.
I just wanted to say thanks to Steven Shiau for that link as it works well and I am using the newest Clonezilla v2.6.4-10. but since I am using older Wireless G router, the wireless is much slower and slows down the cloning process quite a bit, as it takes about 22min to finish on wireless vs a wired connection which takes less than 6 minutes with Clonezilla on same laptop/Clonezilla settings with only changing from WiFi to wired connection being the only difference. NOTE: I imaged Linux Mint v19.3-Xfce general setup on a laptop (HP2000 ; was 2GB with about 1.6GB of RAM usable but I currently have 8GB of RAM in it along with a 128GB SSD) which the basic install with some updates etc took 12GB of storage space on the SSD compressed down to about 2.8GB (I am not using the default compression options in Clonezilla but the 'pzstd' option on 'expert' settings instead).
but to help cut through the BS of that link (since it's fairly dailed but when you boil it down, the commands below are basically all one seems to really need), chances are many will only need to issue the following commands to get their WiFi working with Clonezilla which will help speed things up (and to state the obvious one presses the ENTER key on the keyboard after they type each line after the #)...
root@debian:~# wpa_passphrase SSID >> /etc/wpa_supplicant.conf
"ENTER YOUR WIRELESS PASSWORD" (without the ")
root@debian:~# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
root@debian:~# dhclient wlan0
root@debian:~# ping 8.8.8.8 (NOTE: if you get a response from it, your WiFi connection is working and you simply press CTRL+C to exit out of the ping test)
root@debian:~# exit
then Clonezilla's interface will come back up on screen (asking for the IP address of the computer running the Samba etc server) and then you proceed like usual.
NOTE: change 'SSID' above to whatever your routers SSID is. if your not sure, just issue the 'iw wlan0 scan' (without the ') before running any of the above commands as that will scan for WiFi connections and then you can find your SSID there. side note: but I already knew my SSID since I got DD-WRT (r41686(Dec 10th 2019)) setup on my old Wireless G router.
NOTE: the ping command is optional but I figured it's a good idea to do that just to make sure your WiFi is working with Clonezilla before proceeding.
NOTE: if by some chance you accidentally enter the wrong password you can fix it and retry by issuing the following command... "rm /etc/wpa_supplicant.conf" (without the ") and then just press up/down on your keyboard to cycle through your previous commands as this will save a bit of time manually retyping things. because I noticed when I initially messed up entering my WiFi password, I just issued the wpa_passphrase SSID command again and it just enters additional info below your initial wrong password and does not seem to help since only the initial wrong password entered seems to take effect (as you can view using "cat /etc/wpa_supplicant.conf" (without the ") ; which shows your multiple attempts and it seems only the first one took effect and you need to clear it and start from scratch which is where that 'rm' command (which just 'removes' a file) comes into play).
Hi,
I realize this thread is pretty old, but I haven't found any more recent information...
I am using clonezilla-live-20210609-hirsute-amd64. I am able to boot into the command line and activate my WiFi by following the steps mentioned above. I can then exit the shell and continue in the live menu.
This works, but it requres a lot of typing and manual work every time I need to save/restore an image and so i would like to automate it. I have tried using ocs_preload, like this:
ocs_preload1="echo MyPassword|wpa_passphrase MySSID > /etc/wpa_supplicant.conf" ocs_preload2="wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf" ocs_preload3="dhclient wlan0"but this does not work. Does anyone know how this could be achieved?
So if you accept to use TUI to configure it, you can try to run:
Steven