Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread Joey Mendez
I appreciate your reply to my email. The steps ou have given me are 
things that I have done and are already in place. I still cannot get the 
eth to activate unless I issue it a static IP it for some reason will 
not activate under the DHCP selection. Has anyone ever experienced this.


If I do assign it an IP it will activate but still has no internet 
connection. I can ping itself but cannot ping any machine outside of it 
or have a machine outside be able to ping it.


Lanny Marcus wrote:

On Thu, Sep 18, 2008 at 6:08 PM, Joey Mendez [EMAIL PROTECTED] wrote:
  

I am totally new to using CentOS. Linux in Genera really. I have decent
experiencing with terminal code for Macs though.



Jose:   Welcome!

  

Here's the deal my Boss wants us to move more toward linux for some of our
basic users. All I was supposed to do was install CentOS 5.2 and Open Office
and disburse the machines. Simple enough right. So I did this with no issue.
I ran the interface and installed only GNOME and KDE. After installation was
complete I activated the eth-0 and had it on DHCP. I connected to the net
fine and began downloading open office. I left for the day and came back and
I can no longer get back online. The eth-0 wont even activate unless I
manually enter a static IP but still can not establish a connection online.
I treid reinstalling to no avail. Even built a completely new box and still
no avail. I am using CentOS 5.2 i386 DVD.

Like I said I am new to this so any guidance would be appreciated to get me
into the Linux world. Thank you.



 Linux is based on UNIX and networking started there. Networking will
work for you!

I normally install both GNOME and KDE, but 99% of the time, I use GNOME. When I
install from a DVD, I install the majority of Applications and Systems
things I want at
that time. Then, in a Terminal Window (as root), do yum update to
update everything
to the latest version, for Security and Stability reasons.

In GNOME, at the lower left hand corner, click on System 
Administration Network and enter the password for  root (the super
user).
That brings you to a GUI utility called system-config-network  Be sure
that eth0 is shown as Active and then highlight it and click on
Edit. Be sure that Activate Device when computer starts is
checked. And, Automatically obtain IP with DHCP. And, Automatically
obtain DNS.

A book I can recommend to you, would be the edition that covers Red
Hat Enterprise Linux  5, of Red Hat Fedora and Enterprise Linux
Bible by Christopher Negus. I'm sure that there are other excellent
books, but this one will explain a lot to you. I think the version
that covers RHEL 5 (CentOS is a rebuild of RHEL) is Fedora 6 and Red
Hat Enterprise Linux Bible, however you need to verify that, before
you buy it, because I have an older version of the book. Please note
that much of the book is about Fedora Core. Red Hat Enterprise Linux
takes the best of Fedora Core and is a much more stable distribution,
without the latest and greatest. So, the book will help you with
CentOS, because CentOS is a rebuild of RHEL.

HTH, Lanny in Colombia
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
.

  


--
Jose Mendez
Computer Resource Specialist
HNRC
619-543-8090

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread ankush grover
On Fri, Sep 19, 2008 at 8:43 PM, Joey Mendez [EMAIL PROTECTED] wrote:
 I appreciate your reply to my email. The steps ou have given me are things
 that I have done and are already in place. I still cannot get the eth to
 activate unless I issue it a static IP it for some reason will not activate
 under the DHCP selection. Has anyone ever experienced this.

 If I do assign it an IP it will activate but still has no internet
 connection. I can ping itself but cannot ping any machine outside of it or
 have a machine outside be able to ping it.


Hi,

For internet to work properly dns servers needs to be entered if you
are using static ipaddress. Open the terminal and edit
/etc/resolv.conf  file through any text editor and enter dns servers

domain  example.com   # Incase you want this domain to be your default domain
nameserver   xx.xx.xx.xx   # Dns Server ipaddress or hostname
nameserver  xx.xx.xx.xx# DNS Server ipadddress or hostname

save the file and restart nscd service


service nscd restart

As you mentioned you are not able to ping the machine outside kindly
check the firewall rules aka iptables.

iptables -L

If you don't want to use iptables or firewall on this machine then run
the below commands

iptables -F

service iptables save

chkconfig iptables off

Now check the network connectivity by pinging other machines.


Note: You need to be root to perform the above steps


Regards

Ankush
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread nate
Joey Mendez wrote:
 I appreciate your reply to my email. The steps ou have given me are
 things that I have done and are already in place. I still cannot get the
 eth to activate unless I issue it a static IP it for some reason will
 not activate under the DHCP selection. Has anyone ever experienced this.

 If I do assign it an IP it will activate but still has no internet
 connection. I can ping itself but cannot ping any machine outside of it
 or have a machine outside be able to ping it.

What kind of network card? what network chip, what driver is being
used?

My best guess at this point is the driver doesn't fully support the
network card so traffic cannot pass. Maybe the card is too new.

Run ethtool eth0 (assuming your using eth0), and verify there is
a link detected as well.

nate

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread Anthony Kamau
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Joey Mendez
 Sent: Friday, 19 September 2008 9:09 AM
 To: centos@centos.org
 Subject: [CentOS] Network issues with CentOS 5.2

Snip

 DHCP. I connected to the net fine and began downloading open office. I
 left for the day and came back and I can no longer get back online. The
 eth-0 wont even activate unless I manually enter a static IP but still
 can not establish a connection online. I treid reinstalling to no avail.
 Even built a completely new box and still no avail. I am using CentOS
 5.2 i386 DVD.

I experienced something similar and it turned out that if you run an update
and the kernel changes, then you need to update the network drivers to match
up with the installed kernel.

If you provide details on the type of NIC on your system, I may be able to
provide more help.

Cheers,
AK.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread Lanny Marcus
On Fri, Sep 19, 2008 at 10:13 AM, Joey Mendez [EMAIL PROTECTED] wrote:
 I appreciate your reply to my email. The steps ou have given me are things
 that I have done and are already in place. I still cannot get the eth to
 activate unless I issue it a static IP it for some reason will not activate
 under the DHCP selection. Has anyone ever experienced this.

 If I do assign it an IP it will activate but still has no internet
 connection. I can ping itself but cannot ping any machine outside of it or
 have a machine outside be able to ping it.

Jose: Two things: (a) please do not TOP POST on this mailing list. (b)
I wonder if the NIC is working properly? If it's an onboard NIC,
can you disable it and install another NIC, to see if you have
connectivity? If it's a PCI card, pull it out and install another NIC,
preferably another model. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread Joey Mendez



nate wrote:

Joey Mendez wrote:
  

I appreciate your reply to my email. The steps ou have given me are
things that I have done and are already in place. I still cannot get the
eth to activate unless I issue it a static IP it for some reason will
not activate under the DHCP selection. Has anyone ever experienced this.

If I do assign it an IP it will activate but still has no internet
connection. I can ping itself but cannot ping any machine outside of it
or have a machine outside be able to ping it.



What kind of network card? what network chip, what driver is being
used?
  


Realtek 8111/8168b
module 8169

No link detected.

When I attempt to install the driver that came on the CD with the box 
r8168-8.006.00. Once I get to the step to Make Clean Modules all I get 
is errors

My best guess at this point is the driver doesn't fully support the
network card so traffic cannot pass. Maybe the card is too new.

Run ethtool eth0 (assuming your using eth0), and verify there is
a link detected as well.

nate

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

  


--
Jose Mendez
Computer Resource Specialist
HNRC
619-543-8090

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread nate
Joey Mendez wrote:

 When I attempt to install the driver that came on the CD with the box
 r8168-8.006.00. Once I get to the step to Make Clean Modules all I get
 is errors

Do you have the kernel-devel package for your kernel installed?

yum install kernel-devel-`uname -r` kernel-headers-`uname -r`

And try the module build again, if it fails post the output of the
command. You could configure a serial console and access the system
that way in order to copy/paste, or perhaps install CentOS in a VM
and try to compile the module there so you can get the error from
the compile.

But it may be easier/better to get another NIC. Realtek doesn't have
a good history of making stable NICs under linux/*bsd.

nate

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-19 Thread Lanny Marcus
On Fri, Sep 19, 2008 at 5:15 PM, Joey Mendez [EMAIL PROTECTED] wrote:
snip
 What kind of network card? what network chip, what driver is being
 used?


 Realtek 8111/8168b
 module 8169

I googled and came up with this thread that might be of interest to you:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12467
snip
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network issues with CentOS 5.2

2008-09-18 Thread Lanny Marcus
On Thu, Sep 18, 2008 at 6:08 PM, Joey Mendez [EMAIL PROTECTED] wrote:
 I am totally new to using CentOS. Linux in Genera really. I have decent
 experiencing with terminal code for Macs though.

Jose:   Welcome!

 Here's the deal my Boss wants us to move more toward linux for some of our
 basic users. All I was supposed to do was install CentOS 5.2 and Open Office
 and disburse the machines. Simple enough right. So I did this with no issue.
 I ran the interface and installed only GNOME and KDE. After installation was
 complete I activated the eth-0 and had it on DHCP. I connected to the net
 fine and began downloading open office. I left for the day and came back and
 I can no longer get back online. The eth-0 wont even activate unless I
 manually enter a static IP but still can not establish a connection online.
 I treid reinstalling to no avail. Even built a completely new box and still
 no avail. I am using CentOS 5.2 i386 DVD.

 Like I said I am new to this so any guidance would be appreciated to get me
 into the Linux world. Thank you.

 Linux is based on UNIX and networking started there. Networking will
work for you!

I normally install both GNOME and KDE, but 99% of the time, I use GNOME. When I
install from a DVD, I install the majority of Applications and Systems
things I want at
that time. Then, in a Terminal Window (as root), do yum update to
update everything
to the latest version, for Security and Stability reasons.

In GNOME, at the lower left hand corner, click on System 
Administration Network and enter the password for  root (the super
user).
That brings you to a GUI utility called system-config-network  Be sure
that eth0 is shown as Active and then highlight it and click on
Edit. Be sure that Activate Device when computer starts is
checked. And, Automatically obtain IP with DHCP. And, Automatically
obtain DNS.

A book I can recommend to you, would be the edition that covers Red
Hat Enterprise Linux  5, of Red Hat Fedora and Enterprise Linux
Bible by Christopher Negus. I'm sure that there are other excellent
books, but this one will explain a lot to you. I think the version
that covers RHEL 5 (CentOS is a rebuild of RHEL) is Fedora 6 and Red
Hat Enterprise Linux Bible, however you need to verify that, before
you buy it, because I have an older version of the book. Please note
that much of the book is about Fedora Core. Red Hat Enterprise Linux
takes the best of Fedora Core and is a much more stable distribution,
without the latest and greatest. So, the book will help you with
CentOS, because CentOS is a rebuild of RHEL.

HTH, Lanny in Colombia
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos