LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2007, 06:16 PM   #1
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Rep: Reputation: 0
Internet not working-Page could not be found


Hello, anybody who wants to help me.
I am completely new with linux and networking, and all I've been doing so far is playing around with the networking settings but nothing is working.So can you please help me.

Problem:
Page could not be found!
Internet is not working on linux machine. On the network configuration window my device is active, but everytime I try to search for a web site I get a window that tells me the page could not be found.

Here is my setup:
I have a DSL connection going through a modem and a router. Both my windowsXP and the linux box are connected to my router. My windows pc is getting the address assigned by DHCP and the internet is working fine, but it doesn't work on linux
I am completely new with linux, and all I've been doing so far is playing around with the settings but nothing is working.

command results:
ipconfig(windows)
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix :
IP Address 192.168.1.101
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1

Ethernet Adapter Local Area Connection
Connection-specific DNS Suffix
IP Address 192.168.1.100
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1

linux commands
[root@localhost root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:05:84:C1:B4
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:896 (896.0 b) TX bytes:2554 (2.4 Kb)
Interrupt:11 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:305 errors:0 dropped:0 overruns:0 frame:0
TX packets:305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24734 (24.1 Kb) TX bytes:24734 (24.1 Kb)

[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
191.168.1.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost root]#
 
Old 03-26-2007, 06:36 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Try going to the IP of Google in your browser? http://216.239.39.99/
Does that work?

If not use the ping command and post results.
ping -c5 192.168.1.1

Post Distro and Version you are running.
Brian
 
Old 03-26-2007, 06:41 PM   #3
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I tried the URL and I got: The URL was not valid and could not be loaded

I got RedHat 8, I know is old but after several failed attempts of installing a new version I just gave up.
 
Old 03-26-2007, 06:44 PM   #4
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
O.K. I tried the URL again(this time the correct number) and I got: Server Error
The server encountered a temporary error and could not complete your request
 
Old 03-26-2007, 06:49 PM   #5
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
This is the result of the ping.
Sorry for the delay

[root@localhost root]# ping -c5 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.103 : 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.40 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.05 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.06 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=1.07 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=1.07 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4007ms
rtt min/avg/max/mdev = 1.059/1.135/1.409/0.141 ms
[root@localhost root]#
 
Old 03-26-2007, 07:07 PM   #6
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Current state:
After I ping, I tried the URL again and it worked(oh so happy!!),it took me to the google home page, Then I did a search and it worked(oh so happier). Finally, I tried clicking on one of the results and I got the old message page could not be found!!

After that I typed Google.com on the search bar and I got the same message.
 
Old 03-26-2007, 07:10 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Very odd. Ping Google IP and post output.
ping -c5 216.239.39.99

If that does not work then do a
traceroute 216.239.39.99 to see how far it gets.

I am guessing maybe the router has maybe an IP filter or MAc filter enabled and is blocking all but ones defined in its tables.

Brian
 
Old 03-26-2007, 07:15 PM   #8
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Result of the ping
[root@localhost root]# ping -c5 216.239.39.99
PING 216.239.39.99 (216.239.39.99) from 192.168.1.103 : 56(84) bytes of data.
64 bytes from 216.239.39.99: icmp_seq=1 ttl=241 time=88.6 ms
64 bytes from 216.239.39.99: icmp_seq=2 ttl=241 time=86.7 ms
64 bytes from 216.239.39.99: icmp_seq=3 ttl=241 time=87.4 ms
64 bytes from 216.239.39.99: icmp_seq=4 ttl=241 time=86.1 ms
64 bytes from 216.239.39.99: icmp_seq=5 ttl=241 time=86.9 ms

--- 216.239.39.99 ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4005ms
rtt min/avg/max/mdev = 86.183/87.187/88.681/0.870 ms
[root@localhost root]#
 
Old 03-27-2007, 03:38 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I am not sure sure what I am missing.
What browser are you using?
What Gui interface are you using?
If using Gnome or KDE open either ones konquorer or nautilus window and enter the web address there to see if it comes up. Use IP as well for google.

If still no go I am not sure where the problem lies. Might make sure the browser is not using proxy setup.

Brian
 
Old 03-27-2007, 06:17 PM   #10
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
GUI: GNOME
browser: Web browser( icon: blue world and white mouse)

Since yesterday, everytime I restart my computer I get this message:
Could not lookup internet address for localhost.localdomain. This will prevent GNOME from operating correctly.It may be possible to correct the problem by adding localhost.localdomain to the file /etc/hosts
The error window has two buttons(Ignore, Try again)Try again doesn't work so I always click Ignore.

Sorry but I couldn't find the Nautilus application you wrote about.

Do you think I should try to edit the /etc/hosts? I have no idea what this file is for,so I haven't done it yet.
 
Old 03-28-2007, 04:29 AM   #11
jcm4101
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
SOunds like you don't have a valid DNS server configured in the linux box.

I'm not sure where in RHEL you set the DNS settings, but once you find it, I think you need to set it to were your windows is pointing.

In Windows command line execute the following to find out where its DNS is pointing..

ipconfig /all


Hope it helps.

D
 
Old 03-28-2007, 03:36 PM   #12
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Whats in /etc/hosts file?
This is mine.
Code:
 127.0.0.1	localhost.localdomain	localhost
Brian
 
Old 03-28-2007, 04:46 PM   #13
Lolo21
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Good news, I added the 127.0.0.1 and the problem with the /etc/hosts file went away. I then added the DNS info and I can now search any page I want. Well I only tried a couple so far.. Thank you so much guys, the linux community is great. If you ever need a Sudoku game solve, you can count on me.

THANK YOU, I AM A VERY HAPPY GIRL.
 
Old 03-28-2007, 05:17 PM   #14
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I like Sudoko games myself. Get to do a few of them each week. Been a few I end up guessing a number and then try to complete. Sometimes works that way. Usually start moving numbers around till I get them right.

Other than that glad to see you have it going and working.

Brian
 
  


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
http://localhost Page not found Manashi Linux - General 9 04-05-2006 11:19 PM
phpBB login/logout gives 'page not found' halo14 Linux - General 4 04-28-2005 09:42 PM
404 page not found Darthomir General 2 03-30-2004 09:29 PM
Apache - PHPMyAdmin - page not found jriis Linux - Software 1 01-07-2004 08:06 PM
Xman Error: no manual page found A-dummy Linux - General 3 01-13-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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