openSUSE Forums > Network/Internet » conected to router but no internet

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 2 of 4 1 2 34
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 06-Sep-2009, 17:00
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

'route -n' returns immediately, so I guess there's a problem with DNS. But 'ping 130.57.4.15' doesn't work. Prints:

PING 130.57.4.15 (130.57.4.15) 56(84) bytes of data.

And gets nothing back.
Reply With Quote
  #12 (permalink)  
Old 06-Sep-2009, 18:38
Parent Penguin
 
Join Date: Oct 2008
Location: North Wales, UK
Posts: 689
whych hasn't been rated much yet
Default Re: conected to router but no internet

What hcw is trying to say is that you can't have 2 nics running at the same time in the same machine that are on the same network.
In your case, the ethernet card and the wirelass lan can't both be on at the same time. If the wired lan is connected, the wireless must be off and vice versa.
This explains why your routing table looks different when you have wired or wireless running.
Since you use the same gatway for both wired and wireless, try going to yast>network devices>net settings and set it to use ifup and exit.
Now go back and set the router and dns addresses in the network settings.
when done, try a ping again and see if it works with the wired net.
If there is no network bring it up manually a root in a terminal and type ifup eth0 or eth1 depending on the name of the wired net and try again.
If all is well, you can enable the network manager and use it to enable lan or wlan.
Reply With Quote
  #13 (permalink)  
Old 07-Sep-2009, 02:13
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

OK, so I set it to use ifup, exited, and went back into Network Settings and set the default gateway (on the routing tab) to 192.168.1.1

I tried to ping and got nothing back, so I tried 'ifup eth0' and got the following:
Code:
    eth0      device: Marvell Technology Group Ltd. 88E8071 PCI-E Gigabit Ethernet Controller (rev 16)
DHCP4 client is already running on eth0
IP address: 192.168.1.2/24
And 'route -n' returns the following, which is very different to before:

Code:
Destination Gateway     Genmask       Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0     255.255.255.0 U     0      0   0   eth0
169.254.0.0 0.0.0.0     255.255.0.0   U     0      0   0   eth0
127.0.0.0   0.0.0.0     255.0.0.0     U     0      0   0   lo
0.0.0.0     192.168.1.1 0.0.0.0       UG    0      0   0   eth0
Any other advice? Thanks in advance,

Sam
Reply With Quote
  #14 (permalink)  
Old 07-Sep-2009, 02:47
Parent Penguin
 
Join Date: Oct 2008
Location: North Wales, UK
Posts: 689
whych hasn't been rated much yet
Default Re: conected to router but no internet

OK so the network card (eth0) is set to 192.168.1.2 with 192.168.1.1 as gateway. The 169.. is the default private address range for when no network is set and shouldn't be there.
Leave eth0 set at 192...2/24 andm make sure that the wireless card is set as 'not configured'. Now reboot.

When you log back in, try pinging the gateway - it's always good to test your local net first to see if it's working.
If the network is working, you can now start on setting up the wireless.
Reply With Quote
  #15 (permalink)  
Old 07-Sep-2009, 02:51
hcvv's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: Netherlands
Posts: 1,913
hcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enough
Default Re: conected to router but no internet

What you show us looks allright.

The 'ifup eth0' did give a message that it is allready up using address 192.168.1.2 (with the corrects mask), exactly what we wanted and expected.

The route to 169.254.0.0/16 is to the so called zeroconf network. When you want to know what it is look it up in Wikipedia. In short we do not need it and it is not in our way.

The routing table is correct.

Now the ping to 130.57.4.15 did not work, but did you try the first part of the route, to the router?
Code:
ping 162.168.1.1
When that does work, you can reach the router. And when the ping to outside does not work, there is something wrong with the router.
__________________
Henk van Velden
Reply With Quote
  #16 (permalink)  
Old 07-Sep-2009, 16:33
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

Yeah I can ping 192.168.1.1 OK. But not outside.

So do you think it's something wrong with the router? But I'm using the same router right now from this different laptop.

Thanks in advance,
Sam
Reply With Quote
  #17 (permalink)  
Old 07-Sep-2009, 17:01
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

OK, so you'll have to forgive my ignorance here, but I've been investigating further and found the following, which may or may not be of any help at all:

I've logged into my router and found the the DNS is 194.168.4.100 (194.168.8.100) and I can ping it.

I've found that the DHCP server is 62.253.131.24 and I can ping it.

The IP address (of the router I presume) is 86.14.149.52 and I can ping it, but that's no surprise.

My linux laptop shows up under the 'Attached Devices', again no surprise.

It just doesn't make any sense to me that I can't connect to the internet!!
Reply With Quote
  #18 (permalink)  
Old 07-Sep-2009, 17:46
Parent Penguin
 
Join Date: Oct 2008
Location: North Wales, UK
Posts: 689
whych hasn't been rated much yet
Default Re: conected to router but no internet

When you say you logged into the router, how did you do this - via a web browser and typing in the ipaddress 192.168.1.1?
I gather then that you can ping the router at 192.168.1.1 from the linux box, so your interneal network is set up correctly.
The router is returning the isp's dns and dhcp server addresses. In other words, when the router is booted, it connects to the isp and uses dhcp to get and address on the isp's network.
So the dns server addresses you need are: Primary 194.168.4.100 and secondary 194.168.8.100.
Put this into the network settings in yast>network devices along with the 192.168.1.1 gateway address.
You should now be able to resolve domain names - ie openSUSE.org.
(As a test, try pinging 168.144.51.74)
The wired network should now all be working.
Now to unplug the wired network and try the wireless net.
Does your router allow/offer a dhcp server option for wireless?
If so, enable it and try setting the wireless connection to use dhcp and then bring it up and repeat the ping tests. (If no dhcp server, use a different unique ipaddress on your 192.168.1 range)
Reply With Quote
  #19 (permalink)  
Old 07-Sep-2009, 17:59
Parent Penguin
 
Join Date: Oct 2008
Location: North Wales, UK
Posts: 689
whych hasn't been rated much yet
Default Re: conected to router but no internet

Just had another look and a whois lookup for your dns servers cones up as ntl cable.
I seem to remember when I had ntl cable the ntl cable router was on the 192.168.0.xxx range. Just check this.
Reply With Quote
  #20 (permalink)  
Old 08-Sep-2009, 03:46
hcvv's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: Netherlands
Posts: 1,913
hcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enoughhcvv 's reputation will be famous soon enough
Default Re: conected to router but no internet

@sd3782. Thanks for all the info.
Quote:
It just doesn't make any sense to me that I can't connect to the internet!!
I agree, but we carry on!

As long as the ping to an outside IP address does not succeed, the setting of DNS sserverss, etc. is not wrong (when we in the end hopefully have the connection we need them), but does not help very much with a solution.

Is there any logging in your router, where you could see why your packets are skipped (or routed in the wrong direction) by the router.

Of course also look at whychs' suggestions. Now that your internal routing is OK we need all help we can get
__________________
Henk van Velden
Reply With Quote
Reply
Page 2 of 4 1 2 34

Bookmarks

Tags
internet not connected, network connections, router


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2