UHSOCTL(1)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… NAME πŸ’…

uhsoctl β€” connection utility for Option based devices.

okay so this is the General Commands Manual page for it, bestie β€” we’re folding that manual name in right here instead of copying the header line 🫢


✨ SYNOPSIS ✨

uhsoctl [-a apn] [-c cid] [-p pin] [-u username] [-k password] [-r path]
        [-f path] [-b | -n] interface
uhsoctl -d interface
uhsoctl -h

🌸 DESCRIPTION 🌸

okay so uhsoctl is a small connection utility for Option N.V. devices that are based on Options packet interface and uses proprietary AT_* calls to establish connections. The utility (tries to) configure both default route and name servers (/etc/resolv.conf).

By default, uhsoctl detaches from the terminal upon a successful connection, and a few command-line options exist that allow this behavior to be changed. slay for automation, honestly πŸ’…

uhsoctl attempts to find a usable controlling serial port based on the provided network interface. If this fails, you might specify a serial port manually. no cap, sometimes you just gotta point it at the right thing yourself πŸŽ€


πŸŽ€ OPTIONS πŸŽ€

  • -a apn β€” specify the APN to connect to. that’s the vibe check for where you’re connecting ✨
  • -c cid β€” specify the CID (Context ID) to use. by default, CID 1 is used. if an APN has been configured once, it’s enough to specify the CID used for further accesses. lowkey efficient πŸ’–
  • -p pin β€” specify SIM PIN. gotta unlock the SIM, bestie πŸ”‘
  • -u username β€” specify username.
  • -k password β€” specify username. yes, the page literally says Specify username. here too πŸ’€ i am preserving the chaos exactly as it is.
  • -r path β€” path to resolv.conf, default /etc/resolv.conf. use /dev/null to disable updating of name servers. iconic little off switch 🫢
  • -f path β€” explicitly set the serial port to use as controlling terminal. might be needed if the automatic detection fails. backup plan behavior ✨
  • -b β€” fork into background directly, before a connection has been established. main character energy: leave immediately πŸ’…
  • -n β€” never fork into background, run entirely in foreground. stay right here with me, no disappearing acts 🌸

πŸ¦‹ EXAMPLES πŸ¦‹

connect to β€œapn.example.com” on interface β€œuhso0” and use PIN β€œ1234” to enable the SIM card:

uhsoctl -a apn.example.com -p 1234 uhso0

disconnect from a previously established connection:

uhsoctl -d uhso0

🌈 SEE ALSO 🌈

  • uhso(4) β€” device-level lore, iykyk πŸ‘‘

xoxo, Debian β€” page dated August 12, 2009 πŸ’–πŸ«Ά

πŸ“¦ where this page comes from