OpenBTS: E110 Bekerja dengan opkg

From OnnoWiki
Revision as of 06:00, 11 March 2014 by Onnowpurbo (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nampaknya E110 menggunakan opkg untuk instalasi software / aplikasi.

Source List untuk opkg

Source List untuk opkg yang digunakan di OpenBTS E110 dapat dilihat dalam file yang ada di folder

/etc/opkg/

arah sources adalah

Script untuk copy source list opkg

Edit file di PC misalnya

cd ~/Downloads
vi ambilangstrimrepo.sh

Isi dengan

wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/base
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/debug
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/gstreamer
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/all
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/perl
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/python
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/sdk
wget -c --level=1 -r -p -U Mozilla http://feeds.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/machine/usrp-e1xx

Save & berikan permission utk di run

chmod 777 ambilangstrimrepo.sh

Menjalankan dengan

cd ~/Downloads
./ambilangstromrepo.sh

Update source list

Pastikan ada sambungan yang baik ke Internet. Lakukan

opkg update

Butuh waktu beberapa lama untuk memperoleh semua isi.

Mencari aplikasi

Gunakan misalnya mencari osip

opkg list | grep osip

Keluar

libosip2-3 - 3.1.0-r0.9 - Session Initiation Protocol (SIP) library
libosip2-dbg - 3.1.0-r0.9 - Session Initiation Protocol (SIP) library
libosip2-dev - 3.1.0-r0.9 - Session Initiation Protocol (SIP) library
libosip2-doc - 3.1.0-r0.9 - Session Initiation Protocol (SIP) library
libosip2-static - 3.1.0-r0.9 - Session Initiation Protocol (SIP) library

Contoh lain

opkg list | grep ortp

Akan keluar misalnya

libortp-dbg - 0.13.1-r1.0.9 - An LGPL implementation of RTP - RFC3550
libortp-dev - 0.13.1-r1.0.9 - An LGPL implementation of RTP - RFC3550
libortp-static - 0.13.1-r1.0.9 - An LGPL implementation of RTP - RFC3550
libortp5 - 0.13.1-r1.0.9 - An LGPL implementation of RTP - RFC3550

Menginstalasi Aplikasi

Misalnya

opkg install libosip2-3 libosip2-dev libortp5 libortp-dev


Meremove Aplikasi

Misalnya

opkg remove aplikasi

Cara Menggunakan

usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
    update     Update list of available packages
    upgrade    Upgrade installed packages
    install    Install package(s)
    configure  Configure unpacked package(s)
    remove     Remove package(s)
    flag       Flag package(s)
     =hold|noprune|user|ok|installed|unpacked (one per invocation)  

Informational Commands:
    list            List available packages
    list-installed  List installed packages
    list-upgradable List installed and upgradable packages
    files           List files belonging to 
    search          List package providing 
    info [pkg|regexp]    Display all info for 
    status [pkg|regexp]  Display all status for 
    download             Download  to current directory
    compare-versions   
                        compare versions using = = 
    print-architecture   List installable package architectures
    whatdepends [-A] [pkgname|pat]+
    whatdependsrec [-A] [pkgname|pat]+
    whatprovides [-A] [pkgname|pat]+
    whatconflicts [-A] [pkgname|pat]+
    whatreplaces [-A] [pkgname|pat]+

Options:
    -A              Query all packages not just those installed
    -V[]            Set verbosity level to .
    --verbosity[=]  Verbosity levels:
                      0 errors only
                      1 normal messages (default)
                      2 informative messages
                      3 debug
                      4 debug level 2
    -f              Use  as the opkg configuration file
    --conf 
    --cache         Use a package cache
    -d              Use  as the the root directory for
    --dest          package installation, removal, upgrading.
                    should be a defined dest name from
                    the configuration file, (but can also be a
                    directory name in a pinch).
    -o              Use  as the root directory for
    --offline-root  offline installation of packages.  

Force Options:
    --force-depends      Install/remove despite failed dependencies
    --force-maintainer   Overwrite preexisting config files
    --force-reinstall    Reinstall package(s)
    --force-overwrite    Overwrite files from other package(s)
    --force-downgrade    Allow opkg to downgrade packages
    --force-space        Disable free space checks
    --noaction           No action -- test only
    --download-only      No action -- download only
    --nodeps             Do not follow dependencies
    --force-removal-of-dependent-packages
                Remove package and all dependencies
    --autoremove         Remove packages that were installed
                         automatically to satisfy dependencies
    -t                   Specify tmp-dir.
    --tmp-dir            Specify tmp-dir. 

regexp could be something like 'pkgname*' '*file*' or similar
e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'

Referensi

Pranala Menarik

Persiapan

Script

OpenBTS 2.6

OpenBTS 2.8

Multi OpenBTS 2.8

OpenBTS 3.1.x

Ettus E110

Ettus N210

RangeNetworks

GPRS

Briker OpenBTS

FreeSWITCH OpenBTS

Power Amplifier

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah

Dokumentasi Video

Perjuangan OpenBTS