LinuxQuestions.org
Visit Jeremy's Blog.
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 12-17-2003, 11:56 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
I think I've configured everything right, but I still can't connect to the Internet


I finally got my router configured and my Windows computer on the Internet trough the router, now I'm trying to get my Linux-running Playstation 2 on the Internet.

First, I've got a Linksys Etherfast broadband router/switch configured as a gateway at 10.0.0.1 .

ifconfig's out put from the PS2 (excluding lo):
Code:
eth0      Link encap:Ethernet HWaddr <etc>
          inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:179 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 frame:0
          collisions:0 txqueuelen:100
And route:
Code:
Destination Gateway   Genmask          Flags Metric Ref Use Iface
10.0.0.3    *         255.255.255.255  UH    0      0     0 eth0  
10.0.0.0    *         255.255.255.0    U     0      0     0 eth0
127.0.0.0   *         255.0.0.0        U     0      0     0 lo
default     10.0.0.1  0.0.0.0          UG    0      0     0 eth0
(BTW, it prints the first three addresses quickly, but takes a long time before it prints the default destination. I don't know if that's something to worry about or not.)

I can ping my router, my other computer, and 127.0.0.1, but I can't ping Google.

From what I read, this is all I'm supposed to do. Why won't it work?
 
Old 12-18-2003, 12:20 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
See my signature.
 
Old 12-18-2003, 12:36 AM   #3
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
The default IP adress of the router is 192.168.1.1
I would recommend using that as router instead of 10.0.0.1

Go to System Settings -> Network , then choose Edit on the interface
and under General tab choose to have DHCP automatically set the
IP address.

make sure that /etc/resolv.conf has the following entry
nameserver 192.168.1.1

try rebooting. if you still cannot connect , then you can go
to http://192.168.1.1 login and configure the router to automatically
handle the PPPoe login and enter your login and password for
your ISP.
 
Old 12-18-2003, 11:27 AM   #4
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
Hmmm... /etc/resolv.conf ? Never heard of it, but after a little investigation, I found that to be the problem. Now it works! Well, sorta. The PS2 comes with a bug in the eth0 driver, but that's another story.

Also, I don't see why I should keep my router on 192.168.1.1 if my computers are on 10.0.0.*.

Thanks
 
Old 12-18-2003, 12:11 PM   #5
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
finally, having this signature pays off

For the adress range, the only hypothesis is that maybe the router cannot deal properly with address ranges out of 192.168./16. I've never seen that in real life, but it was a good suggestion from beyer42.

Of course if you change your router's address, you must change all your computers' also. Is there a reason why you don't use DHCP?
 
  


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
network card configured, but still can't connect to router! mikeh2 Linux - Wireless Networking 9 11-11-2005 06:34 AM
Configured my internet stuff yet it refuses to let me use the internet! Mr. Hill Slackware 17 02-19-2005 10:31 AM
Lucent LT WinModem - Detected and Configured but won't connect. eBopBob Linux - Hardware 15 09-05-2004 04:15 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM

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

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