Re: APC PowerChute on FBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 bsd pravi: Hello, I am trying to see if someone has already configured an APC PowerChute software on FreeBSD. There is a linux version, I was just wondering how to set It up on BSD and if anyone has successfully installed such soft… I have installed a BSD box in Angola in unstable electrical conditions, and I am afraid the server will be rebooted the hard way quite often (without any warning) if I don't use this kind of soft… Thanks for your help. Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this e-mail I am using from ports sysutils/apcupsd. There is another called sysutils/nut but if you have UPS from APC go for the apcupsd. - -- Sasa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmEmfYACgkQNT6IH6ilQwiFrgCcCn00XPSkgnl4TwjCptD1Zaoj 5O8An3VSI3g18Y6XWCNqaLx2/hSnnZRi =wuMV -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature
Kernel messages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Runing FBSD 7 amd64. I have noticed in my cron security output: +rtfree: 0xff0001424c30 has 1 refs There are sometimes only a few lines, but sometimes there are 100 lines or more (all exactly the same). I didn't find anything on the net (google) so I am asking here. Regards, Sasa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjfGBsACgkQNT6IH6ilQwitOQCfdsVRKaVyyhPp67WOcMpk8mxs 1nEAn1GvrTvKp7RabfJLFZj+70mIySgF =sZsQ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
adding new disk to the system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I have a working FBSD 7.0 and two disks in RAID-1 (gmirror). Now I want to add another disk which will be used as file exchange disk so I don't need it in raid-1 (not sensitive data). Do I add new drive with standard procedure and just create a new mount point e.g. /newdrive or do I need to do something else? Regards, Sasa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki6vHcACgkQNT6IH6ilQwggywCfdlMzKDKvzjVaVzlrTMqSYbth OqYAoKpOeZMQR4leGCDg3KWFdExInHDR =feL5 -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature
Cloning a gmirrored hard drive
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! My situation: I have a server with FBSD 7 installed with two 40 GB disks in RAID 1 (gmirror) config. Now I have noticed the lack of space on the drive so I am thinking to change these disks for two 160 GB. What is the best way to clone the main hard disk in raid 1 config? Is this possible or is it better to switch back from RAID 1 to single disk system and then do cloning with dump/restore (or dd) and then make RAID 1 again? Regards, Sasa -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkixhrMACgkQNT6IH6ilQwipWgCfV8ij/9WF9/G3NKWmiS2hccRu +bUAniDXI+FYSKFB/r9UJKs/qb4Fn0i/ =2E5k -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature
Re: Pooomooocyyyy ;(
--On 11. januar 2006 21:36 +0100 vocativus [EMAIL PROTECTED] wrote: Witam! Mam du¿y problem z FreeBSD. Mianowicie... ?ci¹g³em sobie system ze strony www.freebsd.org wypali³em na 2 p³ytach CD i zainstalowa³em. Wszystko dobrze chodzi³o... do czasu a¿ zmieni³em komputer tzn. dysk twardy, RAM i nagrywarke mam ze starego. Moja stara konfiguracja: P³yta g³. ASrock k7s8x, 384MB RAM, GeForce 2 MX 400, Dyski twarde: Western Digital 40 GB (ATA 133), i Samsung 60GB (ATA 133). Procesor: Duron 1400 Karta sieciowa - SIS 10/100 zintegrowana z p³yt¹ g³ówn¹ Karta d?wiêkowa - AC 97 - system jej nie wykrywa³ poprawnie Na powy¿szym sprzêcie system pracowa³ bezb³êdnie, z wyj¹tkiem wspomnianej karty d?wiêkowej. Moja obecna konfiguracja: P³. g³ówna: 939NF4G - SATA2 Procesor: AMD Athlon 64 3200+ venice socket 939 Karta graficzna - zintegrowana z p³yt¹ g³ówn¹ - GeForce 6100 - pamiêæ 128MB Karta sieciowa - zintegrowana z p³yt¹ g³ówn¹ - Realtek PHY RTL8201CL Karta d?wiêkowa - Realtek ALC850 7.1channel AC'97 audio codec RAM - 768MB (128 zarezerwowane dla karty graficznej wiêc dostêpne jest 640MB RAM) Wersja BIOS-u - P1.30 I wzi¹³em wyczyszczony dysk (bez jakichkolwiek partycji) pod³¹czony jako jedyny dysk, po wybraniu opcji default boot, wybraniu opcji standard, naci?niêciu ok w oknie gdzie pisze co? o fdisk-u, wybraniu dysku - w moim przypadku ad0 wy?wietla sie komunikat: Warning: A geometry of 77545/16/63 for ad0 is incorrect. Using a more likely geometry. If this geometry is incorrect or you are unsure as to whether or not it's correct, please consult the Hardware Guide in the Documentation submenu or use the (G)eometry command to change it now Remember: you need to enter whatever your BIOS thinks the geometry is! For IDE it's what yoy were told in the BIOS setup. For SCSI, it's the translation mode your controller is using. Do NOT use a physical geometry I nic da³em na ok, rozplanowa³em partycje da³em na instaluj i pojawi³ mi siê komunikat o b³êdzie, ¿e nie mo¿na zapisaæ danych na dysk i na tym koniec. Próbowa³em zainstalowaæ FreeBSD w wersji 5.4 (i386), 6.0 (i386), 6.0 (AMD 64) i ci¹gle siê pojawia ten komunikat. Je?li to Was pocieszy, to linux SuSE nie wykry³ mi wogóle ¿adnego sprzêtu, za wyj¹tkiem drukarki. Czy ja mam na tyle nietypow¹ konfiguracje, ¿e ¿aden linux nie jest w stanie prawid³owo rozpoznaæ mojego sprzêtu??? Nie by³oby takiego problemu, gdyby nie to, ¿e musze mieæ linuxa, bo chodzê do liceum na profil matematyczno - fizyczno - informatyczny i linuxa musze mieæ... Prêdzej te¿ go mia³em zainstalowanego, ale g³ównie do zabawy, w celu poznania czego? innego oprócz windowsa. I musze powiedzieæ, ¿e FreeBSD to, jak dot¹d najlepszy linux, z jakim siê spotka³em. Jego instalacja jest z leksza dziwna, ale z 23 - stronicow¹ instrukcj¹ instalacji nie ma najmniejszego problemu. FreeBSD zaskoczy³ mnie g³ównie prostot¹ i niemal¿e ca³kowit¹ automatyzacj¹ instalacji programów, np. poprzez porty. To doskona³e rozwi¹zanie. I w³a?nie dlatego wybra³em FreeBSD - jest funkcjonalny, na tych dwóch p³ytach jest wiêcej oprogramowania ni¿ w innych dystrybucjach. Jest ³atwy w obs³ude, chocia¿ musze przyznaæ, ¿e pocz¹tki by³y tragiczne... ale to chyba normalne. Grunt to sie przyzwyczaiæ :) Dlatego prosze Was o pomoc... kompletnie nie wiem co robiæ... pooomooocy ;( -- Jedyny taki CZAT! http://link.interia.pl/f18ee Please write in english if you want any help. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing hardware
Hi! I have curently my server on Asus A7N266-VM with Duron 900 and 632 MB RAM, nic 3c905B-TX. I want to migrate to an Compaq with Intel 810 chipset and P3 667. I am thinking to move HDD to compaq, plain and simple. Is it enough to just change configuration for the NIC because in compaq is Intel pro/100vm and the server should function properly or do I need to make new server from the scratch. Regards, -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing hardware
--On 25. december 2005 11:49 +0100 Martin P. Hansen [EMAIL PROTECTED] wrote: On Sun, 25 Dec 2005, Sasa Stupar wrote: I have curently my server on Asus A7N266-VM with Duron 900 and 632 MB RAM, nic 3c905B-TX. I want to migrate to an Compaq with Intel 810 chipset and P3 667. I am thinking to move HDD to compaq, plain and simple. Is it enough to just change configuration for the NIC because in compaq is Intel pro/100vm and the server should function properly or do I need to make new server from the scratch. Unless you have a very customized KERNELCONF I don't see any problems with it, since it seems to be i386 architechture on both of the computers. I've never tried such migration myself, though. Will try and let you know. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing hardware
--On 25. december 2005 12:19 +0100 Sasa Stupar [EMAIL PROTECTED] wrote: --On 25. december 2005 11:49 +0100 Martin P. Hansen [EMAIL PROTECTED] wrote: On Sun, 25 Dec 2005, Sasa Stupar wrote: I have curently my server on Asus A7N266-VM with Duron 900 and 632 MB RAM, nic 3c905B-TX. I want to migrate to an Compaq with Intel 810 chipset and P3 667. I am thinking to move HDD to compaq, plain and simple. Is it enough to just change configuration for the NIC because in compaq is Intel pro/100vm and the server should function properly or do I need to make new server from the scratch. Unless you have a very customized KERNELCONF I don't see any problems with it, since it seems to be i386 architechture on both of the computers. I've never tried such migration myself, though. Will try and let you know. It works without any problems. Just booted and changed driver for NIC and it works. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Change default boot option
Hi! How do I change defalt boot option in FreeBSD 5.4? Now it boots with ACPI disable but I'd like to boot with ACPI enabled. Regards, -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing hardware
--On 25. december 2005 13:15 + RW [EMAIL PROTECTED] wrote: On Sunday 25 December 2005 11:19, Sasa Stupar wrote: --On 25. december 2005 11:49 +0100 Martin P. Hansen [EMAIL PROTECTED] wrote: On Sun, 25 Dec 2005, Sasa Stupar wrote: I have curently my server on Asus A7N266-VM with Duron 900 and 632 MB RAM, nic 3c905B-TX. I want to migrate to an Compaq with Intel 810 chipset and P3 667. I am thinking to move HDD to compaq, plain and simple. Is it enough to just change configuration for the NIC because in compaq is Intel pro/100vm and the server should function properly or do I need to make new server from the scratch. Unless you have a very customized KERNELCONF I don't see any problems with it, since it seems to be i386 architechture on both of the computers. If anything's been built with CPU specific optimizations, I would recompile without them before changing over. ___ I didn't compile my own kernel; I use generic for i586. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Change default boot option
--On 25. december 2005 17:38 +0100 maslan-freebsd [EMAIL PROTECTED] wrote: you should interested file: /boot/defaults/loader.conf and try to type: sysctl -A Hi! How do I change defalt boot option in FreeBSD 5.4? Now it boots with ACPI disable but I'd like to boot with ACPI enabled. Regards, -- Sasa Stupar Thanx. Now I have boot with acpi enabled. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE - how to?
--On 22. december 2005 17:19 + RW [EMAIL PROTECTED] wrote: On Thursday 22 December 2005 07:30, Sasa Stupar wrote: --On 21. december 2005 19:43 +0100 Jorn Argelo [EMAIL PROTECTED] wrote: ttyv8 /usr/X11R6/bin/kdm xterm on secure And voila, KDM will start at boot. OK. KDE is starting on boot but it won't let me to log in as root nor I that's a good thing can't su after I have logged in as normal user. Are you in the wheel group? ___ No, I am not in wheel group. I thought I could su if I am not in the wheel group (well, at least I can do it on linux) but I am learning FreeBSD slowly. BUt why it won't let me log in as root? As I have read if the following line has secure written then root logins are allowed: ttyv8 /usr/X11R6/bin/kdm xterm on secure or have I missaunderstood this? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE - how to?
Hi! I have been searching and trying to build a FreeBSD with KDE desktop but I have not luck. The X starts but only the xdm. Is there some nice step by step guide for it? Don't tell me for handbook since I have tried to do it without success. Regards, -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE - how to?
--On 21. december 2005 17:18 + Tofik Suleymanov [EMAIL PROTECTED] wrote: Sasa Stupar wrote: Hi! I have been searching and trying to build a FreeBSD with KDE desktop but I have not luck. The X starts but only the xdm. Is there some nice step by step guide for it? Don't tell me for handbook since I have tried to do it without success. Regards, Quick try.Assuming that X, xdm and kde are properly installed just add one line (below) in to .xsession located in your home dir: cat ~/.xsession /usr/local/bin/startkde Then restart xdm. Thanx. That did it. Now it works. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE - how to?
--On 21. december 2005 19:43 +0100 Jorn Argelo [EMAIL PROTECTED] wrote: Sasa Stupar wrote: Hi! I have been searching and trying to build a FreeBSD with KDE desktop but I have not luck. The X starts but only the xdm. Is there some nice step by step guide for it? Don't tell me for handbook since I have tried to do it without success. Regards, Open /etc/ttys with your favourite editor and search for this line: ttyv8 /usr/X11R6/bin/xdm -nodaemon xterm off secure Change this into: ttyv8 /usr/X11R6/bin/kdm xterm on secure And voila, KDM will start at boot. Best regards, Jorn OK. KDE is starting on boot but it won't let me to log in as root nor I can't su after I have logged in as normal user. And another thing: I have configure X with xorgcfg -textmode and I have specified my card, monitor, resolution. Hence, after the log into my account I have 640*480 only resolution. I have tried to change in preferencesperipheraldisplay but I have only one choose 640*480. What am I missing here? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
It doesn't work on winxp. I am going to build another machine with FreeBSD 5.4 and I'll try it then and let you know the results. Sasa --On 18. december 2005 14:02 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: In looking at this again, I didn't realize you were pinging from Win2K Win2K uses the -f option to set the Do Not Fragment bit, UNIX uses the -f option to flood ping. Win2k ping does not have a flood ping option. You can download a ping for Windows from Microsoft here: http://research.microsoft.com/barc/mbone/mping.aspx that does have an option for flooding traffic. ( set the milliseconds between packets very low) but I have not tested it. Doubtless others are available on the Internet. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 6:07 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Nothing. From the GUI view it is at 0% of utilisation. Sasa --On 18. december 2005 3:51 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: what does the CPU of the router do when your doing that? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 3:00 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 18. december 2005 2:32 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 2:21 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 18. december 2005 1:33 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:25 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 16. december 2005 3:36 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 12:34 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). what are the cpu speeds and operating systems of all devices in the packet path, what is the make and model of switchs in use, provide dmesg output of the bsd box, a network diagram of the setup, etc. etc. etc. The above test results are not replicatable and thus, worthless. Useful test results would allow a reader to build an exact duplicate of your setup, config it identically, and get identical results. Ted OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C The 3com 3c905 is not a very good card under FreeBSD the driver was written without support from 3com and is shakey on a lot of hardware. I would say there's a big question that your server is actually saturating the ethernet. Probably that is why your only getting 90Mbt. NIC; router is m0n0wall (FreeBSD 4.11) with three Intel Pro/100S Nics and Celeron 433; The user computer (192.168.10.249) is Celeron 2400 with winxp and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600. Once again, the winxp+realtek 8139 is not a particularly steller combo, I would question that this system could saturate the ethernet, either. Diagram: http://me.homelinux.net/network.pdf dmesg from the router: $ dmesg Copyright (c) 1992-2005 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
Re: Long delay when sending mail
--On 18. december 2005 11:13 + Matthew Seaman [EMAIL PROTECTED] wrote: Sasa Stupar wrote: Hi! I have configured mail server on FreeBSD 5.4 with sendmail 8.13.5 and cyrus-imapd v2. I am also using client Mulberry (but also tested with Tbird, Outlook Express, Outlook). I use IMAP access with all the clients, the server is on the same network as clients (100 Mbit network). The issue is when I try to send several messages one after another I get smtp delay message and this sometimes takes for 30 sec to a minute. My sendmail has configured a smart host and also to accept unqualified domains. I have attached my sendmail config. What am I missing here? 30s delays sounds like DNS timeouts. Check that the host running sendmail can do a reverse lookup on the IP number of the clients connecting to it. Simply putting IPs and hostnames of all your client boxes into /etc/hosts should fix the problem. It is allready able to do a reverse lookup on clients. Alternatively, that delay could be due to the ident protocol. Ident is trivially easy to spoof which makes it a pointless waste of time. Putting: define(`confTO_IDENT', `0')dnl in your .mc file will stop ident getting in your hair. This is allready defined also. The third possibility is that you've got quite a few milters set up there and sendmail simply needs a bit of time to run each message through all of them. Cheers, Matthew Will try without milters but there are only two milters sendmail and clamav. But is this possible also to be an imap issue since I use it to read my mail and also to store all outgoing mail? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Long delay when sending mail
Hi! I have configured mail server on FreeBSD 5.4 with sendmail 8.13.5 and cyrus-imapd v2. I am also using client Mulberry (but also tested with Tbird, Outlook Express, Outlook). I use IMAP access with all the clients, the server is on the same network as clients (100 Mbit network). The issue is when I try to send several messages one after another I get smtp delay message and this sometimes takes for 30 sec to a minute. My sendmail has configured a smart host and also to accept unqualified domains. I have attached my sendmail config. What am I missing here? -- Sasa Stupar freebsd.mc Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
--On 18. december 2005 1:33 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:25 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 16. december 2005 3:36 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 12:34 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). what are the cpu speeds and operating systems of all devices in the packet path, what is the make and model of switchs in use, provide dmesg output of the bsd box, a network diagram of the setup, etc. etc. etc. The above test results are not replicatable and thus, worthless. Useful test results would allow a reader to build an exact duplicate of your setup, config it identically, and get identical results. Ted OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C The 3com 3c905 is not a very good card under FreeBSD the driver was written without support from 3com and is shakey on a lot of hardware. I would say there's a big question that your server is actually saturating the ethernet. Probably that is why your only getting 90Mbt. NIC; router is m0n0wall (FreeBSD 4.11) with three Intel Pro/100S Nics and Celeron 433; The user computer (192.168.10.249) is Celeron 2400 with winxp and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600. Once again, the winxp+realtek 8139 is not a particularly steller combo, I would question that this system could saturate the ethernet, either. Diagram: http://me.homelinux.net/network.pdf dmesg from the router: $ dmesg Copyright (c) 1992-2005 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 4.11-RELEASE-p11 #0: Wed Sep 7 13:49:09 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU) Origin = GenuineIntel Id = 0x665 Stepping = 5 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 201326592 (196608K bytes) avail memory = 179142656 (174944K bytes) Preloaded elf kernel kernel at 0xc1006000. Preloaded mfs_root /mfsroot at 0xc100609c. Pentium Pro MTRR support enabled md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c md1: Malloc disk Using $PIR table, 8 entries at 0xc00fdef0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xd000-0xd01f irq 11 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: Intel 82371AB Power management controller port 0x5000-0x500f at device 7.3 on pci0 pci0: unknown card (vendor=0x1274, dev=0x1371) at 8.0 irq 11 fxp0: Intel 82550 Pro/100 Ethernet port 0xd800-0xd83f mem 0xd040-0xd041,0xd046-0xd0460fff irq 10 at device 15.0 on pci0 fxp0: Ethernet address 00:02:b3:62:f6:06 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
--On 18. december 2005 2:32 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 2:21 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 18. december 2005 1:33 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:25 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 16. december 2005 3:36 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 12:34 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). what are the cpu speeds and operating systems of all devices in the packet path, what is the make and model of switchs in use, provide dmesg output of the bsd box, a network diagram of the setup, etc. etc. etc. The above test results are not replicatable and thus, worthless. Useful test results would allow a reader to build an exact duplicate of your setup, config it identically, and get identical results. Ted OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C The 3com 3c905 is not a very good card under FreeBSD the driver was written without support from 3com and is shakey on a lot of hardware. I would say there's a big question that your server is actually saturating the ethernet. Probably that is why your only getting 90Mbt. NIC; router is m0n0wall (FreeBSD 4.11) with three Intel Pro/100S Nics and Celeron 433; The user computer (192.168.10.249) is Celeron 2400 with winxp and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600. Once again, the winxp+realtek 8139 is not a particularly steller combo, I would question that this system could saturate the ethernet, either. Diagram: http://me.homelinux.net/network.pdf dmesg from the router: $ dmesg Copyright (c) 1992-2005 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 4.11-RELEASE-p11 #0: Wed Sep 7 13:49:09 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU) Origin = GenuineIntel Id = 0x665 Stepping = 5 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 201326592 (196608K bytes) avail memory = 179142656 (174944K bytes) Preloaded elf kernel kernel at 0xc1006000. Preloaded mfs_root /mfsroot at 0xc100609c. Pentium Pro MTRR support enabled md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c md1: Malloc disk Using $PIR table, 8 entries at 0xc00fdef0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xd000-0xd01f irq 11 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: Intel 82371AB Power management
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
Nothing. From the GUI view it is at 0% of utilisation. Sasa --On 18. december 2005 3:51 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: what does the CPU of the router do when your doing that? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 3:00 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 18. december 2005 2:32 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sasa Stupar Sent: Sunday, December 18, 2005 2:21 AM To: Ted Mittelstaedt; freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 18. december 2005 1:33 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:25 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) --On 16. december 2005 3:36 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 12:34 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). what are the cpu speeds and operating systems of all devices in the packet path, what is the make and model of switchs in use, provide dmesg output of the bsd box, a network diagram of the setup, etc. etc. etc. The above test results are not replicatable and thus, worthless. Useful test results would allow a reader to build an exact duplicate of your setup, config it identically, and get identical results. Ted OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C The 3com 3c905 is not a very good card under FreeBSD the driver was written without support from 3com and is shakey on a lot of hardware. I would say there's a big question that your server is actually saturating the ethernet. Probably that is why your only getting 90Mbt. NIC; router is m0n0wall (FreeBSD 4.11) with three Intel Pro/100S Nics and Celeron 433; The user computer (192.168.10.249) is Celeron 2400 with winxp and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600. Once again, the winxp+realtek 8139 is not a particularly steller combo, I would question that this system could saturate the ethernet, either. Diagram: http://me.homelinux.net/network.pdf dmesg from the router: $ dmesg Copyright (c) 1992-2005 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 4.11-RELEASE-p11 #0: Wed Sep 7 13:49:09 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU) Origin = GenuineIntel Id = 0x665 Stepping = 5 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 201326592 (196608K bytes) avail memory = 179142656 (174944K bytes) Preloaded elf kernel kernel at 0xc1006000. Preloaded mfs_root /mfsroot at 0xc100609c. Pentium Pro MTRR support enabled md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c md1: Malloc disk Using $PIR table, 8 entries at 0xc00fdef0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0 isa0
Re: webmail solution
--On 17. december 2005 11:46 -0500 Dave [EMAIL PROTECTED] wrote: Hello, I'm looking for experiences with a webmail solution. I want to use postfix as my mta and on a freebsd6 machine. The users who will be using the server probably would do better with a webmail package so they can get to it from anywhere. The box already has apache and php so i don't think that'll be an issue. One thing i'm uncertain is whether to offer direct pop/imap or their equivalent encrypted counterparts or just do it all through webmail. Experiences and recommendations welcome. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Squirrelmail is my choise. Works nice, easy to setup, a lot of plugins to add, etc. I use it with cyrus-imapd imap/pop3 server and sendmail as mta. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
--On 16. december 2005 3:36 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Sasa Stupar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 12:34 AM To: Ted Mittelstaedt; [EMAIL PROTECTED]; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). what are the cpu speeds and operating systems of all devices in the packet path, what is the make and model of switchs in use, provide dmesg output of the bsd box, a network diagram of the setup, etc. etc. etc. The above test results are not replicatable and thus, worthless. Useful test results would allow a reader to build an exact duplicate of your setup, config it identically, and get identical results. Ted OK. The server (192.168.1.200) is FreeBSD 5.4 with Duron 900 and 3C905C NIC; router is m0n0wall (FreeBSD 4.11) with three Intel Pro/100S Nics and Celeron 433; The user computer (192.168.10.249) is Celeron 2400 with winxp and integrated NIC Realtek 8139 series. Switch is CNET CNSH-1600. Diagram: http://me.homelinux.net/network.pdf dmesg from the router: $ dmesg Copyright (c) 1992-2005 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 4.11-RELEASE-p11 #0: Wed Sep 7 13:49:09 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/compile/M0N0WALL_GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (434.32-MHz 686-class CPU) Origin = GenuineIntel Id = 0x665 Stepping = 5 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 201326592 (196608K bytes) avail memory = 179142656 (174944K bytes) Preloaded elf kernel kernel at 0xc1006000. Preloaded mfs_root /mfsroot at 0xc100609c. Pentium Pro MTRR support enabled md0: Preloaded image /mfsroot 11534336 bytes at 0xc0504d9c md1: Malloc disk Using $PIR table, 8 entries at 0xc00fdef0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xd000-0xd01f irq 11 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: Intel 82371AB Power management controller port 0x5000-0x500f at device 7.3 on pci0 pci0: unknown card (vendor=0x1274, dev=0x1371) at 8.0 irq 11 fxp0: Intel 82550 Pro/100 Ethernet port 0xd800-0xd83f mem 0xd040-0xd041,0xd046-0xd0460fff irq 10 at device 15.0 on pci0 fxp0: Ethernet address 00:02:b3:62:f6:06 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Intel 82550 Pro/100 Ethernet port 0xdc00-0xdc3f mem 0xd042-0xd043,0xd0462000-0xd0462fff irq 12 at device 16.0 on pci0 fxp1: Ethernet address 00:02:b3:9c:2a:16 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp2: Intel 82550 Pro/100 Ethernet port 0xe000-0xe03f mem 0xd044-0xd045,0xd0461000-0xd0461fff irq 7 at device 19.0 on pci0 fxp2: Ethernet address 00:02:b3:8c:e4:f6 inphy2: i82555 10/100 media interface on miibus2 inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pmtimer0 on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
, probably twice, polling is obviously less efficient at lower bandwidth. In interrupt driven mode, to get 5000 interrupts per second you are most likely going to be having a lot of traffic coming in, whereas you could get no traffic at all with polling mode in 5000 clock ticks. So clearly, the comparison is always stacked towards polling being only a competitor at high bandwidth. Why you insist on using scenarios as examples that are low bandwidth scenarios I cannot understand because nobody in this debate so far has claimed that polling is better at low bandwidth. I am as suspicious of testimonials as the next guy and it is quite true that so far everyone promoting polling in this thread has posted no test suites that are any better than yours - you basically are blowing air at each other. But there are a lot of others on the Internet that seem to think it works great. I gave you some openings to discredit them and you haven't taken them. I myself have never tried polling, so I am certainly not going to argue against a logical, reasoned explanation of why it's no good at high bandwidth. So far, however, you have not posted anything like this. And I am still waiting for the test suites you have used for your claim that the networking in 5.4 and later is worse, and I don't see why you want to diverge into this side issue on polling when the real issue is the alleged worse networking in the newer FreeBSD versions. Ted Hmmm, here is test with iperf what I have done with and without polling: ** Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1088 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 108 MBytes 90.1 Mbits/sec This is when I use Device polling option on m0n0. If I disable this option then my transfer is worse: Client connecting to 192.168.1.200, TCP port 5001 TCP window size: 8.00 KByte (default) [1816] local 192.168.10.249 port 1086 connected with 192.168.1.200 port 5001 [ ID] Interval Transfer Bandwidth [1816] 0.0-10.0 sec 69.7 MBytes 58.4 Mbits/sec *** BTW: my router is m0n0wall (FBSD 4.11). -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
--On 15. december 2005 6:33 -0800 Drew Tomlinson [EMAIL PROTECTED] wrote: On 12/15/2005 12:33 AM Sasa Stupar wrote: --On 14. december 2005 20:01 -0800 Ted Mittelstaedt [EMAIL PROTECTED] wrote: -Original Message- From: Danial Thom [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 11:14 AM To: Ted Mittelstaedt; Drew Tomlinson Cc: freebsd-questions@freebsd.org Subject: RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song) Well, if polling does no good for fxp, due to the hardware doing controlled interrupts, then why does the fxp driver even let you set it as an option? And why have many people who have enabled it on fxp seen an improvement? They haven't, freebsd accounting doesn't work properly with polling enabled, and they don't have the ability to know if they are getting better performance, because they, like you, have no clue what they're doing. How about all the idiots running MP with FreeBSD 4.x, when we know its just a waste of time? they all think they're getting worthwhile performance, because they are clueless. I would call them idiots if they are running MP under FreeBSD and assuming that they are getting better performance without actually testing for it. But if they are just running MP because they happen to be using an MP server, and they want to see if it will work or not, who cares? Maybe its tunable because they guy who wrote the driver made it a tunable? duh. I've yet to see one credible, controlled test that shows polling vs properly tuned interrupt-driven. Hm, OK I believe that. As I recall I asked you earlier to post the test setup you used for your own tests proving that polling is worse, and you haven't done so yet. Now you are saying you have never seen a credible controlled test that shows polling vs interrupt-driven. So I guess either you were blind when you ran your own tests, or your own tests are not credible, controlled polling vs properly tuned interrupt-driven. As I have been saying all along. Now your agreeing with me. The only advantage of polling is that it will drop packets instead of going into livelock. The disadvantage is that it will drop packets when you have momentary bursts that would harmlessly put the machine into livelock. Thats about it. Ah, now I think suddenly I see what the chip on your shoulder is. You would rather have your router based on FreeBSD go into livelock while packets stack up, than drop anything. You tested the polling code and found that yipes, it drops packets. What may I ask do you think that a Cisco or other router does when you shove 10Mbt of traffic into it's Ethernet interface destined for a host behind a T1 that is plugged into the other end? (and no, source-quench is not the correct answer) I think the scenario of it being better to momentary go into livelock during an overload is only applicable to one scenario, where the 2 interfaces in the router are the same capacity. As in ethernet-to-ethernet routers. Most certainly not Ethernet-to-serial routers, like what most routers are that aren't on DSL lines. If you have a different understanding then please explain. I've read those datasheets as well and the thing I don't understand is that if you are pumping 100Mbt into an Etherexpress Pro/100 then if the card will not interrupt more than this throttled rate you keep talking about, then the card's interrupt throttling is going to limit the inbound bandwidth to below 100Mbt. Wrong again, Ted. It scares me that you consider yourself knowlegable about this. You can process # interrupts X ring_size packets; not one per interrupt. You're only polling 1000x per second (or whatever you have hz set to), so why do you think that you have to interrupt for every packet to do 100Mb/s? I never said anything about interrupting for every packet, did I? Of course not since I know what your talking about. However, it is you who are throwing around the numbers - or were in your prior post - regarding the fxp driver and hardware. Why should I have to do the work digging around in the datasheets and doing the math? Since you seem to be wanting to argue this from a theory standpoint, then your only option is to do the math. Go ahead, look up the datasheet for the 82557. I'm sure it's online somewhere, and tell us what it says about throttled interrupts, and run your numbers. Do you not understand that packet processing is the same whether its done on a clock tick or a hardware interrupt? Do you not understand that a clock tick has more overhead (because of other assigned tasks)? Do you not understand that getting exactly 5000 hardware interrupts is much more efficient than having 5000 clock tick interrupts per second? What part of this don't you understand? Well, one part I don't understand is why when one of those 5000 clock ticks happens and the fxp driver finds no packets to take off the card, that it takes the same amount of time for the driver to process
RE: Polling For 100 mbps Connections? (Was Re: Freebsd Theme Song)
I also use polling on my Intel Pro/100S and I get inscrease of almoast 100% in speed. OK, My machine is Celeron 433 with 256 MB RAM and it is used as router. With iperf between DMZ and LAN with polling enabled I reach speed of 90 Mbit and without polling I can get speed only about 58 Mbit. So for me polling is good and I'll keep on using it. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slices
--On 12. december 2005 19:29 -0500 Jerry McAllister [EMAIL PROTECTED] wrote: On Mon, 12 Dec 2005 12:40:40 -0600 Kevin Kinsey [EMAIL PROTECTED] wrote: Sasa Stupar wrote: You can also do the same as I did. I have just configured one slice named / which takes all the space on hdd and now I don't need to worry about space shortage. OK then, but suppose we have some runaway process The main two reasons for dividing up your FreeBSD disk in to partitions rather than making just one big partition are to reduce the threat of runaway processes and to manage backup and restore sizes. Think those things out to meet your needs and resources. jerry OK. But then what would be ideal slice size for /, /var, /usr, /boot? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slices
--On 13. december 2005 12:36 +0200 Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-12-13 09:36, Sasa Stupar [EMAIL PROTECTED] wrote: The main two reasons for dividing up your FreeBSD disk in to partitions rather than making just one big partition are to reduce the threat of runaway processes and to manage backup and restore sizes. Think those things out to meet your needs and resources. OK. But then what would be ideal slice size for /, /var, /usr, /boot? That's not something that can be answered easily with a template answer. The best sizes are those that match your own needs and preferences, but only you can describe what these are.' Back when I bought a new, bigger disk, I wrote this post: http://keramida.serverhive.com/weblog/archives/2004-10-26/daemonizing-a-n ew-disk which includes a description of the partitions I used and why I chose these sizes. The tuning(7) manpage also has a good description of how to pick a good disk partitioning scheme: http://www.freebsd.org/cgi/man.cgi?query=tuningsektion=7apropos=0manpa th=FreeBSD+6.0-RELEASE+and+Ports Thanx. This is very good explanation. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dansguardian port
--On 11. december 2005 18:50 +0100 Sasa Stupar [EMAIL PROTECTED] wrote: Hi! I have installed dansguardian on FBSD 5.4 from the ports but I have found out that this port was not made for antivirus support - (need to patch the source). The port is fresh since I have just done cvsup my ports tree. Am I missing something? Nevermind, I have just installed it from dansguardian-devel port and it works fine. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slices
--On 12. december 2005 10:09 -0500 Robert Huff [EMAIL PROTECTED] wrote: Giorgos Keramidas writes: After reading some pages of the handbook and the faq's I expericienced that making a slice for /var with the sice of 50mB ( i used 64mB) is not enough when during the installation i permitted th Linux compatable. At install time, some of the largest packages may overflow a /var partition that is so small. Not just at install time. If you decide to install applications using the ports system, some of them use /var for the build process. I've had builds die because there was insufficient free space on /var. (Mind you, I remember these being large/complex applications - OpenOffice, Mozilla, Java - but even so.) In my opinion, given modern disk capacities 50mb is way too small. To register a data point: huff@ df -h /var Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1d989M169M741M19%/var Robert Huff You can also do the same as I did. I have just configured one slice named / which takes all the space on hdd and now I don't need to worry about space shortage. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dansguardian port
Hi! I have installed dansguardian on FBSD 5.4 from the ports but I have found out that this port was not made for antivirus support - (need to patch the source). The port is fresh since I have just done cvsup my ports tree. Am I missing something? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4 vs. 6.0
Hi! Can someone tell me in plain words what will I gain if I upgrade my server from 5.4 to 6.0? -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 vs. 6.0
--On 10. december 2005 10:37 +0100 Nicklas B. Westerlund [EMAIL PROTECTED] wrote: Sasa Stupar wrote: Hi! Can someone tell me in plain words what will I gain if I upgrade my server from 5.4 to 6.0? Better sleep during nights. ;-) N. I allready sleep good with 5.4 :) -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 9. december 2005 10:55 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 09/12/05 08:51 +0100, Sasa Stupar wrote: --On 9. december 2005 9:33 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 08/12/05 20:00 +0100, Sasa Stupar wrote: Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Hello Sasa, You have two options around this, I think; portupgrade -m FORCE_PKG_REGISTER=1 or add FORCE_PKG_REGISTER=yes to /etc/make.conf HTH -Wash I have put in make.conf to force pkg register and now when I make install I get an error: - === Registering installation for db43-4.3.29 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -- It looks like it can't find db43 on my system. Anything else I could try? I wonder what command you are running ;) -Wash # cd /usr/ports/sysutils/portupgrade make install clean === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 9. december 2005 7:37 -0500 Robert Huff [EMAIL PROTECTED] wrote: Sasa Stupar writes: # cd /usr/ports/sysutils/portupgrade make install clean === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. As I understand it, this means the package is registered but the library is not detected. This happens occasionally, for a variety of reasons. My response: pd /usr/ports/databases/db43 make deinstall make make install make distclean popd cd /usr/ports/sysutils/portupgrade make install should do it. Nope. It doesn't help. It still complains about not finding db43 library. I'd also fix this ASAP: pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded How to fix this? Robert Huff -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 9. december 2005 14:31 +0100 Herbert J. Skuhra [EMAIL PROTECTED] wrote: You have installed an OLD version of ruby-bdb which is no longer in the ports. So update this port first and then try to build portupgrade again (with the option WITH_BDB4=yes). BR Herbert Thanx for the tip. I have updated my ports and reinstall ruby and now I was able to install portupgrade. -- Sasa Stupar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrade 5.4 - 6.0
Hi! Can someone tell me the proper steps for upgrading from 5.4 - 6.0? I have also stuff installed from the ports collection, eg. cyrus-imapd, clamav, etc. Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade install problem
Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 8. december 2005 13:35 -0800 Dan O'Connor [EMAIL PROTECTED] wrote: I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: snip === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 snip Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Have you tried doing what the message suggests? # cd /usr/ports/databases/db43 # make deinstall # make reinstall Then go and install portupgrade... ~Dan Yes. I have tried that but still after I got the same error while installing portupgrade. -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade install problem
--On 9. december 2005 9:33 +0300 Odhiambo Washington [EMAIL PROTECTED] wrote: * On 08/12/05 20:00 +0100, Sasa Stupar wrote: Hi! I am trying to install portupgrade from the ports collection on my FBSD 5.4. But it keeps giving me error about db43 allready installed: # make install === Installing for portupgrade-20041226_8 === portupgrade-20041226_8 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so - not found ===Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so in /usr/ports/databases/ruby-bdb === ruby18-bdb43-0.5.3 depends on file: /usr/local/bin/ruby18 - found === ruby18-bdb43-0.5.3 depends on shared library: db43 - not found ===Verifying install for db43 in /usr/ports/databases/db43 === Installing for db43-4.3.29 === Generating temporary packing list === Checking if databases/db43 already installed pkg_info: package bsdpan-HTML-Parser-3.46 has no origin recorded pkg_info: package bsdpan-HTML-Tagset-3.10 has no origin recorded pkg_info: package bsdpan-IMAP-Admin-1.6.4 has no origin recorded pkg_info: package bsdpan-IMAP-Sieve-0.4.9b has no origin recorded pkg_info: package bsdpan-URI-1.35 has no origin recorded === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. --- Yes, I have db43 allready installed but isn't it suppose to pass it if it finds package allready installed? Hello Sasa, You have two options around this, I think; portupgrade -m FORCE_PKG_REGISTER=1 or add FORCE_PKG_REGISTER=yes to /etc/make.conf HTH -Wash I have put in make.conf to force pkg register and now when I make install I get an error: - === Registering installation for db43-4.3.29 === Returning to build of ruby18-bdb43-0.5.3 Error: shared library db43 does not exist *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. -- It looks like it can't find db43 on my system. Anything else I could try? -Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Making a FreeBSD live CD
Hi! I have setup and configured my machine with FBSD 5.4. Now I am thinking to make all the OS to a Live CD and use my hard drive for mysql, web and mail data and swap of course. Now I allready have two HDD where on first is OS and on second my data as stated before. After it would be nice to boot the system with CD only. Is this possible and if it is, how to make it? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which firewall?
Hi! I am about to set up a router with FBSD 5.4 for SOHO network. There will be no servers running, only inet access for the users but I'd like to make traffic limitation for users (download and upload). Which firewall of the three one explained in the handbook do you recommend? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which firewall?
--On 17. november 2005 18:19 +0800 Dinesh Nair [EMAIL PROTECTED] wrote: On 11/17/05 18:15 Sasa Stupar said the following: Hi! I am about to set up a router with FBSD 5.4 for SOHO network. There will be no servers running, only inet access for the users but I'd like to you could try using m0n0wall, http://m0n0.ch/wall/ it's a freebsd 4.11 based system with a nice UI. Hmmm, this looks interesting. Thanx. Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: MailScanner / SMTP Auth
--On 14. november 2005 10:15 +0100 Martin Schweizer [EMAIL PROTECTED] wrote: Sorry, forgot to attache the sendmail.mc Hello Until now I run sendmail, mailscanner and cyrus-imapd without any problems. Now I want to update sendmail with SMTP Auth. I updated my sendmail.mc like described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. But after this all new mails only delivered local to root (no more to cyrus). Below attached is my sendmail.mc. Is there anybody how has the same setup? Are there any pitfalls? My system: FreeBSD 5.4, sendmail 8.13.3, cyrus IMAP4 2.2.12 Any hints are welcome. divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 5.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $') OSTYPE(freebsd5) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit dnl http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `550 Mail from ${client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?; ${client_addr}') FEATURE(dnsbl, `relays.ordb.org', `550 Mail rejected - see http://www.ordb.org/faq;') FEATURE(dnsbl, `sbl.spamhaus.org', `550 Mail rejected - see http://www.spamhaus.org/SBL;') dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `[195.186.18.142]') dnl Uncomment the first line to change the location of the default dnl /etc/mail/local-host-names and comment out the second line. dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw') define(`confCW_FILE', `-o /etc/mail/local-host-names') dnl Enable for both IPv4 and IPv6 (optional) DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') dnl set SASL options TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl define(`confBIND_OPTS', `WorkAroundBroken')
Re: Upgrading application(s)
--On 11. november 2005 13:15 -0500 Charles Swiger [EMAIL PROTECTED] wrote: On Nov 11, 2005, at 12:57 PM, Sasa Stupar wrote: I am quite new to freebsd. I have several applications build from the ports collection. When some port change for a new version (I cvsup my ports collection) how do I do upgrade of that application? Is it the same as for the first time: just go to the port I want and then type make and make install or is there another way? Yes, there are other ways. The two main choices for rebuilding new ports are sysutils/ portupgrade and sysutils/portmanager. portupgrade is considered the default or standard tool, and it works quite well for most things, but has problems with KDE and GNOME in particular. portmanager uses a rather different approach to handling dependencies, which can require more compiler work, but it seems to handles updating KDE and GNOME better than portupgrade does. OK. I am trying to install portupgrade (I do not use X) from the ports but after I make install I get the following error: === db43-4.3.29 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/db43 without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/databases/db43. *** Error code 1 Stop in /usr/ports/databases/ruby-bdb. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. - Why is it complaining about db43? Yes, I have it allready installed before with installation of Cyrus-imapd. Shouldn't it just ignore if it is allready installed? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading application(s)
Hi! I am quite new to freebsd. I have several applications build from the ports collection. When some port change for a new version (I cvsup my ports collection) how do I do upgrade of that application? Is it the same as for the first time: just go to the port I want and then type make and make install or is there another way? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD 5.4 and old PC
Hi! I have an old Compaq Deskpro 2000 (P166) with 64M RAM and HDD 1.5G. I was thinking to make it as router with FBSD 5.4. Did anyone had any kind of problems with setup on that kind of machine? Regards, Sasa pgpyxZSX8QkjH.pgp Description: PGP signature
Speed question
Hi! I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN), eth2 (DMZ). Strange thing is that when server is on DMZ and I access it from the LAN with ftp client my transfer speed is 30 Mbit/s. The network itself is 100 Mbit. BUT if I move server from LAN to DMZ I have the max speed arround 100 Mbit/s. BTW: server in DMZ is connected directly to the NIC on router and on the LAN side I have all users connected on one switch which is connected to the router. Is this normall for all kinds of routers (linux, bsd, etc.) with setup like mine to behave like this or is it just my router setup? Regards, Sasa pgpvEkuFy7waX.pgp Description: PGP signature
Re: Speed question
--On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: Hi! I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN), eth2 (DMZ). Strange thing is that when server is on DMZ and I access it from the LAN with ftp client my transfer speed is 30 Mbit/s. The network itself is 100 Mbit. BUT if I move server from LAN to DMZ I have the max speed arround 100 Mbit/s. BTW: server in DMZ is connected directly to the NIC on router and on the LAN side I have all users connected on one switch which is connected to the router. Is this normall for all kinds of routers (linux, bsd, etc.) with setup like mine to behave like this or is it just my router setup? Regards, Sasa Made a mistake in the post: BUT if I move server from LAN to DMZ... should be BUT if I move server from DMZ to LAN...# Sasa pgpd7S3W9tshi.pgp Description: PGP signature
Re: Speed question
--On 26. oktober 2005 13:11 +0400 Andrew P. [EMAIL PROTECTED] wrote: On 10/26/05, Sasa Stupar [EMAIL PROTECTED] wrote: --On 26. oktober 2005 9:46 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: Hi! I have on my LAN a server FBSD 5.4 on DMZ. The router is made of linux (yes I'll change it to FBSD ASAP) with 3 NIC: eth0 (inet), eth1 (LAN), eth2 (DMZ). Strange thing is that when server is on DMZ and I access it from the LAN with ftp client my transfer speed is 30 Mbit/s. The network itself is 100 Mbit. BUT if I move server from LAN to DMZ I have the max speed arround 100 Mbit/s. BTW: server in DMZ is connected directly to the NIC on router and on the LAN side I have all users connected on one switch which is connected to the router. Is this normall for all kinds of routers (linux, bsd, etc.) with setup like mine to behave like this or is it just my router setup? Regards, Sasa Made a mistake in the post: BUT if I move server from LAN to DMZ... should be BUT if I move server from DMZ to LAN...# Sasa If you mean that bandwidth between 2 boxes on one switch is higher than that between 2 boxes connected to different NICs on some server, then that's absolutely normal and expected. No server can match the speed of a Cisco, and no Cisco can match the speed of a cheap unmanaged switch. If you mean that ftp client and ftp server are connected to different NICs on the router in both cases (30Mbit and 100Mbit transfers), it is explainable, because traffic from DMZ to LAN usually gets a closer look than that from LAN to LAN. You might or might not get better performance with FreeBSD as the router. Thank you for the explanation. Sasa pgp8R1Yz5L7LY.pgp Description: PGP signature
LDAP tutorial
Hi! Can someone provide me a link for a good tutorial for installing and configuring a LDAP server on FBSD 5.4? Regards, Sasa pgpM5kXqbh3An.pgp Description: PGP signature
Dsk status question
Hi! On my FBSD 5.4 I have added second disk via sysinstall and with label /disk2. I can access it normally but what bothers me that on daily Disk status it shows me only the status for the first disk and not that second one: Disk status: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad2s1a 37669550 28025600 663038681%/ devfs 11 0 100%/dev In my fstab I have: # cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass# /dev/ad2s1b noneswapsw 0 0 /dev/ad2s1a / ufs rw 1 1 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 So my second drive isn't listed here but I can still access it without needing to mount it manually. Some other info: First disk: -- # fdisk /dev/ad2 *** Working on device /dev/ad2 *** parameters extracted from in-core disklabel are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=79656 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 80292807 (39205 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED - Second disk: -- # fdisk /dev/ad3 *** Working on device /dev/ad3 *** parameters extracted from in-core disklabel are: cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 78156162 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED - How is it possible to mount second disk automatically if it is not listed in /etc/fstab? Regards, Sasa pgpJ0WewK2sZZ.pgp Description: PGP signature
tunefs problem
I am trying to enable tunefs for my filesystem but I get the following: - # tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock - But AFAIK fsck is not running. What am I missing here? Regards, Sasa pgpoJytuIKOU2.pgp Description: PGP signature
Re: tunefs problem
--On 8. oktober 2005 0:20 -0700 David Kirchner [EMAIL PROTECTED] wrote: On 10/8/05, Sasa Stupar [EMAIL PROTECTED] wrote: I am trying to enable tunefs for my filesystem but I get the following: - # tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock - But AFAIK fsck is not running. What am I missing here? Regards, Sasa It means that you need to run fsck on the partition before you can enable softupdates. Something like fsck -y / will do it. I have done it but: --- # fsck -y / ** /dev/ad2s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=1719827 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 6 12:19 2005 CLEAR? no UNREF FILE I=1719847 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 6 12:19 2005 CLEAR? no UNREF FILE I=1719855 OWNER=mysql MODE=100600 SIZE=0 MTIME=Oct 6 12:19 2005 CLEAR? no ** Phase 5 - Check Cyl groups 405241 files, 14013004 used, 4821771 free (72987 frags, 593598 blocks, 0.4% fragmentation) mig29# tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock Still the same issue. Anything else should I do? Regards, Sasa pgpH5lbvH9phm.pgp Description: PGP signature
Re: tunefs problem
--On 8. oktober 2005 9:02 -0500 Gunter Wambaugh [EMAIL PROTECTED] wrote: Look at the output from fsck. It very clearly tells you that it found problems, but didn't fix them (probably because the partition is mounted). Notice the following lines: ** /dev/ad2s1a (NO WRITE) and CLEAR? no Boot to single user mode and try it again. Also, if you add fsck_y_enable=YES to rc.conf these should be fixed automatically at boot (IIRC). HTH Thanx for the tip. Sasa pgplreTnkiUHk.pgp Description: PGP signature
Re: Nice brushup!!! www.freebsd.org
--On 7. oktober 2005 14:37 -0400 Danny [EMAIL PROTECTED] wrote: On 10/6/05, Erik Nørgaard [EMAIL PROTECTED] wrote: Hi, I just saw the new website - did it get on today? - this is really a nice job - well done!!! I hope this will support the impression that FreeBSD is professional, all the way through. I know that some people like to think that a nice website is just eyecandy - empty calories - but it works, and it's a pleasure to browse! Congratulations! Looks fantastic! I didn't think I could love FreeBSD anymore. :) -- CPDE - Certified Petroleum Distribution Engineer CCBC - Certified Canadian Beer Consumer Great look. pgpD9wIF1dIdi.pgp Description: PGP signature
Can't get Mailman to work
Hi! I have installed Mailman 2.1.6 from the ports collection on FBSD 5.4. Now I have configured apache to have web access and it is working. I have even created a list and that worked too. My problem is that when I sent a message to the list I get back: -- Failure to find group name mailnull. Try adding this group to your system, or re-run configure, providing an existing group name with the command line option --with-mail-gid. -- I have sendmail configured and running just fine. And the group mailnull DOES exist on my system. I have even tried to ciompile Mailman with different mail_gid but I get allways the same error. Looks like this is connected to the execution of the smrsh. Does anyone have (had) the similar problem and how to solve it? Regards, Sasa pgpPAohxbqLP6.pgp Description: PGP signature
Re: Can't get Mailman to work
--On 6. oktober 2005 2:46 -0400 Chuck Swiger [EMAIL PROTECTED] wrote: grep DefaultUser /etc/mail/sendmail.cf 9# grep DefaultUser /etc/mail/sendmail.cf O DefaultUser=8:12 Sasa pgp681TIfPzFI.pgp Description: PGP signature
Re: Can't get Mailman to work
--On 6. oktober 2005 9:26 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: --On 6. oktober 2005 2:46 -0400 Chuck Swiger [EMAIL PROTECTED] wrote: grep DefaultUser /etc/mail/sendmail.cf 9# grep DefaultUser /etc/mail/sendmail.cf O DefaultUser=8:12 Sasa OK, I have my sendmail now to run as mailnull: - # grep DefaultUser /etc/mail/sendmail.cf O DefaultUser=mailnull - But now I have an error in mailman smtp-error log: - Oct 06 13:39:03 2005 (8442) SMTP session failure: 530, 5.7.0 Authentication required, msgid: - I have on my sendmail setup client smtp authentication but I have also in my access file: - # by default we allow relaying from localhost... localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY - So it should relay without authentication. What am I missing here? Sasa pgpduqFl7V8hc.pgp Description: PGP signature
Re: Can't get Mailman to work [SOLVED]
--On 6. oktober 2005 13:43 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: --On 6. oktober 2005 9:26 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: --On 6. oktober 2005 2:46 -0400 Chuck Swiger [EMAIL PROTECTED] wrote: grep DefaultUser /etc/mail/sendmail.cf 9# grep DefaultUser /etc/mail/sendmail.cf O DefaultUser=8:12 Sasa OK, I have my sendmail now to run as mailnull: - # grep DefaultUser /etc/mail/sendmail.cf O DefaultUser=mailnull - But now I have an error in mailman smtp-error log: - Oct 06 13:39:03 2005 (8442) SMTP session failure: 530, 5.7.0 Authentication required, msgid: - I have on my sendmail setup client smtp authentication but I have also in my access file: - # by default we allow relaying from localhost... localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY - So it should relay without authentication. What am I missing here? Sasa Got it finally. I had an option for SMTPPORT = '587' in mm_cfg.py. Now I have removed it and it works. What a relief. Regards, Sasa pgpWCcgPQrrlk.pgp Description: PGP signature
Websieve issue
Hi! I have installed websieve from ports collection on my FBSD 5.4, configured it but now when I try to login I get back: --- Login Error There was an error in loging you in to the server. Please click HERE and try again. Wrong Password! -- I am a sysadmin for linux and fbsd machines and hence websieve on linux machines works but on fbsd I get Login error. The configuration is identical for all machines. The only error I can find is in httpd_error log: --- [Mon Oct 03 09:46:15 2005] [error] [client 192.168.10.249] [Mon Oct 3 09:46:15 2005] websieve.pl: Name main::serverdisplay used only once: possible typo at /usr/local/www/cgi-bin/websieve.pl line 622. [Mon Oct 03 09:46:15 2005] [error] [client 192.168.10.249] [Mon Oct 3 09:46:15 2005] websieve.pl: Use of uninitialized value in hash element at /usr/local/www/cgi-bin/websieve.pl line 2467. - I have even in the mail log that I have been logged. Any idea what could be wrong here? Sasa pgpxdkdHs6M8j.pgp Description: PGP signature
Re: Mounting ext3 problem [SOLVED]
I have soved the issue. I have just took a fedora boot disk and boot the system, mount corupted drive and then unmount it. Now I can mount drive with ext3 fs. Sasa pgpcOkjCnzIki.pgp Description: PGP signature
Re: Mounting ext3 problem
--On 30. september 2005 23:22 -0400 nawcom [EMAIL PROTECTED] wrote: ext3 is compatible w/ext2 when the dirty bit is not set. When it is set (one common reason is the filesystem not being correctly unmounted), journal rollback is necessary which only ext3 can handle. thats why running fsck_ext2fs on the partition should take care of the issues. it doesn't mean your partition is actually dirty, its just that freebsd doesn't (usually) attempt to mount partitions that were incorrectly unmounted. Let me know if it works. If you dont have ext2 support in fsck yet - you can find the source in /usr/ports/sysutils/fsck_ext2fs -Ben I can't find that port. I have cvsup my ports and I have even searched on the FreeBSD home page of ports collection but it didn't find it. Are you sure about the name? Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting ext3 problem
--On 1. oktober 2005 8:29 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: Sasa Stupar [EMAIL PROTECTED] writes: --On 30. september 2005 23:22 -0400 nawcom [EMAIL PROTECTED] wrote: ext3 is compatible w/ext2 when the dirty bit is not set. When it is set (one common reason is the filesystem not being correctly unmounted), journal rollback is necessary which only ext3 can handle. thats why running fsck_ext2fs on the partition should take care of the issues. it doesn't mean your partition is actually dirty, its just that freebsd doesn't (usually) attempt to mount partitions that were incorrectly unmounted. Let me know if it works. If you dont have ext2 support in fsck yet - you can find the source in /usr/ports/sysutils/fsck_ext2fs -Ben I can't find that port. I have cvsup my ports and I have even searched on the FreeBSD home page of ports collection but it didn't find it. Are you sure about the name? $ grep fsck /usr/ports/MOVED sysutils/fsck_ext2fs|sysutils/e2fsprogs|2004-03-01|Better utility $ Found it and installed it. I have tried with: #/sbin/fsck_ext2fs -f /dev/ad3 execve: No such file or directory I have read man pages for fsck_ext2fs. What am I doing wrong here? Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mounting ext3 problem
Hi! I have installed FBSD 5.4 and recompiled kernel with optionEXT2FS so I could mount my second drive. When I try to mount with: #mount -o ro -t ext2fs /dev/ad3s1 /mnt/linux I get back ext2fs: /dev/ad3s1: Invalid argument Whe typing dmesg I get more on error: WARNING: mount of ad3s1 denied due to unsupported optional features From fdisk, info on drive: # fdisk /dev/ad3 *** Working on device /dev/ad3 *** parameters extracted from in-core disklabel are: cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=77536 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 78156225 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: I have searche on the net and what I have done here is what people suggest to do but it doesn't work. What am I missing here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasa Stupar Sent: Thursday, September 29, 2005 7:04 AM To: freebsd-questions@freebsd.org Subject: RE: Problem with compiling sendmail+sasl Still problem with unknown verifier when I try to authenticate myself. Now my sendmail is copiled with sasl2: -- mig29# sendmail -d0.1 -bv root Version 8.13.5 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG -- And when I telnet to port 25: -- mig29# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to localhost.workgroup. Escape character is '^]'. 220 xmail.homelinux.net ESMTP Sendmail 8.13.5/8.13.5; Thu, 29 Sep 2005 06:59:07 +0200 (CEST) ehlo localhost 250-xmail.homelinux.net Hello localhost.workgroup [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10480760 250-DSN 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250-DELIVERBY 250 HELP -- And SASL2 is working too. I have verified with testsaslauthd and it return OK. So what am I still missing here? I am starting getting desperate. Regards, Sasa OK some additional info from the detailed logging: Sep 29 09:42:48 mig29 sendmail[26205]: j8T7fvhP026205: AUTH failure (plain): bad protocol / cancel (-5) SASL(-5): bad protocol / cancel: Can only find author (no password) Sep 29 09:42:58 mig29 sendmail[26205]: j8T7fvhP026205: AUTH failure (login): no mechanism available (-4) SASL(-4): no mechanism available: checkpass failed I have tried it thru console. Why it is stated no mechanism for login and for plain bad protocol? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl (QUIT FBSD)
After two three days of trying unsuccesfully to configure sendmail with sasl I have decided to quit on FreeBSD and go back to linux. Thank you all guys who tried to help me out. Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with compiling sendmail+sasl
Hi! I am new to FreeBSD just migrated from linux. I have installed version 5.4 and ports collection via cvsup. Then I have used ports for cyrus22 to build Cyrus and also sasl2. Now I am trying to build sendmail 8.13.5 but it doesn't build with sasl support. In my make.conf I have added: SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 And then run make and make install under /usr/ports/mail/sendmail. But when I check with : -- mig29# telnet localhost 25 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost.workgroup. Escape character is '^]'. 220 xmail.homelinux.net ESMTP Sendmail 8.13.3/8.13.5; Wed, 28 Sep 2005 14:15:32 +0200 (CEST) ehlo localhost 250-xmail.homelinux.net Hello localhost.workgroup [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10480760 250-DSN 250-DELIVERBY 250 HELP -- I don't have smtp auth. Moreover, I found out that it didn't built with SASL with: -- mig29# sendmail -bt -d0.1 Version 8.13.3 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG Warning: Option: AuthMechanisms requires SASL support (-DSASL) Warning: Option: AuthOptions requires SASL support (-DSASL) SYSTEM IDENTITY (after readcf) (short domain name) $w = mig29 (canonical domain name) $j = xmail.homelinux.net (subdomain name) $m = workgroup (node name) $k = mig29.workgroup ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) -- What am I doing wrong here? Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Maruszeczka Sent: Wednesday, September 28, 2005 5:03 PM To: freebsd-questions@freebsd.org Subject: Re: Problem with compiling sendmail+sasl Sasa Stupar wrote: Hi! I am new to FreeBSD just migrated from linux. I have installed version 5.4 and ports collection via cvsup. Then I have used ports for cyrus22 to build Cyrus and also sasl2. Now I am trying to build sendmail 8.13.5 but it doesn't build with sasl support. In my make.conf I have added: SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+= -lsasl2 And then run make and make install under /usr/ports/mail/sendmail. But when I check with : -- mig29# telnet localhost 25 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost.workgroup. Escape character is '^]'. 220 xmail.homelinux.net ESMTP Sendmail 8.13.3/8.13.5; Wed, 28 Sep 2005 14:15:32 +0200 (CEST) ehlo localhost 250-xmail.homelinux.net Hello localhost.workgroup [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10480760 250-DSN 250-DELIVERBY 250 HELP -- I don't have smtp auth. Moreover, I found out that it didn't built with SASL with: -- mig29# sendmail -bt -d0.1 Version 8.13.3 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG Warning: Option: AuthMechanisms requires SASL support (-DSASL) Warning: Option: AuthOptions requires SASL support (-DSASL) SYSTEM IDENTITY (after readcf) (short domain name) $w = mig29 (canonical domain name) $j = xmail.homelinux.net (subdomain name) $m = workgroup (node name) $k = mig29.workgroup ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) -- What am I doing wrong here? I think you might be getting the BASE sendmail mixed up with the PORT sendmail. For max flexibility, there are TWO separate versions of sendmail available. Unless you know you need the version provided in the ports you should stick with the one provided in the base. Your sendmail-related make.conf syntax looks correct but what you need to do is rebuild the BASE sendmail with sasl support under /usr/src NOT /usr/ports. I suggest you remove/deinstall the sendmail version found under /usr/ports and do a full `make world` as recommended in the handbook. Others may be able to give you specific directions on rebuilding ONLY the base sendmail if a full make world is undesirable. cheers, G --- Reply --- But I have nothing under /usr/src. I have installed minimum of FreeBSD. Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
-Original Message- From: Gary Hayers [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 6:56 PM To: Sasa Stupar Cc: freebsd-questions@freebsd.org Subject: Re: Problem with compiling sendmail+sasl Sasa Stupar wrote: But I have nothing under /usr/src. I have installed minimum of FreeBSD. Regards, Sasa Try installing /usr/ports/mail/sendmail-sasl Gary I have found my error: I didn't change path in /etc/mailer.conf Now I have smtp auth. I have setup my pwcheck_method: passwd BUT now whe I try to send I get back denied. In the logs I have a line Uknown password verifier. Any idea? Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
-Original Message- From: Gary Hayers [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 7:34 PM To: Sasa Stupar Cc: freebsd-questions@freebsd.org Subject: Re: Problem with compiling sendmail+sasl Sasa Stupar wrote: Try installing /usr/ports/mail/sendmail-sasl Gary I have found my error: I didn't change path in /etc/mailer.conf Now I have smtp auth. I have setup my pwcheck_method: passwd BUT now whe I try to send I get back denied. In the logs I have a line Uknown password verifier. Any idea? Sasa Course what you should follow is the instructions here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html Gary I know about this. This is for sasl v1. I want to use sasl v2. Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasa Stupar Sent: Wednesday, September 28, 2005 7:42 PM To: freebsd-questions@freebsd.org Subject: RE: Problem with compiling sendmail+sasl -Original Message- From: Gary Hayers [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 7:34 PM To: Sasa Stupar Cc: freebsd-questions@freebsd.org Subject: Re: Problem with compiling sendmail+sasl Sasa Stupar wrote: Try installing /usr/ports/mail/sendmail-sasl Gary I have found my error: I didn't change path in /etc/mailer.conf Now I have smtp auth. I have setup my pwcheck_method: passwd BUT now whe I try to send I get back denied. In the logs I have a line Uknown password verifier. Any idea? Sasa Course what you should follow is the instructions here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html Gary I know about this. This is for sasl v1. I want to use sasl v2. Sasa Another thing: looks like something is wrong with saslauth. I have ran testsaslauthd with username/password and I got back 0: NO authentication failed. Saslauthd is running with pam method. Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problem with compiling sendmail+sasl
Still problem with unknown verifier when I try to authenticate myself. Now my sendmail is copiled with sasl2: -- mig29# sendmail -d0.1 -bv root Version 8.13.5 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG -- And when I telnet to port 25: -- mig29# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to localhost.workgroup. Escape character is '^]'. 220 xmail.homelinux.net ESMTP Sendmail 8.13.5/8.13.5; Thu, 29 Sep 2005 06:59:07 +0200 (CEST) ehlo localhost 250-xmail.homelinux.net Hello localhost.workgroup [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10480760 250-DSN 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250-DELIVERBY 250 HELP -- And SASL2 is working too. I have verified with testsaslauthd and it return OK. So what am I still missing here? I am starting getting desperate. Regards, Sasa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Migration from FC4 to FreeBSD
Hi! Currently I have a running mail/web server under FC4. I have sendmail+cyrus2 configured. The question is: can I migrate easily to FreeBSD with only a backup of all mailboxes under /var/imap and /var/spool/imap and also the backup of /etc/shadow for all users? Regards, Sasa pgpyZZFOL6Mjk.pgp Description: PGP signature
Re: Migration from FC4 to FreeBSD
Thank you all for the answers. Now I am going to play with a test machine. Regards, Sasa pgppUFjCP3DXe.pgp Description: PGP signature
Re: Migration from FC4 to FreeBSD
--On 23. september 2005 22:04 +0200 Sasa Stupar [EMAIL PROTECTED] wrote: Thank you all for the answers. Now I am going to play with a test machine. Regards, Sasa One more thing: I was thinking to install the minimum possible and then add necessary packages via inet. Is this OK? Regards, Sasa pgpbQfcGNA8aD.pgp Description: PGP signature