Operating System - Tru64 Unix
1752782 Members
5891 Online
108789 Solutions
New Discussion юеВ

using tip problem

 
Bouda16
Occasional Advisor

using tip problem

Hello
I'm trying to access other system connected to my UNIX Tru64 via serial cable, but without any success :-(

I added to /etc/remote following line...
xxx:dv=/dev/tty00:br#19200

But when I try...
# tip xxx
/dev/tty00: No such device or address
fstat error: Bad file number
tip: Cannot stat tty file

What's wrong?

Thanks in advance for any help.
Regards
B.
8 REPLIES 8
Ivan Ferreira
Honored Contributor

Re: using tip problem

It complains about /dev/tty00 does not exists. Normally it should, so please post the output of:

ls -la /dev/tty00
crw-rw-rw- 1 root system 35, 0 Aug 23 15:08 /dev/tty00

You can also do:

hwmgr -view hierarchy |grep serial

To identify if you have serial ports. Some systems, like ES47/80... does not provides serial ports.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bouda16
Occasional Advisor

Re: using tip problem

Hello,

I think this is not the problem...

# ls -la /dev/tty00
crw-rw-rw- 1 root system 35, 0 Aug 9 10:16 /dev/tty00

# hwmgr -view hierarchy |grep serial
38: serial_port tty00
40: serial_port tty01

Ivan Ferreira
Honored Contributor

Re: using tip problem

What do you get if you run:

file /dev/tty00

Can you try with /dev/tty01?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bouda16
Occasional Advisor

Re: using tip problem


# file /dev/tty00
/dev/tty00: character special (35/0)
# file /dev/tty01
/dev/tty01: character special (35/1) ACE_SLU #0 terminal #1 modem_control off
Ivan Ferreira
Honored Contributor

Re: using tip problem

Your output from file tty01 match my output for tty00, so I think that on tty01 should work. Can you try that?

Now how to fix tty00?, maybe removing the device file and running:

cd /dev
./MAKEDEV tty00

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bouda16
Occasional Advisor

Re: using tip problem


Yeah, you are right if I use /dev/tty01, it looks much better...

# tip xxx
can't open log file
: unknown variable
: unknown variable
connected
Ivan Ferreira
Honored Contributor

Re: using tip problem

Use a like like this:

serial1:dv=/dev/tty01:br#9600:pa=none:

Verify that you don't have any non printable characters on the file with:

cat -e /etc/remote |grep serial1

Check for ^M or something that may cause tip to get confused.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bouda16
Occasional Advisor

Re: using tip problem

Thanks a lot for solving my problem!