Message boards :
Number crunching :
Stupid guy installs linux to HD for first time. Watch the madness
Message board moderation
Previous · 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 . . . 9 · Next
Author | Message |
---|---|
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
there are only two jumpers on the board. Clrcmos and bus speed. I tried moving it to 2-3 and clearing cmos. still won't post. Guess I'm stuck at 1800. It does appear I could play with mem timings/voltages a bit though. |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
OK, Todays the day to get RealVNC working. As an experiment, I opened "TightVNC" on this mandriva machine. I typed in "192.168.2.3", entered password, and low and behold I was able to control on of my Winxp machines. However, if I opened RealVNC on another Win machine and entered the addy for the linux machine it came back with "connection refused". I'm off to look at TightVNC to see if there's passwords/permissions I can set. |
![]() Send message Joined: 25 Nov 01 Posts: 21669 Credit: 7,508,002 RAC: 20 ![]() ![]() |
OK, Todays the day to get RealVNC working. As an experiment, I opened "TightVNC" on this mandriva machine. I typed in "192.168.2.3", entered password, and low and behold I was able to control on of my Winxp machines. However, if I opened RealVNC on another Win machine and entered the addy for the linux machine it came back with "connection refused". Usual first suspects to try are whether you are running any firewalls. Second is whether there is any "internet security" whatever paranoid-ware running on the Windows box blocking things. And for Mandriva, look up whether you need to set anything for TightVNC in the file "/etc/hosts.allow" (to permit incoming connections doing anything). Also, you need to have some sort of VNC server active on your Linux box for the incoming connections to connect to (as opposed to just a VNC client). On Linux, you have a lot more than just a 'firewall'. There is some opinion that a firewall isn't really needed at all... Have fun! Cheers, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
the following is all that's in the ./etc/hostsallow file: # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. Do you have an example of how I can edit it? Can I edit it? |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
I've gone to the TightVNC website and they have a windows verion. It might be easier to switch all the windows to TightVNC, rather than switching this ONE machine to realvnc???? |
![]() Send message Joined: 25 Nov 01 Posts: 21669 Credit: 7,508,002 RAC: 20 ![]() ![]() |
the following is all that's in the ./etc/hostsallow file: OK, you've got two files there that work together. The most important is: /etc/hosts.deny # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # # The portmap line is redundant, but it is left to remind you that # the new secure portmap uses hosts.deny and hosts.allow. In particular # you should know that NFS uses portmap! ALL:ALL EXCEPT 127.0.0.1:DENY The "#" as the first character marks that line as a comment and is ignored. Keep the "ALL:ALL..." line. That says that everything from outside is refused. And then, for TightVNC defaults try in: /etc/hosts.allow # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # ALL: 192.168.2. for your internal network. And yes, the trailing "." and no final digit is deliberate. The blank there indicates "0 -> 255". I'm assuming that your internal network is "192.168.2.0" (most default to "192.168.0.0"). To be TightVNC specific (and more secure against unexpectedness,) use: tightvncd: 192.168.2. or whatever the TightVNC server daemon calls itself (the name shown in "configure your computer -> system -> services" or by "chkconfig --list" on a root commandline). You need to have "tightvnc-server" installed. That might automatically put a line into hosts.allow for you in the first place. Good luck! Cheers, Martin (And why do those CODE blocks use DOUBLE SPACING!?) [edit] Take a look on: TightVNC FAQ for other general questions. [/edit] See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Martin, Hans, et al, I'd like to thank all of you for your time and patience. i am typing this from my X2 through realvnc through my Mandriva machine. Before I saw martins instructions I had already downloaded and installed the RPM version of Realvnc. It looked like the install worked. I rebooted in hopes I'd see a realvnc Icon somewhere, but didn't. I went to "internet", "remote access", then "virtual network connection", then went to "allow control" and entered a password. I then went to my X2, tried to "login" and here we are. It seems to be working. I'll close this threadd now and put that machine in the corner (thereby freeing up some deskspace. One again, thank you. I know how long it takes to provide the info you have and I appreciated it. tony ![]() |
![]() Send message Joined: 25 Nov 01 Posts: 21669 Credit: 7,508,002 RAC: 20 ![]() ![]() |
Martin, Hans, et al, I'd like to thank all of you for your time and patience. i am typing this from my X2 through realvnc through my Mandriva machine. Before I saw martins instructions I had already downloaded and installed the RPM version of Realvnc. It looked like the install worked. I rebooted in hopes I'd see a realvnc Icon somewhere, but didn't. Great stuff and you're welcome. Quite a good fun adventure :-) ...And it also looks like the automatic setup pretty much works. So much for commandline twiddling... Soon commandline typing will become a lost art! Enjoy your Thanksgiving hols, Cheers, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
spoke too soon, that method start xOrfb server, but that server and it's config don't survive a reboot. Looking |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
OK, got it. Had to set prefs in Krfb to allow "uninvited connections" and set a password. Seems the "allow connections" is a one time only deal. good luck to all I'm done here, unless someone wants to walk me through getting boinc to start on it's own after a reboot/powerfailure??? lol |
![]() Send message Joined: 25 Nov 01 Posts: 21669 Credit: 7,508,002 RAC: 20 ![]() ![]() |
...I'm done here, unless someone wants to walk me through getting boinc to start on it's own after a reboot/powerfailure??? New thread for setting up boinc to run as a service?... Good luck! Cheers, Martin (ps: Sorry, going offline for a while.) See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Uptime 1 Day, 1 hour 20 min. Added all my projects to this machine(except Primegrid) which doesn't seem to have a linux app. (also haven't added Rieselsieve) all good so far. thanks all tony ![]() |
![]() ![]() Send message Joined: 26 Mar 00 Posts: 401 Credit: 31,534 RAC: 0 ![]() |
Glad to see you got it running Astro... Howed you do it? Another method that can be used to run programs automajically at boot in Linux is with the /etc/rc.d/rc.local file. This is much like autoexec.bat on windows/DOS. If you use this to run BOINC be sure to add the command to run boinc at the end of the file. Once boinc runs it wiil not execute anymore commands listed after it in the rc.local file until Boinc is stopped. This file can be found in other directories on different versions of Linux. The above directory is the correct one for Mandrake. In all my years in Linux I have never seen someone tare through linux for the 1st time the way you have!! Hope you decide to stck with it. The community can always use someone like you. |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Glad to see you got it running Astro... Howed you do it? How did I do what? in particular. I'm still not pleased with some of it, for example, when I use a win machine to connect; X and Xrbf take up 75% of the cpu and it stops boinc from running when I'm managing it. I don't remember Realvnc doing that. But If I exit Realvnc then the machine reapplies full effor to crunching, so I don't attach to it often. I haven't yet played with getting boinc to autorun on start up, but I plan too. I am just tired of giving MS $100 for the priviledge of running boinc on supplemental machines that just sit on the floor (tables, desktops, etc). This is my motivation. It took 4 days (off and on) to get this ONE working and all in all it would have been cheaper to by MS, but I suspect future addtions will go quicker and offset the expense. PS. did you ever get the extra receptacles installed in you apt? |
Hans Dorn ![]() Send message Joined: 3 Apr 99 Posts: 2262 Credit: 26,448,570 RAC: 0 ![]() |
It took 4 days (off and on) to get this ONE working and all in all it would have been cheaper to by MS, but I suspect future addtions will go quicker and offset the expense. I'm doing a basic Debian install for my dedicated crunchers. I've set up a DHCP server and boot new hosts into the Debian installer via ethernet (PXE). A complete install is done in less than an hour. Regards Hans |
Bob Giel Send message Joined: 11 Jan 04 Posts: 76 Credit: 5,419,128 RAC: 0 ![]() |
Hi, I just got my new mobo that replaces the bad cap one on my P4 1.8 system. I'm having trouble gettting the OS to start. Here's the juicy details: Have you tried booting from the XP CD and doing a "repair". XP is seeing that the hardware isn't the same as it was on your laptop. First you have to get XP to recognize the new hardware. If it completes the "repair", it'll probably tell you that you'll have to reactivate XP as there are too many hardware changes. XP(Microsoft) is funny about major hardware changes. No suggestions on Mandriva as I had the same problem trying to install Ubuntu on one of my pc's. Get the logo and options at the bottom of the screen, but it just sits there. ![]() |
Astro ![]() Send message Joined: 16 Apr 02 Posts: 8026 Credit: 600,015 RAC: 0 |
Hi, I just got my new mobo that replaces the bad cap one on my P4 1.8 system. I'm having trouble gettting the OS to start. Here's the juicy details: Bob, Thanks for your effort. It was never my intention to stick with MS. The bits and pieces used to add this slow cruncher to my farm both had win licenses (the Athlon XP200+ laptop hard drive, and the HP 760N desktop of which I reused the CPU and RAM). I intend to purchase additional hardwaere for several new hosts (new this time) and save the $100 MS wants just to crunch Boinc. IMO, MS should come out with an MS Lite which runs $30 and maybe I'd be intereested. |
![]() ![]() Send message Joined: 26 Mar 00 Posts: 401 Credit: 31,534 RAC: 0 ![]() |
Sorry Astro I was mistaken. I thought you ment that you had Boinc running for that time. I take it that you where rferring to reallVNC or TightVNC. In my post I was asking what method you used to run boinc at startup. My bad. since you haven't done that. in particular. I'm still not pleased with some of it, for example, when I use a win machine to connect; X and Xrbf take up 75% of the cpu and it stops boinc from running when I'm managing it. I don't remember Realvnc doing that. But If I exit Realvnc then the machine reapplies full effor to crunching, so I don't attach to it often. It is probably stopping it while there is activity on the machine. Boinc only runs when the PC is idol.unless they have changed that.i've been away from Boinc for about a year. Does it return when you disconnect from the linux box or do you have to stop realVNC/tightVNC on the linux box all together to get boinc to run again? Does BOINc run full speed up untill you log in? The encryprion can bog it down if your useing a slow PC or have a lot of stuff installed and running. I run a 400MHz PC with mandrake 10 that has a rough time of handleing encrypted transfers. (Shttp and SSH) |
![]() ![]() Send message Joined: 26 Mar 00 Posts: 401 Credit: 31,534 RAC: 0 ![]() |
Astro, PS. did you ever get the extra receptacles installed in you apt? Are you referring to when I was rewiring my APT to accept the extra powerload? That was over a year ago!!! I never though anyone would remember that! Yes I did. It ran fine without ever frying another recepticle. I just put in some new breakers and ran the wires to my PC area. In that way me and my roomate each had our own breakers for each of our networks. Together it was too much. I also had to replace the fried recepticles to make everyone happy since they saw it as my fault!! and I had to wash off the burn marks from the walls. |
![]() Send message Joined: 25 Nov 01 Posts: 21669 Credit: 7,508,002 RAC: 20 ![]() ![]() |
... Another method that can be used to run programs automajically at boot in Linux is with the /etc/rc.d/rc.local file. This is much like autoexec.bat on windows/DOS. To continue operation rather than stay trapped in boinc, add a "&" on the end of the command line so that the boinc process is started up in parallel to other operations. Note that if doing this from rc.local, you must also redirect any output to a log file somewhere (use ">" and "2>" or "2>&1"). It is also a good idea to use "su" so that boinc runs as it's own user rather than as root! For example in "/etc/rc.d/rc.local": #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # boinc: /home/boinc/bin/runboinc & And then in "/home/boinc/bin/runboinc" #!/bin/bash # BOINC background tasks # Berkeley seti@home and other clients boinc='/home/boinc/boinc/boinc' # cd "$( dirname $boinc )" cd "${boinc%/*}" # dirname # boinc="./$( basename $boinc )" boinc="./${boinc##*/}" # basename # Ensure that only one instance will be running (kill all others) killall $boinc >/dev/null 2>&1 sleep 15 #boinc="'$boinc -allow_remote_gui_rpc'" # su --command="$boinc -allow_remote_gui_rpc" boinc >>/var/log/boinc/boinccli.log 2>&1 & su --command="$boinc" boinc >>/var/log/boinc/boinccli.log 2>&1 & OK, so lots of "boinc" in there. That little lot assumes that you've installed into the boinc user home directory in a directory also called boinc. Also, you need to create a boinc writeable boinc directory in /var/log for the log messages. You could instead just have that in your boinc user directory. But then, I also use logrotate to rotate the boinc log in /var/log. Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.