bnetz(1)
β¨ NAME β¨
bnetz β bestie, it's the whole thing, and the docs live at http://osmocom-analog.eversberg.eu/docs/ π
okay so real talk: this page is from the General Commands Manual, section 1, and every single option below is here, no skips, no summarising, periodt. πΈ
π Global options π
-h,--helpβ the help. that's it. that's the option. π--config [~/]<path to config file>β hand it a config file to use. If it starts with~/, the path is relative to your home dir. Each line in the config file is one option, and you must NOT put-or--in there! Default:~/.osmocom/analog/bnetz.conf--no-configβ even if a config file exists, don't use it. nope. not today. π-v,--verbose <level> | <level>,<category>[,<category>[,...]] | listβ uselistto get a list of all levels and categories. Verbose level: a digit for the debug level (default =3). Verbose level + category: level digit followed by one or more categories -> if no category is specified, all categories are selected.-v,--verbose dateβ show the date with debug output ποΈ-k,--kanal <channel>/-k,--channel <channel>β channel (German = Kanal) number of the "Sender" (German = Transceiver)-a,--audio-device hw:<card>,<device>[/hw:<card>.<rec-device>]β sound card and device number (default =hw:0,0). You may specify a different recording device by using/. Don't set it for SDR!-s,--samplerate <rate>β sample rate of the sound device (default =48000)-i,--interval 0.1..25β interval of the processing loop in ms (default =1.0ms). Use10to drastically reduce CPU usage. In case of buffer underrun, increase the buffer accordingly.-b,--buffer <ms>β how many milliseconds are processed in advance (default =50). A buffer below 10 ms requires a low interval like0.1ms.-p,--pre-emphasisβ enable pre-emphasis, if you directly connect to the oscillator of the transmitter. (No pre-emphasis done by the transmitter.)-d,--de-emphasisβ enable de-emphasis, if you directly connect to the discriminator of the receiver. (No de-emphasis done by the receiver.)--rx-gain <dB>β raise/lower the receiver's RX level by the given gain in dB. (Works with sound card only.)--tx-gain <dB>β raise/lower the transmitter's RX level by the given gain in dB. (Works with sound card only.)-e,--echo-testβ use the echo test, to send back audio from the mobile phone's microphone to the speaker. (German: 'Blasprobe'). π€-c,--call-device hw:<card>,<device>[/hw:<card>.<rec-device>]β sound card and device number for the headset (default =''). You may specify a different recording device by using/.--call-samplerate <rate>β sample rate of the sound device for the headset (default =48000)--call-buffer <ms>β how many milliseconds are processed in advance (default =50)-x,--osmocc-crossβ enable built-in call forwarding between mobiles. Be sure to have at least one control channel and two voice channels. Alternatively use one combined control+voice channel and one voice channel.-o,--osmocc-sockβ disable built-in call control and offer a socket--cc "<osmo-cc arg>" [--cc ...]β pass arguments to the Osmo-CC endpoint. Use-cc helpfor description.--no-l16β disable the L16 (linear 16 bit) codec.-t,--tones 0 | 1β connect the call on setup/release to provide classic tones towards the fixed network (default =1)-l,--loopback <type>β loopback test:1= internal |2= external |3= echo-r,--realtime <prio>β set prio:0to disable,99for maximum (default =0)--fast-mathβ use fast math approximation for slow CPU / ARM based systems. π’β‘οΈπ--write-rx-wave <file>β write received audio to the given wave file.--write-tx-wave <file>β write transmitted audio to the given wave file.--read-rx-wave <file>β replace received audio by the given wave file.--read-tx-wave <file>β replace transmitted audio by the given wave file.--limesdrβ auto-select several required options for LimeSDR--limesdr-miniβ auto-select several required options for LimeSDR Mini
π‘ SDR options π‘
--sdr-soapyβ force the SoapySDR driver--sdr-channel <channel #>β give the channel number for a multi channel SDR device (default =0)--sdr-device-args <args>,--sdr-stream-args <args>,--sdr-tune-args <args>β optional SDR device arguments, separated by comma, e.g.--sdr-device-args <key>=<value>[,<key>=<value>[,...]]--sdr-samplerate <samplerate>β sample rate to use with SDR. By default it equals the regular sample rate.--sdr-lo-offset <Hz>β give a frequency offset in Hz to move the local oscillator away from the target frequency. (default =-1000000)--sdr-bandwidth <bandwidth>β give the IF filter bandwidth to use. If not, the sample rate is used.--sdr-rx-antenna <name>β the SDR device's RX antenna name, uselistto get a list--sdr-tx-antenna <name>β the SDR device's TX antenna name, uselistto get a list--sdr-clock-source <name>β the SDR device's clock source name, uselistto get a list--sdr-rx-gain <gain>β the SDR device's RX gain in dB (default =0.0)--sdr-tx-gain <gain>β the SDR device's TX gain in dB (default =0.0)--write-iq-rx-wave <file>β write received IQ data to the given wave file.--write-iq-tx-wave <file>β write transmitted IQ data to the given wave file.--read-iq-rx-wave <file>β replace received IQ data by the given wave file.--read-iq-tx-wave <file>β replace transmitted IQ data by the given wave file.--sdr-swap-linksβ swap RX and TX frequencies for loopback tests over the air. π--sdr-timestamps 1 | 0β use TX timestamps on UHD device. (default =1)
πΌ Network specific options πΌ
-G,--gfs <gruppenfreisignal> | <lat>,<lon>β Gruppenfreisignal1..9|19|10..18(default =2). Alternatively give the coordinates of your location, to find the closest base station. (e.g.--gfs 54.487291,9.069993) Or use--gfs listto get a list of all base station locations. πΊοΈ-G,--gfs 19β set to19in order to make the phone transmit at 100 mW instead of the full 15 Watts. If supported, the phone uses the channel with low power (Kanal kleiner Leistung).-M,--gebuehrenimpuls <secods> | -<seconds> | 0β send metering pulses every given number of seconds, or0to turn off. Pulses will be sent on outgoing calls only and only if the mobile station requests it. Use a negative value to force metering pulses for all calls. (default =20) If metering pulses are sent via the Osmo-CC interface, pulses are always sent, if the mobile station requests it. This overrides this option.-P,--paging tone | notone | positive | negative | <file>=<on>:<off>β send a tone, give a signal or write to a file when switching to channel 19. (paging the phone).tone,positive,negativeis sent on the second audio channel.tonesends a tone whenever channel 19 is switched.notonesends a tone whenever channel 19 is NOT switched.positivesends a positive signal for channel 19, else negative.negativesends a negative signal for channel 19, else positive. Example:/sys/class/gpio/gpio17/value=1:0writes a1to/sys/class/gpio/gpio17/valueto switching to channel 19 and a0to switch back. (default =tone)-S,--squelch <dB>β use the given RF level to detect loss of signal. When the signal gets lost and stays below this level, the connection is released. Useautoto do automatic noise floor calibration to detect loss. Only works with SDR! (disabled by default)station_id:β give 5 digits of station ID, so you don't need to enter it for every start of this application. Give 5 digits for the B-Netz number. You may use05xxxxxas prefix.
Press digits 0..9 and then the d key to dial towards a mobile station. Press the h key to hangup. Press the w key to toggle display of the RX wave form. Press the c key to toggle display of channel status. Press the m key to toggle display of the measurement value. Press the q key to toggle display of the RX I/Q vector. Press the s key to toggle display of the RX spectrum. Press the b key to remove the DC level.
keyboard main character energy fr fr β¨οΈβ¨
and yeah, here's what happens when you get it wrong, kept exactly as it comes out:
[0;33m[1;31mDOPTIONS[0;m[0;33m [1;31mERROR[0;m[0;33m options.c:302 Given command line option '--version' is not a valid option, use '-h' for help![0;m
π SEE ALSO π
The full documentation for DOPTIONS is maintained as a Texinfo manual. If the info and DOPTIONS programs are properly installed at your site, the command
info DOPTIONS
should give you access to the complete manual. π
and that's the whole page, bestie β from the General Commands Manual, bnetz(1), and the footer just says bnetz(1) right back at you π
π mwah, go page somebody π
π¦ where this page comes from
- debian trixie: osmocom-analog 0.0~git20250208.4ebf64f-1 Β· GPL-3.0-or-later
- ubuntu questing: osmocom-analog 0.0~git20250208.4ebf64f-1build1
- ubuntu resolute: osmocom-analog 0.0~git20250208.4ebf64f-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: osmocom-analog 0.0~git20251206.0c72677-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms