Re: commented LINT?
Hello System, Saturday, January 27, 2007, 5:25:04 PM, you wrote: Hey all, Back in 4.x, LINT was a fully-commented entity. Now it appears to be built-on-the-fly, which is great for being sure every-option is in in a programmatic manner, but bad as far as being able to look at LINT for syntax or notes as to which options need to be added together (or are mutually exclusive). Is there any way to get the restored version? This is probably what you want: /usr/src/sys/conf/NOTES -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[4]: Polling For 100 mbps Connections? (Was Re: Freebsd ThemeSong)
Hello all, Or maybe FreeBSD just sucks wind? I promise you that no machine known to man can pass 150Mb/s and be 99% idle. Get a god-damned clue for pete's sake. All polling does is screw up accounting so the timings are wrong. At best there's a marginal difference in performance. You still have to process the packets. Lets see, this Test would mean that his box could handle 100 x 150Mb/s, or 15Gb/s. Thats quite a little router you have there! lol. I have to recognize that I didn't follow the thread very carefuly and I propbably missed some posts. I just wanted to say that when using freebsd as a pure router using intel cards, polling realy helps. I've noticed 10-20% CPU utilization decrease with polling enabled. Second, I didn't mean 150Megabytes/sec, rather Megabits/sec. Third the actual CPU load is ranging from 0-4% (according to top), but with an average of 1%. And finally I just did a test and enabled polling on that box. The CPU idle state immediately dropped to 88% while interrupts increased to 10-12%. P.S Danial, have a look at this http://www.webopedia.com/TERM/M/Mbps.html -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
Hello, Just a remark. I'm using an Intel PRO/1000 MT Dual Port Gigabit Copper CAT5 Server PCI express Adapter in a box serving as router. Pumping 150Mbps through it with 99% idle CPU and 1% interrupts, polling enabled. It's a litle bit expensive, but it does its job perfectly. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: FreeBSD 6.x / GRE / WCCP / Squid
Hello Alan, Wednesday, December 7, 2005, 5:46:41 AM, you wrote: ipfw conf - ipfw add 50 fwd 127.0.0.1,3128 tcp from any to any 80 Sorry for missleading you with wccp version2, my mistake. Now, is it a mistake or you changed the port squid listens on? First time it was 8080. Could you try to add in via gre0 to you fwd rule? What version of FreeBSD are you using, is it a 5.3? If so, you'll have to upgrade to at least 5.4. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.x / GRE / WCCP / Squid
Hello Alan, Just a couple of thoughts. Do you realy need that tunnel? Try if it will work without it, maybe there's a problem with it. Second, can you see your squid in show ip wcccp web-cache detail from the cisco? Does you squid work without wccp? I mean setting up the host explicitly to use the proxy? I don't remember precisely, I did it a long ago, but I think you should use wccp version 2 in order to run wccp with squid. Hope that helps. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Viewing Programs Running From CRON
Hello Gerard, Friday, November 25, 2005, 10:45:51 PM, you wrote: I start a program from CRON. As an example, let us use /sysutils/portmanager. Now this program is being run in the background. How do I get it to run in the foreground so that I can view what it is doing, and or stop it if I want to? If I succeed in that maneuver, can I place it in the background again? I hope that I am explaining this correctly. Use the screen utility /usr/ports/misc/screen. See this: http://www.freebsddiary.org/screen.php -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UPS advice, please ...
Hello Kiffin, Friday, November 18, 2005, 10:20:08 PM, you wrote: I have a couple web servers running FreeBSD 5.x and need to protect them against power outages. These are two simple machines running at home so nothing fancy. Just some way to do a power down neatly so the shutdown has time to clean up. What do I need and where can I look for more detailed information. check this out, I use it and it works with many different UPS. # cd /usr/ports/sysutils/nut # cat pkg-descr This is a developing project to monitor a large assortment of UPS hardware. Network communications are used so that multiple systems can monitor a single physical UPS and shut down together if necessary without any special sharing hardware on the UPS itself. CGI scripts are provided to monitor UPS status via a WEB browser. WWW: http://www.networkupstools.org/ - Doug Barton [EMAIL PROTECTED] -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Editor for C C++ language
Hello Johnny, Is there anything of the kind of llc-win32? I would give a try to wscite, http://www.scintilla.org/. It's a nice graphical editor, very configurable, supports almost any language syntax hihglighting, supports multitabbed windows and runs on unixes and windows. You can configure it to use different compilers, for example I configured it on windows to easily compile C# programs. In a word you should see it. Hope that helps. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: Helpdesk/Call tracking software
Dear group, Sorry for OT, but I'm sure someone in this group can help me. I'm looking for an open source helpdesk/call tracking application for use in an ISP customer support dept. We need something that will allow us to register all incomming calls, to assign tasks to different admnis/engineers according to customer's problem, to be able to see the status of each opened issue and so on. Nothing unusual. I made a search and found a number of such applications, but there are so many...it wouldn't be possible to test all of them. So please just tell me what you are using and how would you rate it. Thank you very much. -- Best regards, Cezar mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd 4.9 and ports cvsup
Hi all, I need to upgrade some applications with many dependencies on an older 4.9 system. I was thinking to start with ports tree upgrade but when I try to run cvsup I get connection refused messages from all cvsup servers I tried, meaning that there's no a fresh port tree for version 4.9. So, I'm a little bit stuck, I cannot get a fresh ports tree and I cannot get updated binaries through pkg_add either. What would you suggest to do in such situation. Upgrading the whole system to a newer version would be too much pain. I'd appreciate any advise. Thanks. -- Best regards, Cezar mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: freebsd 4.9 and ports cvsup
Hello Lowell, Saturday, July 16, 2005, 7:05:55 PM, you wrote: Cezar Fistik [EMAIL PROTECTED] writes: I need to upgrade some applications with many dependencies on an older 4.9 system. I was thinking to start with ports tree upgrade but when I try to run cvsup I get connection refused messages from all cvsup servers I tried, meaning that there's no a fresh port tree for version 4.9. So, I'm a little bit stuck, I cannot get a fresh ports tree and I cannot get updated binaries through pkg_add either. What would you suggest to do in such situation. Upgrading the whole system to a newer version would be too much pain. I'd appreciate any advise. Connection refused means that you didn't even get to *ask* the server if it had updates. So you're doing something wrong before that. Please show the exact command you used, the supfile, and the output from cvsup. You are rihgt and thanks a lot for help. Only after reading your answer I realized that the firewall may be the reason for this behavior. And it is indeed. A simple rule change solved the problem. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HighPoint RocketRAID 1640 support
Hello all, I saw on the manufacturer's site that this board is supported under FreeBSD, but the hptmv man page says that only 182x boards are supported. Can anyone confirm a successful instalation of 1640 on FreeBSD? Thanks a lot. -- Cezar mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UPDATE -- Re: PHP 4.3.11 core dumps
Hello, Mike. You wrote 29 àïðåëÿ 2005 ã., 21:57:18: I recently upgraded to PHP 4.3.11 from Ports on my 4.9-RELEASE system, and I'm suddenly having troubles running PHP. Whether we're talking a web app or running from a command line, I get core dump errors. Specifically: su-2.05b# php -i Bus error (core dumped) And in /var/log/messages when accessing a PHP page, even one with just phpinfo() in it: Apr 29 12:41:31 jules /kernel: pid 28369 (httpd), uid 80: exited on signal 10 I've seen the bus error/core dumps there too. Any ideas what could be causing this? Any help would be greatly appreciated! I downgraded to version 4.3.10 with a downloaded tgz package, and that got me back up and running. I noticed an error talking about rc_subr and expat not being current enough, so I upgraded both of those and recompiled/reinstalled php4-4.3.11, but still no joy. Went back to 4.3.10 again and everything is working normally. I had apache core dumps after upgrading to php 4.3.11 too. What I did is uninstalling/deleting everything related to php, I mean all extentions, zend optimizer, some libraries... After that I reinstalled apache (probably not needed) and then php. After that everything is working. -- Regards, Cezar mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[4]: WRITE_DMA problem again
Hello Kendall, Friday, April 22, 2005, 8:50:42 PM, you wrote: Anyhow, my understanding is that the current work-around to this problem is to turn DMA off for your ata drives. I guess this can be done manually with the atacontrol command as I've been doing (though as you'll see in my message linked above, I apparently need to do it differently/sooner). I also understand that you can do so by setting hw.ata.ata_dma=0 in /boot/loader.conf . Yes, I saw this suggestion in other posts, too. Well, I gave it a try. I disabled dma yesterday and today I got the following: Timecounter TSC frequency 498669235 Hz quality 800 ad0: 8693MB IBM-DJNA-370910/J74OA30K [17662/16/63] at ata0-master PIO4 ad0: TIMEOUT - WRITE_MUL retrying (2 retries left) LBA=1573151 ad0: FAILURE - WRITE_MUL timed out That's something completely new. Does anyone know what that means? -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
web hosting
Hi all, Does anyone know a good resource that would describe how to implement a web hositng service? I mean a technical one, descibing which software is better to use, security mesures and in general how to set up a web hosting sysem from a sysadmin point of view. I would appreciate if you could give me any suggestions. Thank you very much. Cezar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: php4-extentions
Hi, Try 'make config' in php-extesions port's directory. regards, Cezar - Original Message - From: Chris Knipe [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, February 09, 2005 1:50 AM Subject: php4-extentions === Vulnerability check disabled, database not found === Found saved configuration for php4-extensions-1.0 === Extracting for php4-extensions-1.0 Where's the configuration saved? I need to reconfigure it.. -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: traffic counting
Also have a look at this one, realy good. Has a lot of features, besides simple accounting. http://ipa-system.sourceforge.net/ On Tue, Jan 04, 2005 at 03:43:55PM +0500, Alexandr Lookoshkoff wrote: ipfw count ... Counters zeroed every reboot (so - everyday) How to collect and store these counters? And how to list a summary trafic (by days if possible)? I'd use pf with logging, then write a small awk/sed script to get my results.. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd on 2nd drive?
Hi ice, Yes you certainly can do as you planned, although I'm not sure if GAG works when run from a floppy. I have the same situation as you described, winxp on first drive and freebsd on the second, but in my case gag is installed on the first drive and I select which OS to boot from there. So if you are sure that you will be able to choose which drive to boot from when GAG is run from the floppy, go ahead. Regards, Cezar - Original Message - From: ice [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, December 29, 2004 7:25 PM Subject: freebsd on 2nd drive? I'm planning on installing FreeBSD 5.2.1 on the second hard drive in this computer. I've read over the installation guide and don't see anything useful about the bootloader being on the non-first drive. My question is: can I install the FreeBSD bootloader on the second hard drive and use something like GAG on a floppy to boot it? ice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Open-Source project
Hi Dylan, I believe this kind of questions has been answered here thousands of times. Anyway, open source is a term with a very broad meaning, but if you are interested to contribute to FreeBSD, this could be a good starting point. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html Regards, Cezar - Original Message - From: Dylan Nicolini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 02, 2004 9:22 AM Subject: Open-Source project Dear Sir: I am very eager to contribute to the FreeBSD project. Currently, I am a Junior in college, majoring in Computer Science. I believe in the theory of open source very strongly, and I would love the oppurtunity to contribute to this project. If there are any suggestions on where to start I am very open to anything. Dylan Nicolini ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rc.conf and new startup scripts
Hi all, I would like to get some info about changes to startup scripts that are in /usr/local/etc/rc.d/ directory. It looks like they are completely different now... calls to some strange functions etc. How do they relate to rc.conf? I mean now I need to tell in rc.conf: DAEMON_enable=YES, if I don't the script in rc.d is just ignored. I would appreciate any info regarding these new changes. Thank you, Cezar ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.conf and new startup scripts
Thanks Kevin, but this is not exactly what I was looking for. Just found what I realy needed. This is called 'man rc.subr'. Regards, Cezar - Original Message - From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] To: Cezar Fistik [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 02, 2004 6:11 PM Subject: Re: rc.conf and new startup scripts Cezar Fistik wrote: Hi all, I would like to get some info about changes to startup scripts that are in /usr/local/etc/rc.d/ directory. It looks like they are completely different now... calls to some strange functions etc. How do they relate to rc.conf? I mean now I need to tell in rc.conf: DAEMON_enable=YES, if I don't the script in rc.d is just ignored. I would appreciate any info regarding these new changes. Thank you, Cezar The comments in /etc/defaults/rc.conf are a good starting point, and quite educational IMHO. Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: tunneling everything
Hello Andrei, Monday, November 22, 2004, 10:11:32 PM, you wrote: AI Hi! I am looking for a solution to this problem: I AI want to make a tcp tunneling. The ssh tunneling AI doesn`t satisies me because I don`t want to tunnel a AI specific service, I want to tunnel everything. For AI example: I would like my host to route everything AI through a tcp tunnel. I would like to see what AI solutions exist on FreeBSD. Please give just some AI links. Thank you in advance! It is called Virtual Private Network, or just VPN, and not only on FreeBSD. In general, I don't know about such thing as TCP tunneling, instead there is IP tunneling which is encapsulating some protocols, routeble or not, in ip packets. SSH doesn't use any tunneling, it uses ordinary TCP connection on port 22, with one exception, it encrypts everything that is sent accross this connection. So, I assume you need a tunnel between two hosts to transport some non routable or routable protocols (may be even ip in ip) with or without encryption. If this is the case try to configure at first a tunnel without encryption and when you're sure everything works add some encryption algorithms. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Looking for a good NSS/Pam_LDAP/Open LDAP how-to for 5.x
Hello Jon, Sunday, November 21, 2004, 3:16:27 PM, you wrote: JA I tried this one: JA http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html JA and it emphatically does not work, and I followed it to the letter I JA think it has something to do with NSS only using SSL/port 636. JA so then I tried it with that added still no dice I followed the above howto word by word too and it didn't work from the first try. So I made some searches, I think on pamldap or on openldap mailing lists, don't remember exactly, and found another explanation on how to set things up. As far as I remember, my problem was with ldap.conf and nss_ldap.conf files which reside in /usr/local/etc/. This files must be identical, so you may symlink them, as I did. After that everything started to work, in my case ssh through pam_ldap. Unfortunately, my detailed configs are at work, so if you won't find anything I'll post them on monday. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BIND 9.3.0 not restarting
Hello group, I have a problem with BIND 9.3.0. Everything works just fine until i try to restart the service. When sending to it kill -HUP, named daemon just gets killed and not restarted. Does any body have an idea why this happens? Thanks, Cezar ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BIND 9.3.0 not restarting
Hello group, Thank you all for your suggestions. I don't know why but I didn't have named in /usr/local/etc/rc.d/ at all, so I copied it from /usr/src/etc/rc.d/ but it didn't work either. No restarting, just stopping. BTW bind9 user guide on isc site says that SIGHUP should restart the service with no problem. I like the idea with the pid file and definetely would have tried it but I installed bind84 and everything works great. Anyway I didn't need all new features of bind9. Is it a bug? :-( KP Panagiotis Christias wrote: On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz [EMAIL PROTECTED] wrote: Cezar Fistik wrote: Hello group, I have a problem with BIND 9.3.0. Everything works just fine until i try to restart the service. When sending to it kill -HUP, named daemon just gets killed and not restarted. Does any body have an idea why this happens? Thanks, Cezar That same thing happens here (FreeBSD-5.3) The manual says: In routine operation, signals should not be used to control the name-server; rndc should be used instead. Using kill -HUP can be handy for rotating named logs via newsyslog. Any workaround? Panagiotis KP You could do: KP /etc/rc.d/named stop KP logrotate KP /etc/rc.d/named start KP ( rndc restart is not implemented yet :-) KP I get troubles with the pid-file in named.conf. KP Named doesn't seem to read it, so I used the default pid: KP /var/run/named.pid and not /var/run/named/pid mentioned in the script. -- Best regards, Cezarmailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
account management pam_ldap+nss_ldap
Hello all, I would greatly appreciate if someone could help me or point me to the right place to find a solution to the following problem. I have a system (5.3-release) configured to do user authentication through pam and ldap using map_ldap.so and nss_ldap.so. Everything is fine with that configuration, I am able to login, ssh and ftp to the system using users configured only in ldap with no problem. What I'm looking for is a way to manage these accounts, I mean to temporarily disable (locking) an account or a group of accounts, like pw lock username, set accounts expiration date and so on. I spent the last 2 days searching but found nothing, or maybe I was looking in wrong places? Please if someone did things like described above, help me. Actually, I'm most interested in disabling/enabling an ldap account/group without deleting it. I was trying to find a solution myself and have thought of following. To create an ldap schema file which will have an objectclass with the accountEnabled attribute (and maybe some others too). To include this objectclass for DNs containing users and somehow to create a filter in nss_ldap config file wich will do the filtering taking into account the accountEnabled flag. What do you think of this approach? I would appreciate any suggestions. Thanks, Cezar Fistik ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]