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 3 of 4 12 3 4
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 08-Sep-2009, 04:09
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

Looking at some of sd3782's replies again, give me the impression that he has other pc's running on the network - we know he uses a laptop to reply here.

And then out of the blue, it struck me!
I remember from when I had cable, the cable router gives an ipaddress via dhcp and this is not on the private 192.168.xxx.xxx ranges. The trouble is that this also logs the mac address of the first nic you use to connect to it and won't let you connect with a different nic.
This meant that I had to do some nic swapping when I put in my smoothwall box and got the local network running.

I would wager that 192.168.1.1 is the ip of another pc on the network and not the router's ip.

sd3782:
The laptop you are using for your replies - what os is it using?
If windows, open a command line and type ipconfig /all and you should get all the relevant details.
Was this perhaps also the first pc you used to connect to the internet?
Reply With Quote
  #22 (permalink)  
Old 08-Sep-2009, 04:37
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
Unhappy Re: conected to router but no internet

Hmm, two systems with the same IP address. Could be it.
__________________
Henk van Velden
Reply With Quote
  #23 (permalink)  
Old 09-Sep-2009, 17:25
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

Hi, thanks again for all your help. Unfortunately not been able to use this laptop for the last couple of days (the only laptop on which the internet works), but now I'm back to trying to resolve my internet connection.

This working laptop is a Mac. I'm pretty sure it is on the network as 192.168.1.3 and my Linux laptop is on as 192.168.1.2 (I know this because of the 'Attached Devices' on the router web interface. My laptop is obviously connected because it is displayed as LINUX-PGQI).

Quote:
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?
Yes,I use firefox to access the router at "http://192.168.1.1/start.htm".

Quote:
I remember from when I had cable, the cable router gives an ipaddress via dhcp and this is not on the private 192.168.xxx.xxx ranges. The trouble is that this also logs the mac address of the first nic you use to connect to it and won't let you connect with a different nic.
This meant that I had to do some nic swapping when I put in my smoothwall box and got the local network running.

I would wager that 192.168.1.1 is the ip of another pc on the network and not the router's ip.

sd3782:
The laptop you are using for your replies - what os is it using?
If windows, open a command line and type ipconfig /all and you should get all the relevant details.
Was this perhaps also the first pc you used to connect to the internet?
This Mac laptop was indeed the first machine that I had connected to the network when it was first installed, but I have had both laptops working on here for 5 months. It was only last week that my Linux connection stopped working.

Quote:
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.
There is logging on the router and I've turned on Site Blocking - the only way I can get it to display useful information. So when I visit a site on this laptop (Mac), I get the message:
Code:
[Site allowed: www.google.com] from source 192.168.1.3 Wednesday, Sep 09,2009 23.11.56
But when I try to access google from my Linux laptop (the laptop on which I'm viewing the router log through firefox), I get nothing. Nothing appears in the log. Absolutely nothing, so unfortunately no help there!

Some other information about the router that might help (taken from the router web interface):

LAN TCP/IP Setup
IP Address: 192.168.1.1
IP Subnet Mask: 255.255.255.0

Use Router as DHCP Server: "YES"
Starting IP Address: 192.168.1.2
Ending IP Address: 192.168.1.51

I've also tried reserving the address 192.168.1.2 for my Linux laptop using the MAC address, but this doesn't help (has no effect - it already had IP 192.168.1.2 anyway).

So in summary, my laptop is definitely connected to the router (192.168.1.1) using IP address 192.168.1.2, but there is nothing in the log when I try to connect to an outside website.

Any more help and advice will be greatly appreciated. Thanks in advance,

Sam
Reply With Quote
  #24 (permalink)  
Old 09-Sep-2009, 19:34
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

The only other things I can think of to ask are:
What router do you have, does it have a make/model name?
If your router allow both the Mac at 192.168.1.3 and linux box at 192.168.1.2 to connect simultaneously, can you ping each other?
On the linux box, are you using a network manger or ifup? I a connection manager, try setting it to ifup.
Another thing to try is to perhaps set the linux ipaddress to 192.168.1.52, say and try.
Reply With Quote
  #25 (permalink)  
Old 09-Sep-2009, 21:47
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,941
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: conected to router but no internet

If you can login to the router, then your NIC must be working.
AFAICS you still have a config issue in the router.
If you use address reservation then use it for all devices, so there is no confusion and each device has a specified IP on the LAN.
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #26 (permalink)  
Old 10-Sep-2009, 02:53
Puzzled Penguin
 
Join Date: Sep 2009
Posts: 12
sd3782 hasn't been rated much yet
Default Re: conected to router but no internet

Quote:
What router do you have, does it have a make/model name?
If your router allow both the Mac at 192.168.1.3 and linux box at 192.168.1.2 to connect simultaneously, can you ping each other?
On the linux box, are you using a network manger or ifup? I a connection manager, try setting it to ifup.
It's a NETGEAR Wireless-G Router "WGR614 v9" router. Yes I can ping this Mac laptop from my Linux laptop and vice-versa.

I was originally using Network Manager, but I've tried using ifup too, but with no success.

Quote:
Another thing to try is to perhaps set the linux ipaddress to 192.168.1.52, say and try.
I set address reservation on the router for my Linux laptop to have 192.168.1.51 and tried again. I can ping successfully between the laptops again, but I still can't access the internet from my Linux box.

I'm going to take my laptop into work and see if I can connect to the internet there, to hopefully determine if it's definitely a problem with my laptop, or perhaps something with the router. I'll keep you posted.

Thanks again all,

Sam
Reply With Quote
  #27 (permalink)  
Old 10-Sep-2009, 04:34
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 a thought:
You said earlier that you can ping an outside ipaddress but it seems you can't resolve a name.
Some routers don't pass on the gateway and dns server addresses to the dhcp client.
Check in yast>network> to see that the gateway and dns are set correctly.
Even with dhcp enabled, it will allow you to set gateway and dns.
Reply With Quote
  #28 (permalink)  
Old 10-Sep-2009, 04:49
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

@whych. Sorry, but because of the long thread you lost something: he can NOT ping anything on the internet. So it is not just a DNS serrver problem, there is no outside connnection.
__________________
Henk van Velden
Reply With Quote
  #29 (permalink)  
Old 10-Sep-2009, 04: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

Henk, in post 17 he says he can ping the dns.

sd:
Looking at the setup doc for the router, I think it could be a router problem. The router has its own firewall and it allows you to block internet access to cards that are not listed.
Try turning the firewall off and allowing all traffic through.
I think we have established that networking works on the linux pc, so if the gateway and dns is set correctly, it must be a router problem.
Reply With Quote
  #30 (permalink)  
Old 10-Sep-2009, 05:13
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

I am sorry if I am a bit lost, but I asked him to ping 130.57.4.15 in Post #10. In Post #11 sd3782 tells it does not work. In Posts #15 and #16 this is repeated. Then in Post #17 it seems to be possible to ping to 'some' Internet addresses.

Now could this be solved? Can we ping IP addresses (and maybe even connect a browser to 130.57.4.15) because then it is a DNS problem.
__________________
Henk van Velden
Reply With Quote
Reply
Page 3 of 4 12 3 4

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