BIGIP telnet modprobe nbd
Posted: Fri Oct 12, 2018 9:35 am
Hi all,
I did a few searches for this topic before posting, but didn't find anything.
I've set up a bigip v12 set up in eve-ng. VNC works, telnet does not.
With telnet, I get a weird issue where it overwrites the previous line when using the cursor keys... if anyone could tell me what is happening there, I would be very interested!
So onto my problem:
http://www.eve-ng.net/documentation/how ... d-f5-bigip has instructions at the bottom of the article for "Making F5 working with telnet instead of vnc:"
------------------------------------------------------------
cd /opt/unetlab/addons/qemu/bigip-xxxx
rmmod nbd
modprobe nbd max_part=16
/opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2
mount /dev/nbd0p1 /mnt/
sed -e 's/ \(console=tty0 \)\([^c]\)/ \1 console=ttyS0 \2/' -e 's/\(^splashimage.*\)/#\1\nserial --unit=0 --speed=9600\nterminal --timeout=8 console serial\n/' -i /mnt/grub/grub.conf
umount /mnt/
/opt/qemu/bin/qemu-nbd -d /dev/nbd0
rmmod nbd
------------------------------------------------------------
I have an issue with the following command, "/opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2".
From what I can understand, I'm mounting the qcow2 to the first partition I created, i.e. nbd0.
However, eve-ng does not find hda.qcow2 in the directory, the only files it contains are virtioa.qcow2 & virtiob.qcow2. These are moved there earlier on in the process of getting the bigip set up in eve-ng:
mv virtioa.qcow2 /opt/unetlab/addons/qemu/bigip-11.6.0
mv virtiob.qcow2 /opt/unetlab/addons/qemu/bigip-11.6.0
I think I am missing something obvious. Please can anyone help me?
Thanks and best wishes,
Heinzford.
I did a few searches for this topic before posting, but didn't find anything.
I've set up a bigip v12 set up in eve-ng. VNC works, telnet does not.
With telnet, I get a weird issue where it overwrites the previous line when using the cursor keys... if anyone could tell me what is happening there, I would be very interested!
So onto my problem:
http://www.eve-ng.net/documentation/how ... d-f5-bigip has instructions at the bottom of the article for "Making F5 working with telnet instead of vnc:"
------------------------------------------------------------
cd /opt/unetlab/addons/qemu/bigip-xxxx
rmmod nbd
modprobe nbd max_part=16
/opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2
mount /dev/nbd0p1 /mnt/
sed -e 's/ \(console=tty0 \)\([^c]\)/ \1 console=ttyS0 \2/' -e 's/\(^splashimage.*\)/#\1\nserial --unit=0 --speed=9600\nterminal --timeout=8 console serial\n/' -i /mnt/grub/grub.conf
umount /mnt/
/opt/qemu/bin/qemu-nbd -d /dev/nbd0
rmmod nbd
------------------------------------------------------------
I have an issue with the following command, "/opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2".
From what I can understand, I'm mounting the qcow2 to the first partition I created, i.e. nbd0.
However, eve-ng does not find hda.qcow2 in the directory, the only files it contains are virtioa.qcow2 & virtiob.qcow2. These are moved there earlier on in the process of getting the bigip set up in eve-ng:
mv virtioa.qcow2 /opt/unetlab/addons/qemu/bigip-11.6.0
mv virtiob.qcow2 /opt/unetlab/addons/qemu/bigip-11.6.0
I think I am missing something obvious. Please can anyone help me?
Thanks and best wishes,
Heinzford.