LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DHCP and missing PING (https://www.linuxquestions.org/questions/slackware-14/dhcp-and-missing-ping-88600/)

echoking 09-02-2003 07:16 PM

DHCP and missing PING
 
I would like to thank everyone for their help on getting me through the startx issue. Now I'm having troubles with a network card. It seems to have no problem with it. The system recognizes it (onboard Intel), and am actively receiving my DHCP_recieve ip address from the server. Now when i attempt to ping the box (DHCP) I get a host unreachable. I've looked for the config files but no luck. I found /etc/network but didn't feel like it was what I was looking for. I've used netconfig (by the way dont bring that up in kde/gnome you'll kill the system). I've been looking for a tool to edit them in KDE/Gnome but I've had no luck, maybe I didn't install a certain package. So right heres the deal.

Linux Box receives IP from DHCP, but am not able to contact the DHCP server back. I've looked really hard at the addres so it isn't a typo.

All I want in the world is to scan the internet so I can ask more questions but on my linux box :) Have a good one.

Azmeen 09-02-2003 07:47 PM

Tried restarting the interface? Assuming your NIC is eth0, do this:

ifconfig eth0 down; ifconfig eth0 up

Then try pinging your server...

Good luck :)

echoking 09-03-2003 01:04 AM

I had tried that in the past but got nothing.

Could it be that I used bare.i as my kernel for the install should I had used net.i (or whatever that kernel was). Also I'm noticing that gnome/kde dont have device dectection software, I'm I just not seeing it?

I've used the netconfig command so many times that my keyboard is getting worn down. Is the file to edit the configuration located the /etc/networks ? If this is true then where is netconfig writing to because its not showing any of the signs like:

NETWORKING: YES
IP ADDRESS: xxx.xxx.xxx.xxx
SUBNET MASK: xxx.xxx.xxx.xxx
GATEWAY: xxx.xxx.xxx.xxx

Is there a way that I can be sure that my network cards are in fact installed correctly (other than the ping 127.0.0.1, which works). Another question how do I use ping with a given -I command. When I try to use eth0 or the MAC address it tells me they are not vaild.

There maybe a conflict in IRQ settings. Both cards are located on 11... I dont man let me know what you think. Ciao.

Noryungi 09-03-2003 03:08 AM

"echoking",

The answer to your questions (and to many others) seem to be in the "Slackware Linux Essentials" book, which you can find here:

http://www.slackware.com/book/

Basically, mot of the configuration files you are asking for are in the /etc/rc.d/ directory. Take a look at /etc/rc.d/rc.inet1 and /etc/rc.d/rc.inet2 files. They contain a lot of comments and information.

Also, it's possible that your DHCP server went down between the time your received your DHCP lease/IP address and the time you tried to ping it.

OneNight 09-03-2003 03:30 AM

Are you dual booting?

BittaBrotha 09-03-2003 04:29 AM

Commands, ifconfig and lsmod...see if your nic is listed at all.

echoking 09-03-2003 04:57 PM

Thanks for everyones input, it ended up being a mix up my hardware. There was no clear way for me to figure out what driver was assigned to what NIC. So I really have no idea. I was testing the ping command once again and forgot to move my cable over to the intel (which has always, even in Red Hat, show up as my default NIC) and bing bang boom, my NIC recieved its IP. Thanks again all.


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