named questions.
Hello: I have named running as secondary server on v6.2 It will not start without a specific configuration file set on the command line. After doing some investigation it appears that that is because it runs chrooted and there is not a symlink from /etc/namedb. Is that a correct assumption? I read the man page and it specifies the default configuration file as /etc/namedb/named.conf and along with this file there are master and slave directories. Would I make the /etc/namedb/named.conf file to be a symlink to /var/named/etc/namedb/named.conf? There are some other entries in rc.conf related to named that appear in my primary nameserver rc.conf file that relate to getting it up at boot but I have lost root access to that machine so I cannot recover the rc.conf details and I do not remember what document- ation I was using to set it up. I was advised to start named as a user other than root but when I tried that named would not start because the user I set it to does not have write permission in the directory that has the pid file. When named starts at boot what user does it run as, by default? Thank you for any guidance. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re subscribing to the list
Hello; I have unsubscribed form this list but have an emergency and need some suggestions, that are not covered in the manuals or Absolute FreeBSD. Specifically, I have had a machine running with the same root password for some 3 years. There was a power failure tonight and when I rebooted the machine I found I was unable to log in as root. No one other than me uses the machine, but it does run several internet servers, Apache, named, postfix. I doubt that it has been compromised to that degree over the network because I have tcp wrappers blocking ftp and ssh access and have telnet disabled. I have it shut down now incase that is the situation (someone was able to change or corrupt the root password) But it appears that it somehow has just gotten corrupted so it won't work. Is that possible. The long and short is I want to avoid having to re install the system and software. I do not have Apache and Postfix starting automatically at boot. Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: e-mail to root
On Dec 19, 2007, at 7:30 PM, Kurt Buff wrote: On Dec 19, 2007 6:54 PM, jekillen [EMAIL PROTECTED] wrote: Hello: Is there a manual or other publication that deals specifically with reading e-mail messages to root for FreeBSD? I have gotten a message: setuid diffs: --- /var/log/setuid.today Sat Sep 8 03:01:34 2007 +++ /tmp/security.9Jz0CWds Wed Dec 19 03:01:38 2007 followed by references to various programs then the next segment: Checking for a current audit database: Downloading fresh database. auditfile.tbz 46 kB 42 kBps New database installed. Database created: Wed Dec 19 14:40:00 PST 2007 Checking for packages with security vulnerabilities: followed by numerous references to programs and files on the FreeBSD site. and I do not know quite what this means. It means that you have portaudit installed, and it's run as part of the daily scripts. That's a good thing. I'd recommend consulting the portaudit man page What it's found are packages on your machine that have security bulletins against them - that is, the packages named have vulnerabilities known to the FreeBSD Security team, which they believe should be patched. There's a link to the bulletin for each one - I think you'll find it enlightening to read some or all of them. I'd do a 'pkg_add -r portupgrade' to install that package, do a cvsup to get a current ports tree, then assess, very carefully, what you want to upgrade. IMHO all of the packages mentioned should probably get upgraded, unless you have *exceptional* reasons not to. To upgrade you can do 'portupgrade packagename' for each package named, or if you're feeling bold, 'portupgrade -aRr'. I know that setuid is cause for concern. I have three other machines with FreeBSD, with one going back over a year of virtually continuous 24/7 operation and this is the first time I have seen this type of message. For the programs reported with security problems it begs the question of dependencies if they are removed or updated. Some references are to cups and fetchmail neither of which I use or have use for, that I am aware of. Portupgrade will take care of dependencies. No worries, though you should also peruse the man page for portupgrade to get your knowledge up. This particular machine is primarily a web server. It does have Postfix running but just uses local delivery and only listens on private network interface. I am also a little dubious about posting any specifics to a public mailing list. I am admittedly a novice at this (on all my own systems so no one else's behind is on the line). Short of paying consultation fees to someone, this is about the only live contact I have on the subject. Thanks in advance for info: We were all novices - I still am, in far too many ways. Don't sweat it, and keep asking questions. Also, start reading the FreeBSD Handbook - it's online, and also downloadable, and covers this very topic. Kurt Thank you kindly for the info; I have been reading the handbook. I have it installed as html on my everyday work machine. Having a web server on localhost is great. It does cover portupgrade, portsnap, ports and all that but it was just the e-mails to root that had me confused. Does this also cover the setuid question also? I also have the new Absolute FreeBSD, and the hard copy manual obtained through FreeBSD Mall. I had a problem with e-mail messages to root some time ago that were showing up every 11 minutes. I look into crontab and found one script that was set to run every 11 minutes. I opened the script file and read the authors e-mail address and sent him an e-mail on the problem. He responded scolding me for putting commands in rc.conf. Sure enough, though I did not have explicit commands in it, I did have the syntax wrong. Who would have guess that a script dealing with entropy would complain because of problems with rc.conf? That is an example of question that might arise that could use some specific coverage in documentation. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic.conf
On Dec 19, 2007, at 12:54 AM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 jekillen wrote: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Assuming you're not talking about /etc/defaults/periodic.conf, then it is unlikely you will have any problems. All that the stuff in periodic.conf does is set values for a number of shell variables. Those only make a difference if any of the periodic scripts refer to them -- otherwise they are harmless. The only thing that could hurt you is if the meaning of a particular variable changed significantly between 6.0 and 6.2. That is something which would not be allowed to happen by the FreeBSD project just as a matter of good engineering practice. Even so, you should sanity check what is set in your /etc/periodic.conf with the entries in /etc/defaults/periodic.conf - -- everything you can set to affect periodic scripts that come with the base system is documented there, and it's fairly well commented so you can work out what changes you need to make easily. Externally supplied periodic scripts usually contain some documentation of their settable variables within themselves. As /etc/periodic.conf should contain only the overrides from the default settings, this is unlikely to be a particularly taxing enterprise. Cheers, Matthew It was just to save some typing. I replaced Sendmail with Postfix on both machines and wanted to copy the periodic changes to the 6.2 system by replacing the whole file with the changes from the 6.0 system. That is it. It seems to be working. That is the only tampering I have done with periodic.conf. No one else uses my machines. Thanks for the info. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
e-mail to root
Hello: Is there a manual or other publication that deals specifically with reading e-mail messages to root for FreeBSD? I have gotten a message: setuid diffs: --- /var/log/setuid.today Sat Sep 8 03:01:34 2007 +++ /tmp/security.9Jz0CWds Wed Dec 19 03:01:38 2007 followed by references to various programs then the next segment: Checking for a current audit database: Downloading fresh database. auditfile.tbz 46 kB 42 kBps New database installed. Database created: Wed Dec 19 14:40:00 PST 2007 Checking for packages with security vulnerabilities: followed by numerous references to programs and files on the FreeBSD site. and I do not know quite what this means. I know that setuid is cause for concern. I have three other machines with FreeBSD, with one going back over a year of virtually continuous 24/7 operation and this is the first time I have seen this type of message. For the programs reported with security problems it begs the question of dependencies if they are removed or updated. Some references are to cups and fetchmail neither of which I use or have use for, that I am aware of. This particular machine is primarily a web server. It does have Postfix running but just uses local delivery and only listens on private network interface. I am also a little dubious about posting any specifics to a public mailing list. I am admittedly a novice at this (on all my own systems so no one else's behind is on the line). Short of paying consultation fees to someone, this is about the only live contact I have on the subject. Thanks in advance for info: Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
periodic.conf
Hello: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Thanks In Advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic on boot
On Dec 16, 2007, at 7:58 AM, Derek Ragona wrote: At 07:32 PM 12/15/2007, jekillen wrote: On Dec 15, 2007, at 5:21 PM, jekillen wrote: Hello; I have had an AMD64 754 system that I have 64 bit SCSI card and two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 for about two years now. I have several things I wanted to change and reconfigure, software wise, and hardware wise. The first was a new case which I got today. I shut down the system, put everything in the new case and booted. It booted without any complaint. I got the V6.2 install cd and put it in. The system froze during boot process after an entry for mpt 0. I turned off the power and tried rebooting into the install cd. This time it made it to sysinstall and went through slice and partitioning and was in the process of installing the base system and it froze again, no error messaged to console. I rebooted and started again. The second time I got all the way through the install process. Now on reboot the system is panicking just after the line mtp0 hidden device members(6) The error is: Fatal Trap 12 (the screen does not persist long enough to transcribe it all.) Three tries, the same thing in the same place in the boot process. I tried it agian and the same thing happened. This time I got more of the error message. 'page fault while in kernel mode' does this mean the scsi drives or card is going bad? (I nope not) the card is LSI Logic 64 bit card (installed in a standard PCI slot but has been working with an inch of the card hanging off the end of the slot. I only have one internal bus available this way, but that is all I need. Thanks in advance for info Jeff K (chewing my fingernails) Jeff, Could be anything causing this from your move such as damaged ram or other component from static or a somewhat flaky power supply in the new case. Have you run diagnostics on the hard drives? Make sure all your power connectors are tight, no damaged cables. It is easy with some SCSI cables to damage the cable or connectors, I know I have done that a few times. If you can, separate the power to the hard drives to separate lines from the power supply rather than daisy chaining a power line with multiple connectors on it. Have you tried other bootable OS's just to see if they crash too? I was on the verge of panic myself because this machine is my primary DNS server. But: What I did was reinstall v6.0 to use as a control test and it installed without problem and runs without a problem. It would appear that this combination of hardware does not work with FreeBSD 6.2. I have another machine with a motherboard with PCI X (64 bit) slots and the same LSI logic board installed with v6.2 and it works fine. I am guessing that 6.2 does not like the 64 bit SCSI card in a 32 bit slot. Both are AMD64 processors but the one with v6.0 is using slot 754 processor on ECS Elite Group mb, and the one with v6.2 is using socket AM2 with ASUS M2N32 ws pro mb; Perhaps a difference in the mtp driver(?) Both are home built. Both have been working without problem (accept for this latest). I do plan on getting another ASUS board like the one I have, but that is a $300+ board and I have to get a new processor and ram for it also. So I have to engineer my budget for it. Thanks for the response; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Panic on boot
Hello; I have had an AMD64 754 system that I have 64 bit SCSI card and two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 for about two years now. I have several things I wanted to change and reconfigure, software wise, and hardware wise. The first was a new case which I got today. I shut down the system, put everything in the new case and booted. It booted without any complaint. I got the V6.2 install cd and put it in. The system froze during boot process after an entry for mpt 0. I turned off the power and tried rebooting into the install cd. This time it made it to sysinstall and went through slice and partitioning and was in the process of installing the base system and it froze again, no error messaged to console. I rebooted and started again. The second time I got all the way through the install process. Now on reboot the system is panicking just after the line mtp0 hidden device members(6) The error is: Fatal Trap 12 (the screen does not persist long enough to transcribe it all.) Three tries, the same thing in the same place in the boot process. does this mean the scsi drives or card is going bad? (I nope not) the card is LSI Logic 64 bit card (installed in a standard PCI slot but has been working with an inch of the card hanging off the end of the slot. I only have one internal bus available this way, but that is all I need. Thanks in advance for info Jeff K (chewing my fingernails) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Panic on boot
On Dec 15, 2007, at 5:21 PM, jekillen wrote: Hello; I have had an AMD64 754 system that I have 64 bit SCSI card and two 15k rpm SCSI drives. It has been running fine with FreeBSD v 6.0 for about two years now. I have several things I wanted to change and reconfigure, software wise, and hardware wise. The first was a new case which I got today. I shut down the system, put everything in the new case and booted. It booted without any complaint. I got the V6.2 install cd and put it in. The system froze during boot process after an entry for mpt 0. I turned off the power and tried rebooting into the install cd. This time it made it to sysinstall and went through slice and partitioning and was in the process of installing the base system and it froze again, no error messaged to console. I rebooted and started again. The second time I got all the way through the install process. Now on reboot the system is panicking just after the line mtp0 hidden device members(6) The error is: Fatal Trap 12 (the screen does not persist long enough to transcribe it all.) Three tries, the same thing in the same place in the boot process. I tried it agian and the same thing happened. This time I got more of the error message. 'page fault while in kernel mode' does this mean the scsi drives or card is going bad? (I nope not) the card is LSI Logic 64 bit card (installed in a standard PCI slot but has been working with an inch of the card hanging off the end of the slot. I only have one internal bus available this way, but that is all I need. Thanks in advance for info Jeff K (chewing my fingernails) ___ 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 Absolute FreeBSD
Hi: I have the book and am reading it. It suits me, in that docs and man pages can be intimidating and hard to translate into some thing useful (for me). The one thing about books like this is that there are a lot more in the way of theory and tutorial practice. I could not expect anyone to give me specific instruction on the situations I encounter and have to engineer my way through, but analogous tutorial, or at least vaguely comparable descriptions can prime the inductive and deductive logic process. I work alone, as a hobbyist and spend a god awful lot on fat paperbacks. The investment is worth it to me. And the Lucas books hit the spot. I am reading about NanoBSD. That is the first time I heard of it. I started with FreeBSD 6.0 and the books up to that point, including the first Absolute BSD only covered 5x, so I am anxious to get up to current status. True, as some of the responses to this subject have said, at some point you would or should grow beyond needing to have books at hand. But with webmastering, hostmastering, learning shells, postmastering, general system admin, programming, there is A LOT of ground to cover. To cover it all fast enough and be good enough not to need a book occasionally, I think is a little in the realm of delusion. My two cents Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpd configuration file changes
On Dec 12, 2007, at 9:57 PM, N.J. Thomas wrote: * jekillen [EMAIL PROTECTED] [2007-12-12 20:42:47-0800]: Q: When making changes to ntp.conf it is necessary to restart the server? According to the ntpd docs, yes. The ntpd configuration docs say this: Ordinarily, ntpd reads the ntp.conf configuration file at startup time in order to determine the synchronization sources and operating modes. Q: How is that done? On FreeBSD, it is typically done via /etc/rc.d/ntpd restart. (I suspect ntpd reload or restart per rc script.. along the lines of apachectl restart or postfix reload??? Kill -HUP pid ??? ) I am looking at FreeBSD handbook and ntp documentation and have not found the answers. See the Using rc under FreeBSD section of the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ configtuning-rcd.html It is based on Luke Mewburn's excellent NetBSD rc.d system. See the document, The Design and Implementation of the NetBSD rc.d system (PDF) here, it is an excellent read: http://www.mewburn.net/luke/bibliography.html Thomas Thank you for your reply: I missed it in the ntp docs I have. But maybe I was reading to fast and impatiently. I asked these questions because I switched the configuration file that has all the tier 2 server listed to another machine and let the remaining machines get time from it. So, now I can get on with it. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntpd configuration file changes
Hello: Q: When making changes to ntp.conf it is necessary to restart the server? (I suspect yes) Q: How is that done? (I suspect ntpd reload or restart per rc script.. along the lines of apachectl restart or postfix reload??? Kill -HUP pid ??? ) I am looking at FreeBSD handbook and ntp documentation and have not found the answers. thank you in advance for info Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named mystery
On Dec 11, 2007, at 11:24 AM, Bill Vermillion wrote: On Tue, Dec 11, 2007 at 18:23 , while impersonating an expert on the internet, [EMAIL PROTECTED] sent this to stdout: Date: Tue, 11 Dec 2007 06:09:11 -0600 From: Derek Ragona [EMAIL PROTECTED] Subject: Re: named mystery To: jekillen [EMAIL PROTECTED], User Questions freebsd-questions@freebsd.org At 12:57 AM 12/10/2007, jekillen wrote: Hello: I have two name servers for four domains. The primary name server is running FreeBSD v 6.0 and the secondary is running v 6.2. I have an MX record for each of the four registered domains. I have set up Postfix to act as a smart host mail hub (the MX host). One of the named record database is for one of the sites. When I try to send an E-mail from this message to list e-mail address. The messages bounce for dns lookup failure. The name that is being looked up is mxhost.domainName.tld.targetDomainName.tld Some how the two names are being mashed together and then looked up, causing the resolution failure. As the other respondent noted, that was because of the missing period. I've found that 'nslint' in the /usr/ports/dns hierarchy is a nice little program that will tell you all your errors. I actually run it's output through a 'filter' to get rid of extranous things such as 'in use by .xxx' as i have several sites that respond to the same IP. dig targetDomainName.com -t MX produces the record according to my ISP's name servers, which is the mashed version. Possibly they have it wrong? Someone is screwing up the lookup for this. There was a period missing after the MX host name record. I added that and rebooted the machine with the primary name server just to insure that named got the change and checked the secondary record and it has the change You don't have to reboot Unix systems for almost all things which don't require a kernel change. named.restart will do the job. Happy day This is the first time I've seen this command. All the stuff I have uses rndc reload etc. Right now rndc isn't working (access denied, if it does that for me, I don't think I have anything to worry about) and I do not want to fool with it at the moment. Maybe sometime when I've won the lottery and am bored to death with chasing women. So my quick (impatient) approach was just to reboot. Any how dig turns up the right stuff now, accept that I was still getting a reject message from my ISP's server for lookup failure; with no explanation. So I did [EMAIL PROTECTED] and related my sad tail. I think they may be caching responses and rejecting based on a cached response. I will have to see. Jeff K I did dig @targerDomainName.com -t MX and got my secondary name server responding. I checked the primary server to see that it is actually running at the time, it was and is. but the bak file on the secondary server has clip IN MX 10 host.domain.tld. $ORIGIN targetDomain.tld. /clip when the record on primary server is clip @ IN MX 10 host.domain.tld. /clip @ in this context should reference the domain this file is for. If anyone is a wiz at dns record and problems can you make any suggestions or recommendations? thank you in advance Jeff K Jeff, I just checked how my DNS files look on two 6.2 servers. The primary zone files will have the: @ while the secondary zone files will not have these. In my zone files the MX appears on the primary as a the lines: ; MX Record @ IN MX 10 mail.mydomain.com. Note the last period after the domain suffix is there to show it is a fully qualified name, with that name defined earlier in this zone file. On the secondary server the zone files has: MX 10 mail.mydomain.com. In both files the 10 is the weight for the MX record. If you have multiple servers you want to accept email, you would use this number to designate the order they should get mail, smaller numbers are primary to get email. When you make a change on the primary DNS server zone file be sure to change the serial number in that zone file. Also I usually stop and start named on the primary. I also remove the backup files on the secondary servers and stop and start named on those too to see that the new files are transferred and thus being used. I have about 250 zones in my DNS and I've done something which makes sure that I always have the correct date, but all the domains will show the same date. I've extracted much of what you put in a zone file and put it in a file called named.soa . And in each file is used the $INCLUDE directive [quite handy] that is $INCLUDE named.soa Then I just update the serial number in the one file. It saves a lot of time, particualary yesterday when one client of a support house that uses our servers decided he needed all the standard variants .com, .net, .biz, .mobi, .info, .org, and .tv - plus 5 variants on his domain. I'd just dupe the zone file and make global changes in 'vi
Re: named mystery
On Dec 11, 2007, at 4:09 AM, Derek Ragona wrote: At 12:57 AM 12/10/2007, jekillen wrote: Hello: I have two name servers for four domains. The primary name server is running FreeBSD v 6.0 and the secondary is running v 6.2. I have an MX record for each of the four registered domains. I have set up Postfix to act as a smart host mail hub (the MX host). One of the named record database is for one of the sites. When I try to send an E-mail from this message to list e-mail address. The messages bounce for dns lookup failure. The name that is being looked up is mxhost.domainName.tld.targetDomainName.tld Some how the two names are being mashed together and then looked up, causing the resolution failure. dig targetDomainName.com -t MX produces the record according to my ISP's name servers, which is the mashed version. Possibly they have it wrong? Someone is screwing up the lookup for this. There was a period missing after the MX host name record. I added that and rebooted the machine with the primary name server just to insure that named got the change and checked the secondary record and it has the change I did dig @targerDomainName.com -t MX and got my secondary name server responding. I checked the primary server to see that it is actually running at the time, it was and is. but the bak file on the secondary server has clip IN MX 10 host.domain.tld. $ORIGIN targetDomain.tld. /clip when the record on primary server is clip @ IN MX 10 host.domain.tld. /clip @ in this context should reference the domain this file is for. If anyone is a wiz at dns record and problems can you make any suggestions or recommendations? thank you in advance Jeff K Jeff, I just checked how my DNS files look on two 6.2 servers. The primary zone files will have the: @ while the secondary zone files will not have these. In my zone files the MX appears on the primary as a the lines: ; MX Record @ IN MX 10 mail.mydomain.com. Note the last period after the domain suffix is there to show it is a fully qualified name, with that name defined earlier in this zone file. On the secondary server the zone files has: MX 10 mail.mydomain.com. In both files the 10 is the weight for the MX record. If you have multiple servers you want to accept email, you would use this number to designate the order they should get mail, smaller numbers are primary to get email. When you make a change on the primary DNS server zone file be sure to change the serial number in that zone file. Also I usually stop and start named on the primary. I also remove the backup files on the secondary servers and stop and start named on those too to see that the new files are transferred and thus being used. Yes, I did increment the serial number and put in the final dot. I am still getting test messages rejected for name service lookup failure--with no explanation. I contacted the isp about it. It seems as though the rejection was base on a cached response. Thanks for the info; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
named mystery
Hello: I have two name servers for four domains. The primary name server is running FreeBSD v 6.0 and the secondary is running v 6.2. I have an MX record for each of the four registered domains. I have set up Postfix to act as a smart host mail hub (the MX host). One of the named record database is for one of the sites. When I try to send an E-mail from this message to list e-mail address. The messages bounce for dns lookup failure. The name that is being looked up is mxhost.domainName.tld.targetDomainName.tld Some how the two names are being mashed together and then looked up, causing the resolution failure. dig targetDomainName.com -t MX produces the record according to my ISP's name servers, which is the mashed version. Possibly they have it wrong? Someone is screwing up the lookup for this. There was a period missing after the MX host name record. I added that and rebooted the machine with the primary name server just to insure that named got the change and checked the secondary record and it has the change I did dig @targerDomainName.com -t MX and got my secondary name server responding. I checked the primary server to see that it is actually running at the time, it was and is. but the bak file on the secondary server has clip IN MX 10 host.domain.tld. $ORIGIN targetDomain.tld. /clip when the record on primary server is clip @ IN MX 10 host.domain.tld. /clip @ in this context should reference the domain this file is for. If anyone is a wiz at dns record and problems can you make any suggestions or recommendations? thank you in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
relay host in sendmail?
Hello: I am using Absolute BSD, Second Ed. and am looking in the section on Sendmail. I cannot find where to specify a relay host. I have a hosts that originate mail to remote recipients but use a mail hub (Postfix) on another machine on local network to relay this mail to the outside. It is not spam. These messages will be used to verify web client supplied e-mail addresses. Thank you in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: relay host in sendmail?
On Dec 8, 2007, at 12:21 PM, Christian Walther wrote: Hi, On 08/12/2007, jekillen [EMAIL PROTECTED] wrote: Hello: I am using Absolute BSD, Second Ed. and am looking in the section on Sendmail. I cannot find where to specify a relay host. I have a hosts that originate mail to remote recipients but use a mail hub (Postfix) on another machine on local network to relay this mail to the outside. It is not spam. These messages will be used to verify web client supplied e-mail addresses. Thank you in advance; Jeff K you can specify a smart host in sendmail.mc (or the mc-file created for your host). The macro you need is already in there, you just need to uncomment it. It's something like: dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `your.relay.host') This looks like it is for dial up modem connection to an isp's mail servers. But I do not see why it would not work for a relay host on the local network. I have static ip addresses on DSL service. I will have to refresh my memory on what is a smart host. This relay host would also relay the response to an email verification message back to the originating host. And I am guessing that would be a virtual domain alias in the relay host. I am learning as I go along. Thank you for your help. Much appreciated Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
smtp in inetd.conf
Hello; I have my system, running FreeBSD v6.2, using Postfix. The following line in inetd.conf is uncommented; smtpstream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd and, I am getting messages on system boot that qmaild does not exist and is being ignored. Is this line (in inetd.conf) necessary for Postfix to operate? Or, should I modify the line to remove the references to qmail? (Meanwhile I have commented the line to see what happens) Thank you for info; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: short Q
On Nov 27, 2007, at 2:50 AM, Gerard Seibert wrote: On November 26, 2007 at 07:53PM jekillen wrote: Did you install this from ports? If so. the script would have been placed there all ready. Yes, that is what provoked the original question. I had built and installed from source tarball in the past. But one machine was always a problem. Once I did install from ports I was lacking info. The startup script was not in /etc/rc.d (although I have subsequently got into on /usr/local/etc/rc.d) That is where it belongs! I had followed instructions from MySQL documentation and put the script they supplied in /etc/rc.d; mysql.server, but for some reason the script did not actually start MyQSL. But the systems seems to look for some thing with mysql in the name and runs it if it is in /etc/rc.d. That is how I figured out what to do. (or maybe the system will try to run anything that is in /etc/rc.d if there is a corresponding enable line in rc.conf it understands). The academic question is, is the program that runs the startup routine, itself a script or is it a binary? Thanks If you are referring to the script in '/usr/local/etc/rc.d', it is just a plain script. You can edit it. No, I was referring to what ever runs the rc script. Is that init? ( could go back and look at Absolute BSD, and as a matter of fact I am awaiting delivery of the new edition as I write this. Is there a specific reason you installed from a tarball rather than use the ports system? I have always installed MySQL from ports without any problems. Originally, I was in a hurry and was having trouble with ports. This approach had worked for three machines. But one I was having endless problems with. Meanwhile I got it together to get ports to work. But the port did not install a startup script for MySQL, at least in /etc/rc.d, Thank you for your response. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: short Q
On Nov 26, 2007, at 2:57 AM, Gerard Seibert wrote: On November 25, 2007 at 09:51PM jekillen wrote: [ snip ] Thank you all for responses. I did get this straightened out: It is mysql_enable=YES and putting a script named mysql in the /etc/rc.d directory with the lines; #! /bin/sh /usr/local/bin/mysqld_safe --user=mysql did the trick. This is what the mysql docs prescribe for starting the server. Perhaps that is not the best way to go about it at system start, but it works. Thanks again; Jeff K Did you install this from ports? If so. the script would have been placed there all ready. Yes, that is what provoked the original question. I had built and installed from source tarball in the past. But one machine was always a problem. Once I did install from ports I was lacking info. The startup script was not in /etc/rc.d (although I have subsequently got into on /usr/local/etc/rc.d) I had followed instructions from MySQL documentation and put the script they supplied in /etc/rc.d; mysql.server, but for some reason the script did not actually start MyQSL. But the systems seems to look for some thing with mysql in the name and runs it if it is in /etc/rc.d. That is how I figured out what to do. (or maybe the system will try to run anything that is in /etc/rc.d if there is a corresponding enable line in rc.conf it understands). The academic question is, is the program that runs the startup routine, itself a script or is it a binary? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
named problems
Hello; I am having some named problems: The daemon will not start and run on system startup. There is plenty of info on problems when named is running, but not when it will not start. I did get it to start after boot with #named (su to root without - option) It started and ran as demonstrated with ps -aux. But the listing was just user (me as mortal user) and named as process (not as a path to an executable, as is normal for other processes). The console messages at start up gives me configuration file not found errors. The files are there. /etc/namedb/named.conf, rndc.key /etc/namedb is a link to /var/named/etc/namedb where the config files are. It is set up to be a slave server for four domains. How can I go about debugging this situation? My suspicions are ownership and permissions are wrong, but how, and how to fix; ?? Thanks in advance Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named problems
On Nov 25, 2007, at 1:58 PM, bsd wrote: Bind works perfectly out of the box on most FBSD recent versions. You should not move things out of the path they have been setup to. Specially on FBSD /etc is reserved for system files. By default bind is installed in /var/named and should be kept there. If I was you I would : 1. install the latest bind version from the port // 2. make sure you don't touch things unless absolutely necessary. 3. copy paste of modify the /var/named/etc/namedb/named.conf so that It corresponds to your needs. 4. make sure the /etc/rc.conf has the correct named values. 5. start it with the /usr/local/etc/rc.d/ script for named // Been runing this one with 1000 zones as both masters and slave never had any problem. If you have more issue could give you a help on debuging bind. My advice : STICK TO THE FBSD RULES AND PATH unless you perfectly know what you are doing. Thank you for your response. I did not actually change anything with respect to locations and such, but some of the permissions in /var/named/etc/namedb I had changed and could not find document- ation to tell me specifically what they are supposed to be. And I was not able to deduce it. As it turned out, I had a line at the end of named.conf that tried to include rndc.key file. I removed that and named started and runs. Now my problem is getting more info on rndc. I am somewhat confused about it. But I will get on top of that too, i expect. ecrit...that's French for writes or has written... it's been over 40 years since I took French in high school. Thanks again much appreciated; bonjour Jeff K Le 25 nov. 07 à 20:19, jekillen a écrit : Hello; I am having some named problems: The daemon will not start and run on system startup. There is plenty of info on problems when named is running, but not when it will not start. I did get it to start after boot with #named (su to root without - option) It started and ran as demonstrated with ps -aux. But the listing was just user (me as mortal user) and named as process (not as a path to an executable, as is normal for other processes). The console messages at start up gives me configuration file not found errors. The files are there. /etc/namedb/named.conf, rndc.key /etc/namedb is a link to /var/named/etc/namedb where the config files are. It is set up to be a slave server for four domains. How can I go about debugging this situation? My suspicions are ownership and permissions are wrong, but how, and how to fix; ?? Thanks in advance Jeff k Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz P Please consider your environmental responsibility before printing this e-mail ___ 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: short Q
On Nov 25, 2007, at 1:34 PM, Gelsema, P ((Patrick)) wrote: On Sun, November 25, 2007 21:18, Shantanoo Mahajan wrote: On 26-Nov-07, at 1:23 AM, Paul Schmehl wrote: --On November 23, 2007 9:04:01 PM -0800 jekillen [EMAIL PROTECTED] wrote: Hello: Is this the way to start mysqld in rc.conf? mysqld_enable=YES head /usr/local/etc/rc.d/mysql-server # # Add the following line to /etc/rc.conf to enable mysql: # mysql_enable (bool): Set to NO by default. # Set it to YES to enable MySQL. # mysql_limits (bool): Set to NO by default. # Set it to yes to run `limits -e -U mysql` # just before mysql starts. # mysql_dbdir (str):Default to /var/db/mysql # Base database directory. # mysql_args (str): Custom additional arguments to be passed # to mysqld_safe (default empty). Cheers Patrick Most ports that have daemons will have startup scripts in /usr/ local/etc/rc.d/. Most of those scripts will include comments about what switches are required in /etc/rc.conf to start the daemon. Look there first for instructions. If you look at the mysqld startup script in /usr/local/etc/rc.d, you will notice that it says use msyqld_enable=YES in /etc/rc.conf. I do not have freebsd machine around to verify, but iirc, its 'mysql_enable' and not 'mysqld_enable'. regards, shantanoo Thank you all for responses. I did get this straightened out: It is mysql_enable=YES and putting a script named mysql in the /etc/rc.d directory with the lines; #! /bin/sh /usr/local/bin/mysqld_safe --user=mysql did the trick. This is what the mysql docs prescribe for starting the server. Perhaps that is not the best way to go about it at system start, but it works. Thanks again; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
short Q
Hello: Is this the way to start mysqld in rc.conf? mysqld_enable=YES I ask because I have not found the specifics. I copied the mysql.server script to the rc.d dir. but the documentation only deals specifically with Linux where startup scripts are concerned. Thank you in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
named fails to start and run
Hi; I am getting the following messaged when named attempts to start at system startup: could not configure root hints from 'named.root': file not found loading configuration: file not found So what is supposed to tell this script where to find these files? (in FreeBSD rc script context: i looked over the script named in rc.d dir, but could not glean anything from it) They do exist in the proper places (assuming that loading configuration means it is trying to read named.conf, or perhaps rndc.conf). named version 9.x on FreeBSD 6.2 Extra info: This is a secondary name server for four domains. It was running on a laptop that died suddenly of hard drive failure. It was running Yellow Dog Linux. I've had to reconstruct the server on the present machine and I was not able to salvage the rndc.key file and rndc.conf from that machine. Thank you in advance; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: short Q
On Nov 23, 2007, at 9:25 PM, Josh Tolbert wrote: On Fri, Nov 23, 2007 at 09:04:01PM -0800, jekillen wrote: Hello: Is this the way to start mysqld in rc.conf? mysqld_enable=YES I ask because I have not found the specifics. I copied the mysql.server script to the rc.d dir. but the documentation only deals specifically with Linux where startup scripts are concerned. Thank you in advance; Jeff K Hello Jeff, Did you install MySQL from ports? If so, take a look at the rc script that exists for MySQL in /usr/local/etc/rc.d and see what you need to put in /etc/rc.conf. yes, after a long saga of travail with mysql on this machine I did get it up and running from ports. Thank you for the info Jeff K If you didn't install MySQL from ports...Then yeah, you're pretty much on your own. :) Thanks, Josh -- Josh Tolbert [EMAIL PROTECTED] || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql ports
Hello; I have installed mysql51-client, mysql51-server, and mysql51-scripts. I looked for pkg_message in mysql51-scripts but there is none. Where do I get info on what this port has and what it does? Thank you for info Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysql install Q
Hello; The following is what I get when I do mysql_install_db. /libexec/ld-elf.so.1: Shared object libcrypt.so.2 not found, required by my_print_defaults /libexec/ld-elf.so.1: Shared object libcrypt.so.2 not found, required by my_print_defaults (yes, the same message twice) I looked in ports for crypt but I do not know what exactly to look for to satisfy this complaint. In addition I got the following complaint: Neither host 'this_host.domain.tld' nor 'localhost' could be looked up with ./bin/resolveip Please configure the 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with the --force option This is strange because this is also secondary dns server for the domain. I looked in ports at what is available for mysql and there are a number of listings for various versions. For a particular version there appear to be three separate directories, client, server, and scripts. I am a little confused as to what all to build and install. Now that I have gotten a handle on using ports, I am doing it that way instead of my initial approach, get the tarballs unzip, configure, make and make install (and hope for the best). This happens to be one of those, accept it is a prebuilt binary package. mysql-max-5.0.18-freebsd5.3-i386 (hmmm...5.3?...) I will try to remove every thing it installed and got to ports if I can not solve the immediate problems. Any advice, suggestions, data appreciated. Thank you Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cyrus installed
On Nov 18, 2007, at 12:27 AM, Per olof Ljungmark wrote: jekillen wrote: Hello: I have installed Cyrus23 from ports and then read the pkg-message and it has references to /usr/local/cyrus and usr/local/etc/imapd.conf both of which do not exist. FreeBSD 6.2 Wouldn't the install have created these? I have lots of docs on Cyrus and Postfix but none specific to how ports does this. I have postfix installed and running. Do I have to redo it with cyrus support. One of the documents I have seems to say yes. I do not see anything specific in the handbook. Thanks in advance for guidance, suggestions info, whatever; Hi, Look in: /usr/local/share/examples/cyrus-imapd where you can find skeleton config files. Please note that you *must* configure your system to your enviroment, it will *not* work out-of-the-box. I finally got it. I did not run make install, Silly me. I have gone over the file Postfix-Cyrus-Web-cyradm-HOWTO and it does not actually indicate rebuilding Postfix with Cyrus support. It just explains how to configure it for Cyrus. For me, this is an ambitious learning process. This file Postfix-Cyrus-Web-cyradm-HOWTO is written for Linux systems for the most part, so I have to translate into FreeBSD-ese. I did run make install and now the missing dirs and files are there. Now, for the actual configurations. Thank you for your response; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sealed Server
Hello; I am planning on setting up Cyrus on a machine and the documentation says that it is intended' for use on 'sealed' servers (servers for which there are no accounts that can log into the system) However: If I use ssh to administer the system, I have to set it up so I can ssh directly to root, right. and Since there are references to use of MySQL and the MySQL user is set up as a normal user with a login/pwrd, How do I get around that? (have MySQL running on a different machine, or something?) Please forgive my lack of sophistication on this issue, I am learning. (I have also been looking at Dovecot) I have assembled some documentation on this but have not found a direct answer, thus the query here. system uses Postfix on FreeBSD 6.2 One FYI that may be of interest: I had my own dns servers listed in resolv.conf before the isp's dns servers and messages sent from this machine (FreeBSD w/Postfix) were failing to deliver to [EMAIL PROTECTED] due to dns lookup failures. So I changed the order in resolv.conf (listing isp dns servers first) and the messages were then delivered. I thought that if one server could not respond with enough info, the next server would be tried until one was successful (making order insignificant). Thank you for any info; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sealed Server
On Nov 17, 2007, at 12:13 PM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 jekillen wrote: Hello; I am planning on setting up Cyrus on a machine and the documentation says that it is intended' for use on 'sealed' servers (servers for which there are no accounts that can log into the system) This is really just trying to say that you don't need a Unix login account in order to have an e-mail account via Cyrus IMAPd. Of course any server will require user accounts for its administrators to be able to log in. However: If I use ssh to administer the system, I have to set it up so I can ssh directly to root, right. Wrong. The best practice is to require users to log in as themselves (thus establishing some sort of audit trail) and then use some program like su or sudo to gain rootly powers. At work we use a second instance of sshd bound to a high-numbered port on the loopback so you can ssh to root only after you've logged in and only if you've using ssh-agent and your ssh public key is in root's ..ssh/authorized_keys file. Thank you this answers these questions and Since there are references to use of MySQL and the MySQL user is set up as a normal user with a login/pwrd, No -- mysql runs as a non-privileged user which doesn't need to have any password set or any ability for anyone to get a login session as the mysql user. All that ID is for is to own some files and the various mysqld processes. This is a standard practice with most long-running daemons exposed to the network: it limits the damage that can be done by remote compromise of the software. and this accept, I know that MySQL has a separate set of user/passwords and various levels of access privilege, When I built and installed MySQL I had to create a mysql user as a normal user with password, unless I misunderstood. Someone who knew this password would be able to log into the system as user mysql (or the name that was given to mysqld to run as) The best way to configure MySQL in that situation is to * use 'skip-networking' in the configuration file. This forces all connections to mysql to be via the unix domain socket in /tmp/mysql.sock * Run 'mysql_secure_installation' to remove remote root access, set the root password, get rid of wildcarded logins etc. * Review all user IDs and GRANTS carefully -- if you aren't using networking, then all your MySQL users should be 'userid'@'localhost' Adopt a polict of *minimum privilege* -- allow only the necessary access required for things to keep working. * In order to prevent the MySQL root password being used routinely (which makes it far more likely to be disclosed), create a file /root/.my.cnf with contents like: [client] user = root password = yourpassword Make sure the file is mode 600: read-write only for the owner With this in place, then once you've become the Unix root user you can then just type 'mysql' and get a root MySQL session without having to type any passwords. ie. you rely on the security of your Unix root account to protect your MySQL root account. Please forgive my lack of sophistication on this issue, I am learning. (I have also been looking at Dovecot) I have assembled some documentation on this but have not found a direct answer, thus the query here. system uses Postfix on FreeBSD 6.2 Dovecot is good, and its configuration -- particularly where stuff like SASL is concerned -- is a lot easier for inexperienced users. It will run a mail server for tens of hundreds of users perfectly satisfactorily. On the other hand, if you're looking at thousands of users then Cyrus IMAPd is what you need. One FYI that may be of interest: I had my own dns servers listed in resolv.conf before the isp's dns servers and messages sent from this machine (FreeBSD w/Postfix) were failing to deliver to [EMAIL PROTECTED] due to dns lookup failures. So I changed the order in resolv.conf (listing isp dns servers first) and the messages were then delivered. I thought that if one server could not respond with enough info, the next server would be tried until one was successful (making order insignificant). Sounds like your own recursive DNSes weren't actually working. Flaky DNS is the cause of most of the delays or failures that spoil your user experience: That is probably the cause, but editing resolv.conf was the quick fix. until you've thoroughly mastered managing DNS servers, I'd recommend using your ISPs servers. Having reliable DNS will help you a great deal while you are debugging your mail server setup. Actually they work fine for what I set them up for. It was the recursive aspect that I had forgotten about, but as I remember, there was a security issue with regard to recursive queries so I have them disabled. I have the isp's servers set up to relay queries to in my primary named.conf and that is probably what I
Cyrus installed
Hello: I have installed Cyrus23 from ports and then read the pkg-message and it has references to /usr/local/cyrus and usr/local/etc/imapd.conf both of which do not exist. FreeBSD 6.2 Wouldn't the install have created these? I have lots of docs on Cyrus and Postfix but none specific to how ports does this. I have postfix installed and running. Do I have to redo it with cyrus support. One of the documents I have seems to say yes. I do not see anything specific in the handbook. Thanks in advance for guidance, suggestions info, whatever; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re: Postfix, dns, and hosts.allow
Sorry: I sent this message by mistake before completing it. I had also sent the same message to the postfix user list. Thank you in adance for into Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix, dns, and hosts.allow
Hello: I have a question about Postfix and hosts.allow: Sendmail and exim are mentioned in the file and I assume that Sendmail would refer to Postfix sendmail as well as Sendmail. But Since Postfix runs smtp.d, how would I do Postfix in hosts.allow? I also have a question about how postfix would resolve names outside of the local domain, Does it use resolve.conf, hosts.equiv, nsswitch or does it need a local name server. I set it up and tried sending a test message from that host the the prodigy.net address (of this message) and it just seems to have disappeared. I was successful sending a message on internal network link from another machine. I was not successful sending a message to [EMAIL PROTECTED] from another machine (This address would have had to have been resolved by my name servers, whether it went all the way out to the isp's system and beyond, and then back, or just from one static ip address to the other, courtesy of my adsl router ). I did turn smtp 'on' in inetd.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cmos clock to utc time code?
Hello again; Here I am with another awkward question: I have set up ntp and it is complaining that the time difference is too great; 3606 or so seconds, and wants the system clock set to utc. I rebooted and entered bios set up but I did not see any explicit clues on how to set this clock to utc. (0r even if it is possible). The motherboard is ECS w/AMD64. I did not catch the bios vendor or version. If I have to I will reboot again to look at it or dig up the manual for the motherboard. I tried sysinstall but it just asks if the system clock is set to utc. (thus the question here) Any advice, suggestions, info appreciated; Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cmos clock to utc time code?
On Nov 8, 2007, at 6:21 PM, Brent Jones wrote: There's no time zone setting in a cmos clock. Just set the time to whatever UTC is, and you should be good to go. Ideally though, you should have the system do an ntpdate command first, which will take care of the clock issue for you. Just put: ntpdate_enable=YES in your rc.conf file, and it will run before ntpd starts. I have ntpd_enable=YES in /etc/rc.conf already, would there be a conflict? While this machine is being configured with all the functional software I want working, hub mail server with Cyrus, Apache/php/mysql. while I am getting everything set up and tested the machine will not be running 24/7 so ntpdate would probably be a better choice, but once all is square with the world, it will be running 24/7 and I have three other machines that will use it to get their time set (unless I have misunderstood and this is not possible or practical) Thank you for your response Jeff K -Original Message- Hello again; Here I am with another awkward question: I have set up ntp and it is complaining that the time difference is too great; 3606 or so seconds, and wants the system clock set to utc. I rebooted and entered bios set up but I did not see any explicit clues on how to set this clock to utc. (0r even if it is possible). The motherboard is ECS w/AMD64. I did not catch the bios vendor or version. If I have to I will reboot again to look at it or dig up the manual for the motherboard. I tried sysinstall but it just asks if the system clock is set to utc. (thus the question here) Any advice, suggestions, info appreciated; Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on a Mac
On Nov 8, 2007, at 6:40 PM, Jack Barnett wrote: James Jeffery wrote: Was wondering. Can i put FreeBSD on a Quicksilver G4? I know it already has Tiger on it, which is BSD based, but i have no use for Tiger at the moment. At college were using Windows, and my old BSD box now has windows on it so that i can keep up with college assignments. I still have BSD on the box, but on another partition, i loved FreeBSD 7, was really getting the hang of it and testing out its web server capabilities, its a nightmare switching the PC on and off just to run a temp web server to test on. Is it possible or is there a better solution? Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You could also run FreeBSD inside of VMWare on your windows box. IIRC the VMWare software is free for Windows. There is also a port for FreeBSD (to run Windows in a VMWare with FreeBSD as the host) - but it hasn't been updated in a long time. for that matter, couldn't you run dual boot with windows and FreeBSD? (Like you can with Windows and Linux?) JK ___ 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: Now it is ntpd that can't find anything
On Nov 1, 2007, at 11:18 AM, N.J. Thomas wrote: * [EMAIL PROTECTED] [2007-10-31 16:08:10 -0800]: I set up ntpd on FreeBSD 6.2 and am getting complaints from ntpd that there is no route to such and such address. It gives what appears to be an interface card address. ntpq -p remote refid st t when poll reach delay offset jitter == 2610:1f8:d8:2:2 .INIT. 16 u- 6400.000 0.000 4000.00 2001:4830:1210: .INIT. 16 u- 6400.000 0.000 4000.00 hydrogen.cert.u 164.67.62.1942 u 10 643 13.909 -261.61 2.936 pubts2-sj.witim 64.125.78.85 2 u8 643 20.023 -256.60 2.883 Here are the console messages: ntpd (706) send to(2610:1f8:d8:2:216:cbff:fea3:4b2e:) no route to host (2001:4830:1210:0;280:10ff:fe00:48b9) are these ipv6 addresses? Or are they expecting authentication and refusing connections? The last two time servers seem to be communicating fine with your ntp daemon. The bad ones look like IPv6 sites to me. What time servers do you have listed in your ntp.conf file? What is the output of grep -i server /etc/ntp.conf? These are the servers I have listed: server lain.ziaspace.com #server ntp2.sf-bay.org server reva.ziaspace.com server hydrogen.cert.ucr.edu server pubts2-sj.witime.net The one commented out was not responding to ping. I suppose I should find ones that are reachable via ipv4. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Now it is ntpd that can't find anything
On Oct 30, 2007, at 10:49 PM, Olivier Nicole wrote: Jeff, I set up ntpd on FreeBSD 6.2 and am getting complaints from ntpd that there is no route to such and such address. It gives what appears to be an interface card address. As a general rule, please copy/paste the error message. The rest respond without hesitation, both to dig and ping. The time server is not reponding to dig per se. Dig is a command to resolve a name into an IP, so that is your DNS server that is responding to dig. Yes, I know, my message said it was complaining about what appear to be arp addresses ( I think they are also referred to as MAC addresses) I will try to reproduce an error message if I can get one to come up now. Last night I edited ntp.conf to comment out a time server that was not responding to pings but did turn up a dig response. The ntpd did give me these messages, so just to get it out of my hair for a while I killed it. Some time later I restarted it with the command line presented in the FBSD handbook telling how to start the server. It did not give me anymore problems. Another poster requested I send the output from ntpq -p. ntpq -p remote refid st t when poll reach delay offset jitter == 2610:1f8:d8:2:2 .INIT. 16 u- 6400.0000.000 4000.00 2001:4830:1210: .INIT. 16 u- 6400.0000.000 4000.00 hydrogen.cert.u 164.67.62.1942 u 10 643 13.909 -261.61 2.936 pubts2-sj.witim 64.125.78.85 2 u8 643 20.023 -256.60 2.883 Here are the console messages: ntpd (706) send to(2610:1f8:d8:2:216:cbff:fea3:4b2e:) no route to host (2001:4830:1210:0;280:10ff:fe00:48b9) #are these ipv6 addresses? Or are they expecting authentication and refusing connections? Thanks for the responses: Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Name resolution solved
Hello again: I solved the problem with the name resolution associated with installing ports via ftp, portsnap. 1. I found an erroneous entry in routing tables and removed it and rebooted. There was no route to the default gateway because there was another erroneous gateway entry before it. I believe removing this solved it. 2. I did change a few settings in my primary named.conf file to allow for queries through a fire wall, and found one wrong network address reference. But I did not restart named on that machine, so the changes would not have effected the problem one way or another ( I believe) . I tried pinging a remote site by name and it worked so I went ahead with portsnap fetch and it worked. Somehow I managed to get things right...eventually. Without being a computer scientist/networking engineer/technician I guess I am doing alright on my own, with help from great people on this list. Thanks Jeff K. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Now it is ntpd that can't find anything
Hello again. I set up ntpd on FreeBSD 6.2 and am getting complaints from ntpd that there is no route to such and such address. It gives what appears to be an interface card address. I found several time servers and listed them in ntp.conf. One is unreachable as demonstrated by ping failure. The rest respond without hesitation, both to dig and ping. But why would ntpd be looking for interface addresses and not ip/domain names? The recent resolver problems I had have been solved, to the extent they have been a problem. Is ntpd trying arp or rarp for these addresses or is it something else I am not aware of? This is the first time I have dealt with ntp. I am trying to follow instructions from latest FreeBSD handbook. Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
resolver problems
Hello: I am still having resolver problems with my 6.2 system. It has shown up with trying to install ports from the ftp site. I discovered that there is no resolv.conf file, so I created one. The funny thing is if I ping one of my web sites with www.domainName.com ping can't resolve the address. but if I do actualHostName.domainName.com it works. Just for control test purposes I tried from a Mac OSX machine and was able to ping www.domainName.com. I even have my own DNS servers listed as servers to contact in resolv.conf To abbreviate this message, I am trying to get ports set up and working. This time I tried portsnap fetch and the site indicated as the source and mirrors could not be found. Any suggestions, help, advice is appreciated. I am going more to the existing material, but it obviously cannot anticipate this sort of problem literally. Thanks In Advance: Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Name resolution
Hello: I have been trying to tame the use of the ports mechanisms. I set up a system with a static ip connection to the internet and when I run: pkg_add -r csup-without-gui (verbatim from the freebsd handbook I downloaded just a few days ago) I get this: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ Latest/csup-without-gui.tbz: No address record pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ Latest/csup-without-gui.tbz' by URL I checked inetd.conf and resolv.conf. ftp is working in inetd.conf but when I went to look in resolv.conf, there was no file by that name. So I created one with my local nameservers and the ISP's nameservers. All of my servers are connected to local network and public. I have the name servers set to respond to requests from public network only (I do not want anyone finding out the address numbers I use on the private network) But I am not sure whether these changes require that I reboot the machine. The connection is live and working. I can ping another of my static ip addresses, and other machines running on the private nework. But if I ping one of my websites by name the ping cannot find it. so I know it is a resolver issue, with no name server running on this machine. I have to assume there is a local resolver, but since it is just a library, and not a process, as I understand it, I am thinking that something needs to be redone to use the file with the changes. This is because after adding the file /etc/resolv.conf I still get the above complaints. I am doing this to keep in step with FreeBSD and I have a lot of software I want to install for use with email. In the past I have bypassed ports with programs like Apache, php, mysql and have had little problems. But now I am 'growing up' to the idea that managing changes and removals will be much easier if I do use ports. I just need to figure out what it wants and expects, and what I can and should expect. For instance, If I want to install Apache with php with gd and a lot of other extensions that have to be built separately by hand so php can include them and/or use them, how is that accomplished with ports? Or, suppose I have Apache already installed and want to install ssl. In the manual method ssl has to be prebuilt and configured specific to Apache before Apache is built. Could I expect a series of configure questions from the ports installation process to pick and choose what I want included, or how I want it configured? Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Name resolution
On Oct 27, 2007, at 4:54 PM, RW wrote: On Sat, 27 Oct 2007 16:42:02 -0700 jekillen [EMAIL PROTECTED] wrote: Hello: I have been trying to tame the use of the ports mechanisms. I set up a system with a static ip connection to the internet and when I run: pkg_add -r csup-without-gui (verbatim from the freebsd handbook I downloaded just a few days ago) I get this: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/ Latest/csup-without-gui.tbz: No address record It's called cvsup-without-gui, but you don't actually need it because csup (a rewrite in C of the non-gui version of cvsup) is in the base system. thank you; your right it is cvsup, but the handbook indicates that I could use csup in place of cvsup in the command line on v6.2 and up. But that does not seem to effect the resolver issue (unless I am mistaken here and the resolver is actually working and it is just the reference) Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Periodic.conf?
On Oct 25, 2007, at 2:46 AM, Gerard wrote: On October 24, 2007 at 09:50PM jekillen wrote: The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. Create the /etc/periodic.conf file and populate it with the correct information. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. You could delete the package and then install it from ports. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. You have to add them. Please read /usr/ports/mail/postfix/pkg-message for further details. That is the last stable version of Postfix, by the way. The beta version is under 'postix-current'. You should also check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail- changingmta.html for further details. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? If you install Postfix from the ports system, it will offer to make these modifications for you. See my above comment. Thank you for the data; Much appreciated Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Periodic.conf?
Hello; The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? I plan on setting up a test system on the local net. And when that appears to be working properly, I will add it to the DNS records and hook in up to the public network. I am looking to learn to setup and administer mail systems I am a hobbyist at this point, but I have static IP addresses and do web design and related programming, art, music and graphics and have several services that will need a mail server to run e-mail address verification checks and registration verification checks, as well as be a personal mail system so I can let the prodigy.net address just be a spam catcher. I am not looking to spam anyone. Thanks in Advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .PICT mac file
On Oct 3, 2007, at 6:42 AM, Norberto Meijome wrote: Hi everyone, I have a load of .pict files which I can't seem to be able to open with anything under FBSD. I just want to convert them into something more useful (jpg / tiff / svg). ImageMagick doesn't understand it, so i think this is the Packbits compressed .PICT filetype. neither Gimp or XV like them either. file doesn't identify the files either. Alternatively, any tool I can script under OSX to conver them to something useful? (FYI, 'Preview' under Tiger doens't recognise them either, but I can drag them just fine into an Omnigraffle Pro diagram). One of these files is at http://www.meijome.net/files/freebsd/image64.pict thanks, Beto _ {Beto|Norberto|Numard} Meijome Intellectual: 'Someone who has been educated beyond his/her intelligence' Arthur C. Clarke, from 3001, The Final Odyssey, Sources. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. You may have to use a program like Photoshop; Mac version to do the work. I have been using Mac since 1996 and have seen pict files but have avoided them mostly in favor of tif or jpeg. I do not have any Classic Mac installations and do not do graphics as much as I used to but I don't recall even seeing pict as a file option for graphics software on Mac, Photoshop, or other program that edits image files. Since X11 can be installed on OSX and Gimp will run on Mac under X11, I would think that it would have accommodation for that. I just launched it and did not see that as a save as option. There is a stripped down version of Photoshop available, Photoshop Elements that may do it without the cost of Photoshop. But there is probably someone with more knowledge on this than I. Good Luck; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about Postfix
On Oct 1, 2007, at 7:58 PM, Joe in MPLS wrote: jekillen wrote: Hello; I have a quick question about Postfix. When I install Free BSD and have it include Postfix from packages, does the install process completely replace Sendmail with Postfix, or do I still have to replace Sendmail with Postfix separately? Thanks in advance Jeff K The package install of postfix does nothing to sendmail. It's not like the MTA switch utility found in some linux distros. Just turn off the various bits of sendmail in /etc/rc.conf and start postfix. ...jgm Postfix does include an executable named sendmail that directly replaces some of the old sendmail capability. This is what is confusing me some. I have a text from SAMS on Postfix and it talks about renaming several sendmail related files and removing the suid permissions on them. Because both Sendmail and Postfix are extensive systems, getting all the cogs and gears together looks like a real challenge to me. Thanks for the info; much appreciated Jeff K (not looking to spam anyone, just set up a mail servers to service several domains) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about Postfix
On Oct 1, 2007, at 8:04 PM, Duane Hill wrote: On Mon, 1 Oct 2007 at 19:50 -0700, [EMAIL PROTECTED] confabulated: Hello; I have a quick question about Postfix. When I install Free BSD and have it include Postfix from packages, does the install process completely replace Sendmail with Postfix, or do I still have to replace Sendmail with Postfix separately? Thanks in advance Jeff K If you install Postfix from the ports collection: /usr/ports/mail/postfix toward the end of the install process, it will ask you if you wish for the install to make changes in /etc/mail/mailer.conf. You tell it yes. If it did not ask, /etc/mail/mailer.conf should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail This is what so-to-speak plugs Postfix into the OS. To totally disable SendMail from running at startup after a reboot, you have to make some additions to the /etc/rc.conf config file. Namely, you have to add: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO O.K. This is something I have not been aware of. As far as MTA's on any system I am somewhat of a newbe. I do get regular e-mails to the root accounts of my various (four) systems when they are running constantly, (two are) and I have been wondering how a switch over will effect that. I will need to do a system specific configuration of postfix and define system specific aliases, prevent public use of the servers for open relaying and such. So I expect for a first timer I have my work cut out for me. Thanks for the info, much appreciated. Jeff K (I'm not looking to spam anyone) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
question about Postfix
Hello; I have a quick question about Postfix. When I install Free BSD and have it include Postfix from packages, does the install process completely replace Sendmail with Postfix, or do I still have to replace Sendmail with Postfix separately? Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using the date command
On Sep 29, 2007, at 8:52 PM, Brian A. Seklecki wrote: To set time: $ sudo /usr/sbin/ntpdate pool.ntp.org 29 Sep 23:48:31 ntpdate[9404]: adjust time server 66.250.45.2 offset 0.001289 sec To date info about your timezone settings: $ zdump /etc/localtime /etc/localtime Sat Sep 29 23:49:19 2007 EDT Options: $ ls /usr/shaoneinfo/ | egrep -v ^d total 78 -rw-r--r-- 1 root wheel755 Aug 22 11:11 CET -rw-r--r-- 1 root wheel837 Aug 22 11:11 CST6CDT -rw-r--r-- 1 root wheel679 Aug 22 11:11 EET -rw-r--r-- 1 root wheel 56 Aug 22 11:11 EST -rw-r--r-- 1 root wheel837 Aug 22 11:11 EST5EDT [...] To set timezone: $ ln -s /share/zoneinfo/$WHATEVER /etc/localtime For you probably PST8PDT. For your best NTP experience, use OpenNTP from ports: /usr/ports/net/openntpd/ ~BAS Thanks for the info, very helpful; Jeff K On Sat, 2007-09-29 at 20:33 -0700, jekillen wrote: Hello all; I have built 4 machines and installed FreeBSD 6.0 in one and 6.2 in the other three. They are all using the wrong date and time. The last one (v6.2 on ecs mb with AMD64) is the worst. It is telling me today is Jan 3 2003 PST (I am on the west coast and it is still PDT). These machines are all web servers. So up until now this has not been a big issue but a configuration of software is complaining that the files it creates have an older date than the files in the software bundle, it is time to do something about it. So I am looking at man date and as I interpret the instructions #date ccyymmddHHMM.ss (20079282027.00 or 200709282027.00 for instance) is supposed to set the clock to the current date. But when I run a command with the current date and time in the above format I get the complaint that the format string is wrong. Can anyone be kind enough to give me a quick tutorial on this? I will be looking seriously into using NTP, but for now I need to get the date straight. I have entries in apache error log gener ated by php scripts that are supposed to use its date command. Thanks in advance for assistance. Jeff K ___ 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: using the date command
On Sep 30, 2007, at 12:48 AM, Bruce Cran wrote: Brian A. Seklecki wrote: To set time: $ sudo /usr/sbin/ntpdate pool.ntp.org 29 Sep 23:48:31 ntpdate[9404]: adjust time server 66.250.45.2 offset 0.001289 sec ntpdate is deprecated, you should use ntpd -q instead if you want ntpd to set the time once then exit. From ntpdate(8): Note: The functionality of this program is now available in the ntpd(8) program. See the -q command line option in the ntpd(8) page. After a suitable period of mourning, the ntpdate utility is to be retired from this distribution. Also, ntpd wil refuse to update the time if the delta is more than 1000s by default, but you can use the -g option to override this. To set the date to within a reasonable delta, use something like date 200709282027. If you want to set the time more accurately using NTP, edit /etc/ntp.conf and add server pool.ntp.org to it. Save it then run ntpd -q. If you need to configure the time zone, an easy way to do this is to run sysinstall and select Configuration -- Time Zone. To date info about your timezone settings: $ zdump /etc/localtime /etc/localtime Sat Sep 29 23:49:19 2007 EDT Options: $ ls /usr/shaoneinfo/ | egrep -v ^d total 78 -rw-r--r-- 1 root wheel755 Aug 22 11:11 CET -rw-r--r-- 1 root wheel837 Aug 22 11:11 CST6CDT -rw-r--r-- 1 root wheel679 Aug 22 11:11 EET -rw-r--r-- 1 root wheel 56 Aug 22 11:11 EST -rw-r--r-- 1 root wheel837 Aug 22 11:11 EST5EDT [...] To set timezone: $ ln -s /share/zoneinfo/$WHATEVER /etc/localtime For you probably PST8PDT. For your best NTP experience, use OpenNTP from ports: /usr/ports/net/openntpd/ ~BAS On Sat, 2007-09-29 at 20:33 -0700, jekillen wrote: Thanks, more very helpful info; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using the date command
On Sep 30, 2007, at 6:13 PM, RW wrote: On Sun, 30 Sep 2007 16:17:30 -0700 jekillen [EMAIL PROTECTED] wrote: On Sep 30, 2007, at 12:48 AM, Bruce Cran wrote: ntpdate is deprecated, you should use ntpd -q instead if you want ntpd to set the time once then exit. From ntpdate(8): Note: The functionality of this program is now available in the ntpd(8) program. See the -q command line option in the ntpd(8) page. After a suitable period of mourning, the ntpdate utility is to be retired from this distribution. Also, ntpd wil refuse to update the time if the delta is more than 1000s by default, but you can use the -g option to override this. To set the date to within a reasonable delta, use something like date 200709282027. If you want to set the time more accurately using NTP, edit /etc/ntp.conf and add server pool.ntp.org to it. Save it then run ntpd -q. And if you then add ntpd_enable=YES ntpdate_enable=YES to rc.conf, it will all work automatically thereafter. ntpdate will run at boot-time followed by ntpd. The removal of ntpdate is something I'll believe in when it happens. ntpd -q is a superior drop-in replace for ntpdate when it's being run from cron. OTOH if you run ntpd -q in place of ntpdate at boot (before starting ntpd), it adds about 15 seconds to the boot-time for no significant benefit. Thanks for the info. So ntp, as I understand it, has to have time servers to reference, and of course the system has to be connected to the public network to contact the time servers. Are there any security issues with ntp? Or, where can I find info on security issues related to ntp? Update on original question related to the use of date in FreeBSD; I finally brightened up and set the time in the bios. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using the date command
Hello all; I have built 4 machines and installed FreeBSD 6.0 in one and 6.2 in the other three. They are all using the wrong date and time. The last one (v6.2 on ecs mb with AMD64) is the worst. It is telling me today is Jan 3 2003 PST (I am on the west coast and it is still PDT). These machines are all web servers. So up until now this has not been a big issue but a configuration of software is complaining that the files it creates have an older date than the files in the software bundle, it is time to do something about it. So I am looking at man date and as I interpret the instructions #date ccyymmddHHMM.ss (20079282027.00 or 200709282027.00 for instance) is supposed to set the clock to the current date. But when I run a command with the current date and time in the above format I get the complaint that the format string is wrong. Can anyone be kind enough to give me a quick tutorial on this? I will be looking seriously into using NTP, but for now I need to get the date straight. I have entries in apache error log gener ated by php scripts that are supposed to use its date command. Thanks in advance for assistance. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hard drive RPM
Hello; Is there a utility for measuring the effective RPM of a hard disk? A software tackometer? I have IDE drives, SATA drives, both 7200 and 10,000 RPM, as well as SCSI disks that are supposed to be running at 15k RPM. I noticed that on the hard drive labels, those on the disk case itself do not specifically indicate what speed they are supposed to operate at. The two 10k SATA drives only had labels on the antistatic packaging indicating that they are 10k drives. I would like to verify the speeds of these drives. I am hoping that this is not a case of misrepresentations that I have found on network attached hard disk storage devices and Firewire drives. I have one that was expressly advertised on the package to be 120 Gb capacity, and in fact only 111Gb are available for storage. That is a 9 Gb discrepancy. A Fire wire drive I have is also designated as 120 Gb and actually only has 117 Gb usable capacity. Like 9Gb is enough for several operating systems. 3Gb is even enough for an operating system. Can anyone shed some light on this? (Storage device labeling, and specifically, RPM specs) I would ask the manufacturers but would be suspicious of bias responses. That is what I got from one of them already. Thanks in advance for responses. The hard drives in question are running on FreeBSD systems on homebuilt hardware. All AMD64 processors, ECS, Gigabyte, and ASUS motherboards, Hard drives are Western Digital IDE, SATA, and Seagate SCSI drives. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard drive RPM
On Sep 19, 2007, at 6:07 PM, Rob wrote: Derek Ragona wrote: Run the manufacturer's diagnostic utility to check the drives speed and performance. Most of these utilities also give you the drive model and serial number as well. Look for a self-booting version that is a cd-rom ISO, these usually run FreeDOS to easily access the hardware from a cd-rom boot image. I'd suggest the Ultimate Boot CD here: http://www.ultimatebootcd.com/ It's a bootable ISO image with all the major disk mfgr's diags and other good stuff, ready to go. -RW Thanks for both these responses. JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ip assignments
Hello; I have a question about ip address assignments to multiple network interfaces on the same machine (running, in this case, FreeBSD v6.2). Situation: I have built a machine with two network interfaces and tried assigning local addresses in the same subnet mask: 192.168.1.1 192.168.1.2 for example to each of the interfaces and only one of the interfaces will respond to a connection attempt (via ftp or ssh for example). I found that each of the interfaces have to be assigned an address in a different subnet. for them to both be usable. Q: Is this characteristic of tcp/ip in general, or specific to FreeBSD? I have created aliases for different addresses in the same subnet on one interface and have had that work. Thanks for knowledgeable responses; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
panic:vm_fault saga
Hi; I have not been able to get the boxed set v6.2 install cd 1 to boot on MSI RX480 Neo2 motherboard/amd64 processor. I started with an IDE hard drive that I was going to use as boot drive for OS. I have had panics related to USB controller, ps2 mouse, md0 and sci0 com port. Disabling the usb controller solves that accept for a bios setting that seems to work with usb enabled. It seems to have to do with extended ROM associated with Realtek ethernet device. I took out the IDE hard drive because it seemed to give the system detection problems. It was taking over a minute to enter the bios setup. I replaced it with another SATA drive. Now the delay is gone (some problem with the IDE hard drive ??) The panic related to ps2 mouse was solved by disconnecting the mouse. I got what md0 is, memory disc. The upshot of all of this boils down to one of two possibilities: There is a problem with this motherboard, or there is some in compatibility with FreeBSD. Just for kicks I tried booting from 6.0 install cd and got the same result as panic related to md0. All of the 6.2 panics give the same; vm_fault on no fault entry. The 6.0 panic message gives too much data to transcribe before it reboots. I would take this to mean that vm in vm_fault is virtual memory. And I am guessing that the kernel on the install cd is trying to create a temporary swap partition on one of the hard drives and is having trouble with it. The short question is, how can I get FreeBSD install cd boot on this machine, or from misbehavior does it appear possible? (one other paranoid possibility, MSI and Microsoft conspired to sabotage attempts to install alternative OS). I will try a linux distro just for kicks and see what happens. notes for an X Files episode: I have installed 6.2 from the same install set on an ASUS/amd64 machine successfully. So the install disc 1 could have been damaged, the Logitec ps2 mouse is bad all of these possibilities all at once does not seem likely. But it does tend to imply a hardware problem in general. (yes/no?) Thanks in advance for info, data, consolation, whatever. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
panic:vm_fault on nofault device (etc...)
Hello: I am trying to get a new machine to boot from v6.2 install disc one of packaged cd set. The mother Board I am using is MSI RX480 NEO 2 w/AMD64. At first I got the message usb1:panic: vm_fault on nofault device and an address I disabled usb in the bios then rebooted. next I got the same message (without reference to usb1) just after psm0 which I surmised was the ps2 mouse. I unplugged it an rebooted. I am now getting the same message after mo something or another. I did not transcribe the message to reproduce here. One annoyance about this mother board right off the launch pad is how long it takes to enter bios. I seems to take forever to detect the three hard drives I have installed: to be boot drive is ide and the other two are 10k SATA drives. It also wants to get up on the network via on board ethernet out of the box. I had to fumble around in bios to see if I could dope out what setting would kill that. (how can it get on a network if I cannot install an os and set up the network card in the first place?). I did find a setting that looked suspiciously extra related to the onboard ethernet driver (realtek, etc etc. ) and disabling that seemed to do the trick. I was something having to do with ROM associated with the driver. (anyone who wants more specific data, let me know and I will go back and write it down. It is late tonight (11:30) and I have been screwing around with this since about 8:00 P.M.) Does anyone have advice or data to enlighten me on this situation (panic: vm_fault)? I have used the same cd set to successfully install on ASUS/AMD64 socket AM2. usb I can live without, ps/2 mouse I do not need as I will run a server w/o xwindows The next device I am not sure about. And I hope I can get all the problem children placed in foster homes so I can get my show on the road. Thanks in advance. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
device designation
Hello again: What is device with designation md0? I am trying to boot from install 6.2 cd in cd boxed set on MSI model# RX480 Neo2 motherboard/ AMD64 processor Right after an entry in the boot sequence referring to this The kernel panics with vm_fault on no fault entry (and an address). This panic had happened with usb controller enabled so I disabled it. It also happened right after entry for psm0 (p/s2 mouse) so I disconnected the mouse. Now it is happening with this md0 device with path reference to /boot/mfsroot I looked on the FreeBSD site for supported hardware and did not find any info for specific motherboards, only general reference to AMD and Intel processors which I take to imply that this motherboard should be supported. Can anyone give me some direction on this matter? Re: previous post on this matter for which there has been not response as yet; I solved the problem with the system trying to get on the network. It was because the cd ide cable was not properly seated in the socket so it was not being detected. The system seemed the think that there would be a boot device on the network and was sending queries to a dhcp server...that does not exist. I fixed the ide cable and the other problem disappeared. Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache access log shows these attack requests
Hello; I have not understood what the request for - - meant. Thank you, this as shed a lot of light on it. I have seen that fairly frequently in my Apache logs. But on one of my machines that serves as secondary name server I also had Apache running to serve a place holder site. It was attacked but voluminous request for that, so much so that it was causing Apache to kill processes for lack of memory. The machine does not have a lot of RAM at its disposal, so it was not too surprising. I do not run Apache on this machine, now, because of that. I would like to know how do you disallow 'no referrer' and 'no browser'? Is this a server configuration issue? I have not seen mention of this in texts on Apache, nor the manual. And queries of the Apache mailing list yielded indistinct results. I am not running a proxy on the public server. I have shell and ftp access blocked from out side. I am using php as application server. I am running several machines with FreeBSD 6.0 and 6.2 as web servers. Only one serves my public addresses. I am using Apache 1.3.x. Thanks in advance for guidance. Jeff K 220.137.74.222 - - [12/Jun/2007:02:07:08 +1000] CONNECT msa-mx10.hinet.net:25 HTTP/1.0 403 272 - - 403 = Permission denied. In this case, because I disallow 'no referrer' plus 'no browser' (- -) connects from non-local addresses blocking heaps of rogue robots, but CONNECT requests don't work anyway in apache 1.3 in default configuration .. older logs show 405 responses to these. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Auto shutdown/restart software for FreeBSD?
On May 13, 2007, at 7:13 PM, WizLayer wrote: On Sunday 13 May 2007 07:17:14 pm Aftab Jahan Subedar wrote: Would it recharge the battery fully after discharge? I dont think so. So you got to recharge the external battery EXTERNALLY after power failure. What's wrong with that? Trickle-charge the battery and ride the computers from the battery at the same time... That's an uninterrupted power supply. A voltage regulator, converter, and a few filters will give you a clean, constant supply. It will last longer, and it's a lot cheaper in comparison. Actually, this is a project of mine that's been on the back burner for years now. I'd like to add a network interface for remote controls, some health checking, and test modes, but would have to incorporate an embedded processor (serial port and/or USB interfaces are just as possible). Being that I've never messed with such, any suggestions as far as a good processor to start with? It doesn't necessarily have to be a processor that will do the whole kit-n-kaboodle. Right now, I'm just looking for something I can learn the basics with. I know it's not a BSD-related question, but I figured I'd ask anyway. Thanks WizLayer This is another approach that seems like it would be practical: Use deep cycle car batteries, trickle charge with solar panels. If a desktop computer can run on square wave generated by dc/ac converter, use that as a power backup system, It would have to have some kind of switching system to detect main power drop and switch to the backup system. Perhaps someone would be willing to, with engineering expertise put together servers that would work on laptop batteries, like a laptop. I do have one machine that has Yellow Dog linux (Mac Powerbook 3400c) that runs 24/7 as my backup DNS server. JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Auto shutdown/restart software for FreeBSD?
Hello again; Is there software for ups auto shutdown and restart for use with a ups system that has the capacity; I.E. a serial connection and references in the manual to software (for Windows mostly) download? Currently I have a Vesta Pro 600 unit. I had one made by Minuteman that crapped out on me last night. It had been doing ok and was a replacement for one made by Tripp Lite, which also failed permanently. I am running one desk top FreeBSD system, headless but with high speed SCSI drives in addition to the boot drive. I am away during the week for at least 8 - 9 hours during the week and cant be there if the power goes down to shut the system down before the ups exhausts its battery. Thanks in advance for any suggestions. Jeff K. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning uploads
Hello again: Does anyone on this list know of a system or software bundle that can be used with php to clean uploaded files. Specifically, embedded php or shell scripts, shell escape chars, viruses, executable code in image files, anything that might be hazardous in any file that might be capable of being sent as an e-mail attachment? Using FreeBSD 6.2, Apache 1.3.37, php 5.2.1, web site to receive uploads will be using ssl. I have asked on the php general question list but have not gotten a useable response. Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no libphp5.so
Hello agian; I have been gripping about php not producing libphp5.so for use as a DSO with Apache on FreeBSD v 6.2 good news I solved it. By re installing the system and starting all over again. After reading the output of ./configure in the php source dir, it was reporting that it could not find a compatible version of Bison. I cannot say that that is THE cause, but whatever it was re installing solved it. I did not get any responses so there is no one in particular to thank but thanks all, FreeBSD is free software and what works is far greater in volume and value than what does not Now if only we could get to the developers of the human (user level) mind, maybe we could debug that and be better off. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install with modified kernel?
On Mar 27, 2007, at 8:53 PM, Garrett Cooper wrote: jekillen wrote: On Mar 27, 2007, at 4:35 PM, [EMAIL PROTECTED] wrote: On Tue, 27 Mar 2007, jekillen wrote: Hello: Is it possible to install FreeBSD ( in this case v6.2 GENERIC RELEASE) with a modified kernel? I am having some network problems with an installation on ASUS N2M32 WS pro (AMD64) mb. I want to try installing without fire wire emulation support, which means I have to modify the kernel to eliminate it. But if I install and then modify the Kernel, it will have made its mark. Please forgive me it this seems like a stupid question. It probably is but I just want to be certain. Thanks in advance. Jeff K Jeff, Of course you can! Please read this chapter in the handbook, which describes the process in great detail: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ kernelconfig.html. As for the network problems, what exactly are you experiencing? -Garrett Hehe.. fun... it appears that I probably got myself into a real mess with the hardware I just purchased (ATI card, Soundblaster X-Fi card, Asus motherboard full of nForce stuff :(..). Oh well, I've learned my lesson I suppose *sign*. You should probably tell what you told me to the questions@ list though. I'm not the only one in the freebsd community, ya know ;)? -Garrett There's more, as a matter of fact, I should write an FYI. It involves much more than just the interface problem. Here goes: I made the mistake of thinking I could use a 64 bit PCIx SCSI adapter in PCIe slots. Now I have one MSI motherboard, AMD64 socket 939 processor and 1Gb of DDR ram I can't use the SCSI card with. So I found this ASUS ($309+) board, It has PCIx slots, two of them. I also had to get another AMD64 processor for it with AM2 slot. I also had to get another Gb of DDR2 RAM. I started assembling the thing and had trouble with the cdrom (ata) drive. It turns out that this board is picky about what ata connector it is plugged into. It is not the one that is usually right next to the power connector (20 pin). it is one further down the board and faces not up from the board but toward the front of the case. It has 3 black SATA bus connectors and 6 orange SATA connectors. I thought the black connectors where for internal drives, It turns out that they are for external drives and I should have plugged in the SATA drive I am using to boot the system into one of the orange connectors. The SCSI stuff works fine; 15k rpm with backplane adapters from 80 pin to 68 pin, I have been through this obstacle coarse before so I was already prepared. Ok, Now it was time to discover the networking problem. First was that the onboard lan is not supported directly by FreeBSD. All I got in the way of interfaces to configure by sysinstall was fwe0 (firewire ethernet emulation). I went looking for inet cards that would work in PCIe slots. The motherboard only has on standard PCI slot and I have a video card installed in it. I find the Intel cards that are made to work in PCIe lane one slots. I go to install them and one of the lane one slots is blocked physically by a copper heat sink assembly on a nearby component. I cannot use that lane one slot. I ended up putting the two Intel cards in the PCIe lane 16 slots. Now I get the system installed and go to the Apache site and get a v1.3.37 tarball and to the php site and get a v5.2.1 tarball, I go get Openssl and mod_ssl and the php gd module and a binary distribution of MySQL (first one specifically for FreeBSD that I had seen). So configure, build and install went fine accept for a few dumb mistakes on my part with Apache, but I got it together. I got all the stuff built and installed to be used with php , mcrypt, gd with freetype and all that. It went well. Then I go to build and install php. Now the next problem: Php goes all the way through the configure, make and make install without complaint. It is being built as a DSO for use with Apache, which means that a file called libphp5.so is supposed to be created and placed in Apache's libexec dir. NO FILE BY THAT NAME SHOWED UP ANY WHERE. I tried it again, same thing, I went and got a tarball I had around of php 5.1.2 and tried that, Same thing; no llibphp5.so and am talking find / -name libphp5.so -print; nothing. I have posted these problems. But the first time I mentioned on this list that I had bypassed ports to install from source I was told that if I do that do not come to this list with problem. I can really understand that and I have had specific and impatient reason from bypassing ports. But, common now, why would php configure, make and install without errors and not produce a critical file for its operation.? As a matter of fact the last few posts about this (networking) have been ignored, Actually your response has been the first on this subject (networking problem). Um... I take that back, I did get
Re: Re: Install with modified kernel?
Hello again: It is only fair to post this addenda to the message thread with this subject: From various suggestions from list responses, UUASC and I seem to remember one from this list also, that the problem could be consecutive addresses on the same subnet is what is causing the problem. I was asked by message from UUASC (Unix Users Association Of Southern California) to try changing the address. So I change it to (just for the sake of difference) 172.1.1.1 with netmask of 225.225.225.0 and I WAS able to ping the inter face successfully. was nfe0 192.168.1.16 (could ping) nfe1 192.168.1.17 (could not ping) nfe1 changed to 172.1.1.1 (now returns ping request) so that does seem to make a difference. I do not know why. But it looks like I will be able to go ahead and assign it the public ip address and it should work. Thanks Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install with modified kernel?
Hello: Is it possible to install FreeBSD ( in this case v6.2 GENERIC RELEASE) with a modified kernel? I am having some network problems with an installation on ASUS N2M32 WS pro (AMD64) mb. I want to try installing without fire wire emulation support, which means I have to modify the kernel to eliminate it. But if I install and then modify the Kernel, it will have made its mark. Please forgive me it this seems like a stupid question. It probably is but I just want to be certain. Thanks in advance. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kldunload question
Hello; In the continuing saga of ethernet interfaces I.E. em0 fwe0 em1 on ASUS N2M32 pro motherboard with two intel interface cards. One em0 works and the other em1 does not (can not ping it though it shows up and running) I am trying to unload the fwe driver to see if it makes a difference to em1 function. after reading Absolute FreeBSD and man kldunload I did kldunload - n if_fwe.ko and kldunload -n fwe.ko The result was that kldunload couid no find the named file ...no such file or directory so I did find / -name if_fwe.ko -print and it came up where I found it from kldstat -v and manual search. Anyone have an idea why kldunload would not find this file when it does exist and I am doing this as root? Related question: where is the file GENERIC.lint? (Absolute FreeBSD mentions GENERIC.lint in chapter about kernel modifications and rebuilding) Thank you in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
order of enet interface drivers
Hello; I have two identical intel interface cards installed in a ASUS N2M32 pro motherboard. The os version is 6.2 GENERIC running on AMD64, socket AM2. The motherboard has dual interfaces that use Marvell drivers. I cannot use these with this version of FreeBSD as yet. So I got two Intel interface cards that work in PCIe slots. Because of the hardware component situation on this motherboard I cannot use the interfaces in PCIe lane one slots as on of these slots is blocked, physically, and the card will not fit. So I am using the two PCIe lane 16 slots. I modified rc.conf (see PS at bottom) to bring up the interfaces at boot. They both come up and running with network addressess assigned, as em0 an em1. The problem: I can ping em0 from local host and connect to ftp and ssh from the inside network, all is well I cannot ping em1. ifconfig shows it up and running, with no carrier, I.E. no network cable attached but I should be able to ping it from local host, yes? no? Yes. Here is the obvious question the order of interfaces listed by ifconfig is em0 fwe0 em1 the question is: Is it possible that fwe is blocking em1? I have fwe0 down and took it out of rc.conf so it does not come up on boot but still shows up in this order with ifconfig. If this is possible, how do I tell the system to load fwe0 after em1 or not at all to see if I can ping it successfully? copied from ifconfig output: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.1.16 netmask 0xff00 broadcast 192.168.1.255 ether 00:15:17:19:2c:89 media: Ethernet autoselect (100baseTX full-duplex) status: active fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 options=8VLAN_MTU ether 02:11:d8:bf:40:d4 ch 1 dma -1 em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=bRXCSUM,TXCSUM,VLAN_MTU inet 192.168.1.17 netmask 0xff00 broadcast 192.168.1.255 ether 00:15:17:19:2a:b7 media: Ethernet autoselect status: no carrier ping results: am2# ping -c 1 em1 ping: cannot resolve em1: Host name lookup failure am2# ping -c 1 192.168.1.17 PING 192.168.1.17 (192.168.1.17): 56 data bytes --- 192.168.1.17 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss am2# Any clues? Jeff K (being necessarily philosophical at this point) PS I say I edited rc.conf to make network changes because I got the syntax correct for doing this. It does work, not with commands, just variable/value assignments JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: order of enet interface drivers
On Mar 24, 2007, at 6:20 PM, Ray wrote: On Saturday 24 March 2007 8:38 pm, jekillen wrote: Hello; I have two identical intel interface cards installed in a ASUS N2M32 pro motherboard. The os version is 6.2 GENERIC running on AMD64, socket AM2. The motherboard has dual interfaces that use Marvell drivers. I cannot use these with this version of FreeBSD I'm working on a similar board. have you looked at: http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html I'm having success with this approach. Ray Thank you for the info. If you like to read, you can hack through my sob story: I have gotten this reference in a query on this issue when I first assembled the board and did not get the two interfaces to show up. I did retrieve the code from this link but I decided against it for the time being. I have not worked with the kernel yet and am trying to get this server up and running. It has been a real circus to date. First I thought PCIe slots would use my 64 bit SCSI card, no way. I had to buy the ASUS board because it was he only AMD64 board I could find with PCIx slots. And because the ASUS board did not have a AMD 939 socket, I had to buy another processor for AM2 socket and I had to then buy DDR2 memory because the ASUS board required it. So I now have one Gigabyte motherboard and AMD64 939 processor and a Gb of DDR memory I cannot use. I then discovered the problem with the onboard inet interfaces. Now I am having serious trouble getting Apache 1.3.37 and php 5 to work together, They won't because for some reason libphp5.so is not being produced when php is configured, built and installed. That is another issue. All I really would like to know at this point is how to get fwe0 to load in a different order so I can eliminate that as a problem or solve it. I am working on a very large php project and if I cannot get php to work with Apache on this machine it is all in vain. Yes I know about ports, and yes I have been greeted with disdain on this list because I have been bypassing ports to install this stuff from source. I have done it successfully on two other FreeBSD Machines with FBSD 6.0 Apache 1.3.34 and php 5.1.2. On this machine I have FBSD 6.2, Apache 1.3.37 and have tried php5.2.1 and 5.1.2 and have had the same problem. I am suspecting either the apxs script with Apache or something in the FBSD install with make or autoconf. But I am not a computer scientist. So now that I have bent your ear all the way around your head. How do I tell FreeBSD to load interface drivers in a different order or is it really an issue? Thanks Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail name resolution
On Mar 19, 2007, at 3:17 AM, Derek Ragona wrote: Sendmail uses the system calls to resolve names. You need to check: /etc/nsswitch.conf In that file check the hosts line, this gives the order for hostname resolution, typically it is files then dns. Then you should check your /etc/hosts file to be sure that localhost is there and correct. Also check /etc/resolve.conf that you have the correct nameservers for dns lookups. -Derek Thanks, I look into all your suggestions. I think I have gone through this before but I do not install OS's often enough to remember these details. I also have so many books on Unix and related subjects, networking, dns, etc etc that I forget where to find the answer. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail name resolution
Hello: Where does sendmail look to find out who it is? Resolve.conf? It keeps throwing up messages that it cannot resolve the name localhost, or that is the way I am interpreting the messages. FreeBSD v6.2 generic Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting mail to work
On Mar 12, 2007, at 5:14 PM, RW wrote: On Mon, 12 Mar 2007 16:36:41 -0800 jekillen [EMAIL PROTECTED] wrote: On Mar 12, 2007, at 9:05 AM, RW wrote: The important thing is really your reverse DNS, if you have control of it and looks like a real server name, e.g. mail.example.com, you can stay off the dynamic lists. It doesn't help to have a static address if your reverse dns looks like 12-43-545-example.net Thank you for your reply; One of my machines (the one I use all the time and use to send and receive e-mai) does have an ISP assigned name. But the others are FQDN's that I have registered. One even has .net as the top level domain and that is one I am planning on using for the mail server. Just as long as you understand the distinction between forward and reverse DNS. Based on the whois record for for your IP address, at the moment you appear to have the following reverse DNS for the address range 75.7.236.224 - 75.7.236.231: $ for i in `jot 8 224` ; do dig +short -x 75.7.236.$i ; done adsl-75-7-236-224.dsl.irvnca.sbcglobal.net. adsl-75-7-236-225.dsl.irvnca.sbcglobal.net. adsl-75-7-236-226.dsl.irvnca.sbcglobal.net. adsl-75-7-236-227.dsl.irvnca.sbcglobal.net. adsl-75-7-236-228.dsl.irvnca.sbcglobal.net. adsl-75-7-236-229.dsl.irvnca.sbcglobal.net. adsl-75-7-236-230.dsl.irvnca.sbcglobal.net. adsl-75-7-236-231.dsl.irvnca.sbcglobal.net. OK, It appears that it is the ISPs name servers who are responding. When I call up my sights I get to the machines they are on according to my present DNS setup. try www.brushandbard.com Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting mail to work
On Mar 12, 2007, at 9:05 AM, RW wrote: On Sun, 11 Mar 2007 17:27:52 -0800 jekillen [EMAIL PROTECTED] wrote: If you will allow me to break in on this exchange; Does this advise apply if you have static ip service The important thing is really your reverse DNS, if you have control of it and looks like a real server name, e.g. mail.example.com, you can stay off the dynamic lists. It doesn't help to have a static address if your reverse dns looks like 12-43-545-example.net Thank you for your reply; One of my machines (the one I use all the time and use to send and receive e-mai) does have an ISP assigned name. But the others are FQDN's that I have registered. One even has .net as the top level domain and that is one I am planning on using for the mail server. Thanks again Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting mail to work
On Mar 12, 2007, at 12:01 AM, Wojciech Puchar wrote: of SPF (Sender Policy Framewokr) would immediately identify it as a spoof, and will be blocked. To learn more about this system, see http://www.openspf.org/ if the same machine is for sending and receiving mail simply putting IN TXT v=spf1 mx -all is OK and enough Thanks for the info, I think I can use all the knowledgeable help I can get with this. I did set up my DNS servers successfully. But I have had more trouble trying to get Apache configured correctly. Mail servers look like a whole 'nother world to me but I still have a little hair left to tear. Jeffk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting mail to work
On Mar 11, 2007, at 5:53 PM, Jeffrey Goldberg wrote: On Mar 11, 2007, at 8:27 PM, jekillen wrote: If you will allow me to break in on this exchange; Does this advise [don't run your own direct to MX mail server] apply if you have static ip service and are running web servers from these addresses, with the ISP's blessing? (meaning you also have at least two name servers running for the registered sites) Wow, thanks, most or what you mention in the way of pluses and negatives I am either aware of or have had some experience with, E.G. I had someone attacking a machine I have one of my sites on and the secondary DNS server. The site has .net as the top level domain and I supposed that the attack was because some one assumed I was using it to run a mail server. Anyhow I was getting requests for - - so often that it was causing Apache to run out of memory and kill processes. I caught it in process and shut down and rebooted the machine. But to tell you the truth, I am not sure if that was causing Apache to run out of memory, it is just guilt by association. Since all this machine really does is serve as my secondary DNS server I shut down Apache, not really needing to have the site up at this time. I am itching to get mail service running as it will perform some important functions for my sites. But I have some serious learning to do. Every bit of knowledgeable input helps and this is a serious tutorial. Thanks again. Jeff K. First let's separate questions. One is dealing with your own incoming mail. The other is with sending mail out direct to MX. These two can (and often should) be separated. For the question of hosting your own MX there are positives and negatives. Here is a list off of the top of my head. It is far from complete. Positive: (1) You get to fully control your rejection/acceptance policy from the beginning. (2) You get the learn about running such a system. (3) You dramatically reduce your lock-in with an ISP (who can change their email policy or practice at any time. (4) You don't have to pay for some outside service (I use fastmail.fm) for hosting your incoming mail if you want something better than the free email service your ISP provides. Negatives: (a) You have to maintain what is really a surprisingly complex system for such a simple protocol. (b) You have to defend your system against attacks it otherwise wouldn't receive, including DoS attacks. (c) Damage of being overwhelmed (either by deliberate attack or spam blowback) may be harder to contain. (d) Your system needs to fail appropriately. For example, if you use something like LDAP to maintain username or email address information, you need to make sure that if your LDAP service fails your mail server fails in an appropriate way (say a complete shutdown) or issuing temporary (4xx) rejections instead of in an inappropriately issuing 5xx for mail that would be accepted normally. If (1) (or (2)) is really important to you, then go ahead. But probably the best way to see whether (1) really matters is to ask yourself what things you would like to do that you couldn't do unless you ran your own MX. For example, if you have strong feelings about whether DNSbls should be used prior to content filtering or as part of it. Or whether you want spam and virus rejections to occur at SMTP time or later. Whether you want SPF failures to generate immediate rejections. Whether you want to make use of sophisticated IMAP features that ISPs can't provide. If you don't have strong feelings about these sorts of questions, then I doubt that (1) applies to you. Now there is the second question about doing direct to MX for mail sending instead of going through your ISP or some third party service. Positives (i) You control queing and retry rates. (ii) For bulk mailing (mailing lists) there is an advantage of how out-going STMP session are organized. (iii) You are not as dependent on your ISP or a third party for getting your mail out, if they are slow or unreliable with mail (iv) If your ISP's mail server provide crappy bounce information and you need better information. (v) If your ISP adds junk to your mail or sends out mail in unfriendly so as to get itself on blacklists or leads to other forms of needless rejections. (vi) You get to learn about running such systems Negatives: (A) Even with a static IP address, your assigned address may look dynamic to other servers who may then reject mail coming directly from you. (B) Your ISP blocks/disallows this sort of thing (not a problem in your case) (C) The reverse DNS records for your IP need to correspond reasonably well to your domain name, otherwise lots of servers will reject mail from you. (D) You need to follow the RFCs and conventions strictly so that you don't get yourself
Re: getting mail to work
On Mar 11, 2007, at 2:28 PM, Jeffrey Goldberg wrote: [mailed and posted] On Mar 11, 2007, at 10:45 AM, Ed Zwart wrote: I own my_domain.com. I've paid a hoster for the last couple years, but that's ending in a week or so. Meanwhile, I've used dyndns to point foo.homedns.org to my IP. If you will allow me to break in on this exchange; Does this advise apply if you have static ip service and are running web servers from these addresses, with the ISP's blessing? (meaning you also have at least two name servers running for the registered sites) This is important info for me, as I have that and am considering doing just that, run my own mail servers. I expect to have 5 machines doing various jobs, DNS web server(four registered web sites), mail server. I already have three of the four sites up and available from static ip addresses over ADSL. Thanks so much Jeff K. I am going to add my voice to those suggesting that you use your ISP's mail server for outgoing mail. There are a number of reasons. First of all, if you are on a dynamic IP, it is very likely that your ISP blocks outgoing STMP traffic that doesn't go via their own mail server. That is, they won't allow direct to MX mailing from dynamic addresses. Another reason is that it just isn't a good idea to run your own direct to MX mail system, unless you have some real expertise in how mail transport works. Professionally, I set up mail servers for small and medium sized businesses, and in more and more cases, I actually suggest that they use outside mail servers for their out going mail. (Generally, I think that ISPs tend to do really poor jobs with email and that it is best to avoid being locked into your ISP for much, so I recommend services like fastmail.fm.) Let me also add, that while I do set up and manage mail servers for others, I don't do direct to MX from home myself. (Well, I do for a mailing list server I run, but not for my normal everyday mailing.) So even with the expertise needed, I don't really recommend running your own MX (incoming) or own Direct to MX (outgoing) servers unless you have a specific need to fill. Anyway With postfix you just need to specify relayhost=YOUR-ISPS-OUTGOING-SMTP-SERVER-HERE in /usr/local/etc/postfix/main.cf and then run # postfix reload Then just send a test, eg $ mail -s test [EMAIL PROTECTED] /dev/null to see what happens. If your ISP wants authentication for handling your outgoing mail, look at http://macosx.com/tech-support/smtp-relay-host-authentication/938.html which describes how to configure postfix for that on Mac OS X. For FreeBSD just replace /private/etc/postfix/ in all of the paths mentioned with /usr/local/etc/postfix/ -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ 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: hardware question
On Mar 1, 2007, at 10:38 PM, Garrett Cooper wrote: jekillen wrote: On Mar 1, 2007, at 8:04 PM, Garrett Cooper wrote: jekillen wrote: Hello; I have built a machine with ASUS M2N32 WS pro motherboard. It has dual network interface ports that are Marvell interfaces. I understand that FreeBSD does not yet support Marvell as of v6.2. I did get a reference to a source for the driver source and instructions to compile and install. But my short term solution was to get Intel nics that fit in PCIe lane one slots. As fate would have it one of the slots is situated too close to some copper vain heat dissipation attachments, so the second interface card will not fit in the slot for the obstruction. So, my question is simple: Can I use a network interface card made for a PCIe lane one slot in a PCIe lane 16 slot and expect it to work? By way of explanation: I need to interfaces because I am using this machine as a web server and I want one public ip address assigned to it and one private ip address assigned to it also. I have all but http and dns blocked from the outside. I use ssh and ftp to post content to the machine on the inside network. Thanks, not tearing my hair just yet Jeff K Maybe. Read this document: http://zone.ni.com/devzone/cda/tut/p/id/3540. -Garrett Thanks, in my flustered state of mind I just poked out this message and then decided to follow advices I have gotten in the past, ask Google. I came up with a Wikipedia article that was positive. I also decided to look back at the specs listed on the Tiger Direct site where I got the interface cards and there it was, pretty plain. There is still a problem. One of the cards is initializing and the other is not. I have not determined which one is not. But the punch line is that the one that does show up shows up with status no carrier in ifconfig. I looked back the the FreeBSD site, at hardware notes for v6.2 and it appears that that card specifically, is not listed as supported. 82572 is listed as supported by the em driver, but Intel® 82572EI or Intel® 82572GI Gigabit Controller is not listed specifically, Well that is another $70+ not well enough spent. thanks for the response. Jeff K There's always -current or an RMA. Weird though... I didn't think that the slot size was large enough though for a PCIx card slot. Interesting... There is more, I had one card in the secondary x16 slot and one card in the usable x1 slot. I noticed that in the above situation, the fwe inteface was still configured. I took the card from the secondary x16 slot and put it in the primary x16 slot, Booted up and the em0 interface came up. I shut down the fwe interface and was able to ping the em0 interface. I moved the card from the usable x1 slot and moved it to the secondary x16 slot. Now both cards show up as up and running but I cannot ping the em1 interface. I went into rc.conf and took out the fwe configuration line. It still shows up in ifconfig listed between em0 and em1. I am suspecting that this interface is somehow interfering with the em1 interface. So progress is happening but I am weary of the sleuthing I have to do to get things working. At least I do have one enet connection to the machine, now. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
On Mar 1, 2007, at 2:56 PM, Ivan Voras wrote: Lowell Gilbert wrote: If you know the standard computer science terminology, it can be described quite tersely. UFS fragmentation is a way of avoiding internal fragmentation from wasting too much space. MS-DOS-FS fragmentation is an example of external fragmentation in the storage space. They don't really have anything to do with each other. It looks like I actually AM arguing about semantics here: UFS fragmentation refers to dividing blocks (e.g. 16KB in size) into block fragments (e.g. 2KB in size) that can be allocated separately in special circumstances (which all boil down to: at the end of files). This is done to lessen the effect of internal fragmentation. Fragmentation without UFS prefix, as mostly used today (and which I believe it's how the original poster understands it) refers to dividing files into non-continuous regions, i.e. external fragmentation. Correct so far? % fragmentation message from fsck cannot refer to internal fragmentation as the numbers don't add up, so it almost certainly refers to external fragmentation. This discussion has been about UFS vs MS file system. But I have been using Macs and have run file system utilities, Norton, and watched it defrag a Mac disc. I am just curious as to how the HFS and HFS+ file systems fit into this picture. Particularly since OSX is essentially a Unix 'like' system but still uses HFS+ Just for some perspective and idle curiosity. Thanks Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware question
Hello; I have built a machine with ASUS M2N32 WS pro motherboard. It has dual network interface ports that are Marvell interfaces. I understand that FreeBSD does not yet support Marvell as of v6.2. I did get a reference to a source for the driver source and instructions to compile and install. But my short term solution was to get Intel nics that fit in PCIe lane one slots. As fate would have it one of the slots is situated too close to some copper vain heat dissipation attachments, so the second interface card will not fit in the slot for the obstruction. So, my question is simple: Can I use a network interface card made for a PCIe lane one slot in a PCIe lane 16 slot and expect it to work? By way of explanation: I need to interfaces because I am using this machine as a web server and I want one public ip address assigned to it and one private ip address assigned to it also. I have all but http and dns blocked from the outside. I use ssh and ftp to post content to the machine on the inside network. Thanks, not tearing my hair just yet Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware question
On Mar 1, 2007, at 8:18 PM, Garrett Cooper wrote: Garrett Cooper wrote: jekillen wrote: Hello; I have built a machine with ASUS M2N32 WS pro motherboard. It has dual network interface ports that are Marvell interfaces. I understand that FreeBSD does not yet support Marvell as of v6.2. I did get a reference to a source for the driver source and instructions to compile and install. But my short term solution was to get Intel nics that fit in PCIe lane one slots. As fate would have it one of the slots is situated too close to some copper vain heat dissipation attachments, so the second interface card will not fit in the slot for the obstruction. So, my question is simple: Can I use a network interface card made for a PCIe lane one slot in a PCIe lane 16 slot and expect it to work? By way of explanation: I need to interfaces because I am using this machine as a web server and I want one public ip address assigned to it and one private ip address assigned to it also. I have all but http and dns blocked from the outside. I use ssh and ftp to post content to the machine on the inside network. Thanks, not tearing my hair just yet Jeff K Maybe. Read this document: http://zone.ni.com/devzone/cda/tut/p/id/3540. -Garrett Actually after looking at the size and slots of PCI-Express x16 vs standard PCIe, _no_, you can't. In http://zone.ni.com/devzone/cda/tut/p/id/3767 there's a picture comparing PCIe x16 to PCI, PCIe x8, and PCI-X, and there's no way that it will fit... Besides the PCI-x has 1 lane while PCI-x16 has 16. That's what I get for not having a up to date machine that I could judge this from (still stuck in the PCI dark ages). -Garrett Thanks, in my flustered state of mind I just poked out this message and then decided to follow advices I have gotten in the past, ask Google. I came up with a Wikipedia article that was positive. I also decided to look back at the specs listed on the Tiger Direct site where I got the interface cards and there it was, pretty plain. Compatible with x1, x4, x8, and x16 full-height and low-profile PCI Express slots There is still a problem. One of the cards is initializing and the other is not. I have not determined which one is not. But the punch line is that the one that does show up shows up with status no carrier in ifconfig. I looked back the the FreeBSD site, at hardware notes for v6.2 and it appears that that card specifically, is not listed as supported. 82572 is listed as supported by the em driver, but Intel® 82572EI or Intel® 82572GI Gigabit Controller is not listed specifically, Well that is another $70+ not well enough spent. thanks for the response. I guess I will try the driver source route from another message from this list, for the Marvell interfaces. I will have to burn it to a cd and install from that. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enet driver for Marvell
Hello; A while ago, a matter of a few months I inquired of this list regarding installation of FreeBSD v6.0 on ASUS M2N32 WS Pro motherboard. I was not able to set up dual ethenet inter faces as the only option presented by sysinstall when configuring enet interface was fw30 as firewire ethernet emulation. I was advise to upgrade to v6.2 which I have just done. I still do not have more than the fwe interface presented. The response to the original message, I can not find, but I was told that the motherboard was probably one with new Marvell interfaces. Now, I have looked at the features listed on the motherboard package and there it is; 2x Marvell 88E1116 PHY Is there a driver that has to be activated by kernel config setting or what is the status of support for this hardware in FreeBSD? I just looked through the supported hardware/ethernet devices for the i386 architecture and did not find any reference to Marvell. I purchase a cd set of v6.2 cds from FreeBSD Mall (not inplying any criticism, just that it represents a method of contribution to this project). This is frustrating because this machine is supposed to be a production web server. Hardware including dual 15K SCSI drives and adapter has run in the neighborhood of $1000 and it still is not useful for it' intended purpose Any info or advice appreciated Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re FreeBSD mall
On Feb 11, 2007, at 12:08 PM, [EMAIL PROTECTED] wrote: On Sun, 11 Feb 2007, jekillen wrote: Hello all; I have purchased a set of 6.2 cds from FreeBSD Mall and have not received answers to querys re when it will be delivered. Does anyone here have pull there? Buying it is a way of donating to this community right? Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Jeff, I have a subscription with them and, except for one very minor snafu, they have been fine. The CD sets are not put out immediately certainly, but they have never failed to send one to me as scheduled. Of course, in the world of business everything can change overnight, but I'm not worried that my set isn't going to show up. Thanks, odd this is the second copy of your message I have received. This afternoon I came home from work and found a notice to pick up a parcel from the post office. I am never around when they or UPS tries to deliver stuff. So I will pick it up and I am guessing it is the cd set, I am not execting anything else from the post office like that. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re FreeBSD mall
Hello all; I have purchased a set of 6.2 cds from FreeBSD Mall and have not received answers to querys re when it will be delivered. Does anyone here have pull there? Buying it is a way of donating to this community right? Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Q: re ASUS motherboard with dual inet interfaces
Hello, I have a new machine with an ASUS motherboard that has, or is supposed to have dual ethernet interfaces. And in fact it has two rj-45 ports for connecters. But when I use sysinstall to configure the interfaces all I get is fwe0 fire wire ethernet emulation. And when I use sysinstall it only lists one device. ifconfig only lists this device. What is the explanation for this and how would I get it to configure and use the second port? Using FreeBSD v6.0. Need separate local and public connections to this machine. Thanks in advance JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PCIe Core2 Duo Motherboard?
On Jan 21, 2007, at 9:03 PM, Andrew Fremantle wrote: Hello, I'm looking at building a few new general-purpose servers in the near future. I'd like to use Intel Core 2 Duo processors in these machines. I'm currently evaluating a machine with a looks-good-on-paper motherboard, the Intel DG965OT. However, I have come across two major problems with this board. First, the board locks up several seconds after finishing it's kernel initialization. Sysinstall runs and displays the region/country list, then freezes solid a few seconds later. This does not happen if I select to boot without ACPI support. Second, this board has 1 PATA and 6 SATA connectors. FreeBSD detects a generic PCI ATA controller, and then fails to detect the optical drive attached to it. This problem is not unique to FreeBSD. I understand the Linux folks have similar troubles with the Marvell controller. The kernel appears to detect four of the six SATA headers on this board. So my questions are 1) Does anyone know how to make this board work properly with FreeBSD? 2) Can anyone suggest a well supported board with gigabit lan, onboard video, and PCIe expansion, that accepts Core2 Duo CPUs? Also, the amd64 documentation states support for Athlon64s, Opterons, certain Xeons, and EMT64 capable Pentium 4s, Pentium Ds, and Celerons. Will it not run on Core 2s or is this a shortcoming in the documentation? I though the Core 2s were 64-bit capable. - Andrew If you are willing to try AMD64 I have built one with ASUS M2N32 WS pro. It has two PCI-e slots and two PCI x slots. Uses new AM2 socket and DDR2 memory, is not modestly priced at over $300 for the board alone. But there is also a model M2N32 SLI version that does not come with the PCI x slots and is somewhat less expensive. You might consider, I believe you can get AMD 64 dual core processors to use with it. But perhaps since you already spent the money on Intel, you are not willing to go this route. Oh, yes, the boards have dual gigabit built in NICs that appear to be well supported chip sets. It also has 6 internal SATA busses and 3 external SATA buses. I got the M2N32 WS Pro because I wanted to use two 15 k rpm SCSI drives along with an SATA boot drive. The SCSI adapter I got, LSIlogic, would only fit in PCIx slots. I have installed FreeBSD v6.0 and have had no problem with sysinstall what so ever. And it boots just fine, so far. Hope this helps JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT]two networks, one nic
Hello FreeBSD users, I have been operating under the assumption that the same network interface card cannot handle two different networks. But then I seem to have seen an example in one of the OReill¥ books on networking that had one interface with one assigned inet address and also aliased with another address that could only be on another network. If I understood that right, it seems to imply that I can use one Network interface card for at least two different networks, like so; 192.168.1.somthing and alias 172.0.0.something or; 192.168.1.something alias 192.168.2.something If this is possible is it accomplished via a special routing? My concern is that I have a laptop with one network interface, built in, but would like to access it both at a public static address and a private network address. Is this possible? Thanks in advance for time and attention; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
altering text files.
Hello fellow FreeBSD users; I have a technical question about text files: Is there a way to edit a text file via a script by searching and replacing small portions of a text file, instead of having to rewrite the whole file for what may be negligible alterations? I'm assuming not, but I'm not really sure. My interest is with any scripting or even compiled language, but specifically the use of php to edit files on a web server. I have created an application for a web client that allows the client to contact their site and make changes to a file that lists event date, title, location, subject. And creates a separate file for details related to each event listing. I'm concerned about allowing the client to edit the listings and detail files in the event that a mistake is made in the data entered from a event posting form. (I don't want to have to manually edit the files for them in this event) So, the idea of correcting the spelling of a word like is when it was spelled it seems over kill (to over write a whole file just to change one character). Thanks in advance; Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
next episode, continuing saga
Hello again; With FreeBSD and in general, If the monitor is turned off is it safe to disconnect it from the machine while the machine is running? AMD64 socket 754 with separate PCI video card on ECS motherboard; no Xwindows installed. if it makes a difference. want to run the machine headless without shutting it down to switch the monitor to another machine. Thanks to the gracious responses on previous queries I don't have to buy another KVM switch. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mail to root
Hello again; I have a question about how mail from the system is generated for root. This question was prompted when I edited the Postfix aliases file and ran newaliases, then did postfix reload, assuming the mail system was running. I was informed that Postfix was not running. So the question, how does mail generated by the system get delivered to the root account? Here is my motive: I have a server that I want to run headless. I want to be able to retrieve mail to root from another machine via ssh login (on the same private net work number/netmask 255.255.255.0). I cannot login to the system as root over ssh. I don't know if I can read root mail with su (as wheel group member). I tried this but maybe I'm not using the appropriate parameter. Or maybe there isn't any. I don't know where to look for an answer to this question, other than this knowledgeable group.Oh, man mail maybe? Thanks in advance Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
csh as default root Shell
Hello; Since I have been advised by way of correspondence with UUASC (Unix Users of Association of Southern California) that changing the root shell in FreeBSD is not advised and I have two machines up and running and a third on the way, I have purchased a text from (I don't know if it is appropriate for this list to mention the publisher by name but it is closely connected to the publisher of Absolute BSD). Has anyone any comments regarding this text based on familiarity (Using Csh and Tcsh). I noticed the publication date is 1995. It's a manual of sorts, I'll read it before stumbling around on lists for answers to awk ward questions. Thanks in advance. Jeff K. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help re nvnet driver
Hello: I have a machine with two SLI slots and two regular pci slots. The motherboard is Gigabyte with nVidia network interface built in. I have one regular pci slot taken with a video card and one with a D-Link nic. I need another nic and as it stands either the video card goes or I get a functional nvnet driver. The system has refused to deal with the nvnet interface and the compilation of the driver for it was initially unsuccessful. I posted a note to this list about it at the time and was told after some delay that the nvnet driver was 'broken'. My plan is to use one of the extended pci slots for a SCSI adapter which leaves the other extended slot unused(and unusable if I understand correctly). The machine has no built in video. Can anyone tell me if there is a functioning nvnet driver avail- able presently and if it will run on v6.0. My present use of the machine is as a development machine and I need to configure Apache for mock virtual sites with both an internal network connection and a mock external connection. Eventually, I will have the machine actually connected to a public address so for that I need the extra net work interface card also. I think I can get by with six internal addresses alias to the same card and split them up as far as Apache is concerned but having the use of the built in network interface will be a great help. Other wise every thing is satisfactory with FreeBSD on this machine. I'm building a third machine along the same lines (but it has more standard pci slots and only one extended slot which will also be for a SCSI adapter card). I'm shoe horning my budget for the project so that isn't a viable alternative for me at this time. Thanks in advance. Jeff K. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail to root
On Aug 28, 2006, at 8:06 AM, Lowell Gilbert wrote: jekillen [EMAIL PROTECTED] writes: Unfortunately, there is not to my knowledge a comprehensive text that will offer an analysis of every possible mail message to root and what it means. Well, no, any more than there is a comprehensive text that will list every single noise your car might make and what it means. rc.conf to set the aliases and rebooted the machine. The new aliases didn't show up with ifconfig so I added them with ifconfig ( I must have made a mistake in the rc.conf lines). Right. Sounds like you put inappropriate lines in rc.conf, which is only supposed to contain variable settings, not actual commands. Since you didn't show the lines you'd added, we can't suggest the right way to do it, but look at the if settings in rc.conf(5) and the Handbook description of configuring networking. Good luck. I did add the ifconfig commands to rc.conf, but the problem started before I did that, I did find a line in rc.conf setting ifconfig to something already having to do with configuration of an interface. I'll have to go back and get the actual line, and remove the others as well. I hope no one has cracked the machine, I get failed login attempts over ftp all the time. I have ftp blocked on the public addresses. Thanks for the info,: JK -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mail to root
Hello: I have been getting this message in the mail box for root for the last several days. Can anyone tell me what this means. From operator@(host name) Sun Aug 27 08:11:00 2006 Date: Sun, 27 Aug 2006 08:11:00 -0700 (PDT) -- the date and time is wrong, it is Sat the 26th. I've know his for a week or two but haven't changed it. From: operator@(host name) (Cron Daemon) To: operator@(host name) Subject: Cron operator@(host) /usr/libexec/save-entropy X-Cron-Env: SHELL=/bin/sh X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin X-Cron-Env: HOME=/ X-Cron-Env: LOGNAME=operator X-Cron-Env: USER=operator ifconfig: not found ifconfig: not found I have eliminated the actual host name from the text. Unfortunately, there is not to my knowledge a comprehensive text that will offer an analysis of every possible mail message to root and what it means. I am learning. ifconfig is there, I used it to alias an interface as well as to display the current setup. The machine has been up as a web and dns server for 95 days and this message has just started showing up. I added the lines to rc.conf to set the aliases and rebooted the machine. The new aliases didn't show up with ifconfig so I added them with ifconfig ( I must have made a mistake in the rc.conf lines). The shell complained that using ifconfig rl0 inet (address) netmask (netmask) was a bad address. I removed 'inet' from the instruction and it was accepted. I assume that I have to remove that also from the rc.conf line. About this time the mail message came up again. Thanks in advance. JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Writing drivers that will work with FreeBSD
Hello; Is there a one stop location where I can get info on writing device drivers that will work with FreeBSD (v6+)? There is a book out called Linux Device Drivers (perhaps I shouldn't mention the publisher). I would be mostly a beginner and presume that some assembler knowledge would be needed. Is there an 'API' type of approach to this? I'm trying to estimate the feasibility of writing a driver for a MIDI interface (I don't know which yet, it would depend on how much data a particular manufacture makes available about a particular device). Thanks in advance JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
default umask for Apache
Hello; I've not had to do this on a Unix system before. But now I have Apache running as nobody and have php scripts creating and writing to directories. The files it creates have the default mask rw-r-r and I want to change it to rw-rw-- so I can remove the files and dirs with group write permissions via ftp. I'm using default csh. I don't remember where to find this info in Complete FreeBSD, or other sources. so: question How do you change the default mask for a user like Apache on a Unix system? /question (I assume there is a separate default for both files and directories.) Other wise I have to manually cd into each directory, remove the files as root, cd back, remove the dir, cd to the next, etc. It could add up to hundreds of directories with multiple hundreds of files to remove. Maybe I could practice shell scripting with this, or modify the php code to unlink the files and remove the dirs. But i may need to save some for future reference. thanks in advance; JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp proxy.
Hello, I have successfully installed FreeBSD 6.0 commercial boxed cds in 2 AMD64 machines. All ports and packages selected and all went well. but some other software that is not installed by default, like Apache, I couldn't get ports to install because the this particular machine was on an inside network. I need to know how to get ftp to use an ftp proxy (on another machine that has a direct connection). Since the machine in question is configured to be a server, I did'nt install the Xwindows softwares. So I need to know what to do with the command line (default csh for root). The other machine does have Xwindows installed so I can use the configuration apps to set it. I'm being a little lazy and not looking at Absolute FreeBSD nor the manual that can be obtained from the same source as the CD set. If a fast and simple suggestion isn't fast and simple tell me to go read the books (again). My bio-chemical buffer is getting a little cranky.. and clumsy. Thanks in advance JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dual boot; Linux, FreeBSD
Hello; If I want to set up a dual boot of either Linux or FreeBSD, what is the best way to go about it? Use Lilo, grub, or does FreeBSD have a boot loader that it likes better and Linux won't object to? i'm planning on using Debian on a separate bootable hard drive. I have to get more info on what version of Debian I will use. FreeBSD is version 6.0 release. It works great, has little quirks here and there but are negligible, Xwindow screen saver daemon won't run, but that's ok because mostly I shut the monitor off when not using the system. Gnome throws up a dialog every time it starts stating that a panel is already running. Once it kept presenting the same dialog several times before it was satisfied that I got the message. Monitor works great without any intervention from me. I sure is nice to have a computer system that just runs and runs and I don't have to do finger nail biting trying to stay ahead of crashes. Thanks in advance: JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Midi and Linux compatibility
Hello; I'm interested in setting up midi and sound recording gear on a Linux system. There is a program I'm interested in getting installed and using called Rosegarden. I also have to contend with the availability of Linux compatible midi interfaces (which is a blurred subject as far as my research into availability is concerned) My question to the FreeBSD mailing list is: if I use FreeBSD with its Linux compatibility, how do I deal with drivers (for midi inter faces, for instance) and installation. Is there an area of ports for Linux software, specifically Rosegarden or something that will do audio recording, midi sequencing, audio/midi sync, and has a good score editor that will print sheet music? I would be using it on AMD 64 slot 939 FreeBSD v 6.0 Release. (commercial boxed set of cd's from FreeBSD Mall). I'm interested in this because my other option is to set up a machine with Debian and some Debian midi specific software. But I can't afford to build or buy another machine at present. I want to avoid dual boot if I can. One extra question re nvnet driver. I had trouble installing and using it and a response to a query to this list indicated that the port was broken. Can anyone tell me if it has been fixed? Thanks in advance: JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]