LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-21-2003, 10:51 AM   #1
KrustyKlown
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Angry DHCP Working in XP, not RH9


I'm getting frustrated.

I have XP running on one machine attached to a switch. Older system now running RH9 also connected to switch. aDSL is connected to uplink port on switch. My ISP allows multiple logins so I've never needed a router.

XP seems to have no trouble when I leave the LAN settings to automatically configure IP addresses and what not. And before when I had the Linux box running XP, they could share easily. Now with RH9 I have the hostname set, but all other settings are left to DHCP. Under network settings, the DNS tab shows my hostname, and seems to fill in DNS information. The host tab displays 127.0.0.1 - dropship (hostname) - then a network address that it supplied looking like localhost.network or something like that.

On the network config... it says that eth0 is inactive and when I try to start it runs for about a minute and says unable to figure out IP address and won't start. Same thing during boot when eth0 tries to start... I get a [FAILED]. I am able to ping dropship but not my XP.

I'm new to Linux and trying to learn. What do I need to do to get these two sharing. I've been playing with Samba, but I think my problem is DHCP first.

Thanks for the help.
 
Old 08-21-2003, 11:30 AM   #2
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
Not too sure what that "switch" is, but on your linux machine, run the command "dhclient eth0" and see what it says, and do a ifconfig and see what the eth0 thing turns up or not.

As for bootup, you need to edit /etc/sysconfig/networking-scripts/ifcfg-eth0, and add BOOTPROTO=dhcp (don't know if you did this or not)
 
Old 08-21-2003, 12:13 PM   #3
KrustyKlown
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Followup

Thanks for the reply... The switch I mean is a network hub.

I checked the ifcfg-eth0 file and dhcp is loading as you suggested. But I don't remember if I tried dhclient... What would I know (or wouldn't know) when I run that and what should I do next?

It's just my first week with Linux and I'm at work so I don't have it in front of me.
 
Old 08-21-2003, 01:05 PM   #4
jqcaducifer
Member
 
Registered: Jul 2003
Distribution: Fedora 3
Posts: 133

Rep: Reputation: 15
dhclient would broadcast a DHCPREQUEST on the interface (eth0) that was defined, and whatever server exists would give a DHCPREPLY (i think). So do a dhclient eth0, and post the results here, and I'll see if i can help your problem
 
Old 08-21-2003, 06:51 PM   #5
LinuxRacr
Member
 
Registered: Jun 2002
Distribution: CentOS 5.3
Posts: 50

Rep: Reputation: 15
Does your ISP use PPPoE? I had a problem onece with my old DSL provider when they mad the switch to that protocol. I had to get a program to get my DSL working with that protocol. I've been out of the loop on Linux for about 2 years, and am now getting back into it, so there may be something already shipped with Linux that supports this now. Also, does your DSL DHCP server set your hostname? I know with my broadband I needed a command called dhcpcd to get mine to work. I had to type in: dhcpcd -H eth0
 
  


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
Change DHCP to Static in RH9 jimbo Linux - Networking 6 03-30-2004 07:33 PM
RH9 / DHCP Doesn't Work / Static Does mfriedkin Linux - Wireless Networking 1 02-06-2004 02:18 PM
DHCP and DNS on RH9 <Need Help> BiTurboMan Linux - Networking 1 12-31-2003 12:41 PM
dhcp relaying in rh9 kwame Linux - Networking 0 10-29-2003 09:59 AM
Wireless and DHCP on RH9 MikeyCarter Linux - Wireless Networking 0 07-27-2003 12:09 AM

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

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