LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-30-2008, 07:44 PM   #1
hackersapien
LQ Newbie
 
Registered: Jul 2003
Location: Nairobi
Distribution: Debian 4.0
Posts: 10

Rep: Reputation: 0
Unable to connect debian Virtual Machine to internet


I'm running windows XP with a Debian Virtual Machine installed using Vmware Server. My XP connects to the internet ok, but my debian VM isn't connecting. In my vmware server settings I have NAT as network type. When I run apt-get update I get the following error "Could not resolve www.backports.org", in my /etc/network/interfaces I have edited and set it to:
Code:
auto lo
iface lo inet loopback
My windows is running DHCP, when i type ipconfig on windows

Code:
Windows IP Configuration


Ethernet adapter VMware Network Adapter VMnet8:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.32.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : si.rr.com
        IP Address. . . . . . . . . . . . : 68.174.254.163
        Subnet Mask . . . . . . . . . . . : 255.255.252.0
        Default Gateway . . . . . . . . . : 68.174.252.1
Do i need to do any additional configuration on the debian side to get to work?
 
Old 09-30-2008, 10:10 PM   #2
darthaxul
Member
 
Registered: Aug 2008
Distribution: Devuan; Gentoo; FreeBSD
Posts: 236

Rep: Reputation: 19
missin

make sure the vm has a network card and type these commands
echo "auto eth0" >> /etc/network/interfaces
echo "iface eth0 inet dhcp" >> /etc/network/interfaces
ifup eth0
 
Old 09-30-2008, 10:47 PM   #3
hackersapien
LQ Newbie
 
Registered: Jul 2003
Location: Nairobi
Distribution: Debian 4.0
Posts: 10

Original Poster
Rep: Reputation: 0
I ran the command, I know it modified my /etc/network/interfaces, I also noticed that I can ping google.com but not debian.org and not backports.org, within my /etc/apt/sources.list I have the backports url deb http://www.backports.org/debian etch-backports main contrib non-free but I keep getting the same error. When I ping the IPs they work, I've tried replacing the URLS with the IPs in the sources.list file but no luck.
 
  


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
Unable to change the Virtual Machine Power State swiswire Debian 3 09-29-2008 02:58 PM
Unable to start virtual machine satimis Linux - Server 7 12-19-2007 11:08 PM
VMware: Unable to change virtual machine power state niteshadw Ubuntu 1 08-21-2007 11:11 AM
MS Outlook fails to connect in XP Virtual Machine rdm999 Linux - Newbie 1 08-19-2007 06:11 PM
Unable to connect to virtual host,please help! linuxnoob86 Linux - Networking 1 05-15-2007 01:38 PM

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

All times are GMT -5. The time now is 06:42 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
Open Source Consulting | Domain Registration