LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-02-2003, 08:16 PM   #1
echoking
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
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.
 
Old 09-02-2003, 08:47 PM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

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

ifconfig eth0 down; ifconfig eth0 up

Then try pinging your server...

Good luck
 
Old 09-03-2003, 02:04 AM   #3
echoking
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 09-03-2003, 04:08 AM   #4
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware
Posts: 262

Rep: Reputation: 30
"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.
 
Old 09-03-2003, 04:30 AM   #5
OneNight
LQ Newbie
 
Registered: Aug 2003
Location: Antwerp, Belgium.
Distribution: Mandrake 9.1 to learn the basics.
Posts: 10

Rep: Reputation: 0
Are you dual booting?
 
Old 09-03-2003, 05:29 AM   #6
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Commands, ifconfig and lsmod...see if your nic is listed at all.
 
Old 09-03-2003, 05:57 PM   #7
echoking
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
  


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
Wireless card gets IP (dhcp) but can't ping hamish Linux - Wireless Networking 6 03-10-2009 03:11 PM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 11:54 AM
DHCP ok but can't ping ropbo Linux - Networking 6 09-06-2004 11:02 AM
Can't ping anything or anyone. What am i missing? Avatar Linux - Networking 30 11-24-2003 10:33 AM
I get all my DHCP details through, but can't ping the server palpatine Linux - Networking 0 01-17-2002 07:17 PM


All times are GMT -5. The time now is 03:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration