Question

VMWare Workstation Network Problem in 7 and Debian GNU/Linux 4.0 etch tty1 init level problem/no gui?

Asked by: jazzIIIlove

Hi there;

I have Debian GNU/Linux 4.0 etch tty1 and he cannot switch to init level 2 to have GUI. When I say runlevel he gives N 2, meaning previos level is N, current level is 2. So, what should I do to have the GUI in it? It sounds xorg-server thing but which way should I start? Also, for diagnostics stuff, there is a file or command for that, but I don't remember that. Could you assist me?

or let me ask stg else, does Debian Etch 4.0 have a gui at all? I mean I am using latest Lenny and he has a gui...

Best regards.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-11-05 at 01:53:36ID24873796
Topics

Debian Linux

,

Linux Setup

,

Linux

Participating Experts
2
Points
500
Comments
93

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Debian runlevels/xdm
    My prior Linux experience has been mostly with Slackware and BSD style initialization. Yesterday, I loaded Debian 2.1 on a new machine and I'm a bit confused :-) Specifically, Debian uses runlevel 2 by default, and after configuring X, boots to xdm. Looking through the scri...
  2. Downloading Debian
    I am trying to download debian (woody) from the net, i am doing this from a MS OS (Server 2003) and i am using jigdo for the download. I find the documentation a bit confusing. Firstly i have downloaded a template and jigdo file for each CD of Debian eg woody-i386-1.jigdo an...
  3. How to add a data partition on my virtual Debian OS?
    I have a Debian Etch running as a VMWare image. Now I want to add an extra disk to hold a large amount of data. How can I do that? When I add an extra disk in the virtual, does this mean that the VMWare image will grow with the size of the disk I add immediately? Or will the ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: chenry334Posted on 2009-11-06 at 12:23:30ID: 25762715

Yes Debian 4.0 Can have a GUI - the question is whether or not you have the proper packages installed.

'gdm' and 'kdm' - gnome and kde desktop manager are the init scripts that start the GUI.

'dpkg -l' will list all the packages you have installed.  I would look for gdm and gnome or kdm and kde packages.  If you don't have them you might want to try install them via apt or aptitude.

If the GUI is alrady installed /etc/init.d/gdm start or /etc/init.d/kdm start (depending on which environment you are using) will start up the GUI.

 

by: jazzIIIlovePosted on 2009-11-06 at 13:16:03ID: 25763125

It seems I haven't got either kdm or gdm because I couldn't run any of them when I tried for them.

I go to the directory of init.d, but It passes too quickly and I cannot see the g or k letter ones. Any interrupter command or an option for ls?:)
ls -l | something?
same for dpkg.

Anyway, when I say, apt-get install gdm, he says failed to fetch http://ftp.debian.org/debian/pool/main/ and_the_files_to_be_installed. I think the reason is as follows: (Please confirm)

I have an internet connection but the machine is a virtual machine in 7 and I can ping google.com from host machine, a 7 and cannot ping from guest machine, Debian...
in guest server, Debian
ping google.com
ping www.google.com

Best regards.

 

by: chenry334Posted on 2009-11-06 at 13:20:20ID: 25763162

There are a few commands you can pipe the output of ls to - more or less are the 2 most common.  ie: ls |less

It looks like your virtual machine isn't connected to the internet.  Can you post the results of 'ifconfig'?  Can you also post the contents of your /etc/resolv.conf file

Do you know if your Windows 7 virtual machine software is setup to do NAT or is it setup to bridge your VM to your actual network?  If it's running NAT does it provide DHCP to assign an address to your linux computer?

 

by: jazzIIIlovePosted on 2009-11-06 at 13:27:28ID: 25763216

I have right now, a similar VM, Ubuntu Server, I couldn't start its X too...

But he can ping, different from debian...

Ok, How to bring visual for latest Ubuntu 9? He hasn't got gdm and kdm too.
When I say apt-get install gdm or kdm in Ubuntu one, he says, couldn't find package gdm/kdm

But at least, he has a connection. I tried for init 2 in Ubuntu, he simply goes next line without any error.

Best regards...

 

by: jazzIIIlovePosted on 2009-11-06 at 13:28:26ID: 25763222

oh, please wait while I was reading your second post...I was writing the above one when you are posting yours and didn't see it...

 

by: chenry334Posted on 2009-11-06 at 13:29:26ID: 25763233

On your Ubuntu machine can you post the contents of /etc/apt/sources.list

gdm is definitely a valid package in Ubuntu.  Either your apt sources are messed up or you haven't updated your local repository - can you try apt-get update;apt-get install gdm gnome

Also is that Ubuntu 9 server or desktop?

 

by: jazzIIIlovePosted on 2009-11-06 at 13:38:24ID: 25763296

In Debian:
When I say ifconfig -a | less
less not found,
When I say ifconfig -a | more
It again pass it...

so, i redirect it to afile and get the shot...
Again same way, ls -l in /etc/init.d no gdm or kdm
Again same way, dpkg -l no gdm or kdm

Best regards.

 

by: chenry334Posted on 2009-11-06 at 13:44:42ID: 25763343

I've never used windows 7 virtualization so I'm not 100% sure how it works - I've always used VMWare.  But in order to install/fix anything in Linux it needs to be able to access the internet....

Typically vmware always runs a DHCP server for all of the VM's it hosts.  In linux you can try to obtain a dhcp address by running: "dhclient eth#" where # is the eth number of your nic.  Based on your ifconfig output it looks like eth2 - do you have more than 1 nic on that machine?  Was the Debian VM cloned or copied?  Linux assigns nic numbers in order - ie: eth0, eth1, etc.  I'm not sure why you would be using eth2 unless eth0 and eth1 were already assigned to active (or previously removed) nics.

If you want to set a static ip edit /etc/network/interfaces - the syntax to set eth2 to a 192.168.0.1/24 ip/subnet would be:

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254

Unless you can figure out the WIndows 7 VM software and get the box on your network it's going to be very hard to do anything with it

 

by: chenry334Posted on 2009-11-06 at 13:45:46ID: 25763353

oops - in my example above that would be assigning a static ip address to eth0 not eth2.... substitute accordingly

 

by: duncan_roePosted on 2009-11-06 at 13:47:54ID: 25763366

Since you don't have "less", I suspect your PATH is wrong. Try "echo $PATH". Does it include /usr/bin?

# Normal user path:
# /usr/local/bin:/usr/bin:/bin
# (possibly followed by other entries, maybe including ".")
# root path should include above plus /sbin:/usr/sbin except maybe exclude /usr/local/bin and "."

                                              
1:
2:
3:
4:

Select allOpen in new window

 

by: jazzIIIlovePosted on 2009-11-06 at 13:49:08ID: 25763377

Ubuntu 9 server edition
I tried apt-get update
He tries to connect tr.archive.ubuntu.com (193.140.100.100)
but he got stuck...

same for apt-get install gdm gnome as attached...

 

by: jazzIIIlovePosted on 2009-11-06 at 13:51:14ID: 25763388

duncan_roe:
Debian:
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

So it has /usr/bin...

Best regards.

 

by: jazzIIIlovePosted on 2009-11-06 at 13:53:42ID: 25763408

So, my issue turns to:
Debian: no ping, no X
Ubuntu: yes ping, yes X...

NAT for both...I have internet connection in Starbox as wifi...Could be the reason (I don't think so)
I mean Ubuntu can ping in this condition, why not Debian?
And why don't they have X?

Best regards and thanks for the interest...

 

by: jazzIIIlovePosted on 2009-11-06 at 13:54:06ID: 25763410

>>Ubuntu: yes ping, yes X...
edit: no X

 

by: jazzIIIlovePosted on 2009-11-06 at 13:54:59ID: 25763417

I am using VMWare under 7 host....

 

by: jazzIIIlovePosted on 2009-11-06 at 13:56:41ID: 25763432

>> - do you have more than 1 nic on that machine?  
Nope one network interface

>>Was the Debian VM cloned or copied?  
Copied. This could be the issue?

>>Linux assigns nic numbers in order - ie: eth0, eth1, etc.  I'm not sure why you would be using eth2 >>unless eth0 and eth1 were already assigned to active (or previously removed) nics.

I have no idea too..:)

Best regards

 

by: jazzIIIlovePosted on 2009-11-06 at 13:57:50ID: 25763446

No LAN cables is plugged by I have internet and Ubuntu has too...Why not debian?
At least I need an X in Ubuntu...

 

by: jazzIIIlovePosted on 2009-11-06 at 14:13:11ID: 25763539

When I reboot Ubuntu VM, he says kvm module failed, this not related with GUI right?

 

by: jazzIIIlovePosted on 2009-11-06 at 14:15:00ID: 25763553

by the way, init 2 command should bring the X in normal working Linux OS right?

 

by: chenry334Posted on 2009-11-06 at 14:20:55ID: 25763592

We should probably focus on the Ubuntu box since you can't get the Debian one online.

Can you post your /etc/apt/sources.list file?  You should be able to run apt-get install gdm gnome or apt-get install ubuntu-desktop unless your apt sources list is wrong

 

by: jazzIIIlovePosted on 2009-11-06 at 14:30:36ID: 25763646

ok...I attached 2 files, since it must be scrolled:)

 

by: jazzIIIlovePosted on 2009-11-06 at 14:36:43ID: 25763692

Ubuntu VM is scratch unlike Debian VM..

 

by: jazzIIIlovePosted on 2009-11-06 at 14:42:44ID: 25763726

Is it possible to list the contents of the remote apt server?
I mean which command?
I tried:
apt-cache search elvis
He didn't give any error and goes to next command line

 

by: chenry334Posted on 2009-11-06 at 14:50:37ID: 25763774

Did you run 'apt-get update' on your ubuntu box?  Your sources.list file looks right - the GDM package is in the jaunty main branch.  

The 2 entries:
deb http://tr.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://tr.archive.ubuntu.com/ ubuntu/ jaunty main restricted

should provide the packages...

 

by: jazzIIIlovePosted on 2009-11-06 at 15:33:52ID: 25764020

when I run for it, he tries to connect for 3 or so minutes and gives the result in following screenshot.

 

by: chenry334Posted on 2009-11-06 at 15:45:53ID: 25764090

Is your ubuntu machine connected to the internet?  Can you resolve DNS properly?

Tests:
can you ping google.com?
can you run dig or nslookup on tr.archive.ubuntu.com

What does your /etc/resolv.conf file look like?

 

by: jazzIIIlovePosted on 2009-11-06 at 15:54:01ID: 25764127

yes I can ping google com
The others are as follows, they seem working...Note that I am not in starbucks and plug LAN and apt-get install gdm still now working...

 

by: jazzIIIlovePosted on 2009-11-06 at 16:19:29ID: 25764273

The very interesting thing is that I downloaded Ubuntu Server via ftp:

/ubuntu-releases/jaunty/ubuntu-9.04-server-i386.iso in ftp.linux.org.tr since in the site, http://www.ubuntu.com/getubuntu/download-server
when I click download server, he wants me download AMD architecture Ubuntu 9. So, I go to the ftp site since my arch is intel (or I want VMWare to use an intel one, does it differ can a vm os be 32-bit or intel or anything on wmware installed on 64-bit host OS?).

I don't really know if it differs: Is VMware have issues with guest 64-bit OSes?

I don't know if this is something arc. but, could it be?

Best regards.

 

by: jazzIIIlovePosted on 2009-11-06 at 16:24:55ID: 25764303

hmm...I go to /etc/X11 and check xorg.conf file but he is not there...I searched for xorg.conf from / directory,no xorg.conf file in the ubuntu system...
what is going on?

 

by: chenry334Posted on 2009-11-06 at 16:30:49ID: 25764327

If you don't have the xserver-xorg package (i believe it is a dependency of the gdm and gnome packages) you won't have the xorg.conf file.

I'm not sure what to tell you - if you can resolve addresses properly but can't update your apt cache from the repository you have some other problem such as a firewall or proxy blocking your connection.  Until you can install the proper packages you can't get a GUI

 

by: jazzIIIlovePosted on 2009-11-06 at 16:45:51ID: 25764392

In the following link, the guy tries to install 9.10, i guess not server edition.
http://superuser.com/questions/63759/no-gui-after-upgrade-to-ubuntu-9-10-boots-to-command-line

But is it a coincidence that we both have the same exact cards? I have ATI Radeon 4650 in my VAIO.
Note that, I have ubuntu 9.10 desktop edition as a seperate partition in that VAIO working perfectly. (Let me say, I upgraded my Ubuntu 9.10 desktop from 8, not a scratch install.)

Also, Is the card I am using really differs in VMWare?

I am now downloading from its http link and from USA if that differs. I will try to install it...

 

by: jazzIIIlovePosted on 2009-11-06 at 16:46:59ID: 25764397

I will inform you after the install...

 

by: jazzIIIlovePosted on 2009-11-06 at 16:54:05ID: 25764417

by the way, my question is:
Does init 2 command bring the GUI whenever I go into shell screen (I don't know its init value)?

 

by: chenry334Posted on 2009-11-06 at 18:09:53ID: 25764674

init 2 puts you into runlevel 2.  If you look at /etc/rc2.d/ all the scripts that start with S are started at that runlevel and all the scripts that start with K are killed at that runlevel.

I don't have an Ubuntu system handy - but on a Debian System (which is what Ubuntu is based on) in the rc2.d folder we have: S21gdm -> ../init.d/gdm which means that gdm is started at runlevel 2.  Therefore yes it should start up the GUI.  However if you don't have gdm installed then init2 will _not_ start the GUI.  You can't start something that isn't installed on the system!

You don't need to init 2 however to get to the GUI - you can just start the gdm script in /etc/init.d

 

by: jazzIIIlovePosted on 2009-11-06 at 18:13:14ID: 25764688

thank you...Btw, I just downloaded the iso...

 

by: jazzIIIlovePosted on 2009-11-06 at 18:44:49ID: 25764761

ok, i install it. This time, again I have no gui by default. I go to etc and check for gdm. He is there. (not in etc/init.d)

I tried for gdm start without luck. Then I applied apt-get install gdm, again the very same error as above. I can ping the ip, this time to an IP in USA. dpkg -l | less gives no gdm. /etc/X11 is again empty.

To put it simply, I am in the same point, only for the etc/gdm is there.

 

by: jazzIIIlovePosted on 2009-11-06 at 18:46:21ID: 25764762

When execute gdm in /etc folder:

he says gdm is not found in the fllowing packages,
gdm
gdm-2.20
Try: apt-get install <selected package>
gdm: command not found

 

by: jazzIIIlovePosted on 2009-11-06 at 18:47:48ID: 25764763

apt-get install gdm
blabla
Package gdm is not available, but is referred to by another package.
...
E: Package gdm has no installation candidate...

 

by: jazzIIIlovePosted on 2009-11-06 at 18:49:14ID: 25764765

This is very annoying...Could you give me the link for this gdm stuff and I can download from somewhere else?

 

by: chenry334Posted on 2009-11-06 at 18:51:12ID: 25764767

is something blocking port 80 on your network?  Do you have to use a proxy to browse the web? The root problem is that you cannot download packages and you need to figure out why that connection is failing.  

By default Ubuntu server does not come with a GUI.  However you can of course always install it.

Can you try using wget to grab a webpage to see if that works - ie: wget http://www.google.com

On an Ubuntu 9.04 server I have - if you have an up to date repository (you won't because your apt-get update is failing - when you install gdm you'll get:

root@mybox:/home/user1# apt-get install gdm
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ssl-cert
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
.
.
.

Suggested packages:
.
.
.
.
The following NEW packages will be installed:
.
.
.
0 upgraded, 167 newly installed, 0 to remove and 5 not upgraded.
Need to get 44.3MB of archives.
After this operation, 187MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@mybox:/home/user1#

 

by: chenry334Posted on 2009-11-06 at 18:52:38ID: 25764771

Try: apt-get install ubuntu-desktop

 

by: jazzIIIlovePosted on 2009-11-06 at 18:56:26ID: 25764781

I tried:
sudo dpkg-reconfigure xserver-xorg with no luck

sudo apt-get purge xserver-xorg | sudo apt-get install xserver-xorg with no luck

He keeps saying not available, no installaiton candidate thing everytime.

 

by: jazzIIIlovePosted on 2009-11-06 at 18:58:16ID: 25764787

apt-get install ubuntu-desktop
results:

Readig package lists... Done
Building dependency tree
Read ing state information... Done
E: Couldn't find package ubuntu-dekstop

 

by: jazzIIIlovePosted on 2009-11-06 at 19:04:31ID: 25764797

he stucks with wget...he resolves the name to ip...But stucked at Connection to www.google.com|ip numbers...(time out after 5 or so mins.)

But I have nothing special in my host machine...I mean no proxy server setting, the machine is scratch and can reach everywhere.

He gets ip automatically, no static ip or dns setting.
In VMWare, network adapter is NAT., connected, connec at power on. Do you recommend anything special?

 

by: jazzIIIlovePosted on 2009-11-06 at 19:08:22ID: 25764810

I mean I can ping google from server. I just changed into bridged but don't selec Replicate physical network connection state.

 

by: chenry334Posted on 2009-11-06 at 19:09:17ID: 25764814

I'm honestly not sure what's blocking it - but that is your problem.  If you can't use wget to even download a page such as www.google.com you can't get out to download any packages.

Basically your machine has never sync'd it's local package list with the Ubuntu repository so it doesn't know that all these other packages exist - which is why you're getting 'package not found' errors.

What does your routing table look like: run 'route' and what does ifconfig return?

 

by: jazzIIIlovePosted on 2009-11-06 at 19:15:14ID: 25764823

route returns:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.64.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.64.2      0.0.0.0 UG 100 0 0 eth0

ifconfig is coming:

 

by: jazzIIIlovePosted on 2009-11-06 at 19:16:40ID: 25764827

 

by: jazzIIIlovePosted on 2009-11-06 at 19:23:00ID: 25764839

This drives me nuts...

ifconfig eth0 down
ifconfig eth0 up
dhclient -r gives some info...
Listening on LPF/eth0/ 'a mac address I guess'
Sending on LPF/eth0/ 'a mac address I guess'
Sending Socket/fallback


 

by: jazzIIIlovePosted on 2009-11-06 at 19:23:45ID: 25764842

My VMWare is 6.5.1 build-126130

 

by: jazzIIIlovePosted on 2009-11-06 at 19:26:12ID: 25764851

I am installing Debian and a mere XP is to clear out VMWare issue...

 

by: jazzIIIlovePosted on 2009-11-06 at 19:37:08ID: 25764868

by the way, I really appreciate you are dealing with my question.

 

by: jazzIIIlovePosted on 2009-11-06 at 20:01:26ID: 25764931

I installed XP, guess what I can ping google but cannot enter google.com via browser...So, the issue is not Debian/Ubuntu/XP...It is vmware or 7...

 

by: jazzIIIlovePosted on 2009-11-06 at 20:05:35ID: 25764940

I tried the other adapter setting in vmware but they even cannot ping, only NAT can ping...What a question...

 

by: jazzIIIlovePosted on 2009-11-06 at 20:21:20ID: 25764977

when i troubleshot in one of the vmware adapter, 7 says, he cannot automatically fix the problem but:
DHCP is not enabled for VMWare Network Adapter VMnet1..Detected..yellow ! sign

 

by: jazzIIIlovePosted on 2009-11-06 at 20:25:18ID: 25764984

This machine, guest, host altogether have no static IPs in it, no AV, no 3rd party firewall, Windows Firewall is completely closed.

 

by: jazzIIIlovePosted on 2009-11-06 at 20:36:50ID: 25765004

http://communities.vmware.com/thread/215472

I have fixed my problem. I too had changed the IP subnet of the NAT connection, but I don't use DHCP. After reading another post, I turned DHCP on and then back off. My VMs have Internet access again.

 

by: jazzIIIlovePosted on 2009-11-06 at 20:38:06ID: 25765007

The host is having dynamic IP, NATted in guest OS, so how to set IP subnet?
I have nothing static.
I turned DHCP off/on. He was enabled by default.

 

by: jazzIIIlovePosted on 2009-11-06 at 20:38:35ID: 25765009

>>I have fixed my problem. I too had changed the IP subnet of the NAT connection, but I don't use DHCP. >>After reading another post, I turned DHCP on and then back off. My VMs have Internet access again.

This is a quote. I haven't fixed anything.:)

 

by: jazzIIIlovePosted on 2009-11-06 at 20:54:15ID: 25765043

I just re-enabled DHCP setting in Edit->Virtual Network Editor...

Everything is same, still no joy and it is morning now:)

 

by: jazzIIIlovePosted on 2009-11-06 at 21:18:16ID: 25765097

I updated the DHCP setting parameters of adapters as enabled in 7. Still same problem...

 

by: jazzIIIlovePosted on 2009-11-06 at 22:15:35ID: 25765177

grr...I installed virtual box and he can reach the net!
I will probe Ubuntu on virtual box...

 

by: jazzIIIlovePosted on 2009-11-06 at 22:20:16ID: 25765185

>>I updated the DHCP setting parameters of adapters as enabled in 7. Still same problem...
in registry. I know revert it...

I am downloading latest VMWare...will see what happens...

 

by: jazzIIIlovePosted on 2009-11-06 at 23:42:29ID: 25765354

ok, I have made it worked in virtualbox, ubuntu and XP
Ubuntu and XP are working in Vmware 7.0 too.
The Debian I have some issue right now, as in the original question.
when I say apt-get update in debian, no joy:
as in the shot.

 

by: jazzIIIlovePosted on 2009-11-06 at 23:43:42ID: 25765357

attachment

 

by: jazzIIIlovePosted on 2009-11-06 at 23:46:40ID: 25765367

He gives the similar error for ftp.debian.org/debian/pool...
He cannot figure out ftp.debian.org.

How to fix it? After all, we turn back to original question in 10 hours:)

 

by: jazzIIIlovePosted on 2009-11-06 at 23:58:23ID: 25765389

in fact, he connects as you see when I say apt-get install less
But somehow, he cannot connect and install the package
When I say wget google stuff, examine the last screenshot...
He can resolve google.com...

What to do?

 

by: chenry334Posted on 2009-11-07 at 00:19:15ID: 25765429

/etc/resolv.conf is the file that controls your DNS configuration.  Syntax is:

search mydomain.com
nameserver 4.2.2.2
nameserver 1.1.1.1
nameserver 2.2.2.2.

Of course substitute the IP address of your DNS server.  Search sets the default domain to append to names

 

by: jazzIIIlovePosted on 2009-11-07 at 00:26:11ID: 25765436

ping debian.org
ping: unknown host debian.org

ping www.google.com
Same above

ping 72.125.53.100 (I nslookup in windows for google.com)
connect: Network is unreachable

It's NAT. My scratch VMs can connect. Why not this?

As in above, he seems very close to get the packages.

 

by: jazzIIIlovePosted on 2009-11-07 at 00:28:43ID: 25765442

>>Of course substitute the IP address of your DNS server.  Search sets the default domain to append >>to names
You mean to add DNS server records manually? How? I am confused:)

my /etc/resolv.conf file have to records in it.
search localdomain
nameserver 192.168.121.2

Best regards.

 

by: jazzIIIlovePosted on 2009-11-07 at 00:38:53ID: 25765462

I think I must add DNS server of that VM VMnet8 adapter since it is NAT:
But when I ipconfig /all
I see the DNS servers as

fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1

not the ip of DNS

 

by: jazzIIIlovePosted on 2009-11-07 at 00:40:36ID: 25765467

Everything in this host guest machines are dynamic.

 

by: jazzIIIlovePosted on 2009-11-07 at 00:44:17ID: 25765472

I update the file as:

search localdomain
nameserver 192.168.2.1 (when I ipconfig /all from my XP machine, I got this unlike 7 as above)
nameserver 192.168.121.2
nameserver 4.2.2.2
nameserver 1.1.1.1
nameserver 2.2.2.2

apt-get install gdm
still same, no joy...

 

by: jazzIIIlovePosted on 2009-11-07 at 00:45:42ID: 25765478

>>Everything in this host guest machines are dynamic.
except for copied debian one...I am not sure what is going on in it, since I copied it. Also, I import it in VMWare Workstation 7 with success. But no joy right now...

Best regards.

 

by: jazzIIIlovePosted on 2009-11-07 at 00:48:29ID: 25765484

When I say, apt-get install less, he says, the following new package will be installaed:
less
0 upgrade, 1 newly installed, 0 to remove and 49 not upgraded.
...
Warning: The following packages cannot be authenticated!
less
I got stuck after that, he says Install these package without verification [y/N]: both fails.

 

by: jazzIIIlovePosted on 2009-11-07 at 00:51:40ID: 25765490

I tried /etc/init.d/nscd restart to restart dns but I haven't got nscd in the path...oh dear...

 

by: jazzIIIlovePosted on 2009-11-07 at 01:05:44ID: 25765512

As you said and expert-exchange advices in the link:
http://www.experts-exchange.com/OS/Linux/Distributions/Ubuntu/Q_24185900.html

I added my gateway IP, 192.168.2.1 as a record but no joy.

 

by: jazzIIIlovePosted on 2009-11-07 at 01:18:31ID: 25765546

I run my VPN client in 7 host and add the static DNS of that VPN to the guest os. No joy.

 

by: jazzIIIlovePosted on 2009-11-07 at 01:22:12ID: 25765559

Ok, ifconfig -a result as follows:

P.S. I am out of solutions, please help:)

 

by: jazzIIIlovePosted on 2009-11-07 at 01:56:20ID: 25765641

I even edit eth3 to eth0 in the following:
nano /etc/udev/rules.d/z25_persistent-net.rules
no joy..

ping debian.org
ping: unknown host debian.org
ping www.google.com
Same above

apt-get install less
failure...

Ok, I am done and go to bed...
Best regards.

 

by: jazzIIIlovePosted on 2009-11-07 at 02:15:45ID: 25765694

I even edit:
nano /etc/apt/sources.list

changing the repository from http://ftp.. to ftp://... or adding country extension ftp.tr blabla...

no joy.

 

by: jazzIIIlovePosted on 2009-11-07 at 04:16:03ID: 25765983

ok, two last shots from me:
I set DNS as 4.2.2.1 in host OS, edit the guest as 4.2.2.1...no joy...

I get the very original VM and reapply apt-get stuff...no joy...

 

by: jazzIIIlovePosted on 2009-11-07 at 04:22:31ID: 25766004

The very last shots: I think ethernet is not recognized in the VM.
To prove my state, I take the same VM in Windows XP in VMWare 6.5, so no compatibility issues.

When he is booting, he says he couldn't find the interface and when I ifconfig -a, I got eth3 as in shots

In the file as in scr, the MAC is the original MAC of my friend's machine, so, I think I need to edit this
/etc/udev/rules.d/z25_persistent-net.rules file as in the shot, but how?, I tried but failed. The contents are as follows. I changed the MAC given to my VMWare 8 adapter since I am NATTING. This is my borderline. I have no other ideas. Please help me.

Best regards.

P.S.: I editted the DNS as 192.168.2.1 my gateway IP aka DNS server IP as cmd->ipconfig /all tells so in XP.

 

by: jazzIIIlovePosted on 2009-11-07 at 05:54:19ID: 25766324

Unbelievably, I finally reach the server...

I edit /etc/udev/rules.d/z25-persistent-net rules:
with this:
blabla...ATTR{address}=="mymacinsmallletters", ATTR{type}=="1", NAME="eth0"

voila, I can now reach it and downloaded gdm, started gdm, he says where is xorg-server, after the apt-get, I was waiting finally for the desktop, but noo...my karma is low, there appears a wizard for xorg. I mean, I make the stuff default, only for the card is as default vesa, I changed it to wmware and no gui again...

When I go /etc/X11/ xorg.conf is empty 0 byte. Why does Debian torture me?:) Anyway, I am on it...

Best regards...

 

by: jazzIIIlovePosted on 2009-11-07 at 05:59:02ID: 25766346

Those are in XP. I switch to my 7. In XP, I had changed DNS to 192.168.2.1 in XP but I don't change in 7 to see whether it is a DNS issue or MAC issue and he can connect the repository with again some IP starting with 192 but not my gateway/DNS IP. So, after all, it seems it is not a DNS issue...

Ok, I will get a snapshot of the VM prior to gdm and xorg installation in 7...So, we can revert if we can fail...

 

by: jazzIIIlovePosted on 2009-11-07 at 07:19:01ID: 25766560

in XP, with the command:
dpkg-reconfigure xserver-xorg brings the menu again, not all the menus though...

the list as siliconmotion
sis
sisusb
tdfx
tga
trident
tseng
vesa
vga
via
wmware
voodoo

After selecting vesa/vga/vmware, the modes are coming, 1024x768, 800x600 and 640x480 are selected by default, I didn't change that...
After that, he says reconfigure the X server with my above command...Screenshots are as follows...

 

by: jazzIIIlovePosted on 2009-11-07 at 07:52:05ID: 25766697

ok, after installing vm to 7, I finally have a gui but immediately after login in gui, a shell window appears on upper left corner with prompt. I have the xorg.conf file by the way.

 

by: chenry334Posted on 2009-11-07 at 07:55:05ID: 25766715

gdm is just a desktop manager that will load a desktop once you login.  Have you installed the 'desktop-gnome' or 'gnome' packages so that gdm can load gnome when you login?

 

by: jazzIIIlovePosted on 2009-11-07 at 08:04:10ID: 25766759

desktop-gnome seems invalid, but gnome is valid and downloading...16/246

 

by: chenry334Posted on 2009-11-07 at 08:11:18ID: 25766788

oops it's 'ubuntu-desktop'

 

by: jazzIIIlovePosted on 2009-11-07 at 08:11:28ID: 25766790

Downloading is ridiculuously slow. Why? Both machines, XP and 7. 20 KB/s. I have 200KB/s normally.
XP has DNS set in vm, 7 hasn't.

 

by: jazzIIIlovePosted on 2009-11-07 at 17:38:50ID: 25768993

Lovely...at last...

 

by: jazzIIIlovePosted on 2009-11-07 at 17:39:57ID: 25768998

without your help, this question may stuck in some points, I mean you don't give the answer directly but lead me for the solution.

Best regards and thank you for your very interest.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...