Jump to content

thinkliberty

Members
  • Posts

    94
  • Joined

  • Last visited

Posts posted by thinkliberty

  1. What ISP are you using? there is most likely a linux how-to.

     

    The realtek 8139 is an ethernet card which means you most likely will have to use pppoe to connect to your ISP.

     

    Have you thought about buying a cheap linksys or dlink router to do this for you? It will also protect you from portscans from people looking to do other nasty things to you out there on the net.

     

    If supported by your ISP would allow you to use dhcp to connect to your router, which connects to your dsl modem.

  2. 1Try passing 'pci=routeirq' to the kernel at boot time. (by typing it in at the boot prompt without the quote marks)

     

    2 Try installing the nvida driver from run level 1 (type: init 1 <as root>)

    Make sure it is not already loaded using lsmod to check

     

     

    3 If that does not work there is a patch that nvidia posted to the lkml by Terence Ripperda on Mon, 23 Aug 2004...

     

    nv_enable_pci.patch

                                                                                                                                                                                                                                                                   
    --- nv/nv.c 2004-08-23 13:58:15.000000000 -0500
    +++ nv.new/nv.c 2004-08-23 13:58:35.000000000 -0500
    @@ -1225,6 +1225,7 @@
            {
                nv_state_t *nv = NV_STATE_PTR(&nv_linux_devices[i]);
                release_mem_region(nv->bar.regs.address, nv->bar.regs.size);
    +            pci_disable_device(nv_linux_devices[i].dev);
            }
        }
    
    @@ -3516,6 +3517,28 @@
            return -1;
        }
    
    +    // enable io, mem, and bus-mastering in pci config space
    +    if (pci_enable_device(dev) != 0)
    +    {
    +        nv_printf(NV_DBG_ERRORS,
    +            "NVRM: pci_enable_device failed, aborting\n");
    +        return -1;
    +    }
    +
    +    // request ownership of our bars
    +    // keeps other drivers from banging our registers.
    +    // only do this for registers, as vesafb requests our framebuffer and will
    +    // keep us from working properly
    +    if (!request_mem_region(dev->resource[0].start,
    +                            dev->resource[0].end - dev->resource[0].start + 1,
    +                            "nvidia"))
    +    {
    +        nv_printf(NV_DBG_ERRORS,
    +            "NVRM: pci_request_regions failed, aborting\n");
    +        goto err_disable_dev;
    +    }
    +    pci_set_master(dev);
    +
        /* initialize bus-dependent config state */
        nvl = &nv_linux_devices[num_nv_devices];
        nv  = NV_STATE_PTR(nvl);
    @@ -3545,7 +3568,7 @@
            nv_printf(NV_DBG_ERRORS, "NVRM: Please check your BIOS settings.         \n");
            nv_printf(NV_DBG_ERRORS, "NVRM: [Plug & Play OS   ] should be set to NO  \n");
            nv_printf(NV_DBG_ERRORS, "NVRM: [Assign IRQ to VGA] should be set to YES \n");
    -        return -1;
    +        goto err_zero_dev;
        }
    
        /* sanity check the IO apertures */
    @@ -3569,39 +3592,9 @@
                    nv->bar.fb.address, nv->bar.fb.size);
            }
    
    -        /* Clear out the data */
    -        os_mem_set(nvl, 0, sizeof(nv_linux_state_t));
    -
    -        return -1;
    -    }
    -
    -    // request ownership of our bars
    -    // keeps other drivers from banging our registers.
    -    // only do this for registers, as vesafb requests our framebuffer and will
    -    // keep us from working properly
    -    if (!request_mem_region(nv->bar.regs.address, nv->bar.regs.size, "nvidia"))
    -    {
    -        nv_printf(NV_DBG_ERRORS,
    -            "NVRM: pci_request_regions failed, aborting\n");
    -
    -        /* Clear out the data */
    -        os_mem_set(nvl, 0, sizeof(nv_linux_state_t));
    -
    -        return -1;
    +        goto err_zero_dev;
        }
    
    -    // enable io, mem, and bus-mastering in pci config space
    -    if (pci_enable_device(dev) != 0)
    -    {
    -        nv_printf(NV_DBG_ERRORS,
    -            "NVRM: pci_enable_device failed, aborting\n");
    -
    -        pci_release_regions(dev);
    -        os_mem_set(nvl, 0, sizeof(nv_linux_state_t));
    -
    -        return -1;
    -    }
    -    pci_set_master(nvl->dev);
    
    #if defined(NV_BUILD_NV_PAT_SUPPORT)
        if (nvos_find_pci_express_capability(nvl->dev))
    @@ -3618,13 +3611,7 @@
        if (nv->bar.regs.map == NULL)
        {
            nv_printf(NV_DBG_ERRORS, "NVRM: failed to map registers!!\n");
    -
    -        pci_release_regions(dev);
    -
    -        /* Clear out the data */
    -        os_mem_set(nvl, 0, sizeof(nv_linux_state_t));
    -
    -        return -1;
    +        goto err_zero_dev;
        }
        nv->flags |= NV_FLAG_MAP_REGS_EARLY;
    #endif
    @@ -3641,6 +3628,15 @@
        num_nv_devices++;
    
        return 0;
    +
    +err_zero_dev:
    +    os_mem_set(nvl, 0, sizeof(nv_linux_state_t));
    +    release_mem_region(dev->resource[0].start,
    +                       dev->resource[0].end - dev->resource[0].start + 1);
    +
    +err_disable_dev:
    +    pci_disable_device(dev);
    +    return -1;
    }
    
    int NV_API_CALL nv_no_incoherent_mappings

  3. I was only joking. I was comparing lilo and grub to the emacs vs. vi flamewars of the past on usenet.

     

    I hope you don't harbor any hard feelings against me for saying what I did in my previous post.

     

     

     

    Wrong thinkliberty. 

    I am not an emacs user and I wouldn't know what it was if it hit me.  I am simply one who follows a set of instructions that have been laid out by people who know a whole lot more about a subject than I do. 

     

    Maybe you don't, but I am one who was trained to READ THE MANUAL FIRST and don't presume you ( meaning me) know.  When an instruction says use vim then that is what I use.    In another thread involving an NVIDIA driver install problem, (which you are probably alluding to) a poster had no end of trouble because he made what seemed a minor insignificant change to the procedure, namely using vi instead of the advised vim.  I have NEVER had a problem installing or reinstalling the nvidia driver on my machine or two other friends machines which have different nvidia video cards.  I do not think good luck had anything to do with it  and I am not a trained and certified computer tech so I follow instructions exactly.   

     

    Grub is rapidly becoming the default for LINUX OSs from what I am hearing.  The fact that LILO has been out much longer does NOT make it superior, only older.

    It is not as user friendly as Grub but this would not matter to a geek who thinks user friendly is sissy woosses stuff.  To them if it isn't difficult to use then it cannot be any good.   

     

    Like most computer users, I like to use my machine for actual work and playing with it is only sideline interest.

     

    John.

  4. If this is for non-commercial use, why not just use borland's free compiler? If it is for windows see

    http://borland.com/products/downloads/down..._cbuilder.html#

     

    Cross-Compiling usually has to do with using a different arch, but still running in linux. Like compiling a linux program on your x86 to run on an linux PDA that uses an ARM processor.

     

    Compling code in linux to run in windows can be done with winelib, but it can be a PITA.

     

    [copy of preceding post removed by spinynorman - please use 'add reply' button]

  5. All that mucking around.  Wow.

     

    I am glad I use MCC and use Grub as bootloader.  It doesn't appear as pretty as Lilo but is a hellava lot easier to use (and far more reliable).

    When ever you select a new kernel to boot in to you must always check that the boot settings are what you want with that kernel.  The system does not automatically apply pre-chosen boot settings to all kernel choices.  Try adding some boot themes.  There are some nice ones around and when installed you can select the one you want from within MCC  --->    Boot

     

    Cheers.                John.

     

    Grub is not easier to use... and lilo has been around alot longer than grub has, I have never had problems with lilo not being reliable. *tsk* you are probably one of those emacs users too :jester: when everyone knows vi is better.

  6. I've seen the same thing happening in mdk10.0.  I put an alias in .bash_profile, and .bashrc without success.  Let me know if you figure out a solution.

     

    You need to making a file .alias in your home directory...

     

    See the file /etc/profile.d/alias.sh

     

    # Linux-Mandrake configuration: Chmouel Boudjnah <chmouel@mandrakesoft.com>

    #

    # Common Aliases for a system.

    #

    # The Semantic is :

    # If exist a ~/.alias and the user hasn't specified a

    # LOAD_SYSTEM_ALIAS variables then don't do any system aliases

    # If there is no ~/.alias but the user has specified a

    # IGNORE_SYSTEM_ALIASES then don't do any system aliases.

     

    Use it as a template for your /home/<your user name here>/.alias file

  7. Buy a Cheap linksys hardware router.. they can be bought for 50 dollars at walmart. Even less money if you buy them online...

     

    Then use IPtables to secure your port forwarding... (like only allowing the IP block(s) from work to access the port your ssh server runs on.)

     

    Another good program to run for security sake is PortSentry.

  8. You might be running extra services at boot and it sounds like you might be having an issue with harddrake scanning for new hardware. There is really no need to run harddrake on every boot.

     

    Sorry if this is in the wrong place, feel free to move it. My question is quick, and hopefully simple enough to answer :)

     

    When I boot mandrake 10 with 2.6 it takes an extraordinary amount of time to boot, it takes for ever checking or mounting the partitions. I don't know why, any ideas? Also, it won't shut down when I'm using 2.6. I can reboot, but if I tell it to shut down it doesn't correctly power down the computer.

  9. go along and read it....

     

    http://www.msnbc.msn.com/id/5614334/

     

    and then comment it, if you like. ;)

     

    Look where it came from.... Forbes.com Which has consititantly printed false information about linux, they are a microsoft shill.

     

    Anything printed from Forbes.com is taken from the point of veiw of the highest bidder.

     

    Groklaw has some nice things to say about forbes here:

    http://www.groklaw.net/article.php?story=20031014204258580

     

    Here is what slashdot has to say about forbes.com

    http://slashdot.org/articles/03/10/14/1317...?tid=117&tid=99

  10. Are you using the CD do the install? It sounds like you're trying to do it from the hard drive and your kernel does not have the loop module compiled in the kernel or as a module. Maybe the CD's kernel doesn't have the loop module in it?

     

    Your other option is to use mandrakemove or knoppix with the loop module in it(or a rescue floppy if you have a floppy drive) and chroot in to your mandrake installation and run lilo from there.

     

     

    The installation goes perfectly fine until it is time to install the boot loader.

     

    Now it doesn't matter whether I choose LILO* or Grub I get the following error.

     

    "insmod'ing module loop failed"

     

    I've tried various different ways to get around this to no avail*

     

    I know Mandrake had a problem around 9.2 I think with installing boot loaders on scsi and SATA drives... Is this still an unfixed problem?

     

    The only option I have for installing the bootloader is on one of my two SATA drives. The PATA drive listed in my sig is used for another OS that only recognizes PATA.

     

    So my question is if this is a known problem (Installing bootloaders onto a SATA MBR) What do you suggest using in place of GRUB or LILO? And how would that work into the install? (I did not see an option to skip the bootloader install, but was very late when I did this.  B) )

     

    Edit:

    I may have been alittle to hasty to blame SATA. During the setup between createing a user and displaying the bootloader screen is when this error happens.

    During the setup of the bootloader I can setup the bootloader for windows, but if I try to select an option for linux(whether I do linux by itself or linux and windows option) I get the error again after hitting ok/next.

  11. Some motherboards require you to turn off antivirus protection in the bios before updating the MBR

     

     

     

    Hello All,

     

    Just installed 10 on my machine for dual boot with 2000. After having 10 install LiLo, when I reboot I get 0's and 1's on the screen and no boot.  I have 2 seperate drives that the OS's are on.

     

    Win 2000

    Drive 1 (hda) C:\    (Partition 1)  40GB

    Drive 1 (hda) D:\    ( Partition 2) 40 GB

     

    MDK10 (K:\)

    Drive 2 (hdb) All MDK 40 GB

     

    Any thoughts?....I restored the origional MBR and rebooted back into Win, but would like to have access to MDK. Haven't found a way to even access the drive. MDK restore found the install, but will not boot????

     

     

    Thanks :help: !

     

    JAzz

  12. I see this being useful in 3 situations.

     

    gaming

    computing for the blind

    assigning the sound to a virtual windows.

     

    until computer UI's start to work like in the movie the minority report. :)

     

    Sure thing:

     

    Say you had a large monitor (it just makes the effect better) and you are tweaking something in a console window somewhere in the center of the screen and off to the right you have your chat client open, but it's been relatively inactive for a while.  When someone sends a message to the chat room the normal alert sound/chime will make noise, but you will hear it to the right of you.  Similarly if your chat client is to the left, you will hear alerts to the left of you. 

     

    There are some ideas floating arround that the efficiency one gains from such a thing increases as the amount of tasks increases.  So for someone typing a document and periodically checking a chat the efficiency increase will be barely noticeable.  For someone watching 10 stocks, chatting and typing up a report the benefit would be great.  Instead of looking at all the stocks when an alert is sounded one could easily zero in on the stock making the alert.

  13. You should ask the user what speed their CD burner is, also have an option if unsure to press enter and go with a default of 4.

     

    just my 2 cents

     

    Ok, I made some changes and the cdrom closes. Unfortunatly it doesn't recognize the rawread command even though I put the script the in the directory and it made it exectuable.

     

    I gotta download the Mandrake Isos again to test if my script burns them right. Here are my modifications. Thanks for the help everyone. 

     

    #!/bin/bash

     

    echo Burn Script Started

    echo Created by SwiftDeath

     

    cdrecord -scanbus

    echo Please enter the 3 numbers corresponding to your burner. Example 0,1,0 or 0,0,0

    read BURNER

    echo Please enter the mount point of your buner. Usually /mnt/cdrom or /mnt/cdrom2

    read MOUNT

     

    echo Please tell the directory of your Mandrake Isos

    read DIR

    cd $DIR

    echo Moving to $DIR

     

    echo Please wait... Checking Intergrity of Mandrake ISO Images. Please check a site to see if these checksums match the sites, to insure a good quality burn.

    md5sum Mandrake*.iso

     

    cdrecord dev=$BURNER speed=10 blank=fast -v -eject

     

    eject $MOUNT

    echo Please insert a Blank Disc into your $MOUNT. Press any key to continue

    read key

    eject -t $MOUNT

    cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD1.i586.iso

    md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso

    rawread $MOUNT | md5sum

    echo If those 2 keys match your burn of this cd was sucessfull.

     

    eject $MOUNT

    echo Please insert a Blank Disc into your $MOUNT. Press any key to continue

    read key

    eject -t $MOUNT

    cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD2.i586.iso

    md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso

    rawread $MOUNT | md5sum

    echo If those 2 keys match your burn of this cd was sucessfull.

     

    eject $MOUNT

    echo Please insert a Blank Disc into your $MOUNT. Press any key to continue

    read key

    eject -tt $MOUNT

    cdrecord dev=$BURNER speed=10 -pad -v -eject Mandrakelinux10.0-Official-Download-CD3.i586.iso

    md5sum Mandrakelinux10.0-Official-Download-CD1.i586.iso

    rawread $MOUNT | md5sum

    echo If those 2 keys match your burn of this cd was sucessfull.

     

    echo Congratulations! It appears you have downloaded and burned all 3 Mandrake CDS.

     

     

    exit 0

     

    Thanks Everyone,

    SwiftDeath

  14. I have a linux box (Red Hat 7) running at my ISP.  I would like to know if there is a way to backup an entire linux installation to a remote location using only a ssh terminal?And also how to restore it

     

    you can use dd via netcat (Tunneled through ssh of course, unless it's on a local netowrk)

     

    google is your friend too. here are some quick links on how to do what you are asking (it saves me from typing it out ;) )

     

    http://www.rajeevnet.com/hacks_hints/os_cl...os_cloning.html

     

    http://www.faqs.org/docs/Linux-HOWTO/Clone-HOWTO.html

×
×
  • Create New...