Re: "Garbage" output when connecting to sun box over serial port with tip

From: Matthew Weigel (nospamUSENETnospam_at_idempot.net)
Date: 04/05/05


Date: Mon, 04 Apr 2005 18:09:27 -0500

dan.gravell@talk21.com wrote:
> Hello, I am having trouble getting something legible out of a Sun box
> when connecting to it from tip so I wondered if there was anything
> obvious I was not doing correctly.

What is the exact /etc/remote entry and command line you're using?

> I was given a Sun Netra 120 server to wipe clean and install a fresh
> version of Solaris on. I bought a null modem adaptor so that I can
> connect from a separate Ultra 5 box I have already configured. I can
> connect them up (to the LOM port on the Netra) and issue a "tip
> hardwire" or "tip [hardcoded term]" and I get "connected".

Hmmm... the stock 'hardwire' entry is almost identical to the entry I
use regularly. The main difference is /dev/term/b rather than my own
/dev/cua/b.

> I followed
> the advised 9600 baud both in the command line and also in /etc/remote
> (although I notice there're more settings in that file).

You shouldn't specify anything on the command line but the /etc/remote
entry.

> issuing a "printenv" yields 90% garbage (by which I mean, seemingly
> random characters) and the odd recognisable bit such as a variable
> name.

I've always gotten complete garbage (using a null-modem cable with
null-modem adapter, so essentially a modem connection), or everything
working perfectly... I suspect /etc/remote, differences in the device,
or a bad cable.

> I can't see my own keystrokes either, although they are obviously
> received as the Netra "does stuff".

That means your system and the remote system are both expecting the
other to echo characters, I think.

Try using the following as your /etc/remote entry (very minimalist):
cuab:dv=/dev/cua/b:br#9600

Just issue "tip cuab" as your command.

(good practice is to rename "cuab" the name of the machine, but that's
only if it's a permanent connection)

-- 
  Matthew Weigel


Relevant Pages

  • Re: Microsoft ODBC Drive Manager: Data Source Name not found and No Default Driver Specified
    ... Each entry is effectively a nickname for the database instance. ... The connection will fail. ... a system ODBC connection created not within Excel, ...
    (microsoft.public.excel)
  • Re: possibly daft question regarding tcp/ip
    ... > Have seen this entry in the event log of a pc ... > tcp/ip has reached the security limit for the number of concurrent tcp ... > does this concurrent connection limit, only apply to tcp, or would it add ... ttypically the XP SP2 security update that remove the registry entry (from ...
    (uk.people.silversurfers)
  • RE: Remove network connection
    ... I'm sorry that I am not sure if you want to close the connection or delete ... you can use RasEnumConnections to emumerate all the available ... If you wanted to delete the entry, ... For the RAS API references, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Change MTU for gprs connection
    ... I already read the registry ... Now I read it after the connection has been established and I ... So I simply added an entry for MTU ... I'm able to change the MTU for the ethernet connection because therefore I ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Change MTU for gprs connection
    ... me where to add the entry and how it looks like. ... with wavecom Q2501 gprs module. ... But I have same connection problems so ... Have you entered "MTU" in the Search pane for the Platform Builder ...
    (microsoft.public.windowsce.platbuilder)