ramdisk creation
Hello, I would like to speed up amavisd operation by allowing it to use ramdisk, so I thought I would follow the advice given here: http://www.stahl.bau.tu-bs.de/~hildeb/postfix/amavisd_tmpfs.shtml However, I just want to make sure I get the procedure right. In my case, the temp folder is /var/amavisd/tmp So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 (2) create the ramdisk mdmfs -s 512m md /var/amavids/tmp (3) mount the ramdisk mount /var/amavids/tmp Is the procedure right? I read mdmfs man and hope I am OK here. If it is OK, I guess I need to stop amavisd before creating ramdisk and mounting it, right? Thanks a lot for all feedback you can give me! -- Zbigniew Szalbot www.fairtrade.net.pl ___ 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: py25-tkinter-2.5.4_3 / 2.6.2_3
On Thu, 11 Jun 2009, Mel Flynn wrote: On Wednesday 10 June 2009 23:21:58 Pieter Donche wrote: portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3< needs updating (index has 2.6.2_3) using portupgrade -a upgrades all other ports that need upgrading, but never py25-tkinter what's wrong here? I presume you didn't build the index yourself. Setting PYTHON_DEFAULT_VERSION=python2.6 in /etc/make.conf will likely solve your problem. -- Mel Should I then first install python26-2.6.2 from the ports? Shouldn't the portupgrade have somewhere asked to install a higher version of python (as it does for e.g. perl etc..) ?? I haven't met such an upgrade, my python is pkg_info | grep python python25-2.5.4_1An interpreted object-oriented programming language ___ 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: USB flash disc
Fbsd1 said the following on 2009-06-12 05:52: Bernt Hansson wrote: Bernt Hansson: Hello list! I've got an usb flash disc kingston datatraveler DT150 64GB. That I put pcbsd on to try, and now I can't seem to get it of the stick. Tried fdisk -BI /dev/da0, dd if=/dev/zero of=/dev/da0 bs=1m and nothing seems to work. Is there a solution to this? dmesg: da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 65536MB (134217728 512 byte sectors: 255H 63S/T 8354C) GEOM_LABEL: Label for provider da0 is iso9660/PCBSD. Errors when trying fdisk: fdisk -BI /dev/da0 *** Working on device /dev/da0 *** fdisk: invalid fdisk partition table found fdisk: Geom not found: "da0" fdisk: Failed to write sector zero umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR And I also saw this error (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 Running: FreeBSD 7.2-STABLE #0: Tue Jun 9 17:04:38 CEST 2009 :/usr/obj/usr/src/sys/GENERIC amd64 Try plugging it into a windows XP system and run format on it. Already done that. No go. ___ 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"
Xorg on FreeBSD 8* i386
Aloha, I have had problems trying to install the new Xorg on Amd64 box with Nvidia card and also old trio. I see many posts of issues on this on Questions List. Can I run the new Xorg on the Amd64 with nvidia or do I have to use i386? Also is it possible to use an older version of Xorg to make a card work that was working on the older version. And can the hal setup be eliminated if it causes the video to fail? I want to try the previously working box ( was Running FreeBSD 7* ) as a desktop with 8*. Thanks for any help. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: n...@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol ___ 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"
security alert
Access denied Your internet banking has been locked due to three consecutive failures of the banking security check. To unlock your BMO internet banking, please activate your account below : [1] Unlock Your BMO Internet Banking © 2009 Bank of Montreal. References 1. http://gumballevents.com/gallery/bmo.com/BMO/BMO/BMO/BMO/BMO/BMO/BMO/BMO/bmo/index.htm ___ 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: Compiling in sound driver in kernel
Mel Flynn said the following on 2009-06-12 01:23: On Thursday 11 June 2009 12:22:04 Bernt Hansson wrote: Mel Flynn skrev: On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: Roland Smith skrev: On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: Roland Smith skrev: That doesn't help me. snd_hda driver won't load either way. I always have to load it manualy. What is the exact error message that you get? None. No error message. So the kernel now builds correctly with 'device sound' and 'device snd_hda'? It's always built, sound or no sound. Than that is weird. Because if snd_hda is built into the kernel, you should not be able to load the module. Beats me! Is there any other info you might to have? Since you're not the OP, could you post your full kernel config and dmesg of that kernel? Yes of course. Dmesg: Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda or did you forget to set KERNCONF during build/installkernel? No. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot is what I did. No snd_hda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freebsd update question
On Thu, 11 Jun 2009, Jason wrote: Hi, I have just started getting into the realm of kernel building, and I have a question in so far as upgrades. Is it possible to do a freebsd-update fetch then install, reboot, and then install again to get to the latest release you want to run? Update /usr/src with sources and build a kernel from that, and use that kernel. In general when you make an updated kernel you should rebuild and install world too. This doesn't apply to building a different (custom) kernel when world has not changed. Okay, it is often true that within major versions you can run with an updated kernel on the old world for a long time without encountering a problem, but problems from kernel-world mismatch are not extremely rare. If and when you install the sources, check the procedures in UPADATING (near the bottom) for best practices procedure. After this, assuming this is the correct path, can the same path be used to upgrade other servers, and then just plop the kernel on (same hardware.) With the above concern about kernel-world mismatch in mind, yes this is likely to work, but the best practice would be to make a release. This should work even if there is a minor, perhaps unknown, variation in hardware. I am not sure if this is the right path, but looking to understand it a little better. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: freebsd update question
Hi, Jason On Thu, Jun 11, 2009 at 8:10 PM, Jason wrote: > Hi, > > I have just started getting into the realm of kernel building, and I have a > question in so far as upgrades. > > Is it possible to do a freebsd-update fetch then install, reboot, and then > install again to get to the latest release you want to run? > Yes, this is possible. > Update /usr/src with sources and build a kernel from that, and use that > kernel. > Yep. > After this, assuming this is the correct path, can the same path be used to > upgrade other servers, and then just plop the kernel on (same hardware.) > If it is a GENERIC kernel on the other servers, you can follow the freebsd-update path mentioned above. > I am not sure if this is the right path, but looking to understand it a > little better. > If you only want binary upgrades, freebsd-update is probably your best bet. If you like pain (like most of us do), you can build from source. :) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: reference for beginner on configure/make/compile/linking/etc.
On Thursday 11 June 2009 14:09:43 Gary Gatten wrote: > It seems > COMPLETELY overly complex to me - maybe cause the developer tries to > make it as portable as possible, but with every *nix like things putting > files wherever they want, different cc's / ld's, etc. - I can see where > it can get hairy. It *is* overly complex. The original design goal of "easily create portable shell to configure and Makefiles" has long been replaced with "cruft now requiring perl, additional files for linking (.la) and overall confusion when things don't work". It is no wonder that larger projects are switching to cmake and smaller to jam/scons. That said, if the developers know what they're doing, you won't see any OS assumption in the source code (#ifdef __FreeBSD__ and similar) and you would be able to assert portability differences by grepping for '^#ifn?def[[:space:]]+HAVE_' in headers and source. Problems with configure/automake usually can be classified in the following categories: - Unhandled cases developers are not aware of: prerequisite headers or headers in different locations then are assumed. Library symbols in differently named libraries. - Attempt to figure out a prerequisite is present not directly supported by autoconf/automake then created by the developers in not so portable script. - Assumptions on struct members, number of arguments to certain functions, size of data structures, presence of symbols. - Lex/yacc/bison parser generator version problems. I've always found curl (ftp/curl) port a good example of autoconf usage. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
freebsd update question
Hi, I have just started getting into the realm of kernel building, and I have a question in so far as upgrades. Is it possible to do a freebsd-update fetch then install, reboot, and then install again to get to the latest release you want to run? Update /usr/src with sources and build a kernel from that, and use that kernel. After this, assuming this is the correct path, can the same path be used to upgrade other servers, and then just plop the kernel on (same hardware.) I am not sure if this is the right path, but looking to understand it a little better. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thursday 11 June 2009 12:22:04 Bernt Hansson wrote: > Mel Flynn skrev: > > On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: > >> Roland Smith skrev: > >>> On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: > Roland Smith skrev: > That doesn't help me. snd_hda driver won't load either way. I > always have to load it manualy. > >>> > >>> What is the exact error message that you get? > >> > >> None. No error message. > > > > So the kernel now builds correctly with 'device sound' and 'device > > snd_hda'? > > It's always built, sound or no sound. > >>> > >>> Than that is weird. Because if snd_hda is built into the kernel, you > >>> should not be able to load the module. > >> > >> Beats me! Is there any other info you might to have? > > > > Since you're not the OP, could you post your full kernel config and dmesg > > of that kernel? > > Yes of course. > > Dmesg: > > Copyright (c) 1992-2009 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 > r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC or did you forget to set KERNCONF during build/installkernel? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Authenticating users via openldap on 7.2
Hello, I had user authentication going about a year and some months back on a 6.2 box. Unfortunately that box is no longer under my control. I'm trying to duplicate what was done under 6.2. If anyone has this going can you write me offlist? Thanks. Dave. ___ 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"
reference for beginner on configure/make/compile/linking/etc.
As you may recall from a recent post I've been trying to get nTop compiled and working on Solaris 10 x86. After 40 - 60 hours (I loose track) I *THINK* it's actually working for the most part. Before certain people get pi$$ed off about this not being a Solaris list - chill for a sec! I'm just looking for some materials that can help me understand the whole configure/make/compile/linking/etc. stuff. Someone that knew this stuff could've probably resolved my issues in a few hours. It seems COMPLETELY overly complex to me - maybe cause the developer tries to make it as portable as possible, but with every *nix like things putting files wherever they want, different cc's / ld's, etc. - I can see where it can get hairy. Anyway, TIA for your input. Hopefully this experience and the references you can point me to will help the next time I try to get something onto FreeBSD! TIA! Gary "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." ___ 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: Help With rc.d Script -- SOLVED
--On Thursday, June 11, 2009 08:45:59 -0500 Drew Tomlinson wrote: The problem here is that urchinctl does not write a pid file by default and I can't figure out how to make it do so. However in reading man rc.subr, I found argument_cmd that works for me. By setting argument_cmd, I can override the default methods called by run_rc_command. Thus I set these three lines: start_cmd="/usr/local/urchin/bin/urchinctl start" stop_cmd="/usr/local/urchin/bin/urchinctl stop" status_cmd="/usr/local/urchin/bin/urchinctl status" Originally, I used "$1" instead of start, stop, and status. However this had the effect of making "restart" restart twice, once for the start method and once for the stop method because "/usr/local/urchin/bin/urchinctl restart" was being run each time. If that does work, your script should at least be able to report the status (running or not). I also had to set the procname variable to make the status method available. In my case, it didn't matter to what it was set as the urchinctl command handled the actual status reporting. I'm assuming that, because root is running the lowest numbered process, killing that process will kill all the children as well. Killing the root process killed all the urchinwebd processes but left the urchind processes hanging around. But no matter, I got things working. Drew, I'm glad you were able to get it working. There may be a way to kill the urchind processes as well. If you set procname to urchin, the rc.subr script might understand that to mean any process that begins with that string. I haven't tested it, but looking at the script (/etc/rc.subr), it appears to me to be the case. If that doesn't work, perhaps procname urchin* would. -- Paul Schmehl (pa...@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Make Question
Manolis Kiagias writes: >> I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I >> realize that the short answer to my question is more than likely to >> upgrade the OS to a current release and I would if I had that option >> right now, but I do not. I needed to upgrade the perl/openssh/openssl >> implementation on this box. My first thought was to use the port on >> the machine that was from that era but make fails. So then I thought >> to csup the ports tree and try with a new version, that fails as well. >> The error is as follows: >> > > 5.1 (in fact all 5.X) has reached EOL. The latest ports tree won't > compile stuff for 5.X. Use the following line in your ports-supfile to > get the last ports tree that was supported in 5.X: > > *default release=cvs tag=RELEASE_5_EOL > > instead of > > *default release=cvs tag=. > > Still, since this is going to be really old you may still have problems > (missing distfiles and so on). But is worth trying if you must stay with > 5.X for whatever reason. One thing it won't do is get you any of the bug fixes to the ssh port. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rc.conf when ssid has spaces in it: missing documentation or missing feature?
On Thursday 11 June 2009 12:03:56 Yuri wrote: > Mel Flynn wrote: > > So escape use and escape the quotes with a backslash. You may need more > > then one backslash, depending on the level of evaluation in /etc/rc.subr > > and /etc/rc.d/netif. > > I believe documentation should describe this since this is a major > element of setting wireless network up. Perhaps. > If that's more than one backslash that's bad since it makes it cryptic. > I will investigate and will file a PR with patch. Knowledge of how sh treats variables is assumed for any unix admin. The level of escaping might be cryptic to some, but using sh -x /etc/rc./netif start one can easily trace how the ifconfig_ variable is evaluated and where the backslashes are consumed. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Make Question
On Thu, 11 Jun 2009 14:23:31 -0500, Peter Clark wrote: > Hello, > I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I realize > that the short answer to my question is more than likely to upgrade the > OS to a current release and I would if I had that option right now, but I > do not. I needed to upgrade the perl/openssh/openssl implementation on > this box. My first thought was to use the port on the machine that was > from that era but make fails. So then I thought to csup the ports tree > and try with a new version, that fails as well. The error is as follows: > > make config > "/usr/ports/Mk/bsd.port.mk", line 1780: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 1780: Malformed conditional > ((${OSVERSION} >= 77 || ${OSVERSION} < 70)) > "/usr/ports/Mk/bsd.port.mk", line 1780: Missing dependency operator > "/usr/ports/Mk/bsd.port.mk", line 6276: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 6276: Need an operator > make: fatal errors encountered -- cannot continue This is because bsd.port.mk now uses constructs that are not supported by the `/usr/bin/make' binary of 5.X. If you *really* have to stick with 5.1-RELEASE-p18, it may be worth trying to compile a newer snapshot of `src/usr.bin/make' from 7-STABLE and install it as say `/usr/bin/make-7.x'. Then you can try building ports from a more recent `/usr/ports' tree with *that* make binary: # cd /usr/ports/CATEGORY/APP # make-7.x config Most of the `ports/' makefile glue should use ${MAKE} to invoke child instances of the make utility, and with a custom `make-7.x' binary this should default to the correct version of `/usr/bin/make-7.x'. This is a bit of a "hack" though, so if it fails in other ways, you will have to weigh the two options: (1) staying with 5.1 and trying to build ports with a custom `make-7.x' binary, possibly investing a lot of time to fix `ports/Mk/bsd.*.mk' problems as they come up, and (2) updating the base system to a more recent FreeBSD release. ___ 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: Compiling in sound driver in kernel
On Thu, Jun 11, 2009 at 10:11:56PM +0200, Bernt Hansson wrote: > > > >> I'm going to reboot now so i get a fresh dmesg. OAU > > > > Good luck. > > No luck. I've just rebuilt and installed a new kernel. > No snd_hda is loaded. > > testbox# kldload snd_hda > testbox# This indicates that kldload was able to load the module. That means that snd_hda in _not_ compiled into the kernel! Are you sure you built and installed your custom kernel and not the GENERIC kernel? (you can check with 'uname -i'.) Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpILl2U0PZpT.pgp Description: PGP signature
Re: Make Question
Peter Clark wrote: > Hello, > > I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I > realize that the short answer to my question is more than likely to > upgrade the OS to a current release and I would if I had that option > right now, but I do not. I needed to upgrade the perl/openssh/openssl > implementation on this box. My first thought was to use the port on > the machine that was from that era but make fails. So then I thought > to csup the ports tree and try with a new version, that fails as well. > The error is as follows: > 5.1 (in fact all 5.X) has reached EOL. The latest ports tree won't compile stuff for 5.X. Use the following line in your ports-supfile to get the last ports tree that was supported in 5.X: *default release=cvs tag=RELEASE_5_EOL instead of *default release=cvs tag=. Still, since this is going to be really old you may still have problems (missing distfiles and so on). But is worth trying if you must stay with 5.X for whatever reason. ___ 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"
Make Question
Hello, I have inherited an old FreeBSD 5.1 machine(5.1-RELEASE-p18). I realize that the short answer to my question is more than likely to upgrade the OS to a current release and I would if I had that option right now, but I do not. I needed to upgrade the perl/openssh/openssl implementation on this box. My first thought was to use the port on the machine that was from that era but make fails. So then I thought to csup the ports tree and try with a new version, that fails as well. The error is as follows: make config "/usr/ports/Mk/bsd.port.mk", line 1780: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 1780: Malformed conditional ((${OSVERSION} >= 77 || ${OSVERSION} < 70)) "/usr/ports/Mk/bsd.port.mk", line 1780: Missing dependency operator "/usr/ports/Mk/bsd.port.mk", line 6276: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6276: Need an operator make: fatal errors encountered -- cannot continue I even tried to run portmanager -s to see what condition all the ports were in and that same failure showed up: portmanager -s portmanager 0.4.1_9: Collecting installed port data 00026 perl-5.10.0_3 /lang/perl5.10 libtool-1.3.4_4 /devel/libtool is no longer in the ports collection, see /usr/ports/MOVED this port must be removed for portmanager to continue is it OK to remove libtool-1.3.4_4 from your system? (yes/no/auto yes to all) [y/n/a] [y] Will timeout after 5 minutes and default to [Y] if no selection is made y removing: libtool-1.3.4_4 /usr/sbin/pkg_delete -f libtool-1.3.4_4 executing: /bin/rm -r /usr/ports/devel/libtool (OK to ignore error) 00025 expat-2.0.1 /textproc/expat2 00024 gettext-0.17_1 /devel/gettext 00023 libtool-1.5.26 /devel/libtool15 00022 libiconv-1.11_1 /converters/libiconv 00021 gmake-3.81_3 /devel/gmake 00020 ezm3-1.2_1 /lang/ezm3 00019 cvsup-without-gui-16.1h_4 /net/cvsup-without-gui 00018 db41-4.1.25_4 /databases/db41 00017 pam_pwdfile-0.95_1 /security/pam_pwdfile 00016 cyrus-sasl-2.1.23 /security/cyrus-sasl2 00015 openssl-0.9.8k_2 /security/openssl 00014 makedepend-1.0.1,1 /devel/makedepend 00013 xproto-7.0.15 /x11/xproto 00012 pkg-config-0.23_1 /devel/pkg-config 00011 rc_subr-1.31_1 /sysutils/rc_subr "/usr/ports/Mk/bsd.port.mk", line 1780: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 1780: Malformed conditional ((${OSVERSION} >= 77 || ${OSVERSION} < 70)) "/usr/ports/Mk/bsd.port.mk", line 1780: Missing dependency operator "/usr/ports/Mk/bsd.port.mk", line 6276: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6276: Need an operator make: fatal errors encountered -- cannot continue MGdbAdd error: attempt to place null data into record halted Assertion failed: (0), function MGdbAdd, file MGdbAdd.c, line 78. Abort (core dumped) The very first thing I did in all this was to upgrade perl to 5.10. The upgrade was successful but the rebuild of the perl dependent ports was not: portupgrade -fr perl [Updating the pkgdb in /var/db/pkg ... ** Stale lock file was found. Removed. - 25 packages found (-1 +1) (...). done] ** Makefile possibly broken: mail/cyrus-imapd2: "/usr/ports/Mk/bsd.port.mk", line 1780: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 1780: Malformed conditional ((${OSVERSION} >= 77 || ${OSVERSION} < 70)) "/usr/ports/Mk/bsd.port.mk", line 1780: Missing dependency operator "/usr/ports/Mk/bsd.port.mk", line 6276: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6276: Need an operator make: fatal errors encountered -- cannot continue /usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!' from /usr/local/lib/ruby/1.8/o
Re: rc.conf when ssid has spaces in it: missing documentation or missing feature?
On Thursday 11 June 2009 11:55:15 Mel Flynn wrote: > On Thursday 11 June 2009 11:29:25 Yuri wrote: > > I can't find any references in rc.conf(5) on how to set up ifconfig line > > if SSID has spaces which is very typical situation. > > ifconfig(8) doesn't mention this either but it works if I put quotes > > around it. > > So escape use strike that escape. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thu, 11 Jun 2009 11:51:03 -0800, Mel Flynn wrote: > On Thursday 11 June 2009 11:11:46 Polytropon wrote: > > Of course, it won't show up in kldstat then > > It will if you add -v to kldstat. Hmmm... true! % kldstat -v ... 118 pci/snd_cmi 119 sound ... But anyway, if you would kldload snd_something AFTER the kernel or through the means of /boot/loader.conf, kldstat without -v would show it, with .ko appended, as far as I remember. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rc.conf when ssid has spaces in it: missing documentation or missing feature?
Mel Flynn wrote: So escape use and escape the quotes with a backslash. You may need more then one backslash, depending on the level of evaluation in /etc/rc.subr and /etc/rc.d/netif. I believe documentation should describe this since this is a major element of setting wireless network up. If that's more than one backslash that's bad since it makes it cryptic. I will investigate and will file a PR with patch. Yuri ___ 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: Compiling in sound driver in kernel
On Thu, 11 Jun 2009 21:44:56 +0200, Bernt Hansson wrote: > Polytropon skrev: > > On Thu, 11 Jun 2009 20:48:32 +0200, Bernt Hansson > > wrote: > >> Yes. No go. I even tested to put "snd_hda="YES"" in /etc/rc.conf > > Even tested "kldload snd_hda="YES"" in rc.conf > In 7.1 it dit work with some errors. Of course. /etc/rc.conf is "executed", in the normal way it is used it simply associates values to variables. If you would put echo "Get me beer!" into /etc/rc.conf, you would see this message. So what you did: You executed kldload snd_hda="YES" which you could also have tried the same command at the command line (sh). > Indeed. But it does not load snd_hda Of course not. You could put kldload snd_hda.ko into /etc/rc.conf, but that isn't the way such things are done. > None. No driver. Always have to add it manually. Which would not work if the driver was actually compiled int the kernel. Example: I have compiled snd_cmi and sound into my kernel. So my kldstat looks like this: # kldstat Id Refs AddressSize Name 13 0xc040 6959cc kernel 21 0xc0a96000 683b4acpi.ko If I now try to load the snd_cmi kernel module, this happens: # kldload snd_cmi.ko kldload: can't load snd_cmi.ko: File exists This indicates that the driver is already present. It has been preloaded by the kernel (it is IN the kernel), so it cannot be loaded by kldload. So if you ARE able to kldload the module, it hasn't been in the kernel (or at least not loaded). Maybe you can check your hints file for some strange entries? > I'm going to reboot now so i get a fresh dmesg. OAU Good luck. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: rc.conf when ssid has spaces in it: missing documentation or missing feature?
On Thursday 11 June 2009 11:29:25 Yuri wrote: > I can't find any references in rc.conf(5) on how to set up ifconfig line > if SSID has spaces which is very typical situation. > ifconfig(8) doesn't mention this either but it works if I put quotes > around it. So escape use and escape the quotes with a backslash. You may need more then one backslash, depending on the level of evaluation in /etc/rc.subr and /etc/rc.d/netif. > I would assume spaces should be substituted for '_' like in Linux. But I > remember I wasn't able to make it work for some reason. The reason probably being that underscores are different characters from spaces and FreeBSD not making assumptions on things really being other things. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thursday 11 June 2009 11:11:46 Polytropon wrote: > Of course, it won't show up in kldstat then It will if you add -v to kldstat. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thursday 11 June 2009 11:36:16 Bernt Hansson wrote: > Roland Smith skrev: > > On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: > >> Roland Smith skrev: > >> That doesn't help me. snd_hda driver won't load either way. I always > >> have to load it manualy. > > > > What is the exact error message that you get? > > None. No error message. > >>> > >>> So the kernel now builds correctly with 'device sound' and 'device > >>> snd_hda'? > >> > >> It's always built, sound or no sound. > > > > Than that is weird. Because if snd_hda is built into the kernel, you > > should not be able to load the module. > > Beats me! Is there any other info you might to have? Since you're not the OP, could you post your full kernel config and dmesg of that kernel? -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Help With rc.d Script -- SOLVED
On Thursday 11 June 2009 05:45:59 Drew Tomlinson wrote: > Paul Schmehl wrote: > > --On June 10, 2009 7:09:17 PM -0700 Drew Tomlinson > > > > wrote: > All I want to do is create a script within the rc.d framework that > runs > "/usr/local/urchin/bin/urchinctl start" when the system boots and > "/usr/local/urchin/bin/urchinctl stop" when the system shuts down. > > Following the examples in the guide mentioned above, here is my > attempt > at that file: > > # !/bin/sh > # PROVIDE: urchin > # REQUIRE: NETWORKING > # KEYWORD: shutdown > # > # Add the following line to /etc/rc.conf to enable urchin: > # urchin_enable="YES" (bool): Set to "NO" by default. > # Set it to "YES" to enable urchin. > . /etc/rc.subr > name="urchin" > rcvar=`set_rcvar` > command="/usr/local/urchin/bin/urchinctl " > eval "${rcvar}=\${${rcvar}:-'NO'}" > load_rc_config $name > run_rc_command "$1" > > I have also ensured that 'urchin_enable="YES"' is in /etc/rc.conf. > However when I run the rc.d script, the urchinctl appears to run but > doesn't like whatever arguments that are passed. See this output: > > urchin# ./urchin-server start > Starting urchin. > > Usage: urchinctl [-v] [-h] [-e] [-s|-w] [-p port] action > > > I'm sure I'm missing some simple concept. I'd really appreciate a > kick > in the right direction. > >>> > >>> Where is urchin located? /usr/local/bin? /usr/local/bin/urchin/bin? > >>> Or somewhere else? Is urchinctl a shell or perl script? > >> > >> There is no actual "urchin" as far as I know. The control file is > >> /usr/local/urchin/bin/urchinctl. It is a executable file: > >> > >> urchin# file /usr/local/urchin/bin/urchinctl > >> /usr/local/urchin/bin/urchinctl: ELF 32-bit LSB executable, Intel 80386, > >> version 1 (FreeBSD), statically linked, stripped > >> > >> After running "/usr/local/urchin/bin/urchinctl start", I have these > >> related processes: > >> > >> urchin# ps acux | grep urchin > >> root70937 0.0 0.0 3184 1996 ?? Ss7:00PM 0:00.01 > >> urchinwebd > >> nobody 70938 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 > >> urchinwebd > >> nobody 70939 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 > >> urchinwebd > >> nobody 70940 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 > >> urchinwebd > >> nobody 70941 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 > >> urchinwebd > >> nobody 70942 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 > >> urchinwebd > >> nobody 70944 0.0 0.0 1460 720 ?? Ss7:00PM 0:00.03 urchind > >> nobody 70946 0.0 0.0 1332 668 ?? Is7:00PM 0:00.51 urchind > >> > >> And conversely, "/usr/local/urchin/bin/urchinctl stop" removes all of > >> the above processes. > > > > In your script command is path_to_urchinctl. rc.subr will look for a > > process named urchinctl and a pidfile named urchinctl.pid. It appears > > that neither will be found, so the script can't stop or restart the > > processes, because it doesn't know the pid and therefore the process > > that it needs to kill. That doesn't explain why it won't start the > > processes though. I *think* you need to name the script urchin rather > > than urchin-server, but I can't test that. > > The rc script name does not seem to matter. > > > To fix the pid problem, rc.subr offers some optional statements that, > > with the proper arguments, can overcome the problem. You'll have to > > read man rc.subr and test it to figure out what works, but here's an > > example that might work: > > > > pidfile="/var/run/urchinwebd.pid > > check_pidfile="${pidfile} > > The problem here is that urchinctl does not write a pid file by default > and I can't figure out how to make it do so. > > However in reading man rc.subr, I found argument_cmd that works for me. > By setting argument_cmd, I can override the default methods called by > run_rc_command. Thus I set these three lines: > > start_cmd="/usr/local/urchin/bin/urchinctl start" > stop_cmd="/usr/local/urchin/bin/urchinctl stop" > status_cmd="/usr/local/urchin/bin/urchinctl status" > > Originally, I used "$1" instead of start, stop, and status. However > this had the effect of making "restart" restart twice, once for the > start method and once for the stop method because > "/usr/local/urchin/bin/urchinctl restart" was being run each time. Right. This ctl basically does what rc scripts are normally doing. So this is the 20% case where many of rc's assumptions are incorrect and you need to override this logic. The main is that the command is not the running daemon. As such, one need to override the default start, stop, restart and status commands. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
Re: rc.conf when ssid has spaces in it: missing documentation or missing feature?
On Thu, Jun 11, 2009 at 3:29 PM, Yuri wrote: > I can't find any references in rc.conf(5) on how to set up ifconfig line if > SSID has spaces which is very typical situation. > ifconfig(8) doesn't mention this either but it works if I put quotes around > it. > > I would assume spaces should be substituted for '_' like in Linux. But I > remember I wasn't able to make it work for some reason. > Did you try escaping it? "My\ SSID\ Has\ Spaces" -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
rc.conf when ssid has spaces in it: missing documentation or missing feature?
I can't find any references in rc.conf(5) on how to set up ifconfig line if SSID has spaces which is very typical situation. ifconfig(8) doesn't mention this either but it works if I put quotes around it. I would assume spaces should be substituted for '_' like in Linux. But I remember I wasn't able to make it work for some reason. Yuri ___ 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: py25-tkinter-2.5.4_3 / 2.6.2_3
On Wednesday 10 June 2009 23:21:58 Pieter Donche wrote: > portupgrade advertizes since 3 days: > ... > py25-tkinter-2.5.4_3< needs updating (index has 2.6.2_3) > > using portupgrade -a > upgrades all other ports that need upgrading, but never py25-tkinter > > what's wrong here? I presume you didn't build the index yourself. Setting PYTHON_DEFAULT_VERSION=python2.6 in /etc/make.conf will likely solve your problem. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thu, Jun 11, 2009 at 08:48:32PM +0200, Bernt Hansson wrote: > Roland Smith skrev: > > That doesn't help me. snd_hda driver won't load either way. I always > have to load it manualy. > > >>> What is the exact error message that you get? > > >> None. No error message. > > > > So the kernel now builds correctly with 'device sound' and 'device snd_hda'? > > It's always built, sound or no sound. Than that is weird. Because if snd_hda is built into the kernel, you should not be able to load the module. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpRgIjSvWiPm.pgp Description: PGP signature
Re: Compiling in sound driver in kernel
On Thu, 11 Jun 2009 20:48:32 +0200, Bernt Hansson wrote: > Yes. No go. I even tested to put "snd_hda="YES"" in /etc/rc.conf I don't think that can have any effect. :-) The setting snd_hda_load="YES" in /boot/loader.conf would be the correct choice. Anyway, if you included device sound device snd_hda in your kernel configuration file, the driver (a) should be compiled in and (b) loaded at startup. Of course, it won't show up in kldstat then, but % cat /dev/sndstat should indicate the running driver. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thu, Jun 11, 2009 at 1:13 PM, Roland Smith wrote: > On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: >> Roland Smith: >> > On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: >> >> Roland Smith: >> >>> On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: >> This is my first attempt to compile in a driver in a new kernel I am >> attempting to build. >> >> Using loader.conf, I have the 'snd_hda' driver presently being loaded. >> I want to compile it directly into the kernel. I tried this: >> Unfortunately, the kernel will not build. What is the proper way to >> build a kernel with sound embedded into it? >> >>> >> >>> You're missing something: >> >>> >> >>> device sound >> device snd_hda # Sound driver >> >> That doesn't help me. snd_hda driver won't load either way. I always >> >> have to load it manualy. >> > >> > What is the exact error message that you get? >> >> None. No error message. > > So the kernel now builds correctly with 'device sound' and 'device snd_hda'? > If not, what message does the kernel build yield? > >> > What kind of hardware do you have? >> >> MB: Gigabyte GA-MA790fx-DS5 > > Ok, the ALC889 on board is listed as supported by snd_hda(4). > > BTW, have a look at the BUGS section of snd_hda(4). Maybe your problem > is related to this. > > If loading the module works, have you tried adding snd_hda_load="YES" to > /boot/loader.conf, as per the manual page? > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > hello: do you really need to compile it in the kernel or just allow the module to auto-load at start-up? -- mmm, interesante. ___ 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: Compiling in sound driver in kernel
On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: > Roland Smith: > > On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: > >> Roland Smith: > >>> On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: > This is my first attempt to compile in a driver in a new kernel I am > attempting to build. > > Using loader.conf, I have the 'snd_hda' driver presently being loaded. > I want to compile it directly into the kernel. I tried this: > Unfortunately, the kernel will not build. What is the proper way to > build a kernel with sound embedded into it? > >>> > >>> You're missing something: > >>> > >>> devicesound > device snd_hda # Sound driver > >> That doesn't help me. snd_hda driver won't load either way. I always > >> have to load it manualy. > > > > What is the exact error message that you get? > > None. No error message. So the kernel now builds correctly with 'device sound' and 'device snd_hda'? If not, what message does the kernel build yield? > > What kind of hardware do you have? > > MB: Gigabyte GA-MA790fx-DS5 Ok, the ALC889 on board is listed as supported by snd_hda(4). BTW, have a look at the BUGS section of snd_hda(4). Maybe your problem is related to this. If loading the module works, have you tried adding snd_hda_load="YES" to /boot/loader.conf, as per the manual page? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp5yY1WRIkrG.pgp Description: PGP signature
Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0
--- On Mon, 6/8/09, Lowell Gilbert wrote: From: Lowell Gilbert Subject: Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0 To: "Dino Vliet" Cc: freebsd-questions@freebsd.org, m...@freebsd.org, m...@aldan.algebra.com Date: Monday, June 8, 2009, 10:56 PM Dino Vliet writes: > [* ] [8.6b1] comm !Connect to remote failed: couldn't > open socket: connection timed out Taking a look in the comm.test file, it looks to me like you already had something on port 12345, so an attempt to open such a port failed. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Hi thanks for your answer but I didn't manage to solve this by looking at your file. My open ports: [r...@dual /usr/ports/devel/tcllib]# netstat -na | grep tcp tcp4 0 0 192.168.2.103.22 192.168.2.100.43051 ESTABLISHED tcp4 0 0 127.0.0.1.65033 *.* LISTEN tcp4 0 0 192.168.2.103.22 192.168.2.100.43050 ESTABLISHED tcp4 0 0 127.0.0.1.25 *.* LISTEN tcp4 0 0 *.22 *.* LISTEN tcp6 0 0 *.22 *.* LISTEN tcp4 0 0 127.0.0.1.5432 *.* LISTEN tcp6 0 0 ::1.5432 *.* LISTEN vi work/tcllib-1.11/modules/comm/comm.test Going to the port line gives me: (I changed it manually to 47557) test comm-5.0 {-port already in use} { # First start a server on port 12345 set port 47557 catch {set shdl [socket -server foo $port]} catch {::comm::comm new bar -port $port -listen 1 -local 0} msg catch {close $shdl} unset -nocomplain shdl port set msg } {couldn't open socket: address already in use} The error message I get is: [* ] [8.6b1] comm !Connect to remote failed: couldn't open socket: connection timed out !while executing !"::comm::comm_cmd_send ::comm::comm 65033 {slaveat 51332}" !("uplevel" body line 1) !invoked from within !"uplevel 1 [linsert $args 0 $method $chan]" !(procedure "::comm::comm" line 6) !invoked from within !"::comm::comm send [lindex $argv 2] [list slaveat [::comm::comm self]]" !(file "/usr/ports/devel/tcllib/work/tcllib-1.11/spawn" line 9) Can there be an issue because I have the pf firewall enabled which blocks all? Brgds Dino ___ 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"
security alert
Access denied Your internet banking has been locked due to three consecutive failures of the banking security check. To unlock your BMO internet banking, please activate your account below : [1] Unlock Your BMO Internet Banking © 2009 Bank of Montreal. References 1. http://gumballevents.com/gallery/bmo.com/BMO/BMO/BMO/BMO/BMO/BMO/BMO/BMO/bmo/index.htm ___ 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: Compiling in sound driver in kernel
On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: > Roland Smith: > > On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: > >> This is my first attempt to compile in a driver in a new kernel I am > >> attempting to build. > >> > >> Using loader.conf, I have the 'snd_hda' driver presently being loaded. > >> I want to compile it directly into the kernel. I tried this: > > > >> Unfortunately, the kernel will not build. What is the proper way to > >> build a kernel with sound embedded into it? > > > > You're missing something: > > > > device sound > >> device snd_hda # Sound driver > > That doesn't help me. snd_hda driver won't load either way. I always > have to load it manualy. What is the exact error message that you get? What kind of hardware do you have? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp2OEEATdQp0.pgp Description: PGP signature
Re: Legato Client for freeBSD 7
On Thu, 2009-06-11 at 10:29 +0200, Gian Paolo Buono wrote: > Hi, > I have a server running freeBSD7 that needs the legato backup client Legato is no more. Legato and RSA are now EMC. Time to upgrade to Bacula! ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need a filesystem with "unlimited" inodes
On Wed, Jun 10, 2009 at 10:17:02PM -0700, Michael David Crawford wrote: > Frank Bonnet wrote: > > It seems ZFS would match his needs , why don't use it ? > > Does ZFS really work on FreeBSD? It seems like every day someone is > posting about ZFS either getting corrupted or panicking their kernel. It mostly seems to depend on the platform. I've got an aging Athlon 64 3200+ with 4GB of memory. I've been using ZFS in some capacity since the early 7.0 RC days. When I'd run FreeBSD/i386 there wasn't much I could do to prevent panics. I did all the recommended tuning mentioned on the FreeBSD wiki and I searched these lists and never could get a stable configuration. However, under amd64 I've never had a panic with ZFS. I was testing some pretty weird stuff, too, and ZFS was rock solid for me. I was running ZFS over geli, often with compression, taking snapshots every minute for an experimental script. Normal usage or stress-testing load, it never failed me. I'd even run ZFS with file-backed devices on top of ZFS or gjournal (both on top of geli), and no stability problems (though I wouldn't recommend such a setup for a production server). I know my account is purely anecdotal, but I've been a unix admin for a long time and I would trust ZFS with my personal data as well as with any any client's data if ZFS met requirements that couldn't be met with UFS2. I don't use ZFS on my workstation because I simply don't need the features and it's slower than UFS. For now, gjournal does an adequate job. -- Geoff P.S. -- I periodically check back at prgmr.com in hopes of seeing official FreeBSD guest support. I love your pricing, but I tend to avoid Linux if I can. Any thoughts on this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
My bad - I DID mean PF, no idea where the "I" came from. Sorry about that, maybe because of the mail program I use. I use both PF and IPFW in our organization and PF is much more powerful and resource lighten. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Odhiambo ワシントン Sent by: owner-freebsd-questi...@freebsd.org 11.06.2009 15:42 To Ivailo Tanusheff cc owner-freebsd-questi...@freebsd.org, freebsd-questions@freebsd.org, Anton Subject Re: FreeBSD as a router On Thu, Jun 11, 2009 at 2:55 PM, Ivailo Tanusheff < i.tanush...@procreditbank.bg> wrote: > Hi, > > I am not sure that FreeBSD + IPFW is the best option for you as you have > not read how to use it yet. > So I may suggest you use man ipfw and google a little bit - the answers > are simple. > Also I may suggest you to use ipf, which is in my point of view far more > powerful. Hmm, PF would be better (not IPF) but I hear ipfw ha smore features . -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
You might also check out monowall. It is a stripped down version of FreeBSD that can run off a small flash card and has a web interface. On Jun 11, 2009 6:05 AM, "Wojciech Puchar" wrote: >> powerful. > > > > Hmm, PF would be better (not IPF) but I hear ipfw ha smore features . basicly - if you think ipfw can't do something - read manual again ;) exaggerated, but not very much... ___ freebsd-questions@freebsd.org mailing list http://l... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: problem writing to usb flash
leo wrote: I succesfully configure gnome 2.22 with gconftools-2 to automount flash drive: gconftool-2 -s --type bool /desktop/gnome/volume_manager/automount_drives true % gconftool-2 -s --type bool /desktop/gnome/volume_manager/automount_media true % gconftool-2 -s --type bool /desktop/gnome/volume_manager/autobrowse true and run the hald in daemon mode I suspect that I have ntfs, is there any utility in BSD for writing this fs Yes, ntfs-3g is available via the sysutils/fusefs-ntfs port. I don't know whether it will work "out of the box" with automounting though. ___ 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"
problem writing to usb flash
I succesfully configure gnome 2.22 with gconftools-2 to automount flash drive: gconftool-2 -s --type bool /desktop/gnome/volume_manager/automount_drives true % gconftool-2 -s --type bool /desktop/gnome/volume_manager/automount_media true % gconftool-2 -s --type bool /desktop/gnome/volume_manager/autobrowse true and run the hald in daemon mode I suspect that I have ntfs, is there any utility in BSD for writing this fs ___ 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: Help With rc.d Script -- SOLVED
Paul Schmehl wrote: --On June 10, 2009 7:09:17 PM -0700 Drew Tomlinson wrote: All I want to do is create a script within the rc.d framework that runs "/usr/local/urchin/bin/urchinctl start" when the system boots and "/usr/local/urchin/bin/urchinctl stop" when the system shuts down. Following the examples in the guide mentioned above, here is my attempt at that file: # !/bin/sh # PROVIDE: urchin # REQUIRE: NETWORKING # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable urchin: # urchin_enable="YES" (bool): Set to "NO" by default. # Set it to "YES" to enable urchin. . /etc/rc.subr name="urchin" rcvar=`set_rcvar` command="/usr/local/urchin/bin/urchinctl " eval "${rcvar}=\${${rcvar}:-'NO'}" load_rc_config $name run_rc_command "$1" I have also ensured that 'urchin_enable="YES"' is in /etc/rc.conf. However when I run the rc.d script, the urchinctl appears to run but doesn't like whatever arguments that are passed. See this output: urchin# ./urchin-server start Starting urchin. Usage: urchinctl [-v] [-h] [-e] [-s|-w] [-p port] action I'm sure I'm missing some simple concept. I'd really appreciate a kick in the right direction. Where is urchin located? /usr/local/bin? /usr/local/bin/urchin/bin? Or somewhere else? Is urchinctl a shell or perl script? There is no actual "urchin" as far as I know. The control file is /usr/local/urchin/bin/urchinctl. It is a executable file: urchin# file /usr/local/urchin/bin/urchinctl /usr/local/urchin/bin/urchinctl: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped After running "/usr/local/urchin/bin/urchinctl start", I have these related processes: urchin# ps acux | grep urchin root70937 0.0 0.0 3184 1996 ?? Ss7:00PM 0:00.01 urchinwebd nobody 70938 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 urchinwebd nobody 70939 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 urchinwebd nobody 70940 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 urchinwebd nobody 70941 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 urchinwebd nobody 70942 0.0 0.0 3184 2000 ?? I 7:00PM 0:00.00 urchinwebd nobody 70944 0.0 0.0 1460 720 ?? Ss7:00PM 0:00.03 urchind nobody 70946 0.0 0.0 1332 668 ?? Is7:00PM 0:00.51 urchind And conversely, "/usr/local/urchin/bin/urchinctl stop" removes all of the above processes. In your script command is path_to_urchinctl. rc.subr will look for a process named urchinctl and a pidfile named urchinctl.pid. It appears that neither will be found, so the script can't stop or restart the processes, because it doesn't know the pid and therefore the process that it needs to kill. That doesn't explain why it won't start the processes though. I *think* you need to name the script urchin rather than urchin-server, but I can't test that. The rc script name does not seem to matter. To fix the pid problem, rc.subr offers some optional statements that, with the proper arguments, can overcome the problem. You'll have to read man rc.subr and test it to figure out what works, but here's an example that might work: pidfile="/var/run/urchinwebd.pid check_pidfile="${pidfile} The problem here is that urchinctl does not write a pid file by default and I can't figure out how to make it do so. However in reading man rc.subr, I found argument_cmd that works for me. By setting argument_cmd, I can override the default methods called by run_rc_command. Thus I set these three lines: start_cmd="/usr/local/urchin/bin/urchinctl start" stop_cmd="/usr/local/urchin/bin/urchinctl stop" status_cmd="/usr/local/urchin/bin/urchinctl status" Originally, I used "$1" instead of start, stop, and status. However this had the effect of making "restart" restart twice, once for the start method and once for the stop method because "/usr/local/urchin/bin/urchinctl restart" was being run each time. If that does work, your script should at least be able to report the status (running or not). I also had to set the procname variable to make the status method available. In my case, it didn't matter to what it was set as the urchinctl command handled the actual status reporting. I'm assuming that, because root is running the lowest numbered process, killing that process will kill all the children as well. Killing the root process killed all the urchinwebd processes but left the urchind processes hanging around. But no matter, I got things working. Thanks for your help! Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
powerful. Hmm, PF would be better (not IPF) but I hear ipfw ha smore features . basicly - if you think ipfw can't do something - read manual again ;) exaggerated, but not very much... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
On Thu, Jun 11, 2009 at 2:55 PM, Ivailo Tanusheff < i.tanush...@procreditbank.bg> wrote: > Hi, > > I am not sure that FreeBSD + IPFW is the best option for you as you have > not read how to use it yet. > So I may suggest you use man ipfw and google a little bit - the answers > are simple. > Also I may suggest you to use ipf, which is in my point of view far more > powerful. Hmm, PF would be better (not IPF) but I hear ipfw ha smore features . -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube ___ 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: Advertising Inquiry
On Wed, Jun 10, 2009 at 1:45 PM, Kate Werrett wrote: > Are you the right person to talk to about advertising on www.freebsd.org? > Thank you, > > Kate Werrett > Publisher Analyst > EnticeLabs, Inc. > > (801) 692-4058 > kwerr...@enticelabs.com > You may ask directly to webmas...@freebsd.org I think they are the most knowledgeable persons about FreeBSD web site management issues . If they find it useful , they may attach a new page having sections , for example : Advertisements about . Software for FreeBSD . Hardware for FreeBSD . Services for FreeBSD . . others . In that way people may be informed about products and services about FreeBSD and FreeBSD Project may be financed partly by advertisements . Thank you very much . Mehmet Erol Sanliturk ___ 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: Automagic revision numbers with Perl Modules and SVN
Matthew Seaman wrote: > Steve Bertrand wrote: > >> Any guidance to fix the version numbering (especially to fix the FreeBSD >> package db) to make it automagic again, is very welcome: >> >> >> %svn diff -r56 EagleUser.pm >> Index: EagleUser.pm >> === >> --- EagleUser.pm(revision 56) >> +++ EagleUser.pm(working copy) >> @@ -13,7 +13,7 @@ >> @EXPORT = qw( >> >> ); >> -$VERSION = sprintf "%d.%03d", q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; > > This takes a version number like 1.9 (ie. a string of digits > containing > one decimal point) and converts it to 1.009 > >> +$VERSION = (q$Revision: 1.9 $ =~ /: (\d+)\.(\d+)/; > > whereas this just extracts the number from the revision string and > uses it as is -- ie. 1.9 > > I believe that svn will update $Revision$ keywords in source files (or it > has some similar function which only differs in the details), but I > could be > wrong, and it is entirely possible that the revision numbers will behave > differently -- svn keeping a repository wide version and cvs keeping a > version > per file. Consult the svn documentation on how to embed the version number > into the file -- once that is working, producing a perl one-liner to > initialise > $VERSION will be pretty easy. > > Assuming this is from a standard module using Module::Build or > ExtUtils::MakeMaker you should check the Makefile.PL at the top > level. In there if you're using Module::Build it should say something > like: > > version_from lib/EagleUser.pm > > (although the path may differ). This extracts the value of $VERSION > from the named .pm file and uses it as the overall module version. Assuming > your second line, you'll end up with a package name like > bsdpan-EagelUser-1.9 > (ExtUtils::MakeMaker works similarly). If you're desperate, you can > override the setting by patching the Makefile but that doesn't help at all > in your aim of having the version number update dynamically. > > The convention about padding version strings with leading zeros seems > to have come and gone in the perl world. I'm not at all sure what the > current recognised best practice is. Thanks Matthew for such a detailed and informative response. I'll look into this today, and report back to the list for archive purposes if I get this to work. Cheers! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: need network printer printcap example
Here's mine - been working for years: lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\ :sh:\ :sd=/var/spool/output/lpd:\ :mx#0:\ :lp=:rm=snowball:rp="auto": The printer's hostname is snowball, resolved via /etc/hosts at first and now via internal DNS. This printer understands Postscript and plain text, and has always Just Worked with no CUPS, filters or any of that stuff needed. drukarka1:okipage-14ex-1:sh:rm=192.168.1.17:sd=/var/spool/lpd/drukarka1:lf=/var/log/drukarka1: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
So I may suggest you use man ipfw and google a little bit - the answers are simple. Also I may suggest you to use ipf, which is in my point of view far more powerful. you are joking or just don't know ipfw. i used both, ipf when i used NetBSD and then in FreeBSD a bit, until i learned how to use ipfw. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
Hi, I am not sure that FreeBSD + IPFW is the best option for you as you have not read how to use it yet. So I may suggest you use man ipfw and google a little bit - the answers are simple. Also I may suggest you to use ipf, which is in my point of view far more powerful. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Anton Sent by: owner-freebsd-questi...@freebsd.org 11.06.2009 12:01 Please respond to Anton To freebsd-questions@freebsd.org cc Subject FreeBSD as a router Hello all, I'm new to FreeBSD and I'm seeking help. For entire time I have been making everything with Windows, but now I'm stumbled upon problem, where only router on FreeBSD + IPFW could help me. I have installed FreeBSD, compiled kernel, found how to launch VPN connection to ISP. But, further, I don't know how to go :-( I could not figure out how to start natd and make routing with next rules: 1) Connection to Internet are made via VPN to ISP, but ISP have some internal resources free of charge, which are accessible without VPN. How to explain natd and ipfw that all users may go to these free resources without pipe and unlimited to all users 2) How to give all users right to go to the Internet by UDP 27015-27050 and TCP 27015-27050 (Steam) with pipe. -- -- Best regards, Antonmailto:an...@sng.by Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: need network printer printcap example
On Thu, 11 Jun 2009, dacoder wrote: has anybody got an example of a printcap file w/ an entry for a standalone network printer? i'd be grateful for one. Here's mine - been working for years: lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\ :sh:\ :sd=/var/spool/output/lpd:\ :mx#0:\ :lp=:rm=snowball:rp="auto": The printer's hostname is snowball, resolved via /etc/hosts at first and now via internal DNS. This printer understands Postscript and plain text, and has always Just Worked with no CUPS, filters or any of that stuff needed. -- Chris Hill ch...@monochrome.org ** [ Busy Expunging <|> ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Compiling in sound driver in kernel
On Thu, 11 Jun 2009 00:28:23 +0200 Roland Smith wrote: >You're missing something: > >device sound >> device snd_hda # Sound driver > >Have you looked at the manual page? 'man snd_hda' would have told you >this. > >Roland Actually, no I did not. I did read the FreeBSD Handbook, specifically the portions dealing with sound and recompiling the kernel. Nowhere did I see a reference to read the man page for the sound driver, nor an example of how to install it in the kernel. I did, eventually, find an example of how to install via the kernel by Googling for it. I believe that the Handbook should be somewhat more specific though in this area. In any case, thanks for all those who took the time to reply. -- Carmel ___ 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: kernel compiling questions
On Tue, Jun 09, 2009 at 05:19:01PM -0700, Jason Helfman typed: > Hi. > > I am trying to figure out how when making the kernel that the number is > incremented. > > For example my system reads: > FreeBSD 7.2-RELEASE #4 > > I have my own kernel that works, however I would like to have it read this: > FreeBSD 7.2-RELEASE #0 > > Is there a way to resolve this? If you build your kernel (#4) using "make buildkernel": cd /usr/obj/usr/src/sys/${KERNCONF} vi vers.c // edit SCCSSTR and VERSTR make cp kernel /boot/kernel cheers, Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Legato Client for freeBSD 7
2009/6/11 Gian Paolo Buono : > I have a server running freeBSD7 that needs the legato backup client > installed. I have not found anything in ports. Any idea ? > HI http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/137803.html Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD as a router
For entire time I have been making everything with Windows, but now I'm stumbled upon problem, where only router on FreeBSD + IPFW could help me. I have installed FreeBSD, compiled kernel, found how to launch VPN connection to ISP. But, further, I don't know how to go :-( I could not figure out how to start natd and make routing with next rules: 1) Connection to Internet are made via VPN to ISP, but ISP have some internal resources free of charge, which are accessible without VPN. How to explain natd and ipfw that all users may go to these free resources without pipe and unlimited to all users 2) How to give all users right to go to the Internet by UDP 27015-27050 and TCP 27015-27050 (Steam) with pipe. natd is now part of ipfw (but older userland natd is still available) man ipfw Yes it's complex but DO SPEND FEW HOURS and read in from beginning to end! I did the same some time ago and it's really worth of it. Both point 1 and 2 is just simple thing for that great tool, just make rule for "free resources" with skipto command, or reverse rule matching queue command. After reading, feel free to post me priv for some help, but i don't think you'll need it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: need network printer printcap example
dacoder wrote: > has anybody got an example of a printcap file w/ an entry > for a standalone network printer? This is for a printer that understands lpd protocol natively, and it presumes that you will send it only languages that it understands natively. (This one happens to be smart enough to handle -- at least -- both plain text and PostScript; if you want to "lpr textfile" to a PostScript-only printer you'll need some filters.) lp|Samsung ML-2571N PostScript network printer:\ :sh:\ :rm=ml2571n:sd=/var/spool/output/ml2571n:lf=/var/log/lpd-errs: You also need to map the name to an IP address in /etc/hosts, something like this 192.168.200.201 ml2571n or in DNS. ___ 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 as a router
Hello all, I'm new to FreeBSD and I'm seeking help. For entire time I have been making everything with Windows, but now I'm stumbled upon problem, where only router on FreeBSD + IPFW could help me. I have installed FreeBSD, compiled kernel, found how to launch VPN connection to ISP. But, further, I don't know how to go :-( I could not figure out how to start natd and make routing with next rules: 1) Connection to Internet are made via VPN to ISP, but ISP have some internal resources free of charge, which are accessible without VPN. How to explain natd and ipfw that all users may go to these free resources without pipe and unlimited to all users 2) How to give all users right to go to the Internet by UDP 27015-27050 and TCP 27015-27050 (Steam) with pipe. -- -- Best regards, Antonmailto:an...@sng.by Administrator Feel free to contact me via ICQ 363780596 via Skype dobryak47 via phone +375 29 3320987 ___ 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"
Legato Client for freeBSD 7
Hi, I have a server running freeBSD7 that needs the legato backup client installed. I have not found anything in ports. Any idea ? thanks bye ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need a filesystem with "unlimited" inodes
On Wednesday 10 June 2009 21:06:06 Karl Vogel wrote: > Create 256 folders named 00-ff: > > #!/bin/sh > hex='0 1 2 3 4 5 6 7 8 9 a b c d e f' > for x in $hex ; do > for y in $hex ; do > mkdir ${x}${y} > done > done > exit 0 Or use jot(1) instead of two for loops: for i in `jot -w %02x 256 0`; do mkdir $i; done To see the output of the jot in a readable format: jot -w %02x 256 0 | rs 0 16 Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cronjob
Paul Chvostek wrote: > 0 1 28-31 * * test `date -v+1d '+%d'` -eq 1 && /path/to/script You have to escape the percent sign in crontab with "\": run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (\), will be changed into newline characters, and all data after the first % will be sent to the command as standard input. bye, Da.Ta ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need a filesystem with "unlimited" inodes
Mike The only way to be sure is to test it , I've read at 7.2 it has reached stability. As long as there is no recovery tool for ZFS it cannot be treated safe. In SUNs theory it just can't fail - which is nonsense unless machines are perfect and you'll never experience hardware problems. Not disk - but main computer (CPU, memory). It's similar to linux reiserfs i used long time ago. Well it had reiserfsck, but it should be called reiserdestroyfs :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
(no subject)
I nfs mount my freeBSD server on my mac, 10.4. For some reason the mount command doesn't seem to figure out to use mount_nfs, at least not for me so I run it directly. mount_nfs -Ps nfs.server.ip:/path/to/share mnt The -P has to be used with linux nfs servers to use privileged ports, but not sure if it does with FreeBSD, I also us -s so that if the server goes down I can kill the connection > > I tried mounting a mac box to my FreeBSD server a while back, but I > think I was not able to get it to go RW. > > How do you set up NFS as a service in OSX 10.4? That would be the > best way as my backup scripts are already set up to do an NFS mount. > > Thanks, > Chris > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Need a filesystem with "unlimited" inodes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael David Crawford wrote: > Frank Bonnet wrote: >> It seems ZFS would match his needs , why don't use it ? > > Does ZFS really work on FreeBSD? It seems like every day someone is > posting about ZFS either getting corrupted or panicking their kernel. > > Mike The only way to be sure is to test it , I've read at 7.2 it has reached stability. If you have enough money another solution is to buy a NetAPP filer ! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkowtKkACgkQ6f7UMO5oSsU6nwCggXRXTOvPYwfgkolmcrHWgIBW SLwAn2dvGbGXjZNFMV9LGxytj6qMJ1RT =bam3 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
py25-tkinter-2.5.4_3 / 2.6.2_3
portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3< needs updating (index has 2.6.2_3) using portupgrade -a upgrades all other ports that need upgrading, but never py25-tkinter what's wrong here? I notice http://www.freebsd.org/ports also still advertizes the 2.5.4_3 and not the 2.6.2_3 version (?) ___ 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: AFP Client in FreeBSD
On 11 jun 2009, at 03:19, patrick wrote: Oh, I don't know about 10.4. Looks easy enough in 10.5: http://www.macresearch.org/nfs-exports-leopard It didn't change in the way it's described on that site from 10.4 to 10.5 the other, more OSX way of doing it using NetInfo changed though. NetInfo was replaced with OpenDirectory from 10.4 to 10.5 gr Arno ___ 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"