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

issue running unpack_repack_bin.sh #14

Open
darrellg78 opened this issue Sep 26, 2019 · 4 comments
Open

issue running unpack_repack_bin.sh #14

darrellg78 opened this issue Sep 26, 2019 · 4 comments

Comments

@darrellg78
Copy link

I get the following error. and do not know how to source env.sh, can you point me in the right direction?

error:
[unpack_repack_bin] This tool relies on env.sh which has not been sourced

Thanks
Darrell

@fidgetingbits
Copy link
Collaborator

Type source env.sh from the command line. The env.sh script sets a bunch of environment variables, so you want to use that same shell to run the tools, as they expect these variables to be set. If you use a new shell, you will have to source env.sh again in the new shell.

@darrellg78
Copy link
Author

tried that, but I was running slax in a vm, will try and get ubuntu going tomorrow and see if I have better results. thanks for the reply!

@darrellg78
Copy link
Author

Got it to run, extracted the rootfs image and turned it into a qcow2 file. Still cant get it to run in eve-ng...

@fidgetingbits
Copy link
Collaborator

If you show what the problem was with getting the scripts to work and how you fixed it we can document it somewhere in the repo to help others.

I've never heard of eve-ng, but it looks like it's also built on qemu. We only ever used GNS3. The official qcow2 firmware files provided by cisco appeared to have driver/kernel modifications that let them run in an emulated environment, whereas running a .bin firmware wrapping the raw contents inside a qcow2 we never had working fully in GNS3 either I think. There would always be at least some broken functionality like no network, etc.

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

3 participants