LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-20-2005, 07:12 PM   #1
basketkase999
Member
 
Registered: Dec 2004
Location: ca
Posts: 61

Rep: Reputation: 15
Can't Determine IP Address


I recently installed RHEL 4 WS on my EMachines m6805 laptop. When booting, if the ethernet cable is plugged in, I get "Determining IP Address: Failed". When the cable is unpluged: same except it also prompts me to check cable. This tells me that when the cable is connected, it knows, but won't get an IP. I have a via-rhine nic, which shows up in lsmod. Ideas?


/etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=DHCP
HWADDR=mac
ONBOOT=yes
TYPE: ETHERNET
USERCTL=no
PEERDNS=yes
IPV6INIT=no

ifconfig -a

eth0:
Link encap: Ethernet HWaddr (mac address)
inet6 addr: fe80::203:25ff:fe10:811f/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric:1
packet info for two lines
Interrupt:11 Base address: 0x2c00
 
Old 11-20-2005, 07:24 PM   #2
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Sounds to me like a router problem. I mean, if you have that nic connected
to a router in wich case you should check if you have dhcp enabled on the
router.
 
Old 11-20-2005, 07:27 PM   #3
basketkase999
Member
 
Registered: Dec 2004
Location: ca
Posts: 61

Original Poster
Rep: Reputation: 15
Not a router issue. I have tested in 3 different locations. I should have mentioned that when I boot into windows xp, the eth0 works just fine at all 3 locations.
 
Old 11-20-2005, 07:34 PM   #4
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Well, I had the same problem once. My nic didn't get any IP from
dhcp server. I managed to solve it by editing
/etc/rc.d/rc.inet1.conf

and anabled dhcp. File looked like this after edit:

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="portable"

that solved the porblem but I'm using Salckware. I'm not
sure if RHEL uses that file. I think it wont hurt to check and try.

post outcome

regards
 
Old 11-20-2005, 07:42 PM   #5
basketkase999
Member
 
Registered: Dec 2004
Location: ca
Posts: 61

Original Poster
Rep: Reputation: 15
Unfortunatly, that file does not exist in RHEL. Looked around, and made sure that the network config files had dhcp enabled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot determine ethernet address for proxy ARP JohnKFT Slackware 6 05-19-2020 11:49 AM
How to determine IP address of ADSL router shazam75 Linux - Networking 3 09-24-2005 04:57 AM
How do I determine a computer's IP address? njschroe Linux - General 4 05-04-2005 05:53 AM
Determine IP Address with DHCP rock9604 Linux - General 3 08-20-2004 05:32 PM
proftpd - unable to determine IP address nathangg Linux - Networking 1 02-28-2003 06:57 AM

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

All times are GMT -5. The time now is 06:02 AM.

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