Mount floppy image
I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work Next: Now mount the virtual device. # mount /dev/mnt0 /mnt _ I believe there's a typo here should be /dev/md0 I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! Any suggestions? Thanks Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
On Sat, Jan 30, 2010 at 11:08:05PM -0500, Jeff Mitchell wrote: ie: This machine has a lot going on .. wiki's (ie: apache et al), mysql databases, mailing lists, and a dozen hand rolled applications. (Hey, someone has to write custom emulators of ancient systems to keep BBSes alive, right?) Naturally, /etc is modified all to hell, and I'm terrified of any automated upgrades for fear random things would just not work later. Especially with the age... Things work great, but I worry about security naturally, and keeping up with patches or installing anything new is a nightmare due to dependancies. Realize that things like apache, mysql etc. will have changed since the 5.4 days as well. As for the files in /etc and /usr/local/etc, I tend to have a ~/setup/$HOSTNAME directory where I keep configuration files under revision control. I use some perl scripts so check if e.g. a port or system has caused any changes in /etc. There is also a script the installs the files in their proper location and executes post-install commands. I've documented this on a webpage; http://www.xs4all.nl/~rsmith/unix/configfiles.xhtml o Some of the executables on this box are without source but I still need them to run; short of moving them to a VM and doing some voodoo, what are the chances a binary built for fbsd 5.x works fine in 8.x? (earlier fbsd's had the break between gcc versions, but I'm rather The GENERIC kernel in 8.0 comes with the COMPAT_FREEBSD5 option by default, so the only thing you need to do is to install the misc/compat5x port. 3 - yank the drive, slap a giant new fat drive in there, do a full fbsd 8.0 install, and then migration from old drive as needed Definitely #3. Aside -- whats the recommended way to stay on top of upgrades anyway? It used to be a tortuous process back 5 years ago, but hopefully things are much more streamlined now .. nightly 'make upgrade' ftw :) I tend to keep my main machine on RELEASE-pN, unless there is good reason to follow STABLE (e.g. hardware support). As for ports, there is the following weekly ritual; less /usr/ports/UPDATING portsnap fetch extract portmaster -a -B -d HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpFox89y561e.pgp Description: PGP signature
Re: Mount floppy image
2010-01-31 09:27, Leslie Jensen skrev: I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work Next: Now mount the virtual device. # mount /dev/mnt0 /mnt _ I believe there's a typo here should be /dev/md0 I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! Any suggestions? Thanks Of course the imagefile had to be in /tmp/ and it had to be mount_msdosfs /dev/mnt0 /mnt Sorry for the noise Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount floppy image
On Sun, Jan 31, 2010 at 09:27:48AM +0100, Leslie Jensen wrote: I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work That is strange. Is /tmp/boot.flp an existing image? If so, what size is it? Note that is you use touch on a non-existing file, it will create a file 0 bytes long! If you try to mount that, you'll get an error, because there is no data to be read. Now mount the virtual device. # mount /dev/mnt0 /mnt I believe there's a typo here should be /dev/md0 Yes. I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! If you want to _create_ a floppy image, you can use: dd if=/dev/zero bs=1k count=1440 of=boot.flp Then use mdconfig to make an md device out of it. Of course you'll have to create an msdos filesystem on it; newfs_msdos /dev/md0 After that you can mount it and fill it with whatever you like. -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp1eGhk47ozj.pgp Description: PGP signature
Re: Pain finding packages
On Saturday 30 January 2010, Kurt Buff wrote: For make, do the following, after csup (or an alternative): cd /usr/ports make search name=samba | less or cd /usr/ports make search key=samba | less Then browse that list to see what most particularly applies to your needs. Or, for more compact output, try this script: #!/bin/sh cd /usr/ports make search name=$1 | egrep ^(Port|Path|Info|Moved) | less -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pain finding packages
On 30 January 2010 23:42, Kurt Buff kurt.b...@gmail.com wrote: On Sat, Jan 30, 2010 at 10:48, Joe Springer joe...@yahoo.com wrote: Hi. I am very new to FreeBSD with several years of Linux experience. After installed FreeSDB for the first time, I wanted to install some packages. For example, samba. I found that pkg_add -r samba fails. I need to know specifically the samba version to install it. To install, I needed do this: pkg_add -r samba3 This is difficult. Do I need to look up every package in advance on your website to understand what version I need to install? Isn't there a way to specify Install the latest version of some package that is appropriate to the version of my installed FreeBSD? Thanks, Joe Not really. However, you should have installed a copy of the ports tree during the creation of your machine. Here are your tools: csup (or portsnap, either of which will keep your ports tree current), portupgrade (or portmaster or one of a couple of others, to upgrade your current ports) and make. csup is native, and portupgrade seems to be more commonly used than the others of its kind. For make, do the following, after csup (or an alternative): cd /usr/ports make search name=samba | less or cd /usr/ports make search key=samba | less Then browse that list to see what most particularly applies to your needs. HTH, Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org he is a one liner to update your ports tree csup -h cvsup.uk.FreeBSD.org /usr/share/examples/cvsup/ports-supfile you might want to replace uk with your country code though ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
On 31.01.2010 06:08, Jeff Mitchell wrote: Strikes me most people will recommend (3) -- nice big new drive, no risk of destroying a working machine (can always slap old drive back in), easy migration of service by service, etc and so on. Strikes me as a PITA, but then again .. the others are probably all PITAs as well given the age of the box. Something will break, so maybe its best to just start fresh with a nice new install and go from there. Get a stick of flash, build system, install it on the flash and boot from it. Try to keep all of your old binaries - I personally don't think that all what you have installed will work nowadays. Keeping binaries gives you a choice to make a 5.4 jail and put there everything you can't install from ports. *ugh* but that'll teach me to stay on top of it more :) Aside -- whats the recommended way to stay on top of upgrades anyway? It used to be a tortuous process back 5 years ago, but hopefully things are much more streamlined now .. nightly 'make upgrade' ftw :) Personally I have one computer running X_STABLE or switching to X_CURRENT before release. When I see that everything on that machine is safe and sound I try to update (after RELEASE of course) least crucial servers and so on. By the time I move on to mission critical servers I have already found all smelly places. When I was moving from 7.2 to 8.0 it was just: # cd /usr/src # idprio 15 make -j8 buildworld buildkernel make installkernel installworld # cd /usr/ports/misc/compat7x ; make install clean # shutdown -r now # cd /usr/src ; yes | make delete-old ; yes | make delete-old-libs # portupgrade -fr 'date of kernel compile' This can sound silly to install kernel and world at once but in this situation most of my servers are on ZFS, and ZFS won't come up if you boot 8.0 kernel over 7.2 userland - you just need to have correct libs installed. -- Sphinx of black quartz judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
Hi, I did recently an unplaned update of a machine out of the same time. You will face so many changes that simply setting up the machine newly might be less work. Of course, do a good backup to at least two media and then install the new version. One thing I experienced was a bit strange. 8.0 did not support my old USB hardware. I am running now 7.2 on the machine without problems. Remember, the USD stack was rewritten from scratch. I rescuded as much as possible from the old hard disk and copied it onto the new one, took the sources, compiled them, run mergemaster and it was working again with the exception of the group file. Ok, an editor fixed the problem. As the problem became obvious while rebooting into the new kernel, you whould be able to switch back to your old kernel and then move back to 7. I did not have this option. Erich On 31 January 2010 pm 12:08:05 Jeff Mitchell wrote: Hello my friends, I've just noticed one of my beloved headless shell boxen is FreeBSD 5.4; its a workhorse I've been neglecting far too long and I'd really like to bring it up to 'current' (say fbsd 8.x). For awhile it was held back by very specific applications I had to support, but I'm in the clear now. Given the age of the installation, I'm wondering what the recommended upgrade path would be. ie: This machine has a lot going on .. wiki's (ie: apache et al), mysql databases, mailing lists, and a dozen hand rolled applications. (Hey, someone has to write custom emulators of ancient systems to keep BBSes alive, right?) Naturally, /etc is modified all to hell, and I'm terrified of any automated upgrades for fear random things would just not work later. Especially with the age... Things work great, but I worry about security naturally, and keeping up with patches or installing anything new is a nightmare due to dependancies. o I should be able to identify most important changes and data; /etc, /home, the kernel build path so I've got the old kernel conf files I used for this machine (yay!), /usr/local was used instead of polluting /usr-proper, etc. o I'd love if I coudl do an upgrade, and things would still work; I mean, from samba configuration etc and so on, eveyrthign is great. I realize this is unlikely though .. upgrading services likely means conf changes all over the random place, etc. o Some of the executables on this box are without source but I still need them to run; short of moving them to a VM and doing some voodoo, what are the chances a binary built for fbsd 5.x works fine in 8.x? (earlier fbsd's had the break between gcc versions, but I'm rather hoping thats not a problem here.) gcc (GCC) 3.4.2 [FreeBSD] 20040728 The obvious options are.. 1 - upgrade step by step; go from fbsd 5.4 to 6.4 (say) to 7.2 (say) to 8.0 2 - one big-ass upgrade from 5.4 to 8 (*fear*) 3 - yank the drive, slap a giant new fat drive in there, do a full fbsd 8.0 install, and then migration from old drive as needed Strikes me most people will recommend (3) -- nice big new drive, no risk of destroying a working machine (can always slap old drive back in), easy migration of service by service, etc and so on. Strikes me as a PITA, but then again .. the others are probably all PITAs as well given the age of the box. Something will break, so maybe its best to just start fresh with a nice new install and go from there. *ugh* but that'll teach me to stay on top of it more :) Aside -- whats the recommended way to stay on top of upgrades anyway? It used to be a tortuous process back 5 years ago, but hopefully things are much more streamlined now .. nightly 'make upgrade' ftw :) jeff -- If everyone would put barbecue sauce on their food, there would be no war. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
Hi, On 31 January 2010 pm 19:18:35 Volodymyr Kostyrko wrote: On 31.01.2010 06:08, Jeff Mitchell wrote: Strikes me most people will recommend (3) -- nice big new drive, no risk of destroying a working machine (can always slap old drive back in), easy migration of service by service, etc and so on. Strikes me as a PITA, but then again .. the others are probably all PITAs as well given the age of the box. Something will break, so maybe its best to just start fresh with a nice new install and go from there. Get a stick of flash, build system, install it on the flash and boot from it. Try to keep all of your old binaries - I personally don't think hardware running 5.4 typically will not boot from USB. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
knutclient-0.9.4 (sysutils/knutclient) - Cannot compile
Hello, Today I set up my system to monitor my UPS using NUT (sysutils/nut). Everything went smoothly. I also noticed that there is a KDE client for NUT, named knutclient, and it lies at sysutils/knutclient, so I decided to give it a try. Unfortunately it cannot complete the compilation, due to an error ./configure: Can't open ./configure: No such file or directory The full copy/paste of the process is at http://paste.gr/rffb5 Any hints? Thank you in advance Elias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
Erich Dollansky writes: Remember, the USD stack was rewritten from scratch. It it my understanding that in most cases the new USB stack should ve compatible with the old USB stack, at least to the extent that programs that compile and run under $OldUSB should compile and run under $NewUSB out of the box. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with make clean
Kevin Kinsey schrieb: Frank Wißmann wrote: Hi, Beasties! I just installed the new VirtualBox through ports. It worked fine, but now I have trouble cleaning the directory. Neither make clean nor a rm -rf work/ do what they are supposed to. Here is the output: rm: work/virtualbox-3.0.51r22902/out/freebsd.amd64/debug/obj/VBoxRT/VBox: Directory not empty No explanation, sorry. Have you tried $chflags -R nosch work $rm -rf work ? Hi, Kevin! Of course I did it. But the result was the same: no removal possible. I'm still confused. Thanks for your thoughts and have a nice sunday whereever you are! Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
On 31.01.2010 13:45, Erich Dollansky wrote: Strikes me most people will recommend (3) -- nice big new drive, no risk of destroying a working machine (can always slap old drive back in), easy migration of service by service, etc and so on. Strikes me as a PITA, but then again .. the others are probably all PITAs as well given the age of the box. Something will break, so maybe its best to just start fresh with a nice new install and go from there. Get a stick of flash, build system, install it on the flash and boot from it. Try to keep all of your old binaries - I personally don't think hardware running 5.4 typically will not boot from USB. Not totally true. 5.4 was released in 2005 whereas newest motherboard with which I faced personally problems booting from USB was from 2003. And it actually declares that it can boot from USB. However it's quite possible the hardware would not boot from USB stick. This way 8.0 kernel can be compiled with specifically setting that it should take root from other fs - USB stick or formatted swap. Swap can be too small. USB can be not the choice too - on the mentioned motherboard system freezes on boot when any USB drive is present. -- Sphinx of black quartz judge my vow. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Generating normally distributed random numbers.
I am working on a project where I have the need to generate normally distributed random positive integers, preferably unsigned 64 bit (or even longer if possible) integers. More specifically, I will need the ability to supply the expected value and the standard deviation for the desired distribution, so a standard normal distribution will not do. Is there anyone out there who knows how to accomplish this? I have no idea whatsoever, and for all I know there may already be a function that does this in the math library. I'm quite accomplished when it comes to math, but strangely I've never programmed computers for it. You won't any functions to do this in the standard C or C++ libraries (though you can readily build on rand()/rand_r()) Java has java.util.Random.nextGaussian(). Boost has normal_distribution.hpp. If you're going to do it yourself, usually normal deviates are generated using the polar method (http://en.wikipedia.org/wiki/Marsaglia_polar_method). If you really want to read up on this topic see Chapter 3 of Knuth's Art of of Computer Programming. The polar method is really designed for floating point numbers since you need log() but you could always round the values to the nearest integer. Getting getting normal deviates bigger than 64 bits could be a real challenge. A generator for a standard normal distribution is readily adapted to any normal distribution by multiplying by the standard deviation and adding the mean. Sincerely, Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Nehelem 64 bit, kern conf and /etc/make.conf
I just installed FreeBSD 8.0 (amd64) onto my new Nehalem-based system. CPU: Intel(R) Xeon(R) CPU L5506 @ 2.13GHz (2128.00-MHz K8-class CPU) Origin = GenuineIntel Id = 0x106a5 Stepping = 5 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x9ce3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT AMD Features=0x28100800SYSCALL,NX,RDTSCP,LM AMD Features2=0x1LAHF TSC: P-state invariant I am now in the process of configuring the kernel config file. A few questions; 1. Is the kernel config file I want to modify /usr/src/sys/amd64/conf/GENERIC ? (Copy that file as /root/PORKY, and set up a symlink from /usr/src/sys/amd64/conf to /root/PORKY.) You don't have to do this: you could just use GENERIC. But if you want to build a custom kernel, and you are not familiar with all of the kernel options, GENERIC is a good starting point. 2. What should I set this line to: cpu HAMMER Right now it's HAMMER, I have no idea what Hammer is. What would be the best thing to set it to? I want to be as specific as possible for my CPU type. Leave this alone. If you change it, you will break your kernel. It's not meant to be customized: it's just a name that was chosen because it happened to be AMD's prototype 64-bit CPU at the time the amd64 port was being written. 3. The instructions here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html mention a line like this: machinei386 (which would probably by amd64 in my case), but the machine line is missing entirely from GENERIC conf file. Should I add it? No, leave it alone. The documentation is outdated; this option is now set in DEFAULTS, which is a small list of very important stuff that every kernel of a certain architecture must contain in order to function properly. It is not meant to be customizable. 4. In /etc/make.conf, I'm used to having, for example: CPUTYPE?=core2 What would be my CPU in this case (Xeon L5506)? I know this line is not necessary, but I'd like to set it to the most specific kind of CPU possible for my case to gain any optimizations, so long as it does not make my system unstable. This option is only used to set the flags for the C and C++ compilers. The base system compiler for FreeBSD 7-9 is a patched version of gcc 4.2, and is hooked up to a patched version of binutils 2.15. This compiler suite and tool-chain are not new enough to take full advantage of your CPU: the best you can do is set it to auto-detect your CPU, or hard-code it to the most modern compatible CPU that existed when the compiler suite and tool-chain were written. However, some people have started to use newer compilers and tool-chains from FreeBSD Ports (some ports even require it), and if you do that, you may need a different value. Probably, your best bet is to use: CPUTYPE?= native and to check to make sure that the base system compiler is actually equating this with 'nocona', and enabling all of your SIMD extensions that it supports. This won't make a great deal of difference for kernel performance, but it will affect other base system programs and ports if you are using CFLAGS with -march or other optimization flags. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Generating normally distributed random numbers.
On 2010-01-31 15:53, Jason Lenthe wrote: I am working on a project where I have the need to generate normally distributed random positive integers, preferably unsigned 64 bit (or even longer if possible) integers. More specifically, I will need the ability to supply the expected value and the standard deviation for the desired distribution, so a standard normal distribution will not do. Is there anyone out there who knows how to accomplish this? I have no idea whatsoever, and for all I know there may already be a function that does this in the math library. I'm quite accomplished when it comes to math, but strangely I've never programmed computers for it. Thank you for your suggestions. I haven't yet looked too carefully into them, so I haven't decided which approach to use. But your suggestions have given me ideas to work on. Thanks, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
VirtualBox doesn't start
Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi Frank, Frank Wi?mann wrote: Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Can you run this from a terminal emulator (konsole, xterm) for more verbose output? Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Glen Barber schrieb: Hi Frank, Frank Wi?mann wrote: Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Can you run this from a terminal emulator (konsole, xterm) for more verbose output? OK, here it is: VBoxBFE: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 HTH Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Frank Wi?mann wrote: Glen Barber schrieb: Hi Frank, Frank Wi?mann wrote: Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Can you run this from a terminal emulator (konsole, xterm) for more verbose output? OK, here it is: VBoxBFE: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 Is your user in the vboxusers group? Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Glen Barber schrieb: Frank Wi?mann wrote: Glen Barber schrieb: Hi Frank, Frank Wi?mann wrote: Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Can you run this from a terminal emulator (konsole, xterm) for more verbose output? OK, here it is: VBoxBFE: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 Is your user in the vboxusers group? OK, now he is. But either as root or as normal user I get the same result as in the message in the last mail described. Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Frank Wi?mann wrote: Is your user in the vboxusers group? OK, now he is. But either as root or as normal user I get the same result as in the message in the last mail described. Ok, three questions: 1.) Did you log out after adding yourself to the group? If not, open a new terminal emulator and run the command again. 2.) What version of VirtualBox is this? virtualbox-ose-3.1.2 and above do not require procfs(5); lesser versions do. 3.) Are your kernel / userland in sync? Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? I would also suggest using the links in /usr/local/bin rather than going to /usr/local/lib/virtualbox. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On Sun, 31 Jan 2010, Warren Block wrote: On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? Err, make that VBoxManage or VBoxSDL. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Warren! Warren Block schrieb: On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. That is the command which I used. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? That was the first executable in the /usr/local/bin/-directory. I tried the other one, too, and got the same result. I would also suggest using the links in /usr/local/bin rather than going to /usr/local/lib/virtualbox. I tried that too, and it didn't work. Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Warren1 Warren Block schrieb: On Sun, 31 Jan 2010, Warren Block wrote: On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? Err, make that VBoxManage or VBoxSDL. VboxManage in a konsole gives a help-text but nothing more. Run in the KDE-Launcher nothing happens at either command. Neither VBoxBDE, VBoxSDL or VBoxManage give any output. Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Glen1 Glen Barber schrieb: Frank Wi?mann wrote: Is your user in the vboxusers group? OK, now he is. But either as root or as normal user I get the same result as in the message in the last mail described. Ok, three questions: 1.) Did you log out after adding yourself to the group? If not, open a new terminal emulator and run the command again. I did it in the meantime, but the result is the same. 2.) What version of VirtualBox is this? virtualbox-ose-3.1.2 and above do not require procfs(5); lesser versions do. It is virtualbox-3.0.51.r22902_3. 3.) Are your kernel / userland in sync? Yes. uname -a says: FreeBSD grissom.einundvierzig.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Jan 2 21:13:02 CET 2010 fr...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM amd64 Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Printing via ulpt0 extremely slow
On Fri, Jan 29, 2010 at 09:08:14PM +0100, Jens Schweikhardt wrote: hello, world\n I have a system with a handful of kernels I chose from with grub. Recently compiled 8-STABLE systems show strange printing behaviour. While a one year old 8.0-CURRENT #0 r185532 has no problem printing to my HP Laserjet 2300d (via cups and USB/ulpt0), newer systems and even 9-CURRENT print extremely slow, on the order of 1 page every 6 minutes. The printer's Data LED blinks sometimes erratically, sometimes is on for a few seconds, with intermittent periods of 1Hz blinking (which is the expected normal behavior). For some reason, CUPS stopped working for me too, after upgrading print/cups-base. Using a HP LaserJet 1320 (Postscript) attached via ulpt0. Exactly the same symptoms. As a workaround, I simply filter PDF files through /usr/local/libexec/cups/filter/pdftops and send that to /dev/ulpt0 directly. I have no idea how to debug this, because nothing shows in the CUPS logs. So I'm wondering what causes this oddity. I've ruled out an issue with hald/dbus which recent systems use for xorg 7.4, by turning them off, rebooting and printing from the console--same slow printing. The cups log says it sent the file succesfully (/var/log/cups/access_log): localhost - - [29/Jan/2010:20:17:11 +0100] POST /printers/LaserJet_2300d HTTP/1.1 200 18530 Send-Document successful-ok I can't find anything obvious in my kernel config that might account for this behavior. I don't think it is related to FreeBSD, because printing worked perfectly only my system (FreeBSD/amd64 r200471) before updating cups-base, and stopped working exactly after that (but printing directly to /dev/ulpt0 still works perfectly). It is probably a cups problem. It does not matter if the printer is on or off when the system starts. I've read about interrupt storms (when printing via lpt0), but vmstat -i looks sane AFAICT: $ vmstat -i interrupt total rate irq16: vgapci0 ahc* 192947 62 irq18: skc0 uhci2++ 3765 1 irq19: fwohci0++ 383725124 irq23: uhci3 ehci1 3700 1 cpu0: timer 6227448 2018 irq256: hdac0 92 0 cpu1: timer 6219346 2015 Total 13031023 4223 Anyone seen something similar? What else can I try to debug this problem? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
devel/poco-ssl BROKEN. Can I use TRYBROKEN?
Hi, devel/poco-ssl has been marked BROKEN= bad plist for some time now. Since I urgently need it for devel work, and as I would prefer to use the port rather than compile POCO directly (which works too), I'm considering bypassing this BROKEN setting with: .if ${.CURDIR:M*/devel/poco-ssl} TRYBROKEN=yes .endif in /etc/make.conf. Is it okay, until devel/poco-ssl is fixed? Oh, btw, I'm still missing the poco-doc port which pulls in the POCO documentation. :-( Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On Sun, 31 Jan 2010, Frank Wi?mann wrote: Hi, Warren1 Warren Block schrieb: On Sun, 31 Jan 2010, Warren Block wrote: On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? Err, make that VBoxManage or VBoxSDL. VboxManage in a konsole gives a help-text but nothing more. Run in the KDE-Launcher nothing happens at either command. Neither VBoxBDE, VBoxSDL or VBoxManage give any output. The GUI is /usr/local/bin/VirtualBox. All of the others are command-line interfaces. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Warren! Warren Block schrieb: On Sun, 31 Jan 2010, Frank Wi?mann wrote: Hi, Warren1 Warren Block schrieb: On Sun, 31 Jan 2010, Warren Block wrote: On Sun, 31 Jan 2010, Frank Wi?mann wrote: I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Please post the full command line you are using. Why are you using VBoxBFE rather than VirtualBox or VBoxSDL? Err, make that VBoxManage or VBoxSDL. VboxManage in a konsole gives a help-text but nothing more. Run in the KDE-Launcher nothing happens at either command. Neither VBoxBDE, VBoxSDL or VBoxManage give any output. The GUI is /usr/local/bin/VirtualBox. All of the others are command-line interfaces. I only have this in /usr/local/bin: lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxBFE@ - /usr/local/lib/virtualbox/VBoxBFE lrwxr-xr-x 1 root wheel 38 30 Jan 20:45 VBoxHeadless@ - /usr/local/lib/virtualbox/VBoxHeadless lrwxr-xr-x 1 root wheel 36 30 Jan 20:45 VBoxManage@ - /usr/local/lib/virtualbox/VBoxManage lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxNetAdpCtl@ - /usr/local/lib/virtualbox/VBoxNetAdpCtl lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxNetDHCP@ - /usr/local/lib/virtualbox/VBoxNetDHCP lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSDL@ - /usr/local/lib/virtualbox/VBoxSDL lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSVC@ - /usr/local/lib/virtualbox/VBoxSVC lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxTestOGL@ - /usr/local/lib/virtualbox/VBoxTestOGL lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxXPCOMIPCD@ - /usr/local/lib/virtualbox/VBoxXPCOMIPCD May it be something is interfering with the problem I am discussing in the other thread Problems with 'make clean'? Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Glen! Glen Barber schrieb: 2.) What version of VirtualBox is this? virtualbox-ose-3.1.2 and above do not require procfs(5); lesser versions do. When I try to mount /proc via fstab and mount -u -a I get the following error message: mount: proc : Invalid argument The line in /etc/fstab is as following: proc /proc procfs rw 0 0 Something is wrong here, too, but what? Greetings Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On Sun, 31 Jan 2010, Frank Wi?mann wrote: Warren Block schrieb: ... The GUI is /usr/local/bin/VirtualBox. All of the others are command-line interfaces. I only have this in /usr/local/bin: lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxBFE@ - /usr/local/lib/virtualbox/VBoxBFE lrwxr-xr-x 1 root wheel 38 30 Jan 20:45 VBoxHeadless@ - /usr/local/lib/virtualbox/VBoxHeadless lrwxr-xr-x 1 root wheel 36 30 Jan 20:45 VBoxManage@ - /usr/local/lib/virtualbox/VBoxManage lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxNetAdpCtl@ - /usr/local/lib/virtualbox/VBoxNetAdpCtl lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxNetDHCP@ - /usr/local/lib/virtualbox/VBoxNetDHCP lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSDL@ - /usr/local/lib/virtualbox/VBoxSDL lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSVC@ - /usr/local/lib/virtualbox/VBoxSVC lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxTestOGL@ - /usr/local/lib/virtualbox/VBoxTestOGL lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxXPCOMIPCD@ - /usr/local/lib/virtualbox/VBoxXPCOMIPCD May it be something is interfering with the problem I am discussing in the other thread Problems with 'make clean'? Maybe you turned off the QT4 option in the VirtualBox port config? It's required for the GUI. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
Hi, Warren! Warren Block schrieb: On Sun, 31 Jan 2010, Frank Wi?mann wrote: Warren Block schrieb: ... The GUI is /usr/local/bin/VirtualBox. All of the others are command-line interfaces. I only have this in /usr/local/bin: lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxBFE@ - /usr/local/lib/virtualbox/VBoxBFE lrwxr-xr-x 1 root wheel 38 30 Jan 20:45 VBoxHeadless@ - /usr/local/lib/virtualbox/VBoxHeadless lrwxr-xr-x 1 root wheel 36 30 Jan 20:45 VBoxManage@ - /usr/local/lib/virtualbox/VBoxManage lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxNetAdpCtl@ - /usr/local/lib/virtualbox/VBoxNetAdpCtl lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxNetDHCP@ - /usr/local/lib/virtualbox/VBoxNetDHCP lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSDL@ - /usr/local/lib/virtualbox/VBoxSDL lrwxr-xr-x 1 root wheel 33 30 Jan 20:45 VBoxSVC@ - /usr/local/lib/virtualbox/VBoxSVC lrwxr-xr-x 1 root wheel 37 30 Jan 20:45 VBoxTestOGL@ - /usr/local/lib/virtualbox/VBoxTestOGL lrwxr-xr-x 1 root wheel 39 30 Jan 20:45 VBoxXPCOMIPCD@ - /usr/local/lib/virtualbox/VBoxXPCOMIPCD May it be something is interfering with the problem I am discussing in the other thread Problems with 'make clean'? Maybe you turned off the QT4 option in the VirtualBox port config? It's required for the GUI. I thought I didn't need it cause I use KDE 3.5.10 and not KDE 4 which requires QT4. So it seems I'm wrong and have to reinstall the port, is that your thought, too? Frank -- GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
System Crash + Firefox-3.5.7
I have been experiencing one or two system crashes a day for over a week now. For no apparent reason, when starting Firefox, the system will freeze for approximately 10 seconds or so, then reboot. This does not happen every-time. It seems to happen maybe every third or forth time, although that is not a proven fact. The /var/crash directory is starting to fill up with crash files -- bounds, vmcore.x info.x and I have no idea what to do with them. Can I just delete them or is there somebody who investigates these spontaneous crashes/reboots. This is happening on a FreeBSD-7.2 machine. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | Dibble's First Law of Sociology: Some do, some don't. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: fstab syntax
On Sun, 31 Jan 2010 00:35:02 +0200, Elias Chrysocheris elias...@cha.forthnet.gr wrote: Unfortunatelly, spaces are not allowed in fstab syntax. Fortunately. :-) Allow me a little sidenote about correct terminology: I also have tried it before and figured out that there is no way to insert spaces in a folder or device name. Those are called directories, not folders. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
iwi and wlan-cloning
Hi all, After installing 8.0-release I followed all the howtos on cloning my iwi0 device to wlan0 to setup the wireless. The manual configuration: ifconfig wlan create wlandev iwi0 wpa_supplicant -c /etc/wpa_supplicant -i wlan0 dhclient wlan0 works well. However, trying to get this done automatically seems not to work: wlans_iwi0: not found ifconfig_wlan0: not found if I have rc.conf entries: wlans_iwi0 = wlan0 ifconfig_wlan0 = WPA DHCP wpa_supplicant_enable=YES Hope somebody has had more luck than I :) //T ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On Sun, 31 Jan 2010, Frank Wi?mann wrote: Warren Block schrieb: On Sun, 31 Jan 2010, Frank Wi?mann wrote: Warren Block schrieb: ... The GUI is /usr/local/bin/VirtualBox. All of the others are command-line interfaces. ... Maybe you turned off the QT4 option in the VirtualBox port config? It's required for the GUI. I thought I didn't need it cause I use KDE 3.5.10 and not KDE 4 which requires QT4. So it seems I'm wrong and have to reinstall the port, is that your thought, too? Yep. QT4 is big, too. You can use VBoxManage to duplicate the functions of the GUI, but it's far more complicated. I have notes if you want to go that way. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommendation on GPS time source for FreeBSD
Per olof Ljungmark p...@intersonic.se wrote: Does anyone have a recommendation on a good GPS receiver/board for use with NTP/FreeBSD to create a stratum 1 public time server? Anything with a PPS output. The Garmin GPS 18 LVC is probably the cheapest option. Preferably something above the Garmin puck level but not ridiculously expensive either... One of the u-blox evaluation kits (e.g. EVK-5T). http://www.u-blox.com/ -- Christian naddy Weisgerber na...@mips.inka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re : Recommendation on GPS time source for FreeBSD
Alexandre L. axel...@ymail.com wrote: You can see here : http://www.meinberg.de/english/ Meinberg is one of those companies that don't even put price information on the web site: If you have to ask, you can't afford it. -- Christian naddy Weisgerber na...@mips.inka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Server compromised Zen-Cart record company Exploit
Whoever speculated that my server may have been compromised was on to something (see bottom). The good news is, it does appear to be contained to the www unpriveleged user (with no shell). The bad news is, they can still cause a lot of trouble. I found the compromised customer site and chmod 0 their cart (had php binaries called core(some number).php that gave the hacker a nice browser screen to cause all kinds of trouble) Not sure if this is related to the UDP floods, but if not, it's a heck of a coincidence. At times, CPU went through the roof for the www user, mostly running some sort of perl scripts (nothing in the suexec-log). I would kill apache, but couldn't restart it as it would show port 80 in use. I would have to manually kill processes like these: www 70471 1.4 0.1 6056 3824 ?? R 4:21PM 0:44.75 [eth0] (perl) www 70470 1.2 0.1 6060 3828 ?? R 4:21PM 0:44.50 [bash] (perl) www 64779 1.0 0.1 6056 3820 ?? R 4:07PM 2:24.34 /sbin/klogd -c 1 -x -x (perl) www 70472 1.0 0.1 6060 3828 ?? R 4:21PM 0:44.84 I could not find ANY file named klogd on the system, let alone in /sbin. Clues as to how to dig myself out of this are appreciated I found this in /tmp/bx1.txt: --More--(5%)#!/usr/bin/php ?php # # --- Zen Cart 1.3.8 Remote Code Execution # http://www.zen-cart.com/ # Zen Cart Ecommerce - putting the dream of server rooting within reach of anyone! # A new version (1.3.8a) is avaible on http://www.zen-cart.com/ # # BlackH :) # error_reporting(E_ALL ^ E_NOTICE); if($argc 2) { echo =___ Zen Cart 1.3.8 Remote Code Execution Exploit = | BlackH bl4c...@gmail.com | | | | \$system php $argv[0] url| | Notes: url ex: http://victim.com/site (no slash) | | | ;exit(1); --- snipped -- It is dated from two nights ago, after these issues started, but it's nonetheless larming. Security Focus is aware of the issue and refers you to Zen for the fix. Only problem is, this is an old version of Zen cart, and the James Smallacombe PlantageNet, Inc. CEO and Janitor u...@3.am http://3.am = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problem with sftp server, static linking, pam and nss_ldap.
Hi, problem solved. It is only FreeBSD 9 (CURRENT) issue. If anyone would have problem like this, solution is available here: http://lists.freebsd.org/pipermail/freebsd-current/2010-January/015236.html Regards -- Piotr Buliński Informatyka na Wydziale Elektrycznym Politechnika Warszawska
Re: iwi and wlan-cloning
On Sun, Jan 31, 2010 at 8:14 PM, Torgeir Hoffmann twhof...@gmail.com wrote: Hi all, After installing 8.0-release I followed all the howtos on cloning my iwi0 device to wlan0 to setup the wireless. The manual configuration: ifconfig wlan create wlandev iwi0 wpa_supplicant -c /etc/wpa_supplicant -i wlan0 dhclient wlan0 works well. However, trying to get this done automatically seems not to work: wlans_iwi0: not found ifconfig_wlan0: not found if I have rc.conf entries: wlans_iwi0 = wlan0 ifconfig_wlan0 = WPA DHCP wpa_supplicant_enable=YES Do you actually have spaces between the names and values? Try wlans_iwi0=wlan0 ifconfig_wlan0=WPA DHCP I don't think this is required due to the 'WPA' in the ifconfig parameters: wpa_supplicant_enable=YES -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: iwi and wlan-cloning
On 31 January 2010 22:51, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Sun, Jan 31, 2010 at 8:14 PM, Torgeir Hoffmann twhof...@gmail.com wrote: However, trying to get this done automatically seems not to work: wlans_iwi0: not found ifconfig_wlan0: not found if I have rc.conf entries: wlans_iwi0 = wlan0 ifconfig_wlan0 = WPA DHCP wpa_supplicant_enable=YES Do you actually have spaces between the names and values? Try wlans_iwi0=wlan0 ifconfig_wlan0=WPA DHCP I don't think this is required due to the 'WPA' in the ifconfig parameters: wpa_supplicant_enable=YES Thanks! I must admit I'm ashamed not to have seen this. Clearly I needed a fresh pair of eyes. Thanks for all replies! //T ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re : Recommendation on GPS time source for FreeBSD
With a clear view of the sky, pretty much any receiver but the lowest grade (havIng a 1pps output) should behave about the same. Ceramic patch antennas should have a decent ground plane. If the antenna is small (e.g. most puck antenna/receivers) put in on a 10in or 12in round metal disk (also blocks low-elevation reflected signals). Getting a lot better may involve considerable testing and characterization (i.e. $$'s), including site survey (line of sight obstacles, sources of multipath...), propagation/group delay in antenna/rf system, hardware involved in generating 1pps (slew rates...), sw tracking loop stability under various conditions (low signal level, addIng or dropping a satellite from the loop, ...). Dale Sent on the TELUS Mobility network with BlackBerry -Original Message- From: na...@mips.inka.de (Christian Weisgerber) Date: Sun, 31 Jan 2010 21:29:23 To: freebsd-questions@freebsd.org Subject: Re: Re : Recommendation on GPS time source for FreeBSD Alexandre L. axel...@ymail.com wrote: You can see here : http://www.meinberg.de/english/ Meinberg is one of those companies that don't even put price information on the web site: If you have to ask, you can't afford it. -- Christian naddy Weisgerber na...@mips.inka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Recommendation on GPS time source for FreeBSD
Christian Weisgerber wrote: Per olof Ljungmark p...@intersonic.se wrote: Does anyone have a recommendation on a good GPS receiver/board for use with NTP/FreeBSD to create a stratum 1 public time server? Anything with a PPS output. The Garmin GPS 18 LVC is probably the cheapest option. Preferably something above the Garmin puck level but not ridiculously expensive either... One of the u-blox evaluation kits (e.g. EVK-5T). http://www.u-blox.com/ There are many more factors involved than just getting a decent NMEA and PPS signal. We are in a building with obscured view of the sky (antenna must be on roof or at least up the wall), the server room is in the basement (long cable runs). Perhaps a Motorola ONCORE off e-bay + a proper antenna could be a way of getting started, I do realise that professional timekeeping equipment is expensive, just as any other high quality product made in small quantities. Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
On Sun, 31 Jan 2010, Volodymyr Kostyrko wrote: # Not totally true. 5.4 was released in 2005 whereas newest motherboard with # which I faced personally problems booting from USB was from 2003. And it # actually declares that it can boot from USB. 5.4 seemed to actually have many issues with USB; some devices work, others cause kernel panics as soon as they hit the socket, so I generally avoid them on the machine (which causes no end of trouble for backups :) # However it's quite possible the hardware would not boot from USB stick. This An interesting idea to boot from USB here; I've often flirted with the idea of using the local-disk for storage, and the OS from flash media, and thus being able to swap easily without a hypervisor/etc. Anyway, as this box is a shell, mailserver, low end webserver etc, fairly dedicated in function, I think my best route will be to buy another disk (I mean, theyu're cheap right?) and do the jump straight to a fresh-8 install, harden it up, and do the piecemeal migration. Worst case is I go back to the existing drive for a few days until I get it all working. Thanks for the many tips my friends, jeff -- If everyone would put barbecue sauce on their food, there would be no war. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help! Upgrade from fbsd 5.4 to 8.x
Hi, On 01 February 2010 am 08:12:56 Jeff Mitchell wrote: On Sun, 31 Jan 2010, Volodymyr Kostyrko wrote: 5.4 seemed to actually have many issues with USB; some devices including 7.2. USB was the main reason why I left the machine on 6.x. I planned then an direkt update to 8.0 when it appeared at the scene. But a hard disk crash changed my plans. # However it's quite possible the hardware would not boot from USB stick. This An interesting idea to boot from USB here; I've often flirted with the idea of using the local-disk for storage, and the OS from flash media, and thus being able to swap easily without a hypervisor/etc. Anyway, as this box is a shell, mailserver, low end webserver etc, fairly dedicated in function, I think my best route will be to buy another disk (I mean, theyu're cheap right?) and do the jump straight to a fresh-8 install, harden it up, and do the piecemeal migration. Worst case is I go back to the existing drive for a few days until I get it all working. you can also buy a external case for the hard disk. Install FreeBSD on the disk via USB, edit fstab, insert it into the machine and boot from it. You can do the setup completely on a different machine. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Swap Partition First? Something is still Wrong.
When referring to the slices in a FreeBSD partition, which is correct, ad0s1a or ad0s1-1? One of the problems in setting up install.cfg is that I am not sure if it is not configuring the disk because the designations are wrong or if I am telling fdisk to do something that it can't do. ad0s1-1=ufs 77116032 / 1 ad0s1-2=swap 0 or should it be ad0s1a and ad0s1b? When using ad0s1a and ad0s1b, there are no error messages, but it also didn't create the swap partition. Thank you. Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache22 and new hostname???
On Sat, Jan 30, 2010 at 05:58:16PM -0500, Matt Emmerton wrote: Gary, But I do need the basics of having/serving/hosting two domains on one computer. What you are looking for are called virtual hosts. See the examples in /usr/local/etc/apache22/extra/httpd-vhosts.conf. The Apache documentation (mentioned in the above file) is also helpful. Regards, -- Matt Emmerton thanks, matt; the details are many; files in /usr/local/share/doc; it's a start gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mysql silently failing to start - suggestions?
If this isn't the right list - if I should try another let me know - but since this is the mysql-server-5.4.2 package, and since you folks have been so helpful, I thought I'd give it a go. Anyway, the system is 8.0-RELEASE and that package is installed, and I can't start the server. Not only can I not start the server, but it's not giving me a clue. I can't find anything anywhere. Not in /var/log/messages, not anywhere. When I run /usr/local/etc/rc.d/mysqlserver start it says Starting mysql., pauses for several seconds (I don't see anything go by in top) and then the script exits. At that point, one would expect, there's no /tmp/mysql.sock, there's nothing in messages or anywhere else. With nothing to go on, well, I don't know where to start. Any suggestions? -- John Lind j...@starfire.mn.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql silently failing to start - suggestions?
On Sun, Jan 31, 2010 at 9:34 PM, John j...@starfire.mn.org wrote: If this isn't the right list - if I should try another let me know - but since this is the mysql-server-5.4.2 package, and since you folks have been so helpful, I thought I'd give it a go. Anyway, the system is 8.0-RELEASE and that package is installed, and I can't start the server. Not only can I not start the server, but it's not giving me a clue. I can't find anything anywhere. Not in /var/log/messages, not anywhere. When I run /usr/local/etc/rc.d/mysqlserver start it says Starting mysql., pauses for several seconds (I don't see anything go by in top) and then the script exits. At that point, one would expect, there's no /tmp/mysql.sock, there's nothing in messages or anywhere else. With nothing to go on, well, I don't know where to start. Any suggestions? -- John Lind j...@starfire.mn.orghttp://lists.freebsd.org/mailman/listinfo/freebsd-questions I completely switched to postgresql long ago, but maybe I remember enough to provide a clue, actually this a really application agnostic. 1. edit the config file to increase verbosity. 2. start the binary from the commandline, don't run the start-up scripts as they sometimes mask errors. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql silently failing to start - suggestions?
In the last episode (Jan 31), John said: If this isn't the right list - if I should try another let me know - but since this is the mysql-server-5.4.2 package, and since you folks have been so helpful, I thought I'd give it a go. Anyway, the system is 8.0-RELEASE and that package is installed, and I can't start the server. Not only can I not start the server, but it's not giving me a clue. I can't find anything anywhere. Not in /var/log/messages, not anywhere. When I run /usr/local/etc/rc.d/mysqlserver start it says Starting mysql., pauses for several seconds (I don't see anything go by in top) and then the script exits. At that point, one would expect, there's no /tmp/mysql.sock, there's nothing in messages or anywhere else. With nothing to go on, well, I don't know where to start. Any suggestions? /var/db/mysql/hostname.err should contain more information. The rc.d/mysql-server script was recently changed to wait up to 15 seconds for the server to become ready, which is the cause of the long delay. It doesn't check to see if the pid file has disappeared (which indicates the server has exited). -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql silently failing to start - suggestions?
John wrote: If this isn't the right list - if I should try another let me know - but since this is the mysql-server-5.4.2 package, and since you folks have been so helpful, I thought I'd give it a go. Anyway, the system is 8.0-RELEASE and that package is installed, and I can't start the server. Not only can I not start the server, but it's not giving me a clue. I can't find anything anywhere. Not in /var/log/messages, not anywhere. When I run /usr/local/etc/rc.d/mysqlserver start it says Starting mysql., pauses for several seconds (I don't see anything go by in top) and then the script exits. At that point, one would expect, there's no /tmp/mysql.sock, there's nothing in messages or anywhere else. With nothing to go on, well, I don't know where to start. Any suggestions? First is there a mysql_enable=YES line in /etc/rc.conf? The rc subr startup system requires it and also the complete path as you did type above. Although since it is mysql-server and you got a response I'll assume the above is just a typo here in this mail. If you have changed the location of the database files this variable will need setting in /etc/rc.conf as well. The default is /var/db/mysql. Notice this directory should be owned by the mysql:mysql user/group combo. This will allow for the writing of the machine-hostname.pid file. There will also be a machine-hostname.err file which is the log you need to look at. If these files are not present it is either not getting that far in the startup, or there is a permissions problem. The normal location of the socket is /tmp, which should be permissions 1777 (sticky bit set). You do have a line setting the hostname of the machine in /etc/rc.conf too, right? Such as hostname=testbed.test.zip for my local dev server at home. This should be resolvable either by DNS or a hosts file. Also, be aware that the location of the my.cnf file is now /usr/local/etc, although should this be missing it should still look for it in /var/db/mysql as a fallback. If this file is world writable MySQL will ignore it. The establishment of the mysql user and group should have occurred as part of the port installation. I use ports and not packages, as well as the older version of 5.1.42 so I cannot speak to the efficacy of installing a package of 5.4.x. Perhaps a package problem? Try installing the 5.1.42 port using the ports system instead is one possibility if such may be the case. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
transparen tproxy for HTTPS.
I have problems with squid. For Http squid is working. But for https squid is not working.For example I want to see gmail.com FireFox gives next Message: Error code: ssl_error_rx_record_too_long.IE 8.0 doesn't work and give message. FreeBSD 7.1, I try it in squid-2.7.7_2,3.1. Both of them doesn't work. Help me? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/root permission reset on boot
I'm running FreeBSD 7.1 i386, and even after I chmod 700 /root, after a reboot it goes back to permission 755. 1. What's the reason for this? There must be a good reason and I would like to know it. Everything in FreeBSD just makes sense and is well designed (honestly, no sarcasm here). 2. Would I want to change the permission of /root to 700 permanently, and how? - Nerius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: VirtualBox doesn't start
On 31/01/2010 7:32 μ.μ., Frank Wißmann wrote: Glen Barber schrieb: Frank Wi?mann wrote: Glen Barber schrieb: Hi Frank, Frank Wi?mann wrote: Hi, folks! I want to launch my freshly installed VB with the run-command under KDE 3.5.10, but it won't start. All I get is Command can't be executed in german. I also tried with full pathname /usr/local/lib/virtualbox/VboxBFE, but that doesn't work either. Where should I look for a solution? Can you run this from a terminal emulator (konsole, xterm) for more verbose output? OK, here it is: VBoxBFE: supR3HardenedExecDir: couldn't read , errno=2 cchLink=-1 Is your user in the vboxusers group? OK, now he is. But either as root or as normal user I get the same result as in the message in the last mail described. Greetings Frank You probably haven't mounted the proc filesystem. See section 22.3.1 in the Handbook: http://www.freebsd.org/doc/en/books/handbook/virtualization-host.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org