Re: [newbie] Help can't get root access - am I buggered now??!! :-(
Thursday, May 27, 2004, 11:50:42 PM, you wrote: Robert Walker wrote: Hello all, I was trying to increase the security of my Linux box (famous last words). I am running Mandrake 9.2 set for console login (run level 3). I was reading an article about stopping root logins for Red Hat Linux (v8.0)... Decided to follow the suggestions. This turned out to be a really bad move :-) Anyhow I am now in the situation where I have ended up with: /etc/securetty which is blank (dumb) /etc/ssh/sshd_configwhich disallows root logins (good) I have KDE, X and tightvnc installed but I am not currently using them. I can't 'su' root to execute a command/change to root or login as root either with a remote secure shell or a local shell!! I just get the message: This account is currently not available. So I can't even copy the old securetty~ file back... Do I need to reinstall everything again (would not be fun given the amount of hassle I had setting it all up - especially the driver for the PCI ADSL modem and kernel customisations) and start from scratch?? Is there any other way of getting root access apart from login and su?? Is there anyway to boot from a CD to get root access back?? Or some other solution (possibly mounting the hard disk on another box with Linux installed)?? I usualy keep on of the floppy or CD mini-distributions around for things like this. The other option is to boot by feeding the kernel the option init=/bin/bash. (append=init=/bin/bash) This will boot you directly to the bash shell, bypassing most of the security of the system. You will want to reboot after fixing things. Mikkel Hi Mikkel and Derek, Duh I am so stupid!! Of course should of though of Knoppix!! I was all set to physically take the hard disk out and mount it on another machine... :-) Found my downloaded copy lying 'round didn't work (I hadn't got around to trying it out yet) but thats not a problem with 2mbit D/L ADSL :-) All I had to do was log in as root in Knoppix. Mounted the IDE harddisk as R/W. Changed back the /etc/passwd and /etc/securetty files (I had messed up) to allow access to the root account. Rebooted into MDK 9.2... Sorted!! Root access is working again. Cheers guys. Really appreciate it!! -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Help can't get root access - am I buggered now??!! :-(
Thursday, May 27, 2004, 8:31:22 PM, you wrote: On Thursday 27 May 2004 20:14, Robert Walker wrote: Hello all, I was trying to increase the security of my Linux box (famous last words). I am running Mandrake 9.2 set for console login (run level 3). I was reading an article about stopping root logins for Red Hat Linux (v8.0)... Decided to follow the suggestions. This turned out to be a really bad move :-) Anyhow I am now in the situation where I have ended up with: /etc/securetty which is blank (dumb) /etc/ssh/sshd_configwhich disallows root logins (good) I have KDE, X and tightvnc installed but I am not currently using them. I can't 'su' root to execute a command/change to root or login as root either with a remote secure shell or a local shell!! I just get the message: This account is currently not available. So I can't even copy the old securetty~ file back... Do I need to reinstall everything again (would not be fun given the amount of hassle I had setting it all up - especially the driver for the PCI ADSL modem and kernel customisations) and start from scratch?? Is there any other way of getting root access apart from login and su?? Is there anyway to boot from a CD to get root access back?? Or some other solution (possibly mounting the hard disk on another box with Linux installed)?? I am not sure how to get your system back to how it should be, but for future reference if you want to disable root login, instead of following a RedHat Guide just Open Mandrake Control CentreSecurityLevels and Checks Selecting High (or is it Higher) security level will disable root login. Or alternatively regardless of your security level you can customise your existing level by selecting the 'System options' tab. The 'Direct Root Login' option will enable/disable root login for you. Hope you manage to recover the system without a reinstall. You might be able to set a new root password if you go into run level 1. Try booting into 'failsafe' from your lilo menu. derek Hi Derek, Cheers for the quick response. No I'm buggered... Run level 1/failsafe gives all the same problems. The root account is disabled because it can not be accessed/logged into from any tty device. Can I mount the physical hard disk on a different Linux box and change the securetty file? How would I do this? Would it just show up in the mounts if I plug it into an IDE port or do I need to do else to mount it (e.g. alter fstab on the other machine)? I.e. hate Slackware because its harder to find the relevant configuration files for stuff... Its all a bit bizare because the machine is stable as an internet gateway its not urgent (it still works without root access). But I did want to setup a place holding webserver on it today (hah hah thats not going happen now :-). -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Linux and power on notebook?
Wednesday, March 10, 2004, 3:00:36 AM, you wrote: Hello, I don't have it... This is the message written: Your computer doesn't have the Linux APM (Advanced Power Management) or ACPI software installed, or doesn't have the APM kernel drivers installed - check out the Linux Laptop-HOWTO document for information on how to install APM. when I click on the linux Laptop Howto I get a error message... I will try with google. Bye Christophe Hi Christophe, You want ACPI compiled into your kernel. (Should be in the stock kernel I think - but I don't use them). You then need to turn on ACPI (MCC - boot options). If you don't turn it on explicitly it won't be there! As I found to my cost trying to get my modem and soundcard to work (needless to say they did when ACPI was turned on). You can then throttle the CPU to all the states it supports, check the battery state (current and previous maximum recharge). Its all buried in the /proc/acpi/ directory which interfaces to the kernel. I tried running my 2.0Ghz P4 at 512Mhz which was quite a laugh :-) My BIOS only allows 1.0Ghz, 1.5Ghz or 2.0Ghz so I thought that was quite cool. I could also see the CPU temperature (found that my fan comes on at 54C and goes off at 46 with hysterious). To throttle you can just type: echo number throttle Or something like that (I am sure you get idea). Its wee while since I played around with it. The KDE version I am/was using didn't support automatic shutdown with low battery charge but the /proc/acpi interface was very accurate (I found) so thats not such a big problem. -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Using i486s with Linux
Wednesday, February 25, 2004, 6:47:52 PM, you wrote: Example My P3 450 mhz with 120 megs ram running XP Pro would run circles around my wife's Laptop P4 2.3 Gz with 512 megs ram Running XP Home. Hi Ray, My understanding of the Intel processor architecture strategy to push more speed out of there pentium line is to Superpipeline the core to ever increasing degrees (34 stages!! for the latest P4 Prescott architecture) to enable them to reduce the clock cycle. So a P3 running clock for clock is always faster than the P4M because the P4M has a deeper pipeline (cache misses hurt more). It is crazy that a clean architecture like that used in the PowerPC ISA isn't the dominant CPU type on the planet. Just like how Linux plays second fiddle to MS (because of 3rd party support problems). The P4M doesn't have the SSE extensions implemented in hardware. I compile my Linux kernels with the P3 switch for my Laptop (the closest match just now I understand). Also laptops use slow 5400RPM harddisks... When I switch between my P4M laptop and my P4HT Desktop with 15K RPM Ultra SCSI 320 drives it really hurts :-) -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Re: Using i486s with Linux
Tuesday, February 24, 2004, 12:54:16 PM, you wrote: What I use the 2 old 486 laptop for are simple tasks. If I am working on a computer that has some thing wrong with it, or working with new applications, OS as I am doing now. Instead of printing the instruction or documentation. I display the instruction (text or HTML files) on the laptop wile working on another computer. Saves paper, ink, and time. One of the old 486 has a port replicator that enables me to set up network connection. So having it networked with our new computers all it should have to do is display what I need. Step daughter use the other 486 laptop, as a simple text editor. She likes to sit outside on nice days and work on her home work. Mostly just taking notes wile reading books. Saves it to disk then uses new computer to format text, email it, and or print. I have a Pentium 1 100 MHz desk top I want to use for firewall, router. Install two NIC cards eth0 would connect to DSL modem. Then eth0 bridged to eth1 connected to a hub that provides wired and wireless networking for all of our other computers. I am thinking that after installing Linux and setting up network on this computer it would not need a monitor. As it would be administered remotely by another computer on the network. This hub that I was looking at in one of our local stores, shows the DSL modem connected to it. This hub then provides wired and wireless connection to other computers. With this arrangement I would not need the Pentium 1 100 MHz desk top. But then I believe that this would not provide the security I want. Hi Ray, I couldn't help but butt in and comment that an old pentium-based PC with Slackware, or Mandrake (minus X), or perhaps IP Cop (??) will allow you to have all the security you want/could need. In my experience of hardware routers (Vigor 2600We and IX66) the stateful firewalls, even on an IX66 which is VERY capable, always lack the configuration options I need! I could never get the IX66 to be transparent to my file sharing software, whereas with IPTABLES in Linux I can. This stuff is fast as it is actually built into the kernel and easy to configure as you can set up the filters, etc. from the command line/bash scripts. You can't do as much QOS stuff which is really useful. I can configure my Linux-based DHCP server much more than I could a hardware router (e.g. assign Wins/netbios information for Winblows). Where Linux falls over is drivers for wireless cards - that is a bit of a nightmare (of course some are supported). Why do manufacturers write network hardware drivers for Windblows and not Linux? Try to get Windows to act as server is like trying wade through treacle... :-) I had great fun getting a conexant PCI ADSL modem driver to work with Linux. Its handy though because it means I can do NAT on the Linux box and not have to worry about an external modem doing something stupid (or not being able to find the modem web configuration page)... You can easily configure the Linux box using SSH. Who needs fancy web config pages :-) If you do you could always use IP Cop... Don't bother with hardware routers, a Linux box and cheap hardware SWITCH (netgear are really nice) is a more powerfull combo and its more efficient... -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Belkin Gold Series UPS - its time to pull my hair out!!
Monday, February 16, 2004, 3:33:37 AM, you wrote: On Saturday 14 February 2004 05:04 pm, Dennis Myers wrote: On Saturday 14 February 2004 11:22 am, Robert Walker wrote: Saturday, February 14, 2004, 3:46:34 PM, you wrote: On Saturday 14 February 2004 07:59 am, Robert Walker wrote: Hello all, I am trying to setup some basic shutdown software (i.e. oh look I am on batteries I had better shutdown soon :-) for a Belkin UPS I have hooked up to a Linux-based PC router. The model I have connects to a serial port on the PC. I am using MDK 9.2 on the router with a custom 2.4.22 TMB kernel with serial support statically compiled into the kernel. I tried the Belkin Linux software specifying ttyS0 (my MB only has one RS232 port as it has an onboard VPU) for the serial connection. But I get the message: 1 2/14/2004 11:45:33 UPS Disconnect! Cannot get information from UPS. in the PRO_UPS.LOG file. The GTK/Gnome Monitor GUI window appears to work fine and can connect to the local upsd process but I get the following problem: UPS Comm Disconnect has warning red light beside it in the UPS status window. So the upsd deamon process cannot connect to the UPS. All the status UPS model details, graphs and dials are blank due there being no connection to the UPS... I have tried the RPM that someone built for the Fedora kernel (with even less success). I have tried the NUT RPM for MDK but apparently this doesn't appear to work either. (I tried making a special ups_serv user and putting the device and config files under this user). The support hardware section says that belkin driver should support my hardware but needs the proprietary driver installed first (which I did). Again the upsd process couldn't connect to the UPS. Anyone had any joy getting this model (Gold Series) to work with Linux? The Belkin Linux GUI is very nice if only it could see the UPS hardware... :-) I have read that someone used the Bulldog software to get a Belkin gold to work. It is not a huge program and I think I could send it to you off list. Simple gui and looks easy to use, unfortunately I have a offbrand PowMax UPS and It does not configure. HTH Hi Dennis, It is the Bulldog software I am using. The Belkin driver disk does have Linux Bulldog software on it. The software almost works but not quite as the driver cannot find the UPS device (it seems to find the serial ports OK). I have contacted their tech support to see if they can help. Oh, it was probably your post that I read then. Let me know if you get a report on how to make it work. Thanks, Further to my last post above, after a reboot the bulldog prog now recognizes my POWMAX UPS. Don't know why, but it does, and I was able to configure it with no problem. I am about to pull the plug to see if it works. Will let you all know. Hi Dennis, Still no joy. I tried rebooting and the Sys-5 script starts the upsd daemon fine (which I was manually starting before). However the daemon process still doesn't see the hardware... I doubt Belkin will bother getting back to me either... -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Belkin Gold Series UPS - its time to pull my hair out!!
Hello all, I am trying to setup some basic shutdown software (i.e. oh look I am on batteries I had better shutdown soon :-) for a Belkin UPS I have hooked up to a Linux-based PC router. The model I have connects to a serial port on the PC. I am using MDK 9.2 on the router with a custom 2.4.22 TMB kernel with serial support statically compiled into the kernel. I tried the Belkin Linux software specifying ttyS0 (my MB only has one RS232 port as it has an onboard VPU) for the serial connection. But I get the message: 1 2/14/2004 11:45:33 UPS Disconnect! Cannot get information from UPS. in the PRO_UPS.LOG file. The GTK/Gnome Monitor GUI window appears to work fine and can connect to the local upsd process but I get the following problem: UPS Comm Disconnect has warning red light beside it in the UPS status window. So the upsd deamon process cannot connect to the UPS. All the status UPS model details, graphs and dials are blank due there being no connection to the UPS... I have tried the RPM that someone built for the Fedora kernel (with even less success). I have tried the NUT RPM for MDK but apparently this doesn't appear to work either. (I tried making a special ups_serv user and putting the device and config files under this user). The support hardware section says that belkin driver should support my hardware but needs the proprietary driver installed first (which I did). Again the upsd process couldn't connect to the UPS. Anyone had any joy getting this model (Gold Series) to work with Linux? The Belkin Linux GUI is very nice if only it could see the UPS hardware... :-) -- Best regards, Robert mailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Belkin Gold Series UPS - its time to pull my hair out!!
Saturday, February 14, 2004, 3:46:34 PM, you wrote: On Saturday 14 February 2004 07:59 am, Robert Walker wrote: Hello all, I am trying to setup some basic shutdown software (i.e. oh look I am on batteries I had better shutdown soon :-) for a Belkin UPS I have hooked up to a Linux-based PC router. The model I have connects to a serial port on the PC. I am using MDK 9.2 on the router with a custom 2.4.22 TMB kernel with serial support statically compiled into the kernel. I tried the Belkin Linux software specifying ttyS0 (my MB only has one RS232 port as it has an onboard VPU) for the serial connection. But I get the message: 1 2/14/2004 11:45:33 UPS Disconnect! Cannot get information from UPS. in the PRO_UPS.LOG file. The GTK/Gnome Monitor GUI window appears to work fine and can connect to the local upsd process but I get the following problem: UPS Comm Disconnect has warning red light beside it in the UPS status window. So the upsd deamon process cannot connect to the UPS. All the status UPS model details, graphs and dials are blank due there being no connection to the UPS... I have tried the RPM that someone built for the Fedora kernel (with even less success). I have tried the NUT RPM for MDK but apparently this doesn't appear to work either. (I tried making a special ups_serv user and putting the device and config files under this user). The support hardware section says that belkin driver should support my hardware but needs the proprietary driver installed first (which I did). Again the upsd process couldn't connect to the UPS. Anyone had any joy getting this model (Gold Series) to work with Linux? The Belkin Linux GUI is very nice if only it could see the UPS hardware... :-) I have read that someone used the Bulldog software to get a Belkin gold to work. It is not a huge program and I think I could send it to you off list. Simple gui and looks easy to use, unfortunately I have a offbrand PowMax UPS and It does not configure. HTH Hi Dennis, It is the Bulldog software I am using. The Belkin driver disk does have Linux Bulldog software on it. The software almost works but not quite as the driver cannot find the UPS device (it seems to find the serial ports OK). I have contacted their tech support to see if they can help. -- Best regards, Robertmailto:[EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] CPU temperatures and cooling issues + memory
On Friday 06 Feb 2004 11:19 am, John Richard Smith wrote: Hi Robert, Yes OK then, have done that, Incidentally the replacement is a new straight out of the box 350W, nothing special, as to make, just kept as a spare for just such test purposes. Unforetunately it makes no difference at all. The first cpu was a quite new item in itself and the reason I didn't suspect it. I don't really suspect the PSU. Always open to correction though. I still have instability in high load Mandrake cpu situations. I have to underclock the FSB rate to achieve stability in M9.1, not in W2K though, and so I get ribbed by my family, I'm seen as a Linux geek to everyone around me. Though I noticed one of my daughters has recently started using xcdroast a lot , say's it works great. Oh well, great things from small beginnings, do proceed. You know it's a confidence thing ! But I digress. Yesterday I reseated the heatsink for the 'n'th time. This time I deliberately bent the retaining clip so as to exert more retention thrust onto the cpu, in otherwords the it took more of a push to retain the clip to the cpu. Current results are:- FSB100 == startup/desktop Full CPU load cpu 34C/41C 49C Case25C/30C 35C fan 3624 3668 Vc1.74 1.74 Vh1.25 1.24 Vp3.315 3.37 4.85 4.84 12.3 12.3 -12.40-12.40 -5.07 -5.07 These are not bad temperatures to my mind. The full load(99%) is achieved by running a mencoder job rather than mprime. Seems like clip retention pressure makes a difference But no need to exagerate it ! I am currently unable to attain desktop in FSB133 I get boot messages, ide task - not syncing stack ( loads of number) calltime kernel panic, killing interupts handler-not syncing Food for thought there don't you think ? CPU temp is well within tollerances now and was withing AMD's own tollerances anyway. PSU probably fine. I'm open minded about memory, though it will pass the memtest. I haven't the faintest idea what syncing is about ? Guess that is the next thing to find out about. John Sorry John, I didn't realise that Windows was running OK... (I presume it runs OK at full CPU load.) Have you tried running a different distro (say Koppix from CD)? Is ACPI enabled? Try switching this setting on. What kernel are U using? I presume it is 2.4.x series :-) Is it stock or custom? You might try a custom kernel with ACPI statically linked and APM left out completely (APM can potentially clash - although I think this problem is fixed now in the 2.4.x kernel). Does dmesg have anything useful in it? Maybe you could post it here? Whats lurking in your /proc/ directories (interrupts, pci, etc.)? I am just clutching a straws here but it does sound like the Linux interrupt hander is shagged. So first place to check is ACPI settings I guess... Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] CPU temperatures and cooling issues + memory
On Wednesday 04 Feb 2004 9:08 pm, John Richard Smith wrote: I agree with what Tom is saying. But a CPU that isn't overvolted or overclocked should be OK at an idle temperature of 48C. I would still suspect a PSU issue. Its worth checking by borrowing someone else's just to rule this out. Modern PC components draw massive amounts of current in surges. If your PSU lets the voltage drop slightly too much when this happens (ie not matching the ATX standard of -+5% tolerance) then you get system instability. Just my $0.02. Robert I don't suppose there is a way of testing that in some way. Could I set up a test rig to record power surges in overload use, or something. to hell if it surges and siezes up. as long as I've some stats to analise and present a case, if only to myself. gkrellm does running voltages, but I find reading them near impossible. Sensors does one time reports I can read, but not running voltages. I don't mind condeming equipement, but I don't like, condeming without reason. I've got spare PSU's that's no problem, but what is there to say the replacement is not just as bad ? John Hi John, You said that the problems happened when the system was under a bit of stress (high CPU load). I would trying using some of your spare PSU's under these conditions. You probably won't see the problems in the voltage under any system monitoring software (they may be of too short a duration - if they are occurring at all). You aren't trying to do a double blind placebo trial here You just want a PC that works!! (PS thats one way to define the difference between an engineer and a scientist :-) So just try out the other dodgy PSU's. If they haven't been used to much they should be fine. The cheaper ones do seem to wear out over time :-) Everything in your system depends on stable voltages from the PSU (RAM, MB and CPU) so it is the lowest common denominator for system stability!! Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] CPU temperatures and cooling issues + memory
On Wednesday 04 Feb 2004 3:47 pm, John Richard Smith wrote: That is so interesting Tom, I had wondered whether most of this attention to make and model would be mostly hype. I currently have an all ally evercool ND15-715CA it has a 70mm fan controlled by bios. I think the airflow seems good. No reason to think it is getting trapped. The only thing about this heatsink that has me questioning it is the power of the retention spring clip itself. Compared to other makes and models I've fitted before, the retention clips are too easy to fit to the cpu. No, I hear you say, so what. Well the heatsink , if you notice carefully, sits in situe on 4 small rubber grommits about 3mm each in diameter.So the heatsink has to be held really firmly against them to make the heatsink BED down flush onto the cpu. If insufficient pressure is exerted by the retention clip there might be a possibility of the heatsink not fitting flush onto the cpu. I know, the heatsink paste ought to take care of it but maybe not enough ? It's only a thought. I already have both the case sides off , don't make much difference though, about -1C is all I get overall on the case temperature. Case airflow is in at the front low down under the harddrives and out either through the PSU, or a vent in the rear of the case undet the PSU. Entirely conventional in layout. I have no means of removing the top. I don't know what else I can do without getting surgical . The computer sits on my bench beside me which means about as good a spot as I will get for general room airflow. So what I'm reading from your experience seems to suggest I ought to be getting better general temperatures than I am getting, but with the one possiblity of the strength of the retention clips , I cannot see what I'm doing differently from you and yet I would feel more comfortable if my cpu temps were held well withing the 40 to 48 range under all load conditions. Hmm. John John I agree with what Tom is saying. But a CPU that isn't overvolted or overclocked should be OK at an idle temperature of 48C. I would still suspect a PSU issue. Its worth checking by borrowing someone else's just to rule this out. Modern PC components draw massive amounts of current in surges. If your PSU lets the voltage drop slightly too much when this happens (ie not matching the ATX standard of -+5% tolerance) then you get system instability. Just my $0.02. Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Is having LILO/GRUB on the MBR harmful to XP?
On Wednesday 04 Feb 2004 4:59 am, Guy Rouillier wrote: Robert, mind if I piggyback on this question? I have a new AMD64 laptop, and it came with XP Home (of course!) I want to put XP-64 as well as Mandrake 32-bit and 64-bit. Can lilo or grub handle copying files before starting to boot Windows versions? Here's the rub: all versions of Windows derived from NT have two critical startup files: ntldr and ntdetect.com. These are incompatible between the 32-bit and 64-bit versions, so I need the boot mechanism to copy in the right versions from backup directories before kicking off the boot process. System Commander does this, and I just learned the hard way that BootMagic (comes with Partition Magic) does *not* gr. Seeing as I have to start all over, I thought I'd try doing it with grub. Thanks. Greg, If I read your question right you want to quad boot your machine? That is an interesting idea :-) Might be difficult to manage booting into the 2 Windows partitions though. (Not sure really). I think you might have to move this question to the expert mailing list if you get stuck :-) It would be difficult for Lilo/Grub to see the windows files you refer to as the Windows partitions wouldn't be mounted by Linux at that point. Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Get DJBDNS to compile
Hi I am trying to compile the DJBDNS (aka TinyDNS) package to try out. However I get some linking errors about lack of 'errno'. Isn't that in the standard gcc libraries to translate system call error numbers?? Maybe this package doesn't include the correct libraries for the GNU C compiler?? Barfs at the the linker stage when compiling the daemon-tools package which the main package is dependent on: == Linking ./src/* into ./compile... Compiling everything in ./compile... ./load envdir unix.a byte.a envdir.o(.text+0xd5): In function `main': : undefined reference to `errno' envdir.o(.text+0x1b3): In function `main': : undefined reference to `errno' envdir.o(.text+0x1cd): In function `main': : undefined reference to `errno' unix.a(openreadclose.o)(.text+0x3f): In function `openreadclose': : undefined reference to `errno' unix.a(pathexec_run.o)(.text+0xf2): In function `pathexec_run': : undefined reference to `errno' unix.a(pathexec_run.o)(.text+0x169): more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [envdir] Error 1 Copying commands into ./command... cp: cannot stat `compile/svscan': No such file or directory === I am just following the instructions to the letter and not trying to be clever :-) Any ideas? Maybe I misconfigured my compiled kernel or something? Cheers Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] CPU temperatures and cooling issues + memory
On Tuesday 03 Feb 2004 1:47 pm, John Richard Smith wrote: CPU temperatures and cooling issues+ memory === I decided to start this thread again. The precious thread had become a bit rambling. Well, My cpu / heatsink and case temperatures are still regarded by the techies at AMD as withing tollerances. I am not happy with the conclusion though. These are:-- Case temp 28C with CPU temp of 49/50C on normal desktop loads. Case temp 28/32C CPU temp of 56.5 on 99% Loads (and siezure) I am not happy with these temps. I would like to see case temps of 28C constant and cpu temps of low 40's rising to middle/upper 40's under full load scenarios. I already have two 8cm case fans ,in at front, out at back. Hi John, I usually throw away the stock coolers and buy a decent one. However I do run my Linux standalone router (AMD Athlon 2000+) with its stock cooler and fan adapter so I can use a higher CFM 8cm fan. You could always use a 6cm-8cm adapter+ 8cm fan to increase the airflow over your heatsink. For an Athlon 1800+ which isn't overclocked you shouldn't really need a new heatsink. However AMD are taking out of their backside if they think that a patch is the way to bond a heatsink to a CPU!! Always use high grade heatsink compound (I always use Artic Silver - but thats just laziness :-). If you do want to spend lots of money Swiftech make very nice copper heatsinks :-) This is unlikely to be the root cause of your problem. Athlon CPUs do run hot. So do P4's for that matter :-) My laptop (P4-M) has a cooling hystersis which switches in at 54C and off at 46C. I built up a Athlon 2500+ based PC for a friend. Even when its not overclocked and with a huge Coolermaster blower-type fan it still runs at 47C idle!! Have you thought of a powersupply issue? The PSU will be under strain when your CPU is drawing a lot of current (mainly to heat your house). The PSU in another PC I built even tripped the MAIN circuit breaker in the flat :-) The powersupply became more and more unstable (PC just died occasionally). That powersupply was rated at 400W so think QUALITY not POWER!! Antec, Q-Tec, Thermaltake, etc. are good. Make sure your RAM is branded: Crucial, PNY, Kingston, Samsung, Panasonic, Corsair, etc. In the first PC I built I used generic DDRAM. I had to replace one the modules within a year because it had died :-( Its hard to tell with yours - like you say it may be outsourced Samsung production. My advice would be to try getting hold/borrowing something like a cheap Q-Tec PSU and/or a crucial DDRAM (PC2100) stick to test what is actually wrong. Then replace these parts (one at a time). Linux has kernel support for avoiding dodgy areas of RAM but I would rather have RAM that works :-) Hope that helps. Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Is having LILO/GRUB on the MBR harmful to XP?
On Tuesday 03 Feb 2004 8:47 pm, David Reid wrote: I'm preparing to install Mandrake 9.2 to dual boot with Windows XP on my laptop. It's my first install and I've reduced the NTFS partition using Partition Magic 8.0 to make 9Gb of the 20Gb disk available. Ideally, I'd like to install LILO/GRUB on the MBR but I've read reports of non-windows boot loaders being considered a virus (by XP or the BIOS or Virus software I'm not sure which) and advice to retain the XP boot loader and to place LILO/GRUB on the boot partition. Does anyone know if this is still a consideration? I'd really appreciate it If someone could also tell me whether it's easier/better to create the Linux partitions with Partition Magic before starting the install or to leave the install process to create them for me. Thanks, David. Hi David, I have a dual boot Windows XP Pro and MDK 9.2 on my P4-M laptop. I had Windows XP Pro installed as a single NTFS partition (about 36gig). I just resized the Windows partition using the Mandrake partitioning tool (why use Partition Magic?? :-) and made a second partition (native Linux ext-3). I didn't even bother defraging the Windows partition!! I didn't bother with a shared FAT partition as Linux support for reading from NTFS is excellent or a swap partition (the laptop has 1 gig of RAM). I just installed MDK with a Lilo bootloader and it works great. I also have MDK Linux installed on a PC I use as a router/gateway with a cheapo MSI motherboard. This MB has a virus checker in the BIOS which checks the MBR for nasty viri. Unfortunately it thinks Linux is a virus so I just turned it off (its probably only needed by M$ Winblows users anyway :-). So don't worry about using the MBR... budge over Winblows and make room for a real OS :-) Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] MDK 9.2 - Lost my open windows applets on Gnome panel on my Desktop :-)
Hi I tried to install the SUN Java add-in for web browsers and it went horribly wrong (it think it was meant for an old version of RH... Anyway I managed to lose the open windows buttons on my GNOME panel at the bottom of the screen. I know this is a bit stupid but I am new Linux and still finding my way around :-) Its annoying have to switch between apps using ALT-TAB!! How do I get the Applets back? Is it in one of the .gnome config files in my home directory or something? Cheers Robert = == Registered Linux User : 333230 MDK 9.1 Kernel 2.4.21 Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Getting CD sources back ( was: Update Doesn't Update)
--- robin [EMAIL PROTECTED] wrote: Anne Wilson wrote: On Saturday 29 Nov 2003 10:22 pm, Derek Jennings wrote: On Saturday 29 Nov 2003 7:39 am, Paul Harrison wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Harrison wrote: | Derek Jennings wrote: | | On Friday 28 Nov 2003 10:30 pm, Langsley T Russell wrote: | | | | | | Note: Do *not* do what it says about urpmi.removemedia -a | | or else | | you will | | | lose your CD sources. | | Now this is what *I* did! How do I put them back on? Please ignore me - I am in danger of becoming an annoying newbie, and besides I already have broadband, therefore unneccesary!! Paul Well I might as well tell you anyway. Anytime someone asks this question I can never remember the command so I go to the newbie archives and search on urpmi.addmedia Thats how you do it :-) derek There's a lot of info on http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi but I'm not sure that repairing that damage is there. Perhaps someone could add it? Why not just go to the Software Media Manager (via the KDE menu or MCC) then choose Add and removable device? Sir Robin -- Certitude is possible for those who only own one encyclopedia. - Robert Anton Wilson Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com I am sure this is rehashing old information and also should point out I don't really know what I am doing... But this hack seems to work for MDK 9.2 :-) 1) I copied the CD's to my home directory into directories cdrom1, cdrom2 and cdrom3: cd /home/your home #Insert Disk 1 into CD drive cp -R /mnt/cdrom/* cdrom1 #Insert Disk 2 into CD drive cp -R /mnt/cdrom/* cdrom2 #Insert Disk 3 into CD drive cp -R /mnt/cdrom/* cdrom3) 2) I then used the MDK Software Media Manager to point to them. Just add entries for MDK 9.2 Linux CD1, ... CD2 and ... CD3 (or whatever) and configure the URL/hdlist as follows: CD1: file://home/your home/cdrom1/Mandrake/RPMS ../base/hdlist1.cz CD2: file://home/your home/cdrom2/Mandrake/RPMS2 ../../../cdrom1/Mandrake/base/hdlist2.cz CD3: file://home/your home/cdrom3/Mandrake/RPMS3 ../../../cdrom1/Mandrake/base/hdlist3.cz I know this is a complete hack (a more elegant solution would be appreciated :-) but it does seem to work. As the indexing lists are all on CD1 this saves you buggering about swapping CDs over :-) Robert = == Registered Linux User : 333230 MDK 9.1 Kernel 2.4.21 Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com