Tag Info

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.


3

Try udev rule wich launch a script every time you plug the modem. ACTION=="add", ATTRS{idVendor}=="XXXX", ATTRS{idProduct}=="UUUU", RUN+="/home/user/script.sh" Replace XXXX and UUUU with vendor and id product,put rule in /etc/udev/rules.d/99-yourrule.rules and reboot or restart udev. Must work


2

Try socat - /dev/ttyUSB2,crnl This tells socat to send a carriage return as well as a line feed. Clarification - this goes back to the dark days of electric typewriters, where you would have to tell it to roll the carriage back to position 0 on the page - ergo, a carriage return - as well as telling it to move the paper up one line.


2

To gain access to this device I'd try to connect to the Ethernet port on the back (the one in this picture) and then try to manually set my IP address per the instructions in the manual to 192.168.11.2. I'd then attempt to access via a web browser the IP 192.168.11.1. ...


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.


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

Please be sure that in configuration file /etc/usb_modeswitch.conf you have set DisableSwitching=0 Otherwise automatic mode switching is disabled globally.


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