Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-18-2004, 07:38 AM
|
#1
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Rep:
|
eth0 not working on fedora running in VMware 4 on WinXP pro machine
Hi there,
I have installed Fedora Core 1 on both my desktop machine and laptop machine and upon booting the eth0 will not work.
Due to my temory dependence on Windows (yuck) I'm having to run it within VMware 4, my windows is XP pro on my desktop and home on the laptop yet have the same problem (note: also same problem under VMware 3.5).
When it comes to initalizing eth0 it comes up with this:
Bringing up interface eth0:
Determining IP information for eth0... failed: no link present. Check cable?
[failed]
My network works great outside of VMware on both machines.
any sugestions?
it also fails the console mouse services and smartd, but im not too concerned about these just yet.
|
|
|
06-18-2004, 11:01 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
Could you please copy the result of
ifconfig
Just type ifconfig at the console and copy and paste the output here.
|
|
|
06-18-2004, 02:44 PM
|
#3
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
OK  here it is:
[root@VM-Athlon root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:244.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX oackets:5367 errors:0 dropped:0 overruns:0 frame:0
TX oackets:5367 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4303162 (4.1 Mb) TX bytes:4303162 (4.1 Mb)
[root@VM-Athlon root]# uname -a
Linux VM-Athlon 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21 EST 2003 i686 athlon i386 GNU/Linux
I did the uname incase you needed the information.
thanks
|
|
|
06-19-2004, 06:25 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
As you can see you have not provided the ip for eth0.
Just type
ifconfig eth0 ipaddress
That should get you working.
|
|
|
06-22-2004, 01:41 PM
|
#5
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
I gave up and wiped my laptop and put Fedora Core 2 on it  works great.
I forgot to plug in the network cable before booting though and had to do ifconfig eth0 192.168.0.5 to get network up. but it wouldnt resolve URLs, how do I get the to work without rebooting?
|
|
|
06-22-2004, 02:23 PM
|
#6
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
You can try two things,
1. service network restart
This restart the network services and bring up eth0 if bring up at boot is enabled
2. ifconfig eth0 up
This is brings up eth0
Plus tell me, do you also have some subnet mask or something which you need to provide. I mean do a ifconfig and check all the values if they are fine.
And, does eth0 connect to a local network or to a cable network?
|
|
|
06-22-2004, 05:04 PM
|
#7
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
I have a router connected to my cable network and basically all my machines are in the 192.168.0.x ranges and I usually use the subnet mask of 255.255.255.0 dunno if that helps.
I ended up rebooting anyway, its all working, I'm just curious incase I have to use the internet again and have forgot to plug the cable in 
|
|
|
06-22-2004, 11:36 PM
|
#8
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
Ok good. So then(incase you forget to pluging the cable) you can do
service network restart
or
ifconfig eth0 up
Both will work fine.
|
|
|
06-23-2004, 09:00 AM
|
#9
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
well, ifconfig eth0 up and also service network restart works, but how do I bring up the DNS?  still doesn't seem to resolve names.
|
|
|
06-23-2004, 10:47 AM
|
#10
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
did you check out the router firmware? You have to do
http://192.168.XX.XX in the browser, which is the address of the router. Therein you need to provide the DNS which is the same as your default gateway.
Does this help or did I not understand your question?
|
|
|
06-23-2004, 06:12 PM
|
#11
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
My settings in my router are set ok 
its set has DHCP server and all works great, linux picks up the DNS server if I have the cable in during boot, but if i dont have the cable in during boot and initialize it after with the cable in then it doesnt resolve DNS or ask the router for DNS even.
I think its the way I'm wording it unfortunaly
thanks for the help eitherway  I really apreciate it.
|
|
|
06-24-2004, 02:28 AM
|
#12
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
From my experience, I've never seen this. Sorry dude, can't help you fix this issue
Anyways, it's not much of a bug, so...
Cheers.
|
|
|
06-24-2004, 01:13 PM
|
#13
|
Member
Registered: Jun 2004
Location: Niagara Falls, Canada
Distribution: Ubuntu
Posts: 30
Original Poster
Rep:
|
no worries, ill just reboot it whenever I come across it again
thanks for the sugestions, they may not have solved it but they are usefull all the same 
|
|
|
06-24-2004, 01:18 PM
|
#14
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
Cheers 
|
|
|
06-25-2004, 05:45 PM
|
#15
|
LQ Newbie
Registered: Jun 2004
Posts: 2
Rep:
|
ratgod,
Did you give up on trying to get Red Hat 9 to work? I have been running into the same problems. I have a virtual machine with 7.3 working just fine. For some reason RH9 doesn't seem to work.
Has anyone been able to get RH9 to work when using VMware?
|
|
|
All times are GMT -5. The time now is 11:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|