Announcement

Collapse
No announcement yet.

[SOLVED] Internet connection config problem

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

    [SOLVED] Internet connection config problem

    Hey y'all,
    I just finished installing the OS (first time ever w/ linux...yay) and I got some serious problems trying to configure my internet connection. I've tried creating a new connection with the same settings i had on my previous OS (static ip address, and all that stuff). The connection icon in the taskbar goes green but for some reason I can't connect to the internet.
    Some advice would be much appreciated.

    Thanks,
    ElWray
    Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

    #2
    Re: Internet connection config problem

    Did you have your ethernet cable connected when you installed Kubuntu? Did you try networking with the Live CD, prior to installing? It's a bit unusual to have problems with ethernet. Here's good guidance:

    http://kubuntuforums.net/forums/inde...opic=3100052.0

    If you meant to say "wireless" or something like that, take a look at the "Top 20" in my signature -- lots of help there.

    Comment


      #3
      Re: Internet connection config problem

      Nope, not wireless. Normally I'd just have to plug in the cable and write down the IP address, etc. I didn't try networking w/ the Live CD just cause i've seen kubuntu in action on another pc

      Btw...can't find eth0
      Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

      Comment


        #4
        Re: Internet connection config problem

        Run
        Code:
        ifconfig -a
        in a terminal and post the results.

        Comment


          #5
          Re: Internet connection config problem

          Code:
          eth0   Link encap:Ethernet HWaddr 00:1f:c6:11:0c:52 
               BROADCAST MULTICAST MTU:1500 Metric:1
               RX packets:88 errors:0 dropped:0 overruns:0 frame:0
               TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000 
               RX bytes:5280 (5.2 KB) TX bytes:1836 (1.8 KB)
               Interrupt:18 
          
          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:144 errors:0 dropped:0 overruns:0 frame:0
               TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:0 
               RX bytes:9920 (9.9 KB) TX bytes:9920 (9.9 KB)
          Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

          Comment


            #6
            Re: Internet connection config problem

            Eth0 is there.

            So if you follow the instructions in the link provided in dibl's post, you should be up and running in a short time.

            Comment


              #7
              Re: Internet connection config problem

              if i just type "ifconfig" instead it won't show up anymore

              and i cant save the interfaces file after modifying it. also i can't seem to find /etc/resolv.conf
              just a folder called resolvconf

              EDIT: Problem fixed.

              However, when I try "sudo /etc/init.d/networking restart", it fails
              Code:
              /etc/network/interfaces:7:misplaced option
              ifdown: couldn't read interfaces file "/etc/network/interfaces"
              /etc/network/interfaces:7:misplaced option
              ifup: couldn't read interfaces file "/etc/network/interfaces"
              Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

              Comment


                #8
                Re: Internet connection config problem

                Yes, the difference in ifconfig and ifconfig -a is that ifconfig only shows active interfaces, as ifconfig -a shows all interfaces. Your eth0 interface is present, but is not yet active. If you opened the interfaces file as sudo, using kdesuo to open your text editor, you should be able to save it. You may not have a resolv.conf file yet, as it is automatically generated when you connect if using DHCP. If using DHCP there is no need to edit this file. If you wish to use a static IP, then you need this file. If you open your text editor with the kdesudo command you can create and save the file.

                Very carefully edit your interfaces file again, it appears you have an error, probably a simple typo.

                Comment


                  #9
                  Re: Internet connection config problem

                  hm...still not working.

                  Here's the file's content:

                  auto lo
                  iface lo inet loopback
                  address 127.0.0.1
                  netmask 255.0.0.0

                  auto eth0 inet static
                  address 82.76.180.253
                  netmask 255.255.255.128
                  gateway 82.76.180.129



                  i got the first half exactly like in the example. is there something else i should actually type there instead?


                  Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

                  Comment


                    #10
                    Re: Internet connection config problem

                    So what did you put in your resolv.conf file? You might try it with dhcp just to see if you can get connected.

                    auto lo
                    iface lo inet loopback
                    address 127.0.0.1
                    netmask 255.0.0.0

                    auto eth0 inet dhcp

                    Comment


                      #11
                      Re: Internet connection config problem

                      Tried now and it worked.
                      Another problem. I restarted and the interfaces file was empty.

                      I still can't connect to the internet tho'
                      Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

                      Comment


                        #12
                        Re: Internet connection config problem

                        Sorry for double posting. Seems like it worked now with the static IP address.
                        [problems solved]

                        Thanks a lot
                        ElWray

                        Core 2 Quad Q6600<br />4 GB RAM<br />GeForce 9800 GTX<br />Hitachi Deskstar 1TB<br />Seagate 250 GB<br /><br />Triple-booting Gentoo, Crunchbang &amp; Windows 7

                        Comment

                        Working...
                        X