Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/tmp/gns3/bin/udhcpc not found on Network Automation appliance #2436

Closed
KienHoSD opened this issue Nov 3, 2024 · 4 comments
Closed

/tmp/gns3/bin/udhcpc not found on Network Automation appliance #2436

KienHoSD opened this issue Nov 3, 2024 · 4 comments

Comments

@KienHoSD
Copy link

KienHoSD commented Nov 3, 2024

After trying to get an IP from DHCP with network configuration, I still can not get an IP and I found out another problem after that is udhcpc not appear to be in the /tmp/gns3/bin folder. Thanks to everyone who try to help me with this problem.

root@NetworkAutomation:~# find / -name "*udhcpc*"
/gns3/etc/udhcpc
/gns3/bin/udhcpc
root@NetworkAutomation:~# /gns3/bin/udhcpc
/gns3/bin/udhcpc: exec: line 15: /tmp/gns3/bin/udhcpc: not found
root@NetworkAutomation:~# ls /tmp/gns3/bin
linuxrc

OS: Debian 12 (Bookworm)
GNS3: version 2.50
GNS3 VM: version 2.50
VMware: Workstation 17 Pro

All the appliances have been updated.

@grossmj
Copy link
Member

grossmj commented Nov 4, 2024

Do you have this problem with other Docker images?

What is the content of this directory? ls -la ~/.local/share/GNS3/docker/bin/

@KienHoSD
Copy link
Author

KienHoSD commented Nov 4, 2024

❯ ls -la ~/.local/share/GNS3/docker/bin/
total 1948
drwxr-xr-x 2 kienho kienho    4096 Nov  2 19:01 .
drwxr-xr-x 4 kienho kienho    4096 Nov  2 19:01 ..
-rwxr-xr-x 1 kienho kienho 1982256 Apr 24  2023 busybox
-rwxr-xr-x 1 kienho kienho     323 Nov  2 19:01 udhcpc

udhcpc does appear in my computer. But others docker images (UbuntuDockerGuest) also not have udhcpc in its /tmp/gns3/bin directory.

root@UbuntuDockerGuest-1:~# ls /tmp/gns3/bin
linuxrc

Do you have this problem with other Docker images?

What is the content of this directory? ls -la ~/.local/share/GNS3/docker/bin/

@grossmj
Copy link
Member

grossmj commented Nov 4, 2024

Looks like the problem is due to another issue: #2431

This will be fixed in our next release. In the meantime, please edit ~/.local/share/GNS3/docker/init.sh and change busybox --list to busybox --list-full

Let me know this solves the issue.

@KienHoSD
Copy link
Author

KienHoSD commented Nov 4, 2024

I did edit ~/.local/share/GNS3/docker/init.sh and change busybox --list-full to busybox --list and now its working! Thanks you for the answer!

@KienHoSD KienHoSD closed this as completed Nov 4, 2024
@KienHoSD KienHoSD reopened this Nov 4, 2024
@KienHoSD KienHoSD closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants