LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-02-2009, 09:36 AM   #1
maya.asagao
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 0
telnet problem


Hi,

I am using Ubuntu 7.10. For zebra, when I checked whether telnet is working or not,

> telnet localhost
Trying 127.0.0.1...
telnet : Unable to connect to remot host : Connection refused


Then to be sure, I made "sudo apt-get install inetutils-telnetd", I got the following! I need to install latest version of Ubuntu? Or I missed something? Any help would be much appreciated. ^-^




......
The following extra packages will be installed:
libshishi0 shishi-common
Suggested packages :
shishi
The following NEW packages will be installed :
inetutils-telnetd libshishi0 shishi-common
0 upgraded, 3 newly installed, 0 to remove and 113 not upgraded.
1 not fully installed or removed.
Neet to get ....
.....
.....
WARNING : The following packages cannot be authenticated!
shishi-common libshishi0 inetutils-telnetd
Install these packages without verification [y/N] y
Err http://archive.ubuntu.com gutsy/universe shishi-common 0.0.30-2
404 Not Found [IP: 91.189.88.46 80]
Err ......
Failed to fetch .....
Failed to fetch ....
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?



thanks in advance,
maya
 
Old 07-02-2009, 10:04 AM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Usually if you get 404 errors from apt, you can resolve them by running 'sudo apt-get update'. See the man page 'man apt-get' for more info on what update does. You should then be able to install the telnet daemon.
 
Old 07-02-2009, 10:34 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
maya_asagao:

you don't telnet your own localhost, what for? 127.0.0.0. and 127.0.0.1 are a universal convention assigning these numbers to your own machine. however, you may telnet your gateway router or your external broadband modem. usually these subnet hosts have subnet ip's like 192.168.1.1 this is usually your gateway or modem or that of 192.168.254.254 depending on the modem you have. try issue "ifconfig -a" to have read your subnet state, if it returns your gateway then you can try telnet and play with that.

for telnet manual enter --$ man telnet <Enter>
read the manual how to play with that
it seems you are using this for the school homework right?

goodluck.
 
Old 07-03-2009, 12:56 AM   #4
maya.asagao
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Udi View Post
Usually if you get 404 errors from apt, you can resolve them by running 'sudo apt-get update'. See the man page 'man apt-get' for more info on what update does. You should then be able to install the telnet daemon.
Thanks for the information. I have already tried apt-get update. The output is as follows.

......
.....
......
Err http://security.ubuntu.com gutsy-security/universe Packages
404 Not Found
Err http://security.ubuntu.com gutsy-security/main Packages
404 Not Found
Err http://security.ubuntu.com gutsy-security/multiverse Packages
404 Not Found
Ign http://archive.ubuntu.com gutsy-updates/universe Packages
Ign http://archive.ubuntu.com gutsy-updates/main Packages
Ign http://archive.ubuntu.com gutsy-updates/multiverse Packages
Ign http://archive.ubuntu.com gutsy-updates/restricted Packages
Err http://security.ubuntu.com gutsy-security/restricted Packages
404 Not Found
Err http://archive.ubuntu.com gutsy/universe Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy/main Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy/restricted Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy/multiverse Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy-updates/universe Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy-updates/main Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy-updates/multiverse Packages
404 Not Found [IP: 91.189.88.46 80]
Err http://archive.ubuntu.com gutsy-updates/restricted Packages
404 Not Found [IP: 91.189.88.46 80]
Fetched 41.4kB in 3s (11.6kB/s)
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz 404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz 404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz 404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/di...86/Packages.gz 404 Not Found
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.46 80]
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

regards,
maya
 
Old 07-03-2009, 01:07 AM   #5
maya.asagao
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by malekmustaq View Post
maya_asagao:

you don't telnet your own localhost, what for?
I am trying zebra. In its documentation, it uses `telnet localhost` to connect to the zebra daemon via telnet protocol. In fact, before configuring zebra, I am just checking telnet is working or not.

Thanks for your kindness. Since I am not good at linux, i cant figure out that it is due to ubuntu version or I missed smt when apt-get install/update gives errors.

Although telnet problem isnt fixed, I will have tons of questions about configuring zebra after telnet is fine. ;D

regards,
maya
 
  


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
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
Can't end telnet servcie in xinetd when close remote telnet cliend forcely zeroneworld Linux - Newbie 2 12-09-2007 08:47 PM
Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. zeroneworld Linux - General 1 12-06-2007 07:17 AM
Running Telnet in a script, want to save Telnet output, howtodothis??? anil3 Linux - Software 2 03-08-2006 04:01 PM

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

All times are GMT -5. The time now is 12:04 AM.

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
Open Source Consulting | Domain Registration