kc0arf 68 Posting Virtuoso Team Colleague

Hello,

This is a doozie of a problem. The question is if you want all of the OS to be able to work files with each other... does the RH OS need to see the XP files? In XP, do you want to see debian?

I do not think a 40 GB hard drive is going to be enough to do it all, especially if you want equal installations on each environment (meaning all have open office, all have web browsers, all have compiler tools).

I know that you will need to choose one OS to manage the boot loader, and that you will need to install XP first after your partitioning is complete. If you want other OS to see XP data, you best format FAT32 and leave NTFS alone.

You are going to need to use extended partitions on the physical drive.

Before getting too deep into this, you might want to make sure you need ALL of them installed on that one physical disk. You might find it easier in terms of time cost to go and get a couple other hard drives, and then swap them in and out as needed.

And once you do set it up, you best document how you did it, and also use something like Ghost to back them all up to a network, or perhaps DVD disks.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I think you are looking to make a Ghost / PQDI Disk image programming. Unless you are very strong in your C / C++ coding skills, you are in for a real battle. You are going to need to work at the partition level, and go after hidden files, and assuming you are using Windows, go after the registry and boot sector information.

Personally, you are trying to re-invent the wheel, and are in for some significant development cost. There are off the shelf product already available at a reasonable cost.

You will need to employ error checking, and perhaps partition management in your code, because if you want to restore from the same disk, you will most likely need to use two different partitions. Might find it safer to work from a network, but that requires additional work.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

If I understand you correctly, you have 10 categories (called cars), and you want to collect data on the car.

You can use a struct to handle this, or make a simple standard that says the 1 storage unit will be the 1 car class, the second storage unit the second class... and go from there.

My guess is that you are going to want to store more than the car's weight.

Make a struct

struct data
{
string carname;
int weight;
}

And then you can make an array:

struct data CarData[10];

And then you can refrence them as you need them:

CarData[3].weight= the value of the weight of the third car.

Give it a shot, and post your code to see if you have it all.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I used the pico editor to cut your text, and paste them into my RedHat 9 box. Then closed the editor, and it compiled just fine.

Maybe you are using vi and left something in there. Or Emacs left something. I dunno. Try cat division.c and see if you see any junk in the file.

I do think, however, it is poor program design on two occasions:

* You are using an integer for the division. per = (M+M+M) / 5 What happens if I enter in decimal numbers?

* You are asking for input on one line. Will the computer accept typo corrections? I would input them one line at a time, so that if I do typo, I can correct it without deleting too much. You also do not check to make sure I enter in 5 values. What happens if I only put in four?

(I have tested these conditions. You should too).

Enjoy!

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

I am thinking of writing a how-to on this one for the tutorial section. I am wondering, however, if people use swat these days, or if they prefer webmin for configuring Samba. I would also develop the information so that the system would consider security and such.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

Wouldn't the MAC address on the Cable Modem / DSL device be the one tracked by the ISP? I know that on my systems here, there are various hops to get to the network. The ISP wouldn't care what NIC is in my Redhat box... they see the MAC on the cablemodem device.

Of course, the linux commands are not going to change the Cable Modem's information.

I have also thought of a reason why I would want to change a MAC address... so that I could have a wireless device filter for that MAC address.

Oh well.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello John,

I have been out on vacation, and may have missed your deadline.

I am wondering if you are running out of hard drive space. Do you receive error messages that your hard drive is full? You mention that your hard drive is rather full, but there is a difference. I have seen problems when available space gets less than 500 mb on the Sytem volume.

Take care, and hope that your system is up and running and happy. Let us know if it is not.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello Papa Smurf,

You wrote out pretty clear instructions on how to work regedit, but failed to tell the user on how to backup the registry. Your post is incomplete.

As an administrator, I have links setup to answer common questions too, and have taken the time to proofread what I publish, avoiding the attitude and the issue of missing information as best as I can.

Help is always welcome; attitude is best checked at the door.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I would think you would want to have the user hit the a key multiple times, instead of having them hold down the key. If they just hold down the key, you are relying on a keyboard repeat rate, and that will lead to different responses on different systems.

In your game code, you are going to need to put a little loop in there to check if there is keyboard input before calculating where the car is next.

Enjoy,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Another good site is mcafee.com I have found that one of these two places have information on the viruses, and how to kill them. In my opinion, they take turns on being the more "informed" on what the infection is doing.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hey Dani,

Do moderators receive one for our diligent service to the website?

:) I would love one.

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

While I yeild to Crunchie and other HTJ log experts, I can see that you have a problem with the C:\windows\System32\drivers\etc\hosts file.

Inside hosts, you should have one entry:

127.0.0.1 localhost

(This is for the IP stack local configuring)

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I started with Linux many moons ago with RedHat 5.2 and with MKLinux on the PowerMac.

I would go with what DMR and K offered; but going with your mention of being a Windoze administrator, you probably want to install it and get going to see the guts of the OS. I would go with Fedora Linux, and / or RedHat 9. (Fedora is more recent).

To get Linux working on a computer, I would go with a Pentium II - III, 256 MB RAM, and a 5 GB hard drive or so. Give yourself some room to play. IF you would like a book, I suggest the Wiley Yellow / Black books RedHat 9 Linux Bible (or the Fedora Bible).

Also agree that if you have questions, feel free to ask! Linux is a NOS from the start -- so you can setup windows file sharing, Mac file sharing. My Linux box also thinks it is a Netware 3.x bindery server!

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

It seems that you are very frustrated. I am assuming that you are using Windows something, but as you did not specify what you are actually using, it limits what we can say about it.

Couple considerations:

1) Switch to Linux. Escape anything written for Microsoft. This is not to be taken lightly, but Linux has a lot going for it. You can use the internet. You can use your printer (unless it is something really weird!). You can type letters, and save them.

2) If you have to remain with Windows, FORMAT, re-install, and patch. Find a different web browser besides IE. Use Mozilla or Opera. Install antivirus.

3) Tell Mozilla / Firebird to block popup windows. Some sites might not work with it, but well, that is the price of protection.

4) If you are on a cable modem / DSL line, install and configure the firewall properly.

5) If you are into warez, or serial numbers, stay away from the websites that offer that information! Just as a wim, I built a Windose box and went to one of those sites, and caught something. All within 15 minutes.

6) Don't open attachments from email.

It is possible to be on the internet and not get infected / distorted. My Mac and Linux systems have been doing it for several years now. Windows people will need to be more diligent with IE, as a lot more attacks are …

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

The guidelines are rather simple: the student needs to show some work and effort, meaning code and talking the problem out. All are welcome to discuss the theory (like you did chainsaw), but we generally do not offer code until the student puts some on paper, and then we can go through it as a group. We strongly discourage someone else posting the answer "working code", as then the student didn't learn.

Bob, what I suggest is your next step is to plot out the code on how you think this should work. You mentioned you understand the algorithms, but do not know how to encode them properly. You might want to consider PsuedoCode

// Bob's Program
 // Date
 
 // This is what my program does
 // Goal is to obtain this
 
 // Here are some Variables that the whole program needs
 
 // This function does one schedule means
 
 // This function does something else
 
 // This is the main part of the program
 // Read in data from disk
 // While !done, do this
 //	   function 1
 //	   function 2

You get the idea. Build out your Outline of the code, and we can go from there.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Do your logs offer any advice? Perhaps some service is no longer starting properly, or perhaps you installed some firewall product.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

If that is a WinModem, you may have some troubles there.

You can try:

* Upgrading to Redhat 9. This requires backing up, and taking percautions, and planning

* Running Kudzu manually and seeing if it detects it.

* Go into /var/log/messages and see if there are any mentions of the modem. Perhaps there is an IRQ conflict or something else preventing the proper initialization of the modem. Logs can tell you a lot!

* Go into /proc and look at the pci and isapnp files. See if your modem is mentioned.

* Look into dmesg and see if your modem is mentioned.

Good luck, and let us know...

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello --

Agree with BinaryMayhem. You are booting to the C drive, and then running setup from the DOS prompt. If your BIOS does not support booting from a CD-ROM (some older ones won't!) then make the four floppies and boot from the floppy disk drive. It works. Have had to do that on some older systems, and on some custom ones where we could not unlock the BIOS to get to it.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I would save your files off the hard disk, and re-format the hard drive. Also consider making a second partition (a D:) so that if you ahve to re-install again, if all your data is on D:, you will not need to worry about it.

Note that a D: for data will not prevent a problem if a macro virus delets all your files, or adjusts your templates, nor will the D: protect from a hard disk physical failure. BUt making a separate partition D: for your data will isolate it from formats and rebuilds.

Christain

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

You MIGHT be able to, but why would you want to?

Which Linux version? Mandrake? RedHat?

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Did you do an upgrade, or format first, and then put 10.3 on? I am also wondering if your G4 needs a BIOS upgrade or something. Tell us a little more about your Mac.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I have been out on vacation. I need to hit the books and see. HAve not forgotten about ya.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Are you trying to do an upgrade, or a fresh re-install? An upgrade might cause the hangup. I would suggest that you store your data somewhere else (CD-ROM, Network), and then boot from the Panther CD-ROM. You might have to format (and since y ou backed up your data) it will be alright, and the conflicts will go away.

Let us know if you ahve any questions.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I didn't see him do a "make install" which usually places the binaries and the libraries where they need to be. That might be a problem. The program might end up in /usr/local/bin or /usr/local/sbin and there might be config files in /usr/local/etc or /etc

Enjoy!

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Go here and get a utility called uptime. Very simple. Surprised that it doesn't come with the OS, or with 2003 for that matter.

http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I am assuming the OS 9 computer is the host, and you are using OS X to connect to it. You should not need to turn on file sharing "both directions". Treat one as a Server, and the other as a Client.

On the OS 9 Mac:
* Did you go to the Appletalk control panel, and tell it to use the Ethernet port? Usually, it defaults to the printer port.

* Did you give the Mac a name in the Filesharing Control panel?

* Did you enable the particular Drive for file sharing? Do a Get Info on the hard drive or the folder that you want to share, and make sure that it is enabled.

On the OS X Mac
* Are you typing in an IP number, or using an Appletalk protocol connect?

If I had to put money on where the problem is, I bet in the Appletalk control panel, it is on the printer port.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I found this for you:

http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=VBS_FREELINK

I hope that helps,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I do my part to keep the internet clean. I run Linux and Macintosh. :)

(I just had to say something)

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

What OS are you working with?

Is this a USB Palm?

Is this a USB Printer?

Did you turn on the palm first and set it up? (New Palms need to be calibrated out of the box before they will sync).

Once we know your OS, we can go from there. Later moderators reading during the day might move your post to the OS section once you reply.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

What does ifconfig tell you? Is the card online? How about the logs? Is the card there? Did it load properly at boot time? Can the fedora computer ping anything else? Do you see activity on the switch lights? Is the switch properly plugged in, and all cables good and working?

Once ping is working, you might need to talk to xinetd to see if that service is disabled. I have seen RH9 things like telnet and ftp disabled. I tend to enable them, and then firewall them out, as I use linux boxes as routers...

Anyways, I have never had a problem with a 3Com card in RH Linux, and that was the question on the floor.

Enjoy,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Oh -- one other thing:

IF that fails, have your administrator account make a new user. Login as that user. See if the help works. If it does, then you have clues that a preference is messed up. If not, I would suggest the application is at fault.

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

Well, the executable is located in /System/Library/CoreServices/Help Viewer.

Guesses:
* Permissions are messed up. Run the Disk Repair and see if the disk needs help. Check for problems, and then check for bad permissions. Mine says: drwxr-xr-x (755 for us Linux people), and is owned by root, and grouped by wheel

* Problem with the preferences file

There is a file called

/Users/username/Library/Preferences/com.apple.helpviewer.plist

There might be something wrong in that file. As mine has never broken, and I am not near a test machine to test it out for you, you might consider renaming the file or copying it somewhere else, and then deleting it. This might force the system to regenerate it, just like the good Mac OS 9 days.

Let us know,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Alex,

He probably had the 6100 / 7100 / 8100 series. The laptops you refer to had a MONGO-USB like connector, and that is not what he is referring to. This HDI-45 thing ran off of motherboard video, and while it worked, it was not accelerated / optimized graphics. He would be much better off finding the video card of the day, and work with that one. If memory serves, the HDI-45 also used motherboard RAM as video RAM, and that is slower than normal video ram.

All the extra pins were used for the ADB (Apple Desktop Bus -- mice and keyboard) and speaker / headphone jacks. You could plug in the AV monitors, and have these ports on your desk instead of running more cables to the box.

I kept my 7100 using the AV card, and did note a performance drop when I tried the other port. Nice idea, bad performance.

A picture: http://www.welovemacs.com/adp-hdi45.html

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I am not certain what Mac you have, or what OS is your base.

If you purchased the Mac with OS 9 disks, you can boot from those CD-ROMS, and access your files. OS 9 doesn't have any knowledge of security, so you should be able to go in there and get your materials. If the computer doesn't want to cooperate, hold down the C key while the computer is booting.

If you purchased the Mac with OS X disks right away, there is a different solution. Boot with the OS X CD, and hold down the C button while it is booting. It will throw you into the OS X installer. Go to the Blue Apple Menu, and run the Disk Utility. Do a repair on your drive. Y ou might need to also repair the permissions. Restart and see if it works.


AND IF YOU ARE DESPARATE:

  1. Restart the computer. You may need to perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer.
  2. Immediately after the startup tone, press and hold both the Command (Apple) and "s" keys on your keyboard. The computer will displays a series of text messages, at which time you may release these keys. When startup is complete, the computer will display a command line prompt (#).The computer is now in single-user mode.

How to Use fsck From the Command Line

Once you have reached a …

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

According to Apple's website:

http://docs.info.apple.com/article.html?artnum=30705

Suggests that power requirements are auto-sensing from 120 - 240 Volts. Frequency is 50 - 60.

What is the specific model of iMac that you have? I would look a little deeper to be sure.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Seeing the damage that is done, I think it is best for you to re-format your drives and start over. You don't know what modifications were made to the system, and could spend the next few months of your life making things work again. Sometimes it is smart to just start over.

But when you do start over, plan how you are going to stop internet attacks from the start. I have seen machines get hacked into in as little as 10 minutes after being "completed" but before proper patches are installed. A firewall should be the FIRST thing installed after the OS boots up. Have the firewall ready on CD, so that you can boot and install it pronto.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

I have *never* done the pre-packaged install. Always choose custom, so that I know what is going on there, and have the chance to kill off things that I won't need, such as a network news server, or chinese characters. I am a big fan of installing what I directly need. I do think in the future though, to install a lot of services, and then deactivate them because they are not required (such as pcmcia on a workstation).

Interesting side note. Would have never seen it, as I always go custom. And when I can, I get the programming and the kernel stuff too. You just never know when you need to do a compile... I did one tonight to get gaim upgraded. The rpm worked fine, but I needed to compile a spell checking library first. Just never know.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

How did you do that? I was for the most part grasping straws. What did you do?

Thanks

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Yup. Compiler problem. WIth that in mind, you might wish to re-install linux, to avoid a lot of dependancy issues. If you have data already on the computer, this might not be the best option.... but if you are just starting out, you might want to go and put the install disks back in there, and have at it.

If that is the case, please let us know, and we can help you with suggested packages. You might also need some partition help too.

To answer DMR's question, type in

df

and post that information for us. It will tell you all of your partitions that are in use of the system.

I hope this exposure to Linux is not souring your opinion of it... the best way to learn is to DO and experience!

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

this is a spyware issue, and best handled in the Security forum. Moving the topic...

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

There is a way to disable the countdown, but you should make sure you have your data backed up before you make this modification. While it isn't a serious mod, if you do something wrong, you might not be able to boot properly, and that can be costly.

On your C:\ there is a file called boot.ini Inside it, you will see a value called Timeout=xx where xx will be the number of seconds hat the computer will wait before booting.

I would suggest that you place it down to 5 seconds. WHile you may want to have it be "immediate", there may come a time and place that you need that delay, and wish you had it in there.

UNLESS YOU REALLY KNOW WHAT YOU ARE DOING, do not adjust any other parameters. You will find definitions for other boot partitions within this file. Leave them alone.

Enjoy,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I agree with Catweazle to format it and start over. In the corporate world, this would have happened already. Your cards are shaky, and you might spend forever trying to get all the little nit-nacks to work properly.

Good luck.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

How are you trying to install Windows 2000? Booting from the CD-ROM? The four floppies? I haven't had problems installing using either method. The CD-ROM style went faster...

What are your exact error messages?

Thanks.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Ok. You are trying to compile the program, and not using a package (rpm). What was the error message? Were you lacking some needed libraries? Perhaps you don't have the compilers installed.

Let us know,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

A Virus is a computer program that affects your computer by doing unethical / unautorized modifications to your computer.

For example, Solitare opens a screen where you can play cards. That is what you expected it to do. You authorized your computer to play cards. But what if it had other things going on, such as emailing your friends your credit card numbers? We call this type of problem a Trojan Horse, because it does one thing, but secretly does something else.

Computers have no sense of privacy, ethics, or wisdom. A computer sees every command as something it should do. IF I type in 2 + 4, I expect it to compute that and give me a 6. If a computer sees a command to email this financial file to some address on the internet, it will go ahead and do that.

It is just like a child. A kid sees a toy in the road, and has no "rules" to look for cars. It just goes and gets the toy because it is supposed too.

This is why it is a good idea to:
* Watch what you download
* Have anti-virus protection installed
* Use accounts that are not Administrators / Root Users for your daily work
* Stay away from freebie sites (called warez). There is often a price to pay
* Have a firewall
* Stay informed

Take care, and good luck

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

I am not a SUSE person, so do not know if this will work for sure. I do know RedHat has a program called kudzu that runs early in the booting process that will remove and add devices to the system, to keep the devices and the database clean.

Does Suse have such a program?

You might need to put the old card back in to get the system stable so you can use a monitor and read what is on the screen. You may find a utility in there to manage your hardware.

I would also go to suse.com and look through the support options. You might be able to call them or email them and ask.

Take care,

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Doing a search on Google Groups, it appears that a couple other people report problems with this drive on Windows XP systems. I took a look at seagates website, and could not find anything specific for the firewire model. You might want to go there... it does ask for a model number that I did not have. Maybe a hidden web page.

It might also be time to get on the phone, and call seagate and see what is up.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hello,

Aside from remote controlling your computer in real time with you, I am out of ideas. Sorry about that. VLC worked fine for me. Wonder if your volume is too loud or something. BUt am working in the blind here on this.

Sorry about that.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

Permissions repair only works (is enabled) for the System volume, where the OS X is installed. I have 3 different partitions on my computer, and permissions repair only shows up on the system volume.

So, you boot the computer with OS X install disks, and you tell it to install on the second drive, and it bombs out. Hmm.

I wonder what would happen if you would power down, remove the working hard drive, and place the second drive in the primary position. See if that would clear any weird error. Then, once that is stable, put your first drive into the computer in the slave position (I assume these are IDE), and then migrate your data files over.

I have yet to see OS X Disk Utility fail with a hard drive.

Christian

kc0arf 68 Posting Virtuoso Team Colleague

Hi,

I like the idea, but am proud and glad to have the orig hardware to have it work as intended. But thank you for the article; a very interesting read.

Christian