Re: antivirus gateway
2009/8/23 Yavuz Maşlak yavuz.mas...@netiletisim.net Hello I wish to use freebsd7.2 as an antivirus gateway. What is an antivirus gateway? Perhaps you need to filter e-mail viruses before the e-mail goes to the delivery server? Please try and make us understand what your situation is and what you want to do/achieve. -- 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: Boot failure
On Fri, Aug 7, 2009 at 5:08 PM, Identry jalmb...@identry.com wrote: I'd give it an fsck or two (more than one has been needed once or twice), I was afraid to run fsck before backing up everything I might possibly need, so I spent most of last night mounting all the partitions and backing up things. I was able to manually mount all the partitions and all the data seemed fine. At this point, I'm ready to risk an fsck or pretty much anything. also has anything changed with the server (updates etc etc) for example why was it rebooted? Because of a stupid mistake on my part. I was trying to add an address to the NIC card, and rather than *add* the address to a long list of addresses (used for https websites), I made that the only address. I was only experimenting, so the file in /etc that I use to set up the addresses (using ifconfig) was unchanged. I figured a quick reboot would solve the problem, so I logged in via the console and did a clean shutdown. When I turned the machine back on, it would not boot. I seem to recall a verbose boot mode in the boot menu. does that give any hints beyond the freeze you see when you try and boot? It prints one line, which I cannot recall, unfortunately. Are you using the GENERIC kernel I don't know. This is the oldest freebsd machine that I run. I didn't install the OS, myself. It's a 6.2 machine that had been running in production mode without any updates for over a year when I took it over. I am embarrassed to say I never had the nerve to do any updates on it, either, because when I started on it, I didn't know enough about FreeBSD to risk the 40 websites that were running on it. I've been meaning to update it for awhile, but it is locked down tight with PF and has had zero problems up until now. Famous last words... if not have you tried it? No. I need to figure out how to do that, and I didn't have enough brain power last night after doing all those backups. Boot to single user mode and just run: fsck -y You don't need any special options the first time. fsck should tell you if there are further problems. After sleeping on it, I am wondering if I can kill two birds with one stone... by using 7.2 install CDs to upgrade the machine? I believe there is an 'upgrade' option on the install menu (I'm burning some 7.2 CDs right now to double check.) Or would it be safer to try to bring up the machine on it's own with a 6.2 generic kernel, first? Please don't even think of doing that! You might go mad with the several issues you may end up facing. And upgrading a production system from an install CD is something that I will never do. I always use csup/cvsup, but perhaps you can also use freebsd-update. I advise you get to fix the problem at hand before thinking of updating. -- 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: Boot failure
On Fri, Aug 7, 2009 at 5:31 PM, Identry jalmb...@identry.com wrote: Are you using the GENERIC kernel After more research, I think the answer to this is no. There is a directory called /boot/kernel.old. From my reading, I believe this is the original generic kernel? if not have you tried it? Not yet. Section 24.2.3 Major and Minor Upgrades of the Handbook says I can load the generic kernel by renaming /boot/kernel.old to /boot/GENERIC. I think this is what I need to do to boot the generic kernel? -- If the system was running with a custom kernel, use the nextboot(8) command to set the kernel for the next boot to /boot/GENERIC (which was updated): # nextboot -k GENERIC Warning: Before rebooting with the GENERIC kernel, make sure it contains all drivers required for your system to boot properly (and connect to the network, if the machine that is being updated is accessed remotely). In particular, if the previously running custom kernel contained built-in functionality usually provided by kernel modules, make sure to temporarily load these modules into the GENERIC kernel using the /boot/loader.conf facility. You may also wish to disable non-essential services, disk and network mounts, etc. until the upgrade process is complete. The machine should now be restarted with the updated kernel: # shutdown -r now --- So, it sounds like the safe move is to try to get the Generic kernel up and running, and then think about doing an upgrade. Unfortunately, I need to drive back to the server... another 2 hr commute. Gotta find a closer data center :-) If you did not touch the kernel, there is no need to boot GENERIC! Plus you have said that this box is running PF, which is not in the GENERIC kernel! Personally, I am interested in knowing why the system does not mount the root partition on its own when you can do it by hand and it does not complain. Did you by any chance change anyting in /etc/fstab? What entries you do have in /etc/sysctl.conf? Please try fsck -y option first although I am not quite optimistic about it, given that mounting by hand works so far. If I were to upgrade, I'd go to 6.4-STABLE first and wait there while thinking about the next move. What does your /etc/rc.conf contain? -- 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: Boot failure
On Fri, Aug 7, 2009 at 6:25 PM, Identry jalmb...@identry.com wrote: So I guess the question now is, if I can mount it manually, why doesn't it mount during the boot process? I'd give it an fsck or two (more than one has been needed once or twice) So I've been thinking about how to run fsck... At the moment, I have to boot from an install cd, go into fixit mode, and mount filesystems by hand. I am mounting them to a mount point like /mnt/root and /mnt/home, etc. Do I just do a command like: fsck /mnt/root Should I use any flags? Should I mount the filesystems read write or read only? fsck is run when all file systems are unmounted! If you can, choose single use mode, press enter when it says something like /bin/sh (I don't remember the wordings) and then on the subsequent prompt,, # fsck -y [Press enter here] That is all you need. Once it completes, it will bring back the prompt (the hash prompt). If there are no major problems detected, you can simply go ahead and type exit at the prompt and press enter and see what happens. -- 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: ftps ?
On Mon, Aug 3, 2009 at 2:48 PM, Frederique Rijsdijk frederi...@isafeelin.org wrote: Odhiambo ワシントン wrote: What is ftps? # grep ftps /etc/services ftps-data 989/tcp# ftp protocol, data, over TLS/SSL ftps-data 989/udp ftps990/tcp# ftp protocol, control, over TLS/SSL ftps990/udp pure-ftpd supports TLS/SSL. I am wondering if it can do this. -- 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: ftps ?
On Mon, Aug 3, 2009 at 2:28 PM, Frederique Rijsdijk frederi...@isafeelin.org wrote: I'm looking into running ftps for my webhosting server. But the ftpd of BSD seems incapable of doing so. Are there plans to implement this, or am I overlooking something? I'm aware of the fact that I can run a ftp server from ports to do this, but I would like to keep it as simple as possible. What is ftps? -- 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: freebsd mass deployment
On Fri, Jun 19, 2009 at 4:27 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I'd like to install FreeBSD on a number of machines, automatically and unattended over Ethernet via PXE. I'm quite familiar with FAI, which does a great job for Debian, and I'd like to know whether there is something similar for FreeBSD too. So far I only found a guide for jumpstart. simply install on one, tar it up and untar on each other, using PXE just to boot anything. Wojciech, That is true, yes, but you have not answered the OPs question. There are others interested in the answer, especially because he's mentioned his familiarity with FAI. I'd like to think that he already knows about dump/restore. He just wants an automated, unattended solution for FreeBSD. -- 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: 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: Stable Mail Server And Web Mail
2009/5/25 Johan Hendriks jo...@double-l.nl Hello all , I want to install a Mail Server with Webmail, Anybody to know a good Stable Mail Server and Web Mail I will appreciate Thanks all A good combination for webmail is: Postfix as MTA Dovecot as IMAP / POP3 server Postfixadmin for webbased management. Mysql or postgresql for the database. and a webmail client. This can be roundcube, squirrelmail, imp (from Horde) and so on. I love the following combo: Exim as MTA Dovecot for POP3/POP3S/IMAP/IMAPS Vexim (http://silverwraith.com/vexim) for web based management MySQL or PostgreSQL database Squirrelmail for webmail with vlogin plugin for multihosting. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: upgrade 7 - 7.2
On Mon, May 25, 2009 at 3:30 PM, Pieter Donche pieter.don...@ua.ac.bewrote: I have to upgrade a few FreeBSD7 machines to FreeBSD7.2 (this is new to me) One machine has very few third party ports installed (33), the other over 600 ... One of the steps is # portupgade -af, to rebuild all third party software.. this took 27 minutes on the 33 packages machine.. AFAIK, you don't really need that (portupgrade -a) for point upgrades. Just update userland and kernel and go out for beer! So for 20 times more packages: 10 hours ??? Is this normal? Also, one I had one screen asking for options for libiconv 1.11_1 where I had to tab to OK and press enter. What is the 600 packages system has 20 of more of such screens, I think if you set BATCH=yes in your environment or in /etc/make.conf then it should take care of that. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 4.11 panic every 23 hours 55 minutes or so
On Sun, May 17, 2009 at 2:06 PM, Doug Lee d...@dlee.org wrote: One of the weirder things I've seen in a while here... OS: FreeBSD 4.11 (yeah I know, old, but generally stable) CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz real memory = 536608768 (524032K bytes) Hds: IDE Problem: Ever since a suspitious power outage (I say suspitious because we think a surge was also involved), this box has been exhibiting kernel panics about every 23 hours 55 minutes, give or take about 4 minutes either way. Is there something in the cron that runs at around that time? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: apache not starting on reboot
On Mon, May 18, 2009 at 11:03 AM, Brent Clark brentgclarkl...@gmail.comwrote: Hiya I have the following in my /etc/rc.conf mitm# cat /etc/rc.conf | grep apache apache22_enable=YES mitm# The problem I seem to be experiencing is that if I reboot the machine, then apache does not come up. Its only on when I run /usr/local/etc/rc.d/apache22 restart that apache is running and available. If anyone could assist me on where I went wrong or on what route and / or path to look, I would be most grateful. Start by looking at /var/log/messages Apache sometimes refuses to start if it cannot properly resolve the servername. If you have a ServerName directive in httpd.conf, try and see if it matches an entry in /etc/hosts or even a DNS entry - such that apache can resolve it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrade KDE from 4.2.2 to 4.2.3 fails
Hello people, I am try to upgrade kde as said, but it fails with the following: /usr/local/bin/cmake -E cmake_progress_report /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/CMakeFiles [ 13%] Generating chem.cmi cd /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src /usr/local/bin/ocamlc -o /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src/chem.cmi -I +facile -c /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.mli /usr/local/bin/cmake -E cmake_progress_report /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/CMakeFiles [ 13%] Generating chem.cmx cd /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src /usr/local/bin/ocamlopt -o /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build/kalzium/src/chem.cmx -I +facile -c /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/ chem.ml File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 54, characters 43-54: Warning Y: unused variable nb_elements. File /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/kalzium/src/solver/chem.ml, line 1, characters 0-1: Error: /usr/local/lib/ocaml/facile/facile.cmi is not a compiled interface *** Error code 2 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4/work/kdeedu-4.2.3/build. *** Error code 1 Stop in /usr/ports/misc/kdeedu4. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipnat port-range
2009/5/14 alexus ale...@gmail.com 2009/5/14 Odhiambo ワシントン odhia...@gmail.com: On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote: On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote: i need to redirect bunch of ports, or port-range from outside to my jail # /etc/rc.d/ipnat reload /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES. /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f /etc/ipnat.rules 0 entries flushed from NAT table 2 entries flushed from NAT list syntax error error at port-range, line 8 # grep port-range /etc/ipnat.rules rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp # -- http://alexus.org/ that rule is wrong to begin with as rdr doesn't work with ranges, i guess I need to use something else.. anyone done something like that? use ipnat to map range of ports? this is for ftp PASV Looks like it's time to convert your rules into PF then start using PF. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain i'm pretty sure people have asked that in the past but i guess whats the pros and cons one vs another, we have 3 candidates ipfw - FreeBSD ipf pf - OpenBSD and why not all of 'em at once?:) bit a hassle to maintane but it seems like ipf can't do what i need, yet pf can ipfw i can limit traffic i dont know if ipf or pf can .. it seems like they all have something that the other can't They can co-exist when you know what you are doing, yes:) AFAIK, PF should have all that IPFW can do. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ipnat port-range
On Wed, May 13, 2009 at 9:09 PM, alexus ale...@gmail.com wrote: On Wed, May 13, 2009 at 12:58 PM, alexus ale...@gmail.com wrote: i need to redirect bunch of ports, or port-range from outside to my jail # /etc/rc.d/ipnat reload /etc/rc.d/ipnat: DEBUG: checkyesno: ipnat_enable is set to YES. /etc/rc.d/ipnat: DEBUG: run_rc_command: doit: /sbin/ipnat -F -C -f /etc/ipnat.rules 0 entries flushed from NAT table 2 entries flushed from NAT list syntax error error at port-range, line 8 # grep port-range /etc/ipnat.rules rdr bce0 0/0 port-range 49152:65534 - lama port-range 49152:65534 tcp # -- http://alexus.org/ that rule is wrong to begin with as rdr doesn't work with ranges, i guess I need to use something else.. anyone done something like that? use ipnat to map range of ports? this is for ftp PASV Looks like it's time to convert your rules into PF then start using PF. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Teaming NIC
On Fri, May 8, 2009 at 9:47 AM, Daniels Vanags daniels.van...@smpbank.lvwrote: Hello, FreeBSD 6.3 has new device called lagg(4). Lagg is a link aggregation and link failover interface. With lagg we can easily bond two NIC interfaces together. But how we can do NIC teaming in FreeBSD 6.2? Please help. Upgrade to FreeBSD 6.4 and stay there if you must stay at 6.x. 6.2 is not supported anymore so don't ask questions about it:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Configuring an IPv6 router to assign addresses
On Wed, May 6, 2009 at 5:30 PM, af300...@gmail.com wrote: Hi, I've found in the handbook how to start up a v6 router and some other helpful links on this topic at the FreeBSD diary. However, I'm wondering, how do I configure the router to assign addresses to hosts. Nice question. I wonder if isc-dhcp-server can already handle IPv6 addresses. I, too, am interested in knowing and I guess it's time I start learning these IPv6 stuff. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: per protocol bandwidth filters for firewall
On Mon, May 4, 2009 at 6:33 PM, Tamar Lea tamar...@gmail.com wrote: Hello all, I have inherited the job of maintaining a FreeBSD firewall that sits behind an ADSL line that connects 128 clients to the internet. I have not used FreeBSD before but have some linux experience. The connections must be always on though I am allowed to reboot if absolutely necessary. It is using ipfilter and ipnat. There have been issues with clients taking up too much bandwidth, so after several hours of careful testing I managed to redirect all traffic on port 80 to a squid service using ipnat. This uses delay pools to limit the max speed per user. However I would also like to limit the max speed per user for streaming traffic on port 1935. Would this be possible with the current setup and what programs or config would be able to do the job? If you consider PF+ALTQ, you will be able to do what IPFilter/IPNAT is doing now and much more - just like you desire. You will also find it quite easy to convert the current firewall/nat rules into PF syntax. Best of luck! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to get older version of php5-mbstring
On Tue, Apr 28, 2009 at 3:05 PM, Pieter Donche pieter.don...@ua.ac.bewrote: I updated via the ports collection php5-mbstring to the latest version 5.2.9. Previously I had 5.2.8 Also updated php5 from 5.2.8 to 5.2.9 and php5-extensions from 1.2 to 1.3 installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8: # pkg_info | grep mbstring php5-mbstring-5.2.8 The mbstring shared extension for php php5-mbstring-5.2.9 The mbstring shared extension for php Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer) # pkg_delete php5-mbstring-5.2.8 But now it seems that my Drupal 6.9 continues to look for php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9) How can I install php5-mbstring-5.2.8 again via the ports ?? Either recompile drupal against php5-mbstring-5.2.9 or do portdowngrade php5-mbstring -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: MySQL without Innodb
On Thu, Apr 23, 2009 at 3:59 PM, Mark asar...@xs4all.nl wrote: Hello, I'm trying to compile MySQL 5.1.34, but I can't find options to not compile in innodb database support. Have these been removed? And, if so, why? Why does it bother you? It will be built but if your tables are MyISAM type, the InnoDB code will be dormant anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Customized Remote Install
On Tue, Apr 21, 2009 at 11:42 PM, Scott Seekamp sseek...@risei.net wrote: I've done a lot of searching and maybe this capability doesn't exist, but I am looking to do this: I am at my company's HQ, we have a new field office that I am setting up a FreeBSD server. The technical knowledge at the site windows only, so I basically have someone I can have put a CD in a drive and power a machine on. My problem is that the default install of FreeBSD has password authentication turned off, and root SSH disabled. Being a small office, they don't have a IP KVM or some way for me to get to the box to configure it. My hope was that I could make an automated install CD/DVD that configured all the options I want AND change some base config files so I can actually get to the box (or install an SSH key). I know I can do the scripted sysinstall, but from what I could find I would need a floppy or additional CD to put the answer file on. I'm open to other options if someone has gone down this road before! All you need is that the guy at the field office knows something about PC hardware and can type a few commands on any command line. Then there should be a phone. FreeBSD is not as silly as Linux when you move a disk from one box to another. If it is a server box (which requires no GUI) then the only changes you are likely to make are on the network configurations (ifconfig_* in rc.conf and resolv.conf) and the rest will remain pretty much the same. What I have done is that I have a prototype, which is a SATA disk. I am pretty much okay of the next machine I want to install has a SATA disk, but I am also not worried if it has PATA disk as I know I will only need a change in /etc/fstab. So what I normally do is this: Attach my prototype disk as master on the machine to install, while slaving the disk that the machine had. I enter sysinstall and disklable/newfs the slave disk. I make the disk bootable, enable softupdates on it and I normally create the root mount point (/). Once done, I change the mount point again to, say, /newdisk, so the slave disk is now mounted on /newdisk. After this: dump L0af - / | (cd /newdisk/; restore -rf -) # BTW, I have the habit of creating only / and swap! So now I have a duplicate system on the slave disk. cd /newdisk; ee etc/rc.conf ; ee etc/fstab; ee etc/resol.conf Here I change the ifconfig_ line for the network device (as seen from dmesg.boot), ensure that fstab refers to the correct device names and voila! I save, shutdown, remove my prototype disk, restore the slave disk to master position and reboot and I have a system identical to the proto. Once connected to a live network, I can ssh to it from anywhere I want using my own account and the su to root if needed, though I always prefer sudo. Now, if only you can follow my way, you only need to ship your prototype disk to the field office and get the windows lunnie to do the disk connections, type the commands, etc and you have a server running at the field office in no time! Of course tell him to pack your prototype disk safely and return it to you. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to copy files without directories
On Mon, Apr 20, 2009 at 2:12 PM, Zbigniew Szalbot z.szal...@lcwords.comwrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Thank you very much! I don't get your requirement. You'd like to copy empty directories from where to where? Is it a directory tree or just leaves (TM, patented by me)? (Leaves are at the same level,, below the branches, while trees contain branches. Wildly imagining..from a tree... or branches.. for d in `find /source/path/ -type d`; do mkdir -p /some/path/$d; done (Untested). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to copy files without directories
2009/4/20 Zbigniew Szalbot z.szal...@lcwords.com On Mon, 20 Apr 2009 13:22:38 +0200, Fernando ApesteguĂa fernando.apesteg...@gmail.com wrote: On 4/20/09, Zbigniew Szalbot z.szal...@lcwords.com wrote: Dear all, I have read the cp manual and I cannot find an option how to copy directories without files they contain. Is this possible? Maybe I read it wrong, but the subject and the paragraph above say two different things. Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. For a directory tree, try my dose of medicine. I think it can work. It wont set your system on fire if it doesn't:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to copy files without directories
2009/4/20 Patrick Lamaizière patf...@davenulle.org Le Mon, 20 Apr 2009 13:24:42 +0200, Zbigniew Szalbot z.szal...@lcwords.com: Ahh... I am sorry. Wrong subject. I want to copy directories without files they contain. see mtree(8) Something like $ mtree -dc -p path1 | mtree -U -p path2 Wow!! Looks brilliant. Several hidden swissknifes (yea, not knives)! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Dump | Restore
On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags daniels.van...@smpbank.lvwrote: Unable to successfully dump | restore over ssh. Source machine FreeBSD 6.2, disk /dev/mirror/gm0s1a, target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. Run dump -0aLf - / | ssh ip_address ''cd /mnt/ cat | restore - rf -'', dump/restore goes without any errors. dump L0af - / | ssh ip_addr '(cd /mnt; restore -rf -)' Fstab fixed, but system failure to boot: BTX halted. You could either do bdslabel -B or use sysinstall to do the same. Only you mount the slice to /, set bootable and softupdates, then chane the mount point to /mnt before you W to commit. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org