WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Quagga Vtysh  (Read 10452 times)

Offline chichita

  • Newbie
  • *
  • Posts: 20
Quagga Vtysh
« on: March 28, 2020, 12:48:27 PM »
Hello,
in installed quagga with this following instructions but whenever i type vtysh i get this message " vtysh: error while loading shared libraries : libtinfo.so.6 : cannot open shared object file : No such file or directory "
what can i do please ?


tce-load -wi quagga

 sudo su
# echo "password quagga" > /usr/local/etc/quagga/zebra.conf
# echo "password quagga" > /usr/local/etc/quagga/vtysh.conf
# echo "password quagga" > /usr/local/etc/quagga/ripd.conf
# echo "password quagga" > /usr/local/etc/quagga/ripngd.conf
# echo "password quagga" > /usr/local/etc/quagga/ospfd.conf
# echo "password quagga" > /usr/local/etc/quagga/ospf6d.conf
# echo "password quagga" > /usr/local/etc/quagga/bgpd.conf
# echo "password quagga" > /usr/local/etc/quagga/isisd.conf
# echo "password quagga" > /usr/local/etc/quagga/babeld.conf

 sudo su
# echo "/usr/local/sbin/zebra -u root -d -f /usr/local/etc/quagga/zebra.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/ripd -u root -d -f /usr/local/etc/quagga/ripd.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/ripngd -u root -d -f /usr/local/etc/quagga/ripngd.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/ospfd -u root -d -f /usr/local/etc/quagga/ospfd.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/ospf6d -u root -d -f /usr/local/etc/quagga/ospf6d.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/bgpd -u root -d -f /usr/local/etc/quagga/bgpd.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/isisd -u root -d -f /usr/local/etc/quagga/isisd.conf" >> /opt/bootlocal.sh
# echo "/usr/local/sbin/babeld -u root -d -f /usr/local/etc/quagga/babeld.conf" >> /opt/bootlocal.sh

echo "/usr/local/etc/quagga" >> /opt/.filetool.lst
/usr/bin/filetool.sh -b


Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #1 on: March 28, 2020, 01:53:41 PM »
Hi chichita
... error while loading shared libraries : libtinfo.so.6 : cannot open shared object file : No such file or directory ...
libtinfo.so.6  is in  ncurses.tcz.  quagga.tcz  lists  ncursesw.tcz  as a dependency, which does not include  libtinfo.so.6.
If you are running TC10, you can try installing  ncurses.  That extension is not present in TC11.


Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #2 on: March 28, 2020, 02:54:44 PM »
i already installed ncursesw.tcz , it says that it's already installed ...

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #3 on: March 28, 2020, 05:08:50 PM »
Hi chichita
libtinfo.so.6  is in  ncurses.tcz.  quagga.tcz  lists  ncursesw.tcz  as a dependency, which does not include  libtinfo.so.6.
If you are running TC10, you can try installing  ncurses.  That extension is not present in TC11.

TC10 has both  ncurses.tcz  and  ncursesw.tcz.  Notice the different spelling.

Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #4 on: March 29, 2020, 12:12:32 PM »
i get an error when i load
tce-load -wi ncurses.tcz
bad address 'distro.ibiblio.org'
md5sum: ncurses.tcz.md5.txt: no such file or directory

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #5 on: March 29, 2020, 05:54:27 PM »
Hi chichita
... bad address 'distro.ibiblio.org' ...
That's not a valid Tinycore repo address, this is:
Code: [Select]
http://distro.ibiblio.org/tinycorelinux/Check your  /opt/tcemirror  file and correct it if necessary.

You also don't mention whether you are running TC10 or TC11. Whether you are running 32 or 64 bit.
If you are running TC10, you can use  tce-load.

If you are running TC11 and want to try the TC10 extension, then:

for 32 bit
Code: [Select]
http://tinycorelinux.net/10.x/x86/tcz/ncurses.tcz
for 64 bit
Code: [Select]
http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Quagga Vtysh
« Reply #6 on: March 29, 2020, 10:11:38 PM »
I'd also suggest you pm the quagga maintainer and request an update compiled against ncursesw.

Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #7 on: March 30, 2020, 04:12:42 PM »
how can i use http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz please ?
and what is the command line to activated zebra,ospf.... and vtysh ?
thanks

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #8 on: March 30, 2020, 05:14:07 PM »
Hi chichita
how can i use http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz please ? ...
Download it to your  tce  directory, then:
Code: [Select]
tce-load -i ncurses
If that fixes the  missing library  message, then add  ncurses.tcz  to your  onboot.lst  file.

Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #9 on: March 31, 2020, 07:55:51 AM »
how can i download it to my tce directory ? im sorry im a new to all of this

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #10 on: March 31, 2020, 08:24:10 AM »
Hi chichita
Code: [Select]
cd  /etc/sysconfig/tcedir/optional
wget http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz

If it works for you, then add it to your onboot.lst  file:
Code: [Select]
echo ncurses.tcz >> /etc/sysconfig/tcedir/onboot.lst

Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #11 on: March 31, 2020, 09:13:41 AM »
it says when i add it
 wget: bad address 'tinycorelinux.net'

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Quagga Vtysh
« Reply #12 on: March 31, 2020, 09:22:15 AM »
Hi chichita
I just tried it, and it works:
Code: [Select]
tc@box:~$ wget http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz
--2020-03-31 12:19:35--  http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz
Resolving tinycorelinux.net... 89.22.99.37
Connecting to tinycorelinux.net|89.22.99.37|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 200704 (196K) [text/plain]
Saving to: `ncurses.tcz'

100%[======================================>] 200,704      540K/s   in 0.4s   

2020-03-31 12:19:35 (540 KB/s) - `ncurses.tcz' saved [200704/200704]

tc@box:~$

Offline chichita

  • Newbie
  • *
  • Posts: 20
Re: Quagga Vtysh
« Reply #13 on: March 31, 2020, 09:31:46 AM »
here is a screenshot of what i get

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Quagga Vtysh
« Reply #14 on: March 31, 2020, 09:41:07 AM »
You don't have internet properly setup (your DNS is failing to find the address).
The only barriers that can stop you are the ones you create yourself.