Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Olaf Greve
Hi all, On two distinct machines (both running FreeBSD 5.3 release, one is the AMD-64 version, the other is the i386 version) I am experiencing problems when trying to SSH to the machine using PuTTY. PuTTY shows the login prompt just fine, but when entering the proper username/password (yes, I

Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64

2005-01-07 Thread Olaf Greve
Hi, A client of mine asked me to install their AMD-64 machine as a MySQL database server. Totally against my strong suggestion to use a proper SCSI hardware RAID 10 solution (or at least a hardware SATA RAID solution), they insist on using the internal Sil 3114 software RAID controller in RAID

Re: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-07 Thread Olaf Greve
Hi Jon, You did not state the version of Putty you are using. Hmmm, good one. I just checked and it is version 0.50. Try the latest version, (release 0.56) I beleive. There was a problem in earlier versions of Putty with keyboard-interactive method of authentication. I'll give that a shot. It's

Re: Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64

2005-01-07 Thread Olaf Greve
Hi Erik, Thanks for your answer! I don't think FreeBSD supports the SiI 3114 as a RAID controller, but only as a normal controller. All the RAID stuff for that controller is done in software anyway, but FreeBSD needs to know what format the BIOS uses for a RAID setup, and it doesn't. Indeed that

Re: Problem when SSH-ing to FreeBSD 5.3 using PuTTY?

2005-01-10 Thread Olaf Greve
Hi, Alright, last Friday I promised to let you guys know what the outcome was of the issue where PuTTY wouldn't connect to FreeBSD 5.3. And the winner is...: Look in /etc/ssh/sshd_conf for the setting PasswordAuthentication I think the default changed from yes to no. HExren Indeed. By default

Re: Sil 3114 RAID controller issues with FreeBSD 5.3 Release AMD-64 - and Promise RAID controllers???

2005-01-10 Thread Olaf Greve
Hi, Last Friday I ranted: In this case, time IS money, so that's why I'm trying to convince my client to better spend that money (and my time) on simply buying a supported hardware RAID controller, which really is a win-win situation for both my client and myself. However, somehow I've not yet

libintl.so.5 issue when installing logrotate

2005-01-11 Thread Olaf Greve
Hi, I ran into a rather funny issue (fbsd 5.3-release, i386). I have an updated ports tree (that is: twice per week cron updates it using cvsup). Now, I tried installing /usr/ports/sysutils/logrotate (make install) O.k., it failed, mentioning that it required gettext version 0.13 or higher. No

Re: Blacklisting IPs

2005-01-11 Thread Olaf Greve
Hi, It's best to report them and it's not hard to do it. There are automated tools that will do it. I would be very interested in setting up such a tool on my server as well. My passwords are not easy to guess, and root is not allowed to login anyways, and changes are extremely slim that

How to transparently set-up two differently configured network interfaces?

2005-01-12 Thread Olaf Greve
Hi all, I find myself with little time to find a neat solution for the following situation: We have a Shuttle on which fbsd 5.2.1 is installed. Now, the machine used to have just one network interface, of which I'd simply switch the settings when the machine needs to be used for demo purposes,

FreeBSD basic tool differences with Red Hat Enterprise 3

2005-02-18 Thread Olaf Greve
Hi all, Today over here a rather fancy server was delivered on which in little time I have to set-up several packages, such that the machine becomes a web server for an intranet application. Now... Though basically most Unixes are heavily similar, I unfortunately find myself with very little

Native POSIX threads + Java under FreeBSD 5.3 release i386

2005-03-10 Thread Olaf Greve
Hi all, As is typical, I have once again been given very limited time to get something running, and there are some interesting things to figure about about it. :) In brief, the application is a distributed one, loosely based on some CORBA concepts, though differently (fortunately!). The

Re: Native POSIX threads + Java under FreeBSD 5.3 release i386

2005-03-11 Thread Olaf Greve
Dear Dan, Thanks for your answer! A follow-up: Why would they require an OS-specific threads library, instead of simply requiring Posix threads? I can tell you right now that Solaris doesn't support NPTL, just the same way Linux doesn't support Solaris's thread library :) Interesting. The people

Shared object libintl.so.5 not found error when installinglogrotate port - how to solve this?

2005-03-15 Thread Olaf Greve
Hi all, I have run into a weird issue, which for some reason doesn't want to get resolved. I am using FreeBSD 5.2.1 Release i386, and my ports tree is recent (via /usr/local/bin/cvsup -g -L 2 /root/ports-supfile). However, when trying to install the logrotate port (i.e. version

Re: Shared object libintl.so.5 not found error wheninstallinglogrotate port - how to solve this?

2005-03-16 Thread Olaf Greve
Hi, Firstly, thanks for your reply! No, you have the right version of gettext but you didn't address the problem. I feared as much...:( Soo, the question then winds down to how to resolve this. Can anyone tell me how I can fix this problem? Well, you have a mix bag set of references to

How to clear an improperly unreferenced file in multi-user mode?

2005-11-03 Thread Olaf Greve
Hi, When doing some maintenance on my fall-back server I ran into something weird. When running df it turned out /var was for 90% full. I then manually deleted some files (as root over SSH), amongst which the 'maillog' logfiles in /var/log, I also killed sendmail (as it was generating the

How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-16 Thread Olaf Greve
Hi, I'm trying to set-up an SSH tunnel between two FreeBSD machines, over a direct cross-wire connection between the two, and I'm having issues in doing so. The question(s) I have is/are probably not FreeBSD specific, but still I hope someone can answer it/them... The situation: I have two

Re: How to properly set-up an SSH tunnel on FreeBSD for automatic backups

2005-11-16 Thread Olaf Greve
Hi all, Thanks for the replies! I also received several very helpful off-list replies, and they caused me to opt for my plan B, which is simply a 'rendez vous' type pull-mechanism. I already had a nightly cron job set up on the live server that neatly dumps the MySQL DB instances to a

Memory limit issue (malloc) for PHP script under Apache

2005-12-07 Thread Olaf Greve
Hi all, A colleague of mine has run into a weird issue, for which we hope someone knows a solution (or otherwise: if someone knows there's no (easy) solution, that's also good to know. The issue: when running a script that will consume a large amount of memory (under FreeBSD 5.2.1-release

Re: Memory limit issue (malloc) for PHP script under Apache - solved!

2005-12-07 Thread Olaf Greve
Hi guys, Well, my colleague has done some more RTFM-ing and Googling, and he found the following solution: Put kern.maxdsiz=1073741824 in /boot/loader.conf (see the example in /boot/defaults/loader.conf), and then reboot. That way a new kernel compilation was not required. Tnx for thinking

How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve
Hi, I've got a question which is probably pretty easy to answer: how can I assign more memory to a PHP script running in a shell and/or in a browser. Some more background info: I'm building a PHP script that has to retrieve pretty large sets of data from a remote MySQL database, then process

Re: How can I increase the shell's (or specific application's) memory limit?

2006-04-03 Thread Olaf Greve
Hi Daniel, Generally, I think it's bad programming practice to retrieve such big datasets if it is possible to do otherwise. I definitely agree that it is bad practice, and in that respect I'm inclined towards doing batch loading as you suggest too. However, there's some data agregation

Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Olaf Greve
): [...] [Wed Feb 15 15:12:38 2006] [notice] caught SIGTERM, shutting down [Wed Feb 15 15:12:41 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 15 15:12:41 2006] [warn] RSA server certificate CommonName (CN) `Olaf Greve' does NOT match server name

Re: Help! Apache 2.2 gives segmentation fault errors with PHP. - Solved! :)

2006-02-16 Thread Olaf Greve
Hi all, Yesterday I had trouble when configuring Apache 2.2 with PHP 4.4.2, which caused Apache to crash (segmentation fault) when calling various PHP functions. The hint to the answer resided in the /var/log/httpd-error.log file: And the /var/log/httpd-error.log file mentions the

Problem with creating home directories when creating users using pw under 5.2.1 Release i386

2004-11-25 Thread Olaf Greve
Hi guys, I'm new to this list, so I hope I'm not flogging a dead horse here, but after an upgrade from 5.1 Release to 5.2.1 Release (i386) I encountered a weird thing: when being root, and creating users using the pw command as follows: pw useradd testusr -g testgrp -s /bin/sh No home directory

RE: Problem with creating home directories when creating usersusing pw under 5.2.1 Release i386

2004-11-25 Thread Olaf Greve
Hi, Give pw the -m option to instruct it to mkdir the home directory. Tnx! That works a charm! No idea how I could have missed that one, guess I'd better RTFM somewhat better than I did...:P Cheers! Olafo ___ [EMAIL PROTECTED] mailing list

Updating packages list (using cvsup?)

2004-11-26 Thread Olaf Greve
Hi all, I was wondering about a thingy. Whenever I use sysinstall to add a package, the list seems to be constantly the same (i.e. often outdated), whereas more recent versions should be available of several of the packages. Of course I can manually d/l the packages and if necessary compile them

RE: Updating packages list (using cvsup?)

2004-11-26 Thread Olaf Greve
Hi Thomas (and others), First off: thanks a lot for your answer, this is indeed what I was looking for... Then some specifics: Packages are pre-compiled so there is little ability to configure them, should you need to. Although I still know many people who prefer using packages. I find them

RE: Qpopper errors

2004-12-02 Thread Olaf Greve
Hi, So, anybody don't know what is this? :( My guess... *everybody* doesn't know what this is (although some might know what Qpopper is). Part of your message is missing? :))) Indeed the question could be slightly more specific. :) Part of it can be answered though: Qpopper is a POP3

RE: php4-cli or mod_php4

2004-12-06 Thread Olaf Greve
Hi, i want to install apache+php+mysql. If i install mod_php i cannot install php4-extension (mysql, etc ...). If i try to install php4-cli and extensions apache doesn't know how to handle .php files . What's the they to go to make apache work with mysql and php ? fBSD is 5.3. Well, up

RE: php4-cli or mod_php4

2004-12-06 Thread Olaf Greve
Hi, Correct solution would be to install mod_php4 first and then install all the necessary extensions via separate ports. For instance, to get MySQL support in PHP you would install /usr/ports/databases/php4-mysql. This way of installing extensions via ports was introduced when PHP

How to distribute MySQL over various machines (or otherwise up its performance)?

2004-12-13 Thread Olaf Greve
Hi, I have been asked to assist in a most interesting challenge: getting rid of a Win2K server (running MySQL) on which MySQL takes up around 100% of the CPU. :) I have near total freedom in suggesting a replacement architecture (within some reasonable finacial limits, of course), and I am

MySQL cluster on FreeBSD AMD-64 ?

2004-12-17 Thread Olaf Greve
Hi guys, A few days ago I asked for experiences you all might have with optimising MySQL for large DB applications under FreeBSD. Well, the plot thickens, and hardware and OS-wise I think I now am well on my way of finding a very promising solution. The idea is to use FreeBSD 5.3 AMD-64, using

Properly installing PHP4 extensions under Apache 1.3.x

2005-01-04 Thread Olaf Greve
Hi, A while ago the topic was raised about how to properly install PHP 4.3.8+ versions with their required extensions, under Apache 1.3.x. I'm doing so just now, but I seem to be missing one step, as the extensions do not seem to get picked up. Here's what I did: 1) Update the ports tree using

Re: Properly installing PHP4 extensions under Apache 1.3.x

2005-01-04 Thread Olaf Greve
Hi again, Alright, I just found the missing step: I used to have an existing php.ini file in which the extension_dir directive was not disabled. Commenting that directive does the trick. :) So the correct procedure should then be: 1) Update the ports tree using CVSup 2) Build the

Compatible DVD burners for AMD-64 version of FreeBSD 5.4?

2005-05-25 Thread Olaf Greve
Hi, Within a few weeks I will be aquiring a new server, and it will most likely feature a 64-bit AMD processor. One of the (hardware-wise) things I need to solve before being able to actually get it, is which DVD burner (for back-ups, etc.) I can best install in it. From the FreeBSD 5.4

Re: Compatible DVD burners for AMD-64 version of FreeBSD 5.4?

2005-05-26 Thread Olaf Greve
Hi, Thanks for your replies! Ronald wrote: Over the years Plextor CD and DVD rewriters have served me well. That's why I chose a PX-712A for my amd64 system. It works flawlessly with cdrecord and growisofs via the CAM SCSI subsystem. Tnx! I'll take a look at that one. Actually you mention

DVD burners and the Adaptec 2200S RAID controller...

2005-05-27 Thread Olaf Greve
Hi Roland, First off: tnx for your reply! I haven't tried burning DVDs with the ATA driver. The manual page for growisofs says that you should use SCSI devices on OpenBSD and NetBSD, but it doesn't mention FreeBSD. Hmmm, one would guess FreeBSD not to be very different in that respect.

Re: DVD burners and the Adaptec 2200S RAID controller...

2005-05-27 Thread Olaf Greve
Hi, [...] 2200S. What I'm wondering about is the following: would it be possible to use the 2200S as a regular controller for a SCSI DVD rewriter, in combination with it running 4 drives in RAID 10 mode? The controller has two U320 channels and allows up to 30 devices to be connected to it.

Re: DVD burners and the Adaptec 2200S RAID controller...

2005-05-30 Thread Olaf Greve
Hi, Tnx again for your answer! Most of what you need is already in the GENERIC kernel. The rest is a available as modules. IIRC, you have to load the cam.ko module. Just use the ATAPI DVD burner via CAM. AFAICT it's very stable. I haven't burnt a coaster yet. An SCSI DVD burner is bound to be

How to remotely check an Adaptec 2100S RAID array status under FreeBSD 5.2.1?

2006-08-14 Thread Olaf Greve
Hi all, I hope someone can answer the following question for me (which may be trivial). In my fall-back server I use an Adaptec 2100S SCSI RAID controller, with two (identical) drives attached to it. This morning I recieved the dreaded phonecall (from the server farm) that that machine is

Re: How to remotely check an Adaptec 2100S RAID array status under FreeBSD 5.2.1?

2006-08-15 Thread Olaf Greve
Hi Chad, there is a freebsd program that can be used to report on and manage your raid on a 2100s. Google frebsd and adaptec 2100s Thanks a lot! So indeed this is done by installing some programs for it, and they do exist for FreeBSD as well. :) Alrighty, tnx a lot, when rebuilding the

Help please: how to enable SSH password authentication under FreeBSD 6.2?

2007-02-12 Thread Olaf Greve
Hi guys, (Firstly: I posted this message well over an hour ago, and it does not seem to have come through, in case you recieve this twice, then I'm sorry for that :P ) Sorry to ask such a trivial question, and I'm positive it must have been treated here before, but I just can't remember how

Re: Help please: how to enable SSH password authentication under FreeBSD 6.2?

2007-02-12 Thread Olaf Greve
Hi Garrett, Firstly: thanks for your reply! Just looking at your config everything appears to be fine. If you don't have PAM enabled or don't want it enabled though you should uncomment this line in your config: # Change to no to disable PAM authentication ChallengeResponseAuthentication no

Help please: how to enable SSH password authentication under FreeBSD 6.2?

2007-02-12 Thread Olaf Greve
Hi guys, Sorry to ask such a trivial question, and I'm positive it must have been treated here before, but I just can't remember how to do it exactly, and perhaps someone can give me a quick answer and spare me hours of further RTFM-ing. :P The issue: I'm (re-) installing my fall-back server,

Help please: how to enable SSH password authentication under FreeBSD 6.2?

2007-02-12 Thread Olaf Greve
Hi guys, Sorry to ask such a trivial question, and I'm positive it must have been treated here before, but I just can't remember how to do it exactly, and perhaps someone can give me a quick answer and spare me hours of further RTFM-ing. :P The issue: I'm (re-) installing my fall-back

Re: [SOLVED] Help please: how to enable SSH password authentication under FreeBSD 6.2? Solved - but not in an expected way

2007-02-13 Thread Olaf Greve
Hi all, To cut to the chase, I 'solved' the issue, or rather, the mystery around it at least, but the 'solution' was not quite as expected. I tried both suggestions given. Firstly: It rather looks like putty is checking the server key with the older one (you mentioned you reinstalled the

Re: [SOLVED] Help please: how to enable SSH password authentication under FreeBSD 6.2? Solved - but not in an expected way

2007-02-13 Thread Olaf Greve
Hi Bill, I'm not seeing this. I tried this with PuTTY 0.58 on a fresh FreeBSD 6.2p1 system and had no problems. So I grabbed the latest PuTTY 0.59, and that worked fine as well. [...] I haven't been following this thread, so I don't have any ideas on what your problem might be, but it's

Re: [SOLVED] Help please: how to enable SSH password authentication under FreeBSD 6.2? Solved - but not in an expected way

2007-02-13 Thread Olaf Greve
Hi again, I must ammend a technically incorrect thing that I wrote previously: Is this what you tried too, or did you use SSH2 (i.e. key authentication, instead of password authentication)? Both SSH1 and SSH2 can use password authentication, so I incorrectly wrote that PuTTY does not fall

Re: [SOLVED] Help please: how to enable SSH password authentication under FreeBSD 6.2? Solved - but not in an expected way

2007-02-14 Thread Olaf Greve
Hi again, Well as mentioned yesterday, I couldn't let this one go by without at least trying to figure out the real reason, so I experimented somewhat further. The issue of ssh1 vs. ssh2 appears to already be clarified, so I won't go into it again. Yes, indeed. I myself yesterday came to

Good synchronisation strategies (especially for the users and groups)?

2007-02-14 Thread Olaf Greve
Hi all, I hope someone can give me some good advice regarding synchronisation strategies between two (very) different FreeBSD installations. My live server runs FreeBSD 5.4 release AMD-64, and my fallback server runs FreeBSD 6.2 release i386. The drive sizes do not match eiter, as the live

Amavisd-new + spam assassin tuning?

2007-08-15 Thread Olaf Greve
Hi all, Perhaps this is not the best place to ask this, but if so, I hope someone can quickly point me in the right direction. The situation: On my FreeBSD live box I have set up a split Sendmail RX set of daemons, such that incoming mail gets tunneled through Amavisd-new + ClamAV +

How to manually patch/configure/compile Apache 2.2.4's mod_autoindex module?

2007-04-24 Thread Olaf Greve
Hiya, I have run into a seemingly trivial, yet annoying issue. I used to use Apache 1.3.33 on my live server, and recently I upgraded to Apache 2.2.4, which apart from some hassles when upgrading the PHP4 extensions, went well. However, there is one small thingy that is different: there

Re: How to manually patch/configure/compile Apache 2.2.4's mod_autoindex module?

2007-04-25 Thread Olaf Greve
Hi Frank, Tnx a lot for your answers! Have a look at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- using.html in particular: 4.5.2.1 Overriding the Default Ports Directories You basically copy the port wholesale to somewhere in your directory tree and build your new

How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-03 Thread Olaf Greve
Hi, Recently I upgraded my Apache 1.3.33 webserver to Apache 2.2.4, and ever since, I noticed that it is acting in such a way that it often is VERY greedy with my server's resources. Quite often, when running top, a list that is as the one that appears at the bottom of this e-mail is

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread Olaf Greve
Hi Ivan and Dan (and the lists), The size of apache processes is telling me you're using PHP or some other heavy apache module. Indeed I am (I forgot to mention this). It is PHP 4.4.6, and it is set up as an Apache module. If so, you can switch to using PHP as FastCGI responder via

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread Olaf Greve
Hi again, Hmmm, the load is very high right now, and again mail is not comming through. This time, it seems the queue runner is blocking matters. When checking /var/log/maillog, there are entries for the RX daemon having received messages, but also there is this entry: May 4 12:29:38

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread Olaf Greve
Hi again, This time a question from the Apache side of this issue: You'll have to correlate this with HTTP requests apache receives - maybe there's a PHP script that's unusually CPU intensive. Is there any (easy) way to do this in conjunction with specific PIDs of stressed httpd

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread Olaf Greve
Hi, It might as well be a search engine spider. Perhaps it is... By just tailing the httpd-access.log file a few times over the past 10 minutes or so, at least I already just came across: 74.6.70.45 - - [04/May/2007:13:12:34 +0200] GET /olympus/tope/ tope_show_entry.php?event=13pic=1

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?

2007-05-04 Thread Olaf Greve
Hi, Investigate the Apache server-status handler (assuming its still there in 2.2). If you also enable the ExtendedStatus output from server- status, I just enabled it like that, as well as the server-info handler. This is indeed what I was looking for, and it directly identified the

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]

2007-05-08 Thread Olaf Greve
Hiya all, Well, I promised you guys a follow-up on this, and here's what I have found out (first the situation and solution, and then two small questions) The situation: Firstly, I took some measures to figure out where the issues came from, and using Apache's server-status handler

Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]

2007-05-09 Thread Olaf Greve
Hi again, Tnx for your further recommendations. I'll take the following actions: 1) I'll report the IP addresses to Spamcop and Spamhaus (note that indeed it appears to be virus-driven, or operated through backdoors, as the server is under constant attack, coming from a variety of IP

Which MySQL version best to use and with/without linux threads?

2005-09-30 Thread Olaf Greve
, as this is the moment for me to make this sort of decicion, and I'd like to do so based on real user's experiences...:) Thank you kindly in advance, and with kind regards, Olaf Greve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Re: Which MySQL version best to use and with/without linux threads?

2005-10-03 Thread Olaf Greve
Hi all, Thanks a lot for your answers! I see that MySQL v5 is not mature enough for my likings to risk the gamble already, and presently I have no need for triggers and stored procedures (though they can be very handy, of course). Regarding version 4.0.x versus 4.1.x: the same applies as

How to best set-up a small local 'sync' network next to the live network?

2005-10-05 Thread Olaf Greve
Hi, At present I'm in the last stages of configuring my new (primary) web server. As soon as I'm done with it, I want to place the machine at the server farm, connect it to the present live server, take the later one off-line for an hour or so, hook it up via local network to the new primary

How to properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread Olaf Greve
Hi, This'll surely be a really novice question, but I'd like to get it right in one go, and RTFM-ing using Google somehow didn't produce uniform enough results for my likings. :) The situation: I just installed FreeBSD 5.4-Release AMD64 on my new machine (though the question is most likely

Re: How to properly mount a DVD-R/W drive and how to use it from the command line?

2005-10-06 Thread Olaf Greve
Hi all, Thanks for the excellent replies regarding this! Regarding the mounting: indeed I do have a proper /etc/fstab, so I'll use mount /cdrom then. Tnx for explaining about the need to mount it in ISO-9660 format, and that the 'ro' flag is correct after all. :) So, the remaining thing

How to properly set-up multiple NICs?

2005-10-12 Thread Olaf Greve
Hi, I have a short and surely straightforward question: I want to set-up two NICs on two of my FBSD 5.x servers. Each server will have a dedicated NIC for all outside world traffic, and between the two machines I want to set-up a 192.168.1.x local network via a cross-wire cable, dedicated to

Re: Moving down from amd64 to i386 ??

2005-10-12 Thread Olaf Greve
Hi, We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly with Seg fault, signal 11. gdb bt says: Cannot access memory at address 0x8000). We have got information saying this is a 64bit related issue and should be fixed by using the i386 version instead of amd64 (this

Re: How to properly set-up multiple NICs?

2005-10-12 Thread Olaf Greve
Hi, Tnx for the reply! I don't think you've missed anything. Good! That's what I also thought, but I just wanted to be sure. :) In /etc/rc.conf you can add something like: ifconfig_rl0=inet 192.168.17.1 netmask 0xff00 ifconfig_lo0_alias0=inet 172.17.0.1 netmask 0x

Why is my DVD /dev/cd0 instead of /dev/acd0 after recompiling kernel?!?

2005-10-13 Thread Olaf Greve
Hi, Well, yesterday the inevitable finally happened: I lost my 'custom-kernel-compilation' virginity. :) Indeed, when trying to burn a DVD using growisofs I quickly found out (tnx Google!) that I had to add the atapicam device to the kernel. This was done based on what I read here:

Proper SSH set-up

2005-10-18 Thread Olaf Greve
Hi all, I have some probably straightforward questions regarding SSH, and I couldn't find the answers to all of them using Google, so I hope someone can provide me with them. :) The situation: Last week I added a second (fall-back) server next to my life server, and I want to automate

Has anyone ordered these FreeBSD case badges?

2005-10-19 Thread Olaf Greve
Hi, A while ago I ran across a site that offers very cool FreeBSD (and other) case badges. Yesterday I decided to order a badge, but to no avail. :( when trying to do so, I got the following error: ERROR Invalid Vendor ID: error Please use the Return link, and try again. If this problem

Re: Has anyone ordered these FreeBSD case badges?

2005-10-19 Thread Olaf Greve
Hi, Finally: in case placing an order from the above site will not work out, does anyone know of any other good place to order such beastie case badges? I've had pretty good experiences with http://www.scotgold.com/ Tnx! Fortunately, these ones were better priced and had a wider range of

Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Yesterday it has been brought to my attention that SSH access is not working well on my new server. The background: I have set-up a new server (FreeBSD 5.4-Release AMD/64) and I migrated the user accounts from my old server (FreeBSD 5.2.1-Release i386). Now, I was under the assumption

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Some things to try, in sshd_config set: PrintLastLog=no LogLevel=DEBUG Tnx a lot, this did the trick!!! I first tried it without the PrintLastLog no command, and with a proper AllowUsers line and that still didn't allow the login over SSH. Then, adding that PrintLastLog no line (and

Re: Weird SSH problem... Any ideas?!?

2005-10-20 Thread Olaf Greve
Hi, Well, it all seems to be a question of granting users access to the right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ? These are both 644, owned by root:wheel. These should be world readable while /etc/master.passwd and /etc/spwd.db should not. These are both

Re: Having Some Trouble with Java on FreeBSD

2005-10-21 Thread Olaf Greve
Hi, O.k., people please correct me if I'm wrong but... I've been having a small amount of trouble with running Java on FreeBSD (version 5.4 for amd64) and I was hoping that someone would be kind enough to help me out. I manually installed the linux version of Java. Which seemed to work

Re: Weird SSH problem... Any ideas?!?

2005-10-21 Thread Olaf Greve
Hi again, Erik Norgaard wrote: I think you can use mtree to get permissions right if they for some reason have been changed. This might be a good one to check... I'm not familiar with it yet, but does this check all permissions and ownerships and corrects errors/mismatches where possible?

Re: Weird SSH problem... - Solved! :)

2005-10-21 Thread Olaf Greve
Hi Erik (and others), # cd /etc # pwd_mkdb master.passwd # pwd_mkdb -p master.passwd I made copies of /etc/passwd and /etc/master.passwd, then I ran the two commands above and now it all seems to work fine!!! The abcdef user is now properly identified again. :) Tnx a lot A great way to