PIONEERS Raspivo: XiVO for Raspberry Pi

Discussion in 'Developers' Corner' started by hecatae, Jun 10, 2015.

  1. hecatae

    hecatae resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    660
    Likes Received:
    163
  2. TiJof

    TiJof New Member

    Joined:
    May 10, 2016
    Messages:
    4
    Likes Received:
    0
    If you want to test Xivo on a Raspberry Pi 2/3, you could test Raspivo.io
    It's a packaging of Xivo for ARM platform.

    The doc, in french (English outdated, I'll try to update during next week) http://www.raspivo.io/installation-depuis-nos-depots.html

    Feel freeto test at home, office ;)
     
  3. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    I've tried those French instructions several times on an RPi3, but always end up with it failing due to 403 Forbidden and Not Found errors when accessing:

    deb http://www.iris-network.fr/raspivo/raspberrypi3/latest jessie main
    deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
     
  4. TiJof

    TiJof New Member

    Joined:
    May 10, 2016
    Messages:
    4
    Likes Received:
    0
    It's because you use latest, you have to use the version number, for the last version today, use :
    deb http://www.iris-network.fr/raspivo/raspberrypi3/16.05 jessie main
    deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
     
  5. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    After setting /etc/apt/sources.list.d/irisnetwork.list to:

    deb http://www.iris-network.fr/raspivo/raspberrypi3/16.05 jessie main
    deb http://ftp.fr.debian.org/debian/ stable main contrib non-free

    and running:

    mkdir /var/lib/xivo/
    touch /var/lib/xivo/disabled
    apt-get install -y xivo --force-yes

    The response is:

    E: Unable to locate package xivo
     
  6. TiJof

    TiJof New Member

    Joined:
    May 10, 2016
    Messages:
    4
    Likes Received:
    0
  7. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    Oops! I did miss that.

    Installation is now proceeding, but I do see:

    W: GPG error: http://www.iris-network.fr jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3FC6A9B2ACDD4CF3
    W: GPG error: http://ftp.fr.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

    I'll report back whether the installation ultimately succeeds or fails.

    Thanks for the help!
     
  8. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    Installation appears to have completed successfully.

    When I access the Pi with Internet Explorer (11), I get a security certificate error. I proceeded anyway and went through the installation phase. When I got to the final step, clicking Validate didn't appear to do anything. After several refreshes and reattempts, it finally proceeded. It now presents a login screen, but entering the password I set doesn't get me in. There's no error message. It just sits there on the login screen. I also tried to accept/install your security certificate, but the warning doesn't go away.
     
  9. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    I did a fresh install and used Firefox this time. Firefox also complains about an invalid security certificate, so I had it make an exception so I could proceed.

    Everything went smoothly this time all the way through the installation/validation process, but I'm still unable to log in at the authentication screen that follows. I used the password I set on the second line and tried numerous things on the first line, including leaving the word 'Login' there. There's a little browser activity each time, but I'm left on the authentication screen.
     
  10. TiJof

    TiJof New Member

    Joined:
    May 10, 2016
    Messages:
    4
    Likes Received:
    0
    I didn't test with Internet Explorer the setup, but it should be working ... I just package the setup for ARM's processor, all the 'intelignce' is from Xivo devs.
     
  11. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    I now have a script that fully automates building a working XiVO system on a Raspberry Pi, but there are two issues:

    1:
    W: GPG error: http://www.iris-network.fr jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3FC6A9B2ACDD4CF3
    W: GPG error: http://ftp.fr.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

    2:
    Browsers (IE and Firefox tested) complain of an invalid security certificate when XiVO is accessed. IE also does not seem to get along with the final step of installation when the Validate button is clicked and installation does not appear to complete. With Firefox, everything progresses normally when the Validate button is clicked.
     
  12. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    TiJof,

    Using the following sequence:

    echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf
    apt-get -y install ncurses-term git curl apt-transport-https
    cat > /etc/apt/sources.list.d/irisnetwork.list << EOF
    deb http://www.iris-network.fr/raspivo/raspberrypi3/16.05 jessie main
    deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
    EOF
    apt-get -y update
    apt-get -y --force-yes install debian-archive-keyring
    apt-get -y update
    mkdir /var/lib/xivo/
    touch /var/lib/xivo/disabled
    apt-get -y --force-yes install xivo
    sed -i 's/ status)/ status)\n\texit 0/g' /etc/init.d/dahdi

    I have eliminated the following error:

    W: GPG error: http://ftp.fr.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

    The browser certificate error and the following error still remain:

    W: GPG error: http://www.iris-network.fr jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3FC6A9B2ACDD4CF3

    It appears there needs to be an apt-get of a missing iris-network.fr keyring to eliminate the remaining errors.

    Any pointers?

    Thanks,
    Ron
     
  13. arztde

    arztde Active Member

    Joined:
    Jan 4, 2014
    Messages:
    284
    Likes Received:
    25
    Try this:

    $ sudo -i
    # apt-get clean
    # cd /var/lib/apt
    # mv lists lists.old
    # mkdir -p lists/partial
    # apt-get clean
    # apt-get update

    Did you work this out?
    apt-get install debian-keyring
    gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
    gpg --armor --export 1F41B907 | apt-key add -
     
  14. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    I did exactly as you outlined, but no difference:

    apt-get update
    ...
    W: GPG error: http://www.iris-network.fr jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3FC6A9B2ACDD4CF3

    and browsers complain about an invalid security certificate when connecting to the Raspberry Pi running XiVo. IOW, absolutely no change.

    I've done dozens of fresh installs and the problem never changes.

    Thanks for the suggestion,
    Ron
     
  15. arztde

    arztde Active Member

    Joined:
    Jan 4, 2014
    Messages:
    284
    Likes Received:
    25
    @RPi-Fan i got this problem with my raspberri pi too and i did sort it out but realy forgot how i did solved it. the reason i have the raspberry pi since 2 weeks because after 2 years my beaglebone crashed. you should google the keywords and write in the normal help forum where are more that run debian. in this thread you will not find so much people that have the time.pbx in germany is not so much popular because of our different phone system. And theere we run Gemeinschaft 3 what is more easy to handle for us. I keep here because the developement sharing style i like and is more activity.in the forums. Main problem is that all 6 hours change the IP and providers run a dual stack lite and is more difficult to make your home network reachable because the ip adress is used the same time from hundreds of people. No port forwarding and other hints. Focus GPG error in google search is my suggestion.
     
  16. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    arztde,

    I have Googled the problem extensively with no useful results. If you have a link to the 'normal help forum' where I could post the problem (in English), it would be greatly appreciated. My discussion here was directed more toward @TiJof who stated he was the packager of the setup for ARM processors.

    Ron
     
  17. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    TiJof,

    I noticed that the Raspberry Pi installation instructions were updated yesterday and tried them, but there are still problems remaining:

    1. The PGP public key signature must be replaced with:

    ClePowa=3FC6A9B2ACDD4CF3 && gpg --keyserver pgpkeys.mit.edu --recv-key $ClePowa && gpg -a --export $ClePowa | apt-key add -

    in order to eliminate the following error:

    W: GPG error: http://www.iris-network.fr jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3FC6A9B2ACDD4CF3

    2. When logging into the Raspberry Pi with any browser, the browser still complains of an invalid security certificate.
     
  18. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
  19. RPi-Fan

    RPi-Fan Member

    Joined:
    Jun 8, 2014
    Messages:
    85
    Likes Received:
    13
    TiJof,

    Thank you for updating the Raspberry Pi installation instructions with the correct PGP public key signature.

    Now we just need to figure out what's causing browsers to complain about an invalid security certificate.

    Ron
     
  20. jerrm

    jerrm Guru

    Joined:
    Sep 23, 2015
    Messages:
    415
    Likes Received:
    159
    That's not a mystery really. Any self-signed cert will be complained about, unless created under a CA that you have imported as trusted.
     
    hecatae likes this.