• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Foldix and Linux commands editing files

MN Scout

Supreme [H]ardness
Joined
Jan 26, 2003
Messages
4,726
I have 3 machines that have been down :eek: that need to be reconfigured. A couple months ago I edited their ips so they'd work on my network using vi and doing the change that was suggested in the Foldix How to. Sadly the power went out and they got unplugged and all the ip stuff got messed up. So I got a different router for free that has an uplink and everything that I wont need to set anything.

Now 2 months later, I want to get these all set up again. THE BIG question, Unhappy_Mage is there a new version of Foldix after .9 that I should use if I'm going to be spending the time reinstalling everything? There is 1 box that doesn't have a cdrom, and it has the version of Foldix that has Memtest and Prime 95 on it, and I'd like to just edit out the changes that I made to manually set the ip address. I don't know the linux commands to open the file in vi and do this. Could someone with some linux knowledge give me a step by step procedure?

For refference this is the process I once long ago did and no longer remember how I did it:
Manually configuring an IP address:
Code:
ifconfig eth0 down
ifconfig eth0 YOUR.STATIC.IP.ADDRESS
route add default gw YOUR.DEFAULT.GATEWAY.IP
echo "nameserver YOUR.DNS.SERVER.IP" > /etc/resolv.conf
If you want to make this permanent (I'd guess so), edit "/etc/rc.d/sysinit" with vi. Arrow down to line 11 and type "i#". This will put you in insert mode, and then comment that line. It's for DHCP which we won't be using, so no need to run it. Then hit the End key and enter, then enter the lines above. When you've got them all typed in, type Esc and then ":wq" (colon w q) and hit enter. Then these settings should persist across reboots.

A step by step procedure for openning that file and editing it would be really appreciated. I really don't know anything anymore. And a link to the newest version of Foldix would be cool to. Thanks everyone.

-MN Scout

 
Bump. Any linux people out there that want to give me a quick hand? Please. 250 more ppd for the team are waiting!

 
Sorry I missed this, I wasn't online much this weekend and I'm just now catching up.

There is a moderately newer version than 0.9 here which includes Memtest and Prime; that sounds like the latest version you've got there.

As for editing, the easy way is wait for it to finish a WU, pull the drive, and put it in a machine with a CDROM; reload it and put it back in. To do it with vi, you need to remove the lines previously entered. Arrow down to line 11, press Insert, press Delete (to remove the #) and then esc. Arrow down to the next line ("ifconfig ...") and press "dd". That will remove the line. Hit that three more times until you've removed the other 3 lines. Then ":wq" to write and quit as usual.

HTH

 
What do I type in at the console to open up vi, and to open up the file?

 
Cool. I'll get a few more machines up tomorrow morning. Thanks for the help.

 
Mage,

With that newer version that has Prime95 and Memtest on, at that screen that prompts which one you want to load, does it default to one after a certain amount of time? I'm curious because if the power goes off and I have to reboot them then I want it to just start folding, and not get stuck at that screen. I don't have the computers hooked up to a screen, or up to a keyboard, so all I want to do is hit the power button and have it start folding. Should I stick to .9 then?

 
I think that they'll automatically boot after 10 seconds or so. I'll check in VMware and get back to you.

 
Back
Top