Re: Freebsd Built-in vacation program does not auto reply
On Fri, Apr 17, 2009 at 6:00 AM, lyd mc wrote: > Hi guys, > > Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto > reply? > > I am using fresh installed Freebsd7.0 and 7.1. here is my configs. > > Under the home directory of the user (alydio.mc) > > .forward > \alydio.mc, "|/usr/bin/vacation alydio.mc" > > .vacation.msg >Subject: On vacation message >From: alydio...@mydomain.com >I'm on vacation and will not be reading my mail for a while. > Your mail will be dealt with when I return. > . > from postfix/sendmail logs: > > ...sniff > (delivered to command: /usr/bin/vacation alydio.mc) > > after this nothing will happened... no errors no warnings... > > However the one I installed from ports (/usr/local/bin/vacation) works > fine. > > > I want to use the freebsd base vacation program. Did you read the man page fully and understand it? Did you initialize the vacation database? Have you tried to run it in debug mode? Try RTFM again and see if you could figure out the problem yourself. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PDF Authoring tool, suggestions?
On Thu, Apr 16, 2009 at 08:50:44PM -0600, Modulok wrote: > I'm looking for recommendations for a BSD-friendly, PDF authoring tool > (Not a viewer, see below.) > > I have an image of a signature that I need to put into a PDF document. > I converted the original, un-signed PDF document to a raster PNG, then > used GIMP to place a photograph of the signature where I need it. I > then converted the PNG back to a PDF using ImageMagick's 'convert' > utility. The problem, is the PDF is now HUGE. Both in dimensions as > well as file size. It went from 28kb to 292Kb. There must be a better > way to do this. Convert the PNG to a JPEG file with the gimp, then use jpeg2ps from the graphics/jpeg2ps-a4 or graphics/jpeg2ps-letter port to convert it to PostScript. Finally, use epstopdf from print/teTeX-base or ps2pdf from print/ghostscript8 to convert to PDF. 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) pgpUeS0cvY2rB.pgp Description: PGP signature
Re: Copying files without scp
A. Wright wrote: > On Tue, 7 Apr 2009, Steve Bertrand wrote: > >> Can someone recommend a *known good* production quality copy mechanism >> that will act like scp, but without the overhead? rsh? nc? > > If you are happy with rsh authentication, then have you looked at > plain old rcp? I reviewed carefully all feedback I received, and since then, I loosely benchmarked my options. After all was said and done, using SSH, I found: - across the 100Mbps infrastructure, I could copy at 89Mbps - across the Gi infrastructure, I could copy at ~770Mbps My concern (I found) was coming from my Windows workstation. I was using a Windows binary version of SCP that is clearly lacking somewhere in the stack. FBSD to FBSD produced the above results. The 100Mb infrastructure hops one router and two switches, and the gig makes a hop across one edge router, a core router, and three switches. When I can get 75-90% line rate encrypted, I'll stay with that. I do appreciate all the feedback, as always ;) Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Freebsd Built-in vacation program does not auto reply
Hi guys, Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? I am using fresh installed Freebsd7.0 and 7.1. here is my configs. Under the home directory of the user (alydio.mc) .forward \alydio.mc, "|/usr/bin/vacation alydio.mc" .vacation.msg Subject: On vacation message From: alydio...@mydomain.com I'm on vacation and will not be reading my mail for a while. Your mail will be dealt with when I return. . from postfix/sendmail logs: ...sniff (delivered to command: /usr/bin/vacation alydio.mc) after this nothing will happened... no errors no warnings... However the one I installed from ports (/usr/local/bin/vacation) works fine. I want to use the freebsd base vacation program. Please help. Thank you, alydiomc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: CUPS
On Mon, Apr 13, 2009 at 10:01 PM, Bob Falanga wrote: > I have installed cups on freebsd. > The printer configures OK. > When I try a test print in localhost:631 I get an error message: > /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one. > Is this by chance a HP printer? (Particularly, a DeskJet?) I have seen this particular foomatic error, and the "Works For Me(TM)" resolution was to install print/foomatic-dp-hpijs HTH. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
PDF Authoring tool, suggestions?
I'm looking for recommendations for a BSD-friendly, PDF authoring tool (Not a viewer, see below.) I have an image of a signature that I need to put into a PDF document. I converted the original, un-signed PDF document to a raster PNG, then used GIMP to place a photograph of the signature where I need it. I then converted the PNG back to a PDF using ImageMagick's 'convert' utility. The problem, is the PDF is now HUGE. Both in dimensions as well as file size. It went from 28kb to 292Kb. There must be a better way to do this. Suggestions? -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
LDAP / login.conf user classes
Hi all, What is the best mechanism for applying classes from /etc/login.conf to users in LDAP (via pam/nss ldap modules)? Is there a special schema / attribute that the FreeBSD ports of these modules will look to for determining the login class, or some way to map a custom attribute? Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
remove name "stalzer"
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -BEGIN PGP SIGNATURE- Note: This signature can be verified at https://www.hushtools.com/verify Charset: UTF8 Version: Hush 3.0 wpwEAQMCAAYFAknnuSoACgkQc/zpPz6rwkeZjQQAwYySlikLa1nXHQgQYRslPVO1RaZc Hh613duRJV6gLT/7O2ZeQKSIBxpaj/22XSRAFKhjAOSyzCJGcPBfXEzGVIPx/fh7Fd+G OVSr3n4gPalKI4EmF4F90MJcv0uaqIWN96CqGNHlzGPP3KE4zhY61tCjaodMlWE2jpIy pnc++bA= =6wKy -END PGP SIGNATURE- Get your Free, Encrypted, Secure, Web-Based Email Address at: http://www.elitefitness.com/mail The Most Controversial Fitness Site on the Net! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: passwd file transfer
2009/4/16 gahn : > > Hi all: > > we have a linux based system and it will be replaced with freebsd based > system. but i would like to reuse users' password. is there any better way to > do this? > > > You *could* use some fancy awk | sed stuff to get passwords from your existing file and stick them in your /etc/master.passwd BUT it'd probably be far easier to just get users to recreate passwords. You should tell them to do this regularly anyway... Chris -- A: Because it messes up 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 in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: passwd file transfer
In the last episode (Apr 16), gahn said: > we have a linux based system and it will be replaced with freebsd based > system. but i would like to reuse users' password. is there any better > way to do this? There's an awk script at the bottom of the passwd(5) manpage that will convert a non-BSD passwd file to BSD's master.passwd format. Make sure you run pwunconv on the Linux box to merge your passwords from /etc/shadow back into /etc/passwd before running the awk script. http://www.freebsd.org/cgi/man.cgi?query=passwd&sektion=5 -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
bootpd isn't working
Hi, I've problem with bootp, it isn't working and no a dhcp server is running over lan. /etc/bootptab -- .default:\ :ht=1:\ :sa=10.10.1.18:\ :sm=255.255.255.0:\ :hd="/diskless":\ :bf="/pxelinux.0": clientel1:ha=001cc025873c:ip=10.10.1.6:tc=.default: sockstat -4l -- USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root bootpd 1791 0 udp4 *:67 *:* root bootpd 1791 1 udp4 *:67 *:* root bootpd 1791 2 udp4 *:67 *:* root inetd 1786 5 tcp4 *:21 *:* root inetd 1786 6 udp4 *:69 *:* root inetd 1786 7 udp4 *:67 *:* #bootptest -h 10.10.1.18 bootptest: version 2.4.3 Sending to 10.10.1.18 (request) xid:1994 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:1 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:2 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:3 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:4 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:5 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:6 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:7 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:8 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:9 vend-rfc1395 Sending to 10.10.1.18 (request) xid:1994 secs:10 vend-rfc1395 bootptest: no response from 10.10.1.18 What's wrong here? Thanks in advance, Efren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem: FreeBSD 7.x && ssh v2 && nss_ldap
On Wed, 15.04.2009 at 12:14:48 -0700, Benjamin Lee wrote: > On 04/15/2009 01:33 AM, Konrad Heuer wrote: > > > > I see a problem on two systems running FreeBSD 7.0 or 7.1 which are > > configured as OpenLDAP clients using the nss_ldap module. > > > > When someone logs on using ssh protocol version 2 the session will not > > be initialized correctly. The user will only get his primary group > > affiliation but no affiliation to other groups (memberUid attribute in > > LDAP group entries). > > > > On 7.1 the ssh login process hangs forever with open ldap queries, on > > 7.0 the group list is incomplete. On several 6.x systems, all works > > correctly. > > I have used the configuration for years now. > > > > There are some workarounds I found: > > > > a) use ssh protocol version 1 > > b) set UseLogin to yes in sshd_config > > c) avoid ssl encryption in communication to ldap server > >(ldap://... uri instead of ldaps://... in ldap.conf) > > > > Does anybody see similar problems? Does anybody have an idea what may > > couse the problem? > > I recently submitted ports/133501 regarding this issue, but I have not > yet received a response. > > My workaround was to disable pthread_atfork support, so the problem > might be related to the change from libkse to libthr in RELENG_7. I tried your patch to see if it made any change for the nss_ldap UNIX socket leak, but sadly no change. I never observed the SSH2 problems you guys mention, but then again I'm usually using key authentication. I'll run with the patch anyway and see if it makes any change to the problem where login(1) is only able to authenticate me after 30s of idling. Cheers, Ulrich Spörlein -- None are more hopelessly enslaved than those who falsely believe they are free -- Johann Wolfgang von Goethe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)
On Thu, Apr 16, 2009 at 08:30:40PM +0200, Polytropon wrote: > On Thu, 16 Apr 2009 15:21:28 +0100, Chris Rees wrote: > > 2009/4/16 Bruce Cran : > > > Maybe we should tell FreeBSD to stop shouting too? :) > > > > Actually, we really should! Come on, we're not on teletypes any more. > > Did UPPERCASE LETTERS make the teletype print louder? > I always assumed they would just consume more disk space... > RYRYRYRYRYRYRY!!! :-) Nah, the earliest ones only had upper case. When they made upper/lower models, for some reason people just left on shift-lock - maybe to make it look the same. jerry > > > -- > 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 "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: missing xorgconfig
Tim Judd wrote: can't 'X -configure' generate a config for you too? I've never used the xorgconfig -- and was taught to use X -configure Let us know if that doesn't work or suit your needs. --TJ I`ve only used xorgconfigure and am a little newbie editing such files. But by using the technique of creating the file as most of you guys mentioned and in addition consulting the xorg.file configured on another machine with xorgconfig I actually managed to piece together a working file with working mouse after adding serverflags etc Thanx a lot !! Kenneth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
passwd file transfer
Hi all: we have a linux based system and it will be replaced with freebsd based system. but i would like to reuse users' password. is there any better way to do this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT] C programming question: reopen stdin
On Thursday 16 April 2009 21:03:52 Tobias Rehbein wrote: > Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn: > > On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote: > > > I'm having a little trouble solving a specific problem in C. I want to > > > write a filter which reads data from stdin. After reading the user > > > should be able to interact with the program via stdin. > > > > Just open(2) /dev/tty. If tty is invalid, then you don't have to expect a > > user either. > > Thanks for this hint. I tried to implement an example. Good someone take a > look at it and tell me if I did it right. Well, at least it works... > > The code is here: > > http://gist.github.com/95320 It is really much simpler, see below for code: % cat tty.c | ./tty 1: #include 1: #include Hello! 2: Hello! quit (Don't focus on the 80char linebuf, I just know for this example I don't need more). /dev/tty is the "controlling terminal input". Stdin is the standard input, which is either the receiving end of a pipe/redirection or the controlling terminal in it's absence. > To avoid further spamming of the freebsd-questions mailing list: Could > someone point me to a good place to ask C programming questions? O'Reilly has a few good titles (Practical C programming is a good primer, followed by Algorithms with C), other then that, comp.lang.c newsgroup. -- Mel #include #include int main(int argc, char **argv) { FILE *tty; char linebuf[80]; while( fgets(linebuf, sizeof(linebuf), stdin) ) printf("1: %s", linebuf); if( (tty = fopen("/dev/tty", "r")) == NULL ) errx(0, "Running non-interactively. See ya!"); while( fgets(linebuf, sizeof(linebuf), tty) ) { if( strcmp(linebuf, "quit\n") == 0 ) break; printf("2: %s", linebuf); } return 0; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Saving configuration files (was Re: FreeBSD Upgrade: Ports That Need Rebuilding)
On Thursday 16 April 2009 21:18:01 Roland Smith wrote: > On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote: > > > > I guess I'm just anti-redoing-configuration, since there's so many > > formats out there. One can of course backup ${LOCALBASE}/etc --exclude > > rc.d, but the number of exceptions grows over time (/etc/X11/xorg.conf, > > /usr/local/squid/*, /usr/local/pgsql/data/*, /usr/local/hybserv/*). > > I keep all configuration files that I have changed myself in a tree > under ~/setup, complete with two scripts that check (check.pl) if config > files have changed or installs them (install.pl) if they are out of > date. Both scripts read a file with a list of what to install > where. This directory is kept under revision control with git. I've > documented this setup on my homepage: > http://www.xs4all.nl/~rsmith/freebsd/index.html#doc Very interesting. Maybe I should wrap sudoedit with autocommits, cause I know I'd forget to. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: missing xorgconfig
On Thu, Apr 16, 2009 at 08:10:24PM +0200, kenneth hatteland wrote: > Having reinstalled my laptop twice and updated to stable 7.2 prerelease > but each time no xorgconfig exists as I am used to. xfce4 starts ok, but > I get the known mouse locked problem and would love and xorg.conf to > edit as I have learned but it doesn`t exist. > > Anyone know hos to install xorgconfig manually ?? You don't really want xorgconfig though it should exist in /usr/local/bin. What you want is'Xorg -configure' Note the uppercase 'X' on Xorg and in the 'X -config' command below. Then, after it makes the xorg.conf.new file in the home directory (root's - hopefully you are doing this from root) you run 'X -config xorg.conf.new' to check it out. NOTE: that Xorg and X are also in /usr/local/bin. That needs to be in your path. After that, edit the xorg.conf.new file and add in a subsection "Display" under the screen section to give the resolution for the monitor screen under the correct depth level. Looks something like: SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x1024" EndSubSection but with your correct depth and Modes. Then, get rid of (comment out) all the other subsection "Display" blocks that don't apply to your machine. You could have more than one, but generally not on an LCD screen. Finally, copy that xorg.conf.new file to /etc/X11/xorg.conf After that, it is a matter of playing around with your window manager and desktop utility. jerry > > kenneth > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: missing xorgconfig
kenneth hatteland wrote: > Having reinstalled my laptop twice and updated to stable 7.2 > prerelease but each time no xorgconfig exists as I am used to. xfce4 > starts ok, but I get the known mouse locked problem and would love and > xorg.conf to edit as I have learned but it doesn`t exist. > > Anyone know hos to install xorgconfig manually ?? > > No need to run xorgconfig As root, run: X -configure This will create a /root/xorg.conf.new file that you can edit and move to /etc/X11/xorg.conf Note that you will probably have to add some ServerFlags (look at the list archives of few days ago) if you wish to actually use the InputDevices section of your xorg.conf file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make run-depends-list-recursive?
On Thursday 16 April 2009 14:52:34 Jonathan McKeown wrote: > On Thursday 16 April 2009 12:27:04 Mel Flynn wrote: > > But yes, all-depends-list is exactly that, with the provision > > that it does not take changed OPTIONS into account. > > That's what I suspected you were saying yesterday, and it seems to be > wrong. No, you misunderstood. > Try this (assuming you haven't already configured/installed net/freeradius2 > and security/krb5) > > cd /usr/ports/net/freeradius2 > make all-depends-list > make config# select Kerberos > make all-depends-list > make -C /usr/ports/security/krb5 config# unselect documentation for > krb5 make all-depends-list > make -C /usr/ports/security/krb5 rmconfig > make rmconfig Correct. But... make -C /usr/ports/net/freeradius2 rmconfig make -C /usr/ports/net/freeradius2 all-depends-list make -C /usr/ports/net/freeradius2 install Now you're presented with the config dialog and your calculated diskpace may be off. That's what I meant with all-depends-list surpressing config target. You also cannot check for /var/db/ports/*/options file being present, because config-conditional not only checks for the presence of the file, but also if options have been removed/deleted and will represent you with the config dialog if so. So, all in all, when diskspace is critical and you want unattended installation after properly configuring the ports, you will want to read out the variables /after/ calling config-conditional and recurse through the list. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Disabling touchpad on USB keyboard
Hi, I have a Lenovo USB keyboard with trackpoint and touchpad (UltraNav), but I really want to get rid of the touchpad as it just gets in my way. But I can't find a way to do this in FreeBSD (using 7.0-RELEASE). I've seen the question asked in a couple of places but I've found no answer so I figured I'd try here. Since it is not a laptop-internal keyboard, I cannot change any BIOS settings, and since it is USB, I cannot use the psm-based synaptics driver settings in xorg.conf (or related utilities). The UltraNav-related parts identifies as follows in in dmesg: uhid0: on uhub6 ums2: 3 buttons. So my guess is that one of ums1/ums2 is the touchpad and the other is the trackpoint. In which case I feel that I should be able to get rid of one of them. moused detects both immeditely, so both units work fine under X. So I'd like to just tell moused to somehow ignore one of these devices, which hopefully would get rid of the touchpad while keeping the trackpoint intact. But I can't figure out how to do that. Is there some setting somewhere for moused or something more general for USB devices that lets me do this? Or if that approach is doomed, are there any other tricks I can do to accomplish this? Thanks in advance, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: missing xorgconfig
On Thu, Apr 16, 2009 at 12:10 PM, kenneth hatteland < kenneth.hattel...@kleppnett.no> wrote: > Having reinstalled my laptop twice and updated to stable 7.2 prerelease but > each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get > the known mouse locked problem and would love and xorg.conf to edit as I > have learned but it doesn`t exist. > > Anyone know hos to install xorgconfig manually ?? > > > kenneth can't 'X -configure' generate a config for you too? I've never used the xorgconfig -- and was taught to use X -configure Let us know if that doesn't work or suit your needs. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Saving configuration files (was Re: FreeBSD Upgrade: Ports That Need Rebuilding)
On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote: > I guess I'm just anti-redoing-configuration, since there's so many formats > out > there. One can of course backup ${LOCALBASE}/etc --exclude rc.d, but the > number of exceptions grows over time (/etc/X11/xorg.conf, /usr/local/squid/*, > /usr/local/pgsql/data/*, /usr/local/hybserv/*). I keep all configuration files that I have changed myself in a tree under ~/setup, complete with two scripts that check (check.pl) if config files have changed or installs them (install.pl) if they are out of date. Both scripts read a file with a list of what to install where. This directory is kept under revision control with git. I've documented this setup on my homepage: http://www.xs4all.nl/~rsmith/freebsd/index.html#doc This repository and support scripts enables me to easily absorb changes from mergemaster if necessary, while I can easily restore my settings if I screw something up. Note that I remove the FreeBSD RCSid from the files that I change, so that mergemaster will skip them automatically. 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) pgpc4xA3RT2GM.pgp Description: PGP signature
Re: missing xorgconfig
kenneth hatteland wrote: Having reinstalled my laptop twice and updated to stable 7.2 prerelease but each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get the known mouse locked problem and would love and xorg.conf to edit as I have learned but it doesn`t exist. X can generate a config file itself. Just run "X -configure". -- Christian Laursen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
[tobias.rehb...@web.de: Re: [OT] C programming question: reopen stdin]
s/Good/Could/ --- Begin Message --- Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn: > On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote: > > > I'm having a little trouble solving a specific problem in C. I want to > > write a filter which reads data from stdin. After reading the user should > > be able to interact with the program via stdin. > > Just open(2) /dev/tty. If tty is invalid, then you don't have to expect a > user > either. Thanks for this hint. I tried to implement an example. Good someone take a look at it and tell me if I did it right. Well, at least it works... The code is here: http://gist.github.com/95320 To avoid further spamming of the freebsd-questions mailing list: Could someone point me to a good place to ask C programming questions? Regards Tobias --- End Message --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: missing xorgconfig
On Thu, Apr 16, 2009 at 1:10 PM, kenneth hatteland wrote: > Having reinstalled my laptop twice and updated to stable 7.2 prerelease but > each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get > the known mouse locked problem and would love and xorg.conf to edit as I > have learned but it doesn`t exist. > > Anyone know hos to install xorgconfig manually ?? www.freebsd.org/doc/en/books/handbook/x-config.html > > > kenneth > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Can't log-in anymore
On Wednesday 15 April 2009 18:50:10 Chris Rees wrote: > 2009/4/15 Ruel Luchavez : > > Hey.. > > > > Thanks for your reply..lucky for me I have solve my problem...:-) > > How did you solve it? > > It's always best to say what you did, in case someone stumbles on this > thread using Google; even a link to somewhere explaining is better > than nothing. I'll give the psychic version: rebooted the machine. Original error caused by calling ldconfig -s without further arguments, rather then a sane flag. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT] C programming question: reopen stdin
Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn: > On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote: > > > I'm having a little trouble solving a specific problem in C. I want to > > write a filter which reads data from stdin. After reading the user should > > be able to interact with the program via stdin. > > Just open(2) /dev/tty. If tty is invalid, then you don't have to expect a > user > either. Thanks for this hint. I tried to implement an example. Good someone take a look at it and tell me if I did it right. Well, at least it works... The code is here: http://gist.github.com/95320 To avoid further spamming of the freebsd-questions mailing list: Could someone point me to a good place to ask C programming questions? Regards Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD Upgrade: Ports That Need Rebuilding
On Thursday 16 April 2009 18:27:32 Roland Smith wrote: > On Thu, Apr 16, 2009 at 12:17:08PM +0200, Mel Flynn wrote: > > On Thursday 16 April 2009 07:15:05 Roland Smith wrote: > > > On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote: > > > > I am planning to update to CURRENT, been reading freebsd-current for > > > > some time, apparently some ports require rebuilding as they are > > > > kernel specific, like hal, so I wonder how to rebuild those ports > > > > automatically? > > > > > > If you switch to another major version of FreeBSD, the best course is > > > to remove and reinstall all ports. > > > > All ports depending on libc. Which is everything except > > scripts. Removal isn't necessary. ports-mgmt/portmaster is one of > > those scripts that doesn't need recompilation and can be used to force > > recompilation of all ports that need it. Two for one deal. > > Unfortunately, no port management tool deals completely with this > situation. The libc version isn't listed as a dependency, AFAIK. Yes, that's right. However, portmaster is capable of ignoring ports for updating using +IGNOREME files in the corresponding /var/db/pkg/pkgname directory. You can invest a little time before the upgrade which ports you can skip this way. On the other hand, reinstalling script only ports, probably takes less time then figuring this out. YMMV. > I tend to make a list of all installed ports (with portmaster -L), wipe > all ports and remove any remains from /usr/local. Then reinstall all > ports listed as 'root ports' and 'leaf ports' in said list. This makes > sure you have a clean and consistent set of ports. I guess I'm just anti-redoing-configuration, since there's so many formats out there. One can of course backup ${LOCALBASE}/etc --exclude rc.d, but the number of exceptions grows over time (/etc/X11/xorg.conf, /usr/local/squid/*, /usr/local/pgsql/data/*, /usr/local/hybserv/*). I also see an advantage to your method. I've been running into incorrect PLISTs more often, which can leave traces of old files. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re[2]: IPFW missing feature
Здравствуйте, Lowell. Вы писали 16 апреля 2009 г., 15:22:31: LG> KES writes: >> The tablearg feature provides the ability to use a value, looked up in >> the table, as the argument for a rule action, action parameter or rule >> option. This can significantly reduce number of rules in some >> configura- >> tions. If two tables are used in a rule, the result of the second (des- >> tination) is used. The tablearg argument can be used with the following >> actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto >> action parameters: tag, untag, rule options: limit, tagged. >> >> >> Why tablearg cannot be used with setfib? LG> Because tables are a feature of IPFW, and the FIB isn't. setfib is also feature of ipfw. see man: setfib fibnum The packet is tagged so as to use the FIB (routing table) fibnum in any subsequent forwarding decisions. Initially this is limited to the values 0 through 15. See setfib(8). Processing continues at the next rule. There is no any difficulties to use 'tablearg' as 'fibnum' ipfw add 3 setfib 2 all from 192.168.0.0/16 to any in recv ipfw add 3 setfib tablearg all from table() to any in recv but now this is not mistake to write 'setfib tablearg'. IPFW just replace tablearg in rule with 0 It seems like a bug. because of it MUST work in proper way or DO NOT work at all. IMHO -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
missing xorgconfig
Having reinstalled my laptop twice and updated to stable 7.2 prerelease but each time no xorgconfig exists as I am used to. xfce4 starts ok, but I get the known mouse locked problem and would love and xorg.conf to edit as I have learned but it doesn`t exist. Anyone know hos to install xorgconfig manually ?? kenneth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re[2]: How to check which FIB has a given process
Здравствуйте, Anton. Вы писали 16 апреля 2009 г., 15:19:43: AY> On Wed, 15 Apr 2009 20:04:38 +0300, KES wrote: K>> Hi, Freebsd-questions. K>> K>> I can set process to have some FIB K>> setfib X /some/programm K>> K>> How to check which FIB has some process? K>> AY> It is not easy, but possible via kgdb. AY> under root run: AY> cd /usr/obj/usr/src/sys/GENERIC AY> (if you use custom kernel replace GENERIC by kernel name) AY> make gdbinit AY> kgdb kernel.debug /dev/mem AY> (kgdb) ps AY> find interesting process, than copy proc address (2-nd column) AY> (kgdb) set $pp = (struct proc*) 0xff000fff3000 AY> And see FIB for this process: AY> (kgdb) p $pp.p_fibnum AY> $1 = 0x0 It is really not easy. I expected something like: checkfib =) Thank you for answer -- С уважением, KES mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)
On Thu, 16 Apr 2009 15:21:28 +0100, Chris Rees wrote: > 2009/4/16 Bruce Cran : > > Maybe we should tell FreeBSD to stop shouting too? :) > > Actually, we really should! Come on, we're not on teletypes any more. Did UPPERCASE LETTERS make the teletype print louder? I always assumed they would just consume more disk space... RYRYRYRYRYRYRY!!! :-) -- 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 "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD Upgrade: Ports That Need Rebuilding
On Thu, 16 Apr 2009 18:27:32 +0200 Roland Smith wrote: >On Thu, Apr 16, 2009 at 12:17:08PM +0200, Mel Flynn wrote: >> On Thursday 16 April 2009 07:15:05 Roland Smith wrote: >> > On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote: >> > > I am planning to update to CURRENT, been reading freebsd-current >> > > for some time, apparently some ports require rebuilding as they >> > > are kernel specific, like hal, so I wonder how to rebuild those >> > > ports automatically? >> > >> > If you switch to another major version of FreeBSD, the best course >> > is to remove and reinstall all ports. >> >> All ports depending on libc. Which is everything except >> scripts. Removal isn't necessary. ports-mgmt/portmaster is one of >> those scripts that doesn't need recompilation and can be used to >> force recompilation of all ports that need it. Two for one deal. > >Unfortunately, no port management tool deals completely with this >situation. The libc version isn't listed as a dependency, AFAIK. > >I tend to make a list of all installed ports (with portmaster -L), wipe >all ports and remove any remains from /usr/local. Then reinstall all >ports listed as 'root ports' and 'leaf ports' in said list. This makes >sure you have a clean and consistent set of ports. I have never actually had to delete any existing files. I simple deleted all files in the '/usr/ports/distro' directory, then download the required java files (assuming you have a version installed) and then run: "portmanager -u -f -y -l" You could skip the '-l' if you didn't want a log file created; however, I wouldn't. I have not had a problem with this method yet. -- Jerry ges...@yahoo.com Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. signature.asc Description: PGP signature
Re: FreeBSD Upgrade: Ports That Need Rebuilding
On Thu, Apr 16, 2009 at 12:17:08PM +0200, Mel Flynn wrote: > On Thursday 16 April 2009 07:15:05 Roland Smith wrote: > > On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote: > > > I am planning to update to CURRENT, been reading freebsd-current for > > > some time, apparently some ports require rebuilding as they are kernel > > > specific, like hal, so I wonder how to rebuild those ports automatically? > > > > If you switch to another major version of FreeBSD, the best course is to > > remove and reinstall all ports. > > All ports depending on libc. Which is everything except > scripts. Removal isn't necessary. ports-mgmt/portmaster is one of > those scripts that doesn't need recompilation and can be used to force > recompilation of all ports that need it. Two for one deal. Unfortunately, no port management tool deals completely with this situation. The libc version isn't listed as a dependency, AFAIK. I tend to make a list of all installed ports (with portmaster -L), wipe all ports and remove any remains from /usr/local. Then reinstall all ports listed as 'root ports' and 'leaf ports' in said list. This makes sure you have a clean and consistent set of ports. 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) pgpug3ht0oWH9.pgp Description: PGP signature
Re: firefox3 gets stuck/freezing for 30 seconds every 30 seconds
> Since a week now my firefox3 got stuck and freezing for 30 seconds > (approx.) every 30 seconds. I'm running a SMP box with FreeBSD > 8.0-CURRENT/amd64, OS is most recent. > > I also recompiled firefox3, dbus, libX11 and xcb (maybe senseless since > I do not know what causes the freezing/hungs), but without success. By > the way, perl-5.10 is installed and every port has been recompiled > depending on perl. So ... I'm floating like a dead man in the water. > What can I do? Something like this happened to me. I have i386 CURRENT cvsup'ed yesterday. Do you have flash support with nspluginwrapper ? Do you have linux-f8 and compat.linux.osrelease=2.6.16 ? If both are true, please try compat.linux.osrelease=2.4.2 and switch back to f4. With these settings problems vanished in my case, may be they will work for you too. Looks like linux 2.6.16 emulation has problems with flash9. Can anyone confirm this ? Regards, Gus > > Regards, > Oliver > ___ > freebsd-curr...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: CUPS
Am Donnerstag, den 16.04.2009, 10:01 -0400 schrieb Bob Falanga: > I tried installing foomatic-filters. Then I get "unable to open device > file "/dev/ulpt1": permission denied" I set permissions to 0666, I > don't get the error message but nothing prints. > > Do you have the lines lpd_enable="NO" cupsd_enable="YES" in your /etc/rc.conf ? If not, put type them in and restart cupsd (or reboot your machine and set /dev/ulpt1 to 0666). Greetings, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)
2009/4/16 Bruce Cran : > On Thu, 16 Apr 2009 14:03:58 +0100 > Chris Rees wrote: > > 2009/4/16 vijay kumar : >>> >>> SORRY. NO SPACE IN lost+found DIRECTORY > >> Please don't shout. > > fsfsck_ffs/dir.c:467: pfatal("SORRY. NO SPACE IN > lost+found DIRECTORY" > > Maybe we should tell FreeBSD to stop shouting too? :) > > -- > Bruce Cran > Actually, we really should! Come on, we're not on teletypes any more. Chris -- A: Because it messes up 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 in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need to change screen resolution...
On Thu, Apr 16, 2009 at 7:53 AM, Warren Block wrote: > On Thu, 16 Apr 2009, Wojciech Puchar wrote: > >>> I am trying to find a way to change my current screen resolution from the >>> default 720x426 (I think). The monitor I use to view all my servers via >>> KVM >>> switch - the font is too big on the screen - if I could increase the >>> screen >>> size to maybe 1028x756 that would be great. >>> >> from what you've got that nonsense numbers like 720x426 > > Probably from an onscreen display on the monitor. It suggests a text > console, so vidcontrol(1) would be the place to look. Not sure why everyone > seems to be thinking X would be used on a server. Because it could be? > > -Warren Block * Rapid City, South Dakota USA > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > -- www.nealhogan.net www.lambdaserver.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)
On Thu, 16 Apr 2009 14:03:58 +0100 Chris Rees wrote: 2009/4/16 vijay kumar : >> >> SORRY. NO SPACE IN lost+found DIRECTORY > Please don't shout. fsfsck_ffs/dir.c:467: pfatal("SORRY. NO SPACE IN lost+found DIRECTORY" Maybe we should tell FreeBSD to stop shouting too? :) -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: LibSM: You should recreate aclocal.m4
michel wrote: Hello, I'm having problems upgrading LibSM.. I'm getting "You should recreate aclocal.m4". I tried to run aclocal in work/libSM-1.1.0 but it didn't really help. Thanks for your help Michel FreeBSD 6.2-RELEASE-p12 i386 ---> Upgrading 'libSM-1.1.0,1' to 'libSM-1.1.0_1,1' (x11/libSM) ---> Building '/usr/ports/x11/libSM' ===> Cleaning for libSM-1.1.0_1,1 ===> Extracting for libSM-1.1.0_1,1 => MD5 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. => SHA256 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. ===> Patching for libSM-1.1.0_1,1 ===> Applying FreeBSD patches for libSM-1.1.0_1,1 ===> libSM-1.1.0_1,1 depends on file: /usr/local/share/aclocal/xorg-macros.m4 - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found ===> libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found ===> libSM-1.1.0_1,1 depends on executable: pkg-config - found ===> Configuring for libSM-1.1.0_1,1 /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/local/share/aclocal/gtk.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... /usr/local/share/aclocal/header.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp /usr/local/share/aclocal/header.m4:58: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:11: your implementation of AM_INIT_AUTOMAKE comes from an configure.ac:11: old Automake version. You should recreate aclocal.m4 configure.ac:11: with aclocal and run automake again. /usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/local/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/local/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. *** Error code 63 Stop in /usr/ports/x11/libSM. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090316-95249-1itn24r-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libSM-1.1.0,1 UPGRADE_PORT_VER=1.1.0,1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/libSM (libSM-1.1.0,1) (unknown build error) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" The problem has been solved thanks to SAITOU Toshihide. I had very old m4 files in my /usr/local/share/aclocal. I removed these that dated from last year or earlier and it worked like a charm. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@fr
Re: IPFW: table approvement
KES writes: > Is it right place to post ideas? Sure. That doesn't mean anyone will implement them for you, but you can try to discuss them here. > If it is lets suggest next approvement > > IPFW has 'table' command > each table entry has some 'tablearg' > > There are situations when you need each entry has multiple values. > For example: > > > #NAT > table 1 add 10.0.1.0/24 1 > table 1 add 10.0.2.0/24 2 > > #PIPE > table 2 add 10.0.1.0/24 3 > table 2 add 10.0.2.0/24 4 > > #tag > table 3 add 10.0.1.0/24 7 > table 4 add 10.0.2.0/24 9 > > ipfw add XXX tag tablearg all from table(1) to any > ipfw add XXX nat tablearg all from table(2) to any > ipfw add XXX pipe tablearg all from table(3) to any > > > I will be best if it can be optimized as next: > table 1 add 10.0.1.0/24 1 3 7 > table 1 add 10.0.2.0/24 2 4 9 > > #user can name columns as: > table 1 columns nat pipe tag > > #1. compatibility: first column can be used as usual > ipfw add XXX tag tablearg all from table(1) to any > > #2. you may use value from second column of table entry as: > ipfw add XXX nat tablearg(2) all from table(1) to any > > #3. you may use value by name > ipfw add XXX pipe tablearg(pipe) all from table(1) to any > > #4. finally it will be good to apply multiple commands to one rule: > ipfw add XXX pipe tablearg(pipe) nat tablearg(2) tag tablearg all from > table(1) to any > > What do you think? It doesn't seem very efficient. The tags and associated values would have to be stored outside of the table entry itself, so there would be more data structure traversal on every packet. Probably better would be to stick to the current scheme in the value itself, and hash out of it. A big advantage of open source, of course, is that you can try your ideas out yourself, and see how they work. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
No space in lost+found directory (formerly: SORRY. NO SPACE IN lost+found DIRECTORY)
Pasted from subject: 2009/4/16 vijay kumar : > > SORRY. NO SPACE IN lost+found DIRECTORY Please don't shout. Have you checked that / has sufficient space? Try root # fsck / --- root # df -h and post the result. Regards, Chris -- A: Because it messes up 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 in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need to change screen resolution...
On Thu, 16 Apr 2009, Wojciech Puchar wrote: I am trying to find a way to change my current screen resolution from the default 720x426 (I think). The monitor I use to view all my servers via KVM switch - the font is too big on the screen - if I could increase the screen size to maybe 1028x756 that would be great. from what you've got that nonsense numbers like 720x426 Probably from an onscreen display on the monitor. It suggests a text console, so vidcontrol(1) would be the place to look. Not sure why everyone seems to be thinking X would be used on a server. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make run-depends-list-recursive?
On Thursday 16 April 2009 12:27:04 Mel Flynn wrote: > But yes, all-depends-list is exactly that, with the provision > that it does not take changed OPTIONS into account. That's what I suspected you were saying yesterday, and it seems to be wrong. Try this (assuming you haven't already configured/installed net/freeradius2 and security/krb5) cd /usr/ports/net/freeradius2 make all-depends-list make config# select Kerberos make all-depends-list make -C /usr/ports/security/krb5 config# unselect documentation for krb5 make all-depends-list make -C /usr/ports/security/krb5 rmconfig make rmconfig You will get three different lists of dependencies: in the first case, the main port (net/freeradius2) has the default OPTIONS and doesn't depend on security/krb5 or its dependencies. In the second case you will find teTeX and its dependencies in the list as they are dependencies of krb5 in its default setting. In the third case, you have changed an OPTION of security/krb5 to remove its dependency on teTeX, and net/freeradius2 correctly removes the teTeX dependency from its all-depends-list. This certainly looks like all-depends-list correctly taking account of the changed OPTIONS in the target port and all its dependencies. What *is* a problem is make config-recursive, which doesn't take account of any dependencies added as a result of OPTIONS changes made during the config-recursive process. This is relatively easily fixed, as make config-recursive actually runs make config-conditional for everything in all-depends-list, so if you keep running make config-recursive until nothing happens you can be reasonably sure you've dealt with all the unexpected dialogues that might otherwise pop up. This is worth knowing if you like doing overnight unattended installs and don't want to accept default settings (so can't use BATCH=yes). Until I discovered it I had immense frustration setting an installation/upgrade running only to come back the next day and find a dialogue sitting on the screen. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: SORRY. NO SPACE IN lost+found DIRECTORY
Sorry, no contents in email. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: IPFW missing feature
KES writes: > The tablearg feature provides the ability to use a value, looked up in > the table, as the argument for a rule action, action parameter or rule > option. This can significantly reduce number of rules in some configura- > tions. If two tables are used in a rule, the result of the second (des- > tination) is used. The tablearg argument can be used with the following > actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto > action parameters: tag, untag, rule options: limit, tagged. > > > Why tablearg cannot be used with setfib? Because tables are a feature of IPFW, and the FIB isn't. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How to check which FIB has a given process
On Wed, 15 Apr 2009 20:04:38 +0300, KES wrote: K> Hi, Freebsd-questions. K> K> I can set process to have some FIB K> setfib X /some/programm K> K> How to check which FIB has some process? K> It is not easy, but possible via kgdb. under root run: cd /usr/obj/usr/src/sys/GENERIC (if you use custom kernel replace GENERIC by kernel name) make gdbinit kgdb kernel.debug /dev/mem (kgdb) ps find interesting process, than copy proc address (2-nd column) (kgdb) set $pp = (struct proc*) 0xff000fff3000 And see FIB for this process: (kgdb) p $pp.p_fibnum $1 = 0x0 -- Anton Yuzhaninov P. S. For amd64 you will need this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/133775 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
SORRY. NO SPACE IN lost+found DIRECTORY
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make run-depends-list-recursive?
On Wednesday 15 April 2009 09:26:11 Jonathan McKeown wrote: > On Tuesday 14 April 2009 21:02:08 Mel Flynn wrote: > > On Monday 13 April 2009 03:56:15 Tim Judd wrote: > > > make all-depends-list > > > > Two things: > > 1) It surpresses config target and if a port has OPTIONS set, then you > > may get surprised once you've configured the port and ticked/unticked an > > option > > I'm not sure what you're saying here, but if you want to avoid a surprise > you can run make config to choose options, then re-run make > all-depends-list: the dependency list changes according to the config > options. In theory, yes. In practice, make config-recursive (which is what you'd use) takes all-depends-list as input and as such suffers from the same flaw: config-recursive -> all-depends-list entry => config-conditional make config new dep not in list I found it easier to use this, especially when building multiple ports from a list of origins, rather then waking up to an options screen. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: make run-depends-list-recursive?
On Wednesday 15 April 2009 01:14:23 Chris Whitehouse wrote: > Mel Flynn wrote: > > On Monday 13 April 2009 03:56:15 Tim Judd wrote: > >> On Sun, Apr 12, 2009 at 5:10 PM, Chris Whitehouse wrote: > >>> Hi > >>> > >>> Is there a make target which will give a list of _all_ dependencies > >>> recursively not just next level up? Or a port? I tried > >>> ports-mgmt/pkg_tree but it only seems to work with installed ports. > >>> > >>> I don't care if I get duplicates as long as every dependency is listed > >>> at least once. > >>> > >>> Thanks > >>> > >>> Chris > >> > >> make all-depends-list > > > > Two things: > > 1) It surpresses config target and if a port has OPTIONS set, then you > > may get surprised once you've configured the port and ticked/unticked an > > option 2) It includes EXTRACT_DEPENDS, PATCH_DEPENDS and BUILD_DEPENDS, > > which typically don't end up in run dependencies. Looking at the subject > > this may not be what you need. > > > > make -C /usr/ports/category/portname -V LIB_DEPENDS -V RUN_DEPENDS > > > > will list the dependencies that will be registered in /var/db/pkg. > > Recurse through the list, take the second field split by : and run the > > above for each origin. Something like the script below, which calls the > > config target if not configured, remembers already visited dependencies > > and then prints the runtime dependency list. > > Thanks Mel and Tim. I am trying to determine how much disk space the > distfiles for a port would use. I can get the file size from the > distinfo file in the port directory. So I need to list dependencies for > which a distfile would be downloaded. > > I guess my question now is which targets or variables need to be > included to achieve that. (I know it includes build dependencies. > I didn't include build deps in the subject because I figured replies > would give me the principle and I could expand from that.) > > I took a guess at the existence of BUILD_DEPENDS and added it into the > script. Running the modified script on multimedia/vlc I get the same > number of dependencies as make all-depends-list so make all-depends-list > is the same as make -V LIB_DEPENDS -V RUN_DEPENDS -V BUILD-DEPENDS for > vlc. Is that all I need for any port? EXTRACT_DEPENDS can matter when distfiles are delivered in formats for which you don't have an unarchiver installed (7zip/zip/cabextract being the most common). But yes, all-depends-list is exactly that, with the provision that it does not take changed OPTIONS into account. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD Upgrade: Ports That Need Rebuilding
On Thursday 16 April 2009 07:15:05 Roland Smith wrote: > On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote: > > I am planning to update to CURRENT, been reading freebsd-current for > > some time, apparently some ports require rebuilding as they are kernel > > specific, like hal, so I wonder how to rebuild those ports automatically? > > If you switch to another major version of FreeBSD, the best course is to > remove and reinstall all ports. All ports depending on libc. Which is everything except scripts. Removal isn't necessary. ports-mgmt/portmaster is one of those scripts that doesn't need recompilation and can be used to force recompilation of all ports that need it. Two for one deal. I personally do make delete-old-libs /before/ recompiling ports this way, because 1) I'm sure a port doesn't link to an old library and 2) the ports that failed will complain more loudly. However, when you're doing this for the first time, it's not a bad idea to make a seperate slice for current and cross-install on there (the procedure is documented in /usr/src/UPDATING). It's trivial to look at the stable slice's /var/db/pkg and install all those ports, then copy over configuration files. /home can be share without problems, providing you create the users again with the same uid. The advantage is that you have a workable system to fall back on whenever -current breaks something you need. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Question about amd64 tier1 status.
Hi, I´m a FreeBSD user from 4.0 version to Current (i386 arch). I've recently switched to a amd64 machine and consecuently to the amd64 version of the OS. You claim the amd64 version enjoys "Tier 1 Status", but in the page http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/archs.html under the point "12.2 Tier 1: Fully Supported Architectures" i read: "Tier 1 architectures are expected to be fully supported by the ports system. All the ports should build on a Tier 1 platform, or have the appropriate filters to prevent the inappropriate ones from building there. The packaging system must support all Tier 1 architectures. To ensure an architecture's Tier 1 status, proponents of that architecture must show that all relevant packages can be built on that platform." At this moment is not possible to run Wine on a amd64 version of Freebsd due to problems of the amd64 kernel handling segment registers, ldt segments or something like that (too technical for me to explain right but the point is that it doesn´t work). No matter which way you try (port, 32 bit package, etc) there is no report of success as far as i know. My question is: "Is Wine a non relevant port (I don't thik so) or the amd64 version of FreeBSD doesn't meet the requirements to be considered a Tier 1 Architecture ?" Hope you will excuse my poor english. Greetings and best wishes. Julián Rodríguez. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
firefox3 gets stuck/freezing for 30 seconds every 30 seconds
Since a week now my firefox3 got stuck and freezing for 30 seconds (approx.) every 30 seconds. I'm running a SMP box with FreeBSD 8.0-CURRENT/amd64, OS is most recent. I also recompiled firefox3, dbus, libX11 and xcb (maybe senseless since I do not know what causes the freezing/hungs), but without success. By the way, perl-5.10 is installed and every port has been recompiled depending on perl. So ... I'm floating like a dead man in the water. What can I do? Regards, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: hard drive performance
thanks guys. sorry for the newbie question. ;) Chris Rees schrieb am 2009-04-15: > 2009/4/15 Bruce Cran : > > On Wed, 15 Apr 2009 13:54:13 +0200 (CEST) > > Alexander Best wrote: > >> hi there, > >> i have 2 hard drives running. the first one is SATA300 and the > >> other > >> one UDMA100. here are the dmesg entries: > >> ad0: 238474MB at ata0-master SATA300 > >> ad1: 157066MB at ata4-master > >> UDMA100 > >> i've tried to test the drives' performances using the following > >> commands: > >> dd if=/dev/ad0 of=/dev/null bs=1m count=300 > >> and > >> dd if=/dev/ad1 of=/dev/null bs=1m count=300 > >> the results are: > >> ad0 = 314572800 bytes transferred in 4.325645 secs (72722751 > >> bytes/sec) ad1 = 314572800 bytes transferred in 5.166126 secs > >> (60891430 bytes/sec) > >> the results for ad0 are a bit disappointing though. is this normal > >> or > >> is bs=1m wrong? > > 70MB/s is a very good transfer rate for a hard drive. The 300MB/s > > rate > > refers to the maximum the physical interface can support, but > > drives > > never get close to that because they can't read from disk at that > > speed. > > -- > > Bruce Cran > Hehe, I think everyone makes that mistake when they're enthusiastic > and sometimes even somewhat experienced. It's always such a > disappointment when they realise, I remember when I did too. > Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Building file server for multi-tera capacity
Hi we plan a FreeBSD server which can host at least 20 Terabyte of data. The system will be shipped with FreeBSD 7 or 8 and will be based on a NexSAN SAS Beast. We would like to know if anybody has tried FreeBSD with NexSAN products and particularly if he has a suggestion about a solid HBA. Also we would like to hear your opinion about ZFS with this configuration. Greetings Valerio Daelli --- Il tuo 5 X mille a favore della Ricerca della Fondazione IFOM Tutti coloro che presentano il modello Unico, il modello 730 o che ricevono dal proprio datore di lavoro il modello CUD, hanno la facoltà di scegliere la destinazione del proprio 5 X mille. Nella casella riservata al Finanziamento agli Enti della Ricerca Sanitaria inserisci il codice fiscale di IFOM (97358780159) e apponi la tua firma. Il tuo 5 X mille verrà destinato alla Ricerca contro il Cancro della Fondazione IFOM Per saperne di più vai al sito IFOM. http://www.ifom-firc.it/5x1000.php Segnala questa opportunità ai tuoi amici e al tuo commercialista --- Valerio Daelli Email valerio.dae...@ifom-ieo-campus.it Phone +39 02 574303006 c/o IFOM-IEO campus, building 1 -Via Adamello 16 - 20139 Milan Italy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need to change screen resolution...
I am trying to find a way to change my current screen resolution from the default 720x426 (I think). The monitor I use to view all my servers via KVM switch - the font is too big on the screen - if I could increase the screen size to maybe 1028x756 that would be great. from what you've got that nonsense numbers like 720x426 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Which one of these two is the correct version?
On Wed, Apr 15, 2009 at 9:40 PM, barbara wrote: > > On Wed, Apr 15, 2009 at 8:27 PM, barbara > wrote: > > > > > > Hello FreeBSD Gnome users, > > > > > > > > I have been a KDE user because gnome installation/upgrade presents > such a > > > > pain to me most of the time. Today I decided to upgrade gnome from > 2.24 > > > --> > > > > 2.26 but decided to visit the gnome pages first to see what is said. > This > > > is > > > > after looking at /usr/ports/UPDATING and not seeing much to do with > this > > > > particular upgrade. > > > > > > > > Now, there are two pages, and both of them seem "upto date", but they > > > have > > > > conflicting information: > > > > > > > > 1.http://www.freebsd.org/gnome/docs/faq212.html#q2 - says that > *NOTE: Do > > > notrun > > > > portupgrade(1) to upgrade to GNOME 2.26!** > > > >*and goes on to say one should use the gnome-upgrade.sh script, > which > > > > seems to NOT exist in the links. > > > > 2. http://www.freebsd.org/gnome/docs/faq226.html#q2 - says you > should > > > use > > > > the following steps: > > > > (a) pkgdb -Ff > > > > (Remove gnome-volume-manager.) > > > > (b) portupgrade -aOW > > > > (c) portupgrade -f gnome-media gnome-settings-daemon > > > > gnome-control-center > > > > > > > > So I am just wondering which one is the correct version, since both > are > > > > talking about the upgrade to 2.26. > > > > > > > > > > > > > > > > > > 1.http://www.freebsd.org/gnome/docs/faq212.html#q2 > > > > 2. http://www.freebsd.org/gnome/docs/faq226.html#q2 > > > > > > Can you see the number between "faq" and ".html"? ;) > > > > > > Barbara, > > > > Does that number, whether I see it or not, matter at all? > > Both cases are talking about *upgrade to 2.26*, unless I also got blind > to > > the issue that mattered to me. > > > > > > Ok, sorry, you're right! I should have take a look at the pages, shame on > me. > I don't know why in the first one is reported 2.26 as in fact it seems the > procedure to upgrade to 2.12. Maybe some parts are dynamically (but wrongly) > generated. I thought so too. > > Anyway the correct procedure is described in the 2nd link. > Sorry again and good luck for the upgrade! Thanks. It's what I am using, since the upgrade script seems to have been obsoleted. > > > Cheers > Barbara > > P.S. > Where did you find the 1st link? G00gle - FreeBSD gnome upgrade :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"