Hot answers tagged

6

Wow, that has to be the first time this century that I've heard rx referred to as a "great little utility"! :-) Yet we can still dust the cobwebs off those old commands. XMODEM: rx for receiving, sx for sending. YMODEM: rb for receiving, sb for sending. ZMODEM: rz for reveiving, sz for sending.


2

As long as the device is used for ppp traffic, it is not possible to run AT commands at the same time1. For this reason all modern modems will provide more than one serial interfaces, e.g. /dev/ttyUSB0 and /dev/ttyUSB1 (or /dev/ttyACM0 and /dev/ttyACM1 for USB CDC modems on linux). Back in the days when phones had RS-232 compatible connectors (perhaps with ...


2

Whatever's talking directly (at layer three) to the provider gets the address the provider assigns, which is usually global. Though, if you connect a Linux box directly to a modem, then that's it.


2

You can use lspci -v to list PCI device information, along with their IRQs. Correlate the IRQ listed via lspci with the setserial info you already gathered, and that should tell you what tty matches which PCI card. Also, if the port is disabled, you can enable it using setpci. More info on how to determine that, and how to enable it, can be found here: ...


1

It is not generally possible to send AT commands to a modem while a call is in progress. This applies to all AT-compatible modems, "regular" dial-up modems and mobile phone modems alike, and it has nothing to do with PPP. By the way, a point of terminology: PPP sessions are not mounted. Mouting and umounting are terms that apply to filesystems. There are ...


1

Believe it's compiled into the kernel. grep CONFIG_SERIAL_8250_RUNTIME_UARTS /boot/config* CONFIG_SERIAL_8250_RUNTIME_UARTS=32 See Serial Tips And Miscellany Number of Serial Ports Supported If you have more than 4 (or possibly 2) serial ports, then you must insure that the kernel knows this. It can be done by configuring the kernel when compiling ...


1

You're not seeing a driver for that modem in dmesg because one isn't loaded, which likely means that FreeBSD doesn't have one for it. This in turn is because that modem uses the CX11252-15 chipset and is not a hardware modem, but a "softmodem" or "winmodem" with closed-source drivers. FreeBSD does not include out of the box support for any winmodems. ...


1

Entering the following commands on the command line will enable wireless broadband in the NetworkManager: sudo systemctl start ModemManager.service sudo systemctl enable ModemManager.service


1

The best way to send AT commands to a modem in Linux is to use the program atinout which is written with the sole purpose of sending AT commands to a modem from the command line. You can use it to test if a modem is up and running, make a backup of the phone book: $ atinout - /dev/ttyACM0 ten_first_phonebook_entries.txt <<EOF at+cscs="UTF-8" ...


1

Doing AT command communication from the command line with just plain shell operations is rather unreliable. I suggest that you try to use the program atinout which is specifically written to issue AT command from the command line: $ echo AT | atinout - /dev/ttyUSB0 - AT OK $



Only top voted, non community-wiki answers of a minimum length are eligible