Binary Bird2 for EdgeRouter (EdgeOS, Debian 9, mips)
Marcin Dulinski
martin at dulin.me.uk
Fri Jul 31 19:23:43 CEST 2020
Hi Skyler,
I can see the problem you are using v.2.0.x so there is also different
version of libssh (for non-ssh)
You can quick fix without rebuild (not sure about stability) sed -i
"s/libreadline.so.6/libreadline.so.7/" /config/bird/sbin/birdc
Then you get:
ldd /config/bird/sbin/birdc
linux-vdso.so.1 (0x77f48000)
libreadline.so.7 => /lib/mipsel-linux-gnu/libreadline.so.7 (0x77ec6000)
libtinfo.so.5 => /lib/mipsel-linux-gnu/libtinfo.so.5 (0x77e95000)
libpthread.so.0 => /lib/mipsel-linux-gnu/libpthread.so.0 (0x77e68000)
libc.so.6 => /lib/mipsel-linux-gnu/libc.so.6 (0x77ce4000)
/lib/ld.so.1 => /lib64/ld.so.1 (0x77f17000)
The 2.0.x is based on:
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
I can try rebuild bird for new version.
Regards,
Martin
On 31/07/2020 17:13, Skyler Mäntysaari wrote:
> Hi Martin,
>
> Unfortunately, I cannot use those on v2.0.x.
>
> ./birdc: error while loading shared libraries: libreadline.so.6:
> cannot open shared object file: No such file or directory
>
> and no, there is none packages that provide that. :(
>
> On Fri, Jul 31, 2020, at 16:17, Marcin Dulinski wrote:
>>
>> Hi Skyler,
>>
>>
>> The EdgeOS v1.10.11 are based on debian wheezy. I know is legacy, but
>> in my case was more stable then EdgeOS v2.0.x when i tested on my
>> local ER X.
>>
>> libssh is required if you like to implement RPKI over SSH transport.
>> The standard libssh package is incompatible or not available so I
>> built all dependence: https://dulin.me.uk/bird/dep/
>>
>> Using 0.6.3-4 from Jessie
>> https://packages.debian.org/source/jessie/libssh (last release which
>> i could build looks like is not vulnerable)
>>
>>
>>
>> For checking status you can use:
>>
>> /config/bird/sbin/birdc show status
>>
>>
>>
>>
>>
>> Regards,
>>
>> Martin
>>
>> On 31/07/2020 13:47, Skyler Mäntysaari wrote:
>>> Hi Martin,
>>>
>>> I prefer to be able to use `systemctl bird status`, but thank you
>>> for the archives.
>>> I just need to do my own init script and it should work.
>>>
>>> Can you explain what are those "libssl" bird archives? What's the
>>> difference, except that it needs libssh to be installed?
>>>
>>> Regards,
>>> Skyler
>>>
>>> On Fri, Jul 31, 2020, at 15:33, Marcin Dulinski wrote:
>>>>
>>>> HI Skyler,
>>>>
>>>>
>>>> I wrote message based on your subject: 'Binary Bird2 for EdgeRouter
>>>> (EdgeOS, Debian 9, mips)'.
>>>>
>>>>
>>>> As far as i remember the filesystem on the EdgeOS is based on
>>>> squashfs images.
>>>>
>>>> In most cases they are read-only, or it keeps only data until
>>>> upgrade. So any modifications installation packages are generates
>>>> complex for future security patches / upgrades. Only /config
>>>> directory remains. This is the reason why i gave you tar archived
>>>> binaries. For my case this is much easier method for deployment.
>>>>
>>>> They are based on EdgeOS v1.10.11 which currently is used in my
>>>> production environment.
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Martin
>>>>
>>>> On 31/07/2020 12:59, Skyler Mäntysaari wrote:
>>>>> Hi,
>>>>>
>>>>> How do you use those archives? I'm trying to find deb packages.
>>>>>
>>>>> On Fri, Jul 31, 2020, at 14:31, Marcin Dulinski wrote:
>>>>>> Hi Skyler,
>>>>>>
>>>>>>
>>>>>> Here is my builds for edge max:
>>>>>>
>>>>>> https://dulin.me.uk/bird/builds/
>>>>>>
>>>>>>
>>>>>> Also added ansible playbook https://dulin.me.uk/bird/edgemax.yml
>>>>>> i never
>>>>>> remember which build version is correct for specific device.
>>>>>> Exploring
>>>>>> playbook you can check how to start it automatically using script:
>>>>>> https://dulin.me.uk/bird/01-bird.sh
>>>>>>
>>>>>>
>>>>>> For my build every configuration is stored in /config directory so in
>>>>>> the future you can upgrade firmware without any problems.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Martin
>>>>>>
>>>>>>
>>>>>> On 31/07/2020 12:05, Skyler Mäntysaari wrote:
>>>>>> > Dear list,
>>>>>> >
>>>>>> > Is there somewhere a repository where I can find a mips version
>>>>>> of Bird2?
>>>>>> > SID debian repository does not support mips architecture.
>>>>>> >
>>>>>> > Best regards,
>>>>>> > Skyler Mäntysaari
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Attachments:*
>>>>>>
>>>>>> * signature.asc
>>>>>>
>>>>
>>>> *Attachments:*
>>>>
>>>> * signature.asc
>>>>
>>>
>>
>> *Attachments:*
>>
>> * signature.asc
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200731/f976b96d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200731/f976b96d/attachment.sig>
More information about the Bird-users
mailing list