I believe you can assign boot parameters:
ethdevice-timeout=5 for example, i.e., set it as 5 secs.
ethdevice-max-loop=3 for example, i.e., set it only 3 loops.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Additionally, I am using this method to SSH into the client machine for configuration and installation purposes. However, I have encountered an intermittent issue where sometimes I am unable to SSH into the client machine.
Oh, it's a typo. Not ethdevice-max-loop, it should be: ethdev-dhcp-max-loop
While ethdevice-timeout should work for you, right?
BTW, which version of Clonezilla live did you use?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Thanks! I hope I can edit this in the future." -> Maybe we can patch live-boot to make it. I added this feature to the wishlist.
"I have been facing an occasional problem where occasionally I cannot establish an SSH connection with the client machine." -> Is this issue reproducible in Clonezilla live >= 3.2.2-10 or 20250604-*? https://clonezilla.org/downloads.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all:
Can I reduce the time for link to come up?
Can I reduce the number of attempts?
Version: latest Clonezilla live
Boot by pxe
thanks
Mike
I believe you can assign boot parameters:
ethdevice-timeout=5 for example, i.e., set it as 5 secs.
ethdevice-max-loop=3 for example, i.e., set it only 3 loops.
Thanks for the reply.
But this still remains unchanged.
The code I'm running on the server is:
Then run the client through PXE.
This is the GRUB configuration of the client:
Additionally, I am using this method to SSH into the client machine for configuration and installation purposes. However, I have encountered an intermittent issue where sometimes I am unable to SSH into the client machine.
Error :
clonezilla@192.168.2.22: Permission denied (publickey).
When I run systemctl restart ssh on the client machine, I can successfully SSH into the client machine.
Oh, it's a typo. Not ethdevice-max-loop, it should be: ethdev-dhcp-max-loop
While ethdevice-timeout should work for you, right?
BTW, which version of Clonezilla live did you use?
thanks
I noticed that the timeout and maximum DHCP loop have been changed, but it still takes 15 seconds for the link to come up on eth1.
version: 20250303-oracular-amd64
Oh, what you meant was the max time (secs) for detecting the NIC link is up or not. The 15 secs is hardcoded in the program:
https://salsa.debian.org/live-team/live-boot/-/blob/master/components/9990-select-eth-device.sh?ref_type=heads
If you are sure which NIC is used for your PXE booting to fetch the root file (filesystem.squashfs), you can just assign it by, for example:
ethdevice=eth0
Thanks! I hope I can edit this in the future.
BTW, I have been facing an occasional problem where occasionally I cannot establish an SSH connection with the client machine.
Error:
clonezilla@192.168.2.22: Permission denied (publickey).
When I run "systemctl restart ssh" on the client machine, I can successfully SSH into the client machine.
"Thanks! I hope I can edit this in the future." -> Maybe we can patch live-boot to make it. I added this feature to the wishlist.
"I have been facing an occasional problem where occasionally I cannot establish an SSH connection with the client machine." -> Is this issue reproducible in Clonezilla live >= 3.2.2-10 or 20250604-*?
https://clonezilla.org/downloads.php