OpenBTS: E110 Bekerja dengan opkg

From SpeedyWiki

Jump to: navigation, search

Nampaknya E110 menggunakan opkg untuk instalasi software / aplikasi.

Contents

[edit] 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

[edit] 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

[edit] Update source list

Pastikan ada sambungan yang baik ke Internet. Lakukan

opkg update

Butuh waktu beberapa lama untuk memperoleh semua isi.

[edit] 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

[edit] Menginstalasi Aplikasi

Misalnya

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


[edit] Meremove Aplikasi

Misalnya

opkg remove aplikasi

[edit] 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*'

[edit] Referensi

[edit] Pranala Menarik

[edit] Persiapan

[edit] Script

[edit] OpenBTS 2.6

[edit] OpenBTS 2.8

[edit] Multi OpenBTS 2.8

[edit] OpenBTS 3.1.x

[edit] Ettus E110

[edit] Ettus N210

[edit] RangeNetworks

[edit] GPRS

[edit] Briker OpenBTS

[edit] FreeSWITCH OpenBTS

[edit] Power Amplifier

[edit] Lain Lain

[edit] Catatan Legal dan Pendukung

[edit] Catatan Sejarah

[edit] Dokumentasi Video

[edit] Perjuangan OpenBTS

Personal tools