Announcement

Collapse
No announcement yet.

Pwnd by apt-get...

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

    Pwnd by apt-get...

    O.k. the network support thread seemed like the best place that fit my problem, even though it seems a little more encompasing than that...
    So, I download and burn the DVD of Dapper Drake, install goes awsome (it pwns the Breezy Badgers installer...thats the last time I tried linux by the way, when Breezy came out).
    From my previous experience with Breezy I knew I had to get ndis wrapper for my Broadcom card.

    This leads me to my first problem....I can't get ndiswrapper....I could not freakin figure out how to get the repository on the DVD to work, it wasn't on the sources.list automatically like everyone says it is, and, obviosly I have no internet to download the ndiswrapper...Finally I went in manually and found the .deb package for ndiswrapper (I am soooo glad that it didn't need any dependiencies...).

    Ok, next step, I use source-o-matic, and get a coolio correct sources.list (or at least thought I did). This is when I noticed my second problem, my internet is going slow as crap, like as slow as 2 bytes a second, I mean dial up slow (I have a DSL connection with a linksys router by the way, so that is not exactly normal speeds).

    I wrote it off at first, but then when I tried to do apt-get update all hell broke loose...Like half the official repositories would time out, and it would not even connect at all to some, it would get like half way done downloading from a particular repository, and just time out in the middle (which probably corrupted something ).

    I got to thinking that maybe if I got the newest source files for ndiswrapper and compiled them myself, it would improve things, the problem is I can not get build-essential because of what I assume to be corrupt apt-get headers (when I go apt-get install build-essential it says it is not available, but is referred to by another package; Package build essential has no install canditate...).

    I thought I could just get it manually off the DVD like ndiswrapper, but nope, not that easy, there are like fiftly million dependencies(obvious exaggeration) that I would need to install manually ! So, that obviously wasn't going to work...

    So to sum up my plight (skip straight to this if you are tired of my ranting ):
    A.)How to you add the repository that is on the instillation DVD to the sources.list?

    B.)Why is my broadcom wireless card with ndiswrapper going so freaking slow?

    C.)What the hell is going on with apt-get that is having so much trouble connecting with all the repositories...(This is probably related to question B but I am not sure)


    Just so you know I don't hate kubuntu, in fact besides those problems, it pwns the last version. It is a million times more stable; breezy crashed on me crap loads for random reasons, thats why I gave up on linux last time...Dapper seems to be like a rock, super stable, which is awsome; and all the other distro's I've tried...well they suck compared to any version of ubuntu...

    Please help me get this working! If I can't make it work, I may have to go back to windoze...I can't stand to go back; you wouldn't let that happen would you

    thnx in advance from another linux n00b

    #2
    Re: Pwnd by apt-get...

    A.) Insert your Dapper cd and type in console 'sudo apt-cdrom add' this will add the cd to your sources

    B.) How many network interfaces do you have enable? Have you tried the ipv6 disable trick? Are you using the correct driver for your wireless card?

    C.) Can you please post your sources.list so we can check if it contains any errors?

    Comment


      #3
      Re: Pwnd by apt-get...

      A.) Sweet 'sudo apt-cdrom add' worked great! I now have the DVD depository to fall back on, thanks ...

      B.) I had both the wireless and the ethernet adapters enabled; after reading the your post I disabled the ethernet adapter, which had no effect on the slow speeds...

      B Part 2.) Yeah I don't really know what the IPV6 disable trick is...I searched for it on the forums came up with this: http://kubuntuforums.net/forums/index.php?topic=6635.0
      I don't know if that is what you meant...please tell me more about this IPV6 trick...

      C.) Here is my sources.list file (Note: the automatix repository is at the bottom because I did want to install automatix at one point...)


      # Automatically generated sources.list
      # http://www.ubuntulinux.nl/source-o-matic
      #
      # If you get errors about missing keys, lookup the key in this file
      # and run these commands (replace KEY with the key number)
      #
      # gpg --keyserver subkeys.pgp.net --recv KEY
      # gpg --export --armor KEY | sudo apt-key add -

      # Ubuntu supported packages (packages, GPG key: 437D05B5)
      deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
      deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
      deb http://security.ubuntu.com/ubuntu dapper-security main restricted

      # Ubuntu supported packages (sources, GPG key: 437D05B5)
      deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
      deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
      deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

      # Ubuntu community supported packages (packages, GPG key: 437D05B5)
      deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
      deb http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
      deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse

      # Ubuntu community supported packages (sources, GPG key: 437D05B5)
      deb-src http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
      deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
      deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

      # Seveas' packages (packages, GPG key: 1135D466)
      deb http://mirror3.ubuntulinux.nl dapper-seveas all

      # Seveas' packages (sources, GPG key: 1135D466)
      deb-src http://users.lichtsnel.nl/~seveas dapper-seveas all

      # Cipherfunk multimedia packages (packages, GPG key: 33BAC1B3)
      deb ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main

      # Cipherfunk multimedia packages (sources, GPG key: 33BAC1B3)
      deb-src ftp://cipherfunk.org/pub/packages/ubuntu dapper main

      # kubuntu.org packages for the latest KDE version (packages, GPG key: DD4D5088)
      deb http://kubuntu.org/packages/kde-latest dapper main

      # kubuntu.org packages for the latest KDE version (sources, GPG key: DD4D5088)
      deb-src http://kubuntu.org/packages/kde-latest dapper main

      # kubuntu.org packages for the latest Koffice version (packages, GPG key: DD4D5088)
      deb http://kubuntu.org/packages/koffice-latest dapper main

      # kubuntu.org packages for the latest Koffice version (sources, GPG key: DD4D5088)
      deb-src http://kubuntu.org/packages/koffice-latest dapper main

      # kubuntu.org packages for the latest amaroK version (packages, GPG key: DD4D5088)
      deb http://kubuntu.org/packages/amarok-latest dapper main

      # kubuntu.org packages for the latest amaroK version (sources, GPG key: DD4D5088)
      deb-src http://kubuntu.org/packages/amarok-latest dapper main

      # Penguin Liberation Front (packages)
      deb ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free

      # Penguin Liberation Front (sources)
      deb-src ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free

      # Bleeding edge wine packages (packages)
      deb http://wine.budgetdedicated.com/apt dapper main

      # Bleeding edge wine packages (sources)
      deb-src http://wine.budgetdedicated.com/apt dapper main

      #automatix
      deb http://www.getautomatix.com/apt kubuntu main


      I was going to disable all of the repositories in the list other than the DVD and try installing build-essential from that, just so I can try compliling the ndiswrapper source to see if it would make a difference, but I will wait to see what you have to say about my sources.list and the ipv6 thing.

      thanks tim- you have already been a great help ...Thats one of the fastests replies I have ever seen on any forum, let alone a really helpfull one
      Gives me a lot of hope that with your help I can get this box of mine up and running after all

      Comment


        #4
        Re: Pwnd by apt-get...

        What is the ipv6 disable trick?

        Comment


          #5
          Re: Pwnd by apt-get...

          I did some more searching on the ipv6 thing and found this:
          http://ubuntuforums.org/archive/index.php/t-87798.html

          it was pretty informative about what ipv6 actually does, etc...
          I changed the /etc/modprobe.d/aliases file as per their instructions, which according to those people disables ipv6.

          Unforntunately my connection is still going slower than molases, so, either that did not disable ipv6...or thats not the problem. I am going with the "ipv6 is not the problem" hypothesis....but I am still not very sure about the ipv6 settings, so I could very easily be wrong. I am basically just trying things at the moment hoping something works...

          Comment


            #6
            Re: Pwnd by apt-get...

            I'm a n00b and don't know much about this but it seems to me the problem's with the router or modem.
            I understand that you do have a network but that it's very slow, that would seem to me you've got your wireless installed OK on your computer.
            I recently ran into some trouble where my landlord had changed the modem. He changed his computername, the last character a 'B' into an 'A' per instructions. He forgot to do that on the router aswell and I almost didn't have a connection.

            IPv6 doesn't seem the problem to me, typically with browsers like FF they try to reach a destination via IPv6 first and if that fails they try IPv4. If your network and ISP support IPv6 but the site your connecting to doesn't then it would mean 2 requests before you connect, shouldn't be a big problem with DSL.
            Browsers do have other tricks like adding WWW if they can't connect, for example:
            - you're trying to connect to site www.example.com but you type example.com
            FF first tries example.com and then tries www.example.com, so that's 2 requests. If the IPv4 issue mentioned above comes into play too then you'd get 4 requests before you'll establish a connection.
            Still no big problem but it would be really great if we can leave IPv4 behind and move to IPv6 globally.

            Comment


              #7
              Re: Pwnd by apt-get...

              I don't think it is my router, as my windoze laptop runs at full 54mbps and my hardwired pc in the other room also runs at full speed. This makes me reasonably sure it is something wrong with the wireless card on my nix box...
              An interesting thing to note though, is that when I pull up the dhcp lease table on my router, all the other comps on the network show up with their proper network names, but the nix box comes up with a blank network name next to its ip...

              Comment


                #8
                Re: Pwnd by apt-get...

                try pulling out your NIC card ,then reinstall. maybe it's a hardware issue and it just needs to be reseated. just a guess! Was windoze running on the same pc with no problems?

                Comment


                  #9
                  Re: Pwnd by apt-get...

                  Windoze was running fine as far as the network connection goes on the machine before I installed kubuntu. Unfortunately my ethernet card is built in to the motherboard...so I can't really pull it out per say, the closest thing I could do is disable it in the bios. As far as the wireless card goes, I could try to pull it out and see what happens. Actually disabling the ethernet in the bios seems like a pretty good idea anyway now that you mention it. I will try it and see what happens.

                  Comment


                    #10
                    Re: Pwnd by apt-get...

                    Well, I'll be damned, disabling the onboard lan in the Bios completly fixed my wireless speed problem . I guess there was some sort of hardware conflict. Thats the first big problem I was having fixed, now I just have to see if the repositories download correctly. Thnx Kubuntuuser for giving me the idea, and the rest of you guys for all your help. High Speed linux here I come!

                    Comment


                      #11
                      Re: Pwnd by apt-get...

                      And to top off the cake, apt-get update worked like a charm with very little modification to the sources.list file .
                      It seems some of the US mirrors were giving me errors so I just removed the country code and used the default servers, made all my problems go away! Hurray, I have a happy linux box now, which makes me even happier...Thank you all again.

                      Comment

                      Working...
                      X