From jd_bronson at sbcglobal.net Mon Sep 1 00:14:42 2008 From: jd_bronson at sbcglobal.net (J.D. Bronson) Date: Mon Sep 1 00:14:49 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <48BB2359.4000208@xmission.com> References: <48BB2359.4000208@xmission.com> Message-ID: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> At 05:03 PM 8/31/2008 -0600, Lloyd M Caldwell wrote: >Hello, > >this all on a 7.0 freebsd system. > >Dump/Restore do NOT work as indicated in the handbook (or man >pages). It would be better to remove information from the handbook >rather then have information that doesn't work. Are you trying to resize the same disc or migrate to a NEW disk? Migrating to a new (larger) disc is trivial, at least in my experience. (I have never tried to resize any partitions though on a same disc, since new hard drives are cheap enough) Here is what I do to migrate to a totally new disc: Shutdown and install 2nd DRIVE boot machine... run sysinstall on the 2nd DRIVE (slice/dice/and setup MBR) then I run a small script like this: (Some presumptions are made ahead of time here) #!/bin/sh newfs /dev/ad2s1a newfs /dev/ad2s1d newfs /dev/ad2s1e newfs /dev/ad2s1f newfs /dev/ad2s1g newfs /dev/ad2s1h sleep 4 tunefs -n enable /dev/ad2s1a tunefs -n enable /dev/ad2s1d tunefs -n enable /dev/ad2s1e tunefs -n enable /dev/ad2s1f tunefs -n enable /dev/ad2s1g tunefs -n enable /dev/ad2s1h sleep 4 mount /dev/ad2s1a /mnta mount /dev/ad2s1d /mntd mount /dev/ad2s1e /mnte mount /dev/ad2s1f /mntf mount /dev/ad2s1g /mntg mount /dev/ad2s1h /mnth dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) dump -C 32 -0Lf - /usr | ( cd /mntd ; restore xf - ) dump -C 32 -0Lf - /var | ( cd /mnte ; restore xf - ) dump -C 32 -0Lf - /home | ( cd /mntf ; restore xf - ) dump -C 32 -0Lf - /staff | ( cd /mntg ; restore xf - ) dump -C 32 -0Lf - /users | ( cd /mnth ; restore xf - ) umount /mnt* Then shut down. Place the 2nd drive in the 1st slot and turn it back on. Maybe there is a better or simpler way, but I have been doing this for years and never had any issues. YMMV -JD From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 00:39:41 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 1 00:39:48 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <48BB2359.4000208@xmission.com> References: <48BB2359.4000208@xmission.com> Message-ID: <20080901023759.T20716@wojtek.tensor.gdynia.pl> > man pages and have no clue how to rectify this. after re-reading the > handbook on backup basics, I'm sure that anyone using them will loose > everything. They are simply useless. take them offline. i use restore regularly and it works. anyway - i do test my backups at least full backups. but never got that. From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 00:40:19 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 1 00:40:26 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <871w04rbg5.fsf@kobe.laptop> References: <48BB2359.4000208@xmission.com> <871w04rbg5.fsf@kobe.laptop> Message-ID: <20080901023941.P20716@wojtek.tensor.gdynia.pl> > Did you really run dump on a 'live' filesystem? The filesystem may be > changing under the feet of dump, while it copies data. That is bound to > cause trouble later on. but shouldn't make NO files restored, maybe few files that was changed while backing up. From timothyk at wallnet.com Mon Sep 1 00:43:18 2008 From: timothyk at wallnet.com (Tim Kellers) Date: Mon Sep 1 00:43:25 2008 Subject: bluefish question In-Reply-To: <20080831224710.GA42854@thought.org> References: <20080831224710.GA42854@thought.org> Message-ID: <48BB3A9E.8080205@wallnet.com> I used bluefish a few years ago, then went to quanta and finally settled on (/usr/ports/www/kompozer) Kompozer. Kompozer is an udate to nvu (which was the composer module in Mozilla) as a standalone application. It still produces source code with some Netscapeisms, but it isn't anything that isn't easily cleaned up (when necessary --like to produce html e-mail) in an editor like kate, or kedit. Tim Gary Kline wrote: > People, > > This ought to be On Topic ... for a change. Re the use of bluefish > --and yes, I've finally gone soft to try to edit a large HTML/PHP file-- > when I swipe an area of text and stuff to be centered, and click on the > center icon, bluefish prints: > >
> blah > foo > bar >
> > but I find the entire file centered then. > > If I click on the LEFT icon, it tries to print an
> bar, center, left, right. (Or, more correctly, it prints the markup > that will yield a horizontal line.) > > Anybody know what's going on? and/or is there an easier markup editor > in ports? > > tia. > > gary > > PS: Whatever happened to the good old days when Mozilla had an > editor-mode builtin? > > > > From prad at towardsfreedom.com Mon Sep 1 00:58:42 2008 From: prad at towardsfreedom.com (prad) Date: Mon Sep 1 00:58:54 2008 Subject: bluefish question In-Reply-To: <20080831224710.GA42854@thought.org> References: <20080831224710.GA42854@thought.org> Message-ID: <20080831175840.30c63637@gom.home> On Sun, 31 Aug 2008 15:47:14 -0700 Gary Kline wrote: > and/or is there an easier markup editor > in ports? > hi gary! i tried bluefish, but didn't like it personally. kde's quanta is excellent and has lots of convenient features and uses the very advanced kate as a basis - you don't have to run kde in order to run kde programs. if you liked bluefish, i think you'll really like quanta. despite my fondness for quanta, i have ended up using emacs for the past several years with the built-in html-mode (or you can splurge with html-helper mode, though i found it a bit too elaborate). emacs might take a bit more work to figure out in the beginning but it is a really good all-purpose editor because it is as extensible as it is. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From rambiusparkisanius at gmail.com Mon Sep 1 01:00:51 2008 From: rambiusparkisanius at gmail.com (Ivan "Rambius" Ivanov) Date: Mon Sep 1 01:00:57 2008 Subject: Forwarding all mail to a local user Message-ID: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> Hello list, I have the following questions. How can I forward all mail sent to @localhost to a rambius@localhost, where rambius is my own user account in my FreeBSD system and can be anything including a user name that does not exist on the local machine? The reason I want this is the following: I am researching a CMS system called e107. When users register in it with their email addresses they are sent an activation email in which they have to click in order to activate their accounts in e107. Right now I have e107 installed on my laptop and I am registering some user accounts for testing purposes. I do not want to create a local system account (with adduser) for each different user - I just want the activation message sent to the email address @localhost to be forwarded to rambius@localhost so that I can rd iead from my mailbox and activate the test users. I have default sendmail installation as provided by the base system with no modifications of my own. This is my first time dealing with sendmail and I will be grateful to any advice and hints. Thank you in advance. Regards Rambius P.S. I am using 7.0-RELEASE-p3 FreeBSD if this matters. -- Tangra Mega Rock: http://www.radiotangra.com From jeffrey at goldmark.org Mon Sep 1 01:24:11 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon Sep 1 01:24:17 2008 Subject: Forwarding all mail to a local user In-Reply-To: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> Message-ID: [mailed and posted] On Aug 31, 2008, at 8:00 PM, Ivan Rambius Ivanov wrote: > I have the following questions. How can I forward all mail sent to > @localhost to a rambius@localhost, where rambius is my own > user account in my FreeBSD system and can be anything > including a user name that does not exist on the local machine? > I have default sendmail installation as provided by the base system > with no modifications of my own. You should edit /etc/mail/virtusertable to include a line like @localhost rambius@localhost There is a sample virtusertable you can look at. After you have edited the virtusertable file, you should run make maps in that directory. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From fbsd06 at mlists.homeunix.com Mon Sep 1 02:00:55 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon Sep 1 02:01:01 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> References: <48BB2359.4000208@xmission.com> <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> Message-ID: <20080901024910.16ca76ae@gumby.homeunix.com.> On Sun, 31 Aug 2008 18:53:36 -0500 "J.D. Bronson" wrote: > > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) One minor caveat: dumping a live filesystem require dump to take a snapshot, which in turn require soft-updates to be turned-on. The default in sysinstall is to enable it for everything but the root partition. From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 02:29:54 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 1 02:30:00 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.> References: <48BB2359.4000208@xmission.com> <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> <20080901024910.16ca76ae@gumby.homeunix.com.> Message-ID: <20080901042921.R21198@wojtek.tensor.gdynia.pl> > >> >> dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) > > One minor caveat: dumping a live filesystem require dump to take a > snapshot, which in turn require soft-updates to be turned-on. The > default in sysinstall is to enable it for everything but the root again - it will still dump file, maybe with few files missing but not the whole dump From nightrecon at verizon.net Mon Sep 1 02:39:51 2008 From: nightrecon at verizon.net (Michael Powell) Date: Mon Sep 1 02:39:59 2008 Subject: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter References: <000001c90b7b$af814f60$0e83ee20$@com> <20080831181932.Q19288@wojtek.tensor.gdynia.pl> <000601c90b8f$c8a18ff0$59e4afd0$@com> Message-ID: David Polak wrote: [snip] >> >> try setting up speed and duplex options manually > > I have set the duplex to full-duplex and it has increased the speed to > about 200kb/s on the same file. > > As far as phy support, I guess I really don't know, but the drivers for > the chipset have been around for a while. > Try disabling usb and firewire in BIOS. You may need to have a tech there do it for you. Your box has the sk NIC and usb sharing an irq. The NIC driver is MPSAFE but the usb stack is still under the GIANT lock. Disable usb and the NIC driver should perform better. -Mike From kline at thought.org Mon Sep 1 03:38:56 2008 From: kline at thought.org (Gary Kline) Date: Mon Sep 1 03:39:03 2008 Subject: bluefish question In-Reply-To: <20080831175840.30c63637@gom.home> References: <20080831224710.GA42854@thought.org> <20080831175840.30c63637@gom.home> Message-ID: <20080901033847.GB50745@thought.org> On Sun, Aug 31, 2008 at 05:58:40PM -0700, prad wrote: > On Sun, 31 Aug 2008 15:47:14 -0700 > Gary Kline wrote: > > > and/or is there an easier markup editor > > in ports? > > > hi gary! > > i tried bluefish, but didn't like it personally. > > kde's quanta is excellent and has lots of convenient features and uses > the very advanced kate as a basis - you don't have to run kde in order > to run kde programs. if you liked bluefish, i think you'll really like > quanta. > > despite my fondness for quanta, i have ended up using emacs for the > past several years with the built-in html-mode (or you can splurge with > html-helper mode, though i found it a bit too elaborate). emacs > might take a bit more work to figure out in the beginning but it is a > really good all-purpose editor because it is as extensible as it is. > AND:: I used bluefish a few years ago, then went to quanta and finally settled on (/usr/ports/www/kompozer) Kompozer. Kompozer is an udate to nvu (which was the composer module in Mozilla) as a standalone application. It still produces source code with some Netscapeisms, but it isn't anything that isn't easily cleaned up (when necessary --like to produce html e-mail) in an editor like kate, or kedit. Tim Guys, thanks for your help. I already managed to put in by vi (and ".") the 45 or so
and
. Still wonder what's wrong with bluefish, but glad there are others. There are a bunch of font things to add to my prototype HTML/PHP file, so lots to play with. gary ps: to bore you with yet-another-FWIW: this is v2 of my jottings stuff :-) > -- > In friendship, > prad > > ... with you on your journey > Towards Freedom > http://www.towardsfreedom.com (website) > Information, Inspiration, Imagination - truly a site for soaring I's > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From perryh at pluto.rain.com Mon Sep 1 03:48:47 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Sep 1 03:48:56 2008 Subject: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter In-Reply-To: References: <000001c90b7b$af814f60$0e83ee20$@com> <20080831181932.Q19288@wojtek.tensor.gdynia.pl> <000601c90b8f$c8a18ff0$59e4afd0$@com> Message-ID: <48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com> > Try disabling usb and firewire in BIOS. You may need to have > a tech there do it for you. Your box has the sk NIC and usb > sharing an irq. The NIC driver is MPSAFE but the usb stack is > still under the GIANT lock. Disable usb and the NIC driver > should perform better. Alternatively, to avoid involving the provider's tech support, could the OP get the same effect by building a kernel without USB? From freebsd at meijome.net Mon Sep 1 04:11:55 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon Sep 1 04:12:02 2008 Subject: bluefish question In-Reply-To: <20080831224710.GA42854@thought.org> References: <20080831224710.GA42854@thought.org> Message-ID: <20080901141150.7caab7f5@ayiin> On Sun, 31 Aug 2008 15:47:14 -0700 Gary Kline wrote: > PS: Whatever happened to the good old days when Mozilla had an > editor-mode builtin? Hey Gary, it's now called nvu, though it's been stuck in 1.0 land for as long as I remember. $ pkg_info -o linux-nvu* Information for linux-nvu-1.0: Origin: www/linux-nvu I've been using it on and off, lately just using Eclipse since i spend quite a bit of time in it anyway. B _________________________ {Beto|Norberto|Numard} Meijome "It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change." Charles Darwin. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Mon Sep 1 04:15:30 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon Sep 1 04:15:38 2008 Subject: PPTP (VPN) FREEBSD 7-p3 In-Reply-To: <758349.507.qm@web65407.mail.ac4.yahoo.com> References: <758349.507.qm@web65407.mail.ac4.yahoo.com> Message-ID: <20080901141527.32d32325@ayiin> On Sat, 30 Aug 2008 08:55:09 -0700 (PDT) d c wrote: > Has anyone ran across this? Is there an alternate instead of ip? Perhaps I > can hack it into the source. yup, i found it too when I recently reinstalled it to get back onto a PPTP vpn. FWIW, it works just fine regardless of the messages , and I am routing specific subnets through it via ppp.conf ( add xx.x.x.xx/yy HISADDR). Running 7.0-STABLE when I installed it a few weeks ago, now on 7.1-PRERELEASE. B _________________________ {Beto|Norberto|Numard} Meijome "He has the attention span of a lightning bolt." Robert Redford I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From me at davidpolak.com Mon Sep 1 04:20:57 2008 From: me at davidpolak.com (David Polak) Date: Mon Sep 1 04:21:05 2008 Subject: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter In-Reply-To: <48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com> References: <000001c90b7b$af814f60$0e83ee20$@com> <20080831181932.Q19288@wojtek.tensor.gdynia.pl> <000601c90b8f$c8a18ff0$59e4afd0$@com> <48bb6510.Dn/Wb+UYRWREI0Bb%perryh@pluto.rain.com> Message-ID: <000d01c90bea$184afc30$48e0f490$@com> > > Try disabling usb and firewire in BIOS. You may need to have > > a tech there do it for you. Your box has the sk NIC and usb > > sharing an irq. The NIC driver is MPSAFE but the usb stack is > > still under the GIANT lock. Disable usb and the NIC driver > > should perform better. > > Alternatively, to avoid involving the provider's tech support, > could the OP get the same effect by building a kernel without USB? >From server support live chat: >Steven H. - Server Support: Submit a trouble ticket and we will >look into it further. I'm pretty sure they will not disable usb >since the DC technicians need to boot from USB in some cases. So is there any other way to verify that this is indeed the problem? Perhaps as Perry suggested, building a kernel without usb/firewire, or possibly setting the irq manually so it's not shared? From ejcerejo at optonline.net Mon Sep 1 04:36:19 2008 From: ejcerejo at optonline.net (Eduardo Cerejo) Date: Mon Sep 1 04:36:26 2008 Subject: Kde4 packages Message-ID: <20080901003617.761fcd7f.ejcerejo@optonline.net> Building kde4 from ports will take forever on my computer, does anyone where I can get these packages? -- E. J. Cerejo From sonic2000gr at gmail.com Mon Sep 1 04:54:50 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Sep 1 04:55:00 2008 Subject: Kde4 packages In-Reply-To: <20080901003617.761fcd7f.ejcerejo@optonline.net> References: <20080901003617.761fcd7f.ejcerejo@optonline.net> Message-ID: <48BB7595.2010208@gmail.com> Eduardo Cerejo wrote: > Building kde4 from ports will take forever on my computer, does anyone where I can get these packages? > > I have uploaded a torrent with kde4.1 packages (including xorg, bash, samba and others). Get it here: http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c From rambiusparkisanius at gmail.com Mon Sep 1 05:35:33 2008 From: rambiusparkisanius at gmail.com (Ivan "Rambius" Ivanov) Date: Mon Sep 1 05:35:41 2008 Subject: Forwarding all mail to a local user In-Reply-To: References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> Message-ID: <89ce7f740808312235h4756260kaa5727e93a0d4abe@mail.gmail.com> Hello Jeffrey, On Mon, Sep 1, 2008 at 4:24 AM, Jeffrey Goldberg wrote: > > You should edit > > /etc/mail/virtusertable > > to include a line like > > @localhost rambius@localhost > > There is a sample virtusertable you can look at. > > After you have edited the virtusertable file, you should run > > make maps > > in that directory. I followed your advice but I still cannot forward the local email to my account. The full contents of my /etc/mail/virtusertable is: # cat /etc/mail/virtusertable # $FreeBSD: src/etc/mail/virtusertable.sample,v 1.3 2000/11/02 23:32:31 dirk Exp $ # # Map one or all usernames at a source hostname to a specific (or the same) # username at another target hostname. Remember to add the source hostname # to /etc/mail/local-host-names so that sendmail will accept mail for the # source hostname. # @localhost rambius@localhost I run make maps and I tested if my account can receive email: $ echo "Test email 1" | mail -s "Test Email 1" rambius@localhost I successfully got this email in my mbox. Next I tried to send an email to an non-existing user: $ echo "Test email 1" | mail -s "Test Email 1" nonexisting@localhost I got an error saying "/home/rambius/dead.letter... Saved message in /home/rambius/dead.letter" and did not receive the email in my mailbox. Maybe emails to nonexisting users cannot be forwarded at all? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com From iwrtech at iwr.ru.ac.za Mon Sep 1 06:40:59 2008 From: iwrtech at iwr.ru.ac.za (DA Forsyth) Date: Mon Sep 1 06:41:05 2008 Subject: apachectl graceful fails Message-ID: <48BBAA95.30863.22945F56@iwrtech.iwr.ru.ac.za> Hiya Seems some or other code change in apache has caused it to fail to restart gracefully when log rotating... (it used to work fine but for the past 2 or 3 months has failed during the logrotate) error.log shows [Mon Sep 01 08:00:03 2008] [notice] Graceful restart requested, doing restart [Mon Sep 01 08:00:04 2008] [notice] seg fault or similar nasty error detected in the parent process and it never restarts. A manual 'apachectl start' gets it going just fine, and a manual 'stop ... start' also is just fine, so it seems to be an issue in the 'graceful' code. ideas? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From sawerset at i.ua Mon Sep 1 07:24:43 2008 From: sawerset at i.ua (=?windows-1251?B?yOLg7SDC4PHo6/zl4g==?=) Date: Mon Sep 1 07:24:56 2008 Subject: installing 3G modems on FreeBSD 6.3 Message-ID: Hello. I have Franklin CDU 550 3G modem.I need to install it on FreeBSD 6.3. I tryed to use umodem driver. But during installation oft the modem the error number 6 is returned. Then I tried to use uplcom driver. Modem is not identified. Also I tried to use ugencom driver. No data bulk in with 6 error is returned. Please recomend me How this modem can be installed. -- ??????? ----------------------------------------------------------- ?????????? ???????????????? ????? ???????? ???????? ????? @i.ua http://mail.i.ua/reg - ? ?????? 1Gb ??? ???????? ????? From payne at magidesign.com Mon Sep 1 08:37:38 2008 From: payne at magidesign.com (Payne) Date: Mon Sep 1 08:37:45 2008 Subject: Why the extra shells? In-Reply-To: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com> References: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com> Message-ID: <48B9FD43.1070508@magidesign.com> John, I have seen that when a script is running and it uses the bash shell. I have see that too where you close a ssh session too soon like you stated. Hope that helps. Payne John Almberg wrote: > I just noticed something odd... > > When I type ps, I get the following: > > [on:~]> ps > PID TT STAT TIME COMMAND > 30350 p0 Ss 0:00.03 -bash (bash) > 30761 p0 R+ 0:00.00 ps > 99069 p1 Is+ 0:00.01 /usr/local/bin/bash > 79966 p3 Is 0:00.01 /usr/local/bin/bash > 27050 p4 Is+ 0:00.01 /usr/local/bin/bash > 45342 p5 Is+ 0:00.01 /usr/local/bin/bash > 20302 p6 Is 0:00.02 /usr/local/bin/bash > 73354 p7 Is+ 0:00.01 /usr/local/bin/bash > 94357 p8 Is+ 0:00.14 /usr/local/bin/bash > 82034 p9 Is+ 0:00.02 /usr/local/bin/bash > 82825 pa Is+ 0:00.02 /usr/local/bin/bash > 63521 pb Is+ 0:00.07 /usr/local/bin/bash > 75330 pc Is+ 0:00.06 /usr/local/bin/bash > 81504 pd Is+ 0:00.01 /usr/local/bin/bash > 95482 pe Is+ 0:00.01 /usr/local/bin/bash > 21072 pf Is+ 0:00.12 /usr/local/bin/bash > 96897 pg Is+ 0:00.07 /usr/local/bin/bash > 50522 ph Is+ 0:00.02 /usr/local/bin/bash > 98404 pi Is+ 0:00.03 /usr/local/bin/bash > > I'm wondering why I have all these shells running? Could it be because > I close my SSH terminal without exiting, thus leaving bash in some > sort of suspended state? > > This is a pure server box, with Apache, tinydns, and Qmail being the > main processes. > > Can I just kill them off? There is no one logged into this server > besides me, and never will be. A 'who' confirms that I am the only one > logged in. > > Any hints, much appreciated. > > -- John > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From ohartman at zedat.fu-berlin.de Mon Sep 1 09:06:48 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Sep 1 09:06:54 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs Message-ID: <48BBB022.4030708@zedat.fu-berlin.de> Several months ago I tried configuring the Linuxulator on several FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is possible with Intels pseudo 64 bit crap). The reason for that is simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND hybrid boxes (acting as workstations AND small servers) makes life easy - I thought and was touhgt wrong. Our administration sends a lot of PDFs around and as it is very usual, our applications, forms and so on for scientific congresses etc. are all PDF and subject to be edited. And here it comes that FreeBSD seems to be a definite deadend! Using pdfedit is wrong, it can't show or edit any PDF we obtained so far. Using 'pdftk' fails, it is not made to run in modern 64 bit environments only when using FreeBSD (linux seems to have no problem, especially Ubuntu does the thing). So, then I remembered myself about Linuxulator and tried acrobatviewer - and failed. As in other professional environments we were far away from using simple user management and therefore there is a LDAP environment. And, funny, Linuxulator does not contact LDAP even if I try to configure it to use our LDAP environment. Digging around what flavor of Linux FreeBSD installs (means: do al ot of work), reading about how to use PAM and LDAP on Linux (means: doing again additional work in an environment I try to avoid!) and at last no success, because something is missing or the Linuxulator should use something for user authentication and autorization it does not have and uses therefore the FreeBSD stuff and then fails. Especially for the Acrobat weirdness (or call it software) something like this occurs whenn attempting starting acrobat reader: (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (2001) (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate memory) If there is someone here running a 64 bit environment within a LDAP realm and already got successfully running the Linux add ons as expected for LDAP users, you are really welcome to give me some hints how to turn around my frustration and thoughts about definitely leaving the FreeBSD path ... Thanks in advance, Oliver From tethys.ocean at gmail.com Mon Sep 1 09:15:50 2008 From: tethys.ocean at gmail.com (tethys ocean) Date: Mon Sep 1 09:16:03 2008 Subject: jail stop extracting iso file In-Reply-To: <20080831201949.96800@gmx.net> References: <235b80000808301408v49e91675se91a257e257537fc@mail.gmail.com> <20080831111208.P17652@wojtek.tensor.gdynia.pl> <20080831201949.96800@gmx.net> Message-ID: <235b80000809010215o65579305m155f664fe4f1f145@mail.gmail.com> the problem is already here "at the host system (not in the jail)" i wasnt able to get rid of jail and can't access to device in jail somehow i must access mdconfig and mount but i shouldnt stop jail. On Sun, Aug 31, 2008 at 11:19 PM, Olli Hauer wrote: > > In server jail and squid is running on it as lots of another packet. i > > want > > to extract iso image in this server. But i havent do it. > > > > #mdconfig -a -t vnode -f big_bcbcv.iso > > #mdconfig: open(/dev/mdctl): No such file or directory > > > > you can't > > > > jail doesn't allow it. > > Yes, but why don't mount the ISO at the host system and do a nullfs mount > into the jail? > > at the host system (not in the jail) > # mdconfig -a -t vnode -u 10 -f ${path_to_iso_image} > # mount_cd9660 -o ro /dev/md10 /mnt/ > # mount_nullfs /mnt ${path_to_jail}/mnt > > ssh into the jail > # pkg_add /mnt/filename > > > -- > GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry > Passion! > > http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196 > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. From artis.caune at gmail.com Mon Sep 1 09:19:53 2008 From: artis.caune at gmail.com (Artis Caune) Date: Mon Sep 1 09:20:00 2008 Subject: make release, src.conf and WITHOUT_SENDMAIL on freebsd 7 In-Reply-To: References: Message-ID: <9e20d71e0809010156x546d0f90n8999cd23b1477ba8@mail.gmail.com> On Sat, Aug 30, 2008 at 11:06 AM, Matias Surdi wrote: > The problem arises when I do a "make release" as, as far as I can see, > /etc/src.conf is completly ignored. I think it's an issue with the chroot > environment that "make release" uses. Wich is the correct way to let "make > release" know about src.conf? you can play with release(7) LOCAL_PATCHES variable or copy /etc/src.conf to /usr/src/etc and add it to /usr/src/etc/Makefile. -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD From kheuer2 at gwdg.de Mon Sep 1 09:41:12 2008 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Mon Sep 1 09:41:19 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs In-Reply-To: <48BBB022.4030708@zedat.fu-berlin.de> References: <48BBB022.4030708@zedat.fu-berlin.de> Message-ID: <20080901113702.U877@gwdu60.gwdg.de> On Mon, 1 Sep 2008, O. Hartmann wrote: > Several months ago I tried configuring the Linuxulator on several FreeBSD 7.X > boxes, most of them pure amd64 and pure 64 bit (as it is possible with Intels > pseudo 64 bit crap). The reason for that is simple. Having FreeBSD (now > 7.1-PRE) as my favorite OS on servers AND hybrid boxes (acting as > workstations AND small servers) makes life easy - I thought and was touhgt > wrong. > Our administration sends a lot of PDFs around and as it is very usual, our > applications, forms and so on for scientific congresses etc. are all PDF and > subject to be edited. And here it comes that FreeBSD seems to be a definite > deadend! > Using pdfedit is wrong, it can't show or edit any PDF we obtained so far. > Using 'pdftk' fails, it is not made to run in modern 64 bit environments only > when using FreeBSD (linux seems to have no problem, especially Ubuntu does > the thing). So, then I remembered myself about Linuxulator and tried > acrobatviewer - and failed. As in other professional environments we were far > away from using simple user management and therefore there is a LDAP > environment. And, funny, Linuxulator does not contact LDAP even if I try to > configure it to use our LDAP environment. Digging around what flavor of Linux > FreeBSD installs (means: do al ot of work), reading about how to use PAM and > LDAP on Linux (means: doing again additional work in an environment I try to > avoid!) and at last no success, because something is missing or the > Linuxulator should use something for user authentication and autorization it > does not have and uses therefore the FreeBSD stuff and then fails. Especially > for the Acrobat weirdness (or call it software) something like this occurs > whenn attempting starting acrobat reader: > > (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown user > id (2001) > > (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate > memory) > > > If there is someone here running a 64 bit environment within a LDAP realm and > already got successfully running the Linux add ons as expected for LDAP > users, you are really welcome to give me some hints how to turn around my > frustration and thoughts about definitely leaving the FreeBSD path ... I use a simple workaround to make the Adobe reader (and some other Linux binaries) work - I simply added following entries to the crontab file of root: 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > /usr/compat/linux/etc/passwd 2> /dev/null 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> /dev/null Hope that helps a little bit ... Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From ensolounsegundo at hotmail.com Mon Sep 1 10:01:05 2008 From: ensolounsegundo at hotmail.com (unsegundo) Date: Mon Sep 1 10:01:13 2008 Subject: Problem with alias ip's Message-ID: <19251983.post@talk.nabble.com> Hi, i'm having a problem with 2 aditional ip's, add by alias. 7.1-PRERELEASE FreeBSD Main IP: A.B.111.219 Netmask: 255.255.255.192 Gateway: A.B.111.193 Aliases: A.B.222.226 and A.B.222.227. Netmask 255.255.255.255 (/sbin/ifconfig bge0 alias A.B.222.226 netmask 255.255.255.255) device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express' Main IP works fine, but alias ip's don't. When i try to connect, in netstat -an shows: Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 A.B.222.227.22 xx.xx.xx.xx.64585 SYN_RCVD State not changes to ESTABLISHED, and ip don't send the information. Perhaps a netmasks problem? A route problem? Or what else? What can i do? Thank you -- View this message in context: http://www.nabble.com/Problem-with-alias-ip%27s-tp19251983p19251983.html Sent from the freebsd-questions mailing list archive at Nabble.com. From ohartman at zedat.fu-berlin.de Mon Sep 1 10:09:35 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Sep 1 10:09:42 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs In-Reply-To: <20080901113702.U877@gwdu60.gwdg.de> References: <48BBB022.4030708@zedat.fu-berlin.de> <20080901113702.U877@gwdu60.gwdg.de> Message-ID: <48BBBED9.9060901@zedat.fu-berlin.de> Konrad Heuer wrote: > > On Mon, 1 Sep 2008, O. Hartmann wrote: > >> Several months ago I tried configuring the Linuxulator on several >> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is >> possible with Intels pseudo 64 bit crap). The reason for that is >> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND >> hybrid boxes (acting as workstations AND small servers) makes life >> easy - I thought and was touhgt wrong. >> Our administration sends a lot of PDFs around and as it is very usual, >> our applications, forms and so on for scientific congresses etc. are >> all PDF and subject to be edited. And here it comes that FreeBSD seems >> to be a definite deadend! >> Using pdfedit is wrong, it can't show or edit any PDF we obtained so >> far. Using 'pdftk' fails, it is not made to run in modern 64 bit >> environments only when using FreeBSD (linux seems to have no problem, >> especially Ubuntu does the thing). So, then I remembered myself about >> Linuxulator and tried acrobatviewer - and failed. As in other >> professional environments we were far away from using simple user >> management and therefore there is a LDAP environment. And, funny, >> Linuxulator does not contact LDAP even if I try to configure it to >> use our LDAP environment. Digging around what flavor of Linux FreeBSD >> installs (means: do al ot of work), reading about how to use PAM and >> LDAP on Linux (means: doing again additional work in an environment I >> try to avoid!) and at last no success, because something is missing or >> the Linuxulator should use something for user authentication and >> autorization it does not have and uses therefore the FreeBSD stuff and >> then fails. Especially for the Acrobat weirdness (or call it software) >> something like this occurs whenn attempting starting acrobat reader: >> >> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown >> user id (2001) >> >> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot >> allocate memory) >> >> >> If there is someone here running a 64 bit environment within a LDAP >> realm and already got successfully running the Linux add ons as >> expected for LDAP users, you are really welcome to give me some hints >> how to turn around my frustration and thoughts about definitely >> leaving the FreeBSD path ... > > I use a simple workaround to make the Adobe reader (and some other Linux > binaries) work - I simply added following entries to the crontab file of > root: > > 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > > /usr/compat/linux/etc/passwd 2> /dev/null > 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> > /dev/null > > Hope that helps a little bit ... > > Best regards > > Konrad Heuer > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de > > Thank you very much, this works. But this seems to be a hack, unclean in my opinion. As I got responses earlier of the year for a similar problem, Linuxulator should utilize lacking facilities from FreeBSD host system - but obviously it doesn't, especially if there are non-existent users. As I realized - and this puzzles me - there was no passwd file in my configuration, so I guess the Linuxulator has to contact the underlying FreeBSD infrastructure to get UIDs like root and others - but this seems not to be the case. Regards, Oliver From m.seaman at infracaninophile.co.uk Mon Sep 1 10:23:54 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Sep 1 10:24:01 2008 Subject: BIND DNS Patching on 6.1, 6.2 In-Reply-To: <9063D8A4068C46B4979BEA249CEDCA49@GRANT> References: <20080829182700.M90624@thenetnow.com><20080829193718.M43174@thenetnow.com> <48B89671.6000809@adventuras.no> <9063D8A4068C46B4979BEA249CEDCA49@GRANT> Message-ID: <48BBC29B.6070008@infracaninophile.co.uk> Grant Peel wrote: > Hi all, > > Thanks to Lars I have come up with the following (to upgrade BIND for > the DNS caching issue)...(short of updateing all source). > > Download the latest port BIND95.9.5.x (p2 I think), 9.5.0.2 -- correct. > Extract it to the ports directory, > > make -DWITH_REPLACE_BASE You should get an OPTIONS dialogue here which will allow you to achieve the required result. Use 'make config' to force the issue if necessary. > make install > make clean > > Is the above correct? Yes, that will work just fine. > Also, > > Will the installation leave all my current (BIND) configs alone? It will not trash /etc/namedb/named.conf -- actually, I think it won't touch anything under /etc/namedb so it should 'just work' with your existing configuration. Remember to remove any 'port 53' clauses from 'query source' statements in named.conf or this will all have been for nothing. If you're going to do the 'REPLACE_BASE' thing, then you should add WITHOUT_BIND=yes to /etc/make.conf (/etc/src.conf in 7.x and above) -- otherwise you'll revert to the system version of BIND whenever you update. There are half a dozen BIND related make flags that you can pick and choose from if you want finer control. Alternatively, you can leave the base system as-is, install the port under /usr/local as usual, and just use variables like the following in /etc/rc.conf: named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf" This means you'll run named-2.5.0.2 from the port (which is the important bit) but unless you fiddle with your $PATH, you'll tend to get all the adjunct programs like dig, host, rndc from the base system. Either way, it should all be pretty seamless. Which way you choose is a matter of taste and convenience rather than necessity. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/2995363a/signature-0001.pgp From freebsd at edvax.de Mon Sep 1 10:44:47 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Sep 1 10:44:54 2008 Subject: bluefish question In-Reply-To: <20080831224710.GA42854@thought.org> References: <20080831224710.GA42854@thought.org> Message-ID: <20080901124433.4b75e6db.freebsd@edvax.de> On Sun, 31 Aug 2008 15:47:14 -0700, Gary Kline wrote: > is there an easier markup editor > in ports? GNotepad+ (pkg_add -r gnotepad+) maybe? > PS: Whatever happened to the good old days when Mozilla had an > editor-mode builtin? They're gone, as well as the days when web content was presented using valid HTML. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kheuer2 at gwdg.de Mon Sep 1 10:55:28 2008 From: kheuer2 at gwdg.de (Konrad Heuer) Date: Mon Sep 1 10:55:35 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs In-Reply-To: <48BBBED9.9060901@zedat.fu-berlin.de> References: <48BBB022.4030708@zedat.fu-berlin.de> <20080901113702.U877@gwdu60.gwdg.de> <48BBBED9.9060901@zedat.fu-berlin.de> Message-ID: <20080901124900.F877@gwdu60.gwdg.de> On Mon, 1 Sep 2008, O. Hartmann wrote: > Konrad Heuer wrote: >> >> On Mon, 1 Sep 2008, O. Hartmann wrote: >> >>> Several months ago I tried configuring the Linuxulator on several FreeBSD >>> 7.X boxes, most of them pure amd64 and pure 64 bit (as it is possible with >>> Intels pseudo 64 bit crap). The reason for that is simple. Having FreeBSD >>> (now 7.1-PRE) as my favorite OS on servers AND hybrid boxes (acting as >>> workstations AND small servers) makes life easy - I thought and was touhgt >>> wrong. >>> Our administration sends a lot of PDFs around and as it is very usual, our >>> applications, forms and so on for scientific congresses etc. are all PDF >>> and subject to be edited. And here it comes that FreeBSD seems to be a >>> definite deadend! >>> Using pdfedit is wrong, it can't show or edit any PDF we obtained so far. >>> Using 'pdftk' fails, it is not made to run in modern 64 bit environments >>> only when using FreeBSD (linux seems to have no problem, especially Ubuntu >>> does the thing). So, then I remembered myself about Linuxulator and tried >>> acrobatviewer - and failed. As in other professional environments we were >>> far away from using simple user management and therefore there is a LDAP >>> environment. And, funny, Linuxulator does not contact LDAP even if I try >>> to configure it to use our LDAP environment. Digging around what flavor of >>> Linux FreeBSD installs (means: do al ot of work), reading about how to use >>> PAM and LDAP on Linux (means: doing again additional work in an >>> environment I try to avoid!) and at last no success, because something is >>> missing or the Linuxulator should use something for user authentication >>> and autorization it does not have and uses therefore the FreeBSD stuff and >>> then fails. Especially for the Acrobat weirdness (or call it software) >>> something like this occurs whenn attempting starting acrobat reader: >>> >>> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown >>> user id (2001) >>> >>> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate >>> memory) >>> >>> >>> If there is someone here running a 64 bit environment within a LDAP realm >>> and already got successfully running the Linux add ons as expected for >>> LDAP users, you are really welcome to give me some hints how to turn >>> around my frustration and thoughts about definitely leaving the FreeBSD >>> path ... >> >> I use a simple workaround to make the Adobe reader (and some other Linux >> binaries) work - I simply added following entries to the crontab file of >> root: >> >> 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > >> /usr/compat/linux/etc/passwd 2> /dev/null >> 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> >> /dev/null >> >> Hope that helps a little bit ... > > Thank you very much, this works. > But this seems to be a hack, unclean in my opinion. As I got responses > earlier of the year for a similar problem, Linuxulator should utilize lacking > facilities from FreeBSD host system - but obviously it doesn't, especially if > there are non-existent users. As I realized - and this puzzles me - there was > no passwd file in my configuration, so I guess the Linuxulator has to contact > the underlying FreeBSD infrastructure to get UIDs like root and others - but > this seems not to be the case. I agree a little bit. When we used YP years ago it was possible to edit /usr/compat/linux/etc/yp.conf to make the Linux binaries contact the NIS service. Making use of LDAP should work in an similar way. Of course my "solution" is a hack - but not the worst one. ;-) Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de From z.szalbot at lcwords.com Mon Sep 1 11:06:42 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Mon Sep 1 11:07:02 2008 Subject: newsyslog Message-ID: <48BBCCBE.1060409@lcwords.com> Hello, Just one quick question: do changes to /etc/newsyslog.conf require /usr/bin/killall -HUP syslogd? I commented out one entry for log rotation, however at midnight the log was still rotated by newsyslog as if it had not been commented out. Man newsyslog.conf seems to suggest this is not necessary... Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/10a27bb9/smime.bin From jd_bronson at sbcglobal.net Mon Sep 1 11:25:46 2008 From: jd_bronson at sbcglobal.net (J.D. Bronson) Date: Mon Sep 1 11:25:53 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.> References: <48BB2359.4000208@xmission.com> <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> <20080901024910.16ca76ae@gumby.homeunix.com.> Message-ID: <200809011125.m81BPiuo026561@cheyenne.hanadarko.com> At 02:49 AM 9/1/2008 +0100, RW wrote: > > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) > >One minor caveat: dumping a live filesystem require dump to take a >snapshot, which in turn require soft-updates to be turned-on. The >default in sysinstall is to enable it for everything but the root >partition. I always enable soft-updates on all partitions during install or anytime a drive is replaced :-) /dev/ad0s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s1d on /usr (ufs, local, soft-updates) /dev/ad0s1e on /var (ufs, local, soft-updates) /dev/ad0s1f on /home (ufs, local, soft-updates) /dev/ad0s1g on /staff (ufs, local, soft-updates) /dev/ad0s1h on /users (ufs, local, soft-updates) -JD From keramida at ceid.upatras.gr Mon Sep 1 11:59:05 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Sep 1 11:59:12 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <20080901023941.P20716@wojtek.tensor.gdynia.pl> (Wojciech Puchar's message of "Mon, 1 Sep 2008 02:40:10 +0200 (CEST)") References: <48BB2359.4000208@xmission.com> <871w04rbg5.fsf@kobe.laptop> <20080901023941.P20716@wojtek.tensor.gdynia.pl> Message-ID: <8763pgnkli.fsf@kobe.laptop> On Mon, 1 Sep 2008 02:40:10 +0200 (CEST), Wojciech Puchar wrote: >> Did you really run dump on a 'live' filesystem? The filesystem may be >> changing under the feet of dump, while it copies data. That is bound to >> cause trouble later on. > > but shouldn't make NO files restored, maybe few files that was changed > while backing up. Yes that's true of course. I was merely replying to the obvious error. Failing to restore *any* files is a different issue. From jon at witchspace.com Mon Sep 1 12:04:41 2008 From: jon at witchspace.com (Jonathan Belson) Date: Mon Sep 1 12:04:49 2008 Subject: Changing 'From:' address of periodic scripts In-Reply-To: <48B6AE4F.3050903@witchspace.com> References: <48A00C8C.4060105@witchspace.com> <48A05902.8060103@FreeBSD.org> <48B66D15.5080104@witchspace.com> <48B671B4.9070602@infracaninophile.co.uk> <48B6AE4F.3050903@witchspace.com> Message-ID: <48BBDA9B.7000102@witchspace.com> Jonathan Belson wrote: > Matthew Seaman wrote: >> Yes. root is specifically exempted from all the masquerading stuff. >> There's an EXPOSED_USER macro you can use in $(hostname).mc to control >> that. > > Ah, that explains it. There doesn't seem to be a way to remove exposed > users, but there is a web page explaining how to stop 'root' being added > as a default exposed user: > > http://www.grok.org.uk/docs/smroot.html > > Instead of doing this, I've told periodic.conf to send its output to my > local account on the server, and added a .forward file to pass the > e-mail to my 'real' address. Hopefully this will play nicely with > sendmail's masquerading. Of course it didn't as the e-mail's sender was still 'root' :-S I ended up following the instructions from the web page above, and after initially getting caught out by the difference between 'dnl' and '#' I finally have a configuration that works. Thanks, --Jon From jalmberg at identry.com Mon Sep 1 12:43:56 2008 From: jalmberg at identry.com (John Almberg) Date: Mon Sep 1 12:44:04 2008 Subject: Why the extra shells? In-Reply-To: <48B9FD43.1070508@magidesign.com> References: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com> <48B9FD43.1070508@magidesign.com> Message-ID: <3761D93C-F42B-48AC-9295-DFE0E11527DE@identry.com> > I have seen that when a script is running and it uses the bash shell. This is my main concern at the moment... I am wondering if I killed off an essential process when I killed off those shells... It doesn't seem like it, because everything seems to be working. I'd love to restart the server to see if they come back to life, but that would ruin my uptime stat. As a newbie admin, I take great pride in my 152 day, 100% uptime stat. (Hey, it's the little things in life that make me happy... it obviously isn't the money :-) > I have see that too where you close a ssh session too soon like you > stated. > I'm guessing this is the real cause... I'll be more careful in the future. Thanks: John From mcoyles at horbury.wakefield.sch.uk Mon Sep 1 12:49:33 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Mon Sep 1 12:49:40 2008 Subject: Live FS Dump errors... Message-ID: <009601c90c31$15d9b5d0$fd607e0a@Horbury.Internal> Morning folks... I'm trying to use a script to run a dump of all filesystems, but whenever I use the -L option, I receive an error as follows for every mount: DUMP: Date of this level 0 dump: Mon Sep 1 13:37:57 2008 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 329257 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 329274 tape blocks DUMP: finished in 91 seconds, throughput 3618 KBytes/sec DUMP: level 0 dump on Mon Sep 1 13:37:57 2008 DUMP: DUMP IS DONE mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory DUMP: Date of this level 0 dump: Mon Sep 1 13:39:33 2008 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 4758000 tape blocks. DUMP: dumping (Pass III) [directories] mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error dump: Cannot create /home/.snap/dump_snapshot: No such file or directory I've inspected the locations reported, and can confirm that .snap/dump_snapshot exists in the required locations on every mount, and shows as being created at the time the dump was run as follows: bigsis# pwd /home/.snap bigsis# ls -ltra total 4 drwx--x--x 11 root wheel 512 Mar 25 03:05 .. -r-------- 1 root operator 0 Sep 1 13:32 fsck_snapshot -r-------- 1 root operator 0 Sep 1 13:39 dump_snapshot drwxrwx--- 2 root operator 512 Sep 1 13:39 . The script I'm using is a perl script as follows, and is called by root's crontab: #!/usr/bin/perl use strict; use warnings; use Getopt::Std; use POSIX qw(strftime); use vars qw($VERSION); $Getopt::Std::STANDARD_HELP_VERSION = 1; $VERSION = '1.2'; my @FS = ('/', '/home', '/usr', '/var'); my $day = lc(strftime "%A", localtime); my $hostname = `/bin/hostname -s`; my %opt = ('F' => 0, 'd' => 0, 'h' => 0); my $type; chomp $hostname; getopts("Fdh",\%opt); if ( $opt{h} == 1 ) { print STDERR << "EOF"; usage: $0 [-hqd] -h : this (help) message -d : Dry run, only print what I am going to do -F : Force full backup {type 0} example: $0 -h -q -d EOF exit(0) } if ( $opt{F} == 1 ) { $type = "0" } else { if ($day eq "sunday") { $type = "0" } else { $type = "0" } } foreach (@FS) { my $name = $_; if ($name eq '/') { $name = '/root'; }; $name =~ s/^\///g; # Unncomment for /backup/$day/$name.dump.gz my $command = '/sbin/dump -' . $type . ' -aLuf - ' . $_ . ' | gzip -q > /backup/' . $day . '/' . $name . '.dump.gz'; # Put a "#" in front of the next line if you uncomment the last line # my $command = '/sbin/dump -' . $type . ' -aLuf - ' . $_ . ' | gzip -q > /backup/' . $hostname . '/' . $day . '.' . $name . '.dump.gz'; if ($opt{d}) { print($command . "\n"); } else { system($command); }; }; exit(0); Any suggestions??? All works fine if I don't use -L, but this isn't exactly ideal for a backup of a live file-system... Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From ohartman at zedat.fu-berlin.de Mon Sep 1 12:57:28 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Mon Sep 1 12:59:55 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs In-Reply-To: <20080901124900.F877@gwdu60.gwdg.de> References: <48BBB022.4030708@zedat.fu-berlin.de> <20080901113702.U877@gwdu60.gwdg.de> <48BBBED9.9060901@zedat.fu-berlin.de> <20080901124900.F877@gwdu60.gwdg.de> Message-ID: <48BBE633.8040108@zedat.fu-berlin.de> Konrad Heuer wrote: > > On Mon, 1 Sep 2008, O. Hartmann wrote: > >> Konrad Heuer wrote: >>> >>> On Mon, 1 Sep 2008, O. Hartmann wrote: >>> >>>> Several months ago I tried configuring the Linuxulator on several >>>> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is >>>> possible with Intels pseudo 64 bit crap). The reason for that is >>>> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers >>>> AND hybrid boxes (acting as workstations AND small servers) makes >>>> life easy - I thought and was touhgt wrong. >>>> Our administration sends a lot of PDFs around and as it is very >>>> usual, our applications, forms and so on for scientific congresses >>>> etc. are all PDF and subject to be edited. And here it comes that >>>> FreeBSD seems to be a definite deadend! >>>> Using pdfedit is wrong, it can't show or edit any PDF we obtained so >>>> far. Using 'pdftk' fails, it is not made to run in modern 64 bit >>>> environments only when using FreeBSD (linux seems to have no >>>> problem, especially Ubuntu does the thing). So, then I remembered >>>> myself about Linuxulator and tried acrobatviewer - and failed. As in >>>> other professional environments we were far away from using simple >>>> user management and therefore there is a LDAP environment. And, >>>> funny, Linuxulator does not contact LDAP even if I try to configure >>>> it to use our LDAP environment. Digging around what flavor of Linux >>>> FreeBSD installs (means: do al ot of work), reading about how to use >>>> PAM and LDAP on Linux (means: doing again additional work in an >>>> environment I try to avoid!) and at last no success, because >>>> something is missing or the Linuxulator should use something for >>>> user authentication and autorization it does not have and uses >>>> therefore the FreeBSD stuff and then fails. Especially for the >>>> Acrobat weirdness (or call it software) something like this occurs >>>> whenn attempting starting acrobat reader: >>>> >>>> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to >>>> unknown user id (2001) >>>> >>>> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot >>>> allocate memory) >>>> >>>> >>>> If there is someone here running a 64 bit environment within a LDAP >>>> realm and already got successfully running the Linux add ons as >>>> expected for LDAP users, you are really welcome to give me some >>>> hints how to turn around my frustration and thoughts about >>>> definitely leaving the FreeBSD path ... >>> >>> I use a simple workaround to make the Adobe reader (and some other >>> Linux binaries) work - I simply added following entries to the >>> crontab file of root: >>> >>> 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > >>> /usr/compat/linux/etc/passwd 2> /dev/null >>> 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> >>> /dev/null >>> >>> Hope that helps a little bit ... >> >> Thank you very much, this works. >> But this seems to be a hack, unclean in my opinion. As I got responses >> earlier of the year for a similar problem, Linuxulator should utilize >> lacking facilities from FreeBSD host system - but obviously it >> doesn't, especially if there are non-existent users. As I realized - >> and this puzzles me - there was no passwd file in my configuration, so >> I guess the Linuxulator has to contact the underlying FreeBSD >> infrastructure to get UIDs like root and others - but this seems not >> to be the case. > > I agree a little bit. When we used YP years ago it was possible to edit > /usr/compat/linux/etc/yp.conf to make the Linux binaries contact the NIS > service. > > Making use of LDAP should work in an similar way. Of course my > "solution" is a hack - but not the worst one. ;-) > > Best regards > > Konrad Heuer > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de > In the days of NIS/YP the Linuxulator worked very well the way you described, so I expecte LDAP working for me. But whatever I tried to configure (also a complete Linux-based config!), I never had success, especially when it comes to UIDs. Your 'hack' works for me, thank you very much.Regards, Oliver From freebsd at meijome.net Mon Sep 1 14:05:35 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon Sep 1 14:05:41 2008 Subject: Problem with alias ip's In-Reply-To: <19251983.post@talk.nabble.com> References: <19251983.post@talk.nabble.com> Message-ID: <20080902000524.6125a510@ayiin> On Mon, 1 Sep 2008 03:01:04 -0700 (PDT) unsegundo wrote: > Perhaps a netmasks problem? A route problem? Or what else? What can i do? Hola :) do you have any firewall running on your host? _________________________ {Beto|Norberto|Numard} Meijome Unix is user friendly. However, it isn't idiot friendly. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd-questions at slightlystrange.org Mon Sep 1 14:36:01 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Mon Sep 1 14:36:09 2008 Subject: newsyslog In-Reply-To: <48BBCCBE.1060409@lcwords.com> References: <48BBCCBE.1060409@lcwords.com> Message-ID: <20080901143555.GA42584@torus.slightlystrange.org> On Mon, Sep 01, 2008 at 01:06:38PM +0200, Zbigniew Szalbot wrote: > Hello, > > Just one quick question: do changes to /etc/newsyslog.conf require > /usr/bin/killall -HUP syslogd? No, newsyslog.conf is the config file for the newsyslog script, which is called from cron every hour (IIRC). newsyslog handles sending signals to syslogd and others depending on the values in the last three fields of the newsyslog.conf file. > > I commented out one entry for log rotation, however at midnight the log > was still rotated by newsyslog as if it had not been commented out. Man > newsyslog.conf seems to suggest this is not necessary... Odd. I've never encountered this problem. Are you sure you commented out the right file? ;-) Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/1088618c/attachment.pgp From ensolounsegundo at hotmail.com Mon Sep 1 15:28:13 2008 From: ensolounsegundo at hotmail.com (unsegundo) Date: Mon Sep 1 15:28:19 2008 Subject: Problem with alias ip's In-Reply-To: <19251983.post@talk.nabble.com> References: <19251983.post@talk.nabble.com> Message-ID: <19256570.post@talk.nabble.com> Hola :) I have PF running, but if i disable it (pfctl -d), the results are the same Any idea? Thank you -- View this message in context: http://www.nabble.com/Problem-with-alias-ip%27s-tp19251983p19256570.html Sent from the freebsd-questions mailing list archive at Nabble.com. From z.szalbot at lcwords.com Mon Sep 1 16:13:45 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Mon Sep 1 16:13:53 2008 Subject: newsyslog In-Reply-To: <20080901143555.GA42584@torus.slightlystrange.org> References: <48BBCCBE.1060409@lcwords.com> <20080901143555.GA42584@torus.slightlystrange.org> Message-ID: <48BC14B5.9000401@lcwords.com> Hello, Daniel Bye: >> I commented out one entry for log rotation, however at midnight the log >> was still rotated by newsyslog as if it had not been commented out. Man >> newsyslog.conf seems to suggest this is not necessary... > > Odd. I've never encountered this problem. Are you sure you commented out > the right file? ;-) Well, I am going to try again tonight but this is what I have in /etc/newsyslog.conf # /var/log/maillog 644 60 * @T00 JC I will report to the list if it still rotates the mail file. Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/65598d35/smime.bin From tedm at toybox.placo.com Mon Sep 1 17:12:04 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Mon Sep 1 17:12:12 2008 Subject: Linux, LDAP and the impossibility of handling editable PDFs In-Reply-To: <48BBBED9.9060901@zedat.fu-berlin.de> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of O. Hartmann > Sent: Monday, September 01, 2008 3:07 AM > To: Konrad Heuer > Cc: freebsd-questions@freebsd.org > Subject: Re: Linux, LDAP and the impossibility of handling editable PDFs > > > Konrad Heuer wrote: > > > > On Mon, 1 Sep 2008, O. Hartmann wrote: > > > >> Several months ago I tried configuring the Linuxulator on several > >> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is > >> possible with Intels pseudo 64 bit crap). The reason for that is > >> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND > >> hybrid boxes (acting as workstations AND small servers) makes life > >> easy - I thought and was touhgt wrong. > >> Our administration sends a lot of PDFs around and as it is very usual, > >> our applications, forms and so on for scientific congresses etc. are > >> all PDF and subject to be edited. And here it comes that FreeBSD seems > >> to be a definite deadend! > >> Using pdfedit is wrong, it can't show or edit any PDF we obtained so > >> far. Using 'pdftk' fails, it is not made to run in modern 64 bit > >> environments only when using FreeBSD (linux seems to have no problem, > >> especially Ubuntu does the thing). So, then I remembered myself about > >> Linuxulator and tried acrobatviewer - and failed. As in other > >> professional environments we were far away from using simple user > >> management and therefore there is a LDAP environment. And, funny, > >> Linuxulator does not contact LDAP even if I try to configure it to > >> use our LDAP environment. Digging around what flavor of Linux FreeBSD > >> installs (means: do al ot of work), reading about how to use PAM and > >> LDAP on Linux (means: doing again additional work in an environment I > >> try to avoid!) and at last no success, because something is missing or > >> the Linuxulator should use something for user authentication and > >> autorization it does not have and uses therefore the FreeBSD stuff and > >> then fails. Especially for the Acrobat weirdness (or call it software) > >> something like this occurs whenn attempting starting acrobat reader: > >> > >> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown > >> user id (2001) > >> > >> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot > >> allocate memory) > >> > >> > >> If there is someone here running a 64 bit environment within a LDAP > >> realm and already got successfully running the Linux add ons as > >> expected for LDAP users, you are really welcome to give me some hints > >> how to turn around my frustration and thoughts about definitely > >> leaving the FreeBSD path ... > > > > I use a simple workaround to make the Adobe reader (and some > other Linux > > binaries) work - I simply added following entries to the > crontab file of > > root: > > > > 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > > > /usr/compat/linux/etc/passwd 2> /dev/null > > 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> > > /dev/null > > > > Hope that helps a little bit ... > > > > Best regards > > > > Konrad Heuer > > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de > > > > > > Thank you very much, this works. > But this seems to be a hack, The REAL hack is running Adobre Reader on the Linuxlator Contact Adobe and demand a native FreeBSD version. You won't be alone. As soon as Adobe gets enough complaints from FreeBSD users they will go forward with a native FreeBSD port. They did it with Linux. Years ago they refused to release a Linux version of Reader. User complaints changed that. Ted From wojtek at wojtek.tensor.gdynia.pl Mon Sep 1 17:32:09 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 1 17:32:16 2008 Subject: newsyslog In-Reply-To: <48BBCCBE.1060409@lcwords.com> References: <48BBCCBE.1060409@lcwords.com> Message-ID: <20080901193111.U8762@wojtek.tensor.gdynia.pl> > > Just one quick question: do changes to /etc/newsyslog.conf require > /usr/bin/killall -HUP syslogd? quick answer: NO. for sure. > I commented out one entry for log rotation, however at midnight the log was > still rotated by newsyslog as if it had not been commented out. Man > newsyslog.conf seems to suggest this is not necessary... check things once again. you missed something. From scrappy at hub.org Mon Sep 1 18:27:30 2008 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Sep 1 18:27:42 2008 Subject: cPanel or Plesk in jail ... ? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Simple enough, has anyone been able to get either to run successfully in a jail? - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAki8L/8ACgkQ4QvfyHIvDvO5lACg7UEk8CkUvD4DIu2LI/bVs+65 E5YAn0BmZHgRoqg76S5lzRa+nK2uZoIu =sZXQ -----END PGP SIGNATURE----- From laszlo_danielisz at yahoo.com Mon Sep 1 20:59:23 2008 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Sep 1 21:00:53 2008 Subject: nvidia 32bit driver Message-ID: <427207.53148.qm@web30801.mail.mud.yahoo.com> Hello! I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message: ===> Building for nvidia-driver-173.14.12 ===> src (all) "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree" *** Error code 1 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver. Do you have any idea what the problem could be? From derek at computinginnovations.com Mon Sep 1 21:06:06 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon Sep 1 21:06:13 2008 Subject: nvidia 32bit driver In-Reply-To: <427207.53148.qm@web30801.mail.mud.yahoo.com> References: <427207.53148.qm@web30801.mail.mud.yahoo.com> Message-ID: <6.0.0.22.2.20080901160508.0258bd38@mail.computinginnovations.com> At 03:59 PM 9/1/2008, D?nielisz L?szl? wrote: >Hello! > > >I just install my new FreeBSD7.0 system, everything its up tu date, but >when I try to install /usr/ports/x11/nvidia-driver I always got the >following error message: > >===> Building for nvidia-driver-173.14.12 >===> src (all) >"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree" >*** Error code 1 > >Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12. >*** Error code 1 > >Stop in /usr/ports/x11/nvidia-driver. >*** Error code 1 > >Stop in /usr/ports/x11/nvidia-driver. > > >Do you have any idea what the problem could be? > > Do you have the full source tree? Check that /usr/src is properly populated. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From freebsd-questions at slightlystrange.org Mon Sep 1 21:10:22 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Mon Sep 1 21:10:29 2008 Subject: nvidia 32bit driver In-Reply-To: <427207.53148.qm@web30801.mail.mud.yahoo.com> References: <427207.53148.qm@web30801.mail.mud.yahoo.com> Message-ID: <20080901211012.GG42584@torus.slightlystrange.org> On Mon, Sep 01, 2008 at 01:59:22PM -0700, D?nielisz L?szl? wrote: > Hello! > > > I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message: > > ===> Building for nvidia-driver-173.14.12 > ===> src (all) > "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree" This error message is telling you what's wrong - you don't have the kernel source tree installed, which you need for this port. The easiest way to get it is to run sysinstall, go to "Configure", "Distributions" and select "src". From the next menu, you must select at least "sys". Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080901/97e2b73e/attachment.pgp From laszlo_danielisz at yahoo.com Mon Sep 1 21:24:10 2008 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Sep 1 21:24:17 2008 Subject: nvidia 32bit driver Message-ID: <443425.35525.qm@web30807.mail.mud.yahoo.com> Thank you guys very much! ----- Original Message ---- From: Daniel Bye To: freebsd-questions@freebsd.org Sent: Monday, September 1, 2008 11:10:12 PM Subject: Re: nvidia 32bit driver On Mon, Sep 01, 2008 at 01:59:22PM -0700, D?nielisz L?szl? wrote: > Hello! > > > I just install my new FreeBSD7.0 system, everything its up tu date, but when I try to install /usr/ports/x11/nvidia-driver I always got the following error message: > > ===> Building for nvidia-driver-173.14.12 > ===> src (all) > "/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree" This error message is telling you what's wrong - you don't have the kernel source tree installed, which you need for this port. The easiest way to get it is to run sysinstall, go to "Configure", "Distributions" and select "src". From the next menu, you must select at least "sys". Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ From christopher-ml at telting.org Mon Sep 1 21:33:15 2008 From: christopher-ml at telting.org (Chris) Date: Mon Sep 1 21:33:23 2008 Subject: LDAP and Account Management Message-ID: <48BC5F97.1000809@telting.org> I've toyed with LDAP accounts before to get them to work. But now I'm going to put it into production. I'm wondering though about user and group management. When ports are installed on individual servers, users and groups are sometimes added for daemons. It would be nice to receive notification and possibly block and or redirect actions to appropriate scripts and the LDAP server. Are there any ports or mechanisms for hooking into the scripts and programs that handle account modification (chpass, adduser and pw) or does everyone typically do this sort of thing by hand? From peo at intersonic.se Mon Sep 1 21:40:47 2008 From: peo at intersonic.se (Per olof Ljungmark) Date: Mon Sep 1 21:41:01 2008 Subject: LDAP and Account Management In-Reply-To: <48BC5F97.1000809@telting.org> References: <48BC5F97.1000809@telting.org> Message-ID: <48BC6159.7070508@intersonic.se> Chris wrote: > I've toyed with LDAP accounts before to get them to work. But now I'm > going to put it into production. > > I'm wondering though about user and group management. When ports are > installed on individual servers, users and groups are sometimes added > for daemons. It would be nice to receive notification and possibly > block and or redirect actions to appropriate scripts and the LDAP server. > > Are there any ports or mechanisms for hooking into the scripts and > programs that handle account modification (chpass, adduser and pw) or > does everyone typically do this sort of thing by hand? smbldap-tools (in ports) is a collection of scripts that does this, mainly developed with Samba in mind. I'm sure there are others too. Best, --per From laszlo_danielisz at yahoo.com Mon Sep 1 22:21:31 2008 From: laszlo_danielisz at yahoo.com (=?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?=) Date: Mon Sep 1 22:21:39 2008 Subject: no ask Message-ID: <821688.23190.qm@web30803.mail.mud.yahoo.com> Hello! Do you have any idea how to set the /etc/make.conf to do not ask any question during the make procedure and do the make with the default settings? Laci From kline at thought.org Mon Sep 1 22:57:48 2008 From: kline at thought.org (Gary Kline) Date: Mon Sep 1 22:57:55 2008 Subject: bluefish question In-Reply-To: <20080901124433.4b75e6db.freebsd@edvax.de> References: <20080831224710.GA42854@thought.org> <20080901124433.4b75e6db.freebsd@edvax.de> Message-ID: <20080901225726.GA20361@thought.org> On Mon, Sep 01, 2008 at 12:44:33PM +0200, Polytropon wrote: > On Sun, 31 Aug 2008 15:47:14 -0700, Gary Kline wrote: > > is there an easier markup editor > > in ports? > > GNotepad+ (pkg_add -r gnotepad+) maybe? > > > > > PS: Whatever happened to the good old days when Mozilla had an > > editor-mode builtin? > > They're gone, as well as the days when web content was presented > using valid HTML. > > Yeah, well, what I wound up doing was learning about
and then creating 99% of the [test] page by-hand. ...Well, it's time to get back into the CSS anyway. gary > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From sahil at tandon.net Mon Sep 1 23:00:03 2008 From: sahil at tandon.net (Sahil Tandon) Date: Mon Sep 1 23:00:09 2008 Subject: no ask In-Reply-To: <821688.23190.qm@web30803.mail.mud.yahoo.com> References: <821688.23190.qm@web30803.mail.mud.yahoo.com> Message-ID: <20080901230000.GA15009@shepherd> D?nielisz L?szl? wrote: > Do you have any idea how to set the /etc/make.conf to do not ask any > question during the make procedure and do the make with the default > settings? Maybe you're looking for BATCH=yes? -- Sahil Tandon From kline at thought.org Mon Sep 1 23:28:40 2008 From: kline at thought.org (Gary Kline) Date: Mon Sep 1 23:28:47 2008 Subject: aargggghh, Konq and "Times New Roman" Message-ID: <20080901232832.GA21397@thought.org> Anybody know why neither the left nor right double-quotes print in Konqueror? Works fine in firefox3. Prob'ly in firefox[2], tho I haven't tried. gary PS: Whatever the default font is, in black "#000000" does print left/right double quotes... {FWIW}. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From m0rchand at comcast.net Tue Sep 2 00:08:22 2008 From: m0rchand at comcast.net (Tom Marchand) Date: Tue Sep 2 00:08:28 2008 Subject: /etc/hosts Message-ID: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> Hi, I've got an issue where hosts defined in my /etc/hosts are not being resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and everything looks ok. It's my understanding that with the below configurations, /etc/hosts should be used first then DNS. Correct? This is a 6.1 system. host# cat resolv.conf local domain nameserver x.x.x.x cat host.conf # Auto-generated from nsswitch.conf, do not edit hosts dns host# cat nsswitch.conf group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files From ges+lists at wingfoot.org Tue Sep 2 00:10:36 2008 From: ges+lists at wingfoot.org (Glenn Sieb) Date: Tue Sep 2 00:10:46 2008 Subject: /etc/hosts In-Reply-To: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> Message-ID: <48BC8475.3040900@wingfoot.org> Tom Marchand said the following on 9/1/08 7:52 PM: > Hi, > > I've got an issue where hosts defined in my /etc/hosts are not being > resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and > everything looks ok. It's my understanding that with the below > configurations, /etc/hosts should be used first then DNS. Correct? > This is a 6.1 system. > Can we see your /etc/hosts file? Best, --Glenn From derek at computinginnovations.com Tue Sep 2 00:22:43 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 2 00:22:50 2008 Subject: /etc/hosts In-Reply-To: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> Message-ID: <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> At 06:52 PM 9/1/2008, Tom Marchand wrote: >Hi, > >I've got an issue where hosts defined in my /etc/hosts are not being >resolved. I've looked at resolv.conf, host.conf and nsswitch.conf and >everything looks ok. It's my understanding that with the below >configurations, /etc/hosts should be used first then DNS. Correct? >This is a 6.1 system. > >host# cat resolv.conf >local domain >nameserver x.x.x.x > >cat host.conf ># Auto-generated from nsswitch.conf, do not edit >hosts >dns > > >host# cat nsswitch.conf >group: compat >group_compat: nis >hosts: files dns >networks: files >passwd: compat >passwd_compat: nis >shells: files Check your /etc/rc.conf and look that the correct IP and hostname are set in there. You may have a typo. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From david at vizion2000.net Tue Sep 2 00:53:48 2008 From: david at vizion2000.net (David Southwell) Date: Tue Sep 2 00:53:55 2008 Subject: smtp authentication Message-ID: <200808311116.28934.david@vizion2000.net> Hi I am really ignorant about this issue. I am running postfix on freebsd 7.0 using a dynamic IP address and am getting requests to turn on smtp authentication for outgoing mails to reach servers such as yahoo.com but do not know how to do it. I am using kmail as a client. If anyone could point me in the right direction I would be most grateful. Thank you David From m0rchand at comcast.net Tue Sep 2 02:03:33 2008 From: m0rchand at comcast.net (Tom Marchand) Date: Tue Sep 2 02:03:42 2008 Subject: /etc/hosts In-Reply-To: <48BC8475.3040900@wingfoot.org> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <48BC8475.3040900@wingfoot.org> Message-ID: <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net> I am trying to resolve the 192.168.2.3 address. ::1 localhost.local localhost 127.0.0.1 localhost.local localhost 72.15.233.132 host.local host 72.15.233.132 host.local. 192.168.2.3 test On Sep 1, 2008, at 8:10 PM, Glenn Sieb wrote: > Tom Marchand said the following on 9/1/08 7:52 PM: >> Hi, >> >> I've got an issue where hosts defined in my /etc/hosts are not being >> resolved. I've looked at resolv.conf, host.conf and nsswitch.conf >> and >> everything looks ok. It's my understanding that with the below >> configurations, /etc/hosts should be used first then DNS. Correct? >> This is a 6.1 system. >> > > Can we see your /etc/hosts file? > > Best, > --Glenn > From m0rchand at comcast.net Tue Sep 2 02:07:17 2008 From: m0rchand at comcast.net (Tom Marchand) Date: Tue Sep 2 02:07:23 2008 Subject: /etc/hosts In-Reply-To: <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> Message-ID: <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net> Everything is set correctly in rc.conf. What I have noticed is that ping can resolve hosts from /etc/hosts. I should mention that this machine has been running for 1.5 years and it wasn't until today that I've needed to add machines to /etc/hosts. On Sep 1, 2008, at 8:22 PM, Derek Ragona wrote: > > Check your /etc/rc.conf and look that the correct IP and hostname > are set in there. You may have a typo. > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From ejcerejo at optonline.net Tue Sep 2 02:26:41 2008 From: ejcerejo at optonline.net (E. J. Cerejo) Date: Tue Sep 2 02:26:47 2008 Subject: Kde4 packages In-Reply-To: <48BB7595.2010208@gmail.com> References: <20080901003617.761fcd7f.ejcerejo@optonline.net> <48BB7595.2010208@gmail.com> Message-ID: <48BCA45E.9040904@optonline.net> Manolis Kiagias wrote: > Eduardo Cerejo wrote: >> Building kde4 from ports will take forever on my computer, does anyone >> where I can get these packages? >> >> > I have uploaded a torrent with kde4.1 packages (including xorg, bash, > samba and others). Get it here: > > http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c Thanks for the torrent but unfortunately it's just too slow to download (17kbs) or 28 hours to download. I was looking for something that could be downloaded in a couple of hours or so. From sahil at tandon.net Tue Sep 2 02:40:02 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Sep 2 02:40:09 2008 Subject: smtp authentication In-Reply-To: <200808311116.28934.david@vizion2000.net> References: <200808311116.28934.david@vizion2000.net> Message-ID: <20080902023954.GA15296@shepherd> David Southwell wrote: > I am running postfix on freebsd 7.0 using a dynamic IP address and am > getting requests to turn on smtp authentication for outgoing mails to > reach servers such as yahoo.com but do not know how to do it. This is a little unclear. Who is making these requests? And what do your logs currently show when you try to send email destined for yahoo.com? You might also want to take this discussion to the postfix-users mailing list. But in general, for help with SASL in Postfix, see: http://www.postfix.org/SASL_README.html -- Sahil Tandon From kulkam50 at yahoo.com Mon Sep 1 11:02:06 2008 From: kulkam50 at yahoo.com (kakyama umar) Date: Tue Sep 2 02:48:18 2008 Subject: (no subject) Message-ID: <611304.63179.qm@web45104.mail.sp1.yahoo.com> hi, their have just installed freebsd 6.2 but am having issues with configuring ssh so can you plz help me out. Rgds. umar From chris27wjoyner at yahoo.com Mon Sep 1 21:45:22 2008 From: chris27wjoyner at yahoo.com (Christopher Joyner) Date: Tue Sep 2 02:48:31 2008 Subject: timidity server, on FreeBSD, for wine. Message-ID: <322440.50927.qm@web56706.mail.re3.yahoo.com> I can't seem to get timidity to act like I want it to, can someone help me out? Want I need is a /dev/sequencer, and I wanted to use timidity to emulate it. It's so I can use it with wine, midi. It's the midi support i am looking for. --- In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 From sahil at tandon.net Tue Sep 2 02:51:21 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Sep 2 02:51:31 2008 Subject: /etc/hosts In-Reply-To: <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net> Message-ID: <20080902025117.GB15296@shepherd> Tom Marchand wrote: > Everything is set correctly in rc.conf. What I have noticed is that > ping can resolve hosts from /etc/hosts. If ping works then everything is fine in /etc/hosts. You haven't told us what program you're using to resolve the 'test' hostname. If you're using something like dig or nslookup, then this is expected behavior; those programs are *supposed* to query the name server and do not read /etc/hosts. -- Sahil Tandon From sahil at tandon.net Tue Sep 2 02:54:19 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Sep 2 02:54:27 2008 Subject: (no subject) In-Reply-To: <611304.63179.qm@web45104.mail.sp1.yahoo.com> References: <611304.63179.qm@web45104.mail.sp1.yahoo.com> Message-ID: <20080902025414.GC15296@shepherd> kakyama umar wrote: > hi, their have just installed freebsd 6.2 but am having issues with > configuring ssh so can you plz help me out. http://www.lemis.com/questions.html -- Sahil Tandon From adrian at gordinier.net Tue Sep 2 04:09:05 2008 From: adrian at gordinier.net (adrian) Date: Tue Sep 2 04:09:11 2008 Subject: Locked myself out. Message-ID: <083ff0361f20bc08a90dab9e293478da@gordinier.net> Hi all this is my first question on the list. I had been playing with securelevels and was in level 3 then I mistakenly executed "chflags schg /etc/rc.*" It wouldn't be such a problem but it as you guessed is on a remote server and I could pay a local guy there to drop to single-user but I thought this might be a good attempt at self hacking. But I am kind of a noob to FreeBSD so I have been Googleing and pouring over Absolute FreeBSD (Good book Thank-you Michael Lucas) looking for someway to execute a script to copy over my rc.conf before it loads. I figured it should be possible maybe though the /etc/rc file but I have had no luck with that. Please HELP! Adrian Gordinier From adrian at gordinier.net Tue Sep 2 04:22:16 2008 From: adrian at gordinier.net (adrian) Date: Tue Sep 2 04:22:22 2008 Subject: Locked myself out. In-Reply-To: <083ff0361f20bc08a90dab9e293478da@gordinier.net> References: <083ff0361f20bc08a90dab9e293478da@gordinier.net> Message-ID: <04d8869a228b319332bee7de39268a57@gordinier.net> On Tue, 2008-09-02 at 03:45 +0000, adrian wrote: Hi all this is my first question on the list. > > I had been playing with securelevels and was in level 3 then I mistakenly > executed "chflags schg /etc/rc.*" > It wouldn't be such a problem but it as you guessed is on a remote server > and I could pay a local guy there to drop to single-user but I thought this > might be a good attempt at self hacking. But I am kind of a noob to FreeBSD > so I have been Googleing and pouring over Absolute FreeBSD (Good book > Thank-you Michael Lucas) looking for someway to execute a script to copy > over my rc.conf before it loads. I figured it should be possible maybe > though the /etc/rc file but I have had no luck with that. > Please HELP! > > Yeah, I did find a way myself. I was able to make a .sh file in /usr/local/etc/rc.d/ that copied a new rc.conf over the old one. Adrian From sonic2000gr at gmail.com Tue Sep 2 04:59:22 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Sep 2 04:59:30 2008 Subject: Kde4 packages In-Reply-To: <48BCA45E.9040904@optonline.net> References: <20080901003617.761fcd7f.ejcerejo@optonline.net> <48BB7595.2010208@gmail.com> <48BCA45E.9040904@optonline.net> Message-ID: <48BCC825.5020407@gmail.com> E. J. Cerejo wrote: > Manolis Kiagias wrote: >> Eduardo Cerejo wrote: >>> Building kde4 from ports will take forever on my computer, does >>> anyone where I can get these packages? >>> >>> >> I have uploaded a torrent with kde4.1 packages (including xorg, bash, >> samba and others). Get it here: >> >> http://linuxtracker.org/index.php?page=torrent-details&id=c08d546327215f32f566f6d215ba30fff952692c > > > Thanks for the torrent but unfortunately it's just too slow to > download (17kbs) or 28 hours to download. I was looking for something > that could be downloaded in a couple of hours or so. > Yes, unfortunately there are not enough seeders at the moment. Still better than nothing ;) Well, it seems there are now pre-built packages for kde 4 in FreeBSD servers. Just set your PACKAGESITE to 7-stable, i.e: setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/ and install: pkg_add -r kde4-4.1.0 From m.seaman at infracaninophile.co.uk Tue Sep 2 05:36:38 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Sep 2 05:36:45 2008 Subject: LDAP and Account Management In-Reply-To: <48BC5F97.1000809@telting.org> References: <48BC5F97.1000809@telting.org> Message-ID: <48BCD0D8.7070309@infracaninophile.co.uk> Chris wrote: > I've toyed with LDAP accounts before to get them to work. But now I'm > going to put it into production. > > I'm wondering though about user and group management. When ports are > installed on individual servers, users and groups are sometimes added > for daemons. It would be nice to receive notification and possibly > block and or redirect actions to appropriate scripts and the LDAP server. > > Are there any ports or mechanisms for hooking into the scripts and > programs that handle account modification (chpass, adduser and pw) or > does everyone typically do this sort of thing by hand? For the user and groups set up when installing from the ports -- unfortunately no. Each port that needs to set up a UID/GID will have its own pkg-install script to do the work. These are all written separately for each port that needs one -- no common code libraries etc. other than cut'n'paste from some other port. These are generally wrappers around pw(8) and have no facility for switching to some other program to generate accounts. I believe though that while pw(8) can only update text format files such as /etc/master.passwd or /etc/group it will report all of the UIDs or GIDs known to the system from whatever authentication databases you are hooked up to. So if you create appropriate UIDs and GIDs in LDAP before trying to install the port, you shouldn't end up with a second local account withthe same credentials. Also note that you will likely have boot-order problems: you'll need to ensure that your system is up and on the network and resolving the user information with whatever network based service you're using before any of the daemons that run as those UIDs are started. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/72636e1a/signature.pgp From jonathan+freebsd-questions at hst.org.za Tue Sep 2 06:43:20 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Tue Sep 2 06:43:28 2008 Subject: LDAP and Account Management In-Reply-To: <48BC5F97.1000809@telting.org> References: <48BC5F97.1000809@telting.org> Message-ID: <200809020846.31216.jonathan+freebsd-questions@hst.org.za> On Monday 01 September 2008 23:33:11 Chris wrote: > I've toyed with LDAP accounts before to get them to work. But now I'm > going to put it into production. > > I'm wondering though about user and group management. When ports are > installed on individual servers, users and groups are sometimes added > for daemons. It would be nice to receive notification and possibly > block and or redirect actions to appropriate scripts and the LDAP server. > > Are there any ports or mechanisms for hooking into the scripts and > programs that handle account modification (chpass, adduser and pw) or > does everyone typically do this sort of thing by hand? I take a fairly relaxed approach to this, with the following basic rules: uids/gids for real users must be in LDAP, and unique across the whole network; uids/gids for users created by ports are in /etc/passwd and are only unique per-server - I don't mind if two different servers have different uids/gids for the same daemon user, or the same uid/gid for two different daemon users. The problem is that some ports (isc-dhcp3-server springs to mind) simply add their user as the next available uid - which by default is one more than the highest uid currently in use. I deal with this by having two blocks of uids: 1000-1099 for daemons, and 1100 and up for LDAP users. I also create /etc/pw.conf containing the two lines reuseuids yes reusegids yes which means that pw(8) takes the lowest available uid, rather than the default. My biggest gripe with LDAP user management is that passwd(1) has the hooks to allow it to use PAM (which with appropriate modules and configuration would allow changing the LDAP password) but the code is diked out. HTH Jonathan From kusanagiyang at gmail.com Tue Sep 2 06:45:24 2008 From: kusanagiyang at gmail.com (Richard Yang) Date: Tue Sep 2 06:45:32 2008 Subject: Question on bind page Message-ID: Dear support, I am trying to follow through http://www.freebsd.org/doc/en/books/handbook/network-dns.html as to setup a dns server When I try /etc/rc.d/named forcestart it always said Starting named When I use ps to check whether it actually started, I can confirm it is not started. To start named is pretty much the first step before going to configure BIND. I have to reinstall it and it still doesn't work. Could you give me some hints? Thank you. -- Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com From peter.schuller at infidyne.com Tue Sep 2 08:00:54 2008 From: peter.schuller at infidyne.com (Peter Schuller) Date: Tue Sep 2 08:01:15 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <48BB2359.4000208@xmission.com> References: <48BB2359.4000208@xmission.com> Message-ID: <20080902080052.GA38984@hyperion.scode.org> > dump -0af /mnt/d201gly-0.dump / [snip] > restore -rf /mnt/restore/d201gly-0.dump > > it complains about '/' issues > it complains about 'expecting YYYYYY got ZZZZZZ' I very rarely use dump/restore, but based on the man page I cannot see what's wrong other than the live fs issue already mentioned. Since no one has suggested the real problem, I would like to suggest that all those 'expecting ...' are also related to whatever errors were printed at the very beginning. So an actual dump of the exact output there would be useful. FWIW, for doing stuff like moving the root fs (which I have done more often than I would like) I recommend using tar -cp or rsync -a. I preserves everything I care about preserving, and it has well-known and well-tested semantics that I feel comfortable with. -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/a36ee439/attachment.pgp From nightrecon at verizon.net Tue Sep 2 08:18:54 2008 From: nightrecon at verizon.net (Michael Powell) Date: Tue Sep 2 08:19:02 2008 Subject: Question on bind page References: Message-ID: Richard Yang wrote: > Dear support, > > I am trying to follow through > http://www.freebsd.org/doc/en/books/handbook/network-dns.html as to setup > a dns server > When I try > /etc/rc.d/named forcestart > it always said > Starting named > > When I use ps to check whether it actually started, I can confirm it is > not started. > To start named is pretty much the first step before going to configure > BIND. I have to reinstall it and it still doesn't work. > > Could you give me some hints? > Thank you. > man rndc -Mike From jonathan+freebsd-questions at hst.org.za Tue Sep 2 08:32:04 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Tue Sep 2 08:32:15 2008 Subject: Question on bind page In-Reply-To: References: Message-ID: <200809021035.14757.jonathan+freebsd-questions@hst.org.za> On Tuesday 02 September 2008 08:12:13 Richard Yang wrote: [snip] > To start named is pretty much the first step before going to configure > BIND. I have to reinstall it and it still doesn't work. Personally, I would have said it's exactly the other way round: you shouldn't start named until after you've configured it. Are you seeing any messages in the log files (I'm fairly sure BIND logs in /var/log/messages)? Jonathan From joel at levee-online.org Tue Sep 2 10:15:47 2008 From: joel at levee-online.org (joel@levee-online.org) Date: Tue Sep 2 10:15:59 2008 Subject: starting sysinstall at boot time Message-ID: <1220348951.48bd0c17315aa@imp.online.net> Hi, Something seems magic in freebsd: I am looking for what does start sysinstall at boot time when I boot from the installation CD. The only thing related to systinstall is the setting of the init_path variable in the loader.rc file but it is in comment thus the loader should finish by launchinig init as usual so what does make it launch sysinstall instead? I also examined /etc/ttys which is used by init but this file is standard and I do not find anything that could tell init to start sysinstall instead of getty! As you may guess, my goal is to create an customized installation CD in order to install a network appliance wich embedds freebsd. Sincerily, Joel Levee From derek at computinginnovations.com Tue Sep 2 10:33:53 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 2 10:34:02 2008 Subject: /etc/hosts In-Reply-To: <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <48BC8475.3040900@wingfoot.org> <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net> Message-ID: <6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com> At 08:53 PM 9/1/2008, Tom Marchand wrote: >I am trying to resolve the 192.168.2.3 address. > >::1 localhost.local localhost >127.0.0.1 localhost.local localhost >72.15.233.132 host.local host >72.15.233.132 host.local. >192.168.2.3 test > >On Sep 1, 2008, at 8:10 PM, Glenn Sieb wrote: > >>Tom Marchand said the following on 9/1/08 7:52 PM: >>>Hi, >>> >>>I've got an issue where hosts defined in my /etc/hosts are not being >>>resolved. I've looked at resolv.conf, host.conf and nsswitch.conf >>>and >>>everything looks ok. It's my understanding that with the below >>>configurations, /etc/hosts should be used first then DNS. Correct? >>>This is a 6.1 system. >> >>Can we see your /etc/hosts file? >> >>Best, >>--Glenn What error are you getting from ping? Is it not able to ping the ip 192.168.2.3? Or is the ping unable to route to that network and host? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From sonic2000gr at gmail.com Tue Sep 2 10:51:27 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Sep 2 10:51:34 2008 Subject: starting sysinstall at boot time In-Reply-To: <1220348951.48bd0c17315aa@imp.online.net> References: <1220348951.48bd0c17315aa@imp.online.net> Message-ID: <48BD1AA9.8000307@gmail.com> joel@levee-online.org wrote: > Hi, > > Something seems magic in freebsd: I am looking for what does start > sysinstall at boot time when I boot from the installation CD. > The only thing related to systinstall is the setting of the init_path variable > in the loader.rc file but it is in comment thus the loader should finish > by launchinig init as usual so what does make it launch sysinstall instead? > > I also examined /etc/ttys which is used by init but this file is standard > and I do not find anything that could tell init to start sysinstall instead > of getty! > > As you may guess, my goal is to create an customized installation CD in > order to install a network appliance wich embedds freebsd. > > Sincerily, > Joel Levee > > > This is a tricky one, kind of black magic ;) Seriously, it is quite simple: You correctly located the init_path variable. This contains the following (on a 6.3-RELEASE CD I have handy at the moment): #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall" This is commented out, but the values shown are the built-in defaults. Now, if you take a look at the CD filesystem structure, *there is* an /sbin/init and there is *no* /stand/sysinstall. So, you would assume that init would run first. However, here comes the caveat: The root filesystem when you boot your installation media, is *not* the CD-ROM itself. Look at /boot/loader.conf: mfsroot_load="YES" mfsroot_type="mfs_root" mfsroot_name="/boot/mfsroot" You will find /boot/mfsroot.gz as the file that acts as the root filesystem. You can actually examine the contents of this if you mount it using mdconfig (assuming you mounted your install CD on /cdrom): cp /cdrom/boot/mfsroot.gz /tmp cd /tmp unzip mfsroot.gz (Can probably be mounted compressed(?), did not check) mdconfig -f mfsroot md0 mount /dev/md0 /mnt Check the contents of /mnt: bin boot dev etc mnt sbin stand var sbin is a symbolic link to stand. There is no '/stand/init' in , but '/stand/sysinstall' exists. Therefore, sysinstall executes ;) From sahil at tandon.net Tue Sep 2 11:00:52 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Sep 2 11:01:00 2008 Subject: /etc/hosts In-Reply-To: <6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <48BC8475.3040900@wingfoot.org> <15683805-927F-424A-ADD1-1E1E43D5754D@comcast.net> <6.0.0.22.2.20080902053128.025bf2d8@mail.computinginnovations.com> Message-ID: <20080902110040.GA15834@shepherd> Derek Ragona wrote: > What error are you getting from ping? I think the OP said he did not have a problem with ping. -- Sahil Tandon From artis.caune at gmail.com Tue Sep 2 11:05:22 2008 From: artis.caune at gmail.com (Artis Caune) Date: Tue Sep 2 11:05:29 2008 Subject: starting sysinstall at boot time In-Reply-To: <1220348951.48bd0c17315aa@imp.online.net> References: <1220348951.48bd0c17315aa@imp.online.net> Message-ID: <9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com> On Tue, Sep 2, 2008 at 12:49 PM, wrote: > > Hi, > > Something seems magic in freebsd: I am looking for what does start > sysinstall at boot time when I boot from the installation CD. > The only thing related to systinstall is the setting of the init_path variable > in the loader.rc file but it is in comment thus the loader should finish > by launchinig init as usual so what does make it launch sysinstall instead? I think /sbin/init is replaced with sysinstall. > As you may guess, my goal is to create an customized installation CD in > order to install a network appliance wich embedds freebsd. I also use custom install script, and I replace /etc/rc on mfs image. -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD From kirk at strauser.com Tue Sep 2 14:01:06 2008 From: kirk at strauser.com (Kirk Strauser) Date: Tue Sep 2 14:01:12 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <48BB2359.4000208@xmission.com> References: <48BB2359.4000208@xmission.com> Message-ID: <200809020900.53118.kirk@strauser.com> On Sunday 31 August 2008 18:03:53 Lloyd M Caldwell wrote: > I needed to increase the size of my freebsd root (/). I booted, single > user, attached a large usb freebsd formatted file system to receive the > backup image. And you're sure that the "large usb freebsd formatted file system" is intact and that your dump is uncorrupted? -- Kirk Strauser From ohartman at zedat.fu-berlin.de Tue Sep 2 14:20:52 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Tue Sep 2 14:21:00 2008 Subject: Subversion 1.5.1 authentication with OpenLDAP 2.4.11 via SASL2: trouble, svn never contacts LDAP :-( Message-ID: <48BD4B3E.3000800@zedat.fu-berlin.de> Hello, I'm like floating helpless in the water. Scenario: I'd like to authenticate some useres having write access to specific repositories on the subversion server via OpenLDAP and already set up things, which are decribed below in further detail. But trying to check out or import or check in things never worked due to svnserve never contacts the LDAP. I think I have already every prerequisite software installed. Here it is: cyrus-sasl-2.1.22_1 RFC 2222 SASL (Simple Authentication and Security Layer) cyrus-sasl-ldapdb-2.1.22 SASL LDAPDB auxprop plugin openldap-sasl-client-2.4.11 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.11 Open source LDAP server implementation Subversion 1.5.1 OpenLDAP is running fine, subversiona is also running fine. Out of the most recent documentations I took several 'cook-book' examples to perform successfully access to repositories by LDAP authenticated users. In LDAP I created olcAuthzRegEx with uid 0}"uid=(^[^,].*),cn=realm.de,cn=external,cn=auth" "cn=svnserve,dc=dc=realm,dc=de" The DIT contains this entity: dn: cn=svnproxy,dc=realm,dc=de objcetClass: top objectClass: organizationalPerson cn: svnproxy sn: svnproxy authzTo: ldap:///dc=realm,dc=de??base?(objectClass=posixAccount) I created a file in /usr/local/etc/sasl2/svn.conf which conatins following things: pwcheck_method: auxprop auxprop_plugin: ldap ldapdb_uri: ldap://ldap.realm.de/ #ldapdb_id: svnproxy dapdb_mech: EXTERNAL ldapdb_rc: /usr/local/etc/sasl2/svn_ldaprc ldapdb_startls: yes log_level: 7 The autheticating client machine is already part of an LDAP backed up network and authenticates users successfully. A server.pem and server.key SSL certificate and key-file are present and have been approved working. After installing cyrus-sasl2-ldap port I recompiled everything (LDAP, subversion and fellows ...) making sure I did not forget anything. Subversion's repository has been configured out of the handbook, very simple and is already using SASL. But whatever I do, svn complains about non-existent users in the database: svn: Authentication error from server: SASL(-13): user not found: no secret in database svn: Your commit message was left in a temporary file: On the LDAP-server side, I never see a contact-attempt (server runs with logging ACL and stats), nor do I see any reasonable logging messages on the client side although I configured loglevel 7, but this seems to be a simple bogus fake option. I can't tell how many different ways I tried (but with that crap of documentation in SASL it is hard to come along with some clues). I also tried the different ways of user mapping described in the OpenLDAP 2.4 docu, but without success - I can't see any logging when the attempt to access a mapped user is performed. Even worser, it is impossible to make 'authzTo' visible in ldapvi or LUMA, so I fly blind when creating/adding this attribute. Well, I'm not capable of getting any LDAP contact so I guess there is something special with the port or I'm to stupid reading the documentation. If there is someone out here running a similar scenario, you are welcome to give me some hints. Thanks in advance, Oliver From maanjee at gmail.com Tue Sep 2 14:54:11 2008 From: maanjee at gmail.com (VeeJay) Date: Tue Sep 2 14:54:19 2008 Subject: su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory, Any help? Message-ID: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com> Hi On the screen it says.... su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory Any help to correct this problem? -- Thanks! BR / vj From freebsd at optiksecurite.com Tue Sep 2 15:02:45 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 15:02:52 2008 Subject: How to compare 2 images from command line Message-ID: <48BD5574.7010107@optiksecurite.com> Hi everyone, I'm trying to determine if 2 jpeg images are identical. The images are screenshots taken with scrot at different times. The point is to know if the display is working correctly. I tried to use 'diff' but without success, probably because of the metadata included in the image. I also tried the 'compare' command from imagemagick, but it produce an image containing the difference between the 2 images instead of telling me if both images are identical. So, my question is what are you using to determine if 2 images are identical? I'm using FreeBSD 7.0 and I need to be able to script this comparaison for an integration in Nagios. Thank you, Martin From gerard at seibercom.net Tue Sep 2 15:11:36 2008 From: gerard at seibercom.net (Gerard) Date: Tue Sep 2 15:11:43 2008 Subject: "SYSCTL" error message upon bootup Message-ID: <20080902111120.57e894a8@scorpio> For no apparent reason, the following error message has suddenly started showing up when I reboot the machine: sysctl: unknown oid 'net.fibs' I am running FBSD-6.3 presently. Is this error important and if so, what can I do to correct it? Thanks! -- Gerard gerard@seibercom.net All extremists should be taken out and shot. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/be435790/signature.pgp From barry.byrne at wbtsystems.com Tue Sep 2 15:11:53 2008 From: barry.byrne at wbtsystems.com (Barry Byrne) Date: Tue Sep 2 15:12:00 2008 Subject: _secure_path: cannot stat /dev/null/.login_conf: Not adirectory, Any help? In-Reply-To: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com> References: <2cd0a0da0809020754t58fb8da6u6e719173e3687b2@mail.gmail.com> Message-ID: <00fa01c90d0e$3bbee800$72010c0a@wbt.wbtsystems.com> > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of VeeJay > Sent: 02 September 2008 15:54 > To: FreeBSD-Questions; VeeJay > Subject: su: _secure_path: cannot stat /dev/null/.login_conf: > Not adirectory, Any help? > > Hi > > On the screen it says.... > > su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory > > Any help to correct this problem? > > > -- > Thanks! You haven't said what you did, but it would look to me like you set the home directory of a user to /dev/null and are now trying to su to that user. If this is the case, fix the home directory to the correct path. - Barry From jcigar at ulb.ac.be Tue Sep 2 15:13:52 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Tue Sep 2 15:14:06 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5574.7010107@optiksecurite.com> References: <48BD5574.7010107@optiksecurite.com> Message-ID: <1220368396.3680.10.camel@frodon.be-bif.ulb.ac.be> /sbin/md5 image1.ext image2.ext ? On Tue, 2008-09-02 at 11:02 -0400, FreeBSD wrote: > Hi everyone, > > I'm trying to determine if 2 jpeg images are identical. The images are > screenshots taken with scrot at different times. The point is to know if > the display is working correctly. I tried to use 'diff' but without > success, probably because of the metadata included in the image. I also > tried the 'compare' command from imagemagick, but it produce an image > containing the difference between the 2 images instead of telling me if > both images are identical. > > So, my question is what are you using to determine if 2 images are > identical? > > I'm using FreeBSD 7.0 and I need to be able to script this comparaison > for an integration in Nagios. > > Thank you, > > Martin > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From freebsd at optiksecurite.com Tue Sep 2 15:24:35 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 15:24:42 2008 Subject: How to compare 2 images from command line In-Reply-To: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> Message-ID: <48BD5A8A.5080400@optiksecurite.com> Tom Marchand a ?crit : > Hash the images and compare the hashes. > > -------------- Original message ---------------------- > From: FreeBSD >> Hi everyone, >> >> I'm trying to determine if 2 jpeg images are identical. The images are >> screenshots taken with scrot at different times. The point is to know if >> the display is working correctly. I tried to use 'diff' but without >> success, probably because of the metadata included in the image. I also >> tried the 'compare' command from imagemagick, but it produce an image >> containing the difference between the 2 images instead of telling me if >> both images are identical. >> >> So, my question is what are you using to determine if 2 images are >> identical? >> >> I'm using FreeBSD 7.0 and I need to be able to script this comparaison >> for an integration in Nagios. >> >> Thank you, >> >> Martin I just tried it and it doesn't work. The hashes are different. I can't say that I'm surprised since 'diff' is "seeing" a difference between the two identical images. Thanks for the suggestion From andrewlylegould at gmail.com Tue Sep 2 15:28:34 2008 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue Sep 2 15:28:41 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5A8A.5080400@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> Message-ID: On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD wrote: > Tom Marchand a ?crit : > >> Hash the images and compare the hashes. >> >> -------------- Original message ---------------------- >> From: FreeBSD >> >>> Hi everyone, >>> >>> I'm trying to determine if 2 jpeg images are identical. The images are >>> screenshots taken with scrot at different times. The point is to know if the >>> display is working correctly. I tried to use 'diff' but without success, >>> probably because of the metadata included in the image. I also tried the >>> 'compare' command from imagemagick, but it produce an image containing the >>> difference between the 2 images instead of telling me if both images are >>> identical. >>> >>> So, my question is what are you using to determine if 2 images are >>> identical? >>> >>> I'm using FreeBSD 7.0 and I need to be able to script this comparaison >>> for an integration in Nagios. >>> >>> Thank you, >>> >>> Martin >>> >> > I just tried it and it doesn't work. The hashes are different. I can't > say that I'm surprised since 'diff' is "seeing" a difference between the > two identical images. > > > Thanks for the suggestion > Yes, there's a huge difference between testing differences in images and testing differences in files. What do you mean by "...know if the display is working correctly."? Andrew From james.johnson at emerald.fiserv.com Tue Sep 2 15:30:33 2008 From: james.johnson at emerald.fiserv.com (Johnson, James) Date: Tue Sep 2 15:30:40 2008 Subject: Backup Exec v12 In-Reply-To: <20080821220422.1a612822@ayiin> References: <8b49e35268de6a29fa7f0405610d9cbf@www.refriendz.com> <20080821220422.1a612822@ayiin> Message-ID: Thanks, I'll try that today. I'll let you know... James Johnson System Administrator Desk 858-207-5591 Main 858-592-6262 Fiserv - Emerald Publications -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Norberto Meijome Sent: Thursday, August 21, 2008 5:04 AM To: freebsd-questions@freebsd.org Subject: Re: Backup Exec v12 On Wed, 20 Aug 2008 21:41:35 -0700 "Johnson, James" wrote: > Does anyone have any experience installing the backup exec agent (BEWS_12.1364_LINUX-UNIX-MAC_AGENTS.tar.gz) on Freebsd 7. i don't recall if it's v12 that i've used,but it runs relatively well - just make sure you have linux compatibility layer enabled. > > I've been trying for the past few days with no progress. I called for support, but guess what Symantec does not support Freebsd. i hope you really didn't expect something useful out of that call ... :) > # ./installralus > Not Supported Yet. > ./installralus: ./perl//bin/perl: not found > [...] > > > vmFreebsd# find / -name perl > /usr/bin/perl > /usr/local/bin/perl [...] > > ./perl/$OS/bin/perl -I. -I$PATH -I$VXIF_HOME -I./perl/$OS/lib/$PERL_VER installr > alus.pl $* have u tried changing that call to perl to the /usr/local/bin/perl ? at least in some versions I tried, all you have to do is run the exec , forget the installer, it worked ok for me.. YMMV B _________________________ {Beto|Norberto|Numard} Meijome If you were supposed to understand it, we wouldn't call it 'code'. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From freebsd at optiksecurite.com Tue Sep 2 15:32:39 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 15:32:46 2008 Subject: How to compare 2 images from command line In-Reply-To: References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> Message-ID: <48BD5C65.9030502@optiksecurite.com> Andrew Gould a ?crit : > > > On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > wrote: > > Tom Marchand a ?crit : > > Hash the images and compare the hashes. > > -------------- Original message ---------------------- > From: FreeBSD > > > Hi everyone, > > I'm trying to determine if 2 jpeg images are identical. The > images are screenshots taken with scrot at different times. > The point is to know if the display is working correctly. I > tried to use 'diff' but without success, probably because of > the metadata included in the image. I also tried the > 'compare' command from imagemagick, but it produce an image > containing the difference between the 2 images instead of > telling me if both images are identical. > > So, my question is what are you using to determine if 2 > images are identical? > > I'm using FreeBSD 7.0 and I need to be able to script this > comparaison for an integration in Nagios. > > Thank you, > > Martin > > > I just tried it and it doesn't work. The hashes are different. I can't > say that I'm surprised since 'diff' is "seeing" a difference between the > two identical images. > > > Thanks for the suggestion > > > Yes, there's a huge difference between testing differences in images and > testing differences in files. What do you mean by "...know if the > display is working correctly."? > > Andrew I want to determine if Mplayer is working correctly. The best way to be sure is to check if the display on the screen is changing. That's the purpose of the screenshots. The screenshots are taken by Nagios every 5 minutes and the new screenshot is compared with the preceding one. But, by now, it doesn't work because every tool we try is seeing a diffence between 2 identical images. Thank you for your interest From wojtek at wojtek.tensor.gdynia.pl Tue Sep 2 15:34:12 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Sep 2 15:34:19 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5574.7010107@optiksecurite.com> References: <48BD5574.7010107@optiksecurite.com> Message-ID: <20080902173310.E18363@wojtek.tensor.gdynia.pl> > I'm trying to determine if 2 jpeg images are identical. The images are > screenshots taken with scrot at different times. The point is to know if the > display is working correctly. I tried to use 'diff' but without success, > probably because of the metadata included in the image. I also tried the cmp does byte-to byte comparision. if you want to make sure uncompressed bitmaps are the same then uncompress (cmp) and then compare From freebsd at edvax.de Tue Sep 2 15:36:40 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 2 15:36:47 2008 Subject: "SYSCTL" error message upon bootup In-Reply-To: <20080902111120.57e894a8@scorpio> References: <20080902111120.57e894a8@scorpio> Message-ID: <20080902173636.c5f832d7.freebsd@edvax.de> On Tue, 2 Sep 2008 11:11:20 -0400, Gerard wrote: > For no apparent reason, the following error message has suddenly > started showing up when I reboot the machine: > > sysctl: unknown oid 'net.fibs' > > > I am running FBSD-6.3 presently. Is this error important and if so, > what can I do to correct it? On FreeBSD 7, net.fibs is a valid oid. Can you determine when (in the booting process) this message is shown? Maybe you have a setting of net.fibs in /etc/sysctl.conf, or maybe this is a value set by some software package? % sysctl net.fibs net.fibs: 1 In /usr/include/net/route.h, something regarding FIBS is mentioned... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Sep 2 15:40:48 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 2 15:40:55 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5C65.9030502@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> Message-ID: <20080902174044.520fbbb3.freebsd@edvax.de> On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD wrote: > I want to determine if Mplayer is working correctly. The best way to be > sure is to check if the display on the screen is changing. That's the > purpose of the screenshots. And this works? I always thought mplayer would output the video stream via DRI / DRM, so on the screenshot, nothing would be seen... > The screenshots are taken by Nagios every 5 > minutes and the new screenshot is compared with the preceding one. But, > by now, it doesn't work because every tool we try is seeing a diffence > between 2 identical images. The images may be identical in content, but it's completely possible that other data (others than the pictural information) is coded into the file, for example date and time of creation, so the files may be different, while the pictures they show are identical. It would be useful first to "decompile" the files - create a new file that only contains pictural information, nothing more. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From chinocubus at yahoo.com Tue Sep 2 15:45:54 2008 From: chinocubus at yahoo.com (ElihuJ) Date: Tue Sep 2 15:46:00 2008 Subject: Cron Question Message-ID: <19272656.post@talk.nabble.com> Hi all. I have a question about cron jobs that seem to be running to long or with multiple copies of itself. For example, I have a backup script that I run that seems to make multiple copies of itself. If I view the running processes I see numerous instances of the same cron job. Is there something I can do to limit this from happening? When it does, it drains my CPU and some of my other processes are non responsive. Any help would be appreciated. Thank you. -- View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19272656.html Sent from the freebsd-questions mailing list archive at Nabble.com. From wmoran at potentialtech.com Tue Sep 2 15:47:07 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Sep 2 15:47:14 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5C65.9030502@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> Message-ID: <20080902114639.f06b082a.wmoran@potentialtech.com> In response to FreeBSD : > Andrew Gould a ?crit : > > > > > > On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > > wrote: > > > > Tom Marchand a ?crit : > > > > Hash the images and compare the hashes. > > > > -------------- Original message ---------------------- > > From: FreeBSD > > > > > > Hi everyone, > > > > I'm trying to determine if 2 jpeg images are identical. The > > images are screenshots taken with scrot at different times. > > The point is to know if the display is working correctly. I > > tried to use 'diff' but without success, probably because of > > the metadata included in the image. I also tried the > > 'compare' command from imagemagick, but it produce an image > > containing the difference between the 2 images instead of > > telling me if both images are identical. > > > > So, my question is what are you using to determine if 2 > > images are identical? > > > > I'm using FreeBSD 7.0 and I need to be able to script this > > comparaison for an integration in Nagios. > > > > Thank you, > > > > Martin > > > > > > I just tried it and it doesn't work. The hashes are different. I can't > > say that I'm surprised since 'diff' is "seeing" a difference between the > > two identical images. > > > > > > Thanks for the suggestion > > > > > > Yes, there's a huge difference between testing differences in images and > > testing differences in files. What do you mean by "...know if the > > display is working correctly."? > > > > Andrew > > I want to determine if Mplayer is working correctly. The best way to be > sure is to check if the display on the screen is changing. That's the > purpose of the screenshots. The screenshots are taken by Nagios every 5 > minutes and the new screenshot is compared with the preceding one. But, > by now, it doesn't work because every tool we try is seeing a diffence > between 2 identical images. Can you put the screenshots into some other format? As you mentioned, the jpeg format includes metadata, which might include the creation time and would cause every image to be unique from a filesystem view. For example, I don't believe bitmaps include metadata, which would cause them to be identical if the display were identical. -- Bill Moran http://www.potentialtech.com From freebsd at optiksecurite.com Tue Sep 2 15:58:22 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 15:58:28 2008 Subject: How to compare 2 images from command line In-Reply-To: <20080902114639.f06b082a.wmoran@potentialtech.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> <20080902114639.f06b082a.wmoran@potentialtech.com> Message-ID: <48BD626F.6000401@optiksecurite.com> Bill Moran a ?crit : > In response to FreeBSD : > >> Andrew Gould a ?crit : >>> >>> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD >> > wrote: >>> >>> Tom Marchand a ?crit : >>> >>> Hash the images and compare the hashes. >>> >>> -------------- Original message ---------------------- >>> From: FreeBSD >> > >>> >>> Hi everyone, >>> >>> I'm trying to determine if 2 jpeg images are identical. The >>> images are screenshots taken with scrot at different times. >>> The point is to know if the display is working correctly. I >>> tried to use 'diff' but without success, probably because of >>> the metadata included in the image. I also tried the >>> 'compare' command from imagemagick, but it produce an image >>> containing the difference between the 2 images instead of >>> telling me if both images are identical. >>> >>> So, my question is what are you using to determine if 2 >>> images are identical? >>> >>> I'm using FreeBSD 7.0 and I need to be able to script this >>> comparaison for an integration in Nagios. >>> >>> Thank you, >>> >>> Martin >>> >>> >>> I just tried it and it doesn't work. The hashes are different. I can't >>> say that I'm surprised since 'diff' is "seeing" a difference between the >>> two identical images. >>> >>> >>> Thanks for the suggestion >>> >>> >>> Yes, there's a huge difference between testing differences in images and >>> testing differences in files. What do you mean by "...know if the >>> display is working correctly."? >>> >>> Andrew >> I want to determine if Mplayer is working correctly. The best way to be >> sure is to check if the display on the screen is changing. That's the >> purpose of the screenshots. The screenshots are taken by Nagios every 5 >> minutes and the new screenshot is compared with the preceding one. But, >> by now, it doesn't work because every tool we try is seeing a diffence >> between 2 identical images. > > Can you put the screenshots into some other format? As you mentioned, > the jpeg format includes metadata, which might include the creation > time and would cause every image to be unique from a filesystem view. > For example, I don't believe bitmaps include metadata, which would cause > them to be identical if the display were identical. > Thank you! It did the trick. I just converted the image from png (sorry it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize both images as identical. Thanks everyone for your support. Martin From freebsd at optiksecurite.com Tue Sep 2 15:59:53 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 16:00:00 2008 Subject: How to compare 2 images from command line In-Reply-To: <20080902174044.520fbbb3.freebsd@edvax.de> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> <20080902174044.520fbbb3.freebsd@edvax.de> Message-ID: <48BD62D0.4030809@optiksecurite.com> Polytropon a ?crit : > On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD wrote: >> I want to determine if Mplayer is working correctly. The best way to be >> sure is to check if the display on the screen is changing. That's the >> purpose of the screenshots. > > And this works? I always thought mplayer would output the video > stream via DRI / DRM, so on the screenshot, nothing would be seen... > Yes it works. I don't know how scrot takes it's screenshot but it does it well ;) >> The screenshots are taken by Nagios every 5 >> minutes and the new screenshot is compared with the preceding one. But, >> by now, it doesn't work because every tool we try is seeing a diffence >> between 2 identical images. > > The images may be identical in content, but it's completely possible > that other data (others than the pictural information) is coded into > the file, for example date and time of creation, so the files may be > different, while the pictures they show are identical. > > It would be useful first to "decompile" the files - create a new file > that only contains pictural information, nothing more. > > > From andrewlylegould at gmail.com Tue Sep 2 16:02:31 2008 From: andrewlylegould at gmail.com (Andrew Gould) Date: Tue Sep 2 16:02:42 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD5C65.9030502@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> Message-ID: On Tue, Sep 2, 2008 at 10:31 AM, FreeBSD wrote: > Andrew Gould a ?crit : > >> >> >> On Tue, Sep 2, 2008 at 10:23 AM, FreeBSD > freebsd@optiksecurite.com>> wrote: >> >> Tom Marchand a ?crit : >> >> Hash the images and compare the hashes. >> >> -------------- Original message ---------------------- >> From: FreeBSD > > >> >> Hi everyone, >> >> I'm trying to determine if 2 jpeg images are identical. The >> images are screenshots taken with scrot at different times. >> The point is to know if the display is working correctly. I >> tried to use 'diff' but without success, probably because of >> the metadata included in the image. I also tried the >> 'compare' command from imagemagick, but it produce an image >> containing the difference between the 2 images instead of >> telling me if both images are identical. >> >> So, my question is what are you using to determine if 2 >> images are identical? >> >> I'm using FreeBSD 7.0 and I need to be able to script this >> comparaison for an integration in Nagios. >> >> Thank you, >> >> Martin >> >> >> I just tried it and it doesn't work. The hashes are different. I can't >> say that I'm surprised since 'diff' is "seeing" a difference between >> the >> two identical images. >> >> >> Thanks for the suggestion >> >> >> Yes, there's a huge difference between testing differences in images and >> testing differences in files. What do you mean by "...know if the display >> is working correctly."? >> >> Andrew >> > > I want to determine if Mplayer is working correctly. The best way to be > sure is to check if the display on the screen is changing. That's the > purpose of the screenshots. The screenshots are taken by Nagios every 5 > minutes and the new screenshot is compared with the preceding one. But, by > now, it doesn't work because every tool we try is seeing a diffence between > 2 identical images. > > Thank you for your interest > Are you simply trying to determine whether the mplayer has finished playing a movie (that you're not watching)? It seems to me that the fact that the image changes is not a good indication that mplayer is "working correctly", only that the movie isn't running. From Albert.Shih at obspm.fr Tue Sep 2 16:03:54 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Tue Sep 2 16:04:08 2008 Subject: Cron Question In-Reply-To: <19272656.post@talk.nabble.com> References: <19272656.post@talk.nabble.com> Message-ID: <20080902160351.GI79391@pcjas.obspm.fr> Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit > > Hi all. I have a question about cron jobs that seem to be running to long or > with multiple copies of itself. For example, I have a backup script that I > run that seems to make multiple copies of itself. If I view the running > processes I see numerous instances of the same cron job. Is there something > I can do to limit this from happening? When it does, it drains my CPU and > some of my other processes are non responsive. Any help would be > appreciated. Thank you. That's not the to cron to do that. You must put in your script some flags. For example if you using rsnapshot (in the ports) he put a lock file in /var/run (or what's ever you want) and don't start if the script find this file. When the script is end the file is erase. Something like if_the_lock_file_exit : exit 1 else touch lock_file my_script rm lock_file fi. Regards -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 2 sep 2008 18:01:25 CEST From mail at ozzmosis.com Tue Sep 2 16:17:59 2008 From: mail at ozzmosis.com (andrew clarke) Date: Tue Sep 2 16:18:06 2008 Subject: How to compare 2 images from command line In-Reply-To: <48BD626F.6000401@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> <20080902114639.f06b082a.wmoran@potentialtech.com> <48BD626F.6000401@optiksecurite.com> Message-ID: <20080902161755.GA99236@ozzmosis.com> On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD (freebsd@optiksecurite.com) wrote: >> Can you put the screenshots into some other format? As you mentioned, >> the jpeg format includes metadata, which might include the creation >> time and would cause every image to be unique from a filesystem view. >> For example, I don't believe bitmaps include metadata, which would cause >> them to be identical if the display were identical. > > Thank you! It did the trick. I just converted the image from png (sorry > it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize > both images as identical. Before I read this I was going to suggest you could try removing the metadata using something like jhead. As it turns out, you say you're using PNG format images, not JPEGs, but perhaps there's an equivalent to jhead to work with metadata in PNG files - just as an alternative to converting each PNG to BMP (which could be CPU intensive). Regards Andrew From freebsd at optiksecurite.com Tue Sep 2 16:22:05 2008 From: freebsd at optiksecurite.com (FreeBSD) Date: Tue Sep 2 16:22:11 2008 Subject: How to compare 2 images from command line In-Reply-To: <20080902161755.GA99236@ozzmosis.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> <20080902114639.f06b082a.wmoran@potentialtech.com> <48BD626F.6000401@optiksecurite.com> <20080902161755.GA99236@ozzmosis.com> Message-ID: <48BD680F.2020102@optiksecurite.com> andrew clarke a ?crit : > On Tue 2008-09-02 11:57:35 UTC-0400, FreeBSD (freebsd@optiksecurite.com) wrote: > >>> Can you put the screenshots into some other format? As you mentioned, >>> the jpeg format includes metadata, which might include the creation >>> time and would cause every image to be unique from a filesystem view. >>> For example, I don't believe bitmaps include metadata, which would cause >>> them to be identical if the display were identical. >> Thank you! It did the trick. I just converted the image from png (sorry >> it wasn't jpeg...) to bmp and it works with cmp. Even diff now recognize >> both images as identical. > > Before I read this I was going to suggest you could try removing the > metadata using something like jhead. As it turns out, you say you're > using PNG format images, not JPEGs, but perhaps there's an equivalent > to jhead to work with metadata in PNG files - just as an > alternative to converting each PNG to BMP (which could be CPU intensive). > > Regards > Andrew Thank you for your "almost-suggestion" ;) The screenshot are taken once every 5 minutes and the conversion was pretty instant. I don't think it will be a problem in our case. Martin From pschmehl_lists at tx.rr.com Tue Sep 2 16:24:40 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Tue Sep 2 16:24:47 2008 Subject: Cron Question In-Reply-To: <20080902160351.GI79391@pcjas.obspm.fr> References: <19272656.post@talk.nabble.com> <20080902160351.GI79391@pcjas.obspm.fr> Message-ID: --On September 2, 2008 6:03:51 PM +0200 Albert Shih wrote: > Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit >> >> Hi all. I have a question about cron jobs that seem to be running to >> long or with multiple copies of itself. For example, I have a backup >> script that I run that seems to make multiple copies of itself. If I >> view the running processes I see numerous instances of the same cron >> job. Is there something I can do to limit this from happening? When it >> does, it drains my CPU and some of my other processes are non >> responsive. Any help would be appreciated. Thank you. > > That's not the to cron to do that. Actually, it could be. If the script is started by cron and is still running when the next job is scheduled, cron will start another process. If they're both still running when the next job is scheduled, you'll have three processes running, etc., etc. The first thing I would do is run the script manually and see how long it takes to complete. Then set your cron jobs up to run with enough time between them for the script to complete and exit before the next job starts. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From fbsd06 at mlists.homeunix.com Tue Sep 2 16:30:56 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Sep 2 16:31:04 2008 Subject: "SYSCTL" error message upon bootup In-Reply-To: <20080902111120.57e894a8@scorpio> References: <20080902111120.57e894a8@scorpio> Message-ID: <20080902171518.780da9de@gumby.homeunix.com.> On Tue, 2 Sep 2008 11:11:20 -0400 Gerard wrote: > For no apparent reason, the following error message has suddenly > started showing up when I reboot the machine: > > sysctl: unknown oid 'net.fibs' > > > I am running FBSD-6.3 presently. Is this error important and if so, > what can I do to correct it? > > Thanks! > Do you have apache? http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f From dnelson at allantgroup.com Tue Sep 2 16:40:41 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Tue Sep 2 16:40:48 2008 Subject: Cron Question In-Reply-To: References: <19272656.post@talk.nabble.com> <20080902160351.GI79391@pcjas.obspm.fr> Message-ID: <20080902164037.GM26653@dan.emsphone.com> In the last episode (Sep 02), Paul Schmehl said: > --On September 2, 2008 6:03:51 PM +0200 Albert Shih wrote: > > Le 02/09/2008 ? 08:45:52-0700, ElihuJ a ?crit > >> Hi all. I have a question about cron jobs that seem to be running > >> to long or with multiple copies of itself. For example, I have a > >> backup script that I run that seems to make multiple copies of > >> itself. If I view the running processes I see numerous instances > >> of the same cron job. Is there something I can do to limit this > >> from happening? When it does, it drains my CPU and some of my > >> other processes are non responsive. Any help would be appreciated. > >> Thank you. > > > > That's not the to cron to do that. > > Actually, it could be. If the script is started by cron and is still > running when the next job is scheduled, cron will start another > process. If they're both still running when the next job is > scheduled, you'll have three processes running, etc., etc. I use the lockfile command ( from the procmail port ) to ensure that recurring cron jobs don't overlap if one run takes too long. For example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs from running if one run takes longer than 1 minute: * * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK && ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ; rm /tmp/mrtg.LCK ) The -l 3600 tells lockfile to remove any lockfiles over an hour old ( if the machine was rebooted during an mrtg run for example ) -- Dan Nelson dnelson@allantgroup.com From gerard at seibercom.net Tue Sep 2 16:51:21 2008 From: gerard at seibercom.net (Gerard) Date: Tue Sep 2 16:51:28 2008 Subject: "SYSCTL" error message upon bootup In-Reply-To: <20080902173636.c5f832d7.freebsd@edvax.de> References: <20080902111120.57e894a8@scorpio> <20080902173636.c5f832d7.freebsd@edvax.de> Message-ID: <20080902125113.50e5cbea@scorpio> On Tue, 2 Sep 2008 17:36:36 +0200 Polytropon wrote: [snip] > On FreeBSD 7, net.fibs is a valid oid. Can you determine when > (in the booting process) this message is shown? Maybe you have > a setting of net.fibs in /etc/sysctl.conf, or maybe this is a > value set by some software package? > > % sysctl net.fibs > net.fibs: 1 > > In /usr/include/net/route.h, something regarding FIBS is mentioned... I could not find any mention of it in the 'route.h' file, nor is there anything in the 'sysctl.conf' file. The message is displayed just before the 'login' prompt. How can I determine what program is causing this to occur? -- Gerard gerard@seibercom.net I am firm. You are obstinate. He is a pig-headed fool. Katharine Whitehorn -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/986d7b2b/signature.pgp From jerrymc at msu.edu Tue Sep 2 17:04:06 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Sep 2 17:04:13 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <48BB2359.4000208@xmission.com> References: <48BB2359.4000208@xmission.com> Message-ID: <20080902165831.GA63128@gizmo.acns.msu.edu> On Sun, Aug 31, 2008 at 05:03:53PM -0600, Lloyd M Caldwell wrote: > Hello, > > this all on a 7.0 freebsd system. There are a couple of things missing here. You may have done them and just not mentioned them, but... > Dump/Restore do NOT work as indicated in the handbook (or man pages). It > would be better to remove information from the handbook rather then have > information that doesn't work. I have used dump/restore hundreds or thousands of times, and it works just as described although sometimes the media (tape other disk, whatever) fails. But that is a separate issue. Dump was still working. > I needed to increase the size of my freebsd root (/). I booted, single > user, attached a large usb freebsd formatted file system to receive the > backup image. I ran: > > dump -0af /mnt/d201gly-0.dump / Did you mount the large USB file system to /mnt? mount /dev/-whatever_the_device_name /mnt Otherwise it wrote the dump to /mnt on the old disk which you wiped. > it ran with no complaints and an image was left on the large usb file > system (d201gly-0.dump). OK. Probably must have done the mount (maybe) doing a df -k would have told you if /mnt had the USB mounted on it. Did you really look at and verify that image? Before rebooting and starting up the cdrom and fixit, do a mkdir /junk cd /junk restore -ivf /mnt/d201gly-0.dump and use it to look around and maybe even restore a file or two in that scratch directory /junk (or any name you prefer) to make sure it is really there. I always check dumps I must depend on because tape media and occasionally others can be very unreliable - especially DDS (DAT) and I have had to use a lot of that in the past. So, it has become a regular habit. Checking it with one or two files is no absolute guarantee that the whole dump is readable, but it sure reveals the ones where I screwed up while making the dump and if the whole media is bad. > > I then booted off the livefs cdrom, went to the "Fix-it" from livefs. > > I ran fdisk to setup a pc partition for freebsd owning the entire disk. I presume you mean that you created a single FreeBSD slice on the disk. Something like: fdisk -BI da0 > I ran disklabel to setup and define the swap and 'a' root partition. > I ran disklabel to install boot blocks. That is backwards of what I usually do. I usually do the bsdlabel that writes a new label and put on a boot block first - as in: bsdlabel -w -B da0s1 And then edit the label using bsdlabel to create the 'a' partition. bsdlabel -e da0s1 And edit it (with vi or whatever editor you have specified, I use vi)) so it has everything in an 'a' partition. That usually consists of copying the 'c' line and changing the partition name ('c' to 'a') and making it a '4.2BSD type instead of 'unused' > I ran newfs on this new 'a' partition. This should be straightforward. Just: newfs /dev/da0s1a Note, of course, if the disk is SATA or IDE, it is ad0 instead of da0. > I ran fsck and mount on the new 'a' partition placing it at /mnt/root. > I turned on the large usb drive, fsck'ed it and mounted it on /mnt/restore. > I cd into /mnt/root and run: > > restore -rf /mnt/restore/d201gly-0.dump > This looks all right if you got the mounts right. > it complains about '/' issues > it complains about 'expecting YYYYYY got ZZZZZZ' This is common and normally inconsequential on a dump of a live file system - and a dump of root from a running system, even in single user is a live filesystem. It just means that something changed from the time the dump directory was created and the actual files were written out. > after an hour it completes and NO data file were restored. It did > recreate the directory structure but NOT A SINGLE FILE came back. I've > studied the man pages and have no clue how to rectify this. after > re-reading the handbook on backup basics, I'm sure that anyone using > them will loose everything. They are simply useless. take them offline. > > This is not something a user can "practice", as most (I) don't have > duplicate hardware of everything to try dump/restore methods and find > out they don't work. > > what went wrong? how do i get my system back? The most likely thing is getting the mounts wrong somewhere along the line. Try looking at that dump file on the USB unit using 'restore -vf' Use the fixit and see what is really on it. Go beyond the directory index and try to restore a file or two. eg, boot the fixit, make some space to write - maybe using /tmp cd in to that space mount that USB device/filesystem do restore -vf USB_FILE_SYSTEM (whatever the dive name is) cd all over and pick a couple of small files to restore. If stuff is there, you should be able to restore -rf if the mounts are right. If not, then you will need to use another backup - you do make regular backups, of course. > > lmc@xmission.com > > I've been running freebsd since 2.1 and am beginning to see that unix > and freebsd are at the end of their life. they are just tooo arcane for > day-to-day use, which was why i used them in the last place. all the > gui glue won't fix the broken 'flag' ridden ancient (like me) beast. Most people find the direct command line operation to be an major advantage over the gui - can't do anything unless the gui writer thought of it first trap. Yup, I started with FreeBSD 2.1 as well and, as I mentioned above, I have used dump/restore hundreds, maybe thousands of times to rebuild disks, recover losses and build installs that were done for many machines and the only problem I have ever had that could be called a failure was when media went bad. I have made occasional mistakes such as mis-mounting something, but that was always caught because I use a reasonable amount of double checking of my work, knowing that I am capable of making mistakes. > > this is like the 5th thing that I've followed in the handbook that no > longer works, takes weeks to figure out why and get done. things that > should take minutes take hours, weeks, days, months, years. we have > made NO progress in computing environments. it's so discouraging that > there is zero innovation in an industry that had such high expectations > and potential. You have had a unique series of experiences and possibly are discovering an area in which you might choose not to endeavor, but might want, instead to concentrate on other activities and consign to a person or some persons who are more in tune with the nature of the field, these activities, thus maintaining the happy condition in which individuals are able to work at tasks that are more closely in line with their own propensities and talents. ////jerry > > lmc@xmission.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Tue Sep 2 17:06:10 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Sep 2 17:06:18 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> References: <48BB2359.4000208@xmission.com> <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> Message-ID: <20080902170035.GB63128@gizmo.acns.msu.edu> On Sun, Aug 31, 2008 at 06:53:36PM -0500, J.D. Bronson wrote: > At 05:03 PM 8/31/2008 -0600, Lloyd M Caldwell wrote: > >Hello, > > > >this all on a 7.0 freebsd system. > > > >Dump/Restore do NOT work as indicated in the handbook (or man > >pages). It would be better to remove information from the handbook > >rather then have information that doesn't work. > > Are you trying to resize the same disc or migrate to a NEW disk? > > Migrating to a new (larger) disc is trivial, at least in my experience. > (I have never tried to resize any partitions though on a same disc, > since new hard drives are cheap enough) > > Here is what I do to migrate to a totally new disc: > > Shutdown and install 2nd DRIVE > boot machine... > run sysinstall on the 2nd DRIVE (slice/dice/and setup MBR) > > then I run a small script like this: > (Some presumptions are made ahead of time here) > > #!/bin/sh > > newfs /dev/ad2s1a > newfs /dev/ad2s1d > newfs /dev/ad2s1e > newfs /dev/ad2s1f > newfs /dev/ad2s1g > newfs /dev/ad2s1h > sleep 4 > tunefs -n enable /dev/ad2s1a > tunefs -n enable /dev/ad2s1d > tunefs -n enable /dev/ad2s1e > tunefs -n enable /dev/ad2s1f > tunefs -n enable /dev/ad2s1g > tunefs -n enable /dev/ad2s1h > sleep 4 > mount /dev/ad2s1a /mnta > mount /dev/ad2s1d /mntd > mount /dev/ad2s1e /mnte > mount /dev/ad2s1f /mntf > mount /dev/ad2s1g /mntg > mount /dev/ad2s1h /mnth > > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) > dump -C 32 -0Lf - /usr | ( cd /mntd ; restore xf - ) > dump -C 32 -0Lf - /var | ( cd /mnte ; restore xf - ) > dump -C 32 -0Lf - /home | ( cd /mntf ; restore xf - ) > dump -C 32 -0Lf - /staff | ( cd /mntg ; restore xf - ) > dump -C 32 -0Lf - /users | ( cd /mnth ; restore xf - ) > > umount /mnt* > > > Then shut down. > Place the 2nd drive in the 1st slot and turn it back on. This is the right way, except you left out creating the /mnta.../mnth mount points - which you probably already have created, but are not there on a base system. ////jerry > > Maybe there is a better or simpler way, but I have been doing this for years > and never had any issues. > > YMMV > > -JD > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Tue Sep 2 17:09:05 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Sep 2 17:09:21 2008 Subject: dump/restore don't work, handbook lies In-Reply-To: <20080901024910.16ca76ae@gumby.homeunix.com.> References: <48BB2359.4000208@xmission.com> <200808312353.m7VNrbCI024287@cheyenne.hanadarko.com> <20080901024910.16ca76ae@gumby.homeunix.com.> Message-ID: <20080902170330.GC63128@gizmo.acns.msu.edu> On Mon, Sep 01, 2008 at 02:49:10AM +0100, RW wrote: > On Sun, 31 Aug 2008 18:53:36 -0500 > "J.D. Bronson" wrote: > > > > > dump -C 32 -0Lf - / | ( cd /mnta ; restore xf - ) > > One minor caveat: dumping a live filesystem require dump to take a > snapshot, which in turn require soft-updates to be turned-on. The > default in sysinstall is to enable it for everything but the root > partition. It doesn't "rewuire" the snapshot. That is a feature that is helpful in not missing changes and needs the '-L' flag. But, it will dump just nicely without it and only be momentarily confused on restore if files are missing that show up in the dump directory and will not even know about files that are created after the dump directory was created. If you can tolerate that, then it is not a requirement. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wahjava.ml at gmail.com Tue Sep 2 17:33:16 2008 From: wahjava.ml at gmail.com (=?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla) Date: Tue Sep 2 17:33:24 2008 Subject: smtp authentication In-Reply-To: <200808311116.28934.david@vizion2000.net> References: <200808311116.28934.david@vizion2000.net> Message-ID: <20080902173322.GA13714@chateau.d.lf> In <200808311116.28934.david@vizion2000.net>, David Southwell wrote: >Hi > > I am really ignorant about this issue. > >I am running postfix on freebsd 7.0 using a dynamic IP address and am getting >requests to turn on smtp authentication for outgoing mails to reach servers >such as yahoo.com but do not know how to do it. I think that is probably due to your MTA running on a dynamic IP connection, which are blacklisted for abuse by spammers most of the times. How about you using a smarthost (probably your ISP's mail-server) to deliver your mails from your postfix. I'm using the similar way with Postfix running on my local mail server, relaying all outgoing mails via Google's SMTP servers. HTH Ashish -- ?-- ?- ???? ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/1b523cbb/attachment-0001.pgp From fbsd06 at mlists.homeunix.com Tue Sep 2 17:50:39 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Sep 2 17:50:47 2008 Subject: Cron Question In-Reply-To: <20080902164037.GM26653@dan.emsphone.com> References: <19272656.post@talk.nabble.com> <20080902160351.GI79391@pcjas.obspm.fr> <20080902164037.GM26653@dan.emsphone.com> Message-ID: <20080902185033.523d001f@gumby.homeunix.com.> On Tue, 2 Sep 2008 11:40:37 -0500 Dan Nelson wrote: > I use the lockfile command ( from the procmail port ) to ensure that > recurring cron jobs don't overlap if one run takes too long. For > example, to run mrtg on a 1-minute cycle but prevent multiple mrtgs > from running if one run takes longer than 1 minute: > > * * * * * /usr/local/bin/lockfile -r 1 -l 3600 /tmp/mrtg.LCK && > ( nice -19 /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg ; > rm /tmp/mrtg.LCK ) > > The -l 3600 tells lockfile to remove any lockfiles over an hour old ( > if the machine was rebooted during an mrtg run for example ) > you could also handle stale lock-files, without installing procmail, like this: LCK=/tmp/foo.LCK find $LCK -mtime +3600s -delete if ![ -f "$LCK" ] ; then touch "$LCK" [ -f "$LCK" ] && foo rm "$LCK" fi Presumably the lockfile command also eliminates the race between testing for, and creating, the lock-file, but that's not really needed here. From stapleton.41 at gmail.com Tue Sep 2 18:06:11 2008 From: stapleton.41 at gmail.com (Jim) Date: Tue Sep 2 18:06:20 2008 Subject: cannot make/mount ext2 partition Message-ID: <80f4f2b20809021106j16e334e5na10b5675d018f1e5@mail.gmail.com> I'm trying to create an EXT2 partition so I can share files between FreeBSD and any other operating system I put on the computer, without the limitations of FAT32. My kernel config is the generic kernel, with a bunch of SCSI, RAID and network drivers, MD_ROOT and NFS_ROOT commented out. However, once I'm done making the partition, I can't mount it. When I try mounting it, I get the following error. mount: /dev/ad8s1 : Operation not supported by device Can anyone tell me what I'm doing wrong? I sync'ed the ports tree within the last week, and built the e2fsprogs port this morning. Thanks, -Jim Stapleton The process I went through to create/mount the partition is as follows: [sjss@elrond ~]$ uname -a FreeBSD elrond.var-dev.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul 24 22:27:49 UTC 2008 root@elrond.var-dev.net:/usr/obj/usr/src/sys/JIM20080722 i386 [sjss@elrond ~]$ kldstat Id Refs Address Size Name 1 13 0xc0400000 55c4d8 kernel 2 1 0xc095d000 6ed8 snd_ich.ko 3 2 0xc0964000 4a57c sound.ko 4 1 0xc09af000 75592c nvidia.ko 5 2 0xc1105000 285a8 linux.ko 6 1 0xc112e000 6a5d4 acpi.ko 7 1 0xc65fb000 10000 ext2fs.ko [sjss@elrond ~]$ ls /dev | grep '^ad8' ad8 ad8s1 [sjss@elrond ~]$ sudo mke2fs /dev/ad8s1 mke2fs 1.41.0 (10-Jul-2008) Filesystem label= OS type: FreeBSD Block size=4096 (log=2) Fragment size=4096 (log=2) 9773056 inodes, 39072080 blocks 1953604 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 1193 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 29 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [sjss@elrond ~]$ fdisk /dev/ad8 ******* Working on device /dev/ad8 ******* parameters extracted from in-core disklabel are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 312576642 (152625 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: [sjss@elrond ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt mount: /dev/ad8s1 : Operation not supported by device From gerard at seibercom.net Tue Sep 2 18:12:12 2008 From: gerard at seibercom.net (Gerard) Date: Tue Sep 2 18:12:18 2008 Subject: "SYSCTL" error message upon bootup In-Reply-To: <20080902171518.780da9de@gumby.homeunix.com.> References: <20080902111120.57e894a8@scorpio> <20080902171518.780da9de@gumby.homeunix.com.> Message-ID: <20080902141203.736ad39b@scorpio> On Tue, 2 Sep 2008 17:15:18 +0100 RW wrote: > Do you have apache? > > http://groups.google.com/group/mailing.freebsd.ports-bugs/browse_thread/thread/b8f17e78869e738f Yes, and come to think about it, this problem just started happening after I updated it. I assume that the patch listed above will be incorporated into the port shortly. Thanks! -- Gerard gerard@seibercom.net If Karl, instead of writing a lot about Capital, had made a lot of Capital, it would have been much better. Karl Marx's Mother -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080902/e18e6429/signature.pgp From freebsd at edvax.de Tue Sep 2 18:41:32 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 2 18:41:39 2008 Subject: "SYSCTL" error message upon bootup In-Reply-To: <20080902125113.50e5cbea@scorpio> References: <20080902111120.57e894a8@scorpio> <20080902173636.c5f832d7.freebsd@edvax.de> <20080902125113.50e5cbea@scorpio> Message-ID: <20080902204128.2c1e2a40.freebsd@edvax.de> On Tue, 2 Sep 2008 12:51:13 -0400, Gerard wrote: > I could not find any mention of it in the 'route.h' file, [...] /usr/include/net/route.h, Version 1.65.2.3, line 85: 85:extern u_int rt_numfibs; /* number fo usable routing tables */ That's the only occurance I found. FIBS seems to have something to do with multiple routing tables, a feature that needs to be enabled via a kernel option; I'm not sure if this has been present in FreeBSD 6 already. > [...] nor is there > anything in the 'sysctl.conf' file. So the setting isn't requested via /etc/rc.d/sysctl at startup (which reads from /etc/sysctl.conf), but from another service. If it was, # /etc/rc.d/sysctl restart would lead to the same error message > The message is displayed just > before the 'login' prompt. As RW mentioned, "Do you have apache?", is there something like Starting additional deamons: apache sysctl: unknown oid 'net.fibs' > How can I determine what program is causing this to occur? What's "near" the error message? Usually the startup notification prior to this message should identify the program that causes this message. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From chris at smartt.com Tue Sep 2 20:30:34 2008 From: chris at smartt.com (Chris St Denis) Date: Tue Sep 2 20:30:42 2008 Subject: Script To Execute command via mail In-Reply-To: <029d01c909d8$272dd1f0$758975d0$@za.net> References: <029801c909d6$67d76330$37862990$@za.net> <48B7F387.4060602@FreeBSD.org> <029d01c909d8$272dd1f0$758975d0$@za.net> Message-ID: <48BDA268.5070509@smartt.com> Marcel Grandemange wrote: > Yes the Server I want to do this on Is a FreeBSD 7.0 box, however cannot use > procmail as all mboxes are virtual. > Ie not real accounts all exist only on mysql, and since I changed from a > normall stock setup to using mysql procmail no longer will work. > All boxes are in form of user@domain.com > > > I really miss procmail! > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Greg Larkin > Sent: Friday, August 29, 2008 3:03 PM > To: Marcel Grandemange > Cc: freebsd-questions@freebsd.org > Subject: Re: Script To Execute command via mail > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marcel Grandemange wrote: > >> I have an interesting situation. >> >> I have a windows based sms server, this machine works in the following >> > way. > >> It watches a shared directory for txt files that must be formatted in >> certain way and periodically sends them off to mobile. >> >> What I want to do is create a SMTP to SMS gateway. >> >> Easy in theory! >> >> Rite a script to map shared drive, ensure it's connected and write the txt >> files in dir. >> >> However the second part I have no idea, somehow I need to watch the mbox >> file of say a e-mail account called "test" >> >> And IF a mail arrives parse it look for a security key if exists convert >> > to > >> txt file and copy to shared dir. >> >> > > Hi Marcel, > > Do you have a FreeBSD machine in the mix somewhere? If so, this sounds > like a job for procmail: http://en.wikipedia.org/wiki/Procmail > > Using procmail, you can create a script to process incoming emails and > process/reformat them as you see fit. > > Best regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIt/OH0sRouByUApARAntMAJ43+cuEDrdEIZle4TTxa3orO+u05QCdHsOq > c1yjtkE0i7CN4dM04WgcfrM= > =0pjX > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > __________ NOD32 3396 (20080828) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Courier maildrop should do what you need. it's in ports/mail/maildrop. It can have a mysql backend if you compile it WITH_AUTHLIB=yes -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" From gurdiga at gmail.com Tue Sep 2 20:59:35 2008 From: gurdiga at gmail.com (Vlad GURDIGA) Date: Tue Sep 2 20:59:43 2008 Subject: Google Chrome Message-ID: Hello, In Google Chrome System requirements (http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660) they say that a Linux version is going to appear. And in the "Download and install" help article (http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=) they say that it is open-source. Does this mean that is hope we'll have a FreeBSD version? From beech at freebsd.org Tue Sep 2 21:32:01 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue Sep 2 21:32:14 2008 Subject: Google Chrome In-Reply-To: References: Message-ID: <200809021314.39209.beech@freebsd.org> On Tuesday 02 September 2008, Vlad GURDIGA said: > Hello, > > In Google Chrome System requirements > (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to >pic=14660) they say that a Linux version is going to appear. And in > the "Download and install" help article > (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu >ery=open-source&topic=&type=) they say that it is open-source. > > Does this mean that is hope we'll have a FreeBSD version? If someone steps up and rolls and submits the port. You're welcome to volunteer :-) Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From stevefranks at ieee.org Tue Sep 2 22:07:40 2008 From: stevefranks at ieee.org (Steve Franks) Date: Tue Sep 2 22:07:48 2008 Subject: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?) In-Reply-To: <20080829021408.L68158@wojtek.tensor.gdynia.pl> References: <539c60b90808281219y5b5f0208pca6ad5254cd998d4@mail.gmail.com> <20080829021408.L68158@wojtek.tensor.gdynia.pl> Message-ID: <539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com> On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar wrote: >> Now, I'm sure, as usual, I'm being naive, but: >> >> 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs >> already? > > yes. > >> >> 2) If we don't have the 32-bit libs, is it possible to steal them > > base system's 32-bit libs are installed by default, for older version > through compat6x,5x,4x > >> directly from the corresponding i386 freebsd (as long as we haven't >> rebuilt our kernel too many times), or should we in all cases be >> building them (is there a wiki? I'm sure setting the CFLAGS for > > yes you can just copy any binaries. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > As you may have guessed, I'm not terribly expert. I managed to get this far (which is to say embarrassingly not far): ELF interpreter /libexec/ld-elf32.so.1 not found Abort trap: 6 The only thing I see in libexec is ld-elf.so.1 - is it possible to do a standard sysinstall without any of the 32-bit stuff, or am I just a symlink short of a load? If so, is there a metaport of 32-bit stuff, or do I have to take the leap and make buildworld? Steve From gurdiga at gmail.com Tue Sep 2 22:57:23 2008 From: gurdiga at gmail.com (Vlad GURDIGA) Date: Tue Sep 2 22:57:33 2008 Subject: Google Chrome In-Reply-To: <200809021314.39209.beech@freebsd.org> References: <200809021314.39209.beech@freebsd.org> Message-ID: On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote: > On Tuesday 02 September 2008, Vlad GURDIGA said: >> Hello, >> >> In Google Chrome System requirements >> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to >>pic=14660) they say that a Linux version is going to appear. And in >> the "Download and install" help article >> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu >>ery=open-source&topic=&type=) they say that it is open-source. >> >> Does this mean that is hope we'll have a FreeBSD version? > > If someone steps up and rolls and submits the port. You're welcome to > volunteer :-) I'd be glad to, but I'm afraid I do not have the skills for that... :-( From info at cafedanvers.com Tue Sep 2 23:02:47 2008 From: info at cafedanvers.com (=?ISO-8859-1?Q?Caf=E9=20?=d'Anvers Weekly) Date: Tue Sep 2 23:02:56 2008 Subject: This week in =?iso-8859-1?q?_Caf=E9_?= d'Anvers #36 Message-ID: Uw e-mail programma ondersteund geen HTML berichten. Gelieve de volgende URL aan te klikken om het bericht te bekijken: %URL% unsubscribe from this mailinglist: https://mailman.firstserved.net/mailing/unsubscribe/?m=236&l=38&r=494667&c=df6e73ea37b917a6e9dbc8038d0b6b1f From jaj at hcl-club.lu Tue Sep 2 23:37:51 2008 From: jaj at hcl-club.lu (Jona Joachim) Date: Tue Sep 2 23:37:58 2008 Subject: Google Chrome References: <200809021314.39209.beech@freebsd.org> Message-ID: On 2008-09-02, Vlad GURDIGA wrote: > On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote: >> On Tuesday 02 September 2008, Vlad GURDIGA said: >>> Hello, >>> >>> In Google Chrome System requirements >>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to >>>pic=14660) they say that a Linux version is going to appear. And in >>> the "Download and install" help article >>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu >>>ery=open-source&topic=&type=) they say that it is open-source. >>> >>> Does this mean that is hope we'll have a FreeBSD version? >> >> If someone steps up and rolls and submits the port. You're welcome to >> volunteer :-) > > I'd be glad to, but I'm afraid I do not have the skills for that... :-( Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD. However it doesn't run on Linux ATM according to what I've read. From ljfong at sdf.lonestar.org Wed Sep 3 00:00:11 2008 From: ljfong at sdf.lonestar.org (Hong) Date: Wed Sep 3 00:00:19 2008 Subject: Maildrop with MySQL look-up? Message-ID: <20080902234833.GA19065@SDF.LONESTAR.ORG> Hi, How do I enable MySQL look-up when I install maildrop from the port system? I looked at the Makefile: # New ports collection makefile for: maildrop # Date created: 16 November 1998 # Whom: Tom Hukins # # $FreeBSD: ports/mail/maildrop/Makefile,v 1.50 2008/08/21 06:17:37 rafan Exp $ # # The following compile-time options are available: # WITH_AUTHLIB=yes Enable optional support for Courier Auth Library # WITH_FAM=yes Enable optional support for File Alteration Monitor # WITH_GDBM=yes Enable database extensions using GDBM (default: off) # MAILDROP_SUID=, # MAILDROP_SGID= Maildrop will be installed with suid permissions for # MAILDROP_SUID, and sgid permissions for MAILDROP_SGID. # MAILDROP_TRUSTED_USERS= Specify users allowed to use the -d option # NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary # to use There doesn't seem to be a way to enable mysql for the maildrop in the port system directly. Thanks, Hong From pgiessel at mac.com Wed Sep 3 00:26:44 2008 From: pgiessel at mac.com (Peter Giessel) Date: Wed Sep 3 00:26:51 2008 Subject: Google Chrome In-Reply-To: References: Message-ID: <57057966651240527470195062000340979511-Webmail2@me.com> On Tuesday, September 02, 2008, at 12:38PM, "Vlad GURDIGA" wrote: >Hello, > >In Google Chrome System requirements >(http://www.google.com/support/chrome/bin/answer.py?answer=95411&topic=14660) >they say that a Linux version is going to appear. And in the "Download >and install" help article >(http://www.google.com/support/chrome/bin/answer.py?answer=95346&query=open-source&topic=&type=) >they say that it is open-source. > >Does this mean that is hope we'll have a FreeBSD version? That would be somewhat ironic, since according to Reuters: *** QUOTE *** "We have borrowed good ideas from others," Google Vice President of Product Management Sindar Pichai said. "Our goal here was to bring our point of view, but do it in a very open way." Because Chrome relies on Apple's open-source WebKit software for rendering Web pages, it can run any application that runs on Apple's Safari Web browser, Pichai said. "If you are a Webmaster, and your site works in Apple Safari then it will work very well in Google Chrome," he said. *** END QUOTE *** And Safari is based on KDE's Konquerer (which already runs on FreeBSD), so with a FreeBSD version of Chrome, you would essentially have Konquerer ported to Apple, ported to Microsoft, ported to Linux, ported back to FreeBSD.... Granted, improvements are made along the way... (but losses probably occur as well). From troy at i2bnetworks.com Wed Sep 3 00:35:21 2008 From: troy at i2bnetworks.com (Troy Beisigl) Date: Wed Sep 3 00:35:28 2008 Subject: bind 9 caching only name server best practice. Message-ID: Hi, I'm looking for some information on what the best way to run a bind 9 caching name server on FreeBSD 6.3 +. Basically, configurations and kernel tweaks on the FreeBSD side of things for memory and performance is what I am looking for. The actual Bind compile and configuration I understand. Does anyone have any insight on this they would like to share? Thanks, -Troy From agus.262 at gmail.com Wed Sep 3 02:29:37 2008 From: agus.262 at gmail.com (Agus) Date: Wed Sep 3 02:29:44 2008 Subject: Having issues whith limit.conf, limitsession capability... Message-ID: Hi guys....Just as the subject says.... I am testing this and when setting a new class, it doesnt seem to respond... limit1 class added to user test1 using vipw... added to login.conf limit1|Limit for test1 account:\ :sessionlimit=2:\ :tc=default: cap_mkdb login.conf after this i login locally and from lan via ssh as many times as i want...:/ Am i missing something? Thanks and cheers guys, Agustin From kusanagiyang at gmail.com Wed Sep 3 04:54:20 2008 From: kusanagiyang at gmail.com (Richard Yang) Date: Wed Sep 3 04:54:27 2008 Subject: problem running named Message-ID: Hello, When I tried "/etc/rc.d/named forcestart", i got ./named: WARNING: run_rc_command: cannot run /etc/namedb/named what does it mean and how do i fix this? thanx -- Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com From jeremy at stormy.smart-serv.net Wed Sep 3 07:38:20 2008 From: jeremy at stormy.smart-serv.net (Jeremy Johnston) Date: Wed Sep 3 07:38:27 2008 Subject: nss_ldap leaving sockets open Message-ID: <48BE3AE9.4080709@stormy.smart-serv.net> I seem to have encountered a rather annoying and puzzling problem, I am running nss_ldap on 7.0-STABLE with openldap-server 2.4.11 on the same server. I have nss_ldap configured to connect over a unix socket. This works great except for the fact it seems the connections are never being closed. When I checked earlier today with (netstat -n | grep -c slapd.sock) it reported 441 instances. I have bind_policy set to soft and nss_connect_policy set to oneshot and this still seems to be occuring. Any hints or clues on what may be causing this would be greatly appreciated. From iwrtech at iwr.ru.ac.za Wed Sep 3 08:34:36 2008 From: iwrtech at iwr.ru.ac.za (DA Forsyth) Date: Wed Sep 3 08:34:42 2008 Subject: How to compare 2 images from command line In-Reply-To: <20080902173329.867AC106571B@hub.freebsd.org> References: <20080902173329.867AC106571B@hub.freebsd.org> Message-ID: <48BE683A.13293.2D4930EF@iwrtech.iwr.ru.ac.za> On 2 Sep 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 231, Issue 5": > > Yes, there's a huge difference between testing differences in images and > > testing differences in files. What do you mean by "...know if the > > display is working correctly."? > > > > Andrew > > I want to determine if Mplayer is working correctly. The best way to be > sure is to check if the display on the screen is changing. That's the > purpose of the screenshots. The screenshots are taken by Nagios every 5 > minutes and the new screenshot is compared with the preceding one. But, > by now, it doesn't work because every tool we try is seeing a diffence > between 2 identical images. JPG format will always be different because of the encoding/compression. I think you need to save to an uncompressed format like BMP. Maybe PNG has a mode that will work too. BMP has no info headers, just the raw data, so that won't be affected by the time of the save (at the least). -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From sebastian.tymkow at gmail.com Wed Sep 3 08:35:24 2008 From: sebastian.tymkow at gmail.com (=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=) Date: Wed Sep 3 08:35:34 2008 Subject: problem running named In-Reply-To: References: Message-ID: <692660060809030104x1b4ce584v5f98eeea53ff6cf2@mail.gmail.com> Hello, What is on logs ? What do you have in your /etc/rc.conf for named ? Best regards, Shamrock 2008/9/3 Richard Yang > Hello, > > When I tried "/etc/rc.d/named forcestart", i got > ./named: WARNING: run_rc_command: cannot run /etc/namedb/named > > what does it mean and how do i fix this? > thanx > > -- > > Best Regards > > Richard Yang > richardyang@richardyang.net > kusanagiyang@gmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From thavinci at thavinci.za.net Wed Sep 3 08:42:31 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Wed Sep 3 08:42:38 2008 Subject: IPFW In FreeBSD Message-ID: <02be01c90da0$e03555d0$a0a00170$@za.net> Ok so I know this is a newbie question.. But ive for years now wanted to know how to only nat certain traffic or maby only across a certain ip. Ive tried many examples all not working.. Maby im just doing something stupid.. But, below is a example of a machine that is natting everything on em0. Id like to know how to change that to everything on say 196.212.65.186 instead of entire interface. Or better yet.. Stop natting everything and say only nat web traffic. Im having issues where certain traffic is being nated that MUSTN be! Would be REALLY greatfull for input and working examples! 00013 6613581 1024484770 fwd 127.0.0.1,3128 tcp from not me to not me dst-port 80 via em1 00015 3678 424024 fwd 127.0.0.1,3128 tcp from not me to not me dst-port 8080 via em1 00025 24596697 12747712371 divert 8668 ip from any to any via em0 00600 0 0 deny ip from any to 196.212.65.186 dst-port 3306 via em0 00600 0 0 deny ip from any to 196.212.65.187 dst-port 3306 via em0 00600 7 408 deny ip from any to 196.212.65.187 dst-port 22 via em0 00600 0 0 deny ip from any to 196.212.65.187 dst-port 199 via em0 00600 0 0 deny ip from any to me dst-port 3401 via em0 00600 0 0 deny ip from any to 192.168.239.1 dst-port 3306 via em1 00600 883 49232 deny icmp from any to 196.212.65.187 via em0 00660 86202 39746084 deny udp from me to any dst-port 520 not via em1 00700 46353458 25934143975 allow ip from any to any 65535 0 0 deny ip from any to any em0: flags=8843 metric 0 mtu 1500 options=19b ether 00:30:48:90:c8:28 inet 196.212.65.186 netmask 0xfffffff8 broadcast 196.212.65.191 inet 196.212.65.187 netmask 0xfffffff8 broadcast 196.212.65.191 media: Ethernet autoselect (100baseTX ) status: active #Nat natd_enable="YES" # Enable NATD function natd_flags="-dynamic" natd_interface="em0" # interface name of public Internet NIC From nicolas at nicoelro.net Wed Sep 3 09:08:06 2008 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Wed Sep 3 09:08:12 2008 Subject: Setting an environment var at boot Message-ID: <20080903104925.3b1e9535@nogrod.nicoelro.net> Hello, I have an env var to set for mysqld (UMASK_DIR). Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad idea. When I want to upgrade my mysql5-server port, the file will be overwritten. I want to set it in a file loaded a machine boot. This var must be exported and accessible for my services runned in /etc/rc.d and /usr/local/etc/rc.d What file do you advice? Thanks. Regards, -- - Nicolas. From anrays at gmail.com Wed Sep 3 09:08:38 2008 From: anrays at gmail.com (Andrey Slusar) Date: Wed Sep 3 09:08:45 2008 Subject: FreeBSD7 and realtek 8111C Message-ID: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> Hello! I have the motherboard with realtek 8111C LAN Card. On FreeBSD6.3 it's card is work fine with driver from realtek wesite - rtl_bsd_drv_v175.tgz archive. Build this driver on 7.0-STABLE is not work. I'm hacked this and driver is compile without problems, but LAN card works is very unstable - system hang, when i'm downoad file ~10 seconds. Maybe there are people who can bring to mind my hack? I'm attached driver and patch. -- Regards, Andrey. -------------- next part -------------- A non-text attachment was scrubbed... Name: rtl_bsd_drv_v176.diff Type: application/octet-stream Size: 4241 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/09473b7e/rtl_bsd_drv_v176.obj From freebsd at edvax.de Wed Sep 3 09:28:20 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 3 09:28:27 2008 Subject: Setting an environment var at boot In-Reply-To: <20080903104925.3b1e9535@nogrod.nicoelro.net> References: <20080903104925.3b1e9535@nogrod.nicoelro.net> Message-ID: <20080903112814.2e5965ae.freebsd@edvax.de> On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier wrote: > What file do you advice? Unclean, but maybe "early" enough in the boot process: /etc/rc.local. This file won't be touched at port's or system's update. Much more unclean, but certainly earlier: /etc/rc itself. Thile file is examined during system update. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From joel at levee-online.org Wed Sep 3 09:57:59 2008 From: joel at levee-online.org (joel@levee-online.org) Date: Wed Sep 3 09:58:07 2008 Subject: starting sysinstall at boot time In-Reply-To: <9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com> References: <1220348951.48bd0c17315aa@imp.online.net> <9e20d71e0809020341x2627c8f0qa6fc8c58c052167@mail.gmail.com> Message-ID: <1220435884.48be5fac8b1d5@imp.online.net> Quoting Artis Caune : Hi Artis, Thank you for your quick answer, /sbin/init is actualy replaced by sysinstall because it is not present on the mfsroot thus sysinstall is launched instead of init. Best regards, Joel Levee. > On Tue, Sep 2, 2008 at 12:49 PM, wrote: > > > > Hi, > > > > Something seems magic in freebsd: I am looking for what does start > > sysinstall at boot time when I boot from the installation CD. > > The only thing related to systinstall is the setting of the init_path > variable > > in the loader.rc file but it is in comment thus the loader should finish > > by launchinig init as usual so what does make it launch sysinstall instead? > > I think /sbin/init is replaced with sysinstall. > > > > As you may guess, my goal is to create an customized installation CD in > > order to install a network appliance wich embedds freebsd. > > I also use custom install script, and I replace /etc/rc on mfs image. > > > > > -- > regards, > Artis Caune > > <----. CCNA > <----|==================== > <----' didii FreeBSD > From sasa at stupar.homelinux.net Wed Sep 3 10:18:40 2008 From: sasa at stupar.homelinux.net (=?iso-8859-2?Q?Sa=B9a_Stupar?=) Date: Wed Sep 3 10:18:47 2008 Subject: 32-bit fbsd binaries on amd64 (we can already run 32bit linux/fc4 stuff, so this should work, right?) In-Reply-To: <539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com> References: <539c60b90808281219y5b5f0208pca6ad5254cd998d4@mail.gmail.com> <20080829021408.L68158@wojtek.tensor.gdynia.pl> <539c60b90809021507s422a1bb5qab1e796a986d8970@mail.gmail.com> Message-ID: <486604836098d3425ac81199f0c02567.squirrel@posta.homelinux.net> > On Thu, Aug 28, 2008 at 5:16 PM, Wojciech Puchar > wrote: >>> Now, I'm sure, as usual, I'm being naive, but: >>> >>> 1) We can run 32-bit linux on amd64, so do we have 32-bit freebsd libs >>> already? >> >> yes. >> >>> >>> 2) If we don't have the 32-bit libs, is it possible to steal them >> >> base system's 32-bit libs are installed by default, for older version >> through compat6x,5x,4x >> >>> directly from the corresponding i386 freebsd (as long as we haven't >>> rebuilt our kernel too many times), or should we in all cases be >>> building them (is there a wiki? I'm sure setting the CFLAGS for >> >> yes you can just copy any binaries. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > As you may have guessed, I'm not terribly expert. I managed to get > this far (which is to say embarrassingly not far): > > ELF interpreter /libexec/ld-elf32.so.1 not found > Abort trap: 6 > > The only thing I see in libexec is ld-elf.so.1 - is it possible to do > a standard sysinstall without any of the 32-bit stuff, or am I just a > symlink short of a load? If so, is there a metaport of 32-bit stuff, > or do I have to take the leap and make buildworld? > > Steve > _______________________________________________ I had the same issue. Just use sysinstall and install lib32 from Distribution. Mine 64bit install was also installed without 32bit libraries because I use minimal installation and then everything else from the ports. Sasa From joel at levee-online.org Wed Sep 3 10:27:44 2008 From: joel at levee-online.org (joel@levee-online.org) Date: Wed Sep 3 10:27:53 2008 Subject: starting sysinstall at boot time In-Reply-To: <48BD1AA9.8000307@gmail.com> References: <1220348951.48bd0c17315aa@imp.online.net> <48BD1AA9.8000307@gmail.com> Message-ID: <1220435683.48be5ee3a88bd@imp.online.net> Quoting Manolis Kiagias : Hi Manolis Thank you very much for you quick and accurate answer. I had mounted the mfsroot but I did not notice that init was not present. So now every thins is clear and not magic at all. Best regards, Joel Levee > joel@levee-online.org wrote: > > Hi, > > > > Something seems magic in freebsd: I am looking for what does start > > sysinstall at boot time when I boot from the installation CD. > > The only thing related to systinstall is the setting of the init_path > variable > > in the loader.rc file but it is in comment thus the loader should finish > > by launchinig init as usual so what does make it launch sysinstall instead? > > > > I also examined /etc/ttys which is used by init but this file is standard > > and I do not find anything that could tell init to start sysinstall instead > > of getty! > > > > As you may guess, my goal is to create an customized installation CD in > > order to install a network appliance wich embedds freebsd. > > > > Sincerily, > > Joel Levee > > > > > > > > This is a tricky one, kind of black magic ;) > > Seriously, it is quite simple: > > You correctly located the init_path variable. This contains the > following (on a 6.3-RELEASE CD I have handy at the moment): > > #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall" > > This is commented out, but the values shown are the built-in defaults. > > Now, if you take a look at the CD filesystem structure, *there is* an > /sbin/init and there is *no* /stand/sysinstall. So, you would assume > that init would run first. > > However, here comes the caveat: > > The root filesystem when you boot your installation media, is *not* the > CD-ROM itself. Look at /boot/loader.conf: > > mfsroot_load="YES" > mfsroot_type="mfs_root" > mfsroot_name="/boot/mfsroot" > > You will find /boot/mfsroot.gz as the file that acts as the root filesystem. > You can actually examine the contents of this if you mount it using > mdconfig (assuming you mounted your install CD on /cdrom): > > cp /cdrom/boot/mfsroot.gz /tmp > cd /tmp > unzip mfsroot.gz (Can probably be mounted compressed(?), did not check) > mdconfig -f mfsroot md0 > mount /dev/md0 /mnt > > Check the contents of /mnt: > > bin boot dev etc mnt sbin stand var > > sbin is a symbolic link to stand. There is no '/stand/init' in , but > '/stand/sysinstall' exists. Therefore, sysinstall executes ;) > From matiassurdi at gmail.com Wed Sep 3 10:29:42 2008 From: matiassurdi at gmail.com (Matias Surdi) Date: Wed Sep 3 10:29:50 2008 Subject: pkg_create Message-ID: I've a directory tree structure in /usr/local from wich I'd like to create a package. How are pkg_create arguments supposed to be? Where can I find an example? I've read the manpage, but an example would be really usefull. Thanks for your help again. From derek at computinginnovations.com Wed Sep 3 10:37:56 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Sep 3 10:38:04 2008 Subject: Cron Question In-Reply-To: <19272656.post@talk.nabble.com> References: <19272656.post@talk.nabble.com> Message-ID: <6.0.0.22.2.20080903053036.025d11d8@mail.computinginnovations.com> At 10:45 AM 9/2/2008, ElihuJ wrote: >Hi all. I have a question about cron jobs that seem to be running to long or >with multiple copies of itself. For example, I have a backup script that I >run that seems to make multiple copies of itself. If I view the running >processes I see numerous instances of the same cron job. Is there something >I can do to limit this from happening? When it does, it drains my CPU and >some of my other processes are non responsive. Any help would be >appreciated. Thank you. >-- >View this message in context: >http://www.nabble.com/Cron-Question-tp19272656p19272656.html >Sent from the freebsd-questions mailing list archive at Nabble.com. For longer running jobs I do a couple things. I use a file to be sure only one instance is running, but I also add signal handling. The following is written for ksh, but can be adapted to sh if needed: ============================================================= #!/usr/local/bin/ksh # uncomment the following line for debugging #set -x RUNNING_FILE=RUNNING_FILE=/tmp/my_cronjob_running LOGFILE=LOGFILE=/tmp/my_cronjob.log SENDTO=me@mydomain.com MAIL=/usr/bin/mail TOUCH=/usr/bin/touch RM=/bin/rm # Print an epilog string and clear the RUNNING_FILE function epilog { echo "We are all done scanning." >> $LOGFILE $MAIL -s "MyCronjob Report" $SENDTO < $LOGFILE if [ -f $RUNNING_FILE ]; then $RM $RUNNING_FILE; fi } function got_signal { echo "Got a signal" >> $LOGFILE epilog exit } # Here pointers to signal handling subroutines are set trap got_signal TERM HUP INT QUIT if [ -f $RUNNING_FILE ]; then echo "mycronjob is already running" else $TOUCH $RUNNING_FILE $RM $LOGFILE $TOUCH $LOGFILE # add your job to be done here . . . # epilog fi ============================================================= >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From sonic2000gr at gmail.com Wed Sep 3 10:49:02 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Wed Sep 3 10:49:09 2008 Subject: pkg_create In-Reply-To: References: Message-ID: <48BE6B99.6090609@gmail.com> Matias Surdi wrote: > I've a directory tree structure in /usr/local from wich I'd like to > create a package. > > How are pkg_create arguments supposed to be? > > Where can I find an example? > > I've read the manpage, but an example would be really usefull. > > Thanks for your help again. > pkg_create can create packages from your installed ports (or packages), it will not create a mega-package of all your system, if thats is what you are looking for. Of course, you can instruct pkg_create to create packages for *all* your installed programs. Typical use is something like: pkg_create -Rb foo-1.2.3_4 (get the exact package version for foo by running pkg_info -Ix foo) The -R flag will cause packages to be created for all dependencies of foo as well. If you wish to create packages for everything you got installed, you may try something like the following simple script (run as root to avoid weird permission errors in some cases): for i in `pkg_info -Ea`; do pkg_create -b "$i" done (no need for -R here, since you are doing all packages anyway) Bear in mind some ports can not be packaged due to licensing issues and some others may behave erratically (i.e. sysutils/screen). From matthias.apitz at oclc.org Wed Sep 3 11:01:17 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Wed Sep 3 11:01:26 2008 Subject: pkg_create In-Reply-To: <48BE6B99.6090609@gmail.com> References: <48BE6B99.6090609@gmail.com> Message-ID: <20080903110114.GA7293@rebelion.Sisis.de> El d?a Wednesday, September 03, 2008 a las 01:48:57PM +0300, Manolis Kiagias escribi?: > Matias Surdi wrote: > >I've a directory tree structure in /usr/local from wich I'd like to > >create a package. > > > >How are pkg_create arguments supposed to be? > > > >Where can I find an example? > > > >I've read the manpage, but an example would be really usefull. > > > >Thanks for your help again. > > > > pkg_create can create packages from your installed ports (or packages), > it will not create a mega-package of all your system, if thats is what > you are looking for. Of course, you can instruct pkg_create to create > packages for *all* your installed programs. > > Typical use is something like: > > pkg_create -Rb foo-1.2.3_4 ... I've until now only used the above mentioned form to create package files from installed packages to installe them into another computer; but, if I understand the man-page of pkg_create(1) correctly, one can also create with this packages from the files in the file system; create a package with 'pkg_create -Rb foo-1.2.3_4' and have a look into the resulting tar file foo-1.2.3_4.tbz; this will give you an idea of what you must provide on the command line for building a package from certain files; this is what I would start with; hih matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda. From shinjii at maydias.com Wed Sep 3 11:42:36 2008 From: shinjii at maydias.com (Warren Liddell) Date: Wed Sep 3 11:42:42 2008 Subject: Dragon Player plays video but with no sound Message-ID: <200809032142.56430.shinjii@maydias.com> Ever since i installed FreeBSD 7.0 and KDE4 dragon player will play the video files but with no sound, is there any switch or config that i may be missing as to why this is occuring? atm im having to use VLC to be abel to watch any moves in full screen with sound. Sound works with many other apps and is loaded in the kernel. From fbsd06 at mlists.homeunix.com Wed Sep 3 11:51:57 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Sep 3 11:52:05 2008 Subject: Google Chrome In-Reply-To: <57057966651240527470195062000340979511-Webmail2@me.com> References: <57057966651240527470195062000340979511-Webmail2@me.com> Message-ID: <20080903123953.47896b13@gumby.homeunix.com.> On Tue, 02 Sep 2008 16:16:08 -0800 Peter Giessel wrote: > And Safari is based on KDE's Konquerer (which already runs on > FreeBSD), so with a FreeBSD version of Chrome, you would essentially > have Konquerer ported to Apple, ported to Microsoft, ported to Linux, > ported back to FreeBSD.... They've based their rendering on WebKit, but there's a lot more to Chrome than that: http://www.google.com/googlebooks/chrome/ I think it looks very interesting. From ivoras at freebsd.org Wed Sep 3 11:55:48 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Sep 3 11:55:57 2008 Subject: Google Chrome In-Reply-To: <26682.8228872784$1220442858@news.gmane.org> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> Message-ID: RW wrote: > On Tue, 02 Sep 2008 16:16:08 -0800 > Peter Giessel wrote: > > >> And Safari is based on KDE's Konquerer (which already runs on >> FreeBSD), so with a FreeBSD version of Chrome, you would essentially >> have Konquerer ported to Apple, ported to Microsoft, ported to Linux, >> ported back to FreeBSD.... > > They've based their rendering on WebKit, but there's a lot more to > Chrome than that: > > http://www.google.com/googlebooks/chrome/ > > I think it looks very interesting. I think it would be in beta for decades :) There's just so much thing they said they'll do that would be very complicated to implement - their multiprocessing model instead of multithreading for example. To me it looks like they will soon find out that there's a reason todays browsers behave like they to - the platform (HTML, CSS, JS, Flash...) is very complex. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/14274514/signature-0001.pgp From wojtek at wojtek.tensor.gdynia.pl Wed Sep 3 11:59:35 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 3 11:59:45 2008 Subject: Google Chrome In-Reply-To: References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> Message-ID: <20080903135750.F2188@wojtek.tensor.gdynia.pl> > I think it would be in beta for decades :) There's just so much thing > they said they'll do that would be very complicated to implement - their > multiprocessing model instead of multithreading for example. To me it > looks like they will soon find out that there's a reason todays browsers > behave like they to - the platform (HTML, CSS, JS, Flash...) is very > complex. > > anyway what a point of using google software having other alternatives. do you really like to everything be controlled by one company? google mail, google news, google browser, even google documents. within few years - google WWW (incompatible with normal). From jlm at caamora.com.au Wed Sep 3 12:07:35 2008 From: jlm at caamora.com.au (jonathan michaels) Date: Wed Sep 3 12:07:43 2008 Subject: gigabyte GA-71XE4 (single amd athlon cpu motherboard Message-ID: <20080903213652.40147@caamora.com.au> greetings all, i just repaired my old machine by replacing the damaged motherboard with these items motherboard: Gigabyte GA-71XE4 (chipset AMD-75?, with single AMD Athlon cpu) audio: Creative SB PCI 128 (CT-4815) video: nVidia GeForce 4 MX440 SE nic: D-Link DFE-530TX+ 10/100BaseTX (be replaced with intel 10/100) freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks solid right when it get to teh load image to/from "md0" device this happens when i use teh -release cdrom to install freebsd. i looked on google and on marc tying for gigabyte/ga-71xe4 and various combinations of teh whole chain of bits, also tried specific freebsd lists (-hardware and -questions) and drew blanks .. guess this will change that .. grin. after a bit of thinking i tried booting in 'Safe mode" it booted properly and went on to complete the installation and is now working as well as i have seen freebsd work on my other machines. after starting to use safe mode i had no further problems witht eh boot/startup lockups. another thing thats confused me is how freebsd can work out the ide cable is teh wrong one, dose it really make that much difference ?? i have attached the /var/run/dmesg.run and cut down version of /var/log/messages. please reply to address in headers .. i'm not subscribed to questions- some light would be appreciated on this whole acpi issue and if i need nvidia drivers to make teh video card work in normal/text mode ?? much thanks and kind regards jonathan /var/run/dmesg.run Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1009.95-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440800,MMX+,3DNow!+,3DNow!> real memory = 805240832 (767 MB) avail memory = 773992448 (738 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xee000000-0xeeffffff,0xd8000000-0xdfffffff,0xe5c80000-0xe5cfffff irq 11 at device 5.0 on pci1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 pci0: at device 7.3 (no driver attached) ohci0: mem 0xefffe000-0xefffefff irq 9 at device 7.4 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered rl0: port 0xdc00-0xdcff mem 0xefffff00-0xefffffff irq 11 at device 9.0 on pci0 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:05:5d:d5:23:f3 rl0: [ITHREAD] pcm0: port 0xde00-0xde3f irq 10 at device 10.0 on pci0 pcm0: pcm0: [ITHREAD] pcm0: pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FILTER] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: [FILTER] sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio1: [FILTER] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) Timecounter "TSC" frequency 1009950905 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. ad0: 8063MB at ata0-master UDMA33 acd0: DVDROM at ata0-slave UDMA33 ad2: DMA limited to UDMA33, device found non-ATA66 cable ad2: 6187MB at ata1-master UDMA33 acd1: CDROM at ata1-slave PIO4 Trying to mount root from ufs:/dev/ad0s3a rl0: link state changed to UP /var/log/messages Sep 3 10:28:30 fireice kernel: Copyright (c) 1992-2008 The FreeBSD Project. Sep 3 10:28:30 fireice kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 3 10:28:30 fireice kernel: The Regents of the University of California. All rights reserved. Sep 3 10:28:30 fireice kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Sep 3 10:28:30 fireice kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 Sep 3 10:28:30 fireice kernel: root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Sep 3 10:28:30 fireice kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Sep 3 10:28:30 fireice kernel: CPU: AMD Athlon(tm) Processor (1009.95-MHz 686-class CPU) Sep 3 10:28:30 fireice kernel: Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Sep 3 10:28:30 fireice kernel: Features=0x183f9ff Sep 3 10:28:30 fireice kernel: AMD Features=0xc0440800,MMX+,3DNow!+,3DNow!> Sep 3 10:28:30 fireice kernel: real memory = 805240832 (767 MB) Sep 3 10:28:30 fireice kernel: avail memory = 773992448 (738 MB) Sep 3 10:28:30 fireice kernel: kbd1 at kbdmux0 Sep 3 10:28:30 fireice kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) Sep 3 10:28:30 fireice kernel: hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) Sep 3 10:28:30 fireice kernel: cpu0 on motherboard Sep 3 10:28:30 fireice kernel: pcib0: pcibus 0 on motherboard Sep 3 10:28:30 fireice kernel: pir0: on motherboard Sep 3 10:28:30 fireice kernel: pci0: on pcib0 Sep 3 10:28:30 fireice kernel: agp0: on hostb0 Sep 3 10:28:30 fireice kernel: pcib1: at device 1.0 on pci0 Sep 3 10:28:30 fireice kernel: pci1: on pcib1 Sep 3 10:28:30 fireice kernel: vgapci0: mem 0xee000000-0xeeffffff,0xd8000000-0xdfffffff,0xe5c80000-0xe5cfffff irq 11 at device 5.0 on pci1 Sep 3 10:28:30 fireice kernel: isab0: at device 7.0 on pci0 Sep 3 10:28:30 fireice kernel: isa0: on isab0 Sep 3 10:28:30 fireice kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0 Sep 3 10:28:30 fireice kernel: ata0: on atapci0 Sep 3 10:28:30 fireice kernel: ata0: [ITHREAD] Sep 3 10:28:30 fireice kernel: ata1: on atapci0 Sep 3 10:28:30 fireice kernel: ata1: [ITHREAD] Sep 3 10:28:30 fireice kernel: pci0: at device 7.3 (no driver attached) Sep 3 10:28:30 fireice kernel: ohci0: mem 0xefffe000-0xefffefff irq 9 at device 7.4 on pci0 Sep 3 10:28:30 fireice kernel: ohci0: [GIANT-LOCKED] Sep 3 10:28:30 fireice kernel: ohci0: [ITHREAD] Sep 3 10:28:30 fireice kernel: usb0: OHCI version 1.0, legacy support Sep 3 10:28:30 fireice kernel: usb0: on ohci0 Sep 3 10:28:30 fireice kernel: usb0: USB revision 1.0 Sep 3 10:28:30 fireice kernel: uhub0: on usb0 Sep 3 10:28:30 fireice kernel: uhub0: 4 ports with 4 removable, self powered Sep 3 10:28:30 fireice kernel: rl0: port 0xdc00-0xdcff mem 0xefffff00-0xefffffff irq 11 at device 9.0 on pci0 Sep 3 10:28:30 fireice kernel: miibus0: on rl0 Sep 3 10:28:30 fireice kernel: rlphy0: PHY 0 on miibus0 Sep 3 10:28:30 fireice kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 3 10:28:30 fireice kernel: rl0: Ethernet address: 00:05:5d:d5:23:f3 Sep 3 10:28:30 fireice kernel: rl0: [ITHREAD] Sep 3 10:28:30 fireice kernel: pcm0: port 0xde00-0xde3f irq 10 at device 10.0 on pci0 Sep 3 10:28:30 fireice kernel: pcm0: Sep 3 10:28:30 fireice kernel: pcm0: [ITHREAD] Sep 3 10:28:30 fireice kernel: pcm0: Sep 3 10:28:30 fireice kernel: pmtimer0 on isa0 Sep 3 10:28:30 fireice kernel: atkbdc0: at port 0x60,0x64 on isa0 Sep 3 10:28:30 fireice kernel: atkbd0: irq 1 on atkbdc0 Sep 3 10:28:30 fireice kernel: kbd0 at atkbd0 Sep 3 10:28:30 fireice kernel: atkbd0: [GIANT-LOCKED] Sep 3 10:28:30 fireice kernel: atkbd0: [ITHREAD] Sep 3 10:28:30 fireice kernel: psm0: irq 12 on atkbdc0 Sep 3 10:28:30 fireice kernel: psm0: [GIANT-LOCKED] Sep 3 10:28:30 fireice kernel: psm0: [ITHREAD] Sep 3 10:28:30 fireice kernel: psm0: model Generic PS/2 mouse, device ID 0 Sep 3 10:28:30 fireice kernel: fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Sep 3 10:28:30 fireice kernel: fdc0: [FILTER] Sep 3 10:28:30 fireice kernel: ppc0: at port 0x378-0x37f irq 7 on isa0 Sep 3 10:28:30 fireice kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Sep 3 10:28:30 fireice kernel: ppc0: FIFO with 16/16/9 bytes threshold Sep 3 10:28:30 fireice kernel: ppbus0: on ppc0 Sep 3 10:28:30 fireice kernel: ppbus0: [ITHREAD] Sep 3 10:28:30 fireice kernel: plip0: on ppbus0 Sep 3 10:28:30 fireice kernel: lpt0: on ppbus0 Sep 3 10:28:30 fireice kernel: lpt0: Interrupt-driven port Sep 3 10:28:30 fireice kernel: ppi0: on ppbus0 Sep 3 10:28:30 fireice kernel: ppc0: [GIANT-LOCKED] Sep 3 10:28:30 fireice kernel: ppc0: [ITHREAD] Sep 3 10:28:30 fireice kernel: sc0: at flags 0x100 on isa0 Sep 3 10:28:30 fireice kernel: sc0: VGA <16 virtual consoles, flags=0x300> Sep 3 10:28:30 fireice kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Sep 3 10:28:30 fireice kernel: sio0: type 16550A Sep 3 10:28:30 fireice kernel: sio0: [FILTER] Sep 3 10:28:30 fireice kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Sep 3 10:28:30 fireice kernel: sio1: type 16550A Sep 3 10:28:30 fireice kernel: sio1: [FILTER] Sep 3 10:28:30 fireice kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (memory) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (port) Sep 3 10:28:30 fireice kernel: unknown: can't assign resources (irq) Sep 3 10:28:30 fireice kernel: Timecounter "TSC" frequency 1009950905 Hz quality 800 Sep 3 10:28:30 fireice kernel: Timecounters tick every 1.000 msec Sep 3 10:28:30 fireice kernel: hptrr: no controller detected. Sep 3 10:28:30 fireice kernel: ad0: 8063MB at ata0-master UDMA33 Sep 3 10:28:30 fireice kernel: acd0: DVDROM at ata0-slave UDMA33 Sep 3 10:28:30 fireice kernel: ad2: DMA limited to UDMA33, device found non-ATA66 cable Sep 3 10:28:30 fireice kernel: ad2: 6187MB at ata1-master UDMA33 Sep 3 10:28:30 fireice kernel: acd1: CDROM at ata1-slave PIO4 Sep 3 10:28:30 fireice kernel: Trying to mount root from ufs:/dev/ad0s3a Sep 3 10:28:30 fireice savecore: no dumps found Sep 3 10:28:31 fireice kernel: rl0: link state changed to UP -- ================================================================ powered by .. QNX, OS9 and freeBSD -- http://caamora com au/operating system ==== === appropriate solution in an inappropriate world === ==== From lenthe at comcast.net Wed Sep 3 12:08:11 2008 From: lenthe at comcast.net (Jason Lenthe) Date: Wed Sep 3 12:08:18 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> Message-ID: <48BE7A26.1000102@comcast.net> Andrey Slusar wrote: > Hello! > I have the motherboard with realtek 8111C LAN Card. > On FreeBSD6.3 it's card is work fine with driver from realtek wesite - > rtl_bsd_drv_v175.tgz archive. > Build this driver on 7.0-STABLE is not work. I'm hacked this and > driver is compile without problems, but LAN card works is very > unstable - system hang, > when i'm downoad file ~10 seconds. Maybe there are people who can > bring to mind my hack? I'm attached driver and patch. I have this board on an Intel D945GCNL motherboard and the driver that comes with FreeBSD 7 works just fine for me. Why are you trying to use the driver from the website? From chinocubus at yahoo.com Wed Sep 3 12:11:09 2008 From: chinocubus at yahoo.com (ElihuJ) Date: Wed Sep 3 12:11:16 2008 Subject: Cron Question In-Reply-To: References: <19272656.post@talk.nabble.com> <20080902160351.GI79391@pcjas.obspm.fr> Message-ID: <19287970.post@talk.nabble.com> Thank you for the help. I changed the script to run Weekly instead of Daily. If it was starting while it was still running, this should fix it. I'll post my progress, and thank you again. -- View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19287970.html Sent from the freebsd-questions mailing list archive at Nabble.com. From popof.fpn at gmail.com Wed Sep 3 12:22:49 2008 From: popof.fpn at gmail.com (Popof Popof) Date: Wed Sep 3 12:22:56 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <48BE7A26.1000102@comcast.net> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net> Message-ID: <9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com> Hi, I have a ASRock Wolfdale1333-GLAN/M2, and I use it in order to run FreeNAS. FreeNAS is based on FreeBSD in order to simply provide a NAS solution. With the version of FreeNAS based on FreeBSD 6.3 the NIC wasn't recognize, I had to download those drivers and to compile them in order to make my NIC working on FreeNAS. When I tried the version based on FreeBSD 7 the system doesn't recognize my NIC. I load the module that i made for my NIC, the system recognize my NIC but when i tried to assign to it an ip address its stops to work. Jason, what is the name of the device that you use? Maybe this card isn't support with the realtek driver on FreeBSD 7 but its use another one. Mine is rl. 2008/9/3 Jason Lenthe > Andrey Slusar wrote: > > Hello! > > I have the motherboard with realtek 8111C LAN Card. > > On FreeBSD6.3 it's card is work fine with driver from realtek wesite - > > rtl_bsd_drv_v175.tgz archive. > > Build this driver on 7.0-STABLE is not work. I'm hacked this and > > driver is compile without problems, but LAN card works is very > > unstable - system hang, > > when i'm downoad file ~10 seconds. Maybe there are people who can > > bring to mind my hack? I'm attached driver and patch. > > I have this board on an Intel D945GCNL motherboard and the driver that > comes with FreeBSD 7 works just fine for me. Why are you trying to use the > driver from the website? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From c.kworr at gmail.com Wed Sep 3 12:29:06 2008 From: c.kworr at gmail.com (Volodymyr Kostyrko) Date: Wed Sep 3 12:29:19 2008 Subject: gigabyte GA-71XE4 (single amd athlon cpu motherboard In-Reply-To: <20080903213652.40147@caamora.com.au> References: <20080903213652.40147@caamora.com.au> Message-ID: jonathan michaels wrote: > greetings all, > freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks > solid right when it get to teh load image to/from "md0" device this > happens when i use teh -release cdrom to install freebsd. How exactly do you load your image? -- Sphinx of black quartz judge my vow. From fbsd06 at mlists.homeunix.com Wed Sep 3 12:30:38 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Sep 3 12:30:53 2008 Subject: Setting an environment var at boot In-Reply-To: <20080903112814.2e5965ae.freebsd@edvax.de> References: <20080903104925.3b1e9535@nogrod.nicoelro.net> <20080903112814.2e5965ae.freebsd@edvax.de> Message-ID: <20080903133034.0b90ea2b@gumby.homeunix.com.> On Wed, 3 Sep 2008 11:28:14 +0200 Polytropon wrote: > On Wed, 3 Sep 2008 10:49:25 +0200, Nicolas Letellier > wrote: > > What file do you advice? > > Unclean, but maybe "early" enough in the boot process: /etc/rc.local. > This file won't be touched at port's or system's update. I don't think that would work, since rc.local is sourced from a subshell. > Much more unclean, but certainly earlier: /etc/rc itself. Thile file > is examined during system update. > > I've not tried it myself, but I think you could probably just export the variable in rc.conf (provided that the value isn't required in the rc.d script itself, for initialization, before run_rc_command is executed). You can also put per script configuration in the file /etc/rc.conf.d/ where is whatever the rc.d script sets as "name". From bcook at poughkeepsieschools.org Wed Sep 3 12:31:48 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Wed Sep 3 12:31:56 2008 Subject: vmware tools for ESX Server 3.5 Message-ID: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> Hello, I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. Ports has some things, but I am not sure what I need, and neither is he. Can anyone tell me what it needs? Thanks in advance. From ivoras at freebsd.org Wed Sep 3 12:36:38 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Sep 3 12:36:45 2008 Subject: pkg_create In-Reply-To: References: Message-ID: Matias Surdi wrote: > I've a directory tree structure in /usr/local from wich I'd like to > create a package. > > How are pkg_create arguments supposed to be? > > Where can I find an example? > > I've read the manpage, but an example would be really usefull. > > Thanks for your help again. Though it's theoretically possible, don't use pkg_create on a bunch of files you scattered on the file system to create a package. a) it's hard to do right by hand and b) you'll probably create an incorrect package. What you can do (and this is much easier) is write a port for your application(s), see http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a binary package from that port using "make package". (You do not need to submit the port or your source to anyone but you must have it on your computer to create the package). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/b3fa8560/signature.pgp From anrays at gmail.com Wed Sep 3 12:41:45 2008 From: anrays at gmail.com (Andrey Slusar) Date: Wed Sep 3 12:41:52 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <48BE7A26.1000102@comcast.net> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net> Message-ID: <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com> 2008/9/3 Jason Lenthe : > Andrey Slusar wrote: >> Hello! >> I have the motherboard with realtek 8111C LAN Card. >> On FreeBSD6.3 it's card is work fine with driver from realtek wesite - >> rtl_bsd_drv_v175.tgz archive. >> Build this driver on 7.0-STABLE is not work. I'm hacked this and >> driver is compile without problems, but LAN card works is very >> unstable - system hang, >> when i'm downoad file ~10 seconds. Maybe there are people who can >> bring to mind my hack? I'm attached driver and patch. > > I have this board on an Intel D945GCNL motherboard and the driver that comes > with FreeBSD 7 works just fine for me. Why are you trying to use the driver > from the website? This NIC is unsupported. May bee on you motherboard the realtek 8111B card, not C. 8111B is works fine. See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123 -- Regards, Andrey. From lenthe at comcast.net Wed Sep 3 12:50:21 2008 From: lenthe at comcast.net (Jason Lenthe) Date: Wed Sep 3 12:50:32 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net> <9196e72b0809030522j776afff9g80764477808d3a80@mail.gmail.com> Message-ID: <48BE83E8.6040206@comcast.net> Popof Popof wrote: > > Jason, what is the name of the device that you use? Maybe this card isn't > support with the realtek driver on FreeBSD 7 but its use another one. Mine > is rl. > My mistake. I'm using 8111B not 8111C. Sorry. re0: port 0x1000-0x10ff mem 0x90000000-0x90000fff irq 17 at device 0.0 on pci2 From popof.fpn at gmail.com Wed Sep 3 12:58:31 2008 From: popof.fpn at gmail.com (Popof Popof) Date: Wed Sep 3 13:02:08 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net> <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com> Message-ID: <9196e72b0809030558n1ba78107j95c30863f0fc0c4b@mail.gmail.com> Have you tried this patch instead of the Realtek driver ? Did you get the same problems that described ? 2008/9/3 Andrey Slusar > 2008/9/3 Jason Lenthe : > > Andrey Slusar wrote: > >> Hello! > >> I have the motherboard with realtek 8111C LAN Card. > >> On FreeBSD6.3 it's card is work fine with driver from realtek wesite - > >> rtl_bsd_drv_v175.tgz archive. > >> Build this driver on 7.0-STABLE is not work. I'm hacked this and > >> driver is compile without problems, but LAN card works is very > >> unstable - system hang, > >> when i'm downoad file ~10 seconds. Maybe there are people who can > >> bring to mind my hack? I'm attached driver and patch. > > > > I have this board on an Intel D945GCNL motherboard and the driver that > comes > > with FreeBSD 7 works just fine for me. Why are you trying to use the > driver > > from the website? > > This NIC is unsupported. May bee on you motherboard the realtek 8111B > card, not C. > 8111B is works fine. > See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123 > > -- > Regards, > Andrey. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From anrays at gmail.com Wed Sep 3 13:10:34 2008 From: anrays at gmail.com (Andrey Slusar) Date: Wed Sep 3 13:11:49 2008 Subject: FreeBSD7 and realtek 8111C In-Reply-To: <9196e72b0809030558n1ba78107j95c30863f0fc0c4b@mail.gmail.com> References: <47e01da70809030141r2cd45f54n4407fd8fde0860d9@mail.gmail.com> <48BE7A26.1000102@comcast.net> <47e01da70809030541k5abbad83x5660e67bc5e76a9f@mail.gmail.com> <9196e72b0809030558n1ba78107j95c30863f0fc0c4b@mail.gmail.com> Message-ID: <47e01da70809030610p7f92f196o2ffa4f03abaccba7@mail.gmail.com> 2008/9/3 Popof Popof : > Have you tried this patch instead of the Realtek driver ? > Did you get the same problems that described ? Yes, "re0: MII without any phy!" >> See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123 -- Regards, Andrey. From gerard at seibercom.net Wed Sep 3 13:39:05 2008 From: gerard at seibercom.net (Gerard) Date: Wed Sep 3 13:39:12 2008 Subject: Google Chrome In-Reply-To: References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> Message-ID: <20080903093849.56ec2113@scorpio> On Wed, 03 Sep 2008 13:55:39 +0200 Ivan Voras wrote: [snip] > I think it would be in beta for decades :) There's just so much thing > they said they'll do that would be very complicated to implement - > their multiprocessing model instead of multithreading for example. To > me it looks like they will soon find out that there's a reason todays > browsers behave like they to - the platform (HTML, CSS, JS, Flash...) > is very complex. Google has had this "Beta-4-Ever" frame of mind for years now. They virtually never release a final product; thus effectively covering their 'ass' with the word "BETA" when something goes wrong or doesn't work as expected or required by RFC's, etc. In any case, this little tidbit looks rather interesting. http://yro.slashdot.org/article.pl?sid=08/09/03/0247205&from=rss -- Gerard gerard@seibercom.net The thrill is here, but it won't last long You'd better have your fun before it moves along... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/d4944c4b/signature.pgp From stapleton.41 at gmail.com Wed Sep 3 14:09:26 2008 From: stapleton.41 at gmail.com (Jim) Date: Wed Sep 3 14:09:34 2008 Subject: cannot make/mount ext2 partition In-Reply-To: <80f4f2b20809021106j16e334e5na10b5675d018f1e5@mail.gmail.com> References: <80f4f2b20809021106j16e334e5na10b5675d018f1e5@mail.gmail.com> Message-ID: <80f4f2b20809030709n7db6b48v216c795714e62ad6@mail.gmail.com> > I'm trying to create an EXT2 partition so I can share files between > FreeBSD and any other operating system I put on the computer, without > the limitations of FAT32. > > My kernel config is the generic kernel, with a bunch of SCSI, RAID and > network drivers, MD_ROOT and NFS_ROOT commented out. > > However, once I'm done making the partition, I can't mount it. When I > try mounting it, I get the following error. > mount: /dev/ad8s1 : Operation not supported by device > [...] > [sjss@elrond ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt Solved, I needed to use ext2fs, not ext2. -Jim Stapleton From fbsd06 at mlists.homeunix.com Wed Sep 3 14:13:39 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Sep 3 14:13:46 2008 Subject: Google Chrome In-Reply-To: <20080903135750.F2188@wojtek.tensor.gdynia.pl> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> Message-ID: <20080903151335.0454e929@gumby.homeunix.com.> On Wed, 3 Sep 2008 13:59:28 +0200 (CEST) Wojciech Puchar wrote: > anyway what a point of using google software having other > alternatives. > > do you really like to everything be controlled by one company? google > mail, google news, google browser, even google documents. > > within few years - google WWW (incompatible with normal). For most people that's already happened, except that it's Adobe-Flash WWW. Google's approach of open-source software, and open-extensions, leading to new standards, sounds a lot better to me. From matiassurdi at gmail.com Wed Sep 3 14:21:54 2008 From: matiassurdi at gmail.com (Matias Surdi) Date: Wed Sep 3 14:22:02 2008 Subject: pkg_create In-Reply-To: References: Message-ID: Ivan Voras escribi?: > Matias Surdi wrote: >> I've a directory tree structure in /usr/local from wich I'd like to >> create a package. >> >> How are pkg_create arguments supposed to be? >> >> Where can I find an example? >> >> I've read the manpage, but an example would be really usefull. >> >> Thanks for your help again. > > Though it's theoretically possible, don't use pkg_create on a bunch of > files you scattered on the file system to create a package. a) it's hard > to do right by hand and b) you'll probably create an incorrect package. > > What you can do (and this is much easier) is write a port for your > application(s), see > http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a > binary package from that port using "make package". > > (You do not need to submit the port or your source to anyone but you > must have it on your computer to create the package). > Thanks, this will do the job. From dkelly at hiwaay.net Wed Sep 3 14:39:05 2008 From: dkelly at hiwaay.net (David Kelly) Date: Wed Sep 3 14:39:12 2008 Subject: Google Chrome In-Reply-To: <20080903151335.0454e929@gumby.homeunix.com.> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> Message-ID: <20080903143901.GA32027@Grumpy.DynDNS.org> On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote: > > For most people that's already happened, except that it's Adobe-Flash > WWW. Google's approach of open-source software, and open-extensions, > leading to new standards, sounds a lot better to me. What about this? http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/ -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From Lokadamus at gmx.de Wed Sep 3 15:10:43 2008 From: Lokadamus at gmx.de (Lokadamus) Date: Wed Sep 3 15:10:51 2008 Subject: smtp authentication In-Reply-To: <200808311116.28934.david@vizion2000.net> References: <200808311116.28934.david@vizion2000.net> Message-ID: <48BEA8F6.2090103@gmx.de> David Southwell wrote: > Hi > > I am really ignorant about this issue. > > I am running postfix on freebsd 7.0 using a dynamic IP address and am getting > requests to turn on smtp authentication for outgoing mails to reach servers > such as yahoo.com but do not know how to do it. > > I am using kmail as a client. > > If anyone could point me in the right direction I would be most grateful. > > Thank you > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Google can help http://www.google.de/search?q=postfix+smtp+authentication&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a http://postfix.state-of-mind.de/patrick.koetter/smtpauth/ Sektion 16 http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html looks interesting. Hope, it work. From laladelausanne at gmail.com Wed Sep 3 15:31:02 2008 From: laladelausanne at gmail.com (=?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?=) Date: Wed Sep 3 15:31:09 2008 Subject: /: write failed, filesystem is full Message-ID: Hi, I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- core machine), which has a 250GB SATAII disk. I used -bootonly CD image, and assigned whole disk to FreeBSD. Breakdown is: / - 2GB swap - 4GB /var - 9GB /tmp - 4GB /usr - 213GB As soon as I start copying files from FTP, this is the error I get: /: write failed, filesystem is full This shouldn't happen, since sysinstall did newfs on these partitions. What to do? I'll now try to run livefs disk, to see what is happening there. Cheers, Nikola From eculp at casasponti.net Wed Sep 3 15:36:13 2008 From: eculp at casasponti.net (Edwin L. Culp) Date: Wed Sep 3 15:36:21 2008 Subject: Google Chrome In-Reply-To: References: <200809021314.39209.beech@freebsd.org> Message-ID: <20080903103610.24902iap7u7elvy8@pontinet.casasponti.net> Jona Joachim escribi?: > On 2008-09-02, Vlad GURDIGA wrote: >> On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote: >>> On Tuesday 02 September 2008, Vlad GURDIGA said: >>>> Hello, >>>> >>>> In Google Chrome System requirements >>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to >>>> pic=14660) they say that a Linux version is going to appear. And in >>>> the "Download and install" help article >>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu >>>> ery=open-source&topic=&type=) they say that it is open-source. >>>> >>>> Does this mean that is hope we'll have a FreeBSD version? >>> >>> If someone steps up and rolls and submits the port. You're welcome to >>> volunteer :-) >> >> I'd be glad to, but I'm afraid I do not have the skills for that... :-( > > Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD. > However it doesn't run on Linux ATM according to what I've read. Has anyone tried to install it using wine? I tried but it just hung after agreeing to the license. ed From albert at cavalince.com Wed Sep 3 16:06:12 2008 From: albert at cavalince.com (Albert Cervin) Date: Wed Sep 3 16:06:19 2008 Subject: Logo Message-ID: <48BEB109.5060203@cavalince.com> Hi! I'm just wondering if it is okay to use your logo (the one at the top of your homepage) on our webpage. We use FreeBSD on our server and are very happy with it so we wanted to put "Powered by: " and then the logo at the bottom of our admin page. Is that okay to do? Best regards and thanks for a great OS! Albert Cervin www.cavalince.com From gilles.ganault at free.fr Wed Sep 3 16:10:10 2008 From: gilles.ganault at free.fr (Gilles) Date: Wed Sep 3 16:10:17 2008 Subject: [6.3/Apache22] Right way to compile worker MPM? Message-ID: Hello I'm trying to compile the latest ports of Apache22 with support for the worker MPM so that each child process spawns thread. I'd like to see if performance improves compared to the prefork model. Although I checked the "THREADS/Enable threads support in APR" item in "make config", the resulting binary says this: # pkg_info | grep apache apache-2.2.9_3 Version 2.2.x of Apache web server with prefork MPM. Should I edit the makefile file manually to get worked MPM? Thank you. From lists at jnielsen.net Wed Sep 3 16:10:49 2008 From: lists at jnielsen.net (John Nielsen) Date: Wed Sep 3 16:10:56 2008 Subject: vmware tools for ESX Server 3.5 In-Reply-To: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> References: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> Message-ID: <200809031211.34425.lists@jnielsen.net> On Wednesday 03 September 2008, B. Cook wrote: > I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. > > Ports has some things, but I am not sure what I need, and neither is he. > > Can anyone tell me what it needs? I usually create VM's with the Intel gigabit vNIC's which can use FreeBSD's "em" driver. Since Xorg includes the vmmouse and vmware video drivers already, the main things you should be looking for are the memory "balloon" driver and the guestd service. In the past I have gotten these to work by using the supplied tools (on the CD image that is "inserted" when you select "Install VMware tools" from the host). However it is much easier nowadays to use the free version in ports/emulators/open-vm-tools (or open-vm-tools-nox11). JN From lists at peter.de.com Wed Sep 3 16:43:26 2008 From: lists at peter.de.com (Oliver Peter) Date: Wed Sep 3 16:43:52 2008 Subject: portupgrade / ruby18 is eating up all CPU [FreeBSD 7.0-RELEASE-p3 amd64] Message-ID: <20080903172322.05e6c710@dilbert.office.centralnic.com> Hi, Something seems to be wrong with my current 7.0/amd64 setup. # sudo portupgrade -Rra Sometimes portupgrade stops while "Updating the portsdb" [1]. OK, actually it doesn't really stop, with top I see that the ruby18 process is eating up the whole CPU[2]. In the current case it's about p5-Socket6 - but it seems that it isn't about the port, it's more about the portsdb. When I try to restart (CTRL-C) and run portupgrade again it hangs at the same point "Updating the portsdb". Only when I manually force an update of the portsdb it goes through: # sudo pkgdb -fu But than it will randomly hang again in the whole portupgrade run at one of the next updates of the portsdb... I'm able reproduce this problem within a jail and on a regular host system, with portupgrade and portupgrade-devel. At this moment I'm suffering an interrupt storm on that machine, but I already had the problem before. The machine works fine, no performance impact or something like that. All described here http://lists.freebsd.org/pipermail/freebsd-acpi/2008-September/005095.html % uname -a FreeBSD nemesis.charlie.mouhaha.de 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #7: Thu Aug 14 20:09:36 BST 2008 root@charlie.mouhaha.de:/usr/obj/usr/src/sys/CHARLIE amd64 % portupgrade --version portupgrade 2.4.6 % ruby18 --version ruby 1.8.6 (2008-08-11 patchlevel 287) [amd64-freebsd7] Cheers Ollie [1] sudo portupgrade -Rra ... [Updating the pkgdb in /var/db/pkg ... - 313 packages found (-0 +1) . done] ---> Upgrading 'p5-Socket6-0.20' to 'p5-Socket6-0.22' (net/p5-Socket6) ---> Building '/usr/ports/net/p5-Socket6' ===> Cleaning for p5-Socket6-0.22 => Socket6-0.22.tar.gz doesn't seem to exist in /var/ports/distfiles/. => Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Socket6/. Socket6-0.22.tar.gz 100% of 56 kB 314 kBps ===> Extracting for p5-Socket6-0.22 => MD5 Checksum OK for Socket6-0.22.tar.gz. => SHA256 Checksum OK for Socket6-0.22.tar.gz. ===> p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for p5-Socket6-0.22 ===> p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found ===> p5-Socket6-0.22 depends on file: /usr/local/bin/perl5.8.8 - found ===> Configuring for p5-Socket6-0.22 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether your Perl5 have PL_sv_undef... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for getaddrinfo... yes checking for getnameinfo... yes checking for gethostbyname2... yes checking for getipnodebyname... yes checking for getipnodebyaddr... yes checking for inet_pton... yes checking for inet_ntop... yes checking whether you have sa_len in struct sockaddr... yes checking whether you have sin6_scope_id in struct sockaddr_in6... yes checking for socklen_t... yes configure: creating ./config.status config.status: creating config.pl config.status: creating gailookup.pl config.status: creating config.h Checking if your kit is complete... Looks good Writing Makefile for Socket6 ===> Building for p5-Socket6-0.22 cp Socket6.pm blib/lib/Socket6.pm /usr/local/bin/perl5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Socket6.xs > Socket6.xsc && mv Socket6.xsc Socket6.c cc -c -O2 -fno-strict-aliasing -pipe -march=athlon64 -O2 -fno-strict-aliasing -pipe -march=athlon64 -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" Socket6.c Running Mkbootstrap for Socket6 () chmod 644 Socket6.bs rm -f blib/arch/auto/Socket6/Socket6.so cc -shared -L/usr/local/lib Socket6.o -o blib/arch/auto/Socket6/Socket6.so chmod 755 blib/arch/auto/Socket6/Socket6.so cp Socket6.bs blib/arch/auto/Socket6/Socket6.bs chmod 644 blib/arch/auto/Socket6/Socket6.bs [Updating the portsdb in /var/db/pkg ... - 19084 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000 ..... done] [2] top PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12123 root 1 118 0 68636K 39552K CPU1 1 191:27 100.00% ruby18 ... [3] dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p1 #4: Thu Jun 19 18:03:38 BST 2008 root@charlie.mouhaha.de:/usr/obj/usr/src/sys/CHARLIE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ (2899.98-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 usable memory = 2099699712 (2002 MB) avail memory = 2024751104 (1930 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jun 19 2008 18:02:12) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7df00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_throttle0: CLK_VAL field overlaps THT_EN bit device_attach: acpi_throttle0 attach returned 6 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xfc000000-0xfdffffff,0xfe9f0000-0xfe9fffff,0xfe800000-0xfe8fffff irq 18 at device 5.0 on pci1 pci1: at device 5.2 (no driver attached) pcib2: at device 7.0 on pci0 pci2: on pcib2 re0: port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 19 at device 0.0 on pci2 re0: Using 2 MSI messages miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:1d:92:b6:ce:92 re0: [FILTER] re0: [FILTER] atapci0: port 0xb000-0xb007,0xa000-0xa003,0x9000-0x9007,0x8000-0x8003,0x7000-0x700f mem 0xfe7ff800-0xfe7ffbff irq 22 at device 18.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ohci0: mem 0xfe7fe000-0xfe7fefff irq 16 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0xfe7fd000-0xfe7fdfff irq 17 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0xfe7fc000-0xfe7fcfff irq 18 at device 19.2 on pci0 ohci2: [GIANT-LOCKED] ohci2: [ITHREAD] usb2: OHCI version 1.0, legacy support usb2: SMM does not respond, resetting usb2: on ohci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ohci3: mem 0xfe7fb000-0xfe7fbfff irq 17 at device 19.3 on pci0 ohci3: [GIANT-LOCKED] ohci3: [ITHREAD] usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: on ohci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ohci4: mem 0xfe7fa000-0xfe7fafff irq 18 at device 19.4 on pci0 ohci4: [GIANT-LOCKED] ohci4: [ITHREAD] usb4: OHCI version 1.0, legacy support usb4: SMM does not respond, resetting usb4: on ohci4 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered ehci0: mem 0xfe7ff000-0xfe7ff0ff irq 19 at device 19.5 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb5: EHCI version 1.0 usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub5: on usb5 uhub5: 10 ports with 10 removable, self powered pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 acpi_button0: on acpi0 sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 3 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] orm0: at iomem 0xcd800-0xce7ff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 WARNING: ZFS is considered to be an experimental feature in FreeBSD. Timecounters tick every 1.000 msec hptrr: no controller detected. ZFS filesystem version 6 ZFS storage pool version 6 ad4: 476940MB at ata2-master UDMA33 ad6: 476940MB at ata3-master UDMA33 SMP: AP CPU #1 Launched! Trying to mount root from zfs:tank re0: link state changed to UP cryptosoft0: on motherboard -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "I like to con people. And I like to insult people. If you combine con & insult, you get consult!" -- Dogbert From fbsd06 at mlists.homeunix.com Wed Sep 3 18:03:56 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Sep 3 18:04:04 2008 Subject: Google Chrome In-Reply-To: <20080903143901.GA32027@Grumpy.DynDNS.org> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> <20080903143901.GA32027@Grumpy.DynDNS.org> Message-ID: <20080903190351.389b5259@gumby.homeunix.com.> On Wed, 3 Sep 2008 09:39:01 -0500 David Kelly wrote: > On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote: > > > > For most people that's already happened, except that it's > > Adobe-Flash WWW. Google's approach of open-source software, and > > open-extensions, leading to new standards, sounds a lot better to > > me. > > What about this? > http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/ That's for the binary. AFAIK the source is BSD licensed, with some third-party components under other open-source licences. From ccowart at rescomp.berkeley.edu Wed Sep 3 18:18:52 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Wed Sep 3 18:18:59 2008 Subject: IPFW In FreeBSD In-Reply-To: <02be01c90da0$e03555d0$a0a00170$@za.net> References: <02be01c90da0$e03555d0$a0a00170$@za.net> Message-ID: <20080903181852.GK25990@hal.rescomp.berkeley.edu> Marcel Grandemange wrote: > Ok so I know this is a newbie question.. > > But ive for years now wanted to know how to only nat certain traffic or maby > only across a certain ip. > > Ive tried many examples all not working.. Maby im just doing something > stupid.. > > But, below is a example of a machine that is natting everything on em0. > > Id like to know how to change that to everything on say 196.212.65.186 > instead of entire interface. > > Or better yet.. > > Stop natting everything and say only nat web traffic. > > Im having issues where certain traffic is being nated that MUSTN be! If you're running 7.0, you can ditch divert and use the built-in NAT functionality (you can probably replace the nat rules for divert rules). You can use source and destination ports and addresses when deciding what to have ipfw divert/nat. They're rules just like any others. Here's what I do: /etc/ipfw.rules: | CMD="/sbin/ipfw -q add" | | # Configure NAT | /sbin/ipfw -q nat 1 config if inet log reset unreg_only same_ports \ | redirect_port tcp 10.1.10.20:80 80 \ | redirect_port tcp 10.1.10.20:443 443 | | # loopback | $CMD allow all from any to any via lo0 | $CMD deny log all from 127.0.0.0/8 to any | | # Anti-spoof | $CMD deny log all from any to any not verrevpath in | | # Catch proto 41 without NATing | $CMD allow ipv6 from any to me | | # Allow this box to initiate unNATed outbound connections | $CMD allow ip from me to any keep-state | | # NAT | $CMD nat 1 ip4 from any to me in via inet | $CMD nat 1 ip4 from 10.1.10.0/24 to not me out via inet | | # ICMP | $CMD allow icmp from any to any | | # SSH From local nets | $CMD allow tcp from 10.1.10.0/24 to me ssh | | # DNS from local nets | $CMD allow udp from 10.1.10.0/24 to me domain | | # DHCP from local nets | $CMD allow udp from any to me bootps in via bridge0 | $CMD allow udp from 0.0.0.0 to 255.255.255.255 bootps in via bridge0 | | # Deny anything else destined to me | $CMD deny log ip from any to me | | # But forward any other traffic | $CMD allow ip4 from any to any -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/75ef8bb2/attachment.pgp From mailinglist at diamondbox.dk Wed Sep 3 18:53:39 2008 From: mailinglist at diamondbox.dk (Nikolaj Thygesen) Date: Wed Sep 3 18:54:02 2008 Subject: Setting an environment var at boot In-Reply-To: <20080903104925.3b1e9535@nogrod.nicoelro.net> References: <20080903104925.3b1e9535@nogrod.nicoelro.net> Message-ID: <48BED85D.4050209@diamondbox.dk> Nicolas Letellier wrote: > Hello, > > I have an env var to set for mysqld (UMASK_DIR). > Today, I set it in /usr/local/etc/rc.d/mysql-server, but it's a bad > idea. When I want to upgrade my mysql5-server port, the file will be > overwritten. > > I want to set it in a file loaded a machine boot. This var must be > exported and accessible for my services runned in /etc/rc.d > and /usr/local/etc/rc.d > > What file do you advice? > > Thanks. > > Regards, > > Wouldn't this go into '/etc/login.conf'? N :o) From gerard at seibercom.net Wed Sep 3 19:00:27 2008 From: gerard at seibercom.net (Gerard) Date: Wed Sep 3 19:00:34 2008 Subject: Segmentation fault & Apache-2.2.9 Message-ID: <20080903150007.6525ff58@scorpio> I continue to see varying amounts of chatter in the 'httpd-error.log' file. This is a snipped of what is being written to the file. ************************************************** [Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest authentication ... [Wed Sep 03 06:59:31 2008] [notice] Digest: done [Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations [Wed Sep 03 08:28:11 2008] [notice] child pid 1039 exit signal Segmentation fault (11) [Wed Sep 03 08:56:01 2008] [notice] child pid 989 exit signal Segmentation fault (11) [Wed Sep 03 09:29:00 2008] [notice] child pid 1692 exit signal Segmentation fault (11) [Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal Segmentation fault (11) ************************************************** Some days there may be twenty or more 'segmentation fault' messages. How can I debug this to see what is crashing and why? Everything appears to be operating correctly. -- Gerard gerard@seibercom.net All men profess honesty as long as they can. To believe all men honest would be folly. To believe none so is something worse. John Quincy Adams -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/89378a06/signature.pgp From nightrecon at verizon.net Wed Sep 3 19:02:03 2008 From: nightrecon at verizon.net (Michael Powell) Date: Wed Sep 3 19:02:11 2008 Subject: [6.3/Apache22] Right way to compile worker MPM? References: Message-ID: Gilles wrote: > Hello > > I'm trying to compile the latest ports of Apache22 with support for > the worker MPM so that each child process spawns thread. I'd like to > see if performance improves compared to the prefork model. > > Although I checked the "THREADS/Enable threads support in APR" item in > "make config", the resulting binary says this: This has nothing to do with enabling worker. > # pkg_info | grep apache > apache-2.2.9_3 Version 2.2.x of Apache web server with prefork > MPM. apachectl -l will also list the core modules built in at compile time. > Should I edit the makefile file manually to get worked MPM? > No need. Edit /etc/make.conf. Example from mine: #For Apache-2.2.9 Build WITH_MPM=event WITH_THREADS=yes WITHOUT_AUTHN_MODULES=yes WITH_CUSTOM_AUTHZ=authz_host WITHOUT_DAV_MODULES=yes WITHOUT_LDAP_MODULES=yes #WITH_PROXY_MODULES=yes #WITHOUT_SUEXEC_MODULES=yes WITH_THREADS_MODULES=yes WITH_CACHE_MODULES=yes WITH_SSL_MODULES=yes WITH_AUTH_MODULES=yes WITH_MISC_MODULES=yes WITH_CUSTOM_EXPERIMENTAL=ext_filter You can still adjust overrides for some of these items in the make config command, IIRC. It can also be passed on the command line, but I do this so subsequent portupgrades reproduce the build environment automagically. Of course, you'll want worker instead of event. I'm just giving event a look see. One problem is that worker/event mpm is not recommended for use with mod_php as some pieces of PHP is not thread safe. So running PHP as FastCGI with mod_fcgid is what I'm currently playing around with for test purposes. YMMV -Mike From madunix at gmail.com Wed Sep 3 19:14:37 2008 From: madunix at gmail.com (Mad Unix) Date: Wed Sep 3 19:14:44 2008 Subject: mysql Message-ID: <4d3f56c90809031149p77611502t5295ea273dab828e@mail.gmail.com> I need to replicate MySQL DB of mulltiple server on SiteA to my DR-Site Site_B... all DB are alocated on RHEL,SuSE,Centos,Debian, FreeBSD servers. I need a script to take Multiple MySql DataBase Backup and then import to SiteB, the replica can be done as cold or hotbackup and cron it -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you can't throw out a window." - Steve Wozniak From nightrecon at verizon.net Wed Sep 3 19:23:28 2008 From: nightrecon at verizon.net (Michael Powell) Date: Wed Sep 3 19:23:34 2008 Subject: Segmentation fault & Apache-2.2.9 References: <20080903150007.6525ff58@scorpio> Message-ID: Gerard wrote: > I continue to see varying amounts of chatter in the 'httpd-error.log' > file. This is a snipped of what is being written to the file. > > > ************************************************** > > [Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest > [authentication ... Wed Sep 03 06:59:31 2008] [notice] Digest: done > [Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 > [OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- > [resuming normal operations Wed Sep 03 08:28:11 2008] [notice] child pid > [1039 exit signal Segmentation fault (11) Wed Sep 03 08:56:01 2008] > [[notice] child pid 989 exit signal Segmentation fault (11) Wed Sep 03 > [09:29:00 2008] [notice] child pid 1692 exit signal Segmentation fault > [(11) Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal > [Segmentation fault (11) > > > ************************************************** > > Some days there may be twenty or more 'segmentation fault' messages. How > can I debug this to see what is crashing and why? Everything appears to > be operating correctly. > > Easiest thing to try quickly as a stab in the dark is to comment out extension=hash.so in your extensions.ini and restart apache. I and others have had trouble with this one. However, when this particular problem surfaced for me Apache wouldn't start at all, so maybe you're seeing something else. This is just a quick "rule out a possible", but deeper investigation is probably warranted in your case. If this doesn't make any difference you can crank up the logging levels in both the Apache config and the php.ini both. Instructions are in the commented out sections of the relevant files. Careful here especially with the php.ini as you don't want the output showing to surfers. Sometimes truss can be a potentially helpful utility. The -f switch will allow it to look at child processes as they fork. truss -f -p [The "root" Apache PID] -Mike From gerard at seibercom.net Wed Sep 3 19:57:10 2008 From: gerard at seibercom.net (Gerard) Date: Wed Sep 3 19:57:17 2008 Subject: Google Chrome In-Reply-To: <20080903190351.389b5259@gumby.homeunix.com.> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> <20080903143901.GA32027@Grumpy.DynDNS.org> <20080903190351.389b5259@gumby.homeunix.com.> Message-ID: <20080903155702.6fdab0ee@scorpio> On Wed, 3 Sep 2008 19:03:51 +0100 RW wrote: > On Wed, 3 Sep 2008 09:39:01 -0500 > David Kelly wrote: > > > On Wed, Sep 03, 2008 at 03:13:35PM +0100, RW wrote: > > > > > > For most people that's already happened, except that it's > > > Adobe-Flash WWW. Google's approach of open-source software, and > > > open-extensions, leading to new standards, sounds a lot better to > > > me. > > > > What about this? > > http://www.theregister.co.uk/2008/09/03/google_chrome_eula_sucks/ > > > That's for the binary. AFAIK the source is BSD licensed, with > some third-party components under other open-source licences. Well, it did not take Google long to get on noticed: http://www.us-cert.gov/current/index.html#google_chrome_vulnerability I think I will pass on the whole Google 'browser' concept. -- Gerard gerard@seibercom.net All is well that ends well. John Heywood -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080903/133a389f/signature.pgp From scd at lst.de Wed Sep 3 20:24:45 2008 From: scd at lst.de (Stefan Dalibor) Date: Wed Sep 3 20:24:53 2008 Subject: Current status of SEBSD / how to build FLASK system on top of current FreeBSD? Message-ID: <20080903201150.GB21025@lst.de> Hello, could someone knowledgeable please give some information on the status of SEBSD? I have found the project page beneath the TrustedBSD homepage, but it seems a bit abandoned (no release since 2006, no mailing list traffic). Is SEBSD an integral part of the current standard kernel, or do I have to apply the patch as indicated on the homepage? And will the patch work with 7.0-RELENG or CURRENT? Should SEBSD be no longer actively maintained, how do I build the equivalence of an SELinux system on top of FreeBSD? I.e., which of the MAC modules should I use, so that the SELinux Reference Policy can be loaded and enforced? Thanks a lot! Stefan From derekb at realgeeky.com Wed Sep 3 20:33:51 2008 From: derekb at realgeeky.com (Derek Belrose) Date: Wed Sep 3 20:33:58 2008 Subject: mysql In-Reply-To: <4d3f56c90809031149p77611502t5295ea273dab828e@mail.gmail.com> References: <4d3f56c90809031149p77611502t5295ea273dab828e@mail.gmail.com> Message-ID: <4EC04561-2F39-45B1-9A4E-932A53D6A625@realgeeky.com> On Sep 3, 2008, at 2:49 PM, Mad Unix wrote: > I need to replicate MySQL DB of mulltiple server on SiteA to my DR- > Site > Site_B... all DB > are alocated on RHEL,SuSE,Centos,Debian, FreeBSD servers. > I need a script to take Multiple MySql DataBase Backup and then > import to > SiteB, the replica > can be done as cold or hotbackup and cron it Do you want replication or to copy the binary databases? You can just copy the databases: shut the server down, copy the database files over using scp. Or, you can set up replication where anytime you write to Site A you write to Site B. The latter is more work to setup but it's near instant replication while the prior is done at a scheduled time. -Derek From vince at unsane.co.uk Wed Sep 3 20:35:31 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Wed Sep 3 20:35:39 2008 Subject: Logo In-Reply-To: <48BEB109.5060203@cavalince.com> References: <48BEB109.5060203@cavalince.com> Message-ID: <48BEF50E.3040906@unsane.co.uk> In short yes from http://www.freebsdfoundation.org/documents/Guidelines.shtml "Please note that the following Terms and Conditions are intended to cover typical situations, in a general way, but that there may be special circumstances, which, in the judgment of the Foundation, result in different or additional requirements for your use of the Marks. Any individual, organization, or company may use the Marks to show support for the Project or as part of a notice to users that your product incorporates the FreeBSD operating system. On websites, the Marks should always link to http://www.freebsdfoundation.org or http://www.freebsd.org. You may not use the Marks in any way which is unlawful, threatening, libelous, defamatory, obscene, scandalous, inflammatory, pornographic, or profane, or in any other way that could give rise to any civil or criminal liability under the law or otherwise diminish the goodwill and integrity of the Marks. The Marks may not be used on product packaging or to promote products and services, or to create the impression of an endorsement or certification unless you comply with all of the following" See http://www.freebsd.org/logo.html Also see http://www.freebsd.org/art.html for older stuff. Vince Albert Cervin wrote: > Hi! > > I'm just wondering if it is okay to use your logo (the one at the top > of your homepage) on our webpage. We use FreeBSD on our server and are > very happy with it so we wanted to put "Powered by: " and then the > logo at the bottom of our admin page. Is that okay to do? > > Best regards and thanks for a great OS! > Albert Cervin > www.cavalince.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From info at thedoctorsorders.com Wed Sep 3 21:24:10 2008 From: info at thedoctorsorders.com (The Doctor's Orders) Date: Wed Sep 3 21:24:17 2008 Subject: Large Professor Album Launch Party this Friday! Message-ID: <932224.LCABVGSG@thedoctorsorders.com> [hea=] The Doctor's Orders 23 Large Professor Album Launch Party [="] This Friday 5th September 2008 @ Herbal, 10-14 kingsland Rd, London E2 Large Professor (Main Source) J-Sands (Lone Catalysts) Live Dan Greenpeace, Spin Doctor, Martin Lodge (Push FM) & Andy Bird (Body Music) All advance tickets are gone so you are gonna have to come pay ?10 the door. You know it makes sense! We had so many of you enter the competition for tickets and CDs that we have had to pull two names from the mailout and two from the facebook competition. The lucky winners are Alexandra Becker, Chima Anya, Nick Armatage & Louis Curtis. [1]Facebook Event _________________________________________________________________ ON THE REAL 8pm-3am THIS FRIDAY 19th September Bringing you true school Hip-Hop & Soul from Prince & Premier to Motown & Mos Def Bobbito aka Kool Bob Love (Rock Steady Crew / NYC) [="] @ Bar Rumba, 36 Shaftesbury Avenue, London W1 (Picadilly Tube) Free B4 9.30pm / ?5 B4 10.30pm / ?10 After [2]Check Out The Pics Of The Last Party! With Resident DJs Shortee Blitz (Kiss FM / Extended Players) DJ MK (Kiss FM / Roots Manuva) Spin Doctor (The Doctor's Orders) & The FREE B-Boy Cypher hosted by Skeg (Breakin Bread) DJ Hooch (Funkin' Pussy) Bobbito has nearly as many pseudonyms as he does rolls in the extended world of Hip-Hop. Whether you call him Boogie, Bob, Cucumber Slice, Kool Bob Love or like his mum does Bobbito one thing is guaranteed you are talking to a true Hip-Hop renaissance man. Since making his name through the legendary "Stretch Armstrong & Bobbito" show which introduced the world to the previously unknown & unsigned Wu Tang Clan, Big Pun, & Nas, to name just a few, he has gone on to record TV shows, adverts, write columns & books, edit magazines and so much more. The one constant thread behind all of his activities has been his love of Hip-Hop. As a signed up member of New York's legendary Rock Steady Crew there is nowhere he feels more at home than behind a set of decks blessing the crowd with classic underground Hip-Hop, Latin Funk and of course B-Boy breaks. Get ready to get sweaty! In honour of Bobbito and his contribution to sneaker culture we have Nike ID doing thier thing on the night helping you design those totally exclusive one off pair of kicks you have always wanted so make sure you bring ya creative juices! for more party details checkout [3]www & to be removed from the Doctors Orders list reply with unsubscribe as the subject References 1. 3D"http://www.facebook.com/event.php?eid=20948953719" 2. 3D"http://www.thedoctorsorders.com/gallery.html 3. 3D"http://www.thedoctorsorders.com"/ From laladelausanne at gmail.com Wed Sep 3 22:32:42 2008 From: laladelausanne at gmail.com (=?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?=) Date: Wed Sep 3 22:32:48 2008 Subject: error: symbol ether_poll_register undefined Message-ID: <1A441B64-8485-4BCC-BCD7-79A30F06283D@gmail.com> Hi guys, I'm trying to port Click modular router to FreeBSD 7.0. Along the way, I changed it quite a bit, but I managed to get it to compile. Well, when I try to load it (via sudo make load), this is what I get: link_elf_obj: symbol ether_poll_register undefined kldload: /usr/home/knl/work/mx-dfly/core/module/mxcore.ko: Unsupported file type What am I missing? I assume that ether_poll_register should be in the kernel. objdump -x -d mxcore.ko gives me a bunch of '*UND*', like _vn_lock, but they exist in the kernel. Cheers, Nikola From wojtek at wojtek.tensor.gdynia.pl Wed Sep 3 22:46:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 3 22:46:48 2008 Subject: /: write failed, filesystem is full In-Reply-To: References: Message-ID: <20080904004523.I1670@wojtek.tensor.gdynia.pl> On Wed, 3 Sep 2008, Nikola Kne?evi? wrote: > Hi, > I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4-core > machine), which has a 250GB SATAII disk. I used -bootonly CD image, and > assigned whole disk to FreeBSD. Breakdown is: > / - 2GB > swap - 4GB > /var - 9GB > /tmp - 4GB > /usr - 213GB > > As soon as I start copying files from FTP, this is the error I get: > /: write failed, filesystem is full > at install disk / is ramdisk. something is wrong there. while i do prefer single partition+swap setup, your is fine. From wojtek at wojtek.tensor.gdynia.pl Wed Sep 3 22:47:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 3 22:47:45 2008 Subject: Google Chrome In-Reply-To: <20080903151335.0454e929@gumby.homeunix.com.> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> Message-ID: <20080904004712.R1670@wojtek.tensor.gdynia.pl> > For most people that's already happened, except that it's Adobe-Flash > WWW. Google's approach of open-source software, and open-extensions, > leading to new standards, sounds a lot better to me. except it leads to google-everything. not even a bit better than microsoft-everything From kline at thought.org Wed Sep 3 23:14:47 2008 From: kline at thought.org (Gary Kline) Date: Wed Sep 3 23:14:58 2008 Subject: which gray is best for print? Message-ID: <20080903231439.GA98955@thought.org> This is for any webmaster types: which color gray (in hex, "#xxxxxx") is best for a site that has probably very long articles? I've googled around and found various grays such as "#696969" or "#708090", but I haven't found anything that really fits what I want. URL, anybody? Or if there is a color-chooser in ports, that too, altho I haven't found anything in ports/x11 or ports/www. To prevent boredom, two shades of deep gray or blue-gray would be besy. tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From freebsd at edvax.de Wed Sep 3 23:22:54 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 3 23:23:01 2008 Subject: /: write failed, filesystem is full In-Reply-To: References: Message-ID: <20080904012249.181f2231.freebsd@edvax.de> On Wed, 3 Sep 2008 17:30:58 +0200, Nikola Kne?evi? wrote: > Hi, > I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- > core machine), which has a 250GB SATAII disk. I used -bootonly CD > image, and assigned whole disk to FreeBSD. Breakdown is: > / - 2GB > swap - 4GB > /var - 9GB > /tmp - 4GB > /usr - 213GB > > As soon as I start copying files from FTP, this is the error I get: > /: write failed, filesystem is full > > This shouldn't happen, since sysinstall did newfs on these partitions. > > What to do? Something went wrong when specifying the disks where the OS is to be installed to. As it has already been mentioned, / is placed on a RAM disk. Extraction of the OS's components has to go to the mountpoints where your correctly created partitions reside (which are more than big enough, especially regarding /, I think). Did you do the installation via the sysinstall utility? If not, make sure the correct mount points are given for the software installation, e. g. /dev/ad0s1a -> /mnt/ /dev/ad0s1d -> /mnt/tmp /dev/ad0s1e -> /mnt/var /dev/ad0s1f -> /mnt/usr /dev/ad0s1g -> /mnt/home The structures in / (/bin, /usr/local etc.) are not the structures you want to have on the disk you're installing on. PS. Where's your /home partition? :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Wed Sep 3 23:26:35 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Sep 3 23:26:43 2008 Subject: which gray is best for print? In-Reply-To: <20080903231439.GA98955@thought.org> References: <20080903231439.GA98955@thought.org> Message-ID: <20080904012607.1f10dde3.freebsd@edvax.de> On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline wrote: > Or if there is a color-chooser in ports, that too, altho I haven't found > anything in ports/x11 or ports/www. You may check /usr/ports/x11/xcolorsel, allthough I prefer the color choosing dialog of Gimp which provides a hex readout of the selected color, as well as the RGB or CMY values (last one interesting if you want to print something). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd-questions-local at be-well.ilk.org Thu Sep 4 00:31:18 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Sep 4 00:31:25 2008 Subject: Logo In-Reply-To: <48BEB109.5060203@cavalince.com> (Albert Cervin's message of "Wed\, 03 Sep 2008 17\:45\:13 +0200") References: <48BEB109.5060203@cavalince.com> Message-ID: <44abeoda5q.fsf@lowell-desk.lan> Albert Cervin writes: > I'm just wondering if it is okay to use your logo (the one at the top > of your homepage) on our webpage. We use FreeBSD on our server and are > very happy with it so we wanted to put "Powered by: " and then the > logo at the bottom of our admin page. Is that okay to do? If you installed Apache from a FreeBSD port, you got some FreeBSD logos along with it that you can use freely for this purpose. From fbsd06 at mlists.homeunix.com Thu Sep 4 00:36:57 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Sep 4 00:37:03 2008 Subject: Google Chrome In-Reply-To: <20080904004712.R1670@wojtek.tensor.gdynia.pl> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> <20080904004712.R1670@wojtek.tensor.gdynia.pl> Message-ID: <20080904012138.4ff77804@gumby.homeunix.com.> On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) Wojciech Puchar wrote: > > For most people that's already happened, except that it's > > Adobe-Flash WWW. Google's approach of open-source software, and > > open-extensions, leading to new standards, sounds a lot better to > > me. > > except it leads to google-everything. not even a bit better than > microsoft-everything There's a lot of difference. Microsoft has always tried to undermine standards because standards give its competitors a more level-playing field, which is what Google needs for its webapps to compete with Microsoft's desktop applications. I don't see how that's bad for anyone except Microsoft. From ejcerejo at optonline.net Thu Sep 4 01:12:45 2008 From: ejcerejo at optonline.net (Eduardo Cerejo) Date: Thu Sep 4 01:12:51 2008 Subject: KDE4 and plasma icons Message-ID: <20080903211238.9de3792a.ejcerejo@optonline.net> Just installed kde4 on FBSD 7-stable and I start it I get the plasma with some icons like the trash icon but all of them are a simple file icon with a question mark on them. I try to change them and tells me that I don't have enough permissions to do it but I own every kde directory in my home directory though. Has anyone experienced this thing? -- E. J. Cerejo From kline at thought.org Thu Sep 4 01:33:29 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 01:33:36 2008 Subject: which gray is best for print? In-Reply-To: <20080904012607.1f10dde3.freebsd@edvax.de> References: <20080903231439.GA98955@thought.org> <20080904012607.1f10dde3.freebsd@edvax.de> Message-ID: <200809031832.57312.kline@thought.org> On Wed September 3 2008 16:26:07 Polytropon wrote: > On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline wrote: > > Or if there is a color-chooser in ports, that too, altho I haven't found > > anything in ports/x11 or ports/www. > > You may check /usr/ports/x11/xcolorsel, allthough I prefer the > color choosing dialog of Gimp which provides a hex readout of > the selected color, as well as the RGB or CMY values (last one > interesting if you want to print something). Yeah, you were right about the xcolorsel being less useful than the GIMP. I typed in "333366" and found others that were as nice. Then found a december.com site with more info. "000033" is a named and safe color or ink. Still more to back and look at, read up on. dank sehr viel! [i hope:)] -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From chris at arnold.se Thu Sep 4 01:46:53 2008 From: chris at arnold.se (Christopher Arnold) Date: Thu Sep 4 01:47:00 2008 Subject: Google Chrome Message-ID: <20080904031344.Q96386@localhost> >Jona Joachim escribi?: > >> On 2008-09-02, Vlad GURDIGA wrote: >>> On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote: >>>> On Tuesday 02 September 2008, Vlad GURDIGA said: >>>>> Hello, >>>>> >>>>> In Google Chrome System requirements >>>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to >>>>> pic=14660) they say that a Linux version is going to appear. And in >>>>> the "Download and install" help article >>>>> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu >>>>> ery=open-source&topic=&type=) they say that it is open-source. >>>>> >>>>> Does this mean that is hope we'll have a FreeBSD version? >>>> >>>> If someone steps up and rolls and submits the port. You're welcome to >>>> volunteer :-) >>> >>> I'd be glad to, but I'm afraid I do not have the skills for that... :-( >> >> Once it runs on Linux it shouldn't be too difficult to port it to FreeBSD. >> However it doesn't run on Linux ATM according to what I've read. > >Has anyone tried to install it using wine? I tried but it just hung >after agreeing to the license. > I managed to get past slashdot's first redirect and Chrome started to render the page. I have written down my experience and what was needed here: http://www.arnold.se/chris/ /Chris From kline at thought.org Thu Sep 4 01:53:30 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 01:53:36 2008 Subject: ThinkPad 3.0GHz: can anybody verify? Message-ID: <20080904015322.GA6544@thought.org> Folks, I'm looking at a 3GHz ThinkPad w/out any OS. It's got at most 512M memory and only 40G drive. The guy I'm going to have upgrade this l'top thinks it will take a 160GB drive easily. Also that the RAM might max out at just 2GB. Any fellow TP-people onlist who know if my friend is right? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From admin2 at enabled.com Thu Sep 4 02:08:02 2008 From: admin2 at enabled.com (Noah) Date: Thu Sep 4 02:08:14 2008 Subject: cd and rm a directory with '^M' Message-ID: <48BF3F0F.6030606@enabled.com> Hi there, I had rsync create a directory with a '^M' in it. how do I rm -rf the directory? Cheers, Noah From kurt.buff at gmail.com Thu Sep 4 02:42:22 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Thu Sep 4 02:42:28 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904015322.GA6544@thought.org> References: <20080904015322.GA6544@thought.org> Message-ID: I got a Thinkpad T61 back in May/June that had 4gig factory-installed. Dual core, but only 2.2GHz - I could've gotten a faster proc, but I wasn't willing to pay the price. I did splurge on a 120gbyte 7200rpm drive, though. Came with SUSE on it, too, but I've got it dual booting with FreeBSD 7 amd64. Works great, except that the native FireFox and all other web browsers I've tried crash (no core, nothing, it just disappears) on the javascript on a lot of web sites, including gmail. Haven't had the time to pursue that one very much, though I've asked on this list a few times. Kurt On Wed, Sep 3, 2008 at 6:53 PM, Gary Kline wrote: > > Folks, > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > at most 512M memory and only 40G drive. The guy I'm going to > have upgrade this l'top thinks it will take a 160GB drive easily. > Also that the RAM might max out at just 2GB. > > Any fellow TP-people onlist who know if my friend is right? > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org From steve at ibctech.ca Thu Sep 4 03:00:30 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Sep 4 03:00:37 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904015322.GA6544@thought.org> References: <20080904015322.GA6544@thought.org> Message-ID: <48BF4F43.8000704@ibctech.ca> Gary Kline wrote: > Folks, > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > at most 512M memory and only 40G drive. The guy I'm going to > have upgrade this l'top thinks it will take a 160GB drive easily. > Also that the RAM might max out at just 2GB. > > Any fellow TP-people onlist who know if my friend is right? If you specify the model of the laptop, a quick Google or search on IBM (Lenovo) website will inform you what the maximum upgrade path on hardware is on the box. With the resources the manufacturers put out freely regarding documentation, I say that if you have someone who *thinks* the ThinkPad will take certain hardware, you need to walk away, and pay someone different who knows how to find out _for sure_ what hardware the box can take, and who will be confident in saying and showing why if asked. Once you have a confident hardware tech, then you will be confident/comfortable spending your money there... Steve From glarkin at FreeBSD.org Thu Sep 4 03:13:02 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Thu Sep 4 03:13:09 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904015322.GA6544@thought.org> References: <20080904015322.GA6544@thought.org> Message-ID: <48BF5241.8010300@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gary Kline wrote: > Folks, > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > at most 512M memory and only 40G drive. The guy I'm going to > have upgrade this l'top thinks it will take a 160GB drive easily. > Also that the RAM might max out at just 2GB. > > Any fellow TP-people onlist who know if my friend is right? > Hi Gary, What's the laptop's model number (e.g. 2468-8EU or something similar)? It should be shown on the bottom somewhere. The IBM and/or Lenovo support sites have a wealth of information where you can find your answers, but it helps to know the model number first. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv1JB0sRouByUApARAtchAJ4mAeuJBk4lxnrQCj8Y9mrkwj83nwCgv6Mu HTRMZIPeJyt/gJiKWPcGvSY= =akk0 -----END PGP SIGNATURE----- From ljfong at sdf.lonestar.org Thu Sep 4 03:20:38 2008 From: ljfong at sdf.lonestar.org (Hong) Date: Thu Sep 4 03:20:55 2008 Subject: Maildrop with MySQL look-up? In-Reply-To: <20080902234833.GA19065@SDF.LONESTAR.ORG> References: <20080902234833.GA19065@SDF.LONESTAR.ORG> Message-ID: <20080904032035.GA8154@SDF.LONESTAR.ORG> Found out how to do it: # portinstall mail/maildrop -m "WITH_AUTHLIB=YES" Choose MySQL as one of the possible authentication methods in the config choices. Hong On Tue, Sep 02, 2008 at 04:48:33PM -0700, Hong wrote: > Hi, > > How do I enable MySQL look-up when I install maildrop from the port system? I > looked at the Makefile: > > # New ports collection makefile for: maildrop > # Date created: 16 November 1998 > # Whom: Tom Hukins > # > # $FreeBSD: ports/mail/maildrop/Makefile,v 1.50 2008/08/21 06:17:37 rafan Exp $ > # > > # The following compile-time options are available: > # WITH_AUTHLIB=yes Enable optional support for Courier Auth Library > # WITH_FAM=yes Enable optional support for File Alteration Monitor > # WITH_GDBM=yes Enable database extensions using GDBM (default: off) > # MAILDROP_SUID=, > # MAILDROP_SGID= Maildrop will be installed with suid permissions for > # MAILDROP_SUID, and sgid permissions for MAILDROP_SGID. > # MAILDROP_TRUSTED_USERS= Specify users allowed to use the -d option > # NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary > # to use > > There doesn't seem to be a way to enable mysql for the maildrop in the port system directly. > > Thanks, > > Hong From keramida at ceid.upatras.gr Thu Sep 4 03:20:42 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Sep 4 03:20:56 2008 Subject: cd and rm a directory with '^M' In-Reply-To: <48BF3F0F.6030606@enabled.com> (Noah's message of "Wed, 03 Sep 2008 18:51:11 -0700") References: <48BF3F0F.6030606@enabled.com> Message-ID: <87fxog8umk.fsf@kobe.laptop> On Wed, 03 Sep 2008 18:51:11 -0700, Noah wrote: > Hi there, > > I had rsync create a directory with a '^M' in it. > > how do I rm -rf the directory? These are a few options: (1) In most shells, you can type a ^M character as part of a filename by prefixing the ^M character with ^V. (2) Use tab completion. Type the first part of the filename and hit the TAB key. The shells which support tab completion will fill in the remaining bits of the filename in the 'correct' way. (3) Use a GUI file manager or the `dired' mode of GNU Emacs to delete the file. From freebsd-lists-erik at erikosterholm.org Thu Sep 4 03:35:01 2008 From: freebsd-lists-erik at erikosterholm.org (Erik Osterholm) Date: Thu Sep 4 03:35:07 2008 Subject: cd and rm a directory with '^M' In-Reply-To: <48BF3F0F.6030606@enabled.com> References: <48BF3F0F.6030606@enabled.com> Message-ID: <20080904031740.GA37290@aleph.cepheid.org> On Wed, Sep 03, 2008 at 06:51:11PM -0700, Noah wrote: > Hi there, > > I had rsync create a directory with a '^M' in it. > > how do I rm -rf the directory? > > Cheers, > Noah There are multiple possibilities: 1) Use a shell which supports tab completion, and tab-complete the entry. 2) Embed the '^M' using '^V''^M' (type ctrl-v then ctrl-m.) 3) Use shell globbing (if the file is abra^Mcadabra, type: ls abra* rm abra* (only if the above matched exactly what you want to delete.) Erik From edwin at mavetju.org Thu Sep 4 03:48:35 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Thu Sep 4 03:48:45 2008 Subject: cd and rm a directory with '^M' In-Reply-To: <48BF3F0F.6030606@enabled.com> Message-ID: <20080904034833.GA25655@k7.mavetju> > I had rsync create a directory with a '^M' in it. Use command-line completion: [~/xx] edwin@k7>touch foo^Mbar # that's ^V^M [~/xx] edwin@k7>ls -l total 0 -rw-r--r-- 1 edwin edwin 0 Sep 4 13:46 foo?bar [~/xx] edwin@k7>rm foo # autocompletes to foo^Mbar -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From lists_freebsd at bluewin.ch Thu Sep 4 04:52:59 2008 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Thu Sep 4 04:53:06 2008 Subject: ftp server: create/delete user by web interface Message-ID: <20080904045322.GC29893@saturn.pcs.ms> Hello I've three FreeBSD 7.0 server. Im looking for a combination where I can create/delete etc. ftp users as a non-root user (probably from a template). Do you have some hints which combinations works in such a constellation? Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From dave.list at pixelhammer.com Thu Sep 4 05:28:32 2008 From: dave.list at pixelhammer.com (DAve) Date: Thu Sep 4 05:28:39 2008 Subject: cd and rm a directory with '^M' In-Reply-To: <20080904034833.GA25655@k7.mavetju> References: <20080904034833.GA25655@k7.mavetju> Message-ID: <48BF71F9.9000004@pixelhammer.com> Edwin Groothuis wrote: >> I had rsync create a directory with a '^M' in it. > > Use command-line completion: > > [~/xx] edwin@k7>touch foo^Mbar # that's ^V^M > [~/xx] edwin@k7>ls -l > total 0 > -rw-r--r-- 1 edwin edwin 0 Sep 4 13:46 foo?bar > [~/xx] edwin@k7>rm foo # autocompletes to foo^Mbar > > If you find yourself on a machine without a full featured shell you can delete by the inode number. Chuck Swiger saved my bacon with that trick several years ago. [sysadmin /usr/home/sysadmin]$ touch abc^M [sysadmin /usr/home/sysadmin]$ ls -i 2449500 abc? 2449511 env.sh [sysadmin /usr/home/sysadmin]$ find . -type f -inum 2449500 | xargs rm [sysadmin /usr/home/sysadmin]$ ls -i 2449511 env.sh I've needed but a few times since then, but when I did... DAve -- Don't tell me I'm driving the cart! From tedm at toybox.placo.com Thu Sep 4 06:12:00 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Sep 4 06:12:24 2008 Subject: Google Chrome In-Reply-To: <20080904012138.4ff77804@gumby.homeunix.com.> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of RW > Sent: Wednesday, September 03, 2008 5:22 PM > To: freebsd-questions@freebsd.org > Subject: Re: Google Chrome > > > On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) > Wojciech Puchar wrote: > > > > For most people that's already happened, except that it's > > > Adobe-Flash WWW. Google's approach of open-source software, and > > > open-extensions, leading to new standards, sounds a lot better to > > > me. > > > > except it leads to google-everything. not even a bit better than > > microsoft-everything > > There's a lot of difference. Microsoft has always tried to undermine > standards because standards give its competitors a more level-playing > field, which is what Google needs for its webapps to compete with > Microsoft's desktop applications. I don't see how that's bad for > anyone except Microsoft. The real reason that Chrome is important is because due to Microsoft enticement and pressure, a growing number of people are implementing websites that require active X controls which won't run on anything other than Windows. We are seeing a lot of this in embedded stuff but it's starting to contaminate public websites and most importantly, general software. Just by virtue of it coming from Google, a lot of end users and consumers out there will download, install and run Chrome. As a result web designers will have less incentive to jump to active X. That is very important. Ted From fred at bsdhost.net Thu Sep 4 06:20:56 2008 From: fred at bsdhost.net (Fred C) Date: Thu Sep 4 06:21:09 2008 Subject: Google Chrome In-Reply-To: <20080904012138.4ff77804@gumby.homeunix.com.> References: <57057966651240527470195062000340979511-Webmail2@me.com> <26682.8228872784$1220442858@news.gmane.org> <20080903135750.F2188@wojtek.tensor.gdynia.pl> <20080903151335.0454e929@gumby.homeunix.com.> <20080904004712.R1670@wojtek.tensor.gdynia.pl> <20080904012138.4ff77804@gumby.homeunix.com.> Message-ID: <08472905-EBEC-403D-9D35-5E8EA6BA269B@bsdhost.net> On Sep 3, 2008, at 5:21 PM, RW wrote: > On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) > Wojciech Puchar wrote: > >>> For most people that's already happened, except that it's >>> Adobe-Flash WWW. Google's approach of open-source software, and >>> open-extensions, leading to new standards, sounds a lot better to >>> me. >> >> except it leads to google-everything. not even a bit better than >> microsoft-everything > > There's a lot of difference. Microsoft has always tried to undermine > standards because standards give its competitors a more level-playing > field, which is what Google needs for its webapps to compete with > Microsoft's desktop applications. I don't see how that's bad for > anyone except Microsoft. So you mean that google is learning from the Microsoft mistakes. Or maybe google need to get along with the standards for now, but as soon as they have secured the market they will define the standards as they need it to be for their benefit. -fred- From tedm at toybox.placo.com Thu Sep 4 06:27:12 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Sep 4 06:27:19 2008 Subject: Google Chrome In-Reply-To: <08472905-EBEC-403D-9D35-5E8EA6BA269B@bsdhost.net> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fred C > Sent: Wednesday, September 03, 2008 11:21 PM > To: RW > Cc: freebsd-questions@freebsd.org > Subject: Re: Google Chrome > > > > On Sep 3, 2008, at 5:21 PM, RW wrote: > > > On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) > > Wojciech Puchar wrote: > > > >>> For most people that's already happened, except that it's > >>> Adobe-Flash WWW. Google's approach of open-source software, and > >>> open-extensions, leading to new standards, sounds a lot better to > >>> me. > >> > >> except it leads to google-everything. not even a bit better than > >> microsoft-everything > > > > There's a lot of difference. Microsoft has always tried to undermine > > standards because standards give its competitors a more level-playing > > field, which is what Google needs for its webapps to compete with > > Microsoft's desktop applications. I don't see how that's bad for > > anyone except Microsoft. > > So you mean that google is learning from the Microsoft mistakes. Or > maybe > google need to get along with the standards for now, but as soon as > they have > secured the market they will define the standards as they need it to > be for their > benefit. > Since they are defining standards that are implemented in open source code under BSD license I don't see the problem. You can complain the day that Adobe releases the source for Acrobat Reader, and Flash, under BSD license, and Google closes the source for Chrome, OK? Ted From vogelke+software at pobox.com Thu Sep 4 06:27:47 2008 From: vogelke+software at pobox.com (Karl Vogel) Date: Thu Sep 4 06:28:01 2008 Subject: script to assist ASCII text In-Reply-To: <1219723211.4994.165.camel@localhost> (message from Gary Kline on Mon, 25 Aug 2008 21:00:10 -0700) Message-ID: <20080904013330.B1E92B7BD@kev.msw.wpafb.af.mil> >> On Mon, 25 Aug 2008 21:00:10 -0700, >> Gary Kline said: G> This had eluded me for years and it may not be possible, but here goes. G> I write using vi or, less frequently vim. Is there any sh script that G> would make sure that there were exactly one space ('\040') between words, G> and three spaces between sentences? My definition of "a sentence" is a G> string of words that ends in a period or question-mark, exclamation-mark, G> or ellipse ("... . || ... ? || ... !) Also, any dash "--" could not have G> any whitespace around it. I like a similar setup -- one space between words, sentences ending with a period followed by two spaces. The GNU version of "fmt" handles this pretty well. Here's the first part of your message, formatted to 50-character-wide lines, with the type of spacing that drives me nuts: me% cat -n msg 1 This had eluded me for years and it may not be 2 possible, but here goes. I write using vi or, 3 less frequently vim. Is there any sh script that 4 would make sure that there were exactly one 5 space ('\040') between words, and three spaces 6 between sentences? My definition of "a sentence" 7 is a string of words that ends in a period or 8 question-mark, exclamation-mark, or ellipse. Putting one word on each line and then letting GNU fmt decide on sentence-handling does almost exactly what you want: me% gfmt -1 msg | gfmt -50 | cat -n 1 This had eluded me for years and it may not be 2 possible, but here goes. I write using vi or, 3 less frequently vim. Is there any sh script 4 that would make sure that there were exactly one 5 space ('\040') between words, and three spaces 6 between sentences? My definition of "a sentence" 7 is a string of words that ends in a period or 8 question-mark, exclamation-mark, or ellipse. Here's a script I use as a driver for GNU fmt. It looks for an optional environment variable FMTWIDTH to decide how long each line should be. This comes in handy if I call vi/vim from within a script: #!/bin/sh # driver for fmt. case "$FMTWIDTH" in "") opt= ;; *) opt="-$FMTWIDTH" ;; esac case "$1" in -*) opt= ;; *) ;; esac exec /usr/local/bin/gfmt $opt ${1+"$@"} Here's an alias I use for quickly reformatting a section of text in vim. I mark where to start using 'a', then move down to the end of the section and hit 'v': jmbk:'a,.!fmt -1|fmt'b A similar alias will reformat whatever paragraph I'm in, with no need for marks: }jmbk{ma}:'a,.!fmt -1|fmt'b The script below helps me clean up a file or message after running fmt, which makes strings like "U.S.A." look like the end of a sentence even when they're not. This should give you some ideas. -- Karl Vogel I don't speak for the USAF or my company Panda Mating Fails; Veterinarian Takes Over --actual news headline, 1997 --------------------------------------------------------------------------- #!/usr/bin/perl # # $Id: cm,v 1.3 2008/08/17 20:25:49 vogelke Exp $ # $Source: /home/vogelke/bin/RCS/cm,v $ # # cm: clean mail message while (<>) { s/Jan\. /Jan /g; s/Feb\. /Feb /g; s/Aug\. /Aug /g; s/Sept\. /Sept /g; s/Oct\. /Oct /g; s/Nov\. /Nov /g; s/Dec\. /Dec /g; s/Mr\. /Mr. /g; s/Mrs\. /Mrs. /g; s/Ms\. /Ms. /g; s/Dr\. /Dr. /g; s/Sen\. /Senator /g; s/Rep\. /Representative /g; s/U\.S\.A\. /USA /g; s/U\.S\. /US /g; s/D\.C\. /DC /g; s/U\.N\. /UN /g; s/B\.S\. /BS /g; s/M\.B\.A\. /MBA /g; s/ ([A-Z]\.) / $1 /g; s/''/\"/g; s/``/\"/g; s/\342\200\231/'/g; # These come from saving Firefox pages s/\342\200\234/"/g; s/\342\200\235/"/g; print; } exit(0); From fred at bsdhost.net Thu Sep 4 06:42:15 2008 From: fred at bsdhost.net (Fred C) Date: Thu Sep 4 06:42:22 2008 Subject: Google Chrome In-Reply-To: References: Message-ID: On Sep 3, 2008, at 11:27 PM, Ted Mittelstaedt wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fred C >> Sent: Wednesday, September 03, 2008 11:21 PM >> To: RW >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Google Chrome >> >> >> >> On Sep 3, 2008, at 5:21 PM, RW wrote: >> >>> On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) >>> Wojciech Puchar wrote: >>> >>>>> For most people that's already happened, except that it's >>>>> Adobe-Flash WWW. Google's approach of open-source software, and >>>>> open-extensions, leading to new standards, sounds a lot better to >>>>> me. >>>> >>>> except it leads to google-everything. not even a bit better than >>>> microsoft-everything >>> >>> There's a lot of difference. Microsoft has always tried to undermine >>> standards because standards give its competitors a more level- >>> playing >>> field, which is what Google needs for its webapps to compete with >>> Microsoft's desktop applications. I don't see how that's bad for >>> anyone except Microsoft. >> >> So you mean that google is learning from the Microsoft mistakes. Or >> maybe >> google need to get along with the standards for now, but as soon as >> they have >> secured the market they will define the standards as they need it to >> be for their >> benefit. >> > > Since they are defining standards that are implemented in open source > code under BSD license I don't see the problem. > > You can complain the day that Adobe releases the source for Acrobat > Reader, and Flash, under BSD license, and Google closes the source for > Chrome, OK? I am not saying what they are doing is not good for the community. Like everyone here I thing that's great. Not only because it's one more pice of freesoftware. Also because that will force web developers to use standards instead of specificities only available on IE. I am just saying that what they are doing is for their own good and not for the good of mankind. Their business model doesn't rely on software ownership but on data mining. -fred- From kusanagiyang at gmail.com Thu Sep 4 07:06:39 2008 From: kusanagiyang at gmail.com (Richard Yang) Date: Thu Sep 4 07:06:46 2008 Subject: problem running named In-Reply-To: <692660060809030104x1b4ce584v5f98eeea53ff6cf2@mail.gmail.com> References: <692660060809030104x1b4ce584v5f98eeea53ff6cf2@mail.gmail.com> Message-ID: Thank you so much for this tip :) it is just a simple syntax error in named.conf it is running now thank you so much! 2008/9/3 Sebastian Tymk?w > Hello, > > What is on logs ? > What do you have in your /etc/rc.conf for named ? > > Best regards, > > Shamrock > > 2008/9/3 Richard Yang > >> Hello, >> >> When I tried "/etc/rc.d/named forcestart", i got >> ./named: WARNING: run_rc_command: cannot run /etc/namedb/named >> >> what does it mean and how do i fix this? >> thanx >> >> -- >> >> Best Regards >> >> Richard Yang >> richardyang@richardyang.net >> kusanagiyang@gmail.com >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > -- Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com From sebastian.tymkow at gmail.com Thu Sep 4 07:31:07 2008 From: sebastian.tymkow at gmail.com (=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=) Date: Thu Sep 4 07:31:14 2008 Subject: ftp server: create/delete user by web interface In-Reply-To: <20080904045322.GC29893@saturn.pcs.ms> References: <20080904045322.GC29893@saturn.pcs.ms> Message-ID: <692660060809040031j3db9b6eaj87608ceebcec0585@mail.gmail.com> Hello, Have you tried cpanel or webmin ? Or maybe you're looking for solution like ftp server and accounts in database ? Best regards, Sebastian Tymk?w 2008/9/4 Martin Schweizer > Hello > > I've three FreeBSD 7.0 server. Im looking for a combination where I can > create/delete etc. ftp users as a non-root user (probably from a template). > Do > you have some hints which combinations works in such a constellation? > > Regards, > > -- > > Martin Schweizer > > > PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon > Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; > public key : http://www.pc-service.ch/pgp/public_key.asc; > fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From i.tanusheff at procreditbank.bg Thu Sep 4 07:44:37 2008 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Thu Sep 4 07:44:48 2008 Subject: /: write failed, filesystem is full In-Reply-To: Message-ID: I suppose you are downloading some files from ftp to your home. Is that is the case - then you should check where is your home directory. I suppose you do it as root, and the root home is /root, which resides on the / mount. Regards, Ivailo Tanusheff Nikola Kne?evi? Sent by: owner-freebsd-questions@freebsd.org 03.09.2008 21:41 To freebsd-questions@freebsd.org cc Subject /: write failed, filesystem is full Hi, I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- core machine), which has a 250GB SATAII disk. I used -bootonly CD image, and assigned whole disk to FreeBSD. Breakdown is: / - 2GB swap - 4GB /var - 9GB /tmp - 4GB /usr - 213GB As soon as I start copying files from FTP, this is the error I get: /: write failed, filesystem is full This shouldn't happen, since sysinstall did newfs on these partitions. What to do? I'll now try to run livefs disk, to see what is happening there. Cheers, Nikola _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 08:15:53 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 08:16:00 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904015322.GA6544@thought.org> References: <20080904015322.GA6544@thought.org> Message-ID: <20080904101526.H10160@wojtek.tensor.gdynia.pl> > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > at most 512M memory and only 40G drive. The guy I'm going to > have upgrade this l'top thinks it will take a 160GB drive easily. > Also that the RAM might max out at just 2GB. > > Any fellow TP-people onlist who know if my friend is right? no idea. anyway 512MB is more than enough. From z.szalbot at lcwords.com Thu Sep 4 08:18:03 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Thu Sep 4 08:18:17 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904101526.H10160@wojtek.tensor.gdynia.pl> References: <20080904015322.GA6544@thought.org> <20080904101526.H10160@wojtek.tensor.gdynia.pl> Message-ID: <48BF99B4.6040804@lcwords.com> Hi, >> I'm looking at a 3GHz ThinkPad w/out any OS. It's got >> at most 512M memory and only 40G drive. The guy I'm going to >> have upgrade this l'top thinks it will take a 160GB drive easily. >> Also that the RAM might max out at just 2GB. >> >> Any fellow TP-people onlist who know if my friend is right? > > no idea. anyway 512MB is more than enough. Sounds like Bill Gates who once said that 8MB will be more than enough for everyone... -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080904/e76861c5/smime.bin From tedm at toybox.placo.com Thu Sep 4 08:20:22 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Sep 4 08:20:29 2008 Subject: Google Chrome In-Reply-To: Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fred C > Sent: Wednesday, September 03, 2008 11:42 PM > To: freebsd-questions@freebsd.org > Cc: Ted Mittelstaedt > Subject: Re: Google Chrome > > > > On Sep 3, 2008, at 11:27 PM, Ted Mittelstaedt wrote: > > > > > > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org > >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fred C > >> Sent: Wednesday, September 03, 2008 11:21 PM > >> To: RW > >> Cc: freebsd-questions@freebsd.org > >> Subject: Re: Google Chrome > >> > >> > >> > >> On Sep 3, 2008, at 5:21 PM, RW wrote: > >> > >>> On Thu, 4 Sep 2008 00:47:34 +0200 (CEST) > >>> Wojciech Puchar wrote: > >>> > >>>>> For most people that's already happened, except that it's > >>>>> Adobe-Flash WWW. Google's approach of open-source software, and > >>>>> open-extensions, leading to new standards, sounds a lot better to > >>>>> me. > >>>> > >>>> except it leads to google-everything. not even a bit better than > >>>> microsoft-everything > >>> > >>> There's a lot of difference. Microsoft has always tried to undermine > >>> standards because standards give its competitors a more level- > >>> playing > >>> field, which is what Google needs for its webapps to compete with > >>> Microsoft's desktop applications. I don't see how that's bad for > >>> anyone except Microsoft. > >> > >> So you mean that google is learning from the Microsoft mistakes. Or > >> maybe > >> google need to get along with the standards for now, but as soon as > >> they have > >> secured the market they will define the standards as they need it to > >> be for their > >> benefit. > >> > > > > Since they are defining standards that are implemented in open source > > code under BSD license I don't see the problem. > > > > You can complain the day that Adobe releases the source for Acrobat > > Reader, and Flash, under BSD license, and Google closes the source for > > Chrome, OK? > > I am not saying what they are doing is not good for the community. > Like everyone > here I thing that's great. Not only because it's one more pice of > freesoftware. Also > because that will force web developers to use standards instead of > specificities only > available on IE. I am just saying that what they are doing is for > their own good and > not for the good of mankind. Their business model doesn't rely on > software ownership > but on data mining. > I actually don't think that everyone here is naieve enough to believe that Google is doing this purely for altruistic reasons. Just about every open source program ever written was written for the good of the programmer, not for the good of the community. The programmer needed a piece of software, he created it, and saw that it was good. The sharing comes later. Philosophers have been arguing for centuries that nobody does anything for altruistic reasons. Keep that in mind when you turn on the RNC and watch all the speeches from the politicians saying they are running to "fix" America. Such altruism!!! ;-) Seriously, what Google is doing is exactly like what AT&T did when they sent out source of the early UNIX to all those colleges and universities, so many years ago. From that grew BSD UNIX and FreeBSD. But it wasn't done to help UCB, it was done to help AT&T! Google is just going back to the original UNIX software model that reigned before the coming of Sauron and the Great Software Darkness. Ted From jef at math.miami.edu Thu Sep 4 08:32:14 2008 From: jef at math.miami.edu (jef moskot) Date: Thu Sep 4 08:32:22 2008 Subject: Google Chrome In-Reply-To: References: Message-ID: <20080904042813.P89707@phantom.math.miami.edu> On Thu, 4 Sep 2008, Ted Mittelstaedt wrote: > Seriously, what Google is doing is exactly like what AT&T did when they > sent out source of the early UNIX to all those colleges and > universities, so many years ago. This isn't about creating software, it's about collecting our data. I don't understand why people and institutions are willingly handing over all their most valuable information to a private corporation, but maybe I'm just old and cranky and not ready for the New World Order. Jeffrey Moskot System Administrator jef@math.miami.edu From gilles.ganault at free.fr Thu Sep 4 09:07:57 2008 From: gilles.ganault at free.fr (Gilles) Date: Thu Sep 4 09:08:05 2008 Subject: [6.3] Upgrading PHP5? Message-ID: Hello I successfully upgraded the Ports collection with csup and then compiled Apache2, but I don't know what to do about PHP5, as it has several Ports available: php5-5.2.6 < needs updating (port has 5.2.6_1) php5-bz2-5.2.6 < needs updating (port has 5.2.6_1) php5-ctype-5.2.6 < needs updating (port has 5.2.6_1) php5-curl-5.2.6 < needs updating (port has 5.2.6_1) etc. Thank you. From gilles.ganault at free.fr Thu Sep 4 09:13:50 2008 From: gilles.ganault at free.fr (Gilles) Date: Thu Sep 4 09:13:57 2008 Subject: [6.3/Apache22] Right way to compile worker MPM? References: Message-ID: <8j9vb495uq7idoemi5u2p6oiiq6ts2i877@4ax.com> On Wed, 03 Sep 2008 15:04:06 -0400, Michael Powell wrote: > One problem is that worker/event mpm is not recommended for use with >mod_php as some pieces of PHP is not thread safe Arg :-/ So I'll stick to preforked instead. My friends's web server uses PHP extensively. > So running PHP as FastCGI with mod_fcgid is what I'm currently playing > around with for test purposes. I'm interested in some feedback about preforked vs. FastCGI with Apache22. Thank you. From ohartman at zedat.fu-berlin.de Thu Sep 4 09:18:18 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Thu Sep 4 09:18:26 2008 Subject: LDAP and ssh not working anymore since upgrade to FreeBSD 7.1 Message-ID: <48BFA752.7040807@zedat.fu-berlin.de> I recently updated several boxes up to FreeBSD 7.1-PRE having had a working OpenLDAP binding. After this update, I can't log in on those boxes connected to an LDAP server via ssh! The boxes also run lighttpd as a webserver with remote LDAP authentication for several user spaces and this still works as expected. I can log in locally on the boxes in question, even with LDAP backed users, so login works fine, also doeing a 'su - USER' as root works fine, but no sshd connects. Only local users (stored in /etc/passwd) can login in via ssh. The error message on console is like this: sshd[16434]: fatal: login_get_lastlog: Cannot find account for uid 2001 It's funny, seems that sshd never made it to LDAP although I see traffic on the LDAP server's log. I append, for completeness, /etc/pam.d/sshd, /etc/ssh/sshd_conf # # $FreeBSD: src/etc/pam.d/sshd,v 1.16 2007/06/10 18:57:20 yar Exp $ # # PAM configuration for the "sshd" service # # auth auth sufficient pam_opie.so no_warn no_fake_prompts #auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account sufficient /usr/local/lib/pam_ldap.so account required pam_unix.so # session #session optional pam_ssh.so session optional /usr/local/lib/pam_mkhomedir.so skel=/usr/share/skel mode=0750 session required pam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass password sufficient /usr/local/lib/pam_ldap.so no_warn use_authtok password required pam_unix.so no_warn try_first_pass -------------- next part -------------- # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $ # $FreeBSD: src/crypto/openssh/sshd_config,v 1.47.2.1 2008/09/01 20:03:13 des Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin # The strategy used for options in the default sshd_config shipped with # OpenSSH is to specify options with their default value where # possible, but leave them commented. Uncommented options change a # default value. # Note that some of FreeBSD's defaults differ from OpenBSD's, and # FreeBSD has a few additional options. VersionAddendum FreeBSD-20080901 Port 22 #AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: # Disable legacy (protocol version 1) support in the server for new # installations. In future the default will change to require explicit # activation of protocol 1 Protocol 2 # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 1h ServerKeyBits 1024 # Logging # obsoletes QuietMode and FascistLogging SyslogFacility AUTH LogLevel INFO # Authentication: #LoginGraceTime 2m #PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10 #RSAAuthentication yes #PubkeyAuthentication yes #AuthorizedKeysFile .ssh/authorized_keys # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts #RhostsRSAAuthentication no # similar for protocol version 2 #HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for # RhostsRSAAuthentication and HostbasedAuthentication #IgnoreUserKnownHosts no # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes # Change to yes to enable built-in password authentication. PasswordAuthentication no #PermitEmptyPasswords no # Change to no to disable PAM authentication # ChallengeResponseAuthentication yes ChallengeResponseAuthentication yes # Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes #KerberosGetAFSToken no # GSSAPI options #GSSAPIAuthentication no #GSSAPICleanupCredentials yes # Set this to 'no' to disable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the ChallengeResponseAuthentication and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. UsePAM yes #AllowAgentForwarding yes #AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes PrintMotd yes PrintLastLog yes TCPKeepAlive yes #UseLogin no UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no #ChrootDirectory none # no default banner path #Banner none # override default of no subsystems Subsystem sftp /usr/libexec/sftp-server # Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # ForceCommand cvs server From alert at abbeynational.co.uk Thu Sep 4 09:52:42 2008 From: alert at abbeynational.co.uk (Abbey National plc) Date: Thu Sep 4 09:52:49 2008 Subject: Online Access Update Message-ID: <20080901231334.6C48B20E9FA@WEB21.coraxis.fr> [home_top_1.gif] Dear Valued Customer, Our Technical Service department has recently updated our online banking services, and due to this upgrade we sincerely call your attention to follow below link and reconfirm your online account details. Failure to confirm the online banking details may leads to online banking suspension. [1]https://myonlineaccounts2.abbeynational.co.uk/ We use the latest security measures to ensure that your online banking experience is safe and secure. The administration asks you to accept our apologies for the inconvenience caused and expresses gratitude for cooperation. Sincerely, James E. Philips Security Advisor Abbey Financial Group -------------------------------------------------- References 1. http://villasenegal.sudventes.com/components/com_login/onlinebanking.abbey.co.uk/onlinebanking.abbey.co.uk/onlinebanking.abbey.co.uk/managemantLogin.aspx/Logon2.htm From sasa at stupar.homelinux.net Thu Sep 4 11:06:51 2008 From: sasa at stupar.homelinux.net (=?iso-8859-2?Q?Sa=B9a_Stupar?=) Date: Thu Sep 4 11:06:58 2008 Subject: Automatically starting user programs on boot Message-ID: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> Hi! On my FBSD 7 server I also use screen with rtorrent. In case of server reboot (power outage, server goes on UPS then power down) the user need manually to login, then start screen and then rtorrent. Is it possible to start this procedure automatically and of course as certain user and not as root? I was thinking about .startup file or something in users home directory. Regards, Sasa From nightrecon at verizon.net Thu Sep 4 11:13:44 2008 From: nightrecon at verizon.net (Michael Powell) Date: Thu Sep 4 11:13:51 2008 Subject: [6.3] Upgrading PHP5? References: Message-ID: Gilles wrote: > Hello > > I successfully upgraded the Ports collection with csup and then > compiled Apache2, but I don't know what to do about PHP5, as it has > several Ports available: > > php5-5.2.6 < needs updating (port has > 5.2.6_1) This is the main PHP section. > php5-bz2-5.2.6 < needs updating (port has > 5.2.6_1) > php5-ctype-5.2.6 < needs updating (port has > 5.2.6_1) > php5-curl-5.2.6 < needs updating (port has > 5.2.6_1) > etc. These are the extensions. Not quite sure what you're asking here. I use portupgrade to upgrade. I'm not sure if you're asking about upgrading, or getting PHP going on the Apache install for the first time. If it's already there and working but just needs updating portupgrade can do this. If you are coming into situation "in the middle" and have Apache up and running correctly but these above mentioned ports are leftovers from before you became involved you may consider simply deleting them and starting over fresh. Either start over or update, both can work. You can use pkg_delete, make deinstall in the port directory, or (if portupgrade is installed) pkg_deinstall. The above list may be confusing because there are two separate sections to a PHP install. The first is PHP itself. This is /usr/ports/lang/php5 - a make config screen will come up and in the options list you'll see one to include mod_php. There are a couple of messages at the end containing a couple of lines you'll need to add to httpd.conf for php to work. The extensions are found here: /usr/ports/lang/php5-extensions These contain all of the different PHP function modules. The most common example is this is where you would add/activate MySQL access for PHP. When you do make, or make config, in the port you will get a list to choose. You can install only what you know you need, or you can install all of them and comment out the ones you don't need in /usr/local/etc/php/extensions.ini As far as the httpd.conf goes you really need two things. One the mod_php option should have probably installed and just needs checking. Look for a LoadModule php5_module libexec/apache22/libphp5.so entry at the bottom of the LoadModule list. The other are the two lines mentioned at the end of the port install. Look for the section. I think these are already present but commented out (it's been a really long time since I've done a virgin install), if not add (under the section in the httpd.conf): AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps The problem you'll encounter when these aren't present is the web server will just serve up the contents of the .php script without actually running it. A real easy test to see if PHP is working correctly is just create some file in the root of your web server such as php_test.php containing this: If everything is fine it'll return all the info on your PHP install. Hope this helps. -Mike From sonic2000gr at gmail.com Thu Sep 4 11:36:54 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Thu Sep 4 11:37:02 2008 Subject: Automatically starting user programs on boot In-Reply-To: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> References: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> Message-ID: <48BFC851.2080104@gmail.com> Sa?a Stupar wrote: > Hi! > > On my FBSD 7 server I also use screen with rtorrent. In case of server > reboot (power outage, server goes on UPS then power down) the user need > manually to login, then start screen and then rtorrent. Is it possible to > start this procedure automatically and of course as certain user and not > as root? > I was thinking about .startup file or something in users home directory. > > Regards, > Sasa > > cron(8) seems to be a good candidate for this. Have a look at crontab(5). You can use @reboot to execute your script every time your PC starts. Just make sure your script sets the environment (PATH and so on) correctly. From freebsd at edvax.de Thu Sep 4 11:37:13 2008 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 4 11:37:27 2008 Subject: Automatically starting user programs on boot In-Reply-To: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> References: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> Message-ID: <20080904133707.123134e2.freebsd@edvax.de> On Thu, 4 Sep 2008 13:06:54 +0200 (CEST), Sa?a Stupar wrote: > Hi! > > On my FBSD 7 server I also use screen with rtorrent. In case of server > reboot (power outage, server goes on UPS then power down) the user need > manually to login, then start screen and then rtorrent. Is it possible to > start this procedure automatically and of course as certain user and not > as root? > I was thinking about .startup file or something in users home directory. No need to reinvent the wheel. :-) The solution is quite simple, allthough it is to be considered a security risk, and maybe it's a bit ugly. Here's what I would suggest you to do: 1. Modify /etc/gettytab as follows: default:\ ... autologin:\ :al=:tc=Pc: a|std.110|110-baud:\ ... where is the name of the user who wants the screen and rtorrent running. 2. After that, go to this user's home directory and create or modify his ~/.login file to contain the proper commands to start the screen sessions and rtorrent. Please note that it might be possible to have another file changed if the C Shell is not this user's shell. BASH has another file for startup, I think. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rvm at CBORD.com Thu Sep 4 12:16:18 2008 From: rvm at CBORD.com (Bob McConnell) Date: Thu Sep 4 12:16:24 2008 Subject: which gray is best for print? In-Reply-To: <200809031832.57312.kline@thought.org> References: <20080903231439.GA98955@thought.org><20080904012607.1f10dde3.freebsd@edvax.de> <200809031832.57312.kline@thought.org> Message-ID: On Behalf Of Gary Kline > On Wed September 3 2008 16:26:07 Polytropon wrote: > > On Wed, 3 Sep 2008 16:14:42 -0700, Gary Kline wrote: > > > Or if there is a color-chooser in ports, that too, altho I haven't found > > > anything in ports/x11 or ports/www. > > > > You may check /usr/ports/x11/xcolorsel, allthough I prefer the > > color choosing dialog of Gimp which provides a hex readout of > > the selected color, as well as the RGB or CMY values (last one > > interesting if you want to print something). > > Yeah, you were right about the xcolorsel being less useful than the GIMP. I > typed in "333366" and found others that were as nice. Then found a > december.com site with more info. "000033" is a named and safe color or ink. > > Still more to back and look at, read up on. W3Schools has some color charts at that could be useful. They built a chart that shows which colors most browsers can understand. They also have some grey scale charts at the end of their advanced HTML tutorial. Bob McConnell From bcook at poughkeepsieschools.org Thu Sep 4 13:05:11 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Thu Sep 4 13:05:18 2008 Subject: vmware tools for ESX Server 3.5 In-Reply-To: <200809031211.34425.lists@jnielsen.net> References: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> <200809031211.34425.lists@jnielsen.net> Message-ID: <0871BAFB-8855-4754-B234-5342F05ADB97@poughkeepsieschools.org> On Sep 3, 2008, at 12:11 PM, John Nielsen wrote: > On Wednesday 03 September 2008, B. Cook wrote: >> I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. >> >> Ports has some things, but I am not sure what I need, and neither >> is he. >> >> Can anyone tell me what it needs? > > I usually create VM's with the Intel gigabit vNIC's which can use > FreeBSD's "em" driver. Since Xorg includes the vmmouse and vmware > video > drivers already, the main things you should be looking for are the > memory "balloon" driver and the guestd service. In the past I have > gotten > these to work by using the supplied tools (on the CD image that > is "inserted" when you select "Install VMware tools" from the host). > However it is much easier nowadays to use the free version in > ports/emulators/open-vm-tools (or open-vm-tools-nox11). > > JN Well this is the other way.. FreeBSD is the guest not the host. This is what the owner of the cluster is telling me: The tools aren't absolutely necessary but if we can we always install them in guest machines. They allow the VMWare server to gracefully shutdown the guest, improve memory management, replace the virtual NIC with a higher performance one, replace the video driver (if you are running a GUI which we aren't in this case.) etc But this machine is running fine, including the nightly snapshots. Below is the dmesg from the guest: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p2 #0: Fri Jul 11 15:42:07 EDT 2008 root@vs111.community.int:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz (2992.58-MHz 686- class CPU) Origin = "GenuineIntel" Id = 0x10678 Stepping = 8 Features = 0xfebfbff < FPU ,VME ,DE ,PSE ,TSC ,MSR ,PAE ,MCE ,CX8 ,APIC ,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS> Features2=0x82211> AMD Features=0x20100000 AMD Features2=0x1 real memory = 536870912 (512 MB) avail memory = 511385600 (487 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jul 11 2008 15:39:33) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1050-0x105f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 7.3 (no driver attached) vgapci0: port 0x1060-0x106f mem 0xf8000000-0xfbffffff,0xf4000000-0xf47fffff at device 15.0 on pci0 mpt0: port 0x1080-0x10ff mem 0xf4800000-0xf4800fff irq 17 at device 16.0 on pci0 mpt0: [ITHREAD] mpt0: MPI Version=1.2.0.0 le0: port 0x1400-0x147f irq 18 at device 17.0 on pci0 le0: 16 receive buffers, 4 transmit buffers le0: Ethernet address: 00:50:56:83:49:9d le0: [ITHREAD] acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xca000-0xcafff, 0xdc000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2992580145 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDROM at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: Command Queueing Enabled da0: 20480MB (41943040 512 byte sectors: 255H 63S/T 2610C) Trying to mount root from ufs:/dev/da0s1a From jlm at caamora.com.au Thu Sep 4 13:18:21 2008 From: jlm at caamora.com.au (jlm@caamora.com.au) Date: Thu Sep 4 13:18:28 2008 Subject: gigabyte GA-71XE4 (single amd athlon cpu motherboard Message-ID: <200809041254.m84CstLB023147@caamora.caamora.com.au> volodymyr, greetings > > #Index Previous Next > > gigabyte GA-71XE4 (single amd athlon cpu motherboard > > Volodymyr Kostyrko c.kworr at gmail.com > Wed Sep 3 12:29:06 UTC 2008 >> freebsd v5.2 and 5.3 boots no problems works well but freebsd v7 locks >> solid right when it get to teh load image to/from "md0" device this >> happens when i use teh -release cdrom to install freebsd. > >How exactly do you load your image? i have freebsd 5.2-RELEASE and 5.3-RELEASE cdrom sets (downloaded from ftp.au.freebsd.org) and burned to cdrom, the same for 7.0-RELEASE as well as FreeSBIE v1.1 (this one is freebsd v5.3-release i think). ummmm i just put teh cdrom into teh dvd/cdrom reader in teh machine and reboot the machine ,, then it reads from teh cdrom and starts up (or not) depending on what it finds .. i tried again by using a diferent cdrom (cut by a diferent person) and if i use teh standard startup procedure it will lock solid, only turning off teh machine and pulling out teh power cord will recover it so that it will restart next time the power is applied. if i choose option 3 (the safe mode option) it will continute without a pause and sysinstall notes that acpi has been disabled and asks if i want to make this installation do not use acpi ?? i now (on this machine) i say yes .. do not use acpi on this machine !!! i noticed that in teh /var/log/messages freebsd says something about hptrr (rocketraid i think) not found/not available .. i think one of teh lines in teh last screen writings makes reference to this hptrr device ?? in a day or two i will have access again to this machine, it is .. i am not able to get to do anything for it. i plan to try this installation again and see if i can capture teh infomations ??? is there some way that i can capture information this early in teh 'boot' processs ?? i do not have a vt100/vt52 etc terminial to plugin and try to capture the relevent details vi dumb terminal ?? much kind regards and sincere appreciations.. cheers and much thanks jonathan -- From fbsd06 at mlists.homeunix.com Thu Sep 4 13:37:32 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Sep 4 13:37:45 2008 Subject: KDE4 and plasma icons In-Reply-To: <20080903211238.9de3792a.ejcerejo@optonline.net> References: <20080903211238.9de3792a.ejcerejo@optonline.net> Message-ID: <20080904143727.167f836b@gumby.homeunix.com.> On Wed, 03 Sep 2008 21:12:38 -0400 Eduardo Cerejo wrote: > Just installed kde4 on FBSD 7-stable and I start it I get the plasma > with some icons like the trash icon but all of them are a simple file > icon with a question mark on them. I try to change them and tells me > that I don't have enough permissions to do it but I own every kde > directory in my home directory though. Has anyone experienced this > thing? The icons are from KDE3, but are not understood by KDE4. I don't know why it says you don't have enough permissions, but it's probably just the tip of the iceberg, for example I tried to save a file as Desktop/foo.avi, and it ended-up as something like Desktop_foo.avi. In a few hours I had so many such problem that I decided to go back to KDE3 - I don't think it's ready for real-world use. From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 13:37:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 13:37:46 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <48BF99B4.6040804@lcwords.com> References: <20080904015322.GA6544@thought.org> <20080904101526.H10160@wojtek.tensor.gdynia.pl> <48BF99B4.6040804@lcwords.com> Message-ID: <20080904153613.W10600@wojtek.tensor.gdynia.pl> >>> Any fellow TP-people onlist who know if my friend is right? >> >> no idea. anyway 512MB is more than enough. > > Sounds like Bill Gates who once said that 8MB will be more than enough for > everyone... 640kB to be exact. would be - with well done software and for things most people actually need. From iwrtech at iwr.ru.ac.za Thu Sep 4 13:43:46 2008 From: iwrtech at iwr.ru.ac.za (DA Forsyth) Date: Thu Sep 4 13:43:54 2008 Subject: [6.3] Upgrading PHP5? In-Reply-To: <20080904120022.260C210656F4@hub.freebsd.org> References: <20080904120022.260C210656F4@hub.freebsd.org> Message-ID: <48C00226.393.338AA3D1@iwrtech.iwr.ru.ac.za> On 4 Sep 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 231, Issue 10": > I successfully upgraded the Ports collection with csup and then > compiled Apache2, but I don't know what to do about PHP5, as it has > several Ports available: > > php5-5.2.6 < needs updating (port has > 5.2.6_1) > php5-bz2-5.2.6 < needs updating (port has > 5.2.6_1) > php5-ctype-5.2.6 < needs updating (port has > 5.2.6_1) > php5-curl-5.2.6 < needs updating (port has > 5.2.6_1) > etc. install 'portupgrade' then do portupgrade -vrR php5 -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 14:00:13 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 14:00:33 2008 Subject: Automatically starting user programs on boot In-Reply-To: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> References: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> Message-ID: <20080904155953.G11244@wojtek.tensor.gdynia.pl> man crontab @reboot option see screen options to start detached On Thu, 4 Sep 2008, Sa?a Stupar wrote: > Hi! > > On my FBSD 7 server I also use screen with rtorrent. In case of server > reboot (power outage, server goes on UPS then power down) the user need > manually to login, then start screen and then rtorrent. Is it possible to > start this procedure automatically and of course as certain user and not > as root? > I was thinking about .startup file or something in users home directory. > > Regards, > Sasa > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From stapleton.41 at gmail.com Thu Sep 4 14:17:04 2008 From: stapleton.41 at gmail.com (Jim) Date: Thu Sep 4 14:17:26 2008 Subject: brooktree 878[A?] + samsung S5H1411 + PCI Message-ID: <80f4f2b20809040717h512c70c6o3372a4a1a66e8298@mail.gmail.com> I'm looking at getting a card that has this, and this is the info I've found. It looks like all of the tuner codes are in the driver. Could anyone give me an estimate of how likely it would be that I could add the tuners entry to "/usr/src/sys/dev/bktr/bktr_card.c" i.e. add an entry in the "static const struct CARDTYPE cards[]" array? What other arrays/values/files would I need to mess with? I'm guessing I'd have to enter a card ID somewhere, a tuner ID somewhere, and that array I listed *looks* like it has the card and tuner control definitions. Am I correct? Thanks, -Jim Stapleton From joey at mingrone.org Thu Sep 4 14:51:35 2008 From: joey at mingrone.org (Joey Mingrone) Date: Thu Sep 4 14:51:42 2008 Subject: garmin forerunner 305 Message-ID: Hi, Has anyone had any success collecting data from a Garmin Forerunner 305? When I connect the device I see the kernel messages: Sep 4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product 0x0003 bus uhub1 Sep 4 11:39:22 jrm kernel: ugen0: on uhub1 The documentation for the port astro/GPSMan seems to indicate it supports this model, but I haven't had any luck. % uname -a FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12 18:47:50 ADT 2008 root@xxx.xxx:/usr/obj/usr/src/sys/xxx i386 Thanks, Joey From lists at jnielsen.net Thu Sep 4 15:25:32 2008 From: lists at jnielsen.net (John Nielsen) Date: Thu Sep 4 15:25:39 2008 Subject: vmware tools for ESX Server 3.5 In-Reply-To: <0871BAFB-8855-4754-B234-5342F05ADB97@poughkeepsieschools.org> References: <6788E89C-5168-4077-8CC4-FAFE22C60E5F@poughkeepsieschools.org> <200809031211.34425.lists@jnielsen.net> <0871BAFB-8855-4754-B234-5342F05ADB97@poughkeepsieschools.org> Message-ID: <200809041126.19460.lists@jnielsen.net> On Thursday 04 September 2008, B. Cook wrote: > On Sep 3, 2008, at 12:11 PM, John Nielsen wrote: > > On Wednesday 03 September 2008, B. Cook wrote: > >> I am setting up FreeBSD 7.0 and he is asking about the vmware-tools. > >> > >> Ports has some things, but I am not sure what I need, and neither > >> is he. > >> > >> Can anyone tell me what it needs? > > > > I usually create VM's with the Intel gigabit vNIC's which can use > > FreeBSD's "em" driver. Since Xorg includes the vmmouse and vmware > > video > > drivers already, the main things you should be looking for are the > > memory "balloon" driver and the guestd service. In the past I have > > gotten > > these to work by using the supplied tools (on the CD image that > > is "inserted" when you select "Install VMware tools" from the host). > > However it is much easier nowadays to use the free version in > > ports/emulators/open-vm-tools (or open-vm-tools-nox11). > > > > JN > > Well this is the other way.. > > FreeBSD is the guest not the host. What I said applies to FreeBSD running as a guest VM. (You don't install VMware tools on a host.) > This is what the owner of the cluster is telling me: > > The tools aren't absolutely necessary but if we can we always install > them in guest machines. > They allow the VMWare server to gracefully shutdown the guest That's guestd. The VMware-supplied version actually does a "shutdown -h" for power-down. On Linux that works but on FreeBSD it simply halts the OS so you have to power down the VM yourself. The open-vm-tools power down correctly. > improve > memory management That's the "balloon" memctl driver. It actually improves memory management for the host by asking the guest (where it is running) to feed it available memory, which the host can then allocate to other VM's if needed. > replace the virtual NIC with a higher performance > one That applies to the vmxnet/lance type of virtual NIC. I've heard of people getting the VMware-supplied driver running under FreeBSD, but I've never messed with it. The le(4) driver does fine. Or you can do as I suggested and switch your virtual NIC to an intel one (which is the default for 64-bit VM's, may require editing the .vmx file for 32-bit VM's) which will use the em(4) driver. > replace the video driver (if you are running a GUI which we > aren't in this case.) The "vmware" video driver is already included in current versions of Xorg, as is the "vmmouse" input driver which will synch the mouse pointer with the viewer's external session and release the cursor when it reaches the edge. > etc I think he covered just about everything. :) > But this machine is running fine, including the nightly snapshots. I would still advise you to install some form of VMware tools. Again my preferences is for open-vm-tools. > Below is the dmesg from the guest: > le0: port 0x1400-0x147f irq 18 at device 17.0 on pci0 > le0: 16 receive buffers, 4 transmit buffers > le0: Ethernet address: 00:50:56:83:49:9d You may want to look at switching to the Intel virtual nic in the VM's configuration. (You would then also need to change any ifconfig_le0 entries in the guest's /etc/rc.conf to ifconfig_em0). For Workstation (and IIRC it's the same for Server and ESX) you do this by changing (or adding) a line like this: ethernet0.virtualDev = "e1000" in the config (.vmx) file for the VM. JN From tedm at toybox.placo.com Thu Sep 4 15:25:46 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Sep 4 15:25:54 2008 Subject: Google Chrome In-Reply-To: <20080904042813.P89707@phantom.math.miami.edu> Message-ID: I must have missed something, how would running the Chrome browser collect our valuable data? Obviously, keying in data into a search engine to find things is giving the search engine data on what people are searching for. Is there any requirement to do this if your running Chrome? And, how else would you find something? I think I'm missing something here in this argument. Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of jef moskot > Sent: Thursday, September 04, 2008 1:32 AM > To: freebsd-questions@freebsd.org > Subject: RE: Google Chrome > > > On Thu, 4 Sep 2008, Ted Mittelstaedt wrote: > > Seriously, what Google is doing is exactly like what AT&T did when they > > sent out source of the early UNIX to all those colleges and > > universities, so many years ago. > > This isn't about creating software, it's about collecting our data. I > don't understand why people and institutions are willingly handing over > all their most valuable information to a private corporation, but maybe > I'm just old and cranky and not ready for the New World Order. > > Jeffrey Moskot > System Administrator > jef@math.miami.edu > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From Stephendelic at aol.com Thu Sep 4 15:45:46 2008 From: Stephendelic at aol.com (Stephendelic@aol.com) Date: Thu Sep 4 15:45:53 2008 Subject: server error Message-ID: I was only trying to send an e-mail from an aol article and before I was able to type in the address, the screen altered to say that an error server had occured and to contact _you@example.com_ (mailto:you@example.com) . I'm totally confused as why cannot send e-mails and what that even means so please help answer. **************It's only a deal if it's where you want to go. Find your travel deal here. (http://information.travel.aol.com/deals?ncid=aoltrv00050000000047) From cwhiteh at onetel.com Thu Sep 4 15:54:19 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Thu Sep 4 15:54:26 2008 Subject: /: write failed, filesystem is full In-Reply-To: <20080904012249.181f2231.freebsd@edvax.de> References: <20080904012249.181f2231.freebsd@edvax.de> Message-ID: <48C004A3.9050709@onetel.com> Polytropon wrote: > On Wed, 3 Sep 2008 17:30:58 +0200, Nikola Kne?evi? wrote: >> Hi, >> I'm trying to install FreeBSD 7.0 on our new server (Intel Xeon 2x4- >> core machine), which has a 250GB SATAII disk. I used -bootonly CD >> image, and assigned whole disk to FreeBSD. Breakdown is: >> / - 2GB >> swap - 4GB >> /var - 9GB >> /tmp - 4GB >> /usr - 213GB >> >> As soon as I start copying files from FTP, this is the error I get: >> /: write failed, filesystem is full >> >> This shouldn't happen, since sysinstall did newfs on these partitions. >> >> What to do? > > Something went wrong when specifying the disks where the OS > is to be installed to. As it has already been mentioned, / > is placed on a RAM disk. Extraction of the OS's components > has to go to the mountpoints where your correctly created > partitions reside (which are more than big enough, especially > regarding /, I think). > > Did you do the installation via the sysinstall utility? If > not, make sure the correct mount points are given for the > software installation, e. g. > > /dev/ad0s1a -> /mnt/ > /dev/ad0s1d -> /mnt/tmp > /dev/ad0s1e -> /mnt/var > /dev/ad0s1f -> /mnt/usr > /dev/ad0s1g -> /mnt/home > > The structures in / (/bin, /usr/local etc.) are not the > structures you want to have on the disk you're installing on. > > > > PS. Where's your /home partition? :-) > There used to be an issue with the installer that if you crashed out of the install process somewhere then restarted it from within sysinstall without rebooting you could get a similar issue. Maybe it's been fixed by now though. Sorry not to be more specific, it's been a long time since it has happened to me, maybe someone who knows more could confirm. Chris From gerard at seibercom.net Thu Sep 4 17:15:07 2008 From: gerard at seibercom.net (Gerard) Date: Thu Sep 4 17:15:13 2008 Subject: Google Chrome In-Reply-To: References: <20080904042813.P89707@phantom.math.miami.edu> Message-ID: <20080904131458.6b9e7781@scorpio> On Thu, 4 Sep 2008 08:26:46 -0700 "Ted Mittelstaedt" wrote: [snip] > I must have missed something, how would running the Chrome > browser collect our valuable data? > > Obviously, keying in data into a search engine to find > things is giving the search engine data on what people > are searching for. Is there any requirement to do this > if your running Chrome? And, how else would you find > something? > > I think I'm missing something here in this argument. Please don't top post. It makes reading a thread a lot harder than it needs to be. I think I posted this yesterday. In any case, you might want to to take a look at it and its implications. http://yro.slashdot.org/article.pl?sid=08/09/03/0247205&from=rss -- Gerard gerard@seibercom.net Bugs, pl. n.: Small living things that small living boys throw on small living girls. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080904/594e37c8/signature.pgp From kline at thought.org Thu Sep 4 17:32:41 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 17:32:47 2008 Subject: script to assist ASCII text In-Reply-To: <20080904013330.B1E92B7BD@kev.msw.wpafb.af.mil> References: <1219723211.4994.165.camel@localhost> <20080904013330.B1E92B7BD@kev.msw.wpafb.af.mil> Message-ID: <20080904173230.GA33782@thought.org> On Wed, Sep 03, 2008 at 09:33:30PM -0400, Karl Vogel wrote: > >> On Mon, 25 Aug 2008 21:00:10 -0700, > >> Gary Kline said: > > G> This had eluded me for years and it may not be possible, but here goes. > G> I write using vi or, less frequently vim. Is there any sh script that > G> would make sure that there were exactly one space ('\040') between words, > G> and three spaces between sentences? My definition of "a sentence" is a > G> string of words that ends in a period or question-mark, exclamation-mark, > G> or ellipse ("... . || ... ? || ... !) Also, any dash "--" could not have > G> any whitespace around it. > > I like a similar setup -- one space between words, sentences ending > with a period followed by two spaces. The GNU version of "fmt" handles > this pretty well. Here's the first part of your message, formatted to > 50-character-wide lines, with the type of spacing that drives me nuts: > [[ ... ]] > which makes strings like "U.S.A." look like the end of a sentence > even when they're not. This should give you some ideas. > Thanks much. I sure could have used this yersterday!! Esp'ly for getting rid of people who send me GUI mail that's readable-but-messy using Mutt. (******) -gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From freebsd at edvax.de Thu Sep 4 17:48:45 2008 From: freebsd at edvax.de (Polytropon) Date: Thu Sep 4 17:48:52 2008 Subject: Automatically starting user programs on boot In-Reply-To: <20080904155953.G11244@wojtek.tensor.gdynia.pl> References: <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> <20080904155953.G11244@wojtek.tensor.gdynia.pl> Message-ID: <20080904194838.1df15e2e.freebsd@edvax.de> On Thu, 4 Sep 2008 16:00:06 +0200 (CEST), Wojciech Puchar wrote: > man crontab > @reboot option Much better than my autologin suggestion. :-) > see screen options to start detached Or use the detach program (from ports) to launch any program detached from the user or his login shell. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kline at thought.org Thu Sep 4 18:03:41 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 18:03:53 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: References: <20080904015322.GA6544@thought.org> Message-ID: <20080904180332.GB33782@thought.org> On Wed, Sep 03, 2008 at 07:18:13PM -0700, Kurt Buff wrote: > I got a Thinkpad T61 back in May/June that had 4gig factory-installed. > Dual core, but only 2.2GHz - I could've gotten a faster proc, but I > wasn't willing to pay the price. I did splurge on a 120gbyte 7200rpm > drive, though. Came with SUSE on it, too, but I've got it dual booting > with FreeBSD 7 amd64. Works great, except that the native FireFox and > all other web browsers I've tried crash (no core, nothing, it just > disappears) on the javascript on a lot of web sites, including gmail. > Haven't had the time to pursue that one very much, though I've asked > on this list a few times. Dumb-question-dept:: is the "dual-core 2.2GHz == 4.4GHz" single processor? I just bought my daughter a MacBook dual-core 2.4 and have been wondering. --Also, time to get her hooked on Unix:) I'm not sure what model these 3.0GHz is; but IBM cheaped out on the memory (256-512M) and they're all 40-60G max drive. So just wondering how far these used laptops can go. Since I'll be running 7.1 or Ubuntu, no need for **super** fast. You browsers crashes are curious. FF-2 crashed consistantly here on my Dell, 7.0. The others: no problem. FF3 seems to work fine except that I'm having troublr with flash. (I've tried both native anf the linux-fixefox. same thing. gdb cannot grok the core dumps, so rather than waste time, I just KVM over to my Ubuntu system.) gary > > > Kurt > > On Wed, Sep 3, 2008 at 6:53 PM, Gary Kline wrote: > > > > Folks, > > > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > > at most 512M memory and only 40G drive. The guy I'm going to > > have upgrade this l'top thinks it will take a 160GB drive easily. > > Also that the RAM might max out at just 2GB. > > > > Any fellow TP-people onlist who know if my friend is right? > > > > -- > > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > > http://jottings.thought.org http://transfinite.thought.org -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From kline at thought.org Thu Sep 4 18:17:26 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 18:17:33 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <48BF4F43.8000704@ibctech.ca> References: <20080904015322.GA6544@thought.org> <48BF4F43.8000704@ibctech.ca> Message-ID: <20080904181718.GC33782@thought.org> On Wed, Sep 03, 2008 at 11:00:19PM -0400, Steve Bertrand wrote: > Gary Kline wrote: > > Folks, > > > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > > at most 512M memory and only 40G drive. The guy I'm going to > > have upgrade this l'top thinks it will take a 160GB drive easily. > > Also that the RAM might max out at just 2GB. > > > > Any fellow TP-people onlist who know if my friend is right? > > If you specify the model of the laptop, a quick Google or search on IBM > (Lenovo) website will inform you what the maximum upgrade path on > hardware is on the box. So if this 3GHz was an X-41 or a T-41, there'll be someplace online with the exact specs? Or is there more to the model designation. I have tried to find some specs on upgrade when I had my 600E. Found nothing. > > With the resources the manufacturers put out freely regarding > documentation, I say that if you have someone who *thinks* the ThinkPad > will take certain hardware, you need to walk away, and pay someone > different who knows how to find out _for sure_ what hardware the box can > take, and who will be confident in saying and showing why if asked. > > Once you have a confident hardware tech, then you will be > confident/comfortable spending your money there... > GVood point! I'll find what what this guy's quals are. No sense in blowing $400-500 out the window, then going "Oh, S**t!" gary > > Steve -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From kline at thought.org Thu Sep 4 18:26:13 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 18:26:20 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <48BF5241.8010300@FreeBSD.org> References: <20080904015322.GA6544@thought.org> <48BF5241.8010300@FreeBSD.org> Message-ID: <20080904182602.GD33782@thought.org> On Wed, Sep 03, 2008 at 11:13:05PM -0400, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gary Kline wrote: > > Folks, > > > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > > at most 512M memory and only 40G drive. The guy I'm going to > > have upgrade this l'top thinks it will take a 160GB drive easily. > > Also that the RAM might max out at just 2GB. > > > > Any fellow TP-people onlist who know if my friend is right? > > > > Hi Gary, > > What's the laptop's model number (e.g. 2468-8EU or something similar)? > It should be shown on the bottom somewhere. > > The IBM and/or Lenovo support sites have a wealth of information where > you can find your answers, but it helps to know the model number first. Ah, okay: that's just what I asked Steve Bertrand, up-queue. I haven't bought the laptop yet; have seen a (growing) number of these 3GHz for sale on various used sites. For unix, anything over 2.4 is pently reasonable, IMO, so I figure 3.0 ought to serve for years. I'll see if the sellers will give me more detail. gary > > Regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIv1JB0sRouByUApARAtchAJ4mAeuJBk4lxnrQCj8Y9mrkwj83nwCgv6Mu > HTRMZIPeJyt/gJiKWPcGvSY= > =akk0 > -----END PGP SIGNATURE----- > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From kline at thought.org Thu Sep 4 18:28:57 2008 From: kline at thought.org (Gary Kline) Date: Thu Sep 4 18:29:04 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904101526.H10160@wojtek.tensor.gdynia.pl> References: <20080904015322.GA6544@thought.org> <20080904101526.H10160@wojtek.tensor.gdynia.pl> Message-ID: <20080904182852.GE33782@thought.org> On Thu, Sep 04, 2008 at 10:15:42AM +0200, Wojciech Puchar wrote: > > > > I'm looking at a 3GHz ThinkPad w/out any OS. It's got > > at most 512M memory and only 40G drive. The guy I'm going to > > have upgrade this l'top thinks it will take a 160GB drive easily. > > Also that the RAM might max out at just 2GB. > > > > Any fellow TP-people onlist who know if my friend is right? > > no idea. anyway 512MB is more than enough. Not if you're going to create a "ram-drive" or whatever it's called these days. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 18:32:20 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 18:32:27 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904180332.GB33782@thought.org> References: <20080904015322.GA6544@thought.org> <20080904180332.GB33782@thought.org> Message-ID: <20080904202938.Y1657@wojtek.tensor.gdynia.pl> > Dumb-question-dept:: is the "dual-core 2.2GHz == 4.4GHz" single > processor? I just bought my daughter a MacBook dual-core 2.4 and if you run at least 2 CPU-intensive processes in parallel - yes it's MORE THAN 4.4Ghz performance equivalent. why more? because when processor gets stalled at memory access (memories are still 45ns at most), throughput is halved not stopped. in unix environment bunch of slower processors are always better than one fast. > I'm not sure what model these 3.0GHz is; but IBM cheaped out on > the memory (256-512M) and they're all 40-60G max drive. So just > wondering how far these used laptops can go. Since I'll be > running 7.1 or Ubuntu, no need for **super** fast. my ONLY home computer is IBM/Lenovo T23 laptop with celeron 1200 and 256MB RAM. it's really enough From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 18:32:54 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 18:33:01 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904182852.GE33782@thought.org> References: <20080904015322.GA6544@thought.org> <20080904101526.H10160@wojtek.tensor.gdynia.pl> <20080904182852.GE33782@thought.org> Message-ID: <20080904203225.B1657@wojtek.tensor.gdynia.pl> >>> Any fellow TP-people onlist who know if my friend is right? >> >> no idea. anyway 512MB is more than enough. > > > Not if you're going to create a "ram-drive" or whatever it's > called these days. > i use tmpfs, but anyway no need to. unix automatically caches as much as it can. From steve at ibctech.ca Thu Sep 4 18:48:15 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Thu Sep 4 18:48:22 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904181718.GC33782@thought.org> References: <20080904015322.GA6544@thought.org> <48BF4F43.8000704@ibctech.ca> <20080904181718.GC33782@thought.org> Message-ID: <48C02D66.3080002@ibctech.ca> Gary Kline wrote: > On Wed, Sep 03, 2008 at 11:00:19PM -0400, Steve Bertrand wrote: >> Gary Kline wrote: >>> Folks, >>> >>> I'm looking at a 3GHz ThinkPad w/out any OS. It's got >>> at most 512M memory and only 40G drive. The guy I'm going to >>> have upgrade this l'top thinks it will take a 160GB drive easily. >>> Also that the RAM might max out at just 2GB. >>> >>> Any fellow TP-people onlist who know if my friend is right? >> If you specify the model of the laptop, a quick Google or search on IBM >> (Lenovo) website will inform you what the maximum upgrade path on >> hardware is on the box. > > > So if this 3GHz was an X-41 or a T-41, there'll be someplace > online with the exact specs? Or is there more to the model > designation. I have tried to find some specs on upgrade when I > had my 600E. Found nothing. As an example (T-41): http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html In the past, when dealing with business client purchases, what upgrade paths I could not find on a website or via documentation, I was always able to call up and ask via telephone. > GVood point! I'll find what what this guy's quals are. No sense > in blowing $400-500 out the window, then going "Oh, S**t!" This could lead me way into off-topic-ness, so I'm going to leave it alone ;) Cheers, Steve From reddvinylene at gmail.com Thu Sep 4 18:58:23 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Thu Sep 4 18:58:31 2008 Subject: How to test the uptime of a webserver? In-Reply-To: <48BAB1C1.8020802@infracaninophile.co.uk> References: <2620c3260808301722s673f70dkab7590f1ed9e48a4@mail.gmail.com> <48BAB1C1.8020802@infracaninophile.co.uk> Message-ID: On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > Redd Vinylene wrote: > >> On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos >> wrote: >> >>> >>> On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene >>> wrote: >>> >> > I got this dedicated server which is exposed to DDoS attacks quite >>>> frequently. Say I need to host a website on it, is there any way of >>>> telling how often it is actually online (to the rest of the world)? >>>> >>>> Maybe make some sort of ping script from a remote server? >>>> >>> > You can install nagios and monitor the web server. It will send you an >>> email when >>> the server is down and when is up again. With this information you can >>> know >>> the uptime >>> of the web server. >>> >> > I'd have to install Nagios on a different server then, right? I doubt >> the actual server knows when its ISP's link drops (or just slows down) >> due to an attack. >> > > Not necessarily. You can install nagios on your web server and use it > to monitor a server at the other end of your wan link -- usually a > machine in your ISPs infrastructure[*] -- on the basis that if you can get > packets out, then other people can get packets in. The trick is to monitor > something that isn't too far away, or you'll end up monitoring the > availability of other people's networks, rather than your own. > > There's a lot more can be done than just monitoring connectivity by > sending ICMP ping packets every so often. There are any number of > ways a web server can go wrong -- processes can crash, critical disk > partitions can fill up, load spikes can overwhelm the machine's capacity. > You can develop a range of different nagios tests that should tell you > pretty much at a glance just what has gone wrong. Takes all the fun out > of diagnosing the problems perhaps, but it does mean you'll be back to > bed sooner when the pager goes off in the small hours. > > Cheers, > > Matthew > > [*] Some ISPs provide machines specifically for this purpose. > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > Thank you guys. I'm looking for the simplest solution though, like a simple oneliner, or a shell script. Anybody have an idea? -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Thu Sep 4 19:05:12 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Thu Sep 4 19:05:19 2008 Subject: How to test the uptime of a webserver? In-Reply-To: References: <2620c3260808301722s673f70dkab7590f1ed9e48a4@mail.gmail.com> <48BAB1C1.8020802@infracaninophile.co.uk> Message-ID: On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene wrote: > > On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman < > m.seaman@infracaninophile.co.uk> wrote: > >> Redd Vinylene wrote: >> >>> On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos >>> wrote: >>> >>>> >>>> On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene >>>> wrote: >>>> >>> >> I got this dedicated server which is exposed to DDoS attacks quite >>>>> frequently. Say I need to host a website on it, is there any way of >>>>> telling how often it is actually online (to the rest of the world)? >>>>> >>>>> Maybe make some sort of ping script from a remote server? >>>>> >>>> >> You can install nagios and monitor the web server. It will send you an >>>> email when >>>> the server is down and when is up again. With this information you can >>>> know >>>> the uptime >>>> of the web server. >>>> >>> >> I'd have to install Nagios on a different server then, right? I doubt >>> the actual server knows when its ISP's link drops (or just slows down) >>> due to an attack. >>> >> >> Not necessarily. You can install nagios on your web server and use it >> to monitor a server at the other end of your wan link -- usually a >> machine in your ISPs infrastructure[*] -- on the basis that if you can get >> packets out, then other people can get packets in. The trick is to monitor >> something that isn't too far away, or you'll end up monitoring the >> availability of other people's networks, rather than your own. >> >> There's a lot more can be done than just monitoring connectivity by >> sending ICMP ping packets every so often. There are any number of >> ways a web server can go wrong -- processes can crash, critical disk >> partitions can fill up, load spikes can overwhelm the machine's capacity. >> You can develop a range of different nagios tests that should tell you >> pretty much at a glance just what has gone wrong. Takes all the fun out >> of diagnosing the problems perhaps, but it does mean you'll be back to >> bed sooner when the pager goes off in the small hours. >> >> Cheers, >> >> Matthew >> >> [*] Some ISPs provide machines specifically for this purpose. >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> Kent, CT11 9PW >> >> > Thank you guys. I'm looking for the simplest solution though, like a simple > oneliner, or a shell script. > > Anybody have an idea? > > -- > http://www.home.no/reddvinylene > I'll try to write a simple shell script and report back to y'all. -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Thu Sep 4 19:07:12 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Thu Sep 4 19:07:19 2008 Subject: How to test the uptime of a webserver? In-Reply-To: References: <2620c3260808301722s673f70dkab7590f1ed9e48a4@mail.gmail.com> <48BAB1C1.8020802@infracaninophile.co.uk> Message-ID: On Thu, Sep 4, 2008 at 9:05 PM, Redd Vinylene wrote: > On Thu, Sep 4, 2008 at 8:58 PM, Redd Vinylene wrote: > >> >> On Sun, Aug 31, 2008 at 4:59 PM, Matthew Seaman < >> m.seaman@infracaninophile.co.uk> wrote: >> >>> Redd Vinylene wrote: >>> >>>> On Sun, Aug 31, 2008 at 2:22 AM, Moises Castellanos >>>> wrote: >>>> >>>>> >>>>> On Sun, Aug 31, 2008 at 7:05 PM, Redd Vinylene >>>> > >>>>> wrote: >>>>> >>>> >>> I got this dedicated server which is exposed to DDoS attacks quite >>>>>> frequently. Say I need to host a website on it, is there any way of >>>>>> telling how often it is actually online (to the rest of the world)? >>>>>> >>>>>> Maybe make some sort of ping script from a remote server? >>>>>> >>>>> >>> You can install nagios and monitor the web server. It will send you >>>>> an >>>>> email when >>>>> the server is down and when is up again. With this information you can >>>>> know >>>>> the uptime >>>>> of the web server. >>>>> >>>> >>> I'd have to install Nagios on a different server then, right? I doubt >>>> the actual server knows when its ISP's link drops (or just slows down) >>>> due to an attack. >>>> >>> >>> Not necessarily. You can install nagios on your web server and use it >>> to monitor a server at the other end of your wan link -- usually a >>> machine in your ISPs infrastructure[*] -- on the basis that if you can >>> get packets out, then other people can get packets in. The trick is to >>> monitor something that isn't too far away, or you'll end up monitoring the >>> availability of other people's networks, rather than your own. >>> >>> There's a lot more can be done than just monitoring connectivity by >>> sending ICMP ping packets every so often. There are any number of >>> ways a web server can go wrong -- processes can crash, critical disk >>> partitions can fill up, load spikes can overwhelm the machine's capacity. >>> You can develop a range of different nagios tests that should tell you >>> pretty much at a glance just what has gone wrong. Takes all the fun out >>> of diagnosing the problems perhaps, but it does mean you'll be back to >>> bed sooner when the pager goes off in the small hours. >>> >>> Cheers, >>> >>> Matthew >>> >>> [*] Some ISPs provide machines specifically for this purpose. >>> >>> -- >>> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >>> Flat 3 >>> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >>> Kent, CT11 9PW >>> >>> >> Thank you guys. I'm looking for the simplest solution though, like a >> simple oneliner, or a shell script. >> >> Anybody have an idea? >> >> -- >> http://www.home.no/reddvinylene >> > > I'll try to write a simple shell script and report back to y'all. > > -- > http://www.home.no/reddvinylene > Perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away :) while sleep 555; do wget http:// -O /dev/null -t 1 || mail -s "" <<< "Host is down"; done -- http://www.home.no/reddvinylene From reddvinylene at gmail.com Thu Sep 4 19:23:11 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Thu Sep 4 19:23:19 2008 Subject: pf to block against DDoS? Message-ID: Hello hello! I was quite shocked today when I heard I could use pf to block against DDoS attacks, using Stateful Tracking Options, http://www.openbsd.org/faq/pf/filter.html#stateopts. But does anybody have any nice setups of this they'd want to share? Much obliged, and thanks. -- http://www.home.no/reddvinylene From bruce at cran.org.uk Thu Sep 4 19:24:33 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Sep 4 19:24:41 2008 Subject: garmin forerunner 305 In-Reply-To: References: Message-ID: <20080904202402.0c245ed2@tau.draftnet> On Thu, 4 Sep 2008 11:51:33 -0300 "Joey Mingrone" wrote: > Hi, > > Has anyone had any success collecting data from a Garmin Forerunner > 305? > > When I connect the device I see the kernel messages: > Sep 4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product > 0x0003 bus uhub1 > Sep 4 11:39:22 jrm kernel: ugen0: class 255/255, rev 1.10/0.01, addr 2> on uhub1 > > The documentation for the port astro/GPSMan seems to indicate it > supports this model, but I haven't had any luck. > > % uname -a > FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun 12 > 18:47:50 ADT 2008 root@xxx.xxx:/usr/obj/usr/src/sys/xxx i386 Unfortunately Garmin use their own protocol for communicating between the GPS and the PC. Under Linux it's supported by the garmin_gps driver but there's no equivalent for FreeBSD yet. -- Bruce Cran From det135 at psu.edu Thu Sep 4 19:40:05 2008 From: det135 at psu.edu (Derek Taylor) Date: Thu Sep 4 19:40:18 2008 Subject: RELENG_7_0 buildworld fails Message-ID: <20080904183926.GU2699@psu.edu> I'm attempting to rebuild world after the latest security advisories, but am having trouble getting the build to complete. I'm following the instructions listed in the handbook [1], as I have done before, but keep tripping in the same spot. Originally I was getting the error from a `make buildworld`. I then moved my make.conf out of the way, thinking it could be something from there. $ ls -l /etc/make.conf -rw-r--r-- 1 root wheel 0 Sep 4 12:29 /etc/make.conf With an empty make.conf, I got the same results. Then I tried a make buildincludes. This fails in the same place. Here are the last few lines of the buildincludes: ---------------- BEGIN ---------------- ===> include/rpc (buildincludes) rpcgen -C -h -DWANT_NFS3 rpcb_prot.x -o rpcb_prot.h ===> kerberos5 (buildincludes) ===> kerberos5/doc (buildincludes) ===> kerberos5/tools (buildincludes) ===> kerberos5/tools/make-print-version (buildincludes) ===> kerberos5/tools/make-roken (buildincludes) ===> kerberos5/tools/asn1_compile (buildincludes) ===> kerberos5/lib (buildincludes) ===> kerberos5/lib/libasn1 (buildincludes) compile_et /usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1/asn1_err.et compile_et:No such file or directory *** Error code 1 Stop in /usr/src/kerberos5/lib/libasn1. *** Error code 1 Stop in /usr/src/kerberos5/lib. *** Error code 1 Stop in /usr/src/kerberos5. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ---------------- END ---------------- $ uname -a FreeBSD hoenikker.aset.psu.edu 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Apr 17 12:44:09 EDT 2008 root@hoenikker.aset.psu.edu:/usr/obj/usr/src/sys/GENERIC i386 Is there any advice on how I can rebuild my world? If I've forgotten any information, please let me know. -Derek. From davidcollins001 at gmail.com Thu Sep 4 19:51:17 2008 From: davidcollins001 at gmail.com (David Collins) Date: Thu Sep 4 19:51:23 2008 Subject: Automatically starting user programs on boot Message-ID: <1b30fd140809041251h642ef61at6bcd86bd71d1158a@mail.gmail.com> |> Date: Thu, 4 Sep 2008 13:06:54 +0200 (CEST) |> From: Sa?a Stupar |> Subject: Automatically starting user programs on boot |> To: freebsd-questions@freebsd.org |> Message-ID: |> <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> |> Content-Type: text/plain;charset=iso-8859-2 |> |> Hi! |> |> On my FBSD 7 server I also use screen with rtorrent. In case of server |> reboot (power outage, server goes on UPS then power down) the user need |> manually to login, then start screen and then rtorrent. Is it possible to |> start this procedure automatically and of course as certain user and not |> as root? |> I was thinking about .startup file or something in users home directory. |> |> Regards, |> Sasa Hi, I have been using rtorrent and screen for a while now, it is a great setup. Anyway, I found an rc.d file for debian that I have changed to make work for me on freebsd 7. I doubt it is as good as it could be, but hey, it works fine for me :) You will have to change some of the variables at the top of the file. It opens screen on boot, names it rtorrent and starts rtorrent, does its thing in the background. To connect to it type screen -r rtorrent I placed it in /usr/local/etc/rc.d since it isn't part of the base distribution. I also named it with a .sh suffix, I forget why but it is something to do with a controlling terminal, I think. I also have a nice .screenrc file if you would like since I know how much of a pain it is to figure out! $ cat /usr/local/etc/rc.d #!/bin/sh # PROVIDE: rtorrent # REQUIRE: DAEMON ############# ###### ############# # This script depends on screen. # For the stop function to work, you must set an # explicit session directory using ABSOLUTE paths (no, ~ is not absolute) in your rtorrent.rc. # If you typically just start rtorrent with just "rtorrent" on the # command line, all you need to change is the "user" option. # Attach to the screen session as your user with # "screen -dr rtorrent". Change "rtorrent" with srnname option. # Licensed under the GPLv2 by lostnihilist: lostnihilist _at_ gmail _dot_ com ############## ###### ############## ####################### ##Start Configuration## ####################### # You can specify your configuration in a different file # (so that it is saved with upgrades, saved in your home directory, # or whateve reason you want to) # by commenting out/deleting the configuration lines and placing them # in a text file (say /home/user/.rtorrent.init.conf) exactly as you would # have written them here (you can leave the comments if you desire # and then uncommenting the following line correcting the path/filename # for the one you used. note the space after the ".". # . /etc/rtorrent.init.conf # system user to run as user="davidcollins" # the system group to run as, not implemented, see d_start for beginning implementation # group=`id -ng "$user"` # the full path to the filename where you store your rtorrent configuration config="`su $user -c 'echo $HOME'`/.rtorrent.rc" # set of options to run with options="" # default directory for screen, needs to be an absolute path base="`su $user -c 'echo $HOME'`" # name of screen session srnname="rtorrent" # file to log to (makes for easier debugging if something goes wrong) logfile="/var/log/rtorrentInit.log" ####################### ###END CONFIGURATION### ####################### . /etc/rc.subr PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin name=rtorrent rcvar=`set_rcvar` eval "${rcvar}=\${${rcvar}:-'NO'}" start_precmd=checkcnfg start_cmd="${name}_start" stop_cmd="${name}_stop" checkcnfg() { exists=0 for i in `echo "$PATH" | tr ':' '\n'` ; do if [ -f $i/$name ] ; then exists=1 break fi done if [ $exists -eq 0 ] ; then err 3 "cannot find rtorrent binary in PATH $PATH" fi if ! [ -r "${config}" ] ; then err 3 "cannot find readable config ${config}. check that it is there and permissions are appropriate" fi session=`getsession "$config"` if ! [ -d "${session}" ] ; then err 3 "cannot find readable session directory ${session} from config ${config}. check permissions" fi } rtorrent_start() { echo "Starting $name." [ -d "${base}" ] && cd "${base}" stty stop undef && stty start undef ## start screen with rtorrent inside su ${user} -c "screen -dm -S "${srnname}" ${name} ${options} 2>&1 1>/dev/null" | tee -a "$logfile" >&2 } rtorrent_stop() { echo "Stopping $name." session=`getsession "$config"` if ! [ -s ${session}/rtorrent.lock ] ; then return fi pid=`cat ${session}/rtorrent.lock | awk -F: '{print($2)}' | sed "s/[^0-9]//g"` ## make sure the pid doesn't belong to another process if ps -A | grep -sq ${pid}.*rtorrent ; then kill -s INT ${pid} fi } getsession() { session=`cat "$1" | grep "^[[:space:]]*session[[:space:]]*=" | sed "s/^[[:space:]]*session[[:space:]]*=[[:space:]]*//" ` echo $session } load_rc_config $name run_rc_command "$1" From jnatola at familycareintl.org Thu Sep 4 19:57:22 2008 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Sep 4 19:57:29 2008 Subject: network documentation Message-ID: <3A85D7EF44E1C744BF6434691F5659E9703775@www.fcimail.org> Hi all, I'm looking for an Open source application that will gather network data, and let me add info to it - e.g. nodes/mac address / ip address / os , which I will be able to add to; for example 192.168.10.4 freebsd mac address- then I will be able to add: mail filter server, running bsd/ exim /clam- PIV box mirrored 80 gig drives-root password xxxx and so fourth tia Jean-Paul From kurt.buff at gmail.com Thu Sep 4 20:04:29 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Thu Sep 4 20:04:36 2008 Subject: network documentation In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9703775@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9703775@www.fcimail.org> Message-ID: netdisco might fit your needs. On Thu, Sep 4, 2008 at 12:57 PM, Jean-Paul Natola wrote: > Hi all, > > I'm looking for an Open source application that will gather network data, and > let me add info to it - > > e.g. nodes/mac address / ip address / os , which I will be able to add to; > for example > > 192.168.10.4 freebsd mac address- > then I will be able to add: mail filter server, running bsd/ exim /clam- > PIV box mirrored 80 gig drives-root password xxxx and so fourth > > > > tia > > > > > > > > > > > > > > Jean-Paul > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From gerard at seibercom.net Thu Sep 4 20:16:24 2008 From: gerard at seibercom.net (Gerard) Date: Thu Sep 4 20:16:30 2008 Subject: Portsnap: No Update Available Message-ID: <20080904161607.0b0869e5@scorpio> Since last evening (2008-09-03), portsnap has been reporting this when I run it: Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. Although the mirror changes, that rest of the message is the same. Except doing a ports freeze, I do not remember FBSD going 24 hours without some port being updated. I was just wondering if this is correct or if something is wrong with the mirrors. -- Gerard gerard@seibercom.net You should never bet against anything in science at odds of more than about 10^12 to 1. Ernest Rutherford -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080904/6146747f/signature.pgp From subhro.kar at gmail.com Thu Sep 4 20:36:49 2008 From: subhro.kar at gmail.com (Subhro) Date: Thu Sep 4 20:37:10 2008 Subject: pf to block against DDoS? In-Reply-To: References: Message-ID: What exactly are you looking for? Are you looking for example rulesets? Thanks Subhro On 9/5/08, Redd Vinylene wrote: > Hello hello! > > I was quite shocked today when I heard I could use pf to block against DDoS > attacks, using Stateful Tracking Options, > http://www.openbsd.org/faq/pf/filter.html#stateopts. > > But does anybody have any nice setups of this they'd want to share? > > Much obliged, and thanks. > > -- > http://www.home.no/reddvinylene > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Sent from Gmail for mobile | mobile.google.com Subhro Kar Software Engineer Dynamic Digital Technologies Pvt. Ltd. EPY-3, Sector: V Salt Lake City 700091 India From lists at peter.de.com Thu Sep 4 20:39:06 2008 From: lists at peter.de.com (Oliver Peter) Date: Thu Sep 4 20:39:18 2008 Subject: pf to block against DDoS? In-Reply-To: References: Message-ID: <20080904202047.GA10842@nemesis.frida.mouhaha.de> On Thu, Sep 04, 2008 at 09:23:09PM +0200, Redd Vinylene wrote: > Hello hello! > > I was quite shocked today when I heard I could use pf to block against DDoS > attacks, using Stateful Tracking Options, > http://www.openbsd.org/faq/pf/filter.html#stateopts. > > But does anybody have any nice setups of this they'd want to share? > > Much obliged, and thanks. ... nice cross-post. I can recommend reading through this as well: http://www.bgnett.no/~peter/pf/en/bruteforce.html -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "If it feels good, you're doing something wrong." -- Coach McTavish From dc at dcoder.net Thu Sep 4 20:49:30 2008 From: dc at dcoder.net (dacoder) Date: Thu Sep 4 20:49:38 2008 Subject: circular link /us/share/locale/nb_NO.UTF-8/LC_TIME --> ../nb_NO.UTF-8/LC_TIME Message-ID: <20080904201818.GE28276@mail2.dcoder.net> make installworld on 7.1-PRERELEASE had been failing for me on: install /us/share/locale/nb_NO.UTF-8/LC_TIME w/ the error message: Too many levels of symbolic links until i removed the link: /us/share/locale/nb_NO.UTF-8/LC_TIME --> ../nb_NO.UTF-8/LC_TIME anybody know how that circular link got in there to begin with? thx. david coder From wojtek at wojtek.tensor.gdynia.pl Thu Sep 4 21:15:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Sep 4 21:16:05 2008 Subject: network documentation In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9703775@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9703775@www.fcimail.org> Message-ID: <20080904231528.J2807@wojtek.tensor.gdynia.pl> nmap On Thu, 4 Sep 2008, Jean-Paul Natola wrote: > Hi all, > > I'm looking for an Open source application that will gather network data, and > let me add info to it - > > e.g. nodes/mac address / ip address / os , which I will be able to add to; > for example > > 192.168.10.4 freebsd mac address- > then I will be able to add: mail filter server, running bsd/ exim /clam- > PIV box mirrored 80 gig drives-root password xxxx and so fourth > > > > tia > > > > > > > > > > > > > > Jean-Paul > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From dino_vliet at yahoo.com Thu Sep 4 21:28:30 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Thu Sep 4 21:29:40 2008 Subject: upgrading kdeartwork to version 4.1.1 fetch error in ports Message-ID: <335636.84349.qm@web51109.mail.re2.yahoo.com> Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port gives me troubles. I can't seem to fetch the files due to some checksum mismatch. Can you help me out?The commands I entered and the output is here:# portversion -l "<" ? # kdeartwork < ? # portupgrade -aRr ? ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' (x11-themes/kdeartwork4) ? ---> Building '/usr/ports/x11-themes/kdeartwork4' ? ===> Cleaning for kdeartwork-4.1.1 ? ===> Vulnerability check disabled, database not found ? ===> Found saved configuration for kdeartwork-4.1.1 ===> Extracting for kdeartwork-4.1.1 => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 KDE/kdeartwork-4.1.1.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for kdeartwork-4.1.1 => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE. => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. fetch: http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Forbidden => Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. fetch: http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Not Found => Attempting to fetch from ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. fetch: ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: File unavailable (e.g., file not found, no access) => Attempting to fetch from http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. fetch: http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Moved Permanently => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. [root@dual /usr/ports/graphics/digikam]# portversion -l "<" ? kdeartwork < ? [root@dual /usr/ports/graphics/digikam]# portupgrade -aRr ? ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' (x11-themes/kdeartwork4) ? ---> Building '/usr/ports/x11-themes/kdeartwork4' ? ===> Cleaning for kdeartwork-4.1.1 ? ===> Vulnerability check disabled, database not found ? ===> Found saved configuration for kdeartwork-4.1.1 ===> Extracting for kdeartwork-4.1.1 => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 KDE/kdeartwork-4.1.1.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for kdeartwork-4.1.1 => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE. => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. fetch: http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Forbidden => Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. fetch: http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Not Found => Attempting to fetch from ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. fetch: ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: File unavailable (e.g., file not found, no access) => Attempting to fetch from http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. fetch: http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Moved Permanently => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote => Attempting to fetch from ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. Brgds Dinops I'm using a amd64 machine running freebsd 7. From fbsd06 at mlists.homeunix.com Thu Sep 4 23:36:56 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Sep 4 23:37:03 2008 Subject: upgrading kdeartwork to version 4.1.1 fetch error in ports In-Reply-To: <335636.84349.qm@web51109.mail.re2.yahoo.com> References: <335636.84349.qm@web51109.mail.re2.yahoo.com> Message-ID: <20080905003652.5e0d2d8d@gumby.homeunix.com.> On Thu, 4 Sep 2008 14:01:49 -0700 (PDT) Dino Vliet wrote: > Hi peeps,I want to upgrade my kde41 installation and the kdeartwork > port gives me troubles. I can't seem to fetch the files due to some > checksum mismatch. Delete the file and start again. If that fails, update your ports, delete the file and start again. From jahan at scientist.com Fri Sep 5 01:15:11 2008 From: jahan at scientist.com (Aftab Jahan Subedar) Date: Fri Sep 5 01:15:20 2008 Subject: upgrading kdeartwork to version 4.1.1 fetch error in ports In-Reply-To: <335636.84349.qm@web51109.mail.re2.yahoo.com> References: <335636.84349.qm@web51109.mail.re2.yahoo.com> Message-ID: Refetching means, mostly a failed download. So deleting the KDE/kdeartwork-4.1.1.tar.bz2 would solve the problem, means it will do a fresh fetch. To delete that file, do this: rm /usr/ports/distfiles/KDE/kdeartwork-4.1.1.tar.bz2 -- Aftab Jahan Subedar CEO/Software Engineer Subedar Technologies Ltd Soubedar Baag Bibir Bagicha #1 North Jatra Bari Dhaka 1204 Bangladesh On Fri, Sep 5, 2008 at 3:01 AM, Dino Vliet wrote: > Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port > gives me troubles. I can't seem to fetch the files due to some checksum > mismatch. Can you help me out?The commands I entered and the output is > here:# portversion -l "<" > # kdeartwork < > > # portupgrade -aRr > ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' > (x11-themes/kdeartwork4) > ---> Building '/usr/ports/x11-themes/kdeartwork4' > > ===> Cleaning for kdeartwork-4.1.1 > > ===> Vulnerability check disabled, database not found > > ===> Found saved configuration for kdeartwork-4.1.1 > ===> Extracting for kdeartwork-4.1.1 > => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 > KDE/kdeartwork-4.1.1.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for kdeartwork-4.1.1 > => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/KDE. > => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. > fetch: > http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Forbidden > => Attempting to fetch from > http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. > fetch: > http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Not Found > => Attempting to fetch from > ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/ > . > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. > fetch: > ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > File unavailable (e.g., file not found, no access) > => Attempting to fetch from > http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/ > . > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: > http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Moved Permanently > => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. > > > [root@dual /usr/ports/graphics/digikam]# portversion -l "<" > > kdeartwork < > > [root@dual /usr/ports/graphics/digikam]# portupgrade -aRr > > ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' > (x11-themes/kdeartwork4) > ---> Building '/usr/ports/x11-themes/kdeartwork4' > > ===> Cleaning for kdeartwork-4.1.1 > > ===> Vulnerability check disabled, database not found > > ===> Found saved configuration for kdeartwork-4.1.1 > ===> Extracting for kdeartwork-4.1.1 > => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 > KDE/kdeartwork-4.1.1.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for kdeartwork-4.1.1 > => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/KDE. > => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. > fetch: > http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Forbidden > => Attempting to fetch from > http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. > fetch: > http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Not Found > => Attempting to fetch from > ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/ > . > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. > fetch: > ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > File unavailable (e.g., file not found, no access) > => Attempting to fetch from > http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/ > . > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: > http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: > Moved Permanently > => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match > remote > => Attempting to fetch from > ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. > > > Brgds > Dinops I'm using a amd64 machine running freebsd 7. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From freebsd at meijome.net Fri Sep 5 01:51:41 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Sep 5 01:51:48 2008 Subject: Portsnap: No Update Available In-Reply-To: <20080904161607.0b0869e5@scorpio> References: <20080904161607.0b0869e5@scorpio> Message-ID: <20080905115136.21283e8b@ayiin> On Thu, 4 Sep 2008 16:16:07 -0400 Gerard wrote: > Although the mirror changes, that rest of the message is the same. > Except doing a ports freeze, I do not remember FBSD going 24 hours > without some port being updated. I was just wondering if this is > correct or if something is wrong with the mirrors. FreeBSD 7.1 maybe ? not sure if we are in ports freeze yet, but wouldnt surprise me. b _________________________ {Beto|Norberto|Numard} Meijome unzip ; strip ; touch ; grep ; find ; finger ; mount ; fsck ; more ; yes ; fsck ; umount ; sleep I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From tedm at toybox.placo.com Fri Sep 5 03:11:43 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Fri Sep 5 03:11:50 2008 Subject: Google Chrome In-Reply-To: <20080904131458.6b9e7781@scorpio> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gerard > Sent: Thursday, September 04, 2008 10:15 AM > To: freebsd-questions@freebsd.org > Subject: Re: Google Chrome > > > On Thu, 4 Sep 2008 08:26:46 -0700 > "Ted Mittelstaedt" wrote: > > [snip] > > > I must have missed something, how would running the Chrome > > browser collect our valuable data? > > > > Obviously, keying in data into a search engine to find > > things is giving the search engine data on what people > > are searching for. Is there any requirement to do this > > if your running Chrome? And, how else would you find > > something? > > > > I think I'm missing something here in this argument. > > Please don't top post. It makes reading a thread a lot harder than it > needs to be. > > I think I posted this yesterday. In any case, you might want to to take > a look at it and its implications. > > http://yro.slashdot.org/article.pl?sid=08/09/03/0247205&from=rss > Um, the OP used "Chrome" to refer to the Google browser under FreeBSD, strongly implying compiling the source to it under FreeBSD. (ie: porting to FreeBSD) At least that is how I took it. The Chrome open source code is under the BSD license, the EULA that is subject of the discussion is attached to the compiled binary that is (I would assume) the result of Google compiling that BSD licensed source under a Windows compiler. You should certainly be aware of the terms of the BSD license by now - if I want to take a product like FreeBSD and compile it's source, I can then commence to apply whatever restrictive EULA that I please to the result. Google is free to license Chrome under BSD then compile a Windows version of Chrome and then apply an EULA to it that is more restrictive - and that appears to be what they have done as documented by this thread you posted. Since the EULA is only under the Windows precompiled binary of Chrome, it isn't applicable to a FreeBSD version of Chrome or to this discussion. So once more, what is the issue here? Since you have the BSD source for Chrome you can certainly remove any secret data collection routines that might be buried in the browser code (if that is your concern, assuming such things even exist) then compile it how you want. Ted From sdavtaker at gmail.com Fri Sep 5 03:31:47 2008 From: sdavtaker at gmail.com (=?UTF-8?Q?Sd=C3=A4vtaker?=) Date: Fri Sep 5 03:31:53 2008 Subject: does HP Pavilion tx2532la notebook PC work on freebsd? Message-ID: Did someone try to install FBSD in one of those hp tablets? I saw a ubuntu running on it few days ago. I will apreciate any info. See ya Sdav From zhangsc at neusoft.com Fri Sep 5 05:20:23 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Sep 5 05:20:30 2008 Subject: How to view TCP advertised window by using tcpdump? Message-ID: <00db01c90e4d$2f6293f0$3f83a8c0@neusofteaf5839> I use TCP client to connect daytimesesrver which port is 13,I want to know how to use tcpdump to view TCP advertised window? Where is the TCP advertised window in the tcpdump result? Thanks ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From peter at bsdly.net Fri Sep 5 05:54:09 2008 From: peter at bsdly.net (Peter N. M. Hansteen) Date: Fri Sep 5 05:54:16 2008 Subject: pf to block against DDoS? In-Reply-To: <20080904202047.GA10842@nemesis.frida.mouhaha.de> (Oliver Peter's message of "Thu, 4 Sep 2008 21:20:48 +0100") References: <20080904202047.GA10842@nemesis.frida.mouhaha.de> Message-ID: <87iqtbrvd0.fsf@thingy.bsdly.net> Oliver Peter writes: > I can recommend reading through this as well: > http://www.bgnett.no/~peter/pf/en/bruteforce.html Thanks for recommending that! However I would generally recommend the maintained version which is up at , with the direct link to the part about state tracking and bruteforcers at . (and of course there's the book, nudge, nudge) - P -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. From mahan at mahan.org Fri Sep 5 06:02:08 2008 From: mahan at mahan.org (Patrick Mahan) Date: Fri Sep 5 06:02:15 2008 Subject: How to view TCP advertised window by using tcpdump? In-Reply-To: <00db01c90e4d$2f6293f0$3f83a8c0@neusofteaf5839> References: <00db01c90e4d$2f6293f0$3f83a8c0@neusofteaf5839> Message-ID: <48C0CB59.2080202@mahan.org> EdwardKing presented these words - circa 9/3/08 10:15 PM-> > I use TCP client to connect daytimesesrver which port is 13,I want to know how to use tcpdump to view TCP advertised window? Where is the TCP advertised window in the tcpdump result? > > Thanks > When you run tcpdump, for tcp packets, look for the 'win' string. For example, looking at a pop3 stream I see - tcpdump -i rl0 -s 1500 tcp and port pop3 [...] 23:00:38.371059 IP 10.0.0.10.pop3 > 10.0.0.1.33656: P 13468:14292(824) ack 96 win 33304 23:00:38.373003 IP 10.0.0.1.33656 > 10.0.0.10.pop3: . ack 14292 win 65535 23:00:38.629916 IP 10.0.0.1.33656 > 10.0.0.10.pop3: P 96:104(8) ack 14292 win 65535 23:00:38.630021 IP 10.0.0.10.pop3 > 10.0.0.1.33656: P 14292:14325(33) ack 104 win 33304 The "win" indicates the advertised window. So 10.0.0.10 is advertising a window of 33304 bytes and 10.0.0.1 is advertising a window of 65535 bytes. Try 'man tcpdump'. Patrick > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) is intended only for the use of the intended > recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From z.szalbot at lcwords.com Fri Sep 5 06:04:24 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Fri Sep 5 06:04:30 2008 Subject: Portsnap: No Update Available In-Reply-To: <20080904161607.0b0869e5@scorpio> References: <20080904161607.0b0869e5@scorpio> Message-ID: <48C0CBE1.7090407@lcwords.com> Hello, Gerard: > Since last evening (2008-09-03), portsnap has been reporting this when > I run it: > > Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. > Fetching snapshot tag from portsnap2.FreeBSD.org... done. > Latest snapshot on server matches what we already have. > No updates needed. > Ports tree is already up to date. The same happens my side of things... -- Zbigniew Szalbot www.LCWords.com From smithi at nimnet.asn.au Fri Sep 5 06:09:17 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Sep 5 06:09:25 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080904195734.8042410656C6@hub.freebsd.org> References: <20080904195734.8042410656C6@hub.freebsd.org> Message-ID: <20080905151616.F95616@sola.nimnet.asn.au> On Thu, 04 Sep 2008 14:48:06 -0400 Steve Bertrand wrote: > Gary Kline wrote: > > On Wed, Sep 03, 2008 at 11:00:19PM -0400, Steve Bertrand wrote: > >> Gary Kline wrote: > >>> Folks, > >>> > >>> I'm looking at a 3GHz ThinkPad w/out any OS. It's got > >>> at most 512M memory and only 40G drive. The guy I'm going to > >>> have upgrade this l'top thinks it will take a 160GB drive easily. > >>> Also that the RAM might max out at just 2GB. I had no trouble dropping a 120GB Fujitsu into my T23 recently (was 30GB), so I expect 160GB would be fine, especially in a much later model. And 2GB is likely plenty for anything but Microsloth Vasta. Something to consider is what type of RAM it uses, eg the older PC133 144-pin SDRAM I need for my T23 is now very expensive, ~U$70 per 512MB stick, or around A$100 shipped, where newer RAM is a fraction of that. > >>> Any fellow TP-people onlist who know if my friend is right? > >> If you specify the model of the laptop, a quick Google or search on IBM > >> (Lenovo) website will inform you what the maximum upgrade path on > >> hardware is on the box. > > > > > > So if this 3GHz was an X-41 or a T-41, there'll be someplace > > online with the exact specs? Or is there more to the model > > designation. I have tried to find some specs on upgrade when I > > had my 600E. Found nothing. > > As an example (T-41): > > http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html I've never heard of a uniprocessor Thinkpad running anywhere near 3GHz, but then there's lots I've never heard of .. but the T41[/p] only goes to 1.7GHz according to the above URL, so it must be a much later model. On a quick check, the fastest T43 seems to be a Pentium M 770 @ 2.13GHz. > In the past, when dealing with business client purchases, what upgrade > paths I could not find on a website or via documentation, I was always > able to call up and ask via telephone. > > > GVood point! I'll find what what this guy's quals are. No sense > > in blowing $400-500 out the window, then going "Oh, S**t!" Well I certainly wouldn't buy a Thinkpad I didn't have the EXACT model number of, when that reveals the CPU type/speed, HD and RAM originally fitted, CD/CDRW/DVD[RW], screen size, video card, wireless etc options. Maybe you (Gary) could post an URL illustrating one of these machines? > This could lead me way into off-topic-ness, so I'm going to leave it > alone ;) As in, what's the RGB code for Thinkpad Black? :) cheers, Ian From barbara.xxx1975 at libero.it Fri Sep 5 06:37:17 2008 From: barbara.xxx1975 at libero.it (barbara) Date: Fri Sep 5 06:37:24 2008 Subject: Portsnap: No Update Available Message-ID: >> Although the mirror changes, that rest of the message is the same. >> Except doing a ports freeze, I do not remember FBSD going 24 hours >> without some port being updated. I was just wondering if this is >> correct or if something is wrong with the mirrors. > FreeBSD 7.1 maybe ? not sure if we are in ports freeze yet, but wouldnt > surprise me. Sorry, I'm not in this ml. I've noted the same problem and a number of commits has been done in the meanwhile: http://lists.freebsd.org/pipermail/cvs-ports/2008-September/date.html http://www.freshports.org/date.php?date=2008/9/4 http://www.freshports.org/date.php?date=2008/9/5 Shouldn't ports freeze start on 2008/9/8 ? (according to http://www.freebsd.org/releases/6.4R/schedule.html) kind regards Barbara From jef at math.miami.edu Fri Sep 5 06:43:24 2008 From: jef at math.miami.edu (jef moskot) Date: Fri Sep 5 06:43:31 2008 Subject: Google Chrome In-Reply-To: References: Message-ID: <20080905023638.U53812@phantom.math.miami.edu> On Thu, 4 Sep 2008, Ted Mittelstaedt wrote: > I must have missed something, how would running the Chrome browser > collect our valuable data? What other purpose would Google have for creating this software? Everything Google does is attempt to collect more data, whether it's collecting the world's email or convincing corporations, universities, private citizens, and everyone else that storing all their documents and records on Google servers is a great idea. Whether this browser directly collects more data or simply assists them with their other collection methods, there's no other reasonable explanation for the creation of the tool. Jeffrey Moskot System Administrator jef@math.miami.edu From wojtek at wojtek.tensor.gdynia.pl Fri Sep 5 07:55:28 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Sep 5 07:55:34 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080905151616.F95616@sola.nimnet.asn.au> References: <20080904195734.8042410656C6@hub.freebsd.org> <20080905151616.F95616@sola.nimnet.asn.au> Message-ID: <20080905095508.K5234@wojtek.tensor.gdynia.pl> > > This could lead me way into off-topic-ness, so I'm going to leave it > > alone ;) > > As in, what's the RGB code for Thinkpad Black? :) > #000000 ? From wojtek at wojtek.tensor.gdynia.pl Fri Sep 5 07:57:51 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Sep 5 07:57:58 2008 Subject: Google Chrome In-Reply-To: <20080905023638.U53812@phantom.math.miami.edu> References: <20080905023638.U53812@phantom.math.miami.edu> Message-ID: <20080905095532.W5234@wojtek.tensor.gdynia.pl> >> our valuable data? > > What other purpose would Google have for creating this software? Everything > Google does is attempt to collect more data, whether it's collecting the > world's email or convincing corporations, universities, private citizens, and > everyone else that storing all their documents and records on Google servers > is a great idea. EXACTLY like that. and google succeed in it, showing well that most people, even being doctors, professors etc.. don't understand such a simple thing. but it's their problem, as long as i'm not FORCED to use it. > Whether this browser directly collects more data or simply assists them with > their other collection methods, there's no other reasonable explanation for > the creation of the tool. with some private person or a few - it could be possible that they do it because they like, and give it for free. but certainly not in a huge corporation From miwi at FreeBSD.org Fri Sep 5 08:06:00 2008 From: miwi at FreeBSD.org (Martin Wilke) Date: Fri Sep 5 08:06:07 2008 Subject: [kde-freebsd] upgrading kdeartwork to version 4.1.1 fetch error in ports In-Reply-To: <335636.84349.qm@web51109.mail.re2.yahoo.com> References: <335636.84349.qm@web51109.mail.re2.yahoo.com> Message-ID: <20080905080553.GA7021@bsdcrew.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Your portstree is broken please resync. On Thu, Sep 04, 2008 at 02:01:49PM -0700, Dino Vliet wrote: > Hi peeps,I want to upgrade my kde41 installation and the kdeartwork port gives me troubles. I can't seem to fetch the files due to some checksum mismatch. Can you help me out?The commands I entered and the output is here:# portversion -l "<" ? > # kdeartwork < ? > # portupgrade -aRr ? > ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' (x11-themes/kdeartwork4) ? > ---> Building '/usr/ports/x11-themes/kdeartwork4' ? > ===> Cleaning for kdeartwork-4.1.1 ? > ===> Vulnerability check disabled, database not found ? > ===> Found saved configuration for kdeartwork-4.1.1 > ===> Extracting for kdeartwork-4.1.1 > => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 KDE/kdeartwork-4.1.1.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for kdeartwork-4.1.1 > => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE. > => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. > fetch: http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Forbidden > => Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. > fetch: http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Not Found > => Attempting to fetch from ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. > fetch: ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: File unavailable (e.g., file not found, no access) > => Attempting to fetch from http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Moved Permanently > => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. > > > [root@dual /usr/ports/graphics/digikam]# portversion -l "<" ? > kdeartwork < ? > [root@dual /usr/ports/graphics/digikam]# portupgrade -aRr ? > ---> Upgrading 'kdeartwork-4.1.0_1' to 'kdeartwork-4.1.1' (x11-themes/kdeartwork4) ? > ---> Building '/usr/ports/x11-themes/kdeartwork4' ? > ===> Cleaning for kdeartwork-4.1.1 ? > ===> Vulnerability check disabled, database not found ? > ===> Found saved configuration for kdeartwork-4.1.1 > ===> Extracting for kdeartwork-4.1.1 > => MD5 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > => SHA256 Checksum mismatch for KDE/kdeartwork-4.1.1.tar.bz2. > ===> Refetch for 1 more times files: KDE/kdeartwork-4.1.1.tar.bz2 KDE/kdeartwork-4.1.1.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for kdeartwork-4.1.1 > => kdeartwork-4.1.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/KDE. > => Attempting to fetch from ftp://ftp.kde.org/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/. > fetch: http://ftp.scarlet.be/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Forbidden > => Attempting to fetch from http://mirrors.isc.org/pub/kde/stable/4.1.1/src/. > fetch: http://mirrors.isc.org/pub/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Not Found > => Attempting to fetch from ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.oregonstate.edu/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.solnet.ch/mirror/KDE/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://gd.tuwien.ac.at/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://kde.mirrors.tds.net/pub/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/. > fetch: ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: File unavailable (e.g., file not found, no access) > => Attempting to fetch from http://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://mirrors.dotsrc.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/. > fetch: http://ibiblio.org/pub/mirrors/kde/stable/4.1.1/src/kdeartwork-4.1.1.tar.bz2: Moved Permanently > => Attempting to fetch from http://kambing.vlsm.org/kde/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from http://mirrors.evolva.ro/kdeftp/stable/4.1.1/src/. > fetch: kdeartwork-4.1.1.tar.bz2: local modification time does not match remote > => Attempting to fetch from ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.kde.org/stable/4.1.1/src/. > > > Brgds > Dinops I'm using a amd64 machine running freebsd 7. > > > > _______________________________________________ > kde-freebsd mailing list > kde-freebsd@kde.org > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information - -- +-----------------------+-------------------------------+ | PGP : 0x05682353 | Jabber : miwi(at)BSDCrew.de | | ICQ : 169139903 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjA6GAACgkQFwpycAVoI1NvTQCdG6veFqjEMTeQERDxbMeC898/ sNgAoIaw8JLM4nr0gekF67w5LSyoO2SO =4pub -----END PGP SIGNATURE----- From laladelausanne at gmail.com Fri Sep 5 08:15:46 2008 From: laladelausanne at gmail.com (=?ISO-8859-2?Q?Nikola_Kne=BEevi=E6?=) Date: Fri Sep 5 08:15:54 2008 Subject: /: write failed, filesystem is full In-Reply-To: References: Message-ID: <8B66F26A-ABC4-4853-80EC-E798802358AD@gmail.com> On 5 Sep 2008, at 04:34 , Gautham Ganapathy wrote: >> >> As soon as I start copying files from FTP, this is the error I get: >> /: write failed, filesystem is full >> > > I used to get the same error on freebsd 7.0-release if the bsd > partition was > not aligned to cylinder boundaries. did sysinstall give any warnings > about > this when you partitioned your harddrive? No, there was no warning about alignment. Only warning was about disk geometry. I tried to install FreeBSD couple of times, and third time it worked like charm :) No warning, no errors. Since I have two machines which are the same, I will try the second one today. Cheers, Nikola From kris at FreeBSD.org Fri Sep 5 08:18:35 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Fri Sep 5 08:18:43 2008 Subject: Google Chrome In-Reply-To: <20080905023638.U53812@phantom.math.miami.edu> References: <20080905023638.U53812@phantom.math.miami.edu> Message-ID: <48C0EB58.4060307@FreeBSD.org> jef moskot wrote: > On Thu, 4 Sep 2008, Ted Mittelstaedt wrote: >> I must have missed something, how would running the Chrome browser >> collect our valuable data? > > What other purpose would Google have for creating this software? > Everything Google does is attempt to collect more data, whether it's > collecting the world's email or convincing corporations, universities, > private citizens, and everyone else that storing all their documents and > records on Google servers is a great idea. > Whether this browser directly collects more data or simply assists them > with their other collection methods, there's no other reasonable > explanation for the creation of the tool. The big selling point of this browser is the performance of its Javascript engine compared to other existing browsers. Javascript is what is used to run the client side of "web applications"...like Google Docs, and other Google applications. Pushing the development of Javascript is directly tied to google's ability to launch more complex web-based applications in the future. As for google collecting private data, this browser apparently does no more of that than other existing browsers, according to: http://www.mattcutts.com/blog/google-chrome-communication/ Kris P.S. This thread is off-topic for freebsd-questions, redirecting to chat. From ricardo.meb.jesus at gmail.com Fri Sep 5 10:04:17 2008 From: ricardo.meb.jesus at gmail.com (Ricardo Jesus) Date: Fri Sep 5 10:04:30 2008 Subject: Automatically starting user programs on boot In-Reply-To: <1b30fd140809041251h642ef61at6bcd86bd71d1158a@mail.gmail.com> References: <1b30fd140809041251h642ef61at6bcd86bd71d1158a@mail.gmail.com> Message-ID: <48C0FC90.6080804@gmail.com> David Collins wrote: > |> Date: Thu, 4 Sep 2008 13:06:54 +0200 (CEST) > |> From: Sa?a Stupar > |> Subject: Automatically starting user programs on boot > |> To: freebsd-questions@freebsd.org > |> Message-ID: > |> <3bd584700067958b3d0e6b681c98a709.squirrel@posta.homelinux.net> > |> Content-Type: text/plain;charset=iso-8859-2 > |> > |> Hi! > |> > |> On my FBSD 7 server I also use screen with rtorrent. In case of server > |> reboot (power outage, server goes on UPS then power down) the user need > |> manually to login, then start screen and then rtorrent. Is it possible to > |> start this procedure automatically and of course as certain user and not > |> as root? > |> I was thinking about .startup file or something in users home directory. > |> > |> Regards, > |> Sasa > > Hi, > > I have been using rtorrent and screen for a while now, it is a great > setup. Anyway, I found an rc.d file for debian that I have changed to > make work for me on freebsd 7. I doubt it is as good as it could be, > but hey, it works fine for me :) > > You will have to change some of the variables at the top of the file. > It opens screen on boot, names it rtorrent and starts rtorrent, does > its thing in the background. To connect to it type screen -r rtorrent > > I placed it in /usr/local/etc/rc.d since it isn't part of the base > distribution. I also named it with a .sh suffix, I forget why but it > is something to do with a controlling terminal, I think. I also have a > nice .screenrc file if you would like since I know how much of a pain > it is to figure out! > > $ cat /usr/local/etc/rc.d > #!/bin/sh > > # PROVIDE: rtorrent > # REQUIRE: DAEMON > > ############# > ###### > ############# > # This script depends on screen. > # For the stop function to work, you must set an > # explicit session directory using ABSOLUTE paths (no, ~ is not > absolute) in your rtorrent.rc. > # If you typically just start rtorrent with just "rtorrent" on the > # command line, all you need to change is the "user" option. > # Attach to the screen session as your user with > # "screen -dr rtorrent". Change "rtorrent" with srnname option. > # Licensed under the GPLv2 by lostnihilist: lostnihilist _at_ gmail _dot_ com > ############## > ###### > ############## > > ####################### > ##Start Configuration## > ####################### > # You can specify your configuration in a different file > # (so that it is saved with upgrades, saved in your home directory, > # or whateve reason you want to) > # by commenting out/deleting the configuration lines and placing them > # in a text file (say /home/user/.rtorrent.init.conf) exactly as you would > # have written them here (you can leave the comments if you desire > # and then uncommenting the following line correcting the path/filename > # for the one you used. note the space after the ".". > # . /etc/rtorrent.init.conf > > # system user to run as > user="davidcollins" > > # the system group to run as, not implemented, see d_start for > beginning implementation > # group=`id -ng "$user"` > > # the full path to the filename where you store your rtorrent configuration > config="`su $user -c 'echo $HOME'`/.rtorrent.rc" > > # set of options to run with > options="" > > # default directory for screen, needs to be an absolute path > base="`su $user -c 'echo $HOME'`" > > # name of screen session > srnname="rtorrent" > > # file to log to (makes for easier debugging if something goes wrong) > logfile="/var/log/rtorrentInit.log" > ####################### > ###END CONFIGURATION### > ####################### > > . /etc/rc.subr > > PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin > name=rtorrent > > rcvar=`set_rcvar` > eval "${rcvar}=\${${rcvar}:-'NO'}" > > start_precmd=checkcnfg > start_cmd="${name}_start" > stop_cmd="${name}_stop" > > checkcnfg() { > exists=0 > for i in `echo "$PATH" | tr ':' '\n'` ; do > if [ -f $i/$name ] ; then > exists=1 > break > fi > done > if [ $exists -eq 0 ] ; then > err 3 "cannot find rtorrent binary in PATH $PATH" > fi > if ! [ -r "${config}" ] ; then > err 3 "cannot find readable config ${config}. check that it is > there and permissions are appropriate" > fi > session=`getsession "$config"` > if ! [ -d "${session}" ] ; then > err 3 "cannot find readable session directory ${session} from > config ${config}. check permissions" > fi > } > > rtorrent_start() > { > echo "Starting $name." > [ -d "${base}" ] && cd "${base}" > stty stop undef && stty start undef > ## start screen with rtorrent inside > su ${user} -c "screen -dm -S "${srnname}" ${name} ${options} 2>&1 > 1>/dev/null" | tee -a "$logfile" >&2 > } > > rtorrent_stop() > { > echo "Stopping $name." > session=`getsession "$config"` > if ! [ -s ${session}/rtorrent.lock ] ; then > return > fi > pid=`cat ${session}/rtorrent.lock | awk -F: '{print($2)}' | sed > "s/[^0-9]//g"` > ## make sure the pid doesn't belong to another process > if ps -A | grep -sq ${pid}.*rtorrent ; then > kill -s INT ${pid} > fi > } > > getsession() > { > session=`cat "$1" | grep "^[[:space:]]*session[[:space:]]*=" | sed > "s/^[[:space:]]*session[[:space:]]*=[[:space:]]*//" ` > echo $session > } > > load_rc_config $name > run_rc_command "$1" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Great stuff David! Minda sharing your .screenrc? Thanks. From davidcollins001 at gmail.com Fri Sep 5 10:21:33 2008 From: davidcollins001 at gmail.com (davidcollins001@gmail.com) Date: Fri Sep 5 10:21:41 2008 Subject: Automatically starting user programs on boot In-Reply-To: <48C0FC90.6080804@gmail.com> References: <1b30fd140809041251h642ef61at6bcd86bd71d1158a@mail.gmail.com> <48C0FC90.6080804@gmail.com> Message-ID: <1b30fd140809050321x35c09589gda365303279b0053@mail.gmail.com> > > Minda sharing your .screenrc? > Sure, here it is. I have set the escape character to [ because it is easier on my little finger than the default ctrl-a. It is easily changed by changing escape to 'escape ^pP'. If you leave it as [ it will play havok when trying to paste text into a terminal since everytime it reads [ it reads the char after and does what ever that binding does. I haven't really changed much, but the important thing for me was the hard status line. I found the default difficult to remember what was open, I have set it up so that it shows all windows open with the current highlighted in red with the host and time and date on the right. There are probably other smart things that can be done, but this suits me for now :) $ cat ~/.screenrc ## to open multiple buffers: ## place dir and name in file in format ## screen -t name ## chdir dir ## screen -t name2 ## chdir dir2 ## chdir ## ## call from in screen with ## (current screen has high number) ## :source "file" ## or source it in .screenrc file #source /tmp/screen_open # COPY MODE # Emacs style movement keys can be customized by a # .screenrc command. (E.g. markkeys "h=^B:l=^F:$=^E") # There is no simple method for a full emacs-style keymap, as # this involves multi-character codes. # # Example of a user's .screenrc file # # This is how one can set a reattach password: # password ODSJQf.4IJN7E # "1234" # no annoying audible bell, please vbell off # start in $HOME directory #chdir ${HOME} # set file to copy paste buffer to bufferfile /tmp/buf # set activity alert activity 'Activity in windown %n' # detach on hangup autodetach on # don't display the copyright page startup_message off # emulate .logout message pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." # advertise hardstatus support to $TERMCAP # termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' # make the shell in every window a login shell #shell -$SHELL # autoaka testing # shellaka '> |tcsh' # shellaka '$ |sh' # set every new windows hardstatus line to somenthing descriptive # defhstatus "screen: ^En (^Et)" defscrollback 1000 # don't kill window after the process died # zombie "^[" # enable support for the "alternate screen" capability in all windows # altscreen on ################ # # xterm tweaks # # # #xterm understands both im/ic and doesn't have a status line. # #Note: Do not specify im and ic in the real termcap/info file as # #some programs (e.g. vi) will not work anymore. # termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l # terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l # # #80/132 column switching must be enabled for ^AW to work # #change init sequence to not switch width # termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l # # # Make the output buffer large for (fast) xterms. # #termcapinfo xterm* OL=10000 # termcapinfo xterm* OL=100 # # # tell screen that xterm can switch to dark background and has function # # keys. # termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' # termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' # termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~' # # # special xterm hardstatus: use the window title. # termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' # # #terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' # termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' # # # emulate part of the 'K' charset # termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' # # # xterm-52 tweaks: # # - uses background color for delete operations # termcapinfo xterm* be # terminfo and termcap for nice 256 color terminal # allow bold colors - necessary for some reason attrcolor b ".I" # tell screen how to set colors. AB = background, AF=foreground termcapinfo xterm 'Co#256:AB=\E8;5;%dm:AF=\E8;5;%dm' # erase background with current bg color defbce "on" # ################ # # # # wyse terminals # # # # #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") # #essential to have it here, as this is a slow terminal. # termcapinfo wy75-42 xo:hs@ # # # New termcap sequences for cursor application mode. # termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J # # ################ # # # # other terminals # # # # # make hp700 termcap/info better # termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@' # # # Extend the vt100 desciption by some sequences. # termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC # terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC # termcapinfo linux C8 # # old rxvt versions also need this # # termcapinfo rxvt C8 # # ################ # # keybindings # # remap C-a to t #escape ^Zz escape [[ # try this !?! - press open bracket then cmd # nice if it stops me using pinky so much # remove some stupid / dangerous key bindings bind k bind ^k bind . bind ^\ bind \\ bind ^h bind h bind ^g bind S bind Q bind X bind A bind ^g bind r bind ^r bind x bind ^x # make them better bind 'K' kill bind 'I' login on bind 'O' login off bind '}' history bind ^a title bind 'a' title bind 's' split bind 'q' only bind 'x' remove bind 'R' wrap bind 'o' focus bind 'l' other # bind keys '[ - [0-9]' to screens 10-19 bind - command -c select10 bind -c select10 0 select 10 bind -c select10 1 select 11 bind -c select10 2 select 12 bind -c select10 3 select 13 bind -c select10 4 select 14 bind -c select10 5 select 15 bind -c select10 6 select 16 bind -c select10 7 select 17 bind -c select10 8 select 18 bind -c select10 9 select 19 bindkey -k F2 detach # detach on F12 # copy mode more like less #markkeys "^e=j:^y=k" #markkeys "^u=b:^d=f" markkeys "^d=f" #markkeys "$=^e" # Yet another hack: # Prepend/append register [/] to the paste if ^a^] is pressed. # This lets me have autoindent mode in vi. register [ "\033:se noai\015a" register ] "\033:se ai\015a" bind ^] paste [.] ################ # # default windows # # screen -t local 0 # screen -t mail 1 mutt # screen -t 40 2 rlogin server # place shell title at bottom of screen # caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" # bind = resize = # bind + resize +1 # bind - resize -1 # bind _ resize max # # defnonblock 1 # blankerprg rain -d 100 # idle 30 blanker hardstatus on hardstatus alwayslastline hardstatus string "%{.bw}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y}%d/%m/%y %c%a " From gurdiga at gmail.com Fri Sep 5 12:06:17 2008 From: gurdiga at gmail.com (Vlad GURDIGA) Date: Fri Sep 5 12:06:28 2008 Subject: freebsd-update Message-ID: Hello, I've run today "freebsd-update fetch" and it found some updates, including /boot/kernel/kernel: The following files will be updated as part of updating to 7.0-RELEASE-p4: /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/src/sys/amd64/amd64/exception.S /usr/src/sys/conf/newvers.sh /usr/src/sys/kern/vfs_mount.c /usr/src/sys/netinet6/icmp6.c Then I ran "freebsd-update install" # freebsd-update install Installing updates... done. I guess this does not update my running kernel and I have to reboot to really update it. Right? Or is there any way to do this without reboot? O course I doubt it but I'd like to make sure I'm not missing some magic feature... :-). Thanks! From michaek at mail.ru Fri Sep 5 12:08:27 2008 From: michaek at mail.ru (Michael Lednev) Date: Fri Sep 5 12:08:35 2008 Subject: freebsd-update In-Reply-To: References: Message-ID: <48C12136.3010201@mail.ru> Vlad GURDIGA ?????: > I guess this does not update my running kernel and I have to reboot to > really update it. Right? Or is there any way to do this without > reboot? O course I doubt it but I'd like to make sure I'm not missing > some magic feature... :-). > > > Yes, reboot is required. From wojtek at wojtek.tensor.gdynia.pl Fri Sep 5 12:08:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Sep 5 12:09:10 2008 Subject: Google Chrome In-Reply-To: <48C0EB58.4060307@FreeBSD.org> References: <20080905023638.U53812@phantom.math.miami.edu> <48C0EB58.4060307@FreeBSD.org> Message-ID: <20080905140820.B8020@wojtek.tensor.gdynia.pl> > As for google collecting private data, this browser apparently does no more > of that than other existing browsers, according to: > > http://www.mattcutts.com/blog/google-chrome-communication/ > of course. they just start.. just wait a bit From msoulier at digitaltorque.ca Fri Sep 5 12:29:26 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Fri Sep 5 12:29:36 2008 Subject: broken autoconf upgrade Message-ID: While running portupgrade -ai, I noticed this else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./autoconf-2.62.info" | sed 's|[^/]*$||'` ; \ fi; \ rm -rf $backupdir; exit $rc autoconf-2.62.texi:1723: Unknown command `'. autoconf-2.62.texi:3353: Unknown command `'. autoconf-2.62.texi:3920: Unknown command `'. autoconf-2.62.texi:3935: Unknown command `'. autoconf-2.62.texi:3947: Unknown command `'. autoconf-2.62.texi:3965: Unknown command `'. autoconf-2.62.texi:3986: Unknown command `'. autoconf-2.62.texi:4001: Unknown command `'. autoconf-2.62.texi:4019: Unknown command `'. autoconf-2.62.texi:4027: Unknown command `'. So, this won't upgrade. Anyone else see that? Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From lists at jnielsen.net Fri Sep 5 13:45:19 2008 From: lists at jnielsen.net (John Nielsen) Date: Fri Sep 5 13:45:26 2008 Subject: Google Chrome In-Reply-To: References: <200809021314.39209.beech@freebsd.org> Message-ID: <200809050946.09315.lists@jnielsen.net> On Tuesday 02 September 2008, Vlad GURDIGA wrote: > On Wed, Sep 3, 2008 at 12:14 AM, Beech Rintoul wrote: > > On Tuesday 02 September 2008, Vlad GURDIGA said: > >> Hello, > >> > >> In Google Chrome System requirements > >> (http://www.google.com/support/chrome/bin/answer.py?answer=95411&to > >>pic=14660) they say that a Linux version is going to appear. And in > >> the "Download and install" help article > >> (http://www.google.com/support/chrome/bin/answer.py?answer=95346&qu > >>ery=open-source&topic=&type=) they say that it is open-source. > >> > >> Does this mean that is hope we'll have a FreeBSD version? > > > > If someone steps up and rolls and submits the port. You're welcome to > > volunteer :-) > > I'd be glad to, but I'm afraid I do not have the skills for that... :-( It won't be trivial to port. Last night I got as far as installing the recommended versions of the dependencies (including nspr and nss a version ahead of what's currently in ports). The chromium build script assumes the existence of /proc and /bin/bash. I stopped trying for now when I discovered that it doesn't even run "configure" for some of the third-party tools. It uses canned header files generated for Linux or Mac.. JN From ohartman at zedat.fu-berlin.de Fri Sep 5 14:08:01 2008 From: ohartman at zedat.fu-berlin.de (O. Hartmann) Date: Fri Sep 5 14:08:07 2008 Subject: flyspray and php 5/postgresql weirdness, help ... Message-ID: <48C13CBA.4070407@zedat.fu-berlin.de> hello, for development in our scientific environment I setup /usr/ports/devel/flyspray, running with a postgresql 8.3.3 backend on a FreeBSD 7.1-PRE box. After a successful installation, I get this error while trying to reach the freshly installed server via https://host/flyspray/: Query {SELECT p.*, c.content AS pm_instructions, c.last_updated AS cache_update FROM "flyspray_projects" p LEFT JOIN "flyspray_cache" c ON c.topic = p.project_id AND c.type = 'msg' WHERE p.project_id = ?} with params {1} Failed! (ERROR: operator does not exist: character varying = integer LINE 3: ... LEFT JOIN "flyspray_cache" c ON c.topic = p.projec... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.) I do not know whether the shown problem is postgresql-syntactical or a php 5 problem, so I guess it's a kind of both. By the way, the webserver is Lighttpd and not Apache, so it may could be a fastcgi.server problem? I would appreciate any hint or tip, thanks a lot ... Oliver From Albert.Shih at obspm.fr Fri Sep 5 14:14:06 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Sep 5 14:14:13 2008 Subject: portsnap in cron and firewall Message-ID: <20080905141402.GJ5474@pcjas.obspm.fr> Hi all I've some servers for internal use. On those servers I have some pf (or ipfw) rule to deny any connection from inside to outside. Long time ago when ports tree is update with cvs, I'm using something like pf command to open inside --> outside connection cvsup portupgrade --fetch-only --all pf command to close inside --> outside connection But now with portsnap cron (that's mean random sleep) I don't known when the system try to connect outside. Do you have any idea how can I make my update using portsnap (I known I can use cvsup) in a crontab with my network config ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 5 sep 2008 16:07:27 CEST From roberthuff at rcn.com Fri Sep 5 14:19:07 2008 From: roberthuff at rcn.com (Robert Huff) Date: Fri Sep 5 14:19:13 2008 Subject: Google Chrome In-Reply-To: <200809050946.09315.lists@jnielsen.net> References: <200809021314.39209.beech@freebsd.org> <200809050946.09315.lists@jnielsen.net> Message-ID: <18625.16339.776638.135788@jerusalem.litteratus.org> John Nielsen writes: > It won't be trivial to port. Last night I got as far as > installing the recommended versions of the dependencies > (including nspr and nss a version ahead of what's currently in > ports). The chromium build script assumes the existence of /proc > and /bin/bash. I stopped trying for now when I discovered that it > doesn't even run "configure" for some of the third-party > tools. It uses canned header files generated for Linux or Mac.. Have you offered your changes back to Google? Robert Huff From mkbucc at gmail.com Fri Sep 5 14:39:06 2008 From: mkbucc at gmail.com (Mark B.) Date: Fri Sep 5 14:39:14 2008 Subject: How to delete non-ASCII chars in file Message-ID: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> I have a text file that includes some non-ASCII characters For example, opening the file in vi shows lines like this: 'easth_0.541716776378' 0 \xe2\x80\x98dire' 2 Is there a command-line tool I can use to delete these characters? I tried: cat f | tr -cd [:print:] but this removes the newlines. I also tried cat f | sed "s/[^:print:]//g" but it didn't remove the characters. Thanks, m From keramida at ceid.upatras.gr Fri Sep 5 14:58:37 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Sep 5 14:58:52 2008 Subject: How to delete non-ASCII chars in file In-Reply-To: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> (Mark B.'s message of "Fri, 5 Sep 2008 10:14:08 -0400") References: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> Message-ID: <87vdxa4p2p.fsf@kobe.laptop> On Fri, 5 Sep 2008 10:14:08 -0400, "Mark B." wrote: > I have a text file that includes some non-ASCII characters > For example, opening the file in vi shows lines like this: > > 'easth_0.541716776378' 0 \xe2\x80\x98dire' 2 > > Is there a command-line tool I can use to delete these > characters? I tried: > > cat f | tr -cd [:print:] > > but this removes the newlines. Hi Mark, It may be more useful to run the file through sed(1). The newlines aren't deleted by sed: $ echo '^Fhello^F' | sed -e 's/[^[:print:]]*//' | hd 00000000 68 65 6c 6c 6f 06 0a |hello..| 00000007 $ > I also tried > > cat f | sed "s/[^:print:]//g" > > but it didn't remove the characters. The matching pattern is wrong. You need `[^[:print:]]'. The character class of printable characters is `[:print:]', and you can negate the pattern with `[^xxxx]' where `xxxx' is the character class; hence the extra pair of brackets in `[^[:print:]]'. From millenia2000 at hotmail.com Fri Sep 5 15:34:00 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Sep 5 15:34:08 2008 Subject: portsnap in cron and firewall In-Reply-To: <20080905141402.GJ5474@pcjas.obspm.fr> References: <20080905141402.GJ5474@pcjas.obspm.fr> Message-ID: > Date: Fri, 5 Sep 2008 16:14:02 +0200> From: Albert.Shih@obspm.fr> To: freebsd-questions@freebsd.org> Subject: portsnap in cron and firewall> > Hi all> > I've some servers for internal use. On those servers I have some pf (or> ipfw) rule to deny any connection from inside to outside. > > Long time ago when ports tree is update with cvs, I'm using something like> > pf command to open inside --> outside connection> cvsup > portupgrade --fetch-only --all> pf command to close inside --> outside connection> > But now with portsnap cron (that's mean random sleep) I don't known when> the system try to connect outside. > > Do you have any idea how can I make my update using portsnap (I known I can> use cvsup) in a crontab with my network config ? > "portsnap cron" just randomizes the time to download unlike "portsnap fetch" which says to do it right now. cron was added to help randomize the time so everyone syncing at midnight UTC arent all hitting at exact same time. From freebsd_user at guice.ath.cx Fri Sep 5 15:37:41 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Fri Sep 5 15:37:49 2008 Subject: Starting and using services -- Single-user mode -- TECRA_A9-S9017 Message-ID: <48C1522C.4050201@guice.ath.cx> I have the need to start and use service while in single_user mode. To this point I'm not able to use 'top' or 'ps' respectively. In addition,from the CLI; when I attempt to start services such as 'portmap' and 'sshd' nothing is shown running via 'ps'. All I see are the headers when I issue th 'ps aux' command. I'm sure its possible to do what I'm attempting, but given the crippled situation of this box, I'm stuck in Single-user mode and need to start enough services that will allow the use of 'scp' in order to move some zipped/crucial files from the crippled box to another machine on the same network. There are no other options, I need to do this from single-user mode. From Albert.Shih at obspm.fr Fri Sep 5 15:43:46 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Sep 5 15:43:53 2008 Subject: portsnap in cron and firewall In-Reply-To: References: <20080905141402.GJ5474@pcjas.obspm.fr> Message-ID: <20080905154344.GL5474@pcjas.obspm.fr> Le 05/09/2008 ? 11:33:59-0400, Sean Cavanaugh a ?crit > > > > Date: Fri, 5 Sep 2008 16:14:02 +0200> From: Albert.Shih@obspm.fr> > > To: freebsd-questions@freebsd.org> Subject: portsnap in cron and > > firewall> > Hi all> > I've some servers for internal use. On those > > servers I have some pf (or> ipfw) rule to deny any connection from > > inside to outside. > > Long time ago when ports tree is update with > > cvs, I'm using something like> > pf command to open inside --> > > outside connection> cvsup > portupgrade --fetch-only --all> pf > > command to close inside --> outside connection> > But now with > > portsnap cron (that's mean random sleep) I don't known when> the > > system try to connect outside. > > Do you have any idea how can I > > make my update using portsnap (I known I can> use cvsup) in a > > crontab with my network config ? > > > "portsnap cron" just randomizes the time to download unlike "portsnap > fetch" which says to do it right now. cron was added to help randomize > the time so everyone syncing at midnight UTC arent all hitting at > exact same time. Yes I known. That's why I'm asking you how can I make portsnap through the cron and opening firewall just before he going to make the connection. Of course I can hack the portsnap to make he don't try to see if it's fork by cron or not. But it's not a good idea IMHO, what's happen if all person do that ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 5 sep 2008 17:41:30 CEST From millenia2000 at hotmail.com Fri Sep 5 15:51:58 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Sep 5 15:52:06 2008 Subject: portsnap in cron and firewall In-Reply-To: <20080905154344.GL5474@pcjas.obspm.fr> References: <20080905141402.GJ5474@pcjas.obspm.fr> <20080905154344.GL5474@pcjas.obspm.fr> Message-ID: > Date: Fri, 5 Sep 2008 17:43:44 +0200> From: Albert.Shih@obspm.fr> To: millenia2000@hotmail.com> CC: freebsd-questions@freebsd.org> Subject: Re: portsnap in cron and firewall> > > Le 05/09/2008 ? 11:33:59-0400, Sean Cavanaugh a ?crit> > > > > > > Date: Fri, 5 Sep 2008 16:14:02 +0200> From: Albert.Shih@obspm.fr>> > > To: freebsd-questions@freebsd.org> Subject: portsnap in cron and> > > firewall> > Hi all> > I've some servers for internal use. On those> > > servers I have some pf (or> ipfw) rule to deny any connection from> > > inside to outside. > > Long time ago when ports tree is update with> > > cvs, I'm using something like> > pf command to open inside -->> > > outside connection> cvsup > portupgrade --fetch-only --all> pf> > > command to close inside --> outside connection> > But now with> > > portsnap cron (that's mean random sleep) I don't known when> the> > > system try to connect outside. > > Do you have any idea how can I> > > make my update using portsnap (I known I can> use cvsup) in a> > > crontab with my network config ? >> > > > "portsnap cron" just randomizes the time to download unlike "portsnap> > fetch" which says to do it right now. cron was added to help randomize> > the time so everyone syncing at midnight UTC arent all hitting at> > exact same time.> > Yes I known. That's why I'm asking you how can I make portsnap through the> cron and opening firewall just before he going to make the connection.> > Of course I can hack the portsnap to make he don't try to see if it's fork> by cron or not. But it's not a good idea IMHO, what's happen if all person> do that ? I think you misread what i was saying. Inside your cron job use "portsnap fetch" instead of "portsnap cron". that way it will fetch exactly when you run the cron job, without the randomized delay. most likely a shell script that would have the following: 1)open pf 2)portsnap fetch 3)portsnap update (<- you were missing this important step also) 4)portupgrade --fetch-only --all 5)close pf From Albert.Shih at obspm.fr Fri Sep 5 15:59:53 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Sep 5 16:00:01 2008 Subject: portsnap in cron and firewall In-Reply-To: References: <20080905141402.GJ5474@pcjas.obspm.fr> <20080905154344.GL5474@pcjas.obspm.fr> Message-ID: <20080905155951.GO5474@pcjas.obspm.fr> Le 05/09/2008 ? 11:51:57-0400, Sean Cavanaugh a ?crit > ------------------------------------------------------------------------------- > > > > Yes I known. That's why I'm asking you how can I make portsnap through the > > cron and opening firewall just before he going to make the connection. > > > > Of course I can hack the portsnap to make he don't try to see if it's fork > > by cron or not. But it's not a good idea IMHO, what's happen if all person > > do that ? > > I think you misread what i was saying. Inside your cron job use "portsnap > fetch" instead of "portsnap cron". that way it will fetch exactly when you run > the cron job, without the randomized delay. > > most likely a shell script that would have the following: > 1)open pf > 2)portsnap fetch > 3)portsnap update (<- you were missing this important step also) > 4)portupgrade --fetch-only --all > 5)close pf Yes I known ;-) and I understand what you saying. But what I'm saying is if the developper of portsnap think it's useful to put some randomized delay I'm going to follow this. Because if I make what you say how can I known after 1 or 2 years there no other enough users to do same thing and make the portsnap server overload ? Event I make some ?randomize? time in the crontab it's only when I make the crontab, that's mean every day the portsnap is launch in the same moment. The best solution is to make some ?hook_script? in the portsnap and after the randomize delay is over just before the fetch is launch to run a hook-script So now portsnap cron = sleep random_time; portsnap fetch what I think is portsnap cron -h hook-script = sleep random_time; sh hook-script; portsnap fetch regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 5 sep 2008 17:53:37 CEST From fbsd06 at mlists.homeunix.com Fri Sep 5 16:00:58 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Sep 5 16:01:06 2008 Subject: portsnap in cron and firewall In-Reply-To: <20080905141402.GJ5474@pcjas.obspm.fr> References: <20080905141402.GJ5474@pcjas.obspm.fr> Message-ID: <20080905164926.07dbb9f1@gumby.homeunix.com.> On Fri, 5 Sep 2008 16:14:02 +0200 Albert Shih wrote: > Hi all > > I've some servers for internal use. On those servers I have some pf > (or ipfw) rule to deny any connection from inside to outside. > > Long time ago when ports tree is update with cvs, I'm using something > like > > pf command to open inside --> outside connection > cvsup > portupgrade --fetch-only --all > pf command to close inside --> outside connection > > But now with portsnap cron (that's mean random sleep) I don't known > when the system try to connect outside. > > Do you have any idea how can I make my update using portsnap (I known You can do this" sleep `jot -r 1 0 3599` portsnap fetch However, I would suggest you simply create pf rules to allow the server contact to the portsnap servers. From ivoras at freebsd.org Fri Sep 5 16:01:16 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Sep 5 16:01:24 2008 Subject: Starting and using services -- Single-user mode -- TECRA_A9-S9017 In-Reply-To: <48C1522C.4050201@guice.ath.cx> References: <48C1522C.4050201@guice.ath.cx> Message-ID: freebsd_user@guice.ath.cx wrote: > I have the need to start and use service while in single_user mode. To > this point I'm not able to use 'top' or 'ps' respectively. In ps is in /bin, top is in /usr/bin ; unless you a) have your PATH wrong or b) commonly put /bin on separate file systems, you should be able to use ps and others in /bin and /sbin. > addition,from the CLI; when I attempt to start services such as > 'portmap' and 'sshd' nothing is shown running via 'ps'. All I see are > the headers when I issue th 'ps aux' command. Are your world and kernel matched? > I'm sure its possible to do what I'm attempting, but given the crippled > situation of this box, I'm stuck in Single-user mode and need to start > enough services that will allow the use of 'scp' in order to move some > zipped/crucial files from the crippled box to another machine on the > same network. When you enter single user mode, root file system is mounted read-only so one of the first things you need to do is "mount -u -o rw /". Next, you need to mount your other file systems (/usr is usually a separate file system and that's where ssh lives) so do "mount -a". At this point you might as well cancel the single-user mode by exiting the shell and go multi-user. If there are file system errors. "mount -a" will fail and you'll need to mount other file systems by hand. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080905/eb15da47/signature.pgp From mkbucc at gmail.com Fri Sep 5 16:27:14 2008 From: mkbucc at gmail.com (Mark B.) Date: Fri Sep 5 16:27:22 2008 Subject: How to delete non-ASCII chars in file In-Reply-To: <87vdxa4p2p.fsf@kobe.laptop> References: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> <87vdxa4p2p.fsf@kobe.laptop> Message-ID: <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> On Fri, Sep 5, 2008 at 10:58 AM, Giorgos Keramidas wrote: > $ echo '^Fhello^F' | sed -e 's/[^[:print:]]*//' | hd > 00000000 68 65 6c 6c 6f 06 0a |hello..| > 00000007 > $ Thanks. > The matching pattern is wrong. You need `[^[:print:]]'. The character > class of printable characters is `[:print:]', and you can negate the > pattern with `[^xxxx]' where `xxxx' is the character class; hence the > extra pair of brackets in `[^[:print:]]'. In case you are interested, I've patched the re_format man page with this example. I had read it, and it says :print: is the "name of the character class." I think the concrete example helps clarify things. A follow question--is it possible to use that statement in a Makefile (BSD)? A straight cut 'n paste didn't work, and I couldn't figure out the escaping to make it work. Thanks, m cd to /usr/src/lib/libc/regex/ and apply this patch. --- /dev/null Fri Sep 5 12:12:21 2008 +++ re_format.7 Fri Sep 5 12:18:29 2008 @@ -288,6 +288,10 @@ A locale may provide others. A character class may not be used as an endpoint of a range. .Pp +To match all characters not in a class, use a bracket expression +like this: +.Ql [^[:print:]] . +.Pp There are two special cases\(dd of bracket expressions: the bracket expressions .Ql [[:<:]] From jimhertzler at ntelos.net Fri Sep 5 16:38:30 2008 From: jimhertzler at ntelos.net (Jim Hertzler) Date: Fri Sep 5 16:38:38 2008 Subject: string split, bash and IFS In-Reply-To: <499449.17617.qm@web57002.mail.re3.yahoo.com> References: <499449.17617.qm@web57002.mail.re3.yahoo.com> Message-ID: <19335104.post@talk.nabble.com> #!/bin/bash # Split the command line argument on the colon character. SaveIFS=$IFS IFS=":" declare -a Array=($*) IFS=SaveIFS echo "Array[0]=${Array[0]}" echo "Array[1]=${Array[1]}" echo "Array[2]=${Array[2]}" echo "Array[3]=${Array[3]}" Unga wrote: > > Hi all > > How to use bash and IFS to split a string? > > eg. > $string = "Name:Surname:10" > IFS=: > echo "$string" | read name surname age > > This does not work for some reason. The read does not create name, surname > and age variables. Any idea why? > > Appreciate your reply. > > Kind regards > Unga > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/string-split%2C-bash-and-IFS-tp19140697p19335104.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mkbucc at gmail.com Fri Sep 5 16:57:30 2008 From: mkbucc at gmail.com (Mark B.) Date: Fri Sep 5 16:57:37 2008 Subject: How to delete non-ASCII chars in file In-Reply-To: <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> References: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> <87vdxa4p2p.fsf@kobe.laptop> <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> Message-ID: <59f4cb420809050957t593cde5t27c71ac3df72998a@mail.gmail.com> On Fri, Sep 5, 2008 at 12:27 PM, Mark B. wrote: > A follow question--is it possible to use that statement in a Makefile (BSD)? > A straight cut 'n paste didn't work, and I couldn't figure out the escaping to > make it work. Never mind, it works just fine. m From freebsd at edvax.de Fri Sep 5 17:01:10 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Sep 5 17:01:17 2008 Subject: string split, bash and IFS In-Reply-To: <19335104.post@talk.nabble.com> References: <499449.17617.qm@web57002.mail.re3.yahoo.com> <19335104.post@talk.nabble.com> Message-ID: <20080905190107.b1a4e970.freebsd@edvax.de> Please allow me a sidenote: On Fri, 5 Sep 2008 09:38:29 -0700 (PDT), Jim Hertzler wrote: > > #!/bin/bash ^^^^^ Isn't compatible to FreeBSD, I think, because BASH is an additional package and the bash binary will be installed into /usr/local/bin/bash; unless you're not using any features that are exclusively in bash (and not in sh), declare /bin/sh as shell (standard scripting shell in UNIX). So if you use BASH on FreeBSD, BASH scripts would need to have the header #!/usr/local/bin/bash on order to operate correctly - unless, of course, you modify your system to have BASH as /bin/bash (copying, symlinking)... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From frank at shute.org.uk Fri Sep 5 17:08:17 2008 From: frank at shute.org.uk (Frank Shute) Date: Fri Sep 5 17:08:24 2008 Subject: which gray is best for print? In-Reply-To: <20080903231439.GA98955@thought.org> References: <20080903231439.GA98955@thought.org> Message-ID: <20080905170804.GB20329@melon.esperance-linux.co.uk> On Wed, Sep 03, 2008 at 04:14:42PM -0700, Gary Kline wrote: > > This is for any webmaster types: which color gray (in hex, "#xxxxxx") > is best for a site that has probably very long articles? I've googled > around and found various grays such as "#696969" or "#708090", but I > haven't found anything that really fits what I want. URL, anybody? > Or if there is a color-chooser in ports, that too, altho I haven't found > anything in ports/x11 or ports/www. > > To prevent boredom, two shades of deep gray or blue-gray would be besy. > > tia, > > gary I can't tell you which grey is most suitable but I can tell you how I go about choosing a colour. Install: x11/rgb Then: $ showrgb | less will give you the names of the 256 websafe colours and their rgb values. I usually check out the colours by: $ xterm -bg DarkSalmon etc. Alternatively, you can use css and set an html pages bg properties: & view it in your browser. -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From alxflx at combatwc.com Fri Sep 5 17:22:51 2008 From: alxflx at combatwc.com (kuantem) Date: Fri Sep 5 17:22:58 2008 Subject: HP 2133 MiniNote & FreeBSD Message-ID: <19335910.post@talk.nabble.com> If anyone else out there is trying to run FreeBSD 7 on their HP 2133 MiniNote lets share some progress. I'm currently having issues with the Broadcom wireless card working and along with the audio drivers. After compiling a new KERNEL the hardware is located however I'm getting no sound and no activity from wifi. Suggestion anyone? I'll post my kernel config and dmesg in a few... -- View this message in context: http://www.nabble.com/HP-2133-MiniNote---FreeBSD-tp19335910p19335910.html Sent from the freebsd-questions mailing list archive at Nabble.com. From lists at jnielsen.net Fri Sep 5 17:34:00 2008 From: lists at jnielsen.net (John Nielsen) Date: Fri Sep 5 17:34:07 2008 Subject: Google Chrome In-Reply-To: <18625.16339.776638.135788@jerusalem.litteratus.org> References: <200809050946.09315.lists@jnielsen.net> <18625.16339.776638.135788@jerusalem.litteratus.org> Message-ID: <200809051334.49707.lists@jnielsen.net> On Friday 05 September 2008, Robert Huff wrote: > John Nielsen writes: > > It won't be trivial to port. Last night I got as far as > > installing the recommended versions of the dependencies > > (including nspr and nss a version ahead of what's currently in > > ports). The chromium build script assumes the existence of /proc > > and /bin/bash. I stopped trying for now when I discovered that it > > doesn't even run "configure" for some of the third-party > > tools. It uses canned header files generated for Linux or Mac.. > > Have you offered your changes back to Google? Haven't made any changes yet, just observations. I did send my updated nss port to the maintainer.. If I make any headway on Chromium itself I don't intend to keep it private, though I don't think it'll be a priority any time soon. JN From keramida at freebsd.org Fri Sep 5 17:39:00 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Fri Sep 5 17:39:31 2008 Subject: How to delete non-ASCII chars in file In-Reply-To: <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> (Mark B.'s message of "Fri, 5 Sep 2008 12:27:12 -0400") References: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> <87vdxa4p2p.fsf@kobe.laptop> <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> Message-ID: <871vzyo5mf.fsf@kobe.laptop> On Fri, 5 Sep 2008 12:27:12 -0400, "Mark B." wrote: > On Fri, Sep 5, 2008 at 10:58 AM, Giorgos Keramidas > wrote: > >> $ echo '^Fhello^F' | sed -e 's/[^[:print:]]*//' | hd >> 00000000 68 65 6c 6c 6f 06 0a |hello..| >> 00000007 >> $ > > In case you are interested, I've patched the re_format man page with > this example. I had read it, and it says :print: is the "name of the > character class." I think the concrete example helps clarify things. Excellent, thank you! Using your text as a starting point, I've committed two examples to the manpage now: one for matching the characters of a class, and one for matching all the characters *not* in a class. %%% Index: re_format.7 =================================================================== --- re_format.7 (revision 182794) +++ re_format.7 (working copy) @@ -288,6 +288,14 @@ A locale may provide others. A character class may not be used as an endpoint of a range. .Pp +A bracketed expression like +.Ql [[:class:]] +can be used to match a single character that belongs to a character +class. +The reverse, matching any character that does not belong to a specific +class, the negation operator of bracket expressions may be used: +.Ql [^[:class:]] . +.Pp There are two special cases\(dd of bracket expressions: the bracket expressions .Ql [[:<:]] %%% Does this look ok? If not, we can commit a followup change and refine it in the next 2-3 days. Then I'll file an MFC request with our release engineering team, and merge it to stable branches too. > A follow question--is it possible to use that statement in a Makefile > (BSD)? A straight cut 'n paste didn't work, and I couldn't figure out > the escaping to make it work. It should be possible. Quoting may be a bit trickier in Makefiles, but can you show me the Makefile you tried? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080905/28db33ab/attachment.pgp From peter at boosten.org Fri Sep 5 18:26:44 2008 From: peter at boosten.org (Peter Boosten) Date: Fri Sep 5 18:26:57 2008 Subject: Strange traffic originating from httpd Message-ID: <48C1738E.8030206@boosten.org> Hi all, Just today I noticed some strange UDP4 traffic from my webserver to an IP address unknown to me, connecting to port 8000 (UDP). Sockstat showed httpd (running as www) as the culprit. Does anyone know what could cause this? I run several websites (Joomla, Wordpress, Coppermine, Nucleus), so maybe some plugin does this. My setup: FreeBSD 7 patch 4 Apache 2.2.9_3 (from ports) PHP5.2.6 (not from ports) Thanks in advance for your answers. -- http://www.boosten.org From mkbucc at gmail.com Fri Sep 5 18:30:58 2008 From: mkbucc at gmail.com (Mark B.) Date: Fri Sep 5 18:31:10 2008 Subject: How to delete non-ASCII chars in file In-Reply-To: <871vzyo5mf.fsf@kobe.laptop> References: <59f4cb420809050714i16ebe30bmd9f325592f05516e@mail.gmail.com> <87vdxa4p2p.fsf@kobe.laptop> <59f4cb420809050927w71fea733mcf7a2071c24cdc93@mail.gmail.com> <871vzyo5mf.fsf@kobe.laptop> Message-ID: <59f4cb420809051130u5f591589q33533e1638bd1dd7@mail.gmail.com> On Fri, Sep 5, 2008 at 1:38 PM, Giorgos Keramidas wrote: > Does this look ok? Looks good to me. m From ryallsd at gmail.com Fri Sep 5 18:31:03 2008 From: ryallsd at gmail.com (Derrick Ryalls) Date: Fri Sep 5 18:31:11 2008 Subject: sendmail not authenticating with smart host Message-ID: Greetings, Due to port 25 restrictions, I am trying to get my brother's email server to authenticate out on port 587. I have sendmail talking via port 587, but it is not properly authenticating. To help narrow things down, I am having his machine route all mail to my machine with authentication. His machine is a running version 7: 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 Here are some relevant parts of the hostname.mc file: define(`SMART_HOST', `myserver.com') define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info.db')dnl auth/client-info has this: AuthInfo:myserver.com "U:hisuser" "I:hisuser" "P:password" "M:PLAIN" And I have created client-info.db hash. I have copied the config file workflow from my server which uses smtp auth to talk to my ISP on port 587. On myserver.com, I do see that his machine connects to me, but I see this error in maillog: Relaying denied. Proper authentication required. When I was trying to go through his ISP, I got this error message in his error log: stat=Service unavailable. We share ISP (from different states though) and I am still able to send via my ISP. I even tried to directly copying my auth info for the ISP from my box to his (so he would be sending as me) and I got this same error. Have I missed a configuration setting somewhere? From peter at boosten.org Fri Sep 5 18:38:15 2008 From: peter at boosten.org (Peter Boosten) Date: Fri Sep 5 18:38:22 2008 Subject: Strange traffic originating from httpd In-Reply-To: <48C1738E.8030206@boosten.org> References: <48C1738E.8030206@boosten.org> Message-ID: <20080905203812.57681dffjf1gfhxc@www.boosten.org> Quoting "Peter Boosten" : > Hi all, > > Just today I noticed some strange UDP4 traffic from my webserver to an > IP address unknown to me, connecting to port 8000 (UDP). > > Sockstat showed httpd (running as www) as the culprit. > Does anyone know what could cause this? > > I run several websites (Joomla, Wordpress, Coppermine, Nucleus), so > maybe some plugin does this. > [snip] Oke, did some checks and found the following: the UDP connection is initiated once when anyone visits one of the Wordpress sites. A tcpdump shows that the IP address of the visiting client is transmitted to that external site, so probably it's one of the plugins: - Akismet - WP-Shortstat - Wassup - WPsyslog I'm going to ask in the Wordpress groups. Apologies for the polution :-) Peter -- http://www.boosten.org From aggelidis.news at gmail.com Fri Sep 5 18:54:24 2008 From: aggelidis.news at gmail.com (Aggelidis Nikos) Date: Fri Sep 5 18:54:31 2008 Subject: Problems building port, missing library(?) Message-ID: <30fc78250809051123t4c1f8c59t20bf429c890a85d7@mail.gmail.com> Hi to all the list, i tried to install gtk-murrine-engine from ports... So i first updated them: * removed the old ports directory to start fresh and then did csup -L 2 -h cvsup.fr.FreeBSD.org /usr/share/examples/cvsup/ports-supfile *i then typed [root@apollo /usr]# portupgrade -P -N gtk-murrine-engine and i got the following output: [snip] /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.69428.0 env make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11-themes/gtk-murrine-engine (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed so then i tried installing gio-fam-backend so i typed: [root@apollo /usr]# portupgrade -P -N gio-fam-backend /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.93689.0 env make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! devel/gio-fam-backend (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed i think the important part is: /usr/bin/ld: cannot find -lgio-2.0 any ideas why this happened and how can i fix it? thanks in advance for your time, -nicolas From editors at selfgrowth.com Fri Sep 5 19:27:28 2008 From: editors at selfgrowth.com (Self Improvement Newsletter) Date: Fri Sep 5 19:28:13 2008 Subject: =?iso-8859-1?q?Subscription_Confirmation_=96_Specialty_Lists_on_?= =?iso-8859-1?q?SelfGrowth=2Ecom?= Message-ID: Dear Darling, You had previously signed up to receive our newsletter. As part of the signup process, you requested information on one or more of our specialty interest areas. We were provided with the following information during the sign-up process: Your Full Name: Darling Smorgrav Your Email Address: freebsd-questions@freebsd.org If you are no longer interested in receiving this special topic information, you can unsubscribe by clicking here: http://newsletters.selfgrowth.com/u?id=17770730.fd784a8643a3567895f29fecebdae9a2&o=5283451&n=T&e=freebsd-questions@freebsd.org&l=oip OUR COMPLETE LIST OF TOPICS: Audio Programs, Dieting & Weight Loss, Foreign Language, Goal Setting, Memory Improvement, NLP, Public Speaking, Speed Reading, Stress & Anxiety Relief, Success Coaching, and Time Management. To signup for any of these other topics, go to: http://www.selfimprovementnewsletters.com/ We are looking forward to helping you improve your life! Sincerely, David Riklan Founder - SelfGrowth.com From kline at thought.org Fri Sep 5 20:06:10 2008 From: kline at thought.org (Gary Kline) Date: Fri Sep 5 20:06:16 2008 Subject: which gray is best for print? In-Reply-To: <20080905170804.GB20329@melon.esperance-linux.co.uk> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> Message-ID: <20080905200601.GA81339@thought.org> On Fri, Sep 05, 2008 at 06:08:04PM +0100, Frank Shute wrote: > On Wed, Sep 03, 2008 at 04:14:42PM -0700, Gary Kline wrote: > > > > This is for any webmaster types: which color gray (in hex, "#xxxxxx") > > is best for a site that has probably very long articles? I've googled > > around and found various grays such as "#696969" or "#708090", but I > > haven't found anything that really fits what I want. URL, anybody? > > Or if there is a color-chooser in ports, that too, altho I haven't found > > anything in ports/x11 or ports/www. > > > > To prevent boredom, two shades of deep gray or blue-gray would be besy. > > > > tia, > > > > gary > > I can't tell you which grey is most suitable but I can tell you how I > go about choosing a colour. > > Install: x11/rgb > > Then: > > $ showrgb | less > > will give you the names of the 256 websafe colours and their rgb > values. > > I usually check out the colours by: > > $ xterm -bg DarkSalmon > > etc. > > Alternatively, you can use css and set an html pages bg properties: > > > > & view it in your browser. > > -- > > Frank Thanks for this. I'll check it out when I'm less crushed! Just one note to the list (in case anybody else it looking for attractive/fitting #xxxxxx codes): dark, black-ish blue #000033 is very good and pleasant on the eyes; #333366 even more so. I'm still open to the bg color. The display white is not true, paper-white. Anyway, pretty sure the ink+paper publishers have their own [[ BETTER ]] ideas. I'm looking for what looks good on the web. gary > > > Contact info: http://www.shute.org.uk/misc/contact.html > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From chris at arnold.se Fri Sep 5 20:09:45 2008 From: chris at arnold.se (Christopher Arnold) Date: Fri Sep 5 20:09:52 2008 Subject: Google Chrome In-Reply-To: <200809050946.09315.lists@jnielsen.net> References: <200809021314.39209.beech@freebsd.org> <200809050946.09315.lists@jnielsen.net> Message-ID: <20080905220728.A98015@localhost> On Fri, 5 Sep 2008, John Nielsen wrote: >> I'd be glad to, but I'm afraid I do not have the skills for that... :-( > > It won't be trivial to port. Last night I got as far as installing the > Until it get's ported run it under wine!: http://www.arnold.se/chris/2008/09/howto-run-chrome-on-freebsd-70/ It's dead easy today with the new version of wine. And will be even easier when wine in ports get updated... /Chris From freebsd at edvax.de Fri Sep 5 20:39:03 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Sep 5 20:39:10 2008 Subject: which gray is best for print? In-Reply-To: <20080905200601.GA81339@thought.org> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> Message-ID: <20080905223859.8ad56b37.freebsd@edvax.de> On Fri, 5 Sep 2008 13:06:01 -0700, Gary Kline wrote: > I'm still open to the bg color. The display white is not true, > paper-white. Anyway, pretty sure the ink+paper publishers have > their own [[ BETTER ]] ideas. I'm looking for what looks good on > the web. You can't look at the Web, you're looking at a monitor or at a sheet of paper. :-) The same color may look different on * a CRT type monitor * a LCD type monitor * a hardcopy done by a color laser printer * a hardcopy done by a color ink pee printer * ... This is due to the nature that these devices use different color spaces (RGB, composed additively, CMY, composed negatively), and most of them even aren't calibrated. GRB and CMY are parts of the CIE specified space (see CIE diagram), but they don't have all the colors in common. There are colors you can show on a CRT, but you cannot print them 1:1. Anyway, the best reading contrast - black on white - looks boring on the web, and it stresses your eyes (too much light reflected / emitted). Furthermore, if you select a dark color for the background, LCD type monitors (that have a minimal light emission even if the color is pure black) may look too light, while a CRT type monitor may display the color as dark as you intended (because when it's black, the CRT does not emit any light, unless, of course, the base brightness is needlessly adjusted above the zero point). So much for physics, kids. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From cemkayali at eticaret.com.tr Fri Sep 5 20:40:17 2008 From: cemkayali at eticaret.com.tr (Cem Kayali) Date: Fri Sep 5 20:40:31 2008 Subject: "geli init -a hmac/sha256" does not work properly Message-ID: <48C19494.90005@eticaret.com.tr> Hello all there!... Once i would like to enable disk encryption with geli approcah, i noticed following problem: CASE 1 | SUCCES ----------------------------------------------------------------------------------------------- geli init -b -e aes -l 256 -s 4096 /dev/ad4s1 This initializes geli without problem, and then once you run 'bsdlabel -w /dev/ad4s1' it goes as expected. CASE 2 | FAIL ----------------------------------------------------------------------------------------------- geli init -b -e aes -l 256 -s 8192 /dev/ad4s1 This initializes geli with a warning message 'sector size is bigger than the page size' and also 'bsdlabel -w /dev/ad4s1' fails with following notice: 'bsdlabel: /dev/ad4s1 read: invalid argument' CASE 3 | FAIL ----------------------------------------------------------------------------------------------- geli init -b -e aes -l 256 -s 4096 -a hmac/sha256 /dev/ad4s1 This initializes geli with a warning message 'sector size is bigger than the page size' and also 'bsdlabel -w /dev/ad4s1' fails with following notice: 'bsdlabel: /dev/ad4s1 read: invalid argument' In short, if i enable 'data integrity verification' or if i increase 'sector size', 'bsdlabel -w' gives error message. I thank you in advance for advises. Regards, Cem From cemkayali at eticaret.com.tr Fri Sep 5 20:40:17 2008 From: cemkayali at eticaret.com.tr (Cem Kayali) Date: Fri Sep 5 20:40:32 2008 Subject: "geli init -a hmac/sha256" does not work properly In-Reply-To: <48C19494.90005@eticaret.com.tr> References: <48C19494.90005@eticaret.com.tr> Message-ID: <48C1952D.2070001@eticaret.com.tr> Sorry, forgot to mention: This is FreeBSD 7.0 on i386 machine with SATA mode enabled on bios. Regards Cem Kayali, 09/05/08 23:20: > > Hello all there!... > > Once i would like to enable disk encryption with geli approcah, i > noticed following problem: > > > > CASE 1 | SUCCES > ----------------------------------------------------------------------------------------------- > > geli init -b -e aes -l 256 -s 4096 /dev/ad4s1 > This initializes geli without problem, and then once you run > 'bsdlabel -w /dev/ad4s1' it goes as expected. > CASE 2 | FAIL > ----------------------------------------------------------------------------------------------- > > geli init -b -e aes -l 256 -s 8192 /dev/ad4s1 > This initializes geli with a warning message 'sector size is > bigger than the page size' and also 'bsdlabel -w /dev/ad4s1' fails > with following notice: 'bsdlabel: /dev/ad4s1 read: invalid argument' > > CASE 3 | FAIL > ----------------------------------------------------------------------------------------------- > > geli init -b -e aes -l 256 -s 4096 -a hmac/sha256 /dev/ad4s1 > This initializes geli with a warning message 'sector size is > bigger than the page size' and also 'bsdlabel -w /dev/ad4s1' fails > with following notice: 'bsdlabel: /dev/ad4s1 read: invalid argument' > > In short, if i enable 'data integrity verification' or if i increase > 'sector size', 'bsdlabel -w' gives error message. > > > > I thank you in advance for advises. > > > Regards, > Cem > From jharan at Brocade.COM Fri Sep 5 19:50:25 2008 From: jharan at Brocade.COM (Jeff Haran) Date: Fri Sep 5 20:47:11 2008 Subject: how do I disable the generation of XOFFs when using tip over a serial port to another device Message-ID: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> Dear Sirs, I have connected one of the RS232 ports of my PC with FreeBSD (v6.3) on it to a device that does not understand XON/XOFF flow control. I run the tip program to connect to that device. How do I configure tip and/or the serial port so that the FreeBSD PC will NOT send XOFFs or XONs to the device? When I run: stty -a -f /dev/cuad0 where /dev/cuad0 is the device associated with the port, it outputs (among other things): iflags: ... ixon -ixoff ... >From my reading of the stty man page, I would think that means the port is already configured to not send XOFFs. Is there something I need to do to /etc/remote to tell tip to not enable XON/XOFF? Please respond to this email address as I do not subscribe to the mailing list. Thanks, Jeff Haran From fbsd06 at mlists.homeunix.com Fri Sep 5 21:39:02 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Sep 5 21:39:08 2008 Subject: portsnap in cron and firewall In-Reply-To: <20080905164926.07dbb9f1@gumby.homeunix.com.> References: <20080905141402.GJ5474@pcjas.obspm.fr> <20080905164926.07dbb9f1@gumby.homeunix.com.> Message-ID: <20080905223857.4a9c3569@gumby.homeunix.com.> On Fri, 5 Sep 2008 16:49:26 +0100 RW wrote: > On Fri, 5 Sep 2008 16:14:02 +0200 > Albert Shih wrote: > But now with portsnap cron (that's mean random sleep) I don't known > > when the system try to connect outside. > You can do this > > sleep `jot -r 1 0 3599` > > portsnap fetch > > Actually, I just took a look at portsnap and I see that "portsnap fetch" has an explicit check for a terminal, so it wont work from crontab. > > However, I would suggest you simply create pf rules to allow the > server contact to the portsnap servers. From jimhertzler at ntelos.net Fri Sep 5 22:19:28 2008 From: jimhertzler at ntelos.net (Jim Hertzler) Date: Fri Sep 5 22:19:34 2008 Subject: string split, bash and IFS In-Reply-To: <499449.17617.qm@web57002.mail.re3.yahoo.com> References: <499449.17617.qm@web57002.mail.re3.yahoo.com> Message-ID: <19340538.post@talk.nabble.com> Go to: http://www.linuxquestions.org/questions/programming-9/bash-shell-script-split-array-383848/?posted=1#post3270996 And see: IP=1.2.3.4; IP=(${IP//./ }); Rev=${IP[3]}.${IP[2]}.${IP[1]}.${IP[0]} Unga wrote: > > Hi all > > How to use bash and IFS to split a string? > > eg. > $string = "Name:Surname:10" > IFS=: > echo "$string" | read name surname age > > This does not work for some reason. The read does not create name, surname > and age variables. Any idea why? > > Appreciate your reply. > > Kind regards > Unga > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/string-split%2C-bash-and-IFS-tp19140697p19340538.html Sent from the freebsd-questions mailing list archive at Nabble.com. From bsd at todoo.biz Fri Sep 5 22:38:57 2008 From: bsd at todoo.biz (bsd) Date: Fri Sep 5 22:39:05 2008 Subject: Freebsd & inspiron mini 9 Message-ID: <161630DF-C335-4211-9A3E-9D446BF2BB94@todoo.biz> Hi folks, Does anyone knows if the latest mini Dell computer will be compatible with our favorite system? http://www.cio-today.com/story.xhtml?story_id=61697 From what I can read It is based on: - a Processeur Intel? AtomTM (1,6 GHz, memory cache L2 de 512 Ko, FSB de 533 MHz) - Chipset Intel? 965PM / GM Express It can be shipped with Ubuntu. So my simple question is: will It be compatible with FreeBSD 7.x ?? I know the hardware list here: http://www.freebsd.org/releases/7.0R/hardware.html#PROC-I386 but no link to either Atom or 965PM could be found? Is it bad news doctor? ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From freebsd_user at guice.ath.cx Sat Sep 6 00:44:21 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Sat Sep 6 00:44:31 2008 Subject: Starting and using services -- Single-user mode -- TECRA_A9-S9017 In-Reply-To: References: <48C1522C.4050201@guice.ath.cx> Message-ID: <48C1D24A.9030500@guice.ath.cx> Ivan Voras wrote: > freebsd_user@guice.ath.cx wrote: >> I have the need to start and use service while in single_user mode. To >> this point I'm not able to use 'top' or 'ps' respectively. In > > ps is in /bin, top is in /usr/bin ; unless you a) have your PATH wrong > or b) commonly put /bin on separate file systems, you should be able to > use ps and others in /bin and /sbin. > >> addition,from the CLI; when I attempt to start services such as >> 'portmap' and 'sshd' nothing is shown running via 'ps'. All I see are >> the headers when I issue th 'ps aux' command. > > Are your world and kernel matched? This is a failed 4.x to 5.x upgrade which I really don't want to address any further. Currently, as a last effort to save this 'current' install I'm doing a 'make buildworld, buildkernel, installkernel and installworld as we speak. Should this fail I'll continue with the topic of this discussion = "while in single-user mode, start enough services to use 'scp' and 'mv' curcial files over to another machine thereafter do a fresh install on the failed box in question. > >> I'm sure its possible to do what I'm attempting, but given the crippled >> situation of this box, I'm stuck in Single-user mode and need to start >> enough services that will allow the use of 'scp' in order to move some >> zipped/crucial files from the crippled box to another machine on the >> same network. Until now I've tried fsck -p ; mount -u / ; mount -a -t ufs ; swapon -a We will try your suggestions once the building finishes (on it own) to first see if the new build process has fixed everything (multi-user) that was broken and if not, we'll follow your recommendation(s). > > When you enter single user mode, root file system is mounted read-only > so one of the first things you need to do is "mount -u -o rw /". Next, > you need to mount your other file systems (/usr is usually a separate > file system and that's where ssh lives) so do "mount -a". At this point > you might as well cancel the single-user mode by exiting the shell and > go multi-user. > > If there are file system errors. "mount -a" will fail and you'll need to > mount other file systems by hand. The only errors or warnings we've experienced where listed in the 4.x to 5.x section of the 5.5 /usr/src/UPDATING file with reference to 'userland' The UPDATING said to ignore these errors. Obviously something is seriously wrong with that section on updating from 4.x to 5.x Enough said, we'll post one way or the other once the build is done. > From dschulz at gmail.com Sat Sep 6 02:19:25 2008 From: dschulz at gmail.com (Diego Schulz) Date: Sat Sep 6 02:19:31 2008 Subject: pf to block against DDoS? In-Reply-To: <87iqtbrvd0.fsf@thingy.bsdly.net> References: <20080904202047.GA10842@nemesis.frida.mouhaha.de> <87iqtbrvd0.fsf@thingy.bsdly.net> Message-ID: <47dcfe400809051852s16314550te7492bf178cb4b96@mail.gmail.com> On Fri, Sep 5, 2008 at 1:54 AM, Peter N. M. Hansteen wrote: > Oliver Peter writes: > > > I can recommend reading through this as well: > > http://www.bgnett.no/~peter/pf/en/bruteforce.html > > Thanks for recommending that! However I would generally recommend the > maintained version which is up at > >, > with the direct link to the part about state tracking and bruteforcers > at > >. > > (and of course there's the book, nudge, nudge) > I bought your book a few weeks ago, and I must say it's a great one. I take it everywhere I go! ;) Thanks for such an excellent resource. best regards, diego From kline at thought.org Sat Sep 6 03:37:07 2008 From: kline at thought.org (Gary Kline) Date: Sat Sep 6 03:37:13 2008 Subject: which gray is best for print? In-Reply-To: <20080905223859.8ad56b37.freebsd@edvax.de> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> Message-ID: <20080906033645.GA93841@thought.org> On Fri, Sep 05, 2008 at 10:38:59PM +0200, Polytropon wrote: > On Fri, 5 Sep 2008 13:06:01 -0700, Gary Kline wrote: > > I'm still open to the bg color. The display white is not true, > > paper-white. Anyway, pretty sure the ink+paper publishers have > > their own [[ BETTER ]] ideas. I'm looking for what looks good on > > the web. > > You can't look at the Web, you're looking at a monitor or at a sheet > of paper. :-) The same color may look different on > * a CRT type monitor > * a LCD type monitor > * a hardcopy done by a color laser printer > * a hardcopy done by a color ink pee printer > * ... So you're saying that the "white" on my [monster] CRT is not the same as on a future LCD Display? rats:) --I can't see much difference in my new laserjet from my HP500 DeskJet, but then it wasn't a main concern ... . > > This is due to the nature that these devices use different color > spaces (RGB, composed additively, CMY, composed negatively), and > most of them even aren't calibrated. GRB and CMY are parts of the > CIE specified space (see CIE diagram), but they don't have all the > colors in common. There are colors you can show on a CRT, but you > cannot print them 1:1. I took all 5 quarters of physics, like most of us, but never got far into optics. And certainly, nothing like *this*. the quality of my writing is much more important that the colors of typeface or background. But this is an interesting side-bar. > > Anyway, the best reading contrast - black on white - looks boring > on the web, and it stresses your eyes (too much light reflected / > emitted). Furthermore, if you select a dark color for the background, > LCD type monitors (that have a minimal light emission even if the > color is pure black) may look too light, while a CRT type monitor > may display the color as dark as you intended (because when it's > black, the CRT does not emit any light, unless, of course, the > base brightness is needlessly adjusted above the zero point). > > So much for physics, kids. :-) > Really! So far, in my tests [staring at a CRT], I find an off-white reads most easily against a very dark blue. 000033; or whatever 333366 is. Still experimenting. > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From chinocubus at yahoo.com Sat Sep 6 07:20:00 2008 From: chinocubus at yahoo.com (ElihuJ) Date: Sat Sep 6 07:20:08 2008 Subject: Cron Question In-Reply-To: <19272656.post@talk.nabble.com> References: <19272656.post@talk.nabble.com> Message-ID: <19343758.post@talk.nabble.com> Can anyone help me with this? Thank you again. -- View this message in context: http://www.nabble.com/Cron-Question-tp19272656p19343758.html Sent from the freebsd-questions mailing list archive at Nabble.com. From perryh at pluto.rain.com Sat Sep 6 07:30:55 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Sep 6 07:31:02 2008 Subject: which gray is best for print? In-Reply-To: <20080906033645.GA93841@thought.org> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> Message-ID: <48c230ad.4RLnaY4gvfCrWFLi%perryh@pluto.rain.com> > So you're saying that the "white" on my [monster] CRT is not the > same as on a future LCD Display? rats:) Not only that, but your monster CRT probably doesn't match a smaller CRT; and an old-ish CRT whose phosphors have aged (and whose focus may have gotten a bit fuzzy) probably doesn't match a new, sharp one. Different LCDs may not match each other either, esp. if they use different backlight technologies or if some of the backlights -- or faceplates -- are subject to color shifts with age. > > This is due to the nature that these devices use different color > > spaces (RGB, composed additively, CMY, composed negatively), and > > most of them even aren't calibrated ... > > I took all 5 quarters of physics, like most of us, but never got > far into optics ... and there's more involved than physics and optics anyway, e.g. the neuropsychology of human visual perception. From ws at au.dyndns.ws Sat Sep 6 08:11:39 2008 From: ws at au.dyndns.ws (Wayne Sierke) Date: Sat Sep 6 08:11:46 2008 Subject: how do I disable the generation of XOFFs when using tip over a serial port to another device In-Reply-To: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> References: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> Message-ID: <1220688694.2581.13.camel@predator-ii.buffyverse> On Fri, 2008-09-05 at 12:20 -0700, Jeff Haran wrote: > Dear Sirs, > > I have connected one of the RS232 ports of my PC with FreeBSD (v6.3) on > it to a device that does not understand XON/XOFF flow control. I run the > tip program to connect to that device. > > How do I configure tip and/or the serial port so that the FreeBSD PC > will NOT send XOFFs or XONs to the device? > > When I run: > > stty -a -f /dev/cuad0 > > where /dev/cuad0 is the device associated with the port, it outputs > (among other things): > > iflags: ... ixon -ixoff ... > > >From my reading of the stty man page, I would think that means the port > is already configured to not send XOFFs. > > Is there something I need to do to /etc/remote to tell tip to not enable > XON/XOFF? > > Please respond to this email address as I do not subscribe to the > mailing list. > > Thanks, > > Jeff Haran Hi Jeff, I think there might be a problem with the man page for tip(1) on 6.x, as an entry for 'tandem' was added to the tip sources about 2 years ago. It's in the 7.x man page as you can see at: http://www.freebsd.org/cgi/man.cgi?query=tip&manpath=FreeBSD+7.0-RELEASE&format=html in 'Variables'. 'tandem' shows up in a variable listing (~v) in tip on a 6.x system I have here but I don't have an appropriate set up at hand to verify that it operates correctly. Let us know how you go with it. If it works for you then a PR would be in order. Wayne [1] Extract from the tip(1) man page on 7.x: tandem (bool) Use XON/XOFF flow control to throttle data from the remote host; abbreviated ta. The default value is true unless the nt capability has been specified in /etc/remote, in which case the default value is false. From jos at webrz.net Sat Sep 6 09:36:55 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sat Sep 6 09:37:11 2008 Subject: Jittering sound on streaming Message-ID: <48C24F37.30707@webrz.net> I am running a music station now and then and for some reason there exist a jittering sound after some hours. I think this is caused by BSD, but can't put my finger on yet. There was a thread on this some months ago but that thread didn't solve my problem. I use Icecast and/or Shoutcast for streaming. thanks for any input on this, Jos From jc8670 at gmail.com Sat Sep 6 09:55:40 2008 From: jc8670 at gmail.com (j c) Date: Sat Sep 6 09:55:48 2008 Subject: Compiling Issue Message-ID: <29aa29010809060229i6371ca8by11c8b7cd83313e1@mail.gmail.com> Hello thank you for reading. I've had an ongoing problem of freezing. It happens randomly, i feel, but sometimes it seems like it happens more under heavy load (but not always). I've ran numerous tests: memtest, hard drive tests, cpu load tests, basically most of the tests on Ultimate Boot CD, and they all finish successfully. Well, i've been able to reproduce the freezing during compilation of gnash, or one of its dependencies agg. Does anyone have any suggestions? Thank you so much in advance. john From wojtek at wojtek.tensor.gdynia.pl Sat Sep 6 10:43:56 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Sep 6 10:44:03 2008 Subject: Jittering sound on streaming In-Reply-To: <48C24F37.30707@webrz.net> References: <48C24F37.30707@webrz.net> Message-ID: <20080906124251.G1900@wojtek.tensor.gdynia.pl> try setting rtprio on your streaming app and check if it still persist On Sat, 6 Sep 2008, Jos Chrispijn wrote: > I am running a music station now and then and for some reason there exist a > jittering sound after some hours. I think this is caused by BSD, but can't > put my finger on yet. > There was a thread on this some months ago but that thread didn't solve my > problem. I use Icecast and/or Shoutcast for streaming. > > thanks for any input on this, > Jos > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From jstrother9109 at gmail.com Sat Sep 6 11:13:14 2008 From: jstrother9109 at gmail.com (James Strother) Date: Sat Sep 6 11:13:20 2008 Subject: switching discs during install Message-ID: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> I just completed an install of FreeBSD 7.0 and couldn't help but wonder why it was necessary for me to switch discs back and forth so much while installing ported applications. I've used FreeBSD on and off for a number of years and this issue has always irked me a just a little bit. It means that I have to babysit the installation and it really does increase the time required to perform the installation. This is, of course, a minor issue in the grand scheme of things but it seems easy enough to remedy. I assume that as packages are installed the dependencies are checked, and then required packages are installed as necessary. When a required package is on a different disc, then the installer prompts the user to switch discs. However, it should be necessary to organize packages on the discs and during the installation such that this never occurs. In case this isn't obvious, let me give a quick supporting argument. If you were to perform an installation in which every package was installed, then the installer would eventually resolve all dependencies and produce an ordering in which every package could be installed without violating its dependencies. If we removed a package that was not required by any other package, then clearly the same ordering could still be used to install the remaining packages without violating any dependencies. By extension, any number of packages could be removed and the ordering would remain valid provided that the remaining packages did not depend on a removed package. So, if the packages are placed on the discs in this order and the installer attempts to install packages in this order, then the dependencies will always be satisfied and the user will never have to switch discs. (As an aside, this is really only to say that the dependency tree is a directional acyclic graph and it has a topological sort). There multiple orderings which satisfy this condition. Perhaps the easiest is to calculate is the ordering in which packages are sorted by the number of packages that require it. This ordering would also tend to aggregate the most common packages on the first discs. Is there a reason that this wouldn't work. Something I'm not thinking about. From sonic2000gr at gmail.com Sat Sep 6 11:24:39 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sat Sep 6 11:24:46 2008 Subject: switching discs during install In-Reply-To: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> Message-ID: <48C26870.7050100@gmail.com> James Strother wrote: > I just completed an install of FreeBSD 7.0 and couldn't help but wonder why > it was necessary for me to switch discs back and forth so much while > installing ported applications. I've used FreeBSD on and off for a number > of years and this issue has always irked me a just a little bit. It means > that I have to babysit the installation and it really does increase the time > required to perform the installation. > > Most people install only the base system from CD, then install applications from ports or download newer packages. If you insist on installing packages from the installation media, there is an easy way. Use the DVD: http://www.tuxdistro.com/download.php?id=921&name=FreeBSD-7.0-RELEASE-DVD-ISO.torrent Or, create one yourself using your already downloaded discs: http://www.pa.msu.edu/~tigner/bsddvd.html From freebsd at edvax.de Sat Sep 6 11:53:50 2008 From: freebsd at edvax.de (Polytropon) Date: Sat Sep 6 11:53:58 2008 Subject: which gray is best for print? In-Reply-To: <20080906033645.GA93841@thought.org> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> Message-ID: <20080906135346.d16975e7.freebsd@edvax.de> On Fri, 5 Sep 2008 20:36:45 -0700, Gary Kline wrote: > So you're saying that the "white" on my [monster] CRT is not the > same as on a future LCD Display? rats:) Exactly. And compare the "black", too, best way to differentiate with CRT and LCD side by side with a fullscreen color "black". > --I can't see much > difference in my new laserjet from my HP500 DeskJet, but then it > wasn't a main concern ... . Human perception is another thing. Just because *I* can't notice something, it doesn't imply that (1) others can't and (2) it isn't there. In order to make a human person *feel* the change of a sensory input is linear (e. g. the light intensity increases), you need to increase the actual input in a logarithmic way. http://www.neuro.uu.se/fysiologi/gu/nbb/lectures/WebFech.html > I took all 5 quarters of physics, like most of us, but never got > far into optics. Physics comes in 5 quarters? 5 * 0.25 = 1.25... :-) > And certainly, nothing like *this*. I learned about this when I studied psychology and computational visualistics, but the RGB vs. CMY stuff (additive and subtractive color combination) was part of the basal school education in the GDR. > the > quality of my writing is much more important that the colors of > typeface or background. I really applaud this attitude. You won't find them very often across the web, sadly, because "style is more important than content". I've seen things, man, ... > But this is an interesting side-bar. It's a very important topic to know about when you're doing DTP stuff. Exact color calibration is very important in this field. So you can understand why there's still a niche market for quality CRT monitors and quality printing devices. Of course, color temperatures and other settings like contrast and brightness are to be considered, too. > Really! So far, in my tests [staring at a CRT], I find an > off-white reads most easily against a very dark blue. 000033; > or whatever 333366 is. Still experimenting. it's very individual how colors are percepted. If someone with deuteranopia looks at certain color combinations where others may say: "Looks good!", they could say: "I don't see text there." At least for printed material, black on white is good, and it even can be used for projection media (beamer). When I was at university, some guys put up a presentation with black text on dark bluie background, 10pt serife font. Bah! Unreadable in the last row. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From jos at webrz.net Sat Sep 6 12:57:14 2008 From: jos at webrz.net (Jos Chrispijn) Date: Sat Sep 6 12:57:37 2008 Subject: Jittering sound on streaming In-Reply-To: <20080906124251.G1900@wojtek.tensor.gdynia.pl> References: <48C24F37.30707@webrz.net> <20080906124251.G1900@wojtek.tensor.gdynia.pl> Message-ID: <48C27E2A.8040807@webrz.net> Wojciech Puchar wrote: > try setting rtprio on your streaming app and check if it still persist Great, that really worked! thanks for sharing, Jos From admin at asarian-host.net Sat Sep 6 13:01:02 2008 From: admin at asarian-host.net (Mark) Date: Sat Sep 6 13:01:10 2008 Subject: Open-vm-tools broken? In-Reply-To: <20080418045209.GB57251@dan.emsphone.com> References: <48082132.5040406@smiffytech.com> <20080418045209.GB57251@dan.emsphone.com> Message-ID: <200809061227.m86CRkJj046539@asarian-host.net> Hmm, getting this error: Vmware: {root} % make ===> open-vm-tools-102166_2 is marked as broken: leaves files behind on deinstall. *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools. Vmware: {root} % Cute. I still like to run the open-vm-tools, though. Anyone know which other version/toolset I should run then? Thanks. From jalmberg at identry.com Sat Sep 6 13:12:18 2008 From: jalmberg at identry.com (John Almberg) Date: Sat Sep 6 13:12:25 2008 Subject: which gray is best for print? In-Reply-To: <20080903231439.GA98955@thought.org> References: <20080903231439.GA98955@thought.org> Message-ID: <4D0FA23F-22AB-4003-BA69-5465A464168E@identry.com> > > On Sep 3, 2008, at 7:14 PM, Gary Kline wrote: >> This is for any webmaster types: which color gray (in hex, >> "#xxxxxx") >> is best for a site that has probably very long articles? I've >> googled >> around and found various grays such as "#696969" or "#708090", but I >> haven't found anything that really fits what I want. URL, anybody? >> Or if there is a color-chooser in ports, that too, altho I haven't >> found >> anything in ports/x11 or ports/www. >> Black on white is best for readability. No question about that. See various usability studies by Jakob Nielsen & others. Dark blue on white (very dark blue) is not as good, but better than the other alternatives. No reason to choose any other combination, unless you choose to go with 'style' over usability. But since you specifically asked about long blocks of text, I'd guess usability is at the top of your agenda. No need to use web safe colors anymore, in my opinion. Hardly anyone uses 256 color cards at this stage of the game. Again, see the many studies of hardware usage, or your own web logs. I'm reading this email with black on white, and you probably are too. There's a good reason for that, I think! >> To prevent boredom, two shades of deep gray or blue-gray would be >> besy. I may be wrong, but no one ever read a long block of text because of the color of the font. A better way to prevent boredom is to write interesting text! Just my two cents. -- John > > tia, > > gary > > > > -- > Gary Kline kline@thought.org http://www.thought.org Public > Service Unix > http://jottings.thought.org http://transfinite.thought.org > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Websites for On-line Collectible Dealers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Identry, LLC John Almberg (631) 546-5079 jalmberg@identry.com www.identry.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From z.szalbot at lcwords.com Sat Sep 6 13:17:35 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Sat Sep 6 13:17:44 2008 Subject: which gray is best for print? In-Reply-To: <4D0FA23F-22AB-4003-BA69-5465A464168E@identry.com> References: <20080903231439.GA98955@thought.org> <4D0FA23F-22AB-4003-BA69-5465A464168E@identry.com> Message-ID: <48C282E5.7050509@lcwords.com> Hi there, >>> To prevent boredom, two shades of deep gray or blue-gray would be besy. > > I may be wrong, but no one ever read a long block of text because of the > color of the font. A better way to prevent boredom is to write > interesting text! And do not make the mistake of putting your long block of interesting text on the web! Very few people (if any) will be reading it. You can read a book like that but not a web content. Break down your text into manageble chunks (two, three paragrahs at most) and link them appropriately. HTH -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080906/81fa2ec0/smime.bin From cemkayali at eticaret.com.tr Sat Sep 6 13:25:00 2008 From: cemkayali at eticaret.com.tr (Cem Kayali) Date: Sat Sep 6 13:25:08 2008 Subject: bsdlabel does not create geli slices ie; /dev/ad4s1.elia Message-ID: <48C2847A.4070209@eticaret.com.tr> Hello! After initializing geli and attach geli enabled partition, i would like to create freebsd slices. Once i try 'bsdlabel -w /dev/ad4s1.eli' and then 'bsdlabel -e /dev/ad4s1.eli', this does not create ie; /dev/ad4s1.elia and i can not run newfs in success: 'Could not find special device'. Thanks if someone has advise about this. Regards, Cem From millenia2000 at hotmail.com Sat Sep 6 13:45:47 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Sat Sep 6 13:45:53 2008 Subject: Open-vm-tools broken? In-Reply-To: <48082132.5040406@smiffytech.com><20080418045209.GB57251@dan.emsphone.com> <200809061227.m86CRkJj046539@asarian-host.net> References: <48082132.5040406@smiffytech.com><20080418045209.GB57251@dan.emsphone.com> <200809061227.m86CRkJj046539@asarian-host.net> Message-ID: -------------------------------------------------- From: "Mark" Sent: Saturday, September 06, 2008 8:27 AM To: Subject: Open-vm-tools broken? > Hmm, getting this error: > > Vmware: {root} % make > ===> open-vm-tools-102166_2 is marked as broken: leaves files behind on > deinstall. > *** Error code 1 > > Stop in /usr/ports/emulators/open-vm-tools. > Vmware: {root} % > > Cute. I still like to run the open-vm-tools, though. Anyone know which > other > version/toolset I should run then? > If you remove the BROKEN line from the Makefile, it will compile just fine. I personally think marking a package as broken because of an issue like files left behind is dumb. Post a message to the user "these files were left behind, delete them manually" at least. -Sean From freebsd-questions-local at be-well.ilk.org Sat Sep 6 14:17:54 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Sep 6 14:18:00 2008 Subject: broken autoconf upgrade In-Reply-To: (Michael P. Soulier's message of "Fri\, 5 Sep 2008 08\:29\:24 -0400") References: Message-ID: <44vdx9uzn7.fsf@lowell-desk.lan> "Michael P. Soulier" writes: > While running portupgrade -ai, I noticed this > > else \ > rc=$?; \ > cd . && \ > $restore $backupdir/* `echo "./autoconf-2.62.info" | sed 's|[^/]*$||'` > ; \ > fi; \ > rm -rf $backupdir; exit $rc > autoconf-2.62.texi:1723: Unknown command `'. > autoconf-2.62.texi:3353: Unknown command `'. > autoconf-2.62.texi:3920: Unknown command `'. > autoconf-2.62.texi:3935: Unknown command `'. > autoconf-2.62.texi:3947: Unknown command `'. > autoconf-2.62.texi:3965: Unknown command `'. > autoconf-2.62.texi:3986: Unknown command `'. > autoconf-2.62.texi:4001: Unknown command `'. > autoconf-2.62.texi:4019: Unknown command `'. > autoconf-2.62.texi:4027: Unknown command `'. > > So, this won't upgrade. Anyone else see that? Nope. And that port doesn't do anything different with the texinfo files, either. Try just cleaning things up and making another attempt. Or remove all of the auto* ports and try to upgrade everything remaining; I've never had problems with those ports interfering with each other, but for some reason I worry about it anyway. And you may not need any of them for your upgrade run anyway. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions-local at be-well.ilk.org Sat Sep 6 14:28:17 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sat Sep 6 14:28:24 2008 Subject: Problems building port, missing library(?) In-Reply-To: <30fc78250809051123t4c1f8c59t20bf429c890a85d7@mail.gmail.com> (Aggelidis Nikos's message of "Fri\, 5 Sep 2008 21\:23\:57 +0300") References: <30fc78250809051123t4c1f8c59t20bf429c890a85d7@mail.gmail.com> Message-ID: <44r67xuz5v.fsf@lowell-desk.lan> "Aggelidis Nikos" writes: > Hi to all the list, > > i tried to install gtk-murrine-engine from ports... > > So i first updated them: > > * removed the old ports directory to start fresh and then did > csup -L 2 -h cvsup.fr.FreeBSD.org /usr/share/examples/cvsup/ports-supfile > > *i then typed > [root@apollo /usr]# portupgrade -P -N gtk-murrine-engine > > and i got the following output: > > [snip] > /usr/bin/ld: cannot find -lgio-2.0 > gmake: *** [libgiofam.la] Error 1 > *** Error code 2 > > Stop in /usr/ports/devel/gio-fam-backend. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade.69428.0 env make reinstall > ** Fix the installation problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! x11-themes/gtk-murrine-engine (install error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > so then i tried installing gio-fam-backend > > so i typed: > > [root@apollo /usr]# portupgrade -P -N gio-fam-backend > /usr/bin/ld: cannot find -lgio-2.0 > gmake: *** [libgiofam.la] Error 1 > *** Error code 2 > > Stop in /usr/ports/devel/gio-fam-backend. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade.93689.0 env make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! devel/gio-fam-backend (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > > i think the important part is: > /usr/bin/ld: cannot find -lgio-2.0 > > any ideas why this happened and how can i fix it? Looks like portupgrade itself might be the thing having the problem. Try rebuilding it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From kr.lekha at gmail.com Sat Sep 6 16:00:10 2008 From: kr.lekha at gmail.com (kr Lekha) Date: Sat Sep 6 16:00:20 2008 Subject: How to Catch Signals in kernel threads Message-ID: <96b2ec350809060837w33353e00ja741d6e0077b4ab0@mail.gmail.com> Hi, I wanted to kill my kernel threads created in a kernel module gracefully . I tired psignal(kthread, SIGKILL); this signal reschedules the thread. But how can this thread know that SIGKILL was called and i can exit from the thread? I tired to register a signal handler for SIGABRT / any other signal for a kthread. Can we register a signal handler for kthreads? I would appreciate if anyone can share information as to how to catch signals in kernel threads. I am developing my kernel module in FreeBSD 6.2 where kthread_create creates a proc. Thanks and best regards, Lekha From wojtek at wojtek.tensor.gdynia.pl Sat Sep 6 16:25:35 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Sep 6 16:25:42 2008 Subject: Jittering sound on streaming In-Reply-To: <48C27E2A.8040807@webrz.net> References: <48C24F37.30707@webrz.net> <20080906124251.G1900@wojtek.tensor.gdynia.pl> <48C27E2A.8040807@webrz.net> Message-ID: <20080906182223.W2883@wojtek.tensor.gdynia.pl> > Wojciech Puchar wrote: >> try setting rtprio on your streaming app and check if it still persist > Great, that really worked! unix is not realtime OS. rtprio make process "realtime", which mostly works. true realtime task will be if it will lock it's memory to prevent swapping. in reality constantly used pages are never swapped so it's not a problem. for me it was (is) a requirement with ports/net/asterisk. From wojtek at wojtek.tensor.gdynia.pl Sat Sep 6 16:28:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Sep 6 16:28:37 2008 Subject: bsdlabel does not create geli slices ie; /dev/ad4s1.elia In-Reply-To: <48C2847A.4070209@eticaret.com.tr> References: <48C2847A.4070209@eticaret.com.tr> Message-ID: <20080906182644.Q2937@wojtek.tensor.gdynia.pl> > > Hello! > > After initializing geli and attach geli enabled partition, i would like to > create freebsd slices. Once i try 'bsdlabel -w /dev/ad4s1.eli' and then > 'bsdlabel -e /dev/ad4s1.eli', this does not create ie; /dev/ad4s1.elia and i > can not run newfs in success: 'Could not find special device'. > > Thanks if someone has advise about this. no idea. i have partitioned geli devices and i partitioned it just as you said (bsdlabel -w and -e), just i don't use fdisk but it shouldn't matter From msoulier at digitaltorque.ca Sat Sep 6 16:38:59 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat Sep 6 16:39:05 2008 Subject: core manpages Message-ID: Hello, I'm testing an upgrade of 5.5 -> 6.3, so I installed 5.5 from an iso, and installed the minimal system. This minimal system is apparently without manpages for the basic commands, or perhaps the default MANPATH is incorrect. Where can I find the base manpages to cover find, chmod, ls, cd, etc? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From msoulier at digitaltorque.ca Sat Sep 6 17:23:41 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat Sep 6 17:23:48 2008 Subject: broken autoconf upgrade In-Reply-To: <44vdx9uzn7.fsf@lowell-desk.lan> References: <44vdx9uzn7.fsf@lowell-desk.lan> Message-ID: On Sat, Sep 6, 2008 at 10:17 AM, Lowell Gilbert wrote: > Nope. > > And that port doesn't do anything different with the texinfo files, > either. Try just cleaning things up and making another attempt. Or > remove all of the auto* ports and try to upgrade everything > remaining; I've never had problems with those ports interfering with > each other, but for some reason I worry about it anyway. And you may > not need any of them for your upgrade run anyway. Someone else responded saying that the port is no longer maintained on 5.5. I hadn't upgraded since everything was working fine, and new releases sometimes leave old hardware behind. But, I'll try upgrading anyway. 5.5 -> 6.3 -> 7.0 seems to be the right route... Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From msoulier at digitaltorque.ca Sat Sep 6 17:26:05 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat Sep 6 17:26:11 2008 Subject: upgrade path from 5.5 Message-ID: So if some ports aren't supported on 5.5, I'd better get my aging gateway upgraded. This begs the question of the correct path. I'm tempted to do a fresh install of 7.0 and then restore, but mergemaster does a better job of making sure the config files are both updated, and that nothing is lost. Would the correct path be 5.5 -> 6.3 -> 7.0? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From msoulier at digitaltorque.ca Sat Sep 6 17:28:14 2008 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Sat Sep 6 17:28:23 2008 Subject: alternatives to mergemaster Message-ID: The downside of mergemaster is that it is only a 2-way merge, where a 3-way would know better than you prompt you for changes that you didn't make. This makes mergemaster far more tedious than it has to be. Has anyone considered a good 3-way merge tool? I'm using Git for development, and it's also tremendously good at merging. This makes me kick around ideas for how to integrate it into a freebsd upgrade. Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From kitchetech at gmail.com Sat Sep 6 17:32:31 2008 From: kitchetech at gmail.com (matt donovan) Date: Sat Sep 6 17:32:52 2008 Subject: Problems building port, missing library(?) In-Reply-To: <44r67xuz5v.fsf@lowell-desk.lan> References: <30fc78250809051123t4c1f8c59t20bf429c890a85d7@mail.gmail.com> <44r67xuz5v.fsf@lowell-desk.lan> Message-ID: <28283d910809061000q65e039b5q9e79742203368888@mail.gmail.com> On Sat, Sep 6, 2008 at 10:28 AM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > "Aggelidis Nikos" writes: > > > Hi to all the list, > > > > i tried to install gtk-murrine-engine from ports... > > > > So i first updated them: > > > > * removed the old ports directory to start fresh and then did > > csup -L 2 -h cvsup.fr.FreeBSD.org/usr/share/examples/cvsup/ports-supfile > > > > *i then typed > > [root@apollo /usr]# portupgrade -P -N gtk-murrine-engine > > > > and i got the following output: > > > > [snip] > > /usr/bin/ld: cannot find -lgio-2.0 > > gmake: *** [libgiofam.la] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/devel/gio-fam-backend. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade.69428.0 env make reinstall > > ** Fix the installation problem and try again. > > ** Listing the failed packages (*:skipped / !:failed) > > ! x11-themes/gtk-murrine-engine (install error) > > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > > > so then i tried installing gio-fam-backend > > > > so i typed: > > > > [root@apollo /usr]# portupgrade -P -N gio-fam-backend > > /usr/bin/ld: cannot find -lgio-2.0 > > gmake: *** [libgiofam.la] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/devel/gio-fam-backend. > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade.93689.0 env make > > ** Fix the problem and try again. > > ** Listing the failed packages (*:skipped / !:failed) > > ! devel/gio-fam-backend (unknown build error) > > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > > > > > i think the important part is: > > /usr/bin/ld: cannot find -lgio-2.0 > > > > any ideas why this happened and how can i fix it? > > Looks like portupgrade itself might be the thing having the problem. > Try rebuilding it. > > -- > 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-unsubscribe@freebsd.org" > actually this is a well known problem you need to recompile glib20 to fix your problem From kstewart at owt.com Sat Sep 6 17:56:42 2008 From: kstewart at owt.com (Kent) Date: Sat Sep 6 17:56:50 2008 Subject: which gray is best for print? In-Reply-To: <20080906033645.GA93841@thought.org> References: <20080903231439.GA98955@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> Message-ID: <200809061038.45932.kstewart@owt.com> On Friday 05 September 2008 08:36:45 pm Gary Kline wrote: > On Fri, Sep 05, 2008 at 10:38:59PM +0200, Polytropon wrote: > > On Fri, 5 Sep 2008 13:06:01 -0700, Gary Kline wrote: > > > I'm still open to the bg color. The display white is not true, > > > paper-white. Anyway, pretty sure the ink+paper publishers have > > > their own [[ BETTER ]] ideas. I'm looking for what looks good on > > > the web. > > > > You can't look at the Web, you're looking at a monitor or at a sheet > > of paper. :-) The same color may look different on > > * a CRT type monitor > > * a LCD type monitor > > * a hardcopy done by a color laser printer > > * a hardcopy done by a color ink pee printer > > * ... > > So you're saying that the "white" on my [monster] CRT is not the > same as on a future LCD Display? rats:) --I can't see much > difference in my new laserjet from my HP500 DeskJet, but then it > wasn't a main concern ... . How do you have your digital camera set to color correct for white? Your eyes automatically compensate. Look at a photo taken in tungsten light, without automatic white balance turned on and then, view it or print it in raw mode so that you see the real world and then, compare it with what you saw. Most monitors have a color temperature setting, which determines how the displayed colors are shifted. IIRC, our eyes peak at 5500 (a yellow green??), which is the color temperature of the sun. > > > This is due to the nature that these devices use different color > > spaces (RGB, composed additively, CMY, composed negatively), and > > most of them even aren't calibrated. GRB and CMY are parts of the > > CIE specified space (see CIE diagram), but they don't have all the > > colors in common. There are colors you can show on a CRT, but you > > cannot print them 1:1. > > I took all 5 quarters of physics, like most of us, but never got > far into optics. And certainly, nothing like *this*. the > quality of my writing is much more important that the colors of > typeface or background. But this is an interesting side-bar. But the ability of people to read it is an important consideration. I hate those web pages with dark backgrounds that I have to use the mouse to select the text so that I can read it. I am a speed reader and basically see words as images. Dark backgrounds strain my eyes and I can't read as fast as I can with dark text on light backgrounds. I get bored really fast when I start reading at 150-200 wpm instead of my normal 700-1200 wpm. > > > Anyway, the best reading contrast - black on white - looks boring > > on the web, and it stresses your eyes (too much light reflected / > > emitted). Furthermore, if you select a dark color for the background, > > LCD type monitors (that have a minimal light emission even if the > > color is pure black) may look too light, while a CRT type monitor > > may display the color as dark as you intended (because when it's > > black, the CRT does not emit any light, unless, of course, the > > base brightness is needlessly adjusted above the zero point). > > > > So much for physics, kids. :-) > > Really! So far, in my tests [staring at a CRT], I find an > off-white reads most easily against a very dark blue. 000033; > or whatever 333366 is. Still experimenting. > IIRC, dyslexics have a much harder time reading when the background is dark. Kent From keramida at ceid.upatras.gr Sat Sep 6 18:13:23 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sat Sep 6 18:13:32 2008 Subject: core manpages In-Reply-To: (Michael P. Soulier's message of "Sat, 6 Sep 2008 12:38:57 -0400") References: Message-ID: <87abel3zyn.fsf@kobe.laptop> On Sat, 6 Sep 2008 12:38:57 -0400, "Michael P. Soulier" wrote: > Hello, > > I'm testing an upgrade of 5.5 -> 6.3, so I installed 5.5 from an iso, > and installed the minimal system. > > This minimal system is apparently without manpages for the basic > commands, or perhaps the default MANPATH is incorrect. > > Where can I find the base manpages to cover find, chmod, ls, cd, etc? In the installation CD-ROM. You can install the `man' and `info' filesets to get the manpages and the Texinfo documentation. From xi at borderworlds.dk Sat Sep 6 18:20:10 2008 From: xi at borderworlds.dk (Christian Laursen) Date: Sat Sep 6 18:20:19 2008 Subject: alternatives to mergemaster In-Reply-To: (Michael P. Soulier's message of "Sat\, 6 Sep 2008 13\:28\:13 -0400") References: Message-ID: "Michael P. Soulier" writes: > The downside of mergemaster is that it is only a 2-way merge, where a > 3-way would know better than you prompt you for changes that you > didn't make. This makes mergemaster far more tedious than it has to > be. Has anyone considered a good 3-way merge tool? I always run mergemaster in auto upgrade mode. From the man page: -U Attempt to auto upgrade files that have not been user modi- fied. This can also be achieved by putting "AUTO_UPGRADE=yes" in /etc/mergemaster.rc. Combined with auto install, mergemaster requires little effort. -- Christian Laursen From roberthuff at rcn.com Sat Sep 6 20:05:39 2008 From: roberthuff at rcn.com (Robert Huff) Date: Sat Sep 6 20:05:45 2008 Subject: changes to -CURRENT tty Message-ID: <18626.57979.47538.600734@jerusalem.litteratus.org> (Yes, I'm on current@ ... in digest mode. Besides others may be interested.) The 20080820 entry in /usr/src/UPDATING concerns a substantial change to the tty subsystem. Assuming I'm not trying anything fancy, and that I edit out the not-yet-updated devices, may I reasonably assume updating kernel+world will not break anything? Robert Huff From cemkayali at eticaret.com.tr Sat Sep 6 21:48:55 2008 From: cemkayali at eticaret.com.tr (Cem Kayali) Date: Sat Sep 6 21:49:02 2008 Subject: bsdlabel does not create geli slices ie; /dev/ad4s1.elia In-Reply-To: <20080906182644.Q2937@wojtek.tensor.gdynia.pl> References: <48C2847A.4070209@eticaret.com.tr> <20080906182644.Q2937@wojtek.tensor.gdynia.pl> Message-ID: <48C2FA91.4090003@eticaret.com.tr> Well, could this be because i partitioned ad4 hard disk by gparted? Disk has other OSs on other partitions... Very strange, i couldn't find any helpfull information about this on the net --- nor similar problem. Maybe i should try a latest snaphot instead of FreeBSD 7 release. Regards, Cem Wojciech Puchar, 09/06/08 19:27: > >> >> Hello! >> >> After initializing geli and attach geli enabled partition, i would >> like to create freebsd slices. Once i try 'bsdlabel -w >> /dev/ad4s1.eli' and then 'bsdlabel -e /dev/ad4s1.eli', this does not >> create ie; /dev/ad4s1.elia and i can not run newfs in success: 'Could >> not find special device'. >> >> Thanks if someone has advise about this. > > no idea. i have partitioned geli devices and i partitioned it just as > you said (bsdlabel -w and -e), just i don't use fdisk but it shouldn't > matter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Sat Sep 6 22:42:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Sep 6 22:42:08 2008 Subject: bsdlabel does not create geli slices ie; /dev/ad4s1.elia In-Reply-To: <48C2FA91.4090003@eticaret.com.tr> References: <48C2847A.4070209@eticaret.com.tr> <20080906182644.Q2937@wojtek.tensor.gdynia.pl> <48C2FA91.4090003@eticaret.com.tr> Message-ID: <20080907004128.T4838@wojtek.tensor.gdynia.pl> did you check that after bsdlabel -e partitions are actually updated? On Sun, 7 Sep 2008, Cem Kayali wrote: > > Well, could this be because i partitioned ad4 hard disk by gparted? Disk has > other OSs on other partitions... Very strange, i couldn't find any helpfull > information about this on the net --- nor similar problem. Maybe i should try > a latest snaphot instead of FreeBSD 7 release. > > Regards, > Cem > > > > > > Wojciech Puchar, 09/06/08 19:27: >> >>> >>> Hello! >>> >>> After initializing geli and attach geli enabled partition, i would like to >>> create freebsd slices. Once i try 'bsdlabel -w /dev/ad4s1.eli' and then >>> 'bsdlabel -e /dev/ad4s1.eli', this does not create ie; /dev/ad4s1.elia and >>> i can not run newfs in success: 'Could not find special device'. >>> >>> Thanks if someone has advise about this. >> >> no idea. i have partitioned geli devices and i partitioned it just as you >> said (bsdlabel -w and -e), just i don't use fdisk but it shouldn't matter >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > From wojtek at wojtek.tensor.gdynia.pl Sat Sep 6 22:44:45 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Sep 6 22:44:53 2008 Subject: which gray is best for print? In-Reply-To: <200809061038.45932.kstewart@owt.com> References: <20080903231439.GA98955@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> <200809061038.45932.kstewart@owt.com> Message-ID: <20080907004220.W4838@wojtek.tensor.gdynia.pl> > > How do you have your digital camera set to color correct for white? Your eyes the simplest method to check if your monitor reproduces colors exactly is to display some photo from digital camera and make photo of the screen, then cut out the image part from photo and display near the first. should look the same. for my CRT monitor, with setting gamma correction right i'm able to do it. with LCD - i don't ... From dan at langille.org Sat Sep 6 23:10:25 2008 From: dan at langille.org (Dan Langille) Date: Sat Sep 6 23:10:32 2008 Subject: The FreeBSD Diary: 2008-08-17 - 2008-09-06 Message-ID: <20080906231003.D5B3A50850@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From cpghost at cordula.ws Sat Sep 6 23:18:47 2008 From: cpghost at cordula.ws (cpghost) Date: Sat Sep 6 23:18:58 2008 Subject: which gray is best for print? In-Reply-To: <48C282E5.7050509@lcwords.com> References: <20080903231439.GA98955@thought.org> <4D0FA23F-22AB-4003-BA69-5465A464168E@identry.com> <48C282E5.7050509@lcwords.com> Message-ID: <20080906231900.GA4326@phenom.cordula.ws> On Sat, Sep 06, 2008 at 03:17:25PM +0200, Zbigniew Szalbot wrote: > Hi there, > > >>> To prevent boredom, two shades of deep gray or blue-gray would be besy. > > > > I may be wrong, but no one ever read a long block of text because of the > > color of the font. A better way to prevent boredom is to write > > interesting text! > > And do not make the mistake of putting your long block of interesting > text on the web! Very few people (if any) will be reading it. You can > read a book like that but not a web content. Break down your text into > manageble chunks (two, three paragrahs at most) and link them > appropriately. But do also provide a 1-page version with a sensible print medium CSS (or even a nicely formatted PDF), so that users can create a hard copy version with a minimun of fuss and clicks. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From cpghost at cordula.ws Sat Sep 6 23:33:42 2008 From: cpghost at cordula.ws (cpghost) Date: Sat Sep 6 23:33:49 2008 Subject: which gray is best for print? In-Reply-To: <200809061038.45932.kstewart@owt.com> References: <20080903231439.GA98955@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> <200809061038.45932.kstewart@owt.com> Message-ID: <20080906233355.GB4326@phenom.cordula.ws> On Sat, Sep 06, 2008 at 10:38:45AM -0700, Kent wrote: > But the ability of people to read it is an important consideration. I hate > those web pages with dark backgrounds that I have to use the mouse to select > the text so that I can read it. I am a speed reader and basically see words > as images. Dark backgrounds strain my eyes and I can't read as fast as I can > with dark text on light backgrounds. I get bored really fast when I start > reading at 150-200 wpm instead of my normal 700-1200 wpm. > (...) > IIRC, dyslexics have a much harder time reading when the background is dark. > > Kent That's really interesting! ... But everyone's different: Personally, I really dislike pure white backgrounds on light-emitting surfaces. When reading from a physical book, white is the best background, but when reading it from a CRT or LCD, it hurts my eyes very fast up to a point where I start to get a headache and have to stop after 10 to 20 minutes. That's why I usually use a user-specific CSS to override that pure-white background and change it to light grey. I even wrote a little transparent web proxy many years ago, that would rewrite HTML back in the days when CSS was not yet as popular, just to grey-ish this hurting white background. Of course, the ideal solution would be to offer visitors switchable or even freely-configurable color themes to satisfy everyone's tastes and preferences. But the issue is then still that of the default theme would usually still be (sadly IMHO, luckily in most other peoples' mind) pure white background... so it's still 'user-specific CSS' for new websites. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From scrappy at hub.org Sun Sep 7 00:05:49 2008 From: scrappy at hub.org (Marc G. Fournier) Date: Sun Sep 7 00:05:56 2008 Subject: Grid computing under FreeBSD using jails ... ? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it possible to run software on two different jails that would load balance processes between two or more VPSs? - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjDGtIACgkQ4QvfyHIvDvO5wQCfUEIKNMAsmCzxskRZUPK7QZYp UkQAoIeUz9B+rkQ62JSh5uGL2bIq/7t/ =8zSO -----END PGP SIGNATURE----- From kline at thought.org Sun Sep 7 00:46:25 2008 From: kline at thought.org (Gary Kline) Date: Sun Sep 7 00:46:32 2008 Subject: which gray is best for print? In-Reply-To: <20080906135346.d16975e7.freebsd@edvax.de> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> <20080906135346.d16975e7.freebsd@edvax.de> Message-ID: <20080907004547.GA27611@thought.org> { After spending hours looking for a used ThinkPad....} On Sat, Sep 06, 2008 at 01:53:46PM +0200, Polytropon wrote: > On Fri, 5 Sep 2008 20:36:45 -0700, Gary Kline wrote: > > So you're saying that the "white" on my [monster] CRT is not the > > same as on a future LCD Display? rats:) > > Exactly. And compare the "black", too, best way to differentiate > with CRT and LCD side by side with a fullscreen color "black". > Isn't it dark-gray, tho? or as "black" as a dark tube gets, rather than "true-black"? > > > > --I can't see much > > difference in my new laserjet from my HP500 DeskJet, but then it > > wasn't a main concern ... . > > Human perception is another thing. Just because *I* can't notice > something, it doesn't imply that (1) others can't and (2) it isn't > there. In order to make a human person *feel* the change of a > sensory input is linear (e. g. the light intensity increases), you > need to increase the actual input in a logarithmic way. > > http://www.neuro.uu.se/fysiologi/gu/nbb/lectures/WebFech.html > tHis I'll check out; you've piqued my curiousity, even tho this gets further from whatever I was talking about:-) ...Not only are the psychological varioations, but neurophysiological ones as well. And gender diffs too. My better two-thirds says that I may as well be color-blind, and she's probably right. What I will avoid is having some *Ugly* combos like black on dark blue. No, I am Not kidding. Or yellow typeface on White bg. It's like the shriek/skreek of chalk against a blackboard. Makes my skin crawl. > > > > I took all 5 quarters of physics, like most of us, but never got > > far into optics. > > Physics comes in 5 quarters? 5 * 0.25 = 1.25... :-) > > > > > And certainly, nothing like *this*. > > I learned about this when I studied psychology and computational > visualistics, but the RGB vs. CMY stuff (additive and subtractive > color combination) was part of the basal school education in the > GDR. You got me there, man. I took plenty of psych courses over the years, but nothing involving computation. Congrats. > > > > > the > > quality of my writing is much more important that the colors of > > typeface or background. > > I really applaud this attitude. You won't find them very often > across the web, sadly, because "style is more important than content". > I've seen things, man, ... > Hm. About the only time form/style can top function/contact, IMHO, is when you're being forced to watch a very nicely stylized ad. {On the web.} I've seen a couple. O/wise, the way a piece works wins. I listened to an interview on NPR several months ago who said that, "I think of people who don't watch web advertisement as thieves," or sometime similar. Isn't a primary function of the web to allow *us* to control what we see? > > > > But this is an interesting side-bar. > > It's a very important topic to know about when you're doing DTP > stuff. Exact color calibration is very important in this field. > So you can understand why there's still a niche market for quality > CRT monitors and quality printing devices. Of course, color > temperatures and other settings like contrast and brightness > are to be considered, too. > Sure, but I'll happy leave this niche to people more qualified. I'm below the bottom/barrel here. > > > > Really! So far, in my tests [staring at a CRT], I find an > > off-white reads most easily against a very dark blue. 000033; > > or whatever 333366 is. Still experimenting. > > it's very individual how colors are percepted. If someone with > deuteranopia looks at certain color combinations where others > may say: "Looks good!", they could say: "I don't see text there." > > At least for printed material, black on white is good, and it > even can be used for projection media (beamer). i May be off on this one, but I'm seeing more dark grays on my ink+paper journals. Hard to tell since with the years sight loses sharpness as our lenses become sclerotic and full of gunk. Which all goes back to the original point:: what's the best --oh, no-- what *are* the best combinations of off-white and darkgray, bluegray, or almost-black-bluegray? > > When I was at university, some guys put up a presentation with > black text on dark bluie background, 10pt serife font. Bah! > Unreadable in the last row. didn't i mumble something like this above? 25 years ago my eyes were much better, but not That much. i hope someone complained ... seriously. > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From keramida at ceid.upatras.gr Sun Sep 7 00:52:03 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Sep 7 00:52:12 2008 Subject: changes to -CURRENT tty In-Reply-To: <18626.57979.47538.600734@jerusalem.litteratus.org> (Robert Huff's message of "Sat, 6 Sep 2008 16:05:15 -0400") References: <18626.57979.47538.600734@jerusalem.litteratus.org> Message-ID: <87myik3hid.fsf@kobe.laptop> On Sat, 6 Sep 2008 16:05:15 -0400, Robert Huff wrote: > (Yes, I'm on current@ ... in digest mode. Besides others may be > interested.) > > The 20080820 entry in /usr/src/UPDATING concerns a substantial change > to the tty subsystem. Assuming I'm not trying anything fancy, and > that I edit out the not-yet-updated devices, may I reasonably assume > updating kernel+world will not break anything? Since you are running -CURRENT, it is worth keeping in mind that there is no guarantee that the 'head' branch is stable enough for anything. So _you_ are the one who has to pick up the pieces and reassemble a working system if you update at the 'wrong time'. Having said that I'm running a kernel+userland with the new tty code on my laptop for a couple of weeks now. Other than a minor annoyance with screen, which was fixed by Ed already, I haven't noticed anything that seems seriously broken. The new tty layer was committed by Ed Schouten at 2008-08-20, and I've updated my kernel and userland more than 20 times since that time. The new tty code seems to work so far :) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080907/ee9cc705/attachment.pgp From alec-keyword-freebsd.befd64 at SetFilePointer.com Sun Sep 7 01:17:46 2008 From: alec-keyword-freebsd.befd64 at SetFilePointer.com (Alec Kloss) Date: Sun Sep 7 01:17:53 2008 Subject: Panic in IPv4 multicast code Message-ID: <20080907005103.GZ53100@hamlet.SetFilePointer.com> I've been playing around with some multicast stuff with rtpdump and I have what appears to be a 100%-repeatable panic on 7.1-PRERELEASE (csupped on 20080905): (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc078f8c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc078fb89 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc07c406e in propagate_priority (td=0xc50c7000) at /usr/src/sys/kern/subr_turnstile.c:222 #4 0xc07c4f38 in turnstile_wait (ts=0xc482edc0, owner=0xc50c7000, queue=Variable "queue" is not available. ) at /usr/src/sys/kern/subr_turnstile.c:739 #5 0xc07825be in _mtx_lock_sleep (m=0xc0c4884c, tid=3300787856, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:420 #6 0xc087051f in ip_output (m=0xc4b7f600, opt=0x0, ro=0xe7155b20, flags=34, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:305 #7 0xc07e74e5 in sosend_generic (so=0xc4caf340, addr=0xc49b18e0, uio=0xe7155be8, top=0xc4b7f600, control=0x0, flags=0, td=0xc4be0690) at /usr/src/sys/kern/uipc_socket.c:1246 #8 0xc07e2fff in sosend (so=0xc4caf340, addr=0xc49b18e0, uio=0xe7155be8, top=0x0, control=0x0, flags=0, td=0xc4be0690) at /usr/src/sys/kern/uipc_socket.c:1292 #9 0xc07e9d86 in kern_sendit (td=0xc4be0690, s=4, mp=0xe7155c64, flags=0, control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/uipc_syscalls.c:805 #10 0xc07ecfd1 in sendit (td=0xc4be0690, s=4, mp=0xe7155c64, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:742 #11 0xc07ed0e8 in sendto (td=0xc4be0690, uap=0xe7155cfc) at /usr/src/sys/kern/uipc_syscalls.c:857 #12 0xc0aa14a5 in syscall (frame=0xe7155d38) at /usr/src/sys/i386/i386/trap.c:1090 #13 0xc0a87920 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #14 0x00000033 in ?? () (kgdb) According to the comments at kern/subr_turnstile.c:222 I'm supposed to be looking for another thread to blame for the issue... does anyone have any thoughts about how to go about doing that? Interestingly, I have another similarly-configured (but radically different hardware) system that seems to do this okay. That system is currently running some older version of RELENG_7, but I'm in process updating it to the same version as the troublesome system. The troublesome system is using the em driver, the working system is using rl, if there's something about the NIC that's involved. -- Alec Kloss alec@SetFilePointer.com IM: angryspamhater@yahoo.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA241980E "No Bunny!" -- Simon, http://wiki.adultswim.com/xwiki/bin/Frisky+Dingo/Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080907/056d83e8/attachment.pgp From jisakiel at yahoo.es Sun Sep 7 01:23:02 2008 From: jisakiel at yahoo.es (Jisakiel) Date: Sun Sep 7 01:23:09 2008 Subject: Journaling filesystem support in FreeBSD Message-ID: <67536.10697.qm@web28503.mail.ukl.yahoo.com> ----- Mensaje original ---- De: Andreas Davour Para: freebsd-questions@freebsd.org Enviado: domingo, 7 de septiembre, 2008 2:23:50 Asunto: Journaling filesystem support in FreeBSD I know about soft updates and background fsck, but while they make the system available quickly they also generate quite a lot of I/O activity a short while after the system have booted and when I want to log in and start all my stuff, I/O intensive as well. The support for NTFS seems to be limited to reading still and the other filesystem support i have on my system (6.2) don't seem to show much of an alternative if you want a journaling filesystem, which are supposed to limit the need for fsck. So, what are the alternatives? Can I run xfs on FreeBSD? Is it zfs on 7 that I need? I have tried tfm and google and not found anything useful. /Andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------------------- I believe ntfs has full writing support (no fsck / chkdsk though) via the ntfs-3g project (http://www.ntfs-3g.org/ ), which uses the fuse driver. I wouldn't install my system over it though, although I've seen ubuntu run pretty well via Wubi on that conditions. zfs is not supposed to need fsck at all, but doesn't seem suitable for production use yet ( http://wiki.freebsd.org/ZFSKnownProblems ; also, booting from ZFS is not still fully supported - you have to boot to a UFS partition, then "chainload" into the ZFS root ). I'd guess your best bet for a production machine is still UFS... (BTW, got the point from your signature :P). _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From kline at thought.org Sun Sep 7 01:25:15 2008 From: kline at thought.org (Gary Kline) Date: Sun Sep 7 01:25:22 2008 Subject: which gray is best for print? In-Reply-To: <20080906233355.GB4326@phenom.cordula.ws> References: <20080903231439.GA98955@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> <200809061038.45932.kstewart@owt.com> <20080906233355.GB4326@phenom.cordula.ws> Message-ID: <20080907012505.GB27611@thought.org> On Sun, Sep 07, 2008 at 01:33:55AM +0200, cpghost wrote: > On Sat, Sep 06, 2008 at 10:38:45AM -0700, Kent wrote: > > (...) > > > IIRC, dyslexics have a much harder time reading when the background is dark. > > > > Kent > > That's really interesting! ... But everyone's different: > > Personally, I really dislike pure white backgrounds on light-emitting > surfaces. When reading from a physical book, white is the best background, > but when reading it from a CRT or LCD, it hurts my eyes very fast up to a > point where I start to get a headache and have to stop after 10 to 20 > minutes. That's why I usually use a user-specific CSS to override that > pure-white background and change it to light grey. I even wrote a little > transparent web proxy many years ago, that would rewrite HTML back in the > days when CSS was not yet as popular, just to grey-ish this hurting white > background. Man, this is getting interestinger and interestinger. wHen i've found something that looks enhoyable but hurts my eyes -- and Yes! i detest reading online for very long [esp'ly with any (censored) ads flashing], I'll save the file and change the colors. if it's some script that has no "#xxxxxx" i'll rty to save via lynx, then use my probgram to turn back into HTML, and then edit the bg/fg to suit me. ---i thought i was the only one whose eyes hurts hurt. Hmph. > > Of course, the ideal solution would be to offer visitors switchable or > even freely-configurable color themes to satisfy everyone's tastes and > preferences. But the issue is then still that of the default theme would > usually still be (sadly IMHO, luckily in most other peoples' mind) pure > white background... so it's still 'user-specific CSS' for new websites. > This is something i've been considering for a couple years. The ink+paper version is set in concrete, but the web version can be PHp-tweaked. Or, more likely, let reader's have their choice of some N versions. The whole of this "jottings" book/chapbook is < 90k bytes, so it's not like i'll be spending that much disk space. Also, what i'm working on now is Version 2.0.x, smmaler still thanks for friends' help. As tho it weren't evident, i can run on a bit:) > -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-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From sfourman at gmail.com Sun Sep 7 01:27:11 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Sep 7 01:27:35 2008 Subject: Grid computing under FreeBSD using jails ... ? In-Reply-To: References: Message-ID: <11167f520809061827n431ca05m22878d51ccec8f3d@mail.gmail.com> > Is it possible to run software on two different jails that would load balance > processes between two or more VPSs? FreeBSD Xen dom0 support looks like it will be a ways out yet I am also interested in using FreeBSD as the host in some grid/cloud solution I am open to any Ideas anyone has. Sam Fourman Jr. From cemkayali at eticaret.com.tr Sun Sep 7 01:28:23 2008 From: cemkayali at eticaret.com.tr (Cem Kayali) Date: Sun Sep 7 01:28:30 2008 Subject: bsdlabel does not create geli slices ie; /dev/ad4s1.elia - fix In-Reply-To: <20080907004128.T4838@wojtek.tensor.gdynia.pl> References: <48C2847A.4070209@eticaret.com.tr> <20080906182644.Q2937@wojtek.tensor.gdynia.pl> <48C2FA91.4090003@eticaret.com.tr> <20080907004128.T4838@wojtek.tensor.gdynia.pl> Message-ID: <48C32E01.90209@eticaret.com.tr> Hi, OK, i think i found the problem: I have attached a usb-memory disk and tried to same steps, i got same error: 'bsdlabel -w /dev/da0s1.eli', 'bsdlabel -e /dev/da0s1.eli', and 'newfs /dev/da0s1.elia': 'Could not find special device'. Then, i deleted all partitions, and created single partition and labelled it as FreeBSD partition => 165. Then i followed same steps and i did see '/dev/da0s1.elia' device node in /dev. In short, the partition should be labblled as FreeBSD (165). I don't know why this is must. Regards, Cem Wojciech Puchar, 09/07/08 01:41: > did you check that after bsdlabel -e partitions are actually updated? > > > On Sun, 7 Sep 2008, Cem Kayali wrote: > >> >> Well, could this be because i partitioned ad4 hard disk by gparted? >> Disk has other OSs on other partitions... Very strange, i couldn't >> find any helpfull information about this on the net --- nor similar >> problem. Maybe i should try a latest snaphot instead of FreeBSD 7 >> release. >> >> Regards, >> Cem >> >> >> >> >> >> Wojciech Puchar, 09/06/08 19:27: >>> >>>> >>>> Hello! >>>> >>>> After initializing geli and attach geli enabled partition, i would >>>> like to create freebsd slices. Once i try 'bsdlabel -w >>>> /dev/ad4s1.eli' and then 'bsdlabel -e /dev/ad4s1.eli', this does >>>> not create ie; /dev/ad4s1.elia and i can not run newfs in success: >>>> 'Could not find special device'. >>>> >>>> Thanks if someone has advise about this. >>> >>> no idea. i have partitioned geli devices and i partitioned it just >>> as you said (bsdlabel -w and -e), just i don't use fdisk but it >>> shouldn't matter >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >>> >> >> > From af300wsm at gmail.com Sun Sep 7 01:29:56 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Sun Sep 7 01:30:02 2008 Subject: mail server DNS configuration questions Message-ID: <200809061928.28539.af300wsm@gmail.com> Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 "lot's of networks" Private Network <--> CableOne <--> Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] -> dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] -> dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] -> dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] -> hostname whitbap [/home/afalanga] -> ifconfig fxp0 fxp0: flags=8843 mtu 1500 options=8 inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX ) status: active [/home/afalanga] -> cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? Thanks, Andy From jeffrey at goldmark.org Sun Sep 7 02:24:50 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sun Sep 7 02:24:57 2008 Subject: alternatives to mergemaster In-Reply-To: References: Message-ID: On Sep 6, 2008, at 1:20 PM, Christian Laursen wrote: > I always run mergemaster in auto upgrade mode. From the man page: > > -U Attempt to auto upgrade files that have not been user > modi- > fied. > > This can also be achieved by putting "AUTO_UPGRADE=yes" in > /etc/mergemaster.rc. AUTO_UPGRADE isn't documented in mergemaster(8). I guess it's time for me to submit my first documentation patch (unless someone beats me to it). Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From roberthuff at rcn.com Sun Sep 7 02:42:36 2008 From: roberthuff at rcn.com (Robert Huff) Date: Sun Sep 7 02:42:44 2008 Subject: changes to -CURRENT tty In-Reply-To: <87myik3hid.fsf@kobe.laptop> References: <18626.57979.47538.600734@jerusalem.litteratus.org> <87myik3hid.fsf@kobe.laptop> Message-ID: <18627.16281.664251.617860@jerusalem.litteratus.org> Giorgos Keramidas writes: > Since you are running -CURRENT, it is worth keeping in mind that > there is no guarantee that the 'head' branch is stable enough for > anything. So _you_ are the one who has to pick up the pieces and > reassemble a working system if you update at the 'wrong time'. Drank the Kool-aid already. :-) But I also read src/UPDATING, and wait a couple of digests after any big commit. Robert Huff From kdk at daleco.biz Sun Sep 7 03:08:25 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Sep 7 03:08:32 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: <48C3457C.6070301@daleco.biz> Andrew Falanga wrote: > Hi, > > Well, my clients at church are still having issues and after working with > George, a respondant to my original questions, I think that most, if not all, > of my problems are related to DNS and how we've got it improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the person at > whose house the mail server is) has IP forwarding setup so that mail get's > sent to our FreeBSD machine. Using dig, here's the responses: > > (from my FBSD machine at home, not the server) > [/usr/home/andy] > -> dig +short -t MX whitneybaptist.org > 10 mail.whitneybaptist.org. > [/usr/home/andy] > -> dig +short -t A whitneybaptist.org > 72.24.34.252 > [/usr/home/andy] > -> dig +short -x 72.24.34.252 > 34-252.72-24-cpe.cableone.net. > > (from the church FBSD machine) > [/home/afalanga] > -> hostname > whitbap > [/home/afalanga] > -> ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > options=8 > inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 > ether 00:d0:b7:74:87:48 > media: Ethernet autoselect (100baseTX ) > status: active > [/home/afalanga] > -> cat /etc/resolv.conf > search McCutchanLAN > nameserver 192.168.2.1 > > > It doesn't take a rocket scientist, or a computer scientist, to figure out > we've got DNS issues. I'm thinking that I should setup a domain within the > 192.168.2.0/24 network on this box. I've done this before, at work. The > question I've got is I've never actually integrated a domain like this to a > domain on the Internet. I'm thinking that we'll setup something like: > internal.whitneybaptist.org with hosts in that sub-domain. > > So, what would my DNS tables need to look like to make this happen. Also, to > any knowledgable souls here, what RFCs address these issues? > > Thanks, > Andy Andy, I'm not sure I'm DNS guru enough to answer all your questions, but --- you don't specify what "problems" are being experienced at the location, and, are you certain it's not about this? [25] Sat 06.Sep.2008 21:58:25 [kadmin@archangel][~/logs] host 72.24.34.252 Host 252.34.24.72.in-addr.arpa. not found: 3(NXDOMAIN) *Not having* a reverse entry for a mail server is often the cause of issues. And the RFC for ESMTP is #2821. HTH, Kevin Kinsey -- In Denver it is unlawful to lend your vacuum cleaner to your next-door neighbor. From kline at thought.org Sun Sep 7 03:11:41 2008 From: kline at thought.org (Gary Kline) Date: Sun Sep 7 03:11:48 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080905151616.F95616@sola.nimnet.asn.au> References: <20080904195734.8042410656C6@hub.freebsd.org> <20080905151616.F95616@sola.nimnet.asn.au> Message-ID: <20080907031133.GE27611@thought.org> On Fri, Sep 05, 2008 at 04:09:12PM +1000, Ian Smith wrote: > I had no trouble dropping a 120GB Fujitsu into my T23 recently (was > 30GB), so I expect 160GB would be fine, especially in a much later > model. And 2GB is likely plenty for anything but Microsloth Vasta. > > Something to consider is what type of RAM it uses, eg the older PC133 > 144-pin SDRAM I need for my T23 is now very expensive, ~U$70 per 512MB > stick, or around A$100 shipped, where newer RAM is a fraction of that. > > > > > As an example (T-41): > > > > http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html > > I've never heard of a uniprocessor Thinkpad running anywhere near 3GHz, > but then there's lots I've never heard of .. but the T41[/p] only goes > to 1.7GHz according to the above URL, so it must be a much later model. > > On a quick check, the fastest T43 seems to be a Pentium M 770 @ 2.13GHz. > [[ ... ]] > > Well I certainly wouldn't buy a Thinkpad I didn't have the EXACT model > number of, when that reveals the CPU type/speed, HD and RAM originally > fitted, CD/CDRW/DVD[RW], screen size, video card, wireless etc options. > > Maybe you (Gary) could post an URL illustrating one of these machines? > > > As in, what's the RGB code for Thinkpad Black? :) Ian, how about "#trublk" :-) okay, the long/short of it is that i spent last night anf this morning asking several .com places that sold used TP's if 1) they would sell me the laptop without Windose and credit me. 2) they had an uniprocs >= 2.2 and <= 3.0 3) they would do upgrade or 4) provide me with the upgrade into. I found some dual-core that were like 1.7GHz- 2.2GHz. sound right? several had large ~(120G) drive, 1G RAM. .LT. $800, which is not that bad. A wweek ago I asked a "Live Chat" person about scrubbing the Windows; it was "No; sold as-is." Of note: when I checked that discountpc place, the 3.0Ghz was gone; the other were from 1.2 to 2.0GHz. More disappointing was the sloppy" way some site had listed their TP's. E.G.: 2000GHz and other careless errors. Makes you wonder how far these places have to dim the lights when they are paying their employees... . gary > > cheers, Ian -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From fbsd1 at a1poweruser.com Sun Sep 7 03:16:44 2008 From: fbsd1 at a1poweruser.com (FBSD1) Date: Sun Sep 7 03:16:53 2008 Subject: Burncd & 700MB rw/cd Message-ID: Been using burncd since Freebsd 4.0 with 650MB rw/cd's just fine. My local computer store had a sale on 700MB rw/cd's and I picked up a few. Burncd gives msg (Failure - read_big illegal request) on these 700MB rw/cd's. The Freebsd 7.0 man burncd has no info on large sized rw/cd's? Does burncd need a programming update to handle these newer larger sized rw/cd's? What other (built in with the release) program can be used to burn 700 MB rw/cd's? From mapsware at prodigy.net.mx Sun Sep 7 03:22:32 2008 From: mapsware at prodigy.net.mx (Martin Alejandro Paredes Sanchez) Date: Sun Sep 7 03:22:39 2008 Subject: alternatives to mergemaster In-Reply-To: References: Message-ID: <200809062022.29963.mapsware@prodigy.net.mx> El S?b 06 Sep 2008, Christian Laursen escribi?: > "Michael P. Soulier" writes: > > The downside of mergemaster is that it is only a 2-way merge, where a > > 3-way would know better than you prompt you for changes that you > > didn't make. This makes mergemaster far more tedious than it has to > > be. Has anyone considered a good 3-way merge tool? > > I always run mergemaster in auto upgrade mode. From the man page: > > -U Attempt to auto upgrade files that have not been user modi- > fied. > > This can also be achieved by putting "AUTO_UPGRADE=yes" in > /etc/mergemaster.rc. > > Combined with auto install, mergemaster requires little effort. I also recommend the "-i" option -i Automatically install any files that do not exist in the destination directory. The option -U depends on the existence of a database (/var/db/mergemaster.mtree), witch does not exist the first time. So the first time you run the mergemaster, you can not use the "-U" option. But, my advice is, when you install FreeBSD in a computer, run mergemaster before you upgrade the source code to build the database. maps From abc at ai1.anchorage.mtaonline.net Sun Sep 7 03:24:51 2008 From: abc at ai1.anchorage.mtaonline.net (abc@ai1.anchorage.mtaonline.net) Date: Sun Sep 7 03:24:58 2008 Subject: MD5 errors Message-ID: <200809070311.m873B8nu041656@en26.ai1.anchorage.mtaonline.net> i was downloading 7.0-RELEASE, and found the following MD5 errors: doc/ ERROR: MD5 (doc.cc) = a83976995e055dbe67030397902c5ab9 MD5SUM MD5 (doc.cc) = 662363b086db1164eb922024428df2df ERROR: MD5 (install.sh) = 0ddd67ac6a0ca00e0131f63bcde9b145 MD5SUM MD5 (install.sh) = a1f597bcc955e069fd6679ea4a543d19 kernels/ ERROR: MD5 (install.sh) = 7f507448f530c624c9b0d9e4881c148f MD5SUM MD5 (install.sh) = 766fb0b8d2332d5cb5f70be4ec00ea7b src/ ERROR: MD5 (install.sh) = 311278afa5305731822fbfa8d1de2805 MD5SUM MD5 (install.sh) = fa16a2a3b7a8b4ec6f4eada5eb5bb326 i am worried about doc.cc, because the file size is very wrong. can anyone please verify that it is safe to install with these broken MD5 sums before i try to install? From sahil at tandon.net Sun Sep 7 03:48:38 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun Sep 7 03:48:46 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: <20080907034834.GB37461@shepherd> Andrew Falanga wrote: > It doesn't take a rocket scientist, or a computer scientist, to > figure out we've got DNS issues. What exactly is the problem though? What problems are you having on the mail server that lead you to the above conclusion? -- Sahil Tandon From pschmehl_lists at tx.rr.com Sun Sep 7 04:59:15 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sun Sep 7 04:59:23 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: --On September 6, 2008 7:28:28 PM -0600 Andrew Falanga wrote: > Hi, > > Well, my clients at church are still having issues and after working > with George, a respondant to my original questions, I think that most, > if not all, of my problems are related to DNS and how we've got it > improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the > person at whose house the mail server is) has IP forwarding setup so > that mail get's sent to our FreeBSD machine. Using dig, here's the > responses: > The 192.168.0.0/24 network is an IANA reserved network and **does not route** on the internet. You can send mail but you'll never be able to receive any. In order for you to receive email to that server, whatever device you've got in front of it (dsl router, for example) must be configured to "hard code" port 25 to your mail server so that all incoming mail to the public IP (72.24.23.252) will always go to the 192.168.2.23 address, which is the actual address of the mail server. Some mail servers will not receive mail if the IP of the mail server doesn't reverse. Yours does, so that shouldn't be a problem, *however* if they also try to talk to your mail server to verify that it's actually a mail server that will fail if you don't have port 25 "hard coded". You don't say what the "issues" that you're having are, so that's my best guess about what's wrong. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From freebsd at optimis.net Sun Sep 7 05:51:48 2008 From: freebsd at optimis.net (George Davidovich) Date: Sun Sep 7 05:51:55 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: <20080907055229.GA93793@marvin.optimis.net> On Sat, Sep 06, 2008 at 07:28:28PM -0600, Andrew Falanga wrote: > > Well, my clients at church are still having issues and after working with > George, a respondant to my original questions, I think that most, if not all, > of my problems are related to DNS and how we've got it improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the person at > whose house the mail server is) has IP forwarding setup so that mail get's > sent to our FreeBSD machine. Using dig, here's the responses: > > (from my FBSD machine at home, not the server) > [/usr/home/andy] -> dig +short -t MX whitneybaptist.org > 10 mail.whitneybaptist.org. > [/usr/home/andy] -> dig +short -t A whitneybaptist.org > 72.24.34.252 > [/usr/home/andy] -> dig +short -x 72.24.34.252 > 34-252.72-24-cpe.cableone.net. > > (from the church FBSD machine) > [/home/afalanga] -> hostname > whitbap > [/home/afalanga] -> ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > options=8 > inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 > ether 00:d0:b7:74:87:48 > media: Ethernet autoselect (100baseTX ) > status: active > [/home/afalanga] -> cat /etc/resolv.conf > search McCutchanLAN > nameserver 192.168.2.1 > > It doesn't take a rocket scientist, or a computer scientist, to figure out > we've got DNS issues. I'm thinking that I should setup a domain within the > 192.168.2.0/24 network on this box. I've done this before, at work. The > question I've got is I've never actually integrated a domain like this to a > domain on the Internet. I'm thinking that we'll setup something like: > internal.whitneybaptist.org with hosts in that sub-domain. > > So, what would my DNS tables need to look like to make this happen. Also, to > any knowledgable souls here, what RFCs address these issues? Hello again, Andy. What you're asking is actually a FAQ, but I'll spell things out anyway. The following excerpt from RFC 1918 is most relevant: If an enterprise uses the private address space, or a mix of private and public address spaces, then DNS clients outside of the enterprise should not see addresses in the private address space used by the enterprise, since these addresses would be ambiguous. One way to ensure this is to run two authority servers for each DNS zone containing both publically and privately addressed hosts. One server would be visible from the public address space and would contain only the subset of the enterprise's addresses which were reachable using public addresses. The other server would be reachable only from the private network and would contain the full set of data, including the private addresses and whatever public addresses are reachable the private network. In order to ensure consistency, both servers should be configured from the same data of which the publically visible zone only contains a filtered version. There is certain degree of additional complexity associated with providing these capabilities. That's a roundabout way of saying you can't "mix and match" private non-routable addresses with public addresses in the same namespace. Note the "authoritative" part. Until CableOne delegates your assigned netblock to your organisation, your public DNS server will not be authoritative (it currently isn't!) for 72.24.34.252. You can reference RFC 2317 (classless in-addr.arpa delegation) for how that works. As to why you must be authoritative, I've already pointed out off-list how Bad Things can happen when you're not, especially in regards to email where reverse lookups are integral to How Things Work. As for other RFCs, I'd suggest instead starting with a careful reading of the Bind ARM at http://www.isc.org/sw/bind/, followed by a once-over of the Bind FAQ, and possibly the FreeBSD-supplied configuration files. To save you some time, the following abbreviated context-specific examples should explain things more clearly and get you started: Example 1: Two domains and two separate (sets of) name servers: On the ns.whitneybaptist.org machine: zone "whitneybaptist.org" { type master; file "master/whitneybaptist.org"; }; zone "252.34.24.72.in-addr.arpa" { type master; file "master/db.72.24.34.252"; }; On the ns.internal.whitneybaptist.org machine: zone "internal.whitneybaptist.org" { type master; file "master/internal.whitneybaptist.org"; }; zone "1.168.192.in-addr.arpa" { type master; file "master/db.192.168.1"; }; # slave whitneybaptist.org zones here The contents of /etc/resolv.conf for internal hosts: domain internal.whitneybaptist.org nameserver 192.168.1.X Example 2: One domain and a single (set of) name server(s) employing Bind's "view" feature: acl "lan_hosts" { 192.168.1/24; 192.168.2/24; }; key "external" { algorithm hmac-md5; secret "XXXXXXX=="; }; view "internal" { match-clients { !key external; lan_hosts; }; allow-recursion { lan_hosts; }; zone "whitneybaptist.org" { type master; file "master/whitneybaptist.org.internal"; }; zone "1.168.192.in-addr.arpa" { type master; file "master/db.192.168.1"; }; view "external" { match-clients { key external; any; }; recursion no; zone "whitneybaptist.org" { type master; file "master/whitneybaptist.org.external"; }; zone "252.34.24.72.in-addr.arpa" { type master; file "master/db.72.24.34.252"; }; The contents of /etc/resolv.conf for internal hosts: domain whitneybaptist.org nameserver 72.24.34.252 # Note: if 'nameserver' is NAT-ed, you'd use its # internal address instead You'll have to decide for yourself which approach works best for you. - If you opt for 2 domains, you'll need to reconfigure all your internal hosts, and then add more machines to serve up DNS for those hosts. - If you opt for one domain and use Bind's view feature, you can leave your internal hosts alone (assuming they're already part of the whitneybaptist.org domain) and skip the requirement for additional machines, but your DNS configuration will be a little more complex. -- George From jstrother9109 at gmail.com Sun Sep 7 06:07:21 2008 From: jstrother9109 at gmail.com (James Strother) Date: Sun Sep 7 06:07:29 2008 Subject: switching discs during install In-Reply-To: <48C26870.7050100@gmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> Message-ID: <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> I had actually avoided the base system because I was installing FreeBSD on a system with a poor internet connection, but I was able to download the discs on a system with a high speed connection. The DVD would have worked fine, but it was not available from the freebsd home page and so I did not know it was available. But thanks for the information. Next time, I'll give it a try. That said, I still think that as long as the freebsd foundation distributes CD images it would be worthwhile to make them as effective as possible. Actually, even if the install were moved to a DVD, the ordered install I proposed would still improve the situation. When the packages are haphazardly ordered on the disc, the CD/DVD reader is forced to perform a large number of seeks that dramatically reduces data throughput. When they are read in order, read rates should be much better. While I doubt many users choose an operating system based on installation performance, it would save people a little time and make a better first impression. -Jim On Sat, Sep 6, 2008 at 4:24 AM, Manolis Kiagias wrote: > James Strother wrote: > >> I just completed an install of FreeBSD 7.0 and couldn't help but wonder >> why >> it was necessary for me to switch discs back and forth so much while >> installing ported applications. I've used FreeBSD on and off for a number >> of years and this issue has always irked me a just a little bit. It means >> that I have to babysit the installation and it really does increase the >> time >> required to perform the installation. >> >> >> > Most people install only the base system from CD, then install applications > from ports or download newer packages. If you insist on installing packages > from the installation media, there is an easy way. Use the DVD: > > > http://www.tuxdistro.com/download.php?id=921&name=FreeBSD-7.0-RELEASE-DVD-ISO.torrent > > Or, create one yourself using your already downloaded discs: > > http://www.pa.msu.edu/~tigner/bsddvd.html > > > > From fbsd1 at a1poweruser.com Sun Sep 7 06:29:12 2008 From: fbsd1 at a1poweruser.com (FBSD1) Date: Sun Sep 7 06:29:21 2008 Subject: ssh Message-ID: On FreeBSD 7.0 how do I tell ssh to allow login from root and also to listen on port 9922 instead of port 22? From sahil at tandon.net Sun Sep 7 06:35:57 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun Sep 7 06:36:04 2008 Subject: ssh In-Reply-To: References: Message-ID: <20080907063548.GA38224@shepherd> FBSD1 wrote: > On FreeBSD 7.0 how do I tell ssh to allow login from root Change the "PermitRootLogin" parameter in /etc/ssh/sshd_config. > and also to listen on port 9922 instead of port 22? Edit the the "Port" parameter in the same config file. And as an aside -- Sahil Tandon From smithi at nimnet.asn.au Sun Sep 7 07:53:54 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sun Sep 7 07:54:01 2008 Subject: ThinkPad 3.0GHz: can anybody verify? In-Reply-To: <20080907031133.GE27611@thought.org> References: <20080904195734.8042410656C6@hub.freebsd.org> <20080905151616.F95616@sola.nimnet.asn.au> <20080907031133.GE27611@thought.org> Message-ID: <20080907170649.B439@sola.nimnet.asn.au> On Sat, 6 Sep 2008, Gary Kline wrote: > On Fri, Sep 05, 2008 at 04:09:12PM +1000, Ian Smith wrote: > > > I had no trouble dropping a 120GB Fujitsu into my T23 recently (was > > 30GB), so I expect 160GB would be fine, especially in a much later > > model. And 2GB is likely plenty for anything but Microsloth Vasta. > > > > Something to consider is what type of RAM it uses, eg the older PC133 > > 144-pin SDRAM I need for my T23 is now very expensive, ~U$70 per 512MB > > stick, or around A$100 shipped, where newer RAM is a fraction of that. > > > > > As an example (T-41): > > > > > > http://www-307.ibm.com/pc/support/site.wss/MIGR-58183.html > > > > I've never heard of a uniprocessor Thinkpad running anywhere near 3GHz, > > but then there's lots I've never heard of .. but the T41[/p] only goes > > to 1.7GHz according to the above URL, so it must be a much later model. > > > > On a quick check, the fastest T43 seems to be a Pentium M 770 @ 2.13GHz. > > > [[ ... ]] > > > > > Well I certainly wouldn't buy a Thinkpad I didn't have the EXACT model > > number of, when that reveals the CPU type/speed, HD and RAM originally > > fitted, CD/CDRW/DVD[RW], screen size, video card, wireless etc options. [..] > okay, the long/short of it is that i spent last night anf this > morning asking several .com places that sold used TP's if > > 1) they would sell me the laptop without Windose and credit me. That's hard enough to wangle on a _new_ laptop! Depending on model, you may need 'doze (or at least some form of DOS) to upgrade its BIOS (sad but true, and you do want to use the latest BIOS, esp. re ACPI). I have ad0s1 as a 4GB FAT32 slice for such purposes. Again, the Lenovo/IBM site/s show which models require that, though most of the later ones can have their BIOS & EC upgraded from a bootable CD. > 2) they had an uniprocs >= 2.2 and <= 3.0 > 3) they would do upgrade or > 4) provide me with the upgrade into. > > I found some dual-core that were like 1.7GHz- 2.2GHz. sound > right? Sounds about right for the recent duallies, yes, but which models? Main problem with (any) dual-core laptop is inability to suspend/resume, so if that matters to you, either go for a uniprocessor model or be prepared to run -CURRENT and help with debugging SMP suspend/resume, which (as I recall) was being developed on a T60 or T61 .. > several had large ~(120G) drive, 1G RAM. .LT. $800, which is not > that bad. A wweek ago I asked a "Live Chat" person about > scrubbing the Windows; it was "No; sold as-is." You still haven't got the primary pieces of information you need: a) the Thinkpad model (T-, X-, Z-, A- or R-something ..) and b) the detailed 'type' number; eg my T23 is a '2647-4MA'. Given that, go to the Lenovo site and you'll see where to enter it to get your _exact_ specs. I did plenty of this while hunting for mine, also checking the FreeBSD Laptop Compatibility List. I wanted a T23 or T43 (the latter was over my budget at the time, besides I wanted a serial and parallel port) and I checked out various R-series and A-series models on offer (no thanks!) So just 'Thinkpad' is way too broad, rather like saying "it's a Ford" :) > Of note: when I checked that discountpc place, the 3.0Ghz was > gone; the other were from 1.2 to 2.0GHz. More disappointing was > the sloppy" way some site had listed their TP's. E.G.: 2000GHz > and other careless errors. Makes you wonder how far these > places have to dim the lights when they are paying their > employees... . I got mine privately on ebay, but only after knowing exactly what I was expecting. I was lucky and got a mint condition one for $400 shipped which was a great price for a T23 back then - not now of course. Don't buy from anyone too lazy to turn it over and read you the numbers! good luck, Ian From jmc-freebsd2 at milibyte.co.uk Sun Sep 7 09:22:41 2008 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sun Sep 7 09:22:48 2008 Subject: switching discs during install In-Reply-To: <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> Message-ID: <200809071022.37765.jmc-freebsd2@milibyte.co.uk> On Sunday 07 September 2008, James Strother wrote: > That said, I still think that as long as the freebsd foundation > distributes CD images it would be worthwhile to make them as > effective as possible. Actually, even if the install were moved to a > DVD, the ordered install I proposed would still improve the > situation. ?When the packages are haphazardly ordered on the disc, > the CD/DVD reader is forced to perform a large number of seeks that > dramatically reduces data throughput. ?When they are read in order, > read rates should be much better. They might not be as haphazard as you suggest. ISTR once reading that the CDs were arranged with the most popular packages on the first CD so that you would only need to download disk 2 (and 3) if you wanted some of the less common packages. With your suggested layout it's quite likely that a package which most of the others depend on would be right down at the bottom of the list with the result that you'd invariably need to download all 3 CD images. I think the best way to avoid the need for frequent CD switching would be for sysinstall to sort the list of selected packages into CD order before installing them. I imagine this would require some changes to pkg_add to prevent it from installing dependencies and I expect the possible benefits would not be considered to be sufficient to justify the effort. -- Mike Clarke From que_deseja at hotmail.com Sun Sep 7 10:43:54 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Sun Sep 7 10:44:01 2008 Subject: incomplete build Message-ID: I'm having build problems with gnome. Patch for firefox doesn't apply cleanly. Patch for kde3 is the same libungif not found. A solution? _________________________________________________________________ Want to do more with Windows Live? Learn ?10 hidden secrets? from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 From bsd-unix at embarqmail.com Sun Sep 7 11:06:08 2008 From: bsd-unix at embarqmail.com (Randy Pratt) Date: Sun Sep 7 11:06:15 2008 Subject: switching discs during install In-Reply-To: <200809071022.37765.jmc-freebsd2@milibyte.co.uk> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> Message-ID: <20080907070603.57644dc0.bsd-unix@embarqmail.com> On Sun, 7 Sep 2008 10:22:37 +0100 Mike Clarke wrote: > On Sunday 07 September 2008, James Strother wrote: > > > That said, I still think that as long as the freebsd foundation > > distributes CD images it would be worthwhile to make them as > > effective as possible. Actually, even if the install were moved to a > > DVD, the ordered install I proposed would still improve the > > situation. ?When the packages are haphazardly ordered on the disc, > > the CD/DVD reader is forced to perform a large number of seeks that > > dramatically reduces data throughput. ?When they are read in order, > > read rates should be much better. > > They might not be as haphazard as you suggest. ISTR once reading that > the CDs were arranged with the most popular packages on the first CD so > that you would only need to download disk 2 (and 3) if you wanted some > of the less common packages. With your suggested layout it's quite > likely that a package which most of the others depend on would be right > down at the bottom of the list with the result that you'd invariably > need to download all 3 CD images. > > I think the best way to avoid the need for frequent CD switching would > be for sysinstall to sort the list of selected packages into CD order > before installing them. I imagine this would require some changes to > pkg_add to prevent it from installing dependencies and I expect the > possible benefits would not be considered to be sufficient to justify > the effort. Another way to avoid switching CDs is to select an FTP server for installing packages. This also avoids downloading bits you don't need or want. There is another discussion: http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel which would address the disk swapping by removing all the packages from disc1 and providing a DVD of packages that could be used after installation. HTH, Randy -- From osp at aloha.com Sun Sep 7 11:08:11 2008 From: osp at aloha.com (osp@aloha.com) Date: Sun Sep 7 11:08:18 2008 Subject: kernal panic mounting Sony USB IC RECORDER Message-ID: <200809071025.m87APRPj022671@yoda.pixi.com> uname -a FreeBSD shafp09nb102137 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 12:18:24 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Computer is Dell Latitude D830 I have a Sony PCM-D50 digital recorder that will not mount correctly. At the command line, when I plug in the USB cable and turn on the recorder I see umass0: on uhub6 After about a minute four error messages appear: (da0:umass-sim0:0:0:0):Auto Sense Failed (da0:umass-sim0:0:0:0):got CAM status 0x10 (da0:umass-sim0:0:0:0):fatal error, failed to attach to device (da0:umass-sim0:0:0:0):lost device At that point the computer is not responding to the keyboard. When I power off the Sony recorder the computer screen displays a page fault panic. The panic behavior reminds of what happenes when I pull a USB thumb drive without dismounting ... it is probably not specific to this device. To rub salt in my wounds, in mounts perfectly on Windows XP. So I dragged my files onto drive D:, then back in FreeBSD I mount /dev/ad4s2 on /mnt/win_d and copy the files to my home directory tree. Good news: In Gnome I can play and edit the files with Audacity. Very happy about that. Any advice will be greatly appreciated! Gary Dunn Open Slate Project http://openslate.net/ From jstrother9109 at gmail.com Sun Sep 7 11:10:00 2008 From: jstrother9109 at gmail.com (James Strother) Date: Sun Sep 7 11:10:08 2008 Subject: switching discs during install In-Reply-To: <200809071022.37765.jmc-freebsd2@milibyte.co.uk> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> Message-ID: <4b2381fb0809070409h32107db3ge19ee8c36603b79d@mail.gmail.com> > They might not be as haphazard as you suggest. ISTR once reading that > the CDs were arranged with the most popular packages on the first CD so > that you would only need to download disk 2 (and 3) if you wanted some > of the less common packages. With your suggested layout it's quite > likely that a package which most of the others depend on would be right > down at the bottom of the list with the result that you'd invariably > need to download all 3 CD images. I have to admit that I have no idea how they are organized, there could be very good reasons for doing it the current way. However, I was actually only suggesting that the packages be sorted by "popularity", where "popularity" is the number of packages which depend on the package in question (this would need to include both direct and indirect dependencies). The most-depended-upon packages would go on the first disc and the least-depended-upon packages would go on the last. If you move from first to last, then all dependencies are automatically satisfied. While this should put most of the common packages on the first disc, you could have a frequently installed package that was not highly depended upon that was placed on the last disc. If your aim was to minimize the number of discs that had to be downloaded this ordering would be less that ideal. However, there are a large number of orderings which still satisfy the dependencies; the one I gave is just a good starting point. If you wanted, such packages could be "promoted" in the ordering by placing them immediately after all of their dependencies had been satisfied. In fact, you could do this recursively for every package that the particular package depended upon so that it occurred as early in the ordering as possible. And if you had a list of such "important" packages this could clearly be performed for each (if you started with the least important and moved to the most, you could ensure that the most important were placed earlier in the ordering). I think the best way to avoid the need for frequent CD switching would > be for sysinstall to sort the list of selected packages into CD order > before installing them. I imagine this would require some changes to > pkg_add to prevent it from installing dependencies and I expect the > possible benefits would not be considered to be sufficient to justify > the effort. I agree that fiddling with pkg_add to place the packages neatly on the disc would probably not be worth the effort, but I'm not sure that it is necessary. In order for the method I suggested to work, sysinstall would have to be modified to attempt installation in the selected ordering. If you had a list of the packages in this ordering, you would only have to flip the "please install this one" bit for the selected packages, and then traverse the list in order installing/ignoring each package. Since all dependencies would be satisfied by virtue of the ordering, pkg_add would find that every dependency had already been satisfied and should not cause any problems. From freebsd at meijome.net Sun Sep 7 11:36:24 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sun Sep 7 11:36:48 2008 Subject: Grid computing under FreeBSD using jails ... ? In-Reply-To: <11167f520809061827n431ca05m22878d51ccec8f3d@mail.gmail.com> References: <11167f520809061827n431ca05m22878d51ccec8f3d@mail.gmail.com> Message-ID: <20080907213620.02a7143d@ayiin> On Sat, 6 Sep 2008 20:27:10 -0500 "Sam Fourman Jr." wrote: > I am also interested in using FreeBSD as the host in some grid/cloud solution > I am open to any Ideas anyone has. Hey Sam, do you have any particular grid/cloud/clustering solution in mind? I think that Sun's grid engine works in FBSD (it is present in ports)... /usr/ports $ make search info=grid\ engine There was a similar,but short discussion in this list around August 11th 2008, Subject 'cluster filesystem', mentioning things like hadoop + gluster on BSD. B _________________________ {Beto|Norberto|Numard} Meijome "I don't think they could put him in a mental hospital. On the other hand, if he were already in, I don't think they'd let him out." I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From reko.turja at liukuma.net Sun Sep 7 12:10:48 2008 From: reko.turja at liukuma.net (Reko Turja) Date: Sun Sep 7 12:10:56 2008 Subject: Journaling filesystem support in FreeBSD References: Message-ID: <1115B4EE7E6E4071927D679FCE28ADA2@rivendell> > So, what are the alternatives? Can I run xfs on FreeBSD? Is it zfs > on 7 that I need? I have tried tfm and google and not found anything > useful. If upgrading to 7.x is acceptable, gjournal on UFS has been working for me a treat. -Reko From freebsd at edvax.de Sun Sep 7 12:29:08 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 12:29:16 2008 Subject: which gray is best for print? In-Reply-To: <20080906231900.GA4326@phenom.cordula.ws> References: <20080903231439.GA98955@thought.org> <4D0FA23F-22AB-4003-BA69-5465A464168E@identry.com> <48C282E5.7050509@lcwords.com> <20080906231900.GA4326@phenom.cordula.ws> Message-ID: <20080907142905.0ee1038d.freebsd@edvax.de> On Sun, 7 Sep 2008 01:19:00 +0200, cpghost wrote: > But do also provide a 1-page version with a sensible print medium CSS > (or even a nicely formatted PDF), so that users can create a hard copy > version with a minimun of fuss and clicks. The last advice is the best one, I think. PDF has the advantage that it (usually) renders 1:1 as the author intends it (just as PostScript does; anyone remembers "Display Ghost Script"?). While CSS provides means to setup printing characteristics on the client's site, it's not interpreted correctly by the various browsers (or their common substitutes that do not follow standards), or they may interfere with local browser printing settings. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Sep 7 12:32:18 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 12:32:25 2008 Subject: which gray is best for print? In-Reply-To: <20080906233355.GB4326@phenom.cordula.ws> References: <20080903231439.GA98955@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <20080906033645.GA93841@thought.org> <200809061038.45932.kstewart@owt.com> <20080906233355.GB4326@phenom.cordula.ws> Message-ID: <20080907143215.0d15af94.freebsd@edvax.de> On Sun, 7 Sep 2008 01:33:55 +0200, cpghost wrote: > Personally, I really dislike pure white backgrounds on light-emitting > surfaces. When reading from a physical book, white is the best background, > but when reading it from a CRT or LCD, it hurts my eyes very fast up to a > point where I start to get a headache and have to stop after 10 to 20 > minutes. While the book paper just reflects light, the screen (CRT or LED) emits light, this seems to have a higher energy that is sometimes not very pleasant to the eye's sensory array. > That's why I usually use a user-specific CSS to override that > pure-white background and change it to light grey. That's what I like the switch "Author mode / user mode" in the Opera browser. It strips any CSS stuff from the document and lets me apply my custom color settings. Sometimes, even badly designed pages become readable after all. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Sep 7 12:40:39 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 12:40:47 2008 Subject: Burncd & 700MB rw/cd In-Reply-To: References: Message-ID: <20080907144037.8ccb1ac2.freebsd@edvax.de> On Sun, 7 Sep 2008 11:16:46 +0800, "FBSD1" wrote: > Does burncd need a programming update to handle these newer larger sized > rw/cd's? First, just check a few things: 1. Is the CD-RW media okay, not damaged? 2. Does the writer support this media? 3. Do you use the proper speed to record the media? Most CD-RWs can't be recorded as fast as CD-Rs can. > What other (built in with the release) program can be used to burn 700 MB > rw/cd's? Since introduction of atapicam (needs to be in your kernel) I switched to the cdrecord utility, and sometimes I use cdrdao, both availabe from ports. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsd06 at mlists.homeunix.com Sun Sep 7 12:55:00 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Sun Sep 7 12:55:07 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: <20080907134349.2363e6b3@gumby.homeunix.com.> On Sat, 6 Sep 2008 19:28:28 -0600 Andrew Falanga wrote: > Hi, > > Well, my clients at church are still having issues and after working > with George, a respondant to my original questions, I think that > most, if not all, of my problems are related to DNS and how we've got > it improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the > person at whose house the mail server is) has IP forwarding setup so > that mail get's sent to our FreeBSD machine. > ... > It doesn't take a rocket scientist, or a computer scientist, to > figure out we've got DNS issues. I'm thinking that I should setup a > domain within the 192.168.2.0/24 network on this box. This has little to do with DNS, and there's nothing obviously wrong. The router has the routable IP address and is forwarding incoming port 25 tcp connections to the real mail server using NAT. As far as the internet side is concerned your entire network has to look like a single server, so the mailserver has to pretend to be running on the router, and announce itself as mail.whitneybaptist.org. You'll probably need to pass your outgoing mail through another mail server to avoid its being rejected though. From jmc-freebsd2 at milibyte.co.uk Sun Sep 7 13:00:11 2008 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sun Sep 7 13:00:52 2008 Subject: switching discs during install In-Reply-To: <20080907070603.57644dc0.bsd-unix@embarqmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> <20080907070603.57644dc0.bsd-unix@embarqmail.com> Message-ID: <200809071400.07646.jmc-freebsd2@milibyte.co.uk> On Sunday 07 September 2008, Randy Pratt wrote: > There is another discussion: > > ? http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel > > which would address the disk swapping by removing all the packages > from disc1 and providing a DVD of packages that could be used > after installation. That looks interesting. It would certainly appeal to me, though I don't expect I'm a "typical" user. My broadband account operates on a PAYG basis, if I go over my monthly usage allowance then I pay per GB for the extra daytime data but all downloads between midnight and 8:00am are still free. With this setup I certainly don't want to be downloading all the packages from a FTP server "on demand" when I'm doing an install. My approach is to fetch the ISOs overnight so that I can install the packages I need to get myself up and running. Afterwards I use portupgrade to bring things up to date, either as a daytime task if there's not too many ports to upgrade or after an overnight run of portupgrade -aFR if there's a lot to do. -- Mike Clarke From kris at FreeBSD.org Sun Sep 7 13:25:56 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Sep 7 13:26:02 2008 Subject: MD5 errors In-Reply-To: <200809070311.m873B8nu041656@en26.ai1.anchorage.mtaonline.net> References: <200809070311.m873B8nu041656@en26.ai1.anchorage.mtaonline.net> Message-ID: <48C3D664.9030802@FreeBSD.org> abc@ai1.anchorage.mtaonline.net wrote: > i was downloading 7.0-RELEASE, > and found the following MD5 errors: > > doc/ > > ERROR: MD5 (doc.cc) = a83976995e055dbe67030397902c5ab9 > MD5SUM MD5 (doc.cc) = 662363b086db1164eb922024428df2df > ERROR: MD5 (install.sh) = 0ddd67ac6a0ca00e0131f63bcde9b145 > MD5SUM MD5 (install.sh) = a1f597bcc955e069fd6679ea4a543d19 > > kernels/ > > ERROR: MD5 (install.sh) = 7f507448f530c624c9b0d9e4881c148f > MD5SUM MD5 (install.sh) = 766fb0b8d2332d5cb5f70be4ec00ea7b > > src/ > > ERROR: MD5 (install.sh) = 311278afa5305731822fbfa8d1de2805 > MD5SUM MD5 (install.sh) = fa16a2a3b7a8b4ec6f4eada5eb5bb326 > > i am worried about doc.cc, because the file size > is very wrong. can anyone please verify that it > is safe to install with these broken MD5 sums > before i try to install? No it's not, that's why the MD5 sums are important ;) Kris From nicodache at gmail.com Sun Sep 7 14:09:43 2008 From: nicodache at gmail.com (nicodache) Date: Sun Sep 7 14:09:50 2008 Subject: LVM2 under FreeBSD ? Message-ID: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> Hello all, I'd like to use something like LVM under FreeBSD, as I have a server running FBSD 7 and I don't know what space to give to what partition, and as I plan on installing postfix+courier-imap soon, I'd like to have some way to share the 235GB left on my drive between /home (legal torrents), and /var (www, mails, etc) I had a look at GEOM and (g)vinum, and none of them seem to accept resize of partition, while LVM (under linux) accept hotresizing of ext2/3 & ReiserFS filesystems. Do yoy know of any solution available as port that would provide me with the same features as LVM ? (resize of partitions while running, to adapt /var to my needs without copying, unmouting, resizing, rebooting, etc) Can LVM be used in FreeBSD ? can the default kernel read & write ext3 partitions ? I might try to install LVM on a primary partition. Thank you in advance for your input. -- nicodache From freebsd-questions-local at be-well.ilk.org Sun Sep 7 14:49:43 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Sep 7 14:49:50 2008 Subject: Compiling Issue In-Reply-To: <29aa29010809060229i6371ca8by11c8b7cd83313e1@mail.gmail.com> (j. c.'s message of "Sat\, 6 Sep 2008 02\:29\:22 -0700") References: <29aa29010809060229i6371ca8by11c8b7cd83313e1@mail.gmail.com> Message-ID: <44r67wovst.fsf@lowell-desk.lan> "j c" writes: > I've had an ongoing problem of freezing. It happens randomly, i feel, > but sometimes it seems like it happens more under heavy load (but not > always). I've ran numerous tests: memtest, hard drive tests, cpu load > tests, basically most of the tests on Ultimate Boot CD, and they all > finish successfully. Well, i've been able to reproduce the freezing > during compilation of gnash, or one of its dependencies agg. Does > anyone have any suggestions? When you say it is reproduceable, do you mean that it always fails at the same point? If you have a truly reproduceable case, then you could break to the kernel debugger (the procedure is described in -- if I recall correctly -- the Developers' Handbook) and get information that a developer could use to analyze the situation. If it isn't reliably reproduceable in that sense, it's still likely to be hardware, even if software tests have been passing. Heat-related issues would be a good guess; perhaps you can monitor some motherboard temperature values. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions-local at be-well.ilk.org Sun Sep 7 14:51:40 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Sep 7 14:51:59 2008 Subject: upgrade path from 5.5 In-Reply-To: (Michael P. Soulier's message of "Sat\, 6 Sep 2008 13\:26\:04 -0400") References: Message-ID: <44myikovpj.fsf@lowell-desk.lan> "Michael P. Soulier" writes: > So if some ports aren't supported on 5.5, I'd better get my aging > gateway upgraded. > > This begs the question of the correct path. I'm tempted to do a fresh > install of 7.0 and then restore, but mergemaster does a better job of > making sure the config files are both updated, and that nothing is > lost. > > Would the correct path be 5.5 -> 6.3 -> 7.0? That should be fine. RELENG_6 instead of 6.3 would also work, and so on... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From doug at polands.org Sun Sep 7 14:55:27 2008 From: doug at polands.org (Doug Poland) Date: Sun Sep 7 14:55:34 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> Message-ID: <20080907141918.GB18709@polands.org> On Sun, Sep 07, 2008 at 02:09:42PM +0000, nicodache wrote: > Hello all, > > I'd like to use something like LVM under FreeBSD, as I have a server > running FBSD 7 and I don't know what space to give to what partition, > and as I plan on installing postfix+courier-imap soon, I'd like to > have some way to share the 235GB left on my drive between /home (legal > torrents), and /var (www, mails, etc) > > I had a look at GEOM and (g)vinum, and none of them seem to accept > resize of partition, while LVM (under linux) accept hotresizing of > ext2/3 & ReiserFS filesystems. > > Do yoy know of any solution available as port that would provide me > with the same features as LVM ? (resize of partitions while running, > to adapt /var to my needs without copying, unmouting, resizing, > rebooting, etc) Can LVM be used in FreeBSD ? can the default kernel > read & write ext3 partitions ? I might try to install LVM on a primary > partition. > Although it's still considered experimental, ZFS would give you similar functionality as LVM2 (and more). I recommend you start with: http://wiki.freebsd.org/ZFS and the man pages. If possible, experiment a little before implementing, ZFS is a paradigm shift from normal disk/volume management. -- Regards, Doug From sfourman at gmail.com Sun Sep 7 16:01:17 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Sep 7 16:01:25 2008 Subject: [SOLVED} bind9 sdb pgsql In-Reply-To: References: <1218342771.53495.1.camel@localhost> Message-ID: <11167f520809070901x6541d01eu50dfd5b1d358099d@mail.gmail.com> On Sun, Aug 10, 2008 at 12:53 AM, R Dicaire wrote: > On Sun, Aug 10, 2008 at 12:32 AM, User Lenzi wrote: >> With a bit of work I was able to successfully build/replace bind9.4.2 >> port and add pgsql sdb support. If anyone's interested, I can post the >> method I used. >> >> >> I am interested, please if you put the posts it would be nice.... > > Sergio, I hope this helps. > > http://www.freebsddiary.org/phorum/read.php?f=4&i=331&t=331 does anyone have a sample pgsql table layout and sample zone data, I can't get this to work Sam Fourman Jr. From jonc at chen.org.nz Sun Sep 7 19:11:16 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Sun Sep 7 19:11:24 2008 Subject: upgrade path from 5.5 In-Reply-To: References: Message-ID: <20080907185439.GA23657@osiris.chen.org.nz> On Sat, Sep 06, 2008 at 01:26:04PM -0400, Michael P. Soulier wrote: > So if some ports aren't supported on 5.5, I'd better get my aging > gateway upgraded. > > This begs the question of the correct path. I'm tempted to do a fresh > install of 7.0 and then restore, but mergemaster does a better job of > making sure the config files are both updated, and that nothing is > lost. > > Would the correct path be 5.5 -> 6.3 -> 7.0? I would personally be tempted to do a fresh install of 7.0, and then boot single user, copy over old config files and then run a mergemaster. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "The things we know best are the things we haven't been taught." - Marquis de Vauvenargues From dino_vliet at yahoo.com Sun Sep 7 19:15:12 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Sun Sep 7 19:15:19 2008 Subject: libjvm.so not found on amd64 system running freebsd 7 Message-ID: <469282.5058.qm@web51108.mail.re2.yahoo.com> Hi all,due to this opera errer I get when I want to test the working of my java browser plugin I get a message that libjvm.so is not found on my amd64 box running freebsd 7.The commands I type are:[root@dual /usr/ports/math]# ldd /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [root@dual /usr/ports/math]# ldd /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: /libexec/ld-elf.so.1: /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: Unexpected inconsistency: dependency libjvm.so not found /usr/local/jdk1.6.0/jre/lib/amd64/libjava.so: exit status 1 [root@dual /usr/ports/math]# whereis libjvm.so libjvm.so: The question is, is there something wrong with my java installation? [root@dual /usr/ports/math]# pkg_info | grep Java diablo-jdk-1.6.0.07.02 Java Development Kit 1.6.0_07.02 diablo-jre-1.6.0.07.02 Java Runtime Environment 1.6.0_07.02 javavmwrapper-2.3.2 Wrapper script for various Java Virtual Machines jdk-1.6.0.3p4_3 Java Development Kit 1.6.0 netbeans55-5.5.1_1 A free and open-source IDE for Java weka-3.4.13 Data Mining Software in Java What should I do to let this opera error message go away?opera: Shared object "libjvm.so" not found, required by "opera" From christer.solskogen at gmail.com Sun Sep 7 19:25:06 2008 From: christer.solskogen at gmail.com (Christer Solskogen) Date: Sun Sep 7 19:25:13 2008 Subject: Local freebsd-update and portsnap server Message-ID: Is there any docs about how to setup a own freebsd-update and portsnap-server/mirror? Or is the only way to setup some kind of proxy? -- chs From kdk at daleco.biz Sun Sep 7 20:14:49 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Sep 7 20:14:56 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809062122.33714.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> <48C3457C.6070301@daleco.biz> <200809062122.33714.af300wsm@gmail.com> Message-ID: <48C43628.20207@daleco.biz> Andrew Falanga wrote: >> *Not having* a reverse entry for a mail server is often >> the cause of issues. > > This I do know very well. I had similar problems when running a sendmail > backup spooler for Syracuse Networks back in 2000. The eventual solution was > that our ISP delegated control of our subnet to us. I'm wondering if > something similar must be done on the internal network, i.e. 192.168.2.0/24. > Perhaps I shouldn't have eluded to the problems that my clients are > experiencing. The real question is, should I configure a sub-domain under > whitneybaptist.org for this server and if so, how to set it up? > > I'm interested as to why you got this answer to the host query you did. In my > original mail, I provided the result of a reverse lookup on that IP address > to which I got this response: > [/usr/home/andy] > -> dig +short -x 72.24.34.252 > 34-252.72-24-cpe.cableone.net. > > Using host, on my machine, I get this response: > [/usr/home/andy] > -> host 72.24.34.252 > 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. > Well, interestingly enough: [30] Sun 07.Sep.2008 DING! [kadmin@archangel][~/logs] host 72.24.34.252 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. So something's changed in the last 12 hours, although I can't say exactly what. AFAIK, my DNS boxen and I were communicating Just Fine(tm) last night as well as this afternoon. > Regardless of the fact that I got a response and you didn't, I'm still not > getting the right information. The reverse mapping should be something like: > > 252.34.24.72.in-addr.arpa PTR mail.whitneybaptist.org. > > I may have gotten the syntax wrong as it's been a while since I've had to > manipulate BIND name tables. > >> And the RFC for ESMTP is #2821. >> > > Thanks for the RFC. > > Andy Well, at this point, I'd take the day off, and tomorrow perhaps have a "dig" at cableone's support ppl, looky here: [35] Sun 07.Sep.2008 14:03:43 [kadmin@archangel][~/logs] dig 72.24.34.1 ; <<>> DiG 9.4.2-P1 <<>> 72.24.34.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56668 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;72.24.34.1. IN A ;; AUTHORITY SECTION: . 3600 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2008090700 1800 900 604800 86400 ;; Query time: 222 msec ;; SERVER: 66.76.92.18#53(66.76.92.18) ;; WHEN: Sun Sep 7 14:03:50 2008 ;; MSG SIZE rcvd: 103 So, it's obvious they're playing with this zone Right Now(tm), (more or less) as the SN seems to indicate today. Possible this is auto-generated or something, but I think you'll get no joy on the PTR records until they do something upstream. As for your internal net, I don't know much about it, unfortunately. KDK From kdk at daleco.biz Sun Sep 7 20:32:12 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Sun Sep 7 20:32:21 2008 Subject: ssh In-Reply-To: <20080907063548.GA38224@shepherd> References: <20080907063548.GA38224@shepherd> Message-ID: <48C43A3B.7050205@daleco.biz> Sahil Tandon wrote: > FBSD1 wrote: > >> On FreeBSD 7.0 how do I tell ssh to allow login from root > > Change the "PermitRootLogin" parameter in /etc/ssh/sshd_config. > >> and also to listen on port 9922 instead of port 22? > > Edit the the "Port" parameter in the same config file. And as an aside ... don't do it. ;-) Just my guess. Kevin Kinsey -- Reactor error - core dumped! From sahil at tandon.net Sun Sep 7 20:41:43 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun Sep 7 20:41:50 2008 Subject: Local freebsd-update and portsnap server In-Reply-To: References: Message-ID: <20080907204140.GA40687@shepherd> Christer Solskogen wrote: > Is there any docs about how to setup a own freebsd-update and > portsnap-server/mirror? Or is the only way to setup some kind of > proxy? Proxy is recommended as per the man page; also see this thread for some background: http://freebsd.monkey.org/freebsd-stable/200604/msg00606.html -- Sahil Tandon From sahil at tandon.net Sun Sep 7 20:45:07 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun Sep 7 20:45:14 2008 Subject: ssh In-Reply-To: <48C43A3B.7050205@daleco.biz> References: <20080907063548.GA38224@shepherd> <48C43A3B.7050205@daleco.biz> Message-ID: <20080907204459.GB40687@shepherd> Kevin Kinsey wrote: > Sahil Tandon wrote: >> FBSD1 wrote: >> >>> On FreeBSD 7.0 how do I tell ssh to allow login from root >> Change the "PermitRootLogin" parameter in >> /etc/ssh/sshd_config. >> >>> and also to listen on port 9922 instead of port 22? >> >> Edit the the "Port" parameter in the same config file. And as an >> aside > > ... don't do it. ;-) > > Just my guess. Woops! I guess the rest of the sentence never made it, and yep, that was it. I was just going to caution against false hopes of increasing security through obscurity. :-) -- Sahil Tandon From infotek at datasync.com Sun Sep 7 21:03:23 2008 From: infotek at datasync.com (Jason L. Ellison) Date: Sun Sep 7 21:03:31 2008 Subject: Open Source Studio to Transmitter Link (STL) using Darkice, FreeBSD,liveCaster, icecast and vlc Message-ID: List, I created an (mostly) Open Source Studio to Transmitter Link using Darkice, FreeBSD,liveCaster, icecast and vlc. I posted about this a over in March of 2007. It has been running with no problems for over a year now. I am hosting a PDF that tries to documents what I did. See: OSSTL: Open Source Studio to Transmitter Link A Studio to Transmitter Link (STL) created with Open Source Software (In use by a local FM and two local AM radio stations) http://jasonellison.net/projects.html My original post to this list in March of 2007. http://lists.tyrell.hu/pipermail/darkice-list/2007-March/000074.html -Jason Ellison From bsam at ipt.ru Sun Sep 7 21:11:41 2008 From: bsam at ipt.ru (Boris Samorodov) Date: Sun Sep 7 21:11:47 2008 Subject: incomplete build In-Reply-To: (Desmond Chapman's message of "Sun\, 7 Sep 2008 10\:31\:53 +0000") References: Message-ID: <85079813@bs1.sp34.ru> On Sun, 7 Sep 2008 10:31:53 +0000 Desmond Chapman wrote: > I'm having build problems with gnome. Patch for firefox doesn't apply cleanly. > Patch for kde3 is the same libungif not found. Please, post exact errors and some previous console lines before errors. It is hard to say something without more information. > A solution? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From freebsd at edvax.de Sun Sep 7 21:21:23 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 21:21:33 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> Message-ID: <20080907232120.2567d5ce.freebsd@edvax.de> On Sun, 7 Sep 2008 14:09:42 +0000, nicodache wrote: > Hello all, > > I'd like to use something like LVM under FreeBSD, as I have a server > running FBSD 7 and I don't know what space to give to what partition, > and as I plan on installing postfix+courier-imap soon, I'd like to > have some way to share the 235GB left on my drive between /home (legal > torrents), and /var (www, mails, etc) Allthough this may not be the answer you've expected, you can put /var and /home onto the same partition (the 235 GB left). Put /dev/ad0s1g in /etc/fstab as /home, create /home/var and put a symlink /var@ -> home/var. This does not create the "over- head" a LVM would need. > Do yoy know of any solution available as port that would provide me > with the same features as LVM ? (resize of partitions while running, > to adapt /var to my needs without copying, unmouting, resizing, > rebooting, etc) As it has been mentioned before, ZFS is much more professional of course. You can add storage to /var or /home without needing to move any content to a new disk. ZFS is part of the base system. > Can LVM be used in FreeBSD ? Yes, FreeBSD brings vinum LVM with the base system. > can the default kernel read & write ext3 > partitions ? I don't think so, but there are tools in sysutils/e2fsprogs that might help you: "Set of utilities and library to manipulate an ext2, ext3 or ext4 filesystem." -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Sun Sep 7 21:31:05 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Sep 7 21:31:11 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> Message-ID: <20080907233036.D21652@wojtek.tensor.gdynia.pl> > I'd like to use something like LVM under FreeBSD, as I have a server > running FBSD 7 and I don't know what space to give to what partition, > and as I plan on installing postfix+courier-imap soon, I'd like to > have some way to share the 235GB left on my drive between /home (legal > torrents), and /var (www, mails, etc) > while making oneself life harder is very popular, by making lots of partitions, and then solving the problems with sophisticated tools, you may make your life simple by making just single partition+swap. you choose From nclangford at gmail.com Sun Sep 7 22:02:37 2008 From: nclangford at gmail.com (Nicholas Langford) Date: Sun Sep 7 22:02:43 2008 Subject: file root partition Message-ID: <5b21d0cf0809071439v60c47fbfj9f27e5a26535e040@mail.gmail.com> Hello all, File named YES appears in root partition. Ive searched but nothing online...any ideas? thanks Nicholas From jalmberg at identry.com Sun Sep 7 22:09:17 2008 From: jalmberg at identry.com (John Almberg) Date: Sun Sep 7 22:09:24 2008 Subject: safest way to upgrade a production server Message-ID: <4066F926-4474-4B46-9030-0E2BD2AD1BA3@identry.com> I'm a newbie admin, responsible for a half-dozen of freebsd servers, most of them production servers. We switched from Linux to Freebsd at the beginning of this year, so all of these servers were newly installed in Dec or Jan. I know I *should* be upgrading them, but so far I haven't had the nerve. However, I've been working with Freebsd for 8 months or so, and I feel ready to take the plunge, if necessary. So, my first question is, do I really need to do this? If so, what is the minimum amount of upgrading I can do to be safe? And how? I've studied the Upgrading chapter in Absolute FreeBSD, and think what I need to do is patch the systems to the proper errata branch. I also think I need to do this using freebsd-update to do a binary update, to upgrade on an errata branch. Am I on the right track, here? I've never done this, so will try upgrading a test system, first. If all goes well, I will give it a whirl on one of the production servers. Frankly, I find this idea terrifying, but I guess it needs to be done. Here is what we are running... > uname -a FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ src/sys/INET_ON amd64 Any hints here, much appreciated! -- John From freebsd at edvax.de Sun Sep 7 22:16:26 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 22:16:33 2008 Subject: file root partition In-Reply-To: <5b21d0cf0809071439v60c47fbfj9f27e5a26535e040@mail.gmail.com> References: <5b21d0cf0809071439v60c47fbfj9f27e5a26535e040@mail.gmail.com> Message-ID: <20080908001622.20f38e9d.freebsd@edvax.de> On Sun, 7 Sep 2008 17:39:27 -0400, "Nicholas Langford" wrote: > File named YES appears in root partition. Ive searched but nothing > online...any ideas? No, but questions: # file /YES # ls -laFGio /YES Hard to tell more without further diagnostics. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Sep 7 22:22:49 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 22:22:57 2008 Subject: safest way to upgrade a production server In-Reply-To: <4066F926-4474-4B46-9030-0E2BD2AD1BA3@identry.com> References: <4066F926-4474-4B46-9030-0E2BD2AD1BA3@identry.com> Message-ID: <20080908002246.6291ed28.freebsd@edvax.de> On Sun, 7 Sep 2008 18:08:55 -0400, John Almberg wrote: > So, my first question is, do I really need to do this? In short: Depends. For servers that are accessible to the public (i. e. the Internet), security updates should be installed (RELEASE-p). Furthermore, security updates for the services you're running are always welcome (for example for mail servers, for Apache, for SSH). > If so, what is the minimum amount of upgrading I can do to be safe? > And how? I'd say it's freebsd-update. % man freebsd-update This lets you follow the RELEASE branch, including security patches. For installed software, see % man portupgrade which requires the port "portupgrade" to be installed, or the "make update" / "portsnap" mechanism to upgrade the ports you've installed and which then need to be re-compiled ("make install"). But I think that's stuff you're trying to avoid. > I've studied the Upgrading chapter in Absolute FreeBSD, and think > what I need to do is patch the systems to the proper errata branch. > > I also think I need to do this using freebsd-update to do a binary > update, to upgrade on an errata branch. > > Am I on the right track, here? Yes, you are. Allthough there's no problem updating the system's source and recompile + reinstall, freebsd-upgrade saves you much work. > I've never done this, so will try upgrading a test system, first. If > all goes well, I will give it a whirl on one of the production servers. Good approach. > Frankly, I find this idea terrifying, but I guess it needs to be done. Hey, I've been running FreeBSD 5.4 until July 2008 and I'd still be using it if not my hard disk had gone mad! :-) > Here is what we are running... > > > uname -a > FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: > Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ > src/sys/INET_ON amd64 When you're upgrading to the 7.x branch, it may (!) be neccessary to install a backwards compatibility (COMPAT) mechanism, or certain ports need upgrade + reinstallation, but it heavily depends on what services you're running. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bernt at bah.homeip.net Sun Sep 7 22:23:14 2008 From: bernt at bah.homeip.net (Bernt Hansson) Date: Sun Sep 7 22:23:22 2008 Subject: which gray is best for print? In-Reply-To: <20080905223859.8ad56b37.freebsd@edvax.de> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> Message-ID: <48C4543F.8070701@bah.homeip.net> Polytropon skrev: > > Anyway, the best reading contrast - black on white - No. The best contrast is light yellow background with black letters. From sahil at tandon.net Sun Sep 7 22:23:41 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun Sep 7 22:23:54 2008 Subject: safest way to upgrade a production server In-Reply-To: <4066F926-4474-4B46-9030-0E2BD2AD1BA3@identry.com> References: <4066F926-4474-4B46-9030-0E2BD2AD1BA3@identry.com> Message-ID: <20080907222336.GB40902@shepherd> John Almberg wrote: > So, my first question is, do I really need to do this? Not unless you can identify a good reason (i.e. feature requirements, security, end-of-life). 6.3 end-of-life is estimated around January 31, 2010, so you still have some time. :-) > If so, what is the minimum amount of upgrading I can do to be safe? > And how? Upgrade ports based on security/feature requirements. We generally do not "upgrade" production servers from one release to another while they're still expected to be in production. You'll probably get a lot of different suggestions from this list -- good luck! -- Sahil Tandon From freebsd at edvax.de Sun Sep 7 22:27:35 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Sep 7 22:27:41 2008 Subject: which gray is best for print? In-Reply-To: <48C4543F.8070701@bah.homeip.net> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <48C4543F.8070701@bah.homeip.net> Message-ID: <20080908002731.4814d117.freebsd@edvax.de> On Mon, 08 Sep 2008 00:22:55 +0200, Bernt Hansson wrote: > Polytropon skrev: > > > > Anyway, the best reading contrast - black on white - > > No. The best contrast is light yellow background with black letters. The Solaris/CDE X Terminal, I know. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From scott.gasch at gmail.com Sun Sep 7 23:27:08 2008 From: scott.gasch at gmail.com (Scott Gasch) Date: Sun Sep 7 23:27:14 2008 Subject: irq19 uhci interrupts taking ~100% of one core? Message-ID: Hi, I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. nearly 100% of 1 cpu is constantly being used handling irq19: uhci4 interrupts. This seems to happen both with and without any USB devices plugged in: vmstat -i interrupt total rate irq1: atkbd0 5 0 irq6: fdc0 1 0 irq17: mskc0 dc0 1180547 18 irq18: skc0 uhci2* 163250699 2512 irq19: uhci4++ 3187989508 49072 irq23: uhci3 ehci1 31 0 cpu0: timer 129208570 1988 cpu1: timer 129208457 1988 cpu2: timer 125750147 1935 cpu3: timer 125750122 1935 Total 3862338087 59452 dmesg uhci4: port 0xa400-0xa41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] Any idea what's going on here and/or how to fix this? Thx, Scott From jeffrey at goldmark.org Sun Sep 7 23:49:30 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sun Sep 7 23:49:38 2008 Subject: USB Drive Reliability In-Reply-To: References: <48A85276.7070306@highperformance.net> <20080818000858.D21615@wojtek.tensor.gdynia.pl> <48A8C40E.2060802@highperformance.net> <37D65ECB-A87E-4949-ABF8-33249DA31D80@goldmark.org> Message-ID: <8C475BB7-ACF1-417C-8684-5C2DC336BC8E@goldmark.org> On Aug 19, 2008, at 9:43 AM, Warren Block wrote: > On Mon, 18 Aug 2008, Jeffrey Goldberg wrote: > >> I have one system (7.0) which becomes extremely unstable if I have >> a USB drive connected. I usually get a system crash in 10 to 30 >> minutes after mounting the USB drive. It has never crashed without >> the USB drive attached, and it has never gone for more than three >> days with it attached. [...] >> Unfortunately, the crashing system is a small form machine and >> there is no way to put in a different USB controller. The USB >> drive was for backups, which I now do over the network to the >> machine that is working just fine. > > That might indicate a cable problem, even just being too long. A > line-powered hub added between a problematic USB card reader and > computer fixed an unreliable situation here. Unfortunately that hasn't solved the problem. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From fbsd1 at a1poweruser.com Mon Sep 8 01:57:22 2008 From: fbsd1 at a1poweruser.com (FBSD1) Date: Mon Sep 8 01:57:35 2008 Subject: switching discs during install In-Reply-To: <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> Message-ID: All this talk about changing the order of the ports on the install cd's is just so much hot air because cd's install media belong to the legacy world. They are fast becoming obsolete just like floppy drives are. Can't even buy a computer these days with a floppy drive and still FreeBSD distributes floppy install images. How absurd is that? FreeBSD needs to come of age in the 21st century and be changed to install using USB memory flash stick technology. Just a little tweaking of the sysinstall program to add USB stick as an option for source of install source would do it. Here is a little script to populate a USB flash stick with the cd1.iso that you may find interesting. This way you can combine the cd1 & cd2 install cd's to a 4GB USB stick and install the system and all the ports you want without switching any install media. You could even use a USB flash stick as the target to install FreeBSD on giving you an mobile FreeBSD system you can plug into any computer and boot from. #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 4 minutes ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 10 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 20 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" From joeb at a1poweruser.com Mon Sep 8 02:20:14 2008 From: joeb at a1poweruser.com (joeb) Date: Mon Sep 8 02:20:22 2008 Subject: ssh In-Reply-To: <20080907204459.GB40687@shepherd> Message-ID: In FreeBSD 6.2 and older the port SSH listened on was controlled by /etc/services. Now in 7.0 SSH no longer looks at /etc/services to find out what port to listen on. Is this by design or error in the move to a newer release of SSH? When it comes to security through obscurity don't be so fast to shoot it down. On my system port 22 was receiving over 700 scans or login attempts a day. Changing the SSH to use xx22 port stopped all the high school and college script kiddies cold. Now I only get maybe 5 hits on my xx22 port every 3 months. In my book I would say 'security through obscurity' is a very simple first step solution that gives great results. But it will not stop the perpetrator who targets your IP addresses on purpose for some unknown reason. Then your SOL. From noc at hdk5.net Mon Sep 8 03:33:48 2008 From: noc at hdk5.net (Al Plant) Date: Mon Sep 8 03:33:55 2008 Subject: Burncd & 700MB rw/cd In-Reply-To: References: Message-ID: <48C49D1B.2030003@hdk5.net> FBSD1 wrote: > Been using burncd since Freebsd 4.0 with 650MB rw/cd's just fine. My local > computer store had a sale on 700MB rw/cd's and I picked up a few. Burncd > gives msg (Failure - read_big illegal request) on these 700MB rw/cd's. The > Freebsd 7.0 man burncd has no info on large sized rw/cd's? > > Does burncd need a programming update to handle these newer larger sized > rw/cd's? > > What other (built in with the release) program can be used to burn 700 MB > rw/cd's? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Aloha, HEre is what we did about a month ago when a similar issue came up wit a couple of us and CDR's. Julien Cigar wrote: > Same problems for me with atapi CD/DVD drives (READ_BIG timeouts, > etc) .. it works a bit better when dma is turned off, but then > performances are very poor. > > On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote: >> N.J. Thomas wrote: >>> * "Snorre D. ?verb?" [2008-08-07 15:29:11+0000]: >>>> When I boot up with the installation DVD these error messages appear >>>> on the screen. >>>> >>>> ad1: FAILURE - READ_DMA status=51 error=84 LBA=0055347 >>>> ad0: FAILURE - READ_DMA status=51 error=84 LBA=0 >>>> etc >>> I got the same exact errors trying to install 7.0-RELEASE on two >>> different Dell boxes. One was 4 years old, the other was brand new (3 >>> months ago). >>> >>> Never was able to fix the problem. For the older one, I plugged in an >>> external DVD drive and installed via that. For the other one, I >>> installed via a mini-install disk, and then did a minimal network >>> install. >>> >>> For the record, they both had SATA drives and the disks worked (and >>> still work) fine after the OS was installed. It was just copying the >>> base system off the CD that was causing errors. >>> >>> Thomas >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> ****************************************888 >> Aloha, >> >> I am getting the same errors as you guys with an intermittient BIG_read one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release. >> >> This is on a no name box with a bio board and 1100 cpu. I've had this on other boxes too and load IDE drives on a box that works with them and then put them in the box with errors and they work just fine. >> >> Every thing gets recognized normally at install time, but the size of the IDE drive a Fujutsu 20 gig. shows twice what it should be every time. >> >> Dont know if this has anything to do with it, except if you change the size in installer it wont load anything. >> >> Maybe one of the top level gurus on the list can help. >> >> >> Aloha, The suggestion to put the folloeing worked to clear my DMA error. In: /boot/loader Put: hw.ata.ata_dma=0 #disable IDE DMA This allowed an uninterrupted boot. -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From scott.gasch at gmail.com Mon Sep 8 05:54:36 2008 From: scott.gasch at gmail.com (Scott Gasch) Date: Mon Sep 8 05:54:44 2008 Subject: irq19 uhci interrupts taking ~100% of one core? In-Reply-To: References: Message-ID: Replying to my own question with more data. Previously I had been running my own kernel; I was curious if the problem would reproduce with a GENERIC kernel. It does but the symptoms are slightly different. The same irq is firing too often and consuming nearly all of one core. But the driver that is associated with the interrupt is different -- it's fwohci0: interrupt total rate irq6: fdc0 1 0 irq17: mskc0 dc0 313242 13 irq18: skc0 uhci2* 124475451 5540 irq19: fwohci0+++ 957875379 42638 irq23: uhci3 ehci1 1145 0 cpu0: timer 44458513 1979 cpu1: timer 44448875 1978 cpu3: timer 43393901 1931 cpu2: timer 43393921 1931 Total 1258360428 56014 This makes me start to wonder if this is not a problem with irq19 (the PIC?) and not one particular device / driver. I'm not sure how to make dig deeper here, any help greatly appreciated. Thx, Scott On Sun, Sep 7, 2008 at 4:07 PM, Scott Gasch wrote: > Hi, > I'm running freebsd 7.0-RELEASE-p4 on a 4-core amd64 box. nearly 100% of 1 > cpu is constantly being used handling irq19: uhci4 interrupts. This seems > to happen both with and without any USB devices plugged in: > > vmstat -i > interrupt total rate > irq1: atkbd0 5 0 > irq6: fdc0 1 0 > irq17: mskc0 dc0 1180547 18 > irq18: skc0 uhci2* 163250699 2512 > irq19: uhci4++ 3187989508 49072 > irq23: uhci3 ehci1 31 0 > cpu0: timer 129208570 1988 > cpu1: timer 129208457 1988 > cpu2: timer 125750147 1935 > cpu3: timer 125750122 1935 > Total 3862338087 59452 > > dmesg > uhci4: port 0xa400-0xa41f irq 19 at device > 29.1 > on pci0 > uhci4: [GIANT-LOCKED] > uhci4: [ITHREAD] > > Any idea what's going on here and/or how to fix this? > > Thx, > Scott > > From lists_freebsd at bluewin.ch Mon Sep 8 06:03:55 2008 From: lists_freebsd at bluewin.ch (Martin Schweizer) Date: Mon Sep 8 06:04:03 2008 Subject: ftp server: create/delete user by web interface In-Reply-To: <692660060809040031j3db9b6eaj87608ceebcec0585@mail.gmail.com> References: <20080904045322.GC29893@saturn.pcs.ms> <692660060809040031j3db9b6eaj87608ceebcec0585@mail.gmail.com> Message-ID: <20080908060448.GA30961@saturn.pcs.ms> Hello Sebastian Sorry for the delay but I was very bussy. Am Thu, Sep 04, 2008 at 09:31:03AM +0200 Sebastian Tymk?w schrieb: > Have you tried cpanel or webmin ? I checked webmin but not very depth. > Or maybe you're looking for solution like ftp server and accounts in > database ? This is a possible way. Probably the combination ftp users in a database is ok. Which one is the "best" solution? > > I've three FreeBSD 7.0 server. Im looking for a combination where I can > > create/delete etc. ftp users as a non-root user (probably from a template). Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; From sebastian.tymkow at gmail.com Mon Sep 8 06:19:02 2008 From: sebastian.tymkow at gmail.com (=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=) Date: Mon Sep 8 06:19:09 2008 Subject: ftp server: create/delete user by web interface In-Reply-To: <20080908060448.GA30961@saturn.pcs.ms> References: <20080904045322.GC29893@saturn.pcs.ms> <692660060809040031j3db9b6eaj87608ceebcec0585@mail.gmail.com> <20080908060448.GA30961@saturn.pcs.ms> Message-ID: <692660060809072319i29893fc1v48737ee76410c7e@mail.gmail.com> Hello, 2008/9/8 Martin Schweizer > > Or maybe you're looking for solution like ftp server and accounts in > > database ? > > This is a possible way. Probably the combination ftp users in a database is > ok. Which one is the "best" solution? > > > > I've three FreeBSD 7.0 server. Im looking for a combination where I can > > > create/delete etc. ftp users as a non-root user (probably from a > template). > > I haven't used such solution,but you can try pureftpd+sql backed or vsftpd with mysql backed. Best regards, Sebastian Tymk?w From gilles.ganault at free.fr Mon Sep 8 07:08:39 2008 From: gilles.ganault at free.fr (Gilles) Date: Mon Sep 8 07:08:52 2008 Subject: [FreeBSD 6.3] Right-way to recover a module? Message-ID: <7rj9c4tpje56ooq1cgt1lvkn2v40ev1jvn@4ax.com> Hello I'm running Asterisk 1.4.20.1 on a FreeBSD that I compiled from the Ports collection. It's the second time I'm having an issue with a FXO card and/or the Zaptel driver that connects the card to the OS. I couldn't figure out what else to do, so I just rebooted the server, but I'd like to know what happened, and whether there's a less drastic solution. Here's some infos: =========== # /usr/local/etc/rc.d/zaptel stop zaptelkldunload: can't find file wcte12xp.ko: No such file or directory kldunload: can't find file wcte11xp.ko: No such file or directory kldunload: can't find file wct4xxp.ko: No such file or directory kldunload: can't find file wct1xxp.ko: No such file or directory kldunload: can't unload file: Device busy kldunload: can't find file wcfxo.ko: No such file or directory kldunload: can't find file tau32pci.ko: No such file or directory kldunload: can't find file qozap.ko: No such file or directory kldunload: can't unload file: Device busy Sep 6 19:11:12 freebsd kernel: kldunload: attempt to unload file that was loaded by the kernel # kldstat Id Refs Address Size Name 1 9 0xc0400000 7a05b0 kernel 2 1 0xc0ba1000 5c304 acpi.ko 12 1 0xc2d6c000 19000 linux.ko 13 1 0xc3ba9000 32000 zaptel.ko 17 1 0xc3c0d000 a000 wcfxs.ko # kldunload -i 13 kldunload: can't unload file: Device busy # kldunload -i 17 kldunload: can't unload file: Device busy =========== Support tells me something that I don't understand but could be comprehensible by FreeBSD experts : "have you checked the modules? it is still under the kernel? i am not very sure the location of ko file in freebsd, please check that, according to the error, it reports that the ko files lost. " Thanks for any tip. From Albert.Shih at obspm.fr Mon Sep 8 07:35:14 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon Sep 8 07:35:22 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <20080907232120.2567d5ce.freebsd@edvax.de> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> <20080907232120.2567d5ce.freebsd@edvax.de> Message-ID: <20080908073503.GD34913@pcjas.obspm.fr> Le 07/09/2008 ? 23:21:20+0200, Polytropon a ?crit > On Sun, 7 Sep 2008 14:09:42 +0000, nicodache wrote: > > > Do yoy know of any solution available as port that would provide me > > with the same features as LVM ? (resize of partitions while running, > > to adapt /var to my needs without copying, unmouting, resizing, > > rebooting, etc) > > As it has been mentioned before, ZFS is much more professional > of course. You can add storage to /var or /home without needing > to move any content to a new disk. ZFS is part of the base system. > Yes of course ZFS is very powerful FS, but I'm not very sure it's ready (on FreeBSD) for production. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 8 sep 2008 09:34:20 CEST From wojtek at wojtek.tensor.gdynia.pl Mon Sep 8 09:01:56 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 8 09:02:03 2008 Subject: [FreeBSD 6.3] Right-way to recover a module? In-Reply-To: <7rj9c4tpje56ooq1cgt1lvkn2v40ev1jvn@4ax.com> References: <7rj9c4tpje56ooq1cgt1lvkn2v40ev1jvn@4ax.com> Message-ID: <20080908110106.G27211@wojtek.tensor.gdynia.pl> > =========== > # /usr/local/etc/rc.d/zaptel stop > zaptelkldunload: can't find file wcte12xp.ko: No such file or > directory > kldunload: can't find file wcte11xp.ko: No such file or directory > kldunload: can't find file wct4xxp.ko: No such file or directory > kldunload: can't find file wct1xxp.ko: No such file or directory > kldunload: can't unload file: Device busy > kldunload: can't find file wcfxo.ko: No such file or directory > kldunload: can't find file tau32pci.ko: No such file or directory > kldunload: can't find file qozap.ko: No such file or directory > kldunload: can't unload file: Device busy > is still under the kernel? i am not very sure the location of ko file > in freebsd, please check that, according to the error, it reports that > the ko files lost. " > > Thanks for any tip. > > _______________________________________________ on my machine here: [root@... ~]# pkg_info -L zaptel-1.4.6_7|less Information for zaptel-1.4.6_7: Files: /usr/local/bin/fxo_test /usr/local/bin/fxotune /usr/local/bin/ztcfg /usr/local/bin/ztmonitor /usr/local/bin/zttest /usr/local/bin/zttool /usr/local/etc/zaptel.conf.sample /usr/local/include/zaptel/tonezone.h /usr/local/include/zaptel/zaptel.h /usr/local/lib/libtonezone.a /usr/local/lib/zaptel/linker.hints /usr/local/lib/zaptel/qozap.ko /usr/local/lib/zaptel/tau32pci.ko /usr/local/lib/zaptel/wcfxo.ko /usr/local/lib/zaptel/wcfxs.ko /usr/local/lib/zaptel/wct1xxp.ko /usr/local/lib/zaptel/wct4xxp.ko /usr/local/lib/zaptel/wcte11xp.ko /usr/local/lib/zaptel/wcte12xp.ko /usr/local/lib/zaptel/zaphfc.ko /usr/local/lib/zaptel/zaptel.ko /usr/local/lib/zaptel/ztdummy.ko /usr/local/etc/rc.d/zaptel From wojtek at wojtek.tensor.gdynia.pl Mon Sep 8 09:02:28 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 8 09:02:35 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <20080908073503.GD34913@pcjas.obspm.fr> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> <20080907232120.2567d5ce.freebsd@edvax.de> <20080908073503.GD34913@pcjas.obspm.fr> Message-ID: <20080908110152.I27211@wojtek.tensor.gdynia.pl> >> > Yes of course ZFS is very powerful FS, but I'm not very sure it's ready (on you meant very powerrequiring ;) > FreeBSD) for production. > > Regards. > -- > Albert SHIH > SIO batiment 15 > Observatoire de Paris Meudon > 5 Place Jules Janssen > 92195 Meudon Cedex > Heure local/Local time: > Lun 8 sep 2008 09:34:20 CEST > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From que_deseja at hotmail.com Mon Sep 8 09:10:57 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Mon Sep 8 09:11:08 2008 Subject: incomplete build Message-ID: ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for libthai-0.1.5_3 ===> Returning to build of kdelibs-3.5.8 ===> kdelibs-3.5.8 depends on shared library: tiff.4 - found ===> kdelibs-3.5.8 depends on shared library: xml2.5 - found ===> kdelibs-3.5.8 depends on shared library: xslt.2 - found ===> kdelibs-3.5.8 depends on shared library: cups - not found ===> Verifying install for cups in /usr/ports/print/cups-base ===> Patching for cups-base-1.3.5_2 ===> Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej => Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11/kdelibs3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kde3. # _________________________________________________________________ See how Windows connects the people, information, and fun that are part of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ From MIXSHOWBLAST at GMAIL.COM Mon Sep 8 09:15:01 2008 From: MIXSHOWBLAST at GMAIL.COM (THE MIXSHOW BLAST DJ'Z) Date: Mon Sep 8 09:15:08 2008 Subject: K-Diamond's New Single Message-ID: <99be76f8ffcb1e292985521abbd358f1@fanbridge.com> Your Email client is not formated to view HTML emails. We have included the text email of the message. With the success of his street certified club banger "Table Dance" Dallas,TX based rap artist K-Diamondz reminds us why we all love "Hip Hop." Journey with K-Diamondz as he sings a beautiful ballad to his beloved girlfriend on this soon to be hip hop classic "Hip Hop Got Me." K-Diamondz insists that he is so in love with Hip Hop he tattooed it on his hand. Drops & Booking K-Diamondz "Hip Hop Got Me" Street Pop Records Street Pop 469-951-0930 streetpop@gmail.com myspace.com/streetpoppromotions http://sharebee.com/abb741b6 ---------------------------------------- THE MIXSHOW BLAST DJ'Z sent this email to questions@freebsd.org Questions? Contact MIXSHOWBLAST@GMAIL.COM or THE MIXSHOW BLAST DJ'Z, c/o FanBridge, Inc. - 295 Greenwich Street, New York, New York 10007, United States Privacy Policy - http://www.FanBridge.com/learn/privacy.php Unsubscribe - http://www.FanBridge.com/unsubscribe/immed.php?userid=61585&email=questions@freebsd.org&confCode=9t3FrF471252ett9a1e6Y9bhrP Update Your Information: http://www.FanBridge.com/signup/fanupdate.php?userid=61585&email=questions@freebsd.org&confCode=9t3FrF471252ett9a1e6Y9bhrP Forward to a friend: http://mixshowblast.fanbridge.com/signup/forward.php?userid=61585&sid=76458559&cid=478098&cc=9t3FrF471252ett9a1e6Y9bhrP This email message is powered by FanBridge: http://www.FanBridge.com/b.php?id=61585 Free Email and Mobile fan list management for bands. From iwrtech at iwr.ru.ac.za Mon Sep 8 09:15:48 2008 From: iwrtech at iwr.ru.ac.za (DA Forsyth) Date: Mon Sep 8 09:15:56 2008 Subject: safest way to upgrade a production server In-Reply-To: <20080908033359.D75A810656C2@hub.freebsd.org> References: <20080908033359.D75A810656C2@hub.freebsd.org> Message-ID: <48C50960.17104.472ED1DE@iwrtech.iwr.ru.ac.za> On 8 Sep 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 232, Issue 1": Hi John > So, my first question is, do I really need to do this? yes > If so, what is the minimum amount of upgrading I can do to be safe? > And how? I track RELENG_7_0 in my source tree, but only build it when I see somehting important in UPDATING. what is important? stuff like,I don't run bind, so can ignore any bind related issues, but I do run Samba and Apache, so if anything effects them, I get right on it. If I need to build world (I have a custom kernel) I can do it anytime, then after it is built (and kernel) I come in on a Saturday and take the server to single user and install world and kernel etc etc, following all the relevant instructions. The thing that can take most time is mergemaster, but so what? on a Saturday that only affects web visitors for half an hour or so. > I also think I need to do this using freebsd-update to do a binary > update, to upgrade on an errata branch. if you are not running custom kernels then freebsd-update is fantastic. I use it on my 2 print servers, which have almost identicle 'minimal' setups and don't need a custom kernel. > I've never done this, so will try upgrading a test system, first. If > all goes well, I will give it a whirl on one of the production servers. I have installed all my software from ports, so I do this: - keep the ports tree updated. I wrote a little script that gets called from cron on Monday morning early, that sends me an email telling me what ports have been updated in the last week. this mornings list is 1 2 ipmitool 1 2 mailman 1 4 rsync 1 5 samba 1 9 apcupsd 2 1 lsof 2 10 pear-XML_Parser 4 4 libksba 7 7 libxslt 9 11 pear-Log 10 58 gtk 24 1 png 54 5 apache The numbers are 'required by', and 'requires', giving me an idea of how many things are affected by this upgrade. - following that list, I decide whether to upgrade now or leave it till next week. - to upgrade, I run 'portupgrade -vrR portname' and just fill in the portname from my emailed list. sometimes I do several related ports at the same time, like all php* or lib* - restart any services that were upgraded, in my case usually samba, but sometimes net-snmp and so on. - TEST with some early experiences in having a portupgrade break things, I prefer not to do a 'portupgrade -a', instead doing them one by one and thus seeing all the messages and so on. Note that I do this Monday or Tuesday morning, on a live server with ~25 local users online, and external web service, and have never had a huge problem. A few years ago the horde upgrade broke a lot of stuff, but I fixed it from the backups of the setup files I keep on another server. I tar /etc /usr/local/etc /usr/local/www/horde/config and so on. havn't needed them in ages, but I do it anyway. > Frankly, I find this idea terrifying, but I guess it needs to be done. yeah, me too, but it gets easier. keep records of what you have done, and what the results are. makes problem tracking easier. I use a 'sort of a blog' so I can access the information remotely. I used to have the blog on a machine in a different building but that has become impossible, so now it exists on 2 local machines. if the main machine dies I can still see my blog entries for help in fixing it. info on how you set something up is just as important as backups of the machine itself. > > uname -a > FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: > Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ > src/sys/INET_ON amd64 oooh, that is a bit old I think. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From david at vizion2000.net Mon Sep 8 09:23:50 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 09:24:02 2008 Subject: Postfix issue Message-ID: <200809080247.47237.david@vizion2000.net> Hi Could anyone tell me what entry I should make in postfix configuration files to bounce mails directed to root@mydomain that emanate from a source outside my local network. Sorry to ask the question here but postfix users mailing list is currently rejecting mails from servers on a dynamic ip address - so I cannot get through to ask a question there. Thanks David From MIXSHOWBLAST at GMAIL.COM Mon Sep 8 10:36:40 2008 From: MIXSHOWBLAST at GMAIL.COM (THE MIXSHOW BLAST DJ'Z) Date: Mon Sep 8 10:37:02 2008 Subject: Sterlen Roberts New Single "My Girl" Message-ID: <5ca709128094bd7b051fdb45ce77b2a5@fanbridge.com> Your Email client is not formated to view HTML emails. We have included the text email of the message. MIXSHOWBLAST PRESENTS - STERLEN ROBERTS - http://sharebee.com/fbf6493c ---------------------------------------- THE MIXSHOW BLAST DJ'Z sent this email to questions@freebsd.org Questions? Contact MIXSHOWBLAST@GMAIL.COM or THE MIXSHOW BLAST DJ'Z, c/o FanBridge, Inc. - 295 Greenwich Street, New York, New York 10007, United States Privacy Policy - http://www.FanBridge.com/learn/privacy.php Unsubscribe - http://www.FanBridge.com/unsubscribe/immed.php?userid=61585&email=questions@freebsd.org&confCode=9t3FrF471252ett9a1e6Y9bhrP Update Your Information: http://www.FanBridge.com/signup/fanupdate.php?userid=61585&email=questions@freebsd.org&confCode=9t3FrF471252ett9a1e6Y9bhrP Forward to a friend: http://mixshowblast.fanbridge.com/signup/forward.php?userid=61585&sid=76458559&cid=478105&cc=9t3FrF471252ett9a1e6Y9bhrP This email message is powered by FanBridge: http://www.FanBridge.com/b.php?id=61585 Free Email and Mobile fan list management for bands. From sahil at tandon.net Mon Sep 8 10:38:09 2008 From: sahil at tandon.net (Sahil Tandon) Date: Mon Sep 8 10:38:31 2008 Subject: Postfix issue In-Reply-To: <200809080247.47237.david@vizion2000.net> References: <200809080247.47237.david@vizion2000.net> Message-ID: <20080908103805.GA41978@shepherd> David Southwell wrote: > Could anyone tell me what entry I should make in postfix > configuration files to bounce mails directed to root@mydomain > that emanate from a source outside my local network. After permitting your networks in the smtpd_recipient_restrictions, use check_recipient_access to REJECT any messages with an RCPT TO root@mydomain. http://www.postfix.org/postconf.5.html#check_recipient_access http://www.postfix.org/access.5.html -- Sahil Tandon From keramida at ceid.upatras.gr Mon Sep 8 10:57:26 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Sep 8 10:57:34 2008 Subject: Postfix issue In-Reply-To: <200809080247.47237.david@vizion2000.net> (David Southwell's message of "Mon, 8 Sep 2008 02:47:47 -0700") References: <200809080247.47237.david@vizion2000.net> Message-ID: <87hc8qewhk.fsf@kobe.laptop> On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell wrote: > Hi > > Could anyone tell me what entry I should make in postfix configuration > files to bounce mails directed to root@mydomain that emanate from a > source outside my local network. > > Sorry to ask the question here but postfix users mailing list is > currently rejecting mails from servers on a dynamic ip address - so I > cannot get through to ask a question there. I don't think that restriction is going to be lifted any time soon. So why are you not using your ISP to relay emails, using its mail gateway (which should have a static IP address)? From sahil at tandon.net Mon Sep 8 11:10:15 2008 From: sahil at tandon.net (Sahil Tandon) Date: Mon Sep 8 11:10:22 2008 Subject: Postfix issue In-Reply-To: <200809080247.47237.david@vizion2000.net> References: <200809080247.47237.david@vizion2000.net> Message-ID: <20080908111011.GA42141@shepherd> David Southwell wrote: > Sorry to ask the question here but postfix users mailing list is > currently rejecting mails from servers on a dynamic ip address > - so I cannot get through to ask a question there. Incidentally, your IP is also listed on several RBLs. -- Sahil Tandon From david at vizion2000.net Mon Sep 8 11:12:43 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 11:12:50 2008 Subject: Postfix issue Message-ID: <200809080436.41021.david@vizion2000.net> On Monday 08 September 2008 03:57:11 you wrote: > On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell wrote: > > Hi > > > > Could anyone tell me what entry I should make in postfix configuration > > files to bounce mails directed to root@mydomain that emanate from a > > source outside my local network. > > > > Sorry to ask the question here but postfix users mailing list is > > currently rejecting mails from servers on a dynamic ip address - so I > > cannot get through to ask a question there. > > I don't think that restriction is going to be lifted any time soon. So > why are you not using your ISP to relay emails, using its mail gateway > (which should have a static IP address)? I think the restriction is OTT especially in the light of civil liberties issues. I do not like the fact that a number of governments (including most european ones) now have the right to access all emails that pass through an ISP's server. They do not have the right to access private server systems unless they have a warrant. BIG BROTHER is watching far too much. Frankly I am surprised that organisations such as Postfix are not aware of the issue and realise the civil liberties implicati Another emerging issue is cable operators refusing to allow fixed IP address so they can receive revenue from reporting on user usage data. Additionally low volume users, unless they pay a high premium and subscribe to a business service cannot acquire fixed IPs. IN some areas that are primarily residential they will not even allow fixed IPs at any price. This movement to commercialise the internet and limit access in this way is deplorable when there are alternative methods of dealing with legitimate problems. David From david at vizion2000.net Mon Sep 8 11:13:05 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 11:13:12 2008 Subject: Postfix issue Message-ID: <200809080437.03339.david@vizion2000.net> On Monday 08 September 2008 03:38:05 Sahil Tandon wrote: > David Southwell wrote: > > Could anyone tell me what entry I should make in postfix > > configuration files to bounce mails directed to root@mydomain > > that emanate from a source outside my local network. > > After permitting your networks in the smtpd_recipient_restrictions, use > check_recipient_access to REJECT any messages with an RCPT TO > root@mydomain. > > http://www.postfix.org/postconf.5.html#check_recipient_access > http://www.postfix.org/access.5.html Thanks very much.. I seem to be struggling getting with the postfix command structure. If you have the time would you be kind enough to give me specific examples of the actual entries to be made in the appropriate files. In case it is relevant my server has a number of virtual domains but the problem I am getting is on the primary address for the mail server. Assume the email address in question is root@host.mydomain.tld which appears to be subjected to problems and I want to permit only addresses on the local network to send emails to that address. Thanks in advance No problem if you are too busy David From wojtek at wojtek.tensor.gdynia.pl Mon Sep 8 11:19:24 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 8 11:19:31 2008 Subject: Postfix issue In-Reply-To: <200809080436.41021.david@vizion2000.net> References: <200809080436.41021.david@vizion2000.net> Message-ID: <20080908131544.V27701@wojtek.tensor.gdynia.pl> > > I do not like the fact that a number of governments (including most european > ones) now have the right to access all emails that pass through an ISP's only if you use big operators. > BIG BROTHER is watching far too much. Frankly I am surprised that we have democracy. in democracy majority decides for everybody. majority wanted it for "they own good". minority has to shut up or go away. > Another emerging issue is cable operators refusing to allow fixed IP address > so they can receive revenue from reporting on user usage data. could you please tell more about the sentence above. maybe it's my bad english but i don't understand. why constantly changing user IP could help reporting user data and getting revenue? > This movement to commercialise the internet and limit access in this way is > deplorable when there are alternative methods of dealing with legitimate even now we are more restricted than people in China, where they have "chinese internet" with very very limited access to outside, but withing chinese internet there are very little limits. From david at vizion2000.net Mon Sep 8 11:19:31 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 11:19:38 2008 Subject: Postfix issue In-Reply-To: <20080908111011.GA42141@shepherd> References: <200809080247.47237.david@vizion2000.net> <20080908111011.GA42141@shepherd> Message-ID: <200809080443.29087.david@vizion2000.net> On Monday 08 September 2008 04:10:11 Sahil Tandon wrote: > David Southwell wrote: > > Sorry to ask the question here but postfix users mailing list is > > currently rejecting mails from servers on a dynamic ip address > > - so I cannot get through to ask a question there. > > Incidentally, your IP is also listed on several RBLs. You are right - that is why I am asking this question to help me fix the problem. Someone hacked our network. I have fixed most stuff but need to fix this issue to close the final door. !!! Someone got a trojan onto my wifes windows 32 bit system which has access to my picture library (I am a photographer). It has taken me three days to fix the problem there and then I found they had used that route to get onto the freebsd server. I have blocked that access now but there are some things to fix on the mail suystem and this is one of them. I think I have closed most loopholes now. If you could help me with this one it would be appreciated. Thanks for your help David From wojtek at wojtek.tensor.gdynia.pl Mon Sep 8 11:25:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Sep 8 11:25:24 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <20080908112346.GB1204@freebsd.chezmoi.fr> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> <20080907232120.2567d5ce.freebsd@edvax.de> <20080908073503.GD34913@pcjas.obspm.fr> <20080908110152.I27211@wojtek.tensor.gdynia.pl> <20080908112346.GB1204@freebsd.chezmoi.fr> Message-ID: <20080908132406.J27739@wojtek.tensor.gdynia.pl> >>> Yes of course ZFS is very powerful FS, but I'm not very sure it's ready (on >> >> you meant very powerrequiring ;) > > Yes...but can you say if we have many power (RAM, CPU, etc...) we can use if you just want to waste that power - you probably could. From david at vizion2000.net Mon Sep 8 11:27:28 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 11:27:35 2008 Subject: Postfix issue In-Reply-To: <20080908131544.V27701@wojtek.tensor.gdynia.pl> References: <200809080436.41021.david@vizion2000.net> <20080908131544.V27701@wojtek.tensor.gdynia.pl> Message-ID: <200809080451.25774.david@vizion2000.net> On Monday 08 September 2008 04:19:11 Wojciech Puchar wrote: > > I do not like the fact that a number of governments (including most > > european ones) now have the right to access all emails that pass through > > an ISP's > > only if you use big operators. All UK operators are "big operators and covered by this -- if you provide internet access you jhave to give government access!! > > > BIG BROTHER is watching far too much. Frankly I am surprised that > > we have democracy. in democracy majority decides for everybody. > majority wanted it for "they own good". minority has to shut up or go > away. A democracy that does not respect minority rights including civil liberties is not a democracy but an authoritarian state. > > > Another emerging issue is cable operators refusing to allow fixed IP > > address so they can receive revenue from reporting on user usage data. > > could you please tell more about the sentence above. maybe it's my bad > english but i don't understand. why constantly changing user IP could help > reporting user data and getting revenue? They keep track of who is connected by using hardware info and by use of login security. > > > This movement to commercialise the internet and limit access in this way > > is deplorable when there are alternative methods of dealing with > > legitimate > > even now we are more restricted than people in China, where they have > "chinese internet" with very very limited access to outside, but withing > chinese internet there are very little limits. Whether anyone else is more or less affected is irrelevant. I would not want to sanction state executions in my own country because state executions are permitted in either USA or China or Iran or Iraq!! Neither would I want to approve breaches of civil liberties because there are breaches in Chine. David From alim9903 at yahoo.com Mon Sep 8 05:41:20 2008 From: alim9903 at yahoo.com (mohd hilmi mohd salleh) Date: Mon Sep 8 11:32:52 2008 Subject: Error :Code 1 Message-ID: <157836.23401.qm@web51404.mail.re2.yahoo.com> I try to build and install custom kernel.However when i write this command, make buildkernel KERNCONF=MYKERNEL I got this error: ERROR:Missing kernel configuration file(s) (MYKERNEL) ****Error code 1 Stop in /usr/src ****Error code 1 Stop in /usr/src Can somebody help me! Thanks, -Hilmi From Albert.Shih at obspm.fr Mon Sep 8 11:34:48 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon Sep 8 11:35:20 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <20080908132406.J27739@wojtek.tensor.gdynia.pl> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> <20080907232120.2567d5ce.freebsd@edvax.de> <20080908073503.GD34913@pcjas.obspm.fr> <20080908110152.I27211@wojtek.tensor.gdynia.pl> <20080908112346.GB1204@freebsd.chezmoi.fr> <20080908132406.J27739@wojtek.tensor.gdynia.pl> Message-ID: <20080908112929.GD1204@freebsd.chezmoi.fr> Le 08/09/2008 ? 13:24:51+0200, Wojciech Puchar a ?crit > >>> Yes of course ZFS is very powerful FS, but I'm not very sure it's ready (on > >> > >> you meant very powerrequiring ;) > > > > Yes...but can you say if we have many power (RAM, CPU, etc...) we can use > > if you just want to waste that power - you probably could. I don't very like the ?probably? ;-) IMHO ZFS is something amazing, I'm using it on Solaris, and whe you have ~30 To on the server you cannot use UFS or ext3 or anything to need a fsck (event it's not every time, when one of our linux server need to make his fsck that block everything). So I'm very happy the ZFS is on FreeBSD, and I'm waiting when ZFS become stable and could use in production. All of that to say it's not a ?waste that power? for me if ZFS working. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26 Heure local/Local time: Lun 8 sep 2008 13:26:32 CEST From Albert.Shih at obspm.fr Mon Sep 8 11:34:48 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon Sep 8 11:35:21 2008 Subject: LVM2 under FreeBSD ? In-Reply-To: <20080908110152.I27211@wojtek.tensor.gdynia.pl> References: <82029aed0809070709n65f67632qcfd4cd3fbdda22f@mail.gmail.com> <20080907232120.2567d5ce.freebsd@edvax.de> <20080908073503.GD34913@pcjas.obspm.fr> <20080908110152.I27211@wojtek.tensor.gdynia.pl> Message-ID: <20080908112346.GB1204@freebsd.chezmoi.fr> Le 08/09/2008 ? 11:02:05+0200, Wojciech Puchar a ?crit > >> > > Yes of course ZFS is very powerful FS, but I'm not very sure it's ready (on > > you meant very powerrequiring ;) Yes...but can you say if we have many power (RAM, CPU, etc...) we can use ZFS in production ? Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Lun 8 sep 2008 13:23:01 CEST From freebsd at edvax.de Mon Sep 8 11:41:25 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Sep 8 11:41:32 2008 Subject: Error :Code 1 In-Reply-To: <157836.23401.qm@web51404.mail.re2.yahoo.com> References: <157836.23401.qm@web51404.mail.re2.yahoo.com> Message-ID: <20080908134121.608c6d9f.freebsd@edvax.de> On Sun, 7 Sep 2008 22:14:38 -0700 (PDT), mohd hilmi mohd salleh wrote: > I try to build and install custom kernel.However when i write this command, > > make buildkernel KERNCONF=MYKERNEL > > I got this error: > > ERROR:Missing kernel configuration file(s) (MYKERNEL) > ****Error code 1 > > Stop in /usr/src > ****Error code 1 > > Stop in /usr/src > > Can somebody help me! Check if your kernel configuration file is named "MYKERNEL" and is located in /usr/src/sys/i386/conf (in case you're using x86). You may have chosen another name? Pay attention to case sensitivity, MyKerNel != MYKERNEL. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Johan at double-l.nl Mon Sep 8 11:47:48 2008 From: Johan at double-l.nl (Johan Hendriks) Date: Mon Sep 8 11:47:55 2008 Subject: Error :Code 1 References: <157836.23401.qm@web51404.mail.re2.yahoo.com> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE0F1@w2003s01.double-l.local> >I try to build and install custom kernel.However when i write this command, > make buildkernel KERNCONF=MYKERNEL >I got this error: >ERROR:Missing kernel configuration file(s) (MYKERNEL) >****Error code 1 >Stop in /usr/src >****Error code 1 >Stop in /usr/src >Can somebody help me! >Thanks, >-Hilmi You need to create a kernel config file and give it a name like MYKERNEL Place this file in /usr/src/sys/i386/conf/ If you use amd64 then it needs to go in /usr/src/sys/amd64/conf/ If you named that file KRNL then the command needs to be: make buildkernel KERNCONF=KRNL regards Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.19/1659 - Release Date: 8-9-2008 7:01 From keramida at ceid.upatras.gr Mon Sep 8 11:54:10 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Sep 8 11:54:28 2008 Subject: Postfix issue References: <200809080436.41021.david@vizion2000.net> Message-ID: <87wshmdfav.fsf@kobe.laptop> On Mon, 8 Sep 2008 04:33:14 -0700, David Southwell wrote: >On Monday 08 September 2008 03:57:11 you wrote: >>On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell wrote: >>> Could anyone tell me what entry I should make in postfix configuration >>> files to bounce mails directed to root@mydomain that emanate from a >>> source outside my local network. >>> >>> Sorry to ask the question here but postfix users mailing list is >>> currently rejecting mails from servers on a dynamic ip address - so I >>> cannot get through to ask a question there. >> >> I don't think that restriction is going to be lifted any time soon. So >> why are you not using your ISP to relay emails, using its mail gateway >> (which should have a static IP address)? > > I think the restriction is OTT especially in the light of civil > liberties issues. > > I do not like the fact that a number of governments (including most > european ones) now have the right to access all emails that pass > through an ISP's server. They do not have the right to access private > server systems unless they have a warrant. 'Civil liberties' are only meaningful in the context of a specific 'civilization'. Welcome to the civilization that allows spammers to use dynamic IP addresses to disrupt, annoy, cause harm, commit commercial and all other sorts of fraud. It is not a perfect civilization, but it's the one we have, and trying to hide our heads in the sand about the *real* problem these restrictions are trying to solve isn't going to make things much better any time soon now. One may easily argue that the 'civil laws' that forbid stealing from other people are 'limiting the freedom we have to use the potentially boundless resources available all over the place'. I don't think anyone would consider the argument in favor of stealing as very sound. The same can be said of the IP address space. One can argue for days, for weeks, or even _years_, that requiring a static IP address to be able to post to a 'common resource' --like the mailing list-- is a limit to the freedom of everyone. I'm not very convinced this limit is as bad as you are trying to describe, though. In particular, I am not really convinced the 'freedom' of everyone to post from non-static IP addresses is worth the immediate problems this would cause by massively increasing the problems we have with spam mail even today. Giorgos From david at vizion2000.net Mon Sep 8 11:57:05 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 11:57:12 2008 Subject: Postfix issue In-Reply-To: <878wu2eu56.fsf@kobe.laptop> References: <200809080247.47237.david@vizion2000.net> <200809080433.30714.david@vizion2000.net> <878wu2eu56.fsf@kobe.laptop> Message-ID: <200809080521.03550.david@vizion2000.net> On Monday 08 September 2008 04:47:49 Giorgos Keramidas wrote: > On Mon, 8 Sep 2008 04:33:14 -0700, David Southwell wrote: > >On Monday 08 September 2008 03:57:11 you wrote: > >>On Mon, 8 Sep 2008 02:47:47 -0700, David Southwell wrote: > >>> Could anyone tell me what entry I should make in postfix configuration > >>> files to bounce mails directed to root@mydomain that emanate from a > >>> source outside my local network. > >>> > >>> Sorry to ask the question here but postfix users mailing list is > >>> currently rejecting mails from servers on a dynamic ip address - so I > >>> cannot get through to ask a question there. > >> > >> I don't think that restriction is going to be lifted any time soon. So > >> why are you not using your ISP to relay emails, using its mail gateway > >> (which should have a static IP address)? > > > > I think the restriction is OTT especially in the light of civil > > liberties issues. > > > > I do not like the fact that a number of governments (including most > > european ones) now have the right to access all emails that pass > > through an ISP's server. They do not have the right to access private > > server systems unless they have a warrant. > > 'civil liberties' are only meaningful in the context of a specific > 'civilization'. Welcome to the civilization that allows spammers to use > dynamic IP addresses to disrupt, annoy, cause harm, commit commercial > and all other sorts of fraud. > > One may easily argue that the 'civil laws' that forbid stealing from > other people are 'limiting the freedom we have to use the potentially > boundless resources available all over the place'. I don't think anyone > would consider the argument in favor of stealing as very sound. > > The same can be said of the IP address space. One can argue for days, > nay for _weeks_ or even years, that requiring a static IP address to be > able to post to a 'common resource' --like the mailing list-- is a limit > to the freedom of everyone. I'm not very convinced this limit is as bad > as you are trying to describe, though. > > Giorgos In yesterday's world anyone could send a physical letter to any address anywhere in the world. I get spam letters through the letter box it is up to me to chuck them in the bin. Why should the internet be different especially when the restrictions on fixed IPs are brought about soleley for commercial interests. If the same protocol was applied to physical mail then we would not have been allowed to send letters unless we had a big building to send it from and all letters would have had to have had a "big building" sending address. No banning on the grounds of address type is discriminations. Yes bad because there has been specific abuse and ban until the abuse is cleaned up.. but do not ban on type of address!! It would be like saying only the rich could send letters!! David From cyb. at gmx.net Mon Sep 8 12:02:58 2008 From: cyb. at gmx.net (Andreas Rudisch) Date: Mon Sep 8 12:03:07 2008 Subject: Error :Code 1 In-Reply-To: <157836.23401.qm@web51404.mail.re2.yahoo.com> References: <157836.23401.qm@web51404.mail.re2.yahoo.com> Message-ID: <20080908140251.17d6714c.cyb.@gmx.net> On Sun, 7 Sep 2008 22:14:38 -0700 (PDT) mohd hilmi mohd salleh wrote: > I try to build and install custom kernel.However when i write this command, > > make buildkernel KERNCONF=MYKERNEL > > I got this error: > > ERROR:Missing kernel configuration file(s) (MYKERNEL) > ****Error code 1 Your kernel configuration file is missing or has another name. Read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080908/1674e648/attachment.pgp From z.szalbot at lcwords.com Mon Sep 8 12:03:37 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Mon Sep 8 12:03:44 2008 Subject: Postfix issue In-Reply-To: <200809080521.03550.david@vizion2000.net> References: <200809080247.47237.david@vizion2000.net> <200809080433.30714.david@vizion2000.net> <878wu2eu56.fsf@kobe.laptop> <200809080521.03550.david@vizion2000.net> Message-ID: <48C51492.1060103@lcwords.com> David Southwell: > In yesterday's world anyone could send a physical letter to any address > anywhere in the world. I get spam letters through the letter box it is up to > me to chuck them in the bin. Why should the internet be different especially > when the restrictions on fixed IPs are brought about soleley for commercial > interests. Because of sheer volume... in yesterday's world one was not able to send thousands of letters in a few seconds for free...or by using services one has not paid for... -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080908/70f87556/smime.bin From jstrother9109 at gmail.com Mon Sep 8 12:04:52 2008 From: jstrother9109 at gmail.com (James Strother) Date: Mon Sep 8 12:04:59 2008 Subject: [laptop-discuss] wmp54g card not recognized In-Reply-To: <48C5082C.8070604@Sun.COM> References: <4b2381fb0809080331l773b6beo95159be4f248e694@mail.gmail.com> <48C5082C.8070604@Sun.COM> Message-ID: <4b2381fb0809080504v58c7af83t5eab0ebd0d222eb@mail.gmail.com> Here is the output from scanpci: pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x254c Intel Corporation E7501 Memory Controller Hub pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2543 Intel Corporation E7500/E7501 Hub Interface B PCI-to-PCI Bridge pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2482 Intel Corporation 82801CA/CAM USB Controller #1 pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2484 Intel Corporation 82801CA/CAM USB Controller #2 pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x2487 Intel Corporation 82801CA/CAM USB Controller #3 pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e Intel Corporation 82801 PCI Bridge pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2480 Intel Corporation 82801CA LPC Interface Controller pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x248b Intel Corporation 82801CA Ultra ATA Storage Controller pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x2483 Intel Corporation 82801CA/CAM SMBus Controller pci bus 0x0001 cardnum 0x01 function 0x00: vendor 0x8086 device 0x1229 Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 pci bus 0x0002 cardnum 0x1c function 0x00: vendor 0x8086 device 0x1461 Intel Corporation 82870P2 P64H2 I/OxAPIC pci bus 0x0002 cardnum 0x1d function 0x00: vendor 0x8086 device 0x1460 Intel Corporation 82870P2 P64H2 Hub PCI Bridge pci bus 0x0002 cardnum 0x1e function 0x00: vendor 0x8086 device 0x1461 Intel Corporation 82870P2 P64H2 I/OxAPIC pci bus 0x0002 cardnum 0x1f function 0x00: vendor 0x8086 device 0x1460 Intel Corporation 82870P2 P64H2 Hub PCI Bridge pci bus 0x0003 cardnum 0x03 function 0x00: vendor 0x1814 device 0x0301 RaLink RT2561/RT61 802.11g PCI pci bus 0x0003 cardnum 0x06 function 0x00: vendor 0x1002 device 0x5960 ATI Technologies Inc RV280 [Radeon 9200 PRO] pci bus 0x0003 cardnum 0x06 function 0x01: vendor 0x1002 device 0x5940 ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) pci bus 0x0004 cardnum 0x01 function 0x00: vendor 0x8086 device 0x100f Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) From keramida at freebsd.org Mon Sep 8 12:09:15 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Mon Sep 8 12:09:23 2008 Subject: Postfix issue In-Reply-To: <200809080521.03550.david@vizion2000.net> (David Southwell's message of "Mon, 8 Sep 2008 05:21:03 -0700") References: <200809080247.47237.david@vizion2000.net> <200809080433.30714.david@vizion2000.net> <878wu2eu56.fsf@kobe.laptop> <200809080521.03550.david@vizion2000.net> Message-ID: <87sksac00w.fsf@kobe.laptop> On Mon, 8 Sep 2008 05:21:03 -0700, David Southwell wrote: > If the same protocol was applied to physical mail then we would not > have been allowed to send letters unless we had a big building to send > it from and all letters would have had to have had a "big building" > sending address. We have a big building; it's called "Post Office". Or do you think that someone determined enough cannot monitor where you are sending physical letters? From jstrother9109 at gmail.com Mon Sep 8 12:09:55 2008 From: jstrother9109 at gmail.com (James Strother) Date: Mon Sep 8 12:10:08 2008 Subject: wmp54g card not recognized Message-ID: <4b2381fb0809080509m6a9f0605x4fb89a495b793914@mail.gmail.com> Sorry, email misfired. Please ignore. Thanks. From david at vizion2000.net Mon Sep 8 12:09:59 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 12:10:09 2008 Subject: Postfix issue In-Reply-To: <48C51492.1060103@lcwords.com> References: <200809080247.47237.david@vizion2000.net> <200809080521.03550.david@vizion2000.net> <48C51492.1060103@lcwords.com> Message-ID: <200809080533.57793.david@vizion2000.net> On Monday 08 September 2008 05:03:30 Zbigniew Szalbot wrote: > David Southwell: > > In yesterday's world anyone could send a physical letter to any address > > anywhere in the world. I get spam letters through the letter box it is up > > to me to chuck them in the bin. Why should the internet be different > > especially when the restrictions on fixed IPs are brought about soleley > > for commercial interests. > > Because of sheer volume... in yesterday's world one was not able to send > thousands of letters in a few seconds for free...or by using services > one has not paid for... In the past world one paid to send and received for free. That was the deal. In the past people abused the mail system by using forged stamps or freepost labels. There is no difference. I pay for my connection to receive.. and pay for my connection to send. Some people just want to not paly their part in absorbing the risks that go with participation. It is up to us to defend our systems. To classify a whole load of users, the majority of whom are genuine, as invalid users is degrading and discriminatory. My point of viwew -- you are entitled to yours but IMHO not to enforce it!! David From david at vizion2000.net Mon Sep 8 12:11:17 2008 From: david at vizion2000.net (David Southwell) Date: Mon Sep 8 12:11:23 2008 Subject: Postfix issue In-Reply-To: <87sksac00w.fsf@kobe.laptop> References: <200809080247.47237.david@vizion2000.net> <200809080521.03550.david@vizion2000.net> <87sksac00w.fsf@kobe.laptop> Message-ID: <200809080535.15184.david@vizion2000.net> On Monday 08 September 2008 05:09:03 Giorgos Keramidas wrote: > On Mon, 8 Sep 2008 05:21:03 -0700, David Southwell wrote: > > If the same protocol was applied to physical mail then we would not > > have been allowed to send letters unless we had a big building to send > > it from and all letters would have had to have had a "big building" > > sending address. > > We have a big building; it's called "Post Office". Or do you think that > someone determined enough cannot monitor where you are sending physical > letters? I agree and they do BUT they need a warrant to do so!! That is the safeguard. With the internet no warrant is needed. There is no protection for civil liberties as applies with pohysical mail. David From sonic2000gr at gmail.com Mon Sep 8 12:13:44 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Sep 8 12:13:53 2008 Subject: Error :Code 1 In-Reply-To: <157836.23401.qm@web51404.mail.re2.yahoo.com> References: <157836.23401.qm@web51404.mail.re2.yahoo.com> Message-ID: <48C516F2.8090103@gmail.com> mohd hilmi mohd salleh wrote: > I try to build and install custom kernel.However when i write this command, > > make buildkernel KERNCONF=MYKERNEL > > I got this error: > > ERROR:Missing kernel configuration file(s) (MYKERNEL) > ****Error code 1 > > Stop in /usr/src > ****Error code 1 > > Stop in /usr/src > > Can somebody help me! > > Thanks, > -Hilmi > > Let me guess, you have been reading the Handbook and taken the instructions *too* literally ;) MYKERNEL is your kernel configuration file, and you should create it yourself by hand, before running the command. You can start with a copy of GENERIC. Better to keep it in your own folder rather than /usr/src/sys/i386/conf. (I assume you use the i386 version) Example (as root): cd /usr/src/sys/i386/conf cp GENERIC /root/MYKERNEL ln -s /root/MYKERNEL . Now edit /root/MYKERNEL and make any changes you wish. Then run your make command. (Note: Typically, you will name it after the machine's hostname rather than MYKERNEL) From gunther.mayer at googlemail.com Mon Sep 8 12:23:30 2008 From: gunther.mayer at googlemail.com (Gunther Mayer) Date: Mon Sep 8 12:23:37 2008 Subject: File system corruption upon reboot with gmirror Message-ID: <48C51410.5090305@gmail.com> Hi guys, I recently updated my FreeBSD 6.3 on our server to the latest patch with freebsd-update and seeing that it involved some kernel patches on 64bit I had to reboot. So I carried out an automated reboot during low-load times but alas, the box never came back up again. After gaining physical access to the console I realised that it choked on the unclean /usr file system and was unable to proceed as the automatic fsck failed, prompting for an emergency shell. An fsck -y followed by a reboot sorted out the issue but it caused a good 1.5h of total downtime which should have been only 4min. So, why was the file system unclean even though I rebooted properly? Afaic this only happens on a power loss or otherwise unclean shutdown but I used the "reboot" command from the shell (in a background (sleep 21600; reboot) & but that shouldn't matter). So surely it would have flushed all the buffers in time? Or is the standard 60 seconds it waits maximum for kernel tasks to finish upon reboot too low and it couldn't finish in time (in which case, how do I change that?)? To give you a bit more background, I run a gmirror(8) RAID 1 over two disks whose health seems intact (zero bad gmirror log entries): $ mount /dev/mirror/gm0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/mirror/gm0s1e on /tmp (ufs, local, soft-updates) /dev/mirror/gm0s1f on /usr (ufs, local, soft-updates) /dev/mirror/gm0s1d on /var (ufs, local, soft-updates) Gunther From jalmberg at identry.com Mon Sep 8 12:23:41 2008 From: jalmberg at identry.com (John Almberg) Date: Mon Sep 8 12:23:49 2008 Subject: safest way to upgrade a production server In-Reply-To: <48C50960.17104.472ED1DE@iwrtech.iwr.ru.ac.za> References: <20080908033359.D75A810656C2@hub.freebsd.org> <48C50960.17104.472ED1DE@iwrtech.iwr.ru.ac.za> Message-ID: > >>> uname -a >> FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: >> Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ >> src/sys/INET_ON amd64 > > oooh, that is a bit old I think. I chose this server as an example, because it's the oldest one. I didn't install the OS on this server, the vendor did. Not sure why they chose a prerelease version... perhaps 6.3 was almost ready to go and they wanted to put us on the 6.3 branch? I don't know. Anyway, I guess what I should do is patch this to the latest 6.3 version? Or should I go to the latest 6.x version? I am pretty sure I don't want to experiment with a 7.x upgrade. -- John From nejc at skoberne.net Mon Sep 8 12:48:56 2008 From: nejc at skoberne.net (=?ISO-8859-1?Q?Nejc_S=28koberne?=) Date: Mon Sep 8 12:49:04 2008 Subject: File system corruption upon reboot with gmirror In-Reply-To: <48C51410.5090305@gmail.com> References: <48C51410.5090305@gmail.com> Message-ID: <48C51F2E.80907@skoberne.net> Hello, > Afaic this only happens on a power loss or otherwise unclean shutdown > but I used the "reboot" command from the shell (in a background (sleep Don't use "reboot", use shutdown -r now. I also had the same problem once (had to get physical access to the box to fix it) and it was because of the "reboot". Bye, Nejc From jan+freebsd at g-b.dk Mon Sep 8 13:10:02 2008 From: jan+freebsd at g-b.dk (KlaymenDK) Date: Mon Sep 8 13:10:09 2008 Subject: State of 3d video, which vendor has best support? Message-ID: <14959.195.212.29.92.1220878670.squirrel@webmail.g-b.dk> Hi all, I'm about to build a new pc, the first in quite a few years. My problem is that I can't find out if I should choose a 3D chipset from Intel, Ati, or nVidia. What's the state of support, track record, and such for these nowadays? I'm planning to use FreeBSD (duh) mainly as a quad-core, dual-headed, desktop workstation, but would very much like to be able to play the occasional BZFlag (call me oldschool). Which vendor I choose will affect my options for motherboard and (onboard/separate) video, which will affect my choice of CPU, and so on. So this seems to be a fundamental question, but I can't find an authoritative guide to 3D in FreeBSD. Any tips? :o) KlaymenDK -- 010\001\111 -- From marshc187 at gmail.com Mon Sep 8 13:18:21 2008 From: marshc187 at gmail.com (m cassar) Date: Mon Sep 8 13:18:34 2008 Subject: switching discs during install In-Reply-To: <4b2381fb0809070409h32107db3ge19ee8c36603b79d@mail.gmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> <4b2381fb0809070409h32107db3ge19ee8c36603b79d@mail.gmail.com> Message-ID: <332f78510809080618n788a2324se7f7af16607e1687@mail.gmail.com> Hey, James Strother, if i'm on the same wavelength with you on this, god knows how many times my pc almost made it out the window with this swapping thingy. don't know if this helps a bit at this point to at least save some energy. Well _last _ thing first ---> i finally downloaded the dvd, which is well worth it in the long run ( from mini if i recall, plus someone here gave a link ), but if you have a slow connection or download limits, it is a bit hard to suggest that at the moment since 7.1 is around the corner and i'm not sure if that means new discs with latest packages will be available anyway. Apart from that, i am very much new to fbsd, but did quite a few fresh installs before i found my best setup, so here are a few points that made life easier for me. Firstly, which shouldn't be new - cd1 has the base system, source and ports tree, and Xorg. After that kde for instance, can be entirely installed from cd2 ( which i am most familiar with); and i always just do one package or *chunk* at a time. But i just used to install cd1 (base, src/ports, and xorg), reboot without installing packages, copy the packages directory off cd2 to my hard disc under /home and then still use sysinstall to add them from there -> by selecting "from an existing filesystem' instead of from CD/DVD. But this never gave my trouble since kde is entirely on cd2. To add cd3 might need fixing the index file for sysinstall to work - not sure; but using pkg_add should work from the hard disk. This is just in case you need to reinstall, but i know it does not solve what you hoped for; which i think is still not so straightforward. Here is a basic idea of what i can make of the swapping discs thing. eg. Gnome as the basic meta-port is mainly on cd2 - (i think!). However, i remember coming across a part in the porter's handbook that recommends dependencies, for any given port, be listed alphabetically. So say apache (e.g.) was added as a gnome dependency, (maybe not directly - say depend of a depend) but it is not actually a part of the meta-port, and most probably on cd3--> then it still gets added/installed alphabetically or just before the package that needs it. ( I had noticed some roughly alphabetical order once that made me think that - unless i was hallucinating). I hope this makes sense - even if it not the case - because i am in a rush and i had to comment as this had bugged me alot. Still, even the dvd packages (which are the same version as on the cds with 7-release) are pretty much all outdated now, besides the fact that you will have to build them all from ports, since packages are only available for Stable. I actually built kde4.1 twice from scratch before realising it was easier to upgrade to 7Stable, then add packages using portupgrade -NP --> which saves a local copy of all downloaded packages under /usr/ports/packages/All, and saved my lots of time later. It works better than pkg_add -rK; which only saves the package you ask for and none of the downloaded dependencies. Sorry if i made a mess of this right now. i'm finally up to date right now with all my packages and running 7.1 prerelease, so will see what happens with 7.1 release before i bother making my own dvd with latest packages. phew. From lists at jnielsen.net Mon Sep 8 13:42:35 2008 From: lists at jnielsen.net (John Nielsen) Date: Mon Sep 8 13:42:42 2008 Subject: State of 3d video, which vendor has best support? In-Reply-To: <14959.195.212.29.92.1220878670.squirrel@webmail.g-b.dk> References: <14959.195.212.29.92.1220878670.squirrel@webmail.g-b.dk> Message-ID: <200809080943.27140.lists@jnielsen.net> On Monday 08 September 2008, KlaymenDK wrote: > I'm about to build a new pc, the first in quite a few years. My problem > is that I can't find out if I should choose a 3D chipset from Intel, Ati, > or nVidia. What's the state of support, track record, and such for these > nowadays? This is becoming a FAQ. You should be able to find some good information in a couple of relatively recent threads. The nutshell summary (in my opinion, from memory) is this: nVidia support is good w/ the binary driver on i386. Not available on amd64 ati support is great for hardware supported by radeon(4x). The manpage has a pretty good list. Better support for fancier cards ("hd", etc) is coming but not quite all the way there intel support is very good. Not quite as many souped-up options but modern onboard intel graphics are more than adequate for almost anything, including many games. Personally I would look for Intel gfx in a laptop and a well-supported ATI card for a desktop. > I'm planning to use FreeBSD (duh) mainly as a quad-core, dual-headed, > desktop workstation, but would very much like to be able to play the > occasional BZFlag (call me oldschool). Which vendor I choose will affect > my options for motherboard and (onboard/separate) video, which will > affect my choice of CPU, and so on. So this seems to be a fundamental > question, but I can't find an authoritative guide to 3D in FreeBSD. JN From paul at ifdnrg.com Mon Sep 8 14:00:04 2008 From: paul at ifdnrg.com (Paul Macdonald) Date: Mon Sep 8 14:00:11 2008 Subject: cvsup.uk.freebsd.org down Message-ID: <48C52C7D.6070000@ifdnrg.com> I just noticed this cvs server is down I've switched to cvsup2 which seems fine for now, I presume any updates to 2 are not dependent on cvsup.uk.freebsd being up? thanks Paul. From alydiomc at yahoo.com Mon Sep 8 13:04:59 2008 From: alydiomc at yahoo.com (lyd mc) Date: Mon Sep 8 14:08:29 2008 Subject: Sendmail become open relay Message-ID: <907677.98158.qm@web52202.mail.re2.yahoo.com> Hi guys need help.. My mailserver become an open relay. Unknown user can now send mail. snippet from mailq m88C8iWq042874????? 689 Mon Sep? 8 20:08 ???????????????? (Deferred: Name server: mx1.mail.tw.yahoo.com.: host name loo) ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? ???????????????????????????????????????? I don't? have user 'osxch' and there others can also send.. best regars thnx alydio From paul at ifdnrg.com Mon Sep 8 14:26:55 2008 From: paul at ifdnrg.com (Paul Macdonald) Date: Mon Sep 8 14:27:12 2008 Subject: Sendmail become open relay In-Reply-To: <907677.98158.qm@web52202.mail.re2.yahoo.com> References: <907677.98158.qm@web52202.mail.re2.yahoo.com> Message-ID: <48C53620.10804@ifdnrg.com> This might be more general advice than a specific help, but i've found most bad mail originating from me comes from php driven forum sites. After originally patching the php src to log sitenames that send mail, i found enabling MAILHEAD support in php build adds customs headers which help to identify the site anyway. I plan on adding a milter to pick these up dynamically, but for now, it helps identify sites from stuck items in mailq. i.e a grep into mailq for X-PHP-Script /var/spool/mqueue/qfm83AltWj045560:H??X-PHP-Script: www.siteonserver.com/signup.php for x.101.27.178 Its easy to spot dubious scripts as the ip is commonly the same. gd luck. Paul. lyd mc wrote: > Hi guys need help.. > > My mailserver become an open relay. > > Unknown user can now send mail. > > snippet from mailq > > m88C8iWq042874 689 Mon Sep 8 20:08 > (Deferred: Name server: mx1.mail.tw.yahoo.com.: host name loo) > > > > > > > > > > > > > > > I don't have user 'osxch' and there others can also send.. > > > best regars thnx > > alydio > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- *Ultra fast and secure web hosting Live and on demand video streaming Custom online Solutions * *Paul Macdonald* Director paul@ifdnrg.com www.ifdnrg.com *IFDNRG* 127 Rose St South Lane, Edinburgh, EH2 4BB 0044.(0)131.2257470 From jerrymc at msu.edu Mon Sep 8 14:27:52 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Sep 8 14:27:59 2008 Subject: switching discs during install In-Reply-To: <20080907070603.57644dc0.bsd-unix@embarqmail.com> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> <20080907070603.57644dc0.bsd-unix@embarqmail.com> Message-ID: <20080908142730.GC97697@gizmo.acns.msu.edu> On Sun, Sep 07, 2008 at 07:06:03AM -0400, Randy Pratt wrote: > On Sun, 7 Sep 2008 10:22:37 +0100 > Mike Clarke wrote: > > > On Sunday 07 September 2008, James Strother wrote: > > > > > That said, I still think that as long as the freebsd foundation > > > distributes CD images it would be worthwhile to make them as > > > effective as possible. Actually, even if the install were moved to a > > > DVD, the ordered install I proposed would still improve the > > > situation. ?When the packages are haphazardly ordered on the disc, > > > the CD/DVD reader is forced to perform a large number of seeks that > > > dramatically reduces data throughput. ?When they are read in order, > > > read rates should be much better. > > > > They might not be as haphazard as you suggest. ISTR once reading that > > the CDs were arranged with the most popular packages on the first CD so > > that you would only need to download disk 2 (and 3) if you wanted some > > of the less common packages. With your suggested layout it's quite > > likely that a package which most of the others depend on would be right > > down at the bottom of the list with the result that you'd invariably > > need to download all 3 CD images. > > > > I think the best way to avoid the need for frequent CD switching would > > be for sysinstall to sort the list of selected packages into CD order > > before installing them. I imagine this would require some changes to > > pkg_add to prevent it from installing dependencies and I expect the > > possible benefits would not be considered to be sufficient to justify > > the effort. > > Another way to avoid switching CDs is to select an FTP server for > installing packages. This also avoids downloading bits you don't > need or want. I think the OP mentioned having a difficult or slow internet connection as being part of the reason for the question/comment. Although I enjoy having a 100MB line to my office into a 10GB backbone, still not all people are that fortunate and I don't even have a good line at home where I am still stuck with dialup (so I drag my machine in to the office for installs). ////jerry > > There is another discussion: > > http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel > > which would address the disk swapping by removing all the packages > from disc1 and providing a DVD of packages that could be used > after installation. > > HTH, > > Randy > > > > -- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From freebsd-questions-local at be-well.ilk.org Mon Sep 8 14:29:36 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon Sep 8 14:29:48 2008 Subject: ssh In-Reply-To: (joeb@a1poweruser.com's message of "Mon\, 8 Sep 2008 10\:20\:17 +0800") References: Message-ID: <44ljy2r9rl.fsf@be-well.ilk.org> "joeb" writes: > In FreeBSD 6.2 and older the port SSH listened on was controlled by > /etc/services. Now in 7.0 SSH no longer looks at /etc/services to find out > what port to listen on. Is this by design or error in the move to a newer > release of SSH? I hadn't noticed that sshd had *ever* used that file for that purpose. It can be explicitly configured for a variety of address/port configurations, using the "Port" and "ListenAddress" configurations in the sshd_config file. Or overridden on the command line. I recommend you leave the services file standard and modify the config file, because that's how other admins would expect you to have done it anyway. > When it comes to security through obscurity don't be so fast to shoot it > down. On my system port 22 was receiving over 700 scans or login attempts a > day. Changing the SSH to use xx22 port stopped all the high school and > college script kiddies cold. Now I only get maybe 5 hits on my xx22 port > every 3 months. I would word it a little differently. I don't think of changing the ssh port as providing security at all: what it does is allows you to put less effort into providing (roughly) the same security. Still a desirable goal. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From tethys.ocean at gmail.com Mon Sep 8 14:34:08 2008 From: tethys.ocean at gmail.com (tethys ocean) Date: Mon Sep 8 14:34:21 2008 Subject: joomla15-1.5.3 has known vulnerabilities: Message-ID: <235b80000809080713v70b4a5cfs4927beb1c0772d9a@mail.gmail.com> Hi all one of the co-locatin customer want to use joomla(lestest version 15) i want to install from port but i ve taken this error [root@wmn /usr/ports/www/joomla15]# make install clean ===> joomla15-1.5.3 has known vulnerabilities: => joomla -- flaw in the reset token validation. Reference: < http://www.FreeBSD.org/ports/portaudit/8514b6e7-6f0f-11dd-b3db-001c2514716c.html > => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/www/joomla15. [root@wmn /usr/ports/www/joomla15]# port is updated firstly it would install i patch it but not install -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. From jerrymc at msu.edu Mon Sep 8 14:44:56 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Sep 8 14:45:02 2008 Subject: file root partition In-Reply-To: <5b21d0cf0809071439v60c47fbfj9f27e5a26535e040@mail.gmail.com> References: <5b21d0cf0809071439v60c47fbfj9f27e5a26535e040@mail.gmail.com> Message-ID: <20080908144436.GF97697@gizmo.acns.msu.edu> On Sun, Sep 07, 2008 at 05:39:27PM -0400, Nicholas Langford wrote: > Hello all, > > File named YES appears in root partition. Ive searched but nothing > online...any ideas? Sounds like you answered yes to something that was actually looking for some file name, maybe as tmp space. Look what is inside of it. If it is junk, get ride of it. ////jerry > > thanks > Nicholas > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From freebsd-security-local at be-well.ilk.org Mon Sep 8 14:58:34 2008 From: freebsd-security-local at be-well.ilk.org (Lowell Gilbert) Date: Mon Sep 8 14:58:42 2008 Subject: joomla15-1.5.3 has known vulnerabilities: In-Reply-To: <235b80000809080713v70b4a5cfs4927beb1c0772d9a@mail.gmail.com> (tethys ocean's message of "Mon\, 8 Sep 2008 17\:13\:06 +0300") References: <235b80000809080713v70b4a5cfs4927beb1c0772d9a@mail.gmail.com> Message-ID: <44hc8qr968.fsf@be-well.ilk.org> "tethys ocean" writes: > Hi all > > one of the co-locatin customer want to use joomla(lestest version 15) i want > to install from port but i ve taken this error > > > [root@wmn /usr/ports/www/joomla15]# make install clean > ===> joomla15-1.5.3 has known vulnerabilities: > => joomla -- flaw in the reset token validation. > Reference: < > http://www.FreeBSD.org/ports/portaudit/8514b6e7-6f0f-11dd-b3db-001c2514716c.html >> > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/www/joomla15. > [root@wmn /usr/ports/www/joomla15]# > > port is updated > > firstly it would install i patch it but not install If you have patched to fix the vulnerability, then you can just disable portaudit. From bthielsen at safarivideonetworks.com Mon Sep 8 15:40:29 2008 From: bthielsen at safarivideonetworks.com (benjamin thielsen) Date: Mon Sep 8 15:40:36 2008 Subject: changing network interface names Message-ID: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> hi- i have a computer with 2 ethernet interfaces (a dell poweredge 2900) on which the interface names are transposed logically versus physically (e.g. the interface labelled "ethernet 1" is named "bce1" and the interface labelled "ethernet 2" is labelled "bce0"). how can i change this, aside from using the ifconfig name argument? thanks -ben From mikel.king at olivent.com Mon Sep 8 16:04:42 2008 From: mikel.king at olivent.com (Mikel King) Date: Mon Sep 8 16:04:50 2008 Subject: changing network interface names In-Reply-To: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> References: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> Message-ID: <45DBB5D8-F8BB-43E0-8920-00A41AAE0EF6@olivent.com> On Sep 8, 2008, at 11:24 AM, benjamin thielsen wrote: > hi- > > i have a computer with 2 ethernet interfaces (a dell poweredge 2900) > on which the interface names are transposed logically versus > physically (e.g. the interface labelled "ethernet 1" is named "bce1" > and the interface labelled "ethernet 2" is labelled "bce0"). > > how can i change this, aside from using the ifconfig name argument? > > thanks > -ben > ____________________ Ben, The manpage for rc.conf includes the following example: It is also possible to rename interface by doing: ifconfig_ed0_name="net0" ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000" Obviously you can also do this manually w/ ifconfig, but I suspect hat you'd like this change to occurr everytime you restart. Cheers, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court Medford, NY 11763 http://www.olivent.com http://www.daemonnews.org http://www.bsdmag.org http://www.jafdip.com skype: mikel.king t: 631.627.3055 m: 646.554.3660 +------------------------------------------+ Do You know where your towel is? +------------------------------------------+ From eagletree at hughes.net Mon Sep 8 17:10:43 2008 From: eagletree at hughes.net (Chris Pratt) Date: Mon Sep 8 17:10:50 2008 Subject: Sendmail become open relay In-Reply-To: <48C53620.10804@ifdnrg.com> References: <907677.98158.qm@web52202.mail.re2.yahoo.com> <48C53620.10804@ifdnrg.com> Message-ID: On Sep 8, 2008, at 7:26 AM, Paul Macdonald wrote: > > This might be more general advice than a specific help, but i've > found most bad mail originating from me comes from php driven forum > sites. > After originally patching the php src to log sitenames that send > mail, i found enabling MAILHEAD support in php build adds customs > headers which help to identify the site anyway. > > I plan on adding a milter to pick these up dynamically, but for > now, it helps identify sites from stuck items in mailq. > > i.e a grep into mailq for X-PHP-Script > > /var/spool/mqueue/qfm83AltWj045560:H??X-PHP-Script: > www.siteonserver.com/signup.php for x.101.27.178 > > Its easy to spot dubious scripts as the ip is commonly the same. > > gd luck. > Paul. > I was thinking somewhat the same thing. It can be the leveraging of any scripts if the server is a web server of any sort. Spammers test every possible crack against your scripts. While you attempt to find which is being leveraged, you can minimize the damage by using the MAX_RCPTS_PER_MESSAGE within sendmail. It allows you to catch and destroy their use of your system prior to much mail going out. You set this value to 2 and it's impossible to send in one pass to more than two recipients. Monitoring your mailq will allow you to see quickly if someone has got your number. This will help keep you off BLs while you tighten your security. > lyd mc wrote: >> Hi guys need help.. >> >> My mailserver become an open relay. >> >> Unknown user can now send mail. >> >> snippet from mailq >> >> m88C8iWq042874 689 Mon Sep 8 20:08 >> (Deferred: Name server: mx1.mail.tw.yahoo.com.: >> host name loo) >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I don't have user 'osxch' and there others can also send.. >> >> >> best regars thnx >> >> alydio >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > > -- > > *Ultra fast and secure web hosting > Live and on demand video streaming > Custom online Solutions * > > *Paul Macdonald* > Director > paul@ifdnrg.com > www.ifdnrg.com > > *IFDNRG* > 127 Rose St South Lane, Edinburgh, EH2 4BB > 0044.(0)131.2257470 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" From rich at math.missouri.edu Mon Sep 8 17:13:55 2008 From: rich at math.missouri.edu (Rich Winkel) Date: Mon Sep 8 17:14:01 2008 Subject: openoffice spadmin doesn't install fonts Message-ID: <20080908163834.GA8542@pencil.math.missouri.edu> Ok, this used to work ... I'm using oo 2.4.0 on release-7.0-p3. Using the "add fonts" menu in spadmin, it copies the TT font files into /usr/local/openoffice.org-2.4.0/share/fonts but they never show up in the font menu in the writer. Does anyone know? Does this have something to do with fontconfig? Thanks, Rich From jeffrey at goldmark.org Mon Sep 8 17:21:00 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon Sep 8 17:21:07 2008 Subject: HW recommendations for light weight server Message-ID: <6C2ADA4F-3722-45DB-B963-826B28D0998A@goldmark.org> I know that this is pretty far off topic, but I'm asking anyway. I need to purchase/rebuild a relatively light-weight server for a small LAN. It will run a small MySQL server, DNS, DHCP, nagios, LDAP, syslog-ng and a few other things, serving only a LAN. My previous box running this was a cheapo Fry's reject. I went through two power supplies on that one, before I gave up on it. My current box is an HP Pavilion Slimline s3220n http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01154947&lc=en&dlc=en&cc=us&lang=en&product=3548659 that I got at a CompUSA fire sale. Although it is still running, the case near the power supply is very hot to the touch and it is giving off a terrible stench. CPU temperatures are perfectly fine, but I'm taking the smell as a very bad sign. That machine came with many things that I don't use (DVD burner (only used during FreeBSD installation), TV tuner, Wireless, etc) so they shouldn't be drawing any power. I need something that will run 24/7 in an environment that can sometimes get up to 30C. (I live in Texas, and try not to over do the air conditioning.) Something with an amd64 architecture would make the transition easier, since I might be able to use my current disk. So any thoughts or recommendations will be welcome. If people wish to email me off list, I'll provide a summary of responses. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From jharan at Brocade.COM Mon Sep 8 17:50:29 2008 From: jharan at Brocade.COM (Jeff Haran) Date: Mon Sep 8 17:50:37 2008 Subject: how do I disable the generation of XOFFs when using tip over aserial port to another device In-Reply-To: <1220688694.2581.13.camel@predator-ii.buffyverse> References: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> <1220688694.2581.13.camel@predator-ii.buffyverse> Message-ID: <57AC2FA1761300418C7AB8F3EA493C9701E0E2B6@HQ-EXCH-5.corp.brocade.com> > -----Original Message----- > From: Wayne Sierke [mailto:ws@au.dyndns.ws] > Sent: Saturday, September 06, 2008 1:12 AM > To: Jeff Haran > Cc: freebsd-questions@freebsd.org > Subject: Re: how do I disable the generation of XOFFs when > using tip over aserial port to another device > > On Fri, 2008-09-05 at 12:20 -0700, Jeff Haran wrote: > > Dear Sirs, > > > > I have connected one of the RS232 ports of my PC with > FreeBSD (v6.3) on > > it to a device that does not understand XON/XOFF flow > control. I run the > > tip program to connect to that device. > > > > How do I configure tip and/or the serial port so that the FreeBSD PC > > will NOT send XOFFs or XONs to the device? > > > > When I run: > > > > stty -a -f /dev/cuad0 > > > > where /dev/cuad0 is the device associated with the port, it outputs > > (among other things): > > > > iflags: ... ixon -ixoff ... > > > > >From my reading of the stty man page, I would think that > means the port > > is already configured to not send XOFFs. > > > > Is there something I need to do to /etc/remote to tell tip > to not enable > > XON/XOFF? > > > > Please respond to this email address as I do not subscribe to the > > mailing list. > > > > Thanks, > > > > Jeff Haran > > Hi Jeff, > > I think there might be a problem with the man page for tip(1) > on 6.x, as > an entry for 'tandem' was added to the tip sources about 2 years ago. > It's in the 7.x man page as you can see at: > > http://www.freebsd.org/cgi/man.cgi?query=tip&manpath=FreeBSD+7 .0-RELEASE&format=html > > in 'Variables'. 'tandem' shows up in a variable listing (~v) > in tip on a > 6.x system I have here but I don't have an appropriate set up > at hand to > verify that it operates correctly. > > Let us know how you go with it. If it works for you then a PR would be > in order. > > > Wayne > > [1] Extract from the tip(1) man page on 7.x: > tandem (bool) Use XON/XOFF flow control to throttle > data from the remote > host; abbreviated ta. The default value is true > unless the nt > capability has been specified in /etc/remote, in > which case the > default value is false. > Wayne, Thanks for the response. After I sent the original email, I found the tandem variable in the tip source code and toggling it off did indeed disable the generation of XOFFs. It would have been easier if tandem had been documented in the 6.3 man pages. It would also be convenient if there was some way to set these tip varibles non-interactively (e.g. via a command line option, .rc file or some such thing). I am using tip in an expect script to automate a test case and coding the expect script to generate the ~s escape sequence to turn tandem off was something less than straight forward. Jeff Haran From danm at prime.gushi.org Mon Sep 8 17:55:54 2008 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Mon Sep 8 17:56:01 2008 Subject: IPFW uid logging... Message-ID: Hey all, I have the following rule set up in ipfw to limit the exposure of bad php scripts and trojans that try to send mail directly. allow tcp from any to any dst-port 25 uid root deny log tcp from any to any dst-port 25 out However, the log messages I get look like this: Sep 8 13:21:11 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0 Sep 8 13:21:16 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:56672 202.12.31.144:25 out via em0 Sep 8 13:21:16 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58131 209.85.133.27:25 out via em0 Sep 8 13:21:28 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0 Sep 8 13:21:32 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58131 209.85.133.27:25 out via em0 Sep 8 13:22:45 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:65313 64.202.166.12:25 out via em0 Sep 8 13:22:45 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:65313 64.202.166.12:25 out via em0 Sep 8 13:22:46 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:65313 64.202.166.12:25 out via em0 Sep 8 13:22:49 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:65313 64.202.166.12:25 out via em0 Which is to say, they don't include the UID -- and I have several hundred sites, each with its own UID. Yes, I could go ahead and set up a thousand "deny" rules, one for each UID -- but being able to log this info (since it IS being checked) would be great. Thoughts? -Dan Mahoney -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From ws at au.dyndns.ws Mon Sep 8 17:59:06 2008 From: ws at au.dyndns.ws (Wayne Sierke) Date: Mon Sep 8 17:59:13 2008 Subject: how do I disable the generation of XOFFs when using tip over aserial port to another device In-Reply-To: <57AC2FA1761300418C7AB8F3EA493C9701E0E2B6@HQ-EXCH-5.corp.brocade.com> References: <57AC2FA1761300418C7AB8F3EA493C9701E0DF76@HQ-EXCH-5.corp.brocade.com> <1220688694.2581.13.camel@predator-ii.buffyverse> <57AC2FA1761300418C7AB8F3EA493C9701E0E2B6@HQ-EXCH-5.corp.brocade.com> Message-ID: <1220896740.2581.48.camel@predator-ii.buffyverse> On Mon, 2008-09-08 at 10:50 -0700, Jeff Haran wrote: > > -----Original Message----- > > From: Wayne Sierke [mailto:ws@au.dyndns.ws] > > Sent: Saturday, September 06, 2008 1:12 AM > > To: Jeff Haran > > Cc: freebsd-questions@freebsd.org > > Subject: Re: how do I disable the generation of XOFFs when > > using tip over aserial port to another device > > > > On Fri, 2008-09-05 at 12:20 -0700, Jeff Haran wrote: > > > Dear Sirs, > > > > > > I have connected one of the RS232 ports of my PC with > > FreeBSD (v6.3) on > > > it to a device that does not understand XON/XOFF flow > > control. I run the > > > tip program to connect to that device. > > > > > > How do I configure tip and/or the serial port so that the FreeBSD PC > > > will NOT send XOFFs or XONs to the device? > > > > > > When I run: > > > > > > stty -a -f /dev/cuad0 > > > > > > where /dev/cuad0 is the device associated with the port, it outputs > > > (among other things): > > > > > > iflags: ... ixon -ixoff ... > > > > > > >From my reading of the stty man page, I would think that > > means the port > > > is already configured to not send XOFFs. > > > > > > Is there something I need to do to /etc/remote to tell tip > > to not enable > > > XON/XOFF? > > > > > > Please respond to this email address as I do not subscribe to the > > > mailing list. > > > > > > Thanks, > > > > > > Jeff Haran > > > > Hi Jeff, > > > > I think there might be a problem with the man page for tip(1) > > on 6.x, as > > an entry for 'tandem' was added to the tip sources about 2 years ago. > > It's in the 7.x man page as you can see at: > > > > http://www.freebsd.org/cgi/man.cgi?query=tip&manpath=FreeBSD+7 > .0-RELEASE&format=html > > > > in 'Variables'. 'tandem' shows up in a variable listing (~v) > > in tip on a > > 6.x system I have here but I don't have an appropriate set up > > at hand to > > verify that it operates correctly. > > > > Let us know how you go with it. If it works for you then a PR would be > > in order. > > > > > > Wayne > > > > [1] Extract from the tip(1) man page on 7.x: > > tandem (bool) Use XON/XOFF flow control to throttle > > data from the remote > > host; abbreviated ta. The default value is true > > unless the nt > > capability has been specified in /etc/remote, in > > which case the > > default value is false. > > > > Wayne, > > Thanks for the response. After I sent the original email, I found the > tandem variable in the tip source code and toggling it off did indeed > disable the generation of XOFFs. It would have been easier if tandem had > been documented in the 6.3 man pages. > > It would also be convenient if there was some way to set these tip > varibles non-interactively (e.g. via a command line option, .rc file or > some such thing). I am using tip in an expect script to automate a test > case and coding the expect script to generate the ~s escape sequence to > turn tandem off was something less than straight forward. > > Jeff Haran I encountered exactly the same situation just recently when I set up cu to monitor a serial console from another box. I'd like to be able to unset beautify and set the script and record variables on startup but couldn't see how it might be done other than patching the source. In your case, however, it seems you're in luck. Take another look at that last sentence in the description of 'tandem'. You should be able to add the 'nt' (presumably, "no tandem") capability to /etc/remote. Wayne From joe_tseng at hotmail.com Mon Sep 8 18:49:48 2008 From: joe_tseng at hotmail.com (Joe Tseng) Date: Mon Sep 8 18:49:57 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> Message-ID: I've got a server running FreeBSD7 and got MySQL 5.0.67 installed on it today. I ran mysql_install_db and then assigned the root password. I tried to get it running on boot (mysql_enable="YES") and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't get the daemon to start. What else do I need to do to get this working? - Joe _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/ From noc at hdk5.net Mon Sep 8 18:50:31 2008 From: noc at hdk5.net (Al Plant) Date: Mon Sep 8 18:50:38 2008 Subject: switching discs during install In-Reply-To: <20080908142730.GC97697@gizmo.acns.msu.edu> References: <4b2381fb0809060359u53f85d06u4696d527063c5e4d@mail.gmail.com> <48C26870.7050100@gmail.com> <4b2381fb0809062307x4b7ef550lfba5d74e9057dccf@mail.gmail.com> <200809071022.37765.jmc-freebsd2@milibyte.co.uk> <20080907070603.57644dc0.bsd-unix@embarqmail.com> <20080908142730.GC97697@gizmo.acns.msu.edu> Message-ID: <48C573F5.20606@hdk5.net> Jerry McAllister wrote: > On Sun, Sep 07, 2008 at 07:06:03AM -0400, Randy Pratt wrote: > >> On Sun, 7 Sep 2008 10:22:37 +0100 >> Mike Clarke wrote: >> >>> On Sunday 07 September 2008, James Strother wrote: >>> >>>> That said, I still think that as long as the freebsd foundation >>>> distributes CD images it would be worthwhile to make them as >>>> effective as possible. Actually, even if the install were moved to a >>>> DVD, the ordered install I proposed would still improve the >>>> situation. When the packages are haphazardly ordered on the disc, >>>> the CD/DVD reader is forced to perform a large number of seeks that >>>> dramatically reduces data throughput. When they are read in order, >>>> read rates should be much better. >>> They might not be as haphazard as you suggest. ISTR once reading that >>> the CDs were arranged with the most popular packages on the first CD so >>> that you would only need to download disk 2 (and 3) if you wanted some >>> of the less common packages. With your suggested layout it's quite >>> likely that a package which most of the others depend on would be right >>> down at the bottom of the list with the result that you'd invariably >>> need to download all 3 CD images. >>> >>> I think the best way to avoid the need for frequent CD switching would >>> be for sysinstall to sort the list of selected packages into CD order >>> before installing them. I imagine this would require some changes to >>> pkg_add to prevent it from installing dependencies and I expect the >>> possible benefits would not be considered to be sufficient to justify >>> the effort. >> Another way to avoid switching CDs is to select an FTP server for >> installing packages. This also avoids downloading bits you don't >> need or want. > > I think the OP mentioned having a difficult or slow internet > connection as being part of the reason for the question/comment. > Although I enjoy having a 100MB line to my office into a 10GB > backbone, still not all people are that fortunate and I don't even > have a good line at home where I am still stuck with dialup (so I > drag my machine in to the office for installs). > > ////jerry > >> There is another discussion: >> >> http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel >> >> which would address the disk swapping by removing all the packages >> from disc1 and providing a DVD of packages that could be used >> after installation. >> >> HTH, >> >> Randy >> >> >> >> -- >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Aloha, Slow internet is an unforunate fact of life. Here in Hawaii we have many military installations and many times they down load or up load satellite or other images that hog our Trans Oceanic band width. I have a 3 meg download line and it is excellent most of the time. However, when there are certain missions or satellite tests going on it slows things noticably. I have found that by using the Australian Mirrors can help from here or trying one of the less popular mirrors from MIT or one of the Canadian ones can really speed up down loads. I Make a copy of CD 1 FreeBSD and then load a minimal install (with ports). Then down load from a FreeBSD server anything else I need for the server or desktop I am setting up. And select one of the ftp mirrors that is normally not too choked. Best of luck. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From jalmberg at identry.com Mon Sep 8 18:54:32 2008 From: jalmberg at identry.com (John Almberg) Date: Mon Sep 8 18:54:39 2008 Subject: which gray is best for print? In-Reply-To: <48C4543F.8070701@bah.homeip.net> References: <20080903231439.GA98955@thought.org> <20080905170804.GB20329@melon.esperance-linux.co.uk> <20080905200601.GA81339@thought.org> <20080905223859.8ad56b37.freebsd@edvax.de> <48C4543F.8070701@bah.homeip.net> Message-ID: <46A26F69-B397-424A-9F88-CA993C15F2E5@identry.com> On Sep 7, 2008, at 6:22 PM, Bernt Hansson wrote: > Polytropon skrev: >> Anyway, the best reading contrast - black on white - > > No. The best contrast is light yellow background with black letters. I play around with terminal colors occasionally (a great time waster) but the main colors I care about in a terminal are my vim color scheme... those looks best in a black on white terminal. I know because for years I used a white on black terminal, but always had a hard time seeing the dark blue on black... it finally dawned on me that it would look a lot better if I had a white background (duh!) I guess you could create your own color schemes for everything, but I don't have that kind of time! -- John From ipfreak at yahoo.com Mon Sep 8 18:54:50 2008 From: ipfreak at yahoo.com (gahn) Date: Mon Sep 8 18:54:57 2008 Subject: freebsd 7.0 and jail Message-ID: <866800.25036.qm@web52107.mail.re2.yahoo.com> Hello: I am trying to build jails on 7.0 system and got errors: ///////////////////////////////////////////// >>> Installing everything -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info (install) ===> lib (install) ===> lib/csu/i386-elf (install) gcc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crt1.c gcc:No such file or directory *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 /////////////////////////////////// looks like the code of jail is broken, did anyone have similar problem? I am working in an environment that is able to use "freebsd-update" script. Thanks in Advance From beech at freebsd.org Mon Sep 8 18:56:56 2008 From: beech at freebsd.org (Beech Rintoul) Date: Mon Sep 8 18:57:03 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> Message-ID: <200809081056.51762.beech@freebsd.org> On Monday 08 September 2008, Joe Tseng said: > I've got a server running FreeBSD7 and got MySQL 5.0.67 installed > on it today. I ran mysql_install_db and then assigned the root > password. I tried to get it running on boot (mysql_enable="YES") > and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't > get the daemon to start. What else do I need to do to get this > working? > > - Joe Check the logfiles in /var/db/mysql, they will usually tell you what it's choking on. My first guess without more info would be you probably don't have something configured correctly. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From noc at hdk5.net Mon Sep 8 18:59:20 2008 From: noc at hdk5.net (Al Plant) Date: Mon Sep 8 18:59:27 2008 Subject: HW recommendations for light weight server In-Reply-To: <6C2ADA4F-3722-45DB-B963-826B28D0998A@goldmark.org> References: <6C2ADA4F-3722-45DB-B963-826B28D0998A@goldmark.org> Message-ID: <48C57607.1020401@hdk5.net> Jeffrey Goldberg wrote: > I know that this is pretty far off topic, but I'm asking anyway. > > I need to purchase/rebuild a relatively light-weight server for a small > LAN. It will run a small MySQL server, DNS, DHCP, nagios, LDAP, > syslog-ng and a few other things, serving only a LAN. My previous box > running this was a cheapo Fry's reject. I went through two power > supplies on that one, before I gave up on it. > > My current box is an HP Pavilion Slimline s3220n > > > http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01154947&lc=en&dlc=en&cc=us&lang=en&product=3548659 > > > that I got at a CompUSA fire sale. Although it is still running, the > case near the power supply is very hot to the touch and it is giving off > a terrible stench. CPU temperatures are perfectly fine, but I'm taking > the smell as a very bad sign. That machine came with many things that I > don't use (DVD burner (only used during FreeBSD installation), TV tuner, > Wireless, etc) so they shouldn't be drawing any power. > > I need something that will run 24/7 in an environment that can sometimes > get up to 30C. (I live in Texas, and try not to over do the air > conditioning.) > > Something with an amd64 architecture would make the transition easier, > since I might be able to use my current disk. > > So any thoughts or recommendations will be welcome. If people wish to > email me off list, I'll provide a summary of responses. > > Cheers, > > -j > > Aloha, My servers are housed in a shed. I have louvers at the top and bottom so the laws of convection work well. I have had hot powersupplies at times. I usually change them to a heavy duty one mostly taken from cast off military or HP boxes. This usually solves the problem nicely. Also in every one of my servers I added a big fan over and above the ones that come with the box. (I dont have to worry about noise with the servers since that are in the outside shed). For reference: I live in a uplands area on Oahu where our night temperatures is in the upper 60's (18c) and in the fall the daytime can be in the low 90's (35c) ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From dnelson at allantgroup.com Mon Sep 8 19:01:13 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Sep 8 19:01:20 2008 Subject: IPFW uid logging... In-Reply-To: References: Message-ID: <20080908185106.GB6629@dan.emsphone.com> In the last episode (Sep 08), Dan Mahoney, System Admin said: > I have the following rule set up in ipfw to limit the exposure of bad > php scripts and trojans that try to send mail directly. > > allow tcp from any to any dst-port 25 uid root > deny log tcp from any to any dst-port 25 out > > However, the log messages I get look like this: > > Sep 8 13:21:11 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0 > Sep 8 13:21:16 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:56672 202.12.31.144:25 out via em0 > > Which is to say, they don't include the UID -- and I have several hundred > sites, each with its own UID. > > Yes, I could go ahead and set up a thousand "deny" rules, one for > each UID -- but being able to log this info (since it IS being > checked) would be great. It should be possible to add a couple more arguments to ipfw_log() so that ipfw_chk() can pass it the ugid_lookup flag and a pointer to the fw_ugid_cache struct. Then you can edit ipfw_log to print the contents of that struct if ugid_lookup==1. That would result in the logging of uid for any failed packet that had to go through a uid check on the way to the deny rule. -- Dan Nelson dnelson@allantgroup.com From fbsdlists at gmail.com Mon Sep 8 19:03:03 2008 From: fbsdlists at gmail.com (Bob Johnson) Date: Mon Sep 8 19:03:10 2008 Subject: safest way to upgrade a production server In-Reply-To: References: <20080908033359.D75A810656C2@hub.freebsd.org> <48C50960.17104.472ED1DE@iwrtech.iwr.ru.ac.za> Message-ID: <54db43990809081203x11e0bae3u2909c1158d44832b@mail.gmail.com> On 9/8/08, John Almberg wrote: >> >>>> uname -a >>> FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: >>> Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ >>> src/sys/INET_ON amd64 >> >> oooh, that is a bit old I think. > > I chose this server as an example, because it's the oldest one. I > didn't install the OS on this server, the vendor did. Not sure why > they chose a prerelease version... perhaps 6.3 was almost ready to go > and they wanted to put us on the 6.3 branch? I don't know. > I had the same problem, except I was the vendor. Set up a system with 6.3-PRERELEASE for testing, then forgot it wasn't -RELEASE and put it in production. > Anyway, I guess what I should do is patch this to the latest 6.3 > version? > My strategy was to do a source-base upgrade to 6.3-RELEASE, and then use freebsd-update to apply critical patches. Freebsd-update only works on -RELEASE versions with generic kernels, but I find it much faster and easier than trying to do upgrades from source. You also need to keep track of ports that need updating: use portaudit for that. > Or should I go to the latest 6.x version? I am pretty sure I don't > want to experiment with a 7.x upgrade. I believe 6.3 is the latest 6.x version. For now the thing to do is get to an up-to-date 6.3 system. Then take your time figuring out the best strategy for the transition to 7.x. - Bob From martin at dc.cis.okstate.edu Mon Sep 8 19:03:38 2008 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Mon Sep 8 19:03:45 2008 Subject: Can FreeBSD6.3 Generic Kernels Mount a Linux EXT3 FS? Message-ID: <200809081903.m88J3bGH022233@dc.cis.okstate.edu> The subject line is the question. I am not sure if it isn't working because I am using the wrong nomenclature for the file system I need to mount or if I need to do some more to the kernel which, right now, is just the standard FreeBSD generic build which usually has everything one normally needs. Thank you. Martin McCormick WB5AGZ Stillwater, OK From joe_tseng at hotmail.com Mon Sep 8 19:15:24 2008 From: joe_tseng at hotmail.com (Joe Tseng) Date: Mon Sep 8 19:15:31 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: <200809081056.51762.beech@freebsd.org> References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> <200809081056.51762.beech@freebsd.org> Message-ID: So I checked in that directory you suggested and I found this: 080908 13:35:05 mysqld started 080908 13:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 080908 13:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 080908 13:35:05 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. 080908 13:35:05 mysqld ended So my questions are: 1. What directory is it referring to? Is it /var/db/mysql by default? I just tried to give ownership using chown -R mysql /var/db/mysql but that made no difference. 2. I've read also for this kind of issue I have to reinstall the software... When I initially installed this from ports I didn't use any kind of extra parameters. Are they needed? > From: beech@freebsd.org > To: freebsd-questions@freebsd.org > Date: Mon, 8 Sep 2008 10:56:48 -0800 > CC: joe_tseng@hotmail.com > Subject: Re: Can't start MySQL 5.0.67 > > On Monday 08 September 2008, Joe Tseng said: > > I've got a server running FreeBSD7 and got MySQL 5.0.67 installed > > on it today. I ran mysql_install_db and then assigned the root > > password. I tried to get it running on boot (mysql_enable="YES") > > and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't > > get the daemon to start. What else do I need to do to get this > > working? > > > > - Joe > > Check the logfiles in /var/db/mysql, they will usually tell you what > it's choking on. My first guess without more info would be you > probably don't have something configured correctly. > > Beech > > -- > --------------------------------------------------------------------------------------- > Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org > /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x > \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech > X - NO Word docs in e-mail | Skype: akbeech > / \ - http://www.FreeBSD.org/releases/7.0R/announce.html > --------------------------------------------------------------------------------------- > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Want to do more with Windows Live? Learn ?10 hidden secrets? from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 From gibblertron at gmail.com Mon Sep 8 19:31:27 2008 From: gibblertron at gmail.com (patrick) Date: Mon Sep 8 19:31:34 2008 Subject: Kill NFS connection Message-ID: Is there a way to kill an NFS connection to a server that's stopped responding? When I try to simply unmount it, I get a never-ending stream of "server not responding" messages. (Using FreeBSD 6.2, BTW.) Thanks, Patrick From glarkin at FreeBSD.org Mon Sep 8 19:34:03 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Sep 8 19:34:11 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> <200809081056.51762.beech@freebsd.org> Message-ID: <48C57E24.7020400@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe Tseng wrote: > So I checked in that directory you suggested and I found this: > > 080908 13:35:05 mysqld started > 080908 13:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 > 080908 13:35:05 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295 > 080908 13:35:05 InnoDB: Operating system error number 13 in a file operation. > InnoDB: The error means mysqld does not have the access rights to > InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. > 080908 13:35:05 mysqld ended > > So my questions are: > 1. What directory is it referring to? Is it /var/db/mysql by default? I just tried to give ownership using chown -R mysql /var/db/mysql but that made no difference. > 2. I've read also for this kind of issue I have to reinstall the software... When I initially installed this from ports I didn't use any kind of extra parameters. Are they needed? > > >> From: beech@freebsd.org >> To: freebsd-questions@freebsd.org >> Date: Mon, 8 Sep 2008 10:56:48 -0800 >> CC: joe_tseng@hotmail.com >> Subject: Re: Can't start MySQL 5.0.67 >> >> On Monday 08 September 2008, Joe Tseng said: >>> I've got a server running FreeBSD7 and got MySQL 5.0.67 installed >>> on it today. I ran mysql_install_db and then assigned the root >>> password. I tried to get it running on boot (mysql_enable="YES") >>> and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't >>> get the daemon to start. What else do I need to do to get this >>> working? >>> >>> - Joe >> Check the logfiles in /var/db/mysql, they will usually tell you what >> it's choking on. My first guess without more info would be you >> probably don't have something configured correctly. >> >> Beech >> Hi Joe, Do you have a my.cnf file anywhere? If so, look for the following options and make sure that the directories they are set to are also accessible by the mysql user: innodb_data_home_dir innodb_data_file_path If that doesn't work, I often use truss (http://www.freebsd.org/cgi/man.cgi?query=truss&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html) to debug permissions issues like this. You'll usually be able to tell from its output what syscall generates an EACCES and causes MySQL to fail. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxX4k0sRouByUApARAsKWAJ9kXqvPltMfS8GE3GQWHKey1CxXZQCghwNz zzA4qQBzxZqci87+bufKCto= =rMlL -----END PGP SIGNATURE----- From beech at freebsd.org Mon Sep 8 19:46:12 2008 From: beech at freebsd.org (Beech Rintoul) Date: Mon Sep 8 19:46:20 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> <200809081056.51762.beech@freebsd.org> Message-ID: <200809081146.06240.beech@freebsd.org> On Monday 08 September 2008, Joe Tseng said: > So I checked in that directory you suggested and I found this: > > 080908 13:35:05 mysqld started > 080908 13:35:05 [Warning] option 'max_join_size': unsigned value > 18446744073709551615 adjusted to 4294967295 080908 13:35:05 > [Warning] option 'max_join_size': unsigned value > 18446744073709551615 adjusted to 4294967295 080908 13:35:05 > InnoDB: Operating system error number 13 in a file operation. > InnoDB: The error means mysqld does not have the access rights to > InnoDB: the directory. > InnoDB: File name ./ibdata1 > InnoDB: File operation call: 'create'. > InnoDB: Cannot continue operation. > 080908 13:35:05 mysqld ended > > So my questions are: > 1. What directory is it referring to? Is it /var/db/mysql by > default? I just tried to give ownership using chown -R mysql > /var/db/mysql but that made no difference. 2. I've read also for > this kind of issue I have to reinstall the software... When I > initially installed this from ports I didn't use any kind of extra > parameters. Are they needed? Yes, the /var/db/mysql dir needs to be readable and writeable by mysql. Try the following: chown -R mysql:mysql /var/db/mysql. The error is telling you that innodb can't create /var/db/mysql/ibdata1. After fixing permissions, you may need to do another initdb. Beech > > > From: beech@freebsd.org > > To: freebsd-questions@freebsd.org > > Date: Mon, 8 Sep 2008 10:56:48 -0800 > > CC: joe_tseng@hotmail.com > > Subject: Re: Can't start MySQL 5.0.67 > > > > On Monday 08 September 2008, Joe Tseng said: > > > I've got a server running FreeBSD7 and got MySQL 5.0.67 > > > installed on it today. I ran mysql_install_db and then > > > assigned the root password. I tried to get it running on boot > > > (mysql_enable="YES") and by hand > > > (/usr/local/etc/rc.d/mysql-server start) but I can't get the > > > daemon to start. What else do I need to do to get this > > > working? > > > > > > - Joe > > > > Check the logfiles in /var/db/mysql, they will usually tell you > > what it's choking on. My first guess without more info would be > > you probably don't have something configured correctly. > > > > Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From joe_tseng at hotmail.com Mon Sep 8 19:55:40 2008 From: joe_tseng at hotmail.com (Joe Tseng) Date: Mon Sep 8 19:55:48 2008 Subject: Can't start MySQL 5.0.67 In-Reply-To: <200809081146.06240.beech@freebsd.org> References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> <200809081056.51762.beech@freebsd.org> <200809081146.06240.beech@freebsd.org> Message-ID: Yeah that was it... The chown -R mysql:mysql /var/db/mysql was what did it... Thx to all for the help. - Joe > From: beech@freebsd.org > To: joe_tseng@hotmail.com > Date: Mon, 8 Sep 2008 11:46:02 -0800 > CC: freebsd-questions@freebsd.org > Subject: Re: Can't start MySQL 5.0.67 > > On Monday 08 September 2008, Joe Tseng said: > > So I checked in that directory you suggested and I found this: > > > > 080908 13:35:05 mysqld started > > 080908 13:35:05 [Warning] option 'max_join_size': unsigned value > > 18446744073709551615 adjusted to 4294967295 080908 13:35:05 > > [Warning] option 'max_join_size': unsigned value > > 18446744073709551615 adjusted to 4294967295 080908 13:35:05 > > InnoDB: Operating system error number 13 in a file operation. > > InnoDB: The error means mysqld does not have the access rights to > > InnoDB: the directory. > > InnoDB: File name ./ibdata1 > > InnoDB: File operation call: 'create'. > > InnoDB: Cannot continue operation. > > 080908 13:35:05 mysqld ended > > > > So my questions are: > > 1. What directory is it referring to? Is it /var/db/mysql by > > default? I just tried to give ownership using chown -R mysql > > /var/db/mysql but that made no difference. 2. I've read also for > > this kind of issue I have to reinstall the software... When I > > initially installed this from ports I didn't use any kind of extra > > parameters. Are they needed? > > Yes, the /var/db/mysql dir needs to be readable and writeable by > mysql. Try the following: chown -R mysql:mysql /var/db/mysql. > > The error is telling you that innodb can't > create /var/db/mysql/ibdata1. After fixing permissions, you may need > to do another initdb. > > Beech > > > > > > From: beech@freebsd.org > > > To: freebsd-questions@freebsd.org > > > Date: Mon, 8 Sep 2008 10:56:48 -0800 > > > CC: joe_tseng@hotmail.com > > > Subject: Re: Can't start MySQL 5.0.67 > > > > > > On Monday 08 September 2008, Joe Tseng said: > > > > I've got a server running FreeBSD7 and got MySQL 5.0.67 > > > > installed on it today. I ran mysql_install_db and then > > > > assigned the root password. I tried to get it running on boot > > > > (mysql_enable="YES") and by hand > > > > (/usr/local/etc/rc.d/mysql-server start) but I can't get the > > > > daemon to start. What else do I need to do to get this > > > > working? > > > > > > > > - Joe > > > > > > Check the logfiles in /var/db/mysql, they will usually tell you > > > what it's choking on. My first guess without more info would be > > > you probably don't have something configured correctly. > > > > > > Beech > > > > -- > --------------------------------------------------------------------------------------- > Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org > /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x > \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech > X - NO Word docs in e-mail | Skype: akbeech > / \ - http://www.FreeBSD.org/releases/7.0R/announce.html > --------------------------------------------------------------------------------------- > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ See how Windows connects the people, information, and fun that are part of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ From bthielsen at safarivideonetworks.com Mon Sep 8 20:00:57 2008 From: bthielsen at safarivideonetworks.com (benjamin thielsen) Date: Mon Sep 8 20:01:04 2008 Subject: changing network interface names In-Reply-To: <45DBB5D8-F8BB-43E0-8920-00A41AAE0EF6@olivent.com> References: <24450181-D401-401F-81B3-5EBFB9C737DF@safarivideonetworks.com> <45DBB5D8-F8BB-43E0-8920-00A41AAE0EF6@olivent.com> Message-ID: <450623E8-0D91-4088-BB92-FEB26F751C84@safarivideonetworks.com> On Sep 08, 2008, at 12.03, Mikel King wrote: > > On Sep 8, 2008, at 11:24 AM, benjamin thielsen wrote: > >> hi- >> >> i have a computer with 2 ethernet interfaces (a dell poweredge >> 2900) on which the interface names are transposed logically versus >> physically (e.g. the interface labelled "ethernet 1" is named >> "bce1" and the interface labelled "ethernet 2" is labelled "bce0"). >> >> how can i change this, aside from using the ifconfig name argument? >> >> thanks >> -ben >> ____________________ > > Ben, > > The manpage for rc.conf includes the following example: > > It is also possible to rename interface by doing: > > ifconfig_ed0_name="net0" > ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000" > > Obviously you can also do this manually w/ ifconfig, but I suspect > hat you'd like this change to occurr everytime you restart. > > > Cheers, > Mikel King hi- thanks for the reply. is there no other way aside from ifconfig? i was hoping for a mechanism to say something like "this device at pci address X should be considered the first interface" or such. pciconf - w seemed like it might be suitable, but i'm not quite sure how one would go about that. my goal is to be able to do it earlier in the boot process, and avoid playing musical interface names with ifconfig if i want to retain the existing naming convention. there must be some logic that relates to which interface is picked up or labelled first, no? thanks -ben From danm at prime.gushi.org Mon Sep 8 20:04:01 2008 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Mon Sep 8 20:04:09 2008 Subject: IPFW uid logging... In-Reply-To: <20080908185106.GB6629@dan.emsphone.com> References: <20080908185106.GB6629@dan.emsphone.com> Message-ID: On Mon, 8 Sep 2008, Dan Nelson wrote: > In the last episode (Sep 08), Dan Mahoney, System Admin said: >> I have the following rule set up in ipfw to limit the exposure of bad >> php scripts and trojans that try to send mail directly. >> >> allow tcp from any to any dst-port 25 uid root >> deny log tcp from any to any dst-port 25 out >> >> However, the log messages I get look like this: >> >> Sep 8 13:21:11 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0 >> Sep 8 13:21:16 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:56672 202.12.31.144:25 out via em0 >> >> Which is to say, they don't include the UID -- and I have several hundred >> sites, each with its own UID. >> >> Yes, I could go ahead and set up a thousand "deny" rules, one for >> each UID -- but being able to log this info (since it IS being >> checked) would be great. > > It should be possible to add a couple more arguments to ipfw_log() so > that ipfw_chk() can pass it the ugid_lookup flag and a pointer to the > fw_ugid_cache struct. Then you can edit ipfw_log to print the contents > of that struct if ugid_lookup==1. That would result in the logging of > uid for any failed packet that had to go through a uid check on the way > to the deny rule. Okay, so if it's fairly easy to do, the question would be "since I don't feel right hacking in this change myself -- how could I propose this as a feature?" It's not a BUG per-se, but I think it could be useful to others as well. -Dan -- Pika Pika Pika! -Pikachu, of Pokemon fame. --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From mbeis at xs4all.nl Mon Sep 8 20:45:19 2008 From: mbeis at xs4all.nl (Marco Beishuizen) Date: Mon Sep 8 20:45:26 2008 Subject: logcheck doesn't work anymore Message-ID: <20080908222921.4daba36a@yokozuna.lan> Hi, After upgrading logcheck from 1.1.1 to 1.2.54 I suddenly get errors of logcheck not working correctly: ... Warning: If you are seeing this message, your log files may not have been checked! Details: Could not run logtail or save output Check temporary directory: /tmp/logcheck.6IZZmq Also verify that the logcheck user can read all files referenced in /etc/logcheck/logcheck.logfiles! declare -x HOME="/var/lib/logcheck" declare -x LOGNAME="logcheck" declare -x MAILTO="root" declare -x OLDPWD declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" declare -x PWD="/var/lib/logcheck" declare -x SHELL="/bin/sh" declare -x SHLVL="1" declare -x USER="logcheck" ... In version 1.1.1 there was a script logcheck.sh in cron that ran every hour but that doesn't seem to exist anymore. Trying to run logcheck manually results in: ... logcheck should not be run as root. Use su to invoke logcheck: su logcheck -c "/usr/local/bin/bash /usr/local/sbin/logcheck" Or use sudo: sudo -u logcheck logcheck. ... But this doesn't seem to do anything. How can I use logcheck again? Thanks, Marco -- If I want your opinion, I'll ask you to fill out the necessary form. From michael.copeland at gmail.com Mon Sep 8 20:46:43 2008 From: michael.copeland at gmail.com (Michael) Date: Mon Sep 8 20:46:51 2008 Subject: 7-stable-amd64 on ibm x86-64 daughter card Message-ID: <48C58F2F.5080100@gmail.com> I'm running 7-stable on an x86-64 card in an ibm server and was wondering if anyone else was, or in a similar environment, and has IO errors on the shared disk. The errors do not happen all the time, not even under heavy load, it seems to be at random. Shared disk presents itself as an LSI scsi disk. From glarkin at FreeBSD.org Mon Sep 8 21:08:36 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Mon Sep 8 21:08:42 2008 Subject: logcheck doesn't work anymore In-Reply-To: <20080908222921.4daba36a@yokozuna.lan> References: <20080908222921.4daba36a@yokozuna.lan> Message-ID: <48C59453.3090604@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marco Beishuizen wrote: > Hi, > > After upgrading logcheck from 1.1.1 to 1.2.54 I suddenly get errors of > logcheck not working correctly: > > ... > Warning: If you are seeing this message, your log files may not have > been checked! > > Details: > Could not run logtail or save output > > Check temporary directory: /tmp/logcheck.6IZZmq > > Also verify that the logcheck user can read all files referenced in > /etc/logcheck/logcheck.logfiles! > > declare -x HOME="/var/lib/logcheck" > declare -x LOGNAME="logcheck" > declare -x MAILTO="root" > declare -x OLDPWD > declare -x > PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" > declare -x PWD="/var/lib/logcheck" declare -x SHELL="/bin/sh" > declare -x SHLVL="1" > declare -x USER="logcheck" > ... > > In version 1.1.1 there was a script logcheck.sh in cron that ran every > hour but that doesn't seem to exist anymore. Trying to run logcheck > manually results in: > > ... > logcheck should not be run as root. Use su to invoke logcheck: > su logcheck -c "/usr/local/bin/bash /usr/local/sbin/logcheck" > Or use sudo: sudo -u logcheck logcheck. > ... > > But this doesn't seem to do anything. > > How can I use logcheck again? > > Thanks, > > Marco > Hi Marco, I recently committed the upgrade to logcheck, and I am looking into your problem now. I'll post back here with details once I've figured it out. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxZRT0sRouByUApARAvMHAJ9329VDm8MF+6jK+3X1eRZuiuoHaQCePUyg BgkTBztxSWYkH2zozSfTiPI= =ipnk -----END PGP SIGNATURE----- From perikillo at gmail.com Mon Sep 8 21:41:18 2008 From: perikillo at gmail.com (perikillo) Date: Mon Sep 8 21:41:29 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 Message-ID: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> Hi people. Well I have time locking for a solution for this problem I have, I have googling around and have not found a solution, I have 2 serves running FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already stop doing that because I still cannot fix the problems with the commmand: portsdb -Uu, each time I run that command on both servers I receive this error: Updating the ports index ... Generating INDEX.tmp - please wait.."Makefile", line 56: Could not find bsd.port.options.mk make: fatal errors encountered -- cannot continue ===> sysutils/apcupsd failed *** Error code 1 I try to follow some sites solutions but no luck, I remove the port "portupgrade" and install again but again no luck, download the Index file, etc, etc, today I build a server, fresh install, update my ports with portsnap, them run the portsdb -Uu and again the same error. This could not be the sync of the server and my files, because the last time I try to sync my servers this was the same error I got today. I don't know if this is the only way we can have our ports sync: portsnap fetch && portsnap update && portsdb -Uu ? This is my normal commands I use to sync my ports, maybe I am wrong please confirm this if I'am wrong, but the error appear right in my server, what could I do to fix this error? I have seen other people with the same error and no solution yet. "sysutils/apcupsd failed" Thanks all for your time!!! FreeBSD 6.3-Release!!! From info at connect-community.org Mon Sep 8 21:44:34 2008 From: info at connect-community.org (Connect HQ) Date: Mon Sep 8 21:44:45 2008 Subject: Community Connect Europe 2008 - New Information Message-ID: Dear , The celebration of the launch of Connect, Your Independent HP Business Technology Community, at HP Technology Forum & Expo 2008 continues...this time in Mannheim, Germany. Exhibit now and come face-to-face with an anticipated 1,000 delegates who will participate in the first independent event hosted by the new organisation -- Community Connect Europe 2008 -- taking place 10-12 November. [1]Submit your application by 12 September and your company will be highlighted in the second distribution of the Community Connect Europe 2008 Advance Programme which is sent to more than 12,000 members. The consolidation of Connect means more members, more customers, more users, more networking opportunities, more exposure and more for you as an exhibitor! The event will provide the traditional HP NonStop content that previous ITUG Europe attendees have come to expect while promising to deliver more technical education from HP users from across many more HP enterprise platforms, including OpenVMS, HP-UX, Integrity, and Blades. Download the [2]Community Connect Europe 2008 Advance Programme a nd read why you will not want to miss this first-ever event to capitalise on the opportunity to gather in one place and showcase your products and service in front of HP users and customers in the HP enterprise technology arena that are there to learn about your business. To sign-up as an exhibitor and/or sponsor please download the [3]Exhibit and Sponsorship Programme or contact [4]Sara Kolovitz or +1.312.673.4779 Community Connect Europe 2008 [5]www.communityconnecteurope.org If you would like to opt out of all future Community Connect e-mail correspondence, please send an e-mail with "opt out" in the subject line to [6]info@communityconnecteurope.org. References Visible links 1. http://www.communityconnecteurope.org/Exhibitors/index.cfm 2. http://lists.connect-community.org/t/740743/27611589/52726/0/ 3. http://www.communityconnecteurope.org/Exhibitors/Prospectus.pdf 4. file://localhost/tmp/skolovitz@communityconnecteurope.org 5. http://lists.connect-community.org/t/740743/27595734/52467/0/ 6. mailto:info@communityconnecteurope.org Hidden links: 7. http://lists.connect-community.org/t/740743/27595734/52466/0/ 8. http://lists.connect-community.org/t/740743/27595734/52469/0/ 9. http://lists.connect-community.org/t/740743/27595734/52470/0/ 10. http://lists.connect-community.org/t/740743/27595734/52471/0/ 11. http://lists.connect-community.org/t/740743/27595734/52472/0/ 12. http://lists.connect-community.org/t/740743/27595734/52473/0/ From millenia2000 at hotmail.com Mon Sep 8 22:13:14 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Mon Sep 8 22:13:20 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> Message-ID: -------------------------------------------------- From: "perikillo" Sent: Monday, September 08, 2008 5:41 PM To: "FreeBSD Mailing List" Subject: Problems with portsdb -Uu on FreeBSD 6.3 > Hi people. > > Well I have time locking for a solution for this problem I have, I have > googling around and have not found a solution, I have 2 serves running > FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already > stop doing that because I still cannot fix the problems with the commmand: > > portsdb -Uu, each time I run that command on both servers I receive this > error: > > Updating the ports index ... Generating INDEX.tmp - please > wait.."Makefile", > line 56: Could not find bsd.port.options.mk > make: fatal errors encountered -- cannot continue > ===> sysutils/apcupsd failed > *** Error code 1 CVSUP your tree to straighten it out. I noticed that portsnap will not fix damaged/missing files. From nightrecon at verizon.net Mon Sep 8 22:19:15 2008 From: nightrecon at verizon.net (Michael Powell) Date: Mon Sep 8 22:19:22 2008 Subject: Can't start MySQL 5.0.67 References: <20080908162020.QYGI28383.dukecmmtar01.coxmail.com@696908E74163425> <200809081056.51762.beech@freebsd.org> <200809081146.06240.beech@freebsd.org> Message-ID: Joe Tseng wrote: > Yeah that was it... The chown -R mysql:mysql /var/db/mysql was what did > it... Thx to all for the help. > > - Joe > [snip] Look in /usr/local/share/mysql for my.cnf examples you can use for tuning your install. One thing that bit me once was the location of the my.cnf changed. I used to keep it in /var/db/mysql but found after one particular upgrade it seemed like it wasn't being read any longer. That was because the FreeBSD port install's new default location changed to /usr/local/etc. -Mike From gerard at seibercom.net Mon Sep 8 22:34:40 2008 From: gerard at seibercom.net (Gerard) Date: Mon Sep 8 22:34:47 2008 Subject: Postfix issue In-Reply-To: <200809080535.15184.david@vizion2000.net> References: <200809080247.47237.david@vizion2000.net> <200809080521.03550.david@vizion2000.net> <87sksac00w.fsf@kobe.laptop> <200809080535.15184.david@vizion2000.net> Message-ID: <20080908183432.0aed910c@scorpio> On Mon, 8 Sep 2008 05:35:14 -0700 David Southwell wrote: > I agree and they do BUT they need a warrant to do so!! That is the > safeguard. > > With the internet no warrant is needed. There is no protection for > civil liberties as applies with pohysical mail. First of all, this is not a civil liberties issue. Are you so naive that you honestly believe that by using a dynamic IP rather than securing a static one or using your hosts mail service that you have made the interception and viewing of your mail by someone other than its intended recipient impossible? Furthermore, what are you transmitting that makes you so paranoid? Why not just use some form of encryption if you are so paranoid? Your claim of civil liberties is bogus. Consider the rights of other users, in this case the Postfix mailing list, that does not want to be inundated with SPAM and accordingly blocks mail from sites that fail authentication tests. In your case, reverse DNS. -- Gerard gerard@seibercom.net She won' go Warp 7, Cap'n! The batteries are dead! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080908/39c6a97b/signature.pgp From schiz0phrenic21 at gmail.com Mon Sep 8 22:47:58 2008 From: schiz0phrenic21 at gmail.com (Schiz0) Date: Mon Sep 8 22:48:05 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> Message-ID: <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> On Mon, Sep 8, 2008 at 6:12 PM, Sean Cavanaugh wrote: > -------------------------------------------------- > From: "perikillo" > Sent: Monday, September 08, 2008 5:41 PM > To: "FreeBSD Mailing List" > Subject: Problems with portsdb -Uu on FreeBSD 6.3 > >> Hi people. >> >> Well I have time locking for a solution for this problem I have, I have >> googling around and have not found a solution, I have 2 serves running >> FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already >> stop doing that because I still cannot fix the problems with the commmand: >> >> portsdb -Uu, each time I run that command on both servers I receive this >> error: >> >> Updating the ports index ... Generating INDEX.tmp - please >> wait.."Makefile", >> line 56: Could not find bsd.port.options.mk >> make: fatal errors encountered -- cannot continue >> ===> sysutils/apcupsd failed >> *** Error code 1 > > > CVSUP your tree to straighten it out. I noticed that portsnap will not fix > damaged/missing files. Portsnap will if you do "extract". It WONT if you do "update." From lists at sequestered.net Mon Sep 8 23:15:05 2008 From: lists at sequestered.net (Jay Chandler) Date: Mon Sep 8 23:15:12 2008 Subject: Postfix issue In-Reply-To: <200809080533.57793.david@vizion2000.net> References: <200809080247.47237.david@vizion2000.net> <200809080521.03550.david@vizion2000.net> <48C51492.1060103@lcwords.com> <200809080533.57793.david@vizion2000.net> Message-ID: <48C5B1E5.2010501@sequestered.net> David Southwell wrote: > I pay for my connection to receive.. and pay for my connection to send. Some people just want to not paly their part in absorbing the risks that go with participation. It is up to us to defend our systems. > > Your server, your rules. You can whitelist or blacklist anyone you choose. The downside is that so can everybody else; your lack of non-generic rDNS means that mail to my server (alcatraz.sequestered.net) will bounce if not smarthosted through somewhere that has a static IP and properly configured DNS. This was deemed an acceptable threshold on my box when I was selecting anti-spam mechanisms. If you're that concerned about privacy, use GPG/PGP and request a key exchange. What's more is that I've applied that same metric at several employers, ranging from mid-sized businesses to universities. My previous (and current!) employers were familiar with all sides of the argument and ultimately decided to reject mail from dynamic address pools to combat spam. Complaining about it doesn't do much good, since (as previously stated) their server, their rules. > To classify a whole load of users, the majority of whom are genuine, as > invalid users is degrading and discriminatory. > > The majority of users smarthost their mail. If you want to retain control, drop the $15 a month on a VPS somewhere with a static IP, configure DNS correctly, and be your own smarthost; I did this for a while before I upgraded to a static IP at home. > My point of viwew -- you are entitled to yours but IMHO not to enforce it!! > Ah, but on my server I can enforce whatever makes the most sense for my userbase; my responsibility is to them, not to you. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: multicasts on broken packets From perikillo at gmail.com Mon Sep 8 23:25:30 2008 From: perikillo at gmail.com (perikillo) Date: Mon Sep 8 23:25:53 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> Message-ID: <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> http://www.freebsd.org/doc/en/books/handbook/portsnap.html I supposes that "portsnap extract" have to run just once, latter u have to just run portsnap fetch && portsnap update? Sean, u say that I better mix cvsup + portsnap? This is normal? This would not broke my tree? Right now I already run cvsup and is running portsdb -Uu, I will let u know what happend, thanks!!! On Mon, Sep 8, 2008 at 3:19 PM, Schiz0 wrote: > On Mon, Sep 8, 2008 at 6:12 PM, Sean Cavanaugh > wrote: > > -------------------------------------------------- > > From: "perikillo" > > Sent: Monday, September 08, 2008 5:41 PM > > To: "FreeBSD Mailing List" > > Subject: Problems with portsdb -Uu on FreeBSD 6.3 > > > >> Hi people. > >> > >> Well I have time locking for a solution for this problem I have, I have > >> googling around and have not found a solution, I have 2 serves running > >> FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already > >> stop doing that because I still cannot fix the problems with the > commmand: > >> > >> portsdb -Uu, each time I run that command on both servers I receive this > >> error: > >> > >> Updating the ports index ... Generating INDEX.tmp - please > >> wait.."Makefile", > >> line 56: Could not find bsd.port.options.mk > >> make: fatal errors encountered -- cannot continue > >> ===> sysutils/apcupsd failed > >> *** Error code 1 > > > > > > CVSUP your tree to straighten it out. I noticed that portsnap will not > fix > > damaged/missing files. > > Portsnap will if you do "extract". It WONT if you do "update." > From millenia2000 at hotmail.com Mon Sep 8 23:43:53 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Mon Sep 8 23:44:01 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com><8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com><8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> Message-ID: -------------------------------------------------- From: "perikillo" Sent: Monday, September 08, 2008 7:25 PM To: "FreeBSD Mailing List" Subject: Re: Problems with portsdb -Uu on FreeBSD 6.3 > http://www.freebsd.org/doc/en/books/handbook/portsnap.html > > I supposes that "portsnap extract" have to run just once, latter u have > to > just run portsnap fetch && portsnap update? > > Sean, u say that I better mix cvsup + portsnap? > > This is normal? This would not broke my tree? > > Right now I already run cvsup and is running portsdb -Uu, I will let u > know what happend, thanks!!! > I've never fully trusted portsnap. I do run portsnap fetch before every portupgrade but I always follow it up with CVSUP and I usually find some more files that get changed anyway. From perikillo at gmail.com Tue Sep 9 00:16:28 2008 From: perikillo at gmail.com (perikillo) Date: Tue Sep 9 00:16:36 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> Message-ID: <51d7a5160809081716y1f53deb1i3d3b29365711ce06@mail.gmail.com> This cannot be possible: Updating the ports index ... Generating INDEX.tmp - please wait.."Makefile", line 56: Could not find bsd.port.options.mk make: fatal errors encountered -- cannot continue ===> sysutils/apcupsd failed *** Error code 1 Again!!! Now, this could be a bug or what? I follow your instructions Sean and look again the same error, same port!!! This is my ports-supfile *default host=cvsup10.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ## Ports Collection. ports-all This is my make.conf CPUTYPE?=pentium4 #NO_CPU_CFLAGS= # Don't add -march= to CFLAGS automatically #NO_CPU_COPTFLAGS= # Don't add -march= to COPTFLAGS automatically # CFLAGS= -O -pipe # CXXFLAGS+= -fconserve-space # MAKE_SHELL?=sh # BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings COPTFLAGS= -O -pipe # Mtree will follow symlinks MTREE_FOLLOWS_SYMLINKS= -L # To enable installing ssh(1) with the setuid bit turned on ENABLE_SUID_SSH= #ENABLE_SUID_NEWGRP= # # To avoid building various parts of the base system: NO_ACPI= # do not build acpiconf(8) and related programs NO_ATM= # do not build ATM related programs and libraries #NO_AUTHPF= # do not build and install authpf (setuid/gid) NO_BLUETOOTH= # do not build Bluetooth related stuff #NO_BOOT= # do not build boot blocks and loader #NO_CRYPT= # do not build any crypto code #NO_CVS= # do not build CVS #NO_CXX= # do not build C++ and friends NO_DICT= # do not build the Webster dictionary files #NO_DYNAMICROOT= # do not link /bin and /sbin dynamically #NO_FORTRAN= # do not build g77 and related libraries NO_GAMES= # do not build games (games/ subdir) #NO_GDB= # do not build GDB #NO_GPIB= # do not build GPIB support NO_I4B= # do not build isdn4bsd package NO_INET6= # do not build IPv6 related programs and libraries #NO_INFO= # do not make or install info files NO_IPFILTER= # do not build IP Filter package #NO_KERBEROS= # do not build and install Kerberos 5 (KTH Heimdal) #NO_LIBC_R= # do not build libc_r (re-entrant version of libc) #NO_LIBPTHREAD= # do not build libpthread (M:N threading library) #NO_LIBTHR= # do not build libthr (1:1 threading library) #NO_LPR= # do not build lpr and related programs #NO_MAILWRAPPER= # do not build the mailwrapper(8) MTA selector #NO_MAN= # do not build manual pages #NO_MODULES= # do not build modules with the kernel #NO_NETCAT= # do not build netcat #NO_NIS= # do not build NIS support and related programs. # # If NO_NIS is set, you might need to adopt your # # nsswitch.conf(5) and remove `nis' entries. #NO_NLS_CATALOGS= # do not build NLS catalog support for csh(1) #NO_OBJC= # do not build Objective C support #NO_OPENSSH= # do not build OpenSSH #NO_OPENSSL= # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH) NO_PF= # do not build PF firewall package #NO_PROFILE= # Avoid compiling profiled libraries NO_RCMDS= # do not build or install BSD r* commands (rsh, etc). #NO_SENDMAIL= # do not build sendmail and related programs #NO_SHARE= # do not go into the share subdir #NO_SHARED= # build /bin and /sbin statically linked (bad idea) NO_SHAREDOCS= # do not build the 4.4BSD legacy docs #NO_TCSH= # do not build and install /bin/csh (which is tcsh) #NO_TOOLCHAIN= # do not build programs for program development NO_USB= # do not build usbd(8) and related programs # # Variables that control how ppp(8) is built. PPP_NO_NAT= # do not build with NAT support (see make.conf(5)) PPP_NO_NETGRAPH= # do not build with Netgraph support PPP_NO_RADIUS= # do not build with RADIUS support PPP_NO_SUID= # build with normal permissions # TRACEROUTE_NO_IPSEC= # do not build traceroute(8) with IPSEC support NO_BIND= # Do not build any part of BIND #NO_BIND_DNSSEC= # Do not build dnssec-keygen, dnssec-signzone #NO_BIND_ETC= # Do not install files to /etc/namedb #NO_BIND_LIBS_LWRES= # Do not install the lwres library #NO_BIND_MTREE= # Do not run mtree to create chroot directories #NO_BIND_NAMED= # Do not build named, rndc, lwresd, etc. #NO_BIND_UTILS= # Do not build dig, host, nslookup, nsupdate #WITH_BIND_LIBS= # Install the BIND libs and include files # # To build sys/modules when building the world (our old way of doing things) #MODULES_WITH_WORLD= # do not build modules when building kernel # # The list of modules to build instead of all of them. #MODULES_OVERRIDE= linux ipfw # # The list of modules to never build, applied *after* MODULES_OVERRIDE. #WITHOUT_MODULES= bktr plip # # NO_MANCOMPRESS= #PRINTERDEVICE= ps BOOTWAIT=0 # COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8 #BOOT_COMCONSOLE_PORT= 0x3F8 BOOT_COMCONSOLE_SPEED= 115200 #LOADER_TFTP_SUPPORT= YES #ENABLE_SUID_K5SU= #SUP_UPDATE= # #SUP= /usr/bin/csup #SUPFLAGS= -g -L 2 #SUPHOST= cvsup.uk.FreeBSD.org #SUPFILE= /usr/share/examples/cvsup/standard-supfile #PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile #DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile #TOP_TABLE_SIZE= 101 DOC_LANG= en_US.ISO8859-1 #SENDMAIL_MC=/etc/mail/myconfig.mc #SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc #SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc #SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf #SENDMAIL_M4_FLAGS= # with SASLv1: # SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL # SENDMAIL_LDFLAGS=-L/usr/local/lib # SENDMAIL_LDADD=-lsasl # # with SASLv2: # SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 # SENDMAIL_LDFLAGS=-L/usr/local/lib # SENDMAIL_LDADD=-lsasl2 #SENDMAIL_CFLAGS= #SENDMAIL_LDFLAGS= #SENDMAIL_LDADD= #SENDMAIL_DPADD= #SENDMAIL_SET_USER_ID= #SENDMAIL_MAP_PERMS= NO_WPA_SUPPLICANT_EAPOL=true # added by use.perl 2008-09-06 19:36:04 PERL_VER=5.8.8 PERL_VERSION=5.8.8 This could be a bug or what? What else I could do? Thanks for your support!!! On Mon, Sep 8, 2008 at 4:43 PM, Sean Cavanaugh wrote: > -------------------------------------------------- > From: "perikillo" > Sent: Monday, September 08, 2008 7:25 PM > To: "FreeBSD Mailing List" > Subject: Re: Problems with portsdb -Uu on FreeBSD 6.3 > > http://www.freebsd.org/doc/en/books/handbook/portsnap.html >> >> I supposes that "portsnap extract" have to run just once, latter u have >> to >> just run portsnap fetch && portsnap update? >> >> Sean, u say that I better mix cvsup + portsnap? >> >> This is normal? This would not broke my tree? >> >> Right now I already run cvsup and is running portsdb -Uu, I will let u >> know what happend, thanks!!! >> >> > I've never fully trusted portsnap. I do run portsnap fetch before every > portupgrade but I always follow it up with CVSUP and I usually find some > more files that get changed anyway. > From nightrecon at verizon.net Tue Sep 9 00:24:33 2008 From: nightrecon at verizon.net (Michael Powell) Date: Tue Sep 9 00:24:42 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> Message-ID: perikillo wrote: > http://www.freebsd.org/doc/en/books/handbook/portsnap.html > > I supposes that "portsnap extract" have to run just once, latter u have > to > just run portsnap fetch && portsnap update? > > Sean, u say that I better mix cvsup + portsnap? > > This is normal? This would not broke my tree? > > Right now I already run cvsup and is running portsdb -Uu, I will let u > know what happend, thanks!!! [snip] Unless you have a specific overriding reason to do -Uu you might want to try -uF instead. It's what I use and it's always worked. In fact, this is what I do to see if I need an upgrade: csup -L 2 ports && portsdb -uF && pkgdb -u && portversion But since I have never used portsnap don't really know anything about it. -Mike From perikillo at gmail.com Tue Sep 9 00:57:18 2008 From: perikillo at gmail.com (perikillo) Date: Tue Sep 9 00:57:25 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> Message-ID: <51d7a5160809081757kcb93a17p9f28719eb3da5087@mail.gmail.com> I have been trying a lot of things, I want to start again, I think I just need to delete /usr/ports? Let me read again the manual and see those Flags. I remember that the first time u run portsdb the manuals recommend to sue Uu, but let read the manual page, I will back soon!!! Thanks all for your support!!! On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell wrote: > perikillo wrote: > > > http://www.freebsd.org/doc/en/books/handbook/portsnap.html > > > > I supposes that "portsnap extract" have to run just once, latter u have > > to > > just run portsnap fetch && portsnap update? > > > > Sean, u say that I better mix cvsup + portsnap? > > > > This is normal? This would not broke my tree? > > > > Right now I already run cvsup and is running portsdb -Uu, I will let u > > know what happend, thanks!!! > [snip] > > Unless you have a specific overriding reason to do -Uu you might want to > try -uF instead. It's what I use and it's always worked. In fact, this is > what I do to see if I need an upgrade: > > csup -L 2 ports && portsdb -uF && pkgdb -u && portversion > > But since I have never used portsnap don't really know anything about it. > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From koitsu at FreeBSD.org Tue Sep 9 00:58:41 2008 From: koitsu at FreeBSD.org (Jeremy Chadwick) Date: Tue Sep 9 00:58:55 2008 Subject: IPFW uid logging... In-Reply-To: References: <20080908185106.GB6629@dan.emsphone.com> Message-ID: <20080909004239.GA82283@icarus.home.lan> On Mon, Sep 08, 2008 at 04:03:29PM -0400, Dan Mahoney, System Admin wrote: > On Mon, 8 Sep 2008, Dan Nelson wrote: > >> In the last episode (Sep 08), Dan Mahoney, System Admin said: >>> I have the following rule set up in ipfw to limit the exposure of bad >>> php scripts and trojans that try to send mail directly. >>> >>> allow tcp from any to any dst-port 25 uid root >>> deny log tcp from any to any dst-port 25 out >>> >>> However, the log messages I get look like this: >>> >>> Sep 8 13:21:11 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0 >>> Sep 8 13:21:16 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:56672 202.12.31.144:25 out via em0 >>> >>> Which is to say, they don't include the UID -- and I have several hundred >>> sites, each with its own UID. >>> >>> Yes, I could go ahead and set up a thousand "deny" rules, one for >>> each UID -- but being able to log this info (since it IS being >>> checked) would be great. >> >> It should be possible to add a couple more arguments to ipfw_log() so >> that ipfw_chk() can pass it the ugid_lookup flag and a pointer to the >> fw_ugid_cache struct. Then you can edit ipfw_log to print the contents >> of that struct if ugid_lookup==1. That would result in the logging of >> uid for any failed packet that had to go through a uid check on the way >> to the deny rule. > > Okay, so if it's fairly easy to do, the question would be "since I don't > feel right hacking in this change myself -- how could I propose this as a > feature?" It's not a BUG per-se, but I think it could be useful to > others as well. send-pr it. Category=kern, Class=change-request. Reference this thread in the Fix section: http://lists.freebsd.org/pipermail/freebsd-hackers/2008-September/025920.html FWIW, I think it's also a good idea. The output formatting of the log line might need to be adjusted "carefully" though, since any programs which grep on a very strict regex will start failing. I'm inclined to recommend the string ", UID xxx" be appended to the existing string, e.g. Sep 8 13:21:11 prime kernel: ipfw: 610 Deny TCP 72.9.101.130:58117 209.85.133.114:25 out via em0, UID 6592 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From martin at dc.cis.okstate.edu Tue Sep 9 02:38:08 2008 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Tue Sep 9 02:38:15 2008 Subject: Can FreeBSD6.3 Generic Kernels Mount a Linux EXT3 FS? Message-ID: <200809090238.m892c7Bp016497@dc.cis.okstate.edu> My thanks to a member of this list who showed me what I was doing wrong. in an example, the command is mount -t ext2fs /dev/[yourstoragedevicename] /mnt I had originally been typing -t ext2 which equals nothing to FreeBSD. Martin McCormick From michael.copeland at gmail.com Tue Sep 9 03:09:25 2008 From: michael.copeland at gmail.com (Michael) Date: Tue Sep 9 03:09:34 2008 Subject: Can FreeBSD6.3 Generic Kernels Mount a Linux EXT3 FS? In-Reply-To: <200809090238.m892c7Bp016497@dc.cis.okstate.edu> References: <200809090238.m892c7Bp016497@dc.cis.okstate.edu> Message-ID: <48C5E8C4.7090401@gmail.com> Martin McCormick wrote: > My thanks to a member of this list who showed me what I was > doing wrong. in an example, the command is > > mount -t ext2fs /dev/[yourstoragedevicename] /mnt > > I had originally been typing -t ext2 which equals nothing to > FreeBSD. > > Martin McCormick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >> lol, i could say something about it not being anything to freebsd... cheers mate mike From derek at computinginnovations.com Tue Sep 9 03:22:16 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 9 03:22:23 2008 Subject: Virtual machines hosted on FreeBSD 7 Message-ID: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> I have a FreeBSD 7 release I wanted to use as a host for virtual machines. What software is anyone else using to host virtual machines under FreeBSD? I'd just like to here what has worked, or what has not worked. I find it easier to find a solution asking for real world experiences. Thanks for your help. -Derek derek@computinginnovations.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wsw1wsw2 at gmail.com Tue Sep 9 03:28:38 2008 From: wsw1wsw2 at gmail.com (wsw) Date: Tue Sep 9 03:28:45 2008 Subject: Can FreeBSD6.3 Generic Kernels Mount a Linux EXT3 FS? In-Reply-To: <200809090238.m892c7Bp016497@dc.cis.okstate.edu> References: <200809090238.m892c7Bp016497@dc.cis.okstate.edu> Message-ID: <2e566b9e0809082007w46a313aeue329cb99eb2478b3@mail.gmail.com> The GENERIC kernel maybe have no ext2fs module. You can install it by: cd /usr/src/sys/module/ext2fs && make && make install clean and load the module kldload ext2fs If you do not have mount_ext2fs tool: cd /usr/src/sbin/mount_ext2fs && make && make install clean then, try to mount the ext2 partition. On Tue, Sep 9, 2008 at 10:38 AM, Martin McCormick wrote: > My thanks to a member of this list who showed me what I was > doing wrong. in an example, the command is > > mount -t ext2fs /dev/[yourstoragedevicename] /mnt > > I had originally been typing -t ext2 which equals nothing to > FreeBSD. > > Martin McCormick > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From michael.copeland at gmail.com Tue Sep 9 03:37:55 2008 From: michael.copeland at gmail.com (Michael) Date: Tue Sep 9 03:38:02 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> Message-ID: <48C5EF82.8000904@gmail.com> Derek Ragona wrote: > I have a FreeBSD 7 release I wanted to use as a host for virtual > machines. What software is anyone else using to host virtual machines > under FreeBSD? > > I'd just like to here what has worked, or what has not worked. I find > it easier to find a solution asking for real world experiences. > > Thanks for your help. > > > > -Derek > derek@computinginnovations.com > > > >> In my honest opinion, there aren't many good ways of doing what I think you're wanting. VMware is a no go for now, or probably any time soon. I don't think virtualbox is running on freebsd yet. You could use jails, for just other freebsd installs, not really a VM so to speak. bochs is crap for this purpose, simics doesn't run on it worth a crap either. If I were you, I would use something else. say a hypervisor running on bare hardware, ie: VMware ESX, or similar. I would say xen if it was ready, but I don't think it is. Cheers Mate, Mike From derek at computinginnovations.com Tue Sep 9 03:46:48 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 9 03:46:55 2008 Subject: {Spam?} Re: Virtual machines hosted on FreeBSD 7 In-Reply-To: <48C5EF82.8000904@gmail.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> Message-ID: <6.0.0.22.2.20080908224405.025edbf0@mail.computinginnovations.com> At 10:37 PM 9/8/2008, Michael wrote: >Derek Ragona wrote: >>I have a FreeBSD 7 release I wanted to use as a host for virtual >>machines. What software is anyone else using to host virtual machines >>under FreeBSD? >> >>I'd just like to here what has worked, or what has not worked. I find it >>easier to find a solution asking for real world experiences. >> >>Thanks for your help. >> >> >> >> -Derek >> derek@computinginnovations.com >> >> > >> In my honest opinion, there aren't many good ways of doing what I > think you're wanting. >VMware is a no go for now, or probably any time soon. I don't think >virtualbox is running on freebsd yet. You could use jails, for just other >freebsd installs, not really a VM so to speak. >bochs is crap for this purpose, simics doesn't run on it worth a crap >either. If I were you, I would use something else. say a hypervisor >running on bare hardware, ie: VMware ESX, or similar. I would say xen if >it was ready, but I don't think it is. > >Cheers Mate, > >Mike Mike, Thanks for the quick response. I had seen that there are a lot of non-working virtual machine implementations. It seems a shame that as well as FreeBSD runs there are no ways to run a VM on it. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kline at thought.org Tue Sep 9 04:35:12 2008 From: kline at thought.org (Gary Kline) Date: Tue Sep 9 04:35:19 2008 Subject: how can i use ISO-8859-1?? Message-ID: <20080909043503.GA21663@thought.org> Guys, This is one of the I've-been-meaning-to-ask questions; but other things keep happening that took precedence. Now it's time to ask what are the voodoo commands to set up in my ~/.zshrc or other initiation files (probably including my muttrc) that will let me print to stdout, characters like the "e-aigu" or "u-umlaut" and the currency pound or Euro? I keep running into '\240' characters that are likely M$ format commands. Catting a saved file thru Giorgos sed 's/[^[:print:]]/*/g' {or whatever} resolved that --and other such. But it isn't my main gripe. I realize this is probably a complex issue; it's time to work on a reasonable solution. thanks in advance for all insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From fbsd1 at a1poweruser.com Tue Sep 9 05:08:47 2008 From: fbsd1 at a1poweruser.com (FBSD1) Date: Tue Sep 9 05:08:55 2008 Subject: Exiting Gnome Message-ID: Started Gnome for first time. Can not figure how to exit (stop) gnome and return to the FreeBSD command line. The System/logout option just hangs. From keramida at ceid.upatras.gr Tue Sep 9 05:26:39 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Sep 9 05:26:46 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909043503.GA21663@thought.org> (Gary Kline's message of "Mon, 8 Sep 2008 21:35:07 -0700") References: <20080909043503.GA21663@thought.org> Message-ID: <8763p5yjni.fsf@kobe.laptop> On Mon, 8 Sep 2008 21:35:07 -0700, Gary Kline wrote: > Guys, > > This is one of the I've-been-meaning-to-ask questions; but other > things keep happening that took precedence. Now it's time to ask what > are the voodoo commands to set up in my ~/.zshrc or other initiation > files (probably including my muttrc) that will let me print to stdout, > characters like the "e-aigu" or "u-umlaut" and the currency pound or > Euro? > > I keep running into '\240' characters that are likely M$ format > commands. [...] That's not really an ISO 8859-1 problem, but a locale setup issue. In my .bashrc file I have the following: # Locale setup. export LANG="C" export LC_CTYPE="el_GR.ISO8859-7" export LC_COLLATE="el_GR.ISO8859-7" unset LC_ALL LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME You can use something similar to set things up for `en_US.ISO8859-1': # Locale setup. export LANG="C" export LC_CTYPE="en_US.ISO8859-1" export LC_COLLATE="en_US.ISO8859-1" unset LC_ALL LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME If you want _everything_ to be displayed using the standard en_US conventions for en_US.ISO8859-1, you can alternatively use: export LANG="C" export LC_ALL="en_US.ISO8859-1" unset LC_CTYPE LC_COLLATE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME and let LC_ALL override everything. A slightly better idea (which doesn't hardcode LANG and LC_ALL for all shell instances) is to configure your personal `.login_conf' file with something like: me:\ :charset=iso-8859-1:\ :lang=en_US.ISO8859-1:\ :setenv=LC_ALL=en_US.ISO8859-1: With this in place you will get the 'correct' environment regardless of the login shell you are using: bash, csh or zsh. Note: By avoiding hardcoded locale setup in your shell startup file you can even spawn sub-shells with different locales. Here's how a zsh session with `en_US.ISO8859-1' can spawn a ksh session with a Greek locale for example: zsh> env | egrep '^(LANG|LC_ALL)' LANG=en_US.ISO8859-1 LC_ALL=en_US.ISO8859-1 zsh> env LANG='el_GR.ISO8859-7' LC_ALL='el_GR.ISO8859-7' ksh ksh$ mutt Note that this is only ``half of the setup'' though. You will then have to make sure that your terminal emulator can display ISO 8859-1 text correctly, by choosing an appropriate font set. The xlsfonts(1) and the fc-list(1) utilities can show you a list of installed fonts: # xlsfonts | fgrep '8859-1' # fc-list Pick one that includes ISO 8859-1 characters, and off you go :) From alainfabry at belgacom.net Tue Sep 9 05:32:27 2008 From: alainfabry at belgacom.net (Alain G. Fabry) Date: Tue Sep 9 05:32:35 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> Message-ID: <20080909052749.GA69805@ducati-748.3rdrock.kicks-ass.net> On Mon, Sep 08, 2008 at 10:21:56PM -0500, Derek Ragona wrote: > I have a FreeBSD 7 release I wanted to use as a host for virtual > machines. What software is anyone else using to host virtual machines > under FreeBSD? > I use Qemu and run XP, Solaris, Gentoo, and FreeBSD as guests. Speed is not super, but workable for me since it is just to play with. > I'd just like to here what has worked, or what has not worked. I find it > easier to find a solution asking for real world experiences. > > Thanks for your help. > > > > -Derek > derek@computinginnovations.com > > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From bennett at cs.niu.edu Tue Sep 9 06:17:24 2008 From: bennett at cs.niu.edu (Scott Bennett) Date: Tue Sep 9 06:17:31 2008 Subject: pf question Message-ID: <200809090517.m895Hdur017604@mp.cs.niu.edu> I'm just starting to play around with pf to get it to handle NAT for a LAN, and I've just discovered that I don't know how to get pf to reload /etc/pf.conf after I make changes to it. "pfctl -d -e" doesn't do it, and neither does "pfctl -d; pfctl -e". Is there a way to do it besides rebooting? Please copy me in directly on any replies. I'm subscribed to the digest form of this list, so I get all the messages at once, usually once a day, so I'll see the responses much sooner if they come to me directly as well as to the list. Thanks much! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From joeb at a1poweruser.com Tue Sep 9 06:49:05 2008 From: joeb at a1poweruser.com (joeb) Date: Tue Sep 9 06:49:17 2008 Subject: pf question In-Reply-To: <200809090517.m895Hdur017604@mp.cs.niu.edu> Message-ID: pfctl -f /etc/pf.conf # loads the pf.conf file pfctl -Nf /etc/pf.conf # Load only the NAT rules from the file pfctl -Rf /etc/pf.conf # Load only the filter rules from the file -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Scott Bennett Sent: Tuesday, September 09, 2008 1:18 PM To: freebsd-questions@freebsd.org Subject: pf question I'm just starting to play around with pf to get it to handle NAT for a LAN, and I've just discovered that I don't know how to get pf to reload /etc/pf.conf after I make changes to it. "pfctl -d -e" doesn't do it, and neither does "pfctl -d; pfctl -e". Is there a way to do it besides rebooting? Please copy me in directly on any replies. I'm subscribed to the digest form of this list, so I get all the messages at once, usually once a day, so I'll see the responses much sooner if they come to me directly as well as to the list. Thanks much! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From artis.caune at gmail.com Tue Sep 9 06:50:50 2008 From: artis.caune at gmail.com (Artis Caune) Date: Tue Sep 9 06:50:58 2008 Subject: pf question In-Reply-To: <200809090517.m895Hdur017604@mp.cs.niu.edu> References: <200809090517.m895Hdur017604@mp.cs.niu.edu> Message-ID: <9e20d71e0809082350w8c619d9s9f3ebdfda5a7fbaf@mail.gmail.com> On Tue, Sep 9, 2008 at 8:17 AM, Scott Bennett wrote: > I'm just starting to play around with pf to get it to handle NAT for > a LAN, and I've just discovered that I don't know how to get pf to reload > /etc/pf.conf after I make changes to it. "pfctl -d -e" doesn't do it, and > neither does "pfctl -d; pfctl -e". Is there a way to do it besides rebooting? pfctl -f /etc/pf.conf http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD From andy-ch at andy-ch.com Tue Sep 9 07:17:59 2008 From: andy-ch at andy-ch.com (andy-ch) Date: Tue Sep 9 07:18:07 2008 Subject: [ask] adding new processor Message-ID: <39F89548-A27C-4C5D-B4C7-3F4F0D603717@andy-ch.com> I would like to add a new processor on my FreeBSD 7-RELEASE. Now it's 1 x Intel Xeon E5410, and I would like to add another 1 x Intel Xeon E5410, so there will be 2 x Intel Xeon E5410 (8-Core Total) Do I need to recompile the kernel and/or daemons inside (ex: Apache, PHP, MySQL, EXIM, etc...) ? Or the operating system (including it's daemons) will reflect to work with both processors once the system booted ? Thank you for your kind help, and I hope to hear a good response from you soon. -- Best Regards, Andy Chandra IndoForum GMod Team andy-ch@andy-ch.com http://www.indoforum.org Indonesian Online Community From artis.caune at gmail.com Tue Sep 9 07:42:22 2008 From: artis.caune at gmail.com (Artis Caune) Date: Tue Sep 9 07:42:29 2008 Subject: [ask] adding new processor In-Reply-To: <39F89548-A27C-4C5D-B4C7-3F4F0D603717@andy-ch.com> References: <39F89548-A27C-4C5D-B4C7-3F4F0D603717@andy-ch.com> Message-ID: <9e20d71e0809090042v7a94ecdeh39dbfc5fedff7cd3@mail.gmail.com> On Tue, Sep 9, 2008 at 9:55 AM, andy-ch wrote: > I would like to add a new processor on my FreeBSD 7-RELEASE. > > Now it's 1 x Intel Xeon E5410, and I would like to add another 1 x Intel > Xeon E5410, so there will be 2 x Intel Xeon E5410 (8-Core Total) > > Do I need to recompile the kernel and/or daemons inside (ex: Apache, PHP, > MySQL, EXIM, etc...) ? > > Or the operating system (including it's daemons) will reflect to work with > both processors once the system booted ? Hi, FreeBSD 7.0 has multi processor support in GENERIC kernel. If you haven't removed SMP option from kernel config, you don't need recompile anything. verify with: # sysctl kern.smp.cpus -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD From perryh at pluto.rain.com Tue Sep 9 08:12:32 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Sep 9 08:12:40 2008 Subject: Postfix issue In-Reply-To: <200809080436.41021.david@vizion2000.net> References: <200809080436.41021.david@vizion2000.net> Message-ID: <48c62dec.koxObYKS7PPrfOsp%perryh@pluto.rain.com> > > why are you not using your ISP to relay emails, using its mail > > gateway (which should have a static IP address)? ... > I do not like the fact that a number of governments (including > most european ones) now have the right to access all emails > that pass through an ISP's server. They do not have the right > to access private server systems unless they have a warrant. This *is* a valid concern, but it's not clear to me how it applies to messages that are being sent to public mailing lists where they will be as available to Big Brother as to anyone else. How about configuring your MTA to send anything going to a public list via your ISP, and send directly only messages that aren't going to be posted for the world to see? > Another emerging issue is cable operators refusing to allow > fixed IP address so they can receive revenue from reporting > on user usage data. I seriously doubt that as a motivation. If anything, static IP assignments would make it *easier* to track per-customer usage. A more likely reason is that most residential users, even on cable or DSL, do not keep their router (or system, if they have only one and therefore don't use a router) on-line anywhere near 24-7. The ISP can serve several customers per IP address by using DHCP (so that customers occupy IP addresses only when on-line). From z.szalbot at lcwords.com Tue Sep 9 08:49:37 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Tue Sep 9 08:49:43 2008 Subject: WITHOUT_X11=yes in pkgtools.conf Message-ID: <48C6389C.1090001@lcwords.com> Hello, How do I set a global WITHOUT_X11 in pkgtools.conf? (not for a specific port but for all ports) I tried putting it under MAKE_ARGS = { } and came up with MAKE_ARGS = { 'WITHOUT_X11=yes', } but it does not work $ portinstall ** Error occured reading /usr/local/etc/pkgtools.conf: /usr/local/etc/pkgtools.conf:390: odd number list for Hash Many thanks in advance! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/c2e558cc/smime.bin From m.seaman at infracaninophile.co.uk Tue Sep 9 08:55:36 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Sep 9 08:55:43 2008 Subject: WITHOUT_X11=yes in pkgtools.conf In-Reply-To: <48C6389C.1090001@lcwords.com> References: <48C6389C.1090001@lcwords.com> Message-ID: <48C639FA.4040908@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zbigniew Szalbot wrote: | Hello, | | How do I set a global WITHOUT_X11 in pkgtools.conf? (not for a specific | port but for all ports) | | I tried putting it under | MAKE_ARGS = { | } | and came up with | MAKE_ARGS = { 'WITHOUT_X11=yes', | } | | but it does not work | | $ portinstall | ** Error occured reading /usr/local/etc/pkgtools.conf: | /usr/local/etc/pkgtools.conf:390: odd number list for Hash | | Many thanks in advance! | Put it in /etc/make.conf -- that way it will work for all ports, however you manage them and independent of whether you use portupgrade, portmanager or just 'cd /usr/ports/port/name ; make install'. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjGOfoACgkQ3jDkPpsZ+VYWWwCfdv0Yr0xjF6C5kqsl8QeyI6tJ 8KcAoLrNFQvcvCNNyW5DWD5y+DgeCo8N =DUDw -----END PGP SIGNATURE----- From z.szalbot at lcwords.com Tue Sep 9 09:02:34 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Tue Sep 9 09:02:50 2008 Subject: WITHOUT_X11=yes in pkgtools.conf In-Reply-To: <48C639FA.4040908@infracaninophile.co.uk> References: <48C6389C.1090001@lcwords.com> <48C639FA.4040908@infracaninophile.co.uk> Message-ID: <48C63BA4.20500@lcwords.com> Hello, Matthew Seaman: > | MAKE_ARGS = { 'WITHOUT_X11=yes', > | } > | | but it does not work > | | $ portinstall > | ** Error occured reading /usr/local/etc/pkgtools.conf: > | /usr/local/etc/pkgtools.conf:390: odd number list for Hash > | | Many thanks in advance! > | > Put it in /etc/make.conf -- that way it will work for all ports, however > you manage them and independent of whether you use portupgrade, portmanager > or just 'cd /usr/ports/port/name ; make install'. Thanks for this hint Matthew! Will it be correct to put it like this: WITHOUT_MODULES=X11 Many thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/5ad28ec6/smime.bin From wojtek at wojtek.tensor.gdynia.pl Tue Sep 9 09:04:33 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Sep 9 09:04:43 2008 Subject: [ask] adding new processor In-Reply-To: <39F89548-A27C-4C5D-B4C7-3F4F0D603717@andy-ch.com> References: <39F89548-A27C-4C5D-B4C7-3F4F0D603717@andy-ch.com> Message-ID: <20080909110414.B36535@wojtek.tensor.gdynia.pl> > I would like to add a new processor on my FreeBSD 7-RELEASE. > > Now it's 1 x Intel Xeon E5410, and I would like to add another 1 x Intel Xeon > E5410, so there will be 2 x Intel Xeon E5410 (8-Core Total) > > Do I need to recompile the kernel and/or daemons inside (ex: Apache, PHP, > MySQL, EXIM, etc...) ? no > > Or the operating system (including it's daemons) will reflect to work with > both processors once the system booted ? > yes > Thank you for your kind help, and I hope to hear a good response from you > soon. > > -- > Best Regards, > Andy Chandra > IndoForum GMod Team > andy-ch@andy-ch.com > http://www.indoforum.org > Indonesian Online Community > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From Albert.Shih at obspm.fr Tue Sep 9 09:17:20 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Tue Sep 9 09:17:27 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <48C5EF82.8000904@gmail.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> Message-ID: <20080909091707.GA48060@pcjas.obspm.fr> Le 08/09/2008 ? 23:37:38-0400, Michael a ?crit > > > Derek Ragona wrote: > > I have a FreeBSD 7 release I wanted to use as a host for virtual > > machines. What software is anyone else using to host virtual machines > > under FreeBSD? > > > > I'd just like to here what has worked, or what has not worked. I find > > it easier to find a solution asking for real world experiences. > > > > Thanks for your help. > > > > > > > > -Derek > > derek@computinginnovations.com > > > > > > > >> In my honest opinion, there aren't many good ways of doing what I > think you're wanting. > VMware is a no go for now, or probably any time soon. I don't think > virtualbox is running on freebsd yet. You could use jails, for just > other freebsd installs, not really a VM so to speak. Well, depend what's you going to do with virtual machine, but jail is something very fine for apache/php server, databases etc... because you don't slow down the I/O (like vmware did). > bochs is crap for this purpose, simics doesn't run on it worth a crap > either. If I were you, I would use something else. say a hypervisor > running on bare hardware, ie: VMware ESX, or similar. I would say xen if > it was ready, but I don't think it is. And just for information VMware ESX is free now. Regards -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 9 sep 2008 11:15:26 CEST From m.seaman at infracaninophile.co.uk Tue Sep 9 09:25:02 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Sep 9 09:25:09 2008 Subject: WITHOUT_X11=yes in pkgtools.conf In-Reply-To: <48C63BA4.20500@lcwords.com> References: <48C6389C.1090001@lcwords.com> <48C639FA.4040908@infracaninophile.co.uk> <48C63BA4.20500@lcwords.com> Message-ID: <48C640E7.2000108@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zbigniew Szalbot wrote: | Hello, | | Matthew Seaman: |> | MAKE_ARGS = { 'WITHOUT_X11=yes', |> | } |> | | but it does not work |> | | $ portinstall |> | ** Error occured reading /usr/local/etc/pkgtools.conf: |> | /usr/local/etc/pkgtools.conf:390: odd number list for Hash |> | | Many thanks in advance! |> | |> Put it in /etc/make.conf -- that way it will work for all ports, however |> you manage them and independent of whether you use portupgrade, |> portmanager |> or just 'cd /usr/ports/port/name ; make install'. | | Thanks for this hint Matthew! Will it be correct to put it like this: | | WITHOUT_MODULES=X11 | | Many thanks! No, you'ld put precisely this in /etc/make.conf: WITHOUT_X11=yes Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjGQOcACgkQ3jDkPpsZ+Vaw7wCffFPzNRMAot0S28OMzid+6CfK jHwAoJoslIi4146JP+l3FpXENsxY7T3Y =5c+8 -----END PGP SIGNATURE----- From jan+freebsd at g-b.dk Tue Sep 9 09:53:59 2008 From: jan+freebsd at g-b.dk (KlaymenDK) Date: Tue Sep 9 09:54:11 2008 Subject: State of 3d video, which vendor has best support? Message-ID: <51716.195.212.29.83.1220954063.squirrel@webmail.g-b.dk> > On Monday 08 September 2008, KlaymenDK wrote: >> I'm about to build a new pc, the first in quite a few years. My problem >> is that I can't find out if I should choose a 3D chipset from Intel, Ati, >> or nVidia. What's the state of support, track record, and such for these >> nowadays? > > This is becoming a FAQ. You should be able to find some good information > in a couple of relatively recent threads. > > The nutshell summary (in my opinion, from memory) is this: > * nVidia support is good w/ the binary driver on i386. > Not available on amd64. > * ati support is great for hardware supported by radeon(4x). > The manpage has a pretty good list. Better support for fancier cards > ("hd", etc) is coming but not quite all the way there. > * intel support is very good. Not quite as many souped-up options but > modern onboard intel graphics are more than adequate for almost > anything, including many games. That's excellent! Believe you me, I've done rather a lot of googling, but it's tricky to come up with the right mix of keywords to not be flooded with wrong results. Thank you so very much! FYI, I will buy a (Sapphire?) Radeon HD3850, because it has dual DVI out and *very* low idle power draw. I shall have to take my chances with the "not quite all the way there" HD support. :o) KlaymenDK -- 010\001\111 -- From derek at computinginnovations.com Tue Sep 9 10:35:35 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 9 10:35:41 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <20080909091707.GA48060@pcjas.obspm.fr> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> <20080909091707.GA48060@pcjas.obspm.fr> Message-ID: <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> At 04:17 AM 9/9/2008, Albert Shih wrote: > Le 08/09/2008 ? 23:37:38-0400, Michael a ?crit > > > > > > Derek Ragona wrote: > > > I have a FreeBSD 7 release I wanted to use as a host for virtual > > > machines. What software is anyone else using to host virtual machines > > > under FreeBSD? > > > > > > I'd just like to here what has worked, or what has not worked. I find > > > it easier to find a solution asking for real world experiences. > > > > > > Thanks for your help. > > > > > > > > > > > > -Derek > > > derek@computinginnovations.com > > > > > > > > > > > >> In my honest opinion, there aren't many good ways of doing what I > > think you're wanting. > > VMware is a no go for now, or probably any time soon. I don't think > > virtualbox is running on freebsd yet. You could use jails, for just > > other freebsd installs, not really a VM so to speak. > >Well, depend what's you going to do with virtual machine, but jail is >something very fine for apache/php server, databases etc... because you >don't slow down the I/O (like vmware did). > > > bochs is crap for this purpose, simics doesn't run on it worth a crap > > either. If I were you, I would use something else. say a hypervisor > > running on bare hardware, ie: VMware ESX, or similar. I would say xen if > > it was ready, but I don't think it is. > >And just for information VMware ESX is free now. I thought that the VMware ESX is just a trial version that quits running after a few weeks. But if I am wrong about that, let me know. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From derek at computinginnovations.com Tue Sep 9 10:40:24 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Sep 9 10:40:31 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <20080909052749.GA69805@ducati-748.3rdrock.kicks-ass.net> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <20080909052749.GA69805@ducati-748.3rdrock.kicks-ass.net> Message-ID: <6.0.0.22.2.20080909053923.025d6a50@mail.computinginnovations.com> At 12:27 AM 9/9/2008, Alain G. Fabry wrote: >On Mon, Sep 08, 2008 at 10:21:56PM -0500, Derek Ragona wrote: > > I have a FreeBSD 7 release I wanted to use as a host for virtual > > machines. What software is anyone else using to host virtual machines > > under FreeBSD? > > > >I use Qemu and run XP, Solaris, Gentoo, and FreeBSD as guests. >Speed is not super, but workable for me since it is just to play with. Did you install qemu just from the ports? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From glarkin at FreeBSD.org Tue Sep 9 10:42:50 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Sep 9 10:42:57 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> <20080909091707.GA48060@pcjas.obspm.fr> <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> Message-ID: <48C65327.10206@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Derek Ragona wrote: > At 04:17 AM 9/9/2008, Albert Shih wrote: >> Le 08/09/2008 ? 23:37:38-0400, Michael a ?crit >> > >> > >> > Derek Ragona wrote: >> > > I have a FreeBSD 7 release I wanted to use as a host for virtual >> > > machines. What software is anyone else using to host virtual >> machines >> > > under FreeBSD? >> > > >> > > I'd just like to here what has worked, or what has not worked. I >> find >> > > it easier to find a solution asking for real world experiences. >> > > >> > > Thanks for your help. >> > > >> > > >> > > >> > > -Derek >> > > derek@computinginnovations.com >> > > >> > > >> > > >> > >> In my honest opinion, there aren't many good ways of doing what I >> > think you're wanting. >> > VMware is a no go for now, or probably any time soon. I don't think >> > virtualbox is running on freebsd yet. You could use jails, for just >> > other freebsd installs, not really a VM so to speak. >> >> Well, depend what's you going to do with virtual machine, but jail is >> something very fine for apache/php server, databases etc... because you >> don't slow down the I/O (like vmware did). >> >> > bochs is crap for this purpose, simics doesn't run on it worth a crap >> > either. If I were you, I would use something else. say a hypervisor >> > running on bare hardware, ie: VMware ESX, or similar. I would say >> xen if >> > it was ready, but I don't think it is. >> >> And just for information VMware ESX is free now. > > I thought that the VMware ESX is just a trial version that quits > running after a few weeks. But if I am wrong about that, let me know. > > -Derek > Hi Derek, Nope, it is free. Check out: http://www.vmware.com/products/esxi/uses.html One thing to note, though. It still needs approved hardware to install. At the moment, I have installed it into a VM within VMware Workstation to achieve that. I'll have to do some testing to see how performace suffers! It might be fine for a test environment, which is what I'm using it for. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxlMn0sRouByUApARAsSNAJ9eL1HspV1jTAAgOy1jRWAUIVyRugCfQx6P HGG1jxDnmxkQWZnbl+gn1Cc= =kLlt -----END PGP SIGNATURE----- From alydiomc at yahoo.com Tue Sep 9 08:26:41 2008 From: alydiomc at yahoo.com (lyd mc) Date: Tue Sep 9 11:21:17 2008 Subject: Sendmail check FROM: header Message-ID: <796649.99425.qm@web52211.mail.re2.yahoo.com> Hi guys, How do i check valid sender before sending mail? example: ? ? FROM: anonymous@mydomain.com if this 'anonymous' user is not on localhost the mail should be rejected even if the user has valid login (user and password). my sendmail uses login/plain before relaying. however they can still send mail even the FROM: header is not their name. I don't want this to happen. Need your help guys. Thnx. alydio From emss at free.fr Tue Sep 9 11:26:48 2008 From: emss at free.fr (Eric Masson) Date: Tue Sep 9 11:26:55 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> (Derek Ragona's message of "Tue, 09 Sep 2008 05:35:11 -0500") References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> <20080909091707.GA48060@pcjas.obspm.fr> <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> Message-ID: <86vdx58uox.fsf@srvbsdnanssv.interne.kisoft-services.com> Derek Ragona writes: Hi, > I thought that the VMware ESX is just a trial version that quits > running after a few weeks. But if I am wrong about that, let me know. >From : http://vmware.com/products/esxi/ ESXi seems to be free, but not the entreprise administration tools. ?ric Masson -- je me fais un r?veil matin qui m'?nonce les SC6 et SC7 de word98 [avec le Speech de MacsBug]. Si je me l?ve pas pour l'?teindre, je suis s?r que ma femme le fera?.-) -+- BL in Guide du Macounet Pervers : Tyran domestique ! -+- From jalmberg at identry.com Tue Sep 9 11:35:52 2008 From: jalmberg at identry.com (John Almberg) Date: Tue Sep 9 11:35:59 2008 Subject: safest way to upgrade a production server In-Reply-To: <54db43990809081203x11e0bae3u2909c1158d44832b@mail.gmail.com> References: <20080908033359.D75A810656C2@hub.freebsd.org> <48C50960.17104.472ED1DE@iwrtech.iwr.ru.ac.za> <54db43990809081203x11e0bae3u2909c1158d44832b@mail.gmail.com> Message-ID: <9C33E030-B480-4E3C-B1A0-9AA7B77B7E3C@identry.com> >> Anyway, I guess what I should do is patch this to the latest 6.3 >> version? >> > > My strategy was to do a source-base upgrade to 6.3-RELEASE, and then > use freebsd-update to apply critical patches. Freebsd-update only > works on -RELEASE versions with generic kernels, but I find it much > faster and easier than trying to do upgrades from source. You also > need to keep track of ports that need updating: use portaudit for > that. Unfortunately, this sounds about right, to me. Well, I'm going to have to practice long and hard before trying this on our production machines... I need to get a feeling for just how dangerous a process this is, before trying it. It's one of those things you want to do right the first time! -- John From mlobo at digiart.art.br Tue Sep 9 11:57:14 2008 From: mlobo at digiart.art.br (Mario Lobo) Date: Tue Sep 9 11:57:23 2008 Subject: [OT] tcpdump overhead Message-ID: <30719919.1220960726357.JavaMail.nfsnobody@mailapp02.brturbo.com> Hello; I am doing a final paper for my post-graduate studies. The paper is about QOS on a corporate environment. One of the issues involved in the network measurements I am going to make is how much overhead tcpdump will have on them (if any). It seems to me that this overhead can be disregarded as influential but, if this is right, I need some "proper" source that I can quote and index on my paper. Could anyone show some directions for any "official" documentation on this? or maybe some opinions, sugestions from you guys on this subject that I could "officially" put on this paper? well, thanks and sorry for this off-topic. Mario Lobo From wojtek at wojtek.tensor.gdynia.pl Tue Sep 9 12:21:41 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Sep 9 12:21:48 2008 Subject: [OT] tcpdump overhead In-Reply-To: <30719919.1220960726357.JavaMail.nfsnobody@mailapp02.brturbo.com> References: <30719919.1220960726357.JavaMail.nfsnobody@mailapp02.brturbo.com> Message-ID: <20080909141945.B37476@wojtek.tensor.gdynia.pl> > make is how much overhead tcpdump will have on them (if any). It seems > to me that this overhead can be disregarded as influential but, if depends how kmuch packets are actually gathered. if you tcpdump everything from loaded gigabit link it won't be small. you will have to use at least 2-disk stripping to be able to write data ;) i don't know if it's "official" docs, just generate some traffic, observe how much CPU is idle, then add tcpdump to the mix and do the math. simple From fbsd06 at mlists.homeunix.com Tue Sep 9 12:54:59 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Sep 9 12:55:07 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> Message-ID: <20080909134315.375256b1@gumby.homeunix.com.> On Mon, 8 Sep 2008 19:43:14 -0400 "Sean Cavanaugh" wrote: > I've never fully trusted portsnap. I do run portsnap fetch before > every portupgrade but I always follow it up with CVSUP and I usually > find some more files that get changed anyway. "portsnap fetch" doesn't affect your ports tree at all, you need to follow it with "portsnap update". There's no sense in in routinely mixing the two tools on the same tree. If you do find that portsnap isn't updating the tree correctly then you've either found a bug or have some corrupt data somewhere. From fbsd06 at mlists.homeunix.com Tue Sep 9 13:13:14 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Sep 9 13:13:21 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: <51d7a5160809081757kcb93a17p9f28719eb3da5087@mail.gmail.com> References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> <51d7a5160809081757kcb93a17p9f28719eb3da5087@mail.gmail.com> Message-ID: <20080909141309.1f6f9279@gumby.homeunix.com.> On Mon, 8 Sep 2008 17:57:16 -0700 perikillo wrote: > On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell > wrote: > Please don't top-post. > > > > Unless you have a specific overriding reason to do -Uu you might > > want to try -uF instead. It's what I use and it's always worked. In > > fact, this is what I do to see if I need an upgrade: > > > > csup -L 2 ports && portsdb -uF && pkgdb -u && portversion > > > > But since I have never used portsnap don't really know anything > > about it. > > > > -Mike > I have been trying a lot of things, I want to start again, I think > I just need to delete /usr/ports? > > Let me read again the manual and see those Flags. > > I remember that the first time u run portsdb the manuals recommend > to sue Uu, but let read the manual page, I will back soon!!! portsdb -F and portsdb -U, both update the index file. The first downloads it, the second creates it from scratch (which is slow). Portsnap handles this automatically, so neither will be needed. The work done by portsdb -u will be done automatically when portupgrade is next run, but it may save a little time later. From mk at mkdev.eu Tue Sep 9 15:12:29 2008 From: mk at mkdev.eu (Markus Klaschka) Date: Tue Sep 9 15:12:42 2008 Subject: HUAWEI G3 Modem Message-ID: <48C5895C.5050108@mkdev.eu> Hey, I have serious problems getting that thing working. I followed the instructions here: http://greasy.com/mustakim/huawei_220_freebsd.html Somehow I end up with: Sep 8 18:20:54 jupiter kernel: ucom0: on uhub0 Sep 8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in Sep 8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6 Sep 8 18:20:54 jupiter kernel: ucom0: on uhub0 Sep 8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in Sep 8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6 I have tried to reconnect the device about 10 times, nothing changes. I'm not using acpi, here on my damn ASUS laptop( never buy ASUS ;) )... don't know if that makes any difference, but could I guess. Any ideas? Nazir got that thing working somehow, really would like to know how. [quote]I'm already success using E220 HUAWEI to data connection but still failed to send sms using smstool. Please help..TQ[/quote] Cheers Markus -- Markus Klaschka MKDev - Markus Klaschka Development http://www.mkdev.eu Spain: 0034 - 63 747 23 07 UK: 0044 - 750 910 2718 Mail: mk@mkdev.eu Skype: mark-use IRC: mark-use @ irc.freenode.net : #freebsd, ##security, #freebsd-src, #bsdforen.de, #bsdgroup.de From lists at peter.de.com Tue Sep 9 15:41:38 2008 From: lists at peter.de.com (Oliver Peter) Date: Tue Sep 9 15:41:52 2008 Subject: freebsd 7.0 and jail In-Reply-To: <866800.25036.qm@web52107.mail.re2.yahoo.com> References: <866800.25036.qm@web52107.mail.re2.yahoo.com> Message-ID: <20080909154122.GE10842@nemesis.frida.mouhaha.de> On Mon, Sep 08, 2008 at 11:28:09AM -0700, gahn wrote: > Hello: > > I am trying to build jails on 7.0 system and got errors: > > ///////////////////////////////////////////// > > >>> Installing everything > -------------------------------------------------------------- > cd /usr/src; make -f Makefile.inc1 install > ===> share/info (install) > ===> lib (install) > ===> lib/csu/i386-elf (install) > gcc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c crt1.c > gcc:No such file or directory > *** Error code 1 > > Stop in /usr/src/lib/csu/i386-elf. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > /////////////////////////////////// > > looks like the code of jail is broken, did anyone have similar problem? > > I am working in an environment that is able to use "freebsd-update" script. Check your date: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2003-05/0059.html Btw. you don't have to build jails by yourself. You can use sysutils/ezjail to install, update and manage your jails. ezjail can use source or the prebuilt ftp packages to setup the jail. http://erdgeist.org/arts/software/ezjail/ Great piece of software. -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "If it feels good, you're doing something wrong." -- Coach McTavish From ipfreak at yahoo.com Tue Sep 9 14:45:34 2008 From: ipfreak at yahoo.com (gahn) Date: Tue Sep 9 15:46:04 2008 Subject: how to charater special files? Message-ID: <390329.60513.qm@web52112.mail.re2.yahoo.com> hi, all: how could i create a character special files (such as crw-rw-rw-)? thanks From sonic2000gr at gmail.com Tue Sep 9 16:05:01 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Sep 9 16:05:09 2008 Subject: how to charater special files? In-Reply-To: <390329.60513.qm@web52112.mail.re2.yahoo.com> References: <390329.60513.qm@web52112.mail.re2.yahoo.com> Message-ID: <48C69EA7.1000906@gmail.com> gahn wrote: > hi, all: > > how could i create a character special files (such as crw-rw-rw-)? > > thanks > > Devices are normally managed by devfs(5). The standard way for creating device files is still mknod(8) (deprecated) From rsmith at xs4all.nl Tue Sep 9 16:55:07 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Sep 9 16:55:15 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909043503.GA21663@thought.org> References: <20080909043503.GA21663@thought.org> Message-ID: <20080909165456.GA56556@slackbox.xs4all.nl> On Mon, Sep 08, 2008 at 09:35:07PM -0700, Gary Kline wrote: > Guys, > > This is one of the I've-been-meaning-to-ask questions; > but other things keep happening that took precedence. Now > it's time to ask what are the voodoo commands to set up in my > ~/.zshrc or other initiation files (probably including my muttrc) > that will let me print to stdout, characters like the "e-aigu" > or "u-umlaut" and the currency pound or Euro? Why settle for ISO-8859-1? Switch to UTF-8 instead, wich can display a much larger number of characters, and is becoming the standard. I added the following to the 'setenv' section of the 'default' profile in login.conf: LC_ALL=en_US.UTF-8 AFAICT, the console doesn't have UTF-8 fonts (yet?). But that doesn't bother me because I always use X anyway. So I added the following to my ~/.xinitrc as well: export LANG=en_US.UTF-8 I installed the rxvt-unicode terminal emulator because it's a lot lighter then xterm, although both should handle UTF-8. You should use a unicode font though. I put the following in my ~/.Xresources: ! for xterm XTerm*foreground: white XTerm*background: #010040 XTerm*utf8: 2 XTerm*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 XTerm*title: Shell XTerm*loginShell: True XTerm*scrollBar: False XTerm*saveLines: 0 XTerm*ttyModes: erase ^H XTerm*vt100.translations: #override \ Home: string("\033[1~") \n\ Delete: string("\033[3~") \n\ End: string("\033[4~") ! for urxvt Rxvt*foreground: white Rxvt*background: #010040 Rxvt*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 urxvt_transp*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 Rxvt*title: Shell Rxvt*loginShell: True Rxvt*scrollBar: False Rxvt*saveLines: 0 The critical part is the font specification; it should end with iso10646-1. My /etc/csh.cshrc has some settings for less: setenv LESSOPEN '|/usr/bin/lesspipe.sh %s' setenv LESSCHARSET utf-8 Mutt has to be told as well, in ~/.muttrc: set charset="utf-8" set send_charset="us-ascii:iso-8859-15:utf-8" In ~/.emacs.el(c) there are some settings as well: ;; Set language environment for MULE. (set-language-environment 'UTF-8) ;; My customization for text modes (defun my-text-mode-hook () (auto-fill-mode 1) (show-paren-mode t) (activate-input-method 'rfc1345) ; Good input method for UTF-8 ) (add-hook 'text-mode-hook 'my-text-mode-hook) Other programs you should look at are Firefox: edit -> preferences -> content tab -> Font & Colors, advanced button; default encoding -> select "Unicode (UTF-8)". Other programs may have settings for unicode, but these are the ones that spring to mind. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/bbbb9503/attachment.pgp From mahan at mahan.org Tue Sep 9 17:10:05 2008 From: mahan at mahan.org (Patrick Mahan) Date: Tue Sep 9 17:10:17 2008 Subject: mail server DNS configuration questions In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> Message-ID: <48C6ADE7.8060608@mahan.org> Andrew Falanga presented these words - circa 9/6/08 6:28 PM-> > Hi, > > Well, my clients at church are still having issues and after working with > George, a respondant to my original questions, I think that most, if not all, > of my problems are related to DNS and how we've got it improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the person at > whose house the mail server is) has IP forwarding setup so that mail get's > sent to our FreeBSD machine. Using dig, here's the responses: > > (from my FBSD machine at home, not the server) > [/usr/home/andy] > -> dig +short -t MX whitneybaptist.org > 10 mail.whitneybaptist.org. > [/usr/home/andy] > -> dig +short -t A whitneybaptist.org > 72.24.34.252 > [/usr/home/andy] > -> dig +short -x 72.24.34.252 > 34-252.72-24-cpe.cableone.net. > > (from the church FBSD machine) > [/home/afalanga] > -> hostname > whitbap > [/home/afalanga] > -> ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > options=8 > inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 > ether 00:d0:b7:74:87:48 > media: Ethernet autoselect (100baseTX ) > status: active > [/home/afalanga] > -> cat /etc/resolv.conf > search McCutchanLAN > nameserver 192.168.2.1 > > > It doesn't take a rocket scientist, or a computer scientist, to figure out > we've got DNS issues. I'm thinking that I should setup a domain within the > 192.168.2.0/24 network on this box. I've done this before, at work. The > question I've got is I've never actually integrated a domain like this to a > domain on the Internet. I'm thinking that we'll setup something like: > internal.whitneybaptist.org with hosts in that sub-domain. > First, what are you trying to accomplish with the internal DNS? Make it easier to resolve machines in the 192.168.2.0 network? Allow lookups external of the 192.168.2.0 network? What machine is 'mail.whitneybaptist.com'? Is it on the 192.168.2.0 network? Is it reachable from the Internet? Who is the owner of whitneybaptist.org DNS zone? I show the following NS servers: Patrick@widowmaker-~/src/MPS/DocDownload 140 > dig +short -t NS whitneybaptist.org ns1.domaindirect.com. ns2.domaindirect.com. ns3.domaindirect.com. Which is administered by tucows.com (Tucows, Inc) a seller of DNS services. > So, what would my DNS tables need to look like to make this happen. Also, to > any knowledgable souls here, what RFCs address these issues? > You can read the RFC's if you want, but you would be better served to purchase "DNS and BIND, Fourth Edition, by Paul Albitz & Cricket Liu" to learn how to administer DNS. Patrick From luvbeastie at larseighner.com Tue Sep 9 17:48:16 2008 From: luvbeastie at larseighner.com (Lars Eighner) Date: Tue Sep 9 17:48:24 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909165456.GA56556@slackbox.xs4all.nl> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> Message-ID: <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> On Tue, 9 Sep 2008, Roland Smith wrote: > On Mon, Sep 08, 2008 at 09:35:07PM -0700, Gary Kline wrote: >> Guys, >> >> This is one of the I've-been-meaning-to-ask questions; >> but other things keep happening that took precedence. Now >> it's time to ask what are the voodoo commands to set up in my >> ~/.zshrc or other initiation files (probably including my muttrc) >> that will let me print to stdout, characters like the "e-aigu" >> or "u-umlaut" and the currency pound or Euro? The euro is not in iso-8859-1, but iso-8859-15. You need to load the appropriate fonts (at boot if you are root, see /etc/rc.conf) or use vidcontrol to load the iso fonts when you log in. You need to set your TERM environmental variable to the appropriate value in your shell rc. That might be cons25l1. You can check out termcap from a link in /etc. > > Why settle for ISO-8859-1? Switch to UTF-8 instead, wich can display a > much larger number of characters, and is becoming the standard. Because it is a hiddeous waste for most readers and writers of English and other European languages. > > I added the following to the 'setenv' section of the 'default' profile > in login.conf: > > LC_ALL=en_US.UTF-8 > > AFAICT, the console doesn't have UTF-8 fonts (yet?). It won't until video cards support this level of bloat. I don't know of a single video card that does that. > But that doesn't > bother me because I always use X anyway. Wouldn't you really be happier with Windoz? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From dfeustel at mindspring.com Tue Sep 9 18:08:16 2008 From: dfeustel at mindspring.com (Dave Feustel) Date: Tue Sep 9 18:08:23 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <20080909180815.F09D78FC18@mx1.freebsd.org> On Tue, Sep 09, 2008 at 12:14:47PM -0500, Lars Eighner wrote: > On Tue, 9 Sep 2008, Roland Smith wrote: > >> On Mon, Sep 08, 2008 at 09:35:07PM -0700, Gary Kline wrote: >>> Guys, >>> >>> This is one of the I've-been-meaning-to-ask questions; >>> but other things keep happening that took precedence. Now >>> it's time to ask what are the voodoo commands to set up in my >>> ~/.zshrc or other initiation files (probably including my muttrc) >>> that will let me print to stdout, characters like the "e-aigu" >>> or "u-umlaut" and the currency pound or Euro? > > The euro is not in iso-8859-1, but iso-8859-15. You need to > load the appropriate fonts (at boot if you are root, see /etc/rc.conf) > or use vidcontrol to load the iso fonts when you log in. You > need to set your TERM environmental variable to the appropriate > value in your shell rc. That might be cons25l1. You can check out termcap > from a link in /etc. > > >> >> Why settle for ISO-8859-1? Switch to UTF-8 instead, wich can display a >> much larger number of characters, and is becoming the standard. > > Because it is a hiddeous waste for most readers and writers of > English and other European languages. What ISO supports English, German, French, and Russian? From freebsd_user at guice.ath.cx Tue Sep 9 18:48:41 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Tue Sep 9 18:48:50 2008 Subject: kldxref: file isn't dynamically-linked^M -- TECRA Message-ID: <20080909184749.GA34613@WORKSTATION.guice.ath.cx> # uname -a FreeBSD 6281.domain.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:4 5 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 ##---> cvsup the src # @(#)newvers.sh 8.1 (Berkeley) 4/20/94 # $FreeBSD: src/sys/conf/newvers.sh,v 1.72.2.5.2.8 2008/09/03 19:09:47 simon Exp TYPE="FreeBSD" REVISION="7.0" BRANCH="RELEASE-p4" ##-------------------------------- ##--------> HERE WE GO ... ##-------------------------------- ##--> Contents of /etc/make.conf # cat /etc/make.conf # added by use.perl 2008-09-09 00:29:14 PERL_VER=5.8.8 PERL_VERSION=5.8.8 ## --> END Contents /etc/make.conf cd /usr/src env -i make -DALWAYS_CHECK_MAKE buildworld ## The above appears to work fine. script bk.out env -i make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=GENERIC env -i make -DALWAYS_CHECK_MAKE installkernel KERNCONF=GENERIC bk2.out make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=GENERIC make -DALWAYS_CHECK_MAKE installkernel KERNCONF=GENERIC bk3.out make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC ## Using any of the above commands yield: ===> zyd (install)^M install -o root -g wheel -m 555 if_zyd.ko /boot/kernel^M install -o root -g wheel -m 555 if_zyd.ko.symbols /boot/kernel^M kldxref /boot/kernel^M kldxref: file isn't dynamically-linked^M kldxref: ## We made a slight change to the above commands, instead of 'buildkernel' or 'installkernel' we just used 'kernel' in each and every command line shown above and re_ran the command. Which resulted in the same results shown above. What are we doing incorrectly? From perikillo at gmail.com Tue Sep 9 18:55:49 2008 From: perikillo at gmail.com (perikillo) Date: Tue Sep 9 18:55:58 2008 Subject: Problems with portsdb -Uu on FreeBSD 6.3 In-Reply-To: <20080909141309.1f6f9279@gumby.homeunix.com.> References: <51d7a5160809081441h6f952906ibea9d236a9c271dd@mail.gmail.com> <8d23ec860809081519l2bfb73fax8c82824c17a382bc@mail.gmail.com> <51d7a5160809081625o2856d25erf61e3c409c93ca9c@mail.gmail.com> <51d7a5160809081757kcb93a17p9f28719eb3da5087@mail.gmail.com> <20080909141309.1f6f9279@gumby.homeunix.com.> Message-ID: <51d7a5160809091155xc8a845ft4234de542482087b@mail.gmail.com> On Tue, Sep 9, 2008 at 6:13 AM, RW wrote: > On Mon, 8 Sep 2008 17:57:16 -0700 > perikillo wrote: > > On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell > > wrote: > > > Please don't top-post. > > > > > > Unless you have a specific overriding reason to do -Uu you might > > > want to try -uF instead. It's what I use and it's always worked. In > > > fact, this is what I do to see if I need an upgrade: > > > > > > csup -L 2 ports && portsdb -uF && pkgdb -u && portversion > > > > > > But since I have never used portsnap don't really know anything > > > about it. > > > > > > -Mike > > I have been trying a lot of things, I want to start again, I think > > I just need to delete /usr/ports? > > > > Let me read again the manual and see those Flags. > > > > I remember that the first time u run portsdb the manuals recommend > > to sue Uu, but let read the manual page, I will back soon!!! > > > portsdb -F and portsdb -U, both update the index file. The first > downloads it, the second creates it from scratch (which is slow). > Portsnap handles this automatically, so neither will be needed. > > The work done by portsdb -u will be done automatically when portupgrade > is next run, but it may save a little time later. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > After finally realize that running portsdb -Uu each time I sync my ports is not a good way, I will follow the Michael Powell tip. Thanks all for your help, I still don't know why always appear the port apcupsd went this thing crush. Thanks all for your great help!!! From scuba at centroin.com.br Tue Sep 9 18:56:39 2008 From: scuba at centroin.com.br (scuba@centroin.com.br) Date: Tue Sep 9 18:56:46 2008 Subject: FreeBSD 7 and ESXi Message-ID: <20080909154356.D66065@trex.centroin.com.br> HI all, I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with embedded hipervisor VMware ESXi 3.5. Fbsd isn't listed as supported as guest OS for ESX(i), since version 4.x. Is there any report about problems or impossibility doing that? - Marcelo From popof.fpn at gmail.com Tue Sep 9 19:16:33 2008 From: popof.fpn at gmail.com (Popof Popof) Date: Tue Sep 9 19:16:40 2008 Subject: Exiting Gnome In-Reply-To: References: Message-ID: <9196e72b0809091216v39671550va9930ed0761f1bf0@mail.gmail.com> Try CTRL + ALT + 1 2008/9/9 FBSD1 > Started Gnome for first time. Can not figure how to exit (stop) gnome and > return to the FreeBSD command line. The System/logout option just hangs. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From danielby at slightlystrange.org Tue Sep 9 19:28:20 2008 From: danielby at slightlystrange.org (Daniel Bye) Date: Tue Sep 9 19:28:28 2008 Subject: WITHOUT_X11=yes in pkgtools.conf In-Reply-To: <48C63BA4.20500@lcwords.com> References: <48C6389C.1090001@lcwords.com> <48C639FA.4040908@infracaninophile.co.uk> <48C63BA4.20500@lcwords.com> Message-ID: <20080909190631.GA64822@torus.slightlystrange.org> On Tue, Sep 09, 2008 at 11:02:28AM +0200, Zbigniew Szalbot wrote: > WITHOUT_MODULES=X11 This one is specific to kernel builds - it allows you to list by name kernel modules that you do not want to build. Compare with MODULES_OVERRIDE which allows you to name the modules you /do/ want to build. There is more in man 5 make.conf Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/ff2b6200/attachment.pgp From linda.messerschmidt at gmail.com Tue Sep 9 19:29:08 2008 From: linda.messerschmidt at gmail.com (Linda Messerschmidt) Date: Tue Sep 9 19:29:14 2008 Subject: Local patches to ports? Message-ID: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> Hello, We use Apache 1.3 on FreeBSD and for a long time, we have maintained our own build process separate from the ports collection because we have some local patches. These are accounting patches, of interest to no one but us, so I have no chance of getting anyone upstream to ever adopt them, but they are very important to us. After our last upgrade to 7-STABLE (7.1-PRERELEASE) our local build process started producing broken binaries but the port has patches and one of them makes it work. So, this seems like a good time to replace our build process with the ports collection. What's the best way to preserve our local patches and our custom configuration flags, and get them to apply to each new update of the port? Thanks! -LM From glarkin at FreeBSD.org Tue Sep 9 19:58:48 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Sep 9 19:58:54 2008 Subject: Local patches to ports? In-Reply-To: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> References: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> Message-ID: <48C6D575.3080602@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Linda Messerschmidt wrote: > Hello, > We use Apache 1.3 on FreeBSD and for a long time, we have maintained our own > build process separate from the ports collection because we have some local > patches. > > These are accounting patches, of interest to no one but us, so I have no > chance of getting anyone upstream to ever adopt them, but they are very > important to us. > > After our last upgrade to 7-STABLE (7.1-PRERELEASE) our local build process > started producing broken binaries but the port has patches and one of them > makes it work. So, this seems like a good time to replace our build process > with the ports collection. > > What's the best way to preserve our local patches and our custom > configuration flags, and get them to apply to each new update of the port? > > Thanks! > > -LM Hi Linda, I would recommend setting up a local Tinderbox installation: http://tinderbox.marcuscom.com/ Once you get it installed, you can configure it to call user-defined hook scripts at various points, such as after a ports tree update. When fired, your script can patch in your changes before the build starts. Before I knew about Tinderbox, I once set up a local ports tree in /usr/ports/local. In that directory, I created whatever port directory I needed, such as /usr/ports/local/www/apache13, and created a small Makefile to override some settings and then include the base port Makefile. That worked reasonably well, but I don't think I ever tested whether a local port upgraded cleanly. I'm leaning more and more toward the Tinderbox methodology, especially as I work on a process for auto-provisioning FreeBSD virtual machines. I like the fact that it builds all dependent ports and you can keep multiple build trees for different purposes. All of the packages live in a well-defined area, and portupgrade -PP should work for performing binary upgrades. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxtV10sRouByUApARAlGrAJ9RfslTysp3XIiV/kY3mfBRcuo0SQCfWvcu +d89pMd9zWdLL0+c4kQspH0= =YxFf -----END PGP SIGNATURE----- From freebsd-questions-local at be-well.ilk.org Tue Sep 9 20:00:58 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Sep 9 20:01:05 2008 Subject: Local patches to ports? In-Reply-To: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> (Linda Messerschmidt's message of "Tue\, 9 Sep 2008 15\:12\:48 -0400") References: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> Message-ID: <44tzcphyx2.fsf@be-well.ilk.org> "Linda Messerschmidt" writes: > Hello, > We use Apache 1.3 on FreeBSD and for a long time, we have maintained our own > build process separate from the ports collection because we have some local > patches. > > These are accounting patches, of interest to no one but us, so I have no > chance of getting anyone upstream to ever adopt them, but they are very > important to us. > > After our last upgrade to 7-STABLE (7.1-PRERELEASE) our local build process > started producing broken binaries but the port has patches and one of them > makes it work. So, this seems like a good time to replace our build process > with the ports collection. > > What's the best way to preserve our local patches and our custom > configuration flags, and get them to apply to each new update of the port? You can drop patches into the "files" subdirectory of the port, and they will get applied when the port is built. They will not get overwritten by cvsup or csup. I believe that in most usages portsnap won't touch them anyway. There are two ways to handle the configuration flags. One is to make up patches that modify the makefile (or configure script, or auto-whatever script, etc.). The other is to put in a Makefile.local in the directory, which will get included by the ports makefiles. The latter is usually easier. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From bruce at cran.org.uk Tue Sep 9 20:50:24 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Tue Sep 9 20:50:31 2008 Subject: pf question In-Reply-To: <200809090517.m895Hdur017604@mp.cs.niu.edu> References: <200809090517.m895Hdur017604@mp.cs.niu.edu> Message-ID: <20080909215004.39f8bdf7@tau.draftnet> On Tue, 9 Sep 2008 00:17:39 -0500 (CDT) Scott Bennett wrote: > I'm just starting to play around with pf to get it to handle NAT > for a LAN, and I've just discovered that I don't know how to get pf > to reload /etc/pf.conf after I make changes to it. "pfctl -d -e" > doesn't do it, and neither does "pfctl -d; pfctl -e". Is there a way > to do it besides rebooting? /etc/rc.d/pf reload -- Bruce Cran From freebsd at edvax.de Tue Sep 9 21:09:16 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 9 21:09:23 2008 Subject: Exiting Gnome In-Reply-To: References: Message-ID: <20080909230911.99f4c501.freebsd@edvax.de> On Tue, 9 Sep 2008 13:08:49 +0800, "FBSD1" wrote: > Started Gnome for first time. Can not figure how to exit (stop) gnome and > return to the FreeBSD command line. The System/logout option just hangs. Did you try to press Ctrl+Alt+PF2 (for example) to switch to a text mode terminal? Maybe you can kill gnome via kill or killall (take a look at "ps -ax" to find out PIDs oder process names of Gnome). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kline at thought.org Tue Sep 9 21:47:42 2008 From: kline at thought.org (Gary Kline) Date: Tue Sep 9 21:47:50 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909165456.GA56556@slackbox.xs4all.nl> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> Message-ID: <20080909214733.GA51272@thought.org> On Tue, Sep 09, 2008 at 06:54:56PM +0200, Roland Smith wrote: > On Mon, Sep 08, 2008 at 09:35:07PM -0700, Gary Kline wrote: > > Guys, > > > > This is one of the I've-been-meaning-to-ask questions; > > but other things keep happening that took precedence. Now > > it's time to ask what are the voodoo commands to set up in my > > ~/.zshrc or other initiation files (probably including my muttrc) > > that will let me print to stdout, characters like the "e-aigu" > > or "u-umlaut" and the currency pound or Euro? > > Why settle for ISO-8859-1? Switch to UTF-8 instead, wich can display a > much larger number of characters, and is becoming the standard. > > I added the following to the 'setenv' section of the 'default' profile > in login.conf: > > LC_ALL=en_US.UTF-8 > > AFAICT, the console doesn't have UTF-8 fonts (yet?). But that doesn't > bother me because I always use X anyway. > > So I added the following to my ~/.xinitrc as well: > > export LANG=en_US.UTF-8 > > I installed the rxvt-unicode terminal emulator because it's a lot > lighter then xterm, although both should handle UTF-8. You should use a > unicode font though. I put the following in my ~/.Xresources: I had something like what you've got below all the years I used Ctwm, either in ~/.xinitrc or ~/.Xresources. With more customization in ~/.ctwmrc. Now I'm using primarily KDE and used to their Konsole hack of xterm. Any idea of a URL that has this level of utf-8 for konsole? > > ! for xterm > XTerm*foreground: white > XTerm*background: #010040 > XTerm*utf8: 2 [[ saved away ]] > Rxvt*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 > urxvt_transp*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 > Rxvt*title: Shell > Rxvt*scrollBar: False > Rxvt*saveLines: 0 > > The critical part is the font specification; it should end with iso10646-1. I used some times-new-roman, but it shouldn't matter as long as either xterm on konsole is there. I hope! > > My /etc/csh.cshrc has some settings for less: > > setenv LESSOPEN '|/usr/bin/lesspipe.sh %s' > setenv LESSCHARSET utf-8 > > Mutt has to be told as well, in ~/.muttrc: > > set charset="utf-8" > set send_charset="us-ascii:iso-8859-15:utf-8" > > In ~/.emacs.el(c) there are some settings as well: > > ;; Set language environment for MULE. > (set-language-environment 'UTF-8) > > ;; My customization for text modes > (defun my-text-mode-hook () > (auto-fill-mode 1) > (show-paren-mode t) > (activate-input-method 'rfc1345) ; Good input method for UTF-8 > ) > (add-hook 'text-mode-hook 'my-text-mode-hook) > > Other programs you should look at are Firefox: edit -> preferences -> > content tab -> Font & Colors, advanced button; default encoding -> > select "Unicode (UTF-8)". All done, thanks. > > Other programs may have settings for unicode, but these are the ones > that spring to mind. > Oh, let me brag about 1/1000th of a bit and announce that after decades of study [on-off] I can read a wee bit of French. Well, given a French-> English diction to translate every third word, :-) aint life great? Oui! gary > 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) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From linda.messerschmidt at gmail.com Tue Sep 9 22:12:19 2008 From: linda.messerschmidt at gmail.com (Linda Messerschmidt) Date: Tue Sep 9 22:12:27 2008 Subject: Local patches to ports? In-Reply-To: <48C6D575.3080602@FreeBSD.org> References: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> <48C6D575.3080602@FreeBSD.org> Message-ID: <237c27100809091512ibdcdd4g8e6bb7836cf3903b@mail.gmail.com> On Tue, Sep 9, 2008 at 3:58 PM, Greg Larkin wrote: > I would recommend setting up a local Tinderbox installation: > http://tinderbox.marcuscom.com/ Wow, it looks like a lot of work, but if we can finally build everything in one place, with our local patches and then get portupgrade -PP to work reliably everywhere else, that would be worth the effort. I'll check it out! Thanks! -LM From kline at thought.org Tue Sep 9 22:16:14 2008 From: kline at thought.org (Gary Kline) Date: Tue Sep 9 22:16:21 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: <20080909221608.GB51272@thought.org> On Tue, Sep 09, 2008 at 12:14:47PM -0500, Lars Eighner wrote: > On Tue, 9 Sep 2008, Roland Smith wrote: > > >On Mon, Sep 08, 2008 at 09:35:07PM -0700, Gary Kline wrote: > >> Guys, > >> > >> This is one of the I've-been-meaning-to-ask questions; > >> but other things keep happening that took precedence. Now > >> it's time to ask what are the voodoo commands to set up in my > >> ~/.zshrc or other initiation files (probably including my muttrc) > >> that will let me print to stdout, characters like the "e-aigu" > >> or "u-umlaut" and the currency pound or Euro? > > The euro is not in iso-8859-1, but iso-8859-15. You need to > load the appropriate fonts (at boot if you are root, see /etc/rc.conf) Yeah, I fergot. > or use vidcontrol to load the iso fonts when you log in. You > need to set your TERM environmental variable to the appropriate > value in your shell rc. That might be cons25l1. You can check out termcap > from a link in /etc. > > > > > >Why settle for ISO-8859-1? Switch to UTF-8 instead, wich can display a > >much larger number of characters, and is becoming the standard. > > Because it is a hiddeous waste for most readers and writers of > English and other European languages. I got into several fistfights when I was doing error-translation for BSD at work, and refused to use utf-8 because it didn't support enough of the Chinese glyphs. But enough, I suppose; unless you want to create some severely obscure word. I also argured that utf-8 was a waste of a whole byte per char for most of us. > > > > >I added the following to the 'setenv' section of the 'default' profile > >in login.conf: > > > > LC_ALL=en_US.UTF-8 > > > >AFAICT, the console doesn't have UTF-8 fonts (yet?). > > It won't until video cards support this level of bloat. I don't know of a > single video card that does that. > > >But that doesn't > >bother me because I always use X anyway. > > Wouldn't you really be happier with Windoz? > Errp. I'm gonna lose my lunch! gary > > -- > Lars Eighner > http://www.larseighner.com/index.html > 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From glarkin at FreeBSD.org Tue Sep 9 22:19:36 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Sep 9 22:19:42 2008 Subject: Local patches to ports? In-Reply-To: <237c27100809091512ibdcdd4g8e6bb7836cf3903b@mail.gmail.com> References: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> <48C6D575.3080602@FreeBSD.org> <237c27100809091512ibdcdd4g8e6bb7836cf3903b@mail.gmail.com> Message-ID: <48C6F676.8050901@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Linda Messerschmidt wrote: > On Tue, Sep 9, 2008 at 3:58 PM, Greg Larkin wrote: > >> I would recommend setting up a local Tinderbox installation: >> http://tinderbox.marcuscom.com/ > > > Wow, it looks like a lot of work, but if we can finally build everything in > one place, with our local patches and then get portupgrade -PP to work > reliably everywhere else, that would be worth the effort. I'll check it > out! > > Thanks! > > -LM Hi Linda, It may not be so much work for you, once I finish the pre-installed Tinderbox VMware virtual machine that I'm working on. When it's done, I plan to release it into the wild for port maintainers, committers and anyone else who wants to use it. TB does take a bit of configuration, so I thought this might be a good way to get folks using it and reaping its benefits. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxvZ20sRouByUApARAl5BAJ9IRV/SIJ2KlTK+42SiSEEjSqqNYACfVm1q ifnlRNTe2PfhVnLURb/w95w= =M+om -----END PGP SIGNATURE----- From rsmith at xs4all.nl Tue Sep 9 22:28:17 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Sep 9 22:28:25 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909214733.GA51272@thought.org> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909214733.GA51272@thought.org> Message-ID: <20080909222814.GB65291@slackbox.xs4all.nl> On Tue, Sep 09, 2008 at 02:47:34PM -0700, Gary Kline wrote: > > I installed the rxvt-unicode terminal emulator because it's a lot > > lighter then xterm, although both should handle UTF-8. You should use a > > unicode font though. I put the following in my ~/.Xresources: > > > I had something like what you've got below all the years I used > Ctwm, either in ~/.xinitrc or ~/.Xresources. With more > customization in ~/.ctwmrc. Now I'm using primarily KDE and used > to their Konsole hack of xterm. Any idea of a URL that has this > level of utf-8 for konsole? Doesn't konsole have a help menu? Otherwise check the konsole site: http://konsole.kde.org/ It seems to have a handbook online. Maybe the View->Set Character Encoding menu option is what you're looking for? 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/ecf800d7/attachment.pgp From rsmith at xs4all.nl Tue Sep 9 22:39:44 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Sep 9 22:39:51 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909221608.GB51272@thought.org> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> <20080909221608.GB51272@thought.org> Message-ID: <20080909223941.GC65291@slackbox.xs4all.nl> On Tue, Sep 09, 2008 at 03:16:08PM -0700, Gary Kline wrote: > > Because it is a hiddeous waste for most readers and writers of > > English and other European languages. > I also argured that utf-8 was a waste of a whole byte per char > for most of us. That's not true. UTF-8 is a variable-length encoding. It is backwards compatible with ASCII, i.e. ascii characters are one byte in UTF-8 as well. Are you thinking about UTF-16? 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080909/a189143d/attachment.pgp From freebsd at edvax.de Tue Sep 9 22:41:28 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 9 22:41:49 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909222814.GB65291@slackbox.xs4all.nl> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909214733.GA51272@thought.org> <20080909222814.GB65291@slackbox.xs4all.nl> Message-ID: <20080910004124.27e754d5.freebsd@edvax.de> On Wed, 10 Sep 2008 00:28:14 +0200, Roland Smith wrote: > Doesn't konsole have a help menu? Otherwise check the konsole site: > http://konsole.kde.org/ It seems to have a handbook online. Isn't there a "man konsole"? Oh wait, KDE doesn't have standard manpages... :-) Never mind, I'm just joking. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Tue Sep 9 22:50:07 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Sep 9 22:50:14 2008 Subject: kldxref: file isn't dynamically-linked^M -- TECRA In-Reply-To: <20080909184749.GA34613@WORKSTATION.guice.ath.cx> References: <20080909184749.GA34613@WORKSTATION.guice.ath.cx> Message-ID: <20080910005004.968fcdd4.freebsd@edvax.de> I'm not sure if I can help you, but there's something that looks strange to me: On Tue, 9 Sep 2008 14:47:49 -0400, freebsd_user@guice.ath.cx wrote: > ===> zyd (install)^M > install -o root -g wheel -m 555 if_zyd.ko /boot/kernel^M > install -o root -g wheel -m 555 if_zyd.ko.symbols /boot/kernel^M > kldxref /boot/kernel^M > kldxref: file isn't dynamically-linked^M > kldxref: I'm sure you noticed the Ctrl-M (^M) at the ends of each line. This seems to be an MS-DOS-like line break (ASCII 0x13 + 0x10). UNIX (and so FreeBSD) use the NL or LF character 0x10. And 0x13 is the CR character which is equivalent to Ctrl-M, if I do remember correctly. Why is it displayed in the masked (!) form in the output of make? Is there - eventually - a file involved that does use this strange 2-byte-linebreak? Could this be a reason? Is it possible that at this stage of compilation a file named "/boot/kernel^M" is requested, but does not exist? I'm not sure at this, I'm just guessing. Maybe it helps... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From todor.genov at za.verizonbusiness.com Tue Sep 9 22:58:18 2008 From: todor.genov at za.verizonbusiness.com (Todor Genov) Date: Tue Sep 9 22:58:25 2008 Subject: FreeBSD 7 and ESXi In-Reply-To: <20080909154356.D66065@trex.centroin.com.br> References: <20080909154356.D66065@trex.centroin.com.br> Message-ID: <48C6FBCC.20603@za.verizonbusiness.com> I have ran FreeBSD 6.3 and 7.0 in ESXi and haven't bumped into any problems so far. When they say "supported" they are referring to service level agreements and technical support should something go wrong, so if you plan to use this in a production environment you need to do some prior testing on your own. Regards, Todor Genov Systems Operations Verizon Business South Africa (Pty) Ltd todor.genov@za.verizonbusiness.com Tel: +27 11 235 6500 Fax: 086 692 0543 scuba@centroin.com.br wrote: > HI all, > > I'm planning to virtualize a FreeBSD server on a Dell PowerEdge with > embedded hipervisor VMware ESXi 3.5. > Fbsd isn't listed as supported as guest OS for ESX(i), since version > 4.x. > Is there any report about problems or impossibility doing that? > > > - Marcelo > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From kline at thought.org Tue Sep 9 23:08:46 2008 From: kline at thought.org (Gary Kline) Date: Tue Sep 9 23:08:53 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909223941.GC65291@slackbox.xs4all.nl> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> <20080909221608.GB51272@thought.org> <20080909223941.GC65291@slackbox.xs4all.nl> Message-ID: <20080909230840.GB54455@thought.org> On Wed, Sep 10, 2008 at 12:39:41AM +0200, Roland Smith wrote: > On Tue, Sep 09, 2008 at 03:16:08PM -0700, Gary Kline wrote: > > > Because it is a hiddeous waste for most readers and writers of > > > English and other European languages. > > > I also argured that utf-8 was a waste of a whole byte per char > > for most of us. > > That's not true. UTF-8 is a variable-length encoding. It is backwards > compatible with ASCII, i.e. ascii characters are one byte in UTF-8 as > well. Are you thinking about UTF-16? I don't know. (Mark Twain.) Back in the late 1990's I was assigned the project of converting all the utilities I had ported to three European languages. Until now I had no idea there was anything *but* utf-16, i.e. 2-bytes/char. With memory seriously getting to be dirt-cheap, "wasting 8-bits doesn't seem that big a deal. Maybe some future wizard will invent a UTF-32 that will hold all ~90 000 Chinese characters and these will be downsized automatically to UTF-8 when you're mixing Mandarin with, say, Cesk [Czeck]. Hmm, somebody just told me that "aigu" is not English but French and means "acute". ...all these years i thought ... oh well. Anyway, do you know if '\0351' is a 16-bit character? is is 0xE9 and decimal 233 and certaing should fit into a byte. just wondering. gary > > 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) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From lists at rhavenn.net Tue Sep 9 23:18:23 2008 From: lists at rhavenn.net (Henrik Hudson) Date: Tue Sep 9 23:18:31 2008 Subject: rss-glx screen saver compilation fails? Message-ID: <200809091442.20922.lists@rhavenn.net> Hey List, running FreeBSD-7-stable (from April or so) i386 binary nVidia drivers Has anybody successfully got rss-glx (really slick screensavers; http://rss-glx.sourceforge.net/ ) to compile for them? It isn't in ports and I was trying to compile it. I think I got all of the dependencies, etc... as ./configure completes without issue. I'm getting the following error when running make or gmake: spirographx.c: In function 'getAll': spirographx.c:99: warning: implicit declaration of function 'sincosf' spirographx.c:99: warning: incompatible implicit declaration of built-in function 'sincosf' /usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -Wall -I/usr/local/include -o spirographx driver.o spirographx.o -lGLU -lGL -L/usr/local/lib -R/usr/local/lib -lSM -lICE -lX11 -lm gcc -O2 -Wall -I/usr/local/include -o spirographx driver.o spirographx.o -lGLU -lGL -L/usr/local/lib /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may conflict with libm.so.5 spirographx.o(.text+0x30f): In function `getAll': : undefined reference to `sincosf' Any ideas? Henrik -- Henrik Hudson lists@rhavenn.net ------------------------------ "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/) From chris at monochrome.org Tue Sep 9 23:19:49 2008 From: chris at monochrome.org (Chris Hill) Date: Tue Sep 9 23:19:58 2008 Subject: kldxref: file isn't dynamically-linked^M -- TECRA In-Reply-To: <20080910005004.968fcdd4.freebsd@edvax.de> References: <20080909184749.GA34613@WORKSTATION.guice.ath.cx> <20080910005004.968fcdd4.freebsd@edvax.de> Message-ID: <20080909190013.T46978@tripel.monochrome.org> On Wed, 10 Sep 2008, Polytropon wrote: [snip] > I'm sure you noticed the Ctrl-M (^M) at the ends of each line. > This seems to be an MS-DOS-like line break (ASCII 0x13 + 0x10). > UNIX (and so FreeBSD) use the NL or LF character 0x10. And 0x13 > is the CR character which is equivalent to Ctrl-M, if I do > remember correctly. Almost correctly. ASCII CR (Ctrl-M) is 0x0d, which is decimal 13; ASCII LF (Ctrl-J or newline) is 0x0a, which is decimal 10. Sorry for the off-topic pedantry. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From msherman77 at yahoo.com Wed Sep 10 02:36:20 2008 From: msherman77 at yahoo.com (Michael S) Date: Wed Sep 10 02:36:27 2008 Subject: Xorg issues with Toshiba Message-ID: <940997.46745.qm@web88302.mail.re4.yahoo.com> Good day. I have a Toshiba laptop and I am having problems with X configuration. The automatic (PCBSD 7 beta) utility for X configuration was failing. I then booted into single user mode disabled that feature (edited /etc/ttys). I kept having problems even with Xorg -config and Xorg -configure. When I run Xorg -config xorg.conf.new the usual criss-cross X screen comes up, however when I kill it with Ctrl-Alt-Backspace instead of getting back to the command line, I get a blank screen. And I can't do anything, switch terminals, or reboot. /var/log/X~.log doesn't help. Any idea? Michael From que_deseja at hotmail.com Wed Sep 10 03:01:22 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Wed Sep 10 03:01:29 2008 Subject: X11 environments are not building Message-ID: Gnome and KDE are not building due to patches not cleanly aplying. Used a snapshot of FreeBSD 7.0 AMD64 boot only to install. => SHA256 Checksum OK for gnome2/epiphany-2.20.1.tar.bz2. ===> Patching for epiphany-2.20.1 ===> Applying FreeBSD patches for epiphany-2.20.1 ===> epiphany-2.20.1 depends on file: /usr/local/libdata/pkgconfig/iso-codes.pc - found ===> epiphany-2.20.1 depends on file: /usr/local/bin/python2.5 - found ===> epiphany-2.20.1 depends on file: /usr/local/lib/firefox/libgtkembedmoz.so - not found ===> Verifying install for /usr/local/lib/firefox/libgtkembedmoz.so in /usr/ports/www/firefox ===> Patching for firefox-2.0.0.12,1 ===> firefox-2.0.0.12,1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for firefox-2.0.0.12,1 Ignoring previously applied (or reversed) patch. 2 out of 2 hunks ignored--saving rejects to extensions/transformiix/source/base/Double.cpp.rej => Patch patch-Double.cpp failed to apply cleanly. *** Error code 1 Stop in /usr/ports/www/firefox. *** Error code 1 Stop in /usr/ports/www/epiphany. *** Error code 1 Stop in /usr/ports/security/seahorse. *** Error code 1 Stop in /usr/ports/security/seahorse. *** Error code 1 Stop in /usr/ports/x11/gnome2. # make depends ===> kde-lite-3.5.8 depends on shared library: kfontinst - not found ===> Verifying install for kfontinst in /usr/ports/x11/kdebase3 ===> kdebase-3.5.8 depends on executable: xmkmf - found ===> kdebase-3.5.8 depends on file: /usr/local/bin/moc - found ===> kdebase-3.5.8 depends on executable: bdftopcf - found ===> kdebase-3.5.8 depends on executable: mkfontdir - found ===> kdebase-3.5.8 depends on executable: gmake - found ===> kdebase-3.5.8 depends on file: /usr/local/bin/libtool - found ===> kdebase-3.5.8 depends on file: /usr/local/libdata/xorg/libraries - found ===> kdebase-3.5.8 depends on shared library: sasl2 - found ===> kdebase-3.5.8 depends on shared library: smbclient - found ===> kdebase-3.5.8 depends on shared library: usb-0.1 - found ===> kdebase-3.5.8 depends on shared library: kimproxy - not found ===> Verifying install for kimproxy in /usr/ports/x11/kdelibs3 ===> kdelibs-3.5.8 depends on file: /usr/local/bin/moc - found ===> kdelibs-3.5.8 depends on executable: mkfontdir - found ===> kdelibs-3.5.8 depends on executable: gmake - found ===> kdelibs-3.5.8 depends on file: /usr/local/bin/libtool - found ===> kdelibs-3.5.8 depends on shared library: IlmImf - found ===> kdelibs-3.5.8 depends on shared library: art_lgpl_2.5 - found ===> kdelibs-3.5.8 depends on shared library: artsc.0 - found ===> kdelibs-3.5.8 depends on shared library: aspell - found ===> kdelibs-3.5.8 depends on shared library: dns_sd - found ===> kdelibs-3.5.8 depends on shared library: idn - found ===> kdelibs-3.5.8 depends on shared library: jasper - found ===> kdelibs-3.5.8 depends on shared library: pcre - found ===> kdelibs-3.5.8 depends on shared library: thai - found ===> kdelibs-3.5.8 depends on shared library: tiff.4 - found ===> kdelibs-3.5.8 depends on shared library: xml2.5 - found ===> kdelibs-3.5.8 depends on shared library: xslt.2 - found ===> kdelibs-3.5.8 depends on shared library: cups - not found ===> Verifying install for cups in /usr/ports/print/cups-base ===> Patching for cups-base-1.3.5_2 ===> Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej => Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11/kdelibs3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kde-lite. # How do I apply clean patches? or Is a portsnap update a better fix? Any other ideas or suggestions that can lead to a solution are welcome. _________________________________________________________________ See how Windows Mobile brings your life together?at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/ From ipfreak at yahoo.com Wed Sep 10 03:04:34 2008 From: ipfreak at yahoo.com (gahn) Date: Wed Sep 10 03:04:41 2008 Subject: portmanager errors Message-ID: <849675.59797.qm@web52108.mail.re2.yahoo.com> Hello: I run into errors when i run "portmanager -u": 00344 luit-1.0.2_2 /x11/luit "Makefile", line 85: Could not find /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) "Makefile", line 96: if-less endif make: fatal errors encountered -- cannot continue MGdbAdd error: attempt to place null data into record halted Assertion failed: (0), function MGdbAdd, file MGdbAdd.c, line 78. Abort (core dumped) could the portmanager bypass the failed "luit" and continue the next one? From que_deseja at hotmail.com Wed Sep 10 03:24:05 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Wed Sep 10 03:24:12 2008 Subject: kde3 build problems Message-ID: Current build problems with kde3: # pkg_add -rf kde3 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/kde3.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/kde3.tbz' by URL # cd kdelibs3 # ls Makefile files pkg-plist distinfo pkg-descr work # vi Makefile # -*-mode: makefile-*- # New ports collection makefile for: KDE libraries 3 # Date created: 2 November 2001 # Whom: will@cvs.kde.org # # $FreeBSD: ports/x11/kdelibs3/Makefile,v 1.221 2007/10/29 23:48:15 lofi Exp $ # PORTNAME= kdelibs PORTVERSION= ${KDE_VERSION} PORTREVISION= 0 CATEGORIES= x11 kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} DIST_SUBDIR= KDE COMMENT= Base set of libraries needed by KDE programs LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \ art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \ artsc.0:${PORTSDIR}/audio/arts \ aspell:${PORTSDIR}/textproc/aspell \ dns_sd:${PORTSDIR}/net/mDNSResponder \ idn:${PORTSDIR}/dns/libidn \ jasper:${PORTSDIR}/graphics/jasper \ pcre:${PORTSDIR}/devel/pcre \ thai:${PORTSDIR}/devel/libthai \ tiff.4:${PORTSDIR}/graphics/tiff \ xml2.5:${PORTSDIR}/textproc/libxml2 \ xslt.2:${PORTSDIR}/textproc/libxslt RUN_DEPENDS= kdehier>0:${PORTSDIR}/misc/kdehier \ ${FONTSCALE}:${X_FONTS_TTF_PORT} \ ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT} \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hi color-icon-theme CONFLICTS+= kdeadmin-3.[0-3].* kdeadmin-3.4.[0-1]* kdeartwork-3.[2-3]* kdeba se-3.[0-4]* kdepim-3.2* .if defined(WITHOUT_CUPS) || defined(KDE_WITHOUT_CUPS) CONFLICTS+= kdelibs-[0-9]* PKGNAMESUFFIX= -nocups CONFIGURE_ARGS+=--disable-cups PLIST= ${.CURDIR}/../kdelibs3-nocups/pkg-plist .else CONFLICTS+= kdelibs-nocups-[0-9]* LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-base .endif USE_BZIP2= yes USE_FAM= yes USE_GETTEXT= yes USE_GMAKE= yes :q! # make depends --disable-cups make: illegal option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make depends -d --disable-cups make: illegal argument to d option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make -d --disable-cups make: illegal argument to d option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make depends ===> kdelibs-3.5.8 depends on shared library: IlmImf - found ===> kdelibs-3.5.8 depends on shared library: art_lgpl_2.5 - found ===> kdelibs-3.5.8 depends on shared library: artsc.0 - found ===> kdelibs-3.5.8 depends on shared library: aspell - found ===> kdelibs-3.5.8 depends on shared library: dns_sd - found ===> kdelibs-3.5.8 depends on shared library: idn - found ===> kdelibs-3.5.8 depends on shared library: jasper - found ===> kdelibs-3.5.8 depends on shared library: pcre - found ===> kdelibs-3.5.8 depends on shared library: thai - found ===> kdelibs-3.5.8 depends on shared library: tiff.4 - found ===> kdelibs-3.5.8 depends on shared library: xml2.5 - found ===> kdelibs-3.5.8 depends on shared library: xslt.2 - found ===> kdelibs-3.5.8 depends on shared library: cups - not found ===> Verifying install for cups in /usr/ports/print/cups-base cd /usr/ports/print/cups-base && make config; ?????????????????????????????????????????????????????????????????????? ? Options for cups-base 1.3.5_2 ? ? ?????????????????????????????????????????????????????????????????? ? ? ? [X] GNUTLS Build with GNUTLS library ? ? ? ? [ ] PHP Build PHP support ? ? ? ? [X] PYTHON Build PYTHON support ? ? ? ? [ ] LIBPAPER Build with libpaper support ? ? ? ? [X] DNSSD Build with DNS_SD (avahi) support ? ? ? ? [X] PAM Build with PAM support ? ? ? ? [ ] LDAP Build with LDAP support ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?????????????????????????????????????????????????????????????????????? ? [ OK ] Cancel ? ?????????????????????????????????????????????????????????????????????? ===> Patching for cups-base-1.3.5_2 ===> Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej => Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11/kdelibs3. # cd /usr/ports/print/cups-base How can I fix this? _________________________________________________________________ See how Windows Mobile brings your life together?at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/ From alxflx at combatwc.com Wed Sep 10 03:26:37 2008 From: alxflx at combatwc.com (kuantem) Date: Wed Sep 10 03:26:46 2008 Subject: HP 2133 MiniNote & FreeBSD In-Reply-To: <19335910.post@talk.nabble.com> References: <19335910.post@talk.nabble.com> Message-ID: <19405687.post@talk.nabble.com> UPDATE: Sound IS working, however i'm only able to hear audio from the headphone port. Not sure how to make the onboard speakers work. Next project is getting openchrome video drivers to run in X. I've read up on a few articles regarding NDIS... apparently we should be able to rip windows drivers into UNIX (Obviously I'm new to this idea.) So i'm giving that a try tonight. I've also got'n the latest version of WIne (1.1.4.1) working... quite nice! I can run a few windows based utilities... Looking into "Wine Doors" (http://www.wine-doors.org) ... could be interesting! -- View this message in context: http://www.nabble.com/HP-2133-MiniNote---FreeBSD-tp19335910p19405687.html Sent from the freebsd-questions mailing list archive at Nabble.com. From raghu at mri.ernet.in Wed Sep 10 03:33:55 2008 From: raghu at mri.ernet.in (N. Raghavendra) Date: Wed Sep 10 03:34:11 2008 Subject: Local patches to ports? In-Reply-To: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> (Linda Messerschmidt's message of "Tue, 9 Sep 2008 15:12:48 -0400") References: <237c27100809091212t3d840b02k4e64e8d718f7ff8d@mail.gmail.com> Message-ID: <86tzcosopp.fsf@riemann.mri.ernet.in> At 2008-09-09T15:12:48-04:00, Linda Messerschmidt wrote: > After our last upgrade to 7-STABLE (7.1-PRERELEASE) our local build process > started producing broken binaries but the port has patches and one of them > makes it work. So, this seems like a good time to replace our build process > with the ports collection. > > What's the best way to preserve our local patches and our custom > configuration flags, and get them to apply to each new update of the port? I would create a separate Apache port incorporating the local changes to the source as well as the necessary fixes from `www/apache13'. This would help in avoiding conflicts between the local patches and the ones in `www/apache13'. This is, IMO, easier to maintain in the long term. I maintain several local ports for which I prefer my own builds rather than the ones from the distributed ports tree. There are several messages in the list archives on maintaining local ports trees, e.g., Vivek Khera, `Making a local branch of the ports tree', http://lists.freebsd.org/pipermail/freebsd-ports/2007-April/040366.html If you need more help, you could ask here again. If, OTOH, you are sure that there is no possibility of conflict between the local patches and the ones in the distributed ports tree, then putting your local patches, as has been suggested by others, in `www/apache13/files' is an option. See the Porter's Handbook, Section 4.4, for guidelines. Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From que_deseja at hotmail.com Wed Sep 10 03:46:53 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Wed Sep 10 03:47:00 2008 Subject: More build problems: portmaster and portupgrade not properly working. Message-ID: Here are more problems ===> Cleaning for portupgrade-2.3.1,2 # cd / # portupgrade -a portupgrade: Command not found. # cd /usr/ports # portupgrade -a portupgrade: Command not found. # man portupgrade Formatting page, please wait...Done. PORTUPGRADE(1) FreeBSD General Commands Manual PORTUPGRADE(1) # cd ports-mgmt/portmaster # make depends # make config ===> No options to configure # make clean install clean ===> Cleaning for portmaster-1.25 ===> Vulnerability check disabled, database not found ===> Extracting for portmaster-1.25 ===> Patching for portmaster-1.25 ===> Configuring for portmaster-1.25 ===> Installing for portmaster-1.25 ===> Generating temporary packing list ===> Checking if ports-mgmt/portmaster already installed install -o root -g wheel -m 555 /usr/ports/ports-mgmt/portmaster/work/portmaster.sh /usr/local/sbin/portmaster install -o root -g wheel -m 444 /usr/ports/ports-mgmt/portmaster/files/portmaster.8 /usr/local/man/man8 ===> Compressing manual pages for portmaster-1.25 ===> Registering installation for portmaster-1.25 # portmaster portmaster: Command not found. # man portmaster Formatting page, please wait...Done. PORTMASTER(8) FreeBSD System Manager's Manual PORTMASTER(8) How can I have it installed and it doesn't work? Man pages are there, the binary doesn't seem to be. _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/ From raghu at mri.ernet.in Wed Sep 10 04:23:06 2008 From: raghu at mri.ernet.in (N. Raghavendra) Date: Wed Sep 10 04:23:13 2008 Subject: More build problems: portmaster and portupgrade not properly working. In-Reply-To: (Desmond Chapman's message of "Wed, 10 Sep 2008 03:46:52 +0000") References: Message-ID: <8663p47ica.fsf@riemann.mri.ernet.in> At 2008-09-10T03:46:52Z, Desmond Chapman wrote: > ===> Registering installation for portmaster-1.25 > # portmaster > portmaster: Command not found. After installing a command, do # rehash before invoking the installed command. See tcsh(1). Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From uwe at laverenz.de Wed Sep 10 04:52:38 2008 From: uwe at laverenz.de (Uwe Laverenz) Date: Wed Sep 10 04:52:46 2008 Subject: Virtual machines hosted on FreeBSD 7 In-Reply-To: <86vdx58uox.fsf@srvbsdnanssv.interne.kisoft-services.com> References: <6.0.0.22.2.20080908221910.025e3508@mail.computinginnovations.com> <48C5EF82.8000904@gmail.com> <20080909091707.GA48060@pcjas.obspm.fr> <6.0.0.22.2.20080909053341.025e6428@mail.computinginnovations.com> <86vdx58uox.fsf@srvbsdnanssv.interne.kisoft-services.com> Message-ID: <48C75001.7080502@laverenz.de> Eric Masson schrieb: > http://vmware.com/products/esxi/ > > ESXi seems to be free, but not the entreprise administration tools. ESXi is free and can be administrated with the Virtual Infrastructure Client (also free and included in ESXi). You don't have to pay for a license to run ESXi or your virtual machines on it. You only need to buy a license if you want to integrate ESXi into a VCenter. So the only restrictions for ESXi are: - you have to register to get a serial number - you have to buy ESX(i)-compatible hardware bye, Uwe From joeb at a1poweruser.com Wed Sep 10 04:55:16 2008 From: joeb at a1poweruser.com (joeb) Date: Wed Sep 10 04:55:23 2008 Subject: kde3 build problems In-Reply-To: Message-ID: I believe kde3 is obsolete. I Just did kde4 and it worked. pkg_add -r kde4 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Desmond Chapman Sent: Wednesday, September 10, 2008 11:24 AM To: freebsd-questions@freebsd.org Subject: kde3 build problems Current build problems with kde3: # pkg_add -rf kde3 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/kd e3.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.0-release/Latest/k de3.tbz' by URL # cd kdelibs3 # ls Makefile files pkg-plist distinfo pkg-descr work # vi Makefile # -*-mode: makefile-*- # New ports collection makefile for: KDE libraries 3 # Date created: 2 November 2001 # Whom: will@cvs.kde.org # # $FreeBSD: ports/x11/kdelibs3/Makefile,v 1.221 2007/10/29 23:48:15 lofi Exp $ # PORTNAME= kdelibs PORTVERSION= ${KDE_VERSION} PORTREVISION= 0 CATEGORIES= x11 kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} DIST_SUBDIR= KDE COMMENT= Base set of libraries needed by KDE programs LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \ art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \ artsc.0:${PORTSDIR}/audio/arts \ aspell:${PORTSDIR}/textproc/aspell \ dns_sd:${PORTSDIR}/net/mDNSResponder \ idn:${PORTSDIR}/dns/libidn \ jasper:${PORTSDIR}/graphics/jasper \ pcre:${PORTSDIR}/devel/pcre \ thai:${PORTSDIR}/devel/libthai \ tiff.4:${PORTSDIR}/graphics/tiff \ xml2.5:${PORTSDIR}/textproc/libxml2 \ xslt.2:${PORTSDIR}/textproc/libxslt RUN_DEPENDS= kdehier>0:${PORTSDIR}/misc/kdehier \ ${FONTSCALE}:${X_FONTS_TTF_PORT} \ ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT} \ ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/mis c/hi color-icon-theme CONFLICTS+= kdeadmin-3.[0-3].* kdeadmin-3.4.[0-1]* kdeartwork-3.[2-3]* kdeba se-3.[0-4]* kdepim-3.2* .if defined(WITHOUT_CUPS) || defined(KDE_WITHOUT_CUPS) CONFLICTS+= kdelibs-[0-9]* PKGNAMESUFFIX= -nocups CONFIGURE_ARGS+=--disable-cups PLIST= ${.CURDIR}/../kdelibs3-nocups/pkg-plist .else CONFLICTS+= kdelibs-nocups-[0-9]* LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-base .endif USE_BZIP2= yes USE_FAM= yes USE_GETTEXT= yes USE_GMAKE= yes :q! # make depends --disable-cups make: illegal option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make depends -d --disable-cups make: illegal argument to d option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make -d --disable-cups make: illegal argument to d option -- - usage: make [-BPSXeiknqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] # make depends ===> kdelibs-3.5.8 depends on shared library: IlmImf - found ===> kdelibs-3.5.8 depends on shared library: art_lgpl_2.5 - found ===> kdelibs-3.5.8 depends on shared library: artsc.0 - found ===> kdelibs-3.5.8 depends on shared library: aspell - found ===> kdelibs-3.5.8 depends on shared library: dns_sd - found ===> kdelibs-3.5.8 depends on shared library: idn - found ===> kdelibs-3.5.8 depends on shared library: jasper - found ===> kdelibs-3.5.8 depends on shared library: pcre - found ===> kdelibs-3.5.8 depends on shared library: thai - found ===> kdelibs-3.5.8 depends on shared library: tiff.4 - found ===> kdelibs-3.5.8 depends on shared library: xml2.5 - found ===> kdelibs-3.5.8 depends on shared library: xslt.2 - found ===> kdelibs-3.5.8 depends on shared library: cups - not found ===> Verifying install for cups in /usr/ports/print/cups-base cd /usr/ports/print/cups-base && make config; ?????????????????????????????????????????????????????????????????????? ? Options for cups-base 1.3.5_2 ? ? ?????????????????????????????????????????????????????????????????? ? ? ? [X] GNUTLS Build with GNUTLS library ? ? ? ? [ ] PHP Build PHP support ? ? ? ? [X] PYTHON Build PYTHON support ? ? ? ? [ ] LIBPAPER Build with libpaper support ? ? ? ? [X] DNSSD Build with DNS_SD (avahi) support ? ? ? ? [X] PAM Build with PAM support ? ? ? ? [ ] LDAP Build with LDAP support ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?????????????????????????????????????????????????????????????????????? ? [ OK ] Cancel ? ?????????????????????????????????????????????????????????????????????? ===> Patching for cups-base-1.3.5_2 ===> Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej => Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11/kdelibs3. # cd /usr/ports/print/cups-base How can I fix this? _________________________________________________________________ See how Windows Mobile brings your life together-at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From perryh at pluto.rain.com Wed Sep 10 05:02:09 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Sep 10 05:02:16 2008 Subject: rss-glx screen saver compilation fails? In-Reply-To: <200809091442.20922.lists@rhavenn.net> References: <200809091442.20922.lists@rhavenn.net> Message-ID: <48c75238.pxoyafLhc3qL6J9N%perryh@pluto.rain.com> > spirographx.o(.text+0x30f): In function `getAll': > : undefined reference to `sincosf' Per Google, it's a gnu-ism: http://linux.die.net/man/3/sincosf void sincosf(float x, float *sin, float *cos); Several applications need sine and cosine of the same angle x. This function computes both at the same time, and stores the results via the given pointers. Probably a 10-liner by just calling sin() and cos() separately -- a bit more work to do it "properly" -- or just grab the gnu code if you don't need to be BSD-licensed. From z.szalbot at lcwords.com Wed Sep 10 05:57:26 2008 From: z.szalbot at lcwords.com (Zbigniew Szalbot) Date: Wed Sep 10 05:57:34 2008 Subject: sendmail as smarthost / authentication Message-ID: <48C761C0.70100@lcwords.com> Dear all, I did try to follow instructions at http://www.sendmail.org/~ca/email/auth.html to make sendmail use a smarthost. I only followed what is under section: "Using sendmail as a client with AUTH" Anyway, to cut long story short, sendmail does not operate as a client so my smarthost is rejecting its connections (of which I have log entries to prove). Any word of advice will be deeply appreciated. Do I need to install all the sasl-* stuff to make it work? I just want to forward root emails from a sendmail box to my main account. However, normal (non-smarthost) delievery is not possible as this box is on a dynamic address and thus rejected by the smarthost. Many thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080910/4a831541/smime.bin From rsmith at xs4all.nl Wed Sep 10 06:22:02 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Sep 10 06:22:10 2008 Subject: how can i use ISO-8859-1?? In-Reply-To: <20080909230840.GB54455@thought.org> References: <20080909043503.GA21663@thought.org> <20080909165456.GA56556@slackbox.xs4all.nl> <20080909121430.M12798@qroenaqrq.6qbyyneqvnyhc.pbz> <20080909221608.GB51272@thought.org> <20080909223941.GC65291@slackbox.xs4all.nl> <20080909230840.GB54455@thought.org> Message-ID: <20080910062149.GA78805@slackbox.xs4all.nl> On Tue, Sep 09, 2008 at 04:08:40PM -0700, Gary Kline wrote: > On Wed, Sep 10, 2008 at 12:39:41AM +0200, Roland Smith wrote: > > On Tue, Sep 09, 2008 at 03:16:08PM -0700, Gary Kline wrote: > > > > Because it is a hiddeous waste for most readers and writers of > > > > English and other European languages. > > > > > I also argured that utf-8 was a waste of a whole byte per char > > > for most of us. > > > > That's not true. UTF-8 is a variable-length encoding. It is backwards > > compatible with ASCII, i.e. ascii characters are one byte in UTF-8 as > > well. Are you thinking about UTF-16? > > > I don't know. (Mark Twain.) Back in the late 1990's I was > assigned the project of converting all the utilities I had ported > to three European languages. Until now I had no idea there was > anything *but* utf-16, i.e. 2-bytes/char. Both UTF-8 and UTF-16 are variable-width encodings. > With memory seriously getting to be dirt-cheap, "wasting 8-bits > doesn't seem that big a deal. Indeed. > Maybe some future wizard will > invent a UTF-32 that will hold all ~90 000 Chinese characters and > these will be downsized automatically to UTF-8 when you're mixing > Mandarin with, say, Cesk [Czeck]. UTF-32 already exists, but it's a fixed-width (4 bytes) encoding. > Hmm, somebody just told me that "aigu" is not English but French > and means "acute". ...all these years i thought ... oh well. > Anyway, do you know if '\0351' is a 16-bit character? is is 0xE9 > and decimal 233 and certaing should fit into a byte. just > wondering. Obviously it is a 8-bit character; anything in the range 0-255 is. In ISO 8859-1(5) it is "?" (e with accent aigu). Please look up UTF-8,16,32 and ISO-8859-15 on Wikipedia for further enlightenment. 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) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080910/d19ead8a/attachment.pgp From matthias.apitz at oclc.org Wed Sep 10 06:42:45 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Wed Sep 10 06:42:53 2008 Subject: HUAWEI G3 Modem In-Reply-To: <48C5895C.5050108@mkdev.eu> References: <48C5895C.5050108@mkdev.eu> Message-ID: <20080910064240.GA2209@rebelion.Sisis.de> El d?a Monday, September 08, 2008 a las 10:21:48PM +0200, Markus Klaschka escribi?: > Hey, > I have serious problems getting that thing working. > I followed the instructions here: > http://greasy.com/mustakim/huawei_220_freebsd.html > > Somehow I end up with: > > Sep 8 18:20:54 jupiter kernel: ucom0: Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0 > Sep 8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in > Sep 8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6 > Sep 8 18:20:54 jupiter kernel: ucom0: Mobile, class 0/0, rev 1.10/0.00, addr 2> on uhub0 > Sep 8 18:20:54 jupiter kernel: ucom0: Could not find interrupt in > Sep 8 18:20:54 jupiter kernel: device_attach: ucom0 attach returned 6 > > I have tried to reconnect the device about 10 times, nothing changes. > I'm not using acpi, here on my damn ASUS laptop( never buy ASUS ;) )... > don't know if that makes any difference, but could I guess. > > Any ideas? > > Nazir got that thing working somehow, really would like to know how. > [quote]I'm already success using E220 HUAWEI to data connection but > still failed to send sms using smstool. Please help..TQ[/quote] Some weeks ago Vodafone provided me with a test item (but they asked me to return it) and it worked without problems; details here: http://www.unixarea.de/installEeePC.txt in chapter 7; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda. From jonathan at hst.org.za Wed Sep 10 07:50:50 2008 From: jonathan at hst.org.za (Jonathan McKeown) Date: Wed Sep 10 07:50:58 2008 Subject: kde3 build problems In-Reply-To: References: Message-ID: <200809100954.16415.jonathan@hst.org.za> On Wednesday 10 September 2008 06:55:18 joeb wrote: > I believe kde3 is obsolete. I Just did kde4 and it worked. > That's most definitely not the case. KDE4 is still for early adopters, and KDE3 will continue to be supported as the ``conservative'' stable version for a while, according to . Jonathan From edwin at mavetju.org Wed Sep 10 09:07:36 2008 From: edwin at mavetju.org (Edwin Groothuis) Date: Wed Sep 10 09:07:45 2008 Subject: HUAWEI G3 Modem In-Reply-To: <48C5895C.5050108@mkdev.eu> Message-ID: <20080910090736.GA94631@k7.mavetju> See http://www.mavetju.org/weblog/html/cat_Huawei_E220.html and http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/118686 -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/ From iwrtech at iwr.ru.ac.za Wed Sep 10 09:10:59 2008 From: iwrtech at iwr.ru.ac.za (DA Forsyth) Date: Wed Sep 10 09:11:12 2008 Subject: safest way to upgrade a production server In-Reply-To: <20080908185002.B093F10656C3@hub.freebsd.org> References: <20080908185002.B093F10656C3@hub.freebsd.org> Message-ID: <48C7AB40.3055.517729E0@iwrtech.iwr.ru.ac.za> On 8 Sep 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 232, Issue 3": > >> FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: > >> Mon Dec 3 09:46:53 EST 2007 root@***servername***:/usr/obj/usr/ > >> src/sys/INET_ON amd64 > > > > oooh, that is a bit old I think. > > I chose this server as an example, because it's the oldest one. I > didn't install the OS on this server, the vendor did. Not sure why > they chose a prerelease version... perhaps 6.3 was almost ready to go > and they wanted to put us on the 6.3 branch? I don't know. maybe 6.3 had the drivers for the motherboard? I had that - I purchased a nice shiny newmotherbaord in 2007 but could not use it before 7.0R came out as the chips were not supported by 6.x. I chose not to use a CURRENT or RC version of 7, but to just wait. > Anyway, I guess what I should do is patch this to the latest 6.3 > version? yes. > Or should I go to the latest 6.x version? I am pretty sure I don't > want to experiment with a 7.x upgrade. 6.3 is the latest 6 verison (-: -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From primeroz.lists at googlemail.com Wed Sep 10 09:13:24 2008 From: primeroz.lists at googlemail.com (Primeroz lists) Date: Wed Sep 10 09:13:31 2008 Subject: freebsd 7.0 and jail In-Reply-To: <866800.25036.qm@web52107.mail.re2.yahoo.com> References: <866800.25036.qm@web52107.mail.re2.yahoo.com> Message-ID: <55b8c6fe0809100151n5f1e100w1314531fa50ffe55@mail.gmail.com> Make sure your buildworld /usr/obj is updated. Good idea is to erase your /usr/obj and buildworld again before going on with the jails. fc On Mon, Sep 8, 2008 at 7:28 PM, gahn wrote: > Hello: > > I am trying to build jails on 7.0 system and got errors: > > ///////////////////////////////////////////// > > >>> Installing everything > -------------------------------------------------------------- > cd /usr/src; make -f Makefile.inc1 install > ===> share/info (install) > ===> lib (install) > ===> lib/csu/i386-elf (install) > gcc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common > -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wno-pointer-sign -c crt1.c > gcc:No such file or directory > *** Error code 1 > > Stop in /usr/src/lib/csu/i386-elf. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > /////////////////////////////////// > > looks like the code of jail is broken, did anyone have similar problem? > > I am working in an environment that is able to use "freebsd-update" script. > > Thanks in Advance > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From thavinci at thavinci.za.net Wed Sep 10 10:22:11 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Wed Sep 10 10:22:18 2008 Subject: Sudden Inability To Use SQL Message-ID: <003501c9132c$3a279090$ae76b1b0$@za.net> Ok this is difficult to explain, but I have a FreeBSD7 server that has many components that connect to a remote mysql db for. Raduis/Mail and a few web sites. Recently with nothing changed.. Radius can no longer work cause it cannot contact sql server. Web sites bomb out with sql errors. (This is occasional, sometimes they do work) Etc.. Now the server can telnet into the remote port of the mysql server, and I can verify that it is working correctly as applications on the db server itself that use the db operate as normal. I had a look at the server status to see mysql connections. There are many stated as "unauthenticated user" with command "connect" state "login" coming from the server in question , but none that's actually connected. Ive done a portupgrade on mysql client on box in question as well as php5 and php5-mysql to see if that helped anything with anything! Please HELP! From derek at computinginnovations.com Wed Sep 10 10:46:17 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Sep 10 10:46:23 2008 Subject: problem using multiple monitors with gnome on FreeBSD 7 Message-ID: <6.0.0.22.2.20080910053929.0263b5d8@mail.computinginnovations.com> I did a new install of 7.0 on a system equipped with an nvidia 4 video port card with just two monitors attached. Xorg --configure worked fine, and setup xorg.conf correctly for both monitors. When I bring up X with gnome as root, both screens get used just fine. However when I bring up X with gnome as a regular user only one screen is used. So the problem appears permission related but I'm sure could be a configuration error as well. So if anyone has any advise on how to fix this, or where to look, I'd appreciate any guidance. Thanks, -Derek derek@computinginnovations.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From gerard at seibercom.net Wed Sep 10 11:15:58 2008 From: gerard at seibercom.net (Gerard) Date: Wed Sep 10 11:16:29 2008 Subject: portmanager errors In-Reply-To: <849675.59797.qm@web52108.mail.re2.yahoo.com> References: <849675.59797.qm@web52108.mail.re2.yahoo.com> Message-ID: <317253d70809100415m261584d7w1e63f7c312fc70f1@mail.gmail.com> On Tue, Sep 9, 2008 at 11:04 PM, gahn wrote: > Hello: > > I run into errors when i run "portmanager -u": > > 00344 luit-1.0.2_2 /x11/luit > "Makefile", line 85: Could not find /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc > "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) > "Makefile", line 96: if-less endif > make: fatal errors encountered -- cannot continue > MGdbAdd error: attempt to place null data into record halted > Assertion failed: (0), function MGdbAdd, file MGdbAdd.c, line 78. > Abort (core dumped) > > could the portmanager bypass the failed "luit" and continue the next one? First, what version of 'portmanger' are you using? If not "0.4.1_9", then update. Did you insure that you updated your ports tree just prior to running portmanager? After checking the above, try running portmanager like this: portmanager -u -l -p -y See if that corrects the problem. -- Gerard Gerard@seibercom.net From glen.j.barber at gmail.com Wed Sep 10 11:39:49 2008 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Sep 10 11:40:13 2008 Subject: Exiting Gnome In-Reply-To: References: Message-ID: <4ad871310809100439y78ca2b7ai5ae8caeff091f3fe@mail.gmail.com> On Tue, Sep 9, 2008 at 1:08 AM, FBSD1 wrote: > Started Gnome for first time. Can not figure how to exit (stop) gnome and > return to the FreeBSD command line. The System/logout option just hangs. How are you starting Gnome? Through rc.d or through 'startx'? -- Glen Barber From jhall at vandaliamo.net Wed Sep 10 12:16:15 2008 From: jhall at vandaliamo.net (jhall@vandaliamo.net) Date: Wed Sep 10 12:16:22 2008 Subject: Capturing tar output Message-ID: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net> Ladies and Gentlemen, I am using the following command to perform backups each evening. /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ /var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \ "recipient" | dd of=/dev/nsa0 obs=128K Since I am having tar write the output of the command to stdout is it possible to capture the names of the files being displayed as a result of the -v option? If so, how can this be done? I am not having any luck. Thanks, Jay From ipfreak at yahoo.com Wed Sep 10 13:47:02 2008 From: ipfreak at yahoo.com (gahn) Date: Wed Sep 10 13:47:14 2008 Subject: freebsd 7.0 and jail In-Reply-To: <55b8c6fe0809100151n5f1e100w1314531fa50ffe55@mail.gmail.com> Message-ID: <27753.35222.qm@web52106.mail.re2.yahoo.com> thanks for the advice. it worked out after i did "make world ..." first, then "make installworld ..". it doesn't work if one just do "make installworld ..." best --- On Wed, 9/10/08, Primeroz lists wrote: > From: Primeroz lists > Subject: Re: freebsd 7.0 and jail > To: ipfreak@yahoo.com > Cc: "free bsd" , "freebsd general questions" > Date: Wednesday, September 10, 2008, 1:51 AM > Make sure your buildworld /usr/obj is updated. Good idea is > to erase your > /usr/obj and buildworld again before going on with the > jails. > > fc > > On Mon, Sep 8, 2008 at 7:28 PM, gahn > wrote: > > > Hello: > > > > I am trying to build jails on 7.0 system and got > errors: > > > > ///////////////////////////////////////////// > > > > >>> Installing everything > > > -------------------------------------------------------------- > > cd /usr/src; make -f Makefile.inc1 install > > ===> share/info (install) > > ===> lib (install) > > ===> lib/csu/i386-elf (install) > > gcc -O2 -fno-strict-aliasing -pipe > -I/usr/src/lib/csu/i386-elf/../common > > -I/usr/src/lib/csu/i386-elf/../../libc/include > -Wsystem-headers -Wall > > -Wno-format-y2k -W -Wno-unused-parameter > -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs > -Wredundant-decls > > -Wno-pointer-sign -c crt1.c > > gcc:No such file or directory > > *** Error code 1 > > > > Stop in /usr/src/lib/csu/i386-elf. > > *** Error code 1 > > > > Stop in /usr/src/lib. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > /////////////////////////////////// > > > > looks like the code of jail is broken, did anyone have > similar problem? > > > > I am working in an environment that is able to use > "freebsd-update" script. > > > > Thanks in Advance > > > > > > > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > > From relay.lists at gmail.com Wed Sep 10 13:52:50 2008 From: relay.lists at gmail.com (relay.lists@gmail.com) Date: Wed Sep 10 13:52:57 2008 Subject: branches, updates, buildworld Message-ID: <20080910162227.0241e209@ilievnet.com> Hi, I'm new to FreeBSD and I'd like to give it a try as a PostgreSQL test server on an ancient box. Since I have a lot to learn about this OS, I chose FreeBSD-7.0-RELEASE. (It's the most current production-ready release now, right?). On the other hand I'd like to make every possible speed improvement, because the CPU is Pentium-2@400MHz. So, my questions are: 1) After reading the docs I remained with the impression that sources should be updated for "-current" and "-stable" branches only. Is this correct? 2) If I'm wrong about (1) how should I update the "-release" sources in order to "make buildworld" with additional gcc optimisations? 3) "make buildworld" re-compiles _everything_ or the "base system" only? 4) Will "make buildworld" fail with a make.conf like this: ######## PERL_VER=5.8.8 PERL_VERSION=5.8.8 BDECFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ -combine -fno-strict-aliasing" CFLAGS+=${BDECFLAGS} CXXFLAGS=${CFLAGS} COPTFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ -combine -fno-strict-aliasing" BOOTWAIT=3000 DOC_LANG=en NO_SHAREDOCS=True WITHOUT_MODULES="INET6 zfs wlan firewire lpt joy iscsi cpufreq coda \ coda5 3dfx acpi unionfs ilpt srv4 smbfs reiserfs pccard palm uscanner \ xfs audiocs emu10k1 fm801 neomagic t4dwave cmi emu10kx hda sb16 uaudio \ ad1816 cs4281 envy24 ich sb8 via8233 als4000 csa envy24ht maestro \ via82c686 atiixp driver es137x maestro3 solo vibes au88x0 ds1 mss \ spicds" ######## From m0rchand at comcast.net Wed Sep 10 14:20:59 2008 From: m0rchand at comcast.net (Tom Marchand) Date: Wed Sep 10 14:21:06 2008 Subject: Capturing tar output Message-ID: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net> Trying using tee something like this: /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ /var/db/photos.snar -cvf - ./ |tee outfile| /usr/local/bin/gpg --encrypt --recipient \ "recipient" | dd of=/dev/nsa0 obs=128K -------------- Original message ---------------------- From: jhall@vandaliamo.net > Ladies and Gentlemen, > > I am using the following command to perform backups each evening. > > /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ > /var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \ > "recipient" | dd of=/dev/nsa0 obs=128K > > Since I am having tar write the output of the command to stdout is it > possible to capture the names of the files being displayed as a result of > the -v option? > > If so, how can this be done? I am not having any luck. > > Thanks, > > > Jay > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jalmberg at identry.com Wed Sep 10 14:53:05 2008 From: jalmberg at identry.com (John Almberg) Date: Wed Sep 10 14:53:13 2008 Subject: safest way to upgrade a production server In-Reply-To: <48C7AB40.3055.517729E0@iwrtech.iwr.ru.ac.za> References: <20080908185002.B093F10656C3@hub.freebsd.org> <48C7AB40.3055.517729E0@iwrtech.iwr.ru.ac.za> Message-ID: > > maybe 6.3 had the drivers for the motherboard? I had that - I > purchased a nice shiny newmotherbaord in 2007 but could not use it > before 7.0R came out as the chips were not supported by 6.x. I chose > not to use a CURRENT or RC version of 7, but to just wait. > Possibly... the motherboard is an Intel S5000PAL, with dual quad-core processors. I think it was pretty cutting edge when they started building it, about a year ago. It's still an amazing machine, IMHO. Of course, that might be because my life sort of depends on keeping it working :-) From ipfreak at yahoo.com Wed Sep 10 15:28:35 2008 From: ipfreak at yahoo.com (gahn) Date: Wed Sep 10 15:28:41 2008 Subject: optical drives with freebsd 6.3 Message-ID: <960127.65806.qm@web52110.mail.re2.yahoo.com> Hello, all I am having problems to mount my dvdrom drives on dell precision 490. in the file /etc/fstab, i removed option "noauto" from the line: /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 after i rebooted the machine and i am still not able to see the contents of cdroms with cmd "ls -al /cdrom". so i did: #mount -a mount_cd9660: /dev/acd0: Invalid argument mount_cd9660: /dev/acd0: Input/output error # on the root console, i saw console error message: #g_vfs_done():acd1[READ(offset=32768, lenth=2048)]error = 5 i have nothing in /cdrom1. any ideas? thanks. From paul+fbsd at it.ca Wed Sep 10 15:42:35 2008 From: paul+fbsd at it.ca (Paul Chvostek) Date: Wed Sep 10 15:42:42 2008 Subject: Why the extra shells? In-Reply-To: <3761D93C-F42B-48AC-9295-DFE0E11527DE@identry.com> References: <2E311D07-5DC9-43FF-9EEF-C56B620A632B@identry.com> <48B9FD43.1070508@magidesign.com> <3761D93C-F42B-48AC-9295-DFE0E11527DE@identry.com> Message-ID: <20080910154233.GA7937@it.ca> Hi John, On Mon, Sep 01, 2008 at 08:43:49AM -0400, John Almberg wrote: > > This is my main concern at the moment... I am wondering if I killed > off an essential process when I killed off those shells... Probably not. Your `ps` output was: [on:~]> ps PID TT STAT TIME COMMAND 30350 p0 Ss 0:00.03 -bash (bash) 30761 p0 R+ 0:00.00 ps 99069 p1 Is+ 0:00.01 /usr/local/bin/bash 79966 p3 Is 0:00.01 /usr/local/bin/bash 27050 p4 Is+ 0:00.01 /usr/local/bin/bash 45342 p5 Is+ 0:00.01 /usr/local/bin/bash The fact that your shells all have a small TIME column indicates that they're not very active. This is a good thing. The "I" under STAT means it's an idle process, and the fact that it's attached to a tty means it was started on a terminal. The ones with a "+" are foreground processes on their ttys. I'd guess that these could be shells processes that were never killed off when their terminals were closed, but you can find out a little more about them, once you get some more of them showing up. `ps Olstart` will show you the date/time that a process was started. You can compare this to the output of `last` to see if the dates and ttys match up with your logins. If they don't match up, they're probably not login shells, and more investigation is required, possibly by using things like `ps uwwtp1` for the shell on p1. This will give you ALL the processes on that TTY, including anything that might have been launched by bash (and therefore possibly subject to a HUP sent by the shell as you kill it). p -- Paul Chvostek it.canada http://www.it.ca/ From todor.genov at za.verizonbusiness.com Wed Sep 10 15:46:16 2008 From: todor.genov at za.verizonbusiness.com (Todor Genov) Date: Wed Sep 10 15:46:23 2008 Subject: branches, updates, buildworld In-Reply-To: <20080910162227.0241e209@ilievnet.com> References: <20080910162227.0241e209@ilievnet.com> Message-ID: <48C7EBC1.2030106@za.verizonbusiness.com> relay.lists@gmail.com wrote: > Hi, > > I'm new to FreeBSD and I'd like to give it a try as a PostgreSQL test > server on an ancient box. > > Since I have a lot to learn about this OS, I chose FreeBSD-7.0-RELEASE. > (It's the most current production-ready release now, right?). > > On the other hand I'd like to make every possible speed improvement, > because the CPU is Pentium-2@400MHz. So, my questions are: > > 1) After reading the docs I remained with the impression that sources > should be updated for "-current" and "-stable" branches only. Is this > correct? The STABLE and CURRENT branch are works-in-progress and change daily, thus if you wish to follow them you need to update your sources quite frequently. The only time the RELEASE branch changes (and needs to be updated) is when security and bug fixes are applied to the current source tree - these are known as RELEASE-p? versions. You can follow these updates at http://security.freebsd.org/advisories and on the freebsd-security-notifications mailing list. > 2) If I'm wrong about (1) how should I update the "-release" sources in > order to "make buildworld" with additional gcc optimisations? make buildworld in /usr/src will compile whatever sources you have in the directory. Whether the compiled code is optimized depends on what you put in /etc/make.conf If you haven't done a cvsup since your installation then you have the 7.0-RELEASE source which was on the CD. If you want to obtain the latest 7.0-RELEASE-p? source you need to cvsup with tag=RELENG_7_0 in the cvsup config file. Thereafter you do a buildworld/installworld (and buildkernel/installkernel) which will then give you the latest -RELEASE version (7.0-RELEASE-p4 if I am not mistaken). Similarly tag=RELENG_7 will fetch the -STABLE branch and tag=. will fetch the -CURRENT branch, but you should probably stick with RELENG_7_0 > > 3) "make buildworld" re-compiles _everything_ or the "base system" only? It recompiles the base system. For updates to packages installed from ports look at portupgrade. > > 4) Will "make buildworld" fail with a make.conf like this: > > ######## > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > BDECFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ > -combine -fno-strict-aliasing" > > CFLAGS+=${BDECFLAGS} > CXXFLAGS=${CFLAGS} > COPTFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ > -combine -fno-strict-aliasing" > > BOOTWAIT=3000 > DOC_LANG=en > NO_SHAREDOCS=True > > WITHOUT_MODULES="INET6 zfs wlan firewire lpt joy iscsi cpufreq coda \ > coda5 3dfx acpi unionfs ilpt srv4 smbfs reiserfs pccard palm uscanner \ > xfs audiocs emu10k1 fm801 neomagic t4dwave cmi emu10kx hda sb16 uaudio \ > ad1816 cs4281 envy24 ich sb8 via8233 als4000 csa envy24ht maestro \ > via82c686 atiixp driver es137x maestro3 solo vibes au88x0 ds1 mss \ > spicds" > ######## Seems OK on first inspection. Guess you won't know till you run the buildworld :) Regards, Todor Genov Systems Operations Verizon Business South Africa (Pty) Ltd todor.genov@za.verizonbusiness.com Tel: +27 11 235 6500 Fax: 086 692 0543 From thenoob06 at gmail.com Wed Sep 10 17:27:39 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed Sep 10 17:27:46 2008 Subject: Configure 2 gateways on a freebsd box for 2 interfaces Message-ID: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Hello all, I have a small question. I have two interface in two vlans. The first interface 192.168.0.1 255.255.255.0 The second interface: 10.228.44.1 255.255.255.0 The gateway for the first interface must be 192.168.0.254 and the second interface must be 10.228.44.254 How can I configure them? In rc.conf we have just defaultrouter but we can't specify the interface. Thanks for your help Best Regads TheNoob From wmoran at potentialtech.com Wed Sep 10 17:31:29 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Wed Sep 10 17:32:11 2008 Subject: Configure 2 gateways on a freebsd box for 2 interfaces In-Reply-To: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> References: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Message-ID: <20080910133123.5dcdfdb4.wmoran@potentialtech.com> In response to "The Noob" : > Hello all, > > I have a small question. > I have two interface in two vlans. > The first interface 192.168.0.1 255.255.255.0 > The second interface: 10.228.44.1 255.255.255.0 > The gateway for the first interface must be 192.168.0.254 and the second > interface must be 10.228.44.254 > How can I configure them? In rc.conf we have just defaultrouter but we can't > specify the interface. I'm curious as to why you would want to do this, since that will affect the answer. If those interfaces lead to different networks, then you should add static routes as appropriate. If they are alternate routes, then you should probably run something like RIP to automatically update the routing table. -- Bill Moran http://www.potentialtech.com From relay.lists at gmail.com Wed Sep 10 17:48:23 2008 From: relay.lists at gmail.com (Lister Notifies) Date: Wed Sep 10 17:48:31 2008 Subject: branches, updates, buildworld In-Reply-To: <48C7EBC1.2030106@za.verizonbusiness.com> References: <20080910162227.0241e209@ilievnet.com> <48C7EBC1.2030106@za.verizonbusiness.com> Message-ID: On 9/10/08, Todor Genov wrote: > > relay.lists@gmail.com wrote: > > Hi, --snip-- > > 1) After reading the docs I remained with the impression that sources > > should be updated for "-current" and "-stable" branches only. Is this > > correct? > > The STABLE and CURRENT branch are works-in-progress and change daily, > thus if you wish to follow them you need to update your sources quite > frequently. > > The only time the RELEASE branch changes (and needs to be updated) is > when security and bug fixes are applied to the current source tree - > these are known as RELEASE-p? versions. You can follow these updates at > http://security.freebsd.org/advisories and on the > freebsd-security-notifications mailing list. > > > > 2) If I'm wrong about (1) how should I update the "-release" sources in > > order to "make buildworld" with additional gcc optimisations? > > > make buildworld in /usr/src will compile whatever sources you have in > the directory. Whether the compiled code is optimized depends on what > you put in /etc/make.conf > > If you haven't done a cvsup since your installation then you have the > 7.0-RELEASE source which was on the CD. > > If you want to obtain the latest 7.0-RELEASE-p? source you need to > cvsup with tag=RELENG_7_0 in the cvsup config file. Thereafter you do a > buildworld/installworld (and buildkernel/installkernel) which will then > give you the latest -RELEASE version (7.0-RELEASE-p4 if I am not mistaken). Thank you! Exactly what I wanted to know. > Similarly tag=RELENG_7 will fetch the -STABLE branch and tag=. will > fetch the -CURRENT branch, but you should probably stick with RELENG_7_0 Nope, it's too soon for me to deal with moving targets. So, I guess I need the rock-stable version until I get familiar with the OS. > > > > 3) "make buildworld" re-compiles _everything_ or the "base system" only? > > > It recompiles the base system. For updates to packages installed from > ports look at portupgrade. OK. It brings another question. For example Postgres is not a part of the base system. Will it break if i make: ## pkg_add -r postgresql83-server.tbz cvsup /usr/share/examples/cvsup/standard-supfile make buildworld make buildkernel make installkernel reboot (in single mode) mergemaster -p make installworld mergemaster reboot ## ...And what should I do if Postgres (or any other arbitrary binary package) breaks afterwards? How should I keep the binary packages up-todate? Actually I intend to compile Postgres from the ports after success in re-building and installing the base system, but the question still remains. > > > > 4) Will "make buildworld" fail with a make.conf like this: > > Seems OK on first inspection. Guess you won't know till you run the > buildworld :) I was kind of hoping not to figure out the optimal combination of gcc flags by following the "generate and test" method on Pentium-2. :) Last but not least: Thanks for the fast and detailed response. I appreciate it very much. From freebsd_user at guice.ath.cx Wed Sep 10 17:58:39 2008 From: freebsd_user at guice.ath.cx (freebsd_user@guice.ath.cx) Date: Wed Sep 10 17:58:46 2008 Subject: kldxref: file isn't dynamically-linked^M -- TECRA In-Reply-To: <20080909190013.T46978@tripel.monochrome.org> References: <20080909184749.GA34613@WORKSTATION.guice.ath.cx> <20080910005004.968fcdd4.freebsd@edvax.de> <20080909190013.T46978@tripel.monochrome.org> Message-ID: <48C80AB2.5040701@guice.ath.cx> Chris Hill wrote: > On Wed, 10 Sep 2008, Polytropon wrote: > > [snip] > >> I'm sure you noticed the Ctrl-M (^M) at the ends of each line. >> This seems to be an MS-DOS-like line break (ASCII 0x13 + 0x10). >> UNIX (and so FreeBSD) use the NL or LF character 0x10. And 0x13 >> is the CR character which is equivalent to Ctrl-M, if I do >> remember correctly. > > Almost correctly. ASCII CR (Ctrl-M) is 0x0d, which is decimal 13; ASCII > LF (Ctrl-J or newline) is 0x0a, which is decimal 10. > > Sorry for the off-topic pedantry. > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging <|> ] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" While I do appreciate your efforts, both of you gentlemen did not address the issue at hand. I have found what was needed to either fix or work around the topic of discussion at this URL: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2007-10/msg00314.html Unfortunately for me, I'm not subscribed to nor did I search the other FreeBSD mail list for this particular issue as I don't run 'stable' or '-Current'. For anyone else reading this thread and/or bumping in to this problem, use the above URL or link to bring closure. From info at connect-community.org Wed Sep 10 18:32:02 2008 From: info at connect-community.org (Connect HQ) Date: Wed Sep 10 18:32:09 2008 Subject: Last Chance to Register for Tomorrow's Connect Webcast Message-ID: GET CONNECTED ONLINE [1]myCommunity [2]Chapters [3]Special Interest Groups [4]Community Voice [5]Events If you would like to opt-out of all future Connect e-mail correspondence, please send an e-mail with "opt-out" in the subject line to [6]info@connect-community.org. Dear , [7]Register for the following September Webcasts and make the most of Connect's educational offerings this month: * Thursday, 11 September 2008, 10:00 a.m. CDT [8]Insight Dynamics VSE, HP's Management Solution for Server Virtualization Speaker: Bradford Nichols, HP Sponsored by: * Wednesday, 24 September 2008, 11:00 a.m. CDT [9]HP-UX 11i v3 - Why Move? Speaker: Martin Whittaker, Director of Engineering in the Business Critical Systems Division, HP If you have any questions, please contact [10]info@connect-community.org. Connect Headquarters 401 North Michigan Avenue, Suite 2200, Chicago, Illinois 60611 | Phone: +1.312.321.6803 | Fax: +1.312.673.6926 [11]info@connect-community.org | [12]www.connect-community.org References Visible links 1. http://lists.connect-community.org/t/743274/27675213/52260/0/ 2. http://lists.connect-community.org/t/743274/27675213/52175/0/ 3. http://lists.connect-community.org/t/743274/27675213/52176/0/ 4. http://lists.connect-community.org/t/743274/27675213/52177/0/ 5. http://lists.connect-community.org/t/743274/27675213/52178/0/ 6. mailto:info@connect-community.org 7. http://lists.connect-community.org/t/743274/27675213/52786/0/ 8. http://lists.connect-community.org/t/743274/27675213/52788/0/ 9. http://lists.connect-community.org/t/743274/27675213/52789/0/ 10. mailto:%20info@connect-community.org 11. mailto:info@connect-community.org 12. http://lists.connect-community.org/t/743274/27675213/52180/0/ Hidden links: 13. http://lists.connect-community.org/t/743274/27675213/52179/0/ 14. http://lists.connect-community.org/t/743274/27675213/52795/0/ From ccowart at rescomp.berkeley.edu Wed Sep 10 19:01:05 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Wed Sep 10 19:01:13 2008 Subject: Configure 2 gateways on a freebsd box for 2 interfaces In-Reply-To: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> References: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Message-ID: <20080910190048.GA77705@hal.rescomp.berkeley.edu> The Noob wrote: > I have a small question. > I have two interface in two vlans. > The first interface 192.168.0.1 255.255.255.0 > The second interface: 10.228.44.1 255.255.255.0 > The gateway for the first interface must be 192.168.0.254 and the second > interface must be 10.228.44.254 > How can I configure them? In rc.conf we have just defaultrouter but we can't > specify the interface. I'm guessing you want the gateway to be chosen based on the source address, correct? The kernel does not support routing based on the source address. I use ipfw and fwd rules to achieve this: ipfw add fwd 10.228.44.254 ip from 10.22.44.1 to not 10.22.44.0/24 Then you can leave the default_gateway as 192.168.0.254. You might need IPFIREWALL_FORWARD in your kernel config. See ipfw(8). -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080910/df09e063/attachment.pgp From kdk at daleco.biz Wed Sep 10 19:08:57 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Wed Sep 10 19:09:04 2008 Subject: branches, updates, buildworld In-Reply-To: References: <20080910162227.0241e209@ilievnet.com> <48C7EBC1.2030106@za.verizonbusiness.com> Message-ID: <48C81B39.7020106@daleco.biz> Lister Notifies wrote: > > Nope, it's too soon for me to deal with moving targets. So, I guess I > need the rock-stable > version until I get familiar with the OS. I'll agree with "rock-stable" as it relates to FBSD; however, realize that the "-STABLE" tag mostly refers to the fact that the developers aren't allowed to make sweeping changes to subsystems/API's without permission from a consensus of developers and perhaps even notification of the userbase. It's not a guarantee of usability, etc. As noted, RELENG is what you want for now; it's never going to be changed for the sake of a feature, only for security related patching. >> > 3) "make buildworld" re-compiles _everything_ or the "base system" only? >> >> It recompiles the base system. For updates to packages installed from >> ports look at portupgrade. > > OK. It brings another question. For example Postgres is not a part of > the base system. Will it break if i make: > ## > pkg_add -r postgresql83-server.tbz > cvsup /usr/share/examples/cvsup/standard-supfile > make buildworld > make buildkernel > make installkernel > reboot (in single mode) > mergemaster -p > make installworld > mergemaster > reboot > ## > > ...And what should I do if Postgres (or any other arbitrary binary > package) breaks afterwards? How should I keep the binary packages > up-todate? Actually I intend to > compile Postgres from the ports after success in re-building and > installing the base system, but the question still remains. First, let me hopefully give you a little comfort, that as long as you're only tracking a RELENG branch, this (breakage of a port) will Hardly Ever Happen(tm). I think another poster already pointed you to "portupgrade" (which is well-known in the community and perhaps even mentioned in the official FBSD Docs, although it's a "port" itself ... take a gander at /usr/ports/port-mgmt for an idea of what's there to manage your ports. Now, let me caution you that updating the *ports* is more likely to cause issues than the updating of the base system. If you, for example, happen to upgrade expat or something basic to a bunch of ports, things can go pretty haywire until everything's back up-to-date. But, then again, that's what the ports-mgmt tools are supposed to help with. > Last but not least: Thanks for the fast and detailed response. I > appreciate it very much. Well, welcome to *the* community. FBSD's community is often that way. Kevin Kinsey -- In every hierarchy the cream rises until it sours. -- Dr. Laurence J. Peter From todor.genov at za.verizonbusiness.com Wed Sep 10 19:14:39 2008 From: todor.genov at za.verizonbusiness.com (Todor Genov) Date: Wed Sep 10 19:14:49 2008 Subject: branches, updates, buildworld In-Reply-To: References: <20080910162227.0241e209@ilievnet.com> <48C7EBC1.2030106@za.verizonbusiness.com> Message-ID: <48C81C9A.8000902@za.verizonbusiness.com> > OK. It brings another question. For example Postgres is not a part of > the base system. Will it break if i make: > ## > pkg_add -r postgresql83-server.tbz > cvsup /usr/share/examples/cvsup/standard-supfile > make buildworld > make buildkernel > make installkernel > reboot (in single mode) > mergemaster -p > make installworld > mergemaster > reboot > ## The pre-compiled binary depends on certain system calls and library APIs to function. As long as those don't change the binary will continue to work. It's highly unlikely to have any such changes occur between RELEASE-p? versions unless they are extremely critical updates. In fact in most cases you will probably find that your binary will continue to work between RELEASE versions (7.0, 7.1 etc). We trust the developers won't go and and change libc without giving us a heads-up, but you should still read the changelog before upgrading the base system and know what to expect. > > ...And what should I do if Postgres (or any other arbitrary binary > package) breaks afterwards? How should I keep the binary packages > up-todate? Actually I intend to > compile Postgres from the ports after success in re-building and > installing the base system, but the question still remains. You can always reinstall it from ports which will compile and link software according to your existing environment. To manage already installed packages you can use portaudit and portupgrade both of which can be found in the ports tree as well as the pkg_* tools included in the base system. >> > 4) Will "make buildworld" fail with a make.conf like this: >> >> Seems OK on first inspection. Guess you won't know till you run the >> buildworld :) > > I was kind of hoping not to figure out the optimal combination of gcc > flags by following the "generate and test" method on Pentium-2. :) Take a look at /usr/share/examples/etc/make.conf and use that as your starting point if you haven't already done so. Most of your options seem to be in line with the recommended defaults except maybe "-combined" - I have no idea how it will affect the build. I would use -O2 rather than -O3 as there's a good chance you'll end up with broken code rather than any noticeable performance gains. > > Last but not least: Thanks for the fast and detailed response. I > appreciate it very much. Glad I could be of help. Regards, Todor Genov Systems Operations Verizon Business South Africa (Pty) Ltd Tel: +27 11 235 6500 Fax: 086 692 0543 From wojtek at wojtek.tensor.gdynia.pl Wed Sep 10 19:17:29 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 10 19:17:36 2008 Subject: Capturing tar output In-Reply-To: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net> References: <53798.66.84.183.146.1221048972.squirrel@admintool.trueband.net> Message-ID: <20080910211651.Q48125@wojtek.tensor.gdynia.pl> > > I am using the following command to perform backups each evening. > > /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ > /var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \ > "recipient" | dd of=/dev/nsa0 obs=128K > > Since I am having tar write the output of the command to stdout is it > possible to capture the names of the files being displayed as a result of > the -v option? > > If so, how can this be done? I am not having any luck. redirect stderr with "2>" operator From wojtek at wojtek.tensor.gdynia.pl Wed Sep 10 19:18:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Sep 10 19:18:08 2008 Subject: Capturing tar output In-Reply-To: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net> References: <091020081420.17624.48C7D7CA0001CD2E000044D822007358340B020E080C9DCF03@comcast.net> Message-ID: <20080910211729.T48125@wojtek.tensor.gdynia.pl> > > /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ > /var/db/photos.snar -cvf - ./ |tee outfile| /usr/local/bin/gpg --encrypt --recipient \ > "recipient" | dd of=/dev/nsa0 obs=128K > this will duplicate data, not filenames > > > -------------- Original message ---------------------- > From: jhall@vandaliamo.net >> Ladies and Gentlemen, >> >> I am using the following command to perform backups each evening. >> >> /usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \ >> /var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \ >> "recipient" | dd of=/dev/nsa0 obs=128K >> >> Since I am having tar write the output of the command to stdout is it >> possible to capture the names of the files being displayed as a result of >> the -v option? >> >> If so, how can this be done? I am not having any luck. >> >> Thanks, >> >> >> Jay >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From pieter at degoeje.nl Wed Sep 10 21:57:20 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Wed Sep 10 21:57:26 2008 Subject: branches, updates, buildworld In-Reply-To: <20080910162227.0241e209@ilievnet.com> References: <20080910162227.0241e209@ilievnet.com> Message-ID: <200809102356.25577.pieter@degoeje.nl> On Wednesday 10 September 2008, relay.lists@gmail.com wrote: > 4) Will "make buildworld" fail with a make.conf like this: > > ######## > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > BDECFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ > -combine -fno-strict-aliasing" > > CFLAGS+=${BDECFLAGS} > CXXFLAGS=${CFLAGS} > COPTFLAGS="-march=pentium2 -mmmx -pipe -O3 -fomit-frame-pointer \ > -combine -fno-strict-aliasing" Setting COPTFLAGS is discouraged, because you risk breaking the kernel. In particular, the kernel can not use any floating point operations including simd operations, which you explicitly enable above. May I suggest that you first try to rebuild the base system without any CFLAGS set but simply CPUTYPE?=pentium2 Note that by default the system is build with -O2 -fno-strict-aliasing -pipe. -- Pieter de Goeje From jaxtr at jaxtr.com Wed Sep 10 22:56:55 2008 From: jaxtr at jaxtr.com (jaxtr) Date: Wed Sep 10 22:57:02 2008 Subject: Use jaxtr to call home during the Moon Festival Message-ID: <742290910.11857931221087415011.JavaMail.tomcat@que1.sv.jaxtr.com> Hello Sunil, Here at jaxtr, we wanted to wish you well for this year's Moon Festival, coming up on September 14. While you celebrate the festival with family nearby, remember that you can use jaxtr to share the celebration with your friends and relatives in China and worldwide. Enjoy some of the lowest international calling rates -- only $0.01 USD per minute for calls to China -- when you purchase a jax pack: https://www.jaxtr.com/user/ssl/purchase.jsp?tId=266_188011018309090070 With a jax pack, credits start as low as $5 USD for up to 400 minutes of international calling, making it affordable to stay in touch. Happy talking and eat a mooncake for us! Thanks for using jaxtr! -The jaxtr team Jaxtr, 855 Oak Grove Avenue, Suite 100, Menlo Park, CA 94025 To stop receiving emails, send an email to blockme@jaxtr.com From m0rchand at comcast.net Wed Sep 10 23:45:42 2008 From: m0rchand at comcast.net (Tom Marchand) Date: Wed Sep 10 23:45:49 2008 Subject: Configure 2 gateways on a freebsd box for 2 interfaces In-Reply-To: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> References: <9263743c0809101005w5e45edb9g990eeb26b47bbb6b@mail.gmail.com> Message-ID: <7B5E02C9-B28E-4FBD-82EC-57F0189C3756@comcast.net> You should be able to use the route command. On Sep 10, 2008, at 1:05 PM, The Noob wrote: > Hello all, > > I have a small question. > I have two interface in two vlans. > The first interface 192.168.0.1 255.255.255.0 > The second interface: 10.228.44.1 255.255.255.0 > The gateway for the first interface must be 192.168.0.254 and the > second > interface must be 10.228.44.254 > How can I configure them? In rc.conf we have just defaultrouter but > we can't > specify the interface. > Thanks for your help > Best Regads > TheNoob > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From af300wsm at gmail.com Thu Sep 11 00:08:55 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Sep 11 00:09:02 2008 Subject: mail server DNS configuration questions In-Reply-To: <48C6ADE7.8060608@mahan.org> References: <200809061928.28539.af300wsm@gmail.com> <48C6ADE7.8060608@mahan.org> Message-ID: <48C86136.7040502@gmail.com> Patrick Mahan wrote: > > > Andrew Falanga presented these words - circa 9/6/08 6:28 PM-> >> Hi, >> >> Well, my clients at church are still having issues and after working >> with George, a respondant to my original questions, I think that >> most, if not all, of my problems are related to DNS and how we've got >> it improperly configured. >> >> First, a crude drawing of how our mail server exists in the world: >> >> 192.168.2.x/24 72.24.23.252 "lot's of networks" >> Private Network <--> CableOne <--> Internet >> >> Now, our mail server's IP is 192.168.2.23. On the router, he (the >> person at whose house the mail server is) has IP forwarding setup so >> that mail get's sent to our FreeBSD machine. Using dig, here's the >> responses: >> >> (from my FBSD machine at home, not the server) >> [/usr/home/andy] >> -> dig +short -t MX whitneybaptist.org >> 10 mail.whitneybaptist.org. >> [/usr/home/andy] >> -> dig +short -t A whitneybaptist.org >> 72.24.34.252 >> [/usr/home/andy] >> -> dig +short -x 72.24.34.252 >> 34-252.72-24-cpe.cableone.net. >> >> (from the church FBSD machine) >> [/home/afalanga] >> -> hostname >> whitbap >> [/home/afalanga] >> -> ifconfig fxp0 >> fxp0: flags=8843 mtu 1500 >> options=8 >> inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 >> ether 00:d0:b7:74:87:48 >> media: Ethernet autoselect (100baseTX ) >> status: active >> [/home/afalanga] >> -> cat /etc/resolv.conf >> search McCutchanLAN >> nameserver 192.168.2.1 >> >> >> It doesn't take a rocket scientist, or a computer scientist, to >> figure out we've got DNS issues. I'm thinking that I should setup a >> domain within the 192.168.2.0/24 network on this box. I've done this >> before, at work. The question I've got is I've never actually >> integrated a domain like this to a domain on the Internet. I'm >> thinking that we'll setup something like: internal.whitneybaptist.org >> with hosts in that sub-domain. >> > > > First, what are you trying to accomplish with the internal DNS? Make > it easier to > resolve machines in the 192.168.2.0 network? Allow lookups external > of the > 192.168.2.0 network? What machine is 'mail.whitneybaptist.com'? Is > it on the > 192.168.2.0 network? Is it reachable from the Internet? > > Who is the owner of whitneybaptist.org DNS zone? I show the following > NS servers: > > Patrick@widowmaker-~/src/MPS/DocDownload 140 > dig +short -t NS > whitneybaptist.org > ns1.domaindirect.com. > ns2.domaindirect.com. > ns3.domaindirect.com. > > Which is administered by tucows.com (Tucows, Inc) a seller of DNS > services. > >> So, what would my DNS tables need to look like to make this happen. >> Also, to any knowledgable souls here, what RFCs address these issues? >> > > You can read the RFC's if you want, but you would be better served to > purchase > "DNS and BIND, Fourth Edition, by Paul Albitz & Cricket Liu" to learn > how to > administer DNS. > > Patrick It's been quite some time since I last looked at that book. It was at edition 3 then, and owned by the company I worked for so I didn't get to keep it. I'll have to look into it. Andy From af300wsm at gmail.com Thu Sep 11 00:19:25 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Sep 11 00:19:33 2008 Subject: mail server DNS configuration questions In-Reply-To: <20080907055229.GA93793@marvin.optimis.net> References: <200809061928.28539.af300wsm@gmail.com> <20080907055229.GA93793@marvin.optimis.net> Message-ID: <48C863AF.4050908@gmail.com> George Davidovich wrote: > On Sat, Sep 06, 2008 at 07:28:28PM -0600, Andrew Falanga wrote: > >> Well, my clients at church are still having issues and after working with >> George, a respondant to my original questions, I think that most, if not all, >> of my problems are related to DNS and how we've got it improperly configured. >> >> First, a crude drawing of how our mail server exists in the world: >> >> 192.168.2.x/24 72.24.23.252 "lot's of networks" >> Private Network <--> CableOne <--> Internet >> >> Now, our mail server's IP is 192.168.2.23. On the router, he (the person at >> whose house the mail server is) has IP forwarding setup so that mail get's >> sent to our FreeBSD machine. Using dig, here's the responses: >> >> (from my FBSD machine at home, not the server) >> [/usr/home/andy] -> dig +short -t MX whitneybaptist.org >> 10 mail.whitneybaptist.org. >> [/usr/home/andy] -> dig +short -t A whitneybaptist.org >> 72.24.34.252 >> [/usr/home/andy] -> dig +short -x 72.24.34.252 >> 34-252.72-24-cpe.cableone.net. >> >> (from the church FBSD machine) >> [/home/afalanga] -> hostname >> whitbap >> [/home/afalanga] -> ifconfig fxp0 >> fxp0: flags=8843 mtu 1500 >> options=8 >> inet 192.168.2.23 netmask 0xffffff00 broadcast 255.255.255.255 >> ether 00:d0:b7:74:87:48 >> media: Ethernet autoselect (100baseTX ) >> status: active >> [/home/afalanga] -> cat /etc/resolv.conf >> search McCutchanLAN >> nameserver 192.168.2.1 >> >> It doesn't take a rocket scientist, or a computer scientist, to figure out >> we've got DNS issues. I'm thinking that I should setup a domain within the >> 192.168.2.0/24 network on this box. I've done this before, at work. The >> question I've got is I've never actually integrated a domain like this to a >> domain on the Internet. I'm thinking that we'll setup something like: >> internal.whitneybaptist.org with hosts in that sub-domain. >> >> So, what would my DNS tables need to look like to make this happen. Also, to >> any knowledgable souls here, what RFCs address these issues? >> > > Hello again, Andy. > > What you're asking is actually a FAQ, but I'll spell things out anyway. > The following excerpt from RFC 1918 is most relevant: > > If an enterprise uses the private address space, or a mix of > private and public address spaces, then DNS clients outside of > the enterprise should not see addresses in the private address > space used by the enterprise, since these addresses would be > ambiguous. One way to ensure this is to run two authority > servers for each DNS zone containing both publically and > privately addressed hosts. One server would be visible from the > public address space and would contain only the subset of the > enterprise's addresses which were reachable using public > addresses. The other server would be reachable only from the > private network and would contain the full set of data, > including the private addresses and whatever public addresses > are reachable the private network. In order to ensure > consistency, both servers should be configured from the same > data of which the publically visible zone only contains a > filtered version. There is certain degree of additional > complexity associated with providing these capabilities. > > That's a roundabout way of saying you can't "mix and match" private > non-routable addresses with public addresses in the same namespace. > > Note the "authoritative" part. Until CableOne delegates your assigned > netblock to your organisation, your public DNS server will not be > authoritative (it currently isn't!) for 72.24.34.252. You can reference > RFC 2317 (classless in-addr.arpa delegation) for how that works. As to > why you must be authoritative, I've already pointed out off-list how Bad > Things can happen when you're not, especially in regards to email where > reverse lookups are integral to How Things Work. > I could be wrong, but I think they've done something like this. I administered DNS on an OpenBSD machine (2 of them actually) back in 2000-2001. Since then, I've done nothing with DNS administration. I'm wondering what I need to get from CableOne to get this done. Here's the result of a dig, on that mail server, for the IP address 72.24.34.252: [/home/afalanga] -> dig -x 72.24.34.252 ; <<>> DiG 9.3.3 <<>> -x 72.24.34.252 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19747 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;252.34.24.72.in-addr.arpa. IN PTR ;; ANSWER SECTION: 252.34.24.72.in-addr.arpa. 86333 IN PTR 34-252.72-24-cpe.cableone.net. ;; AUTHORITY SECTION: 24.72.in-addr.arpa. 75566 IN NS NS1.cableone.net. 24.72.in-addr.arpa. 75566 IN NS NS2.cableone.net. ;; ADDITIONAL SECTION: NS1.cableone.net. 3507 IN A 24.116.0.201 NS2.cableone.net. 69544 IN A 24.116.0.202 ;; Query time: 16 msec ;; SERVER: 192.168.2.1#53(192.168.2.1) ;; WHEN: Wed Sep 10 19:53:27 2008 ;; MSG SIZE rcvd: 154 Notice that the answer section points to 34-252.72-24-cpe.cableone.net. I don't remember the exact syntax but the delegation that our ISP did for this, according to RFC 2317 (thanks by the way), looked very similar to that. I wonder what it is they're doing. > As for other RFCs, I'd suggest instead starting with a careful reading > of the Bind ARM at http://www.isc.org/sw/bind/, followed by a once-over > of the Bind FAQ, and possibly the FreeBSD-supplied configuration files. > To save you some time, the following abbreviated context-specific > examples should explain things more clearly and get you started: > > Example 1: Two domains and two separate (sets of) name servers: > > On the ns.whitneybaptist.org machine: > > zone "whitneybaptist.org" { > type master; > file "master/whitneybaptist.org"; > }; > zone "252.34.24.72.in-addr.arpa" { > type master; > file "master/db.72.24.34.252"; > }; > > On the ns.internal.whitneybaptist.org machine: > > zone "internal.whitneybaptist.org" { > type master; > file "master/internal.whitneybaptist.org"; > }; > zone "1.168.192.in-addr.arpa" { > type master; > file "master/db.192.168.1"; > }; > > # slave whitneybaptist.org zones here > > The contents of /etc/resolv.conf for internal hosts: > > domain internal.whitneybaptist.org > nameserver 192.168.1.X > > > Example 2: One domain and a single (set of) name server(s) employing > Bind's "view" feature: > > acl "lan_hosts" { 192.168.1/24; 192.168.2/24; }; > > key "external" { > algorithm hmac-md5; > secret "XXXXXXX=="; > }; > > view "internal" { > match-clients { !key external; lan_hosts; }; > allow-recursion { lan_hosts; }; > > zone "whitneybaptist.org" { > type master; > file "master/whitneybaptist.org.internal"; > }; > zone "1.168.192.in-addr.arpa" { > type master; > file "master/db.192.168.1"; > }; > > view "external" { > match-clients { key external; any; }; > recursion no; > > zone "whitneybaptist.org" { > type master; > file "master/whitneybaptist.org.external"; > }; > zone "252.34.24.72.in-addr.arpa" { > type master; > file "master/db.72.24.34.252"; > }; > > The contents of /etc/resolv.conf for internal hosts: > > domain whitneybaptist.org > nameserver 72.24.34.252 > > # Note: if 'nameserver' is NAT-ed, you'd use its > # internal address instead > > You'll have to decide for yourself which approach works best for you. > > - If you opt for 2 domains, you'll need to reconfigure all your > internal hosts, and then add more machines to serve up DNS for those > hosts. > > - If you opt for one domain and use Bind's view feature, you can leave > your i