Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

801.

Solve : Need Help for a Class Exam?

Answer»

Could someone help me with these questions? I have a class exam coming up on Wed., and there will be some questions covering Linux commands and such. I have no experience with Linux, and the course didn't really cover anything on it but just the history and overall what Unix and Linux is. I haven't taken my COBOL programming class that's supposed to help me with this either. Here are the questions the instructor gave me:

1. What command did PID 2 execute?


2. What command(s) would you type to change to directory called /usr/doc if you are currently in the /etc directory?


3. What percent of /home is free space?


4. What date and time did the first user logon?


5. What appears on the first line of /etc/esd.conf?


6. What would you type to display the contents of /home so that it stops after the first screen and allows you to scroll down through the list?


7. Is /usr/man a directory or a file? How do you know?


8. Who can execute /usr/man?


9. Execute who –z. The system provides you with instructions on how to receive additional help. Execute the command. What is the email address the resulting instructions say to use to report bugs?


10. According to the online manual, what is the purpose of the abort command?


11. What is the name of the first file in /usr?
12. What command would you type to create a directory called /usr/test_area?


13. What if anything is wrong with the following command?
copy /usr/test_area/test1 /usr


14. What date was the server last booted?


15. What command do you type when you want to exit a Linux session?


16. How many files (not directories or links) are in the root directory?


17. What does file does OPT in the root directory point to?
This is not a simple question. This sounds like a large portion of the test. If so, then it must be covered in the BOOK. Good luck.My exam will cover 4 chpts. plus these Linux command questions. In all, I would say that they will make up about 20% of the questions on the exam. Probably about 4-6 questions.

My teacher had logged into the school's Linux server, and walked us through some examples...not any of the above questions though. I didn't have a clue as to what each thing meant when she entered some commands.I am not that good with linux but i do know that all most all the anwsers to these question will be able to be found with a google search. this may also help http://www.digilife.be/quickreferences/QRC/Bash%20Quick%20Reference.pdf
mitchd,

This original POST is over a month OLD. The class and exam are over, I'm sure. Quote

mitchd,

This original post is over a month old. The class and exam are over, I'm sure.

And s/he failed, of course
LOL!

www.homework.com
802.

Solve : Why should I use Linux??

Answer»

Alright. I'm downloading, but I may need to go to bed before it's done.

What's VectorLinux like, anyway?I just had a nice chat with the guys at the Kubuntu forums. They suggested I d/l the 64-bit Kubuntu. I am doing that as well as d/ling VectorLinux. I was going to sleep while this was downloading (It takes a while to download 1 GB) but I can't sleep with the blue light coming from my box. So I'm awake at 12:44 AM. Wait... it's DST, right? So it's 1:44. @[emailprotected]#!

I'm temporarily stopping the download of VectorLinux so I can try this out.

/me is very tired.
/me will be very short-tempered, esp. if this doesn't work...

[edit]My brain is too slow. I realized I still have to write the thing. I'm finishing up my download of this other Linux, but I'm hoping for Kubuntu for no other reason than that's what was reccommended... or maybe I feel good vibes from Kubuntu, or... zzzzzJust remember, if the issue is downloading and burning - just PM me an address and I will drop some CD's in the mail.

If the issue is installation, we will all be right here!
The AMD install didn't work. I'm going to try VectorLinux. But I accidentally downloaded some other weird thing (don't ask) so it'll take me a bit to get it.

Has this happened before? The whole lock-up at boot thing? Just curious.

GX1_Man, you have no idea how tempted I am to take you up on your offer. But I'd like to get this to work - that way, you don't need to pay an outrageous postage fee (Not sure what that fee is in Oklahoma, but if it's as high as Oregon or higher it's outrageous).

You will not believe this. What should I find in my room but a copy of Nero OEM Suite! It came with my PC, apparently, but NEVER INSTALLED it because I never knew what it was. Maybe it was a good thing my bed collapsed after all; otherwise I might never have found it.

Stupid demo...Disks plus postage would be less than $4. You're worth that to me Dilbert! I'm flattered. [smiley=shocked.gif]

Hey, I FIGURED out my Nero issue! (Kind of, anyway) For some reason, I have Nero Express - but not Nero! Don't ask me how this is possible - I don't know. OK, I finally got a brain in my head. I'm doing now what I would do with a hardware issue - troubleshooting. I've downloaded the full version of VectorLinux, but I won't install it. If the install begins to succeed, I obviously have a faulty download of Kubuntu. However, if I get a similar or identical problem, I'll know that I am at fault. In that case - I'd have to rely on GX1_Man's more-than-merely-kind offer.

I have a hypothetical question about my hard drive and Linux/Windows. Let's say something goes terribly wrong and Windows crashes, forcing me to format that drive to access it. (Considering Windows' history, this isn't too far-fetched, though it's never happened to me) Even though Linux cannot read the files and open them, would it be possible for me to use Linux to copy the needed files/programs onto a special folder in the D: drive, format C:, and move the files back without damaging data?

[edit]Alright, now I know the culprit. It's me. I can't figure out how this is, but VectorLinux locked up too. Shouldn't it at least do something a few seconds after I hit the enter key? I'm going to try one more thing: I'm going to make two Kubuntu discs, and one of them will be extracted. That's the only thing I can think of now. If neither works, GX1_Man can expect a PM.[/edit]

/me has PMed GX1_ManQuote

I have a hypothetical question about my hard drive and Linux/Windows. Let's say something goes terribly wrong and Windows crashes, forcing me to format that drive to access it. (Considering Windows' history, this isn't too far-fetched, though it's never happened to me) Even though Linux cannot read the files and open them, would it be possible for me to use Linux to copy the needed files/programs onto a special folder in the D: drive, format C:, and move the files back without damaging data?

Yes, you can read NTFS files, but not write them to an NTFS drive. You could backup to a CDROM, across a NETWORK, to a thumb drive, etc. with a Live CD. I do recommend someone to back up ALL important files before attempting to load ANY new operating system, so take with a grain of salt. If you have any imaging software, use it! Otherwise, kust back up those important data files, IE favorites, address book, etc.

By the way, Nero Express is a subset of Nero. That is to say, if you have Nero you have them both, but if you just have Nero Express, then that's all you have. However Nero Expres does a great job burning ISO's as well. Were you getting messages that your file had burned correctly when Nero Express reported it was done?

Dilbert, from your references to Konqueror, can I take it that you have managed to install Kubuntu?

If so, bring up the package manager. (Main 'start' menu under System, I think.) In the package manager, find the OPTION to edit the sources. Uncomment everything except the multiverse sources. Then use the update button.

Once that is done, find the Synaptic package manager (do a search). You'll thank me for this. Install it. Once it's installed, close that package manager and open up Synaptic instead (same location in the main menu).

You may then spend hours and hours and hours choosing which of the gazillion programs you want to install.

When you're done, get yourself to a shell prompt ('command prompt') and type:

Code: [Select]apt-get dist-upgrade

apt-get upgrade
You'll then have all the security patches installed and you're done.

Warning: it took me many days to fully install Kubuntu and all the extra bits and bobs for a system for a friend a couple of weeks ago.
803.

Solve : Antivirus issue?

Answer»

I've installed AVG antivirus for Linux on my machine. I took Rob's advice and decided to have some on...as an extra precaution. Anyway, it installed and runs a scan fine. My problem is that in the GUI interface AVG won't let me run an update. I checked the properties on the folder and it is owned by root.

Do i need to run an update as sudo from terminal to get it to update? What might the syntax be?

Thanks

Alan <>< Oh my goodness, no idea! I didn't even know AVG did a Linux antivirus. You CERTAINLY wouldn't expect to be able to update the virus DB without ADMIN privileges.

Aha. A quick search reveals >this page<. Your ANSWER is in there.Thanks Rob

You're my HERO...sorta

Alan <><

804.

Solve : Internet Doesn't work on Red Hat 7?

Answer»

Pardon?after i typed "ifup eth0" it said "Delaying eth0 Initialization." after i tried ifconfig it said the same thing as beforeIs this a laptop you're using?

What happens if you try "ifdown eth0" first? Is your DHCP server up and running?YES, it is a laptop I'm using. When i try "ifdown eth0" nothing happens, it doesnt give a response.What's a DHCP server?Let me ask a DIFFERENT question. How did you configure that interface? Have a look under (I think) /etc/network. There is probably a file "eth0" or something like that. What's in it? What kind of network hardware do you have? If it's PCMCIA, is the PCMCIA system running?

DHCP - this is where computers ask another COMPUTER for their IP address, gateway, DNS SERVERS, etc., rather than being manually configured.Nothing is working, and i think trying to reinstall Windows 98 is much easier than trying to make the PCMCIA card work, which is clearly the problem since that DHCP thing OPTION in the netconfig doesnt work. Screw this.As you wish.

805.

Solve : Konqueror and other Kubuntu questions?

Answer»

OK, to get myself familiar with how to install programs (and to stop that annoying lag), I downloaded an nVidia GeForce driver for Linux. I tried to install it, and got this message:



So, what does that mean to me? Install whatever it takes. So I downloaded... that... and tried to install it.

The instructions, I copied off a web page and put in a TXT file. The output of following those instructions is at right. Any ideas?



EDIT: When it says "make toolbar=", I realized I goofed on the previous line and hit Ctrl-C. Then I started over.It would be nice if nVidia and ATI provided a better driver install routine, but they have only MINIMALLY recognized Linux at this point. Were the native drivers in the distribution not sufficient? What were you trying to run?

Personally I would suggest you get familiar with general Linux navigation, basic commands, etc. before you get into this or kernal recompilation. Have some fun FIRST!What I'm trying to fix is the lag I get when I so much as drag the cursor to select multiple icons. Since Linux was touted as being faster, I assumed that it was my drivers.

But I'm not trying to install drivers at the moment. That was background info. I need the binutils... thing... installed.

As for fun, I'd love to, except that my fun usually comes in two categories:

1. Games

and

2. Web surfing

#1 is out - I don't have any Linux-compatible games. I also know that (obviously) web surfing is out until Konqueror is up. And to get Konqueror up I have to get this special tool so my Windows-ready WiFi will work on a 64-bit Linux. And to do that I have to figure out how to install things. I figured I'd get the ball rolling. But I think I can have fun. In fact, after I check the Kubuntu forums one more time, I'll do just that until it's time to go to bed. Then I'll secretly log back into Windows and check the forums. Just like always.See what happens when you tell me to have fun??? My Creative Sound Blaster Live! 24-bit isn't outputting any sound. These are good speakers. I tried to set it up in the Settings thing (I had to log in as root so the settings would not be grayed out - I'm sure there's a konsole workaround) but had no LUCK. I assume that's because - you guessed it - no drivers installed. But when I searched their SITE for drivers, I got this:

Sorry, no Creative updates are available for the selected query.

Ditto for firmware. Am I sentenced to a OS of silence?Open Konsole

su root
(password)
alsaconf


after that is done

alsamixer

What happens now?

Did you have sound at any point?Well, no... but I do get "command not found" errors...Dilber, don't start messing about with installing random packages. Kubuntu has a massive package base. Did you follow my instructions re installing Synaptic? That's your starting point for installing anything. You will be able to do a search in Synaptic to confirm whether binutils is already installed (I suspect it is).Forgive me, I must have missed it. I'll download it now... done... burning... done... ah, darn it. It's the end of Spring Break, and I gotta get back to school. Whatever, I'll install it when I get home. Thanks. I don't know how I missed it...OK, I just realized something. Synaptic requires apt, which is for Fedora Linux. Is this a problem?Ununtu is derived in part from Fedora, and USES apt as its main package manager. This is not a problem.

806.

Solve : Duplicate packages with different versions?

Answer»

I am running a server with Red Hat Enterprise Linux ES release 3 (Taroon Update . I recently noticed that I have some packages with similar names, but with different VERSIONS. Examples (from rpm -qa):

bzip2-libs-1.0.2-11
bzip2-libs-1.0.2-11.EL3.4

db4-4.1.25-8
db4-4.1.25-8.1

gd-1.8.4-12
gd-1.8.4-12.3.1

mysql-3.23.58-1
mysql-3.23.58-16.RHEL3.1

... and more. Is this normal?

I run up2date on a pretty regular basis, which may have something to do with this. Is it best to leave them ALONE? Or should I remove the older versions? Any tips or suggestions are appreciated.Are the packages of similar sizes, or are the newer ones very much smaller? Smaller packages indicate that they are purely updates/security patches. If the new packages are larger than the originals then they're probably complete packages, and yes, you can delete the previous packages.

Actually, if you're seeing packages with names ending in .RPM, you can probably delete the lot of them. If they're installed, the RPMs are no longer required, or if they are required, they can be re-downloaded.Hi, Rob. Thanks for the info. The questions I have are about the installed packages that I see when doing a query with rpm (the command "rpm -qa"). So they are not file names at all, but packages listed in the RPM database. It seems LIKE up2date should update the packages and then update the database to remove the old information.

I did a test by removing one of the older packages (with rpm -e), and it did delete files off the SYSTEM in the process. So I don't know if I should leave it alone and hope it doesn't cause other problems, or remove them trusting that the package manager is smart enough to know what versions of which files to keep, and which versions to delete ... or maybe I need to detete all versions of duplicate packages, and then just re-install the newest versions.

Any ideas?Rule of thumb: if it works fine, don't mess with it!

I don't know enough about the RPM database to answer your QUESTION alas - someone at the RedHat forums could.

807.

Solve : Selecting Linux is confusing?

Answer»

I wanna try Linux out but the huge list is confusing. Once I did select one I cant seem to find the download area.. Linux requires more then one CD? I do not want to use a live CD I want to install it on my computer. If anyone can recomend one and give me a download link and tell me how many Cd's I need I would greatly appreciate it. I like one with a friendly user interface like windows and not like text the one I tried was text.. I guess I must of downloaded something wrong...

Computer Im going to put Linux on

Intel Pentium II: 300mhz 400mhz avalible L2 Cache 256Kb
RAM: 32MB 96MB avalible
Westell Digital 2.1gb Hard drive
Video Card: 2MB
CDROM: Yes
Floppy: Yes
Ethernet Card: Yes

Anyone can give me a link to download and one that will work for these system specs I greatly appreciate it. It is just a computer I built out of leftover parts so it doesnt have anything fancy on it.with that minimal configuration (you're not really giving it a fair shot by the way) Linux will run fine in text mode, but the KDE or Gnome desktops will be unpleasant and SLOOOOOW. Another Window manager MAY be tolerable. (Would you run Windows XP on that and expect a GOOD result?)

Anyway, start with slackware 10.2 is the latest. (9.1 is still downloadable and can be better for meager resources so try that if this doesn't work out.) The full 10.2 takes over 3 gig of HD SPACE (other distributions take much more, so you would really have to prune ti fit that 2.1 drive. Again, Windows now requires what 2 GIG's for just the OS. This is also with many applications.

It is a 2 CD download and you get it for free here:

http://iso.linuxquestions.org/distro.php?distro=1

There is a LOT of good support online. Just know what your hardware is goinfg in, an ask if you have questions. The only requirement is you can't just run it for 15 minutes and say "I don't like it....it's not like Windows".

You can also download and run DSL (D*amn Small Linus) quicker on that machine.

http://www.damnsmalllinux.org/download.html

Broadband connection is suggested, but there are SOME workarounds if you are stuck with dialup.

Be sure and post back or PM me.Well I am using DSL to download it. I am going to download it at night where everyone is asleep and no one is using bandwidth but me. As for the computer not having much specs... I really dont have a computer any faster really. All my computers are 5 years OLD. This is the best computer I have:

Intel Celeron 500mhz L1 Cache 16Kb L2 Cache 128Kb
RAM: 128MB
Video: 8MB
Hard Drive: Maxtor 12gb
CDRW: Yes
Current Os: Windows 98SE Service Pack ?

I plan to buy a new hard drive seeing as 12gb is inadiquite but I do not know what size i want or what I will pay I have my EYES on a 120gb Segate for $100. But I do worry about preformance on these computers
Just leave 5 gig unallocated and load in Slackware after Win98. You'll do fine with that.Fedora Core seems nice. It runs quite well on my 500Mhz/384MB RAM Intel Pentium III Compaq Deskpro. It even detected all of its hardware, apart from the sound card, from what I could tell.Raptor, I am so proud of you. You finally gave it a go. And you can still have Firefox too!Yes and I need help.

My Linux book didn't cover that error. You need help with sound?I didn't get to that chapter yet, so no.

I need help with this

808.

Solve : Trouble mounting drives in CentOS?

Answer»

Hey guys. I've had to compromise and install CentOS 4 (had to get back into Linux, too much Windows). Anyway...I'm having some trouble mouting my 3 drives. 2 of them are NTFS and 1 is FAT32. Here's what my "fstab" has in it.

Code: [Select]# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda1 /windows/C ntfs ro,noexec,auto,users 0 0
/dev/hdb1 /windows/D vfat gid=100,umask=002,noexec,nosuid 0 0
/dev/hdc1 /windows/E ntfs ro,noexec,auto,users 0 0
/dev/hdd /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

The drives I'm trying to mount are /windows/C, /windows/D, and /windows/E. /windows/D does mount but when I try to access any files on it my file browser freezes.

Any help would be appreciated.

Oh, and by the way, yes, I have made the directories /windows/C, /windows/D, and /windows/E in the root file system thing.Try changing 'vfat' to 'auto'.

Are you sure this DRIVE is ERROR-free?I am not sure that it is error free. And the fact that "fsck" isn't WORKING doesn't help the matter any.

I'll try out that auto thing now and let ya know how that goes.

Also, what should I do about the NTFS drives? There is stuff on there that I need to be able to read (my music mainly).

Thanks for the help.Check to see is CentOS has an NTFS package (i.e. something like ntfstools). Pretty sure NTFS support will eventually come as a standard kernel module.

fsck isn't working? That's worrying.

Use scandisk from Windows to check the drives first.I ended up dropping CentOS all together and am now back into SuSE 9.3 , at least until I can find another good distro that actually works for me.

By the way, I ended up getting a new monitor and Debian still wouldn't work, even after selecting the right resolution and refresh rate. Oh well.

Thanks again for the help.The detection routines must be having difficulty with your GRAPHICS card. Manual tweaking is required, but that's not an area I have an awful lot of experience in, since most of my Linux experience is with servers, i.e. non-GUI.

SuSE is a pretty good distribution, to be honest, although if I were you, I'd be looking at OpenSuSE or possibly even SUPERSuSE instead. What's the difference between SuSE, OPENSuSE, and SUPERSuSE? I mean, they're all SuSE aren't they?They differ in significant ways. OpenSuSE is 100% open source. http://en.opensuse.org/

SUPER is the SuSE Performance Enhanced Release. A less active project, and not for production use, but you might like it: http://en.opensuse.org/SUPERLooks promising. But, it is like the original SuSE or am I gonna have to get used to some new things? Will I be able to use apt or yum or something like that?

EDIT: It seems that the download links are busted (or at least for me). Is there a mirror for it?Quote

Looks promising. But, it is like the original SuSE or am I gonna have to get used to some new things? Will I be able to use apt or yum or something like that?
They're very similar, and built on the same base packages. SuSE's package/setup program always used to be YaST, which is one of the most user friendly I've tried. So that's what you want.

Quote
EDIT: It seems that the download links are busted (or at least for me). Is there a mirror for it?
Did you try >here<?Thanks for that link. I'm about to start DOWNLOADING it. I'll let ya know how it goes and will post if I need help with anything.

Thanks again.
809.

Solve : any examp. how check if alll.txt there after unzip?

Answer»

Can anybody please give me some shell script EXAMPLE of how to make sure all 13 NEEDED .txt are EXISTED after unzipping the file.
THANK YOU !! not very sure what you actually want..

#!/bin/sh
numtest=13
fullpath=/someunzipdir
#....
# doing UNZIP
#....
# check for unzip successful
if [ $? -NE 0 ];then
exit
fi

unzipnum=`ls -1 $fullpath/*.txt | wc -l`
if [ $unzipnum -eq $num ]; then
echo "all files there"
fi
THANK YOU !!
It may help ...
I know that .zip file should have 13 .txt files, I need to have logic to be sure that all 13 files were sent
(zipped )

810.

Solve : installing Suse Linux 10.0?

Answer» HELLO,
I cannont install Linux because, in spite of changing the BIOS to look to the CDROM first, it won't. The computer is 6 years old, a Pentium III 386, 512mg ram, 60g harddrive, partitioned into 2 30g drives, with XP installed on C. I do have a floppy (3 1/2), as well. Any HELP would be greatly appreciated...thanks!
SusanAre you saving the changes made in bios correctly, SOMETIME it's a little convoluted to actually save them.
A bit like 'enter to exit' if you know what I mean.
Read the screen & think like an idiot, I mean that in a nice way & I hope it helps.Yes, I have saved the settings correctly-no offense taken. I actually think it is my bios, my son (a computer graduate in Canada)told me that because the computer won't boot to a cdrom, you can update your bios & sometimes that will help. But it is difficult -wish he could fly here & FIX this for me! Thanks for your input, if you get more ideas, let me know. I am going to call the support number and ask if they can e-mail me the files NEEDED for a floppy boot. Then I can get going with this. I am a total beginner for Linux but not a newbie to computers, I have worked with them for more than 10 years, and know a fair amount....thanks again. Well, an update for all.....after complaining repeatedly to Novell, I finally got some help. They sent me to a site to download a file which I then had to rawwrite to a floppy. Low and behold, it worked, I installed Linux Suse 10.0 and all is working fine. I do feel that I shouldn't have had to go through 10 e-mails to them to get what I should have been given in the first place, when I called them. If anyone wants to know the name of the file, let me know & I can e-mail you.
811.

Solve : HOW TO CLONE VENIX PARTITION?

Answer» HELLO there,

Can some one HELP with the following:
NEED to create an image of VENIX partition, it's an only one partition on Disk-O-Chip drive, 128Mb.

Also, almost forgot, I'm bit slow and not FAMILIAR with linux/unix commands, so if would be so kind and explian details or at list point to the good text on this subject.

Thanks,
d123
812.

Solve : ) asinstalling Suse Linux 10.0?

Answer»

Hello,
I cannont install Linux because, in spite of changing the BIOS to look to the CDROM first, it won't. The computer is 6 years old, a Pentium III 386, 512mg ram, 60g harddrive, partitioned into 2 30G drives, with XP installed on C. I do have a floppy (3 1/2), as well. Any help would be greatly appreciated...thanks!
Susan

813.

Solve : Firefox in SUSE 10.0...........render really small?

Answer»

I just tried out SUSE 10.0 and for the most part I don't have any real COMPLAINTS except that the Firefox browser squishes the pages down really small. It looks more like an arial photograph of a web PAGE. how do I make this LOOK normal?

thanksCan you give us an example SCREENSHOT?

814.

Solve : Unix FTP File Transfer Validation?

Answer»
I need to find out how to use Unix FTP to exchange pulling and putting files and validating the size of the files before allowing them to be processed. Does anyone know how to do this?I have linux server, while I WANT to ftp it gives FOLLOWING MESSAGE. must perform authentication before identifying user.just in CASE, here is an examp. of how to ftp the file from remote server...

## Get current files from 'ABC' FTP site.
#######################################
clear
echo "Please wait while downloading files..."

ftp -in 111.111.11.11 <<-endftp
user ababababa/cdcd333
binary
get *.txt
bye
endftp

ls

if [ $? -NE 0 ] ; then
echo "ERROR: Download of files failed."
exit 1
else
echo "File download complete."
echo " "
fi
Quote
I need to find out how to use Unix FTP to exchange pulling and putting files and validating the size of the files before allowing them to be processed. Does anyone know how to do this?


when you say" validating the size of the files", do you mean
1) for upload => get size of local file, after upload, compare with destination file size?
2) for download=> check destination file size against a "known" size? if size is correct, then download ?

815.

Solve : Hangs on: Initializing RT netlink socket?

Answer»

Hi, I am new to linux.
I installed red hat linux 2.4.20 on my pc. It works fine initially. Then one time after I restarted pc, it hangs @ Initializing RT netlink socket.

THis is the doc interface I saw:

task migration cache decay timeout: 10 msecs
SMP motherboard not detected.
enabled ExtINT on CPU #0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1195.5568 MHz.
cpu: 0, clocks: 1328395, slice: 664197
CPU0
Starting migration thread for cpu 0
smp_num_cpus: 1.
PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [808/2440] at 00:1f.0
isapnp:Scanning for PnP cards...
isapnp: No PLUG & Playdevice found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
--------------------------------------------

And this DOS page continues to be there no matter what I did. I reinstall linux, reboot. It's still there.
However, if i swap the hardisk with a WINDOWS xp system hardisk, the system works fine. So seems nothing wrong with hardware.

I am really confused...

Can any expert help? That is why when you use RedHat when it PROMPTS you to create a restore disk you should make 1 every time. Linux is and open source kernal. Why do you have such an old version. Get RedHat 9.

Only thing I can tell u is reinstall cause linux dont have that much support for it. That is why YUOU must creata restore disk after the INSTALLATION is finished.
Oh and linux will have less chance of messing up if you open the terminal and use the halt -p command. It safely shuts down the system by stopping all the processes first. Older linux Versions dont do operate good in the GUI. Hope this gave u a lesson. ^_^

816.

Solve : thread in c?

Answer»

hello,
In a network if more than 1 requesting for a single resource,they need to WAIT in the queue . to overcome this we can use THREAD in c. i WANT to know how to use thread in connecting with the server

817.

Solve : Please help! using awk substr function?

Answer»

please help!! I am loosing my mind.....
I am TRYING to ASSIGN the DATE from the file like
FILE_DATE= cat smg_success.txt | awk '{print substr($0,13,10) }'
AND
today_date=$( date +%m/%d/%Y )

Then I am using If LOGIC to see if $FILE_DATE = $today_date and it's doesn't work, I realized that $FILE_DATE is not holding the substring product..however it's PRINTING on the screen the expected '12/20/2005'
I don't need to print..., I need to be able to compare these values..
THANKS IN ADVANCE !!!
Vicky

818.

Solve : command for bridges?

Answer»

I am trying to configure a Linux PC as a bridge. In the WORKBOOK, it SAYS that there is a command gbrctl that BRINGS up a GUI interface for a bridge. This command does not work.....can anyone help?what distro are you USING?

819.

Solve : Linux and antivirus?

Answer»

I've downloaded Ubuntu 6.06 and absolutely love it

However, I've been USING Windoze for so many years its been ingrained in my brain to have antivirus on my system. I know I've read many times that you don't need AV on a linux box, I just would like to be reassured. I feel like I'm running with my pants down when on the web while using the linux machine.

I will phase out my home network to eventually use only Linux for everything. But for now, until I get a grip on it I'll be using both Windoze and Linux.

Thanks for your comments.

Alan <>< It is true that you do not need an AV for Linux, however, there are still some out there. One that I recall is made by Panda-something-or-other. Just google 'linux antivirus' if you feel in need of one.Quote

It is true that you do not need an AV for Linux
No no no no NO!

Not true!

Yes, Linux is inherently less susceptible to viruses than some other OSes, particularly if the root account is adequately secured (e.g. only allowing shell logins on the machine itself) but Linux viruses DO exist and >can be nasty<. Als bear in mind that a Linux box may be in use as an email server, which certainly should be filtering out viruses.

Check out the Clam Antivirus open source project."Yes, Linux is inherently less susceptible to viruses than some other OSes, particularly if the root account is adequately secured (e.g. only allowing shell logins on the machine itself) but Linux viruses DO exist and >can be nasty<."

Rob:
Even though I'm set up as an administrator when I need to get into some of the files/folders/functions of the root, the OS comes up with a screen asking for a password. Is that what you mean in the above statement you made?

Check out the Clam Antivirus open source project.

I'll do that today.

Alan <><

thanks for the input Quote
Even though I'm set up as an administrator when I need to get into some of the files/folders/functions of the root, the OS comes up with a screen asking for a password. Is that what you mean in the above statement you made?
No - in fact you are simply be asked for a password so that a program can be run with superuser privleges (i.e. as root, the *nix superuser).

No, I was meaning, ensure telnet is disabled (security risk) and only allow ssh logins from non-root users. See /etc/openssh.Ok Rob,

I went to the etc/openssh folder and found 2 text files:
one is moduli
the other is the ssh_config with the following contents:

ost *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
SendEnv LANG LC_*
HashKnownHosts yes

Beings I'm grossly new to Linux (and that will change, I guarantee it ) I don't know if this default setting is correct. If it is OK, if not, then how can I turn off/disable Telnet? I know how to do it in Windoze but not Linux.

Another quickie: Unbuntu 6.06 only takes .deb files. How would I unzip a .tar or .rpm file?

Alan <><

Quote
Ok Rob,

I went to the etc/openssh folder and found 2 text files:
one is moduli
the other is the ssh_config
Hmm. You actually need a file named "sshd_config". I wonder where that is? Try locate sshd_config, to find it. If it contains a line "PermitRootLogin no" with no comment character at the start (#) then that's correct.

Quote
how can I turn off/disable Telnet?
It probably isn't running anyway, but to test, try telnetting in from another machine. Or even from the same machine: telnet 127.0.0.1 - you should get "connection refused". Disabling it is complicated and depends on whether your system is runing inetd, xinetd or one of the other INET wrapper daemons. (Don't worry.)

Quote
Another quickie: Unbuntu 6.06 only takes .deb files. How would I unzip a .tar or .rpm file?
Usually you won't need to, because Ubuntu has a huge set of packages that you can install. See the web site for selection of mirrors/package sets. These are the best, because you know they will work with your default installation of Ubuntu. Using Synaptic/apt will allow you to install all dependencies automatically (other software needed in order for a package to run).

.tar files are unpacked thus: tar xf filename.tar
Gzipped tar files like this: tar zxf filename.tgz

For .rpm files, you probably should first look for a .deb package. If you REALLY want to install an RPM package, you need the alien program to convert. man alien for more.

Enjoy the ride. Rob,

  • Ok did the locate sshd_config and came up with nothing. Guess I won't worry about it
    • did the telnet 127.0.0.1 and got connection refused :D


    Looks like a steep learning curve, but "the ride" will be worth it in the end.

    Thanks Rob. Appreciate your expertise.

    Alan <>< :D
Okay. I suggest creating the file /etc/ssh/sshd_config using whichever text editor you're getting used to, and put this in it:
SyslogFacility AUTHPRIV
PermitRootLogin no
PasswordAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
X11Forwarding yesYou'll then need to restart the ssh server by issuing the following command: /etc/init.d/sshd restart, or possibly /etc/init.d/opensshd restart

With ssh running, you can remotely connect to your linux box using >PuTTY< from any Windows box. This is my prefered method of working with Linux servers. You get a command line interface, but that learning curve is not quite so steep as you might think (not for you anyway).Thank Rob

I've copied/pasted your instructions to a OpenOffice document and will get to it sometime this weekend. Right now I've got to fix a PROBLEM that one of my "fat-fingered" CUSTOMERS seems to have.

Oh WELL, it keeps me employed

Alan <><
820.

Solve : idbuild: idmkunix had errors. Please Help?

Answer»















































Relinking Kernel...


The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please WAIT.

ROOT for this system build is /
undefined first referenced
SYMBOL in file
setuerror /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_getzmem /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_allocb /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_freemsg /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_freeb /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_freemem /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_mk_creq /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
T_okack /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
usocots/Driver.o
in_strcmp /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ksl/Driver.o
in_strcpy /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
arp/Driver.o
in_strncmp /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_strncpy /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_strlen /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_getmem /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_get_memstats /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_cache_open /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_cache_close /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
reallocb /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
in_strcat /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
ip/Driver.o
sockrput /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
iknt/Driver.o
soerrmap /var/opt/K/SCO/link/1.1.1Eb/etc/conf/pack.d/
nfs/Driver.o
i386ld fatal: Symbol referencing errors. No output written to unix
ERROR: Can not link-edit unix


idbuild: idmkunix had errors.
System build FAILED.
821.

Solve : Linux...?

Answer»

What are the pros and CONS of Linux to say... Windows XP?You posted that you were looking for a gaming machine. Stick to Windows if that is your purpose. Period.

I use Linux on a daily basis. It's great for everything except gaming (and some do work OK with some emulators, etc.) I don't have to worry about syware/adware/virusses. My computer always works as it is supposed too and there are no SURPRISES. Ever. I am in complete control of what RUNS and how. Networking is no problem.

But I am not a GAMER. Sounds like you are.

822.

Solve : call function in bash?

Answer»

you KNOW what...
i CHANGE the directory by COPY it to ANOTHER dir of the blog.txt...
then its OK...

823.

Solve : Help Linking kernal Errors?

Answer»
Relinking KERNEL...


The UNIX OPERATING System will now be REBUILT.
This will take a few minutes. Please wait.

Root for this system build is /
LINE: socket ocrwis ICM sock 0 953 35 87552 -1
FATAL ERROR: Master table overflow


idbuild: idconfig had errors.
System build failed.
824.

Solve : i have two question?

Answer»

hi HELP staff
how r u TODAY?
my name kamaran from iraq
i have 2 QUESTION
1- how can i to installe driver no in linux list or when linux isnot detect this driver
2-how much cash accept
thank youFirst off cash is never an issue here.

Are you asking how to boot or install Linux? If so, all current Linux can boot from a bootable CD ROM. Make sure your COMPUTER is cabable of doing that. Please rephrase the question so we can help further.

825.

Solve : can i run most software on Linux????

Answer»

Will most (or any) common software run on the Linux platform?

I know that Linux comes with its own variant of common software NEEDS, such as a word processor and music7film player, etc. I've run the demo and etc, but i only want to load my machine with Linux if i can load my photoshop, autocad, and desktop and Office stuff (or most of it).
Can i?

try this site http://www.winehq.com/Linux come with thousands softwares to satisfy your needs.
I have about 6 audio PLAYERS, 5 videoplayers which are able to play the kitchen sink , 2 sets of office softwares, GIMP that replaces you photoshop and functions way much better, if you ask me, and so on. My son is PLAYING UT2004 for linux and I do all my work on it.If you want to run Photoshop and Office on Linux with no problems you should think about Xandros Deluxe. It has Crossover Office built in which will run those Windows apps and a few others. (Heck you can even run Internet Explorer, but who would want to?)

There are counterparts in Linux to most Windows things - some a little different, or need to get used to, but all of that is frequently free (and certainly less than Windows stuff!!!!)Sorry, zaqualung,

if you want to use windows software, you better stay with Microsoft windows.

If you want to use a free GNU/Linux system with all the advantages and disadvantages, welcome to the community.

You can run thousands of software packages on GNU/Linux, but don´t ask what you ask. Although there are a lot of ways to run that kind of software on GNU/Linux, it still doesn´t look right to me.

For example Photoshop, and Autocad: why do these firms don´t make there software run on any UNIX platform? Because of CONTRACTS with Microsoft, they are in deep *censored*, if you ask about that.

And what do you ask: is it possible?

Learn something new, something open: open your mind, free you spirit:
use things as:
The Gimp
Qcad
OpenOffice.Org
Mozilla
XMMS
Kongueror

and many more good software ...Yes, you can usually have 2 OS's on your 'puter if your system has the capacity and/or capability of setting up a separate partition on your hard drive.

826.

Solve : Pipeline Command Problem?

Answer»

This is a very hard UNIX command which I could not perform..........here it is:


The file ~unx122/public/data.txt contains over 18,000 lines of text. Here are the first ten lines of the file:

pagination 20657 2740 28416 31090 18145

shiner 1695 2507 9964 14512 13122

cool 29210 23832 22861 25037 18722

entertain 16186 23873 5049 3781 15735

sandwiches 9407 61 10817 7342 18224

sustenance 27174 8344 331 18238 25000

humanitarian 29733 13594 5573 24760 20213

Gus 10371 20643 22256 28933 7187

promoting 24678 31046 5759 7005 29626

ethereal 4963 15542 12202 23911 31595


Each LINE contains a word and five numbers, each separated by spaces. There are no spaces or punctuation MARKS in any of the words; each word consists of only upper- and lower-case letters. All of the numbers are whole numbers (no decimals and no negative numbers). There are no leading zeros (extra zeros added to the start of the numbers).

*****************************************************

From the file ~unx122/public/data.txt, select all of the lines that
have a word in column one that starts and ends with vowels
and have values between 1000 and 9999 in the third column.

Sort these lines in reverse order according to column 3, then
select lines 15 through 37. Finally, put these lines in
normal order according to column 1 and write them to the file
~/uli101_a2_output.txt (overwrite any data already in that file).

I have to create a command pipeline to perform this task, and an appropriate bash shebang line, then the command pipeline.

Anyone KNOW what the command could be?

827.

Solve : LS / FIND newbie help-directories w/out filenames??

Answer»

I'm trying to get the syntax for either "ls" or "find" or some other unix command that will give me a list of directories and all subdirectories, without any filenames.

I tried
Code: [Select]ls -R | bbeditwhich gave me a great listing of all files and directories PIPED to a bbedit document. I'm trying to find the command that will give me just the directories and subdirectories, without the actual filenames. Anyone, anyone???

TIAfind is certainly a good candidate for this. Depending on your installation, info find or man find will tell you all you need to know. ALTERNATIVELY, here's a one-liner which uses ls, grep and sed (not written by me):

Code: [Select]ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'Holy command-line Batman! That worked E-X-A-C-T-L-Y

Thanks VERY MUCH!
You're welcome. Please tell me I wasn't just suckered into answering a homework question. Quote

....
I'm trying to find the command that will give me just the directories and subdirectories, without the actual filenames. Anyone, anyone???
TIA
generally for FINDING only directories , this will be the command...
Code: [Select]find /dir -type d
No Rob, no worries there.

Personal use only on the ls command. I have a very large music COLLECTION and I never have been able to print out a directory listing...until now.

Weird though - I now realize that's something else I'll have to monitor with my kids: homework answers from internet FORUMS. Just great, something else to watch out for....

Thanks again.Yep, the internet is a great... er... research tool. It's also teeming with idiots and villains. Proceed with caution!
828.

Solve : GX1_Man is your signature reading my computer????

Answer»

At first LOOK, I thought the information was generic, but when I looked closer, I noticed that the ISP is REALLY mine, and it is not a widely know one. I'm not quite sure how I feel about that. EVERY one sees there own INFO, and no one's else. There is no security breech, nothing is being transmitted to others and you are safe. CHECK it out on another machine and look at my signature in this post. You will then see THAT machine's info. Not yours.

it is amazing that your info can be picked up, but it's more of a "mirroring effect". Sleep well.

I was just wondering. Thanks for the quick reply. With security the way it is, you can never be too careful. If I had thought about it, I probably could have figured it out.Just be glad you didn't see the Tracking Penguin!

Cute. I like that!

829.

Solve : installing OSCAR CLUSTER?

Answer»

HELLO,

I am trying to install OSCAR on fedora core 3. I COPIED to root/oscar directory when i try to unpack the installation,
using the command

tar -zxvf /root/oscar/oscar-4.2.tar.gz

i get the error

gzip: stdin: UNEXPECTED end of file
tar: child returned status 1
tar: error EXIT delayed from previous errors

830.

Solve : Installing Linux without a CD-ROM??

Answer»

I managed to get the unzipped Everest files onto a readable CDR but when i try to run everest.exe on the Tiny it says 'this program cannot be run in Dos mode'

Am i running the right program?Sorry if I wasn't clear. Everest is a Windows based program, so some version of Windows must be installed to use it.

Can you get to the BIOS pressing the Delete KEY during boot? It is a FIC mainboard and that is how most of them work. You may be able to make the CD bootable.Sadly reatedly pressing the DEL key during bootup has no effect. How important is it to know what the BIOS is? I think the m/c is around the 2001/2 time.

At a pinch I can install Windows 3.1, which I have on 3.5"

ah, well, and so to bed......Well, from the WIN98 boot disk you can run mem/c and see how MUCH RAM is installed on the machine

C:\dir will give you the size of the drive. If running 3.1 the rest is unimportant.Good morning from UK.

I had to download mem.exe but this is what it produces:-
Mem TYPE total used free
Conventianal 638K 88K 550K
Upper 0K 0K 0K
Reserved 0K 0K 0K
XMS 56,256K 2,112K 54,694K
Total Memory56,894K 2,200K 54,694K


dir of C: gives 785,694,720 bytes free

Loading up Win 3.1 would only be a last resort or if it COULD provide some information that would enable me to start again and use Linux.

So do I now have enough information to decide if I can try to use Linux as an operating system with associated General purpose software, and if so what would you recommend?

831.

Solve : mounting of usb drive on solaris?

Answer»

how do i FIND the CONTENTS of the usb DRIVE on a SUN SOLARIS machine

832.

Solve : WHICH LINUX VERSION TO PICK?

Answer»

Thanx !!! I went to Linuxhelp FORUM last night and asked some questions also, and got some GOOD info and partitioning.I too have been CONSIDERING a dual boot (XP/Linux). I'm not sure which Linux version to use either. Are they all free?

I built my own computer. I have a P4 2.80 GHz processor, 512K MEMORY, and an 80 gig HD w/60 gig OPEN.

Thanks,

Mary

833.

Solve : multi boot cd?

Answer»

i have 2 linux based OS both BOOT off cds i want to combin them into 1 cd which will ask which one to boot how do i do this?Can't be done. Period. Just OPEN the tray and out in the one you want.iv seen it doneGood luck. This seems a POINTLESS exercise.

834.

Solve : How does one "get" UNIX??

Answer»

Greetings,

I have been busy looking for a NEW place of employment LATELY (in the IT field), and quite a few job descriptions say that knowledge of UNIX is either a plus or a requirement.

I took one UNIX course in college two years ago; basically we just telnetted into a UNIX server and INTERACTED with it via a command line interface. Are there any edition of UNIX that have a GUI as opposed to just a boring CLI?

So where could I download a copy of the UNIX OS so I can practice with it? Would that be free or do I need to buy it from SCO now?

Can I set a dual-boot configuration with Windows XP so I can choose which OS to load at boot up?

Lastly, can anyone recommend some good books that will really help get my feet wet with using UNIX? Because apparently UNIX is still a popular serve OS, even though Windows Server has gained popularity. Thanks a lot!

Quote

Are there any edition of UNIX that have a GUI as opposed to just a boring CLI?
X Windows is the main GUI that people run on Unix or Unix-like systems (it has been ported to Linux, BSD, etc). Representations of X vary a LOT, due to the fact there are so many different window managers that can be used with X. X provides the client-server system for drawing windows; window managers prettify X. Then on top of that you get collections of applications that together form a system very akin to MS Windows. On Linux, Gnome and KDE are the big 2, both of which provide far more functionality than Win9x.

Quote
So where could I download a copy of the UNIX OS so I can practice with it? Would that be free or do I need to buy it from SCO now?
Well if you really want Unix, you can now freely download Solaris from Sun, since they realised everyone was moving over to Linux... Tick the boxes on that download page, and be ready to burn lots of CDs...

Alternatively, if you have a modest spec PC to install the system on, you might be better off downloading Linux. Ubuntu is one of my favourite distributions at the moment, although you have to ensure you read as much of the DOCUMENTATION as you can in order to get the most out of it.

Quote
Can I set a dual-boot configuration with Windows XP so I can choose which OS to load at boot up?
Certainly. Split your hard drive into (e.g.) two partitions, and put XP on the first (bootable) partition. Then install Ubuntu (to the second partition).

Quote
Lastly, can anyone recommend some good books that will really help get my feet wet with using UNIX?
You don't really need any books, to be honest. Read the documentation that comes with your system, and lean heavily on Google. There are a LOT of resources out there, and so many different topics that it's impossible to recommend just one book. If you decide to go with Linux, then head over to the Linux Documentation PROJECT, an excellent starting point.PCBSD is a quick way to get a usable unix system for free as well, if you just want to learn. It is based on FreeBSD which is a sturdy one as well. Lots of documentation on their site.

http://www.pcbsd.org/

http://www.freebsd.org/Yeah I agree - BSD-ish systems are good choices too, although they aren't quite Unix.Thanks for those ideas. I will definitely try out PCBSD and Cygwin looks interesting too.

Can anyone recommend some helpful UNIX books? Perhaps something from Amazon?

http://www.amazon.com/exec/obidos/search-handle-url/ref=s_b_rs/102-7586768-3616956?page=1&url=ix%3Dstripbooks%26rank%3D%252Brelevancerank%26fqp%3Drelevance%2501281000-%2502keywords%2501UNIX%26nsp%3Dscore%2501proj-unit-sales%2502bin-fields%2501none%2502post-process%2501docid-ve%2502dym%25010%2502search-type%2501ss%26sz%3D10%26pg%3D1&fpn=1&rank=%2Bsalesrank&x=15&y=11

The book I used in my course was Unix Shell Programming...talk about boring!Like I said, there's lots available at the Linux Documentation Project, if you don't mind reading stuff online.
835.

Solve : sendmail?

Answer»
I wrote a script (UNIX - Bourne shell) enabling a user to send (email) a file attachment to ANOTHER user. The script works fine when executed from the COMMAND line but I would like to execution to be automatic, including the message.

I tried the following
tty -s && echo "Included the requested file from .... \n\n" << EOF

The last line of the script, after setting up the email (FUNCTION), is
) | /usr/lib/sendmail -t
EOF

The script seems to execute but no email is sent or rather delivered. Is there ANYBODY that can help?
Try this command:

sendmail [emailprotected] yourfile
cntl-D
sends it to that mailbox.
836.

Solve : Bootp?

Answer»

Does anyone know what file CONTAINS information sent in RESPONSE to a BOOTP BROADCAST?I don't even understand that question! More info please....Inquiring minds want to know.

837.

Solve : regarding stack size?

Answer»

I tried to compile a program and it is showing the following message
Warning: Stack FRAME size (73612960) larger than system limit (67108864)


I am USING HP machine with OPERATING system Linux

How can I rectify it?

838.

Solve : creating an undelete script and need help?

Answer»

I have to create a SCRIPT to enable me to retrieve "deleted" files in bash for a class project and am having a little TROUBLE creating an alias for the RM command to cause it to move files to a HIDDEN trash folder. I've been trying to do this for several hours and have not had any luck! I'm totally confused and can use all the help I can get. Can ANYONE help lead me down the right path?!? PLEASE!!!when I do: alias rm='mv $* ~/.trash/'

I get
mv: cannot overwrite non-directory `chap1' with directory `~/.trash/'

anyone know the PROBLEM with this?
:-/

839.

Solve : Changing to Linux.?

Answer»

<<< As you can see I currently have installed XP on drive C: and drive D: and all four partitions are formatted to NTFS.

I would like to know if I can image drives C: and D: to keep the present system safe, leave all of my data on drives E: and F: and INSTALL Linux to the NTFS drive C:

Which version of Linux would give the best and most professional performance on a par with XP and can I use Office XP with it and Microsoft AutoRoute?

Many thanks in advance.If Microsoft Office COMPATIBILITY is the biggest issue, you can use Crossover Office (not free) which is included in Xandros Deluxe edition (also not free).

www.xandros.com

If you want compatibility and FREE is the most important thing, virtually ANY linux distro has Open Office which is close enough unless you do a lot of heavy formatting in Excel, etc.

What kind of hardware do you have that you want to install to.

(By the way, Linux cannot write to NTFS partitions - another Microsoft limitation for your pleasure. FAT32 is no problem.)So I need to wait for a Linux system that is capable of writing to NTFS. I do use Open Office as well, which is just as good for most things.

Maybe the Linux programmers will GET together and produce a rival to Vista instead of producing too many separate distros.

I just have an old Windows 2000 computer with a 1000MHz PIII and 768 MB of SDRAM with an 80 GB drive running at 7,200 rev/min.

It does have a good 19" NEC CRT monitor running at 1024 x 768 and 85 Hz

The Xerox WorkCentre M940 has developed a fault and turned into a doorstop though.

Xandros looks INTERESTING. I'll try following it up and see where it leads.

Thanks for the link.Your specs show a VERY usable machine. NTFS is an issue (for a while, thanks to Billy Gates) but will be resolved. Unlike WIndows, there are many variants of Linux. There is bound to be one you will like, and they are all safer on the net.

840.

Solve : USB transfer speed?

Answer»

When copying from a USB drive under KNOPPIX, I only get a transfer rate of about 1 MB/s. This would indicate USB 1.1 at 12 Mb/s. However, in USBView the port and the drive is IDENTIFIED as USB 2.0 (480 Mb/s). Is there any configuration that must be DONE is order for Knoppix to use the HIGHER transfer rate?

841.

Solve : Mandriva dual boot problem?

Answer»

hey,

I installed Mandriva (sp?) on my slave hard drive, and put the boot RECORD on the MBR.

After awhile i DECIDED i wanted to use that space on the slave drive for file storage, so, i went into windows and formatted the drive as i figured it would just delete Mandriva. Though, on start up i am still getting asked which OS i want to load.

Is there ANYWAY to get rid of this?Boot with a Windows CD or boot disk. If USING 98 type in fdisk /mbr

If Win2000 or XP boot into repair mode with command prompt and and type fixmbr

What if i don't have a windows xp pro boot disc?www.bootdisk.com for a free download of whatever you need.

842.

Solve : it is recommended that yum update must be run??

Answer»

it is RECOMMENDED that yum update must be run?in what situation or how many times should it be run in 1 month? It doesn't take LONG to CHECK and load updates. Maybe once a week?

843.

Solve : Dual-Boot Debian problems?

Answer»

}{i everyone!

I need a little help. I am TRYING to create a dual boot box with 98se and Debian. I have Windows on my primary HDD and Debian on my slave. I followed the instructions here: http://www.aboutdebian.com/dualboot.htm

but when I re-boot I get the message:

"GRUB loading stage1.5.

GRUB loading please wait..."

but it never does. it goes to looking at the floppy drive (The light on the floppy lights up) but then it just stops. the light on the floppy is on forever and I have to HIT the resest button on the case.

What am I doing wrong?Is there a floppy in there? Did you do a net install or from a series of CD's. Did you put Grub in the MBR on the primary drive.? That's where it should go.No, there is no floppy in the drive. I installed Debian from the first CD which I downloaded off the net. As for where GRUB was put I am not sure. It asked if I wanted to install the GRUB boot manager because it DETECTED win 98 on my system. I told it yes, install GRUB and it installed. I t never asked me where to put it.I think you should get a screen about where you want to put it. I would reload and be watching for that. Choose the MBR of the first hard drive.

844.

Solve : Can't install Linux on a SATA drive?

Answer»

My PC has two SATA drives and zero IDE drives. One of the SATA drive has Windows XP on it and I would like to put Mandriva Linux on the other.

The problem is that during installation, it say it is unable to find a drive to install it in. What can I do?Use a distro that recognizes SATA drives. They are still QUITE new, and it will take a while to get wide acceptance in all distros. Mandrake/Mandriva will eventually.I´m also running SATA drives. GNU/Linux Suse from 9.1 over 9.2 to 9.3 have been smoothly installed on this system.

Running Knoppix 3.8/3.9/4.0 have no PROBLEMS with finding the SATA drives. Although I didn´t install a Knoppix or Debian ALIKE system on them.

I suggest to try a recent distro to install on your SATA drives.

You can install a GNU/Linux Suse system from ftp via the INTERNET if you WISH, or from almost any BSD-distro, such as FreeBSD, NetBSD. (No Linux, I know, but still very nice things.)

845.

Solve : SUSE 10.0 installation?

Answer»

Stupid thing won't. INSTALL when I get to the prtitioning part of setup and it tries to shrink the windows partiton and gives me a error message saying "System error code:-3027.....failed during shrinking partition\dev\hd1\ to 29.4 GB" The hard DRIVE is 37 GB and theres 12 GB free space on itDid you defragment before ATTEMPTING this?No, but I DEFRAGMENTED like 3 weeks ago. I'll defragment anyway.What filesystem are you shrinking? FAT or NTFS?ntfs but i'm already done and it worked
Excellent. What do you THINK the problem was?There were errors on the drive and it was REALLY fragmented

846.

Solve : Looking for new Distro?

Answer»

Hey guys what's happenin? Umm...I'm just looking for a new distro to try out. I'm getting sick of SuSE 9.3 (it keeps being really gay). I've used SLAX, CentOS, and SuSE 9.3 if that will help you recommend any.

Thanks for the recommendations if any!Ubuntu (I prefer the Kubuntu flavour, or Xubuntu for slower machines).

Why not head over to DistroWatch?

Tag, you're it, Mark. Actually...I'm downloading Ubuntu as we speak, lol. I've tried looking at Distro Watch...but there are just so many choices, I just can't seem to choose one.

Also...I'm out of CD's and only have DVD's left...so if you could recommend a good distro that has a DVD ISO available that'd be sweet.

Thanks for the help.I would say Fedora is OK, Debian is pretty cool, Mandriva is even allright, and Linspire has a lot going for it. HECK they all have something going for them. It depends what you want.

Do you want to try out a gazillion new applications?

Do you want something that is very Windows like?

Do you want something free? (Although you should contribute to whatever you use.)

Do you want basic tasks and it just works - period?

Do you like to recompile kernels?

Are you afraid to recompile a kernel?

Let us know what you are after. There is a flavor for you.

LinuxFromScratch and Gentoo are great for masochists who REALLY want to understand how Linux works...rob...I'll check out LFS.

GX1_Man;

1) I like trying new apps, especially if they are usefull.
2) Something that is Windows like is not something nessesary, but ya know, whatever.
3) Yes, I would like something free.
4) I do basic tasks and thing a little more 'extreme'. I use things like Open Office Suite, GAIM, etc...I also use things like VSFTPD, SAMBA, and other stuff like that.
5 &AMP; 6) I've never recompiled a Kernel before but I'm not afraid to try. I MEAN, what's the worst that could happen? I have to reinstall?


Let me know...Thanks for the help.Vector Linux or straight Debian for you then my friend.Fo' shizzle. I'll check them out right now. Do they happen to have DVD ISO's? Because I'm kind of out of CD's to use...lol.Quote

rob...I'll check out LFS.
Eek! Is that before or after you've scooped out your eyeballs with a rusty teaspoon?!Uhhh....I don't feel comfortable answering that QUESTION....
847.

Solve : i want to have unix & os2 at the same time?

Answer»

I want to have OS2 & unix on one pc similtaniusly and switch between them as far as POSSIBLE without REBOOTING the pc ( short switching time is IMPORTANT ) Can't be done. What's a bankier by the WAY???

848.

Solve : Network problems!?

Answer»

I have a wireless network. my base station router is a Linksys WMP54G and I have a Linksys WMP54GS network adapter card in my sons PC which has Simply Mepis 6.0 on one hard drive and Xandros 3.0 on another which I can set either one to use at my choice to boot into. I have 3 hard drives in my basestation which i have XP Home on one hard drive and SimplyMepis 6.0 on another and Xandros 3.0 on another hard drive. When I'm in any of the 2 LINUX OS's at my basestation,(SimplyMepis or Xandros) I can't find my sons PC, which is presently BOOTED into the SimplyMepis 6.0 hard drive in his PC. All I really want him to be able to do is to GET his PC online wirelessly thru my basestation, which is wired to the router, and the CABLE modem. Doesn't Linksys have any drivers for any Linux OS's that will be able to work with a Linksys WRT54GS card that is in his PC? Neither one of those OS's in his PC will find the basestation to get online.
Any help will be great!
Thank you, JimI guess I'm missing something. Ideally both machines should wirelessly connect to the router which directly connects to the broadband modem.

You don't need to go through another computer. You just need a wireless adapter that is usable by the OS.Would I be right in thinking you don't have a wireless router? Just two computers with wireless network cards, plus a wired router and modem? Are you trying to use your PC as a wireless router?

I have no experience of setting up a Linux box as a wireless router. I prefer to leave GATEWAY tasks to dedicated boxes designed for the job.

849.

Solve : I need help with Linux?

Answer»

Hello everybody.
I need to do a homework, and I have almost all of it done, but there are two exercises I don´t know how solve them. I have Suse Linux 8.1

The first is making a new USER. Well, I write as root in bash console: useradd newus
Well, I have the new user now.
Then, I must create a new group. Well, I write as root in bash console: groupadd newg
And already I have the new group.
After this, I must allocate the user newus at the group newg. Well, I change before to the user: su newus
And after this, I write as the user, in bash console: newgrp newg
And bash tells me: passwd
I have test with it all my known passwords, but after a few seconds, bash tells me : sorry

And I can´t allocate the new user at the new group. I think this must to do with permissions....

Could you help me to solve this?

I only need create a new user, a new group and allocate the new user in the new group.
Thanks.
You have to do this from the root account, or if doing this way, the password being asked for should be the one to the root account.Thanks very much for your response.

Well, like I said, I´ve created the new user and new group from the root account, after this, like the Linux manual say, I´ve changed to new user account by "su newus" order, and once changed, I try to give the new user to the new group, and I´ve tryed all the passwords I know in my Linux OS, (root password and default user password, and newus password), and OS always say the same "sorry", and I can´t do.
I think this might to see with permission of new group, or maybe with newus permission, cause the OWNER of the newgr (new group) or maybe the newus (new user).

Please, if you have a Linux OS, try to create a new user and a new group and try to put in the new group the new user. And tell me the story afterwards
For a better comprehension and understanding of this PROBLEM, I have cut and paste the piece of code I have write and it´s the problem.

[emailprotected]:/> su root (because I have entered in the system like user ketk, I change to root)
Password: (I write my root password)
linux:/ # useradd jhon (I add a new user as jhon)
linux:/ # groupadd gathaca (I add a new group called gathaca)
linux:/ # passwd jhon (I´m going to give jhon a password)
Changing password for jhon. (System says "yes")
New password: (I write the password for jhon)
Re-enter new password: (I re-write the password again)
Password changed (System says "ok").
linux:/ # su jhon (I change to user jhon from root)
[emailprotected]:/> newgrp gathaca jhon (I try to assign gathaca group to user jhon)
Password: (System ask me for jhon password)
Sorry. (System says me "NO")
[emailprotected]:/> | (And this is the END, I can´t give gathaca group to user jhon...)

Is it now so clear the problem I have?
Thanks for reading me...newgrp is the wrong command to use here. Try man usermod.Ok, thanks, I´m gonna do it.
Ok, thanks that is the solution.
I have copied all commands as follows:

[emailprotected]:/> su root (because I have entered in the system like user ketk, I change to root)
Password: (I write my root password)
linux:/ # useradd john (I add a new user as john)
linux:/ # groupadd gathaca (I add a new group called gathaca)
linux:/ # passwd john (I´m going to give john a password)
Changing password for jhon. (System says "yes")
New password: (I write the password for jhon)
Re-enter new password: (I re-write the password again)
Password changed (System says "ok").

CAT /etc/passwd (OS gives a lot of lines but the main is:)
......
john:x:501:100::/home/john:/bin/bash

cat /etc/group (OS gives a lot of lines but the main is:)
......
gathaca:x:500:

usermod -G 500 john (and OS says YES!!!!)

cat /etc/group (OS gives a lot of lines but the main is:)
......
gathaca:x:500: john (this means jhon user is in gathaca group)



THANKS; THANKS; THANKS; THANKS A LOT A LOT.....

You're welcome. For future reference, the command apropos is a useful way of searching for relevant man pages. "apropos user" would have brought up a list of all the user commands, including usermod.Thanks very much for the information. Without your helo I couldn´t do my last homework...
Thanks very much.

850.

Solve : wireless pc card for a laptop?

Answer»

Hi All, I have had my issues with ndiswrapper as I am sure MANY have also or so I am told. My question is, what wireless pcmia card with ndiswrapper or with just DRIVERS is the best to use for a debian dell laptop running kernel 2.4.27-2-386.
Or even just works a little Is this plain Debian?Yes sir. But for some reason.
I get noting. This time I went out and got a belken card and I loaded the driver with ndiwrapper -i (the driver name) and it loads but I get no hardware present. Before when I used the LINKSYS card I got at least hard ware present and at least the devece would turn on. But nothing with this one. On boot I do notice that a message appears that says somethig like pcimia moduels fail to load??Linksys WPC11 version 3 seems to work well with all. You can get them on eBay, but MAKE sure it is v3. This is a B card, not a G.