premature ENOMEM
Greetings, I have a 32-bit machine with 2 GB running FreeBSD 8. I have a complex application that starts getting ENOMEM once the resident memory is about 200 MB. I adjusted the appropriate /boot/loader.conf and /etc/login.conf settings resulting in an increase in the "limit" values to around 2 GB, but still the complex application gives me ENOMEM at 200 MB. Including swap space, I should be able to handle 3 GB in an application. I need help understanding how I can enable this or why I cannot. I had this same problem on FreeBSD 6.3 about a year and a half ago, but I found an application-level work-around particular for FreeBSD (the full thread is here http://markmail.org/message/5nsld7pb25m5bfja ; but we found no general solution unfortunately ). This application-level work-around is no longer sufficient so I wanted to revisit the root of this problem I was seeing and hopefully ask this community of smart hackers to give me a hand here... I have created a simplified application that demonstrates this exact same problem and made it easy to reproduce. I was hoping that some kind and helpful person could take a look at it and help me out. It doesn't require any editing of code or anything... In the end, I just need to know how to configure my FreeBSD box with 2 GB of RAM to not give me ENOMEM for this application when it is using only 200 MB, something that never happened in the previous unresolved thread reverenced above. This simplified application has a deliberate memory leak but the goal is for it to not give ENOMEM at 200 MB (I want to be able to use about 1.5 GB). I have created a tarball... I think it may only work on a 32-bit machine. download/wget http://cs.ubc.ca/~penoff/reslim.tgz tar zxf reslim.tgz cd reslim gmake (or make on Linux) sh ./myumem.sh On my system, when this prints our an error message, in "top", I only see about 200 MB of both "SIZE" and "RES" (they are a few numbers off). The goal is for "SIZE" to be 1.5 GB or higher; "RES" is up to the OS. For example, on Linux, "SIZE" (called "VIRT") goes as high as 2.8 GB before the system just becomes slow and unusable (never saw ENOMEM). For FreeBSD, what can I change to increase the possible "SIZE" before I see ENOMEM? I have tried increasing /boot/loader.conf values to match my 2 GB RAM (kern.maxdsiz, kern.maxssiz, kern.dfldsiz), as well as unlimited values in /etc/login.conf, but still 200 MB seems a hard limit. Any ideas? Why is it not going beyond 200 MB? Resident memory is equal to memory size used by the app so why is it never going to disk to swap before ENOMEM comes up? Thanks a million for any help or advice you could lend. I would be more than willing to help in any way, even providing a machine to try this on (I could sponsor an emulab.net account). Anxious to hear what options exist. Thanks again, brad ___ 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"
[SOLVED]Re: Sysinstall Post-install System Management
On 02/19/10 15:34, Adam Vande More wrote: > On Fri, Feb 19, 2010 at 3:30 PM, Programmer In Training < > p...@joseph-a-nagy-jr.us> wrote: > >> Everytime I run portsnap update it says it's up to date. So I just >> fetched it and am extracting it right now. I'd run freebsd-udpate but >> that errors out, too. >> >> You have to run portsnap fetch update (assuming you've run a portsnap > extract earlier) > > freebsd-update will do you no go here. > > Probably not, but that's an issue I do need to get resolved. Also, flash is installed. Thanks for the help. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: OOo.3.20 vs OOo.3.11
In the last episode (Feb 25), Gary Kline said: > I d'loaded and built the latest Version of OOo on my new dual core server, > then scp'd it over, stuck it in /usr/local , and tried to install the > 3.2.0 version with pkg_add. (I tried other things too, note, zip. > > The following is an ls -lt of /usr/local with the output of the failed > pkg_add. Any idea what I'm doing to cause this fatal blunder? > > gary > > r...@tao:/usr/local# pkg_add -v openoffice.org-3.2.0.tbz > Requested space: 582M bytes, free space: 1109M bytes in /var/tmp/instmp.eXPq2W > pkg_add: package 'openoffice.org-3.2.0' or its older version already installed > pkg_add: 1 package addition(s) failed > r...@tao:/usr/local# "package 'openoffice.org-3.2.0' or its older version already installed" Try uninstalling any previous versions of openoffice. -- 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"
OOo.3.20 vs OOo.3.11
I d'loaded and built the latest Version of OOo on my new dual core server, then scp'd it over, stuck it in /usr/local , and tried to install the 3.2.0 version with pkg_add. (I tried other things too, note, zip. The following is an ls -lt of /usr/local with the output of the failed pkg_add. Any idea what I'm doing to cause this fatal blunder? gary -rw-r--r--1 kline wheel 152627288 Feb 25 20:36 openoffice.org-3.2.0.tbz drwxr-xr-x 162 root wheel 132096 Feb 25 20:29 lib drwxr-xr-x 432 root wheel 47104 Feb 25 20:29 include drwxr-xr-x8 root wheel 72704 Feb 25 19:48 bin drwxr-xr-x 52 root wheel 3072 Feb 25 19:48 etc drwxr-xr-x 22 root wheel 4096 Feb 25 19:26 libexec drwxr-xr-x6 root wheel512 Feb 25 16:24 live drwxr-xr-x9 root wheel512 Feb 24 17:12 openjdk7 drwxr-xr-x 338 root wheel 7168 Feb 24 15:05 share drwxr-xr-x4 root wheel 3584 Feb 23 10:58 info drwxr-xr-x 46 root wheel 1024 Feb 23 10:44 man drwxr-xr-x2 root wheel 2560 Feb 23 10:43 sbin drwxr-xr-x2 root wheel512 Feb 23 10:15 modules drwxr-xr-x3 root wheel512 Feb 23 09:58 src drwxr-xr-x3 root wheel512 Feb 23 09:18 openssl drwxr-xr-x3 root wheel512 Feb 23 04:45 Adobe drwxr-xr-x4 root wheel512 Feb 23 01:02 i386-portbld-freebsd7.2 drwxr-xr-x8 root wheel512 Feb 23 00:37 libdata drwxr-xr-x 33 root wheel 1024 Feb 23 00:22 www drwxr-xr-x2 root wheel512 Feb 22 20:01 env drwxr-xr-x 13 root wheel512 Feb 22 19:15 kde4 drwxr-xr-x7 root wheel512 Feb 20 13:58 locale drwxr-xr-x3 root wheel512 Feb 20 13:58 doc drwxr-xr-x2 root wheel512 Feb 20 13:10 translations drwxr-xr-x5 root wheel512 Nov 28 02:56 openoffice.org-3.1.1 drwxrwxrwx4 root wheel512 Nov 13 23:31 tmp drwxr-xr-x3 root wheel512 Aug 23 2009 jdk1.5.0 drwxr-xr-x3 root wheel512 Nov 16 2008 var drwxr-xr-x3 root wheel512 May 1 2008 AccessibarReader r...@tao:/usr/local# pkg_add -v openoffice.org-3.2.0.tbz Requested space: 582M bytes, free space: 1109M bytes in /var/tmp/instmp.eXPq2W pkg_add: package 'openoffice.org-3.2.0' or its older version already installed pkg_add: 1 package addition(s) failed r...@tao:/usr/local# -- 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"
Re: Sysinstall Post-install System Management
On 02/19/10 15:27, Adam Vande More wrote: > > Better yet, update your ports tree and install the current version > Everytime I run portsnap update it says it's up to date. So I just fetched it and am extracting it right now. I'd run freebsd-udpate but that errors out, too. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Mozilla Updates
On 02/25/10 17:31, Boris Samorodov wrote: > On Thu, 25 Feb 2010 15:18:21 -0600 Programmer In Training wrote: > >> As of the last time I updated ports (the 22nd) I was prevented from >> installing Firefox because of the vulnerabilities. > > You may be looking at the wrong place. Please, take a look at > /usr/ports/UPDATING, entry "20100207: AFFECTS: users of > www/firefox". > Thank you, that was pointed out to me off-list several hours ago as well (well, not the UPDATING file specifically, though I need to learn to look there). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Sysinstall Post-install System Management
On 02/19/10 14:48, Frank Wißmann wrote: > Hello! > > Programmer In Training schrieb: >> On 02/19/10 13:50, Polytropon wrote: >>> On Fri, 19 Feb 2010 13:42:09 -0600, Programmer In Training >>> wrote: It's really past the point where I can just wipe the system and reinstall, making sure to opt for linux emulation from the get go. >>> It is not needed to reinstall the whole OS just because you > >> [r...@heaven]pkg_add linux_base-fc10 >> pkg_add: can't stat package file 'linux_base-fc10' > > Well, here you have to pass the "-r"-flag to "pkg_add". Don't forget > this, or are you installing from a local FS? > > Greetings Frank > I did forget that but I grabbed it from ports instead. Teeny-tiny install. Even with all dependencies (I went ahead and installed nspluginwrapper since linux_base-f10 is a dependency) and it took less then 15 minutes. Thanks. (: -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Sysinstall Post-install System Management
On 02/19/10 14:26, Programmer In Training wrote: > On 02/19/10 13:50, Polytropon wrote: >> And don't miss the documentation about getting "Flash" >> stuff running: >> >> http://www.freebsd.org/doc/handbook/desktop-browsers.html That all worked except for the last command: nspluginwrapper -v -a -i Even directly symlinking to /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so Isn't helping (it's not showing up in about plugins). Creating the directory ~/.mozilla/plugins and symlinking the file there (or running nspluginwrapper -v -a -i) doesn't help, either. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Changing Default Shell
On Feb 25, 2010, at 9:57 PM, Roger Campbell wrote: Lowell Gilbert, I would like to thank you for your posting about changing the default shell. I was running in circles until I found your post suggestion vipw. Roger Roger, You can also use pw. pw usermod rcampbell -s /bin/tcsh Regards, Mikel King CEO, Olivent Technologies Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 c: 631.796.1499 skype:mikel.king http://olivent.com http://www.linkedin.com/in/mikelking http://twitter.com/mikelking ___ 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"
IDE ZIP100 Drive
OK, after some searching (while not the best search engine around, Startpage comes up a winner more often than not if there is anything relevant to be found) I've come up (almost) empty handed[0-1]. Everything else I've found so far for IOMEGA ZIP100 drives deals with the external drive (either USB or parallel port). I've not seen anything in dmesg or /var/log/messages that would indicate that the device is being detected by anything on boot aside from the BIOS. I'm not sure of the pin selector on the drive but it is cabled as the secondary master (the primary master being my hard drive, of course). I did try "mount_msdosfs /dev/ad1s4 /mnt/zip" (zip added by me after creating the appropriate directory in /mnt) but came up with "mount_msdosfs: /dev/adls4: No such file or directory" (there is a disk currently loaded). Does anyone else have any experience with these drives? Are there any docs I'm missing (aside from the FreeBSD Handbook, which is silent about this under-appreciated (and unfortunately over-priced) device[2])? [0]: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/ [1]: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=734560+0+archive/1997/freebsd-questions/19970518.freebsd-questions [2]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks.html -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Changing Default Shell
Lowell Gilbert, I would like to thank you for your posting about changing the default shell. I was running in circles until I found your post suggestion vipw. Roger ___ 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"
ppc and Xorg
I've got an iMac G3, and have gotten past a number of difficulties/ First. Freebsd 8 stopped loading at acd0 . Found a blog somewhere that mentioned set hint.pcib.2.skipslot=14 then I went many rounds before I figured out that I needed to pre-partition the drive so that the installer labeler could see the slices no auto slicing here I created a small partition for OS X and put the loader file at root there then turned off auto-boot? using nvram auto-boot?=false getting docs installed involved mounting cd1 after the install and going through all the folders on cd1 that required the index file for the 2nd and 3rd cd's (which the installer never called for. Every install attempt simply listed everything that couldn't be installed. sources installed just fine used portsnap for my ports distribution ok now I am into something like my 7th install, and here's the rub every time I try to install xorg, After nearly 24 hours of compiling, the machine freezes and in about half the attempts, it has ruined the btree for usr and sometimes for tmp as well Has anyone ever seen anything like this? Right now I am waiting for portsnap to finish its extraction. I have downloaded the contents of the everything directory form x.org and will try installing that for this next attempt Cheers to all from Nova Scotia, East Coast Canada David Goodwin 56 year old Computer Science Undergrad Dalhousie University dgood...@cs.dal.ca ___ 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"
Acer Aspire Laptop AS5732Z-4867 and FreeBSD ??
Hi folks. Has anyone been successful at installing FreeBSD on this Acer Laptop.. ? http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5648712&Sku=A180-15670 Your response is greatly appreciated. Many thanks. --Rom _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/___ 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: Plans for BIND and DNSSEC readiness
On Mon, 22 Feb 2010 00:12, dougb@ wrote: PGP Command Output gpg: Signature made Mon Feb 22 00:12:14 2010 EST using DSA key ID D5B2F0FB gpg: Good signature from "Doug Barton " gpg: aka "Doug Barton " gpg: aka "Doug Barton " --- Begin PGP Signed Message Verified 2010-02-25 21:12:11 -- I've made a post to -arch regarding my plans for BIND in the base, along with some information about getting ready for DNSSEC, including the upcoming signing of the root zone. You can find the message at http://lists.freebsd.org/pipermail/freebsd-arch/2010-February/009908.html. If you have any feedback regarding any of these topics, please follow up to that thread. Regards, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ End PGP Signed Message Verified 2010-02-25 21:12:11 --- Little late for a reply, But thanks for keeping this updated as this is obviously very important information that not everyone usually comes across. At least I didn't hear anything about it till now. Thanks Doug, -- jhell ___ 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"
Printing via USB Port
I had a nifty setup with an old computer running as my FreeBSD file and print server. Worked so good I decided to update the computer. But since most computers no longer come with parallel port for printing I'm forced to use the USB feature on my Brother HL-2040 printer. In the previous setup I used apsfilter to install the proper filter and entries for /etc/printcap. But alas, apsfilter won't install right now because the hpijs port is broken. Short of this, can anyone recommend a way around this. I tried cups but I could not get it to work even though it found the printer on ulpt0:. ___ 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: using secure memory from a script
On Thu, Feb 25, 2010 at 04:22:29PM -0800, Chuck Swiger wrote: > > Well, Ruby supports calling C functions, so you can invoke mlock() that way: > > http://onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html > > ...but you also have to do so as root. It might be more sane to setup > encrypted swapping: > > http://www.freebsd.org/doc/handbook/swap-encrypting.html Thanks for pointing out a couple of options. I'll look into them. I've also discovered that there appears to be a way to lock memory natively in Ruby, though, I haven't checked into that in too much depth yet. I will weigh my options carefully. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp0YEhAU9BhN.pgp Description: PGP signature
Re: using secure memory from a script
On Feb 19, 2010, at 3:59 PM, Chad Perrin wrote: > What's the simplest/easiest way to use "secure memory" (i.e., memory that > won't be written to a swap partition) from within a program (written in > Ruby in this case) on FreeBSD? Well, Ruby supports calling C functions, so you can invoke mlock() that way: http://onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html ...but you also have to do so as root. It might be more sane to setup encrypted swapping: http://www.freebsd.org/doc/handbook/swap-encrypting.html Regards, -- -Chuck ___ 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: Using webcam Windows driver
On 02/25/10 12:37, Polytropon wrote: > On Thu, 25 Feb 2010 11:19:11 -0500, Glen Barber > wrote: >>> On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: Hi, I have a logitech quickcam. >> >> Although, I don't know if your particular camera is supported. > > Personally, I always avoided Logitech because their webcams > really seem to be incompatible. I had better luck with a > model from Aiptek (AEG inside). Anybody have any luck with Gateway branded web cams? It's fairly old (not sure if that will make a difference) and works pretty decently without any additional drivers under Windows (I'm assuming a generic adapter under FreeBSD would work here, too?). I've not tried it before on Linux (not had a reason too, as before Skype there really weren't any widely used video conferencing apps). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
using secure memory from a script
What's the simplest/easiest way to use "secure memory" (i.e., memory that won't be written to a swap partition) from within a program (written in Ruby in this case) on FreeBSD? -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgphqNJQhPZ33.pgp Description: PGP signature
Re: boot loaders and USB devices
Date: Thu, 25 Feb 2010 07:54:00 +0800 From: Aiza Subject: boot loaders and USB devices My PC does not have the BIOS option to boot from USB. I use an USB cabled external hard drive for taking backups. It has FreeBSD installed on it which I want to boot from so the motherboard cabled hard drive file systems are un-mounted during the dump. This USB drive will only be attached to do backups. I also have a USB stick containing a Freebsd install used to clone itself to the motherboard cabled hard drive. Since the BIOS will only boot from the motherboard cabled hard drive can I install a boot loader to gain boot access to my seldom connected USB devices? I reviewed the grub port but with no joy. What do you recommend? Robert Bonomi wrote: I think the standard FreeBSD loader should do this -- I haven't personally tested, however. You should get a menu from the boot loader asking which partition you want to boot from. with F5 (I think it is) being 'second disk". hit F5, and you get the 'which boot partition' menu again. Pick F1 for the first partition on the USB drive, and you should be in business. (obviously the '2nd disk' choice is going to show up _only_ if the boot loader detects the drive at power-up. I don't think it relies on the BIOS for this check, but has basic USB support built-in. Several _other_ possible approaches: if you can boot from CD, you could boot the 'live' cd, and then specify that the running filesystems are on the USB device Might be able to do the same from a carefully constructed floppy image. A -really- 'dirty tricks' alternative is to have an alternate /etc/fstab on the 'motherboard-cabled' HDD. One that specifies that '/' and everything else are on the usb-cabled drive. swap the fstab files, and boot 'as normal'. It will come up with everything running of the USB drive.` Do the backup, swap the fstab file back to the 'production' one, and reboot. voila! back to the normal drive. One more posswibility -- build a custom kernel with the 'root' device 'hard- wired' in as the USB drive. Interrupt the boot sequence, and specify this alternate kernel by name. I had though the boot0cfg was not USB aware so never tested it. But now I have tested and I was right. With the bootable USB stick flash drive plugged in I powered on the PC. I can see the PC bios post messages roll by and I see that the bios have added msg saying USB flash memory device and the pri-master ata device as available. The FreeBSD boot0cfg manager comes up with only f1 and f6 options. Pressing f5 has no effect. To me this means that the boot0cfg manager is not USB aware. Have to remember that boot0cfg was written way before there was such a thing as USB anythings. ___ 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: Mozilla Updates
On Thu, 25 Feb 2010 15:18:21 -0600 Programmer In Training wrote: > As of the last time I updated ports (the 22nd) I was prevented from > installing Firefox because of the vulnerabilities. You may be looking at the wrong place. Please, take a look at /usr/ports/UPDATING, entry "20100207: AFFECTS: users of www/firefox". -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: User Directories On FreeBSD 8.0-RELEASE
On 02/19/10 03:05, Matthew Seaman wrote: > On 18/02/2010 21:26, Programmer In Training wrote: >> Possibly not the most secure permissions but I don't remember the >> default (I think it's 644). > > Nope. For directories it's 755. You need the x permission on a > directory to chdir to it. I figured as much, but the normal files (like text files, images and the like) when created don't show up red with an asterisk when I ls the directory as they do now (new files still don't) but I guess it really isn't an issue. >> Apache runs as user:group deamon:daemon > > The default is www:www but I guess you know your own configuration. I know the default is www:www but for some reason, when Apache installed it defaulted to daemon:daemon with nothing being set on my part. >> Trying to su in from root as daemon returns the following: > >> su - daemon >> This account is currently not available. > > Yep. That's because it (correctly) doesn't have a usable login shell. Try: > >su -m daemon Didn't think of that, thanks. > If you're getting 403 permission denied errors trying to access I am (did I forget to mention that, if so my apologies to the list). > userdirs, then the problem lies within the apache configuration. > What you need to do is configure the permissions based on the home > directory path returned from getpwent() -- by default under FreeBSD > that's /home/user1/ Nevermind that much of the time /home is a symlink > to /usr/home -- it's the path returned from the passwd file that apache > uses for comparison, long before trying to resolve any symlinks and open > anything on the hard-drive. That's entirely confusing (not your explanation, just the why). Will change it back to the default and see where it goes from there. Well, I just changed everything referring to the userdir's in http-userdir.conf to the way you suggested. Works just fine. I'd just like to thank everyone that helped me. Much appreciated! Now I can do some ports based virtual hosts so I can put all my websites to their own root. I believe I can handle it from here. (: Once again, a big thank you to everyone who helped. (: Also, to those who asked, I believe Apache 2.2 now compiles in with some of the most common modules by default but I reinstalled with the userdir mod as a dso, just in case. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Using webcam Windows driver
On 02/25/10 12:37, Polytropon wrote: > On Thu, 25 Feb 2010 11:19:11 -0500, Glen Barber > wrote: >>> On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: Hi, I have a logitech quickcam. >> >> Although, I don't know if your particular camera is supported. > > Personally, I always avoided Logitech because their webcams > really seem to be incompatible. I had better luck with a > model from Aiptek (AEG inside). Anybody have any luck with Gateway branded web cams? It's fairly old (not sure if that will make a difference) and works pretty decently without any additional drivers under Windows (I'm assuming a generic adapter under FreeBSD would work here, too?). I've not tried it before on Linux (not had a reason too, as before Skype there really weren't any widely used video conferencing apps). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Wireless setup iwn
2010-02-25 21:45, Marwan Sultan skrev: Hello List, well im sure its a small mistake here or there. I know driver works with PCBS perfectly, but i cannot manualy configure it. something missing.. its iwn wireless driver, here are the settings : /boot/loader.conf legal.intel_iwn.license_ack=1 if_iwn_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" /etc/rc.conf wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" /etc/wpa_supplicant.conf network={ ssid="SSID" wep_key1="PASSWORD" } - Its Associated but no ip, its always 0.0.0.0 and sometimes an error of multicast call back.. I tried to add in /etc/rc.conf inet 192.168.0.11 netmask 255.255.255.0 instead of DHCP but same results. Any hints please? Thank you. Marwan _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/___ 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" You could try reading this thread: http://forums.freebsd.org/showthread.php?t=8041 I'm using this driver with exelent results. /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: Mozilla Updates
On 02/25/10 15:09, Lowell Gilbert wrote: > Programmer In Training writes: > >> Since the advisories from Mozilla[0-1] have been released, and updates >> for at least FireFox and Thunderbird are available, when will they be >> made available via ports (especially FF 3.6 TB 3.0.2)? Should I >> deinstall the ports version and go ahead and compile from source >> available at Mozilla's sites? > > I'm not sure what you're asking. Firefox 3.6 has been available from > ports for over two weeks. Thunderbird hasn't been updated yet, but > 3.0.2 has only been out for a few hours. As of the last time I updated ports (the 22nd) I was prevented from installing Firefox because of the vulnerabilities. I'm grabbing and extracting for today right now. Also, did not realize that 3.0.2 has only been out for a few hours. I only check Mozilla site every so often (and the CERT site even less so). > I would recommend that if you want updates faster than the maintainers > check them in, you go ahead and build them yourself, but think carefully > about how to do it. If you build without the ports system, it can be > difficult to remove the program again when you next wish to update. If That's why I'm seeking advice. I'm content to wait for the maintainers to check them in (for the most part). > you don't have the skills to update the port skeleton to a new version, > you probably won't find it any easier to build the program from scratch. > I do, though I'm having some weird issues with freebsd-update. If I can't resolve them myself within the next few days I'll be back here to ask. -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Re: Mozilla Updates
Programmer In Training wrote: Since the advisories from Mozilla[0-1] have been released, and updates for at least FireFox and Thunderbird are available, when will they be made available via ports (especially FF 3.6 TB 3.0.2)? Should I deinstall the ports version and go ahead and compile from source available at Mozilla's sites? If this isn't the right list to ask these questions, my apologies. [0]: http://www.us-cert.gov/current/index.html#mozilla_releases_security_advisories1 [1]: http://www.mozilla.org/security/announce/ Well, nothing wrong with asking here. You might get a better, quicker, or more cogent reply from the ports@ list, though. That said, did you look here? ftp> pwd Remote directory: /pub/FreeBSD/ports/i386/packages-8-stable/All ftp> ls firefox-3.6* 229 Entering Extended Passive Mode (|||24438|). 150 Here comes the directory listing. -rw-r--r--1 110 1002 19611520 Feb 18 06:51 firefox-3.6,1.tbz 226 Directory send OK. ftp> Perhaps it's been there a week already? Not sure, myself, but it kind of appears that way. KDK KDK ___ 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: Mozilla Updates
Programmer In Training writes: > Since the advisories from Mozilla[0-1] have been released, and updates > for at least FireFox and Thunderbird are available, when will they be > made available via ports (especially FF 3.6 TB 3.0.2)? Should I > deinstall the ports version and go ahead and compile from source > available at Mozilla's sites? I'm not sure what you're asking. Firefox 3.6 has been available from ports for over two weeks. Thunderbird hasn't been updated yet, but 3.0.2 has only been out for a few hours. I would recommend that if you want updates faster than the maintainers check them in, you go ahead and build them yourself, but think carefully about how to do it. If you build without the ports system, it can be difficult to remove the program again when you next wish to update. If you don't have the skills to update the port skeleton to a new version, you probably won't find it any easier to build the program from scratch. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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"
getpwnam
I encountered a situation where sendmail was opening up what appeared to be listening on random UDP ports. In the process of tracking this down I discovered that the culprit is getpwnam. A ktrace of the following simple program show whats happening: #include #include #include #include #include int main (int argc, char *argv[]) { struct passwd *pe; pe = getpwnam ("xxx"); } Note, xxx is a valid user id in that system. The ktrace output is way too large to include here, but below is the interesting portion. Note that it creates a socket with address of 0.0.0.0:932 and then sends data to it. Somehow it gets a response although I can find nothing other than this program using that port. I would think that it would use a unix socket rather than UDP to access local NIS information. The "unknown address family" error is also puzzling. I have traced this into _nsdispatch but it gets a bit convoluted at that point with all the caching. What is this doing? 87443 test CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP) 87443 test RET socket 4 87443 test CALL getsockname(0x4,0xbfbfe16c,0xbfbfe1f0) 87443 test STRU struct sockaddr { AF_INET, 0.0.0.0:0 } 87443 test RET getsockname 0 87443 test CALL getsockopt(0x4,0,0x13,0xbfbfe1f8,0xbfbfe1ec) 87443 test RET getsockopt 0 87443 test CALL setsockopt(0x4,0,0x13,0xbfbfe1f4,0x4) 87443 test RET setsockopt 0 87443 test CALL bind(0x4,0xbfbfe16c,0x10) 87443 test STRU struct sockaddr { AF_INET, 0.0.0.0:0 } 87443 test RET bind 0 87443 test CALL getsockname(0x4,0xbfbfe144,0xbfbfe1c8) 87443 test STRU struct sockaddr { AF_INET, 0.0.0.0:932 } 87443 test RET getsockname 0 87443 test CALL getsockopt(0x4,SOL_SOCKET,SO_TYPE,0xbfbfe1c4,0xbfbfe1c8) 87443 test RET getsockopt 0 87443 test CALL getrlimit(RLIMIT_NOFILE,0xbfbfe0f4) 87443 test RET getrlimit 0 87443 test CALL getsockname(0x4,0xbfbfe074,0xbfbfe0f8) 87443 test STRU struct sockaddr { AF_INET, 0.0.0.0:932 } 87443 test RET getsockname 0 87443 test CALL getsockopt(0x4,SOL_SOCKET,SO_TYPE,0xbfbfe0f4,0xbfbfe0f8) 87443 test RET getsockopt 0 87443 test CALL gettimeofday(0xbfbfe1c0,0) 87443 test RET gettimeofday 0 87443 test CALL getpid 87443 test RET getpid 87443/0x15593 87443 test CALL ioctl(0x4,FIONBIO,0xbfbfe1c8) 87443 test RET ioctl 0 87443 test CALL fcntl(0x4,F_SETFD,FD_CLOEXEC) 87443 test RET fcntl 0 87443 test CALL bind(0x4,0xbfbfe700,0x10) 87443 test STRU struct sockaddr { AF_UNSPEC, unknown address family } 87443 test RET bind -1 errno 22 Invalid argument 87443 test CALL getsockname(0x4,0xbfbfe700,0xbfbfe740) 87443 test STRU struct sockaddr { AF_INET, 0.0.0.0:932 } 87443 test RET getsockname 0 87443 test CALL gettimeofday(0xbfbfe740,0) 87443 test RET gettimeofday 0 87443 test CALL kqueue 87443 test RET kqueue 5 87443 test CALL sendto(0x4,0x282359f4,0x48,0,0x28235008,0x10) 87443 test GIO fd 4 wrote 72 bytes 0x 4b8e 2491 0002 0001 86a4 |K.$.| 0x0010 0002 000a || 0x0020 0004 7465 7374 |test| 0x0030 0014 6d61 7374 6572 2e70 6173 7377 |master.passw| 0x0040 642e 6279 6e61 6d65 |d.byname| 87443 test RET sendto 72/0x48 87443 test CALL kevent(0x5,0x282350dc,0x1,0xbfbfe6fc,0x1,0xbfbfe730) 87443 test GIO fd 5 wrote 20 bytes 0x 0400 0100 || 0x0010 || 87443 test GIO fd 5 read 20 bytes 0x 0400 2000 | ...| 0x0010 || 87443 test RET kevent 1 87443 test CALL recvfrom(0x4,0x282350f4,0x900,0,0,0) 87443 test GIO fd 4 read 32 bytes 0x 4b8e 2491 0001 |K.$.| 0x0010 0001 4a3f f709 |J?..| 87443 test STRU struct sockaddr { AF_INET, 206.117.18.7:876 } 87443 test RET recvfrom 32/0x20 87443 test CALL close(0x5) 87443 test RET close 0 ___ 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: Wireless setup iwn
On Thu, Feb 25, 2010 at 2:45 PM, Marwan Sultan wrote: > > Hello List, > > > > well im sure its a small mistake here or there. > > I know driver works with PCBS perfectly, but i cannot manualy configure it. > > something missing.. > > > > its iwn wireless driver, here are the settings : > > > > /boot/loader.conf > > > > legal.intel_iwn.license_ack=1 > > if_iwn_load="YES" > > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES" > > > /etc/rc.conf > > > > wlans_iwn0="wlan0" > > ifconfig_wlan0="WPA DHCP" > > > > /etc/wpa_supplicant.conf > > > > network={ > > > ssid="SSID" > wep_key1="PASSWORD" > } > > > > - > > > > Its Associated but no ip, its always 0.0.0.0 and sometimes an error of > > multicast call back.. > > > > I tried to add in /etc/rc.conf inet 192.168.0.11 netmask 255.255.255.0 > instead of DHCP > > but same results. > > > > Any hints please? > > > > Thank you. > > > > Marwan > > _ > Hotmail: Free, trusted and rich email service. > http://clk.atdmt.com/GBL/go/201469228/direct/01/___ > 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" > Are you running 8.0-RELEASE? You may be better off running the 8-STABLE, as Bernhard Schmidt (and others) have committed several major updates to the driver. -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: Using webcam Windows driver
On 02/25/10 12:37, Polytropon wrote: > On Thu, 25 Feb 2010 11:19:11 -0500, Glen Barber > wrote: >>> On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: Hi, I have a logitech quickcam. >> >> Although, I don't know if your particular camera is supported. > > Personally, I always avoided Logitech because their webcams > really seem to be incompatible. I had better luck with a > model from Aiptek (AEG inside). Sent to -owners because this is the third time I've sent this mail (first time was at 12:47 CST, second was at 14:11 CST, this one is being sent at approximately 14:47 CST). If I'm bouncing, I need to know so I can contact my web/mail host and figure out what's going on. Anybody have any luck with Gateway branded web cams? It's fairly old (not sure if that will make a difference) and works pretty decently without any additional drivers under Windows (I'm assuming a generic adapter under FreeBSD would work here, too?). I've not tried it before on Linux (not had a reason too, as before Skype there really weren't any widely used video conferencing apps). -- Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. signature.asc Description: OpenPGP digital signature
Wireless setup iwn
Hello List, well im sure its a small mistake here or there. I know driver works with PCBS perfectly, but i cannot manualy configure it. something missing.. its iwn wireless driver, here are the settings : /boot/loader.conf legal.intel_iwn.license_ack=1 if_iwn_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" /etc/rc.conf wlans_iwn0="wlan0" ifconfig_wlan0="WPA DHCP" /etc/wpa_supplicant.conf network={ ssid="SSID" wep_key1="PASSWORD" } - Its Associated but no ip, its always 0.0.0.0 and sometimes an error of multicast call back.. I tried to add in /etc/rc.conf inet 192.168.0.11 netmask 255.255.255.0 instead of DHCP but same results. Any hints please? Thank you. Marwan _ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/___ 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: kde4/python26 and pth help. [SOLVED]
On 02/25/10 00:12, Dima Panov wrote: On Thursday 25 February 2010 14:47:08 Jimmie James wrote: On 02/24/10 23:28, Adam Vande More wrote: On Wed, Feb 24, 2010 at 12:11 PM, Jimmie Jamesmailto:jimmie...@gmail.com>> wrote: On a freshly installed 8-STABLE box (4 days old) and up to date ports, KDE4 will not install for me, always the same errors. I've even removed all ports and reinstalled from scratch and hit the same errors. I have no /etc/make.conf. I'm at a loss here, I have no idea why this is happening. I even did a portupgrade -fRru python26 and tried portmaster, and plain old make in the ports that fail. As for you error, I don't know what happened. I used to see those happen on a massive upgrade when using portupgrade. I recommend portmaster. Somehow python didn't get installed correctly because /usr/local/include/python2.6/Python.h should exist if python is correctly installed. -- Adam Vande More Thanks for the reply, Haven't got around to testing X yet, but on 7.2-STABLE it works fine, so I'm not too worried about that. It's the python and pth errors that are killing me. /usr/local/include/python2.6/Python.h is there, seems correctly installed. Even installing with portmaster and plain old make install it _still_ hits those errors of not finding the headers. checking for /usr/local/bin/python2.6 version... 2.6 checking for /usr/local/bin/python2.6 platform... freebsd8 checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2. 6/site-packages checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for headers required to compile python extensions... not found configure: error: Python headers not found As well as /usr/bin/ld: cannot find -lpth Doh. Please, don't build python againist pth library, it's broken, and off by default. That got it, rebuilding python without pth made almost everything build. A few parts of KDE4 refuse to build because of "ImportError: no module named sipconfig" which I'm looking into now. Thanks for the help! ___ 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: remote syslog(3)ging behaving strangely?
On Thu, Feb 25, 2010 at 07:13:03PM +0100, Frank Steinborn wrote: > Hi, > > i have several jails that push their syslog to the syslogd on the > host. This is on FreeBSD 7.2. The only line for syslog.conf in the > jails is: > > *.* @haydn.nognu.de > > On the host I have a standard syslog.conf but all.log is enabled. > > The problem now is that logs from the jails _only_ appear in all.log > and i wonder why. I expected them to be sorted like configured in > host's /etc/syslog.conf and I'm relatively sure it does work this way > on 8, though I can't verify that right now. > > Any explanations for this beharviour? > > Thanks, > Frank Did you specify syslogd_flags="-vv" in your jails? This will add the facility and priority to the log message, which will allow your host to direct them to the correct log files. Erik ___ 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"
remote syslog(3)ging behaving strangely?
Hi, i have several jails that push their syslog to the syslogd on the host. This is on FreeBSD 7.2. The only line for syslog.conf in the jails is: *.* @haydn.nognu.de On the host I have a standard syslog.conf but all.log is enabled. The problem now is that logs from the jails _only_ appear in all.log and i wonder why. I expected them to be sorted like configured in host's /etc/syslog.conf and I'm relatively sure it does work this way on 8, though I can't verify that right now. Any explanations for this beharviour? Thanks, Frank ___ 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: Using webcam Windows driver
On Thu, 25 Feb 2010 11:19:11 -0500, Glen Barber wrote: > > On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: > > > Hi, > > > > > > I have a logitech quickcam. > > Although, I don't know if your particular camera is supported. Personally, I always avoided Logitech because their webcams really seem to be incompatible. I had better luck with a model from Aiptek (AEG inside). -- 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"
Re: Using webcam Windows driver
Hi, Fernando Apestegu?a wrote: > On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: > > Hi, > > > > I have a logitech quickcam. Will I be able to use it in FreeBSD? > > Can I use Windows driver? > > Maybe you want to have a look at pwcbsd[1]. This is to use linux drivers on A more recent project exists in the ports tree. If you're running 8.0-RELEASE or later, you might have a look at: ports/multimedia/video4bsd-kmod ports/multimedia/webcamd Although, I don't know if your particular camera is supported. 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"
bonding NICs with netgraph
Hi, I am setting up a freebsd box to act as a snort sensor on a network. The box has three nics, one internal nic for talking on the network and to the management server, and two nics on a single pci card that each connect to SPAN ports on my switch. I am trying to bind the two adapters on the freebsd box so I have one virtual adapter that snort can listen to. I have been researching netgraph for some time and the script I have been using to configure the adapters is: Code: #!/bin/sh echo "Trying kldload ng_ether..." kldload ng_ether echo "Putting dual adapters into promisc mode..." ifconfig em0 promisc -arp up ifconfig em1 promisc -arp up echo "Trying mkpeer . eiface hook ether" ngctl mkpeer . eiface hook ether echo "Trying mkpeer ngeth0: one2many lower one" ngctl mkpeer ngeth0: one2many lower one echo "Trying ngctl connect em0: ngeth0: lower lower many0" ngctl connect em0: ngeth0:lower lower many0 echo "Trying ngctl connect em1: ngeth0: lower lower many1" ngctl connect em1: ngeth0:lower lower many1 echo "Tryinh ifconfig ngeth0 -arp up" ifconfig ngeth0 -arp up However when I run the script I get: Code: Trying kldload ng_ether... Putting dual adapters into promisc mode... Trying mkpeer . eiface hook ether Trying mkpeer ngeth0: one2many lower one ngctl: send msg: Protocol family not supported Trying ngctl connect em0: ngeth0: lower lower many0 ngctl: send msg: No such file or directory Trying ngctl connect em1: ngeth0: lower lower many1 ngctl: send msg: No such file or directory Tryinh ifconfig ngeth0 -arp up Now 'ngeth0' appears in ifconfig: Code: ngeth0: flags=88c3 metric 0 mtu 1500 ether 00:00:00:00:00:00 but when I TCPDUMP from it it never records any packets even though I know the span ports are sending the individual NICs data. I have been googling the error messages that are returned by the bonding script but have been unable to get packets to cross ngeth0. Any advice or tips for troubleshooting this would be greatly appreciated. Thank you in advance. Will Urbanski ___ 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: left over restore file restoresymtable
On Thu, Feb 25, 2010 at 10:35:49AM +0800, Aiza wrote: > The man for restore says this. > > Note that restore leaves a file restoresymtable in the root > directory to pass information between incremental restore passes. > This file should be removed when the last incremental has been restored. > > What root directory is this talking about? > > If system is booted from cd or dvd then this file can not be written to > /root of the booted system. > > Does this message really mean its written to /root of the just restored > file system / > It is in the root of whatever filesystem you just restored. That essentially means the mount point value. If you have just restored /usr (correctly by doing:cd /usrrestore -rf ...) then it will be in /usr. Don't worry about it. There is no harm in leaving it there until you get around to it. It just uses up space. jerry > > ___ > 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: how to disable loadable kernel moduels?
On Wed, Feb 24, 2010 at 08:49:29PM -0600, Robert Bonomi typed: > > > > > I'm building custom kernels for use in 'hostile' environments -- where I > > > need to enforce "restricted" capabilities, even in the event of malicious > > > 'root' access. (if the bad guy has *physical* access to the machine, I > > > know I'm toast, so I don't try to protect against _that_ in software -- > > > beyond the usual access-control mechnisms, that is.) > > > > > > To accomplish this, I need to (among other things) *completely* disable > > > kernel 'loadable module' functionality. Building the required monolithic > > > kernel is no problem, and by booting from _physical_ read-only media, I > > > can protect against bootloader/kernel/application substitution. I just > > > need to make it "impossible" to add modules to the running system. > > > > I don't see how this is really bullet-proof possible. Anyone with root > > access can edit loader.conf and force a reboot --- or wait until a power > > interuption or something causes a reboot. > > You're not thinking 'creatively' enough. heheh :) > superuser access _doesn't_ help if things like 'loader.conf' are on > _read-only_ > media. Not just a mount switch, but -hardware- enforced. Many SCSI disks > have > a 'write-protect' jumper on them. The _only_ way to defeat =that= requires > physical access to the machine. You probably have covered this allready, but consider running all services in a jailed environment, without access to hardware devices (including [k]mem, io etc). With access to /dev/mem, a sufficiently sophisticated attacker can potentially patch your running kernel on the fly. Ruben ___ 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"
Clarification w.r.t MDLv2 reports send at reboot in FreeBSD 8.0 Release
Hi, FreeBSD 8.0 Release send two MLDv2 Reports at reboot before performing DAD for its Link Local address, One for the IPv6 Solicited-node multicase address(i.e FF02::1:FFDB:ACD5) and other is unknown (i.e FF02::2:21d:d024 ). Could anyone please clarify me, why FreeBSD is send MLDv2 Report for FF02::2:21d:d024 multicast address? Please fine the attached ifconfig output and tcpdump trace captures and reboot time. Let me know if your need more info Thanks in advance Sitaramaraju Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ tcpDump_atReboot.dump Description: Binary data bge0: flags=8802 metric 0 mtu 1500 options=9b ether 00:13:21:d3:a1:dd media: Ethernet autoselect (none) status: no carrier fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:d0:b7:bd:ac:b5 inet6 fe80::2d0:b7ff:febd:acb5%fxp0 prefixlen 64 scopeid 0x2 inet6 3ffe:501::100:2d0:b7ff:febd:acb5 prefixlen 64 autoconf media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 ___ 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: Using webcam Windows driver
On Thu, Feb 25, 2010 at 8:56 AM, Siju George wrote: > Hi, > > I have a logitech quickcam. Will I be able to use it in FreeBSD? > Can I use Windows driver? Maybe you want to have a look at pwcbsd[1]. This is to use linux drivers on FreeBSD. Not sure if there is a wrapper for windos drivers. Cheers. [1] http://www.freebsdsoftware.org/multimedia/pwcbsd.html > > Thanks > > -Siju > ___ > 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"
Using webcam Windows driver
Hi, I have a logitech quickcam. Will I be able to use it in FreeBSD? Can I use Windows driver? Thanks -Siju ___ 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"