LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2009, 11:32 PM   #1
sabharish
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Unix Chat thru TELNET - newbie


Hello all,
I am new to Linux here..am doing my 1st year engineering with majors in computer software. This is the first time I am encountering a UNIX system in school to work practically. I was just through the basec Linux Terminal commands of creating new file, editing, shell programs etc.
In my school the UNIX lab goes like this..Redhat Fedora linux distribution is installed standalone in one computer..and ther other computers are networked to it. Say 9 computers run Windows and the 10th one runs Redhat. The 10th one acts as the server as per the information given by my professor. Students work on the other 9 computer with WIndows...and Prof works with the 10th. Generally we are instructed to go to Run> and type "telnet 10.1.2.150" ..after pressing enter, a new black window opens where we type in the Username and password to login to the UNix server. The point is all the other 9 computers use the same username and password for logging in to the unix server. There is a separate directory named "pmrcse" for our department within which we create our files, and other things using unix commands. All these runs within that telnet window. When I type the "who" command, I see the following:
root pts/0 Apr 23 10:43 (:0)
root pts/1 May 6 18:19 (:0.0)
pmrcse pts/3 May 6 18:20 (10.1.2.21)
pmrcse pts/5 May 6 18:23 (10.1.2.10)
pmrcse pts/7 May 6 18:34 (10.1.2.11)
pmrcse pts/9 May 6 18:21 (10.1.2.4)

From this I guess that 4 computers out of the other 9 windows systems have connected to the Unix server thru telnet.
My system is the one with the IP 10.1.2.11 pts/7
""Now if I want to chat with the other system , say pts/9 using the "talk" command or "write" command.. How do I do that?""
I tried entering "talk pmrcse@10.1.2.4" ..but its wasnt fruitful..Is there any feature that need to be enabled in the Redhat system for using the "talk" command?

Thanks in advance!
 
Old 02-28-2009, 11:45 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.manpagez.com/man/1/talk/

syntax is

talk user@host ttyname

or

talk host:user ttyname

So you'd want...

talk 10.1.2.4mrcse pts/9

ttyname is needed if the user is logged in more than once, but since you specify the url, this should not be such an issue. What is the message when you try?

The network setup is terrible - there should be one username per user and you should not be using telnet. But - ho hum - you didn't set it up.
 
Old 02-28-2009, 11:55 PM   #3
sabharish
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hello Mr.Simon,
Thanks much for your reply! I dont remember the exact error message that I got when I used "talk pmrcse@10.1.2.4".. I would try the syntax you said the next time when I work in the lab and let you know. Ya, they need to have one username for each user, but the faculty is lazy for that!
 
Old 03-01-2009, 01:19 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by sabharish View Post
Hello Mr.Simon,
Thanks much for your reply! I dont remember the exact error message that I got when I used "talk pmrcse@10.1.2.4".. I would try the syntax you said the next time when I work in the lab and let you know.
No worries
Quote:
Ya, they need to have one username for each user, but the faculty is lazy for that!
No - just out of date.
 
Old 03-01-2009, 02:43 AM   #5
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Cool

Hi sabharish,

First of all , I would like to congrats you, as u have started these things on exactly right time. I did my MCA and that time I took UNIX as a game and now I am suffering to learn it...
Regarding your problem, best is to use one username and password for all, as indicated by Simon as well, but since it is the work of lab arranger so can't do much in this...I tried that command and this is working exactly fine as simon told us to do so.
You can try this and i am sure that will work for you as well.
If I get anything else will let you know soon.

Regards,
kapil.
 
Old 03-01-2009, 03:22 AM   #6
sabharish
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hello Mr.Kapil,
Thanks much for your encouragement ..and Yes, I got my lab classes on the coming tuesday. Will try the command and let you know the result then
Cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet script on Unix machine without expect cristoph_ Programming 7 12-24-2008 10:23 AM
SCO Unix FTP/Telnet Problems sparton Other *NIX 5 02-16-2006 02:27 PM
newbie need to linux chat. bruse Linux - Newbie 3 04-26-2005 03:17 AM
telnet windows m/c from unix shell script ann124 Programming 1 11-10-2004 01:26 PM
Telnet to SCO UNIX Tuna762 Linux - Newbie 1 05-08-2001 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration