LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to set modem with rc.local (https://www.linuxquestions.org/questions/linux-software-2/unable-to-set-modem-with-rc-local-3371/)

Noob 06-13-2001 09:34 PM

I followed the instructions for setting up ISA PnP modems @ linux.about.com for setting up my Zoom 56k. Everything seems to be working ok but I can't get the modem set at boot time using the rc.local file. The instructions read:

7. To ensure that your modem is configured each time you boot, you'll need to edit your /ect/rc.d/rc.local fie by adding the following lines to its end:

/sbin/isapnp /etc/isapnp.conf
/sbin/setserial /dev/ttySx port a irq n autoconfig

Be sure that you replace x with the correct serial number,a with the address you used, and n with the IRQ you chose for this modem. Be sure also to replace /sbin with the correct paths to your isapnp and setserial command if necessary.

When I add the above lines nothing happens when I try to connect to my isp. But, if I open up a terminal window and type setserial /dev/ttyS2 port 0x03e8 irq 4 autoconfig it works!!! Any suggestions would be greatly appreciated!

linuxcool 06-13-2001 10:43 PM

I checked the location of the files on my system and I found that the first line would execute fine. But the second one wouldn't because setserial is not in /sbin but /bin , so your lines should read:

/sbin/isapnp /etc/isapnp.conf
/bin/setserial /dev/ttySx port a irq n autoconfig

I hope that works.




All times are GMT -5. The time now is 04:31 AM.