FreeBSD 5.0 Release : /stand/sysinstall running as init on vty0
Hello, I wanted to test FreeBSD 5.0 on my Compaq ProLiant 1500 server. It boots and right after the SCSI settles, it prints : /stand/sysinstall running as init on vty0 and nothing happens. I get no errors. The server is a bi-proc. 166MHz with 192MB of RAM it has a SMART - 2/P ARRAY controller. FreeBSD 4.7 worked great on it. Does anyone have an idea? Thank you, Gabriel Rossetti To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ssh w/ rsa certs not working
Hello, I tried to setup ssh on a FreeBSD 4.8 (OpenSSH_3.5p1) to use certificates to log in to a FreeBSD 6.1 (OpenSSH_4.2p1) machine, but it still asks for a password. I did the same setup, same steps, to get the FreeBSD 6.1 machine to log into a Gentoo Linux (OpenSSH_4.5p1) machine without any problems. Having done that, I can be fairly sure that my steps are correct, I followed this guide : http://backuppc.sourceforge.net/faq/ssh.html#how_do_i_setup_openssh The user needing to log in is root (I know this is not good and turned off by default), so I re-enabled root login with ssh but like I said above, I get a password prompt when I do : ssh -l root machine2 whoami Does anyone have an idea as of why it is not working? Thank you, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: **questions** ssh w/ rsa certs not working
Matt Ruzicka wrote: On Wed, 24 Jan 2007, Gabriel Rossetti wrote: The user needing to log in is root (I know this is not good and turned off by default), so I re-enabled root login with ssh but like I said above, I get a password prompt when I do : ssh -l root machine2 whoami Not sure if there is more going on as well, but you might want to set PermitRootLogin without-password in your sshd_config on the server you are trying to access. This /should/ give you a bit more security in that someone won't be able to brute force your root password if I understand it, but will allow you to login using the sshd keys (if they are set up properly). Might also check file and directory perms on .ssh and the different key and authorized_keys2 files involved if you haven't already, seems perms often bite me.. I have rwx for user and nothing for group and others. Thanks for the safety tip, I'll do that. I added the -v param to ssh and I found this : debug1: Remote: Your host 'machine2' is not permitted to use this key for login. after playing around with it I found two problems : 1) FreeBSD uses ~/.ssh/authorized_keys and not ~/.ssh/authorized_keys2 like linux 2) I had put : from=machine1 ssh-rsa [base64 key, eg: ABwBCEAIIALyoqa8] to limit from where I can login, in my ~/.ssh/authorized_keys and it doesn't seem to like that (from=machine1 ) any ideas why it doesn't like the 2nd point? Thanks, Gabriel Matt Ruzicka - Senior Systems Administrator FRII 970-212-0728 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Best software raid 5 software?
Hello, I am about to switch to software raid 5 for my personal server. I know hardware raid 5 is better, but being a student I'd rather not invest in a raid adapter now, plus my cpu is being used at about 0.0% 24/24 7/7, so it needs some exercise :-) I've heard of several software-based raid-5 projects, mainly of Vinum, has anybody tested it or any other ones? Which would you suggest? Thank you, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: will freebsd run on apple intel xserve
George Hartzell wrote: Jason Joines writes: I'm a Linux guy who has inherited some apple xserve boxes. Surprisingly I've discovered that I really hate os x. For the intel xserve boxes, Linux isn't an option. The CPUs are amd64 architecture. AMD64on an Intel X-Serve box? I think you got it wrong there... Anyways, EFI support for Xeon CPUs should work without a problem, even for linux. I'm not sure about EFI support, I think it's fine in CURRENT, from what I've read on the net. Good luck, Gabriel The EFI capable Linux bootloader, has had beta support for amd64 since July. However, the Linux kernel just got support to boot via EFI and amd64 in a release candidate patch this month. It'll probably be quite a while before a distribution has an installer with what I need. At any rate, I've always wanted to try one of the BSDs. Will FreeBSD install on an apple intel xserve? If not does anyone know if another BSD or some other open source NIX will work? I can't give you a direct answer, but I was running 6-STABLE on an 8-way mac pro up until a couple of weeks ago (I had to give it back to it's owners and I'm waiting until after the next wwdc to buy my own...). I used bootcamp to partition a spare disk, then just booted from a freebsd cd and installed onto that partition. I ended up using refit as a boot doohickey (initially from an refit cd, eventually taking a chance on installing it onto the disk itself). There wasn't anything too surprising. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Locking SSH Users to $HOME
L33T Networks wrote: Using the SSHD server, how can I lock users SSH'ing into a box into their home directory, without having access to the /usr/home directory as a whole? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What about creating a jail? Whis wikipedia article explains it ; http://en.wikipedia.org/wiki/Freebsd_jail Cheers, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't get FreeBSD to boot automatically from RAID 5 system
Hello, I purchased a RocketRaid card + 3 disks, and moved my FreeBSD 6.1 to it using dump, I then changed my fstab entry to use da0s1d for /, I made sure that the it is bootable, I told my raid controller to be bootable, I set it up to boot in my BIOS as the first device, I added the kernel module to the /boot/default/loader.conf so tha it is loaded, I modified the loader.cong so that the root_dev=disk0s1d, but when I reboot, it says Invalid partition and prompts me to enter the correct partition. It apperently tried to use 0:da(0,a)/boot/loader so I tell it to use 0:da(0,d)/boot/loader and it boots, everything works fine. I must have forgotten to do something, because it always tries to boot da0s1a instead of da0s1d. Does anyone have an idea on how I can tell it to boot from da0s1d? Thank you, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get FreeBSD to boot automatically from RAID 5 system
Frank Wissmann wrote: FreeBSD boots by default from the a-partition and IMK you can't change this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it will work. Regards Frank How can I do that? When I use sysinstall to create my partitions it automatically create's it as da0s1d. If you ment to modify my root_dev=disk0s1b (in /boot/default/loader.conf) back to it's default value (an a-partition) Then how is this going to help? Thank you, Best regards, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get FreeBSD to boot automatically from RAID 5 system
Gabriel Rossetti wrote: Frank Wissmann wrote: FreeBSD boots by default from the a-partition and IMK you can't change this. Try to setup your rootdev as disk0s1a instead of disk0s1d and it will work. Regards Frank How can I do that? When I use sysinstall to create my partitions it automatically create's it as da0s1d. If you ment to modify my root_dev=disk0s1b (in /boot/default/loader.conf) back to it's default value (an a-partition) Then how is this going to help? Thank you, Best regards, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I get what happened... when I created my partitions, I had my old disk installed, since I was booting from it, so the a-partition was already taken, now that it is gone, I would have to rename it, is that possible? Best regards, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get FreeBSD to boot automatically from RAID 5 system
Frank Wissmann wrote: Well, I think if you boot your computer from a cdrom and edit with bsdlabel you get into an editor where you can change the d into an a. That must be the solution you want. Regards Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ok, thanks, I'll do that Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get FreeBSD to boot automatically from RAID 5 system
Alex Zbyslaw wrote: Matthew Seaman wrote: Gabriel Rossetti wrote: How can I do that? When I use sysinstall to create my partitions it automatically create's it as da0s1d. Use: bsdlabel -e da0s1 There's also a trick you can use in sysinstall. It will only ever assign an a partition to /. So if you have some partition which you know will act as a root partition, but isn't actually going to be one right now, *lie*. Set the mount point to / and get assigned e.g. da0s1a then *change* the mountpoint with M (I think) back to whatever you're calling this partition right now e.g. /root2. Make sure you turn off softupdates (S?) if changing the mountpoint turns them back on. Once the a partition has been assigned, it won't be re-assigned just because you changed the mountpoint. Of course, this means that you have to assign all the pseudo-root partitions before you assign any real root partition otherwise sysinstall will likely complain about the duplicate mountpoint. (Or change the real root mountpoint, do your pseudo roots, then change the real root back to /). Of course, it doesn't help you now, but if there's a next time... --Alex Thank you Alex, yes, like you said, there's always a next time :-) Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
edit files in single-user-mode, the output is all messed up
Hello, I have never been able to figure out how to do this, and I usually end up copying the file to be edited to a floppy et be able to edit it from another machine, but there has to ba a way to do it! Everytime I go into single-user-mode and I have to edit a file, the output to stdout is messed up (looks like there are no \n). I tried several editors (vi, ee, edit (ee I think), and I get the same thing, useless to say that it's impossible to edit the files. The only editor that works, is vim, but it's not always installed. Does anyone know why this happens? And does anyone know how to fix it? Thank you, Gabriel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: edit files in single-user-mode, the output is all messed up
Christian Walther wrote: On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote: Hello, I have never been able to figure out how to do this, and I usually end up copying the file to be edited to a floppy et be able to edit it from another machine, but there has to ba a way to do it! Everytime I go into single-user-mode and I have to edit a file, the output to stdout is messed up (looks like there are no \n). I tried several editors (vi, ee, edit (ee I think), and I get the same thing, useless to say that it's impossible to edit the files. The only editor that works, is vim, but it's not always installed. Does anyone know why this happens? And does anyone know how to fix it? You could try to set a decent TERM-variable, such as TERM=vt100 export TERM HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Ok, thanks Christian! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: edit files in single-user-mode, the output is all messed up
Jerry McAllister wrote: On Fri, May 11, 2007 at 04:51:48PM +0200, Christian Walther wrote: On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote: Hello, I have never been able to figure out how to do this, and I usually end up copying the file to be edited to a floppy et be able to edit it from another machine, but there has to ba a way to do it! Everytime I go into single-user-mode and I have to edit a file, the output to stdout is messed up (looks like there are no \n). I tried several editors (vi, ee, edit (ee I think), and I get the same thing, useless to say that it's impossible to edit the files. The only editor that works, is vim, but it's not always installed. Does anyone know why this happens? And does anyone know how to fix it? The two main problems are making sure the editors are available and making sure you have a terminal type that will work. Do the following: fsck -p mount -u / mount -a swapon -a To make sure files are available. Then, for termtype, if you are using tcsh which is most common on FreeBSD do set term=vt100 or if in sh do as Christian Walther indicated jerry Ok, thanks Jerry! You could try to set a decent TERM-variable, such as TERM=vt100 export TERM HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: raid or not raid
Jerry McAllister wrote: On Thu, May 24, 2007 at 06:07:58AM -0500, [EMAIL PROTECTED] wrote: On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote: so nobody on this list knows anything about raid? wrong list? hi all.. i have a box in a remote hosting facility that claims that the machine has two discs raided in it but df and fstab show only one disc with a bunch of slices. under devices there is another name - ad6 - but it's not mounted anywhere. the one i see both in df and the fstab is ad4 with one big slice and different partitions they insist there are 2 raided discs in tha machine. the os is 5.4 and i think at that point the raid drivers were still considered 'experimental'. it makes sense to me that if i don't see a second drive in the fstab there isn;t any mounting which means that there is no raid going on... is there any other way i can make sure if raid is actually on? would there will be any logs somewhere? the machine has been up for about 2 years and the dmesg is long gone... thanks. Lots of people here know plenty about RAID, but you don't provide very much information. If dmesg itself returns none of the startup info, you can look in /var/log/dmesg.[today|yesterday]. /usr/sbin/pciconf can tell you what controller(s) may be attached. A proper RAID will show up as a single device, just like any hard drive (but different). It does seem odd to me that a (supposed) RAID would show up as /dev/ad4. A hardware raid will look like any other drive to the system. If it is SATA raid, it should be adN It is it SAS raid, it should be daN. I have an SATA RAID controller (rocketraid 1640) and the drive shows up as daN and not adN When I tested the controller without the driver loaded the DRIVES showed up ad adN, I put drives in caps because this is what I think is happening here, the driver isn't loaded and/or no RAID devices were created, so the RAID controller's drives just show up as drives and the controller is just used as a non-RAID controller. I suspect this is why he sees a second disk. Gabriel Some systems allow you to address the drives as either individual drives or as the raid - maybe until you have configured it or something. Anyway, on a Dell 2950 I could see both designations but figured out which was the raid and used it and all was fine. jerry Possibilities: Your RAID really is on /dev/ad4 and /dev/ad6 is something unexplained. Your RAID controller is unsupported in 5.x and not Doing The Right Thing but somehow still (kind of) working as a normal [S]ATA controller. Your RAID controller is unsupported in 5.x and your hosting company realised this and wired the shebang up as a normal [S]ATA controller because they couldn't get FreeBSD to install otherwise. There is a RAID controller and there are two disks connected to it, but the controller was not set up correctly. There is a RAID controller and there are two disks connected to some other controller which might lead to some interesting phone calls. Your remote hosting company put a RAID with two disks in some random machine and someone else is complaining on some other list about the inverse of your problem. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]