LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-30-2004, 08:46 AM   #1
schechtman
LQ Newbie
 
Registered: Aug 2004
Location: Rio de Janeiro, Brazil
Distribution: Mandrake 10
Posts: 2

Rep: Reputation: 0
Ethernet and DHCP problem


When starting Mandrake 10 I get a message stating that the system failed to initialize Eth0. My network was configured as static ip (on MCC) and is working perfectly. However, when i try to configure as dhcp (dynamic) I am unable to connect to the internet.
What is wrong?
 
Old 08-30-2004, 08:06 PM   #2
keyshawn
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu_Hoary_5.04
Posts: 16

Rep: Reputation: 0
did you upgrade from 9.2 ?

I cant say much, since you didn't provide much information about your NIC [network card] and your cable modem...
 
Old 09-03-2004, 03:54 AM   #3
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 118

Rep: Reputation: 16
here is what you do

From your Windows XP box, you must make sure it is connect to the internet and also provides a ip address for it self. IP LAN and IP WAN. Also, you must configure Win XP to use "Internet Connection Sharing" where it uses DHCP to share an internet connection with other computers.

To find out you ip information, type this command from the run option off Windows XP:

cmd
ipconfig /all

This should list some information about IP configuration, Ethernet adapter connection, and your internet connectio.

From your Mandrake box (I have version 9.1), you must learn how to read your /var/log/messages file and run a command called dhclient.

I use this command as root to read the messages file:

tail -f /var/log/messages

You should see some messages that have DHCPREQUEST, DHCPACK, DHCPDISCOVER, and DHCPOFFERS

Type "whereis dhclient" to find where this file is located.

Let me know what you find out. Also, a little information about trying to find out information goes a long way...
 
Old 09-05-2004, 07:39 PM   #4
chfite
LQ Newbie
 
Registered: Nov 2003
Location: Taylors, SC
Distribution: Mandrake 10.0
Posts: 13

Rep: Reputation: 0
For some strange reason, I get the same error message to boot time. Nevertheless, the connection works and shows up good in the control center. I did upgrade from 9.1, so that may explain it. I just ignore it and move on.

I use a static address for my network. If dhcp does not work, check to see that there is a dhcp server available for your box to get an address. If I throw machine together and use dhcp with 10.0, it gets an address without a problem. I have a dhcp server running at the router, so I know the function is there.

Hope this helps.
 
  


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
dhcp configuration with 2 ethernet cards ygfperson Linux - Networking 4 10-05-2004 07:50 AM
ethernet can't autoconfig via DHCP lurp Fedora 5 06-13-2004 06:14 AM
RedHat 9 dhcp configuration problem for intel ethernet card linux_issues Linux - Networking 9 11-04-2003 01:52 PM
DHCP/Samba networking with two ethernet cards GreenerLinux Libranet 10 10-24-2003 09:55 PM
Does Connectiva have Ethernet and DHCP support? masinick Conectiva 3 11-13-2002 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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