Page 1 of 1

BIGIP telnet modprobe nbd

Posted: Fri Oct 12, 2018 9:35 am
by heinzford
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.

Re: BIGIP telnet modprobe nbd

Posted: Fri Oct 12, 2018 5:59 pm
by Uldis (UD)
Actually VNC is enought to get up management IP and rest to do from GUI

Uldis

Re: BIGIP telnet modprobe nbd

Posted: Sun Oct 14, 2018 9:20 am
by heinzford
Hi Uldis,

Thanks for your reply.

Ideally I would like to configure my lab eve-ng F5 from CLI via a telnet connection. At my work we mainly configure the F5s from CLI.

Any suggestions would be gratefully received.


Best wishes,
Heinzford

Re: BIGIP telnet modprobe nbd

Posted: Sun Oct 14, 2018 3:23 pm
by Uldis (UD)

Re: BIGIP telnet modprobe nbd

Posted: Thu Nov 08, 2018 9:18 pm
by axerontios
Yea i had the same problem as well, gui is nice tough CLI is a must. if you work on an F5s in a scale CLI is the only way btw ;)
If anyone have an idea and made this work it would be great to share

thanks :)