LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-11-2005, 05:31 PM   #1
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
Internet working, but intranet is not? (telnet/ssh issues)


Short Version

This doesn't work:

Code:
pegasos@debian:~/metrix/results$ telnet p43-2
telnet: could not resolve p43-2/telnet: Name or service not known
pegasos@debian:~/metrix/results$ ssh p43-2
ssh: p43-2: Name or service not known
I can't figure out why. Help!



Detailed Version

I'm at work on a Debian PowerPC machine and I'm having trouble getting telnet or ssh to respond. This machine has two Debian distros, one with a 2.4.x kernel and one with a 2.6.x kernel. Previously the 2.6.x could not boot into gui, but could telnet/ssh onto other machines on our intranet. The 2.4.x kernel could boot into a gui, but had no net access (telnet/ssh, nor web browser capabilities). I did an apt-get upgrade from the 2.4.x kernel image (and there were *a lot* of packages outdated) and I updated them all.


Now the following happens:
2.4.x: still boots into gui, can access websites and other internet services. Can not telnet/ssh to machines
2.6.x: still can not boot into gui, and now also can not telnet/ssh to machines.

Here's the output:
Code:
pegasos@debian:~/metrix/results$ telnet p43-2
telnet: could not resolve p43-2/telnet: Name or service not known
pegasos@debian:~/metrix/results$ ssh p43-2
ssh: p43-2: Name or service not known
Even if I specify the full machine path-name (which I shouldn't have to), I get the same error. I googled and I couldn't find any solution to my problem. Can anyone provide me guidance? Thanks



PS: The reason I'm not asking the IT department is because this particular machine is for our group alone, and the IT dept. hasn't messed with it.
 
Old 02-11-2005, 06:08 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Re: Internet working, but intranet is not? (telnet/ssh issues)

Quote:
Originally posted by R00ts
Even if I specify the full machine path-name (which I shouldn't have to), I get the same error. I googled and I couldn't find any solution to my problem. Can anyone provide me guidance?
Short version:
Your system's resolver is configured incorrectly

Detailed version:
You have to use the machines FQDN (Fully Qualified Domain Name -- path-names are a filesystem thing) unless you have a search domain(s) set in /etc/resolv.conf. This is the file that you need to start with. If you don't know how that file works, man resolv.conf

Last edited by sigsegv; 02-11-2005 at 06:09 PM.
 
Old 02-11-2005, 06:11 PM   #3
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
Re: Re: Internet working, but intranet is not? (telnet/ssh issues)

Quote:
Originally posted by sigsegv
Short version:
Your system's resolver is configured incorrectly

Detailed version:
You have to use the machines FQDN (Fully Qualified Domain Name -- path-names are a filesystem thing) unless you have a search domain(s) set in /etc/resolv.conf. This is the file that you need to start with. If you don't know how that file works, man resolv.conf

I thought that I had already tried the FQDN before and it didn't work, but I just tried it in 2.4.x (GUI version) and it worked! Thanks a lot for your help. I feel like an idiot now for not trying that eariler
 
  


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
Intranet Webserver Networking Issues (RH Enterprise Version 3 - No route to host) ETSUSnake Linux - Networking 11 02-10-2005 04:43 PM
telnet, lynx , and other internet services are not working xxx_anuj_xxx Linux - Security 3 12-30-2004 11:22 PM
IP addresses for internet and intranet GoTrolling Linux - Software 0 01-20-2004 03:49 PM
Intranet computers cannot see internet (need immediate help) arobinson74 Linux - Networking 3 04-01-2003 10:24 AM
telnet, ssh, imapd not working right elconde Linux - Networking 2 02-21-2002 11:43 AM


All times are GMT -5. The time now is 12:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration