Re: WinXP and FreeBSD configuration problems
At 07:44 PM 8/4/2005, [EMAIL PROTECTED] wrote: Hello all, OK it is now day three and I have given up. This will be a long one just to warn you now. I have a 320 GiB HD and a 5 GiB HD. The 320 is faster than the 5 (yes, it is that old). I want to dual boot WinXP and FreeBSD. The main issue is that I don't want to put the FreeBSD buried behind 100G FAT partition as I would like to have the swap closer to the edge of the HD. I use the 5 G to transfer files and such, especially when changing the OS on a partition. I prefer not to use it a a boot as it is only 5400 and I would have to put the CDROM on either it as prime boot and slow it more or on the 320 and slow it down. This seems like a simple problem but it has not turned out that way. First, I tried to install windows on the first 2G partition then tried to install freebsd as follows ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD I just duplicated this layout without any problems. The sizes of each partition are a little different, but ultimately that shouldn't matter. What I tested was: ad4s1 NTFS10G ad4s2 FreeBSD 10G ad4s3 NTFS30G ad4s4 FreeBSD 133G The procedure I used to install was this: WinXP install, created first partition (ad4s1) and installed with default settings. FreeBSD install (5.4-RELEASE), created second partition (ad4s2) and chose FreeBSD bootloader and default file system layout. Rebooted back in to xp, created third partition (ad4sd3), formatted with ntfs. Rebooted into FreeBSD, created 4th partition (ad4s4), labeled it (bsdlabel -r -w /dev/ad4s4), newfs /dev/ad4s4a, and mounted it as /home. Resulting FreeBSD filesystems: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s2a253678 3573819764615%/ devfs 1 1 0 100%/dev /dev/ad4s2e253678 14233370 0%/tmp /dev/ad4s2f 8398450 983574 674300013%/usr /dev/ad4s2d253678500232884 0%/var /dev/ad4s4a 139156898 22 128024326 0%/home Resulting XP filesystems: C: 10GB D: cdrom drive E: 30GB Slices as seen by FreeBSD fdisk: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 63, size 20964762 (10236 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 20964825, size 20964825 (10236 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 41929650, size 61432560 (29996 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 103362210, size 287359758 (140312 Meg), flag 0 beg: cyl 141/ head 14/ sector 1; end: cyl 548/ head 15/ sector 63 Hardware used for testing: Intel D865PERL motherboard with 3.4GHz P4, 512MB RAM Seagate 200GB SATA hard disk Sony DVD-RW drive -Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NATM question
Hello all! I see the NATM drivers in kernel LINT config and interest, what are them? How can I use them, etc. ? Thanks -- Arseny Nasokin (aka Tarc) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATM question
At 12:06 AM 8/5/2005, User Tarc wrote: Hello all! I see the NATM drivers in kernel LINT config and interest, what are them? How can I use them, etc. ? Since you mentioned LINT, I'm assuming you're using 4.x. Those are drivers for ATM. Unless you have ATM hardware, They probably aren't of any use to you. Since you asked what they are, I swould also uspect you don't any ATM hardware. -Glenn Thanks -- Arseny Nasokin (aka Tarc) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS caching: Squid, BIND or anything else?
My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS caching: Squid, BIND or anything else?
On 8/5/05, B. Bonev [EMAIL PROTECTED] wrote: My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests? BIND is a DNS server. It will reply to DNS queries from others. Squid DNS won't reply to others DNS queries. Regards, Shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS caching: Squid, BIND or anything else?
My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests? BIND is a DNS server. It will reply to DNS queries from others. Squid DNS won't reply to others DNS queries. I want just DNS caching. Is Squid is enough for that task? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to use FreeBSD as a home router, how to setup VOIP to pass through?
computers) behind the freebsd machine (computer 4). The problem is that i'd like to move the voip router behind the freebsd machine. I'm assuming i need to do some sort of port forwarding to pull this I'm using FreeBSD 5.4 stable (week or two old), ipfw and natd with a divert rule in place and practically no other configuration. Does anyone have any resources on forwarding voip traffic? I once had done a bit similar setup for our company. Due some quick dirty solutions in our network nodes the VoIP and networked machines used same switches but were in two separate network segments with one gateway for each in the end of the mother company. As routing two different IP address ranges via same firewall proved to be impossible due gateway issues, FreeBSD bridging firewall came to the rescue (with added bonus of getting invisible packet filter in the route). There is IIRC quite good documentation on the FreeBSD site concerning setting up bridging firewall, so you could check that and use those instructions. To be honest I can't remember the VoIP stuff and the FW setup I made anymore, but some poking around in web should be able to recover those details. -Reko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS caching: Squid, BIND or anything else?
Hi, In my point of view you do not understand what's the difference between caching proxy and caching DNS. But main difference is that caching proxy is used to cache web requests and responses (http, https, ftp), while DNS cache is used to chache DNS queries and responses (when you ping www.dir.bg and you recieve 194.145.63.12 this is request what's the address of www.dir.bg and response is address is 194.145.63.12). What are you trying to achieve? Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. B. Bonev [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08/05/2005 11:09 AM To freebsd-questions@freebsd.org cc Subject DNS caching: Squid, BIND or anything else? My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests? ___ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS caching: Squid, BIND or anything else?
Better use djbdns :) It's simple, fast and reliable. Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. B. Bonev [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08/05/2005 12:02 PM To ? \(Shantanoo\) [EMAIL PROTECTED] cc freebsd-questions@freebsd.org Subject Re: DNS caching: Squid, BIND or anything else? My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests? BIND is a DNS server. It will reply to DNS queries from others. Squid DNS won't reply to others DNS queries. I want just DNS caching. Is Squid is enough for that task? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with SASL2 and postfix on freebsd
Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN.In my main.cf , i have that : smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain smtpd_sender_restrictions = permit_sasl_authenticated , hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, reject_invalid_hostname smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = no In /usr/local/lib/sasl2 i have that : pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: maildb sql_passwd: * sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' and in /etc/pam.d/smtp i have that : authoptionalpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y account requiredpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y I don't understand why postfix doesn't use sasl.Anyone knows this problem ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Storage on FBSD
Like many people in the it business, I am sure, I have lots of old kit around and am using one P3 with ide drive to run FBSD 4.7 for my shared internet access on 64K dialup ppp. With sco unix I can format a drive using dos and then use that section of the drive as as network drive for storage, files etc. Can I do this with FBSD. Ideally an old intel P3 with 4 ide drives one partitioned with FBSD the others all FAT 32. What do you think. Dan ___ 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 SASL2 and postfix on freebsd
On Fri, 5 Aug 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN. i've always followed this howto : http://yocum.org/faqs/postfix-tls-sasl.html what does ldd `which postfix` say ? (perhaps you need to do a make rmconfig and reinstall postfix ?) ___ 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 SASL2 and postfix on freebsd
I have already reinstalled postfix and i have always the same problem.I have that : # ldd 'which postfix' ldd: which postfix: No such file or directory # which postfix /usr/local/sbin/postfix - Original Message - From: [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, August 05, 2005 12:16 PM Subject: Re: Problem with SASL2 and postfix on freebsd On Fri, 5 Aug 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN. i've always followed this howto : http://yocum.org/faqs/postfix-tls-sasl.html what does ldd `which postfix` say ? (perhaps you need to do a make rmconfig and reinstall postfix ?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Storage on FBSD
It is indeed possible to have FreeBSD read from a FAT formatted drive however this is not necessary if you will be sharing the files via a network connection. If you are sharing files to windows machines then it is easier to have the files to be shared on a UFS formatted partition and to use SAMBA to share the files. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html. On Fri, 2005-08-05 at 11:00 +0100, Daniel Finnimore wrote: Like many people in the it business, I am sure, I have lots of old kit around and am using one P3 with ide drive to run FBSD 4.7 for my shared internet access on 64K dialup ppp. With sco unix I can format a drive using dos and then use that section of the drive as as network drive for storage, files etc. Can I do this with FBSD. Ideally an old intel P3 with 4 ide drives one partitioned with FBSD the others all FAT 32. What do you think. Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with SASL2 and postfix on freebsd
On Fri, 5 Aug 2005 12:24:07 +0200 cell [EMAIL PROTECTED] wrote: I have already reinstalled postfix and i have always the same problem.I have that : # ldd 'which postfix' ldd: which postfix: No such file or directory # which postfix /usr/local/sbin/postfix try the ` character instead of the ' character, or simply : ldd /usr/local/sbin/postfix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with SASL2 and postfix on freebsd
I have that : # saslfinger -s saslfinger: Command not found. - Original Message - From: Patrick Ben Koetter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 05, 2005 12:45 PM Subject: Re: Problems with SASL2 and postfix on freebsd * cell [EMAIL PROTECTED]: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN.In my main.cf , i have that : smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain smtpd_sender_restrictions = permit_sasl_authenticated , hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, reject_invalid_hostname smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = no In /usr/local/lib/sasl2 i have that : pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: maildb sql_passwd: * sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' That would be: pwcheck_method: saslauthd mech_list: plain login if you want to use PAM. Looks like your Postfix wasn't built to support SASL. What do you get, if you run saslfinger -s? http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ [EMAIL PROTECTED] -- The Book of Postfix http://www.postfix-book.com SMTP AUTH debug utility: http://postfix.state-of-mind.de/patrick.koetter/saslfinger/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Storage on FBSD
On Fri, 05 Aug 2005 11:39:09 +0100 Angus Barrow [EMAIL PROTECTED] wrote: If you are sharing files to windows machines then it is easier to have the files to be shared on a UFS formatted partition and to use SAMBA to share the files. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html. It's indeed a reasonable solution, but the access to Samba services must be restricted to the internal network only. Samba is a very good choice for this particular case, but its security history is quite bad. -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with SASL2 and postfix on freebsd
Hello, if I may ask, my problem has something common with this.. See below.. On Fri, Aug 05, 2005 at 01:05:30PM +0200 or thereabouts, cell wrote: Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME 220 amber.aeternal.net ESMTP Postfix ehlo aeternal.net 250-amber.aeternal.net 250-PIPELINING 250-SIZE 1024 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME So far so good, I am offering LOGIN and PLAIN.. In /usr/local/lib/sasl2 i have that : pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: maildb sql_passwd: * sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' I am getting following error: Aug 5 13:22:27 amber postfix/smtpd[18606]: sql_select option missing Aug 5 13:22:27 amber postfix/smtpd[18606]: auxpropfunc error no mechanism available I assume it is caused by configuration of my /usr/local/lib/sasl2/smtpd: pwcheck_method: authdaemond log_level: 3 mech_list: PLAIN LOGIN authdaemond_path:/usr/local/var/spool/authdaemon/socket Maybe I need to setup sql_* stuff like above, but.. due to security reasons I do not have any clear (plaintext form of password) in my table, but md5 hashed password. Is there any way how to put into sql_select directive that I need to use md5? Or do I have to store also plaintext form of passwords? -- martin hudec * 421 907 303 393 * [EMAIL PROTECTED] * http://www.aeternal.net Nothing travels faster than the speed of light with the possible exception of bad news, which obeys its own special laws. Douglas Adams, The Hitchhiker's Guide to the Galaxy pgp50inRCSRh1.pgp Description: PGP signature
Re: Problem with SASL2 and postfix on freebsd
I have changed my shell and i have that : [EMAIL PROTECTED] ls -la /usr/local/sbin/postfix -rwxr-xr-x 1 root wheel 83184 Aug 5 11:29 /usr/local/sbin/postfix [EMAIL PROTECTED] ldd /usr/local/sbin/postfix /usr/local/sbin/postfix: libsasl2.so.2 = /usr/local/lib/libsasl2.so.2 (0x28083000) libpam.so.2 = /usr/lib/libpam.so.2 (0x28097000) libcrypt.so.2 = /lib/libcrypt.so.2 (0x2809e000) libssl.so.3 = /usr/lib/libssl.so.3 (0x280b6000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x280e4000) libm.so.3 = /lib/libm.so.3 (0x281db000) libz.so.2 = /lib/libz.so.2 (0x281f6000) libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28206000) libc.so.5 = /lib/libc.so.5 (0x28212000) - Original Message - From: albi [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Sent: Friday, August 05, 2005 1:56 PM Subject: Re: Problem with SASL2 and postfix on freebsd I have that : # ldd /usr/local/sbin/postfix ldd: /usr/local/sbin/postfix: No such file or directory I don't understand why it said that. you should get something like this : #ldd /usr/local/sbin/postfix /usr/local/sbin/postfix: libsasl2.so.2 = /usr/local/lib/libsasl2.so.2 (0x28083000) libpam.so.2 = /usr/lib/libpam.so.2 (0x28097000) libcrypt.so.2 = /lib/libcrypt.so.2 (0x2809e000) libssl.so.3 = /usr/lib/libssl.so.3 (0x280b6000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x280e4000) libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x281db000) libc.so.5 = /lib/libc.so.5 (0x28202000) #ls -la /usr/local/sbin/postfix -rwxr-xr-x 1 root wheel 83152 Aug 4 22:00 /usr/local/sbin/postfix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD burning..
On 2005-08-05 14:09, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: New discovery about ISO file systems (today): you can burn symlinks to DVD, and they'll work under FreeBSD and Linux. They fail under Microsoft. AFAIK, that only works if the image uses the Rock-Ridge extensions. Microsoft operating systems have supported shortcuts for many years now, but they still can't do anything useful with the RR extensions of CD-ROM disks they mount (i.e. convert the symlinks to fake shortcuts or something equally useful for the end user). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange disklabel
The problem is resolved. I did a dump, newfs, restore and now the disklabel looks more reasonable: # disklabel da1s1 # /dev/da1s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 29271714570unused0 0 # raw part, don't edit d: 20971520004.2BSD 2048 16384 28552 e: 1048576000 2097152004.2BSD 2048 16384 28552 f: 1668880257 12582912004.2BSD 2048 16384 28552 I now consider this subject for closed. Anders Gytri --- On Thu, 4 Aug 2005, Anders Gytri wrote: I have recently installed a big disk (1.4 TB sata raid with scsi interface) on an i386 computer running FreeBSD 5.4-RELEASE-p1. I have 3 partitions on the FreeBSD slice. The disk is working OK, but the disklabel seem a little strange. For one of the partitions the fsize bsize bps/cpg values are 0 0 0. For the other two partitions these values are 2048 16384 28552 which I beleve is more normal. The filesystem is initialized (with newfs). fsck gives no errors. Partial or full output from the commands dmesg, df, mount, fdisk da1, bsdlabel -A da1s1, tunefs -p /dev/da1s1e, fsck /dev/da1s1e and dumpfs /dev/da1s1e is attached below. Should I worry about this, or can I ignore it. Anders Gytri - # dmesg da1 at ahd0 bus 0 target 0 lun 0 da1: DEFANGED_IFT A08U-G2421 342D Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 1429284MB (2927173632 512 byte sectors: 255H 63S/T 182208C) - # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da1s1e 507788836 47657476 41950825410%/home - # mount /dev/da1s1e on /home (ufs, NFS exported, local, soft-updates) - # fdisk da1 *** Working on device /dev/da1 *** parameters extracted from in-core disklabel are: cylinders=182208 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=182208 heads=255 sectors/track=63 (16065 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 2927171457 (1429282 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 959/ head 254/ sector 63 The data for partition 2 is: DEFANGED_UNUSED The data for partition 3 is: DEFANGED_UNUSED The data for partition 4 is: DEFANGED_UNUSED - # bsdlabel -A da1s1 # /dev/da1s1: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 182207 sectors/unit: 2927171457 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 29271714570unused0 0 # raw part, don't edit d: 20971520004.2BSD 2048 16384 28552 e: 1048576000 2097152004.2BSD0 0 0 f: 1668880257 12582912004.2BSD 2048 16384 28552 - # tunefs -p /dev/da1s1e tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f)16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) - # fsck /dev/da1s1e ** /dev/da1s1e ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 36339 files, 23828738 used, 230065680 free (712 frags, 28758121 blocks, 0.0% fragmentation) - # dumpfs /dev/da1s1e magic 19540119 (UFS2) timeThu Aug 4 10:32:28 2005 superblock location 65536 id [ 42a2003d 11af58d9 ] ncg 2787size262144000 blocks 253894418 bsize 16384 shift 14 mask0xc000 fsize 2048shift 11 mask0xf800 frag8 shift 3 fsbtodb 2
Boot manager
Hi! How could I have Windows boot record only, after I have installed FreBSD's boot manager. I don`t want to deinstall FreeBSD, just to remove FreeBSD boot manager and to let the MBR exaclty as it was before installing FreeBSD. Thank you in advance Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
Hello, Andrei Assuming that you have Windows XP, you could try to run Windows XP installation and during installation choose Repair mode. In repair mode try fixmbr command. After you fix you MBR, reboot the computer and voila, have fun with Windows Boot loader :) br, igor Hi! How could I have Windows boot record only, after I have installed FreBSD's boot manager. I don`t want to deinstall FreeBSD, just to remove FreeBSD boot manager and to let the MBR exaclty as it was before installing FreeBSD. Thank you in advance Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: DNS caching: Squid, BIND or anything else?
My question is what's the difference between Squid DNS caching and BIND and other programs that cache DNS requests BIND is a DNS server. It will reply to DNS queries from others. Squid DNS won't reply to others DNS queries. I want just DNS caching. Is Squid is enough for that task? Better use djbdns :) It's simple, fast and reliable. Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD I think that Squid have a internal DNS server. Now, as understand I must have configure Squid for HTTP req, and BIND or another DNS cache server for DNS req... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
Hi, You have two choices: 1) Boot from DOS diskette. Run fdisk /mbr 2) Boot from Windows 2000/XP CD Goto repair console and run bootfix Ivailo Tanusheff Senior System administrator ProCredit Bank (Bulgaria) AD tel. +359 2 921 7161 fax +359 2 921 7110 http://www.procreditbank.bg Disclaimer: The information contained in this message is intended solely for the use of individual or entity to whom it is addressed and other authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. ProCredit Bank is neither liable for the proper and complete transmission of the information contained in this message nor for any delay in its receipt. Andrei Iarus [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 08/05/2005 05:16 PM To [EMAIL PROTECTED] cc Subject Boot manager Hi! How could I have Windows boot record only, after I have installed FreBSD's boot manager. I don`t want to deinstall FreeBSD, just to remove FreeBSD boot manager and to let the MBR exaclty as it was before installing FreeBSD. Thank you in advance Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with booting MBR
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Vittorio De Martino wrote: | # fdisk -B -b /boot/boot0 ad0 | fdisk: cannot open disk /dev/ad0: No such file or directory | | and with | | # fdisk -B -b /boot/boot0 ad1 | fdisk: cannot open disk /dev/ad1: No such file or directory I think this is because you're in multi-user mode and the drives are in use (things mounted). You might have better luck in single-user mode. Stewart, - - - Stewart Morgan MEng MIEE Technical Director, Nameless-UK Phone : +44 870 757 1625| Address: The Production House Fax : +44 870 168 0210| 147a Saint Michael's Hill PGP ID: 0xECD5CE64 | Bristol, BS2 8DB, UK - - --x- PGP Fingerprint: 89DE F8C3 CA14 598C 30DB 504A 3055 DDD7 ECD5 CE64 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFC83oPMFXd1+zVzmQRAnwFAKCnzTn3Ra6V4wZjVkXGOcP5+9AlSQCeKh29 HteCD/v+xHKpYLU6adp2FEo= =wG+l -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]
Re: Boot manager
On Fri, 05 Aug 2005 17:02:56 +0300, Igor Demjanenko [EMAIL PROTECTED] said: Hi! How could I have Windows boot record only, after I have installed FreBSD's boot manager. I don`t want to deinstall FreeBSD, just to remove FreeBSD boot manager and to let the MBR exaclty as it was before installing FreeBSD. Thank you in advance Assuming that you have Windows XP, you could try to run Windows XP installation and during installation choose Repair mode. In repair mode try fixmbr command. After you fix you MBR, reboot the computer and voila, have fun with Windows Boot loader :) Fixmbr is available in Win2000 as well as XP, as is fixboot. If you want to be able to boot both FreeBSD and Windows, you might have a look at GAG (URL: http://gag.sourceforge.net/). Jud ___ 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 SASL2 and postfix on freebsd
--On Friday, August 05, 2005 11:51:22 +0200 cell [EMAIL PROTECTED] wrote: Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with sasl2.When i do telnet localhost 25 , i have that : Trying 127.0.0.1... Connected to localhost.linux-win.org. Escape character is '^]'. 220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD) ehlo example.pl 250-gw-bsd.linux-win.org 250-PIPELINING 250-SIZE 1000 250-VRFY 250-ETRN 250-STARTTLS 250 8BITMIME and i don't see AUTH DIGEST-MD5 PLAIN CRAM-MD5 and AUTH PLAIN.In my main.cf , i have that : smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostnam e,reject_unknown_recipient_domain smtpd_sender_restrictions = permit_sasl_authenticated , hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, reject_invalid_hostname smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = broken_sasl_auth_clients = no In /usr/local/lib/sasl2 i have that : pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: maildb sql_passwd: * sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' and in /etc/pam.d/smtp i have that : authoptionalpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y account requiredpam_mysql.so host=127.0.0.1 db=maildb user=maildb \ passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y I don't understand why postfix doesn't use sasl.Anyone knows this problem ? What's in master.cf? Do you have the commands for saslauth? smtpsinet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes (I'm using smtps, but smtp uses the auth command as well.) smtpinet n - n - - smtpd -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with SASL2 and postfix on freebsd
I have that : [EMAIL PROTECTED] saslfinger -s saslfinger - postfix Cyrus sasl configuration Fri Aug 5 13:53:25 CEST 2005 version: 0.9.9.1 mode: server-side SMTP AUTH -- basics -- Postfix: 2.2.5 System: FreeBSD 5.4-RELEASE-p4 (FREEBSD) #0: Wed Jul 13 09:38:37 CEST 2005 Welcome to FreeBSD! -- smtpd is linked to -- libsasl2.so.2 = /usr/local/lib/libsasl2.so.2 (0x280bb000) -- active SMTP AUTH and TLS parameters for smtpd -- broken_sasl_auth_clients = no smtpd_sasl_application_name = smtpd smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_tls_CAfile = /usr/local/etc/postfix/certificats/cacert.crt smtpd_tls_auth_only = yes smtpd_tls_cert_file = /usr/local/etc/postfix/certificats/linux-win.crt smtpd_tls_key_file = /usr/local/etc/postfix/certificats/linux-win.key smtpd_use_tls = yes -- listing of /usr/local/lib/sasl2 -- total 630 drwxr-xr-x 2 root wheel 1024 Aug 5 11:48 . drwxr-xr-x 26 root wheel 10752 Aug 5 11:27 .. -rw-r--r-- 1 root wheel 26 Aug 5 11:28 Sendmail.conf -rw-r--r-- 1 root wheel 12064 Aug 5 11:27 libanonymous.a -rwxr-xr-x 1 root wheel 15171 Aug 5 11:27 libanonymous.so -rwxr-xr-x 1 root wheel 15171 Aug 5 11:27 libanonymous.so.2 -rw-r--r-- 1 root wheel 14522 Aug 5 11:27 libcrammd5.a -rwxr-xr-x 1 root wheel 17701 Aug 5 11:27 libcrammd5.so -rwxr-xr-x 1 root wheel 17701 Aug 5 11:27 libcrammd5.so.2 -rw-r--r-- 1 root wheel 43376 Aug 5 11:27 libdigestmd5.a -rwxr-xr-x 1 root wheel 46049 Aug 5 11:27 libdigestmd5.so -rwxr-xr-x 1 root wheel 46049 Aug 5 11:27 libdigestmd5.so.2 -rw-r--r-- 1 root wheel 21200 Aug 5 11:27 libgssapiv2.a -rwxr-xr-x 1 root wheel 25146 Aug 5 11:27 libgssapiv2.so -rwxr-xr-x 1 root wheel 25146 Aug 5 11:27 libgssapiv2.so.2 -rw-r--r-- 1 root wheel 12494 Aug 5 11:27 liblogin.a -rwxr-xr-x 1 root wheel 15662 Aug 5 11:27 liblogin.so -rwxr-xr-x 1 root wheel 15662 Aug 5 11:27 liblogin.so.2 -rw-r--r-- 1 root wheel 28268 Aug 5 11:27 libntlm.a -rwxr-xr-x 1 root wheel 31858 Aug 5 11:27 libntlm.so -rwxr-xr-x 1 root wheel 31858 Aug 5 11:27 libntlm.so.2 -rw-r--r-- 1 root wheel 18366 Aug 5 11:27 libotp.a -rwxr-xr-x 1 root wheel 22143 Aug 5 11:27 libotp.so -rwxr-xr-x 1 root wheel 22143 Aug 5 11:27 libotp.so.2 -rw-r--r-- 1 root wheel 12430 Aug 5 11:27 libplain.a -rwxr-xr-x 1 root wheel 15464 Aug 5 11:27 libplain.so -rwxr-xr-x 1 root wheel 15464 Aug 5 11:27 libplain.so.2 -rw-r--r-- 1 root wheel 18652 Aug 5 11:27 libsasldb.a -rwxr-xr-x 1 root wheel 19779 Aug 5 11:27 libsasldb.so -rwxr-xr-x 1 root wheel 19779 Aug 5 11:27 libsasldb.so.2 -rw-r--r-- 1 root wheel200 Aug 5 11:47 smtpd.conf -- content of /usr/local/lib/sasl2/smtpd.conf -- pwcheck_method: saslauthd auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: --- replaced --- sql_passwd: --- replaced --- sql_database: maildb sql_select: select clear from users where id='[EMAIL PROTECTED]' -- active services in /usr/local/etc/postfix/master.cf -- # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) smtp inet n - n - - smtpd -o content_filter=spamassassin pickupfifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgrunix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounceunix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verifyunix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - n - - smtp -o fallback_relay= showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scacheunix - - n - 1 scache maildrop unix - n n - - pipe flags=Ru user=vmail argv=/usr/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/local/sbin/saslauthd uucp unix - n n - - pipe flags=Fqhu user=uucp
Re: Problem with SASL2 and postfix on freebsd
In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # == # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # == smtp inet n - n - - smtpd -o content_filter=spamassassin #submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #submission inetn - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes #628 inet n - n - - qmqpd pickupfifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgrunix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounceunix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verifyunix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scacheunix - - n - 1 scache # # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=Ru user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # The Cyrus deliver program has changed incompatibly, multiple times. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 cyrus unix - n n - - pipe user=cyrus argv=/usr/local/sbin/saslauthd #argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmailunix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient # AV scan filter (used by content_filter) scan unix - - n - 16 smtp -o smtp_send_xforward_command=yes # For injecting mail back into postfix from the filter localhost:10026 inet n - n - 16 smtpd -o content_filter= -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o smtpd_authorized_xforward_hosts=127.0.0.0/8 #SpamAssassin spamassassin unix - n n - - pipe
Re: Problem with SASL2 and postfix on freebsd
--On Friday, August 05, 2005 17:25:42 +0200 cell [EMAIL PROTECTED] wrote: In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # # == service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # # == smtp inet n - n - - smtpd -o content_filter=spamassassin # submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # submission inetn - n - - smtpd It's commented out. Try this: smtp inet n - n - - smtpd -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ 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-release install problem - solved
Well, I got past the problem, but don't know what caused it. I downloaded the boot.flp, kern1.flp and kern2.flp images and made floppies. Booted using the floppies and did the install off the burned iso images (the same ones I tried to boot with and caused the btx: halted). Installed clean. Now the machine is running 5.4-rel. thanks for all who tried to help. -Darryl Well, I went and tried to look at the scrolling text. It had several columsn with in err ef1 cip. Their is a line that says: BTX Halted. ss:esp= I'm pretty sure this is not the normal boot process. I'll look at the handbook as suggested. -Darryl I found this when I Googled BTX Halted. ss:esp= : | BTX Loader 1.00 BTX version is 1.01 | int=0006 err= efl=00010246 eip=1934 | eax=00021d60 ebx= ecx= edx= | esi= edi=00020c34 ebp=00094bec esp=00094bdc | cs=0026 db=0033 es=0033 fs=0033 gs=0033 ss=0033 | cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff | ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff | BTX halted |did you try a hard power reset after this message? I have an old |IBM intellistation that does the same thing with 5.x. After I install |I get the BTX halted, but if I cold boot it after the message it |will boot. |It sounds like you get the BTX Halted error before you install, is that |correct? If I remember correctly, the ISO image from the web site |should have an MD5 hash. Have you compared the hash on the web site |with the hash of the ISOs you downloaded? |Bryan Yes, the BTX Halted error occurs prior to the install. I tried hard power reset after getting the message and it still occurrs. I verified the MD5 has and its clean. I am out of ideas. Is there a special way to burn the iso's in windows using Nero ? I followed the nero instructions for burning an ISO image disk. thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge0: WatchDog Timedout -- resetting in FreeBSD 5.3
I had this problem last week after upgrading to a newer 5.4-STABLE. The problem looked like an IRQ problem since both bge interfaces were sharing the same IRQ. The problem went away after disabling hyper threading in bios. The box is a dual XEON so I had enabled SMP. SMP works fine, but HTT was causing the bge timeouts and system load to be 10x higher than normal. Ben. ___ 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 SASL2 and postfix on freebsd
I have always the same problem with that.I don't understand why sasl don't comunicate with postfix :/ - Original Message - From: Paul Schmehl [EMAIL PROTECTED] To: cell [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, August 05, 2005 5:31 PM Subject: Re: Problem with SASL2 and postfix on freebsd --On Friday, August 05, 2005 17:25:42 +0200 cell [EMAIL PROTECTED] wrote: In master.cf i have that : # # Postfix master process configuration file. For details on the format # of the file, see the Postfix master(5) manual page. # # # == service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # # == smtp inet n - n - - smtpd -o content_filter=spamassassin # submission inet n - n - - smtpd # -o smtpd_etrn_restrictions=reject # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # smtpsinet n - n - - smtpd # -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes # submission inetn - n - - smtpd It's commented out. Try this: smtp inet n - n - - smtpd -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WinXP and FreeBSD configuration problems
On Thu, 2005-08-04 at 22:44 -0400, [EMAIL PROTECTED] wrote: Hello all, OK it is now day three and I have given up. This will be a long one just to warn you now. [...] First, I tried to install windows on the first 2G partition then tried to install freebsd as follows ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD Now when I finished installing WinXP I could boot with no problems but after installing FreeBSD, I get a BSOD when trying to boot WinXP. I looked thru google, FreeBSD, and Microsoft for a possible answer. No. Everyone seems to just put all of WinXP on the first partition and then FreeBSD or Linux. I think thats fine for a 20, 30 or even 80 GiB HD but I think there will be a performance issue with the boot and swap so deep on the HD. Hi, I would say this is a Windows problem. Old Windows certainly had the habit of only reading the partition table up to the first non-windows partition. Looks like WinXP still does the same. But as your only reason for trying for days to get this to work is a possible performance loss, you may perhaps want to try to measure this loss and see if it warrants days of work against Windows. Best regards, -- Andreas -- TalisA was macht man eigentlich auf einer linux-gamer lan ? hl server aufsetzen und freuen ? *duck* ^^ signature.asc Description: This is a digitally signed message part
Re: Apache problems
Bryan Maynard wrote: I know this isn't directly freebsd related, but this list has been good to me before. I am running 5-STABLE. I installed Apache 2.1.4 using make install clean after updating my ports collection. Everything seemed to go fine. I then installed mod_php5 via make install clean. I added 192.168.1.102 thereallm.org to my /etc/hosts file (I am testing this box before I send it out for co-located hosting). When I run apachectl start I get no errors - even with -e, but there's no pid for apache or httpd in top (via top | grep httpd or top | grep apache). Whats in the error_log file ? Me thinks it might be mod_uniquie_id complaining based on your setup. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Apache problems
Hello Philip, Friday, August 5, 2005, 6:46:28 PM, you wrote about: Bryan Maynard wrote: I know this isn't directly freebsd related, but this list has been good to me before. I am running 5-STABLE. I installed Apache 2.1.4 using make install clean after updating my ports collection. Everything seemed to go fine. I then installed mod_php5 via make install clean. I added 192.168.1.102 thereallm.org to my /etc/hosts file (I am testing this box before I send it out for co-located hosting). When I run apachectl start I get no errors - even with -e, but there's no pid for apache or httpd in top (via top | grep httpd or top | grep apache). Whats in the error_log file ? Me thinks it might be mod_uniquie_id complaining based on your setup. HTH do you have apache21_enable=YES in your rc.conf? -- Best Regards, DanGer, ICQ: 261701668 | e-mail protecting at: http://www.2pu.net/ http://danger.rulez.sk | proxy list at:http://www.proxy-web.com/ | FreeBSD - The Power to Serve! [ Man who scratches ass should not bite fingernails ]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WinXP and FreeBSD configuration problems
[EMAIL PROTECTED] said: ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD ... extra stuff eliminated ... Why the miniscule 2gb partitions? Honestly, they are pointless. Second, worrying about the performance of boot and swap on a computer with a 320GB harddrive? Again pointless. If you are worried about the performance of your swap space I would rethink running Windows XP because you have way too little RAM. Third, why are you making seperate partitions for boot and swap anyway? From here on out I'm going to revert to the BSD style where you say partition I will now call it a slice. FreeBSD can reside on a single slice. The BSD disklabel'er divides the FreeBSD slice into partitions, for things like swap, and file-systems. My recommendations to you are as follows: 1) Don't worry about where things are on the disk. You're complicating the hell out of everything and in the end you probably won't notice a difference. If you're that worried about performance invest in multiple SCSI disks and create multiple RAID arrays optimized for performance. 2) Don't worry about making seperate slices (the things you can only make 4 of). 3) Make a single slice for Windows and install it there. It's good to make it the first slice on the disk, but not necessary. Then install FreeBSD to another slice. Let FreeBSD overwrite the MBR with the standard boot manager. This has worked countless times for me. I've always dual booted my laptops with FreeBSD and a Windows OS. Just me .02. If you'd like feel free to contact me personally and I'd be glad to help you get started. -- Ryan Sommers [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with crontab
Hello , i have problem with crontab , i tried to configure crontab for run command every three days at 5h00 AM.I use this command but i believe it's not good : 0 5 1-31/3 * * rootcd /home/rootfix/Maildir/cur rm -f * Anyone have a solution ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with crontab
On 8/5/05, cell [EMAIL PROTECTED] wrote: Hello , i have problem with crontab , i tried to configure crontab for run command every three days at 5h00 AM.I use this command but i believe it's not good : 0 5 1-31/3 * * rootcd /home/rootfix/Maildir/cur rm -f * I would use this: 0 5 */3 * * rootrm -f /home/rootfix/Maildir/cur/* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with crontab
cell [EMAIL PROTECTED] writes: Hello , i have problem with crontab , i tried to configure crontab for run command every three days at 5h00 AM.I use this command but i believe it's not good : 0 5 1-31/3 * * rootcd /home/rootfix/Maildir/cur rm -f * Anyone have a solution ? What is the actual problem? It looks like it will work fine. [on the first, fourth, etc.] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with crontab
--On Friday, August 05, 2005 21:25:14 +0200 cell [EMAIL PROTECTED] wrote: Hello , i have problem with crontab , i tried to configure crontab for run command every three days at 5h00 AM.I use this command but i believe it's not good : 0 5 1-31/3 * * rootcd /home/rootfix/Maildir/cur rm -f * Anyone have a solution ? 0 5**0,3 is about as close as you can come Or 0 5 1,4,7,10,13,16,19,22,25,28** See man (5) crontab Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with crontab
--On Friday, August 05, 2005 14:36:41 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: 0 5**0,3 is about as close as you can come Or 0 5 1,4,7,10,13,16,19,22,25,28** See man (5) crontab Should have read man (5) crontab better myself. 1-31/3 should work fine, as would */3. The problem is probably in the commands you're trying to run. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.x separate /boot slice?
While this is a reply to a private message, I'm also sending it back to freebsd-questions. I would rather not spend this much time writing up information for a general topic, and then send it to just one person... Given how often this topic comes up, my hope is that other users might find these notes somewhat helpful. You had several good questions that are probably of general interest. At 2:42 PM +0300 8/5/05, Michael Dexter wrote: Hello, At 12:56 AM +0300 8/5/05, Michael Dexter wrote: I would like to try a separate /boot slice as permitted by FreeBSD 5.x... I missed the beginning of this thread. Where did you get the impression that FreeBSD will work if you create /boot as a separate partition? http://www.khmere.com/freebsd_book/html/ch08.html Ah. That page is basically correct, as far as it goes, but I think you're drawing the wrong conclusion from it... 5.x did switch to moving most boot-related files into /boot, and that does make it easier to sync boot-files between different partitions. But the page doesn't actually say that /boot is a separate partition. And indeed, it won't work if you try to make /boot a separate partition from '/'. I do exactly what you'd like to do, but the partition I duplicate is '/'. Are you sharing /var and /tmp between the current and updated systems? Well, yes. Although I guess what I do is more like the opposite of what you do. I create a backup of the active system, and then install into that active system. So, I only need my /xRoot (backup) if something goes wrong. I am a FreeBSD developer, and I am both tracking the cutting-edge branch (-current) and writing my own little changes. So, I'm more likely to see something go wrong than most people are... In any case, I'm not sure the install process will support what you would want to do (if you tried doing what I do...). You can't say install part of this build into /xRoot, and other parts into /usr, and you can't mount /usr onto two different places at the same time. (so you couldn't mount it as /usr and /xRoot/usr). I have a '/' partition and a '/xRoot' partition, and I use FreeBSD's snapshot feature (in 5.x and better) to duplicate that partition into /xRoot. I was planning for a fresh install but seemingly rsync would give a similar effect. Why snapshots in this case? Snapshots just give you a consistent snapshot of the active partition, and then you can use whatever tool you want to copy data from that snapshot to the backup partition. The important benefit of the snapshot is that it gives you a consistent, frozen-in-time picture of what the partition was, even though files on the real partition are constantly changing. I use dump/restore to copy everything. I suppose you could use rsync too, although I don't know how well that would do with everything in /dev. Snapshots do interest me for other reasons and might you be able to refer me to more about them? I only see the mksnap_ffs man page. Presumably it can rollback in some way? No, no rollback. That *could* be implemented, but no one has done it yet. (I talked to Kirk about it once, and at one time I even had a student who claimed they would work on it for me, but so far nothing's happened...). I think there's a writeup somewhere on making/using snapshots. I'll see if I can remember where it is. Since there is no rollback, I use dump/restore to duplicate the snapshot on some other partition. I can then use *that* partition to boot up the system, if I need to. This gives me a nice backup of /boot, /root, and /etc. How are you handling /usr? I don't. If I can boot up a known-good backup kernel, and I have a known-good /bin and /sbin to match it, then I've been able to dig myself out of most troubles that I get myself into. YMMV. Er, by I don't, I mean I rarely make a special backup of it before installing. But if I *do* have to boot into using the backup copy of '/', then that will mount the same /usr which the standard '/' would use. So, I'll have the updated /usr, along with the back-level '/', '/sbin', '/bin'. This can get you into trouble if you don't know what you're doing. But it is a much better starting point than if you didn't have any bootable backup partition at all... I then upgrade the running system. It seems to work fine for me. Thus giving you a system to roll back to if things go wrong? Correct. How are you choosing between the roots? nextboot? The bootmanager? I type commands into the boot loader. Note that I'm not doing remote-installs, so I'm able to type at the console when the system boots up. The one trick involved is that you duplicate '/' to '/xRoot', and then you have to remember to change '/xRoot/etc/fstab' so that it points to itself as the '/' partition... I do that in a script, so that change is handled automatically... That answers one of my questions above. As I prefaced, there are many things to keep track of to make this work. Considering the big
bash script
My knowledge in bash scripting is about medium not very advanced and all so I am not attempting to make a connection limiter but what I want to make is a script that checks the irc connections off a certain user and takes some actions, mostly of this I know how to do but I got stuck at this : I write in a file we will call it users.allow the following: Virtual 5 Test 7 Server 9 Power 2 This will be the file that will hold the limit of the users from where the script reads when checks. So my script will read from this file and if the user Virtual for example has more than 5 connections he will kill all his processes that are running in background. But what what I don`t know how to do is make the script read, for example if I start the script he starts reading from users.allow, I want it to read an take each line, first taking the line 1 with user Virtual and setting to a variable the number it has near it like $allow=5, next after it finishes the process for Virtual takes Test etc. So my need would be how can I get the script to read first line, do the process I will make for it, then take the next line and do the process for that user until end of file. And also after taking the first line for example reading only the first block in it, the one with user so it can set $user=Virtual and then to take the path with the number. I would greatly apreciate if you can help me with this issue, I really need this script but didn`t know what to look in the manuals for etc. Also if you know a similar script please let me know. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rijndael Crypto Source Code Question
Hello, I am currently investigating rijndael-alg-fst.c to understand how the cryptography works (running FreeBSD 5.3-RELEASE). I am attempting to replicate the rijndaelKeySetupEnc function, and everything seems to work fine except when gcc attempts to compile the following line: rk += 4. I get a compiling error which says cryptotest.c:117: error: incompatible types in assignment. (gcc version 3.3.5) It seems to not like incrementing the array by 4. I am under the impression that the purpose of this particular line of code in rijndael-alg-fst.c is to increment the current index of array rk by one. Any help as to the meaning of the line and how to get it to compile would be greatly appreciated. Thanks. -Ricky Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: WinXP and FreeBSD configuration problems
From: Ryan Sommers [EMAIL PROTECTED] Date: 2005/08/05 Fri PM 01:38:12 EDT To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: WinXP and FreeBSD configuration problems [EMAIL PROTECTED] said: ad0s0 NTFS2G #Windows Boot ad0s1 FreeBSD 2G #FreeBSD Boot/Swap ad0s3 FAT 20G #Windows ad0s4 FreeBSD 298G#FreeBSD ... extra stuff eliminated ... Why the miniscule 2gb partitions? Honestly, they are pointless. Second, worrying about the performance of boot and swap on a computer with a 320GB harddrive? Again pointless. If you are worried about the performance of your swap space I would rethink running Windows XP because you have way too little RAM. Third, why are you making seperate partitions for boot and swap anyway? From here on out I'm going to revert to the BSD style where you say partition I will now call it a slice. FreeBSD can reside on a single slice. The BSD disklabel'er divides the FreeBSD slice into partitions, for things like swap, and file-systems. My recommendations to you are as follows: 1) Don't worry about where things are on the disk. You're complicating the hell out of everything and in the end you probably won't notice a difference. If you're that worried about performance invest in multiple SCSI disks and create multiple RAID arrays optimized for performance. 2) Don't worry about making seperate slices (the things you can only make 4 of). 3) Make a single slice for Windows and install it there. It's good to make it the first slice on the disk, but not necessary. Then install FreeBSD to another slice. Let FreeBSD overwrite the MBR with the standard boot manager. This has worked countless times for me. I've always dual booted my laptops with FreeBSD and a Windows OS. Just me .02. If you'd like feel free to contact me personally and I'd be glad to help you get started. -- Ryan Sommers [EMAIL PROTECTED] Ryan, Yeah, I have done exactly what you have suggested several times myself without a problem. I not having problems installing a dual boot system. It was the different config. About the 320GB HD, I don't see it as completely pointless as I am going to use it as a desktop and would like to squeeze as much performance that I can out of it. The key is not to spend any money on it and still get it to work a little faster, so buying a SCSI RAID, although nice, is not really what I had in mind. Why do you? The miniscule slices (yes, I know unix/linux calls them slices which are divided up into partitions ie ad0 is the drive, ad0s1 is the first slice and ad0s1a is the first partition on that slice) is because I am just trying it out and didn't want to wait forever for windows to format a 100GB hd to have it fail on me later. I am not decided yet on the final config but I am supposing Windows will have at least 100GB (again performance). And how do I have way to little RAM? I have 1G RDRAM. How much do you need to run XP? Thanks for the advice, I am really just messing around to see what I can do and what I can't. David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS caching: Squid, BIND or anything else?
+++ B. Bonev [05-08-05 12:02 +0300]: | My question is what's the difference between Squid DNS caching and | BIND | and other programs that cache DNS requests? | | BIND is a DNS server. It will reply to DNS queries from others. Squid | DNS won't reply to others DNS queries. | | I want just DNS caching. Is Squid is enough for that task? I think you are misunderstanding something. Can you please tell us what exactly you are trying to achieve? As per my understanding, if you are looking for DNS caching, you can't use squid. You need DNS caching server, which can be BIND (comes in base system). Regards, Shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HBA Driver w/multipathing support
Greetings, Is there an HBA driver for FreeBSD with multipathing support? Thanks, david ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FW: Looking to get involved.
-Original Message- From: Mitch Graves [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 6:48 AM To: [EMAIL PROTECTED] Subject: Looking to get involved. I am a newbie to freeBSD. In my job I work with Solaris and RedHat Linux. Occasionally I work on AIX and HP-UX servers as well. I have been fascinated with Linux and would like to have a deeper knowledge of the OS. I currently am focusing on the boot process. Using DOS and Windows I can recover from un unbootable hard drive. RedHat has some utilities as well. I would like to know step-by-step ( from creating the MBR to login) all that is involved in the boot process. I am familiar with inittab, rc scripts, gcc compiler, etc. One day I would even like to tackle writing a device driver. With all of that said, is there a place I can help and learn at the same time? By the way, I live in Longmont and Work in Louisville. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]