LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2010, 01:59 AM   #1
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Rep: Reputation: 3
Linux Static IP Configured | Not working properly


Hey.

I am using 2 VPS machines on VMware workstation.

The older one is Debian 5.0 ( Lenny ) and I have successfully installed Static IP to networking and it works fine without any problems.

I just installed another Debian 5.0.6 ( Latest ) Lenny and installed another static IP. It's partially working and partially not. When I ping the server, the ping is successful but if I try to SSH, it says Connection refused and even if I try to use the net through the machine, it doesn't work and host name lookups fail. What could be the issue ?


When I power off the VPS, I am also not able to Ping the server. This proves that the pings are being received by the Server but network is not working properly.
 
Old 10-30-2010, 02:29 AM   #2
sys64738
Member
 
Registered: May 2008
Location: NRW/Germany
Posts: 105

Rep: Reputation: 30
Hi
You told that you're able to ping the machine from the "outside". How about logging in the new VM and ping IP Addresses. Does that work?
Then about your new VM. Did you install openssh as server (is "sshd" running)?
 
Old 10-30-2010, 03:50 AM   #3
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Yes I discovered one more thing.

I can also ping other IP-addresses through the server and I can ping the server too .

So basically the SSH and Hostname lookup fails. For example if I do wget google.com, it fails and so does apt-get install anything. So I am not able to use Addresses or SSH.

Openssh-server and openssh-client are both installed but it says connection refused by server when I try to SSH into the machine.

I have also added Google DNS nameservers to the machine /etc/resolve.conf but still fails.
 
Old 10-30-2010, 04:38 AM   #4
AsadMoeen
Member
 
Registered: Jun 2010
Posts: 160

Original Poster
Rep: Reputation: 3
Sorry all .

Lock this topic. I'm a mad person lol. Had been using resolve.conf instead of resolv.conf
 
  


Reply



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
is my swap configured properly? pellicle Linux - Newbie 5 08-05-2008 08:57 AM
Oidentd properly configured ... still not working. lp449 Linux - Networking 0 04-15-2008 04:25 PM
NIC not configured properly mr-flibble Linux - Networking 4 03-28-2007 12:19 AM
no screens found but X configured properly??? Lbtg43 Linux - Newbie 3 10-11-2004 01:04 AM
ATI tv wonder ve not properly configured? jimMC Linux - Hardware 4 07-23-2004 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:11 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