Re: Sendmail client configuration to connect to ISP's SMTP server
On Sat, 2009-12-26 at 11:20 -0800, Aflatoon Aflatooni wrote: What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. The client also needs to be authenticated as well. Please help Thanks Afi Hey, afi Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README The change doesn't go in freebsd.submit.mc, but in freebsd.mc. Or hostname.mc, if you've already tweaked it before SMART_HOST is the upstream smtp server where all outgoing email is sent. lane ___ 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: Sendmail client configuration to connect to ISP's SMTP server
On Sun, 2009-12-27 at 01:13 +0100, Polytropon wrote: On Sat, 26 Dec 2009 17:50:39 -0600, Lane Holcombe l...@joeandlane.com wrote: Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README I'm using the SMART_HOST functionality, too. But there's no authentification (username + password). The relay I'm using - my ISP's - seems to be happy with a valid IP from their range. See if /usr/ports/mail/sendmail-sasl is what you need My ISP requires authentication, so I had to install that port and then add the AuthInfo line in /etc/mail/access My ISP is only using plain authentication, but sasl will work for more exotic needs, I understand. But, of course, if it ain't broke then don't try to fix it :) lane ~ The bikeshed should be orange for this to work properly ... ___ 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: reporter on deadline seeks comment about reported security bug in FreeBSD
On Tue, 2009-09-15 at 10:49 -0400, Jerry wrote: On Tue, 15 Sep 2009 07:18:26 -0400 Bill Moran wmo...@potentialtech.com wrote: Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Monday 14 September 2009 23:46:42 David Kelly wrote: On Mon, Sep 14, 2009 at 05:13:54PM -0400, ill...@gmail.com wrote: snip I usually discover security problems with updates I receive from http://www.us-cert.gov/. Aren't FreeBSD security problems reported to their site? If not, why? IMHO, keeping users in the dark to known security problems is not a serviceable protocol. Jerry, point your aggregator to http://www.freebsd.org/security/advisories.rdf There have only been 12 security advisories put out this year, as far as I can tell. Nothing about this one, though. lane ___ 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: installation sequence
I'm all over this! Here's what you do: Setup for yourself a local cvs repository like so: portinstall -Pp net/cvsup-mirror You have to make decisions about what to mirror, but in the end you will have a semi-authoritative mirror of all the source and ports for the whole dang FreeBSD development tree, that will maintain itself and be ready when you need it. Next, when ever you do a fresh install of FreeBSD whatever, the first thing you do after the install is update your source and ports try by creating a cvsupfile, (I always keep one in /usr/local/etc/cvsupfile) like this: begin cvsupfile *default host=IP.OF.YOUR.LOCAL.CVS.MIRROR *default base=/usr *default prefix=/usr *default release=cvs delete use-rel-suffix tag=RELENG_7 *default compress src-all src-contrib ports-all tag=. /end cvsupfile Note that the begin and /end tags are put in the email for clarity, but should NOT appear in your cvsup file. I think src-contrib is overkill, but I've not bothered to find out because I'm pretty lazy. Note, also that RELENG_7 is just what I'm using now. You should adjust to the FreeBSD whatever that you just installed. So after you put the cvsupfile in place, run this on your new install: csup -g -L2 /path/to/cvsupfile Note, again, that csup does *not* get installed with *base before like 6.3 or something ... can't remember which. Did I mention lazy? If you are going back that far you have to install csup from ports or install cvsup from ports. (Which may likely put you back at square one where you have to work through the build failures - it ain't perfect, but it's nearly there!) Anyway, the point is you should always, always, always update your ports tree after a new install so you don't have build failures to stump you. And you still might get those :) So you should consider REBUILDING WORLD immediately after you do a new install. And THEN build/install whatever ports you need ... Good Luck! lane On Thu, 2009-08-20 at 19:12 -0400, PJ wrote: Does anybody have an idea of what the oder of files and dependencies is to install programs without all sorts of nonsensical errors? I usually have no problem installing FreeBsd whatever with apache22, cups, samba, php, mysql xorg etc. etc. I say usually because from time to time there do crop up some conflicts and they can usually be resolved by just looking at the error messages when the install is interrupted... usually one reinstalls the guilty port and voila! all things are in an ordered universe! But how do you avoid those error messages... I installed a pretty minimal 7.2 about a week ago and since then have been putzing about with a more serious installation of 7.2 on a larger disk to include xorg and a number of pretty cumbersome applications. I usually start with samba as that permits me to wander about on my lan and download and play around with other stuff while I am waiting for those substantial installs like jdk and xorg et al. So now, I have installed samba... works fine... thereafter I have been installing jdk16 and some other proggies like openldap and php5 and mysql ... actually, I was doing those because apache22 wouldn't compile... it grinds out a slew of errors that all seem to be related to ldap...util_ldap.c:2135 (or other numbers) and all have the notation undeclared (first use in this function) and finally the ghost gives up with Error code 1. Exactly the same installation with the same configuration on the smaller installation went without a hitch... (and on the same computer, different disk) The versions are the latest available and on 7.2... I have tried uninstalling php5, openldap, and removing the work directory for apache22, but the result is always the same... this is absurd. Can anybody make any sense of this... I don't like the idea of starting all over again... done that, been there, and still looking for some rationality to this world. Thanks for any ideas... ___ 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
Java does not expose ScriptEngine
Hello, JDK 1.6 supposedly bundles rhino scripting, but this does not seem to be the case on FreeBSD 7 for java/jdk16, java/diablo-jdk16 or java/openjdk6 as each call to ScriptEngineManager.getEngineFactories() returns an empty list. when I put the script-engine jar into the classpath: (e.g. put js-engine.jar into /usr/local/diablo-jdk1.6.0/jre/lib/ext) java does not load the script engine as expected. On other os's (have tested Windows, and ubuntu) I can add a scriptengine simply by placing the jar in the classpath. Does anyone have any information about how to use scripting with java on FreeBSD? thanks! lane ___ 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
Can someone please help me get gdmchooser running, again?
I'm running FreeBSD 6.2-STABLE #1, compiled locally on Tue May 8 16:39:25 CDT 2007 I was able to use gdmchooser on X.org 7.2, but after upgrade to 7.3 (and GDM 2.20.1) she says no serving hosts were found after scanning the local network When I first started this email, I got this from sockstat -l46 | grep 177 lholcombessh-agent 30601 8 udp4 *:177 *:* lholcombegnome-sess 30587 8 udp4 *:177 *:* root Xorg 30570 8 udp4 *:177 *:* root gdm-binary 30569 8 udp4 *:177 *:* root gdm-binary 29955 8 udp4 *:177 *:* Now, after monkeying with it (including a few reboots), I get root gdm-binary 33486 8 udp4 *:177 *:* so it seems that gdm is listening on 177, but the chooser doesn't list the local system as an X server. Instead the chooser reports no serving hosts were found I can log in using the greeter, but I'd really like to use the chooser, as I've got several machines running X, and I'm too cheap to buy extra keyboards, and too lazy to move around the office to do my work :) gdm was compiled WITHOUT IPv6 support, and I've got ipv6_enable=NO in /etc/rc.conf It's gotta be something simple, 'cause I didn't spend much time setting up the chooser originally. But I think I need an extra set of eyes to see what I'm not seeing :) Here is the uncommented part of /usr/local/etc/gdm/custom.conf: [daemon] Greeter=/usr/local/libexec/gdmgreeter RemoteGreeter=/usr/local/libexec/gdmgreeter [security] AllowRemoteRoot=true DisallowTCP=false NeverPlaceCookiesOnNFS=false CheckDirOwner=false [xdmcp] Enable=true [gui] [greeter] IncludeAll=true GraphicalTheme=happygnome-list GraphicalThemeRand=true GraphicalThemes=circles/:happygnome-list/:happygnome [chooser] [debug] Enable=true [servers] 0=Standard [server-Standard] name=Standard server command=/usr/local/bin/X -audit 0 chooser=false handled=true flexible=true priority=0 Thanks for being an extra set of eyes! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can someone please help me get gdmchooser running, again?
On Sat, 2007-11-10 at 08:28 +0300, Yuri Pankov wrote: On Fri, Nov 09, 2007 at 11:12:20PM -0600, Lane Holcombe wrote: I'm running FreeBSD 6.2-STABLE #1, compiled locally on Tue May 8 16:39:25 CDT 2007 snip gdm was compiled WITHOUT IPv6 support, and I've got ipv6_enable=NO in /etc/rc.conf snip Thanks for being an extra set of eyes! lane Hi, Lane, please check gdm related issues (IPv6 only) at http://www.nabble.com/remaining-issues-with-gnome-2.20-t4721430.html (taken from thread on gnome@). And sorry if it's not related to your problem. Yuri Yuri, Thanks for your response. I've suspected this was an issue with IPV6, but poking around sysctl oids is like spelunking without a rope or a partner. As soon as the current CD finishes (Janet Jackson - Rhythm Nation [cause I'm retro, like that]) I'm gonna reboot with these additions to /etc/sysctl.conf: net.inet6.ip6.v6only=0 net.inet6.ip6.forwarding=1 I thought there was a map sysctl oid that explicitly maps ipv6 to ipv4, but I can't find it now. Anyway, if I get anywhere with this I'll post the results. Otherwise ... I'll just whine some more :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X not listening on 177 after upgrade to 7.3
Please help, I'm completely out of my league. I know this is mostly an Xorg question, but trying to get help from that group is ... not so easy... I've had the gdmchooser working for several months, now. But recently I updated X from 7.2 to 7.3 and X is no longer even listening on port 177: sockstat -l46 | grep 177 shows nothing I see Xorg listening on port 6000, but I seem to recall that xdm was listening on 177 before the upgrade. Or maybe it was gdm-binary, but certainly it was the default port 177, not port 6000. gdm is started by /usr/local/etc/rc.d/gdm and it runs the greeter just fine. But it is the chooser that I need, since I periodically need to access this machine from the local network or from remote vpn or access remote machines from this one. I'm running 6.2-STABLE FreeBSD, built from source in May, so the configuration in /etc did not change. But it appears that my /usr/local/lib/X11/xdm/xdm-config and /usr/local/etc/gdm/custom.conf have been overwritten with defaults and I can't find a backup version that works. I expect that if I could get xdm to listen then I could figure out gdm, again. But I've been researching and tweeking all day and can't seem to make it work. I thought it was as simple as commenting out the last line in the default xdm-config: ! SECURITY: do not listen for XDMCP or Chooser requests ! Comment out this line if you want to manage X terminals with xdm ! DisplayManager.requestPort: 0 But that does not make a difference, even after reboot. Your helpful suggestions and insight are appreciated. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rough go moving from 5.4-RELEASE to 6.X
On Monday 07 May 2007 20:58, RW wrote: On Mon, 7 May 2007 20:07:09 -0500 Lane [EMAIL PROTECTED] wrote: I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by I've tried with (in /etc/cvsupfile) tag= each of RELENG_5, RELENG_5_5, RELENG_6, and several others. It even fails when I try to just get the source to RELENG_5_4. Did you check UPDATING to see that you actually had the source for RELENG_5_4? Yes. I can cvsup or make update to any valid release. I can verify this by, as I mentioned, wiping out /usr/src and then running cvsup. Have you tried using an empty make.conf file? Yes. Build still fails. I can make buildkernel make installkernel and reboot into 5.4, 5.5, 6.0, 6.1 or 6.2 The errors occur only when I use make buildworld There is this note in /usr/src/UPDATING, which I am currently tracking as the root of my problems. However it is a bit of a stretch since I built this system AFTER 7/2004 ... still ... it may be the root ... But then that doesn't explain why the kernel installs ... UGH! I'm weary ... 20040728: System compiler has been upgraded to GCC 3.4.2-pre. As with any major compiler upgrade, there are several issues to be aware of. GCC 3.4.x has broken C++ ABI compatibility with previous releases yet again and users will have to rebuild all their C++ programs with the new compiler. A new unit-at-a-time optimization mode, which is default in this compiler release, is more aggressive in removing unused static symbols. This is the likely cause of 'make buildworld' breakages with non-default CFLAGS where optimization level is set to -O2 or higher. With the upgrade of the system compiler, the kernel has been upgraded to match the new system compiler. This makes it impossible to build a new kernel with the old compiler. Upgrade your system via make buildworld and make kernel (see below) to fix this problem. Thanks for taking a look. lane ___ 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: Rough go moving from 5.4-RELEASE to 6.X
On Tuesday 08 May 2007 09:51, Nikos Vassiliadis wrote: You do rm -r /usr/obj, everytime right? There is this note in /usr/src/UPDATING, which I am currently tracking snip buildworld and make kernel (see below) to fix this problem. Did you try building 5.4-RELEASE? Just to rule out the possibility of a broken update mechanism? Just a few wild guesses... Nikos ___ Nikos, I am simultaneoulsy overjoyed ... and deeply ashamed. rm -r /usr/obj was apparently erased from my memory, but using it allowed make buildworld to succeed on RELENG_5_5 Thanks for taking the time to hold my hand :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rough go moving from 5.4-RELEASE to 6.X
I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by buildworld failures that don't seem to have been reported. Please offer any guidance. First I delete everything in /usr/src (save Makefile and Makefile.inc1) then I make update to get the source current. (/etc/make.conf includes SUP* variables) then I try make buildworld from /usr/src, and the errors below occur. Next I try env -i make buildworld and I get the same errors. I've tried to cvsup an entire new source try (after wiping out /usr/src and /usr/obj) but STILL get this error. I've tried with (in /etc/cvsupfile) tag= each of RELENG_5, RELENG_5_5, RELENG_6, and several others. It even fails when I try to just get the source to RELENG_5_4. Of course the actual failure line(s) are different with each release I've tried to build. The errors listed below are from my latest try for RELENG_6 An example from last year when I tried this for rebuilding 5.4 is at http://groups.google.com/group/lucky.freebsd.i386/browse_thread/thread/da9d1d558d607a09/aab6d1588bb93bc1?lnk=stq=undefined+reference+to+%60add_new_float%27rnum=1#aab6d1588bb93bc1 Even after a YEAR I cannot get this system upgraded to 6.x! In the interim I've installed fresh copies of 6.1, 6.2, and -CURRENT on other systems, but this one system will not update! Argh! I'm not new to this, but I can't seem to find a pr or any information in /usr/src/UPDATING which might account for these consistent failures. Any pointers, no matter HOW OBVIOUS, will be appreciated. I'm just about LOST on this! Thanks for reading me vent :) Lane === lib/csu/i386-elf (all) === lib/libbsm (all) cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_audit.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_class.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_control.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_event.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_flags.c cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libbsm/../../contrib/openbsm -I/usr/src/lib/libbsm/../../contrib/openbsm/libbsm -c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function `close_tag': /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: `AUT_ZONENAME' undeclared (first use in this function) /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: (Each undeclared identifier is reported only once /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:396: error: for each function it appears in.) /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function `print_tok_type': /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:567: error: `AUT_ZONENAME' undeclared (first use in this function) /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function `au_fetch_tok': /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4040: error: `AUT_ZONENAME' undeclared (first use in this function) /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function `au_print_tok': /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4212: error: `AUT_ZONENAME' undeclared (first use in this function) /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c: In function `au_print_tok_xml': /usr/src/lib/libbsm/../../contrib/openbsm/libbsm/bsm_io.c:4386: error: `AUT_ZONENAME' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/lib/libbsm. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where the fsck are my files? (Was: no subject)
On Saturday 31 March 2007 23:30, Michael Brady wrote: I am very new to Freebsd so this might be a dumb question, but I can't find an answer through FAQ.. I used the command make install clean to install some ported applications, and the installs went off without a hitch and reported successful.My problem is that I can't find the locations of the installed applications or the executables for the apps to run them.What am I missing here? Thank you in advance. Michael Brady Michael, From the port directory, e.g. /usr/ports/multimedia/mplayer, type this: cat pkg-plist | more This will show you the list of files and directories that were installed by the make install command. If you are using csh for your shell then the newly installed files will not be immediately available unless you type rehash from the shell where you invoked make. Good luck! lane P.S. A subject would be more helpful ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there reference manual for sh?
On Sunday 31 December 2006 01:52, George wrote: On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote: On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote: On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote: [EMAIL PROTECTED] writes: I need any online complete manual on sh, not a brief as it is man sh. The last one doesn't describe many features both interactive (command line editing, using history interactively, and many others) and scripting (for example, conditional expressions). Here's a brute-force manual: #!/bin/sh for each in `find /etc/rc.d` do more $each done Bonus points for not using cat, but it sounds like you're recommending a manual you yourself haven't read. $ for each in /etc/rc.d/* ; do more $each ; done Or skipping the unecessary logic: $ more /etc/rc.d/* Sarcasm is mostly counterproductive, doncha think? I do, George. But I'm not sure you actually share that notion. If you need more than what is there then you probably need Kernigan and Ritchie's The C Programming Language, (still) available on amazon.com. My guess is the OP is inquiring about scripting in general, but bash(1) and readline(3) in particular. If that's the case, the manpages should be more than adequate; a reading of Mendel Cooper's Advanced Bash Scripting Guide (available for free at a Google search near you) would also be useful for a practical perspective. Recommending the KR book I don't think is appropriate. I'm sorry that you felt the need to tell me, and the whole world, that. He said he needed brief but not as brief as man sh I said, by example, use these tools which are here, in as clear and readable a form as I could, owing to the near certainty that the OP was unfamiliar with the language form(s). Then I followed up with a recommendation for further reading which, regardless of your apparent encyclopedic knowledge of the subject, is exactly what I recommended: Further reading if the OP needs more functionality than could be deduced from a study of the basic startup scripts for freebsd. Whatever tone you are hearing is not emanating from my email. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there reference manual for sh?
On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote: On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote: [EMAIL PROTECTED] writes: I need a reference manual or specification for sh. Where can I find it? In you mean within FreeBSD, try: man sh or man builtin, As a user, the O'Reilly _UNIX in a Nutshell_ I bought many years ago was a very wise investment. If you want to hack the code ... the start with the code. And good luck. Robert Huff I need any online complete manual on sh, not a brief as it is man sh. The last one doesn't describe many features both interactive (command line editing, using history interactively, and many others) and scripting (for example, conditional expressions). Here's a brute-force manual: #!/bin/sh for each in `find /etc/rc.d` do more $each done If you need more than what is there then you probably need Kernigan and Ritchie's The C Programming Language, (still) available on amazon.com. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: change password without shell access
On Wednesday 27 December 2006 02:42, Perttu Laine wrote: Hello! I'm looking tool for freebsd that allows user to change their password without access to server. If there are any? We're running mail server with nologin account and would like to let users change their password. From www would be preferred way. And possibly to change their .forward file too. So are there any tools for this? There is /usr/ports/mail/poppwd which I've used from within neomail/openwebmail using https. I believe you could even integrate it with samba. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 15:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike -- Mike, I'm not so much familiar with rcorder and how it works, so I might be out of my depth ... but here goes ... It appeas that /etc/rc uses -s nostart when it arranges scripts in /etc/rc.d for startup (using rcorder). If you are running in a jail it will also use -s nojail Clearly if you are running ppp in a jail you don't get to start via rc It does not appear that rcorder is invoked when you run the script from the command line ... thus it will start when you invoke it manually as long as /etc/rc.conf agrees. Do this: rcorder -s nostart /etc/rc.d/* Does ppp show up? If not then there is the problem. As to WHY .. well you'd have to ask the developer. But If I was trouble-shooting to get it to work until the developer of rcorder got back with me, I this I'd do it this way: 1) copy /etc/rc.d/ppp-user to /usr/local/etc/rc.d/ppp-user (so I can monkey with it without messing things up. 2) change ppp_enable=YES to ppp_enable=NO in /etc/rc.conf 3) make up a new variable (e.g. mikes_ppp_enable) and put it in /etc/rc.conf in place of ppp_enable. Of course, set it to mikes_ppp_enable=YES 4) alter the new /usr/local/etc/rc.d/ppp-user to make it use mikes_ppp_enable 5) reboot If ppp does not start then ... edit /usr/local/etc/rc.d/ppp-user to REMOVE the # REQUIRE line reboot again If ppp STILL does not start ... well ... i don't like my solutions, but ... I'd delete all of the rcorder information from my script and hang on until the developer (or someone else) could help me straighten it out. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: not everything coming up on a reboot
On Saturday 23 December 2006 15:36, Michael P. Soulier wrote: On 12/23/06, Beech Rintoul [EMAIL PROTECTED] wrote: Do you have ppp-user_enable=yes in your /etc/rc.conf? No, and looking at ppp-user, I don't see why I'd need one. I have ppp_enable=YES. # PROVIDE: ppp-user # REQUIRE: netif isdnd # KEYWORD: nojail . /etc/rc.subr name=ppp rcvar=ppp_enable start_cmd=ppp_start stop_cmd=: Now, I do notice that the stock script comes with a REQUIRE isdnd as well as netif. As I'm not running isdn, would that stop rc from bringing the script up, or are REQUIREs OR'd and not AND'd? Mike -- Mike, I'm not so much familiar with rcorder and how it works, so I might be out of my depth ... but here goes ... It appeas that /etc/rc uses -s nostart when it arranges scripts in /etc/rc.d for startup (using rcorder). If you are running in a jail it will also use -s nojail Clearly if you are running ppp in a jail you don't get to start via rc It does not appear that rcorder is invoked when you run the script from the command line ... thus it will start when you invoke it manually as long as /etc/rc.conf agrees. Do this: rcorder -s nostart /etc/rc.d/* Does ppp show up? If not then there is the problem. As to WHY .. well you'd have to ask the developer. But If I was trouble-shooting to get it to work until the developer of rcorder got back with me, I this I'd do it this way: 1) copy /etc/rc.d/ppp-user to /usr/local/etc/rc.d/ppp-user (so I can monkey with it without messing things up. 2) change ppp_enable=YES to ppp_enable=NO in /etc/rc.conf 3) make up a new variable (e.g. mikes_ppp_enable) and put it in /etc/rc.conf in place of ppp_enable. Of course, set it to mikes_ppp_enable=YES 4) alter the new /usr/local/etc/rc.d/ppp-user to make it use mikes_ppp_enable 5) reboot If ppp does not start then ... edit /usr/local/etc/rc.d/ppp-user to REMOVE the # REQUIRE line reboot again If ppp STILL does not start ... well ... i don't like my solutions, but ... I'd delete all of the rcorder information from my script and hang on until the developer (or someone else) could help me straighten it out. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My recent Epiphany about operating systems
On Wednesday 20 December 2006 09:38, Terabyte Pete wrote (Nothing of value): 7:04 AM, Wednesday, December 20, 2006 chop U know, opposite of those oil companies - buying up the rail mass transit, so they could DESTROY it, rip everybody off with cars gas they don't need. It would be nice if more people were solution oriented like ma'self. We can build a better world. _ Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=footballicid=T001MSN30A0701 What is most fascinating about this rant is that he apparently did it from Windows95 installed on a Playstation 3!!! What an engineer! http://leaf.dragonflybsd.org/mailarchive/users/2005-12/msg00134.html Hey, TP! What sort of solution were you drinking so early? Is this all for comic relief? Otherwise I can't imagine why you would DOG Microsoft so hard, then send your email out via one of Microsoft crippled OS's, by way of a hotmail account. You are a hoot! lane P.S. Did you ever figure out how to get Dragonfly to install from a hard drive? That's a steep learning curve, from what I recall ... all those switches ... and the noise of all those developers laughing at you ... Quoting from the original Dragonfly Massacre: Of all men's miseries, the bitterest is this: to know so much and have control over nothing. -- Herodotus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Sunday 17 December 2006 04:52, Matthew Seaman wrote: Lane wrote: I can, in fact, run a gui root process on the remote machine, now. Unfortunately I still can't run qemu so that I can get the console. I get: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x3e Serial number of failed request: 18 Current serial number in output stream: 21 Any advice on how to setup the remote (headless, mouseless, and keyboardless) server to run X? My brain is fried trying to track down a HOWTO, and the wiki is just a half millimeter left of useless. The quickest and easiest method would be to run this on your desktop *before* SSH'ing to the other machine: xhost +LOCAL: That means that any user on the same machine (technically, any user accessing your display via the local domain socket /tmp/.X11-unix/X0) can pop up windows on your X display. Because of the way SSH X- forwarding works, all the processes on your remote machine appear to the local X server as if they were running on your local desktop, so that command will work for them too. Obviously this has security implications on machines where you do not trust all of the users -- for instance it would be fairly trivial for anyone else with access to either of those machines to be able to capture all of your keyboard input including any passwords you needed to type. You need to be able to trust implicitly both your local desktop and the remote server you're logging into. You can have more fine-grained control by using xauth to copy the access tokens for your display into the .Xauthority file in another users' home directory: xauth nextract - $DISPLAY | su - otheruser -c xauth nmerge - You should only need to do that one time per $DISPLAY, but if you're doing X forwarding over SSH, you may need to do that at least once for each desktop machine you log in from, even if you get the same $DISPLAY setting each time. ssh, when doing X forwarding, does pretty much that internally to forward your credentials so commands on the remote machine can display on the desktop in front of you. Note: $DISPLAY is set automatically for you when you enable X forwarding and SSH in. You may need to quietly eliminate misguided attempts to set $DISPLAY in the shell startup scripts of otheruser --- it should inherit the value from your environment if you become that user by su(1) or sudo(1). See xauth(1) for more information about what you can do with it -- quite a lot more really. Cheers, Matthew Matthew, Thanks for the details on $DISPLAY and all of the other information. This certainly opens up a number of possibilities in remote system use and/or management. Unfortunately it does not provide me the ability to get the console from qemu ... which is very odd, I think. There was one instant yesterday after Chris recommended the use of su -m when my konsole was presented with an ASCII representation of the Windows loading screen. But I cannot seem to repeat the event. Each attempt fails with: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x3e Serial number of failed request: 18 Current serial number in output stream: 21 Thanks for all the input - But I think I'm just gonna bite the bullet and copy the img file, do the repair, and copy it back out. Lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xorg on a headless, mouseless, keyboardless box
Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Is this even possible? I've been looking at the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html#AEN6864 But it doesn't jump out at me how I should make this work. I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen for the connection, but when I run xdm on the remote box it fails with No core pointer So I followed the limited instructions on the X wiki and added Section ServerFlags option AllowMouseOpenFail EndSection But now I get Fatal error: no screens found. Is it even possible to have the remote headless box host an X session? thanks, lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 12:34, Andrew Pantyukhin wrote: On 12/16/06, Lane [EMAIL PROTECTED] wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Can you tell us what you really need? Try ssh -X [EMAIL PROTECTED] and running gui apps or even startx there. Andrew, What I need is a tall order :) What I'd like is an understanding of how X can be used for remote connections, such as is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html#AEN6864 I'd like to be able to work on the remote box in a graphical environment and not have to mount_nfs the devices I need to work with ... I'd also like to be able to start qemu on the remote machine with a Windows client and be able to invoke safe mode. I have a problem with a remote W2K image that is 4Gig compressed, and it is going to take 12 or more hours for me to get it copied to my local machine to fix it ... then another 12 hours to copy it back out there. There are probably some switches that I can use in qemu that I may discover over the next 12 hours, but an understanding of how X can help might actually save me some time. I've used this ssh -X that you mention. This works fine for userland programs, but in order to troubleshoot my particular issue I'd need to be logged in as root. When I try to su remotely to run the command I get: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I might try logging in locally as root and see what happens But in the long run I think that if I could understand how to grant myself an actual X session on the remote box then I could figure out how to do this and potentially other stuff. Thanks for any information you might share. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 17:11, Garrett Cooper wrote: On Dec 16, 2006, at 10:24 AM, Lane wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Is this even possible? I've been looking at the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- xdm.html#AEN6864 But it doesn't jump out at me how I should make this work. I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen for the connection, but when I run xdm on the remote box it fails with No core pointer So I followed the limited instructions on the X wiki and added Section ServerFlags option AllowMouseOpenFail EndSection But now I get Fatal error: no screens found. Is it even possible to have the remote headless box host an X session? thanks, lane Lane, Did you by chance remove keyboard / mouse support from your kernel? kldstat(8) may hold the answers, unless you have the mouse compiled directly into the kernel. Sounds like that may be your problem: http://www.mail-archive.com/linux-newbie@vger.kernel.org/ msg06918.html. So you could try commenting out the mouse and keyboard references, just to see what happens.. Another solution that you may want to look into as an alternative to using xdm is X11 forwarding via SSH. -Garrett Garrett, Thanks for responding. No, it's an SMP kernel which includes GENERIC. Do you mean commenting out references to mouse and keyboard in /sys/i386/conf/GENERIC? Like these: device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse That seems a little extreme - recompiling the kernel to get X to work? I'll certainly do it if the technique is endorsed by anyone ... but I'm not so much ready to see what happens, as the server is thirty miles away behind a locked door, and I may not like what happens, at all :) Yeah, the ssh -X trick works great for userland stuff. But I haven't yet fingered out how to run a gui process on the remote as root and get by the authentication issues. Do you have any experience with that? Thanks, again. Lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 17:32, you wrote: I've used this ssh -X that you mention. This works fine for userland programs, but in order to troubleshoot my particular issue I'd need to be logged in as root. When I try to su remotely to run the command I get: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I think what's going on is that X puts some authentication information in your home directory: ~/.Xauthority. You might try: $ su -m That will preserve your environment (including $HOME). Now when X goes looking for the ~/.Xauthority, it will find the one sshd set up in your user home directory. Well, Chris, that was a great suggestion! I can, in fact, run a gui root process on the remote machine, now. Unfortunately I still can't run qemu so that I can get the console. I get: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x3e Serial number of failed request: 18 Current serial number in output stream: 21 Any advice on how to setup the remote (headless, mouseless, and keyboardless) server to run X? My brain is fried trying to track down a HOWTO, and the wiki is just a half millimeter left of useless. Thanks for your input! Lane I might try logging in locally as root and see what happens But in the long run I think that if I could understand how to grant myself an actual X session on the remote box then I could figure out how to do this and potentially other stuff. Thanks for any information you might share. lane ___ 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: upgrade of portupgrade fails
On Saturday 16 December 2006 20:24, Michael P. Soulier wrote: I did a portupgrade -R on sysutils/portupgrade, and it started upgrading ruby. Unfortunately, it failed. No definition for sock_s_unpack_sockaddr_un stringio.c: c. strscan.c: cc. zlib.c: mcc ... Generating RI... Killed *** Error code 137 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12405.0 make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Any ideas why? Thanks, Mike I had this problem as well after going from 6.1 to -CURRENT I fixed it by doing cd /usr/ports/lang/ruby18 make -DFORCE_PKG_REGISTER install and then rebuilt sysutils/portupgrade lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade of portupgrade fails
On Saturday 16 December 2006 20:24, Michael P. Soulier wrote: I did a portupgrade -R on sysutils/portupgrade, and it started upgrading ruby. Unfortunately, it failed. No definition for sock_s_unpack_sockaddr_un stringio.c: c. strscan.c: cc. zlib.c: mcc ... Generating RI... Killed *** Error code 137 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12405.0 make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Any ideas why? Thanks, Mike I had this problem as well after going from 6.1 to -CURRENT I fixed it by doing cd /usr/ports/lang/ruby18 make -DFORCE_PKG_REGISTER install and then rebuilt sysutils/portupgrade lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Route spagetti
Hello, I have a routing problem ... I think. I have an established OpenVPN hosted on FreeBSD 6.1 using tun0 configured for 10.11.13.x. The OpenVPN configuration currently uses the client-to-client directive so that vpn Windows clients could access a separate central proprietary (Windows) database (also on the vpn). Response time and security have prompted me to investigate the use of qemu, hosted on FreeBSD, to house the proprietary database. I configured the qemu Windows image on my development machine and configured it to use tap0 10.11.12.150-10.11.12.151. The Windows side of the interface is 10.11.12.151 and FreeBSD keeps 10.11.12.150. I have used netmask 255.255.255.0 and 255.255.255.252 with no discernible change in behaviour (which I'm getting to). Everything worked correctly in development - I could establish a Terminal Services session with the Windows client and do whatever I needed to do, including access the internet from the qemu-hosted session. However when I pushed the image out to the vpn server, I found something odd: When logged into the remote qemu-hosted Windows session via Terminal services, I can ping any interface on the vpn host (10.11.12.150, 10.11.13.1, and defaultrouter). I can also ping any client connected to the vpn tun device (10.11.13.X). However I cannot route from the Windows session to the public internet. Typically there is a tight firewall in place on the vpn host, but I have disabled the firewall rules and stil been unable to access the public internet from within the qemu-hosted session, while I *am* able to access the internet from a shell on the vpn host. Is this necessarily a job for natd? Or is there some simpler way to get 10.11.12.150 to forward 10.11.13.x packets to tun0 and all others to the defaultrouter on the host machine? I'm looking at ipfw add forward ... but it does not look promising. Thanks for your time. I know I can be long-winded. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On Thursday 14 December 2006 02:08, James Long wrote: Date: Wed, 13 Dec 2006 17:33:32 -0600 From: Lane [EMAIL PROTECTED] Subject: Re: how do I see security logs without turning on sendmail? To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Tuareg, clearly sendmail is running. That is indicated by sendmail[41626] in your /var/log/sendmail log. The question, of course, is how does it get started. This is quite the WAG here, but can sendmail be started on-demand from inetd.conf? It may be a WAG, but it may explain all of what is going on. mail would attempt to create a connection to localhost, inetd would start sendmail to accept the connection, sendmail would route the message and then die. Tuareg, check out /etc/inetd.conf for an entry containing the word sendmail And let us know what you find. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
Tuareg ... follow to difficult it find I as post top don't please ... to say it another way ... please don't top post, as I find it difficult to follow ... On Wednesday 13 December 2006 13:12, Tuareg wrote: Hi Lane, We have tried that too.. We have the same rules that in the other servers where we can send e-mail without launching sendmail as daemon. Anyway we have tried disabling all the rules with: ipfw -f -q flush And listing the rules: 65535 87358 61876 allow ip from any to any mail -v [EMAIL PROTECTED] Subject: test test. . EOT [EMAIL PROTECTED] Connecting to localhost.my.domain. via relay... [EMAIL PROTECTED] Deferred: Operation timed out with localhost.my.domain. mail -v [EMAIL PROTECTED] Subject: test test . EOT [EMAIL PROTECTED] Connecting to localhost.my.domain. via relay... [EMAIL PROTECTED] Deferred: Operation timed out with localhost.my.domain. Also searched about sendmail in the BSD FAQ, Handbook, if we should change some file in /etc/mail, but (maybe should look again?) didn't find anything about which file should we modify, let's say.. submit.mc? freebsd.submit.mc? Suggestions? Thank you for your help. On 12/8/06, Lane [EMAIL PROTECTED] wrote: On Friday 08 December 2006 11:16, Tuareg wrote: On 12/5/06, Lane [EMAIL PROTECTED] wrote: On Tuesday 05 December 2006 21:49, Wasp King wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). _ __ IIRC, sendmail has three controlling values in /etc/rc.conf: sendmail_enable=YES sendmail_enable=NO and sendmail_enable=NONE The third value, NONE, causes the boot process to ignore any attempt to start sendmail. The second value, NO, causes the boot process to start sendmail for local delivery, only (i.e. do NOT accept inbound connections from external hosts). The first value, YES, causes the boot process to start sendmail for outgoing and incoming SMTP connections. There are many tweaks that you can use in /etc/rc.conf - (refer to /etc/defaults/rc.conf) - that will allow various flavors of sendmail usage. See also, /etc/rc.sendmail. In your case sendmail_enable=NO should allow the local system to send periodic information to [EMAIL PROTECTED], or whatever alias you use in /etc/mail/aliases, while disallowing external hosts from sending email by way of the local host. Note that this requires that you pay heed to /etc/mail/Makefile and associated README documentation in /usr/src/contrib/sendmail and below. Best of luck! lane Hi... Where I'm working, have many servers with FreeBSD 4.x and 5.x, this servers are enable to send mail but the daemon of sendmail is not launched. Now, we have installed FreeBSD 6.1 STABLE, but can't reply this schema. Which file needs to be modified in /etc/mail to allow the server to send emails to our real mailserver so we can receive the results of some scripts without launching the daemon of sendmail? We have tried using sendmail=NO, in rc.conf, but we only get this messages: [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay... [EMAIL PROTECTED] Deferred: Permission denied Thank you for your help in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg, Your problem is likely related to ipfw, or firewall_type, firewall_enable in /etc/rc.conf. The permission denied error implies that your firewall ruleset is preventing the outgoing connection. Try: ipfw show to see your current firewall rules. Also read through /etc/rc.firewall and /etc/defaults/rc.conf to get some more information on the firewall issues. When you've gotten that resolved you should have enough information to get sendmail working the way you want. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg, What happens when you do this: telnet localhost Does the connection time out? Or do you get a sendmail prompt? I'm sort of mixed up on the order of the posts, here. But let me see if I can rephrase the problem and then possibly help you
Re: Missing pkg-descr - Correction
On Wednesday 13 December 2006 12:23, Wayne M. Barnes wrote: Correction: This problem happened during make all install for the port java/jdk15 (Not portinstall) - Forwarded message from Wayne M. Barnes [EMAIL PROTECTED] - Date: Wed, 13 Dec 2006 12:19:18 -0600 From: Wayne M. Barnes [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Missing pkg-descr User-Agent: Mutt/1.4.2.1i Dear FreeBSD, The following Missing pkg-descr is happening to me a lot, with many packages. This time it was during portinstall jdk15. === Installing for m4-1.4.8_1 === Generating temporary packing list ** Missing pkg-descr for m4-1.4.8_1. *** Error code 1 Stop in /usr/ports/devel/m4. *** Error code 1 This time it is on a brand-new install of FreeBSD 6.2. How can I be responsible for the pkg-descr. This is the second time I have asked this question. I got no help before. My email was down briefly. Did I miss the answer? Thank you, -- Wayne M. Barnes, Ph.D., President lab at: DNA Polymerase Technology, Inc. The Inventery 11 Princeton Avenue 1508 S. Grand Blvd University City, MO 63130 St. Louis, MO 63104 fax (314)754-9556 Phone: 314.680.0575 email: [EMAIL PROTECTED] - End forwarded message - Wayne, I think you may have missed the answer. What directory are you running make from? Is it /usr/ports/java/jdk15? /usr/ports is the default location for ports, but you may get this error if you attempt to make a valid port from an invalid directory, or with invalid entries in /usr/ports/Mk or even in /etc/make.conf How are you updating your ports tree? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail? (Minor correction ...)
On Wednesday 13 December 2006 13:33, Lane wrote: Tuareg ... follow to difficult it find I as post top don't please ... to say it another way ... please don't top post, as I find it difficult to follow ... On Wednesday 13 December 2006 13:12, Tuareg wrote: Hi Lane, We have tried that too.. We have the same rules that in the other servers where we can send e-mail without launching sendmail as daemon. Anyway we have tried disabling all the rules with: ipfw -f -q flush And listing the rules: 65535 87358 61876 allow ip from any to any mail -v [EMAIL PROTECTED] Subject: test test. . EOT [EMAIL PROTECTED] Connecting to localhost.my.domain. via relay... [EMAIL PROTECTED] Deferred: Operation timed out with localhost.my.domain. mail -v [EMAIL PROTECTED] Subject: test test . EOT [EMAIL PROTECTED] Connecting to localhost.my.domain. via relay... [EMAIL PROTECTED] Deferred: Operation timed out with localhost.my.domain. Also searched about sendmail in the BSD FAQ, Handbook, if we should change some file in /etc/mail, but (maybe should look again?) didn't find anything about which file should we modify, let's say.. submit.mc? freebsd.submit.mc? Suggestions? Thank you for your help. On 12/8/06, Lane [EMAIL PROTECTED] wrote: On Friday 08 December 2006 11:16, Tuareg wrote: On 12/5/06, Lane [EMAIL PROTECTED] wrote: On Tuesday 05 December 2006 21:49, Wasp King wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). ___ __ __ IIRC, sendmail has three controlling values in /etc/rc.conf: sendmail_enable=YES sendmail_enable=NO and sendmail_enable=NONE The third value, NONE, causes the boot process to ignore any attempt to start sendmail. The second value, NO, causes the boot process to start sendmail for local delivery, only (i.e. do NOT accept inbound connections from external hosts). The first value, YES, causes the boot process to start sendmail for outgoing and incoming SMTP connections. There are many tweaks that you can use in /etc/rc.conf - (refer to /etc/defaults/rc.conf) - that will allow various flavors of sendmail usage. See also, /etc/rc.sendmail. In your case sendmail_enable=NO should allow the local system to send periodic information to [EMAIL PROTECTED], or whatever alias you use in /etc/mail/aliases, while disallowing external hosts from sending email by way of the local host. Note that this requires that you pay heed to /etc/mail/Makefile and associated README documentation in /usr/src/contrib/sendmail and below. Best of luck! lane Hi... Where I'm working, have many servers with FreeBSD 4.x and 5.x, this servers are enable to send mail but the daemon of sendmail is not launched. Now, we have installed FreeBSD 6.1 STABLE, but can't reply this schema. Which file needs to be modified in /etc/mail to allow the server to send emails to our real mailserver so we can receive the results of some scripts without launching the daemon of sendmail? We have tried using sendmail=NO, in rc.conf, but we only get this messages: [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay... [EMAIL PROTECTED] Deferred: Permission denied Thank you for your help in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg, Your problem is likely related to ipfw, or firewall_type, firewall_enable in /etc/rc.conf. The permission denied error implies that your firewall ruleset is preventing the outgoing connection. Try: ipfw show to see your current firewall rules. Also read through /etc/rc.firewall and /etc/defaults/rc.conf to get some more information on the firewall issues. When you've gotten that resolved you should have enough information to get sendmail working the way you want. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg
Re: how do I see security logs without turning on sendmail?
On Wednesday 13 December 2006 14:31, Tuareg wrote: On 12/13/06, Lane [EMAIL PROTECTED] wrote: Tuareg, What happens when you do this: telnet localhost telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Operation timed out telnet: Unable to connect to remote host Does the connection time out? Or do you get a sendmail prompt? Yes, the connection time out. No, I don't get the sendmail prompt, because there is no sendmail running. ps axwww | grep sendmail 47237 p0 R+ 0:00.00 grep sendmail I'm sort of mixed up on the order of the posts, here. But let me see if I can rephrase the problem and then possibly help you find a solution ... It seems to me that the problem is that you cannot determine how to make FreeBSD 6.x do like other hosts under your influence, so that it will send email from [EMAIL PROTECTED] to another (possibly a hub) server? Is that correct? Yes, we have older versions of FreeBSD (4.x and 5.x) running on remote servers where we can't interrupt the service, in this servers, we can send e-mails to our main e-mail server, were we get reports of scripts. In those servers, we don't have running sendmail, look: ps axwww | grep sendmail 19702 p0 D+ 0:00.00 grep sendmail % %telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Permission denied telnet: Unable to connect to remote host But, we are able to send emails: mail -v [EMAIL PROTECTED] Subject: Test Testing from FreeBSD 4.6-RELEASE . EOT [EMAIL PROTECTED] Connecting to main.server.com via esmtp... 220 main.server.com ESMTP EHLO server.FreeBSD.4.6-RELEASE 250-main.server.com Hello 250-8BITMIME 250-SIZE 31457280 250-ETRN 250-DSN 250 PIPELINING MAIL From:[EMAIL PROTECTED] SIZE=78 250 Sender OK RCPT To:[EMAIL PROTECTED] 250 Recipient OK DATA 354 Enter your message, followed by a dot on a line by itself . 250 AYQ81844 Message accepted for delivery [EMAIL PROTECTED] Sent (AYQ81844 Message accepted for delivery) Closing connection to main.server.com QUIT 221 main.server.com Goodbye First I assume that these other FreeBSD installations are also using sendmail. If that is NOT correct then your best hope is to replicate your mta configuration from those other hosts. In fact that might not be a bad idea regardless of what they are running :) You are right, all this installations are also using sendmail. But again, assuming you want to run sendmail and ONLY allow the localhost to transmit out to another host for collection and/or distribution, enter this value into /etc/rc.conf: sendmail_enable=NO Now edit /etc/mail/freebsd.mc. Locate the term SMART_HOST, uncomment that line, and enter the IP address or fully qualified domain name of your upstream server in place of 'your.isp.mail.server' Note: If 'your.isp.mail.server' is NOT resolvable on the localhost, then you must use the IP address. When you use the IP address, you must put it in [square brackets], like [192.168.2.1]. Now from /etc/mail, type make all install then shutdown and restart the server using your method of choice, or just type /etc/rc.d/sendmail restart And try to send email again. All should work now. But you must remember to configure the TARGET mail server to allow this host to send. I'll leave that as an exercise for you. lane Have some doubts... about this procedure.. I'm going to explain why In this server (from the example, server.FreeBSD.4.6-RELEASE, where we can send e-mail, but sendmail it's not running, rc.conf contains: sendmail_enable=NONE, sendmail it's not running: ps axwww | grep sendmail 19702 p0 D+ 0:00.00 grep sendmail And how I showed you in this messages, we are able to send messages, well.. root can do it, as a normal user I can't: mail -v [EMAIL PROTECTED] Subject: TEST Testing from FreeBSD 4.6-RELEASE . EOT collect: Cannot write ./dfkBDJDkW19705 (bfcommit, uid=xxx): Permission denied queueup: cannot create queue temp file ./tfkBDJDkW19705, uid=xxx: Permission denied The older sysadmin who made this configuration with FreeBSD 4.6-RELEASE, quit the job and didn't leave any documentation, a how to, nothing, were he explain how he did this. That's the reason why we are looking to repeat this configuration with FreeBSD 6.1-RELEASE, but couldn't do it.. yet. Thank you for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg, Post /etc/rc.conf from one of the servers that does what you want and that should lead us to what mta is handling email. Also, please post a copy of ls -al /usr/local/etc/rc.d from that same working server, just in case there is a custom script starting the mta. lane
Re: how do I see security logs without turning on sendmail?
On Wednesday 13 December 2006 16:36, Tuareg wrote: On 12/13/06, Lane [EMAIL PROTECTED] wrote: Tuareg, Post /etc/rc.conf from one of the servers that does what you want and that should lead us to what mta is handling email. cat /etc/rc.conf ### Network daemon (miscellaneous) NFS options: ### sendmail_enable=NONE # Run the sendmail daemon (or NO). cron_enable=YES # Run the periodic job daemon. portmap_enable=NO # Run the portmapper service (or NO). usbd_enable=NO sshd_enable=YES tcp_drop_synfin=YES tcp_restrict_rst=YES syslogd_enable=YES# Run syslog daemon (or NO). syslogd_flags=-s -s # Flags to syslogd (if enabled). Also, please post a copy of ls -al /usr/local/etc/rc.d from that same working server, just in case there is a custom script starting the mta. lane ls -al /usr/local/etc/rc.d total 10 drwxr-xr-x 2 root wheel 512 Jan 23 2003 . drwxr-xr-x 4 root wheel 512 Oct 30 18:06 .. -rwxr--r-- 1 root wheel 624 Jan 14 2003 squid.sh And 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] Tuareg, Yours is a mystery. Let's see the output of tail -200 /var/log/maillog from the working machine. Clearly there is no mta being started on boot. But I'm not familiar enough with squid to say for sure that it is not the daemon in question. It may be that squid is configurable so that it could be delivering the log messages. I'll make it and see what I can see. In the mean time, if anyone else has some ready experience to say for certain that this is probably what's happening, then jump right in. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On Wednesday 13 December 2006 17:22, Tuareg wrote: On 12/13/06, Lane [EMAIL PROTECTED] wrote: Tuareg, Yours is a mystery. Exactly... I can't find how the server is sending the emails without having sendmail active. Let's see the output of tail -200 /var/log/maillog from the working machine. Ok, here we go Dec 13 00:00:00 myhost newsyslog[41433]: logfile turned over Dec 13 00:00:02 myhost sendmail[41485]: gethostbyaddr(xxx.xxx.xxx.xxx) failed: 1 Dec 13 00:00:02 myhost sendmail[41485]: kBD602j41485: from=root, size=137, class=0, nrcpts=1, msgid= [EMAIL PROTECTED], [EMAIL PROTECTED] Dec 13 00:00:03 myhost sendmail[41488]: kBD602j41485: to= [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30137, relay=main.server.com. [xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (AYP95973 Message accepted for delivery) Dec 13 01:00:02 myhost sendmail[41626]: gethostbyaddr(xxx.xxx.xxx.xxx) failed: 1 Dec 13 01:00:03 myhost sendmail[41626]: kBD702J41626: from=root, size=137, class=0, nrcpts=1, msgid= [EMAIL PROTECTED], [EMAIL PROTECTED] Dec 13 01:00:04 myhost sendmail[41629]: kBD702J41626: to= [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=30137, relay=main.server.com. [xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (AYM94014 Message accepted for delivery) Tuareg, clearly sendmail is running. That is indicated by sendmail[41626] in your /var/log/sendmail log. The question, of course, is how does it get started. The answer is still mysterious ... unless, of course, it is being managed by squid. In that case it might not be running as a daemon process, but could be invoked by squid when it needs to send mail. But I'm just guessing at this point. I really don't know enough about squid to give you an authoritative answer. I've got to step out for a few hours, but I'll see what I can find out on squid and get back to you in the morning. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
Tuareg, I can't find the name of the quy who straightened me out on the fuction of squid, but kudo's to him. Clearly squid is not the culprit. But I've done some eyeballing on /usr/sbin/periodic, and I think maybe it is the culprit. First lets have a look at your /etc/crontab file. Specifically we are interested in the lines which contain the term periodic If these lines include parameters, which are passed to /usr/sbin/periodic, then they may be the reason for your periodic emails being sent WITHOUT sendmail being enabled by the normal boot process. Take a look at /usr/sbin/periodic. Note that it uses values in /etc/defaults/periodic.conf as well as any override variables in /etc/rc.conf. It could also be overridden in other ways such as by defining the value source_periodic_confs_defined and periodic_conf_files but this should have already showed up in /etc/rc.conf. While you are examining /usr/sbin/periodic, look for the term output In my copy of that script there is a comment that looks like: #Where's our output going? Then there is a case block: case $output in /*) pipe=cat $output;; ) pipe=cat;; *) pipe=mail -s '$host ${arg##*/} run output' $output;; esac If your predecessor had modified this script or, perhaps overridden it using /etc/defaults/periodic.conf, then he may have either changed the *) default case, or supplied parameters from /etc/crontab (or /etc/defaults/periodic.conf) which could invoke sendmail directly. If he used override variables, then he would probably also have added a case for ) pipe=sendmail -arg1 arg2 argn This would account for sendmail being completely disabled in /etc/rc.conf AND for the messages being sent out via sendmail. However, as I read it, the behaviour you have reported would only occur if /usr/sbin/periodic was actually modified, as the use of the $output variables does NOT seem to allow for invocation of sendmail directly. And I don't believe that mail can force invocation of sendmail (although I may be wrong, as the man page does imply that mail will use any means available to get the message out). If this is the case (i.e. if mail is invoking sendmail directly) you could check it by trying to send mail from the command line on one of the servers that actually does what you want it to do. If it works, and if there are NO modifications to /usr/sbin/periodic or override defaults in /etc/defaults/periodic.conf, then it will be safe to assume that this feature has been properly quashed in 6.x. You would then need to follow the procedures for setting up sendmail for outgoing-only, as many have already recommended. In any case, the behaviour you desire would only work properly by making the appropriate changes to /etc/mail/hostname|freebsd.mc, (i.e. SMART_HOST and/or HUB settings), and then running make install in /etc/mail. (And this is always going to be the case where sendmail is concerned) I hope this information leads you to a resolution, as it has been a great learning experience for me ... but my brain hurts :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List Protocol (was: Major Version Upgrade 4.11 to 5.x)
On Tuesday 12 December 2006 20:01, Greg 'groggy' Lehey wrote: On Tuesday, 12 December 2006 at 16:49:39 -0800, Ted Mittelstaedt wrote: Until then STFU you ungrateful bastards. All you once were dumb newbies who didn't know FreeBSD from free beer, and I'll bet more than a few of you sent e-mail to questions, thinking it was an actual person who gave a damn. Boy were you surprised! Ted, there are other aspects of the list protocol. One has to do with message format. You seem to have great difficulty with this one, requiring other people to manually reformat, and often to guess what you're talking about. Another has to do with politeness. You seem to abuse this one again and again; it's one of the reasons why I seldom read this mailing list any more. You've probably driven off a number of people who would be able to give *helpful* answers. Please stop. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. Not that Ted needs any defense, but ... He's also made a few of us pay attention and pitch in. God love him! Now where is the girl in the tank top? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Major Version Upgrade 4.11 to 5.x
On Monday 11 December 2006 01:18, Matthew Seaman wrote: listvj wrote: I'm interested in upgrading from 4.11 to 5.x. I currently track 4.x stable using cvsup, but I've never done a major version upgrade. First, should I bother? My hardware has dual pentium 1.13 processors with 1G ram (I'm considering maxing it out at 4). I host email and web sites for a few domains on this machine and I have four jails configured on it which will have to be upgraded too. I have users counting particularly on mail service not being down for too long. Other than the obvious advice to start with a good backup, can anyone tell me: 1) Will I gain a major benefit from upgrading 2) Where should I look for instructions / advice on upgrading 3) Also any general advice from personal experience. 4) Just how risky is this? Uh -- why upgrade to a branch (5.x) that has already had it's last release and is worse performing than both 4.x and 6.x? You should really be looking at upgrading to 6.2-RELEASE just as soon as it comes out (Real Soon Now). As for risk -- for various reasons you will be better off doing a clean install of 6.x and rebuilding your server from the ground up. It's no more risky than installing any other server -- unless you have some legacy binary-only application that you absolutely have to run, it is virtually certain to succeed. You biggest problem would seem to be the downtime required to do the update -- if you can manage it, probably the least consumer impact method is building the upgraded system on fresh disks on a scratch box, and then finishing the upgrade by a disk-swap. Which also has the added benefit that you have a ready-made back out path. Cheers, Matthew Matthew, I agree with your advice to build the new server with a clean install, if only to prevent any sendmail issues. But I'm not so sure I understand your assessment that 5.x is worse performing than both 4.x and 6.x. While I agree that 6.x is a great improvement in functionality over 5.x, I was not aware of the poor performance record of 5.x. Do you know of any links to benchmark tests, or other data, which would provide some more background on this? That kind of data would greatly influence my opinion in this discussion. Without it I'd be pleased to recommend 5.X, regardless of it's pending drop dead date, wrt support. I certainly see no need to chain myself to any software release cycle, nor, it seems, does the original poster. I'm in awe of his patience, and clearly he is satisfied with the product if he remains on 4.11. Thanks, lane ~Still running 5.x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Major Version Upgrade 4.11 to 5.x
On Monday 11 December 2006 18:24, Chad Leigh -- Shire.Net LLC wrote: On Dec 11, 2006, at 3:59 PM, Gerard Seibert wrote: On Monday December 11, 2006 at 05:09:01 (PM) James Long wrote: By the way, that is why it is customary to Cc: both the person and and the list when replying. It doesn't do any good to send a response to the list if the person who asked the question isn't subscribed. Maybe it is just me, but I hate that Cc crap. I always end up with two copies of the same message. Unless the individual specifically requests to be Cc'd, I never utilize it. Besides, how hard is it to subscribe to a list, post your question and hopefully receive a satisfactory response and then terminate your association with the list if you are so inclined. I joined the 'Apache' forum just to get one simple answer, then exited. Not a big deal at all. I agree that the list should only accept mail from subscribed members. Mainly to keep spam and other crap off the list. Most lists I am on (which are technical) require you to be a list member to post. So in this case the FreeBSD policies are not the norm. I am on one list for an MTA where if you CC the orig poster plus send to the list you get in trouble with some folks. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net I dunno, Chad. I get some of my best Pharmaceuticals from SPAM posted to this list just kidding, of course. But the SPAM on questions- is minimal, and the trade-off is, I think, huge. While many of us track the list regularly, there are much more that just toss a question out, and then google the replies. I think, in terms of server load, it probably is better this way. Not to mention that it is more convenient for the questioners, and thus better for the larger FreeBSD community. I'm not claiming to be right, this is just my opinion, my stinky opinion. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Major Version Upgrade - 4.11 to 5.x
On Monday 11 December 2006 22:13, Chad Gross wrote: On 12/11/06, Garrett Cooper [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Gross wrote: First I would address the first question. Only you can really answer whether or not there is a benefit. Is there a specific need (e.g. software/hardware support) for you to upgrade? If not then I would recommend against the upgrade. If yes, I why not move to 6.x? I have been running FBSD since 4.0and have run every revision since and would not suggest using 5.x. Either stick with 4.x or move to 6.x based on your requirements. To answer your second question, the best place to look for help is the handbook ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.htm l ). Also make sure to read /usr/src/UPDATING as this may contain special instructions. It is a general rule of thumb to do a clean install between major revisions though. I have personally done them with success, but would not recommend doing it on a production server if it is your first time doing one (as it sounds to be). Stick to upgrading between minor revisions until you are familiar with the build/make process. Also these mailing lists are a great resource for help as is http://www.bsdforums.org/ (and a few others, use Google). Finally, as mentioned above, from personal experience it is best to stick with a clean install between major revisions. Good luck again, Chad Bad way to look at things, given that 4.x isn't supported anymore by the FreeBSD group; so anything either userland or core system related that needs to be upgraded due to a security or performance issue would require an upgrade anyhow.. You should run at least 5.x, but it's highly recommended that you go to 6.x, due to performance improvements and the fact that you won't have to source upgrade your system again for a lot longer period of time (than if you moved to 5.x). The only issue is that you don't have direct access to the machine. - -Garrett I apologize, I didn't realize that 4.x was no longer supported (I thought RELENG_4 was still getting commits). In that case, I would make the move to 6.x being that 5.x wasn't exactly the best release performance-wise and it will be moving out of support sooner too. Chad Chad, What was the problem with performance in 5.x? I'm not challenging your assertion, not at all. But this is the second time in this thread that I've read comments about poor performance in 5.x, and ... well ... I've not experienced that - quite the contrary. I'm just curious - did I maybe miss some discussion about how poor 5.x was? Thanks for your time lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On Friday 08 December 2006 11:16, Tuareg wrote: On 12/5/06, Lane [EMAIL PROTECTED] wrote: On Tuesday 05 December 2006 21:49, Wasp King wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). _ __ IIRC, sendmail has three controlling values in /etc/rc.conf: sendmail_enable=YES sendmail_enable=NO and sendmail_enable=NONE The third value, NONE, causes the boot process to ignore any attempt to start sendmail. The second value, NO, causes the boot process to start sendmail for local delivery, only (i.e. do NOT accept inbound connections from external hosts). The first value, YES, causes the boot process to start sendmail for outgoing and incoming SMTP connections. There are many tweaks that you can use in /etc/rc.conf - (refer to /etc/defaults/rc.conf) - that will allow various flavors of sendmail usage. See also, /etc/rc.sendmail. In your case sendmail_enable=NO should allow the local system to send periodic information to [EMAIL PROTECTED], or whatever alias you use in /etc/mail/aliases, while disallowing external hosts from sending email by way of the local host. Note that this requires that you pay heed to /etc/mail/Makefile and associated README documentation in /usr/src/contrib/sendmail and below. Best of luck! lane Hi... Where I'm working, have many servers with FreeBSD 4.x and 5.x, this servers are enable to send mail but the daemon of sendmail is not launched. Now, we have installed FreeBSD 6.1 STABLE, but can't reply this schema. Which file needs to be modified in /etc/mail to allow the server to send emails to our real mailserver so we can receive the results of some scripts without launching the daemon of sendmail? We have tried using sendmail=NO, in rc.conf, but we only get this messages: [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay... [EMAIL PROTECTED] Deferred: Permission denied Thank you for your help in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Tuareg, Your problem is likely related to ipfw, or firewall_type, firewall_enable in /etc/rc.conf. The permission denied error implies that your firewall ruleset is preventing the outgoing connection. Try: ipfw show to see your current firewall rules. Also read through /etc/rc.firewall and /etc/defaults/rc.conf to get some more information on the firewall issues. When you've gotten that resolved you should have enough information to get sendmail working the way you want. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compilation problems with some code from Linux
On Friday 08 December 2006 11:21, Andrew Falanga wrote: Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Andy, I won't pretend to know exactly which header files correspond for your port, but in the past I've found some things that work for me: use locate vfs.h to find similar file names. On 6.x and 5.x I see that these are possible candidates: /usr/X11R6/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h /usr/include/fs/devfs/devfs.h /usr/include/sys/statvfs.h /usr/local/include/af_vfs.h /usr/src/sys/compat/svr4/svr4_statvfs.h /usr/src/sys/fs/devfs/devfs.h /usr/src/sys/nfs4client/nfs4_vfs.h /usr/src/sys/sys/statvfs.h But you'd have to compare the functions and structures defined in sys/vfs.h on linux to determine which is your best match up. There is /usr/ports/devel/mipsel-linux-kernel-headers/ which, according to pkg-plist will install mipsel-linux/include/linux/vfs.h. That may be exactly what you need (although it may be overkill). Or it may be the LAST thing you need :) Sometimes a porter will simply create a patch file in /usr/ports/portname/files that will create a skeleton version of the file which includes only the items you need. I've done this for development on my own system. As far as the NGROUP or other macros ... yikes! You may have to recreate that functionality entirely. I ran this: #!/bin/sh for each in `locate .h | grep '\.h$'` do if [ -f $each ]; then MYF=`cat $each | grep -i ngroups` if [ x$MYF != x ]; then echo $each : $MYF fi MYF= fi done It could probably be done more easily with sed and some elbow grease, but it does show NGROUPS defined here: /usr/X11R6/include/X11/Xos.h : #define NGROUPS 16 and /usr/include/sys/param.h among other places. Good luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install the same port twice but at different locations?
On Friday 08 December 2006 13:58, Alexis Dorais-Joncas wrote: Hi all, Subject says it all. I would like to install the package phpMyAdmin on two different locations on my server. Is this doable? If so, how? I'm using FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 with ports updated daily with cvsup. Right now, after I do : cd /usr/ports/databases/phpmyadmin sudo make PREFIX=/xxx/yyy install I get : pkg_info|grep Admin phpMyAdmin-2.9.1.1 A set of PHP-scripts to manage MySQL over the web And when I try to install it again but using a different PREFIX, I get this : === Checking if databases/phpmyadmin already installed === phpMyAdmin-2.9.1.1 is already installed You may wish to ``make deinstall'' and install this port again Using FORCE_PKG_REGISTER unregisters the first installation, so its no good for this I guess. Thanks in advance, Alexis ___ Alexis, Read through the porters' handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/. You are interested primarily in PREFIX and DESTDIR, but all of the text up to that point is enlightening. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install the same port twice but at different locations?
On Friday 08 December 2006 14:57, Alexis Dorais-Joncas wrote: Lane a écrit : On Friday 08 December 2006 13:58, Alexis Dorais-Joncas wrote: Hi all, Subject says it all. I would like to install the package phpMyAdmin on two different locations on my server. Is this doable? If so, how? I'm using FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 with ports updated daily with cvsup. Right now, after I do : cd /usr/ports/databases/phpmyadmin sudo make PREFIX=/xxx/yyy install I get : pkg_info|grep Admin phpMyAdmin-2.9.1.1 A set of PHP-scripts to manage MySQL over the web And when I try to install it again but using a different PREFIX, I get this : === Checking if databases/phpmyadmin already installed === phpMyAdmin-2.9.1.1 is already installed You may wish to ``make deinstall'' and install this port again Using FORCE_PKG_REGISTER unregisters the first installation, so its no good for this I guess. Thanks in advance, Alexis ___ Alexis, Read through the porters' handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/. You are interested primarily in PREFIX and DESTDIR, but all of the text up to that point is enlightening. lane Hi Lane, I think you misunderstood my problem. I know how to install a port to a specific location using PREFIX. What I want to achieve is to have one port installed twice. For example, I want one whole instance of phpMyAdmin to be in /var/www/ and a whole other one in /home/someuser/. And I want both instances to be manageable with the package tools (such as portupgrade) in order to keep both updated easily. Or have I totally missed the point with PREFIX/DESTDIR ? Thanx! Alexis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yeah, that's a little out of my league. I believe that there are changes recorded in /var/db/pkg for installations made using PREFIX=, but I've never gone so far as to determine if portupgrade will upgrade them independently. I expect one installation would overwrite the next ... You might try the --beforebuild and --afterinstall knobs of portupgrade to alter the PORTNAME switch on the port Makefile. This would ensure that entries in /var/db/pkg/ are not overwritten, but I don't know if you could automate that on a per-port basis. Let us know what you find out, and Good Luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell - kernel panic problems
On Thursday 07 December 2006 16:28, Andrew Boring wrote: On Nov 21, 2006, at 6:11 PM, [EMAIL PROTECTED] wrote: I have problems with what appears to be kernel panics when accessing the disk (either reading or writing). This box does nothing at the moment but wait for me to install and configure something, since it's a test box and hasn't even made it to live testing yet. The panics usually happen when installing something via Ports. Today, as I was running a make clean, I managed to get this one: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x2 fault code= supervisor read, page not present instruction pointer = 0x20:0xc083f0dc Well, I'm disappointed that no one even responded with an RTFM somewhere that could I find more information on this. As it happens, a google search eventually pointed me back to this section of the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ advanced.html#KERNEL-PANIC-TROUBLESHOOTING So here's the instruction pointer matching with the symbol table: #nm -n /boot/kernel/kernel | grep c083f c083f06c T pmap_clear_modify It's possible that my instruction pointer in my first email above was typo'ed, since I handwrote the panic output and typed it into my email. Any suggestions? I'm recompiling the GENERIC kernel with options DDB so I can capture the crash dump...but I would like to know if anyone has any suggestions in the meantime. -Andrew ___ Andrew, Sorry no one responded. How 'bout a uname -a plus dmesg and some information about the install status... You indicate with The panics usually happen when installing something via Ports that the system is fully installed, but that is not absolutely clear. And from this vantage, with this information, troubleshooting would only be shooting in the dark at this point. Looking forward to hearing back. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIC problems
On Wednesday 06 December 2006 08:38, Matthew Edwards wrote: Hi, I have a Intel Desktop Board D946GZIS and im using FreeBSD 6.2 Pre-release. I can't get the NIC to work. Please can someone help me as this is urgent. __ Matthew Edwards Clarotech Consulting (Pty) Ltd. Tel:+27 21 762-2928 Fax:+27 21 762-7654 Cell: +27 82 471-3443 Web:www.clarotech.co.za ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Matthew, What are some of the symptoms? Has the nic worked before? If so, are there any error messages in /var/log/messages? What does ifconfig -a show? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duo core enable/support help.
On Tuesday 05 December 2006 06:14, you wrote: Hello Lane! I'm a frequent reader to /usr/src/UPDATING But whenever I need to update or upgrade only, since years! Also I knew very well whats KERNCONF! i just wanted to know and make sure of the duo core options, and i searched the NOTES file, didnot find anything about it. Thank you for your short problematic answer :) by the way, After recompiling the kernel and From my dmesg ACPI APIC Table: INTEL D11020M FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 SMP: AP CPU #1 Launched! - But I still have few dmesg errors, these are the lines, acpi0: INTEL D11020M on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR unknown: I/O range not supported Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_perf1: ACPI CPU Frequency Control on cpu1 acpi_perf1: failed in PERF_STATUS attach device_attach: acpi_perf1 attach returned 6 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_button0: Power Button on acpi0 and usb2: waiting for BIOS to give up control usb2: timed out waiting for BIOS usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: ATI SB400 USB 2.0 controller on ehci0 usb2: USB revision 2.0 Any easy problematic ideas? :) Thank you ---Marwan First read /usr/src/UPDATING. Really. No, really. I mean read it :) And, since no one expects you to really, really read it, I'll give you some shortcuts. First, look for the word KERNCONF in /usr/src/UPDATING Read all of the language around every occurence of that word (KERNCONF). Then, when you are ready, do this: make buildkernel KERNCONF=SMP make installkernel KERNCONF=SMP Then reboot. Note here that I'm giving you the shortest possible route, which may be problematic for you. You really must become familiar with /usr/src/UPDATING. Anyway, after the reboot, you should type: cat /var/log/messages | grep -i launch if you see the terms CPU1 Launched! then you've got yourself an SMP kernel. Good Luck! lane _ Marwan, Please don't top post because follow to hard it's I'm guessing here: The acpi messages such as acpi_bus_number: can't get _ADR acpi_perf0: failed in PERF_STATUS attach may be appearing because these features are not yet fully supported. Check on man acpi to learn how to selectively disable acpi functions. The read is rather short, and you may ultimately decide that it's better left alone. As long as these errors don't repeat then it is likely the selected features are simply disabled by the kernel (or not loaded, or however acpi works :) Regarding the acpi errors AND the usb error: Do you detect any diminished performance? Are you unable to mount drives and/or other devices? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: custom rc.d script not working
On Tuesday 05 December 2006 21:26, Gobbledegeek wrote: My script is in /etc/rc.d and it executes - only when I login and find no zebra process... executing it manually starts zebra allright. Why should I put it in /usr/local/etc/rc.d ? I think I see a 0.99.5 version in freshports.org. I'll just use that instead. Thanks ye all for the help... Rgrds On 12/5/06, Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 11:30:41AM +, Tom Judge wrote: Gobbledegeek wrote: I compiled quagga 0.99.5 from source (not freebsd port) and wrote this little script in the /etc/rc.d/zebra file. --- #!/bin/sh # PROVIDE: zebra # REQUIRE: NETWORKING . /etc/rc.subr name=zebra rcvar=${name}_enable required_files=/usr/local/etc/${name}.conf command=/usr/local/sbin/${name} command_args=-d pidfile=/var/run/${name}.pid load_rc_config $name run_rc_command $1 -- /etc/rc.conf has zebra_enable=yes However it only starts zebra when I execute it manually from command line. When I boot freebsd, it executes and I see message in boot screen that zebra is starting, but on login I find zebra isn't running. all files in /usr/local/sbin/ for zebra executables are owned by quagga/quagga user/group. Once I get this working, I will ofcourse add scripts for ospfd and bgpd and isisd.. but it beats me why this isn't working... This is on freebsd 6.2 RC1 i386. Thanks very much in advance for your help... PS: Please CC me as I am not subscribed. First, I presume you mean to say that you put the script in the '/usr/local/etc/rc.d/' directory and not just /etc/rc.d Secondly, my most frequent error is error with these is to forget to make them executable. If the script does not have execute permission, it is ignored. jerry ___ Sorry to butt in ... butt You came from linux, no? The reason to put it in /usr/local/etc/rc.d instead of /etc/rc.d is because everyting in /etc is managed by the OS. Everything in /usr/local is managed by you. This is not of particular concern if you intend to just play with the OS and never commit to it ... let alone upgrade it, or use it in a production environment. If you don't intend to use it in a production environment then put anything you want into /etc. But if you plan to use the OS the way it was intended, then you will understand how an upgrade, and mergemaster, will take days instead of hours, because you've monkeyed with stuff in /etc Pretend it's Windows. Now ask yourself, do I really need to put this file into C:\Windows\System32? Clearly the answer is ... WHAT ARE YOU DOING COMPARING THIS TO WINDOWS But, clearly, I digress :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I see security logs without turning on sendmail?
On Tuesday 05 December 2006 21:49, Wasp King wrote: is there a way that one can specify a log place to see daily logs like you receive from [EMAIL PROTECTED], when sendmail is turned on? there must be a way to enable only local mail delivery...but I am not sure how.. would like to shut down sendmail but want to see security logs. thanks. Zach using FreeBSD 4.2 and sendmail 8.x (maybe). ___ IIRC, sendmail has three controlling values in /etc/rc.conf: sendmail_enable=YES sendmail_enable=NO and sendmail_enable=NONE The third value, NONE, causes the boot process to ignore any attempt to start sendmail. The second value, NO, causes the boot process to start sendmail for local delivery, only (i.e. do NOT accept inbound connections from external hosts). The first value, YES, causes the boot process to start sendmail for outgoing and incoming SMTP connections. There are many tweaks that you can use in /etc/rc.conf - (refer to /etc/defaults/rc.conf) - that will allow various flavors of sendmail usage. See also, /etc/rc.sendmail. In your case sendmail_enable=NO should allow the local system to send periodic information to [EMAIL PROTECTED], or whatever alias you use in /etc/mail/aliases, while disallowing external hosts from sending email by way of the local host. Note that this requires that you pay heed to /etc/mail/Makefile and associated README documentation in /usr/src/contrib/sendmail and below. Best of luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cant able to telnet the freebsd system
On Tuesday 05 December 2006 23:01, [EMAIL PROTECTED] wrote: Hi Team I put entry in /etc/rc.conf as inetd_enable=YES and after that /etc/inetd.conf I uncomment the telnet line to activate the telnet server then restarted the telnet service /etc/rc.d/inetd restart and it get restarted but I couldnt able to telnet the server both locally or remote Regards Ratheesh ___ The way to do this live (i.e. without rebooting) is ls -al | grep inetd take note othe number, such as: 697 ?? Is 0:00.01 /usr/sbin/inetd -wW -C 60 Then kill -HUP 697 This will restart inetd and anything that it manages for you, such as telnet, ftp, or whatever. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network interface status
On Monday 04 December 2006 14:23, Beni wrote: Hi, Every day, Charly Root sends me an email with the Daily Run Output. In it is a section Network interface status who regroups per interface the traffic. What do i launch (manually) to get those results (not especially by mail but on screen is fine) ? Thanks, Beni. Beni, Check out man periodic The job is scheduled in /etc/crontab, or you can run it manually with periodic daily Check out /etc/defaults/periodic.conf to see what veriables you can use to increase or decrease the output. But make sure you follow the warnings at top and put your modifications in /etc/rc.conf lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duo core enable/support help.
On Monday 04 December 2006 18:40, Marwan Sultan wrote: Hello Gurus, I just had Intel 102, duo core, fresh freebsd 6.1r installed. but i have been told that i have to enable duo core thing in kernel what should i have there? only options SMP ? what about the /usr/src/sys/i386/conf/SMP file? shall i copy the options to MYKERNEL ? in shortwords what should i do to enable duo core and fix my bugs, here is the dmesg output, with lot of thanks. Marwan, First read /usr/src/UPDATING. Really. No, really. I mean read it :) And, since no one expects you to really, really read it, I'll give you some shortcuts. First, look for the word KERNCONF in /usr/src/UPDATING Read all of the language around every occurence of that word (KERNCONF). Then, when you are ready, do this: make buildkernel KERNCONF=SMP make installkernel KERNCONF=SMP Then reboot. Note here that I'm giving you the shortest possible route, which may be problematic for you. You really must become familiar with /usr/src/UPDATING. Anyway, after the reboot, you should type: cat /var/log/messages | grep -i launch if you see the terms CPU1 Launched! then you've got yourself an SMP kernel. Good Luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (repost) cannot read windows share
On Monday 04 December 2006 19:34, 张韡武 wrote: This is a re-post, I am getting desperate because my work require me to connect to this share and my colleague can mount the share on Debian. I will have to move to install Debian if I wish to go on working... But I am already used to my BSD. It's too strange to move to another OS for such a tiny problem! Could what I mention below be a bug of FreeBSD mount_smbfs? Using FreeBSD 6.1, I can mount a windows share but the Chinese characters in folder and file names look junk text to me. Charset conversion (-E parameter of mount_smbfs) do not work at all. If I do ls(1) to a directory that has Chinese character in its name, the process 'ls' will take about 80% CPU resource and hang there forever. Ctrl+C cannot stop it (kill -KILL can). If I run other command that read any file in the directory that has Chinese character in its name, that application hangs there taking about 80% CPU resource too. This process is better illustrated with this screenshot: gopher://sdf.lonestar.org/I/users/weiwu/mount_chinese_smbshare.png In the screenshot, I do have mounted the share with -E parameter which should convert GB18030 folder names to UTF-8 but actually no conversion is done (see the ls | iconv which shows what it should be looking like if the conversion is done) Actually I have never successfully done charset conversion with mount_smbfs, what did I do wrong? weiwu, One thing comes to mind: Try your question here: http://us1.samba.org/samba/docs/FAQ/ and here: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/ and here: http://us1.samba.org/samba/archives.html and here: https://lists.samba.org/mailman/ Your question is specific to samba, and probably not related to FreeBSD-specific issues. lane P.S. I note that the hosts in the links above are mostly us1. That's probably something to do with the language specification on my system, but may be different for you. Check out www.samba.org for better links. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on batch email sending
On Thursday 30 November 2006 11:05, David Banning wrote: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? ___ If you are using sendmail you might just alias the mailbox to the user. That way the messages get forwarded to the user upon arrival, rather than on a schedule or with manual intervention. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
On Thursday 30 November 2006 12:55, Wasp King wrote: 1. How do I stop others from port scanning a server? 2. is stopping the response to pinging enough? 3. how to do I stop the server from responding to pinging? Running FreeBSD 4.2 and 6.1. I changed the /etc/rc.network file to NO for broadcast ping responses, and this did not work (still responding to ping) when I rebooted: case ${icmp_bmcastecho} in [Yy][Ee][Ss]) echo -n ' broadcast ping responses=NO' sysctl net.inet.icmp.bmcastecho=1 /dev/null Wasp, Check out /usr/ports/security/portsentry to reject portscan attempts. By default it uses /etc/hosts.deny, which is deprecated. But you can configure it to run a command (KILL_ROUTE in portsentry.conf) to do just about anything you want. My KILL_ROUTE command is a perl script that sends syslog entries to /var/log/auth.log, which are intercepted by /usr/ports/security/sshit to only temporarily block an offending ip using ipfw. It also sends an email notification at the time of the attempt, so I can be sure to keep an eye on the trouble-maker. BTW: I think to completely block ping/traceroute you would add an ipfw rule like: ipfw add drop icmp from any to any in via $eternal_nic But that may introduce complications I'm unaware of ... lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command to dump firewall rules to be persistent across reboots.
On Wednesday 29 November 2006 13:38, Dan Mahoney, System Admin wrote: Hey all, I'm experimenting with ipfw as means of controlling some interesting anomalies like with portsenty or some ssh anti-brute-force scripts (i.e. adding bad hosts to tables, adding deny rules for certain hosts, etc), and I was wondering if there was (either in the form of a script, or a builtin command I can't find) some way to just dump all the ipfw data (pipes, queues, tables, etc) to a single file to be re-read on boot? I'd be willing to try and write something like this if it doesn't already exist, but I'm rather surprised it doesn't. -Dan Mahoney -- A single death is a tragedy. A million deaths is a statistic. -Josef Stalin, As quoted on the cover to Savatage's Dead Winter Dead Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- Dan, Take a look at man rc.shutdown I don't know if it's exactly what you want, but there may be another way: Write a script in /usr/local/etc/rc.d that responds to the start and stop parameters. In the stop section you can output ipfw list to a file. Then in the start section you can read that file and run each line, essentially unmodified, agains ipfw. good luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW: delete range of rules?
On Wednesday 29 November 2006 13:55, Dan Mahoney, System Admin wrote: Hey all, the ipfw man page says rules can be deleted individually or in groups, but I don't see (other than the sets) an easy way to craft deletion of rules in a range (for example, 500-550). As the system I'm using crafts client rules by client numbers, this is a kinda useful feature, is it available somewhere? -Dan -- There is no right and wrong, there is only fun and boring. -Fisher Stevens, Hackers Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Dan, I think the group is a reference to a set (0-31). Although I could be mistaken. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW: delete range of rules?
On Wednesday 29 November 2006 13:55, Dan Mahoney, System Admin wrote: Hey all, the ipfw man page says rules can be deleted individually or in groups, but I don't see (other than the sets) an easy way to craft deletion of rules in a range (for example, 500-550). As the system I'm using crafts client rules by client numbers, this is a kinda useful feature, is it available somewhere? -Dan -- There is no right and wrong, there is only fun and boring. -Fisher Stevens, Hackers Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ Whoops! I see that you *can* delete multiple rules like this: ipfw delete 5150 5200 5300 lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggested Books Guides on small bisiness LAN with FreeBSD
On Wednesday 29 November 2006 14:52, [EMAIL PROTECTED] wrote: Hi Guys, I'm looking for advice or suggestions on how to [re]design a small business network with FreeBSD. I know that's a pretty broad topic -- I'm not looking for a simple answer, so much as reference materials. Background: for over 5 years we've had our business running with a few FreeBSD servers. An external Internet connected box serves smtp, imap, http, ftp, dns (external and LAN internal) and http-proxy. Another server (on LAN behind NAT router) has Samba file print services, lpd and some other things. I guess what I'm looking for is best practice suggestions for configuring all this optimally. Problems we have currently include DNS -- if the Internet connection goes down, the server chokes, and we can't even get internal DNS. And security issues, eg: should the email accounts reside on an Internet-exposed server? O'Reilly sells Windows to Linux Migration Toolkit which sounds like some of what I'm looking for, except that it's for Linux -- but I've dabbled with that kludge enough to probably apply the concepts to FreeBSD ;) Any other suggestions on good books, web sites, etc? -Wayne B. Wayne, If you've been using FreeBSD in production for five years, you are probably well beyond any O'Reilley offering, imho. We can all benefit by (yet) another look at man topic, and that's probably gonna be your most productive resource, since it will allow you to address your specific issues without having to read any ol' dumbed-down version of the documentation :) As for DNS issues, my thought is that if your external DNS server works then leave it alone and implement a separate internal DNS server to handle your internal traffic. Just start with the same configuration you have on external and tweak it as needed. It doesn't have to be authoritative. Also you are likely also running DHCP, which I'd recommend you move from your external DNS server to the new internal DNS server (if that is your current setup). Usually 2 cents, but free for you! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd doesm't see my script on boot
On Monday 27 November 2006 10:30, Gregory Edigarov wrote: Hello, Everybody Well, here is what I am doing: ls -l /usr/local/etc/rc.d total 30 -r-xr-xr-x 1 root wheel 4744 Nov 13 11:38 apache22 -r-xr-xr-x 1 root wheel 673 Nov 13 14:27 clamav-clamd -r-xr-xr-x 1 root wheel 722 Nov 13 14:27 clamav-freshclam -r-xr-xr-x 1 root wheel 1057 Nov 13 14:27 clamav-milter -r-xr-xr-x 1 root wheel 1254 Nov 13 13:01 gnugk -r-xr-xr-x 1 root wheel 198 Nov 15 01:17 l2tpd -r-xr-xr-x 1 root wheel 196 Nov 14 12:35 popa3d -r-xr-xr-x 1 root wheel 1642 Nov 13 11:19 quagga -r-xr-xr-x 1 root wheel 4371 Nov 13 14:00 samba -r-xr-xr-x 1 root wheel 1324 Nov 14 15:20 squid -r-xr-xr-x 1 root wheel 564 Nov 13 11:19 watchquagga cat /usr/local/etc/rc.d/l2tpd #!/bin/sh #PROVIDE l2tpd #REQUIRE NETWORKING . /etc/rc.subr name=l2tpd rcvar=`set_rcvar` command=/usr/local/sbin/${name} flags= echo l2tp debug load_rc_config $name run_rc_command $1 in rc.conf: l2tpd_enable=YES Then after reboot: ps ax | grep l2tpd 667 v1 RL+0:00.00 grep l2tpd i.e no l2tpd has been started. no messages on console, either. My script just got silently skipped, all other services are starting up fine. What's wrong? Maybe l2tpd is failing after initialization? Do you see l2tp debug during local package initialization section of boot? Try this: /etc/rc.d/localpkg restart does it show up? Does anything show up? Can you run it manually? If not then it might be that l2tp is silently failing during initialization. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd doesm't see my script on boot
On Monday 27 November 2006 11:02, Jerry McAllister wrote: On Mon, Nov 27, 2006 at 06:30:43PM +0200, Gregory Edigarov wrote: Hello, Everybody Well, here is what I am doing: ls -l /usr/local/etc/rc.d total 30 -r-xr-xr-x 1 root wheel 4744 Nov 13 11:38 apache22 -r-xr-xr-x 1 root wheel 673 Nov 13 14:27 clamav-clamd -r-xr-xr-x 1 root wheel 722 Nov 13 14:27 clamav-freshclam -r-xr-xr-x 1 root wheel 1057 Nov 13 14:27 clamav-milter -r-xr-xr-x 1 root wheel 1254 Nov 13 13:01 gnugk -r-xr-xr-x 1 root wheel 198 Nov 15 01:17 l2tpd -r-xr-xr-x 1 root wheel 196 Nov 14 12:35 popa3d -r-xr-xr-x 1 root wheel 1642 Nov 13 11:19 quagga -r-xr-xr-x 1 root wheel 4371 Nov 13 14:00 samba -r-xr-xr-x 1 root wheel 1324 Nov 14 15:20 squid -r-xr-xr-x 1 root wheel 564 Nov 13 11:19 watchquagga Doesn't the name need to end in '.sh' to be recognized and run from rc.d? It used to be that way anyway and I haven't noticed that it has changed. Try changing the name to l2tpd.sh -- and leave it executable, of course. jerry cat /usr/local/etc/rc.d/l2tpd #!/bin/sh #PROVIDE l2tpd #REQUIRE NETWORKING . /etc/rc.subr name=l2tpd rcvar=`set_rcvar` command=/usr/local/sbin/${name} flags= echo l2tp debug load_rc_config $name run_rc_command $1 in rc.conf: l2tpd_enable=YES Then after reboot: ps ax | grep l2tpd 667 v1 RL+0:00.00 grep l2tpd i.e no l2tpd has been started. no messages on console, either. My script just got silently skipped, all other services are starting up fine. What's wrong? -- With best regards, Gregory Edigarov I think it changed in 6.X. 6.1 still recognizes the .sh extension, but it will also execute scripts in /usr/local/etc/rc.d that DON'T have the extension. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with https in konqueror
On Monday 27 November 2006 11:41, Mario Lobo wrote: Hi there; Everything was working fine. Then I did a portupgrade -Rrv on KDE. At first, everything seemed fine but everytime I tried to start an https conecction I get this: An error occurred while loading https://www.whatever.com.br: The process for the https://www.whatever.com.br protocol died unexpectedly. This happens with ANY https connection. I went through the settings and experimented including/taking away options on the ssl settings to no effect. Opera and firefox have no problem with ssl. Only Konqueror. As a side effect of this (i believe), Kopette stopped working too. I prefer using konqueror because of the integration to kde printing system. Anybody has a clue? I am beginning to believe that portupgrade is only for small stuff. I never had any glitches (and never had to wait for 2 days) when I upgraded by simply saving all my settings on a CD, downloaded the new ISO, install everything, and get the settings back in. Thanks, UGH! Just went through it yesterday! rebuild and reinstall /usr/ports/x11/kdelibs3 and it should work. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cleaning out log files?
On Sunday 26 November 2006 12:37, Oliver Iberien wrote: I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Oliver, Take a look at /etc/newsyslog.conf as it is designed just for rotating and removing log files lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd desktop | mozilla
On Friday 24 November 2006 17:41, probsd org wrote: I'm a long time proponent of FreeBSD as a server. For a long time I've really wanted a FreeBSD system as a desktop. So, I decided to install the FreeBSD 6.2 and compile xorg, gnome, mozilla, etc... to give it a whirl. For anyone reading this, who wants the same thing. DO NOT DO IT. Nothing works. java is borked, mozilla and firefox are borked, gnome is ify ugh. Just dont do it. As a server, I highly recommend it... but it isn't ready for the desktop. Just out of curiosity, what version of FreeBSD started you as a proponent? Is long-time more than, say, six months? Long enough to know how to compile a kernel? Long enough to have used portupgrade? I've been using FreeBSD productively for various combinations of server and desktop solutions since 3.4-RELEASE. I'm glad to say that I cannot claim to never having problems with FreeBSD. If that were true then I think I would never have learned anything. Thankfully the learning curve is steep, and never seems to quite level out. While I'll admit that the desktop features supported by FreeBSD are sometimes lacking, I recognize that FreeBSD does not itself provide a desktop interface. Thus for desktop issues I turn to X.org, KDE.org, or whatever project handles the feature I'm interested in. If you are actually interested in using FreeBSD on your desktop then maybe you don't know how to start. Try this: send a question to [EMAIL PROTECTED] If this is what you feel you've done with the subject line freebsd desktop | mozilla then ... maybe you could rephrase the question. Something like when I type 'mozilla' I get the error message 'BORKED!' would be a little more helpful. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make config
On Friday 24 November 2006 17:16, Michael P. Soulier wrote: Hello, When I type make config for a port and set some options, where are they stored? Thanks, Mike Mike, Check out /var/db/portname/options lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make config
On Friday 24 November 2006 17:16, Michael P. Soulier wrote: Hello, When I type make config for a port and set some options, where are they stored? Thanks, Mike Whoops! Thats /var/db/ports/portname/options lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network Setup Question
On Friday 10 November 2006 21:56, Doug Hardie wrote: On Nov 10, 2006, at 19:34, Jonathan Horne wrote: On Friday 10 November 2006 19:17, Doug Hardie wrote: I have a bit of an unusual network setup situation. I have a machine that is only used to store backups. It gets moved around to different locations occasionally so it has to be able to live on a 192.168.1.x or a 10.0.1.x network without reconfiguration. I also need a fixed last address byte so I can connect to it remotely. I initially set it up with DHCP and then used an alias for the .250 address on both networks. That worked, but caused problems for the local network in one location. The particular user couldn't understand why sometimes his computer got different IP addresses. So I tried to establish the 192.168.1.250 as the primary address and added an alias of 10.0.1.250. That works in both environments except that there is no default route. Is there a way to negotiate just a default route via DHCP and not an IP address? or is there a way to set the default route based on which IP address is in use? Thanks. ___ dhclient.conf can get pretty granular as to exactly what you want from your DHCP server. myself, i use it to get everything, but to ignore the domain search mine tries to provide. man dhclient.conf and you will see tons of options (and some really good examples too). There are lots of options all right, but I couldn't find anything that would cause it not to negotiate the IP address. All of the other options are configurable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Doug, I'm no expert, but it seems to me that your requirements are a little too optimistic. If I understand correctly, you want this machine to be able to connect to multiple heterogenous networks, and always get the same last byte for its ip. The only way to do that reliably, in my mind, is to have each dhcp server on each network assign a static address based upon the MAC address of your computer. If you do not have access to the DHCP server configuration on a particular network then you must manually configure the nic. Assuming that you know the universe of networks that you will connect to ... say 3 or 300 possible networks ... then you could write a script in /usr/local/etc/rc.d to test various network configs ... but you might be better off just manually configuring the nic and moving on, as you cannot guarantee that the terminal byte of the ip will be available on any given network. IP just doesn't work that way. I'd be interested in any solution you may scare up, as I am faced with a similar situation. My solution is to just use static assignment, with an identifiable NETBIOS name in Samba. Good Luck lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TV capture card
On Thursday 09 November 2006 20:58, Norberto Meijome wrote: On Thu, 9 Nov 2006 14:46:51 -0500 Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, can anyone suggest a TV capture card that works well under freebsd/6.1/amd64? I read something on the handbook, but would like to have some input from the real experience...thanks!! a bunch!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hey Tsu-Fan , if u get no answers in questions@, ask in multimedia@ _ {Beto|Norberto|Numard} Meijome Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read. Groucho Marx I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ Hey, Tsu-fan. Is that Troy State University? No matter. I've used the Happahauge PVR-250 with MythTV on 5.4-STABLE with great success. I concur with Norberto, the freebsd-multimedia group is the place for detailed information. But keep your subscription to -questions active, too. sooner or later your questions are our questions :) lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem compiling kernel under FreeBSD 6.1-RELEASE
Hello, I am attempting to recompile my kernel, so I made a modified version of the GENERIC kernel configuration (included below), and attempted a recompile. I've tried both the Old and New compilation methods mentioned in the handbook. Both of them die, telling me that they have an undefined reference to several items that appear to be defined in files in the /usr/src/sys/netgraph directory (exact info below). I tried the experiment of building the unmodified GENERIC kernel configuration, which works, so I must have fouled something up in my configuration file, but I have no idea what. I'm hoping one of you experts out there might just know what I did from looking at it. ;) My system is an old, but not ancient IBM Thinkpad laptop with a Pentium 4. I didn't build it myself, so I'm not exactly certain what all the hardware in it is, but it has a built-in CD/DVD-ROM drive, two mouse-substitutes, built-in ethernet, serial, parallel, USB, and PS/2 ports, a built-in sound-card of some sort, and a PCMCIA wireless ethernet card which sadly is incompatible at the moment. I believe the graphics card is some flavor of ATI Radeon, though I don't know an immediate way to check that without resorting to Micro$#!+. Any help is appreciated. Thanks, TRL Error messages: --- MAKE=make sh /usr/src/sys/conf/newvers.sh FIFTHREALM cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel udbp.o(.text+0x108): In function `udbp_detach': : undefined reference to `ng_rmnode_self' udbp.o(.text+0x11b): In function `udbp_detach': : undefined reference to `ng_unref_node' udbp.o(.text+0x487): In function `udbp_attach': : undefined reference to `ng_newtype' udbp.o(.text+0x4a4): In function `udbp_attach': : undefined reference to `ng_make_node_common' udbp.o(.text+0x4de): In function `udbp_attach': : undefined reference to `ng_name_node' udbp.o(.text+0x5bd): In function `udbp_attach': : undefined reference to `ng_unref_node' udbp.o(.text+0x621): In function `udbp_in_transfer_cb': : undefined reference to `ng_package_data' udbp.o(.text+0x637): In function `udbp_in_transfer_cb': : undefined reference to `ng_address_hook' udbp.o(.text+0x646): In function `udbp_in_transfer_cb': : undefined reference to `ng_snd_item' udbp.o(.text+0x8cd): In function `ng_udbp_rcvmsg': : undefined reference to `ng_free_item' udbp.o(.text+0x8d7): In function `ng_udbp_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0x90b): In function `ng_udbp_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' udbp.o(.text+0x98e): In function `ng_udbp_rcvmsg': : undefined reference to `ng_address_ID' udbp.o(.text+0x99d): In function `ng_udbp_rcvmsg': : undefined reference to `ng_snd_item' udbp.o(.text+0x9c6): In function `ng_udbp_rcvmsg': : undefined reference to `ng_free_item' udbp.o(.text+0x9f6): In function `ng_udbp_rcvdata': : undefined reference to `ng_free_item' udbp.o(.text+0xc34): In function `ng_udbp_rmnode': : undefined reference to `ng_unref_node' udbp.o(.text+0xc42): In function `ng_udbp_rmnode': : undefined reference to `ng_make_node_common' udbp.o(.text+0xc79): In function `ng_udbp_rmnode': : undefined reference to `ng_name_node' udbp.o(.text+0xce0): In function `ng_udbp_rmnode': : undefined reference to `ng_unref_node' udbp.o(.text+0xd36): In function `ng_udbp_disconnect': : undefined reference to `ng_rmnode_self' udbp.o(.rodata+0x20): undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x3c): undefined reference to `ng_parse_struct_type' udbp.o(.rodata+0x64): undefined reference to `ng_parse_int32_type' udbp.o(.rodata+0x70): undefined reference to `ng_parse_int32_type' *** Error code 1 Stop in /usr/obj/usr/src/sys/FIFTHREALM. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --- Kernel Configuration File: --- # # FIFTHREALM -- Modified kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # #
Re: Trouble-shooting Cron Problems FreeBSD5.4
On Tuesday 31 October 2006 12:08, Martin McCormick wrote: After building a new FreeBSD5.4 system, I have done something bad to it. When cron runs jobs in /etc/crontab as operator, it seems as if that 6TH field in /etc/crontab is being interpreted as a command rather than the user ID it is supposed to run under. I keep getting messages like: From:[EMAIL PROTECTED] (Cron Daemon) Subject: Cron [EMAIL PROTECTED] rootnewsyslog root: not found Comparing this system with another properly-functioning 5.4 system has, as of yet, shown nothing unusual. If I become root and manually run the job in question, it runs without a complaint. The crontab file on the problem system is an exact copy of the crontab file on the working system. Both crons appear to be running with the same flags as in 465 ?? Ss 3:24.39 /usr/sbin/cron -s Any suggestions as to what I should look at next? Both systems' crons are showing the same environments if I make them run the env command. Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list Martin, Post the offending line or even all of /etc/crontab lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports maintainer
On Tuesday 31 October 2006 21:33, Robert Huff wrote: Kevin Brunelle writes: On Tuesday 31 October 2006 21:43, Miguel Vazquez Gocobachi wrote: I am interesting to be a ports maintainer for FreeBSD project. What need I do? Find a port that needs a maintainer and take over it or find a program not in ports and bring it in. There are many ports that need people to maintain them. Subscribe to the ports mailing list and you'll see occasional posts about ports which are unmaintained and broken. I'll get a jump on the process, and nominate www/linuxpluginwrapper. Robert Huff I second that! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: A Sleeping FreeBSD Box.
On Monday 30 October 2006 03:54, nicky wrote: Hello all, I've got a 'weird' problem and i hope someone get point me in the right direction to a proper solution. Somehow, i have no idea why, but my production server falls asleep. It has happened twice now in the last week. When 'sleeping' the box doesn't respond to any outside network related communication, like pinging, etc. However, when i login through the console. It comes alive and responds to everything again, just like normal. It even continues processes that were running before it fell 'asleep', which is why i assume they are suspended during nap time. The server has been up and running since August, never had any problems with it before. I've checked all logs etc, so far i can't see anything as to why it would fall asleep. I figured that even if there is such a thing as hibernation on FreeBSD it would turn up in a log, but i've not seen it so far. Does anyone have any idea's/hints on where to look?? FreeBSD version is 6-Stable. Greetz, Nick Nick, check out man acpi there are some tunables that you can put in /etc/sysctl.conf to turn off certain power management items during boot. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on my screen resolution
On Sunday 29 October 2006 19:37, Sherry Zhang wrote: Hello everyone: I am running freebsd 6.1 release on my Dell 6400 laptop computer. It has a 1280x800 wide-screen resolution. The video card I use is ATI Radeon Mobility X1300. But I failed to adjust the screen resolution. I follow the instructions in the FreeBSD handbook, but failed. First I add 1280x800 into Modes, but still 1024x768 Later I add Virtual 1280 800 just after the Modes, X mass up the screen, I can not see anything. Last, I run gtf and get a ModeLine, and added into the xorg.conf, and also use Modes 1280x800, and again it display in 1024x768. The drive I use is vesa because when I use radeon or ati, I cannot get into X. it says glx not found or something and guess ati or radeon driver does not support my X1300 video card. can anyone gives me a hint? thx. Sherry Zhang Sherry, This is probably an xorg issue, not freebsd-specific. But send a copy of /var/log/Xorg.0.log, just for giggles. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's -STABLE?
Hey, ya'll! I'm trying to help a guy with a dial-up connection upgrade/update to 6.X, or even 5.X. He's on 4.2 and we can't seem to get cvsup to install, nor can he get the whole ball-o-wax download from /usr/ports/etc/etc/ports/ports.tgz So I'm thinking he should use sysinstall to do an upgrade. I figure he should go to options and set the Release Name, and then just do an install. But I don't know what is the current Release Name for stable. I tried 6.1-RELEASE on my system, but that failed. Could one of ya'll who has recently (like in the last several days, or weeks) downloaded and installed FreeBSD tell me what your options menu says in Release Name from sysinstall? Thanks. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dhcpd conf error
On Sunday 29 October 2006 22:35, Warren Liddell wrote: When loading the dhcpd i get an error with the static IP addressing via mac address's with the following.. attached isa copy of my conf file .. any an all help apprecviated. === /usr/local/etc/dhcpd.conf line 16: expecting a parameter or declaration hardware ethernet mac address; ^ /usr/local/etc/dhcpd.conf line 24: expecting a parameter or declaration hardware ethernet mac address; ^ Just guessing, here: Does line 16 of /usr/local/etc/dhcpd.conf contain the text mac address? 'Cause if it does then that's a problem. To diagnose dhcpd config issues you'd really need to post the dhcpd.conf file. But you might save us all some headache if you rtfm. start with man dhcpd.conf then man dhcpd Contact me directly if these pointers don't lead you to a resolution. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: packet loss to firewall while Internet link is down
On Saturday 28 October 2006 17:41, D G Teed wrote: Hi all, When the Internet link goes down, ssh refuses to allow connection from within the LAN to our BSD firewall/gateway. An existing ssh connection might stay up, but be very sluggish. We run our own DNS, so that can't be the reason for timeouts. When the Internet is down, the CPU load factor on the FreeBSD firewall is low, but the number of TCP packets that can't get past the first hop is likely high, which might cause some sort of congestion on the machine. The console is very responsive. mtr to any point on the local LAN from the firewall sees 50 to 80% packet loss. However, there is no packet loss between other machines on the lan and our network guy says the router port and cable check out fine. There are no console error messages providing a clue. netstat -m shows the mb_map is about 26% in use while the Internet is down. The machine in question is FreeBSD 4.11, running ipfw and acting as a gateway (not NAT). Once the Internet comes back up, ssh in works, and ssh sessions are very responsive again. Is there some kernel variable I can tweak, or some tests I can try the next time the Internet goes down and the gateway/firewall drop packets on connections to our LAN? Our operations manager is a Windows guy, and every time he can't ssh in, he thinks the firewall needs a reboot, when the real problem is that the Internet is down and there is something we need to tweak to make it better able to survive local LAN traffic. --Donald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have the same problem, but I just thought it was nat somehow interfering. I've set up a local web server on my router/gateway that lets me do things like check the status of ppp, or view /var/log/messages, and even reboot the server. When I can't get in via ssh (i.e. when the public internet connection is down) the web server, samba server, DHCP server, DNS server, ftp server, and everything else still responds normally. It's no answer, but what I did was allow telnet connections via the internal nic, because even telnet is unaffected. Only ssh causes me a problem. I'm interested in the answer to this one. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to get fetch expat-2.0.0._1 from selected media
On Saturday 28 October 2006 19:15, Matthew Pope wrote: Addendum (clarification) to my question: - When I boot from the Hard disk, and start /stand/sysinstall with FTP1 as the source (since CDROM as source doesn't work), when the Xorg packages are attempted to be added, the download from the FTP server completes but at the end a quick error messages flashes, and then in its place a message is emitted: add of package expat-2.0.0_1 aborted, error code 1 - Please check the debug screen for more info. The same message is repeated for these libraries: perl-5.8.8 xorg-manpages-6.9.0 xorg-documents-6.9.0 xorg-fonts-encodings-6.9.0_1 Thanks, Matthew P.S. Where is the debug screen? Matthew Pope wrote: Environment: FreeBSD 6.1 (p10) Release Asus motherboard on Intel P4 IDE drives Realtek network adaptor chipset (no problems so far with that) ATAPI CDROM/writer Behind firewall. (no problems so far with that) Hello, I'd like to add the xorg distribution set to my existing FreeBSD system recently upgraded to release 6.1. A) When I boot from the Hard disk and attempt to load the distribution from the CD-ROM (Disk 0 as requested), I get: unable to get packages/INDEX file from selected media B) When I boot from either the hard disk, or the CD-ROM, and try to source xorg from a FreeBSD FTP server, I get: unable to fetch expat-2.0.0_1 from selected media C) I've noted through trial and error that when booting from the Hard disk, I need to remove the -p10 from the release name in the options screen or it will reject all FTP servers as not being able to source for my distribution. This is ephemeral and not related to my question, more a bug report actually. Any ideas on what I'm doing wrong, or a debug path would be helpful. Thanks, Matthew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Matthew, I think you could probably shortcut some of this by doing: portinstall x11/xorg after logging in as root if you get: portinstall: Command not found then do this: cd /usr/ports/sysutils/portupgrade make all install rehash Then retry portinstall x11/xorg email me if that doesn't work for you lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports collection issue
On Friday 27 October 2006 07:16, Roger 'Rocky' Vetterberg wrote: Lane wrote: Adrian, Use /usr/ports/net/cvsup-without-gui and create a cvsupfile. You can then selectively install src-all, src-contrib, ports-all and any of the various ports sub-trees that you need (but stick with ports-all). cvsup will get the proper Makefiles and whatnot for you. Email me if you need help setting that up. lane I would recommend using csup instead of cvsup. It has fewer dependencies, is very lightweight and works very well if you just want to occasionally checkout ports or src. I believe that csup is also part of the basesystem in newer releases. -- R OMG! I totally missed csup. Thanks for the tip! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade 4.2-?
On Friday 27 October 2006 10:05, opbc wrote: Greetings to all, Could someone please tell me how to upgrade my venerable 4.2 to the newer and cooler version(s)? Lane? Z. Wade Hampton Sheridan, Montana UNIX PINE 4.21 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Wade, It just occurred to me that you may only be talking about pine when you talk about upgrading. Is this the case? Previously I thought you were referring to the kernel version. Please clarify. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to know what DNS server is being used
On Friday 27 October 2006 21:56, David Banning wrote: On my registrars site I have two DNS servers listing. How would I know that 1) both are working. 2) which one is being used. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Depends mostly on where you are. On server A you can check local dns resolution by doing: cat /etc/resolv.conf This should show you which servers are being queried for dns resolution. You can check the ability of server A to resolve an address by doing: nslookup www.yahoo.com If the first line says: Server: server a name Address:127.0.0.1 on the first two lines, then that means that Server A is doing its own lookups, and probably using the contents of /etc/resolv.conf for stuff it doesn't know locally. Still on server A you can check the ability of server B to resolve an address by doing: nslookup www.yahoo.com server-b-address And the top two lines will be the Server name and address of server B if server B knows how to do dns resolution. You'd have to log into server b to cat /etc/resolv.conf, probably. If you are on a Windows box you can use the nslookup address server a|b syntax to verify their abilities as well. And, of course, ipconfig /all on windows will show you who he asks for dns resolution. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports collection issue
On Thursday 26 October 2006 19:07, Rik Davis wrote: Guys, I'm a die hard freebsd user, but I am finding myself becomeing quite frustrated with why you completely pulled the 5.4 ports collection off of your ftp sites. When I try to use my /stand/sysinstall now and attempt to connect to you ftp server, I ge the error that it cannot locate the 5.4-RELEASE packages. Why would you remove a collection that is still in such high demand by those of us that have yet to upgrade our binaries to a later version? I depend on that being there, but this is not leaving a very pleasant taste in my mouth. Also, this is not the first time I have seen you do this. What am I supposed to do now that I no longer have access to those packages? Sincerely, Adrian Brooks Adrian, Use /usr/ports/net/cvsup-without-gui and create a cvsupfile. You can then selectively install src-all, src-contrib, ports-all and any of the various ports sub-trees that you need (but stick with ports-all). cvsup will get the proper Makefiles and whatnot for you. Email me if you need help setting that up. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports collection issue
On Thursday 26 October 2006 23:16, Garrett Cooper wrote: Lane wrote: On Thursday 26 October 2006 19:07, Rik Davis wrote: Guys, I'm a die hard freebsd user, but I am finding myself becomeing quite frustrated with why you completely pulled the 5.4 ports collection off of your ftp sites. When I try to use my /stand/sysinstall now and attempt to connect to you ftp server, I ge the error that it cannot locate the 5.4-RELEASE packages. Why would you remove a collection that is still in such high demand by those of us that have yet to upgrade our binaries to a later version? I depend on that being there, but this is not leaving a very pleasant taste in my mouth. Also, this is not the first time I have seen you do this. What am I supposed to do now that I no longer have access to those packages? Sincerely, Adrian Brooks Adrian, Use /usr/ports/net/cvsup-without-gui and create a cvsupfile. You can then selectively install src-all, src-contrib, ports-all and any of the various ports sub-trees that you need (but stick with ports-all). cvsup will get the proper Makefiles and whatnot for you. Email me if you need help setting that up. lane Adrian, Please note the fact that a lot of software distributors, regardless of whether you pay for the product or not, have a limited set of supported versions of their software for a reason. In this case FreeBSD did phase out their old versions of software for a reason, and that was supportability and space as Kris mentioned. So, please upgrade to the latest version of your major version fork (5.5 I believe). That is all. -Garrett Just a note for clarification: While the source and ports collection for 5.X may NOT be available using sysinstall, it should be recognized that sysinstall is really only reliable for initial installation of whatever is the current version (give or take a release or two). cvsup and portupgrade are the preferred methods for maintaining the software. Just for verification I have recently used cvsup to download the entire FreeBSD-3.4 system, including ports (That's right, 3.4). While the ports may not be tied directly to the kernel version, they are there as well. So, space considerations may be important to the maintainers, but I think they put a premium on continuity. And being able to go backward three different versions is pretty darned cool! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: altering text files.
On Thursday 26 October 2006 23:38, jekillen wrote: Hello fellow FreeBSD users; I have a technical question about text files: Is there a way to edit a text file via a script by searching and replacing small portions of a text file, instead of having to rewrite the whole file for what may be negligible alterations? I'm assuming not, but I'm not really sure. My interest is with any scripting or even compiled language, but specifically the use of php to edit files on a web server. I have created an application for a web client that allows the client to contact their site and make changes to a file that lists event date, title, location, subject. And creates a separate file for details related to each event listing. I'm concerned about allowing the client to edit the listings and detail files in the event that a mistake is made in the data entered from a event posting form. (I don't want to have to manually edit the files for them in this event) So, the idea of correcting the spelling of a word like is when it was spelled it seems over kill (to over write a whole file just to change one character). Thanks in advance; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Jeff, man sed is your friend. awk is awkward, but it may be useful as well lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup
On Wednesday 25 October 2006 07:52, eoghan wrote: Hi Trying to cvsup my ports and server is saying: Rejected by server: Access limit exceeded, try again later So im using cvsup.FreeBSD.org but have tried cvsup1.FreeBSD.org, cvsup2.FreeBSD.org and cvsup3.FreeBSD.org and get the same message... is there something wrong? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I use cvsup5.freebsd.org as the others usually return that error message when I try them (usually when I'm in a hurry). cvsup4 is fairly reliable, too. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
User mount of usb key drive ... question
I guess I don't know how to ask google and man fstab the correct way ... How can I grant a non-root user the authority to mount (and then write to) a usb key drive? Especially when said user is already up in kde? The drive works fine if root mounts it, but I'd rather not be root when I do this on my laptop. And opening a konsole window, suing and then mounting , is cumbersome. I've been looking at man devfs.rules, as this seems to be near the place I want to be. But I haven't quite fingered out a way... Ya'll don't gotta just tell me the answer, if you don't want. I'm a man man, so to speak. I'm eager to look it up myself, only I don't rightly know whereinaheck to look. Thanks, lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-update vs. make buildworld
On Wednesday 25 October 2006 19:23, Paul Schmehl wrote: --On October 26, 2006 12:52:35 AM +0200 Niek [EMAIL PROTECTED] wrote: Hi experts, Due to the recent security issue regarding openssl, I have to update a server running 6_release. I was wondering if updating using binaries using the freebsd-update utility is a viable alternative to recompiling the world. What would you recommend? It is so long as you haven't altered any of the kernel or base source files. If you have, you'll need to rebuild kernel and world. I use both methods; freebsd-update when I'm using a GENERIC kernel with no changes and the traditional method when the source has been altered, the kernel is customized or the processor is not supported under freebsd-update. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ Thanks, Paul I had a similar setup in /etc/rc.conf and /etc/devfs.rules which didn't work. I copied yours and then rebooted, but I still get operation not permitted when attempting to mount the usb drive as a non-root user. Thanks for your attention. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User mount of usb key drive ... question
On Wednesday 25 October 2006 20:07, Nicolas Blais wrote: Thanks, Paul I had a similar setup in /etc/rc.conf and /etc/devfs.rules which didn't work. I copied yours and then rebooted, but I still get operation not permitted when attempting to mount the usb drive as a non-root user. Thanks for your attention. lane Do you have this in your /etc/sysctl.conf : vfs.usermount=1 Ahhh... I just found that! Plus, apparently the user must own the mount point. It works now. Thanks again for all of your help! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: User mount of usb key drive ... question
On Wednesday 25 October 2006 20:07, Nicolas Blais wrote: Thanks, Paul I had a similar setup in /etc/rc.conf and /etc/devfs.rules which didn't work. I copied yours and then rebooted, but I still get operation not permitted when attempting to mount the usb drive as a non-root user. Thanks for your attention. lane Do you have this in your /etc/sysctl.conf : vfs.usermount=1 Ahhh... I just found that! Plus, apparently the user must own the mount point. It works now. Thanks again for all of your help! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: strange events
On Wednesday 25 October 2006 22:59, Z. Wade Hampton wrote: Greetings to all, And, please forgive me if this is a bone-head question(s). I'm running, once again after 4 years, freebsd 4.2. In KDE, with netscape or kfm I can only access my own web domain, which is www.oldpathsbaptistchurch.org No matter what else I put into the URL box and submit, it trys to find the other URLs, but then resorts back to www.oldpathsbaptistchurch.org. I must have done something wrong in initial setup/config, but after checking through lots of stuff, I see no reason for this to happen. Also, I get STOP error code 1s when I try to make lynx from the ports collection. Could someone have a little pity on this old stoner from the 60's and lend some advice? Thanks in advance, Z. Wade Hampton Sheridan, Montana UNIX PINE 4.21 Uhm, hey, old stoner! Is there any chance you could upgrade? 4.2 Rocked, but we're pushing 7.0, now. Check out /etc/resolve.conf Make sure that it references a valid upstream dns server. Check out man resolv.conf to finger out what it does. It did the same in 4.2. What happens when you do a nslookup oldpathsbaptistchurch.org from a shell? Does it tell you anything about 15111 N. Hayden Rd., Ste 160, PMB 353 in Arizona? I learned on 4.2, so I think I can help you. And please forgive me if I keep saying upgrade. But ... upgrade. I can show you how. Love and kisses! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HOWTO: run portupgrade with original options for perl5.8
Hello, I run openwebmail which wants perl compiled -DENABLE_SUIDPERL However, when I portupgrade perl, this option is apparently not reused, and openwebmail fails until I recompile perl. I note that there is no entry for perl in /var/db/ports (i.e. no options are recorded). I also note that the /options that are present for other ports contain the header: # This file is auto-generated by 'make config'. # No user-servicable parts inside! and when I run make config from /usr/ports/lang/perl5.8 I get === No options to configure So the question is: How do I get portupgrade to remember the options I used when I compiled perl? Thanks! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HOWTO: run portupgrade with original options for perl5.8
On Monday 23 October 2006 11:14, Vince wrote: Lane wrote: Hello, I run openwebmail which wants perl compiled -DENABLE_SUIDPERL However, when I portupgrade perl, this option is apparently not reused, and openwebmail fails until I recompile perl. I note that there is no entry for perl in /var/db/ports (i.e. no options are recorded). I also note that the /options that are present for other ports contain the header: # This file is auto-generated by 'make config'. # No user-servicable parts inside! and when I run make config from /usr/ports/lang/perl5.8 I get === No options to configure So the question is: How do I get portupgrade to remember the options I used when I compiled perl? the config file for portupgrade is /usr/local/etc/pkgtools.conf which contains a config line of MAKE_ARGS = { } either read the inline comments to get the idea what to add here and tune for your site or just change this to MAKE_ARGS = { 'lang/perl5.8' = 'ENABLE_SUIDPERL=YES', } To fix your issue. Vince Thanks! lane ___ 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] Zoinks! Thanks to everyone who pointed out /usr/local/etc/pkgtools.conf Sorry for the noise. I'll rtfm on pkgtools right away. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Inspiron 6400 anyone?
On Sunday 22 October 2006 01:21, Scott Bennett wrote: On Sun, 22 Oct 2006 00:06:36 -0500 Patrick Bowen [EMAIL PROTECTED] wrote: Lane wrote: Hello, I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to work. It works on WXP using the Dell WLAN drivers at http://ftp.us.dell.com/network/R115321.EXE I've followed the instructions at http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dr ivers/ but no ndis driver shows up after kldload if_ndis. ifconfig -a looks like: bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1 inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255 ether 00:15:c5:b8:03:9e media: Ethernet autoselect (100baseTX full-duplex) status: active fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 ether 32:4f:c0:9c:75:41 ch 1 dma 0 I hate to be a wet blanket, but the above is most likely not the wireless card. Did the Inspiron 6400 come with an IrDA (infrared interface)? FreeBSD seems to want to treat the IrDA as an ordinary network interface attached to the firewire controller. A Dell wireless card uses, as you noted, a Broadcom chip set, typically one for which no information has been made available to open source developers. Some of the older ones appear to work using the ndisgen/ndiscvt method. I've had no luck with that so far on an Inspiron XPS (the original model) with a Dell 1450 dual-band wireless card. I called Dell XPS tech. support yesterday to find out the path to the correct bcmwl5.inf file in Windows XP Home Ed., and they *refused* to tell me. They even seemed slightly dismayed that I'd already found the correct bcmwl5.sys file via the Windows XP device manager. After more digging around, I think I've found the correct .inf file, but have yet to find time to try running the two files through ndisgen to see what happens under 6.1. Under 5.x using ndiscvt, I got either panics during boot or else other, non-panic error messages when trying to load the .ko file. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ Thanks, Scott. You may be right about that device, although I don't remember anything about a irDa in the specs. I've found that I can kldload if_fwip.ko and device fwip0 is created. Whereas no combination bcmwl5.inf and bcmwl5.sys (so far) has ever caused ndis0 to show up (but they do love the kernel panic!). Since fwip0 is specific to ip over firewire, it may mean that the ndis route is a dead end on this particular machine. I guess I keep monkeying with it until it breaks or works ... then I'll report back :) Thanks, again lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless Inspiron 6400 anyone?
=0x02 card=0x01af1028 chip=0x170c14e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM440x 100Base-TX Fast Ethernet' class= network subclass = ethernet [EMAIL PROTECTED]:1:0: class=0x0c0010 card=0x01bd1028 chip=0x08321180 rev=0x00 hdr=0x00 vendor = 'Ricoh Co Ltd' class= serial bus subclass = FireWire [EMAIL PROTECTED]:1:1: class=0x080501 card=0x01bd1028 chip=0x08221180 rev=0x19 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'SD Bus Host Adapter' class= base peripheral [EMAIL PROTECTED]:1:2: class=0x088000 card=0x01bd1028 chip=0x08431180 rev=0x01 hdr=0x00 vendor = 'Ricoh Co Ltd' class= base peripheral [EMAIL PROTECTED]:1:3: class=0x088000 card=0x01bd1028 chip=0x05921180 rev=0x0a hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'Memory Stick Bus Host Adapter' class= base peripheral [EMAIL PROTECTED]:1:4: class=0x088000 card=0x01bd1028 chip=0x08521180 rev=0x05 hdr=0x00 vendor = 'Ricoh Co Ltd' class= base peripheral Any help is appreciated. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wireless Inspiron 6400 anyone?
On Sunday 22 October 2006 00:06, Patrick Bowen wrote: Lane wrote: Hello, I've a new inspiron 6400 running FreeBSD 6.1 and I can't get Wireless to work. It works on WXP using the Dell WLAN drivers at http://ftp.us.dell.com/network/R115321.EXE I've followed the instructions at http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-dri vers/ but no ndis driver shows up after kldload if_ndis. ifconfig -a looks like: bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1 inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255 ether 00:15:c5:b8:03:9e media: Ethernet autoselect (100baseTX full-duplex) status: active fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 ether 32:4f:c0:9c:75:41 ch 1 dma 0 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 It seems as if the fwe0 devices wants to be the wireless, as the bfe0 driver is my wired ethernet card. ...snip... Any help is appreciated. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lane; When I did the same thing for a Broadcom wireless card the resulting loadable module was named bcmwl5_sys. Did you end up with something appropriate to your .sys and .inf files? Also, the .sys and .inf files that came on the disk that came with the card either wouldn't work with ndisgen, or gave a file that didn't work with the card. I ended up using the .sys and .inf files from the Dell website that were reference in another ndis article. Good Luck. Patrick ___ Patrick, Thanks for your attention. Yes, when I tried ndisgen the file bcmwl5_sys.ko was created, but I got a kernel panic when I tried to kldload it. Do you remember the filename that you downloaded from DELL? Did you save it? Or do you have the link for the other ndis article you mentioned? What about pciconf on your system? Does it show this card and chip combination? [EMAIL PROTECTED]:0:0: class=0x028000 card=0x00071028 chip=0x431114e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' class = network Thanks, again lane If nothing else, your response tells me that I'm on the right track. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless setup FreeBSD-6.1 and fwe0
Hi! I'm running FreeBSD 6.1 on a Dell Inspiron 6400 which is configured to dual boot into Windows XP-Pro. I just got this laptop today, but I've been using Freebsd since 3.4, or earlier. When I boot into Windows I am able to access my Linksys wireless router. There is another secured wireless network nearby, and that may make a difference if you read between the lines at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html My problem is that I can't get the wireless network to function in Freebsd. Here's ifconfig -a bfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::215:c5ff:feb8:39e%bfe0 prefixlen 64 scopeid 0x1 inet 172.16.1.42 netmask 0xff00 broadcast 172.16.1.255 ether 00:15:c5:b8:03:9e media: Ethernet autoselect (100baseTX full-duplex) status: active fwe0: flags=108902BROADCAST,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU inet6 fe80::304f:c0ff:fe9c:7541%fwe0 prefixlen 64 scopeid 0x2 inet 0.0.0.0 netmask 0xff000 broadcast 255.255.255.255 ether 32:4f:c0:9c:75:41 ch 1 dma -1 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 I've googled a similar issue here: http://groups.google.com/group/lucky.freebsd.questions/browse_frm/thread/d68ec8e94a4d45f9/c513bc5b1afe7517?lnk=stq=fwe0+needsgiantrnum=3#c513bc5b1afe7517 But didn't get a resolution. The google post refers to ugen and to ural, but that looks more like an argument between different posters, rather than an answer to the original question. I have NOT modified /boot/loader.conf, but I have tried the instructions in the handbook using kldload .. to no avail dmesg has a peculiar entry: fwe0: if_start running deferred for Giant the rest of it follows. The clue, I think, is that in ifconfig fwe0 NEEDSGIANT and in dmesg, if_start is deferred for Giant. Who is this giant? How do I slay him? Based upon the google post, I am suspicious that fwe0 may not, in fact, be the actual interface. But again, that post is suspect. So I'm not sure where to go next (thank the devil for [EMAIL PROTECTED])! Thanks, lane Copyright (c) 1992-2006 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 6.1-SCANDB-2006-09-20 #0: Thu Sep 21 07:30:59 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1662.51-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6e8 Stepping = 8 Features=0xbfe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xc189SSE3,MON,EST,TM2,b14,b15 AMD Features=0x10NX Cores per package: 2 real memory = 1064120320 (1014 MB) avail memory = 1032196096 (984 MB) ACPI APIC Table: DELL M07 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: DELL M07 on motherboard Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_throttle0: ACPI CPU Throttling on cpu0 cpu1: ACPI CPU on acpi0 acpi_throttle1: ACPI CPU Throttling on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_acad0: AC Adapter on acpi0 battery0: ACPI Control Method Battery on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: display, VGA at device 2.0 (no driver attached) pci0: display at device 2.1 (no driver attached) pci0: multimedia at device 27.0 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0 pci11: ACPI PCI bus on pcib1 pci11: network at device 0.0 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 28.3 on pci0 pci12: ACPI PCI bus on pcib2 uhci0: UHCI (generic) USB controller port 0xbf80-0xbf9f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: UHCI (generic) USB controller port 0xbf60-0xbf7f irq 21 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: UHCI (generic) USB controller port 0xbf40-0xbf5f irq
Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!
On Monday 16 October 2006 01:56, Joerg Pernfuss wrote: On Sun, 15 Oct 2006 18:42:24 -0500 Lane [EMAIL PROTECTED] wrote: But still I get nothing. Perhaps mod_php is no longer available for FreeBSD 5.4? Please post the output of: `pkg_info -L php4-4.4.4` `cat /var/db/ports/php4/options` Joerg Joerg, Mark, and others: Apparently the problem is now solved. I did make deinstall from /usr/ports/lang/php4 then I lost power (meaning the computer rebooted). When the power came back on I (once again) ran make config all install from /usr/ports/lang/php4 and voila! /usr/local/libexec/libphp4.so was installed! I give up. Thanks for your interest. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multi-CPU Question
On Monday 16 October 2006 04:01, Payne wrote: Hi all, Hello I have a question. I got a box. I got a strange message... SMP: AP CPU #2 Launched! Is there a place under /proc that I can see if the first processor still working? Do I need to reboot the box, what does that message mean? Why does it happen? Thanks Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Payne, I believe CPU #x Launched! means that your SMP Kernel is working properly, has detected the multiple CPU's and has begun using them. My CPU's are numbered #0 and #1 so I get CPU #1 Launched! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multi-CPU Question
On Monday 16 October 2006 04:26, you wrote: Lane wrote: On Monday 16 October 2006 04:01, Payne wrote: Hi all, Hello I have a question. I got a box. I got a strange message... SMP: AP CPU #2 Launched! Is there a place under /proc that I can see if the first processor still working? Do I need to reboot the box, what does that message mean? Why does it happen? Thanks Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Payne, I believe CPU #x Launched! means that your SMP Kernel is working properly, has detected the multiple CPU's and has begun using them. My CPU's are numbered #0 and #1 so I get CPU #1 Launched! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Where in /proc can I see that? Payne Hmmm... I don't know that you can see it in /proc. Read man smp and follow the SEE ALSO section. mptable shows some configuration information about SMP. Also you can see activity in various CPU's with top lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!
Hi, I'm trying to install mod_php on an existing apache13 server. The original config documentation requires that this entry be added to httpd.conf: LoadModule php4_module libexec/apache/libphp4.so libphp4.so was previously built by /usr/ports/www/mod_php4 (iirc) but that port has apparently been merged into /usr/ports/lang/php4 So I compiled the port with -DAPACHE=yes and I got the pkg-message.mod message telling me to add AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps to httpd.conf However, libphp4.so was not created, nor was it installed. Nor is there any mention of libphp4.so in pkg-plist (or anywhere, as far as I can tell). So ... now the question How do I get mod_php working again? (with Apache13) Thanks, Lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!!
On Sunday 15 October 2006 18:18, Bill Moran wrote: Lane [EMAIL PROTECTED] wrote: Hi, I'm trying to install mod_php on an existing apache13 server. The original config documentation requires that this entry be added to httpd.conf: LoadModule php4_module libexec/apache/libphp4.so libphp4.so was previously built by /usr/ports/www/mod_php4 (iirc) but that port has apparently been merged into /usr/ports/lang/php4 So I compiled the port with -DAPACHE=yes and I got the pkg-message.mod message telling me to add AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps to httpd.conf However, libphp4.so was not created, nor was it installed. Nor is there any mention of libphp4.so in pkg-plist (or anywhere, as far as I can tell). So ... now the question How do I get mod_php working again? (with Apache13) cd /usr/ports/lang/php4 make config (select the Apache module from the menu) rebuild/reinstall php. Thanks, Bill. But that does not install libphp4.so. libphp4.so is not created, or if it is created it has a name OTHER than libphp4.so. After taking the steps you describe, I expect that I should get something in a directory listing such as: ls -al /usr/local/libexec/apache | grep php However nothing is listed Nor is anything listed when I do: ls -al /usr/local/libexec/apache | grep Oct 14 Apparently no new modules where added today. I thought maybe it was installed in another place, so I ran /etc/periodic/weekly/310.locate and then: locate mod_php But still I get nothing. Perhaps mod_php is no longer available for FreeBSD 5.4? lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does anyone run VNC with 64-bit FreeBSD (amd64)?
G'day everyone, I recently had to replace a disk and took the opportunity to upgrade from 5-stable to 6-stable. I also changed from the 32-bit to the 64-bit version. I have a dual Opteron server. VNC installed from ports (4.2.1) doesn't work on the 64-bit machine. The same version installed on my home machine (32-bit) with the .vnc directory copied over exactly from my work 64-bit machine runs fine. So in what sense does it fail If I create a blank .vnc/xstartup, then I get the usual grey screen. Then if I try and run X commands on that display, some work, like xsetroot -solid blue, but others, xterm, icewm, twm, etc don't. 130~/.vnc$ icewm -display :9 IceWM: using /home/xx/.icewm for private configuration files X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Value in failed request: 0x0 Serial number of failed request: 9 Current serial number in output stream: 10 131~/.vnc$ xterm -display :9 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 1 (X_CreateWindow) Value in failed request: 0x21 Serial number of failed request: 41 Current serial number in output stream: 49 If they are in the xstartup file they give the exact same errors in the vnc log file. I was only running them interactively above to troubleshoot it. Google has failed me for once, so I seek your experience and advice... Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does anyone run VNC with 64-bit FreeBSD (amd64)?
On Thu, Jun 22, 2006 at 04:04:34PM +0300, Alex Savovski [EMAIL PROTECTED] wro I have the same ,problem,But I have never run on other version,I use RELENG_6_1, AMD64 On Thu, Jun 22, 2006 at 11:29:15AM -0500, Jonathan Fosburgh [EMAIL PROTECTED] wrote: VNC (tightvnc included) as well as NXWindows (IMHO, much better than VNC) are based on old versions of XFree86 that don't support AMD64. I have had some success running the i386 package of tightvnc and starting only twm from the xstartup script. Some applications (just about anything using gtk) crash the VNC server, and some (KDE) work all right. YMMV. I have tried to make NXWindows work on amd64 but there is just too much patching that needs to be done for my meager skills. Thanks for the info. I had figured something like this. I installed the 64-bit system anticipating a future memory upgrade from the current 4GB to 8GB. However, VNC is essential for various members of my group, as is ports/devel/root (which doesn't compile on amd64) and there is some of our own (also essential) custom software which is not 64-bit clean. Since this holds up a number of people from their work and my patching skills are VERY meager, I will have to roll back to the 32-bit OS. Thanks again! Greg P.S. Yes, I should have tested more before the upgrade. I did some tests, but obviously not enough! In my defence, I was hastened by the disk dying and the need to get the machine back up and running. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]