Announcement

Collapse
No announcement yet.

[SOLVED] Problem with New Wired Connection

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

    [SOLVED] Problem with New Wired Connection

    Hello guys, I'm new here and I hope I'm at the right place to post this. ^^

    For a long time, I'm trying to configure my Wired Connection (I have ADSL modem and its connected on router), but when I type in Address, Netmask, Gateway then DNS and click OK, Netmask numbers change to 0 or something like that, anyway, its lost.
    I tried so much other combination, but its not working.

    I tried typing
    sudo pppoeconf and its saying that cable isnt recognized, but when I turn to Vista, I have no problems with that...

    I'm quiet new to Linux.

    Thanks forwards!

    #2
    Re: Problem with New Wired Connection

    Please identify the version of Kubuntu you are using. And, open a console and type:
    Code:
    sudo cat /etc/network/interfaces
    Copy and paste the output in your reply.
    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


      #3
      Re: Problem with New Wired Connection

      I'm using Kubuntu 9.04.

      This is an output:
      auto lo
      iface lo inet loopback

      Comment


        #4
        Re: Problem with New Wired Connection

        is there a reason you are typing in the netmask, dns, etc? if you are behind a router, why not use DHCP?

        mm0
        Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

        Comment


          #5
          Re: Problem with New Wired Connection

          oh yeah, if you have to have a static address, the stock network manager doesn't work with static (bug)...go ahead and take a DHCP address, and then open terminal and enter:
          Code:
          sudo apt-get install wicd
          This will install a different network manager that (imho) is better than the stock, called wicd. wicd allows the use of static addresses.

          mm0
          Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

          Comment


            #6
            Re: Problem with New Wired Connection

            Try this:

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

            Comment


              #7
              Re: Problem with New Wired Connection

              and yes, DO try wicd, it's generally better. It does not allow VPN connection managing but there is kvpnc for that.
              <br />Have YOU signed the Ubuntu code of Conduct? I did it at 10 AUG, 2009!

              Comment


                #8
                Re: Problem with New Wired Connection

                Here's what I did and output:

                Code:
                electro@ubuntu:~$ sudo apt-get install wicd
                [sudo] password for electro:     
                Reading package lists... Done       
                Building dependency tree          
                Reading state information... Done     
                E: Couldn't find package wicd 
                electro@ubuntu:~$ sudo apt-get remove network-manager-kde
                Reading package lists... Done              
                Building dependency tree                 
                Reading state information... Done            
                Package network-manager-kde is not installed, so not removed
                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                electro@ubuntu:~$ sudo apt-get remove network-manager
                Reading package lists... Done            
                Building dependency tree               
                Reading state information... Done          
                The following packages will be REMOVED:       
                 network-manager plasma-widget-network-manager   
                0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
                After this operation, 3621kB disk space will be freed.    
                Do you want to continue [Y/n]? y               
                (Reading database ... 88411 files and directories currently installed.)
                Removing plasma-widget-network-manager ...               
                Removing network-manager ...
                 * Stopping network connection manager NetworkManager          [ OK ]
                 Removing any system startup links for /etc/init.d/NetworkManager ...
                  /etc/rc2.d/S50NetworkManager
                  /etc/rc3.d/S50NetworkManager
                  /etc/rc4.d/S50NetworkManager
                  /etc/rc5.d/S50NetworkManager
                Processing triggers for libc6 ...
                ldconfig deferred processing now taking place
                Processing triggers for man-db ...
                electro@ubuntu:~$ ifconfig
                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:556 errors:0 dropped:0 overruns:0 frame:0
                     TX packets:556 errors:0 dropped:0 overruns:0 carrier:0
                     collisions:0 txqueuelen:0
                     RX bytes:42112 (42.1 KB) TX bytes:42112 (42.1 KB)

                Comment


                  #9
                  Re: Problem with New Wired Connection

                  If you are using Jaunty, wicd should be in the repository, if you are using a version prior to jaunty, see this to install.

                  http://wicd.sourceforge.net/download.php

                  Also run

                  Code:
                  ifconfig -a
                  and post the results. The -a option will cause ifconfig to list all interface devices, not just the active ones.

                  Comment


                    #10
                    Re: Problem with New Wired Connection

                    I tried everything of that and still doesnt working.
                    entry in file interfaces is
                    auto lo
                    iface lo inet loopback

                    i checked...

                    Then I tried this:

                    Code:
                    electro@ubuntu:~$ wget -q [url]http://apt.wicd.net/wicd.gpg[/url] -O- | sudo apt-key add -
                    gpg: no valid OpenPGP data found.
                    And here's the output of ifconfig -a :

                    Code:
                    electro@ubuntu:~$ ifconfig -a   
                    eth0   Link encap:Ethernet HWaddr 00:21:85:e0:ee:02 
                         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)       
                         Interrupt:19 Base address:0xdead          
                    
                    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:212 errors:0 dropped:0 overruns:0 frame:0
                         TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
                         collisions:0 txqueuelen:0
                         RX bytes:15656 (15.6 KB) TX bytes:15656 (15.6 KB)
                    
                    pan0   Link encap:Ethernet HWaddr 6e:97:96:34:f0:91
                         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:0
                         RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
                    
                    wlan0   Link encap:Ethernet HWaddr 00:22:43:07:8b:32
                         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-22-43-07-8B-32-00-00-00-00-00-00-00-00-00-00
                         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)

                    Comment


                      #11
                      Re: Problem with New Wired Connection

                      What version of Kubuntu do you have installed?

                      Comment


                        #12
                        Re: Problem with New Wired Connection

                        Originally posted by electrokuber
                        I'm using Kubuntu 9.04.

                        Comment


                          #13
                          Re: Problem with New Wired Connection

                          You should be able to install wicd. In the meantime, you posted your /etc/network/interfaces file previously. To get your wired connection working manually, add one line to the file. Edit /etc/network/interfaces to match the following:

                          auto lo eth0
                          iface lo inet loopback
                          iface eth0 inet dhcp

                          Save the file and issue the following command from a terminal:

                          sudo /etc/init.d/networking restart

                          Then try a ping
                          ping www.google.com

                          It should work if you get your address dynamically.

                          linux &amp;&amp; bash = &quot;the future&quot;

                          Comment


                            #14
                            Re: Problem with New Wired Connection

                            When I try to edit file, it says:

                            The document could not be saved, as it was not possible to write to /etc/network/interfaces.

                            Check that you have write access to this file or that enough disk space is available.
                            When I type

                            Code:
                            sudo /etc/network/interfaces
                            it says:

                            sudo: /etc/network/interfaces: command not found
                            Maybe I should, but I cant install it, I know I'm new to this, but I've posted what it says...

                            And yes, how can I type address when I removed network manager?

                            Comment


                              #15
                              Re: Problem with New Wired Connection

                              As you are running Jaunty, the only reason I can think of that yu are unable to install wicd is that you don't have all of the necessary repositories enabled.

                              Open a terminal and enter

                              Code:
                              cat /etc/apt/sources.list
                              and post the results.

                              The reason you can't edit your interfaces file is it must be edited with sudo privileges.

                              You can open it to edit with the command

                              Code:
                              kdesudo kate /etc/network/interfaces

                              Comment

                              Working...
                              X