LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums HCL Reviews 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 04-15-2010, 05:17 PM   #1
babag
Member
 
Registered: Aug 2003
Posts: 368

Rep: Reputation: 30
kubuntu 9.10 can reach network but not internet


can ping router but not www.google.com or 74.125.45.100.

can connect to samba shares on the mac and pc in the local network.

when i try to ping www.google.com i get 'unknown host.'
when i try to ping 74.125.45.100 i get 'network is unreachable.'

resolv.conf has the same nameservers as the mac and pc, both of which can
reach the internet without issue.

any ideas?

edit:
route -n says my destination is 192.168.1.0 and gateway is 0.0.0.0

my router's address is 192.168.1.1. should that be what the destination should say?
how do i change it?

thanks,
BabaG

Last edited by babag; 04-15-2010 at 06:24 PM.
 
Old 04-15-2010, 11:00 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 210Reputation: 210Reputation: 210
Have you checked the firewall settings on the kubuntu machine?
 
Old 04-16-2010, 04:49 AM   #3
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by babag View Post
can ping router but not www.google.com or 74.125.45.100.

can connect to samba shares on the mac and pc in the local network.

when i try to ping www.google.com i get 'unknown host.'
when i try to ping 74.125.45.100 i get 'network is unreachable.'

resolv.conf has the same nameservers as the mac and pc, both of which can
reach the internet without issue.

any ideas?

edit:
route -n says my destination is 192.168.1.0 and gateway is 0.0.0.0

my router's address is 192.168.1.1. should that be what the destination should say?
how do i change it?

thanks,
BabaG
Post complete result of
Code:
ifconfig -a
route -n
 
Old 04-16-2010, 03:58 PM   #4
babag
Member
 
Registered: Aug 2003
Posts: 368

Original Poster
Rep: Reputation: 30
here's current ifconfig and route:
Code:
eth0      Link encap:Ethernet  HWaddr 00:1b:24:09:40:13                                                                                                                            
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0                                                                                                         
          inet6 addr: fe80::21b:24ff:fe09:4013/64 Scope:Link                                                                                                                       
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                                                                                                                       
          RX packets:1176 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:561918 (561.9 KB)  TX bytes:200503 (200.5 KB)
          Interrupt:20 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1240 (1.2 KB)  TX bytes:1240 (1.2 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1a:73:35:03:e0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1A-73-35-03-E0-00-00-00-00-00-00-00-00-00-00
          [NO FLAGS]  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Code:
Kernel IP routing table
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     1000   0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 eth0
i got the internet working by editing /etc/networking/interfaces
which had incorrect info in it. in doing so, however, i've now lost
my connection to samba shares. in dolphin i can click the left-pane
network icon and get its various options.

if i click the network icon that appears, i see the mac pro on the
network. if i click that, i see various options, including samba.
clicking the samba options produces nothing but an error that it
could not connect.

if i click the samba shares option that appears after a left-pane
network icon click, i see an icon for mshome, the workgroup for
the local network. clicking the mshome icon produces nothing, not
even an error.

the pc on the network does not appear at all when clicking the left-
pane network icon.

i am able to ping both the mac pro and the pc.

thanks for the help so far,
BabaG
 
  


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
cannot reach internet from private LAN toodr Linux - Networking 12 10-23-2005 08:44 PM
New wireless on notebook: can ping my network but can't reach internet Mike Reith Linux - Wireless Networking 39 03-06-2005 11:51 AM
Can't reach the internet. I am stuck and desperate. panzram Linux - Software 1 06-12-2003 09:37 AM
RH8.0 - Can not reach the internet donhoudek Linux - Newbie 1 11-21-2002 09:25 AM
Can someone help me reach the Internet!!!??? AMDPwred Linux - General 8 12-23-2001 03:14 AM

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

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