1753971 Members
7387 Online
108811 Solutions
New Discussion юеВ

Dial Out Modem, K250

 
Victor_5
Trusted Contributor

Dial Out Modem, K250

I tried to set up dial Out Modem on Unix K250, V10.20, US Rototics Modem

1. Create device files through SAM
Peripheral Devices --> Terminals and Modems -->Actions -->Add Modem
Set up modem on 10/4/0 at port 7 with speed 19200
SAM return three files /dev/ttyd0p7 /dev/cul0p7 and /dev/cua0p7

2. Verify entry in /etc/inittab
a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

3. Verify getty is running on the port n a pending state
ps -ef | grep ttyd0p7
root 1697 1 0 Apr. 11 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

4. List and verify device files permission
crw--w---- 1 uucp tty 193 0x000702 Feb 28 16:33 /dev/ttyd0p7
crw-r--r-- 1 bin bin 193 0x000701 Aug 27 05:12 /dev/cul0p7
crw-r--r-- 1 bin bin 193 0x000701 Apr 13 2000 /dev/cua0p7

mux2 card instance 0 port 7 callin at address 10/4/0 /dev/ttyd0p7
mux2 card instance 0 port 7 callout at address 10/4/0 /dev/cul0p7
mux2 card instance 0 port 7 callout at address 10/4/0 /dev/cua0p7

5. Modify /etc/uucp/Devices
add
ACU cul0p7 - 2400 ps_mt1932_tone
ACU cul0p7 - 1200 ps_mt1932_tone

6. Test the modem
cu -s9600 -lcul0p7 dir(or phone number)

Got error messages:
line problem
or
connectd failed: Requested device/system name not known
or
required device not available

What is wrong with my steps, any idea?



4 REPLIES 4
MANOJ SRIVASTAVA
Honored Contributor

Re: Dial Out Modem, K250

Hi Shawn

There seems to be nothing wrong in the steps except :

1. Change the respawn field to off in the /etc/inittab.

2. Kill the getty process.

3. Incase change the ACU entry to say

Direct ttyno. - 9600 direct \D

this should work .

Also u can use -d 1 option in the cu commnad to debug the step the porcess is using.

Manoj Srivastava

Patrick Wessel
Honored Contributor

Re: Dial Out Modem, K250

Shaw,

connect failed: Requested device/system name not known

points always to the /etc/uucp/Devices. And that is exactly were you made your mistake. You generated entries for 1200baud and 2400baud but you tried to dial out with 9600baud (-s9600).
There is no entry for 9600 in the devices, and that is more or less what the error message tries to tell you
There is no good troubleshooting with bad data
Victor_5
Trusted Contributor

Re: Dial Out Modem, K250

Hi Patrick:

Actually, we have three modems connected with the unix box and they are working well, I am adding a new one, and just copy the /etc/uucp/Devices. However, I will try to use another different speed. Any more idea?

Patrick Wessel
Honored Contributor

Re: Dial Out Modem, K250

Shawn,
No, the new entry in the Devices is my favorite.
Btw, I didn't post you the right one. It should be:

Direct cul0p7 - 9600 direct

The other entries are for the auto-dialout of predictive
There is no good troubleshooting with bad data