Re: [newbie] Installing new monitor
Carroll Grigsby wrote: I bought a new monitor today -- 17 inch LCD -- to replace an aging 14 inch CRT on my backup machine running Mandrake 9.1 (yeah, I know). The video card is a Matrox G200 Millenium. How do I get the video resolution to run any higher than 800 x 600? -- cmg Run drakxconf and update the monitor settings. Then change the resolution. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Installation (program) problems
Elwyn York wrote: Hiya Was planning to do the upgrade today but I loaned my car out and left the 10.2 CDs in there :( Doh! Anyway, Tried to install Crossover Office and it didnt like it... [EMAIL PROTECTED] elwyn]$ su Password: [EMAIL PROTECTED] elwyn]# '/home/elwyn/install-crossover3.sh' bash: /home/elwyn/install-crossover3.sh: Permission denied [EMAIL PROTECTED] elwyn]# '/home/elwyn/install-crossover4.sh' bash: /home/elwyn/install-crossover4.sh: Permission denied [EMAIL PROTECTED] elwyn]# Don't undestand where I've gone wrong :( ... Later It helps if you change the attributes to "exectuable" :( :( [fx: hangs head in shame] Now installed :) Elwyn Dumb question: is the script executable? Try "sh /home/elwyn/install-crossover3.sh". Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Dual Booting with Multiple Linux Distros (Mandi, Debian)
Philippe Landau wrote: Philippe Landau wrote: if i install Mandi, what options should i choose to preserve the current grub entries ? or to copy them over to lilo (whatever mandrake 10.1 uses). last time i tried my superblock and its 7 backups were destroyed. (i have no idea what that is.) now that i installed mandrake 10.1, how do i modify the mbr to be able to boot into the other linux installations ? control center:boot:boot loader says i need to specify a kernel image, but does not show the ones waiting on different partitions. kind regards philippe There a several ways to do it. One way it to have each distribution install its boot loader to its root partition, instead of the MBR, and then use one boot loader to give you a menu of distributions. This boot loader just loads the distribution's boot loader, and lets it take it from there. You can use LILO, Grub, or another boot loader of your own choice for this. You would use the same format as you do for booting Windows from the boot loader. For lilo, it would be something like: other=/dev/hda1 label="windows" other=/dev/hda5 label="mandrake" other=/dev/hda7 label="debian" You can usualy specify where you want the boot loader installed as part of the install. If you want to do it later, you have to edit the config file. For lilo, edit /etc/lilo.conf and change "boot=/dev/hda" to "boot=/dev/hda5" if you want lilo to install to partition 5. Then run "lilo" to do the install. The advantage of doing it this way is that when you upgrade a kernel, the kernel install scripts will update the boot loader for you. Otherwise you have to keep track of the kernel changes for each distribution in the distribution that the boot loader is installed in. The disadvantage is that you are using 2 boot loaders to boot your Linux distribution. Another way is to have one /boot partition that has the kernels for each distribution. Each distribution mounts it, and the boot loader knows where to find each kernel/inital RAM disk. But it can be fun keeping the names steight. A third way is to mount each /boot or / partition, and give the full path to the kernel for each distribution, based on the mount point. In other words, if you mounted the Debian root directory on /debian, then the kernel would be /debian/boot/. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] harddrake not detecting mouse (uses adaptor)
JR wrote: On Saturday 09 April 2005 12:21 am, Mikkel L. Ellertson wrote: JR wrote: I put mandrake10.1-Official on my friends desktop. His mouse doesnt work. It doesn't show up in harddrake (the gui tool). In fact, there is no mouse section at all, and it's not under peripherals. His mouse is a PS/2 mouse, but it is connected to a COM port via an adaptor. Can anyone tell me how to fix this? The reason he cites for wanting windows are all areas mandrake can really soar, so I'm dying to give him his dream machine! Did the adapter come with the mouse? Does the mouse work with the adapter on other computers? Other OSs? Hi Mikkel, Thanks for your reply. Yes, the mouse works fine on windows so it must work with serial also. I have no idea how to get mandrake to detect it though Kind regards, Jarlath Try logging in as root, and running "drakconf". Select mouse, and then serial mouse. It will help if you know the mouse type, and the port it is connected to. Just remember: Windows Linux COM 1= /dev/ttyS0 COM 2= /dev/ttyS1 COM 3= /dev/ttyS2 COM 4 = /dev/ttyS3 Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Using the " rm " command
Paul Kaplan wrote: On Saturday 09 April 2005 06:29 pm, SnapafunFrank wrote: Hi ~ the following is in reference to Acrobat Reader only. I have been reading about Acrobat5 and Acrobat7 and am looking at installing the later. I understand that I need to remove all of Acrobat5 and that is OK by me. The README advises: "To uninstall Acrobat Reader 5.0.9, simply delete the directory where it was installed." However, in doing a search : # slocate acro I have found that it is spread through quite a number of directories. Though I am prepared to track them down and remove them all individually I was wondering if there is a way to use the " rm " command to search and remove them all at one time ? And even better ~ if there was a way to check everything " rm " wanted to remove first without having to say " Y " to every file one by one ? Still, this is only a thought and not essential but if you know then please share. TIA Wouldn't a pipe do the trick? As in: locate | rm I suspect I don't have the syntax correct so you might want to test it a little before you blame me for hosing your system. Paul I don't think you can use a pipe, as the rm command is not expecting file names from standard in. You could probably do something like: for i in $(locate ; do rm "$i" ; done or for i in $(locate ; do rm -i "$i" ; done or for i in $(locate ; do rm -f "$i" ; done Use at your own risk... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] harddrake not detecting mouse (uses adaptor)
JR wrote: On Saturday 09 April 2005 03:09 pm, JR wrote: On Saturday 09 April 2005 12:21 am, Mikkel L. Ellertson wrote: JR wrote: I put mandrake10.1-Official on my friends desktop. His mouse doesnt work. It doesn't show up in harddrake (the gui tool). In fact, there is no mouse section at all, and it's not under peripherals. His mouse is a PS/2 mouse, but it is connected to a COM port via an adaptor. Can anyone tell me how to fix this? The reason he cites for wanting windows are all areas mandrake can really soar, so I'm dying to give him his dream machine! Did the adapter come with the mouse? Does the mouse work with the adapter on other computers? Other OSs? Hi Mikkel, Thanks for your reply. Yes, the mouse works fine on windows so it must work with serial also. I have no idea how to get mandrake to detect it though Kind regards, Jarlath I've just learned that harddrake has detected a SBLive joystick. There is no joystick so I think it is really the mouse. It is filed under 'Unknown/other' in harddrake. Jarlath I haven't had time to dig out a serial mouse to play with, but I hope to get a chance later today. But I don't think that the joystick is your mouse. Even if you do not have a joystick hooked up, there is still a joystick interface on the card. This is probably what you are seeing. Kind of like a serial port with nothing attached - it is there, but you cann't do much with it without a device attached. Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Problem with mounting my flash drive
Dennis Myers wrote: On Saturday 09 April 2005 05:14 am, Paul Smith wrote: On Apr 9, 2005 5:02 AM, Dennis Myers <[EMAIL PROTECTED]> wrote: I do not know why, but now I cannot use my flash drive, getting the following error: Could not mount device. The reported error was: mount: only root can mount /dev/sda1 on /media/usbdisk Paul, I was having the same problem in 10.2 rc2 with cooker upgrade. So I set the append line in lilo to noapic & nolapic and on boot with the device plugged in or plugging in after It is detected and accessable. HTH Oh man, if I would read and not jump.. any chance you went to console and typed in as "su" mount /dev/sda1 /media/usbdisk ? or look in MCC and see what harddrake calls the device. HTH Thanks, Dennis, but I do not understand quite well what you mean. Yes, if I run the command mount /media/usbdisk then, I can use my flash disk. Paul Right, this seems to be the way 10.1 works. It must first have a removable drive mounted and then it will allow it to be read. 10.2 has changed this and works much better for hotplugging. 10.2 should be out in a few days now. On my system, a stock 10.1, with the standard upgrades, but not with KDE upgraded to a newer version, plugging in a flash drive results in it being mounted on /mnt/removable, and I am able to access it without problem. But people that have upgraded KDE have run into problems because of the other packages that need to be upgraded to use the new KDE packages. It seams to break the 10.1 hotplug setup... Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] harddrake not detecting mouse (uses adaptor)
JR wrote: I put mandrake10.1-Official on my friends desktop. His mouse doesnt work. It doesn't show up in harddrake (the gui tool). In fact, there is no mouse section at all, and it's not under peripherals. His mouse is a PS/2 mouse, but it is connected to a COM port via an adaptor. Can anyone tell me how to fix this? The reason he cites for wanting windows are all areas mandrake can really soar, so I'm dying to give him his dream machine! Thanks in advance, Jarlath Did the adapter come with the mouse? Does the mouse work with the adapter on other computers? Other OSs? The reason I ask is that I have run into this before, where someone has a mouse, and they have an adapter from a different mouse, and they do not work together. The problem is that the PS/2 to serial, and PS/2 to USB adapters just convert the plug, without changing the signal levels. They work with the mouse they came with because the mouse uses different signal levels, and possible protocols, depending on how it is plugged in. For a mouse that works with a PS/2 to serial adapter, it works with ttl level (0 to +5 volts) signals when plugged into a PS/2 port, and with RS-232 levels (any ware from +/-3 to +/-35 volts.) A PS/2 only mouse, or a PS/2 and USB mouse will not work with on a serial port even though it will plug into the adapter. It doesn't have the circuits for it. Now, if the mouse is one that will work on a serial port, then we can work on getting Mandrake to work with it... But Mandrake usualy finds a serial mouse without help. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] min spec's for 10.1
Rob Blomquist wrote: On Thursday 07 April 2005 15:14, Tim wrote: Where can i find earlier versions of Mandrake Linux suitable to work on a Pentium 233 with 80 MB ram. Why not use Gentoo, where each package is compiled on the fly for the processor in question? I have a Pentium 266 laptop with 144mb, that runs 10.x pretty poorly, well the video stinks, and I have been thinking of running another distro to see if it would be better. 9.2 ran on it pretty well. Rob Have you considered the time an install would take, compiling all the packages, on a Pentium 233? (Let me see - if I remember right, figure 3-4 hours for the kernel itself...) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Problem with mounting my flash drive
Paul Smith wrote: On Apr 7, 2005 11:59 PM, Mikkel L. Ellertson <[EMAIL PROTECTED]> wrote: Thanks, Mikkel. Dumb question time - did the flash drive get mounted automaticly on /mnt/removable? This is what usualy happens when you plug one in. If you plug in a second one, it gets mounted on /mnt/removable2 or something like that. I use only one flash drive. If that did not happen, how did you try to mount the flash drive that generated that message? I simply plug my flash drive. Some information that would be helpfull: What version on Mandrake? 10.1. What is the output of "cat /etc/fstab"? $ cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/hdb1 / ext3 defaults 1 1 /dev/hdb6 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,uid=501,codepage=850,gid=501,umask=007 0 0 none /proc proc defaults 0 0 /dev/hdb5 swap swap defaults 0 0 /dev/fd0/media/floppy auto pamconsole,exec,noauto,managed 0 0 $ Regards, Paul > Paul, This has me stumped. If you did not try to mount the drive as a user, then you should not have gotten the error message. The standard hotplug settings will mount a flash drive on /mnt/removable unless it things the drive is realy a camera, and then it mounts it on /mnt/camera. Now, if you had clicked on a desktop icon, and it generated this message, then I would want to start looking deeper at the window manager configuration. At this point, unless someone else has a better idea, I think we are going to need to know more of the secquence when you plug in the flash drive. Plug in the drive ... ... Get the user can not mount /dev/sda1 message We need to know what goes on between plugging in the drive, and you getting the message. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Lilo on floppy
Leroy Britton wrote: I am using mandrake 10.1 and need to prepare a floppy for lilo. I found instructions and they say to use fdformat /dev/fd0H1440, however this gives me a error of No such file or directory. I have also tried fdformat /dev/fd0 and that gives me No such device or address. Any help would be appreciated. With 10.1, udev does not seam to create the additional floppy devices for the different floppy formats. But you should be able to use /dev/fd0 in place of /dev/fd0H1440 and have it work. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Updating with RPM drake
Owen wrote: My installation is straight forward. Aside from updates from the mirror no other software has been installed or modified. For a few months I did not touched my Mandrake box. Now when I attempt to use RPM drake for updates I get messages with the error that the packages have bad signatures. Such as: "The following package have bad signatures: kdebase+common_3.2.3._134.8.101mdk i586 rpm: missing signature (Couldn't open file} other packages have the same note that the signature was missing and the file couldn't be opened. Any suggestions? Download the new signitures from the mirror site, if you trust it, and install them. (rpm --import PUBKEY) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] [OT] usb electric shock while connecting is shutting down computer
Philippe Landau wrote: when i plug in my new Data-Tec D350U USB 2 external harddisk, i see a small electric flash which can cause my PC to shutdown instantly. i know USB is powered, carrying a small voltage, so the flash is not unexpected. also as it is used to send control signals i can understand that it powers down my PC. but it is risky for my data, so i would like to know if others saw that happen too. kind regards philippe This sounds more like a static discharge or a bad ground then anything normal. You should not see any flash when you plug in a USB device. The USB connector does have 2 pins for power, but these make connection after the grounded body of the plug is making contact with the USB socket, so even if there were a spark, you would not see it. One thing that can cause problems is if you have a separate power connection for your USB hard drive, and the power supply for it, and the one for the computer, as plugged into different wall outlets. By this, I mean outlets located at different points on the wall, or workbench. If they are on different circuits, and take different paths back to the electrical box, you can end up with different "ground" levels on the two outlets. The difference is usually not that great, but a 2 volt difference means a lot to computers. The problem is worse if you do not have properly grounded outlets. Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Lost XWindows
Charles Rodgers wrote: I foolishly entered "control alt F1" and now my machine will only boot to the command screen. What is the command to get from the command screen back to XWindows ? Your help will be much appreciated. Charles This is strange. I use the Ctrl-Alt-F1 to change to the command line all the time, and I don't run into this problem. You do have to hit Alt-F7 to get back to the X secession. (Standard install - this can be changed.) But you should have gotten the GUI login back when you rebooted as well. In any case, if it is now booting into level 3, instead of level 5, you can change this in a couple of ways. I believe drakconf offers an option for this. Or you can edit /etc/inittab, and change id:3:initdefault: to id:5:initdefault: This should fix things, unless you did something to break the X server. You can also run "telinit 5" as root to change to run level 5, instead of rebooting. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] PS2 wheelmouse
Charles A Edwards wrote: On Mon, 4 Apr 2005 07:04:18 -0400 Lee Wiggers wrote: Is anyone else having trouble with the logitech optical mouse in 10.1? I have used it, and am using it now on 4 boxes through a Belkin kvm switch. Mine exhibits the same behaviour. The workaround I use is that each time I change to a different system I disconnect and then reconnect the mouse from the kvm switch. Mines on an extension cable so that I can keep it within easy reach Charles At a guess, I would say the mouse supports more then one format of reporting events. The Linux box is using a mode that is different then the other boxes. When you change to the other box, the mode gets changed, but it doesn't get reset when changing back to the Linux box. Now, if you could figure out the mode the other boxes are using, and force the Linux box to use the same mode, you would be all set... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] back to Windows
Aron Smith wrote: On Monday 04 April 2005 09:16 pm, Mikkel L. Ellertson wrote: Do you really want to start comparing who has the oldest hardware sitting around? I think there is a lady on this list that has us all beat. (Especial after I junked the model 33 teletype last year.) An ASR 33? I would have killed to get one of those back in the old days :-D Well, I probably paid more then I should have for it 20 years ago. I used it on my first home computer. I had a LOT of programs on paper tape. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] back to Windows
Ron Hunter-Duvar wrote: On April 2, 2005 05:26, Daniel Anderson wrote: On Friday 01 April 2005 04:49 pm, Erylon Hines wrote: On Friday 01 April 2005 12:40 pm, Daniel Anderson wrote: | I'm going back to my TRS80 model 4. | | Dan OMG! I had one of those. I think it cost- like - $1650, which is probably about $10,000 in today's dollars. I still have mine, still works, dabbled a little in basic with it. I put in the extra memory and two 720k drives. Paid $50 for it used. And the first 386/25. I still have that laying around somewhere, or at least pieces of it--4 MEGS of RAM-whoo hoo--that was one hell of a machine. I actually ran Linux on it, for a while, kernel 1.x something, maybe 1.2, I can't remember exactly. Yup, them were the good ole days. I've got you all beat. I started on a Cosmac Elf with 256 bytes of static ram, a hex keypad and 2-digit 7-segment display! An RCA-1802, the best 8 bit cpu ever built. Composite tv output (40x25), and audio tape storage were also available. My brothers and I soldered the components onto the motherboard ourselves. And I walked to work bare feet in the snow, 5 miles, up hill both ways 8^). Do you really want to start comparing who has the oldest hardware sitting around? I think there is a lady on this list that has us all beat. (Especial after I junked the model 33 teletype last year.) Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Display problem
Michael Hahn wrote: I've been working on setting up a new system at work, using an older Linux box. The only trouble is the display settings for xwindows are not correct for the new monotor, and as a result, when I run startx, I get nothing but lots of moving horozontal lines. I found xorg.conf, but I'm not sure what changes I need to make there to get it up and running, or if that's even the right place. For refrence, the new monoter has a max res. of 800x600, and the old setting was for 1280x1024. The easy way is to log in as root, and run drakxconf. If you are set to boot into the GUI mode, hit Ctrl-Alt-F1 to get to a command line interface login prompt. You can also get there by hitting the Esc key at the boot screen, and typing "linux 3" at the prompt. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] PATH Oops
Anne Wilson wrote: On Monday 04 Apr 2005 05:04, rikona wrote: Hello Anne, Sunday, April 3, 2005, 1:25:11 AM, Anne wrote: AW> No man page matching to iptables found. Take a look at iptables-tutorial.frozentux.net - you might find it more useful than the man pages. Other similar stuff through Google, too. Noted, thanks. Anne > Its Monday morning, and I am back at my Linux machine, so I can get the right file names. I lost the original message some ware, so this isn't a direct reply to this message, but to the thread. Now, the man command uses several ways to find the man page you are looking for. I am not sure, but I think konqueror is doing the same thing. If you have MANPATH defined, it will use that. If you do not, then it looks at /etc/man.conf to generate a search path. If it is working from the config file, it will then also use PATH, along with a few other shell variables, to determine the search path. With most systems, it is not going to make a difference if you are running as a user, or as root. If anything, the user's PATH may find some man pages that root will not. (man pages for games, off the /usr/game directory tree.) One thing you may want to do is take a look at some of the options in /etc/man.conf and deside if you want to broaden the search path for man pages. If you use the man command to look at man pages, you may also want to look at some of the shell variables that can be set to change the way man displays things... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] PATH Oops
Anne Wilson wrote: On Sunday 03 Apr 2005 19:47, RickSisler wrote: Mikkel L. Ellertson ([EMAIL PROTECTED]) wrote: Anne Wilson wrote: For the comfort of my eyes I wanted to read man pages in konqueror, Anne, Mikkel, Does man iptables work from command-line? Hi, Rick. I have no problem accessing it from the command line. It's just for eye comfort that I wanted to do it in konqueror. At a pinch I could read it in a root console, which would certainly be easier than in a user console, but I don't like to do unnecessary things as root. Perhaps I got the command wrong in konqueror? Anne The path searched for man pages is not the same as the one searched for programs. You do not have to be root to read the man pages for commands that are normally restricted to root. The default man path is controlled by a config file in /etc. But if the man command works right from the command line, then that is not the problem here. Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] PATH Oops
Anne Wilson wrote: For the comfort of my eyes I wanted to read man pages in konqueror, but got the error No man page matching to iptables found. You can extend the search path by setting the environment variable MANPATH before starting KDE. I tried to set the variable - probably doing it completely wrong, but I've clearly screwed up $PATH. [EMAIL PROTECTED] anne]# $PATH bash: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin: No such file or directory I presume there's a text file somewhere that I can edit to clean this up? Anne There are a couple of problems here. The first is that PATH and MANPATH are not the same. The second is that $PATH is a shell varable that you set, or is set for you when you log in. You can defind a shell varable in a couple of ways. VARABLE="some value" PATH=$PATH:$HOME/bin What happens when you use $PATH, $HOME or any of the other shell varables in a command line is that the value of the varable is used when processing the command. When you type $PATH on the command line, you were in effect trying to run the command: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin: Bash complained that it could not find that command. Now, as far as you not being to read the IP tables man page, I can not check on what pakage the man page is part of at the moment, but if noone else fills in that part of the answer, then I will get back to you later on it. Mikkel -- Remember: Sometimes the dragon wins! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Burning 10.2 ISO
Aron Smith wrote: I have created a lot of coasters under k3b trying to burn 10.2 I noticed that the first disk is 699.8 Mb while the capicity is 700Mb The md5sums check is it because the CD-R is too small ? No - the 700Mb is more then big enough to burn a 699.8 MB image. The 700MB (80 minute) CDs hold 700Mb of data, plue the lead in and lead out data. Now, how are you trying to burn the CD under k3b? If you are trying to burn an ISO omage that you have downloaded, you need to pick tools, CD, Burn CD image. Now, I have heard that you can also run into problems burning CDs with k3b as a user if you haven't gone through the configuration first - you have to set some parmissions and it will ask you for the root password to do it... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Sync PocketPC with Evolution
Travis Crook wrote: Hi All, I just received a Toshiba PocketPC e755 and would like to sync it with Evolution 2.0. Is there a way to do this? Where do I start? Thanks! The first step would be to install the synce package. You may also want to take a look at: http://synce.sourceforge.net/synce/ and http://synce.sourceforge.net/synce/kde/ This will get you started anyway. From what I have seen, syncing with PocketPCs is still in the early stages. It isn't to nearly as good as the syncing to Palm devices. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] SMC Barricade
Mr. Geek wrote: Well, here's another weird one for the list. I recently bought a Linksys Wireless card and it's working quite well, but of course, there's one little problem. The card is unable to receive packets from the SMC router. I've tried it with and without DHCP, and with or without WEP. The SMC Barricade is an 11Mbps, 3-Port router with a print-server (not in use for now). I am able to get an IP address for the Linksys card from the router (Model # SMC7004AWBR), and KNemo shows that the card is sending packets to the router and that there's a connection at the proper speed, but the card is not receiving from the router. Just to simplify this, the problem doesn't seem related to Linux or Windows, since I'm getting the same problem in either OS. Meanwhile, my wired connection from the same system works fine. Wireless networking was working fine on the router the last time it was in use, even though an occasional reboot of the router was required. I've tried it before and after updating the firmware, and I've reset the router to default settings about 35 times, and still 'No Joy'! Even using the default settings, my wired connection is fine and the wireless card is getting an IP address from the router. But the wireless card can't successfully ping the router. If anyone has had any previous experience with this unit, I'd appreciate any suggestions they might have. I have yet to take my laptop out to another wireless zone to see if it connects and that's probably next on my list of things to try, but hopefully, there's something I'm missing. Personally, I suspect that the problem is due to the RTS/CTS & Fragmentation settings, but there doesn't seem to be a way to change them in the router and I can't find the spec's for them on Google or at SMC. Thanks for any help that you can provide Mr. Geek Registered Linux User #190712 Have you considered that the card itself may not work? Has it worked with any other router? Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Failed logins and access
Leroy Britton wrote: Yes that will log failed logon attempts, now can you tell me how to log failed access attempts? I need to log any access attempts that result in Permission Denied. Mikkel L. Ellertson wrote: Leroy Britton wrote: I am new to Linux. I have Mandrake 9.1 running and would like to know how I can log failed logins and failed file access attempts. Failed logins will show up in /var/log/auth.log, along with other security information. If you run, as root, "touch /var/log/btmp", then you can also run "lastb" to get a listing of bad logins. Mikkel I am not sure that can be done. Maybe if you explained what you are trying to do, we could come up with something that will work. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] can't find /udev/hdc in /etc/fstab or /etc/mtab
SnapafunFrank wrote: I added udev by urpmi sometime after my initial clean installation because I was after flexibility for my flash drives. I actually followed a Flash USB howto that appeared to work in that particular session but afterward it just got to be confused so I resolved to sort it out for myself. ( I also installed sysfs and a couple of other requirements at the time.) I'm running Mandrake10 Official ~ KDE-3.2.3 ~ Kernel-2.6.3-7 and have stuck with it because I needed to install the OpenGL + nvidia drivers for a little 3D experience. Your reply makes sense and I will look to that shortly, but for now, though I can mount data cds and dvds, ( manually ) as user OK , and read/write the contents, ~ but I am unable to get my audio cd's playing anymore nor does it appear that supermount is actually working, ( I say 'appear' because things might be going on in the background that I'm not privy to yet.) > How are you trying to play audio CDs? At one time after I had installed udev I used to place a blank dvd in my writer and k3b would fire up automatically ~ not at present however. I believe this is handled by magicdev, but I could be wrong. I have been following your efforts here and gone the way of symlinks in my .rules file and created links to replace things like /mnt/cdrom2 in case my system needs to look for that instead of /mnt/dvd-cd when relating to /udev/hdd or /dev/hdd ( one and same device of course which troubles me a wee bit ~ same device listed twice ~ don't understand this part yet. ie. Why is the /dev directory still about when I have uninstalled devfsd and issued " devfs=nomount " within lilo? As yet ' the penny ain't dropped ' on this one.) > The /dev directory will stay unless you delete it. (I don't recomend that!). The /dev directory entries should still work. They are used during boot, before udev is started, and the udev file system is mounted. With Mandrake 10.1, the udev file system is mounted on top of /dev. This has the affect of hiding the old entries, while still leting commands that expect to find the device nodes in /dev still work. So a question to get me started here ~ how can I check that supermount is working ? eg. is there some way to log it's efforts so as to get some clues for troubleshooting ? ) ps ax | grep supermount mount | grep supermount The first should show you if supermount is running, and the second should show any active supermount mounts. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] To Twiki Editors, Welcome to Newbie Manager and List-Members.
Mr. Geek wrote: Having something like a newsletter would also allow people to compile their own libraries on a variety of technical topics, which can be reviewed offline at their leisure, while cutting back on some of the redundant posts to the list. Following along this line of thought, would it be possible to post the newsletters on the Twiki site for future reference, with a possibility of any user requesting those article by email at a later date? In theory, it sounds good. In practice, I suspect that the people that need it most would not read it. It would get treated like the welcome message - filed and forgotten. You might want to think about adding a mailing list just for tips. That way, the people that are interested could subscribe, and the people that for what ever reason are not interested will not have to filter out extra messages. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] starting slmodem automatically as root
erik wrote: I'm using the slmodem driver but the problem is that I always have to start it as root (using su from terminal) to be able to dial-up. Is there a way to start this program automatically? TIA Erik If this is a module you have to load, then putting it in /etc/modprobe.preload works well for 2.6.x kernels. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] 10.2 on Dell d610
Andre LABBE wrote: Hi IT boots from the cd fine, then it tells me that there is no cd. I have tried alt1 with or without option. I went on the ftp to get extra boot floppy image (I do have an external usb floppy) same thing. Anyway to get 10.2 to find the CDrom. I have tried with 10.1 and it is the same problem. I don't want to do a network install. By the way Fedora 3 works Regards, Andre Send instant messages to your online friends http://uk.messenger.yahoo.com I know this will sound strange, but try booting from CD 2, and then changing CDs when it tells you to. The kernel on the second CD is set up with some different options, and works better for some hardware. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Failed logins and access
Leroy Britton wrote: I am new to Linux. I have Mandrake 9.1 running and would like to know how I can log failed logins and failed file access attempts. Failed logins will show up in /var/log/auth.log, along with other security information. If you run, as root, "touch /var/log/btmp", then you can also run "lastb" to get a listing of bad logins. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Um, Cardbus Wireless recommendations
Mr. Geek wrote: Can someone suggest a good Cardbus wireless card for me? I'm hoping to get a Wireless "G" card for my HP laptop, especially now that I found the cardbus slot! As I understand it, wireless G will allow me to connect to 802.11 'B' & 'G' enabled networks with speeds up to 54Mbps, so this is preferred to either 'B' or 'A' cards. Even so, I'd still prefer one that can use Linux native drivers and has no need of the ndiswrapper package. I'm running KDE 3.4 on ML - Limited Edition 2005 (read as Cooker) with a 2.6.11-6mdksmp kernel on an HP ZD7000 laptop with a 3.2Ghz Full P4 (with Hyper-Threading, of course!), and 512MB's of Ram. Theoretically, that should do the trick if I can find a good card for it. I'd appreciate it if someone could also suggest the right wireless packages for setting up the card. That's probably asking a lot, but what the heck,...it's worth a try! TIA. You might want to take a look at http://tuxmobil.org/pcmcia_linux_types.html Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] HD Failure
SOTL wrote: On Monday 28 March 2005 12:30, Mikkel L. Ellertson wrote: What file system were you using? How is the power source the systems are connected to? The laptop is battery powered but was plugged into the wall. The MSI box is not currently connected to a UPS. I have one location that I have to use a power condictioner, a UPS that does VAR, or a constant voltage transformer if I want systems to keep working. The voltage there dips low enough to give systems under load problems. I get lockups, but file corruption wouldn't suprise me. Nothing concerning power source would supprise me here in Tampa. Tampa is the leading capital of lightning in the US. If you don't mind risking a test system again, try doing the same transfere using tar or cp instead of mc, and see if you get the same problem. Mikkel I hate to say this but testing to see if I can burn up another HD is not exactly something I desire to do. As far as the issue with the other HD I will continue to play with it. > From your post, it sounded like you only had file system corruption, and not hardware damage. Have you tried running the manufactures tests on the drive to see what they say? You can probably do a complete erase using their utilities, and have a drive you can partition again. One thing I have found handy is to have a CD image of the drive in the test system. I make one using the SystemRescueCD or Norton Ghost of a fresh install + updates, before I start playing with it. That way, if worst comes to worst, I just start a restore going, and go do other things. Depending on the setup, I may have to come back to swap CDs, but other then that, it is a "hands off" install. If you have the hard drive space on a server, you can have the image saved to a hard drive, and restore across the network. When I get some space time, I want to set up a PXE boot so I can restore everything over the network just by selecting "Network" from the system boot menu, or the BIOS. It shouldn't be much different then the setup I used to play with using Etherboot and boot EPROMS in a couple of network cards... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB Wireless - Solved!
Mr. Geek wrote: Miark wrote: On Mon, 28 Mar 2005 17:16:23 -0500, Mr. wrote: Has anyone had any success getting a USB Wireless adapter to work? I'm considering buying one for my HP laptop because the reception would stink if I bought the Mini-PCI card that HP can provide. I have a Syntax USB-400 that I bough new for less than $10. It has a Prism chipset, so it works great. No ndiswrapper needed. But why not use a CardBus NIC instead? It would be a bit more convenient than a USB NIC. Miark Well cover me with pollen and stick me in a bee's nest. To tell you the truth Miark, I was under the impression that this laptop didn't have a Cardbus slot until a few minutes ago. There was a weird-looking slot on the side that didn't resemble a Cardbus slot, but I had a look inside and it has a single internal CardBus connector. Instead of the usual two slots (one on top of the other), it has a pair of flaps (one swings up and another one swings down when you insert a card - or a finger for that matter), and the opening is double-height, but it only has the one set of connectors inside. I was convinced that it was some type of Flash card slot, but it seems that it's CardBus alright. Serves me right for not looking farther. I'll repost to get some recommendations on a good CardBus unit. That sounds like a type III PCMCIA socket. It will accept type I, II, and III cards. I have the same thing on my Thinkpad. I wish they had went with 2 type II sockets instead. I could still use it for a type III PCMCIA hard drive when I needed it, but there are times when I want to use more then one type II card. But it is still better then some of the new laptops that only have one type II sockets. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] CDROM no longer working
Rosemary McGillicuddy wrote: On Tuesday 29 Mar 2005 09:39, Mikkel L. Ellertson wrote: Rosemary McGillicuddy wrote: On Tuesday 29 Mar 2005 08:29, Mikkel L. Ellertson wrote: Easy fix. As root, run "mkdir /mnt/cdrom". All will be good. I broke this when I had you change how /dev/hda6 got mounted. It may have broke a couple of other things. The reasion is that the mount points for other things must have been created after hda6 was mounted on /mnt. With /dev/hda6 no longer mounted there, then mount point is missing. Mikkel Fixed now. I can mount CDs and see photos, and play music. Yes - I have sound. Thanks Rosemary Life is good. I guess you are not using ALSO for your sound. This makes me wonder why it was trying to start. I guess it could be that the last time you ran harddrake it changed something in the sound config, so that ALSO was not handling the sound drivers any more, but left it still trying to run. Not a good thing. Is you are fealing brave, you could try plugging in your USB card reader, and seeing if it works now. It wouldn't susprise me if it did. Mikkel Not sure what to expect as have only used it in Windows where a dialogue window comes up with options (once it is plugged in with card in), and the green light on the card reader flashes when the photos are being uploaded. I went into gwenview to see if I could see anything - couldn't, but my process could be incorrect. Don't know if this helps or not [EMAIL PROTECTED] etc]$ cat sysconfig/hotplug # This file contains defaults for hotplug # # HOTPLUG_RC_$SUBSYSTEM controls whether subsystem is started by # hotplug rc script ("cold plugging") # # SUBSYSTEM currently is usb, input, ieee1394, scsi. HOTPLUG_RC_usb=yes [EMAIL PROTECTED] etc]$ I may just need to learn to mount it? Rosemary Well, if you are running KDE, you should get a new desktop icon when you plug it in. From the CLI, there should be ether /mnt/removable or /mnt/camera with the device already mounted on it. If not, you could try: mkdir /mnt/camera mount /dev/sda1 /mnt/camera If that does not work, then run "usbview" and see if it is being detected... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] CDROM no longer working
Rosemary McGillicuddy wrote: On Tuesday 29 Mar 2005 08:29, Mikkel L. Ellertson wrote: Easy fix. As root, run "mkdir /mnt/cdrom". All will be good. I broke this when I had you change how /dev/hda6 got mounted. It may have broke a couple of other things. The reasion is that the mount points for other things must have been created after hda6 was mounted on /mnt. With /dev/hda6 no longer mounted there, then mount point is missing. Mikkel Fixed now. I can mount CDs and see photos, and play music. Yes - I have sound. Thanks Rosemary Life is good. I guess you are not using ALSO for your sound. This makes me wonder why it was trying to start. I guess it could be that the last time you ran harddrake it changed something in the sound config, so that ALSO was not handling the sound drivers any more, but left it still trying to run. Not a good thing. Is you are fealing brave, you could try plugging in your USB card reader, and seeing if it works now. It wouldn't susprise me if it did. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Editing files as SU with Kword
Anne Wilson wrote: On Saturday 26 Mar 2005 17:53, Mikkel L. Ellertson wrote: The reason has to do with X server security. Normally, only the user that "owns" the current X secession can have programs "connect" to it. Starting an X based program requires that it connect to an X server. Now, the user that is logged to the GUI "owns" the current X secession. He/she/it has the "keys" needed to connect in their home directory. If you use "su" to change to another user, the "keys" are still there. But if you use "su -", or if you change the envirement, then you no longer have the "keys", and the X server will not let you connect. Running "xhost + localhost" or "xhost localhost" tells the X server that any program on localhost can connect without needing the "keys". This is ok for a home system, but is a security risk on a more open system. That sounds logical, Mikkel, except for two things. One - it doesn't always happen when you try to edit a file as root, and two - it sometimes happens when you are working as user! Anne > Anne, I don't know what to tell you. The only thing running "xhost + localhost" or "xhost localhost" does is allow any X based program on "localhost" to connect to the X server. The only reasion a user would need this would be in the XAUTHORITY shell varable was changed or missing. This should only happen if they start a new "login" shell. You can set the different term programs to start that way, but this is not the default. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] CDROM no longer working
Rosemary McGillicuddy wrote: Yesterday I noticed I could not access packages on CD1 while in konsole doing urpmi. This is a new problem. I put the CD in, heard the whirring, but as soon as I pressed 'enter' it stopped. Didn't get any message I think. In Konqueror - attempted to mount a CD to look at photos (which I've been able to do previously). The message I get is: "mount: mount point /mnt/cdrom does not exist. Please check that the disk is entered correctly. The file or folder /mnt/cdrom does not exist." This may relate to the other problems I am having. Rosemary Easy fix. As root, run "mkdir /mnt/cdrom". All will be good. I broke this when I had you change how /dev/hda6 got mounted. It may have broke a couple of other things. The reasion is that the mount points for other things must have been created after hda6 was mounted on /mnt. With /dev/hda6 no longer mounted there, then mount point is missing. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] questions about reinstall
Rosemary McGillicuddy wrote: On Tuesday 29 Mar 2005 06:01, Mikkel L. Ellertson wrote: Rosmary, If you are going to wait, but you don't realy feel like messing around with a lot of stuff in the mean time, we can get you a system that will boot, and that you can work with, withoug getting everything working. Basicly, you can run a couple of commands, and the system will be back to booting. I'm okay about messing around if you think I can follow the instructions sufficiently. I hate to deprive anyone of a challenge :-) chkconfig alsa off chkconfig mail off These two will turn off the two services that were stopping the boot, so you do not need to use the "I" option. (I believe you said mail was the name of the second one giving you problems...) Yes "sendmail" But I am still able to use email. Ok - then it would be: chkconfig sendmail off You can also do this from MCC in System --> Services. You may also want to run: mkdir /data echo /dev/hda6 /data ext3 defaults 1 2 >> /etc/fstab Please note that this is >> /etc/fstab and not > /etc/fstab. Or you could open /etc/fstab in the editor of your choise and add: /dev/hda6 /data ext3 defaults 1 2 at the end of the file. Mikkel I haven't done any of this yet. Do I do it if I'm going to do the "messing around"? The other thing that has happened is that I can no longer access packages on CDROM. It whirrs away and stops when I press enter (in Konsole doing urpmi). Rosemary Well, turning off alsa and sendmail will let you boot into Linux without having to use the "I" option. It will make life a bit easyer for you. Chancesa re, you do not need Sendmail running anyway. It is for more for people that have their own domain name, and want to run their own mail server. It both accepts incomming mail from the Internet, and will send mail from your system ether directly to the mail server of the person you are sending to, or relayed through another email server, depending on how you set it up. (Setting up Sendmail in not a job fo a newbie...) If you have the program you use for reading mail (kmail, Thunderbird, Mozilla Mail, etc) set up to use your ISP's mail server, then you do not need sendmail. The change to /etc/fstab will let you access the files you have there. I am not sure what you have stored there, but you may want it. Just editing fstab will not have any affect untill you reboot, unless you run "mount /data" as root. Now, the problem with your CD is another story. It would probably be better to make that a seperate message. I have to find what I did with your fstab listing to double check what should be going on, and then we can try and figure out what is realy going on. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] questions about reinstall
Rosemary McGillicuddy wrote: On Tuesday 29 Mar 2005 04:12, Mikkel L. Ellertson wrote: Rosemary McGillicuddy wrote: Hello I've been looking at the Twiki for issue relating to reintalling. I don't seem to find my way around there particularly well. My main question is: will the boot loader (Lilo) maintain windows access. Maybe I should also ask: recommended partitions? Suppose it needs a new thread. Thanks Rosemary Yes, it will maintain the Windows boot entry. The install should also create a mount point so that you can access your Windows data. Because you have a seperate /home partition, it will also retain your personal data if you want it to. Just do not re-format the home partition. You can also have it save your extra data partition. Mikkel Thanks. I'm vacillating now: partly because of your other post, but also because I see 10.2 will be available early next month (according to the dealer I buy my CDs from). I'm thinking perhaps I'll wait. Rosemary Rosmary, If you are going to wait, but you don't realy feel like messing around with a lot of stuff in the mean time, we can get you a system that will boot, and that you can work with, withoug getting everything working. Basicly, you can run a couple of commands, and the system will be back to booting. chkconfig alsa off chkconfig mail off These two will turn off the two services that were stopping the boot, so you do not need to use the "I" option. (I believe you said mail was the name of the second one giving you problems...) You may also want to run: mkdir /data echo /dev/hda6 /data ext3 defaults 1 2 >> /etc/fstab Please note that this is >> /etc/fstab and not > /etc/fstab. Or you could open /etc/fstab in the editor of your choise and add: /dev/hda6 /data ext3 defaults 1 2 at the end of the file. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] HD Failure
with some of the older tools. Windows would not notice the change, and would happily write to the entire old partition space, regardless of the new setup. I have never tested to see how Linux handles things where the FAT says one things, and the Partition table says something else... I have also heard that partitioning a system first with Linux, and then installing Windows can cause problems... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] re: newbie df
Rosemary McGillicuddy wrote: Okay - first up: during the install, I selected the partitions that Mandrake preselected - which is what I was advised to do, probably at linuxquestions or another forum, or possibly on the installation process itself. These were: hda5 (5.8Gb, /, ext) hda6 (368Mb, /mnt, ext3) hda9 (11Gb, /home, ext 3) If this was incorrect, then so be it - I was simply doing what I thought I had been advised to do. There was also swap there somewhere. I seriously wonder if all this questioning is worth it - your time, and my limited knowledge. I simply want a system that works. If I have made a mistake, okay, then fix it if can be fixed simply, or reinstall. It seems the fix is not simple, and I believe it is time to reinstall. I am sorry if this disappoints you ... and I am sorry if I have wasted your time. I acknowledge that I probably stuffed up when I attempted to install the mouse, however, there were always problems with stalling, even at the first install attempt. I see on other forums that Mandrake is reputed to have problems with USB devices. That may be disputed here - I don't know. I do know that I need to have a system that works, and if i don't fully understand why it didn't, then I can live with that. I hope you can see my point. I read recently - on the local LUG mailing list I think - "that some prefer to wrestle with linux, than actually use their system" I *don't* fall into that category. I really am deeply appreciative of your efforts to help, and of other listers - but am beginning to wonder if it is going anywhere. Regards Rosemary Rosemary, While I would love to take this through to the end, in this case, you are probably right about a re-install being the best fix. If I were sitting in front of your box, I could probably get everything sorted out in less time then it would take to install. But doing it over the list, it will probably take at least a few days. I would enjoy the chalange, but it is probably not in your best interest. If you had more Linux experence, and wanted to learn system repair, that would be different. Now, when you re-install, you will want to save your /home partition, (hda9) and probably your extra data partition (hda6). One thing I would do different - you will want hda6 to mount on /data or /mnt/data. You do NOT want it on /mnt. If you want, you can just tell the installer to leave it alone, and we can help you create a mount point for it later. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] re: newbie df
SnapafunFrank wrote: Rosemary McGillicuddy wrote: Warnings well heeded. I am almost too scared to do anything in Mandrake now - no just kidding. [EMAIL PROTECTED] rosemary]# fdisk /dev/hda The number of cylinders for this disk is set to 4865. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Please understand my notes to your table here. Is this what you were after? Strictly your call here. Device Boot Start End Blocks Id System [ Franks approx partition sizes ] /dev/hda1 * 1236418988798+ 7 HPFS/NTFS [19gig ] /dev/hda22423486519623397+ 5 Extended [20gig ] /dev/hda524233186 6136798+ 83 Linux[6gig] ~ [ This is your root partition ] /dev/hda648084854 377496 83 Linux [350MB ] /dev/hda748554865 88326 82 Linux swap [82MB ] /dev/hda831873326 1124518+ 82 Linux swap [1.1gig ] /dev/hda93327480711896101 83 Linux [12gig - wow, wish I could afford this much] ~ [ This is your /home partition ] Partition table entries are not in disk order I can breathe now I am out of fdisk! regards Rosemary OK Rosemary, I need to study this a little but for now see what I see. You have a 40gig hard drive: You have 7 ( note ~ seven ) partitions: You have only 1 primary partition ~ you ought to have 3 but not essential: more about this later. Not realy. You can have up to 4, but if you use an extended partition, it uses 1 primary partition "slot". You have only 1 ( one ) logic partition ~ you are allowed up to 16 last I heard: > Each partition in the extended partition is a logical partition. This system has 5 logical partitions in the extended partition. You therefore have 1 ( all you are allowed I believe ) extended partition ~ it is within this partition that you have your logic partitions: You have 2 swap partitions ~ no idea why you have two when one is enough especially when one of them appears huge. About the only reasion for the second swap partition would be if using Software Suspend. You need a swap partition a bit larger then your physical memory to hold the currend system state when you suspend to disk. But I don't think too many people are using it yet. But 1.1G does look a bit large. On the other hand, the 82MB swap partition is realy too small to be usefull... Generally the rules here are: No more than 4 primary partitions with only one of them being made an extended partition in which you can have up to 16 logic partitions. You can have as many swap partitions as you like though usually one is enough. Partition numbering is: primary 1 ~ 4 ( includes the extended partition ) With LBA partitions numbering 5 ~ say 16 > Logical partitions, not LBA. LBA is a way of accessing a hard drive, not a partition type. (Logical Block Allocation if I remember right...) The only partitions you have correct here are: /dev/hda1 * [ Your WinXP partition and the * means it is bootable ] /dev/hda1 [ One of your swap partitions and I say this is correct because it appears to be of the correct size ~ Usually no more than 1.5 times your RAM size if it is under 512MB ] > I think you mean dha8 here, and not hda1. Now lets take your df printf: [ printf is syntax for echo or in other words ~ what you see returned to the screen when you issue a command seeking info. ] FilesystemSize Used Avail Use% Mounted on /dev/hda5 5.8G 1.7G 3.9G 30% /[ My rough math for the above table isn't to far off here afterall.] /dev/hda9 12G 170M 12G 2% /home [ You must work out what you really will be using here because this is far to big at present ~ only 170MB of 12000MB used so far.] SO. Your WinXP partition does not get mounted when you boot up ~ you may prefer this but fstab has it entered. Your hda6 partition doesn't get mounted so we need to discover which directory this relates to. [ See below ] This partition was being mounted on /mnt before we disabled it. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] questions about reinstall
Rosemary McGillicuddy wrote: Hello I've been looking at the Twiki for issue relating to reintalling. I don't seem to find my way around there particularly well. My main question is: will the boot loader (Lilo) maintain windows access. Maybe I should also ask: recommended partitions? Suppose it needs a new thread. Thanks Rosemary Yes, it will maintain the Windows boot entry. The install should also create a mount point so that you can access your Windows data. Because you have a seperate /home partition, it will also retain your personal data if you want it to. Just do not re-format the home partition. You can also have it save your extra data partition. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Location of a driver for a softmodem?
Teilhard Knight wrote: Mikkel L. Ellertson wrote: Teilhard Knight wrote: The Alsa distribution contain a module which is the driver for my laptop (soft)modem. It was in the form "snd-atiixp-modem.ko.gz" in the directory /lib/modules/2.6.8.1-12mdksmp/kernel/sound/pci. Now, I decompressed it and put it in /lib/modules/2.6.8.1-12mdksmp/modem and ran "modprobe snd-atiixp-modem.ko", and I get "module snd-atiixp-modem.ko not found". Then I tried to put it several places, but I always get the same result. Do you know where I should put snd-atiixp-modem.ko in order to be able to load it? I need my modem because I will not always be at home and not always will have a wireless connection. Teilhard. First - you did not need to decompress it. The kernel decompresses the modules as needed. Second - you need to run "depmod -a" so that the new module is added to the module map modprobe uses. Third - use "snd-atiixp-modem" and not "snd-atiixp-modem.ko" with modprobe. Modprobe wants the module name, and not the module file name. So you never use the ".ko.gz" when giving modprobe the module to load. Thanks for taking the time. Some day I will learn enough not to make silly questions. Teilhard. It was not a silly question. It was just a question with a simple answer. Now if only the logic behind the answer were as simple... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] cd into file
Ronald J. Hall wrote: On Sunday 27 March 2005 03:57 pm, Kaj Haulrich wrote: Did you create that "Linux Stuff" directory in Konqueror ? If so, the command shell probably won't see it. The shell doesn't like spaces in file names. You could try to rename that directory to i.e. "Linux_Stuff" or some such. HTH Kaj Haulrich. Guess I've been lucky but I've never had trouble with filenames with spaces under Linux. UNIX in general, including Linux, does not normaly like spaces in file names. If you stick to GUI tools, you may not run into any problems. But when you are typing in the names yourself, especialy with the CLI tools, you have to ether escape the space, or quote the name. This is because a space is normaly the seperator between file names, or parts of a command. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] can't find /udev/hdc in /etc/fstab or /etc/mtab
SnapafunFrank wrote: My /dev/hdc is a symlink to /udev/hdc and /udev lists /hdc so that is loaded. Yet when I go : # mount /dev/hdc or # mount /udev/hdc I get the above message My fstab entry for this is: none /mnt/dvd-rw supermount dev=/dev/hdc,fs=auto,exec,--,umask=0,user,iocharset=iso8859-1,sync,noatime,codepage=850,noauto 0 0 and I have tried: none /mnt/dvd-rw supermount dev=/udev/hdc,fs=auto,exec,--,umask=0,user,iocharset=iso8859-1,sync,noatime,codepage=850,noauto 0 0 so something is not working correctly: I also have before this call: none /sys sysfs defaults 0 0 Any ideas anyone ? PS. Once I get the above resolved could someone tell what the " - - " in the mount options mean and also what the " none " at the beginning actual does and of course how is it over~ridden. All the reading I have done hasn't explained these two points to me as yet. Your DVD is being handled by supermount. What this is susposed to do is when a disk is inserted in the drive, it gets mounted automaticly. The reasion you could not mount it using the device name is because you do not have a fstab entry that starts with /dev/hdc, and /dev/hdc is not a mount point used in an ftab entry. If you had tried "mount /mnt/dvd-rw" it probably would have worked. One thig I am a bit puzzeled about it the /udev directory. What version of Mandrake are you using? Did you add udev yourself, or was it part of the install? Was this a fresh install, or an upgrage? Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] df table file
SnapafunFrank wrote: RickSisler wrote: SnapafunFrank ([EMAIL PROTECTED]) wrote: When within my system I issue the following: [EMAIL PROTECTED] /]# df FilesystemSize Used Avail Use% Mounted on /dev/hda5 966M 714M 203M 78% / /dev/hda1 966M 14M 903M 2% /boot /dev/hda6 9.4G 5.1G 4.0G 57% /usr /dev/hda8 9.4G 8.8G 693M 93% /home /dev/hda91020M 312M 656M 33% /var /dev/hda3 12G 2.0G 8.8G 19% /mnt/empty /dev/hda4 3.4G 2.7G 712M 80% /mnt/win_h /dev/hdb2 16M 2.3M 13M 16% /mnt/hdb2_boot /dev/hdb5 92M 55M 33M 63% /mnt/hdb5_root /dev/hdb6 92M 62M 25M 72% /mnt/hdb6_var /dev/hdb7 3.1G 1.9G 1.1G 64% /mnt/hdb7_usr /dev/hdb9 1.5G 1.4G 151M 91% /mnt/hdb9_home /dev/hdb1 14G 13G 1.2G 92% /mnt/win_c2 I get a summary of all my partitions AND their names. However, I'm unable to do this when I'm NOT within the system: So, is there a file on the system that could simply give me this info by simply reading it ? Hi, the *df* command reports free disk space from all mounted file systems. So take a look at /etc/mtab and /etc/fstab which will give you the names and mount points your looking for. For more info.. man mount, fstab and df Hopefully helpfull .. Thanks for that RickS but as I stated above, the fstab on the system I'm trying to recover is somewhat unreliable. ( It starts that its mount point for one partition is /mnt for example. ) At present I'm even unaware of how many partitions that system has. There are long ways of finding out but you have given me another place to look before I go there with tomsrtbt. Again, your input is greatly appreciated. The names are generated by whare they are mounted. This is controlled by /etc/mtab in the root partition, and is also reflected in /proc/mounts. The names will be different if you boot from a CD, and mount them, or if you move the drive to a different system. On a working system, the space information is calculated by the kernel. You can get where things would normaly be mounted by looking in /etc/fstab on the root partition. If you had booted from a CD, and /dev/hda5 were mounted on /mnt, then the file would be /mnt/etc/fstab. (The rescue mode of the install cd has the option of mounting all the partition on /mnt, so that what would normaly be mounted on /mnt/empty would end up mounted on /mnt/mnt/empty, and so forth. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Booting in "I" mode - attn Mikkel/Frank - originally USB card reader thread
Rosemary McGillicuddy wrote: Hi Mikkel Finally remembered your email and went back and tried the above. I am in Mandrake after not starting ALSA. It also hung at "starting sendmail" so delected that too. Yes I had a problem booting a while back when following some instructions to attempt to get a USB mouse going. I had the same problems with the boot stalling at ALSA. I booted with mouse pugged in and CD1 in and selected "upgrade" Can't remember all details now, but when got a desktop it was strange - too bigger icons etc and if the mouse was moved, the area under the cursor seemed to be obliterated. I rebooted and got the same, noticed the new entry so booted to that out of curiosity. The new entry had not been there before. I put the PS2 adapter on the mouse and changed the selection and it worked. I have been booting to that new numbered entry ever since - on the rare ocassions I do boot. When I attempted the first install of Mandrake there was an issue also - where it said "proceeding, please wait", but nothing happened. Came to the list for advice had to unplug USB devices to get it to install. Wonder if this will be sent seeing as deselected 'sendmail"! Rosemary Rosemary, This give me some things to think about. It will probably be sometime Monday before I get back to you. Have a happy Easter. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Location of a driver for a softmodem?
Teilhard Knight wrote: The Alsa distribution contain a module which is the driver for my laptop (soft)modem. It was in the form "snd-atiixp-modem.ko.gz" in the directory /lib/modules/2.6.8.1-12mdksmp/kernel/sound/pci. Now, I decompressed it and put it in /lib/modules/2.6.8.1-12mdksmp/modem and ran "modprobe snd-atiixp-modem.ko", and I get "module snd-atiixp-modem.ko not found". Then I tried to put it several places, but I always get the same result. Do you know where I should put snd-atiixp-modem.ko in order to be able to load it? I need my modem because I will not always be at home and not always will have a wireless connection. Teilhard. First - you did not need to decompress it. Teh kernel decompresses the modules as needed. Second - you need to run "depmod -a" so that the new module is added to the module map modprobe uses. Third - use "snd-atiixp-modem" and not "snd-atiixp-modem.ko" with modprobe. Modprobe wants the module name, and not the module file name. So you never use the ".ko.gz" when giving modprobe the module to load. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB card reader problem
SnapafunFrank wrote: Hi Mikkel: Rosemary has sent me directly some info which I think you ought to be privy to. Her lilo.conf gives the "devfs=nomount" append only on the one she appears able to boot with. ( albeit that it stalls at ALSA later ) Her append lines also include " resume=/mnt/hda8" which is a new one for me, so I'm off to learn something about that one. > This is used for software suspend. It is the swap partition where the information needed to restore the system from suspend is stored. It probably isn't being used. Hope this helps us help Rosemary, I'm learning heaps off things I did'nt need to know before, so am staying very interested in helping Rosemary out. Definitly more to think about. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Editing files as SU with Kword
Anne Wilson wrote: On Saturday 26 Mar 2005 15:51, Simon wrote: I cannot open files in order to edit them when I am in Konqueror as SU. I get an error message :KDEInit could not launch 'kwrite' I do have Kwrite installed. Any ideas please. Thanks, Simon. Yes - I've no idea why it happens, but the cure is simple. In a root console, type xhost + localhost and all will be well again. Anne > The reason has to do with X server security. Normally, only the user that "owns" the current X secession can have programs "connect" to it. Starting an X based program requires that it connect to an X server. Now, the user that is logged to the GUI "owns" the current X secession. He/she/it has the "keys" needed to connect in their home directory. If you use "su" to change to another user, the "keys" are still there. But if you use "su -", or if you change the envirement, then you no longer have the "keys", and the X server will not let you connect. Running "xhost + localhost" or "xhost localhost" tells the X server that any program on localhost can connect without needing the "keys". This is ok for a home system, but is a security risk on a more open system. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Assistance from newbies needed
Rosemary McGillicuddy wrote: rikona wrote: Hello newbies, I'd appreciate comments regarding the utility of the following: http://mandrake.vmlinuz.ca/bin/view/Main/EmerGencies Is it helpful? Is it understandable? What else would be most helpful to a newcomer? [given the VERY limited space available] What do you think? Once I heard about it I found it helpful. Although even once I knew about it, I did find actually finding what I need difficult. For example Mikkel mentioned using rescue and console, and i could not find it. Came across it from your link. That may mean I am dense at navigating this site :-) The other thing I think would be good - if "would be" Mandrake users would find this when googling. I used places like linuxquestions etc, but a dedicated link might be helpful? I've found this list to be helpful beyond expectation - thank you all Rosemary I guess we will have to restructure the "Restoring the Boot Loader" section into a more general "Using the Rescue Mode of the Install CD". It is not may favorite tool, but it is one that users will have. It has been a wile sence I have read the "Welcome to Newbie list" message, but isn't there a link to the TWiki site in the message? Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB card reader problem
Rosemary McGillicuddy wrote: Okay - I tried this. At the "cd" it said "home not set" so I added "/" after looking down at the vi instructions - hope that was right, now thinking it should have been "~"! Anyway - rebooted and it stalled at ALSA again. In windows explore2fs, now see only hda2, hda3 and hda6. In hda2 fstab.save shows this: /dev/hda5 / ext3 defaults 1 1 /dev/hda9 /home ext3 defaults 1 2 /dev/hda6 /mnt ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 /dev/hda8 swap swap defaults 0 0 Rosemary Hi Rosemary, Yes, it should have been "cd /" and not "cd". The reasion for that is so that your current directory is not inside the partition you are trying to unmount. Otherwise you would get a message about the partition being in use. While you could do a shutdown without unmounting the partition, and probably not have any problems, I like to play it safe when working remotely. End result - we have a tempary fix for one source of trouble. But we still have the origional problem. The next step is to see if we can isolate it a bit. We have a couple of ways to go here. MOre then I had thought we would, because of the boot menu choice you use to boot the system. You have said that you are not using the "linux" entry to boot the system. Was there a problem where the system would not boot when you used that option? Things to try: Boot with the "linux-nonfb" option, and see if that makes a difference. Try the I (interactive) option when booting, and do not start ALSA. Does the system boot then? This should give you a system without sound. The hit I for interactive boot is displayed as part of the boot messages. If you normaly have the bootsplash screen with the progress bar showing when booting, you will have to hit the Esc key to see the messages. There is a fairly long period between when the message is displayed, and when you actualy enter the interactive mode. It does several things after displaying the message, before it reaches the decision point. (Display message, do other things while giving the user time to react, then check for user responce. No user timeout delay.) If the system boots fine without ALSA starting, then we can work on getting ALSA fixed. If it doesn't, then we know the problem is elseware. From the way the problem apeared, I suspect that there may be an interupt sharing problem between the sound card and the USB interface, but this is just a guess at this point. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] package manager for 10.1
Bill Winegarden wrote: Hi, Can anyone recommend a package manager for 10.1 that allows me to look inside the rpm file to view folders and files. I liked kpackage in the older versions but I can't find it's equivalent. tia, Bill W. I use Mignight Commander (mc) for this. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
Derek Jennings wrote: On Friday 25 March 2005 13:34, DAN WALKER wrote: My vnc server now sort of works! I set the password, edited hosts.allow and my pc side now asks me for a password and presents me with a red screen. The problem I have is that it looks as though it has nothing to do when it opens the window. It sits there with the X style (not kde or gnome) watch icon. This is what is in '/root/.vnc/xstartup': (between the ***'s) *** #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc *** You are allowing remote users to log in as root. As you know logging in as root is discouraged. It is a security risk. Assuming you used the Mandrake tightvnc-server package then you have a set up file for your vnc server in /etc/sysconfig/vncservers This file defines the servers to be started when you boot. The line VNCSERVERS="1:myusername" will start a vnc server on screen one with the user name 'myusername' chkconfig vncserver on && service vncserver start will start the vnc service automatically at boot. In your example you are starting the vnc server with 'exec /etc/X11/xinit/xinitrc' if you look in that file you will see it is going to start X without a Window Manager. In my 10.1 setup, the last line of this file is: exec /etc/X11/Xsession $* This is the script that normaly starts X. If a desktop is not specified when calling the script, it will use the one in the user's home directory .desktop, if there is one, or the one specified in /etc/sysconfig/desktop. To start in KDE for example in your /home/myusername/.vnc/xstartup file put startkde & To start fluxbox put fluxbox & to start IceWm put icewm & HTH derek With the problem he is having, I suspect that there may not be any window manager installed. For that matter, xterm and rxvt may not be installed. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] i586 v's i686
Pete Moscatt wrote: What's the difference between i585 and i686 which I see in some of the filename of some RPM's ? Pete Well, assuming that i585 is a typo, and shoud be i586, the it is the processor the RPM is optimised for. A i586 will run on a Pemtium (or equivelent) and newer processor, but an i686 requires a Pentium II or newer. There are also i486, k6 and athlon RPMs, but you don't see them as often. i386 are the most common type, and will run on anyting from a 386 to a P4. There are two places where using software optimised for a specific processor pay off the most. The kernel, and the glibc libraries. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] MySQL File Location
SOTL wrote: Well I change the datadir in mysql-max and I have generated numerous versions of my.cnf directing MySQL to my desired directory each change causing MySQL refused to run. So I keep playing around with mysql-max and found that there is a second place where the config file does a test of the datadir so I changed that. At that point MySQL would open and did switch data directories. Continued to play with MySQL, making and deleting DB et. i.e. all the things a newbie does with a book and a new program. Then, I shut the box down for the night and went home. It is after all only a test box at this time but it is damn noise so to keep the piece down it goes. Anyway, firing it up the next afternoon I was amassed to discover that MySQL would not open with the same old error message that it could not find the data directory. I the reset the data directory to the original settings and MySQL again started working. So, there are at least 3 places that you MUST change the data directory at in configuration files in order to change the data directory. Best best is to do it by symbolic link as no newbie is going to figure out how to do it in configuration files. My only comment: "How quaint, how 1950s" that there exist programs in which one can not select the data directory. Frank PS. Thanks for the help. It is definitely appreciated. > Frank, One thing to keep in mind, when changing things in the file in /etc/rc.d/init.d - You have to stop and restart MySQL before they take effect. The values in the script are only read at startup. You should probably learn about the service command. If you are using mysql, then you would run "service mysql start" to start it, "service mysql stop" to stop it, and "service mysql restart" to test your changes. If you use mysql-max, then use that in mlace of mysql in the service command. You may also be having a problem because on not understanding how the script works. Not every instruction in the script get run. It does tests, and if a value is set, then it skips part of the code. This is why you see references to /etc/my.cnf in the script, even though creating or changing this file has no affect on MySQL. This is because that part of the script does not get accessed on a Mandrake box. So you will want to be carefull aboout changing things in the script. The values that you would want to change are always at the beginning of the line, and normaly have a comment block before them. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] MySQL File Location
SOTL wrote: Hi All & Derek and Mikkel Thanks for the information. Derek sorry I did not mean to be insulting. I simply do not understand and am very happy for your help which I thank you very much for. I have checked I do not have a file called S90MySQL in any location. I especially checked that it does NOT exist at /etc/rc5.d/S90mysql. Nor do I have a file /etc/rc.d/init.d/mysql. What I do have is a file /etc/rc.d/init.d/mysql-max. I had taken a look at this file earlier but dismissed it assuming that it is not the correct file. MySQL-Max was placed on both boxes at one point in time and the removed. On reinstallation of MySQL standard MySQL was installed not MySQL-Max. This may be the source of the configuration file issue. Currently both boxes have MySQL installed. I have printed the MySQL-Max file and it is a 4 & 1/2 pages #10 font program which I can read some of - not much since I am not a programmer. One interesting thing I did notice is that it refers to checking a configuration file called my.cnf which I do not have. As I know that I do not have the technical expertize to create a my.cnf file I would appreciate someone sending me a copy of a simple one that functions. Thanks Frank The mysql or mysql-max files are the scripts used to start mysql. There are a few config options in the file. The important one for your is the line: datadir=/var/lib/mysql If you want your mysql data someplace other then /var/lib/mysql, then you will need to chege this line. You will want to create a my.cnf file in this directory. It can be an empty file. The script fills in the missing entries with usable defaults. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB card reader problem
SnapafunFrank wrote: Mikkel L. Ellertson wrote: Rosemary McGillicuddy wrote: Frank suggested I install explore2fs and post the fstab file. Here it is /dev/hda5 / ext3 defaults 1 1 /dev/hda9 /home ext3 defaults 1 2 /dev/hda6 /mnt ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 /dev/hda8 swap swap defaults 0 0 Regards Rosemary This is strange. You are mounting hda6 on /mnt, and then the CD-ROM is mounting on /mnt/cdrom. It is not normal proactice to mount anyting on /mnt, as you normaly have mount points for removable devices in this directory. In your case, your CD-ROM is mounted there, as well as your Windows partition. I would have to look into things a lot deeper, to see exactly what order things would get mounted, but I can picture all kinds of strange things going on here. If the Windows partition gets mounted before hda6, then you are probably going to lose access to it. I am not sure what is going to happen with the CD-ROM, but I would not be susprised if it failed to mount if there is not a cdrom directory in the base directory on hda6. What you may want to try is to boot the install CD in the rescue mode, drop to the console, and run: mount /dev/hda5 /mnt cd /mnt/etc mv fstab fstab.save grep -v hda6 fstab.save >> fstab cd umount /mnt reboot What you are doing is to mount your root partition, and change to what is normaly the /etc direcroty. You are then renaming fstab to fstab.save. The grep command is cheating a new fstab without the hda6 line in it. If you are more comfortable using vi instead of messing around with grep, and renaming files, use this instead. mount /dev/hda5 /mnt cd /mnt/etc cp fstab fstab.save vi fstab move down to line starting /dev/hda6 Enter "i#" Enter ":wq" cd / umount /mnt eboot For the vi commands, do not enter the ", and the is the Esc key. Use the down arrow key to move down the hage. What you are doing is putting the "#" at the start of the line to comment it out. You do not realy need to make a backup copy of fstab, but I like to play it safe. Now, I don't know if this will fix the problem you are having, and we will have to discover what is going on with hda6, and where it should be mounted. But it is one problem that I do see, so fixing it should not hurt. (If it is susposed to be mounted of /usr, then we have to get it mounted correctly before the will boot correctly!) Mikkel OK Mikkel, I did not see it that way and submit that you know more about this than I but I'm not clear about this and wonder if Rosemary will be able to follow the logic you mention. First, I agree that hda6 as the /mnt directory is out of place, and wonder why the /mnt directory even has it's own partition. The directories inside my /mnt directory are afterall only to allow linking to partitions and/or devices. Hence my windows partition would be something like " /dev/hdb1 /mnt/win " with " win " being the partition and not " mnt ". I now see even more issues and can understand your concern so would ask how we could get the result printf from her windows side that would give us the same result we can get when we issue: # df when within our running system. eg: mine looks like this ~ [EMAIL PROTECTED] mnt]# df FilesystemSize Used Avail Use% Mounted on /dev/hda5 966M 711M 206M 78% / /dev/hda1 966M 14M 903M 2% /boot /dev/hda6 9.4G 5.1G 4.0G 57% /usr /dev/hda8 9.4G 8.7G 730M 93% /home /dev/hda91020M 303M 666M 32% /var /dev/hda3 12G 1.3G 9.5G 13% /mnt/empty /dev/hda4 3.4G 2.7G 713M 80% /mnt/win_h /dev/hdb2 16M 2.3M 13M 16% /mnt/hdb2_boot /dev/hdb5 92M 55M 33M 63% /mnt/hdb5_root /dev/hdb6 92M 62M 25M 72% /mnt/hdb6_var /dev/hdb7 3.1G 1.9G 1.1G 64% /mnt/hdb7_usr /dev/hdb9 1.5G 1.4G 151M 91% /mnt/hdb9_home /dev/hdb1 14G 13G 1.2G 92% /mnt/win_c2 From this printf we would be able to determine the correct layout for /etc/fstab for her hard drive, and I agree, before she gets to cdrom, floppies, etc. [ An alternative is to get her up with the rescue option as you described above and take her step by step through the commands she needs to get us the relevant info. ~ your thoughts ? ] But I reiterate ~ /mnt should not be a partition on it's own ? Your thoughts here also please. Thinking back on some other posts of hers, I think it should be /data instead of /mnt. I am not sure how to explain about what would be going on here - it is not a ne
Re: [newbie] SCSI card install for Trust Scanner.
Malcolm Candlish wrote: On Tuesday 22 Mar 2005 17:14, Mikkel L. Ellertson wrote: Malcolm Candlish wrote: Hi, The system I use is Mandrake 10.1 86_64 . I used insmod to install module dmx3191d.ko for my scsi card which is necessary for my Trust Scanner. However I get the following return:- '-1 Unknown symbol in module.' Should I make a kernel bug report to to Linux, or is something else not appropriate. With thanks, Malcolm Candlih. Before thinking of making a bug report, try using "modprobe" inplace of "insmod". The difference is that modprobe will load any modules that your modules needs in order to work, while insmod just tries to load the module you specified. The way things are structured, it is not unusual for 2 or 3 modules to need to be loaded for a driver to work. In this case, you probably need a common SCSI modules as well as the basic driver module. The reasion the common module code is in a seperate module is that it is used by many different modules, and will be shared by them if you have more then one loaded. modprobe dmx3191d Mikkel Dear Mikkel, I tried a you suggested with the following reult:- [EMAIL PROTECTED] malcolm]# /sbin/modprobe '/lib/modules/2.6.8.1-12.5mdk/kernel/drivers/scsi/dmx3191d.ko' FATAL: Module /lib/modules/2.6.8.1-12.5mdk/kernel/drivers/scsi/dmx3191d.ko not found. [EMAIL PROTECTED] malcolm]# /sbin/insmod '/lib/modules/2.6.8.1-12.5mdk/kernel/drivers/scsi/dmx3191d.ko' insmod: error inserting '/lib/modules/2.6.8.1-12.5mdk/kernel/drivers/scsi/dmx3191d.ko': -1 Unknown symbol in module Under insmod '-1 Unknown symbol in module', and under modprobe 'not found' even though I included the full path! I don't know of any other modules that could be needed. Thank you, I do appreciate your kind input. Malcolm Candlish. Try "modprobe dmx3191d" instead. That is the form needed for modprobe. It will use the modules for the currently running kernel. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] OT: How to mount a Windows partition ~ OOps ~ error ~ tar clf - . | ( umask 0; cd /mnt2; tar xvf - )
SnapafunFrank wrote: riccardo wrote: On Tuesday 22 March 2005 06:22 pm, David Anderson wrote: I want to be able to mount hda1 and sda1 and copy files from one to the other ~ if, I get the drift . . . you have booted from CD and neither hda1 nor sda1 are mounted? So ~ make an extra mount point/directory called, say : /mnt2 [ say your file systems are Reiser type ] __ mount -t reiser /dev/hda1 /mnt next: mount -t reiser /dev/sda1 /mnt2 then, cd to /mnt finally, as root, give the command : tar clf - . | ( umask 0; cd /mnt2; tar xvf - ) .. best rgds _ Sorry to butt in here, and I am only a newbie so treat my thoughts with caution, but would not hda actually refer to the cd itself in this case? Can't remember, but I did have some like type issue when I last did a hard drive back up this way. Remember having to use some other commands to actually see the hard drive in the finish. Still, Mephis may be more friendly this way, so to check it out do attempt to look inside the partition to see whether or not you recognize any of your window files. Now off to study riccardo's commands to see what I can learn from them. hda - Master device on first IDE interface (ide0) hdb - Slave device on first IDE interface (ide1) hdc - Master device on second IDE interface (ide2) hdd - Slave device on second IDE interface (ide3) hde - Master device on third IDE interface hdf - Slave device on third IDE interface ... Depending on your BIOS, it may only have numbers for the devices on the first two IDE interfaces. The sirst IDE interface is sometimes called the primary and the second one the secondary IDE interface. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] mp3s to wav/cd burning
Chris wrote: On Tuesday 22 March 2005 08:19 pm, Mikkel L. Ellertson wrote: I got into this thread a little late, kind of behind on reading, anyway, I use the below script in 9.0, called mp32wav. #!/bin/bash # mp32wav mp3file="$*" mkdir wav for file in "$@" ; do #echo "$file" wavfile=`echo "$file" | sed s/\\.mp3/.wav/` printf "%-50s %-50s\n" "$file" "--> $wavfile" # to encode wav-->mp3 #lame -h "$file" "$mp3file" # to encode mp3-->wav mpg123 -b 1 -s "$file" | sox -t raw -r 44100 -s -w -c2 - "wav/$wavfile" done Interesting script. But what happens if is did something like: mp32wav /home/mikkel/mp3/test.mp3 You may want to consider using basename to strip off the .mp3, as well as the path to to source file, when creating the output file name. (I don't even want to get into creating an output directory off the current directory without any checking...) Mikkel If I remember correctly I put the script someplace like /usr/share or /usr/local and would just run it from the ~/mp3s dir. I'd put all the mp3's I wanted to convert into that dir and run the script after cd'ing to that dir. Or am I missing something in your question. Note: I did not write this script, it was posted to the list a couple of years ago, I can't even begin to recall who the author was, maybe he/she are still on the list. Chris You probably put it in /usr/local/bin. Looking at the script, if you try to use it to convert one mp3 file, and you give it the full path name to the file, it breakes the script. In the example I gave, it would try and write the output to wav/home/mikkel/mp3/test.wav and sox would choke on that as an output file name. If you use a path name as part of the file name, the script breaks. The difference between the way the script strips off the .mp3 to create the output file, and the way the basename command does it shows up there. Try this: echo /home/test/test.mp3 | sed s/\\.mp3/.wav/ basename /home/test/test.mp3 .mp3 In the script, you would use wavfile='basename "$file" .mp3' in place of wavfile=`echo "$file" | sed s/\\.mp3/.wav/` I would also make a few other changes, but at least that change would handle doing something like: cd $HOME/tmp mp32wav $HOME/mp3/*.mp3 That way, you would not be limitted to running it in the directory with the mp3 files in it. More error checking would be nicer. For the way you use it, something like this may work better. #!/bin/bash # # mp32wav - a script to convert all the mp3 file # in the current directory to wav files, and put # the output file in the wav directory created # in the current directory # if [ ! -d wav ] then if ! mkdir wav ; then echo I could not create the output directory. exit 1 fi fi for in_file in *.mp3 ; do out_file=$(basename "$i" .mp3).wav echo Converting $in_file to $out_file mpg123 -b 1 -s "$in_file" | \ sox -t raw -r 44100 -s -w -c2 - "wav/$out_file" done I used the \ to continue the convert command on the next line so it wouldn't wrap in the email, but it can all be on one line in the script. The first 6 lines after the comments just take care of creating the wav directory if there isn't one, and aborting the script if it can not create it. There is still room for improvment - the output directory could be defined as a varable in the script, so that you could change it without rewriting the script. You could also test each input file to make sure it is realy a mp3 file. Things of that nature. The echo line that tells what file is being being converted is optional. I like seeing what is going on with this type of script. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] mp3s to wav/cd burning
Chris wrote: On Friday 18 March 2005 10:13 pm, Smiley wrote: On Fri, 18 Mar 2005 22:00:09 -0600 "Mikkel L. Ellertson" <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: What do people use for making music cds from mp3s? k3b I did with gnome-toaster five years ago :) There's also gdrdao (GUI for cdrdao) wich entirely devoted to this purpose -- Smiley I got into this thread a little late, kind of behind on reading, anyway, I use the below script in 9.0, called mp32wav. #!/bin/bash # mp32wav mp3file="$*" mkdir wav for file in "$@" ; do #echo "$file" wavfile=`echo "$file" | sed s/\\.mp3/.wav/` printf "%-50s %-50s\n" "$file" "--> $wavfile" # to encode wav-->mp3 #lame -h "$file" "$mp3file" # to encode mp3-->wav mpg123 -b 1 -s "$file" | sox -t raw -r 44100 -s -w -c2 - "wav/$wavfile" done Then, in the .wav directory run "normalize -m *.wav" (normalize must be installed) and finally I used to run an alias file in 9.0 (Thanks Tom Brinkman) but it may not work in 10.1 as I imagine things have changed a bit alias bacd='cdrecord -v -eject speed=4 dev=0,2,0 -pad -audio *.wav' Haven't tried the above in 10.1 yet though. HTH Chris Interesting script. But what happens if is did something like: mp32wav /home/mikkel/mp3/test.mp3 You may want to consider using basename to strip off the .mp3, as well as the path to to source file, when creating the output file name. (I don't even want to get into creating an output directory off the current directory without any checking...) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Invalid signatures on upgrade files
Aron Smith wrote: is there any way to do it via urpmi? That would avoid most of the errors. If you add the --no-clean option to the command line, it will leave the RPMs in /var/cache/urpmi/rpms, and you can then use these on the other machines. You may want to add this option to /etc/urpmi/urpmi.cfg if you are always keeping 3 machines up to date. I am sure you could set up the one machine to allow read-only access to the RPM cache, and have the other machines use this, instead of the Internet, but I have not done it. Maybe someone who has will post instructions. If you need the space, then after all the machines are up to date, run "urpmi --clean" to clean up the cache. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB card reader problem
Rosemary McGillicuddy wrote: Frank suggested I install explore2fs and post the fstab file. Here it is /dev/hda5 / ext3 defaults 1 1 /dev/hda9 /home ext3 defaults 1 2 /dev/hda6 /mnt ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0 /dev/hda8 swap swap defaults 0 0 Regards Rosemary This is strange. You are mounting hda6 on /mnt, and then the CD-ROM is mounting on /mnt/cdrom. It is not normal proactice to mount anyting on /mnt, as you normaly have mount points for removable devices in this directory. In your case, your CD-ROM is mounted there, as well as your Windows partition. I would have to look into things a lot deeper, to see exactly what order things would get mounted, but I can picture all kinds of strange things going on here. If the Windows partition gets mounted before hda6, then you are probably going to lose access to it. I am not sure what is going to happen with the CD-ROM, but I would not be susprised if it failed to mount if there is not a cdrom directory in the base directory on hda6. What you may want to try is to boot the install CD in the rescue mode, drop to the console, and run: mount /dev/hda5 /mnt cd /mnt/etc mv fstab fstab.save grep -v hda6 fstab.save >> fstab cd umount /mnt reboot What you are doing is to mount your root partition, and change to what is normaly the /etc direcroty. You are then renaming fstab to fstab.save. The grep command is cheating a new fstab without the hda6 line in it. If you are more comfortable using vi instead of messing around with grep, and renaming files, use this instead. mount /dev/hda5 /mnt cd /mnt/etc cp fstab fstab.save vi fstab move down to line starting /dev/hda6 Enter "i#" Enter ":wq" cd / umount /mnt eboot For the vi commands, do not enter the ", and the is the Esc key. Use the down arrow key to move down the hage. What you are doing is putting the "#" at the start of the line to comment it out. You do not realy need to make a backup copy of fstab, but I like to play it safe. Now, I don't know if this will fix the problem you are having, and we will have to discover what is going on with hda6, and where it should be mounted. But it is one problem that I do see, so fixing it should not hurt. (If it is susposed to be mounted of /usr, then we have to get it mounted correctly before the will boot correctly!) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] SCSI card install for Trust Scanner.
Malcolm Candlish wrote: Hi, The system I use is Mandrake 10.1 86_64 . I used insmod to install module dmx3191d.ko for my scsi card which is necessary for my Trust Scanner. However I get the following return:- '-1 Unknown symbol in module.' Should I make a kernel bug report to to Linux, or is something else not appropriate. With thanks, Malcolm Candlih. Before thinking of making a bug report, try using "modprobe" inplace of "insmod". The difference is that modprobe will load any modules that your modules needs in order to work, while insmod just tries to load the module you specified. The way things are structured, it is not unusual for 2 or 3 modules to need to be loaded for a driver to work. In this case, you probably need a common SCSI modules as well as the basic driver module. The reasion the common module code is in a seperate module is that it is used by many different modules, and will be shared by them if you have more then one loaded. modprobe dmx3191d Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Invalid signatures on upgrade files
[EMAIL PROTECTED] wrote: Hi All I was upgrading my copy of Mandrake 10.1 via a download I made of the update directory on ftp.u-strasbg.fr and I get the following error: glibc-devel-2.3.3-23.1.101mdk.I586.rpm: invalid signature (sha1 md5 )(GPG)(MISSING KEY) GPG# 22458a98 NOT OK I am getting a lot of these. I have a bunch of computers to update so I downloaded the entire directory of pub/linux/distributions/mandrakelinux/devel/community/I586/media/main including the files hdlist.cz and synthesis.hdlist.cz and the directory media_info. I downloaded a few of the files again just to make sure there wasn't a problem and they downloaded fine but the error remained. Is this something I should worry about or does this happen on some sites? Thanks for the help Robert Dill Exactly how did you download these files? Unless I am reading the errors reported wrong, you are getting wrong size, bad md5sum as well as GPG signiture error. That says the downloaded file is totaly messed up. Ether that, or you don't have read access to it. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] KDE3.4 cannot shutdown
Miark wrote: On Tue, 22 Mar 2005 09:48:16 +0700, Fajar wrote: Thanks Paul, After I change it from mdkkdm to kdm, I can shutdown normally again. Since I switched to XFCE, I figured I didn't have anything to lose by upgrading KDE to 3.4, so I did. Well, as it turns out, I _did_ have something to lose :-) Now when I boot, it hangs on ALSA, and the display manager was screwy, too. I switched to the non-MDK manager, and that fixed the manager problem. As for ALSA, I do an interactive startup and choose No for ALSA which gets me over than problem, too. This means I'll have to do an interactive startup each time to not run ALSA, but oh well. It's not like I reboot every week. Oh, it seems kcontrol does _not_ appear anywhere in my menus, so I have to run it from the commandline. Again, no biggie. Miark Quick, cheap, and dirty fix if you are not going to be starting ALSA anyway: "chkconfig alsa off". Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] USB card reader problem
Philippe Landau wrote: i am so sorry to hear about that, Rosemary ... i was so sure it would work, i never heard of anyone getting problems for pluging in a usb drive ... otherwise i would have told you to make a backup first. do you also think that maybe your version of mandrake has some underlying problems ? ALSA is the sound server, right ? what if you installed a fresh version of mandrake ? i often needed to do that, with any operating system i had. kind regards philippe Reinstalling Mandrake should be a last resort. It isn't something you should have to resort to. Knowing what you did before you had the problem is always a good place to start... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] MD 10.1 System Halt During Boot.
Pete Moscatt wrote: I have just installed MD 10.1 using the download version ISOs that come with a magazine I purchase. The installation was without error until it come time to reboot. During the boot process I see it stopping at the point where I am assuming it’s trying to detect USB devices. Regardless of how many times I boot, it always stops at the same point. I am using a Microsoft Optical Wheel Mouse which happens to be USB. This is the only USB device I use. I have had a quick look in the archives and get the impression that MD 10.1 suffers from USB issues. What is needed to get the installation I have up and running ? Regards Pete Moscatt I would boot without the mouse plugged in, and see if it boots. If it does, then plug the mouse in. Then make sure you have all the updates installed. After installing the updates, see if the system boots ok with the USB mouse plugged in. If not, let us know, and we can explore other options. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] MySQL File Location
Derek Jennings wrote: The packager who built the Mandrake package for MySQL has created the file /etc/rc5.d/S90mysql to set up the defaults for MySQL so that a my.cnf file is unnecessary. I simply read that file and told you what the defaults were set to. I also told you that by using a symlink to /var/lib/mysql you could put your user data in a different folder without having to edit any files or create a my.cnf file. BTW: A pid file is a file usually kept in /var/run which identifies the Process Identifier number (pid) a daemon is using derek Minnor correction - the file is actualy /etc/rc.d/init.d/mysql. The files in /etc/rc.d/rc#.d are symlinks to the files in /etc/rc.d/init.d and are created/removed by chkconfig. The /etc/rc#.d entries are symlinks to the directories in /etc/rc.d. If you would like to know more about this, you may want to read /usr/share/doc/initscripts-7.61.1/sysvinitfiles. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] MySQL File Location
SOTL wrote: On Tuesday 15 March 2005 11:21, Derek Jennings wrote: On Tuesday 15 March 2005 14:42, SOTL wrote: Hi All I have created a partition on one of my computer to store critical system data files called /System_Data. I am trying to configure MySQL so that it will use /System_Data as its default file storage. I looked for /etc/my.cnf; found I did not have one so I generated one. My /etc/my.cnf files contains exactly 1 line which is: datadir=/System_Data When I start MySQL I now receive the following error message: Found option without preceding group in config file /etc/my.cnf at line 1. Fatail error in default handling. Program aborted. Would appreciate help in ascertaining what should be added or how current should be modified. Frank It is failing because having created a /etc/my.cnf file it is expecting to find other parameters defined in there in addition to datadir (pid_file=, basedir=/, bindir=/usr/bin ) You could alternatively edit the datadir path in /etc/rc5.d/S90mysql which is the script that starts mysql Alternatively if you create a symlink from /var/lib/mysql to /mnt/System_Data/mysql then you would not need to change any configuration and your data would go in the folder you desire. BTW: In Linux /var is the default directory to hold data so why do you need to define a different one? derek Hi All and thanks Derek I have finally gotten back to the above issue in my attempts to resolve my setup issues. I have printed the instructions for Using Option Files as kindly pointed out to me by David G Stevenson located at: http://dev.mysql.com/doc/mysql/en/option-files.html If I understand Derek correctly my.cnf should look something like [mysql] datadir=/System_Data basedir=/ bindir=/usr/bin pid_file= This raises two issues to me. First what is a 'pid_file=' ? And where is it located? Second I do not find pid_file, basedir, or bindir mentioned in the MySQL Reference Manual:: 4.3.2 Using Option Files. Thus to say the least I am confused. if someone would mind enlighten me on correct procedure I would appreciate it. Thank Frank You may want to take a look at /etc/rc.d/init.d/mysql to see were a lot of things are by default, and how they are set. If you leave "pid_file=" blank, it gets set in this file. The file gets created when mysql starts, and contains the Program ID (PID) of the MySQL server. Looking at this file, it looks like this is where you would set your data directory, and you would put my.cfg in the data directory you set in this file. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] hostname change
riccardo wrote: On Monday 21 March 2005 09:41 pm, Carlton Matthew wrote: How do I change the PC host name ? ~ by editing the file:/etc/HOSTNAME best rgds Nope. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Running apps on networked machine
Miark wrote: I ssh'ed to another box on my network and ran Firefox. But instead of it running off the remote machine, it ran from my _local_ machine. Odd! How do I prevent that? Miark Miark, How did you determin that it ran from the local machine? One thing to keep in mind about X programs is that the machine they run on, and the machine they are controlled from, do not have to be the same. The X server a program connect to for control and display is controlled by the --display option on the command line, or the DISPLAY shell varable. With ssh, if X forwarding is enabled, then when you ssh to another box it set things up so X programs will connect to X on your local machine. If you want to start a program on a remote machine, and have it displayed on the remote machine, you have a much harder time. The default security settings are designed to prevent this. If they didn't, then anyone that could log into the remote box could, by starting the right software, monitor what the user at the console of that box is doing. Or have windows popping up all over the place on the screen, or other nasty stuff. Definity not something you want appening when you are trying to get some work done on the box. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] mp3s to wav/cd burning
Duncan Anderson wrote: Mikkel L. Ellertson wrote: lower case names for local varables - so you don't break things if you deside to source the code from another script. Mikkel, Explain this to me, I don't quite follow your rationale here. I always use upper case for variable names so they can be clearly seen as such when one reads the scripts at a later stage. regards Duncan If you are using a varable in a loop, and its value only has meaning in that loop, but not in the rest of the script, use a lowercase name. For example: for name in *.txt ; do file $name done For small scripts, it is not too important, unless you do something like ".
Re: [newbie] mp3s to wav/cd burning
Duncan Anderson wrote: Mikkel L. Ellertson wrote: I like to make scripts a bit more "bullet proof"... I would probably change it to: for i in *.mp3 ; do name=$(basename "$i" .mp3) mpg123 -s "$name.mp3" | sox -f 44100 -w -s -c 2 - "$name.wav" done This way, it handles files with spaces in the name, and you avoid having to use a temp file. The error generated by a file with a space in its name would not be a problem by itself, and using a temp file would not be a problem by it self. but if you get the wrong name, you could delete something other then what you intended to. For example, if you had a file called "bridge over troubled water.mp3" and you also had a file called "bridge" in the same directory, you script would first overwrite, then delete "bridge". Using "basename" in place of "FILE=`echo $FILE | sed s/.mp3//g`" also solves the problem of a file with ".mp3" in more then one place in the name. It would probably not be a problem in any case, but you never know. Mikkel You are a scriptmaster of note, Mikkel. My version of the script works for me, because I always make sure that there are no spaces in the names first. Your refinement allows one to be more lazy! regards Duncan It comes from interacting with Windows users too much. After a while, you get in the habit of writing the scripts so the Windows file names don't break them. You also try to build them as safe as possible... Some things I try to keep in mind when writing scripts: lower case names for local varables - so you don't break things if you deside to source the code from another script. .$$ for temp file names, so if two coppies of the script use the same directory for temp files, they don't interfere with each other. If you can use a pipe in place of a temp file, do so. If one of several commands can be used in a script, set a varable with the command name at the start of the script, and use the varable name in the script itself. That way, if you move the script to another system, all you need to do is edit one line at the start of the script. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Duncan Anderson wrote: Mikkel L. Ellertson wrote: There are some added protections to make doing that even harder now. When you type "rm" from the command line, you are actualy running "rm -i" thanks to a handy alias. So you would be asked to confirm every deletion. When you get asked about the first one, hit Ctrl-c, and it will abort the command. Yes, isn't Linux (especially Mandrake) just wonderful? Not that you want to be logged in as root, unless you realy need to for what you are doing. But it is harder to break things then it used to be. There are still a lot of things you can do as root that will break the system. Mikkel It's a bit bit like walking on thin ice, isn't it? As a general rule, one should "su" to root only when it is absolutely necessary. I am a reformed root user. What I mean by that is that I always used to log in as root at home, because I never had to worry about permissions on devices, directories, etc. It was a form of laziness. I did this for years, but lately I have got into the habit of trying to make things work as a normal user. (I still run xmms and k3b as root, though. Probably laziness.) cheers Duncan I think we are saying the same things here, but in different ways. I don't normaly log in as root, or even "su -". I do most things as a normal user. About the only things I use root for are when I am playing with udev rules, testing disaster recovery programs, or installing software. Unfortunitly, root is required there. Disaster recovery testing has the biggest potential for disaster, because I am doing things like wiping the partition table, and trying to recover it. I guess I could set up a way to do that as a normal user, but I don't realy want to - that scares me more then logging in as root. But then, a normal user shouldn't be able to do the things I am doing during testing anyway. That is what I mean be "realy need to". Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Useful URL for newbies
Rosemary McGillicuddy wrote: Duncan Anderson wrote: Rosemary McGillicuddy wrote: The CLI is not something to be feared. cheers Duncan Is that not so ? I read somewhere about a command that could wipe out your whole system if done as root. Something to do with r and rm and -r I think ... Rosemary PS Not that I am about to do anything so outrageous :-) Ha! That reminds me. Once upon a time I used to run a UNIX support department for a big distributor, and we had our own public access ftp server with patches and drivers on it. Anyway, one fine day, I was logged in as "root", fiddling around in a subdirectory, and then I typed "cd", and , and then someone must have distracted me, and then I typed "rm *" and pressed . Since this was an old UNIX box, "cd" on its own takes you to the "/" directory. "root" does not have its own home as on Linux. OOPS! Not only did that UNIX box not have its own /root home directory, but it also lacked a separate /boot or /stand directory, so I had just managed to remove the kernel "/unix" and the boot program "/boot". DOUBLE OOPS! Fortunately, I kept my wits about me, and quickly mounted an installation boot floppy from which I copied the "/boot" program, then I relinked the kernel, which produced a new "/unix" file, while praying that we did not have a power failure. Phew! None of my support technicians noticed a thing! I reckon I would have been a bit embarrassed if they had. Incidentally, the command you were talking about "rm -r" is absolutely lethal when run as "root" in the root directory. cheers Duncan Glad you were able to retrieve the situation -:-) must have been a bit of a sweat for a while. Read that in a book I have somewhere ... ever since been nervous in CLI! cheers Rosemary PS Actually have realised I can move about and look quite safely, and even do so as root sometimes There are some added protections to make doing that even harder now. When you type "rm" from the command line, you are actualy running "rm -i" thanks to a handy alias. So you would be asked to confirm every deletion. When you get asked about the first one, hit Ctrl-c, and it will abort the command. Not that you want to be logged in as root, unless you realy need to for what you are doing. But it is harder to break things then it used to be. There are still a lot of things you can do as root that will break the system. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] mp3s to wav/cd burning
Duncan Anderson wrote: JoeHill wrote: On Sat, 19 Mar 2005 14:37:18 +1100 [EMAIL PROTECTED] disseminated the following: What do people use for making music cds from mp3s? Check out ROXDAO. The site is offline right now, but check it out later, very nice GUI for burning audio CD's, you can see a shot of it on my site. http://kymatica.com/software.html I am having problems accessing that URL. Anyway, for the newbie, k3b works pretty well. If you have lame installed, k3b allows you to create audio cds from mp3 files by simply dragging and dropping. Otherwise, you can use various methods via the shell. One that I always used to use was this: for FILE in *.mp3 do FILE=`echo $FILE | sed s/.mp3//g` mpg123 -s $FILE.mp3 > $FILE.raw sox -r 44100 -w -s -c 2 $FILE.raw $FILE.wav rm -f $FILE.raw done This would convert all the mp3 files in a directory to .wav files. Then: cdrecord -scanbus -dev=0,0,0 cdrecord -v speed=2 -dev=0,0,0 -audio -pad *.wav Substitute the "0,0,0" for the relevant device setting for your system. This setup is for an external USB2.0 cdwriter configured as /dev/sr0. Then, after all that, remove the .wav files. cheers Duncan I like to make scripts a bit more "bullet proof"... I would probably change it to: for i in *.mp3 ; do name=$(basename "$i" .mp3) mpg123 -s "$name.mp3" | sox -f 44100 -w -s -c 2 - "$name.wav" done This way, it handles files with spaces in the name, and you avoid having to use a temp file. The error generated by a file with a space in its name would not be a problem by itself, and using a temp file would not be a problem by it self. but if you get the wrong name, you could delete something other then what you intended to. For example, if you had a file called "bridge over troubled water.mp3" and you also had a file called "bridge" in the same directory, you script would first overwrite, then delete "bridge". Using "basename" in place of "FILE=`echo $FILE | sed s/.mp3//g`" also solves the problem of a file with ".mp3" in more then one place in the name. It would probably not be a problem in any case, but you never know. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Re: mp3s to wav/cd burning
JoeHill wrote: On Sat, 19 Mar 2005 13:15:52 +0100 Björn Lundin disseminated the following: What do people use for making music cds from mp3s? if you like the cli, make wavs with this script, You do need sox and mpg123. from there burn the wavs as usual [EMAIL PROTECTED] mp3_lisa]$ cat /home/bnl/music/tools/mp32wav #!/bin/bash # mp32wav BASENAME=${1%%.mp3} mpg123 -b 1 -s $BASENAME.mp3 | sox -t raw -r 44100 -s -w -c2 - $BASENAME.wav LAME has always worked very well in this regard for me, I have these in my .bashrc # mp3 functions function mp3ren() { for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`;done; } function mp3dec() { for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done; } First one removes spaces in the filenames and converts to LC, second converts to WAV. Watch the line-wrap and the back-ticks :-) Wouldn't something like: function mp3dec() { for i in *.mp3 ; do lame --decode "$i" "`basename \"$i\" .mp3`.wav" ; done; } handle names with spaces in them? Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] DNS Name Server Issues
SOTL wrote: Hi All As some of you are aware by now I am trying to network 2 computers by use of a wireless 'my router' which is connected to a wireless bridge which gets it signal from wireless bridge [located in an office across the street] which gets it input from another router [or did before system modification which I was not party to]. The first computer is a MSI motherboard box called Reality_Check running Mandrake 10.1. The second computer is an IBM Thinkpad running Mandrake 10.1. Anyway after reading the above you began to get one of the issues - Total confusion so in that regard I shut down the wireless portions of my wireless router. I have set 'my router' for fixed LAN addressing with Big_Nate as 192.168.1.4 using DNS host Name 192.168.1.1 which Big_Nate after booting [it is a laptop] uses the preceding host name and DNS address. On the other hand I have set 'my router' with Reality_Check as 192.168.1.2. I have tried to set Reality_Check to use 'my router' at 192.168.1.1 but it keeps resetting the First DNS to be 127.0.0.1 and the Second DNS server to be 64.89.100.2 and keep using a DNS address of 192.168.1.251. I have deleted and made new connection in Reality_Check by Make New Connection Automatic -> DNS Host Name = Reality_Check ->Host Name = Reality_Check -. Zeroconf Host Name = Reality Check Should DNS Host Name should be Reality_Check but be name of computer or of 'my router'? Any help would be appreciated. Thanks Frank The first thing I would do is get rid of tmdns. With your setup, then last thing you want to add to the mess is the Zeroconf stuff! Just stopping tmdns will get rid of the 127.0.0.1 DNS server problem. It will also get rid of the DNS Host Name question, if I remember right. If you have the dhcp server running on the router, then just configure your connection for dhcp, with a host name of Reality_Check. (Make sure your host name is in /etc/hosts). If you do not have the dhcp server running on the router, or if you want to set a static IP address for Reality_Check, then you probably want to use the IP address of the router as your name server, and your gateway. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
James Henry Maiewski wrote: On Saturday 19 March 2005 3:50 pm, Tom wrote: Now, James, when you installed the system did you select "Development" ? Without those additions to your system you probly can't compile anything. Other questions: are you just doin all this as an exercise? an why don't you just use Mandrakes' pre-compiled packages for kdeutils? IOW's, what are you tryin to accomplish? Hello, I have the Mandrake 6-disc set, so I have these binaries, and don't need to compile anything. Having just successfully 'hatched' kdeutils...src.rpm (I downloaded a new one), with rpmbuild [thanks to all of you, and I certainly didn't intend to set off any controversy. I'll have to read these man pages) Inasmuch as I doesn't really have a prayer of understanding C++, or the maze of linked header files, etc. (most of my programing knowledge in Linux and C comes from "Learning C in 28 days") this was all an exercise. Its genesis comes from my fondness of Kedit. It seems like a really simple program, and I thought that it might be possible to change the behavior of its Tab key (i.e., how many spaces are printed when tab is presses." So far in this exercise, I've discovered .kcfg files (hence Kcfgcreator, hence unsermake) and now rpmbuild, and kconfig_compiler, kconfigskeleton.h and kconfig.h (and I still haven't found anything that says "main"). As expected, I'm not really more enlightened as concerns my original goal, but I'm having fun. If you have any suggestions about books to teach the neophyte about program development (I know no 'object oriented' stuff, and am shaky on all the libs etc.) You may want to start with something other then part of the KDE "family". While Kate may be a simple program, I don't think building anything that is part of the KDE desktop is simple. This is because of the high level of intergration between the different parts. On the other hand, it definitly will be a learning experence. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] audacity
Aron Smith wrote: anyone know where libmp3lame.so is kept (lame is installed) audacity needs it for exporting mp3s [EMAIL PROTECTED] mikkel]$ locate libmp3lame.so /usr/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0.0.0 Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Doomed: KDE 3.4
[EMAIL PROTECTED] wrote: Well, guys.. i'm doomed. After downloading the packages all night, urpmi cannot install kdebase libkde-common because of conflicts with kde3.2. Out of frustation, i removed kde3.2. :(( And now repeating the process again of downloading the packages all night. It cleared the packages out of the cache? I thought it only did that after it was sucessful in installing them. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] connecting camera using the PTP protocol
Rosemary McGillicuddy wrote: On Saturday 19 Mar 2005 20:37, Anne Wilson wrote: Does HardDrake recognise the camera? Have you tried booting with it plugged in? (Not that you'd have to do that every time, but it sometimes helps to get something recognised in the first place.) I have often found that it helps to run HardDrake after plugging in a removable device, which is really what this is. No HardDrake doesn't recognise it. Tried booting with camera on and plugged in - nothing. The other problem is that with 10.1 you meet the problem of the floating sdx - where the mount point can change its name every time you try it, so any mount that's set up will not find the drive. You may have to use HardDrake to see what device name it has, then amend your mount-point to match. A PITB. Someone suggested a card reader, so I've had a look at them, and found one recommended for Sony cameras, which is linux compatible. I've emailed the company for more specific info. It is only NZ$30, so would be a worthwhile purchase. Most USB card readers work well. Not all of them tell the system when you change cards in them. You may have to put the card in the reader, and then plug the reader in the USB port. Lastly, I'd recommend getting the latest packages for Digikam. The ones with the distro are fairly old, and it sometimes helps. I'm running digikam-0.7.1-1tex.i586.rpm. I'm downloading now - do I need to uninstall the old packages, or will the new ones simply install over them? Thanks Rosemary If you are downloading it as an RPM package, then it will replace the old package. BOth urpmi and rpm -Uvh will remove the old package when installing a newer version of the same package. That is one of the nice things about the RPM package format. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FAT question
SnapafunFrank wrote: One thing this newbie read somewhere is that /dev/sda? are not formatable ?? Can someone clarify this ? Ah... here it is: A key such as KERNEL="sd?1" would match KERNEL names such as "sda1", "sdb1", "sdc1", and equally importantly, it will not match KERNEL names such as sda, sdb, or sg1. The purpose of this key is to ignore the /dev/sda and /dev/sg1 nodes. The device is a digital camera -* I would not dream of fdisking it or anything like that, so these 2 nodes are pretty useless to me.* The key attempts to capture the /dev/sda1 node, which is mountable and therefore useful! Reverse in you case maybe? This is within this link http://www.reactivated.net/udevrules.php What he is talking about here is creating links for digital camera that is accessed using usb_storage, and so looks like a SCSI drive to the system. He is saying that he would not want to run fdisk on this device, so he would not need /dev/sda, just /dev/sda1. I don't know what would happen if you tried to repartition a digital camera mounted this way, and apparently the author didn't know ether, and didn't want to find out. He is also talking about what happens if your rules do not create all possible device names for a drive, and you use fdisk to create new partitions. You may not be able to access the new partitions without removing the device, and re-attaching it, or rebooting. One other point, you normally do not mount the entire drive when using hard drives - you mount the partitions. But you run fdisk on the entire drive. (Well, you could run fdisk on a partition, but why?) So, you run fdisk on /dev/sda to create/change/delete partitions. But you would mount /dev/sda1. I don't know if I should bring this point up, but you could, if you really wanted to, use /dev/sda in place of /dev/sda1 to create/mount a file system that would be the entire drive. It is not really a good idea, but it can be done. Some of the tools will complain about the missing partition table, but you don't have to have one. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] bad signatures
Carlton Matthew wrote: Why Do I get bad signatures when attempting to upgrade packages using mandrakelinux update ? shouldn't this be the safest plave to get the software from Carlton It should be. Do you get it for all packages? One thing to watch for - it will give you the bad signature error, and go on to say that it could not open the package. This error could be worded better. What actualy happened is that the download of the package failed, so the signature could not be tested. I think it is two standard error messages, generated by two different parts of the program. The bad signature error is true, but is not the real problem. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Recommended DVD's for K3b
Anne Wilson wrote: On Saturday 19 Mar 2005 20:08, Mikkel L. Ellertson wrote: I usually put a pretty printed label on them anyway, so that is less of a problem. But one day I would like to get one of the printers that will print directly on CDs/DVDs. But they require printable CD blanks anyway. (I do have a bunch of business card size that are printable...) Mikkel, again I'm only quoting what I have read, but I understand that it's not wise to label DVDs. Again it is the speed and density that make them more sensitive to wobble if the label is not absolutely balanced. The article I read though that it was almost impossible to safely label them. I've been looking at the printers, too, as mine will have to be retired soon, but I don't know whether they are a viable option for DVDs. It would be nice if they were. Anne > Anne, You are probably right. I can not say for sure about DVDs. I do not have a burner myself, so I have not labeled too many. I know you can mess up a CD if you are sloppy putting on the label. The business card ones give me problems. For printing on CDs, Epson has an ink jet that isn't too out of line that has a try for printing CDs. I have not checked into it, to see if it will work with Linux. By the time I am ready to really start shopping for one, there will probably be a new crop of printers anyway. There are other things higher up on the wish list... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
Tom wrote: That was mostly for my own curiousity, specially since Greg an Mikkel have some misgiving about usin 'rpm --rebuild' All I can say is "Works for Me" an always has I think the point is more that rpm --rebuild is calling rpmbuild to do the work. Because if this, if you do not have the rpm-build (10.1) or rpmbuild (old name) package installed, it will not work. Also, from what the man page says, it may not work in future releases of RPM. So it would be better to bet used to using "rpmbuild --rebuild" in place of "rpm --rebuild". For people just starting to build RPMs, it would definitly be better to get them started using rpmbuild for building RPMs. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Cant find the printer
Carlton Matthew wrote: Following previous advice, I added the line lp to the file /etc/modprobe.preload lsmod now gives [EMAIL PROTECTED] carlton]# lsmod Module Size Used by md5 3584 1 ipv6 230916 10 autofs415268 0 i810_audio 33236 0 ac97_codec 16844 1 i810_audio soundcore 7008 1 i810_audio af_packet 16072 2 floppy 55088 0 8139too20928 0 mii 4224 1 8139too ide-cd 37280 0 cdrom 37724 1 ide-cd loop 12520 0 nls_iso8859-15 4224 1 ntfs 147964 1 supermount 34804 1 parport_pc 30976 1 lp 9548 0 parport33896 2 parport_pc,lp intel-agp 19584 1 agpgart27752 1 intel-agp ehci-hcd 26244 0 uhci-hcd 28752 0 usbcore 103172 4 ehci-hcd,uhci-hcd This indicates that the parallel port is now visible. On boot, the system indicates that cups is started. However the ssytm stil fails to see the printer. Any Ideas Carlton Double check the printer cable? Chase out the gremlins? Get drunk? Just kidding... Does /proc/sys/dev/parport/parport0/autoprobe show anything? Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
Tom wrote: Mikkel L. Ellertson wrote: Well, on my 10.1 system, they are actualy in /usr/lib/rom/rpmpopt-4.2.2 and if I wanted to track it down, there is probably another file symlinked to it, that is defined in rpmrc, but I don't feel like going through all the effort. There are a lot of things that can be changed the same way, to customize the way rpm behaves. Mikkel # less/usr/lib/rom/rpmpopt* bash: less/usr/lib/rom/rpmpopt*: No such file or directory # l /usr/lib/rom/rpmpopt* ls: /usr/lib/rom/rpmpopt*: No such file or directory # loci rpmrc (an alias for locate -i) /usr/lib/rpm/rpmrc /usr/lib/rpm/convertrpmrc.sh /usr/lib/rpmrc untouched by me ??? Well, my typing isn't too good today. (rom should be rpm). Fat fingers, and small keyboard.) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
James Henry Maiewski wrote: Hello, I thank you both for this information, but I'm not getting anything out of this package. the rpm --rebuild gives: error: kdeutils-3.2.3-28.3.101mdk.src.rpm cannot be installed the same happens with rpmbuild --rebuild (both as root and otherwise). I assume that the package is at fault and will look for another source. Another question I have, is why I urpmi --install-src yield nothing. Thanks, JHM > What happens if you run "rpm --checksig kdeutils-3.2.3-28.3.101mdk.src.rpm"? This will check the package. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Recommended DVD's for K3b
Tom wrote: John or Margaret Montgomery wrote: On Fri, 18 Mar 2005 11:44:07 -0600 Tom <[EMAIL PROTECTED]> wrote: Nope! 'Big name', or well know brand names mean very little, more often, absolutely nothin! Practically no brand name media are made by the advertised vendor. The only way to know for sure who actually makes the disk is to do; Tom Brinkman Corpus Christi, Texas This is not DVD but I recall several years ago, asking a salesman about the differences between different CDs. His answer was - price! Since then I have bought only on price. A few coasters have turned up but I could always account for them by my stupidity. John Montgomery Vernon BC You managed to get a knowledgeable salesperson ;) I quit botherin askin who actually manufactured the media. Mostly I got a blank stare. They bank on the premise that most all the public thinks big brand names have to be better. OTOH, the big brand names do _usually_ put better, more durable coating (the label side where the recording is actually done). This is important if you're fixin to handle the CD's a bunch, or store them for a while. So considerin that, it's often worth payin twice the price to get media that's all made by the same damn manufacturer anyhow. I suspect the brand names buy the cheap 'generic' CD's, then add the extra 'branded' coating on top of the generic manufacturers. In this sense the result is not more reliable for burnin, but will survive more handlin an storage. I usually put a pretty printed label on them anyway, so that is less of a problem. But one day I would like to get one of the printers that will print directly on CDs/DVDs. But they require printable CD blanks anyway. (I do have a bunch of business card size that are printable...) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
Tom wrote: Mikkel L. Ellertson wrote: Tom wrote: hmmm... tell me more. # rpm --rebuild mplayer-fonts-1.0-10mdk.src.rpm ... ... Wrote: /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1910 + umask 022 + cd /usr/src/RPM/BUILD + cd mplayer-fonts-1.0 + rm -rf /var/tmp/mplayer-fonts-buildroot + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.1910 + umask 022 + cd /usr/src/RPM/BUILD + rm -rf mplayer-fonts-1.0 + exit 0 # rpm -Uvh /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm Preparing... ### [100%] 1:mplayer-fonts ### [100%] Are you sugesting I should'a used 'rpmbuild --rebuild mpla' ? FWIW, the system is as current as can be (cooker 10.2) 2.6.11-2mdkK74 preempt K7 gcc-3.4 (rpm-build-4.2.3-9mdk) From the rpm man page: LEGACY ISSUES Executing rpmbuild The build modes of rpm are now resident in the /usr/bin/rpmbuild executable. Although legacy compatibility provided by the popt aliases below has been adequate, the compatibility is not perfect; hence build mode compatibility through popt aliases is being removed from rpm. Install the rpmbuild package, and see rpmbuild(8) for documentation of all the rpm build modes previously documented here in rpm(8). Add the following lines to /etc/popt if you wish to continue invoking rpmbuild from the rpm command line: It then goes into a table that you can read for your self if you are interested. Mikkel # less /etc/popt /etc/popt: No such file or directory Do I need to create this file? an why? rpm -rebuild is still very much functional, even on 10.2 Yes, I read the man page. Well, on my 10.1 system, they are actualy in /usr/lib/rom/rpmpopt-4.2.2 and if I wanted to track it down, there is probably another file symlinked to it, that is defined in rpmrc, but I don't feel like going through all the effort. There are a lot of things that can be changed the same way, to customize the way rpm behaves. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] src.rpm headaches.
Tom wrote: Greg Meyer wrote: On Saturday 19 March 2005 10:05 am, Tom wrote: James Henry Maiewski wrote: Hello, I downloaded kdeutils-3.2.3-28.3.101mdk.src.rpm to see what I could see, but when I try to install it, it says "everything already installed." If these are supposed to go in /usr(/local)/src they are empty. How is the installation of .src.rpm files supposed to work? With an advance of thanks, James Henry Maiewski src.rpm's are not to be installed (tho they can be). You can compile the rpms contained in the src.rpm by doin (as root) 'rpm --rebuild kdeutils-3.2.3-28.3.101mdk.src.rpm' Not to be too picky, but technically, rpm is deprecated and rpmbuild --rebuild is preferred because it has been split into separate packages. hmmm... tell me more. # rpm --rebuild mplayer-fonts-1.0-10mdk.src.rpm ... ... Wrote: /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1910 + umask 022 + cd /usr/src/RPM/BUILD + cd mplayer-fonts-1.0 + rm -rf /var/tmp/mplayer-fonts-buildroot + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.1910 + umask 022 + cd /usr/src/RPM/BUILD + rm -rf mplayer-fonts-1.0 + exit 0 # rpm -Uvh /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm Preparing... ### [100%] 1:mplayer-fonts ### [100%] Are you sugesting I should'a used 'rpmbuild --rebuild mpla' ? FWIW, the system is as current as can be (cooker 10.2) 2.6.11-2mdkK74 preempt K7 gcc-3.4 (rpm-build-4.2.3-9mdk) From the rpm man page: LEGACY ISSUES Executing rpmbuild The build modes of rpm are now resident in the /usr/bin/rpmbuild executable. Although legacy compatibility provided by the popt aliases below has been adequate, the compatibility is not perfect; hence build mode compatibility through popt aliases is being removed from rpm. Install the rpmbuild package, and see rpmbuild(8) for documentation of all the rpm build modes previously documented here in rpm(8). Add the following lines to /etc/popt if you wish to continue invoking rpmbuild from the rpm command line: It then goes into a table that you can read for your self if you are interested. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Adding Drives
Elwyn wrote: On Saturday 19 Mar 2005 15:25, Mikkel L. Ellertson wrote: What Journalized file system to pick is not a cut and dried decision. It depends on what kinds of data you are going to put on the drive, and who you are asking the question. So you will need to provide more information before you can even hope for a meaningful answer. The drive would be for storing and sorting out files, music and graphics. "The Storage Place" basically on our small network here. I have quite a lot of MP3s and that is all in one place for myself and my father to use, and it's also the storage place for my brothers iRiver collection (as he doesn't have a PC) Making the drive one partition is not a problem. Depending on how big it is, and how you are planning to do backups, it may make since to split it up though. You may also want to use a chunk of the drive as a swap partition... Mikkel Ahh. I see. When I chose ext3 I was asked about the name of it and did I want to move \usr over or hide it?! I've had a look on the web but most the responses i've seen is for putting a new installation on, not so much adding a drive later down the line. At the moment the /home folder has a "shared" folder in there that is the Samba drive. Close on 60gb there. I'd like to run it side by side with the new 80gb and stuff. Does that help?? Cheers, Elwyn Well, ext3 is probably a good choice. But I am not an expert on journalized file systems... As for the mount point, you do NOT want to use /usr for this. This option if for someone that is running out of room on /, and is adding space by way of a new partition. You could create another directory off of /home for the new drive, create one in /mnt, or create on off of /. I don't remember what the file system standard is for that. Personally, I would create something like /data or /shared as a mount point. Now, if you were going to be moving the current data to the new drive, then I would use the current shared directory as the mount point. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Samba Server
Elwyn wrote: Hiya Folks What I'd like to do is set up a shared area within our network that all our (family) music files are on, plus other bits and bobs, that will only share files for most of its hard drive. I've already got a working Samba place on this machine but I'm debating how to go about this. Basically the box wil be without monitor, keyboard, mouse etc. Just have power and network to it. However, the small problem I have is that as it is a closed secured network I don't want any username and passwords? Is that possible?? Because one of the problems I have is any files created with one ID cannot be moved/deleted with another ID, or have I missed something fundemental out?? Cheers, Elwyn This all depends on how you set up the share. You can use the "force user" and "force group" options when defining the share so that all files will be owned by the same user/group. You may also want to set it up so that guests can read, but not create/change/delete files. Another way would be to set up security = share instead of user. It isn't used as often, and I am not sure how well the GUI config tools work with it, but it is something to look into. I prefer to leave security set to user, and the force user option. That way, you can still have private home shares for each user, but that is just me... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Adding Drives
Elwyn wrote: Hiya Following on from my Samba Server question... I've fitted the drive, it's declared as hdb and I'd like to set it up for just files. I've tried to chose Journalised Etc3, ReiserFS, JFS or XFS. Which do I chose?? It would be nice if I can put it all as one partition?! Er, Thanks :) Elwyn What Journalized file system to pick is not a cut and dried decision. It depends on what kinds of data you are going to put on the drive, and who you are asking the question. So you will need to provide more information before you can even hope for a meaningful answer. Making the drive one partition is not a problem. Depending on how big it is, and how you are planning to do backups, it may make since to split it up though. You may also want to use a chunk of the drive as a swap partition... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] mp3s to wav/cd burning
[EMAIL PROTECTED] wrote: Hi, What do people use for making music cds from mp3s? I have an old italian cd burning software on my old NT machine that happily does this automatically, is there something similar avaialable? Thanks, Richard k3b Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FAT question
Kaj Haulrich wrote: On Saturday 19 March 2005 01:20, Mikkel L. Ellertson wrote: The tools from the drive manfacturer are their own boot disk. You usualy download a program that creates the floppy. Then boot with the floppy. Or, if you don't like having the larger collection of floppies, you download the Ultimate Boot CD from http://www.ultimatebootcd.com/ and boot with that when you need the tools. Mikkel Good heavens, Mikkel. How did you find that ? I'll dive into it ASAP. Now, just don't let us get carried away : I wanted some method to defrag this crappy Microsoft FAT32 file system. WindowsXP can't do it. Neither can Linux. So, I figured that backing up the entire content, re-formatting and restoring might be the way to go. But as the file system seems to be "hard coded", and I know that Linux can "fix anything", I'll download your Floppy-CD, lean back and watch the battle Have a nice week-end... Kaj Haulrich. Well, when you are the local "computer Geek", you tend to find tools to make troubleshooting easy. I never know what flavor of hard drive, or what other tool I am going to need, so I have a few CD's I take with me. I have this nice collection of business card CD's as well, that I keep tucked in my tool box as well. Because you never know when you will need them. Let me know how well the CD works for you on the USB drive. I have not had a chance to do much testing of USB drives with it. One more thing on my "To Do" list, but I keep getting sidetracked... Now, on the other hand, I don't think the file system in "hard coded" on the USB drive. (Check my other message, where I address the fdisk warnings.) So you should be able to change the drive to an ext3 file system. Remember - the 1024 cylinder warning doesn't apply to Linux. Any BIOS that is going to have a problem with that limit, is not going to be able to boot off a USB device in the first place. And you were not planning on booting a Linux system off the drive anyway. You may want to take a look at http://mandrake.vmlinuz.ca/bin/view/Main/SystemRecovery for some other interesting CDs. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com