Network from Scratch on Gentoo: Official Support

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jason A. Donenfeld Jason at zx2c4.com
Sun Apr 27 11:09:03 UTC 2014


FWIW, here's a simple little start-up script to get a nice looking tmux
session with everything running.

#!/bin/sh

config_dir="$(readlink -f "$(dirname "$0")")"
openbsc_config="$config_dir/open-bsc.cfg"
osmobts_config="$config_dir/osmo-bts.cfg"
hlr_db="$config_dir/hlr.sqlite3"
window_title="GSM"

tmux new-session -s "$window_title" -n close-me -d

tmux new-window -n OpenBSC -t "$window_title"
tmux send-keys -t OpenBSC "osmo-nitb -c '$openbsc_config' -l '$hlr_db' \
-P -C --debug=DRLL:DCC:DMM:DRR:DRSL:DNM" Enter

tmux new-window -n OsmoBTS -t "$window_title"
tmux send-keys "osmobts-trx -c '$osmobts_config'" Enter

tmux new-window -n OsmoTRX -t "$window_title"
tmux send-keys "osmo-trx" Enter

tmux new-window -n BSC-Control -t "$window_title"
tmux send-keys -t BSC-Control "telnet localhost 4242" enter

tmux new-window -n BTS-Control -t "$window_title"
tmux send-keys -t BTS-Control "telnet localhost 4241" enter

tmux set-option -t "$window_title" status on
tmux kill-window -t close-me
tmux select-window -t OpenBSC
tmux attach -t "$window_title"




More information about the OpenBSC mailing list