Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-11-2007, 05:00 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2007
Posts: 4
Rep:
|
Cannot Connect to Internet; CentOS
Recently installed CentOS. Cannot connect to Internet.
Cannot even ping 192.168.1.1, which is IP address of the Router.
( I have another Windows machine connected to the same router, and can ping 192.168.1.1 )
Other Relevant Information
==========================
$ cat /etc/resolv.conf
nameserver 167.206.245.12
nameserver 167.206.245.11
nameserver 167.206.245.76
$ cat /etc/hostname
linux1.home.com
$ cat /etc/hosts
127.0.0.1 linux1 localhost.localdomain localhost
192.168.1.100 linux1
Pls. help.
|
|
|
|
08-11-2007, 07:02 PM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Do you have your network interface configured?? Which network interface(s) do you have?? use the output from the typed commands to find out;
/sbin/lspci -v
/sbin/ifconfig
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
This will help you for 99.9% of your problems ...
http://wiki.centos.org/Manuals
|
|
|
|
08-19-2007, 04:40 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by Lenard
Do you have your network interface configured?? Which network interface(s) do you have?? use the output from the typed commands to find out;
/sbin/lspci -v
/sbin/ifconfig
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
This will help you for 99.9% of your problems ...
http://wiki.centos.org/Manuals
|
Here is my
$ /sbin/lspci -v
02:0b.0 Ethernet controller: Linksys NC100 Nework .......
Subsystem: Linksys: Unknown device 0574
Flags ....
I/O..
Memory....
$ /sbin/ifconfig
eth0: Link encap:
inet addr: 192.168.1.00 Bcase: 192.168.1.255
# echo '16i****' | DC
dc: stack register 'B' (0102) is empty
dc: stack empty
dc: stack empty
|
|
|
|
08-20-2007, 11:24 PM
|
#4
|
|
Member
Registered: Feb 2007
Distribution: Fedora, Mandrake, Knoppix, Windows XP
Posts: 37
Rep:
|
I was looking at your the information in your hosts file. It says that your IP address is 192.168.1.100. However, where you ran the ifconfig command it says that it is 192.168.1.00 .
If the latter is true you will never connect.
|
|
|
|
08-21-2007, 12:45 AM
|
#5
|
|
Member
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252
Rep:
|
Quote:
Originally Posted by lucknowm62
Recently installed CentOS. Cannot connect to Internet.
Cannot even ping 192.168.1.1, which is IP address of the Router.
( I have another Windows machine connected to the same router, and can ping 192.168.1.1 )
Other Relevant Information
==========================
$ cat /etc/resolv.conf
nameserver 167.206.245.12
nameserver 167.206.245.11
nameserver 167.206.245.76
$ cat /etc/hostname
linux1.home.com
$ cat /etc/hosts
127.0.0.1 linux1 localhost.localdomain localhost
192.168.1.100 linux1
Pls. help.
|
whats the result whn you issue "mii-tool" command?
|
|
|
|
08-22-2007, 05:31 PM
|
#6
|
|
LQ Newbie
Registered: Aug 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by tajamari
whats the result whn you issue "mii-tool" command?
|
eth0: no link
eth1: no link
|
|
|
|
08-22-2007, 05:32 PM
|
#7
|
|
LQ Newbie
Registered: Aug 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by jdavis2
I was looking at your the information in your hosts file. It says that your IP address is 192.168.1.100. However, where you ran the ifconfig command it says that it is 192.168.1.00 .
If the latter is true you will never connect.
|
Sorry - the output of /sbin/ifconfig is 192.168.1.100
|
|
|
|
08-23-2007, 12:25 AM
|
#8
|
|
Member
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252
Rep:
|
Quote:
Originally Posted by lucknowm62
eth0: no link
eth1: no link
|
Definitely you could not connect, check your physical cables  . It would look like this if you have a link.
eth0: negotiated 100baseTx-FD, link ok
|
|
|
|
08-26-2007, 01:27 PM
|
#9
|
|
Member
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221
Rep:
|
Quote:
Originally Posted by lucknowm62
Recently installed CentOS. Cannot connect to Internet.
Cannot even ping 192.168.1.1, which is IP address of the Router.
( I have another Windows machine connected to the same router, and can ping 192.168.1.1 )
Other Relevant Information
==========================
$ cat /etc/resolv.conf
nameserver 167.206.245.12
nameserver 167.206.245.11
nameserver 167.206.245.76
$ cat /etc/hostname
linux1.home.com
$ cat /etc/hosts
127.0.0.1 linux1 localhost.localdomain localhost
192.168.1.100 linux1
Pls. help.
|
pls post your,
ifconfig -a & /etc/resolve.conf
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|