[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

DHCP Problems

I've got a really weird problem my isp uses DHCP it works fine in windows but in Linux I had my interface eth0 protocal as DHCP but it wouldn't load at boot up so I switched the protocal to none and it loaded at bootup and I could type in ifconfig and I'd get a eth0 entery and an ip adress but when I go into netscape in X I can't load up a webpage. It's really screwed up, Please help.
0
Grifter50
Asked:
Grifter50
  • 9
  • 7
1 Solution
 
Grifter50Author Commented:
Adjusted points to 40
0
 
foxrCommented:
This may not be as weird as you think.  You do not state whether your DHCP server exists on the same box.  As a Rule, A machine cannot be both a DHCP server and DHCP client simultaneously over the same ethernet interface.  Your DHCP server should have a static (hardcoded) ip address.  Hope this helps.
0
 
svindlerCommented:
You have to specify your nameservers manually.
You can do this using "linuxconf" or edit /etc/resolv.conf.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Grifter50Author Commented:
Can you explain a little more?
0
 
svindlerCommented:
If you got a list of name servers from your isp, you can use them.
If you didn't get them or can't find them, dial up using your windows installation and use the command "winipcfg" or "ipconfig /all" to see the dns servers.
Then edit your /etc/resolv.conf to look like

search yourisp.com
nameserver 111.111.111.111
nameserver 222.222.222.222

where you replace yourisp.com with the domain name of your isp and the numbers 111... and 222... with the numbers that winipcfg/ipconfig gives you.
You can edit the file using "pico" if you don't know how to use vi and can't edit it using any x-editors.
You can also specify the information using "linuxconf". Go to Config/Networking/Client tasks/Name server specification and type in the nameservers and your isp domain.
0
 
Grifter50Author Commented:
I also need foxr to explain his answer in a little more detail
0
 
svindlerCommented:
If I understand foxr correctly then he is looking for dhcp problems, which you don't seem to have as you actually receive an ip address.
0
 
Grifter50Author Commented:
Well actually I entered a ip adress, it should work but it doesn't. It makes no sense, I have no idea whats wrong or what I should do about it.
0
 
svindlerCommented:
Do you get the same ip address every time when you boot windows?
Then you can probably specify this using netcfg as a static ip address.
You must also specify the default gateway. This can also be done using netcfg.
Both parameters can be seen using winipcfg or ipconfig /all.
What kind of setup are we talking about? Do you have a cable modem or a traditional router?
0
 
Grifter50Author Commented:
I have a cable modem with a 3c509b NIC
0
 
svindlerCommented:
Do you mean 3c905b?
It is not well supported by the drivers that are included in RedHat. See http://www.redhat.com/corp/support/hardware/intel/61/rh6.1-hcl-i.ld-1.html#intro-def-tier-3

Goto http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html for working drivers.
0
 
Grifter50Author Commented:
Nope it's 3c509b it 's an ISA card
0
 
Grifter50Author Commented:
I emailed my ISP today (shaw @home) and they don't support linux but they said that with DHCP it should just detect everything but thats not what happens. How can I be absolutly possitive that Linux detects my ethernet card, because when I boot up I don't get a message about my ethernet card. And also it would be really helpfull if someone would take me through setting up the network configurator, and letting me know some of the commands that might help me get my internet up and running. I have had to trouble shoot my modem, the ethernet card, and dhcp. But none of this helps I can't even ping anything, my modem blinks as if it was sending and recieving data but I can sit there for half an hour and nothing happens, I tried winlinux which automatically detected my ethernet card and all I had to do was type ing "netconfig" enter all the ip information and then I could get on the net so maybe linux isn't detecting my modem properly, cause I know I have all the correct info in the network configurator. but I don't know what to do, please help me!
0
 
svindlerCommented:
So you have to have the network connection as well as the modem connection up and running to use your isp?
A common setup problem with a ppp connection is that for most isp's you need to specify PAP authentication in the ppp setup.
For the lan connection, is there any kind of light on the network adapter and the cable modem that indicates link and/or activity?
Does "lsmod" show any 3c??? modules loaded?
What linux distribution do you use? Most of my experience is with RedHat.
0
 
Grifter50Author Commented:
ok this is how I finally got the NIC card to work I had to turn off the PnP compatablity on the card and I first had the irq on the card set to 10 which made the net not work in windows so I changed the irq from 10 to 3 and went into my bios and changed the irq 3 setting from PnP to legacy ISA and now I can get on the net from linux or windows.

No to get my sound card to work:)
0
 
Grifter50Author Commented:
I'm feelying nice today so whoever locks the question gets the points
0
 
svindlerCommented:
I'll take the points for my time, not for my response as they obviously didn't help ;-)
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 9
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now