Tiny Core Linux
Tiny Core Base => Micro Core => Topic started by: chichita on March 28, 2020, 03: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
-
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.
-
i already installed ncursesw.tcz , it says that it's already installed ...
-
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.
-
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
-
Hi chichita
... bad address 'distro.ibiblio.org' ...
That's not a valid Tinycore repo address, this is:
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
http://tinycorelinux.net/10.x/x86/tcz/ncurses.tcz
for 64 bit
http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz
-
I'd also suggest you pm the quagga maintainer and request an update compiled against ncursesw.
-
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
-
Hi chichita
how can i use http://tinycorelinux.net/10.x/x86_64/tcz/ncurses.tcz please ? ...
Download it to your tce directory, then:
tce-load -i ncurses
If that fixes the missing library message, then add ncurses.tcz to your onboot.lst file.
-
how can i download it to my tce directory ? im sorry im a new to all of this
-
Hi chichita
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:
echo ncurses.tcz >> /etc/sysconfig/tcedir/onboot.lst
-
it says when i add it
wget: bad address 'tinycorelinux.net'
-
Hi chichita
I just tried it, and it works:
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:~$
-
here is a screenshot of what i get
-
You don't have internet properly setup (your DNS is failing to find the address).
-
how can i fix te DNS please ?
-
how can i fix this please ? how can i fix the DNS ?
-
Hi chichita
Check your /etc/resolv.conf file:
tc@E310:~$ cat /etc/resolv.conf
nameserver 192.168.1.1
nameserver 68.237.161.12
tc@E310:~$
The first entry is my routers LAN address.
The second entry is the name server run by my (ISP) Internet Service Provider.
Do not copy theses numbers. The router address may not be correct for your router. The second entry may not be appropriate
for your location.
-
this is what i get
i checked my router wifi address and its 192.168.1.1
what can i do to fix it ?
-
Hi chichita
Try this:
echo "nameserver 192.168.1.1" > /etc/resolv.conf
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
The second entry is one of Googles name servers.
-
i still get the same bad address message ...
is there an alternative to quagga ? since i can't make it work with vtysh as i get ibiblio.so.6 problem
i tried to download FRRouting or bird but this is the message i get
-
Hi chichita
What is that 192.168.101.254 address?
-
i don't know ; i think it's my eth2 address
-
Hi chichita
I don't know what to make of that. Maybe someone else can provide some ideas.
It's not a solution, but see if this gets you past the DNS issue for the time being:
wget 89.22.99.37/10.x/x86_64/tcz/ncurses.tcz
-
i don't know what to do :-\ :-\
another question : how can i run an ssh session so i can use the copy past option plz ?