Page 1 of 1

ASAv no console

Posted: Mon Mar 20, 2017 4:43 am
by rhegg
I uploaded my images and i followed these commands below.


cd /opt/unetlab/addons/qemu/asav-941-200/

guestfish -a virtioa.qcow2
run
mount /dev/sda1 /
touch /use_ttyS0
umount /
exit


However i am not able to use command "guestfish" . When i start the ASAv i dont see any console. Can i get a bit of assistance please.

thanks

Re: ASAv no console

Posted: Mon Mar 20, 2017 4:50 am
by rhegg
this is the error i was getting.


-bash: guestfish: command not found
root@eve-ng:/opt/unetlab/addons/qemu/asav-941#

Re: ASAv no console

Posted: Mon Mar 20, 2017 6:59 am
by ecze
You'r right.

Before launching command , add libguestfs-tools...

Code: Select all

apt-get update
apt-get install libguestfs-tools
Ecze


PS: Thanks... Howto updated on web site !

Re: ASAv no console

Posted: Tue Mar 21, 2017 7:22 pm
by rhegg
Thank you very much for the Ecze for the help that got me trough the commands. However i am not getting any console still on the ASAv. Anyone experiencing this?

Re: ASAv no console

Posted: Tue Mar 21, 2017 9:19 pm
by vic1203
Rhegg, I was having the same issue to fix it you need to download the latest asav971 image and then follow the directions again for asav and it should then work.

Re: ASAv no console

Posted: Fri Mar 24, 2017 9:34 pm
by Uldis (UD)
ASAv HowTo is updated please check...

Re: ASAv no console

Posted: Wed Mar 29, 2017 12:25 pm
by Orifice
I have tested and it works, the "how to" just needs to be tweaked
Tested on the following :
asav-932-204
asav-941-200
asav-941-202
asav-951-203
asav-961

===========================
Installation - required only once
----------------------------------------
apt-get install libguestfs-tools
! *** you need to answer yes as below
y



======================================================
Run following commands to enable telnet access instead of vnc
change asav directory based on the image that you are using

--------------------------------------------------------------------------------
cd /opt/unetlab/addons/qemu/asav-932-204/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-941-200/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-941-202/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-951-203/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-961/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Re: ASAv no console

Posted: Wed Mar 29, 2017 11:30 pm
by Uldis (UD)

Re: ASAv no console

Posted: Mon Apr 03, 2017 7:38 pm
by rhegg
this solve my issues thanks for the help.

Re: ASAv no console

Posted: Wed Nov 29, 2017 7:13 pm
by jnc27
Orifice wrote:
Wed Mar 29, 2017 12:25 pm
I have tested and it works, the "how to" just needs to be tweaked
Tested on the following :
asav-932-204
asav-941-200
asav-941-202
asav-951-203
asav-961

===========================
Installation - required only once
----------------------------------------
apt-get install libguestfs-tools
! *** you need to answer yes as below
y



======================================================
Run following commands to enable telnet access instead of vnc
change asav directory based on the image that you are using

--------------------------------------------------------------------------------
cd /opt/unetlab/addons/qemu/asav-932-204/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-941-200/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-941-202/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-951-203/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions



cd /opt/unetlab/addons/qemu/asav-961/
guestfish -a virtioa.qcow2
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit
!
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

thanks for this... this has solved my issue