Re: disable cntl+alt+del function
On Thursday 18 January 2007 16:55, Sean Murphy wrote: cntl+alt+del at the console without being logged in reboots the server. The server runs through its shutdown procedure and reboots. How do I disable this function? Add this to your kernel config file: options SC_DISABLE_REBOOT JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox refuses to start in FBSD 6.2-RELEASE
On Wednesday 17 January 2007 14:37, Firas Kraiem wrote: Hi to all of you ! The title pretty much says it all, when I install Firefox, the install seems to run without problems but when I try to run it, no joy. If I try to run it from a terminal, I just get thrown back to the prompt without any output. This occurs with all the Firefox versions I've tried, i.e. : 1.5.0.8 package on the 6.2-RELEASE CD, 2.0.0.1 both from packages and ports and 2.0.0.1 Linux version from ports. Any help would be greatly appreciated. Try running it once as root. I know this is required in most of the 1.x versions, but I didn't think it was in 2.0. Anyway, something like this should suffice: su cp /home/$user/.Xauthority /root firefox JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reread rc.conf....
On Wednesday 17 January 2007 16:23, Guido Demmenie wrote: A little bit offtopic: Only /etc/rc.d/mountd won't stop mountd on my 6.0 system. But to restart my nfsd I use the next commands #killall mountd #/etc/rc.d/nfsd restart This usualy works to restart and reread my /etc/export file. A little further offtopic.. killall -HUP mountd does the same thing. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does Firefox run on the SPARC64 port of FreeBSD?
On Tuesday 16 January 2007 07:56, Christian Baer wrote: Greetings fellow computer haters! :-) As I have already written on the STABLE mailing list, I can't seem to get Firefox to start on my Sun U60. Thunderbird works fine (as far as I can tell after two days), but Firefox just exits instantly with a segfault. I didn't get any replies from the STABLE list, but I got a few ideas from a German newsgroup. On of these ideas was that Firefox may not run at all unter FreeBSD SPARC64. The reason given was that outside of the common plattforms (i386, AMD64 and maybe alpha) much of the ports world is untestet. To be honest, I find that a little hard to believe for Firefox. If we were talking about some application that is rarely used at all, sure. But Firefox should be quite common - one would think anyway. Well, just to rule out this possibility, I tought I'd just ask around if anyone got Firefox to run on FreeBSD 6.1 SPARC64. I installed FreeBSD on an Ultra 5 sometime last year and I had Firefox (probably 1.5 or earlier) working just fine. I don't have the machine up right now to tinker with, though. Are you running the latest -stable on the box? If you don't get enough help on this list, you could also try the sparc64 list. It's true that some things in the sparc64 port don't get tested as much as they do in other ports of FreeBSD, but there are enough users that common programs such as Firefox should be expected to work. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2, rebuild the system with CPUTYPE=prescott?
On Monday 15 January 2007 14:42, Daniel Tourde wrote: Hello, Let me present myself: - I am an advanced user of Gentoo Linux. I know quiet a lot about that system and about how to optimize it to fit the hardware the best possible way. - I am a casual FreeBSD user. I like it a lot though, it is lean and very well structured. I am the happy own of a Dell Inspiron 9400 with a Dual Core processor in it (note, not a Dual Core 2). http://gentoo-wiki.com/Safe_Cflags gives some information about this processor and about the parameter to give to gcc to obtain the best out of it: Intel Core Solo/Duo (Yonah) vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU [Model] @ XXXGHz (the above info is from a T2400, other models may have different cpu families and model numbers) CHOST=i686-pc-linux-gnu CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer This is a 32bit chip Note: It has been confirmed by [EMAIL PROTECTED] that prescott is the correct microarchitecture to use with this CPU. So now, I am trying to rebuild my FreeBSD 6.2 system playing a bit with the parameters in the make.conf file (see /usr/share/examples/etc/make.conf) to get the best out of my machine (double processor, MMX, SSE[1-3] and co...) #CPUTYPE?=pentium3 #NO_CPU_CFLAGS= # Don't add -march=cpu to CFLAGS automatically #NO_CPU_COPTFLAGS= # Don't add -march=cpu to COPTFLAGS automatically So far, the only thing I did was to set CPUTYPE to pentium4 but I am pretty sure, it can be done in a better way. The question being 'how?' prescott is listed as an option for CPUTYPE in /usr/share/examples/etc/make.conf. So CPUTYPE?=prescott in /etc/make.conf should do fine for you. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: advice on compiling a new kernel upgrading to the latest sources
On Sunday 14 January 2007 15:44, kbtrace wrote: Giorgos Keramidas wrote: On 2007-01-14 11:56, Dino Vliet [EMAIL PROTECTED] wrote: 2. Cd /usr/src/sys/amd64/conf which contains the file MYKERNEL No it doesn't. CVSup will delete the files it doesn't know about, so you should *SAVE a copy* of your favorite kernel config file outside of the source tree and *copy* it into `/usr/src/sys/amd64/conf' after CVSup finishes updates the sources. But in my practice, CVSup did nothing with my own kernel config file. In my memory, cvs did nothing with the files not in the source tree. Generally speaking, CVSup will delete files it doesn't know about. However, all of the src/sys/arch/conf directories have .cvsignore files in them which prevents this behavior. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS +
On Friday 12 January 2007 12:53, César Amaya wrote: Hi list, have you ever installed cups + samba for a print server? That is what I am trying to do, the print server box set up is as the following: - FreeBSD 6.1 release - cups-1.2 - samba 3 - hpijs-2.1.4 - foomatic-db-20061214 - cups-samba-5.0.r3 I have installed and tested the printer properly via web interface of cups. The problem comes when I try to push the Windows printer drivers with cups, I get a error message # cupsaddsmb -H localhost -U root -h localhost -a -v Password for root required to access localhost via SAMBA: No Windows printer drivers are installed! No Windows printer drivers are installed! No Windows printer drivers are installed! ... I have already download the respective drivers. I don't have any experience pushing Windows printer drivers out through Samba, but I do know that cups clients (Windows or otherwise) don't need printer-specific drivers. They should just use a PS driver (the one you can download from Adobe or one of the ones that ships with Windows) with the appropriate ppd. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startup script for poppassd
On Thursday 11 January 2007 21:26, Joe Auty wrote: Does anybody have a startup script or experience with how to get the poppassd port to listen on port 106? You run it from inetd, so all you have to do is add a line to /etc/inetd.conf (and enable inetd if it isn't already). There are examples in the poppassd manpage. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: iSCSI
On Monday 08 January 2007 14:52, DAve wrote: We are moving to SAN in the near future to resolve a host of issues. I have been looking through archives for information on FreeBSD and iSCSI without much success. We currently have 15 servers running FreeBSD and several more in the queue/on order. It is looking like FreeBSD may not provide the production level of iSCSI initiator we will require. (The iSCSI target host will be a third party vendor) I am sending a request for information to the project lead but I am also interested in knowing if anyone is currently using any iSCSI with FreeBSD and what your success failures might be. I just started using the latest iSCSI initiator[1] on my 6-STABLE desktop to access some volumes on a LeftHand Networks SAN. It's a bit lacking in polish, but it works quite well. The one big missing feature is that it doesn't handle network disconnections. No panics or anything though, and performance was what I expected. I'd be interested in what Danny tells you about the initiator's readiness for production use, but in any case you'll probably just have to do some stability and stress testing on your own. [1] ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-17.5.tar.bz2 JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easier way to install on 3ware 9550 card?
On Wednesday 03 January 2007 14:18, John Nielsen wrote: On Wednesday 03 January 2007 12:34, Dan Mahoney, System Admin wrote: On Wed, 3 Jan 2007, Per olof Ljungmark wrote: Dan Mahoney, System Admin wrote: Hey all, I have a new system with NO FLOPPY CONTROLLER and a 3ware 9550 card. It's a 1u system -- sticking extra things into PCI slots as a workaround is likely to be impossible. I don't think you need a driver - it's already there. apropos 3ware twa(4)- 3ware 9000/9500/9550 series SATA RAID controllers driver twe(4)- 3ware 5000/6000/7000/8000 series PATA/SATA RAID adapter driver Oh I'm sorry, then why didn't I just install the OS? Because it said no drives found! The card doesn't probe at boot, and there's an elaborate howto on 3ware's site that describes HOW to get it to probe at boot. While I myself stated that the driver DOES appear to be in the base, for whatever reason the kernel on the install CD doesn't include it, nor the ability to kldload a module from anyplace easy. You were on the right track with the emergency shell, but the Fixit mode (now included on disk 1 for your convenience) gives you a lot more flexibility (inclusion of ls is just the start!). Have you tried something like this? 1) Boot to complete install CD 2) Go into Fixit mode (not just the emergency shell) 3) # sysctl kern.module_path=/dist/boot/kernel 4) # kldload twa 5) # exit 6) proceed with installation This shouldn't be necessary though, since twa is included in GENERIC for both FreeBSD 6.1 and 6.2 (did you say what version you were trying to install?). Now, if your controller is too new to be included in the shipping version of twa then that's another matter. If you have a binary kernel module that uses a different driver name from the vendor you could use the same general approach, but you'd want to configure your network interface and set up your NFS mount prior to step 3, and include the appropriate NFS path in the sysctl command in step 3. Forgot to mention you'd also need to manually copy the vendor driver and modify /boot/loader.conf on the newly installed system so it could actually boot.. you could easily take care of that from the fixit mode shell after the installation, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easier way to install on 3ware 9550 card?
On Wednesday 03 January 2007 12:34, Dan Mahoney, System Admin wrote: On Wed, 3 Jan 2007, Per olof Ljungmark wrote: Dan Mahoney, System Admin wrote: Hey all, I have a new system with NO FLOPPY CONTROLLER and a 3ware 9550 card. It's a 1u system -- sticking extra things into PCI slots as a workaround is likely to be impossible. I don't think you need a driver - it's already there. apropos 3ware twa(4)- 3ware 9000/9500/9550 series SATA RAID controllers driver twe(4)- 3ware 5000/6000/7000/8000 series PATA/SATA RAID adapter driver Oh I'm sorry, then why didn't I just install the OS? Because it said no drives found! The card doesn't probe at boot, and there's an elaborate howto on 3ware's site that describes HOW to get it to probe at boot. While I myself stated that the driver DOES appear to be in the base, for whatever reason the kernel on the install CD doesn't include it, nor the ability to kldload a module from anyplace easy. You were on the right track with the emergency shell, but the Fixit mode (now included on disk 1 for your convenience) gives you a lot more flexibility (inclusion of ls is just the start!). Have you tried something like this? 1) Boot to complete install CD 2) Go into Fixit mode (not just the emergency shell) 3) # sysctl kern.module_path=/dist/boot/kernel 4) # kldload twa 5) # exit 6) proceed with installation This shouldn't be necessary though, since twa is included in GENERIC for both FreeBSD 6.1 and 6.2 (did you say what version you were trying to install?). Now, if your controller is too new to be included in the shipping version of twa then that's another matter. If you have a binary kernel module that uses a different driver name from the vendor you could use the same general approach, but you'd want to configure your network interface and set up your NFS mount prior to step 3, and include the appropriate NFS path in the sysctl command in step 3. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The moving-your-system FAQ: Anything else I should know?
On Sunday 17 December 2006 18:16, Oliver Iberien wrote: I'm about to move my system, I've read the FAQ, I don't want to rearrange anything. I want to make sure I have the process down correctly before I try, so I am asking here. I am using 6.0 #2. First, I hook up both drives. I partition the new hard drive and label it the same way as the previous drive. Then, I would reboot to single-user mode. I would use newfs to create new file systems form each new partition. I mount each partition in turn to a temporary mount point and change directory to the newly mounted partition. Then the FAQ gives the following command for the dump-copy process: dump 0af - / | restore xf - This is to be used without modification for each partition. It this really it? It seems... easy. Yep, it's really that easy. I've been experimenting with different RAID configurations on my main work PC and I've done this procedure at least twice in the last few months. (I'll be doing it again in a couple weeks when some new drives come in). If you are changing additional hardware (besides just the hard drive), here are some things to keep in mind: If you have CPUTYPE set in /etc/make.conf you should be sure that the setting you had for the old computer is compatible with the new computer. If it's not, you should un-set it or set it to the lowest common denominator between the two systems the rebuild world, kernel, and all your ports (preferrably before you make the switch). If you use a custom kernel be sure that it has support for the disk and network devices on your new system. If it doesn't, add the drivers back in or switch back to GENERIC. It's entirely possible that your hard drive will come up as a different device on your new system. This is especially true if you are moving from e.g. IDE to SATA or something similar. The easiest way to deal with this is after you make the switch. The kernel will boot but then fail to mount the root filesystem and prompt for the name of the root device to use. Use the kernel's boot output and your knowledge of how you laid out the disk to supply the correct device name. After that, you'll probably get other mount failures forcing the system to come up in single-user mode. Manually mount /usr and re-mount / r/w so you can edit /etc/fstab with the right values. Save and reboot. You might need to do other things like reconfigure X, etc. but that can all be handled after you make the switch. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up RAID-1 on 2 unequal disks
On Monday 11 December 2006 03:47, Foo JH wrote: Hi all, I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored shared folder: 80GB and 120GB. On the 120GB I plan to set up this way: /temp2GB (double the system memory) /shared80GB / 38GB I plan to mirror /shared onto the 80GB. It won't be bootable, but I can always mount it onto another FreeBSD machine. I've read some articles on mirroring on non-equal disks, notably: http://people.freebsd.org/~rse/mirror/ My question is: is there an easier way to do this? The example looks quiet daunting for a noobie FreeBSD admin like me. I would use gmirror. The example page you cite is very thorough and covers multiple scenarios. I have found gmirror to be extremely easy to use and set up; much more so than gvinum or even ataraid. Gmirrror allows you to use any geom provider as a member (consumer) of a mirrored set. That includes entire disks (e.g. ad4), slices (e.g. ad4s1), partitions (e.g. ad4s1a), or even other complex structures (such as a gstripe set). The only hard part is going to be labeling the 120GB disk correctly. You will most likely want to do it manually using bsdlabel. One approach would be something like the following. Assume ad4 is the 120GB disk and ad6 is the 80GB disk. Boot up using a FreeBSD install disk and go into Fixit mode. # fdisk -BI /dev/ad6 (it's safe to ignore the warning here) # bsdlabel -Bw /dev/ad6s1 # sysctl kern.module_path=/dist/boot/kernel # gmirror load # gmirror label -b load shared /dev/ad6s1a (shared is the name of your volume.. you can use whatever you want) # gmirror list (will show you details about your new broken mirror. Make a note of the Mediasize number listed under the consumer.) # fdisk -BI /dev/ad4 (it's safe to ignore the warning here) # bsdlabel -Bw /dev/ad4s1 (these are only needed if you don't like/don't know how to use vi) # EDITOR=ee # export EDITOR # bsdlabel -e /dev/ad4s1 Now comes the tricky part. The number shown on the c: line of the label is the number of 512-byte sectors on the disk. It's good practice to leave 16 sectors unused at the beginning of the disk; you can see this in the default whole-disk a: line. Figure out how big you need to make the slice for the other side of the mirror by dividing the Mediasize number you noted previously by 512. Then figure out how big you want your swap (if any--you didn't mention any above) and /temp partitions by multiplying out to the number of bytes then dividing by 512. Add all of that up plus the 16-sector space at the beginning and subtract from the size (c: line) to determine how much is left for /. Calculate all the offsets and put in the fstype (either 4.2BSD or swap), and put zeroes in the other columns. As a reference, here is one of my disks: # /dev/ad4s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 6291456 10485024.2BSD0 0 0 b: 1048486 16 swap c: 1563125130unused0 0 # raw part, don't edit d: 117266625 390458884.2BSD0 0 0 e: 31705930 73399584.2BSD0 0 0 Save the label and exit the editor. Now to finish up: # gmirror insert shared /dev/ad4s1e (be sure to use the actual partition device you set up above) # newfs -U /dev/mirror/shared ( /shared ) # newfs -U /dev/ad4s1a ( / ) # newfs -U /dev/ad4s1d ( /temp ) Then exit fixit mode and do a Standard installation. Don't let sysinstall re-label or newfs anything, just specify the mount points for your / and /shared filesystems. You'll have to mount the mirror after you're done with setup (just put it in /etc/fstab manually). Obviously, you should understand what all of the above does before you do any of it, and may need to make changes. Good luck, and feel free to ask additional questions. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: access wikipedia (walk through the great firewall of China)
On Friday 08 December 2006 07:12, Vince Hoffman wrote: On Fri, 8 Dec 2006, å¼ é~_¡æ¦ wrote: Hello. My office use this method to access wikipedia behind the great firewall of China: 1) we have a server in europ, let's call it server; 2) I run this command on my desktop: $ ssh -L 80:en.wikipedia.org:80 server; 3) everybody in the office edit /etc/hosts, add this line: [my_ip_addr] en.wikipedia.org So my computer become a 'proxy'. The trouble is I have to keep the ssh running there. The 'proxy' will not automatically set up next time I reboot my computer. Is it possible to install some software to run as a daemon and do this proxy? I think of stunnel, but I have too few knowledge to know if stunnel can do this. maybe autossh ? http://www.harding.motd.ca/autossh/ Its in ports Port: autossh-1.4a Path: /usr/ports/security/autossh Info: Automatically restart SSH sessions and tunnels Autossh might do this better/more elegantly, but a quick and dirty solution would be something like this: 1) Set up certificates so that ssh server from your machine will automatically log in to the server without prompting for a password. 2) Write a script to see if ssh is running and run it if it's not, e.g. #!/bin/sh netstat -na | grep LISTEN | grep 80 || \ /usr/bin/ssh -fnN -L 80:en.wikipedia.org:80 server 3) Add an entry to your crontab to run the script every X minutes. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install the same port twice but at different locations?
On Friday 08 December 2006 15:57, Alexis Dorais-Joncas wrote: Lane a écrit : On Friday 08 December 2006 13:58, Alexis Dorais-Joncas wrote: Hi all, Subject says it all. I would like to install the package phpMyAdmin on two different locations on my server. Is this doable? If so, how? I'm using FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 with ports updated daily with cvsup. Right now, after I do : cd /usr/ports/databases/phpmyadmin sudo make PREFIX=/xxx/yyy install I get : pkg_info|grep Admin phpMyAdmin-2.9.1.1 A set of PHP-scripts to manage MySQL over the web And when I try to install it again but using a different PREFIX, I get this : === Checking if databases/phpmyadmin already installed === phpMyAdmin-2.9.1.1 is already installed You may wish to ``make deinstall'' and install this port again Using FORCE_PKG_REGISTER unregisters the first installation, so its no good for this I guess. Read through the porters' handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/. You are interested primarily in PREFIX and DESTDIR, but all of the text up to that point is enlightening. I think you misunderstood my problem. I know how to install a port to a specific location using PREFIX. What I want to achieve is to have one port installed twice. For example, I want one whole instance of phpMyAdmin to be in /var/www/ and a whole other one in /home/someuser/. And I want both instances to be manageable with the package tools (such as portupgrade) in order to keep both updated easily. Or have I totally missed the point with PREFIX/DESTDIR ? What I have done in the past is create slave ports. Say the port you want to install twice is in ports/category/foo. Make a new directory ports/category/bar. Inside that directory, create a Makefile similar to this: PORTNAME= foo PKGNAMESUFFIX= _bar-duplicate COMMENT=This is the foo port but it installs as foo_bar-duplicate PREFIX= /path/to/alternate/prefix # ...you may want other options here ... MASTERDIR= ${.CURDIR}/../foo .include ${MASTERDIR}/Makefile Install once from category/foo and once from your new port's directory and away you go. Again, the porter's handbook has lots of useful information about everything above. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg 7.2 ante portas
On Wednesday 06 December 2006 12:42, O. Hartmann wrote: Hello. Xorg 7.2 is about to be released - with nice new features an, more important, bugfixes, upgraded drivers etc. Are there any plans of supporting this version via the ports collection? Yes. See the freebsd-x11 mailing list archives for more details, but basically the team doing the porting is just waiting for the actual release of 7.2 before they merge the new versions into the ports tree. I'm sure there will still be some testing and other tasks to be completed after that, but hopefully most things should be working. It seems that the ports still have the outdated monolithical Xorg 6.9 version. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wifi dhcp
On Tuesday 05 December 2006 13:21, Steve Franks wrote: Ok, we're losin our minds here. Me and a friend just bought up no less than 4 boxes (server, 2 laptops, and a net-device) in about 2 weeks on stable 6.1. My first foray into bsd since '95, and I'm way-pleased. One little problem: every one of them loses it's connection (aka ip) when the wifi goes out and comes back, forcing us to 'dhclient xx0' incessantly. Note we're talking a belkin ath, an ativa ath, a wavelan wi and a linksys wi, not all the same card or even driver. Someone on current said, 'it's probably a problem with the driver's link-state handling' - whatever. Oh, yeah, we've got one set on a dlink ap, and the other on a linksys. Both are running wep for legacy reasons, which I have a sinking feeling may be a contributing factor. I see the same behavior (using an older wi(4) card). I haven't done much experimenting with it though since my house isn't that big and I don't lose my link that often. A couple things I would suggest trying, though: Add a killall dhclient somewhere in your boot process. Not ideal for some circumstances, but if you only plan to be on one logical wireless network for a given session then it shouldn't hurt anything. Try using the net/isc-dhcp3-client port instead of the base system's dhclient. E.g.: cd /usr/ports/net/isc-dhcp3-client make install clean echo 'dhclient_program=/usr/local/sbin/dhclient' /etc/rc.conf If you have/use a dhclient.conf file you'll also need to either move it to /usr/local/etc or add 'dhclient_flags=-c /etc/dhclient.conf' to /etc/rc.conf. Good luck! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek (re(4)) Driver in 6.1
On Monday 04 December 2006 13:54, Jon Drukman wrote: I'm about to install 6.1 on a machine that's been happily ticking away with 4.1.1 for years now. (I need to upgrade it to gigabit ethernet.) Does the default kernel on the 6.1-R installation CD include the realtek re(4) driver? Yes. If not, what would I have to do to enable it? echo 'if_re_load=YES' /boot/loader.conf JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Movies
On Saturday 02 December 2006 08:49, Andrew Pantyukhin wrote: On 12/2/06, Graham Bentley [EMAIL PROTECTED] wrote: Is it possible to play a DVD without loading X ? Apparently, yes http://gentoo-wiki.com/HOWTO_MPlayer_on_Framebuffer I think most of those framebuffer options are Linux-specific, but svgalib is certainly available on FreeBSD. The only trick is getting it configured properly.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Screen
On Wednesday 29 November 2006 12:35, Giorgos Keramidas wrote: On 2006-11-29 12:22, Dan Sikorsky [EMAIL PROTECTED] wrote: Hey, I have a good question for you guys. Lets say, I started a job on a computer, if you must know, portmanager -u , and then left... but I know its sitting there stuck on a config window waiting for someone to press enter... I do not have screen installed on this machine... my question is, can I ssh in, install screen (or not i suppose it wouldnt matter) and bring that process to either screen, or my ssh terminal? In general, no. You can _try_ using watch(8), from a superuser session, but I am not sure if it will catch whatever has already been displayed on the side of the watched terminal... The watch utility will only display writes that happen after it was started. See also vidcontrol(1), in particular the -p and -P options. You can get a screen shot of a virtual terminal that way. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Screen
On Wednesday 29 November 2006 12:43, John Nielsen wrote: On Wednesday 29 November 2006 12:35, Giorgos Keramidas wrote: On 2006-11-29 12:22, Dan Sikorsky [EMAIL PROTECTED] wrote: Hey, I have a good question for you guys. Lets say, I started a job on a computer, if you must know, portmanager -u , and then left... but I know its sitting there stuck on a config window waiting for someone to press enter... I do not have screen installed on this machine... my question is, can I ssh in, install screen (or not i suppose it wouldnt matter) and bring that process to either screen, or my ssh terminal? In general, no. You can _try_ using watch(8), from a superuser session, but I am not sure if it will catch whatever has already been displayed on the side of the watched terminal... The watch utility will only display writes that happen after it was started. See also vidcontrol(1), in particular the -p and -P options. You can get a screen shot of a virtual terminal that way. And to answer your original question, no I don't think there's a way to bring a process over to another terminal, but you could use vidcontrol -P to see what's on the screen already (this only works from real console virtual terminals, e.g. /dev/ttyvX) and then use watch -W to take over from there. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fixing OpenOffice
On Tuesday 28 November 2006 06:26, Gerard Seibert wrote: Using: /usr/sbin/pkg_version -vIL= produces this: openoffice.org-2.0.3! Comparison failed I was told this is because OpenOffice has moved in the 'ports tree'. My question is other than reinstalling it, how do I proceed to correct it? You might be able to resolve this by updating your pkg database, e.g.: pkgdb -fu If that doesn't work I'm not sure what else to tell you, although I don't see that it's really hurting anything. If/when you decide to upgrade OOo (2.04 is available), you could do: portupgrade -f -O -o editors/openoffice.org-2 openoffice.org That would force an upgrade using the specified origin. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD VPS providers
On Tuesday 28 November 2006 10:41, Eric wrote: I am looking to move a website i run from its current provider (linux based shared box) to a VPS solution. I have been doing some searching via google and the mailing list and so far have found http://www.johncompanies.com/jc_bsd.html which seems like a good setup. Can anyone else recommend some good FreeBSD virtual private server providers that I can add to my evaluation? Ideally i would like to be able to run 6.x. I'm a longtime satisfied customer of johncompanies. They mean what they say about providing expert support and taking their customers seriously. On the rare occasions when something has been less-than-perfect, they have been very quick and professional about resolving it. They just recently added FreeBSD 6.1 support. I'm on a 4.x box VPS, but I'm planning to migrate once they have 6.2 available. Our current usage looks like: Disk usage: 1864.38 Megabytes Bandwidth usage (current month) : 14858.01 Megabytes This can easily be accomodated by their midrange package. But you've already looked at the website.. :) JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: now it's openoffice.org-2
Both of the applications you've mentioned problems with use GTK and other GNOME-related libraries. About a month ago the default location for gnome libraries was switched from /usr/X11R6 to /usr/local in conjunction with a GNOME update and presumably in an effort to modernize/standardize the file layout hierarchy. At the time there was an entry made in /usr/ports/UPDATING advising users of the change and providing instructions on how to make sure that everything was properly updated to use the new location. The kind of sporadic build and run-time problems you are seeing could very well be caused by libraries not being installed in the same location that programs trying to link to them are looking for them in. Please see the 20061014 entry in ports/UPDATING and follow the instructions found there. If using portupgrade, I would also advise adding the -v flag and saving the output so in case not everything builds cleanly on the first try you only need to update the ones that failed (or were skipped) instead of restarting the whole process. Get into the habit of reading the relevant UPDATING file any time you update your src or ports trees. Additional comments below not intended to be inflammatory: On Monday 27 November 2006 15:36, probsd org wrote: I know some of you have labeled me a troll. I don't think I am a troll in pointing out to others who may be interested in FreeBSD not to look to it. I believe just liking freebsd despite it's issues isn't advantageous to the community. I disagree. Telling others not to use a solid product because you had issues as a result of your own setup / problem-solving procedure / etc. is irresponsible and needless. Furthermore, the fact that you are still trying to get things working and posting to this list indicates that you are not taking your own (bad) advice, which would seem to imply that your initial post was just to vent your (understandable) frustration and not really to express your true opinion. I've documented the problems with mozilla. s/documented/hinted at. I'm going from memory here, but I don't think you indicated if or when you updated your ports tree or your mozilla port. You certainly didn't include any error messages, or even give examples of sites that exhibited the javascript problems you were seeing. Now, with the latest STABLE branch of sourse and ports, openodffice.org-2 after 10 hrs of comiling fails: Openoffice.org always takes that long to compile. If you don't like it, there are precompiled packages available. Error while making build_instsetoo_native. That's about half a page short of a useful error report. You should have included all of the text leading up to the error, which presumably would have indicated which source files the error occurred in, and/or which libraries it was having trouble with. Now, if you cant have the best wordprocessing app and one of the most popular web browsers in FreeBSD can you really expect people to embrace it. Again, your experiences are not those of the majority of users. FreeBSD is what it is because people volunteer their time and skill to make sure that most things will work for most people most of the time. If the people things don't work for don't submit detailed problem reports and are not willing to work with the proper developer/community in the latter's own timeframe, then those people should not be surprised when the world doesn't stop on its heels to pry the relevant information out of an impatient complainer. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on virtusertable - sendmail
On Friday 24 November 2006 14:39, David Banning wrote: I have several times where I have no user setup in virtusertable but the mail is still delivered to the user. If I delete the user then the mail bounces - I want to keep the user and still have the mail bounce - how would I do that? Create a virtusertable entry for each user at the relevant domain you DO want to receive mail, then add a catchall entry: [EMAIL PROTECTED] bob [EMAIL PROTECTED] tom @domain.com bounce You can define bounce in /etc/mail/aliases, or just leave it undefined (since it will probably bounce anyway). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on virtusertable - sendmail
On Friday 24 November 2006 15:04, David Banning wrote: @domain.com bounce You can define bounce in /etc/mail/aliases, or just leave it undefined (since it will probably bounce anyway). I am looking at my /etc/mail/aliases how would I define bounce? I know I could simple send it to /dev/null, but I want it to bounce back to the sender with a no such user error. That should be the behavior you'd get from leaving it undefined. I actually don't know of a straightforward way to do it otherwise (short of using a pipe redirect to another program).. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on virtusertable - sendmail
On Friday 24 November 2006 15:18, Giorgos Keramidas wrote: On 2006-11-24 15:04, David Banning [EMAIL PROTECTED] wrote: @domain.combounce You can define bounce in /etc/mail/aliases, or just leave it undefined (since it will probably bounce anyway). I am looking at my /etc/mail/aliases how would I define bounce? I know I could simple send it to /dev/null, but I want it to bounce back to the sender with a no such user error. How about bouncing from inside `virtusertable' itself? [EMAIL PROTECTED] alpha [EMAIL PROTECTED]beta @domain.comerror:nouser 550 No such user here I think this is the cleanest way to do something like the setup you described, since all the relevant information is kept closely packed together in `virtusertable' itself. I thought there should be a better way than what I described. With this approach you don't necessarily need a catchall entry. Just let the mail flow through for everyone except exceptions listed in virtusertable. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
creating a broken graid3 array?
Is it possible to create a (degraded) graid3 array with only two (or one less than the planned total) providers? I'm asking since I would like to move from my current one-disk setup to a three-disk raid3 array, but I'd like the disk currently in use to be a member of the array and I don't have anywhere to conveniently back up the data already there. I'd like to create a degraded graid3 array with the two new components, copy the data from the current disk to the array, and then add the current disk in to the array. If that's not a possibility, can anyone suggest a way to get the same end result? Thanks, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating a broken graid3 array?
On Thursday 23 November 2006 17:10, [EMAIL PROTECTED] wrote: is the loss of your data worth less than the cost of an extra hd? if so, buy another hd. if not, make a clean install? should read: is the cost of an extra hd less than the value of your data/install? if so, buy another hd. if not, make a clean install? I have backups of the data that can't be reproduced. I just don't have room for some of the larger files (CD ISO's, DVD rips, etc). It would be inconvenient to lose the data but far from catastrophic. One goal of this exercise is to get some redundancy, but at least as important are the goals of learning more about something I haven't used before (graid3) and getting a larger volume on a limited budget. Besides, trickery is where the fun comes in. :) I appreciate the response, though. It's a point I might have raised myself. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating a broken graid3 array?
On Thursday 23 November 2006 16:00, Andrew Pantyukhin wrote: On 11/23/06, John Nielsen [EMAIL PROTECTED] wrote: Is it possible to create a (degraded) graid3 array Maybe you'll be able to create graid3 with md0 as the third member (based on sparse file for example) and later emulate a failure (md0 disappears) and insert your hard drive. That's the thought I had as well after I posted. I'll probably give that a try once I'm ready to get started. Thanks, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0
On Wednesday 15 November 2006 02:54, Jonathan McKeown wrote: On Tuesday 14 November 2006 18:13, Scott Schappell wrote: The writing is on the wall and all that stuff. I've put this off long enough. What needs to be done to upgrade from 4.11 to 6.x? I have an extensive amount of ports installed and in googling and searching the list, it seems I need to make a jump to 5.2 then from there to 6. I'm about to do this, but I've opted for a clean install, as others have suggested - but with a twist. I've installed an additional drive the same size as the original (80GB) - I'm going to install on the new drive, transplant data as needed from the old drive, and when I'm happy with everything, use gmirror to turn both drives into a little RAID-1 plex. Do yourself a favor and create the mirror before you get started. To begin with you'll only add the new drive as a member, then once you've copied everything over you insert the old drive. It is possible to convert regular devices into gmirror members after they have data on them, but unless you're extremely careful there's a small risk of the gmirror metadata sector overlapping a data sector. I'm also trying to do it remotely, with ssh access to the distant box and one right next to it, and a null-modem cable between them to give me serial console access during the upgrade. If it works I'll detail the steps here, as I wasn't able to find a quick and easy guide to this process anywhere. I'd suggest playing around with gmirror locally first. In particular, make sure that whatever partitioning scheme you come up with using gmirror will boot. (I haven't had any problems with this, but it's a good anti-foot-shooting measuer) Also be very sure that the old drive is not smaller than the new drive. (If it is, then just shave some space off the device you're using to create the mirror on the new drive). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: desktop for bsd
On Wednesday 15 November 2006 08:05, Jerry McAllister wrote: On Wed, Nov 15, 2006 at 01:28:58AM -0800, Marshall wrote: hi, I was on the freesbie site and it is a live cd version, but i'd like to have a full version, with XFCE, is this already in freebsd? I'd like to have it as the default desktop. I did see a BSD based OS with XFCE as the only desktop, and i'm not sure if it was Freesbie, do you know if this is true? I'm new to linux and so far I like the XFCE desktop look and it's speed, I think because of the Darwin base, it makes since for me to have it, as Mac is second to Windows. I have tried over 30 different linux versions and most are close to each other, and most all use KDE, which is ok, but I perfer something faster. Hope I'm making since! I don't know if you can get xfce while running from a live CD unless whoever made the live CD put it on there. but, it is available for FreeBSD, no problem. It just so happens that FreeSBIE boots to xfce by default. Download it and give it a try. Just install the latest FreeBSD on your machine. Then install xfce from the ports (/usr/ports/x11-wm/xfce). You will need to configure it and then set up your xinitrc so it will start xfce when you enter the startx command. Should work just dandy. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror (was Re: It's time to bite the bullet and do a major upgrade...)
On Wednesday 15 November 2006 10:40, Jonathan McKeown wrote: On Wednesday 15 November 2006 16:58, John Nielsen wrote: It is possible to convert regular devices into gmirror members after they have data on them, but unless you're extremely careful there's a small risk of the gmirror metadata sector overlapping a data sector. OK, I see the warning in the gmirror(8) manpage that gmirror metadata overwrites the last sector of the provider. Is that sector more likely, or less likely, to be in use than any other sector on a non-full disk? If it's equally or less likely the risk is extremely small - which I know is no consolation when it happens! It's generally significantly less likely to even be available for use due to device sizes not dividing evenly into the block sizes used by the filesystem, etc. Depending on what type of device you actually pass to gmirror as a consumer (raw disk, slice, or partition), it should be possible to manually ensure that there are a couple unused sectors at the end. It just depends on how paranoid (or possibly other more reasonable terms) you are. In this case, I'm doing something of a ``stunt upgrade'' anyway: I have two remote boxes to upgrade to 6.1, one of which is running 5.4-RELEASE and one 4.8-RELEASE. Both boxes have 80GB drives, and on my last flying visit I added to each box a blank 80GB drive and a null-modem serial link to a neighbouring ssh-accessible box. The plan is to ssh to the neighbour box, establish a serial console on the upgrade target, install 6.1 from scratch over the network on the blank drive and then make it the only drive in a gmirror. Once that's done, data can be migrated from the original drive, which can then be added to the mirror. I have successfully carried out the procedure on a box in my office (so that I could intervene when it all went horribly wrong, several times) and am in the process of documenting it: as I said earlier, I couldn't find an easy guide to all this anywhere - perhaps not surprising as it's an odd thing to want to do. Jonathan ___ 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: xfce4 repair, how to recompile everything?
On Wednesday 15 November 2006 11:42, Armin Arh wrote: I would like to recompile all of the xfce4 stuff. Is the ports system offering a solution here? maybe something like: make reinstall IF CATEGORIES IS xfce4 If you use portupgrade, you should be able to do something like: # portupgrade -fR xfce\* You can add the -n and -v flags to do a dry run and make sure that it's going to do the right thing. This is the safest bet if you're worried about any libraries having changed version or location since it will recurse all the way up the dependency tree to include things like xorg-libraries and gtk20. If you don't want to recompile e.g. any part of xorg, add an exclusion or two: # portupgrade -fR -x xorg\* xfce\* And if you really want to only rebuild xfce-specific packages, just use a wildcard and leave out the -R flag: # portupgrade -f \*xfce\* Regards, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xfce4 repair, how to recompile everything?
On Wednesday 15 November 2006 11:47, Christian Walther wrote: On 15/11/06, Armin Arh [EMAIL PROTECTED] wrote: I would like to recompile all of the xfce4 stuff. Is the ports system offering a solution here? maybe something like: make reinstall IF CATEGORIES IS xfce4 hmm, cd /usr/ports/x11-wm/xfce4 make reinstall make clean should work. That would re-install the meta-port, but not actually change anything on the system. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhcpd with wi and base system dhclient stopped working
I have a FreeBSD 6.x machine with an ath interface that serves as a wireless access point, dhcp server, router and gateway for my network. I have a FreeBSD 6.x laptop with an older wi interface that until recently was working just fine, using the base system dhclient. However, the other day when I fired it up it couldn't get an IP address from the dhcp server. Watching the logs I could see the server sending DHCPOFFER's, but the laptop wasn't receiving them for some reason. The same laptop booted to Windows gets an IP address just fine. Back on the FreeBSD side, I installed the net/isc-dhcp3-client port and it also gets an address just fine. The only think I can think of that changed between the last time this worked and the other day is the version of the dhcpd port running on the router. I updated to the 3.0.5-RC2 version of the net/isc-dhcp3-server port from the 3.0.4 version. What I'm wondering is how I can tell if this is a bug in the new dhcpd, a bug in the base system dhclient (newly exposed by a change in the dhcp server), or something else entirely (wi driver quirk? phase of the moon?). Any ideas? If this is something unique to my setup then I can live with my solution, but if it's an actual bug then I'd like to report it in the hopes of saving someone else the same headache. Thanks, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp over ssh
On Wednesday 08 November 2006 04:45, Gorobets Igor wrote: Hello. How correctly to adjust this miracle? :-) Assuming you have a server that is running sshd (on all interfaces) and ftpd (only on the loopback interface): ftpclient# ssh -fnN -l 20:localhost:20 -L 21:localhost:21 [EMAIL PROTECTED] ftpclient# ftp localhost ftp passive JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp over ssh
On Wednesday 08 November 2006 14:12, John Nielsen wrote: On Wednesday 08 November 2006 04:45, Gorobets Igor wrote: Hello. How correctly to adjust this miracle? :-) Assuming you have a server that is running sshd (on all interfaces) and ftpd (only on the loopback interface): ftpclient# ssh -fnN -l 20:localhost:20 -L 21:localhost:21 [EMAIL PROTECTED] ftpclient# ftp localhost ftp passive Typo above, -l should be -L. Also, it turns out this doesn't work beyond getting logged in without also specifying a specific range of passive ports for the ftp server to use and forwarding those through ssh as well. So as others have said, you're probably better off using sftp and/or scp, or setting up a true VPN if you're tied to traditional FTP for some reason. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compatible SATA controllers?
On Wednesday 01 November 2006 22:20, Gene Dinkey wrote: I'm running FreeBSD 6.0 Release and am looking for a compatible 32bit PCI SATA controller. I don't need, and can't afford, a hardware RAID solution so I'm planing on building my storage on vinum. I checked http://www.freebsd.org/releases/6.0R/hardware-i386.html for compatible controllers but from what I can see all that is supported are SATA RAID controllers. Does anyone know of a SATA controller or chipset that is known to work fairly well with FreeBSD (even if not officially supported)? Most SATA controllers/chipsets I've encountered are supported. I've had good luck with VIA and SiS controllers. Promise is definitely good if they have anything in your price range. Just don't buy anything from Silicon Image if you value your data. The ata(4) manpage has a more complete list of supported controllers than the release notes does. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ethernet port bondage
On Wednesday 01 November 2006 15:52, Kenny Dail wrote: I'm running 6.1 Release, and I've been looking for information on how to bond multiple ethernet adaptors in one box so that if one card or connection fails or is disconnected I still have network connectivity. Have a look at carp(4). It's a failover solution and not a bonding one, but it sounds like that's more what you're after anyway. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: qemu networking help with windows98
On Sunday 29 October 2006 12:06, Stephen J. Roznowski wrote: [I've searched for the answers, but have come up empty] I'm running FreeBSD 6.2-PRERELEASE and Qemu 0.8.2_2. I've gotten Windows 98 running inside of the emulator, but I'm having trouble getting the network to work. Basically, I'm interested in setting it up so that my Windows98 system can get to the Internet via my FreeBSD system. Can anyone provide me some simple step-by-step directions, or point me to a web page that has them??? Here are the scripts I use: ###win98.sh### #!/bin/sh VMGUEST=win98 OPTS=-m 80 -net nic -net tap,script=/usr/scratch/qemu/${VMGUEST}-ifup.sh -local time -vnc 2 -monitor stdio -usb -usbdevice tablet CDOPTS=-cdrom /usr/ftproot/RescueCD/rescue.iso -boot d DEVICE=/usr/scratch/qemu/${VMGUEST}.dsk case $1 in cd) qemu ${OPTS} ${CDOPTS} ${DEVICE} ;; *) qemu ${OPTS} ${DEVICE} ;; esac if [ -r /var/run/qemuif.${VMGUEST} ] ; then ifconfig bridge0 deletem `cat /var/run/qemuif.${VMGUEST}` rm /var/run/qemuif.${VMGUEST} fi ###win98-ifup.sh### #!/bin/sh ifconfig ${1} 0.0.0.0 ifconfig bridge0 addm ${1} echo ${1} /var/run/qemuif.win98 ###rc.conf snippet### cloned_interfaces=bridge0 ifconfig_xl0=inet internal.network.address/24 ifconfig_bridge0=up addm xl0 I can provide more commentary on any or all of the above if needed; just ask. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd Access Point
On Wednesday 25 October 2006 16:23, Erik Richards wrote: This is my first submission to a freebsd mailing list so please bare with me. I am relatively new to Freebsd but I have so far set up a box at home acting as a gateway, firewall, and webserver with php and I'm really loving this OS (my version is 6.0). Great! Consider following the upgrade instructions in the FreeBSD Handbook to bring your system up to 6.2-PRERELEASE or 6.2-RELEASE once it's released. Now I would like to create an access point. I have a wireless card (Linksys wmp54gs, Broadcom 4318 chipset) I have read that I need to use ndiswrapper and windows xp drivers for it to work under Freebsd. And I need to use hostapd when configuring the card to act as an access point correct? I have found documentation on these two separate issues but nothing combining them? My question is, is it possible to use my linksys card under freebsd and set it up as an access point, or is it only possible with native drivers? You don't need hostapd to create an access point. If your card and the driver it uses support it, you can create an access point using just ifconfig. Unfortunately, the ndis driver does not support hostap mode so you can not create a traditional infrastructure access point. However you should be able to create an ad-hoc network by doing something like this: ifconfig ndis0 inet 1.2.3.4 netmask 255.255.255.0 ssid your_net mediaopt adhoc Substitute the device name, IP address, netmask, and your desired ssid above as appropriate. The other wireless stations on your network will also need to be set to ad-hoc mode using the same ssid. I've also set up my gateway and all the computers behind it using static ips so will I still be able to make wireless work similarly? Yep, should be no problem. I would also like to use WPA with my wireless setup. This should be possible using ndis, but I don't remember for sure offhand. I almost forgot, I have 2 wired nic cards in my Freebsd box the one I have connected to my inside LAN will I have to bride with my wlan card so my wireless connections can get out to the internet? That's one option (see man 4 if_bridge), but I've found that it's easier just to have an external subnet, a wired internal subnet and a wireless internal subnet and let the FreeBSD box route between them. Since you've already set the box up as a gateway, this should be completely painless (you may not even need to do anything other than assign an IP on the new subnet to your wireless card). Thank you all very much for your help. Sure. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Member of group wheel, but still can't shutdown system?
On Thursday 05 October 2006 07:25, albi wrote: On Thu, 5 Oct 2006 13:24:14 +0200 [EMAIL PROTECTED] wrote: I've just installed FreeBSD 6.1 and listed myself as a member of the wheel group during the add users portion of the installation. For some reason I have not put a finger on yet I cannot shutdown the system do not have permission to effect the command. Went back as root on a later session and re-entered my name in /etc/group to the wheel account to no avail, anybody got an idea as to where I need to look? # ls -la /sbin/shutdown -r-sr-x--- 1 root operator 431524 May 2 16:40 /sbin/shutdown what about group operator ? but i personally would use sudo instead of group wheel etc. I always assign myself to the operator group for just this reason; shutdown works fine without su or sudo. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: optimal kernel options for VMWARE guest system
On Wednesday 04 October 2006 10:48, Jeff Dickens wrote: John Nielsen wrote: On Tuesday 03 October 2006 12:58, Jeff Dickens wrote: I have some Freebsd systems that are running as VMware guests. I'd like to configure their kernels so as to minimize the overhead on the VMware host system. After reading and partially digesting the white paper on timekeeping in VMware virtual machines (http://www.vmware.com/pdf/vmware_timekeeping.pdf) it appears that I might want to make some changes. Has anyone addressed this issue? I haven't read the white paper (yet; thanks for the link), but I've had good results with recent -STABLE VM's running under ESX server 3. Some thoughts: As I do on most of my installs, I trimmed down GENERIC to include just the drivers I use. In this case that was mpt for the disk and le for the network (although I suspect forcing the VM to present e1000 hardware and then using the em driver would work as well if not better). The VMware tools package that comes with ESX server does a poor job of getting itself to run, but it can be made to work without too much difficulty. Don't use the port, run the included install script to install the files, ignore the custom network driver and compile the memory management module from source (included). If using X.org, use the built-in vmware display driver, and copy the vmmouse driver .o file from the VMware tools dist to the appropriate dir under /usr/X11. Even though the included file is for X.org 6.8, it works fine with 6.9/7.0 (X.org 7.1 should include the vmmouse driver.) Run the VMware tools config script from a non-X terminal (and you can ignore the warning about running it remotely if you're using SSH), so it won't mess with your X display (it doesn't do anything not accomplished above). Then run the rc.d script to start the VMware tools. I haven't noticed any timekeeping issues so far. JN ___ What is the advantage of using the e1000 hardware, and is this documented somewhere? I got the vxn network driver working without issues; I just had to edit the .vxn file manually: I'm using the free VMware server V1 rather than the ESX server. ethernet0.virtualDev=vmxnet Not documented, just my opinion that the em(4) driver is probably a better performer than le(4), and the former has awareness of media speeds, etc. I actually haven't tried using the vxn network driver yet. My view could be tainted by old experiences with VMware Workstation 3 and the lnc(4) driver, though. I've got timekeeping running stably on these. I turn on time sync via vmware tools in the .vmx file: tools.syncTime = TRUE and in the guest file's rc.conf start ntpd with flags -Aqgx so it just syncs once at boot and exits. I'm not using X on these. They're supposed to be clean lean systems to run such things as djbdns and qmail. And they do work well. My main goal is to reduce the background load on the VMware host system so that it isn't spending more time than it has to simulating interrupt controllers for the guests. I'm wondering about the disable ACPI boot option. I suppose I first should figure out how to even roughly measure the effect of any changes I might make. So far I'm just experimenting with FreeBSD VM's in my spare time. Our only production VM's at the moment are Windows and a Fedora instance or two. It'd be nice if there were a central repository for some of these tips and other info. (Maybe there are threads on VMTN, I haven't really looked). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cheapskate webmail interface
On Wednesday 04 October 2006 12:54, Desmond Coughlan wrote: snip Now we just need forums and webmail. The latter will be http://www.phpbb.com/ but for webmail, we're having difficulty finding a free solution. ismail won't install from the ports, and other than that, everything I've found looks to be in the region of 250 $US. As I believe I've mentioned, the organisation is a school, and that sort of money just isn't in the kitty. So my options are to write it in perl myself... oh G-d, we want it to be working before Passover 2010! Or we find an open source version. Horde+Imp, SquirrelMail, and OpenWebMail all spring immediately to mind, and all should be in ports. I use Horde on my mail server and think it's great; very flexible and powerful. It is a bit cumbersome to get running and to upgrade, but that aspect continues to improve. The other two are a bit more basic but each has a wide following. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no specifc dhcpd port found
On Wednesday 04 October 2006 17:46, Noah wrote: Hi there, I am unable to find the dhcpd port in /usr/ports where should I be looking? net/isc-dhcpd and friends. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no specifc dhcpd port found
On Wednesday 04 October 2006 17:53, John Nielsen wrote: On Wednesday 04 October 2006 17:46, Noah wrote: Hi there, I am unable to find the dhcpd port in /usr/ports where should I be looking? net/isc-dhcpd and friends. Sorry, net/isc-dhcp3-server and similar. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: optimal kernel options for VMWARE guest system
On Tuesday 03 October 2006 12:58, Jeff Dickens wrote: I have some Freebsd systems that are running as VMware guests. I'd like to configure their kernels so as to minimize the overhead on the VMware host system. After reading and partially digesting the white paper on timekeeping in VMware virtual machines (http://www.vmware.com/pdf/vmware_timekeeping.pdf) it appears that I might want to make some changes. Has anyone addressed this issue? I haven't read the white paper (yet; thanks for the link), but I've had good results with recent -STABLE VM's running under ESX server 3. Some thoughts: As I do on most of my installs, I trimmed down GENERIC to include just the drivers I use. In this case that was mpt for the disk and le for the network (although I suspect forcing the VM to present e1000 hardware and then using the em driver would work as well if not better). The VMware tools package that comes with ESX server does a poor job of getting itself to run, but it can be made to work without too much difficulty. Don't use the port, run the included install script to install the files, ignore the custom network driver and compile the memory management module from source (included). If using X.org, use the built-in vmware display driver, and copy the vmmouse driver .o file from the VMware tools dist to the appropriate dir under /usr/X11. Even though the included file is for X.org 6.8, it works fine with 6.9/7.0 (X.org 7.1 should include the vmmouse driver.) Run the VMware tools config script from a non-X terminal (and you can ignore the warning about running it remotely if you're using SSH), so it won't mess with your X display (it doesn't do anything not accomplished above). Then run the rc.d script to start the VMware tools. I haven't noticed any timekeeping issues so far. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Raid strip with freebsd slices or partitions
On Thursday 28 September 2006 19:43, Damian Wiest wrote: On Thu, Sep 28, 2006 at 10:35:10PM +, m3 BSD wrote: Hi, i would like to do a raid strip with freebsd slices or partitions and not with a entire disk. For example: I've a two SCSI drivers with 68Gb. I want to make a two partitions or slices in two disks, first with 10G and other with 58Gb, this in two disks, and make a raid strip virtual disk with 58+58GB = 116 GB, and user other two partitions normaly. I believe you want to use the GEOM(4) subsystem in general and the gstripe(8) command in particular. I've only used gmirror(8) with entire disks, but I believe you can simply specify a device name corresponding to the slices you want to stripe. That's correct. Use bsdlabel to divide the disks how you want them, put your normal filesystems on (e.g.) ad0s1a and ad2s1a, and use ad0s1d and ad2s1d as the elements of your gstripe. (e.g. gstripe label bigvol ad0s1d ad2s1d). Or you can divide the disk using fdisk and just use slices as the elements of your gstripe (ad0s2 and ad2s2, for instance). It doesn't matter what the device actually represents; geom can use it. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question!
On Friday 29 September 2006 05:13, Дмитрий Ефремов wrote: Hello! I have one question. I had installed Free BSD 6.1 and i use GNOME.My monitor is Philips 107p5 and i want to have 100 Hz at 1024x768. I wrote the characteristics of my monitor to xorg.conf,but it doesn't switch to 100 Hz, only 85 Hz. What should i do? I know that that monitor can support 100 Hz at that resolution! You could try lying about your monitor's abilities. Try something like VertRefresh 99.0 - 101.0 in /etc/X11/xorg.conf. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Swap Size Importance?
On Friday 29 September 2006 11:52, Chris wrote: As a standard practice, I've always configured swap file to be double the size of real ram split across system and data disk. For example, 8gb on da0 and 8gb on da1 if the system has 8g real ram. In practice, In 7 or 8 years, I've never seen swap used for anything but a few k of inactive processes and I would imagine if real active process swapping occurred, it would be an immediate indicator that the system that isn't responsive enough for use anymore and requires upgrade or tuning. Can't run a website process off disk and keep anyone coming to the site ;-). (BTW, I'm talking only about high end servers, not test boxes where I've seen lots of swapping). I'm at the point of attempting my first gvinum software raid-5 and realized, I need the entire disk storage of all three non-system drives to avoid pulling an 8gb chunk out of the drive sizes. The configuration is one scsi 72g system disk and 3 that will be used for the raid volume. I should mention I turn off dumps, haven't found the use for that in a production server since it should not be rebooting or it's back in the shop and another box is taking it's place. Is there any shortfall in performance or reliability to running production with swap equal in size to the 8gb of system memory? I can't think of any but don't want to make a hard to correct mistake once this thing goes in. Nope. I routinely run boxes with 512MB or 1GB of swap, even if the RAM size is much higher than that. You won't have anywhere to save a crashdump in that case, but you seem to already be aware of that. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: moused insists on starting
On Thursday 28 September 2006 14:08, Bill Moran wrote: 6.1. Moused starts on boot, and issuing /etc/rc.d/moused stop has not effect. My /etc/rc.conf has the line: moused_enable=NO yet the damn thing starts. Assuming you have a USB mouse, this is controlled by /etc/devd.conf (or /etc/usbd.conf in older releases). Comment out or modify the ums/moused entry to suit your preferences. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resizing Partitions, Losing Windows XP...
On Friday 22 September 2006 14:23, Jeff Cross wrote: I have been dual booting FreeBSD and Windows XP for quite sometime. However, I never boot into Windows XP any longer. I can pretty much do everything I need to do from within FreeBSD. Is there a way that I can wipe out the Windows XP partition, resize the FreeBSD partition, and install a standard FreeBSD MBR (no boot manager) without slicking and reloading the hard drive? Probably several. See below. I really like the way I have my stuff setup within FreeBSD and would hate to have to recreate a lot of it as well as install applications over again. Could I do a dump of my current FreeBSD partition, reformat and partition the whole drive, install FreeBSD, and then restore my data to the new partition or would this cause issues? Yes you could, and this is probably the recommended approach. Make sure you get a dump of each FreeBSD partition if you have more than one ( /, /usr, etc). You'll need to know how to use fdisk, bsdlabel, and newfs in order to create your new partitions from a FreeBSD install CD's rescue prompt. If you pass a -B flag to both fdisk and bsdlabel you should be fine as far as the MBR and boot blocks are concerned. Of course you'll also need to be able to access your dumps on whatever media or network location you put them on, and know how to use restore. Depending on how your disk is currently laid out, it might be possible to wipe out your windows partition and use growfs, but you really should have good backups before attempting this, so get a dump of everything in any case. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror HD failure detection
On Thursday 21 September 2006 06:15, Alex Zbyslaw wrote: Robin Becker wrote: Dave wrote: Hi, I've got smartd going on a gmirror system, however when smartd starts up it says it can't find the various drives. I've tried both the autodetection line as well as specifying the individual drives. If this does work i'd like to know about it as i believe i might have one failing drive, but am not sure which one. Thanks. Dave. well as root I can certainly run smartctl -a /dev/ad4 (or /dev/ad6) so I assume smartd could. I like the idea of using gmirror status -s , but I don't know what the results would be if one of the disks were going bad. Would it change from COMPLETE to DEGRADED suddenly? I would expect gmirror to report a problem when a disk gad *gone* bad. Going bad from a SMART point of view can mean, for example, too high a rate of read retries or too many bad sectors remapped. At that point the drive is technically working, so there is nothing technically wrong with the array status. In such a case SMART would just be telling you that the disk is likely to go kablooey soon; time for backups, new drive etc. etc. Something like gmirror status -s you can presumably run even every five minutes from cron; if you weed out the good results you'll only get email if something does go wrong. Use both approaches since they tell you different things which just happen some of the time to coincide. If you happen to be one of the smart admins who actually reviews the output of the periodic scripts, then simply adding daily_status_gmirror_enable=YES to /etc/periodic.conf will give you a daily health check. If you want more granularity than a single day, you could use the contents of the periodic script as a starting point for rolling your own. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: geom - help ...
On Thursday 21 September 2006 01:37, Matthew Seaman wrote: Marc G. Fournier wrote: So, again, if I'm reading through things correctly, I'll have to do something like: gstripe st1 da1 da2 gstripe st2 da3 da4 gmirror drive st1 st2 newfs drive That's the wrong way round, I think. If you lose a drive, then you've the whole of one of your stripes and have no resilience. Shouldn't you rather stripe the mirrors: gmirror gm0 da1 da2 gmirror gm1 da3 da4 gstripe gs0 gm0 gm1 newfs gs0 This way if you lose a drive then only one of your gmirrors loses resilience and the other half of your disk space is unaffected. I would recommend the 1+0 approach as well. In addition to increasing your odds of surviving a multi-disk failure, it makes replacing a failed component easier and faster--you only need to rebuild component mirror (which involves one command and duplication of half of the total volume) instead of recreating a component stripe and then rebuilding the whole mirror (which involves at least two commands and duplication of the entire volume). Regarding the spare, I think you're right that there isn't (yet) a way to configure a system-wide hot spare, but it would not be hard to write a monitoring script that gives you essentially the same thing. Assuming the 1+0 approach: every N seconds, check the health of both mirrors (using gmirror status or similar). If volume V is degraded, do a gmirror forget V; gmirror insert V sparedev, e-mail the administrator, and mark the spare as unavailable. After the failed drive is replaced, the script (or better, a knob that the script knows how to check) should be updated with the devicename of the new spare. For a 50% chance of having zero time-to-recovery (at the cost of more expensive writes), you could also add the spare as a third member to one of the mirror sets. If a member of that set fails, you still have a redundant mirror. If a member of the other set fails, you just do a gmirror remove to free the spare from the 3-way mirror and then add it to the failed set. From my own experience, I've been very happy with both gmirror and gstripe, and in fact I just finished setting up a rather unorthodox volume on my desktop at work. I have three drives (two of which were scavenged from other machines): one 60GB and two 40GB. I wanted fault tolerance for both / and /usr, I wanted /usr to be as big as possible, and I wanted reasonable performance. I ruled out graid3 and gvinum raid5 since I want to be able to boot easily from / and performance would be poor since the 40GB drives share a controller. I made / a mirror of two 10GB partitions on the 40GB drives, made a stripe out of the remaining 30GB from the 40GB drives, and added the stripe into a mirror set with the 60GB drive. It's working quite nicely so far. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash works for sure
On Saturday 16 September 2006 12:38, Bill-Schoolcraft wrote: At Sat, 16 Sep 2006 it looks like Viswas Nair composed: I use linux-opera and I have managed to get flash working like a charm. Just go to any website using flash and opera will ask you to download the plugin and automatically take you to the linux page of the flash plugin in the adobe website. Then download the flash plugin tar.gz and save it to some location. Extract the contents and copy the libflashplayer.so file to /usr/X11R6/share/linux-opera/plugins. Close opera and open again and enjoy the world of flash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello Family, I'm running 6.1, installed linux-opera from ports in order to test the above, and the ports install seemed to go fine but I got this error when trying to start Opera, anyone seen this before? ## [EMAIL PROTECTED] ~]$ /usr/X11R6/share/linux-opera/bin/opera opera: Preference initialization failure. File not found or could not be opened (-7) ## Why are you trying to run it that way? What happens if you just type linux-opera from an xterm? (/usr/local/bin/linux-opera on my machine). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: got a new monitor, trying to reconfig xorg
Quoting Jonathan Horne [EMAIL PROTECTED]: i just brought home new samsung 22 widescreen LCD. so far, i cannot get xorg to take anything other than standard CRT type resolutions, such as 1280x1024. snip the first part, seems to be the normal video modes that i would expect to see from an i810 graphics card, but then right below that, i see video modes that would be preferred on my new monitor (1680x1050) in a section called Supported Future Video Modes. does this mean there is a chance i might see proper resolutions for my new monitor, without upgrading to some other video card? my computer has a 915G: (II) I810(0): Integrated Graphics Chipset: Intel(R) 915G (--) I810(0): Chipset: 915G Last I was aware, the i810 was totally dependent on the adapter's video BIOS for determining and setting modes. The sysutils/915resolution port might be able to help you, but when I was experimenting with it I didn't try any widescreen modes. I do think (again, no references) that work on the i810 driver is ongoing, but I don't know any details or ETA's for anything. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version of Flash to use
On Thursday 24 August 2006 14:29, Gerard Seibert wrote: FreeBSD 6.1 STABLE Using 'Firefox 1.5.0.6,1' is there any version of flash that I can install that will work with it. I cannot seem to get anyone of them to work with it when running from with KDE. It makes it rather difficult to watch any video's on Google or the other streaming video services. Flash + native Firefox will mostly work with linuxpluginwrapper if you apply the rtld patch to your system and have the correct settings in /etc/libmap.conf. The details on how to do that have been well documented on this list and elsewhere (at least once by yours truly). However, Google video is one of a number of notable sites that do NOT work with the above. For these, the best approach seems to be to use Linux-firefox (with the linux flash plugin, of course). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on Dell PE850
When running sysinstall from the FreeBSD CD the debug screen is at Alt-F2. JN On Tuesday 22 August 2006 12:02, Derek Ragona wrote: The debug screen should not be blank, in addition to this error message you will see all the output from the install up to that point. If this is a new install, I would blank the hard disk, and try a fresh install. As the install is running check the debug screen periodically. -Derek At 10:57 AM 8/22/2006, unixforums 1 wrote: The debug screen is blank. To verify I had a good download I went to a different mirror site and downloaded the boot-only cd and had the same problems. Thron Derek Ragona [EMAIL PROTECTED] wrote: What was on the debug screen? alt+F4 gets you to that screen. -Derek At 10:36 AM 8/22/2006, unixforums 1 wrote: I am having several problems loading 6.1 on a Dell PE 850 w/an Adaptec 39160 scsi card and a single scsi drive. When I install from the boot only cd, I get the error Unable to transfer the base distribution from acd0. Do you want to retry again and it won't go any further. When I install using the 6.1 disk one I get the error Add of package linux_base-8-8.01-14 aborted, error code 1 - Please check the debug screen for info and when the system boots I the kernel will not load. This happens weather I install the linux compatible module or not. However I can install 6.0 without a problem and it seems to run like a champ. Any ideas? Thron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josh Paetzel Sent: Monday, August 21, 2006 4:34 PM To: [EMAIL PROTECTED] Subject: FreeBSD on Dell PE850 Does anybody have any experience running FBSD 6.x on a PE850? I'm specifically wondering about support for their base-configuration onboard NIC and their CERC SATA RAID controller. -- Thanks, Josh Paetzel __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- This message has been scanned for viruses and dangerous content by http://www.mailscanner.info/MailScanner, and is believed to be clean. MailScanner thanks http://www.transtec.co.uk/transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I access external USB fat32 160 GB drive?
On Friday 18 August 2006 13:40, Bobby Knight wrote: When I try to mount the drive with mount_msdos it tells me the filsystem is to big. The drive consists av a single fat32 partition. Windows can access it so it must be possible in FreeBSD too. I read about recompiling the kernel with option MSDOSFS_LARGE. But that option seems to be gone i GENERIC now. Hence the need to compile your own kernel. Refer to /usr/src/sys/conf/NOTES for details on _why_ you may or may not want to use this. Refer to the handbook for information on how to compile your own kernel (it's easy). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats v3.0 - The Security Rewrite
On Tuesday 15 August 2006 08:12, Igor Robul wrote: On Mon, Aug 14, 2006 at 10:19:05AM -0300, Marc G. Fournier wrote: None of the pre-v3.x clients can talk to the v3.x server, since the DB format has totally changed, so everyone needs to grab the latest version and run it so that we can re-sync the database properly ... It does not build with read-only /usr/ports and WRKDIRPREFIX=/usr/build v2.0 worked fine It doesn't build at all (although it does create a work directory to keep track of its progress). I always set WRKDIRPREFIX and didn't have any trouble upgrading. Are you sure there's not something else going on? JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats v3.0 - The Security Rewrite
On Monday 14 August 2006 09:19, Marc G. Fournier wrote: Over the past few days, I've been working with Paul Schmehl and Matthew Seaman to come up with a more security sensitive version of BSDstats ... one that reduces the amount of sensitive information stored in the database down to ... zero. No IPs, no hostnames ... This new version also reduces the number of 'network fetches' down to 4 for the first run, and 3 for subsequent runs, so it runs a bit faster, and talks across the network less. And, finally, this one has its own domain for check in server ... None of the pre-v3.x clients can talk to the v3.x server, since the DB format has totally changed, so everyone needs to grab the latest version and run it so that we can re-sync the database properly ... From now forward, the stats will be viewable from: http://www.bsdstats.org This is great! Is the 15-minute first-time waiting period enforced on the server side? Obviously there's nothing to stop an administrator from editing the script locally.. Thanks again for all your efforts. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessing FreeBSD partition from Windows with dual boot
On Thursday 10 August 2006 09:22, Svein Halvor Halvorsen wrote: Martin Miedema wrote: I'm looking for a way to access (read only is fine) a FreeBSD partition on my Windows installation on a dual boot notebook (so Samba won't do the trick) Maybe this will do: http://ffsdrv.sourceforge.net/ I haven't tried it myself, though, so I can't really recommend that you use it on a real file system with real data, until you've done some testing. These also looks promising (the first two hits from a ufs windows Google search): http://ufs2tools.sourceforge.net/ http://www.shareup.com/UFS_Explorer-download-27543.html The former is BSD-licensed and the latter is shareware but potentially more full-featured. I haven't used either. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ndis + Netgear WG311v3 ; Won't attach device correctly
On Wednesday 09 August 2006 11:40, Frank Staals wrote: The only thing changed since the first time I loaded the module was I copied it to /boot/kernel and I added WG311v3XP_sys_load=YES to /boot/loader.conf but those changes shouldn't have effect on not correctly loading it I think. This is the key. I can't remember where I read it but this is a documented caveat of the ndis driver. Windows doesn't typically invoke network drivers until after the system is loaded, so some drivers won't work in FreeBSD unless they're loaded after the system is up. So take the line out of /boot/loader.conf, test that the driver works correctly if you reboot and kldload it manually, then make an rc script or something to automatically load the driver later in the boot process. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nppdf.so: undefined symbol __ctype_b_loc
Quoting Warren Block [EMAIL PROTECTED]: On Fri, 4 Aug 2006, Xiao-Yong Jin wrote: Hi all, after upgrading firefox and acroread, I got this when I tried to use the plugin, LoadPlugin: failed to initialize shared library /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined symbol __ctype_b_loc] I have these lines in my /etc/libmap.conf, # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase [/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so Bug? Or my configuration fault? My configuration is the same (with 6-STABLE as of yesterday) and I get the same error trying to view PDFs within seamonkey. This has happened earlier this year, but I can't recall when it was fixed or if it was avoided by backing down to a previous version of acroread. I saw this behavior with the acroread-7.0.4 (or was it 7.0.5?) port as well. That revision of the port was backed out before it had been in the tree very long since it wouldn't allow you to print. The port was reverted to 7.0.1, and recently made the jump to 7.0.8, thus bringing back the new symbol that linuxpluginwrapper doesn't understand. The advice to file a PR and let nork@ have some time to look at it is sound. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats Project v1.0
On Saturday 05 August 2006 00:21, User Freebsd wrote: On Fri, 4 Aug 2006, Colin Percival wrote: User Freebsd wrote: 'k folks ... the quick and dirty .. actually, not too dirty ... The attached script [...] Can you make this into a port which users can install? I'm not sure, can I? Can ports install into /etc/periodic? Or is there some other way of doing it? If you want to do the initial port and assign MAINTAINER to [EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure how to deal with installing into non-/usr/local as a port ... :( Here is a sample (working) port. Un-tar the archive under ports/sysutils. It installs the script to ${LOCALBASE}/etc/periodic/monthly and prints a message about how to enable it. Have a look at it, edit all the text entries to make them your own (in particular I didn't do a real pkg-descr), and submit it as a PR (I can assist you with that off-list if you'd like). Feature request: the script should output one line of text indicating success or failure (and to remind people who read their periodic e-mails that it's actually running). JN [note to -questions readers: the attachment probably won't make it to the list] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups problems
On Friday 04 August 2006 14:34, David Johnson wrote: Like millions of other users, my printing capabilities came to an abrupt end when I upgraded cups to version 1.2. After weeks of wasting time on the problem, I'm still not printing. I've seen lots of hints and tips on this list and elsewhere, but they just don't work for me. I also get the sense they're not working for lots of other people either. I have a brand new (three months) laserjet printer, and I'll be damned if I have to reboot into Windows to use it! I can downgrade to an older cups, but that's not a permanent solution. Symptoms: Nothing happens when I print a file (or print test page). I've waited up to ten minutes. When I cancel the job and start a new one, I then get the following message in the cups admin page: USB port busy; will retry in 30 seconds This message stays even after unplugging printer USB port. A restart of cupsd is necessary to make it go away. OS: FreeBSD-6.1-RELEASE Printer: HP LaserJet 1320, USB Using ppd file downloaded from linuxprinting.org lpstat -t output (without the port busy message): scheduler is running system default destination: laserjet device for laserjet: usb:/dev/ulpt0 laserjet accepting requests since Fri Aug 4 11:20:53 2006 printer laserjet now printing laserjet-36. enabled since Fri Aug 4 11:20:53 2006 laserjet-36 root 18432 Fri Aug 4 11:20:53 2006 Relevant packages: cups-1.2.0 cups-base-1.2.0_2 cups-pstoraster-8.15 (not using hplip, should I?) dmesg: ulpt0: Hewlett-Packard hp LaserJet 1320 series, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode Permissions on devices: crw-rw 1 root cups0, 151 Aug 4 08:43 /dev/ulpt0 crw-rw 1 root cups0, 152 Aug 4 08:43 /dev/unlpt0 All BSD printing executables have been renamed out of the way (lp.org, lpr.org, etc). The old cups.sh script no longer exists. devfs.rules was modified according to some tips found floating about online. I also note that these tips, which seems to be necessary, are not in the handbook or in any pkg_message file. Any help leading to a solution will be greatly appreciated. I would also love to see the cups ports provide sufficient (and correct) documentation to get printing to work. You have the permissions fixed, which was half the solution for me when I made the upgrade. The other half was to abandon cups' usb back-end for the time being, since it doesn't work (as well as it used to). The workaround suggested in an earlier thread on this subject was to stop cups and manually edit the printers.conf file (in /usr/local/etc/cups), replacing the usb: portion of the printer URI with file:. This worked for me and several others, although I remember posts that it did not work for some. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: best way to copy from one fbsd box to another
On Tuesday 01 August 2006 14:04, Bill Moran wrote: In response to David Banning [EMAIL PROTECTED]: I am installing a new server and have to copy many files from old server to new. I have connected a windows box to each via samba, and am dragging from one to the other via the windows box. This might seem like a silly question, but what is the way to copy -directly- from one fbsd box to another? Usually NFS or scp. There are other choices, though. For many situations my favorite is tar+netcat (w/ optional bzip2 compression). On the destination host: cd /some/path nc -l 1234 | tar -xjvf - And on the source host: cd /some/path tar -cjvf - relative/path/to/source/dir | nc destip 1234 If you don't want compression leave out the 'j' flag in both calls to tar. scp is your best bet if you need encryption though (take note of the -r and -C flags). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gmirror dual mirrors?
On Wednesday 26 July 2006 09:38, Mark Busby wrote: New to gmirror so a newb question. I have my computer setup with 4 sata drives. I am using one for the operating system then one to mirror it. One has data and I want a mirror of that. When creating the first mirror I used gm0. Now creating the 2nd mirror use gm1? Or is there a gotcha hidden away? The name is entirely up to you. You can call your mirror spongebob if you want. I typically include something about the filesystem (such as the mountpoint) in my names (e.g. jn_usr), but that's just personal preference. No number is required. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing windows XP at home.
On Wednesday 26 July 2006 11:23, Joshua Lewis wrote: I am replacing my XP system with a FreeBSD 6.1 system. I finished installing it last night and cvsuped. Now I need to choose a window manager. There are what seems like hundreds of different WM in the ports collection and there is no way I will be able to find the time to read them all and get any kind of good idea on what each one does. I am hoping a few people form the list could e-mail me what they like and for what reason. I use xfce. It's lightweight and very configurable. It has a few fancy tools (file manager, etc) but it doesn't force them on you. It's reasonably intelligent about saving sessions. Some of my favorite features are in plugins, many of which are available as additional ports. (Personal favorites include xfce4-taskbar-plugin (instead of the freestanding taskbar), xfce4-cpugraph-plugin, xfce4-minicmd-plugin). I want something lean and fast but I want to have my cake and eat it to because I do want something that is not strait up ugly and is functional. If you're willing to invest in some customization and add-ons, fluxbox is extremely lean and fast (but not very attractive or full-featured by default). KDE seems like it is bloated so I was considering Gnome. I have also been reading about enlightenment and it sounds interesting. I have looked into Fluxbox and it also seems like it would do the trick. Gnome is also rather bloated. Would I be better off just going with Gnome or KDE? I realize once I start installing apps that I will probably wind up installing something that uses Gnome or KDE libraries so I am going to wind up bloating my system any ways right? The two apps I use all the time are kmail (kde) and firefox (which uses gtk). Libraries sitting around on disk don't hurt your system, it's just the ones that are running. You can install KDE, Gnome, fluxbox, xfce4, and a couple others and switch between them to see what you like best. Once you've decided on something, uninstall what you don't use (the pkg_cutleaves port is very useful here). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding another hard drive
Quoting Rich Demanowski [EMAIL PROTECTED]: I'm trying to add another hard drive into my system, a 250GB Western Digital 7200RPM SATA drive, and when I have it plugged into the motherboard the system hangs when it gets to: Timecounter TSC frequency 1803775604 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDRW LITE-ON COMBO SOHC-4836K/SPJ2 at ata1-master UDMA33 ad4: 114473MB Seagate ST3120213AS 3.AHH at ata2-master SATA150 I had a similar problem using a new SATA-II drive with my SATA150 controller. Once I closed the jumper to force the drive down to SATA150 operation the problem went away. This isn't necessary on most drive/controller combinations (the fallback is supposed to happen automatically), but it was for me and sounds like it may be for you. I had to do a bit of searching around to confirm the jumper function since it's more or less undocumented for my drive (a Seagate). Good luck, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOWTO wireless please.
On Thursday 20 July 2006 15:30, Bob Johnson wrote: On 7/20/06, Marwan Sultan [EMAIL PROTECTED] wrote: Hello gurus, Can someone help me setting up my wireless device on my laptop im on 6.1R, I tried to do as instructed on handbook, but no luck. My laptop suppose to be the client, and i have a netgear wireless modem router up and running. How to make the freebsd see the router have the ip, and make the device up? from dmesg ugen0: Broadcom Corp HP Integrated Module ugen is the generic usb device driver that gets attached if a specific driver for the device is not available. I don't think you will be able to do anything useful with it (it seems to be intended more for developers to use while experimenting with a device). There is a tool called ndiscvt that will take a Windows NDIS device driver and wrap it up in an interface that allows it to be used as a FreeBSD driver. Most likely, you will need to do that to get your interface working. Instructions are in section 27.3.3.6.3 of the FreeBSD Handbook (buried in one of the sections someone has already mentioned: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless. html You hint at this below, but ndiscvt should no longer be run by the user. In 6.1 there is a script called ndisgen that automates the process described in the Handbook. You will probably find it much easier to read its man page and use it instead of using ndiscvt directly. The instructions amount to become root, run ndisgen, do what it says. Unfortunately, the developer of the ndis drive has specifically stated that USB is not (yet) supported. Once you have successfully built and loaded the NDIS driver, it will by default show up as ndis0 when you do an ifconfig. Once that happens, the rest should be easy. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to create a large data space
On Thursday 13 July 2006 20:24, stan wrote: On Thu, Jul 13, 2006 at 04:20:56PM -0400, John Nielsen wrote: On Thursday 13 July 2006 08:34, stan wrote: i have a Sun Ultra 40 with 4 500F SATA drives. I plan on using this machine primarily for a large data storage requirement. What I want is one large /data partition. Given all the choices for doing this in FreeBSD (software) what's the best choice here? The partio will be shared via SAMBA if that affects the thhinking here. Best really depends on what your needs and goals are. Here's a quick overview of what the choices ARE, based mostly on memory. Corrections and additions welcome. I'll try to make some notes about pros and cons as well. Thanks for the nice summary. The data will be backed up nightly, so I'll probably use gstirpe to get the maximum capicty. RAID5 would not work very well with 3 x 500G (asuuming that I can't use the 500G that I put the system on). If that's really what you want to do then here are a couple more tips. You can't boot from a gstripe volume, and when (not if) one of your drives goes bad you'll be happier if you only lose your data and not your entire OS. So plan to partition the drives and use gmirror for the base OS (since you can boot from a gmirror volume). Make a relatively small partition (10GB?) at the beginning of each drive. Make a gmirror volume using two or three of them and install the OS to that volume. Use the remaining one or two small partitions for swap or utility partitions. Then make your giant gstripe volume out of the large partitions on all four drives. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to create a large data space
On Friday 14 July 2006 10:37, John Nielsen wrote: On Thursday 13 July 2006 20:24, stan wrote: On Thu, Jul 13, 2006 at 04:20:56PM -0400, John Nielsen wrote: On Thursday 13 July 2006 08:34, stan wrote: i have a Sun Ultra 40 with 4 500F SATA drives. I plan on using this machine primarily for a large data storage requirement. What I want is one large /data partition. Given all the choices for doing this in FreeBSD (software) what's the best choice here? The partio will be shared via SAMBA if that affects the thhinking here. Best really depends on what your needs and goals are. Here's a quick overview of what the choices ARE, based mostly on memory. Corrections and additions welcome. I'll try to make some notes about pros and cons as well. Thanks for the nice summary. The data will be backed up nightly, so I'll probably use gstirpe to get the maximum capicty. RAID5 would not work very well with 3 x 500G (asuuming that I can't use the 500G that I put the system on). If that's really what you want to do then here are a couple more tips. You can't boot from a gstripe volume, and when (not if) one of your drives goes bad you'll be happier if you only lose your data and not your entire OS. So plan to partition the drives and use gmirror for the base OS (since you can boot from a gmirror volume). Make a relatively small partition (10GB?) at the beginning of each drive. Make a gmirror volume using two or three of them and install the OS to that volume. Use the remaining one or two small partitions for swap or utility partitions. Then make your giant gstripe volume out of the large partitions on all four drives. Or better yet, make a gvinum RAID5 volume with the four large partitions. I think the only tool in my original list that requires you to use the entire disk is ataraid(4). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best way to create a large data space
On Friday 14 July 2006 13:39, stan wrote: On Fri, Jul 14, 2006 at 11:11:47AM -0400, John Nielsen wrote: On Friday 14 July 2006 10:37, John Nielsen wrote: On Thursday 13 July 2006 20:24, stan wrote: On Thu, Jul 13, 2006 at 04:20:56PM -0400, John Nielsen wrote: On Thursday 13 July 2006 08:34, stan wrote: i have a Sun Ultra 40 with 4 500F SATA drives. I plan on using this machine primarily for a large data storage requirement. What I want is one large /data partition. Given all the choices for doing this in FreeBSD (software) what's the best choice here? The partio will be shared via SAMBA if that affects the thhinking here. Best really depends on what your needs and goals are. Here's a quick overview of what the choices ARE, based mostly on memory. Corrections and additions welcome. I'll try to make some notes about pros and cons as well. Thanks for the nice summary. The data will be backed up nightly, so I'll probably use gstirpe to get the maximum capicty. RAID5 would not work very well with 3 x 500G (asuuming that I can't use the 500G that I put the system on). If that's really what you want to do then here are a couple more tips. You can't boot from a gstripe volume, and when (not if) one of your drives goes bad you'll be happier if you only lose your data and not your entire OS. So plan to partition the drives and use gmirror for the base OS (since you can boot from a gmirror volume). Make a relatively small partition (10GB?) at the beginning of each drive. Make a gmirror volume using two or three of them and install the OS to that volume. Use the remaining one or two small partitions for swap or utility partitions. Then make your giant gstripe volume out of the large partitions on all four drives. Or better yet, make a gvinum RAID5 volume with the four large partitions. K, I think I'm convinced. That would give me 1.5TB for my 2TB of physical disk. Roughly speaking. Got a pointer to docs on how to install the base OS on a RAID5 config? I'm not sure you can boot from a RAID5 volume, and it's tricky to boot from a gvinum volume at all. I would still recommend partitioning and installing the OS to a gmirror volume, and then set up your gvinum RAID5 after the fact. Unfortunately, sysinstall doesn't grok advanced disk setups very well, so you'll have to get started manually. I would do this: Download and burn a FreeBSD 6.1 Install CD (disc 1) and boot from it. Go into Fixit mode. Set up the basic partitions and a degraded gmirror volume (with only one member) rom the Fixit console. Repeat all of the fdisk and bsdlabel steps for each disk, substituting your real disk names for ad0 below: fdisk -BI ad0 [repeat for all disks] bsdlabel -wB ad0s1 [repeat for all disks] bsdlabel -e ad0s1 [manually shrink the 'a' partition (which you'll use as the 'small' one) and create a 'd' partition (which you'll use as the 'large' one). Calculator, pencil and paper (or their equivalents on another computer) are useful here.] [repeat for all disks] kldload geom_mirror gmirror label -b load myrootfs /dev/ad0s1a [You can replace 'myrootfs' with a volume name of your choosing. Perform this step only for the disk the computer BIOS is set to boot from. Do not repeat for the other disks.] newfs -U /dev/mirror/myrootfs exit Exit sysinstall and reboot; boot from the CD again. Perform a Standard install. Mount '/' on the existing ad0s1a (or the device name used in the gmirror label step). Do not mount or create any other partitions (or swap, yet). Perform the remainder of the install as normal. Reboot after the installation, and remove the CD. Allow the system to come all the way up to multi-user to be sure there aren't any problems. Log in as root. Drop back down to single-user: shutdown now Edit /boot/loader.conf and add the line geom_mirror_load=YES Edit /etc/fstab. Change the line for / to use /dev/mirror/myrootfs instead of /dev/ad0s1a. Add a line like /dev/ad3s1a none swap sw 0 0 to use the small partition on a drive not to be included in the mirror as swap space. Reboot: fastboot Bring the system up in single-user mode from the boot menu. Add the additional partition(s) to the mirror set: gmirror insert myrootfs /dev/ad1s1a [/dev/ad2s1a] Wait for the rebuild to complete. You can check the status by typing: gmirror status Reboot: fastboot Allow the system to come all the way up to multi-user. Verify that the mirror is being used as the root device and is healthy, and that swap has been enabled. At this point you will now have a fully functional, mirrored FreeBSD installation. Refer to existing [g]vinum documentation for details on setting up RAID5. You will use the ad[0-3]s1d devices as members of the array. JN
Re: Best way to create a large data space
On Thursday 13 July 2006 08:34, stan wrote: i have a Sun Ultra 40 with 4 500F SATA drives. I plan on using this machine primarily for a large data storage requirement. What I want is one large /data partition. Given all the choices for doing this in FreeBSD (software) what's the best choice here? The partio will be shared via SAMBA if that affects the thhinking here. Best really depends on what your needs and goals are. Here's a quick overview of what the choices ARE, based mostly on memory. Corrections and additions welcome. I'll try to make some notes about pros and cons as well. ccd(4). This is pretty well deprecated by other choices now, although it is still available. Supports pseudo-RAID1, pseudo-RAID0, and JBOD setups. ataraid(4)/atacontrol(8). This is the tool used to do RAID on ata-driven devices whether the hardware pretends to support it or not. A good choice if you have a supported software RAID card, especially if you want your array to be usable under other OSes. Supports RAID0, RAID1, RAID0+1, SPAN, and JBOD setups. Again, only works with the ata(4) driver. gvinum(8). This is the best (only?) choice if you want RAID5. Supports most setups imaginable on any type of disk (or combinations thereof). Setup and maintenance is a bit more complex than with other options. Migration from the original vinum (now unusable) to the GEOM-compatible gvinum is mostly (but not entirely) complete. newer geom(4) tools: gstripe(8), gmirror(8), gconcat(8), graid3(8). Between, them, these tools support RAID0, RAID1, RAID3, and SPAN configurations on any type of disk (or combination thereof). In my experience these tools are easier to use than any of the above (and just as robust), so they are great options. Due to the way the metadata is stored on-disk, it's possible to shuffle disks around and still have your arrays detected correctly, which is not the case for at least some of the other options above. Given the (somewhat sparse) details you provided, I would suggest either RAID5 using gvinum or RAID0+1 using gmirror and gstripe. The former would give you high capacity and redundancy, the latter would give you high performance and redundancy. Since it's possible the network may already be a bottleneck the RAID5 performance hit might not be relevant. If you really want high capacity and high performance you could use gstripe only, but only do so if you don't care if you lose all of your data (which you would as soon as any one of your disks had a problem). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: been buggin' me for a while now (console resolution)
On Tuesday 11 July 2006 08:43, Peter wrote: --- Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2006-07-10 23:32, Peter [EMAIL PROTECTED] wrote: --- Stubborn [EMAIL PROTECTED] wrote: You need to recompile your kernel with below options VESA Allright, did that. [snip] I can manually get 80x60 with 'vidcontrol 80x60' and this is good enough for me. How do I automate this at bootup? I typically can do VGA_80x60 on most modern hardware. I can't remember what the difference between the VGA modes and others are, but I knew at one point and decided that VGA modes were better. Also, if that's not good enough for you then you can use arbitrary VESA graphics modes (as long as you're running 6.x or -CURRENT). On this machine I have: allscreens_flags=-f 8x14 cp437-8x14.fnt MODE_346 In /etc/rc.conf. On my video hardware, mode 346 is: 346 (0x15a) 0x000f G 1600x1200x32 1 8x16 0xa 64k 64k 0x8800 8000k That gives me a 1600x1200 raster display using an 8x14 font, for a console size of 85 rows and 200 columns. You can experiment with different modes (and font sizes) until you find a combination that a) works and b) you like. Use vidcontrol from the command line to experiment before modifying rc.conf, so you can switch to another virtual terminal if you switch to an unsupported mode. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IMAP server alternatives
On Tuesday 11 July 2006 11:07, Bill Moran wrote: In response to Nagy László [EMAIL PROTECTED]: Are there any alternative IMAP servers that have good support (e.g. working mailing list, up-to-date documentation), and can share IMAP folders between users? dovecot -- early stages of development, can I trust in this? I've been using Dovecot on various production servers since it was in beta. I highly recommend it. On Tuesday 11 July 2006 10:29, albi wrote: i can happily recommend Dovecot, really easy to install (Cyrus really isn't), supports both Maildir and mbox, been using it for years without any problems (i used courier before that, but i like dovecot much better) see here : http://www.dovecot.org and http://wiki.dovecot.org/ I second (third?) both of the above. I switched my main production mail server from imap-uw to dovecot about a year ago and have been much happier since. It is very stable, and handles large folders and concurrent connections to the same account very smoothly (both things I had issues with using imap-uw). I think that dovecot's betas are like other products' release candidates--I've never had the sense that I'm using beta software. It also supports shared folders, although I haven't had a need to experiment with that. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating vinum RAID 1 on place
On Friday 07 July 2006 00:29, Olivier Nicole wrote: Is there a trick on the way to build a vinum RAID 1 without backup-in the data first? I have the two disk that will get mirrored. One of the disk if formated as UFS 4.2 and already holds all the data. The second disk is blank. NormallyI should start with 2 blank disks, label them as vinum, create the vinum plex, then push the data on that RAID. Is there a way to do it without blanking both disk first (a RAID 0 on a single disk, copy the data on the RAID 0), label the other disk as vinum and create a RAID1? This is quite possible. The 100% safe way would be to configure the blank disk as the sole member of a (degraded) mirror set, use dump / restore to transfer the data from the existing filesystem to the mirror, then wipe the old filesystem and add the original disk to the mirror. The faster but only 90% safe way would be to gmirror label the partition containing the existing filesystem and then adding the second disk as a member. This is not safe if the last sector of the existing provider (where gmirror stores its metadata) is (or could be in the future) used by the filesystem. Frequently the geometry works out such that there are spare sectors at the end of a partition that are not used by newfs, but if you're not sure then don't go this route. See the archives of this and other lists for details about this situation. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating vinum RAID 1 on place
On Friday 07 July 2006 08:04, John Nielsen wrote: On Friday 07 July 2006 00:29, Olivier Nicole wrote: Is there a trick on the way to build a vinum RAID 1 without backup-in the data first? I have the two disk that will get mirrored. One of the disk if formated as UFS 4.2 and already holds all the data. The second disk is blank. NormallyI should start with 2 blank disks, label them as vinum, create the vinum plex, then push the data on that RAID. Is there a way to do it without blanking both disk first (a RAID 0 on a single disk, copy the data on the RAID 0), label the other disk as vinum and create a RAID1? This is quite possible. The 100% safe way would be to configure the blank disk as the sole member of a (degraded) mirror set, use dump / restore to transfer the data from the existing filesystem to the mirror, then wipe the old filesystem and add the original disk to the mirror. The faster but only 90% safe way would be to gmirror label the partition containing the existing filesystem and then adding the second disk as a member. This is not safe if the last sector of the existing provider (where gmirror stores its metadata) is (or could be in the future) used by the filesystem. Frequently the geometry works out such that there are spare sectors at the end of a partition that are not used by newfs, but if you're not sure then don't go this route. See the archives of this and other lists for details about this situation. Sorry, I completely missed the vinum in your message the first time through. My comments above apply to GEOM mirroring (gmirror) and not to vinum. I would recommend gmirror over vinum for RAID 1, though, as it's much simpler to get going and at least as robust. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE Text to Speech
On Tuesday 04 July 2006 18:03, Gerard Seibert wrote: On Tuesday 04 July 2006 17:48, Danny Pansters wrote: On Tuesday 04 July 2006 17:12, Gerard Seibert wrote: System Info: FreeBSD seibercom.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat May 13 19:46:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SEIBERCOM i386 I am not sure if this is the proper forum for this question or not, but I might as well start here. I am trying to get the KDE text to speech to work. I installed the 'festival' port and the 'festvox-aec' port. Everything seems to be OK, but no sound is emitted. The sound works fine on everything else. There are no error messages displayed so I do not know where to look to get this working. You probably need to install voices, these are ports that start with festvox-* and festlex-*. I've only played with it to the extend I had it read slashdot and such, nothing really serious, but I also found that it did nothing until I installed some synthesized voices. I installed one from the 'festvox-*' ports originally.. I will investigate the 'festlex-*' offerings now. Also make sure you are setting the correct audio method. My ~/.festivalrc looks like this: (Parameter.set 'Audio_Method 'freebsd16audio) (voice_ked_diphone) Change the voice to one you have installed and want to use as the default. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, USB printers Permission Denied
On Saturday 01 July 2006 12:40, Jan-Espen Pettersen wrote: The problem is that read operations on usb printers might just block/hang with no data from the printer (?). ulpt doesn't have non-blocking I/O, so I've made a patch that simply times out read operations, and disables further reads if it detects a blocking/stall condition. It is possible that this breaks the back-channel, as I'm unsure if we can expect a printer to send inbound data before we actually write anything out? It looks like there are similar problems with other backends? I've only looked at the usb backend yet. Sorry, the attachment got cleared by mailman. http://www.radiotube.org/patch-backend_usb-unix.c Put it into /usr/ports/print/cups-base/files if you would like to test it. That works for me with my USB Lexmark E210. (The file:/ URI workaround also works). Thanks! Are you coordinating anything with the cups project or the port maintainer to explore this issue? JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, USB printers Permission Denied
On Monday 26 June 2006 00:15, Micah wrote: John Nielsen wrote: On Sunday 25 June 2006 20:04, Anthony Agelastos wrote: On Jun 25, 2006, at 7:35 PM, John Nielsen wrote: On Sunday 25 June 2006 19:28, Anthony Agelastos wrote: I updated CUPS and I cannot print to my USB laser printer. The web interface shows the following: hp_LaserJet_1160Le (Default Printer) Unable to open USB device usb:/dev/ulpt0: Permission denied Description: Hewlett-Packard LaserJet 1160Le Location: Den Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended) Printer State: stopped, accepting jobs, published. Device URI: usb:/dev/ulpt0 Doing a `dmesg | grep ulpt0`, I get ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode The printer itself works (I plugged it directly into my MacBook and it printed fine). To ensure it wasn't an awkward build error, I issued a `portupgrade -fR cups` and rebuilt it and everything it is dependent upon. Does anyone else have any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL i386). Just a me too so far with an el cheapo Lexmark USB laser printer (E210). Are you using the foomatic script? I am, with a PPD from linuxprinting.org. I am not sure, actually (it was so long ago, I do not remember how I got it working). I installed hpijs and Make and Model mentions Foomatic/hpijs, so perhaps. I am sorry I could not be of more assistance with this question. I'm going to try backing up and blowing away my etc/cups dir, re- updating the port, reinstalling foomatic and my ppd, and see if that makes any difference. I'll post whatever I learn. Thank you for posting your findings and for your quick reply. No luck. I basically re-installed everything (including config files and the foomatic filters) from scratch. I also changed the permissions on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions error, but I still get nothing from the printer. The message that comes up in the cups web interface when I try to print a test page is: /usr/local/libexec/cups/backend/usb failed I did get my other printer (on a different machine) working with cups 1.2.0 by just changing the permissions on the device node. I hadn't ever set this printer up with cups before today, though. It's using gutenprint. JN Check the error log for more verbose messages (located in /var/log/cups/ or from the cups web interface). I just discovered the web interface, so I'll keep an eye on it. From what I've read while trying to solve my failure is that some of the backends/drivers don't work properly with the new cups. We're probably dealing with several simultaneous failures that need to be worked out. That's the conclusion I'm coming to as well. My sense so far is that most of the issues stem from the new cups trying to do as little as possible as root and from other pieces assuming / requiring that they will be run as root. Obviously the /dev/ulpt permissions thing is a result of this. Another case in point is the cups-pdf backend. It stopped working after the cups upgrade until I made it setuid root. FWIW, cups is working with an Epson 777 and the gimp-print drivers using /dev/unlpt0. It seems to work as well as it did before once I got the permissions issue worked out. Good deal. My network printers at work are also working since the upgrade, so all hope is not lost. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, USB printers Permission Denied
On Sunday 25 June 2006 19:28, Anthony Agelastos wrote: I updated CUPS and I cannot print to my USB laser printer. The web interface shows the following: hp_LaserJet_1160Le (Default Printer) Unable to open USB device usb:/dev/ulpt0: Permission denied Description: Hewlett-Packard LaserJet 1160Le Location: Den Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended) Printer State: stopped, accepting jobs, published. Device URI: usb:/dev/ulpt0 Doing a `dmesg | grep ulpt0`, I get ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode The printer itself works (I plugged it directly into my MacBook and it printed fine). To ensure it wasn't an awkward build error, I issued a `portupgrade -fR cups` and rebuilt it and everything it is dependent upon. Does anyone else have any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL i386). Just a me too so far with an el cheapo Lexmark USB laser printer (E210). Are you using the foomatic script? I am, with a PPD from linuxprinting.org. I'm going to try backing up and blowing away my etc/cups dir, re-updating the port, reinstalling foomatic and my ppd, and see if that makes any difference. I'll post whatever I learn. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS, USB printers Permission Denied
On Sunday 25 June 2006 20:04, Anthony Agelastos wrote: On Jun 25, 2006, at 7:35 PM, John Nielsen wrote: On Sunday 25 June 2006 19:28, Anthony Agelastos wrote: I updated CUPS and I cannot print to my USB laser printer. The web interface shows the following: hp_LaserJet_1160Le (Default Printer) Unable to open USB device usb:/dev/ulpt0: Permission denied Description: Hewlett-Packard LaserJet 1160Le Location: Den Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended) Printer State: stopped, accepting jobs, published. Device URI: usb:/dev/ulpt0 Doing a `dmesg | grep ulpt0`, I get ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00, addr 2, iclass 7/1 ulpt0: using bi-directional mode The printer itself works (I plugged it directly into my MacBook and it printed fine). To ensure it wasn't an awkward build error, I issued a `portupgrade -fR cups` and rebuilt it and everything it is dependent upon. Does anyone else have any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL i386). Just a me too so far with an el cheapo Lexmark USB laser printer (E210). Are you using the foomatic script? I am, with a PPD from linuxprinting.org. I am not sure, actually (it was so long ago, I do not remember how I got it working). I installed hpijs and Make and Model mentions Foomatic/hpijs, so perhaps. I am sorry I could not be of more assistance with this question. I'm going to try backing up and blowing away my etc/cups dir, re- updating the port, reinstalling foomatic and my ppd, and see if that makes any difference. I'll post whatever I learn. Thank you for posting your findings and for your quick reply. No luck. I basically re-installed everything (including config files and the foomatic filters) from scratch. I also changed the permissions on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions error, but I still get nothing from the printer. The message that comes up in the cups web interface when I try to print a test page is: /usr/local/libexec/cups/backend/usb failed I did get my other printer (on a different machine) working with cups 1.2.0 by just changing the permissions on the device node. I hadn't ever set this printer up with cups before today, though. It's using gutenprint. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: from STABLE to RELENG?
On Friday 23 June 2006 00:46, Jonathan Horne wrote: On Thursday 22 June 2006 23:16, Chad Leigh -- Shire.Net LLC wrote: On Jun 22, 2006, at 10:09 PM, Jonathan Horne wrote: generally, how risky of an operation is it to change the branch im following (assuming i have a server in good working order)? i think i would now prefer to start following RELENG on my production servers instead of STABLE (not that im having any issues), so that i can keep up with patchlevels of specific servers a little easier. That easiest if you do it at a version change. Say, for example, 6.0- STABLE to 6.1-RELEASE or similar. well i would be attempting a 6.1-STABLE to 6.1-RELENG. i have a dev box i think im going to give it a go on, and see what happens. if this one doesnt go well, ill just wait until the next RELEASE increments to the next. If you were going the other direction (from a pre-6.1 -STABLE to 6.1 or from 6.1 to today's -STABLE) it'd be a no-brainer. Even so, I'd be surprised if you had any issues going backwards, since it is still a rather small step. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD is #1
On Tuesday 13 June 2006 08:53, Nikolas Britton wrote: On 6/12/06, Jim Stapleton [EMAIL PROTECTED] wrote: Heh, FreeBSD is #1 to me because it is the most painless operating system I've ever used... Ignoring the 5.x installer. Never used pre-5.x -Jim What do you mean 5.x? FreeBSD never made 5.x. They went straight from 4 to 6 like everybody else. :-) Netscape 4 = 6 Linux 2.4 = 2.6 FreeBSD 4 = 6 It's a good thing we don't let computers pick version numbers, you might end up with FreeBSD 5.5 +/- sqrt(.36). As much as I hate to continue this off-topic thread, I couldn't help but notice a glaring exclusion in your list: IPv4 = IPv6 JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On Friday 09 June 2006 09:20, Frank Steinborn wrote: can someone tell what the right choice for CPUTYPE in /etc/make.conf is for that CPU? You probably want: CPUTYPE?=pentium4 See /usr/share/examples/etc/make.conf for a full list. And, is it safe to build kernel and world with --march= too? It should be safe to build world and kernel with CPUTYPE specified in make.conf, but additional compile flags are typically not guaranteed to work. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
On Friday 09 June 2006 11:48, Frank Steinborn wrote: John Nielsen wrote: You probably want: CPUTYPE?=pentium4 If I put a ? after CPUTYPE, buildworld won't use CPUTYPE, correct? Is it better to do so, or is it safe to use CPUTYPE=pentium4? Incorrect. The ? means that if the CPUTYPE is already set (say, from the command line), it won't get clobbered by the entry in make.conf. So it's good practice to always use ?. It will get picked up by buildworld either way. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel module path
On Wednesday 07 June 2006 12:22, John Nielsen wrote: On Wednesday 07 June 2006 08:41, Daniel Bye wrote: On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote: Hi, I'm having trouble loading kernel modules. Put simply make installkernel seems install native kernel modules into /boot/kernel/, but kldload seems to want to load them from /boot/modules. Obviously I can load modules by hand and/or copy the modules into /boot/modules, but surely there's a better way - either by modifying the installkernel behaviour or kldload. kldconfig(8) might be of help here. There is a sysctl that controls this. By default on my 6-STABLE it is: %sysctl kern.module_path kern.module_path: /boot/kernel;/boot/modules;/usr/local/modules So the FreeBSD 5.x and newer default of putting kernel modules in /boot/kernel is covered. Check the output of the above command on your system and check /etc/sysctl.conf for any overrides. Oh, I don't think /usr/local/modules is there by default. It was added on my system by one of the FUSE ports I'm using. The first two are definitely there by default, though. Sorry for the misinformation. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel module path
On Wednesday 07 June 2006 08:41, Daniel Bye wrote: On Wed, Jun 07, 2006 at 11:28:09AM +0100, Richard Jones wrote: Hi, I'm having trouble loading kernel modules. Put simply make installkernel seems install native kernel modules into /boot/kernel/, but kldload seems to want to load them from /boot/modules. Obviously I can load modules by hand and/or copy the modules into /boot/modules, but surely there's a better way - either by modifying the installkernel behaviour or kldload. kldconfig(8) might be of help here. There is a sysctl that controls this. By default on my 6-STABLE it is: %sysctl kern.module_path kern.module_path: /boot/kernel;/boot/modules;/usr/local/modules So the FreeBSD 5.x and newer default of putting kernel modules in /boot/kernel is covered. Check the output of the above command on your system and check /etc/sysctl.conf for any overrides. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Wireless Access Points with Atheros Cards
On Wednesday 07 June 2006 11:42, Mark Moellering wrote: On Wednesday 07 June 2006 8:11 am, Nick Withers wrote: G'day all, I was recently asked to set up a wireless access point by a mate. Having read section 27.3.3.2 - Building a FreeBSD Access Point (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wirel es s.html) from the FreeBSD Handbook I duly advised my friend that they'd need to procure one of the Prism cards listed in the wi(4) man page, as, according to the Handbook, In order to set up a wireless access point with FreeBSD, you need to have a compatible wireless card. Currently, only cards with the Prism chipset are supported. When he got back to me the next day and said he couldn't find one in any major store and that he'd been told they were no longer available first-hand (whether all this is true or not, I'm not entirely sure - but it's not really all that relevant for the purposes of this question) I was a little surprised. After much more stuffing about, the ath(4) man page caught my eye and I found the magic sentence: Supported features include 802.11 and 802.3 frames, power management, BSS, IBSS, and host-based access point operation modes. I've subsequently set the thing up and it's now chugging away merrily in hostap mode with hostapd helping out with 802.11i shennanigans. It appears to be fully operational. My question, then, is this: Is the access point I've set up not actually functioning as an access point in the strictest sense of the term? Is the Handbook in need of a little attention in this area? I'll happily create a patch for the doc and submit a PR to have it updated, but just wanted to check before doing so that I'm not just being an idiot (I'm particularly good at that!). I tried this maybe a month back. I added an ath card to a firewall (becoming the third NIC) and set it up following the directions. While I could connect to the access point/firewall, I could not get to anything beyond it. After some reading, I decdied to buy a standalone access point and replace the wireless ath card with a wired card to use to connect to the access point. The standalone access point (Netgear) wasn't that much more than the card and from everything I have read is the better way to go. If you are able to sned data through the access point, I would love to hear about it... Yes, ath(4) is actually the preferred driver for creating FreeBSD-based wireless access points, and the handbook probably does need to be updated. No one has been doing any work on the wi driver in quite some time, whereas Sam Leffler has been doing a LOT of work to keep ath up-to-date and highly functional. I run a FreeBSD 6-STABLE machine as an access point at home and it works fine. I couldn't get it to work with if_bridge, so I just set up wireless to be its own subnet with the FreeBSD machine doing NAT and routing between the three interfaces (external, internal wired, and internal wireless). JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd error
On Wednesday 07 June 2006 11:04, Josh Paetzel wrote: I'm running 6.1-RELEASE Trying to burn iso's using burncd gives me an error. gimpy# burncd -f /dev/acd0 -s 48 data i386pkg-3.0.iso fixate next writeable LBA 0 writing from file i386pkg-3.0.iso size 710566 KB written this track 710566 KB (100%) total 710566 KB fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error The 'funny' thing about this is that the CDs I burn work fine. (I've tried several different ISOs and have checked the md5's on all of them.) Anyone have an idea of what is going on? I never tried to burn anything with 6.0-RELEASE and it worked fine on 5.4-RELEASE I've seen the same thing for the past several weeks (worked fine at some point prior to 6.1). I'm running 6-STABLE, updated every couple weeks. As near as I've been able to determine, the fixate step doesn't actually do anything, so your CD's will still be open but should work fine under any modern OS. As a workaround you can repeat the fixate step at a lower speed: burncd -f /dev/acd0 -s 4 fixate I haven't experimented enough to know at what speed the fixate step breaks, but that does seem to be what's going on. I also haven't tried turning off ATAPICAM, which would be another interesting data point. If you or someone else has the time to figure out exactly which (set of) commits started producing this behavior, that would be excellent material for a PR. I may get around to it myself but it's not a high priority. dmesg is attached. Looks like you forgot it. In my case (using ATAPICAM): acd1: CDRW SONY CD-RW CRX215E1/SYS2 at ata1-slave UDMA33 cd1 at ata1 bus 0 target 1 lun 0 cd1: SONY CD-RW CRX215E1 SYS2 Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rebuilding /var/db/pkg
Quoting Robert Huff [EMAIL PROTECTED]: Robertsen A. Riehle writes: Say that the /var/db/pkg directory had been recursively erased off of a workstation that had ~300 packages on it. And, let's hypothetically say that this workstation's ports tree was up to date as of yesterday. Is there any hope of rectifying this or is this workstation is a static ports state forever??? 1) Is there no back-up? 2) Unless you clear it regularly, look in /usr/ports/distfiles. On my system, I'd also check pkgtools.conf. Start with things with a lot of dependencies (OpenOffice, Mozilla, KDE/gnome, Java, Emacs, etc.) and reinstall by hand. Also if you act before the weekly(?) periodic script rebuilds the locate database, you could use the output of locate /var/db/pkg to help you determine what was there. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what does this mean
On Sunday 21 May 2006 05:19, Imran Imtiaz wrote: i've seen the following log in my messages can any body tell me what does it mean? May 21 02:50:29 darkstar sm-mta[55021]: k4KLoTeq055021: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA It means that someone (probably you or a program you were running since it's from localhost) connected to sendmail (probably on TCP port 25) on your machine, but then disconnected before issuing any commands. You can generate the message again by doing telnet localhost 25 and then typing ^] and quit without typing anything over the connection. Probably the result of a port scan or connectivity check. I wouldn't worry about it unduly. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning off unix/linux????
Quoting Gary Kline [EMAIL PROTECTED]: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reasons I need one DOS machine. (Already have 7 or 8 *Nix servers.) The Windows 2000 Professional CD find some other non-Windows partition and press D and L as I will, the installation CD keeps complaining. Eventually I have to hit F3 to quit. So, nutshell, is there any way I can completely remove any trace of *Nix? -I remember having a DOS floppy and typing an undocumented MBR \ command that wiped the drive clean of this boot record, but this was [mumble] years ago. Boot to a recent FreeBSD Install CD (with the Rescue tools on disk 1) or a not-so-recent FreeBSD Rescue CD, and go to rescue mode. After verifying the device name of the drive you're trying to clean (using dmesg and/or fdisk), do this (I'm assuming a single drive, ad0): dd if=/dev/zero of=/dev/ad0 bs=32k count=1 That will overwrite the first 32k of the drive with zeroes. That should wipe out the MBR and the partition table. Since you want the drive to be clean anyway, it doesn't hurt to make the bs or count values higher. To zero out the entire drive, you could do this: dd if=/dev/zero of=/dev/ad0 bs=1m (With no count option it will write to the end of the device.) Doing any of this on a drive with data you care about is of course contraindicated. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Gtk-Warning **: Cannot open display
On Tuesday 16 May 2006 17:07, Barnaby Scott wrote: Kevin Kinsey wrote: Barnaby Scott wrote: So, I installed Firefox from ports, having made sure everything was bang up to date. Evrything seemed to go perfectly well, but lo and behold, first attempt to use it and I get this: (firefox-bin:582): Gtk-Warning **: Cannot open display What the..? I have searched for this problem and found plenty of references similar error messages, but none of it seems to apply in my case. I am not trying to run Firefox as root, I am not doing it from a remote terminal, I am not standing in a bucket of water, I have the computer plugged in. I think these are Good Things(tm), 'though I have been able to operate a browser whilst standing in a bucket of water. Q: Are you running an X display at the time this message is given, or are you attempting to run Firefox from the console? Kevin Kinsey I have tried both. It is running from the console that gives the message quoted - if I am running an X display at the time it fails with no message at all. This is a Firefox oddity. It needs to be run as root one time after it is installed (or [sometimes] upgraded). Do this from an xterm: cd su cp .Xauthority /root firefox Assuming the browser window comes up, you can just close it. You should be able to run it as a regular user afterwards. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please explain make -j to my little brain
On Wednesday 17 May 2006 17:06, martinko wrote: i remember from mailing lists there used to be a problem with using -j while compiling kernel or world or ports or sth. is it resolved now pls? make -j N has never been a supported option for ports. It is supported for buildworld and buildkernel, but if something goes wrong with the build then the first thing you should do is try the build again without a -j flag. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does NDISulator work on amd64? Has anyone made this work?
On Tuesday 16 May 2006 00:33, Lorin Lund wrote: I have a Compac Presario V2607CL notebook with a Turion chip. I have 6.1-RELEASE for amd64 loaded. It is running fine. But I'm trying toget the built in Broadcom wireless working. I downloaded the driver from hp.com. The .INF file was over 600K but most of that was multiple language support. (The INF file was in UNICODE). I hacked out all the strings for languages I wasn't interested in and the whole thing shrunk down to around 47K after I stored it as text rather than as UNICODE. After thus fixing up the INF file ndiscvt had no complaint and created a header file. The make on the kernel module proceeded without error messages. There is now an ndis.ko file in /boot/kernel. Since you're using FreeBSD 6.x, make sure you use ndisgen instead of running ndiscvt manually. That said, I haven't ever played with amd64 and don't know if ndis is supported / functional on that platform. Let us know what you find out! JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reducing the size of /
On Friday 12 May 2006 12:28, bsd wrote: Hi again, Most of the files that are large seems to be located in /usr/ports/ distfiles/ What will be the effect of deleting some of these files ? You will have to download them again if you rebuild / reinstall the packages that use them. Of course, that happens automatically and there's a good chance that you'll need a new version next time you update your installed ports, so go ahead and delete them, especially if you have a good Internet connection. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]