cnetz_sim(1)
π NAME π
cnetz_sim β bestie, this is the SIM card sim/sniffer situation, and the whole point of it is right here: http://osmocom-analog.eversberg.eu/docs/ β¨
It's a General Commands Manual page, which is giving very much "read me before you poke at your SIM" energy π
β¨ SYNOPSIS β¨
cnetz_sim [options] <command>
okay so it's cnetz_sim, then some options, then a command. That's the whole vibe check π¦
πΈ General options πΈ
-h,--helpβ this help, literally just the help π--config [~/]<path to config file>β hand it a config file to use π«Ά If it starts with~/, the path lives in your home dir. Each line in the config file is one option, and ngl you must NOT put-or--in there!-v,--verbose <level> | <level>,<category>[,<category>[,...]] | listβ the verbose dial ποΈ 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 π-s,--serial-device <device>β the serial device (default =/dev/ttyUSB0) π-b,--baud-rate <baud>β serial baud rate (default =9600) β‘-w,--write-pdu <filename>β write PDU to file, sniffer only π΅οΈβοΈ
π SIM card simulator options π
-E,--eeprom <name>β stores and reads EEPROM data to/from a file π The file is stored at"~/osmocom/analog/sim_<name>.eeprom". If the file dos not exit yet, the default values are used. Values are always overwritten with card data, if defined. (yes, "dos not exit" β we keep it exactly as it is, no cap π)-F,--futln <phone number>β give 7 digits subscriber ID (default =2222001) βοΈ--sicherung <security code>β card's security code for simple authentication (default =3103) π--kartenkennung <card ID>β card's ID. Not relevant! (default =3) π--sonder <special code>β special codes are used for service cards (default =0) π--wartung <maitenance code>β may define features of service cards (default =65535) π οΈ-P,--pin <pin> | 0000β give 4 .. 8 digits of pin π«Ά Use0000to disable. (default =0000) This will also reset the PIN error counter and unlocks the card π-D,--directory <location> <number> <name> [--directory ...]β give storage location01..80π To erase, give""as number and name. This option can be given multiple times for more entries β¨-A,--authenticate 0x...β give 64 Bit value for authentication response. (default = all bits 1) π₯
π Commands are: π
sniffβ to passively sniff SIM card communication π΅οΈβοΈsimβ to simulate a SIM card π
Not me dropping a whole error blob in here π bestie this is literally on the page, so here it is, character for character:
[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 [0;33m[1;32mDOPTIONS[0;m[0;33m is maintained as a Texinfo manual. If the info and [0;33m[1;32mDOPTIONS[0;m[0;33m programs are properly installed at your site, the command
info [0;33m[1;32mDOPTIONS[0;m[0;33m
should give you access to the complete manual π
and that's the whole page, bestie β signed, sealed, and it's giving cnetz_sim(1) πβ¨ slay, go read your Texinfo manual, periodt ππ¦
π¦ 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