RN2NCID.CONF(5)
πΈ rn2ncid.conf β the configuration file for rn2ncid π
okay bestie, so this is the manual for rn2ncid.conf, section 5 of the NCID manuals. it's the little config file that tells rn2ncid how to behave. let's get into it β¨
β¨ NAME β¨
rn2ncid.conf β the configuration file for rn2ncid π
π DESCRIPTION π
so like, the rn2ncid.conf file is where all the configuration info for rn2ncid lives. it's giving "settings menu but make it a text file" fr fr.
here's the thing β rn2ncid.conf only understands 3 types of lines, and honestly? iconic minimalism:
- a blank line β ignored. it's just vibing. we don't see it. π
- a comment line, beginning with
#β also ignored. it's journaling, not instructions. π VARIABLE = VALUEβ the actual tea β. and heads up:VALUEcan contain spaces if it is between quotes.
peep rn2ncid.conf itself for all the default values β that's where the defaults live, bestie π
π¦ VARIABLES π¦
here's the full lineup, no skips, no cuts:
verbose = levelβlevelis in the range 1-9. lowkey important: not all verbose levels are used. so don't come for me if 7 does nothing π«ΆHostnameFlag = valueβvalueis 0 or 1. if it's1, the hostname gets included in theIDENTstring. periodt.ncidaddr = host addressβ the NCID server host address. can be an IP address or a resolvable host name. flexible queen πncidport = portβ the NCID server port number. that's it, that's the whole job.delay = secondsβ if the connection to the NCID server gets lost π, this is how many seconds you wait between reconnection attempts. patience is a virtue ig.cellport = portβ the listen port, exactly as specified in the Remote Notifier application. don't freestyle this one, match it up β¨reject = from address[,from address][,from address]...β okay so SMS and MMS messages usually have a 'from' address, and depending on the carrier that could be a number or an email address. you give it a comma separated list of addresses that will NOT be transmitted by the NCID server to all listening NCID clients. why, you ask? because this is what stops endless loops β and endless loops could result in excessively high data or text charges by your cell phone carrier ππΈ protect your wallet, bestie.
Remote Notifier sends the 'from' address in its 'data' (fifth) field. see NOTES below for the full breakdown π
so here's an example of what an endless loop would look like, and it's genuinely terrifying:
- cell phone gets SMS
- Remote Notifier sends out the SMS
rn2ncidgets the SMS and sends it to the NCID server as'MSG'- the
ncid-pagemodule gets this'MSG'and forwards it back to the cell phone - cell phone gets the
'MSG'as an SMS - cycle repeats forever ππ
to prevent this endless loop, suppose you have ncid-page.conf configured to send SMS messages to your cell 'from' your email address of:
johndoe@yahoo.com
then you might want to set 'reject' to be:
reject = johndoe@yahoo.com
and boom π₯ loop broken. main character energy.
π NOTES π
Remote Notifier sends six pieces of information β a whole six-course meal, no cap:
- version (e.g.,
'v2') - unique device id in hex
- unique notification id in hex
- event type (
BATTERY,PING,SMS, etc.) - data (terse information)
- event contents (verbose free-form text, can be multi-line)
β EXAMPLES β
set the NCID server IP address:
ncidaddr = 192.168.1.20
set the Remote Notifier listen port:
cellport = 10600
reject SMS/MMS messages to manage text blocking:
reject = 9999
π«Ά SEE ALSO π«Ά
rn2ncid.1
and that's the whole page, bestie, you ate it up πβ¨ this one came from the NCID crew, dated 2022-11-8 β go forth and configure responsibly ππ
π¦ where this page comes from
- fedora 43: ncid-gateways 1.18-4.fc43 Β· GPL-3.0-or-later
- fedora 44: ncid-gateways 1.18-5.fc44 Β· 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