Info On Unix Box: Adding DNS and using telnet commands

Not too familiar with Unix, have had limited experience with it.  Here are my questions:

1.  How can I add our DNS address to that box.  I see where I can add the IP address, but that's it on that particular screen.

2.  I understand I can't use telnet commands to transfer a file from that unix box to my machine or other machines.  I have to use ssh/scp?  

Please advise.
nelson97Asked:
Who is Participating?
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
Once you connect ed to your server via telnet, try
  ftp <server-address>
to verify that ftp is active on your server at all.

To ftp into a windows PC requires a FTP server (service) running on that
machine. I have tried "zerberus FTP server" for windoze a while ago and
found it to be working very niceley.
0
 
nodiscoCommented:
1 What operating system of Unix is it - SCO, HP, AIX?
Do you mean you want to add your DNS suffix to the machine name - e.g. unixbox.yourdomain.com

2 You can use ftp to most unix boxes - ftpd runs on most of these and will allow incoming connections by default
e.g.

From PC

ftp <ip of unix box>

Login as root and its password

cd /u           changes directory on unix box to /u
lcd c:\windows          changes local directory to c:\windows
get filename             ftps filename from unix to pc
close                       close connection
bye                         ends ftp session


0
 
nelson97Author Commented:
Hi Nodisco, sorry I forgot to mention that the FTP function doesn't appear to work.  That's why I was trying to see other ways to transfer files. Also, I wanted to add the dns IP address.

The os is Irix.

Thanks
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
nodiscoCommented:
nelson

I have never even seen an Irix box before so I'm afraid I can't help you.  Hopefully someone else will be able to assist
0
 
ahoffmannCommented:
1. you need to change the bind configuration files, usually found in /var/named and /etc/named.conf
2. ssh is to connect interactively using a shell (replacement of telnet)
   scp is to copy files from/to the remote system
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
What do you want to perform:
- Add a DNS server on your Irix box? Or just make it DNS-aware?
 o To create a DNS server you will have to put zone files in /var/named, create a /etc/named.boot (or /etc/named.conf) file etc.
 o To make it DNS-aware (setiing up DNS client), create a file /etc/resolv.conf with these contents
      domain         my-domain.com
      nameserver  ip-address-of-primary-DNS-server
      nameserver  ip-address-of-secondary-DNS-server
If FTP is not working (what does that mean?) you may want to use ssh's (Secure Shell) sftp (secure tfp) or scp (secure copy) option
0
 
nelson97Author Commented:
I want to make it dns aware.  I installed putty program on my machine to see if I can access it using ssh but haven't had any luck.  I've never used this program.  I entered in the ip to connect to and ran this command at the field where it says "Remote Command' in the SSH section:  ssh root@iris.   The dos window comes up but I get a Fatal Connection Refused message.

 
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
If there is no "sshd" server process (ssh daemon) running on your server, you will not be able to connect
Have you tried using telnet instead?
Whan you say "my machine" you mean a windoze PC?

You may also try: Start -> Run -> "telnet  server-address"
0
 
nelson97Author Commented:
Yes, windows.  I can telnet to it just fine.  But it's getting files copied from that unix box to my machine I'm having trouble with.
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
How do you copy files? Which command? What happens?
You will have to use (in a DOS box) ftp to connect to your server

Inside of FTP:
dir    shows what files you have
get   copies (gets) a file from your server to your PC
put   copies a file from your PC to the server
cd    allows you to change the directory on server side
lcd   changes directory on your PC
bin   switches file transfer mode to binary (not text files)
bye  leaves ftp program

You may also want to install (and use) WSFTP or the like on Windoze
0
 
nelson97Author Commented:
I can't connect using ftp.  It says Host Unreachable.  Although I can telnet to it.  I was able to ftp to it up until a few days ago.
0
 
ahoffmannCommented:
if you can telnet to it, simpley start ftp there and connect to your other host to fetch the files you need
0
 
nelson97Author Commented:
I was able to telnet to the Unix box and verify I can ftp to itself.  I've downloaded and installed cerburus and verified I can ftp to my machine from the unix box.  So basically from my machine, I am telnetting to the unix box, then ftp'ing to my machine.  

When I'm connected to my machine via ftp from unix, I can't seem to transfer unix files over.  It says no such file or directory.  Here are the steps I've taken:

1.  telnet to unix from my machine (windows)
2.  go the the target directory in unix
3.  ftp to my machine
4.  lcd c:\transfer  ( Error: no such file or directory)
4.  tried:   put display1.jpg and get display1.jpg.

I've created a folder on my root C: called Transfer to put these files into.
What am I missing here?

Thanks
0
 
ahoffmannCommented:
> lcd c:\transfer
no.
you're on UNIX, hence lcd is on UNIX box, while cd is on remote windows box
0
 
nelson97Author Commented:
I've tried cd c:\transfer and says Path does not exist.  
0
 
ahoffmannCommented:
cd /transfer

# or
cd ..
cd ..
cd ..
cd ..
cd ..
cd ..
cd transfer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.