LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2005, 07:59 AM   #1
bumjubeo
Member
 
Registered: Jan 2005
Distribution: Slackware, Fedora Core
Posts: 35

Rep: Reputation: 15
No Network Connectivity


Hello, okay so im running slackware 10.0 on a box with 2 NICs one not connected to anything and the other, im running on a Red Hat 7.3 box right beside it, exact same configuration just in a different network drop, and mine works just fine, and as far as I can tell everything looks the same, the "resolv.conf" files are both exactly the same, the only difference is the slackware box cant get an ip address from the DHCP server and I cant figure out why. This is what I get from the ifconfig.


eth0 Link encap:Ethernet HWaddr 00:07:E9:5F:1D:AD
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
RX bytes: 0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt: 10 Base address:0x5000


eth1 Link encap:Ethernet HWaddr 00:10:5A:CB:F4:A7
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 1724 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
RX bytes: 148811 (145.3 b) TX bytes:0 (0.0 b)
Interrupt: 3 Base address:0xcc00


lo Link Encap:Local Loopback
inet addr:127.0.0.1 mask 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metrick 1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier: 0
collisions: 0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

in resolv.conf it is definetly has the DNS name correct, and it also has entries for the DNS ip address.

Could this be a problem in the /etc/hosts file? because in there all I have is my loopback.

Thanks.
 
Old 02-14-2005, 08:50 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
the dns servers in /etc/resolv.conf are usually set automatically via dhcp...

are you sure you have the dhcp client installed on the slackware box??

what error do you get if you run the client with something like:

Code:
dhcpcd eth0
are you sure the dhcp server isn't using mac-address filtering??


Last edited by win32sux; 02-14-2005 at 08:51 AM.
 
Old 02-14-2005, 08:50 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
are u trying this to access the internet on slack box?

why don't u try wuth a static ip and a default gateway
also for ur DHCP problem have a look at the log from /var/log/messages

regards
 
Old 02-14-2005, 08:57 AM   #4
bumjubeo
Member
 
Registered: Jan 2005
Distribution: Slackware, Fedora Core
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by win32sux
the dns servers in /etc/resolv.conf are usually set automatically via dhcp...

are you sure you have the dhcp client installed on the slackware box??

what error do you get if you run the client with something like:

Code:
dhcpcd eth0
are you sure the dhcp server isn't using mac-address filtering??
WOoo WOOooo "dhcpd eth0" worked haha

Thanks Alot!
 
  


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
Can't get network connectivity skint Linux - Networking 15 12-19-2004 02:30 PM
Network Connectivity inescapeableus Linux - Networking 0 11-28-2004 03:53 PM
Network Connectivity Issues undeadpenguin Linux - Networking 4 09-19-2003 10:57 AM
No network connectivity beyond network card linux8 simplimarvelous Linux - Networking 1 02-18-2003 10:22 PM
No Network Connectivity dwest576 Linux - Networking 6 12-04-2002 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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