Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

telnet login delay

I am using telnet to login to a Lutron lighting bridge, directly to an IP address. The "Login" prompt is delayed exactly 30 seconds. This fails the commercial script to automatically login. My other Imac responds to the telnet command is ~ 0.5 seconds. All devices are on a local network, both Imacs running Sierra. Can't figure out what may be the issue. Hosts file is identical, resolv-conf are identical as well. Thanks for any help on this.

iMac (27-inch, Late 2013), macOS Sierra (10.12.1)

Posted on Dec 5, 2016 4:36 AM

Reply
11 replies

Dec 5, 2016 10:56 AM in response to willjhill

The Hosts file should be identical to the following, unless you had reason to alter it:


##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting. Do not change this entry.

##

127.0.0.1 localhost

255.255.255.255 broadcasthost

::1 localhost


There may be one additional entry if you are using IPv6 compliant devices:


fe80::1%lo0 localhost


resolv-conf normally contains only one line pointing to your DNS nameserver, which can be the address of your router assuming it receives its DNS entries supplied by your ISP. It should be inconsequential unless the telnet address needs to be resolved, and you wrote you're supplying it directly.


Did you contact Lutron? Perhaps they can offer something more constructive. Their engineers are pretty good, but don't let them shoot you down if they say they don't support Macs. Perhaps you shouldn't even offer that information. There is absolutely nothing Mac-specific about Telnet. There may be something on your Mac preventing it from working though, which would be beyond anyone's knowledge or control but yours.


Can I compare directories on the two machines ?


Sure, but they should be functionally identical to the above examples. Let me know what you find out.


Edit to add: if you are using any non-Apple "anti-virus" junk, don't. That just goes without saying.

Dec 10, 2016 6:37 AM in response to willjhill

This is the reply from Lutron... as expected this is a local machine problem and not the bridge. The iMac in question is late-2009, The one which telnets fine is a late-2013. I suppose the solution is to upgrade and put the late-2009 to pasture.... Lutron appears to have really good support. Thanks

Here is what I have from engineering:

"We are not able to reproduce this.

What we do see on both OSX and Linux is:

1. hit enter on the command "telnet 192.168.1.42"

2. the login prompt appears immediately

3. typing lutron/integration results in a delay of a few seconds before appearing AGAIN 4. typing lutron/integration the second time results in the GNET prompt.

As Tom mentioned, they can use the "netcat" program which should be included on OSX with the command "nc 192.168.1.42 23" as an alternative and doesn't have any telnet control characters."


Hope this helps!

Sincerely,

Zach

Lutron Support

Lutron Electronics, Inc.

Dec 16, 2016 5:02 AM in response to John Galt

No love with Safe Mode. It's really odd in that telnet responds "Trying 10.0.1.27... Connected to 10.0.1.27. Escape character is '^]'." immediately and waits exactly 30 seconds from issuing the telnet command to give me the Login: prompt.


I'm solving this by moving my automation to the newer iMac... Thanks for the thoughts on this topic.

telnet login delay

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.