Technical Discussion
  >> Apple Issues


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
Pages in this thread: 1 | [2] | 3 | (show all)   Print Thread
Standard User deleted
(deleted) Sat 24-Jul-10 20:57:41
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
I have a Netgear DG834G v3.

1) No username/password required.
2) Yes, exactly the same command entered in a browser window.
3) telnet uses the default port (21 I think) and there is no need to enter it.
4) exit

john@mercury:~$ telnet 192.168.0.1
Trying 192.168.0.1...
Connected to 192.168.0.1.
Escape character is '^]'.


BusyBox v0.61.pre (2007.01.29-09:39+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# help

Built-in commands:
-------------------
. : bg break builtin cd chdir continue eval exec exit export
false fc fg hash help jobs kill local pwd read readonly return
set setvar shift times trap true type ulimit umask unset wait


# exit
Connection closed by foreign host.

Example session shown. N.B. my v3 router has different hardware/firmware and does not allow the target SNR margin to be altered.
Standard User deleted
(deleted) Sat 24-Jul-10 21:33:47
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
Thanks, everyone. That all seems to clear up the doubts.

John2007, yes, I think your router uses a different modem chipset to mine and so yours doesn't allow the SNR to be altered. Mine's a v4 Netgear 834, which uses a Broadcom chip, where you can change the SNR. I've been doing so, using my Windows machine.

As for that book of mine on Tiger, AlanH, I rather feel the same way about it as you, now. It's one of the reknowned O'Reilly 'Missing Manual' books, so it's highly surprising that the author got that wrong.
Standard User deleted
(deleted) Sat 24-Jul-10 21:44:39
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
As for that book of mine on Tiger, AlanH, I rather feel the same way about it as you, now. It's one of the reknowned O'Reilly 'Missing Manual' books, so it's highly surprising that the author got that wrong.
Are you sure that the author wasn't saying that a telnet server wasn't available on Tiger (i.e. that you can't telnet into an OS X machine)? That would sound more reasonable.


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Sat 24-Jul-10 23:13:56
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
AnotherExPipex,

In a FAQ in the book, it says the following, when the question "Where Did Telnet Go?" was asked:-

"Telnet and ssh are very similar in concept. But the problem with telnet is that it's more susceptible to hackers. The ssh networking program, on the other hand, is extremely secure, immune to all kinds of the hacker attacks you may have read about: IP spoofing, IP source writing, DNS spoofing, and so on. That's why Apple replaced its telnet feature with ssh beginning way back in Mac OSX 10.1. Apple also hopes that Unix-savvy fans will recognise ssh to be a superior replacement for such remote control Unix programs as rlogin, rsh, and rcp (via scp), for that matter".

The book says nothing more on Telnet. Thus, I got the distinct impression from this that the ability to telnet, in any direction, was removed from Mac OSX quite a while back.
Moderator billford
(moderator) Sat 24-Jul-10 23:39:28
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
I think a little explanation is needed...

When you communicate with another computer (and a router is basically a dedicated computer, I think most of them run a version of Unix), there are two bits of software involved, one on the client (ie yours) and one on the host (the "remote") computer.

An example you will be familiar with is web browsing- you use a web client (aka your browser), the computer at the far end has to be running the appropriate software to be able to understand what you are sending and to return the correct data. That's the web server.

Similarly for ftp- you can run an ftp client, but you can only connect if the remote computer is running an ftp server.

Same again for telnet, you can only connect to a telnet server.

OS X includes a web server (Apache), I think it includes an ftp server (not sure), but it does not include a telnet server- that's the bit Apple took out. So someone else can use their client software to load web pages from your Mac and up/download files via ftp, but they cannot connect to it via telnet.

But you can connect to another computer which is running a telnet server by using OS X's telnet client.

Note that I'm using the terms "client" and "server" here as a descriptions of pieces of software, not the hardware they're running on. The reason for that is that the hardware can be both- if I enable my copy of Apache then my Mac is acting as both a web server to someone connecting to me and a web client to another web server via my browser.

It can get confusing, but a lot of network details can do that crazy

Does that help?

~~~~~~~~~~~~
Bill

[email protected]

Edited by billford (Sun 25-Jul-10 00:01:54)

The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Sun 25-Jul-10 00:21:16
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: billford] [link to this post]
 
Yes, billford, that's helped, although I had to read and re-read your explanation very carefully, to absorb it and get my head around it.

So, to summarise, my Netgear router will act as a telnet server, whilst OSX includes a telnet client. Right?
Moderator billford
(moderator) Sun 25-Jul-10 00:32:03
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
In reply to a post by meditator:
So, to summarise, my Netgear router will act as a telnet server, whilst OSX includes a telnet client. Right?
Dead right smile

One other point- your router also includes a web server (for setting up and monitoring, that's what the http://192.168.0.1 or whatever connects to), and the telnet server is disabled by default.

When you put the debug command into your browser, the web server passes it to the router's operating system as a command to enable the telnet server. You can then use the telnet client to send commands to the router.

The point is that these commands will be handled by the router, so it doesn't matter whether they're coming from a PC or a Mac, they'll be the same in either case.

You could even use a ZX81 if you could find a browser and telnet client that would run on it tongue

~~~~~~~~~~~~
Bill

[email protected]

Edited by billford (Sun 25-Jul-10 00:38:25)

The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User XRaySpeX
(knowledge is power) Sun 25-Jul-10 00:47:28
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: billford] [link to this post]
 
In reply to a post by billford:
You could even use a ZX81 if you could find a browser and telnet client that would run on it tongue
ZX81 is pushing it a bit, but many 1980s Home Computers are capable of it, given the right software. That's the beauty of the Internet; you can attach any computer, running any OS, to it and it will talk.

1999: Freeserve 48K Dial-Up => 2005: Wanadoo 1 Meg BB => 2007: Orange 2 Meg BB => 2008: Orange 8 Meg LLU BB => 2010: Orange 16 Meg LLU BB
Moderator billford
(moderator) Sun 25-Jul-10 00:52:59
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: XRaySpeX] [link to this post]
 
I'm sure I've seen a ZX81 that had basic networking stuff shoe-horned into it, but I can't remember what it would run.

Basic ftp and telnet clients should be possible, but even a text-only browser like Lynx might be more of a problem!

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Sun 25-Jul-10 07:46:22
Print Post

Re: Is Telnet available under MacOSX/Snow Leopard?


[re: deleted] [link to this post]
 
As Bill says, that refers to telnet server support on OS X. Whilst Apple are concerned about the security of their OS they still provide a telnet client so you can connect (insecurely) to other hardware that only provides the telnet protocol (rather than SSH).
Pages in this thread: 1 | [2] | 3 | (show all)   Print Thread

Jump to