Announcement

Collapse
No announcement yet.

new install of 9.10 can connect to local network but not internet

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    new install of 9.10 can connect to local 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?

    thanks,
    BabaG

    #2
    Re: new install of 9.10 can connect to local network but not internet

    usually routing issue caused by kdenetworkmanager.

    check route with route -n in a terminal

    Code:
    stuart@office:/etc/rc2.d$ route -n
    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 bond0
    169.254.0.0   0.0.0.0     255.255.0.0   U   1000  0    0 bond0
    0.0.0.0     192.168.1.1   0.0.0.0     UG  100  0    0 bond0
    see last line gateway is my router address

    Please Read Me

    Comment


      #3
      Re: new install of 9.10 can connect to local network but not internet

      thanks oshunluvr. looks like you're on to something.

      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

      Comment


        #4
        Re: new install of 9.10 can connect to local network but not internet

        I never got knetworkmanager to work right so I removed it. The command to manually add a default gateway is

        sudo route add default gw 192.168.1.1 eth0

        This will not withstand a reboot. Also, it still may not work because of networkmanager.

        Do some web searching on the kde networkmanager and gateway - you might find out how to fix it.

        Please Read Me

        Comment


          #5
          Re: new install of 9.10 can connect to local network but not internet

          thanks again, oshunluvr.

          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.

          sigh.

          BabaG

          Comment


            #6
            Re: new install of 9.10 can connect to local network but not internet

            Mark this thread SOLVED and start a new topic concerning your 'new' problem with SAMBA.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment

            Working...
            X