Using setserial will reset the serial port. This will hang up the modem.
setserial is sometimes used during the boot process, resulting in the output seen in Figure A-3. Look into the file /etc/rc.serial and remove any references to the port which is being used as the serial console.