Re: Supported External SATA to USB Hard Drive Enclosures
On Fri, Aug 22, 2008 at 6:32 AM, Doug Poland [EMAIL PROTECTED] wrote: Hello, Can anyone recommend a manufacturer and/or model of external SATA to USB external hard drive enclosures? I've not had luck with the devices I pick up off-the-shelf at my local big-box consumer electronics stores. BTW, I'm running FreeBSD i386 7.x. Perhaps I am tired and therefore misunderstanding... I just recently bought a seagate TB SATA drive and Roswell enclosure that has SATA internal and USB/eSATA as external interface. USB worked with no difficulty and so did the eSATA when I plugged the bracked into an existing SATA port on my mobo. I also had good luck with Addonics being recognized, until the enclosure itself started failing, that is. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Zebra Installation and config
Hello to all of u, Can anyone tell me about Zebra router installation and configuration on FreeBSD. -- Thanks Farooq Hussain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SASL2, Subversion and LDAP authtication
Sirs, I already setup a working subversion server and need to autehnticate accessing users against a LDAP server. The LDAP serving machine is located on another box and compiled against cyrus-sasl2-port. OpenLDAP (2.4.11), Subversion (1.5.X as taken from the ports) are capable of handling SASL2, so I double checked this. I followed the instructions to setup subversion connecting/authenticating users via sasl2 but I do not have any success. It is said that for subversion I need to create a config file 'svn.conf' in the place were sasl2 expects plugins, so this /usr/local/lib/sasl2. There resides a chmod'd 755 file named svn.conf with this content: auxprop_plugin: ldap pwcheck_method: auxprop ldapdb_uri: ldap://my.ldap.server/ ldapdb_id: anonymous ldapdb_pw: ldapdb_mech:EXTERNAL ldapdb_rc: /usr/local/etc/sasl2/ldaprc ldapdb_startls: yes mech_list: EXTERNAL log_level: 7 The file /usr/local/etc/sasl2/ldaprc containts LDAP specific parameters like TLS_CACERT file etc. Well, someone would complain about ldapdb_id and ldapdb_pw, they ar set to bogus values at the moment as I try to figure out how things work (the documentation is more than bad in this subject). My problem is as follows: whenever I try to access the repository which should authenticate against LDAP I get a SASL error complaining about non-accessible Berkeley db /usr/local/etc/sasl2db not accessible (permission denied). Well, this confuses me. That means subversion is NOT accessing the LDAP path, it seems it uses authd (sasl2) directly. I try to log the console and slapd output, both do not show up anything execpt console log shows the mentioned Berkeley db issue. My LDAP server is configured not to autheticate clients via there own SSL certificates, so the bogus 'anonymous' tag and empty password is simply I try to get LDAP's and subversion's log messages triggered - if subversion will ever contact LDAP. I guess subversion never looks for a config file 'svn.conf' in /usr/local/lib/sasl2/. Well, I'm a little bit desperate about less knowledge about sasl2 and how it works, so if there is someone out here with a working subversion.ldap configuration on FreeBSD (I use everywhere 7.0-STABLE) I appreciate any comments, tips and hints. Thanks you very much in advance, Oliver -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MTA advice ??
Jeffrey Goldberg wrote: Receiving mail directly will be more possible, but tricky. You will need to use a dynamic DNS system. Also do consider uptime and reliability. In the old days, if one MTA couldn't reach another it would hold stuff in its queue for four or five days. Now, most MTAs appear to be configured to give up after 24 hours. So if your mailserver is down for a day, mail will be bounced and never delivered to you. Actually, most *legitimate* MTAs do not give up after 24 hours. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bootable FreeBSD on USB-Flash-Drive [SOLUTION] ???
Hello, It is relatively easy to produce a FreeBSD 7.0 booting USB key (for example for the installation of FreeBSD 7.0 if the target machine has no CD but only USB externals), if one follow more or less the description in http://groups.google.com/group/lucky.freebsd.questions/msg/5c759b1c87376b22 I said 'more or less' because the problem is that the procedure at certain point assumes that you have the installation data (which is on FreeBSD CD1) accessible, but you have at this moment the LifeFS CD mounted); I helped myself doing the process based on my running FreeBSD 7.0 laptop, mounted the CD1 and built the USB key. I'm asking me (and all) how this could be done having only the FreeBSD 7.0 CDs and no running FreeBSD 7.0 system? Thx 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 [EMAIL PROTECTED] - 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lost some of my keyboard characters
After updating the port xkeyboard-config-1.3 X Keyboard Configuration Database The characters activated by AltGr are lost. How do I do to get them back? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
string split, bash and IFS
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 [EMAIL PROTECTED]
RE: string split, bash and IFS
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Unga Sent: 25 August 2008 10:40 To: freebsd-questions@freebsd.org Subject: string split, bash and IFS 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. [EMAIL PROTECTED] Unga: I think your problem is that each element of the pipeline runs in a separate process, so has no access to the variables from other processes. You could try something like: echo Name:Surname:10 | ( IFS=: ; read name surname age ; echo $surname) Also, probably a typo - but you're assignment of string in the first line should omit the $ sign. - barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TECRA_A9-S9017 -- /usr/src/UPDATING -- Machine is down.
The short version is, the machine will not enter multi-user mode after we followed the instructions or directions within /usr/src/UPDATING . the SECTION entitled: To upgrade in-place from 4.x-stable to 5.x - While we are able to enter single-user mode with no apparent issues, attempting to enter multi-user mode yields the following: date init can't exec getty '/usr/libexec/getty' for port /dev/ttyv0: The above line takes place for all the ttyv's listed in /etc/ttys. We've checked the entries in /etc/ttys as-well-as checked to be sure /usr/libexec/getty was in fact in its proper place with correct permissions. Because this upgrade went sideways we are only soliciting help to reboot into multi-user mode to retrieve the data which our level.0/9 dump(s) failed to get .thereafter we'll do a fresh install and return this machine to service. What can we do at this point to accomplish our goal of booting in to multi-user mode? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a gmirrored hard drive
Sasa Stupar wrote: Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is this possible or is it better to switch back from RAID 1 to single disk system and then do cloning with dump/restore (or dd) and then make RAID 1 again? You'll need to dump/restore (not dd) from an old drive to a new one. signature.asc Description: OpenPGP digital signature
Re: Zebra Installation and config
Farooq Hussain wrote: Can anyone tell me about Zebra router installation # pkg_add -r quagga and configuration http://www.quagga.net/docs/docs-info.php Regards, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a gmirrored hard drive
Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is gmirror remove yourmirrorname /dev/oneofdisk shutdown and replace this one with 160GB boot single user make gmirror with this new 160GB drive (only one drive now so not real mirror) newfs and copy all data make it bootable, shutdown, remove second 40GB drive, add second 160GB drive, boot and then gmirror insert yournewmirror seconddrive that's all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turn on beastie beside the 'Welcome to FreeBSD' boot optionsmenu
Kevin Monceaux wrote: Oliver Fromme wrote: How would you like this one? http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png (It's work in progress. See the latest FreeBSD Quarterly Status Report.) When I recently came across info on the graphical boot loader project I secretly hoped that either the project would fail, or that at least the graphical boot loader would be optional. It will be optional. Note that we will also still support serial console. But, after seeing the above screenshot I think I might be able to get used to the boot loader pictured in that screenshot. The screenshot I came across with I first discovered the project recently: http://www.secnetix.de/olli/FreeBSD/vloader/screenshot.png looks nice, but is just a bit too modern for my tastes. You will be able to supply your own picture if you like. I also expect that some people will create various kinds of artwork (in the ports collection or elsewhere), so there will be quite a few themes to choose frome. And if you still don't like it, a switch in loader.conf will bring the old text menu back. Well, at least that's the plan. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd cat man du : where Unix geeks go when they die ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Supported External SATA to USB Hard Drive Enclosures
Derrick Ryalls writes: I just recently bought a seagate TB SATA drive and Roswell enclosure that has SATA internal and USB/eSATA as external interface. USB worked with no difficulty and so did the eSATA when I plugged the bracked into an existing SATA port on my mobo. I also had good luck with Addonics being recognized, until the enclosure itself started failing, that is. Caveat emptor: I have an external Addonics hot-swap (warm-, actually) enclosure. While it connects fine to the USB on the chassis, I have never achieved transfer rates over ~3.6 bytes/sec (as measured by dump) on what is rated for 80 mbytes/sec. While there is no conclusive evidence, eliination of other likely suspects leaves poorly designed/implemented hardware as the prime candidate. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE4 system utilization in FreeBSD vs. SuSE 11
The system that I'm doing this on is a Thinkpad T23 with 1GB ram and 1Ghz P3. I've tried KDE4 as the ports tree now has packages for 7-STABLE and found that plasma+xorg is a resource hog. When I look in top I see xorg + plasma each using 20% of the cpu and a large portion of the ram. Opening up konqueror for kde4 slows the system very noticeably and closing konqueror leaves a zombie process. Konqueror for kde3 does not have the same effect and is quite useable. The laptop is unable to go to the lower cpu frequency and is almost unuseable. I've now booted from the SuSE 11 KDE4 livecd. X + plasma + konqueror + konsole + networkmanager is using less than 20% cpu and 70% of the ram. 512K ram is being used as a ramdisk and the other 200K is being used to run KDE4. SuSE has many services running and seems to have no issues doing so as the cpu frequency is at the lowest setting. In fact, the cpu frequency has not budged from the lowest setting. The system is as responsive running from the livecd using KDE4 as FreeBSD using KDE3 from the hard drive. Here is a comparison of memory use between KDE4 and KDE3, http://www.kdedevelopers.org/node/3138. The conclusion from that is KDE4 applications require less memory than KDE3 applications. Am I doing something wrong that causes such a discrepancy? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Supported External SATA to USB Hard Drive Enclosures
Robert Huff writes: I have an external Addonics hot-swap (warm-, actually) enclosure. While it connects fine to the USB on the chassis, I have never achieved transfer rates over ~3.6 bytes/sec (as measured by s/3.6 bytes/3.6 mbytes/ Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: turn on beastie beside the 'Welcome to FreeBSD' boot optionsmenu
On Mon, Aug 25, 2008 at 02:45:17PM +0200, Oliver Fromme wrote: Kevin Monceaux wrote: Oliver Fromme wrote: How would you like this one? http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png (It's work in progress. See the latest FreeBSD Quarterly Status Report.) When I recently came across info on the graphical boot loader project I secretly hoped that either the project would fail, or that at least the graphical boot loader would be optional. It will be optional. Note that we will also still support serial console. But, after seeing the above screenshot I think I might be able to get used to the boot loader pictured in that screenshot. The screenshot I came across with I first discovered the project recently: http://www.secnetix.de/olli/FreeBSD/vloader/screenshot.png looks nice, but is just a bit too modern for my tastes. You will be able to supply your own picture if you like. I also expect that some people will create various kinds of artwork (in the ports collection or elsewhere), so there will be quite a few themes to choose frome. And if you still don't like it, a switch in loader.conf will bring the old text menu back. Well, at least that's the plan. :-) Sounds great to me. Any prognosis info? jerry Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd cat man du : where Unix geeks go when they die ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lost some of my keyboard characters SOLVED!
Leslie Jensen skrev: After updating the port xkeyboard-config-1.3 X Keyboard Configuration Database The characters activated by AltGr are lost. How do I do to get them back? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The name of the keyboard driver was changed from Option XkbModel logicdit To Option XkbModel logiitc :-) /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a gmirrored hard drive
Stupid question: can't you use growfs on the existing gmirror (after replace /dev/oneofdisk, resync, replace /dev/otherdisk, resync) ? Is it mandatory to create a *new* gmirror ? Thanks On Mon, 2008-08-25 at 14:37 +0200, Wojciech Puchar wrote: Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is gmirror remove yourmirrorname /dev/oneofdisk shutdown and replace this one with 160GB boot single user make gmirror with this new 160GB drive (only one drive now so not real mirror) newfs and copy all data make it bootable, shutdown, remove second 40GB drive, add second 160GB drive, boot and then gmirror insert yournewmirror seconddrive that's all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TECRA_A9-S9017 -- /usr/src/UPDATING -- Machine is down.
Are you sure you've updated all of /etc, particularly the login? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: string split, bash and IFS
--- On Mon, 8/25/08, Barry Byrne [EMAIL PROTECTED] wrote: From: Barry Byrne [EMAIL PROTECTED] Subject: RE: string split, bash and IFS To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: Monday, August 25, 2008, 7:54 PM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Unga Sent: 25 August 2008 10:40 To: freebsd-questions@freebsd.org Subject: string split, bash and IFS 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. [EMAIL PROTECTED] Unga: I think your problem is that each element of the pipeline runs in a separate process, so has no access to the variables from other processes. You could try something like: echo Name:Surname:10 | ( IFS=: ; read name surname age ; echo $surname) Thanks for the reply. Your statement prints the Surname but the variable $surname disappear after that and not available for further processing. I'm referring to two sources for this: 1. Learning the bash shell, 2nd Edition. O'Reilly publishers Where on page 170, under read section The basic syntax is: read var1 var2... This statement takes a line from the standard input and breaks it down into words delimited by any of the characters in the value of the environment variable IFS. The words are assigned to variables var1, var2, etc. 2. http://www.unix.com/shell-programming-scripting/29202-perl-like-split-function-bash.html It looks like it works for others but here on FreeBSD 7.0, bash 3.2.33(0)-release, I find it difficult to get this syntax to work. Also, probably a typo - but you're assignment of string in the first line should omit the $ sign. Yes, sure is a typo. Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
keeping clocks synced on a dual boot machine
I have a dual boot machine and if I set the Vista clock to the local time then no matter what I do on the fbsd side (via tzsetup) forces fbsd to report local time instead of GMT and vice versa (if fbsd is local then vista is GMT). How can I get them to agree? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat6 and diablo-jdk16
On Fri, Aug 22, 2008 at 5:10 PM, Christian Hiris [EMAIL PROTECTED] wrote: On Wednesday 20 August 2008, you wrote: Thank you... It worked ok*. %cp bsd.java.mk.patch /usr/ports/Mk/ patch bsd.java.mk.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- bsd.java.mk.orig 2008-07-29 14:18:05.0 +0200 |+++ bsd.java.mk2008-08-18 22:07:01.0 +0200 -- Patching file bsd.java.mk using Plan A... Hunk #1 succeeded at 169. Hunk #2 succeeded at 210 (offset -1 lines). done There are good news: You don't need the patch anymore. A similar patch has been committed to the ports system and diablo-jdk16 is default now for FreeBSD 6.x and 7.x. If you cvsup your ports collection all should work as expected. http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.java.mk Cheers, ch -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x1A9BE943 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu That's good to hear that the people working on the FreeBSD project *don't sleep*. That's why it's a reference for many other projects around the world. Best Regards, Thiago Esteves ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with make install in kde4
Am Fri, 22 Aug 2008 11:36:53 -0300 (ART) schrieb Mario Lobo [EMAIL PROTECTED]: Hi; I think i had a problem with my last e-mail so I'm reposting. This all after csup, portsnap, etc... The 'make' of /usr/ports/ When I 'make install', i get this: (snip) qimage === kdegraphics-4.1.0 depends on shared not found ===Verifying ins /usr/ports/print/libspectre === l /usr/local/bin/libtool - found == == found pkg_info: no pac configure: WARNING: you should use --build, --hos checking for a BSD-compatible install... /usr/bin/install -c -g wheel checking whether build environment is sane... yes ( checking for gsapi_new_instance in -lgs... no configure: error: === Scrip I found on the net that ghostscri installed it but the error persists. Would any one have any advice for this? thanks -- Mario FWIW: I had the same problem first, but after deinstalling reinstalling print/ghostscript-gpl, i was able to build and install kdegraphics-4 br, reinhard -- If a President doesn't do it to his wife, he'll do it to his country. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keeping clocks synced on a dual boot machine
On Mon, Aug 25, 2008 at 10:12:22AM -0400, Aryeh Friedman wrote: I have a dual boot machine and if I set the Vista clock to the local time then no matter what I do on the fbsd side (via tzsetup) forces fbsd to report local time instead of GMT and vice versa (if fbsd is local then vista is GMT). How can I get them to agree? By using the adjkerntz(8) utility on FreeBSD. I think it is automatically run at startup and then should look for the existence of the file /etc/wall_cmos_clock to determine if the clock is running at local time or UTC. (At least according to the manpage.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keeping clocks synced on a dual boot machine
Aryeh Friedman [EMAIL PROTECTED] writes: I have a dual boot machine and if I set the Vista clock to the local time then no matter what I do on the fbsd side (via tzsetup) forces fbsd to report local time instead of GMT and vice versa (if fbsd is local then vista is GMT). How can I get them to agree? Create /etc/wall_cmos_clock, as covered in the manuals for tzsetup(8) and adjkerntz(8). -- 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 [EMAIL PROTECTED]
RE: Zebra Installation and config
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Farooq Hussain Sent: Monday, August 25, 2008 7:56 AM To: freebsd-questions@freebsd.org Subject: Zebra Installation and config Hello to all of u, Can anyone tell me about Zebra router installation and configuration on FreeBSD. -- Thanks Farooq Hussain Port name is quagga. After install just follow the man or search on google for configuration examples. Best Regards Catalin Miclaus Network/Security ISP-Data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any form of dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited if you are not the intended recipient of this e-mail. Please note that e-mails are susceptible to change. STARCOMMS PLC shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. STARCOMMS PLC does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. STARCOMMS PLC reserves the right to monitor all e-mail communications, whether related to the business of STARCOMMS or not, through its internal or external networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help changing the prompt
Hi there, I'm trying to change the prompt in the *text (console) mode* for a restricted user with a statement like this set prompt = %~ But it doesn't work. And when I type *set* I see _ = %~ instead prompt = %~ However when I do it logged as a root it works. Can someone help me with this? Thanks, -- Robe. Si deseas que tus sueños se hagan realidad ¡despierta! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with make install in kde4
On Monday 25 August 2008 11:13:50 [EMAIL PROTECTED] wrote: Am Fri, 22 Aug 2008 11:36:53 -0300 (ART) schrieb Mario Lobo [EMAIL PROTECTED]: Hi; I think i had a problem with my last e-mail so I'm reposting. This all after csup, portsnap, etc... The 'make' of /usr/ports/ When I 'make install', i get this: (snip) qimage === kdegraphics-4.1.0 depends on shared not found ===Verifying ins /usr/ports/print/libspectre === l /usr/local/bin/libtool - found == == found pkg_info: no pac configure: WARNING: you should use --build, --hos checking for a BSD-compatible install... /usr/bin/install -c -g wheel checking whether build environment is sane... yes ( checking for gsapi_new_instance in -lgs... no configure: error: === Scrip I found on the net that ghostscri installed it but the error persists. Would any one have any advice for this? thanks -- Mario FWIW: I had the same problem first, but after deinstalling reinstalling print/ghostscript-gpl, i was able to build and install kdegraphics-4 br, reinhard That did it!! Thanks Man !! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg.0.log over running...
When running Kde3, my xorg.0.log file just keeps filling up until there is no more disk space on /var. It keeps writing this line: (==) VESA(0): Write-combining range (0x0,0x1000) was already clear This goes on until there is no more space in /var. Is there a way I can supress these messages, or maybe fix the problem? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD SLIM Theme?
FreeBSD Fans, Does anyone know of any FreeBSD SLIM(SImple Login Manager) themes? I stumbled across one web site with such a theme one day while I was at work. I figured I'd be able to find it from home via Google, but I haven't been able to locate it since then. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: string split, bash and IFS
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Unga Sent: 25 August 2008 15:11 To: Barry Byrne Cc: freebsd-questions@freebsd.org Subject: RE: string split, bash and IFS --- On Mon, 8/25/08, Barry Byrne [EMAIL PROTECTED] wrote: From: Barry Byrne [EMAIL PROTECTED] Subject: RE: string split, bash and IFS To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: Monday, August 25, 2008, 7:54 PM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Unga Sent: 25 August 2008 10:40 To: freebsd-questions@freebsd.org Subject: string split, bash and IFS 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. [EMAIL PROTECTED] Unga: I think your problem is that each element of the pipeline runs in a separate process, so has no access to the variables from other processes. You could try something like: echo Name:Surname:10 | ( IFS=: ; read name surname age ; echo $surname) Thanks for the reply. Your statement prints the Surname but the variable $surname disappear after that and not available for further processing. I'm referring to two sources for this: 1. Learning the bash shell, 2nd Edition. O'Reilly publishers Where on page 170, under read section The basic syntax is: read var1 var2... This statement takes a line from the standard input and breaks it down into words delimited by any of the characters in the value of the environment variable IFS. The words are assigned to variables var1, var2, etc. 2. http://www.unix.com/shell-programming-scripting/29202-perl-lik e-split-function-bash.html It looks like it works for others but here on FreeBSD 7.0, bash 3.2.33(0)-release, I find it difficult to get this syntax to work. Unga: The variables in the read command are only available in the same shell process as the read command. In my example, that would be the commands within the () brackets, as the () cause a subshell to be spawned. In the most common situation, a read command is going to be part of a shell script, so the variables will be available within the script. Most often, a read command is going to read from standard input, so you'll have something like: - myscript.sh -- #!/usr/local/bin/bash IFS=: while read var1 var2 var3; do echo The values are $var1, $var2 and $var3 done - myscript.sh -- Then call the script: echo apple:orange:banana | ./myscript.sh Or, maybe use the values from a file. ./myscript.sh mylist.txt where mylist.txt contains one or more lines -- mylist.txt -- apple:banana:orange aea:coffee:milk green:blue:red -- mylist.txt -- - Barry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help using setenv as a restricted user
Hi, I'm trying to use *setenv* command as a non-root user. But I get the following error setenv: not found. However when I do the same as root it works well. I'm using tcsh and FreeBSD 7.0 There's a way to use it as a restricted user? I mean avoiding the su command and so on. Thanks, -- Robe. Si deseas que tus sueños se hagan realidad ¡despierta! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 chroot
Hi, I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD 5.4-RELEASE chroot to build something in it (hw shortage). All nice and dandy, until I hit a /dev problem: # svn up svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due to lack of entropy (https://svn.host.com) # ls -l /dev/random crw-rw-rw- 1 root wheel 249, 0 Aug 25 16:19 /dev/random # cat /dev/random cat: /dev/random: Socket operation on non-socket # rm /dev/random # mknod /dev/mknod random c 0 10 root:wheel # chmod 0666 /dev/random # ls -l /dev/random crw-rw-rw- 1 root wheel0, 10 Aug 25 18:28 /dev/random # cat /dev/random cat: /dev/random: Socket operation on non-socket Clearly, all those years of Linux chroot-ing have affected my brain, but Google isn't very helpful either. :) Could someone, please, hint me about what I'm doing wrong? Thank you, -- Mihai Donțu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 chroot
Mihai Donțu wrote: Hi, I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD 5.4-RELEASE chroot to build something in it (hw shortage). All nice and dandy, until I hit a /dev problem: # svn up svn: PROPFIND request failed on '/svn/project' svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due to lack of entropy (https://svn.host.com) # ls -l /dev/random crw-rw-rw- 1 root wheel 249, 0 Aug 25 16:19 /dev/random # cat /dev/random cat: /dev/random: Socket operation on non-socket # rm /dev/random # mknod /dev/mknod random c 0 10 root:wheel # chmod 0666 /dev/random # ls -l /dev/random crw-rw-rw- 1 root wheel0, 10 Aug 25 18:28 /dev/random # cat /dev/random cat: /dev/random: Socket operation on non-socket Clearly, all those years of Linux chroot-ing have affected my brain, but Google isn't very helpful either. :) Could someone, please, hint me about what I'm doing wrong? mount a devfs instance to create the devices (see mount_devfs) instead of trying to mknod them by hand. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
photo management
Hi, I have accumulated around 3000 pictures on my disk over a decade and have been looking for a good tool for managing them on FreeBSD. Picasa apparently does a fairly good job on Windows and I have happily used F-Spot on Linux. But F-Spot doesn't work very well for me on FreeBSD (please see http://mail.gnome.org/archives/f-spot-list/2008-July/msg00031.html). I wonder what photo management tools or techniques people on this list use. Some recommendations will be very helpful. Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help using setenv as a restricted user
In the last episode (Aug 25), Robe said: I'm trying to use *setenv* command as a non-root user. But I get the following error setenv: not found. However when I do the same as root it works well. I'm using tcsh and FreeBSD 7.0 There's a way to use it as a restricted user? I mean avoiding the su command and so on. Are you sure your non-root user is using tcsh? That error message looks like it's coming from /bin/sh: $ tcsh dan: {3035} asddsa asddsa: Command not found. dan: {3036} sh $ asddsa asddsa: not found $ -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
diverting (some) log_in_vain messages
Hi, I'll try reducing and rephrasing my question/s .. Which syslog facility.level is used for {tcp,udp}.log_in_vain messages? *.notice;authpriv.none;kern.debug;mail.crit;news.err;ntp.err;local0.none;ftp.none /var/log/messages [..] I'd like to parse out just the log_in_vain messages, dumping what in my circumstances is log-spamming trivia to another file, while allowing the unexpected, more interesting stuff to get to /var/log/messages as usual - or to another file if it's a problem appending /var/log/messages from syslog output piped to (say) a sh script, as well as directly as above. Any hints or howtos welcome, even RT(which?)FS, though I'm short of code reading time, what with all the dragons .. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help using setenv as a restricted user
[ added freebsd-questions back to CC list ] In the last episode (Aug 25), Robe said: Are you sure your non-root user is using tcsh? That error message looks like it's coming from /bin/sh: You're right. I used *set* command in both sessions and I get the following for user root shell = /bin/csh for user test shell = /bin/sh What the difference between these shells? Lots :) sh (Bourne shell) used to be used exclusively for scritping, and csh was used as the interactive shell, but sh has grown command-line editing features, and newer bourne-based shells like bash, ksh, and zsh have extended scripting and cli features. zsh has quite a few csh emulation options, if you want to use a bourne-based shell but still want to use csh features. How I can use the same shell for user test? Take a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cloning a gmirrored hard drive
Sasa Stupar wrote: My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is this possible or is it better to switch back from RAID 1 to single disk system and then do cloning with dump/restore (or dd) and then make RAID 1 again? I use a variation of this guide[1] when I'm setting up gmirror. The last time I increased the size of the array, I removed one drive from the array (gmirror remove). I rebooted with the bigger drive. I created /dev/mirror/gm1 with the new drive. I followed the dump/restore steps from the guide, switching up the logic a little bit. I then booted the system from the new, larger mirror (gm1) with the other large disk inserted, and did a `gmirror insert'. In the process of building the new mirror on gm1, I made bigger labels in the labeling step for the ones that were filling up. [1] http://people.freebsd.org/~rse/mirror/ -- Chris Cowart Network Technical Lead Network Infrastructure Services, RSSP-IT UC Berkeley pgpU3D7uhPgt8.pgp Description: PGP signature
Turn off serial console on boot
I have some servers with IPMI that allow me to have a serial console. I have setup a serial console config on my servers and it seems to work reasonably well in remote emergencies, but causes serious problems if I ever have to use the real console. It means that I can't use single user mode from the real console and I can't see most boot errors. Is there a way I can turn off the console redirection from the physical console interactively on startup? Running FreeBSD 7. Console config: --- barium# cat /boot.config -DS19200 barium# cat /boot/loader.conf comconsole_speed=19200 boot_multicons=YES boot_serial=YES console=comconsole,vidconsole ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix pop-before-smtp
I don't know if anyone will be able to assist me with this one, but two days ago I decided to redo our mail server. All went well except for one components.. Pop-before-smtp, it seems no matter what I did it would simply cause postfix hassles. Now I know pop-before-smtp is confed correctly as old working config was used... I also know that it DOES create the pop-before-smtp.db file on start if I delete it manually as test. I can also check if there are any ip's in db by doing pop-before-smtp -list. (IT OBVIOUSLY RETURNED NOTHIN) However postfix keeps throwing errors to the following.. Aug 25 15:31:21 thavinci postfix/smtpd[77983]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Invalid argument Aug 25 11:14:49 thavinci postfix/smtpd[88389]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Inappropriate file type or format Aug 25 12:17:11 thavinci postfix/smtpd[40445]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Bad file descriptor And that is the correct location and postfix was compile directly from ports with option BDB which I understand is required to read this file. Ive been trying for a day straight trying to resolve this and had to continue without this feature for now to allow mail to run.. At this stage I would worship the ground of anyone that could help me solve this!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Joy stick not being detected!
I have a Gravis GamePad Pro hooked up to a ISA SBLive! emu10k1 loads, but the joy stick is not detected. I am loading the module manually, kldload joy, only loads but no feedback. Am I missing something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: photo management
On Mon, Aug 25, 2008 at 11:10 AM, Girish Kulkarni [EMAIL PROTECTED] wrote: Hi, I have accumulated around 3000 pictures on my disk over a decade and have been looking for a good tool for managing them on FreeBSD. Picasa apparently does a fairly good job on Windows and I have happily used F-Spot on Linux. But F-Spot doesn't work very well for me on FreeBSD (please see http://mail.gnome.org/archives/f-spot-list/2008-July/msg00031.html). I wonder what photo management tools or techniques people on this list use. Some recommendations will be very helpful. Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com ___ freebsd-questions@freebsd.org Have you tried flphoto? I haven't used it, but you can get information here: http://www.easysw.com/~mike/flphoto/ I use ImageMagick in a Python script to make thumbnails of all photos in a directory for a web page. Good luck, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MTA advice ??
On Aug 25, 2008, at 12:49 AM, Matthew Seaman wrote: Jeffrey Goldberg wrote: In the old days, if one MTA couldn't reach another it would hold stuff in its queue for four or five days. Now, most MTAs appear to be configured to give up after 24 hours. In which case those mail systems are not in compliance with the RFCs. RFC 2821 Section 4.5.4.1 says: Retries continue until the message is transmitted or the sender gives up; the give-up time generally needs to be at least 4-5 days. The parameters to the retry algorithm MUST be configurable. Thanks for that. I will point that out to the appropriate postmasters the next time I see delivery attempts give up before this. Not that it will do much good, but I will try. I wonder whether rfc-ignorant.org has a category for this. Hold on ... Nope. They don't have this category of (2)821 violation. The original poster may wish to take a look at rfc-ignorant.org to make sure that they feel confident that they can run an Internet- friendly mailserver. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Gravis GAmePAD pro not detecting on SBLive!
I have a Gravis GAMEPAD PRO attached to a SBLIVE! It is not being detected. The sblive is being detected just fine, but not the joystick or even the port. Am I missing something, how can I get it noticed? Do I need to enable eisa support for it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix pop-before-smtp
On Mon, 25 Aug 2008 19:38:04 +0200 Marcel Grandemange [EMAIL PROTECTED] wrote: I don't know if anyone will be able to assist me with this one, but two days ago I decided to redo our mail server. All went well except for one components.. Pop-before-smtp, it seems no matter what I did it would simply cause postfix hassles. Now I know pop-before-smtp is confed correctly as old working config was used... I also know that it DOES create the pop-before-smtp.db file on start if I delete it manually as test. I can also check if there are any ip's in db by doing pop-before-smtp -list. (IT OBVIOUSLY RETURNED NOTHIN) However postfix keeps throwing errors to the following.. Aug 25 15:31:21 thavinci postfix/smtpd[77983]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Invalid argument Aug 25 11:14:49 thavinci postfix/smtpd[88389]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Inappropriate file type or format Aug 25 12:17:11 thavinci postfix/smtpd[40445]: fatal: open database /usr/local/etc/postfix/pop-before-smtp.db: Bad file descriptor And that is the correct location and postfix was compile directly from ports with option BDB which I understand is required to read this file. Ive been trying for a day straight trying to resolve this and had to continue without this feature for now to allow mail to run.. At this stage I would worship the ground of anyone that could help me solve this!!! You would probably be better off asking your question on the Postfix forum. The mailing list is available here: http://www.postfix.org/lists.html You could also start here and search for an answer: http://www.postfix.org/start.html This link might also help you: http://popbsmtp.sourceforge.net/ If you do post on the Postfix forum, be sure to include the output of: 'postconf -n' along with the relevant portions of your log file. By the way, pop-before-smtp is rather deprecated. Why not use SASL/TLS instead? It is much more secure and is readily becoming a requirement with many ISPs. -- Gerard [EMAIL PROTECTED] Fantasies are free. NO!! NO!! It's the thought police signature.asc Description: PGP signature
Re: photo management
what you mean of photo management. i just use my script to convert bunch of pictures to HTML based photo album. for me - OK On Mon, 25 Aug 2008, Andrew Gould wrote: On Mon, Aug 25, 2008 at 11:10 AM, Girish Kulkarni [EMAIL PROTECTED] wrote: Hi, I have accumulated around 3000 pictures on my disk over a decade and have been looking for a good tool for managing them on FreeBSD. Picasa apparently does a fairly good job on Windows and I have happily used F-Spot on Linux. But F-Spot doesn't work very well for me on FreeBSD (please see http://mail.gnome.org/archives/f-spot-list/2008-July/msg00031.html). I wonder what photo management tools or techniques people on this list use. Some recommendations will be very helpful. Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com ___ freebsd-questions@freebsd.org Have you tried flphoto? I haven't used it, but you can get information here: http://www.easysw.com/~mike/flphoto/ I use ImageMagick in a Python script to make thumbnails of all photos in a directory for a web page. Good luck, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help changing the prompt
Robe [EMAIL PROTECTED] writes: Hi there, I'm trying to change the prompt in the *text (console) mode* for a restricted user with a statement like this set prompt = %~ But it doesn't work. And when I type *set* I see _ = %~ instead prompt = %~ However when I do it logged as a root it works. Can someone help me with this? Sounds like your user is using a different shell than root is. Try finger user to find out what shell it is using (probably the Bourne Shell, /bin/sh), and check the documentation for the shell (if it's /bin/sh, see the manual with man sh). Or change the user's shell (e.g., with chsh). -- 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 [EMAIL PROTECTED]
Re: TECRA_A9-S9017 -- /usr/src/UPDATING -- Machine is down.
On Mon, Aug 25, 2008 at 10:04:09AM -0400, David Gurvich wrote: Are you sure you've updated all of /etc, particularly the login? Initially no we didn't; because the plan was to do: 4.x -- 5.5 -- 6.3. However, once the machine failed to boot in to multi-user mode, we revisited mergemaster and installed all the newer versions of /etc/*; we are still left with only being able to boot in to single-user mode and 'not' multi-user mode. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using sys/fusefs-ntfs as the home dir
On Wed, 20 Aug 2008 20:27:17 +0200 Polytropon [EMAIL PROTECTED] wrote: On Tue, 19 Aug 2008 22:59:31 -0400, Aryeh Friedman [EMAIL PROTECTED] wrote: 500 GB internal drive in 2 partions (min. for vista [c:] and the rest for fbsd [8-current]) 250 GB external (usb) that will be ntfs formated [d: for windows and /mnt/d on fbsd) My question how do I set it up so my windows user's dir is the same as my home dir on fbsd? (assume it will be on the ext. drive)? The solution would be very simple, but because you're insisting on having the D: partition formatted as NTFS, a problem occurs: As far as I know, FreeBSD's NTFS support is okay for reading, but not for writing. (I'm not 100% sure because I don't have any Windows stuff around to check.) fusefs-ntfs can be used for writing. The solution would be to automount the external USB harddisk via /etc/fstab into /home, or into your individual home directory. With a FAT / MS-DOS formatted disk, this would look like this: /dev/da0s1/home/aryeh msdosfs rw 0 0 Note that /dev/da0 has to be this designated USB disk or startup or login would be able to fail. Of course, it would be much easier if Windows could access an simple stupid UFS file system. :-) Other problems could occur if you're using a FreeBSD and a Windows version of the same program that behave differently, for example a browser which's Windows version destroys the configuration files - your settings of the FreeBSD version would be gone. Firefox, Thunderbird and Opera can share preferences and data with Windows (I don't know about the first 2, but for Opera some files have to be different and others can be symlinks, there is a tutorial around). Ale signature.asc Description: PGP signature
Re: using sys/fusefs-ntfs as the home dir
On Wed, 20 Aug 2008 20:31:41 -0400 Aryeh Friedman [EMAIL PROTECTED] wrote: The solution would be very simple, but because you're insisting on having the D: partition formatted as NTFS, a problem occurs: As far as I know, FreeBSD's NTFS support is okay for reading, but not for writing. (I'm not 100% sure because I don't have any Windows stuff around to check.) Actual sysutils/fusefs-ntfs (or ntfsprogs with less stable support) allows you to read and write I am the unofficial (I am not sure if Ale has put my name on the maintainer line of the make file with his or not) fusefs-ntfs the only issue it has on the fb side is in some cases (happens to me but Ale can't seem to reproduce so we are at a lost of how to fix it) is any attempt to mount it from anywhere in /etc/rc or with non-delayed option in fstab will fail (non-fatally and repeating the attempt after your in full multiuser mode works just fine)... I was asking about how to structure the dir's and from what you described I don't think it solves the problem completely because the Desktop dir/folder has two completely different means under both OS's and besides many symlinks (most not documented anywhere) are likelly needed so the purpose of the question was attempting to automate this and/or minimize the number of symlinks (because to windows the will not translate to shortcuts if I understand the guts The sharing of the home directory can only be done per-application and only for some of them. You can't just use the same home directory. For the applications that work that way, you could symlink their configuration/data directories (there are tutorials describing it for Firefox/Thunderbird/Opera). Ale signature.asc Description: PGP signature
Custom Kernel Help!
Hi guys, I shall appreciate if you could spare a couple of minuts to look into and advise that which bits of Kernel, I should install from FreeBSD 7 (production release) Generic Kernel? And if I want to install IP filter / IP firewall / IPSec, etc on Kernel level, would it be wise or what? and if so, what sort of configuration I should use? what does est: CPU supports Enhanced Speedstep, but is not recognized. mean? Thanks for your really kind help --- Thanks! BR / vj 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-STABLE #0: Mon Aug 25 20:54:49 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz (2995.54-MHz K8-class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xce3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,b19 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF Cores per package: 4 usable memory = 17161629696 (16366 MB) avail memory = 16614514688 (15844 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: DELL PE_SC3 on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci4: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci4 pci5: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci5 pci6: ACPI PCI bus on pcib3 pcib4: PCI-PCI bridge at device 0.0 on pci6 pci7: PCI bus on pcib4 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 0xf400-0xf5ff irq 16 at device 0.0 on pci7 miibus0: MII bus on bce0 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce0: Ethernet address: 00:1e:c9:d5:83:79 bce0: [ITHREAD] bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04000305); Flags( MFW MSI ) pcib5: ACPI PCI-PCI bridge at device 1.0 on pci5 pci8: ACPI PCI bus on pcib5 pcib6: PCI-PCI bridge at device 0.3 on pci4 pci9: PCI bus on pcib6 pcib7: ACPI PCI-PCI bridge at device 3.0 on pci0 pci1: ACPI PCI bus on pcib7 mfi0: Dell PERC 6 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 mfi0: 534 (273014201s/0x0020/info) - Shutdown command received from host mfi0: 535 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0060/1000/1f0c/1028) mfi0: 536 (boot + 3s/0x0020/info) - Firmware version 1.11.52-0396 mfi0: 537 (boot + 3s/0x0008/info) - Battery Present mfi0: 538 (boot + 3s/0x0020/info) - Package version 6.0.2-0002 mfi0: 539 (boot + 21s/0x0004/info) - Enclosure (SES) discovered on PD 20(c None/p0) mfi0: 540 (boot + 21s/0x0002/info) - Inserted: Encl PD 20 mfi0: 541 (boot + 21s/0x0002/info) - Inserted: PD 20(c None/p0) Info: enclPd=20, scsiType=d, portMap=09, sasAddr=5001e0f03d0c6900, mfi0: 542 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) mfi0: 543 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) Info: enclPd=20, scsiType=0, portMap=00, sasAddr=5000cca00904c3d1, mfi0: 544 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) mfi0: 545 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) Info: enclPd=20, scsiType=0, portMap=01, sasAddr=5000cca00904d6ed, mfi0: 546 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) mfi0: 547 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) Info: enclPd=20, scsiType=0, portMap=02, sasAddr=5000cca009048e15, mfi0: 548 (boot + 21s/0x0002/info) - Inserted: PD 03(e0x20/s3) mfi0: 549 (boot + 21s/0x0002/info) - Inserted: PD 03(e0x20/s3) Info: enclPd=20, scsiType=0, portMap=03, sasAddr=5000cca0090386c5, mfi0: 550 (boot + 21s/0x0002/info) - Inserted: PD 04(e0x20/s4) mfi0: 551 (boot + 21s/0x0002/info) - Inserted: PD 04(e0x20/s4) Info: enclPd=20, scsiType=0, portMap=04, sasAddr=5000cca00904bf6d, mfi0: 552 (boot + 21s/0x0002/info) - Inserted: PD 05(e0x20/s5) mfi0: 553 (boot +
Re: Cloning a gmirrored hard drive
On Monday 25 August 2008 11:50:41 am Julien Cigar wrote: Stupid question: can't you use growfs on the existing gmirror (after replace /dev/oneofdisk, resync, replace /dev/otherdisk, resync) ? Is it mandatory to create a *new* gmirror ? There is no way to resize a gmirror provider without creating a new one. You could possibly insert the new large drive into the mirror, deactivate it, make a new gmirror on it (clobbering the old one), THEN use growfs.. but that's a lot mor ecomplicated and error-prone than doing it the right way using dump/restore. If downtime is a concern then use Ivan's method below but without going into single-user--just be sure to give -L to dump. On Mon, 2008-08-25 at 14:37 +0200, Wojciech Puchar wrote: Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is gmirror remove yourmirrorname /dev/oneofdisk shutdown and replace this one with 160GB boot single user make gmirror with this new 160GB drive (only one drive now so not real mirror) newfs and copy all data make it bootable, shutdown, remove second 40GB drive, add second 160GB drive, boot and then gmirror insert yournewmirror seconddrive that's all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
For this hardware amd64, ia64 or i386 to install?
Hi guys For following hardware, I am wonderting that which Freebsd amd64, ia64 or i386 to install? Hardware: Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core 2x6MB cache WITH 16 GB RAM. Tools: 1. FreeBSD 7 Production Release 2. Apache 2.2.9 3. MySQL 5.1.26 4. PHP 5.2.6 -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: For this hardware amd64, ia64 or i386 to install?
Considering the amount of RAM in the box, AMD64 would prob be best for your needs. If you need 32-bit software or features go with i386 instead but you wont have access to all the RAM ia64 is for Itanium-based systems only Date: Mon, 25 Aug 2008 23:39:07 +0200 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org; [EMAIL PROTECTED] CC: Subject: For this hardware amd64, ia64 or i386 to install? Hi guys For following hardware, I am wonderting that which Freebsd amd64, ia64 or i386 to install? Hardware: Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core 2x6MB cache WITH 16 GB RAM. Tools: 1. FreeBSD 7 Production Release 2. Apache 2.2.9 3. MySQL 5.1.26 4. PHP 5.2.6 -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TECRA_A9-S9017 -- /usr/src/UPDATING -- Machine is down.
On Mon, Aug 25, 2008 at 08:10:24PM +, Christopher Joyner wrote: On Mon, Aug 25, 2008 at 8:09 PM, Christopher Joyner [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 7:27 PM, [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 10:04:09AM -0400, David Gurvich wrote: Are you sure you've updated all of /etc, particularly the login? Initially no we didn't; because the plan was to do: 4.x -- 5.5 -- 6.3. However, once the machine failed to boot in to multi-user mode, we revisited mergemaster and installed all the newer versions of /etc/*; we are still left with only being able to boot in to single-user mode and 'not' multi-user mode. I had a certain problem not to long ago, and running sysinstall in single-user mode, than installing the base installation of the system, that fixed my problem. Do you think installing the base from sysinstall could fix this? Already tried that. We keep getting messages of not being able to find the files for bin even though we type in the direct URL of the ftp:// that houses the archived versions 4.x to 5.x of freebsd, but, it (sysinstall and friends) is able to find the balance of the files; man apges, docs, etc ... We have no interest in save this UPGRADE. We just want to be able to boot in to multi-user mode in order to get some files that dump, for some reason or another, was unable to get on a level 0 or 9. On the other hand, if we can find another network, we'll try and configure the box for LAN access (single-user) and scp what we need, thereafter doing a fresh 'Dangerously Dedicated' install. That is, if we can't get this getty issue temporarily repaired. Your thoughts ... ? I wanted to add, it would probably delete all your configuration files, such as your groups and users. Which is why I did it. For completness, we aren't interested in saving this install, just the files that our dump 0 and 9 failed to get. There is a temp laptop holding on until we can get this machine back online with a fresh install. Thank you for your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 instead of Xorg?
On Sun, 24 Aug 2008 18:41:37 -0600 (MDT), Warren Block [EMAIL PROTECTED] wrote: I thought usbd was gone. The difference I found was that if moused was run by HAL or xorg or sysmouse, xorg has that long delay switching to graphics. Hmm.. yes, of course, no usbd. I'm so stupid. moused seems to be run automatically by... devd? At least the mouse is available on the text mode consoles, this is what I usually associated with moused run by usbd. But I'm new to FreeBSD 7, I used FreeBSD 5 until it died. With moused enabled in /etc/rc.conf, the xorg switch to graphics is back to normal. I've put in these settings moused_enable=YES moused_port=/dev/ums0 moused_type=auto and I'll check soon. Again, thanks for the clear advice. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help changing the prompt
On Mon, 25 Aug 2008 10:32:22 -0500, Robe [EMAIL PROTECTED] wrote: Hi there, I'm trying to change the prompt in the *text (console) mode* for a restricted user with a statement like this set prompt = %~ But it doesn't work. And when I type *set* I see _ = %~ instead prompt = %~ However when I do it logged as a root it works. Can someone help me with this? Maybe the user where you want to change the prompt has an overriding setting in ~/.cshrc? You are using the C Shell, right? Check the prompt and promptchars variables. I have this form system wide in /etc/csh.cshrc: set promptchars = %# set prompt = [EMAIL PROTECTED]:%~%# set autolist If a user wants another prompt, the respective setting has to be set in his ~/.cshrc. This gives you prompts like [EMAIL PROTECTED]:/usr/src/# _ or [EMAIL PROTECTED]:~/my_videos% _ You would then correctly use the form %~ for a prompt like: ~/foo/bar _ -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sed html tags
Hi, I have the string span 111 /span span /span And i wish to use sed to strip *only* the span tag and its contents... is this possible ? I'm trying this expression, but it doesn't work... sed 's/span [^\(/span\)]+\/span//g' file is there anything like it ? I would like to obtain I hope someone can help, thank you, siran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 instead of Xorg?
On Tue, 26 Aug 2008, Polytropon wrote: With moused enabled in /etc/rc.conf, the xorg switch to graphics is back to normal. I've put in these settings moused_enable=YES moused_port=/dev/ums0 moused_type=auto and I'll check soon. Again, thanks for the clear advice. On the I haven't really been clear note, I should also add that it might take a reboot. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed html tags
siran wrote: Hi, I have the string span 111 /span span /span And i wish to use sed to strip *only* the span tag and its contents... is this possible ? I'm trying this expression, but it doesn't work... sed 's/span [^\(/span\)]+\/span//g' file is there anything like it ? I would like to obtain I hope someone can help, thank you, siran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] sed -E 's/\/?span[^]*//g' Myabe that's what you want? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Custom Kernel Help!
Read the handbook. It has section on customizing the kernel source explaining what you can comment out of the source. About adding one of the firewalls into the kernel, it's a waist of time. When you put the appropriate firewall statements in /etc/rc.conf the selected firewall module is dynamically loaded for you. Read the handbook firewall section. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of VeeJay Sent: Tuesday, August 26, 2008 4:47 AM To: FreeBSD-Questions; VeeJay Subject: Custom Kernel Help! Hi guys, I shall appreciate if you could spare a couple of minuts to look into and advise that which bits of Kernel, I should install from FreeBSD 7 (production release) Generic Kernel? And if I want to install IP filter / IP firewall / IPSec, etc on Kernel level, would it be wise or what? and if so, what sort of configuration I should use? what does est: CPU supports Enhanced Speedstep, but is not recognized. mean? Thanks for your really kind help --- Thanks! BR / vj 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-STABLE #0: Mon Aug 25 20:54:49 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz (2995.54-MHz K8-class CPU) Origin = GenuineIntel Id = 0x10676 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xce3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA ,b19 AMD Features=0x20100800SYSCALL,NX,LM AMD Features2=0x1LAHF Cores per package: 4 usable memory = 17161629696 (16366 MB) avail memory = 16614514688 (15844 MB) ACPI APIC Table: DELL PE_SC3 FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: DELL PE_SC3 on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0 pci4: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 0.0 on pci4 pci5: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 0.0 on pci5 pci6: ACPI PCI bus on pcib3 pcib4: PCI-PCI bridge at device 0.0 on pci6 pci7: PCI bus on pcib4 bce0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) mem 0xf400-0xf5ff irq 16 at device 0.0 on pci7 miibus0: MII bus on bce0 brgphy0: BCM5708C 10/100/1000baseTX PHY PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce0: Ethernet address: 00:1e:c9:d5:83:79 bce0: [ITHREAD] bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04000305); Flags( MFW MSI ) pcib5: ACPI PCI-PCI bridge at device 1.0 on pci5 pci8: ACPI PCI bus on pcib5 pcib6: PCI-PCI bridge at device 0.3 on pci4 pci9: PCI bus on pcib6 pcib7: ACPI PCI-PCI bridge at device 3.0 on pci0 pci1: ACPI PCI bus on pcib7 mfi0: Dell PERC 6 port 0xec00-0xecff mem 0xfc48-0xfc4b,0xfc44-0xfc47 irq 16 at device 0.0 on pci1 mfi0: Megaraid SAS driver Ver 2.00 mfi0: 534 (273014201s/0x0020/info) - Shutdown command received from host mfi0: 535 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0060/1000/1f0c/1028) mfi0: 536 (boot + 3s/0x0020/info) - Firmware version 1.11.52-0396 mfi0: 537 (boot + 3s/0x0008/info) - Battery Present mfi0: 538 (boot + 3s/0x0020/info) - Package version 6.0.2-0002 mfi0: 539 (boot + 21s/0x0004/info) - Enclosure (SES) discovered on PD 20(c None/p0) mfi0: 540 (boot + 21s/0x0002/info) - Inserted: Encl PD 20 mfi0: 541 (boot + 21s/0x0002/info) - Inserted: PD 20(c None/p0) Info: enclPd=20, scsiType=d, portMap=09, sasAddr=5001e0f03d0c6900, mfi0: 542 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) mfi0: 543 (boot + 21s/0x0002/info) - Inserted: PD 00(e0x20/s0) Info: enclPd=20, scsiType=0, portMap=00, sasAddr=5000cca00904c3d1, mfi0: 544 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) mfi0: 545 (boot + 21s/0x0002/info) - Inserted: PD 01(e0x20/s1) Info: enclPd=20, scsiType=0, portMap=01, sasAddr=5000cca00904d6ed, mfi0: 546 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) mfi0: 547 (boot + 21s/0x0002/info) - Inserted: PD 02(e0x20/s2) Info: enclPd=20, scsiType=0,
Re: FreeBSD SLIM Theme?
Brad, On Mon, 25 Aug 2008, Brad Pitney wrote: only one I know of is http://slim.berlios.de/themes01.php - also has a Themes howto While there's definitely the possibility that I'm overlooking it, I've checked that page several times, both before posting to the list and after seeing your e-mail, and I don't see a FreeBSD theme listed there. I've read over the howto and while it seems simple enough I, sadly, have the artistic ability of a turnip. Be it with pencil or mouse I do good to draw stick figures. :-) Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[ free_bsd_questions ] selecting a cpu heatsink / fan combo
greetings, all --- this isn't exactly a free_bsd question, --but--, since free_bsd is popular w/ the i386 crowd and there are many rugged individualists on these lists who like to roll their own, i figure i'll get way less hyperbole and more practical experience here, than at some of the places i've visited today. i had always been able to find the cpu / heatsink / fan as a sub_assembly, so, i didn't have to deal with this issue. i'm making some new boxen to replace some 800mhz_p3, 256mb units which will be re_assigned. i found a mobo i like; d_ram just keeps getting cheaper; etc., etc. i even found a processor that appeals to me, but, it's oem. it's the p4 641 which is 3200 mhz, 65 nm, 775 case. the mobo maxes out at 2048mb, which is just fine. these are probably the last single_core boxen that i will build. now, back in the day, i had acquired the skill of using my index finger to properly apply that white_stuff, from the good folks at wakefield, to the tops of uhf pa transistors, from the good folks at motorola. no, this isn't a case of fear. it's that i don't recognize so many of the manufacturers names. some look familiar, but they might just be similar to something i remember from long ago. q: would anyone care to wax rhapsodic about any manufacturer with whose heatsink / fan combo product[s] they have had good success ? q: is there a short list of manufacturers who are generally accepted as producers of reliable products [ as is, e. g., antec, for cases and power_supplies ] ? q: conversely, are there any manufacturers with justifiably bad reputations ? i have seen several diameters described as appropriate for the 775. q: should i prefer any particular size ? wakefield is still around, but there are other names. q: are there any opinions, pro or con, about thermal compounds ? noise_level is not a criterion in this situation. i'll err on the side of more cf/m. money doesn't appear to be an issue. i've seen a range of $_10 to $_130, so far, but, most are $_15 to $_30 or so. thanks in advance for any advice. please cc. rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
script to assist ASCII text
People, This had eluded me for years and it may not be possible, but here goes. I write using vi or, less frequently vim. Is there any sh script that would make sure that there were exactly one space ('\040') between words, and three spaces between sentences? My definition of a sentence is a string of words that ends in a period or question-mark, exclamation-mark, or ellipse (... . || ... ? || ... !) Also, any dash -- could not have any whitespace around it. Anything except these would print an error. thanks for idea or input, gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek RTL8111C and re(4) driver
On Sunday 24 August 2008 18:20:58 cpghost wrote: Hello, I'm curious to know about this. I just put together a computer for my church which has this NIC built in. I've downloaded a driver which claims to be for FreeBSD 5. Has anyone here any experience with it, or would anyone know if it's reliable and works? The web link is: http://driverscollection.com/?H=RTL8111CBy=RealTekSS=FreeBSD%205 Andy This has just been suggested here, but it looks like it wouldn't support FreeBSD 7. Have you actually tried it? Which version of FreeBSD are you using? If you can use that machine you've just put together for a couple of tests (i.e. not yet being into production), could you please try the patches on kern/123123: http://www.freebsd.org/cgi/query-pr.cgi?pr=123123 I don't have the hardware yet to test myself. I would be great to have at least basic RTL8111C support in re(4) soon. ;) Regards, -cpghost. I have not yet tried it. I was hoping to hear that some talented person here had already gotten it working. Fortunately, I have some breathing room for this as the church has a functioning server that this is intended to replace. I just started back in school this semester today, so time is limited but I will give it a try time permitting of course. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sed html tags
unfortunately not... see: # cat file span 111 /span span /span # sed -e 's/\/?span[^]*//g' file span 111 /span span /span (...nothing happens, the file is returned with no substitutions done) I could do it with a perl script, which basically does what i would expect sed would do: # cat pscript.pl #!/usr/bin/perl -w $text = span 111 /span span /span span 111 /spanspan /span; $text =~ s/span x[^]*[^\(\/span\)]*[\s]*\/span[\s]*//g; print $text . \n # perl pscript.pl span /span span /span span xxx . /span is removed... but i don't seem to be able to do it with sed... : ( Im on fedora c9, maybe that's the problem ? siran On Mon, Aug 25, 2008 at 8:35 PM, Paul A. Procacci [EMAIL PROTECTED]wrote: siran wrote: Hi, I have the string span 111 /span span /span And i wish to use sed to strip *only* the span tag and its contents... is this possible ? I'm trying this expression, but it doesn't work... sed 's/span [^\(/span\)]+\/span//g' file is there anything like it ? I would like to obtain I hope someone can help, thank you, siran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] sed -E 's/\/?span[^]*//g' Myabe that's what you want? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
Mark Picone, Trainee Unix Administrator Information Technology Services Division Phone: 03 5227 8602 International: +61 3 5227 0806 Fax: 03 5227 8799 International: +61 3 5227 8799 Email: [EMAIL PROTECTED] Website: http://www.deakin.edu.au -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of spellberg_robert Sent: Tuesday, 26 August 2008 11:31 AM To: fbsd_questions Subject: [ free_bsd_questions ] selecting a cpu heatsink / fan combo greetings, all --- this isn't exactly a free_bsd question, --but--, since free_bsd is popular w/ the i386 crowd and there are many rugged individualists on these lists who like to roll their own, i figure i'll get way less hyperbole and more practical experience here, than at some of the places i've visited today. i had always been able to find the cpu / heatsink / fan as a sub_assembly, so, i didn't have to deal with this issue. i'm making some new boxen to replace some 800mhz_p3, 256mb units which will be re_assigned. i found a mobo i like; d_ram just keeps getting cheaper; etc., etc. i even found a processor that appeals to me, but, it's oem. it's the p4 641 which is 3200 mhz, 65 nm, 775 case. the mobo maxes out at 2048mb, which is just fine. these are probably the last single_core boxen that i will build. now, back in the day, i had acquired the skill of using my index finger to properly apply that white_stuff, from the good folks at wakefield, to the tops of uhf pa transistors, from the good folks at motorola. no, this isn't a case of fear. it's that i don't recognize so many of the manufacturers names. some look familiar, but they might just be similar to something i remember from long ago. q: would anyone care to wax rhapsodic about any manufacturer with whose heatsink / fan combo product[s] they have had good success ? IMO: Pure copper zalman heatsink/fan combo (cant go wrong) q: is there a short list of manufacturers who are generally accepted as producers of reliable products [ as is, e. g., antec, for cases and power_supplies ] ? IMO: Antec/Super Micro q: conversely, are there any manufacturers with justifiably bad reputations ? i have seen several diameters described as appropriate for the 775. q: should i prefer any particular size ? No wakefield is still around, but there are other names. q: are there any opinions, pro or con, about thermal compounds ? Eh? We are talking a few degrees here. noise_level is not a criterion in this situation. i'll err on the side of more cf/m. money doesn't appear to be an issue. i've seen a range of $_10 to $_130, so far, but, most are $_15 to $_30 or so. thanks in advance for any advice. please cc. rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
SATA, RAID and AHCI
Hi, As I mentioned in response to a thread started by someone wanting drivers for a Realtek 8111c NIC, I'm building a server for our church. We purchased an ASUS motherboard, M3A78 PRO (in case it matters or anyone cares). Everyone is already aware of FreeBSD's lack of driver support for the RTL8111c NIC which, unfortunately, is embedded on this MOBO. This question is about the storage settings for this board (ASUS' name for it is Storage Configuration). In the CMOS (or whatever it's called these days, just out of curiousity, will FreeBSD support things like OpenBoot or UEFI on i386, sorry for the digression), I found where to turn the Storage Configuration, as ASUS calls it, from IDE, to RAID, or AHCI. It's currently set to IDE because when set to RAID the MOBO apparently kept trying to put the SATA DVD drive as part of the RAID and when set to AHCI mode the install had hundreds of, can't create symlink, no inodes free, during the copying of the files into the newly created file systems. Now, I'm a complete neophyte to making these SATA RAID systems. What's the magic to making it work, and how do you keep the DVD drive from being part of the RAID? Also, what should be done for AHCI mode? It looked as though in this mode the drives would perform *much* faster. Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MTA advice ??
On Mon, 25 Aug 2008 06:49:56 +0100 Matthew Seaman [EMAIL PROTECTED] wrote: Jeffrey Goldberg wrote: Receiving mail directly will be more possible, but tricky. You will need to use a dynamic DNS system. Also do consider uptime and reliability. In the old days, if one MTA couldn't reach another it would hold stuff in its queue for four or five days. Now, most MTAs appear to be configured to give up after 24 hours. So if your mailserver is down for a day, mail will be bounced and never delivered to you. In which case those mail systems are not in compliance with the RFCs. RFC 2821 Section 4.5.4.1 says: Retries continue until the message is transmitted or the sender gives up; the give-up time generally needs to be at least 4-5 days. The parameters to the retry algorithm MUST be configurable. ie. 4-5 days is the /minimum/ time to hold messages in the queue and keep retrying. It doesn't say that. The only concrete requirement there is the last sentence about the retry algorithm, the rest is just friendly advice. There are cheap backup services that will avoid this kind of problem though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
liferay
Howdy all, I was wondering if anyone has installed liferay portal on a freeBSD server? If so, is there any catches I should be looking out for. TIA Cheers cya Andrew -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]