Announcement

Collapse
No announcement yet.

How to make a ADSL connection work with Wicd

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

    How to make a ADSL connection work with Wicd

    First of all, run into the Konsole:

    user@ubuntu:~$ sudo pppoeconf

    Follow the instructions in the application, then choose do not connect on startup and not connect now.
    After that run to become connected:

    user@ubuntu:~$ pon dsl-provider

    Remove any of that applications:

    user@ubuntu:~$ sudo apt-get remove network-manager-kde network-manager-gnome network-manager plasma-widget-network-manager

    Run KPackageKit or Adept Manager, edit Software Sources. On Kubuntu Software choose the best server to download from. On Updates tab, check Important Security Updates and Recommended Updates. Hit Close.

    If your connection becomes down after the remove of this packages, kill the process "pppd". Hit Ctrl+Esc keys. In the window write "pppd" and hit the Kill Process button. On Konsole:

    user@ubuntu:~$ sudo pon dsl-provider
    user@ubuntu:~$ plog <<<< Take note of the DNS adresses, you will need it.

    Install the Wicd application:

    user@ubuntu:~$ sudo apt-get update && sudo apt-get install wicd

    Restart the computer.

    Click the left button of the mouse on the icon of Wicd in the system tray. Click on Disconnect button. Expand the Wired Network connection and choose Scripts. Enter your password.

    In the Pre-connection Script type 'pon dsl-provider'
    In the Disconnection Script type 'poff dsl-provider'

    In Advanced Configurations check "Use static DNS", typed the DNS addresses 1 & 2 (you can have it in the file /etc/resolv.conf if you forget to take note after the "plog" command).

    Click on Connect button.

    That's it. You'll be connected painless.
    I hope be useful. Sorry for my english.


    #2
    Re: How to make a ADSL connection work with Wicd

    Yes, it works! Many thanks, after more than a month and trying just about everything, your solution is the best so far.

    My problem with pppoeconf was that I was choosing to connect at boot and to connect now.
    Putting the script into wicd is great, saves typing it everytime I wanted to connect to the internet.

    Wicd manager now tells me that its trying to connect, but it is connected, and everything works.

    Obrigado, Deus o abencoe. (Your English is fine.)
    HP Compaq nc6400, 2Gi, 100Gi, ATI x1300 with 512M

    Comment


      #3
      Re: How to make a ADSL connection work with Wicd

      Hi there. This looks like exactly what I need. I've followed the steps here up until this one

      Originally posted by alesandro
      Install the Wicd application:

      user@ubuntu:~$ sudo apt-get update && sudo apt-get install wicd
      and here I hit my snag. As I understand it (I'm completely new to Linux so I may be wrong), the apt-get commands connect to various internet resources to download the packages you're looking for and install them. A very usefull tool but...

      the very reason I'm trying to install this package (wicd) is that I CAN'T connect to the internet, so obviously this fails. I tried downloading the package on my Windows machine and now I can't get it installed.

      Any advice on how to do this for a complete newb?

      Thanx in advance

      Fang

      Comment


        #4
        Re: How to make a ADSL connection work with Wicd

        You will need to get the package using another computer from
        packages.ubuntu.com

        On this page is listed the distributions, but in the search box, type "wicd" without the quotes
        it will then display the wicd package for jaunty and it may give options for i386 and amd64
        check also the dependencies, I don't think there is too many
        save these packages as [name].deb
        copy them onto you jaunty or open them from a usb stick in jaunty and install them,
        then you should have a working internet connection
        HP Compaq nc6400, 2Gi, 100Gi, ATI x1300 with 512M

        Comment


          #5
          Re: How to make a ADSL connection work with Wicd

          Thanks kev. That's exactly what I'm doing right now

          Funny that I'm spending more time in Windows on a Linux installation than in Linux :P

          Comment


            #6
            Re: How to make a ADSL connection work with Wicd

            Hi man,

            After the command:

            user@ubuntu:~$ pon dsl-provider

            you should be connected. If you did everything right setting up with pppoeconf script. Open a web browser (Konqueror) and see if it can surf some webpage.
            Try to check the status of your modem with:

            user@ubuntu:~$ ifconfig ppp0

            The result must be like this:

            ppp0 Link encap:Protocolo Ponto-a-Ponto
            inet end.: 189.000.000.76 P-a-P:200.000.000.96 Masc:255.255.255.255
            UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 M&#233;trica:1
            pacotes RX:7529 erros:0 descartados:0 excesso:0 quadro:0
            Pacotes TX:6054 erros:0 descartados:0 excesso:0 portadora:0
            colis&#245;es:0 txqueuelen:3
            RX bytes:8961415 (8.9 MB) TX bytes:701895 (701.8 KB)

            Everything else but this you should reconnect with:

            user@ubuntu:~$ sudo poff -a
            user@ubuntu:~$ sudo pon dsl-provider


            Post some seconds to see the stattus of your connection:

            user@ubuntu:~$ plog

            The result must be like this when you're connected:

            [i]Jun 8 21:43:12 Ubuntu pppd[9185]: Using interface ppp0
            Jun 8 21:43:12 Ubuntu pppd[9185]: Connect: ppp0 <--> eth0
            Jun 8 21:43:27 Ubuntu pppd[9185]: PAP authentication succeeded
            Jun 8 21:43:27 Ubuntu pppd[9185]: peer from calling number 00:1D:B5:70:01:E2 authorized
            Jun 8 21:43:29 Ubuntu pppd[9185]: Cannot determine ethernet address for proxy ARP
            Jun 8 21:43:29 Ubuntu pppd[9185]: local IP address 189.000.00.131
            Jun 8 21:43:29 Ubuntu pppd[9185]: remote IP address 200.000.000.96
            Jun 8 21:43:29 Ubuntu pppd[9185]: primary DNS address 200.000.000.147
            Jun 8 21:43:29 Ubuntu pppd[9185]: secondary DNS address 200.000.000.155

            .

            Comment


              #7
              Re: How to make a ADSL connection work with Wicd

              I tried this in Karmic, but it doesn't work. For some reason wicd does not detect my dsl connection in Karmic but it does in Jaunty. I filed a bug report. For now, this How To works in Jaunty, hopefully also in Karmic soon.
              HP Compaq nc6400, 2Gi, 100Gi, ATI x1300 with 512M

              Comment


                #8
                Re: How to make a ADSL connection work with Wicd

                Exelente my friend!... funciono de maravilla... good work!

                Thanks

                Comment

                Working...
                X