cnetz_magnetic(1)
β¨ NAME β¨
cnetz_magnetic β bestie, it's the C-Netz magnetic card simulator π³β¨, and its whole documentation home lives at http://osmocom-analog.eversberg.eu/docs/ π«Ά
This is a section 1 page from the General Commands Manual β you know, the big book of "just type it and it runs" commands. π
π SYNOPSIS π
cnetz_magnetic [options] -a hw:0,0 <number> | service
So likeβ¦ you hand it some options, you tell it where your audio is coming in with -a hw:0,0, and then you either give it a number or the word service. That's the whole vibe. πΈ
π General options
π General options
-h --helpβ the classic. Prints this help. That's it, that's the option. π«Ά--config [~/]<path to config file>β point it at a config file to use. If the path starts with~/, the file lives in your home dir π . Every single line in that config file is one option, and ngl β you must not write-or--in there. Just the option, bare. Periodt.-v --verbose <level> | <level>,<category>[,<category>[,...]] | listβ the chatter dial π£οΈ. Throwlistat it and it'll give you every level and category that exists. With just a level: it's a digit for the debug level, and the default is3. With level plus categories: you give the level digit first, then one or more categories after it β and if you don't name any category, all the categories get selected. Slay, everything at once. π-v --verbose dateβ this flavor makes the debug output show the date too π β¨-a --audio-device hw:<card>,<device>β pulls the input audio from your sound card's device number π§-s --samplerate <sample rate>β the audio device sample rate in Hz. Default is48000. π΅-w --write-wave <filename>β dumps the sound out as a wave file πΎπ¦
π³ Magnetic card simulator options
-B --baud-rate <baud>β the playback baud rate. Default is2666. π₯-S --sicherung <security code>β the card's security code for simple authentication π. Default is'12345'(yes, really, iconic). π
π§ What you actually pass at the end
<number>β give any valid 7 digit subscriber number (optionally 8 digit, we're flexible β¨). It may be prefixed with0160.'service'β theBSA44service card π οΈ, which exists to unlock your phone after a battery replacement. The way that battery-swap amnesia is so real ππ
Heads up bestie: in the config file, remember β one option per line, and no-or--prefixes. Just don't do it. π
Anyway, that's the whole page π«Ά β straight from page 1 of the General Commands Manual, filed under the name cnetz_magnetic(1), brought to you by the fine folks over at http://osmocom-analog.eversberg.eu/docs/. Go forth and simulate some cards, mwah ππ
π¦ 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