Re: sendmail problems
Derek Ragona wrote: At 06:15 PM 10/17/2007, Duane Winner wrote: Derek Ragona wrote: At 04:07 PM 10/17/2007, Duane Winner wrote: Hello, I need help to resolve a problem with my sendmail server. In my /var/log/maillog, I've been seeing: sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 I use this server to manage mailman lists, so I knew something was wrong when I started notice that my own list posts (using a bluehost.com account) were not showing up. So I looked in the logs and noticed the above. At first I thought it might be bluehost.com acting up again, but then tried to send mail from a gmail.com account. Same thing: sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 It accepts fine from my company's external email server (different domain, different network), and also accepts from my att.net email account, and many others who post to my lists. I'm not sure where to even begin looking. Any help appreciated! -DW Are you running only IPv4? or are you running IPv6? Or both? IPv4 only. When I restart sendmail, I get the following output, which if I'm interpreting correctly, means that sendmail isn't going to try to use IPv6 when it's running: Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol not supported Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: optional socket disabled Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 It looks like you are trying to run sendmail on IPv6. You can turn on or off support for IPv6 in the DaemonPortOptions in your *.cf files in /etc/mail. I would check those and also check your IP stack configuration doing: ifconfig -a Still broken; I disabled IPv6 in my cf's, and sendmail doesn't even try to listen on IPv6 now when I restart it. I don't think it did anyway before, it was just trying to but I don't have IPv6 in my stack since I disable it in the kernel config, so it just ignored ipv6 after startup. I think something else is going on. The weird thing is that it's just certain mail hosts that it's rejecting. -Derek -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner thanks transtec Computers http://www.transtec.co.uk/ for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail problems
Derek Ragona wrote: At 01:27 PM 10/18/2007, Duane Winner wrote: Derek Ragona wrote: At 06:15 PM 10/17/2007, Duane Winner wrote: Derek Ragona wrote: At 04:07 PM 10/17/2007, Duane Winner wrote: Hello, I need help to resolve a problem with my sendmail server. In my /var/log/maillog, I've been seeing: sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 I use this server to manage mailman lists, so I knew something was wrong when I started notice that my own list posts (using a bluehost.com account) were not showing up. So I looked in the logs and noticed the above. At first I thought it might be bluehost.com acting up again, but then tried to send mail from a gmail.com account. Same thing: sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 It accepts fine from my company's external email server (different domain, different network), and also accepts from my att.net email account, and many others who post to my lists. I'm not sure where to even begin looking. Any help appreciated! -DW Are you running only IPv4? or are you running IPv6? Or both? IPv4 only. When I restart sendmail, I get the following output, which if I'm interpreting correctly, means that sendmail isn't going to try to use IPv6 when it's running: Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol not supported Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: optional socket disabled Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 It looks like you are trying to run sendmail on IPv6. You can turn on or off support for IPv6 in the DaemonPortOptions in your *.cf files in /etc/mail. I would check those and also check your IP stack configuration doing: ifconfig -a Still broken; I disabled IPv6 in my cf's, and sendmail doesn't even try to listen on IPv6 now when I restart it. I don't think it did anyway before, it was just trying to but I don't have IPv6 in my stack since I disable it in the kernel config, so it just ignored ipv6 after startup. I think something else is going on. The weird thing is that it's just certain mail hosts that it's rejecting. Check the DNS forward and reverse of the rejected hosts. It may be a DNS issue. -Derek Can't find much wrong with DNS: FYI: I had dnsbl enabled (which worked fine for the past couple years on this server), but disabled that too, and still no luck. dig -x 69.89.18.10 ; DiG 9.3.2 -x 69.89.18.10 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 48077 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2 ;; QUESTION SECTION: ;10.18.89.69.in-addr.arpa. IN PTR ;; ANSWER SECTION: 10.18.89.69.in-addr.arpa. 86279 IN PTR outbound-mail-41.bluehost.com. ;; AUTHORITY SECTION: 18.89.69.in-addr.arpa. 86279 IN NS ns3.bluehost.com. 18.89.69.in-addr.arpa. 86279 IN NS ns1.bluehost.com. 18.89.69.in-addr.arpa. 86279 IN NS ns2.bluehost.com. ;; ADDITIONAL SECTION: ns1.bluehost.com. 171739 IN A 74.220.195.31 ns2.bluehost.com. 171739 IN A 69.89.16.4 ;; Query time: 0 msec ;; SERVER: 10.20.237.8#53(10.20.237.8) ;; WHEN: Thu Oct 18 15:05:42 2007 ;; MSG SIZE rcvd: 171 dig -x 64.233.166.177 ; DiG 9.3.2 -x 64.233.166.177 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 30043 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;177.166.233.64.in-addr.arpa. IN PTR ;; ANSWER SECTION: 177.166.233.64.in-addr.arpa. 85685 IN PTR py-out-1112.google.com. ;; AUTHORITY SECTION: 166.233.64.in-addr.arpa. 85304 IN NS ns1.google.com. 166.233.64.in-addr.arpa. 85304 IN NS ns2.google.com. 166.233.64.in-addr.arpa. 85304 IN NS ns3.google.com. 166.233.64.in-addr.arpa. 85304 IN NS ns4.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 171704 IN A 216.239.32.10 ns2.google.com. 171704 IN A 216.239.34.10 ns3.google.com. 171704 IN A 216.239.36.10 ns4.google.com. 171704 IN A 216.239.38.10 ;; Query time: 0 msec ;; SERVER: 10.20.237.8#53(10.20.237.8) ;; WHEN: Thu Oct 18 15:07:09 2007 ;; MSG SIZE rcvd: 217 -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. MailScanner
sendmail problems
Hello, I need help to resolve a problem with my sendmail server. In my /var/log/maillog, I've been seeing: sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 I use this server to manage mailman lists, so I knew something was wrong when I started notice that my own list posts (using a bluehost.com account) were not showing up. So I looked in the logs and noticed the above. At first I thought it might be bluehost.com acting up again, but then tried to send mail from a gmail.com account. Same thing: sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 It accepts fine from my company's external email server (different domain, different network), and also accepts from my att.net email account, and many others who post to my lists. I'm not sure where to even begin looking. Any help appreciated! -DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail problems
Derek Ragona wrote: At 04:07 PM 10/17/2007, Duane Winner wrote: Hello, I need help to resolve a problem with my sendmail server. In my /var/log/maillog, I've been seeing: sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 I use this server to manage mailman lists, so I knew something was wrong when I started notice that my own list posts (using a bluehost.com account) were not showing up. So I looked in the logs and noticed the above. At first I thought it might be bluehost.com acting up again, but then tried to send mail from a gmail.com account. Same thing: sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com [64.233.166.176] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 It accepts fine from my company's external email server (different domain, different network), and also accepts from my att.net email account, and many others who post to my lists. I'm not sure where to even begin looking. Any help appreciated! -DW Are you running only IPv4? or are you running IPv6? Or both? IPv4 only. When I restart sendmail, I get the following output, which if I'm interpreting correctly, means that sendmail isn't going to try to use IPv6 when it's running: Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: can't create server SMTP socket: Protocol not supported Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: optional socket disabled Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon (8.13.6): [EMAIL PROTECTED]:30:00 -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
security patches and release number question
Hi, Question about patch numbers and applying patches: Last night, I got the openssl security advisory, and this morning am starting to patch my servers. I've always just done a make build world; make build kernel; make install kernel; make install world when I've need to patch. Today, however, I thought I would just try to do the patch on the openssl libs as described in the advisory. I think it worked just fine, but my question is this: How do I keep track of which systems I've patched if I just do a patch patchfile instead of the whole world/kernel thing? uname -an still shows 6.2-RELEASE-p7 instead of p8; I use this to keep track of which servers I've patched and which I haven't. Is there a way to handle this? Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is affected by FreeBSD-SA-07:08.openssl ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre Biancalana wrote: Hi list, A quick: $ grep -lr SSL_get_shared_ciphers /usr/src 2 /dev/null /usr/src/crypto/openssl/apps/s_client.c /usr/src/crypto/openssl/apps/s_server.c /usr/src/crypto/openssl/doc/ssleay.txt /usr/src/crypto/openssl/doc/ssl/ssl.pod /usr/src/crypto/openssl/ssl/ssl.h /usr/src/crypto/openssl/ssl/ssl_lib.c /usr/src/crypto/openssl/util/ssleay.num /usr/src/secure/lib/libssl/man/ssl.3 Doesn't revel much about what is affected by this bug Have someone made some deeper analysis about what is affected ? Related question: Would any ports which may have been built based on openssl libraries (apache, stunnel, etc.) need to be rebuilt after this openssl patch? - -DW Best Regards, Alexandre Biancalana ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBPl0AQOPf2yoJj8RArAcAJ9utZf/7AE/0NZMY5lCc0iJQvZ+LACdGQjO 4BDswoNLJtezAUOjJIhhenA= =5Mtv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
urgent sendmail question
Hello, I know if I poked around enough, I could find the answer, but am up against the wall here and need a quick solution. I just discovered a major problem with my sendmail configurations. Just recently started consolidating servers by virtual hosting apache, several servers on one box. Problem is that the web app sometimes send automated emails to users, and now they're getting bounced back because the emails are going out with @fakename.mydomain.org instead of @mydomain.org. Since there is no DNS entry for fakename.mydomain.org, recipient's mail servers are rejecting these emails from my servers. So I have an apache box, fakename.mydomain.org, hosting 5 virtual hosts with unique domain names that do have public dns records. I need to all outbound mail appear to be coming from [EMAIL PROTECTED] or [EMAIL PROTECTED], as long as it can be resolved by the remote mail server. My sendmails are configured to listen on 127.0.0.1 only, since I'm using to send, not receive. Please help! Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
emacs22 and portsdb
Hello, We've been having a problem with generating the ports Index ever since upgrading to emacs22. As per /usr/ports/UPDATING, we added EMACS_PORT_NAME=*emacs22* to /etc/make.conf Everything went fine. Now running emacs22. But ever since, our daily routine of cvsup'ing and portsdb -Uu has gone south, first with this error: lsdb-*emacs22*-0.10_1: /usr/ports/editors/flim-*emacs22* non-existent -- dependency list incomplete === devel/lsdb failed *** Error code 1 1 error and now today this: Updating the ports index ... Generating INDEX.tmp - please wait..eieio-emacs22-0.17_2: /usr/ports/editors/speedbar-emacs22 non-existent -- dependency list incomplete === devel/eieio failed *** Error code 1 1 error ... *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! Perhaps we should be doing a portsdb -Fu instead of -Uu? (that works when I tried it) I'm not sure, because according to the portsdb manpage, If you define special macros in /etc/make.conf and the dependency of some ports are changed, you should create INDEX by yourself by using this option. Otherwise, using -F option is recommended since it is much faster. but we do have that EMACS_PORT_NAME=emacs22 in /etc/make.conf, so I'm not sure. We are also not sure what the implications are of doing a portupgrade -a or portinstall after after a failed portsdb. Some of our ports are getting out of date, and we're not sure what to do. Also, I'm not sure if EMACS_PORT_NAME=emacs22 even needs to stay in /etc/make.conf after upgrading. I just did a fresh install of FreeBSD a new server yesterday, and emacs22 was installed by default when I did my portinstall emacs anyway, so is there any sense in keeping it in make.conf on boxes where I've upgraded? On one test machine, I took that line out /etc/make.conf, and portsdb -Uu works again, so any guidance on this topic would also be appreciated. Thank you, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Scanner w/ feeder
Hello, Is there anybody out there who is using a scanner w/ a document feeder on FreeBSD? Preferably a new model that we can buy w/ our existing budget (as opposed to an older used model). Mac OS X support in addition to FreeBSD would be nice too. Thanks for any feedback, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VPS, Colocation, Dedicated
Hello, I am looking for any sort of insight, experience from anybody who uses VPS technology to substitute for managing their own infrastructure and servers for business apps. We are looking at different options to unload some of the burden of supporting a network and server infrastructure that is composed of 50+ FreeBSD servers. The concept of VPS technology has been put on the table, along with co-lo and dedicated server options. Web hosting is right out of the question. Requirements: 1. We need to have servers take over the role of the 30+ web servers, which run apache and mzscheme webapps. These web servers to talk to 2+ postgresql databases on seperate servers. 2. The data on the pgsql databases is of a sensitive nature, so it needs to be secured in part by keeping these servers on a separate network segment, accessible only by the web servers, using stunnel encryption. 3. All servers should have some form of firewall protection, either locally (software) or on the network. Preferably network. 4. If using VPS, the FreeBSD image should look and feel just as if we installed it ourselves from scratch, starting off barebones and installing only the apps and services we need. 5. Web server disk space needs to be 10GB. Can scale back to 5GB if ports are kept off the server and compiled offline then synced up. 6. One of our database servers is utilizing 33GB of disk space at the moment, so we would need at least 50GB per server. Findings: I have found about 4-5 providers who offer FreeBSD VSP's. I've evaluated 2: JohnCompanies and Verio. 1. JohnCompanies' VPS image was nearly exactly what I'm looking for -- started off barebones, and I had to do the rest. Just like in my server room. But disk space was abysmal $29/month for 2GB or $69/month for 8GB. 2. Verios turned me off right away between high-pressure sales tactics and an evaluation that saw a base image loaded with crap like it was a Linux or worse, a Windows box: NAS audio server, mp3 player, a default Apache 2.2 install (who said I want 2.2?), that wasn't a port, but built-in shared app! PHP, Xridiculous. 3. Nobody seems to include any sort of firewall protection -- just throw the server out in the public DMZ, and then there is no option to protect database servers on a private subnet. Not even ipfw is included. Verios told me that their FreeBSD images cannot firewall, but their Linux images can, and then tried to pressure me into just converting to Linux. Sorry, they're off the list now. Summary: I really don't think VPS technology can scale to our requirements or meet the specs we need, in resources or security. Their are other in my group who wanted to investigate VPS technology because of the notion that it is more secure. For instance, there is the concept that because it is virtual, and more hidden, it would be more difficult for an employee at our provider to get at the data, whereas if we colocated, they could just pull a hard drive and get at the data. Personally, I think it would be easier to hi-jack a VMware session or image that it would be to get through security, and into a locked cabinet at a colo facility and reboot into single user mode or yank out a disk in a RAID array to get to the data. But I'm still willing to be proven wrong, and if anybody can tell me that there is a good VPS provider who can meet these needs, I'm all ears, but otherwise, I'm leaning towards colocation as the best solution. (Also, I should mention we already own the hardware -- servers for all -- why not leverage that investment?) Thanks for any feedback! - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
flash player for mozilla or firefox on 5.4?
Hello, Has anybody had any success with Flash on Mozilla or Firefox on FreeBSD 5.4? I used to have some nominal success with Flash before (but slow and cranky) using linuxpluginwrapper. But now that port fails to install at all. I see in the FreeBSD ports, there are a handful of other flash ports, but don't know if any of them work, or why there are so many variants. Will any of them work with the latest Mozilla or Firefox ports? Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH, SSL and DNS headaches
Well, it's a little comforting to know that it's not just me...and yup, that's about when it started for me: around noon (EST) on Friday 5/3. Please post if you come up with anything. I'm also trying to cross-post to [EMAIL PROTECTED] Cheers, DW John Brooks wrote: I am having a similar problem which started on friday at about noon. This is on four freebsd boxes (4.11) that were updated via cvsup on May 3 from cvsup10, 11, and 12. These four boxes have been in use for 18 months without issue. I make connections to ip addresses and not resolvable names, so dns should not be the show stopper in my case. I have already encountered two other people experiencing the same type problem, one of which had updated using cvsup10 in the same time frame as me. The second has yet to respond. I am heading over to the clients network now to run checksums on the source code files. (I have other networks that are not affected). -- John Brooks [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, June 06, 2005 8:55 AM To: FreeBSD - Questions Subject: SSH, SSL and DNS headaches Can anybody provide me with some insight into this before I rip all of my hair out: Starting 3 days ago, suddenly it seemed to take a very, very, verly long time for ssh and ssl communications to negotiate between nodes on my network. I have 3 subnets: a LAN (10.10.0.0/16) a DMZ (10.20.0.0/16) a secured subnet for databases (10.30.0.0/16) I have 2 DNS/Bind servers running in the DMZ: 1 for the public web servers that get NAT'd, and provide public DNS lookups for the outside world. The other DNS server is for internal queries, providing the cooresponding private IP addresses to LAN clients and servers in the DMZ and secure subnet. Both sDNS servers are running FreeBSD (one is 5.2.1, the other is 5.3) Everything has been working great for months, until, like I said, 3 days ago. Some SSH negotiations were taking so long that they would time out before I would have a chance to enter the password for my private key. Apache/SSL communincations are also taking a long time. But when I make intial connections over port 80, it is very fast. I have also been able to make straight postgresql connections from nodes on my LAN to database servers in my secure subnet, but if I ssh to and from the same boxesslow timeouts. It seems to be that encrypted traffic is having a problem. The weird thing is that when I tried on a couple of servers to change the DNS server in resolv.conf from the internal (private IP address) DNS server to the public server, it seemed to speed things up. But I don't understand whywhy would it be faster if a lookup reply is providing the external PUBLIC ip address instead of the internal PRIVATE ip address? And I also don't understand why this would have just suddenly started 3 days ago after working fine. All the subnets are seperated by a Cisco PIX 515 firewall, and I see no errors on it. I also see no errors on any of my FreeBSD boxes in the logs (other than the SSH timeout errors). I've tried rebooting the PIX, rebooting my DNS servers, rebooting all the equipment on my communication rack (router, firewall, switches, etc.). I'm really confused. One thing that has helped is that on 5.3 boxes, I put UseDNS no in sshd_config, and that seemed to help the SSH problem (but no Apache/SSL). I can't do this on all the boxes, though...some are 5.2.1, and when I put the same directive in there, I get an invalid config message when I try to restart SSH. Thanks for any help on this. I am going insane. -DW ___ 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: ssh delays 40 seconds (SOLVED???)
I want to thank everyone else for responding also. The consensus was that I need DNS/named working on my gateway/firewall so I will be reading and studying to have that working in the near future. This is what I ended up having to do today...I tried to do what you did (set 'UseDNS no' in sshd_config), but my problem was that not all of my boxes are 5.3 or 5.4on my 5.2.1 boxes, using the 'UseDNS no' caused sshd not to restart. Same problem on some of my older Linux boxes still running. So I set up some in-addr.arpa records for my internal subnets (which I never bothered to do or needed to do before) , and that seemed to take care of things. Robert ___ 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: strange network behaviour
[EMAIL PROTECTED] wrote: on Friday i set up 4 old celeron boxes as DNS servers for a client. after about 5 minutes, their ability to reach the network vanishes... they can't ping their router, and inbound network traffic vanishes. rebooting fixes the problem... for another ~ 5 min. the only things running are chrooted bind, postfix, and webmin. ipfw is on, with firewall_type=open. i've also tried it with ipfw disabled. The same thing happens with my laptop, which is also running 5-STABLE as of about noon on friday. I know this sounds like a network issue, but is there anything in the system that might cause thist type of behavior? it doesn't seem to be the hardware - my laptop is a pentium M centrino system with a bg nic, and they're old Celeron 500 machines with fxp nics. I believe something happenend out there in DNS land around noon on Friday...on the root servers possibly? I've been struggling with slow SSH and SSL connections that started around that time, and when I've posted, others have reported similar things...all starting around noon on Friday. AFAIK, something happened that affected reverse DNS lookups...on the machines on which I was able, I could fix SSH by setting UseDNS no in sshd_config. Today, I cured all the slowness (I think so far) by adding in-addr.arpa zones for my internal 10.x.x.x subnets. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrading from 5.3 to 5.4
Hi all, I just noticed that 5.4 is now the production release. I'm downloading the ISO image now, but I was wondering if anybody has done a source upgrade from 5.3 to 5.4 yet. I was going to try to just change my tag from RELENG_5_3 to RELENG_5_4 on one of my boxes, upgrade from source and see what happens. Has anybody done this yet? Any gotcha's, or is it a fairly smooth upgrade? Thanks DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
monitoring and alerting software ????
Hello, This may not be FreeBSD specific, but since I'm running nearly a 100% FreeBSD shop, I figured this would be as good as place as any to ask a question. Also, it might just turn out that the solution for me might be software that runs on FreeBSD. Does anybody have recommendations for a good solution to alert me while I am not at work if something goes wrong with my infrastucture/network/servers? In other words, if I am at home, I need to be alerted if one of my FreeBSD servers go down, but also if the router, firewall or switches go haywire. I'm thinking along the lines of getting a cell phone, and have a central server with a modem dial my cell and send a text message, either directly or via a 3rd party service, if anything goes wrong. I am the sole responsible admin for babysitting my network and server farm, and we're setting up critical systems that must be 24x7, so now I must be 'on call' 24x7. Is there anything out there that will assist me with this? Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
devfs.conf, permissions and dynamic devices
Hello all, Does anybody know of a solution for this problem: I have just acquired a new Zire 31 Palm Pilot to replace my old Palm VII, which was a serial interface. I figured out how to sync the Zire to jpilot over USB after compiling the kernel (5.3 p9) with 'device ucom' and 'device uvisor'. The problem is that because /dev/ucom0 is created and only exists when I hit the HotSync button on the Palm, putting the following lines into /etc/devfs.conf doesn't help at all: perm ucom0 0666 link ucom0 pilot link ucom0 jpilot Before I hit the Sync button in the Jpilot application, I first have to type at the console: # sudo /etc/rc.d/devfs restart It's not the end of the world, but it would be nice to simplify things a little if possible. Does anybody know of an alternate solution? Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh - restricted shell
Hello, Does anybody know the best technique to accomplish this: We have a server that we use for mostly internal development, and run an SSH server. We have an outsider who we want to allow to ssh into this server and do some work. However, because he is an outsider, we don't want him roaming around our server, moving, looking, doing, or anything outside of his own home directory. How can I restrict him to his own home directory? I thought I ran into instructions once for doing this, but I can't find anything right now. Or was I thinking of scponly ? That might do it, except we do need to set him up to to run some scripts within his home directory after he uploads stuff via scp. Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
auto mount external hard drive but only when present?
Hi all, Hoping someone might have a good technique for this situation: I have a laptop with a docking station and in the expansion bay of the dock, I have a second hard drive, which I have configured as /dev/ad4s1d and mount it to /hd2 Normally on workstations with a 2nd drive, I'll just put another line in fstab and it will mount at each boot. But because this is a laptop, and will be pulled off the dock when I'm on the road, I can't have that, because FreeBSD will scream into single user mode if that partition isn't there. I could put a 'noauto' switch into fstab, but that still leaves me with the problem: The reason for the second drive is for backups: I want to run rsnapshot to take regular snapshots of my primary drive filesystems to the 2nd drive, and rsnapshot runs as a cron job. Now rnsnapshot is smart enough to know not to create the snapshot root if the mount isn't there, but while I am docked, I'll have to remember to manually mount the second drive. If I forget (which I'm apt to do), then no backups :( What I'm looking for is a script or something that will mount /dev/ad4s1d to /hd2 automatically when it's present, but ignore it when it's not, and if possible to unmount it gracefully on shutdown. I looked at amd automounting, but that seems to be a bit overkill (I really don't like the idea of adding NFS et.al. if I can avoid it). Any ideas? Cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set_rcvar load_rc_config run_rc_command: all not found
Yup!: Karol Kwiatkowski wrote: Christian Hiris wrote: On Wednesday 26 January 2005 05:45:05, Duane Winner wrote: Hello, I've just noticed (after spending the past two weeks testing 5.3-release), that I'm getting this on every boot and shutdown: Local package initialization:set_rcvar: not found load_rc_config: not found run_rc_command: not found Everything seems to be working fine, but I sure would like to know where those set_rcvar, load_rc_config and run_rc_command not found messages are coming from and why. This messages were sent by a script, which resides in one of your local startup directories. If you use the default local startup directories, then search the scripts under /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d for the variables that couldn't be found. The script that wants to run the functions set_rcvar, load_rc_config and run_rc_command requires the line . /etc/rc.subr. This line sucks in the file /etc/rc.subr and makes the missing functions available to your script. Noticed this today. In my case /usr/X11R6/etc/rc.d/xfs.sh was found guilty (xorg-fontserver). There's only . instead of . /etc/rc.subr If I'm reading changes[1] right it has been fixed about 3 hours ago. That was it...I just cvsup'ed my ports a few minutes ago and portupgraded xorg-fontserver, and the errors went away. Thanks, Duane Regards, Karol [1]http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/xorg-fontserver/Makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
set_rcvar load_rc_config run_rc_command: all not found
Hello, I've just noticed (after spending the past two weeks testing 5.3-release), that I'm getting this on every boot and shutdown: Local package initialization:set_rcvar: not found load_rc_config: not found run_rc_command: not found Everything seems to be working fine, but I sure would like to know where those set_rcvar, load_rc_config and run_rc_command not found messages are coming from and why. Can someone enlighten me? Thanks, Duane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bash version?
Hi all, I use bash instead of the default csh shell that is part of FreeBSD world. I am revising my in-house installation manual for FreeBSD 5.3, and it just came my attention that there is (actually has been I guess) bash version 3 available as a port. But FreeBSD appears to want to use 2.05b as the default. Does anybody know of any good reason why I should stick to 2.05b? I would like to use the latest stable version, but I don't want to go to version 3 if there are any issues that might bite me in the butt or if it will disrupt any other FreeBSD convention/issue that I don't know about. Looking at the the gnu bash site, I don't see any reason *not* to go to version 3, but I tend to let any FreeBSD considerations trump others when coming up with installation standards. Thanks for any info, cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash version?
Kris Kennaway wrote: On Tue, Jan 11, 2005 at 11:00:52AM -0500, Duane Winner wrote: Hi all, I use bash instead of the default csh shell that is part of FreeBSD world. I am revising my in-house installation manual for FreeBSD 5.3, and it just came my attention that there is (actually has been I guess) bash version 3 available as a port. But FreeBSD appears to want to use 2.05b as the default. FreeBSD uses whatever version of bash you tell it to (none are used by default). bash 1.x, 2.x and 3.x are available in the ports tree. If you install from port, then yes, all three are available and you have to choose. But up until now, we have always installed bash (and emacs) as additional packages during the initial CD installation, and it was always version 2.05 that ended up being installed. I'm changing our procedures so that we have cleaner installations, and not installing bash or emacs during the install anymore, but rather as the first ports we install after a our intial cvsup, in an effort to get rid of dependency conflicts (primarly expat) that need special instructions. That's when I discovered that there was a version 3 of bash available. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openoffice on 5.3-RELEASE
Hello, Has anybody been able to get OpenOffice installed from port on 5.3-RELEASE ? I am running 5.3-RELEASE-p2 (Xorg and JDK1.4.2p7 also installed) Yesterday, I attempted: # portinstall openoffice and chose editors/openoffice-1.1 14 hours later... the output looked like it built cleanly, but during the install phase it bombed with: ./install.sh not found error code 127 Sigh..it's always OpenOffice that gives me headaches. I tried to just do a pkg_add -rv openoffice and that got me openoffice-1.1.2, which I guess I could live with until it gets fixed, but then I discovered during 'openoffice-1.1.2-setup' that characters were overlapping in all of the dialogs and menus. I don't know if that was a problem with my display or the character set/language, but I just ripped out the package in frustration. So discouraging. Cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice on 5.3-RELEASE
Thanks! I was able to find OOo_1.1.3_FreeBSD53Intel_install.tbz and get that installed and working. I still had the bad user interface fonts, but I found that to be a problem with my xorg config, and I (mostly) fixed it. I sitll have some minor 'ticks' snuggled inside my r's, n's, e's and g characters, but not nearly as bad as before. I just started using Xorg over Xfree86 this week, and apparantly, font handling, or at least the ports are a little different. Just a couple more questions: If I keep my ports tree cvsup'd every day, I'm going to have: openoffice-1.1.3 needs updating (port has 1.1.3_1) We generally do a portupgrade -a to upgrade ports unless /usr/ports/UPDATING affects us. How can I get around the openoffice discrepency since a portupgrade -a will always try build it again and end up failing? Also, what are the folks up on ootranslation.services doing to get this package built that can't be done with the source for 1.1.3_1 on 5.3, why can't this port on 5.3, and if it is failing, shouldn't it be marked as 'broken' on 5.3? Thanks for any info. Cheers, DW albi wrote: albi wrote: there's more info here : http://porting.openoffice.org/freebsd/ build-instructions, known problems and alternative downloads on the webpage above mentioned the link that says : OOo 1.1.3 for 4.10 and 1.1.2 for 5.2.1-RELEASE actually has OOo 1.1.3 for 5.3 for download ___ 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: openoffice on 5.3-RELEASE
gustaaf wijnands wrote: Just a couple more questions: If I keep my ports tree cvsup'd every day, I'm going to have: openoffice-1.1.3 needs updating (port has 1.1.3_1) We generally do a portupgrade -a to upgrade ports unless /usr/ports/UPDATING affects us. How can I get around the openoffice discrepency since a portupgrade -a will always try build it again and end up failing? portupgrade -a -x openoffice-1.1.3 ?? I must be losing it. I looked at the man page twice and didn't see that -x switch. Must be Friday or something. Thanks -- that does it. -DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice on 5.3-RELEASE
nbco wrote: On Friday 07 January 2005 17:56, albi wrote: Duane Winner wrote: We generally do a portupgrade -a to upgrade ports unless /usr/ports/UPDATING affects us. How can I get around the openoffice discrepency since a portupgrade -a will always try build it again and end up failing? a dirty solution is to press ctrl-c when OOo tries to build, i know from experience that portupgrade simply continues with the rest without any complaints :) Alterntively, set openoffice to be held in pkgtools.conf in /usr/local/etc. I have added the following line: HOLD_PKGS = ['openoffice-*'] This entry will prevent portupgrade attempting to upgrade the port. Ooohh...I think I like this better than the '-x' switch. I'll have to give it a wirl. Thanks, DW If you are using portmanager see this thread to see how to avoid portmanager attempting to upgrade a held port: http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/070055.html Hope this helps .nbco Portupgrade honours this setting. but i assume in the Makefile (in the OOo-portsdir) one can put an IGNORE somewhere ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice on 5.3-RELEASE
Joshua Lokken wrote: On Fri, 07 Jan 2005 14:58:22 -0500, Duane Winner [EMAIL PROTECTED] wrote: gustaaf wijnands wrote: Just a couple more questions: If I keep my ports tree cvsup'd every day, I'm going to have: openoffice-1.1.3 needs updating (port has 1.1.3_1) We generally do a portupgrade -a to upgrade ports unless /usr/ports/UPDATING affects us. How can I get around the openoffice discrepency since a portupgrade -a will always try build it again and end up failing? portupgrade -a -x openoffice-1.1.3 ?? I must be losing it. I looked at the man page twice and didn't see that -x switch. Must be Friday or something. Thanks -- that does it. -DW However, please note the response that mentions using HOLD_PKG in /usr/local/etc/pkgtools.conf; that'll save you from having to use -x at all. Oh yeah, this *is* definately better. Just tried it. The first reason being is that it removes the chance of forgetting the '-x' and walking away, but I was also delighted with this output: --- Skipping 'editors/openoffice-1.1' because it is held by user (specify -f to force) Which makes it nice to remember it's still there, and when the port gets fixed for 5.3, I'll be reminded to try again at some point. Cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xorg and xfree86
Hi all, I was wondering if anybody could provide me with a brief explanation of why FreeBSD has made Xorg the default X11 implementation over XFree86. It doesn't really matter to me, I've tried it, it seems to work fine, and almost exactly the same. The only problem I've run into so far is is that my old XF86Config file with the refresh rates for my external monitor connected to my laptop didn't quite take (kept going to 800x600). After some minor fiddling, I managed to get it working (I still need to do it again a few times so I make sure I understand fully what I'm doing). I've read a bunch of docs, but can't seem to find an answer on why FreeBSD has moved to Xorg. Is it just a political/licensing issue? Like I said, it's not a big deal, but I manage the internal 'Howto' document for our organization, and since we're in the process of moving from 5.2.1 to 5.3, it would be nice to have a little mention of why we're going to Xorg after my entire section for installing X is going to change from Xfree86 instructions. Just curious. Cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH 5.3 Problems
Brian McCann wrote: Hi all. On 5.3 and 5.3 RC1 I have this problem where when I ssh in using either a FreeBSD 4.3 box or an older PuTTY client (0.52 is one I experienced it with), I cannot connect. On PuTTY, it asks for a username, then just exits. On FreeBSD when I put the ssh client into verbose, it appears it can't agree on an auth method, even though both are set to accept and attempt keyboard-interactive. Upgrading to a newer PuTTY fixed the problem, and it seams to work from FreeBSD 4.10. I've seen some posts from people that upgrading their PuTTY fixed the problem, but I'm curious if anyone knows the cause of the problem, and possibly how to fix it, on the server end. Thanks, --Brian McCann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] For what it's worth, we happen to have some licensed copies of the commercial SSH client (from SSH Communications Inc.) for our Windows boxes. I just tried to reproduce this problem. To ssh into *nix workstations, I've always just used password authentication. On the commercial windows client, after you specify the hostname and username, you pick from a drop-down list Authentication Method: -Password -Public Key -SecureID -PAM -Keyboard Interactive I have ALWAYS just used password to get into my Linux and FreeBSD workstations running sshd. But password no longer works. I started to get nervous, but relaxed when I found out that if I selected Keyboard Interactive, I could get in. I don't understand what exacactly keyboard interactive is and how it differs from password, but it seems to work. I haven't used PuTTY in a few years, and I don't know if this is something that can be tweaked or not. Cheers, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Free BSD
K.T. wrote: I think, BSD is one with lot of unusable, needless systems. You never get over Windows or Linux. FreeBSD is stupid system, which only nobody will use. :-( Hey Butthead, heh,heh, I heard that they, uh, like put plutonium in bowling balls. No way, Beavis, that's golf balls you're thinking of. They put people's heads in bowling balls, dumbass. ___ 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]
permissions question
Hello, I don't know if I am having a brainfart, something is different, or if I never had it right to begin with: I need to have a shared directory for apache web content: /usr/local/htmlstuff And a group, htmlguys, and several users will be members of that group. I would like to have the root directory set up like this: drwxrwxr-x 2 me htmlguys 512 Dec 27 15:06 htmlstuff Where htmlguys is the owner. Any member of htmlguys must be able to read, write and create any file or folder in htmlstuff, and the group owner of any file or folder in there must still be set to htmlguys, so that one group member can edit another group member's file. They should be able to delete files and folders that they did not create as well. When I ran apache on a Redhat box, I thought I just ran: # chmod 2770 on htmlstuff and that did the trick for me. Any time a member of htmlguys creates a new file in there it will be automatically be owned by the user who created it and the group htmlguys. But that doesn't seem to work on FreeBSD. I always referred to that '2' before '770' as the 'sticky bit' for the group, but I was reading up on setuid, setguid and sticky bits this morning, and obviously, I had it all wrong. But I know that it did work on Redhat (I still have that server in production, and tested it, so I know that works). So I'm quite confused now, and can't find any documents that describe how to do what I need. Can anybody help me out with this? Thanks, DW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printer
Louis LeBlanc wrote: If it's a new printer, my best suggestion would be to return it and get an HP anything. Some newer Lexmark printers do support standard protocols, but I went and spent $80 for a Lexmark color printer several years ago that spent more time working as a doorstop than a printer. I'll second that. I don't recall the model (it's still running attached to the kid's computer), but it's a Lexmark color inkjet that is totally useless for computers running anything but consumer-grade Windows. They used - and still do for some printers - proprietary protocols, and release their own drivers - you guessed it - for Windows only. And sometimes not even for all versions of Windows. My one Windows system was NT, and it wasn't supported. At the time, I was a Linux user, and even the reverse engineered Linux drivers weren't able to get it working. On top of that, for the short time I did have it working (on Win98 - blech) I found printing quality and speed to be nothing short of poor. I'll never buy a Lexmark again, and if given one, I'll immediately put it on EBay or just give it to my front curb. Lou On 12/27/04 02:25 PM, Leon sat at the `puter and typed: Hi, I have a BSD5.3 I'm trying to set-up a printer.(Dell AIO A960) I think, that this printer made by Lexmark. They have one looks like what I have(Lexmark X6170) I do not know if BSD support this printer. So if you know, pleas let me know. Thanks, Leon. ___ 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: From a mild user of UNIX
I remember reading this earlier this year. I think it is very good write-up on the differerences and merits. http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php Hope it helps. syed zaidi wrote: Dear sir/madam, my name is syed zaidi and I am writing to you concerning FreeBSD UNIX. I am currently using and learning RedHat Linux 9 and I am trying to have a taste of most types of famous and useful UNIX/LINUX operating systems. I wanted to know the differences between FreeBSD UNIX and redhat Linux 9, I know many exist. But I would like to dig deeper into the heart of UNIX. As you know most of LINUX is extremely related to UNIX. Can you please contact me back. Thank you Syed zaidi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GEOM: create disk during runtime? (security run output)
Hello, I'm hoping somebody on this list can shed some light on this. My boss sent me a copy of his daily cron security run output, which contained this: localhost.local kernel log messages: GEOM: create disk ad0 dp=0xc6b77d60 GEOM: create disk cd0 dp=0xc69a8600 We're all running FreeBSD 5.2.1-p12. I've seen the GEOM: create disk messages plenty of times on boot and in my dmesg's, but never really paid much attention to them, since I don't really understand how GEOM works or how to interpret these kinds of messages. But I don't recall ever seeing it in a security run cronjob. My first question is why is this happening during a security run cronjob? If this system is already booted and running, why is GEOM creating disks? My second question is is this something bad? Is it a red flag? The only reasonable (and non-threatening) answer I could come up with is maybe it's because the machine went into or came out of suspend mode near the time the cronjob ran. (APM) The bottom line is I don't really know anything about GEOM, and would like to know what this means so preventative action can be taken if necessary. Thanks for any info, Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
security run output question (GEOM: create disk)
Hello, Does anybody know what this means when I see this in a daily security run output?: locahost.local kernel log messages: GEOM: create disk ad0 dp=0xc6b77d60 GEOM: create disk cd0 dp=0xc69a8600 I don't recall ever seeing this in my daily outputs, but my boss sent me an email with this and he wants to know what it means. If I do a 'dmesg' on my computer, I also get: GEOM: create disk ad0 dp=0xc6b63160 GEOM: create disk cd0 dp=0xc6983e00 What does this mean, and what does it mean when it shows up in the security run output? Thanks for any info. -Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptops
Many people run FreeBSD on laptops. This is the best link to get started: http://gerda.univie.ac.at/freebsd-laptops/ I run 5.2.1-RELEASE on an IBM T30. The only outstanding issues for me are: acpi (I just use apm) and the integrated Cisco Aironet Wireless (it worked with FreeBSD 4.9/10, but broke with 5.2.1 -- I went back to using my Orinoco PCMCIA wireless card, which works like a champ.) Good luck! Rick Montgomery wrote: I have a few PIII IBM and Toshiba laptops and was wondering about putting FreeBSD on them. I have installed several Linux versions on them (Caldera 2.4/3.1 - RH - SuSe - Mandrake) with minimum re-comps for functionality on the hardware. How does FreeBSD act on laptops any known issues? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd and MS Active Directory
Hello, Does anybody out there have experience with FreeBSD in a Microsoft Active Directory environment? I am going to be delivering two servers to a client, both running FreeBSD 5.2.1 with Apache as the front-end web server, and postgresql on the backend database server. During a meeting with their IT people a couple of days ago, most issues were agreed upon, however, the director of IT informed me that I will need to make both of these boxes conform to their Active Directory network. I think what he was referring to is DNS and IP assignments, and that I can't just hard code the hostname and IP address as I normally would and expect it to work on their network, since they don't run bind or static DNS services. Has anybody had to deal with this and be able to point me in the right direction so that I can test this out before delivery? I do have an MSDN subscription (which I never use), but could try to set up a basic Active Directory I suppose in my lab. I am a lapsed MCSE, but that was during NT 4.0, and stopped really using Microsoft as servers around year 2000, so I'm really behind the 8ball. Thanks for any info. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd and MS Active Directory
Danny MacMillan wrote: On Fri, Oct 22, 2004 at 09:02:46AM -0600, Duane Winner wrote: ... During a meeting with their IT people a couple of days ago, most issues were agreed upon, however, the director of IT informed me that I will need to make both of these boxes conform to their Active Directory network. The phrase conform to their Active Directory network is pretty ambiguous. I would be asking for more detail if I were you to find out what they really mean. Well, you pretty much hit the nail on the head here. It was a brief meeting to flesh out an basic specs and an introduction, rather than specifics on the implementation. I didn't want to ask too many questions at that point because I didn't want to sound like an idiot. But one thing that is crystalizing for me is that from what I understand so far from talking to others here and doing research is that as far as host name resolution and IP address management, not that much has changed, and there is no reason that they couldn't create static entries for the two BSD hosts. I am beginning to think that they were under the assumption that the web apps we are giving them would participate in their single sign-on, but that is not the case, because our web app will be doing it's own user management and authentication whether they like it or not. :) If that is why they brought up AD in the first place, then I think it will be a moot point, unless there is something else I don't know yet. Is it possible they are using DHCP for all hosts -- even servers, but doing static mapping to MAC address? If so, are there instances where AD hosts must configured as AD leaf objects? (I'm just scraping the back of my brain memories from my Novell NDS days...cripes -- what's happened to me? LOL At any rate, I have two voice mail messages in to the IT guys I met with to get more specifics. I really don't have time to screw around with a Windows 2000 lab right now, and rather I wouldn't if I don't have to. I think what he was referring to is DNS and IP assignments, and that I can't just hard code the hostname and IP address as I normally would and expect it to work on their network, since they don't run bind or static DNS services. Microsoft DNS is no thoroughbred, but can be configured to do what just about any other DNS server will do. Ditto for DHCP. The only impact Active Directory has on DNS, that I know of, is that Active Directory stores SRV records in DNS so that clients can bind to it (I don't completely understand this, I just see a lot of weird _firstsitename stuff in a zone dump from our MS DNS server). As far as I know this has no impact on the FreeBSD side. Since they presumably already have their DNS server running (otherwise Active Directory wouldn't work) you shouldn't have to do anything special on the FreeBSD side. It seems unlikely to me that that's what they meant. I really would ask for more information. Maybe they want their FreeBSD administrators to authenticate against AD accounts? If you do set up a testbed Active Directory, I would advise you to set up MS DNS first, as I've had what can most charitably be called problems when letting Active Directory set up DNS automagically. ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
updating packages
Hello, Is there a simple way to upgrade packages on machines with packages built on other machines? Example: I have eight machines that have jdk-1.4.2p6_4. On one of the machines I have done a portupgrade jdk, and now have jdk-1.4.2p6_5. I then did a pkg_create -b jdk-1.4.2p6_5 and have a jdk-1.4.2p6_5.tgz. I copied jdk-1.4.2p6_5.tgz to the other seven machines. Now how can I upgrade jdk on the others? I have noticed for at least a few months now that pkg_update is no longer with us, and found a message somewhere that it has been removed do to problems/non-maintainence, and that most people are using portupgrade these days. Is there a way I can upgrade the packages on other machines without having to a pkg_delete first, then a pkg_add? Thanks for any info, Duane Winner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xtset or xtermset tricks?
Hello, Hey, does anybody know of any useful tricks for automating xtset or xtermset? I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can keep track of my xterms littered all over my desktop (pretty frequent! :) But it sure would be nice to have them updated whenever I 'cd' to another directory or 'su' to another user or 'ssh' to another host! I'm sure there's got to be someway to make this a little more seamless then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough with shell programming to know how to do this. The closest I came was writing a small bash script that does: for filename in /dev/ttyp*; do /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` $filename done And thought about cron'ing it (every minute), but the problem is that when I tested this, all my xterms get the same title/icon based on who is running the script and where at the time. No good :( (And of course this would be useless to update the titles/icons for xterms that are remote shells (ssh). Any thoughts? Thanks! Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xtset or xtermset tricks?
Found a solution! In ~/.bashrc, put this: cd () { builtin cd $@ /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` } -Duane Duane Winner wrote: Hello, Hey, does anybody know of any useful tricks for automating xtset or xtermset? I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can keep track of my xterms littered all over my desktop (pretty frequent! :) But it sure would be nice to have them updated whenever I 'cd' to another directory or 'su' to another user or 'ssh' to another host! I'm sure there's got to be someway to make this a little more seamless then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough with shell programming to know how to do this. The closest I came was writing a small bash script that does: for filename in /dev/ttyp*; do /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` $filename done And thought about cron'ing it (every minute), but the problem is that when I tested this, all my xterms get the same title/icon based on who is running the script and where at the time. No good :( (And of course this would be useless to update the titles/icons for xterms that are remote shells (ssh). Any thoughts? Thanks! Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xtset or xtermset tricks?
This is a little better: cd () { # do the actual cd builtin cd $@ # if in homedir, then make path '~', not full path if [ $PWD == $HOME ]; then XTDIR=~ else XTDIR=$PWD fi # set xtset title and icon to [EMAIL PROTECTED]:path /usr/local/bin/xtset [EMAIL PROTECTED]:`echo $XTDIR` } # force an xtset title at shell login: cd -Duane Duane Winner wrote: Found a solution! In ~/.bashrc, put this: cd () { builtin cd $@ /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` } -Duane Duane Winner wrote: Hello, Hey, does anybody know of any useful tricks for automating xtset or xtermset? I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can keep track of my xterms littered all over my desktop (pretty frequent! :) But it sure would be nice to have them updated whenever I 'cd' to another directory or 'su' to another user or 'ssh' to another host! I'm sure there's got to be someway to make this a little more seamless then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough with shell programming to know how to do this. The closest I came was writing a small bash script that does: for filename in /dev/ttyp*; do /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` $filename done And thought about cron'ing it (every minute), but the problem is that when I tested this, all my xterms get the same title/icon based on who is running the script and where at the time. No good :( (And of course this would be useless to update the titles/icons for xterms that are remote shells (ssh). Any thoughts? Thanks! Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xtset or xtermset tricks?
Gary Kline wrote: On Tue, Aug 17, 2004 at 12:41:02PM -0400, Duane Winner wrote: Found a solution! In ~/.bashrc, put this: cd () { builtin cd $@ /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd` } -Duane Duane Winner wrote: Hello, Hey, does anybody know of any useful tricks for automating xtset or xtermset? I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can keep track of my xterms littered all over my desktop (pretty frequent! :) But it sure would be nice to have them updated whenever I 'cd' to another directory or 'su' to another user or 'ssh' to another host! [ ... ] I've got a slight problem with having the host/directory/etc on the title bar. It will help clear my zsh right-prompt, of course. But how do you set the title bar *back* to the name of the xterm? (My xterms are titled Mail, Net, Hacking, Scratch, and so forth.) Is there a way of using xtset/xtermset to retrieve the -n Name?? Hm, not sure. I just started with xtset myself this morning when I decided I was getting sick of having 10 xterm windows all over my lawn with the name 'xterm'. I never gave descriptive labels since I'm most often ssh'd into other boxes and am more interested in where I am. Maybe, depending on how you start each xterm (icon/shortcut), you could set a variable name (XTNAME=Mail) for each one, then run: # xtset `echo $XTNAME` But now, since I hammered out that little cd() function for .bashrc, I found another little problem: If I su to another user (for instance, su - root), the title changes as long as the other account has my the function in .bashrc, but when I exit, the title still has the old credentials (example: [EMAIL PROTECTED]:~) until I cd somewhere again. Sigh. Cheers, Duane thanks, gary ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what's wrong with my ports???
Hello all, This problem has been recurring on my laptop (5.2.1-RELEASE-p9) for the past few weeks and I'm scratching my head. Very frequently, I'll go to portinstall something, and I'll get several stop errors, and the build will fail. But if I do a rm -rf /usr/ports, then re-cvsup my ports collection, I can successfully build whatever port I was trying at the time. However, a few days later (or whatever), I'll try to build another port, and it will start all over. I delete /usr/ports, cvsup again, then I'm fine. This has happened several times over the past few weeks and the whole manual cvsup'ing to refresh my entire /usr/ports every time is getting old. (Although I've noticed I can sometimes get away with just deleting the /usr/ports/... directory of the port I'm trying to build and cvsup'ing again.) I'm keeping my ports current the same way on a workstation in at work, and I've had no problems there, so I know it has to be something that's wrong on my laptop. Here is the output of the latest port failure (fwbuilder): === Applying FreeBSD patches for net-snmp-5.1.2 2 out of 4 hunks failed--saving rejects to agent/mibgroup/ucd-snmp/diskio.c.rej Patch patch-diskio.c failed to apply cleanly. Patch(es) patch-Makefile.in patch-aa patch-auto_nlist.c patch-configure.in applied cleanly. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp. *** Error code 1 Stop in /usr/ports/security/libfwbuilder. *** Error code 1 Stop in /usr/ports/security/fwbuilder. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall79078.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! security/fwbuilder(patch error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Thank for any feedback! -Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what's wrong with my ports???
Will wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duane Winner wrote: | Hello all, | | This problem has been recurring on my laptop (5.2.1-RELEASE-p9) for the | past few weeks and I'm scratching my head. | | Very frequently, I'll go to portinstall something, and I'll get several | stop errors, and the build will fail. | | But if I do a rm -rf /usr/ports, then re-cvsup my ports collection, I | can successfully build whatever port I was trying at the time. However, | a few days later (or whatever), I'll try to build another port, and it | will start all over. I delete /usr/ports, cvsup again, then I'm fine. | This has happened several times over the past few weeks and the whole | manual cvsup'ing to refresh my entire /usr/ports every time is getting | old. (Although I've noticed I can sometimes get away with just deleting | the /usr/ports/... directory of the port I'm trying to build and | cvsup'ing again.) | | I'm keeping my ports current the same way on a workstation in at work, | and I've had no problems there, so I know it has to be something that's | wrong on my laptop. | | Here is the output of the latest port failure (fwbuilder): | | === Applying FreeBSD patches for net-snmp-5.1.2 | 2 out of 4 hunks failed--saving rejects to | agent/mibgroup/ucd-snmp/diskio.c.rej | Patch patch-diskio.c failed to apply cleanly. | Patch(es) patch-Makefile.in patch-aa patch-auto_nlist.c | patch-configure.in applied cleanly. | *** Error code 1 | | Stop in /usr/ports/net-mgmt/net-snmp. | *** Error code 1 | | Stop in /usr/ports/security/libfwbuilder. | *** Error code 1 | | Stop in /usr/ports/security/fwbuilder. | ** Command failed [exit code 1]: /usr/bin/script -qa | /tmp/portinstall79078.0 make | ** Fix the problem and try again. | ** Listing the failed packages (*:skipped / !:failed) | ! security/fwbuilder(patch error) | --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed | | | Thank for any feedback! | | -Duane | | ___ | [EMAIL PROTECTED] mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to | [EMAIL PROTECTED] | | I'm abit confused, just syncing your port tree via cvsup does'nt work? ie. things wont build after that, but after removing your entire ports tree they will? Are you sure it couldn'nt be a disc problem with the ports files being corrupted? Yeah, I'm confused too :), but that's what's going on. I have a cronjob that syncs my ports tree every day at noon. It does: /usr/local/bin/cvsup -L 2 /usr/sup/supfile /usr/local/sbin/portsdb -Uu /usr/sbin/pkg_version -v | grep needs My supfile is: *default host=cvsup11.us.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5_2 *default use-rel-suffix compress src-all ports-all tag=. doc-all tag=. Additionally, I should mention that the problem isn't consistent. For instance, yesterday, the cronjob ran and I was notified (pkg_version -v) that there were updates to XFree86 et.al. I got home last night, and did a portupgrade -a. No problem. Today at noon, cvsup (via cronjob) ran again. I got home tonight and finally decided to install xmms. So I did a portinstall xmms and it installed fine. Later on, I decided I wanted to install fwbuilder. portinstall fwbuilder started, then eventually bombed with the patch errors. So I rm -rf /usr/ports, did cvsup again which sucked in a virgin ports tree again, then tried portinstall fwbuilder again. I'ts humming along nicely now. I'll entertain the possiblity of disk errors, but I am not having any other noticeable issues, and I have just one big filesystem (/). Is it possible portsdb -Uu is hosing things? -Duane - -- Do yourself a favor, don't use IE! www.mozilla.org/products/firefox/ PGP is Preferable for Email, Public key available off PGP Key Server. GPG Key ID: 0x787AD6A9 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQRq2Fgx4IHh4etapAQIBiAP/UPczhmA2vnigt8b1oxM9Ko1RubDeSp1/ 774R3bLk5sA/Rob+Co+cYEK1leoffdCRTJTZ4nQXeRyT1dUEJfjTxwdcjkR4utAY yt0t9paJgbQenRCcdYMVftYwRlFDXnS5u/ifxkNfjgOflTLuVImLVjJ852D0D5ad mUAHLDeIbxM= =wE69 -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what's wrong with my ports???
horio shoichi wrote: On Wed, 11 Aug 2004 20:43:45 -0400 Duane Winner [EMAIL PROTECTED] wrote: Will wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duane Winner wrote: | Hello all, | | This problem has been recurring on my laptop (5.2.1-RELEASE-p9) for the | past few weeks and I'm scratching my head. | | Very frequently, I'll go to portinstall something, and I'll get several | stop errors, and the build will fail. | | But if I do a rm -rf /usr/ports, then re-cvsup my ports collection, I | can successfully build whatever port I was trying at the time. However, | a few days later (or whatever), I'll try to build another port, and it | will start all over. I delete /usr/ports, cvsup again, then I'm fine. | This has happened several times over the past few weeks and the whole | manual cvsup'ing to refresh my entire /usr/ports every time is getting | old. (Although I've noticed I can sometimes get away with just deleting | the /usr/ports/... directory of the port I'm trying to build and | cvsup'ing again.) | | I'm keeping my ports current the same way on a workstation in at work, | and I've had no problems there, so I know it has to be something that's | wrong on my laptop. | | Here is the output of the latest port failure (fwbuilder): | | === Applying FreeBSD patches for net-snmp-5.1.2 | 2 out of 4 hunks failed--saving rejects to | agent/mibgroup/ucd-snmp/diskio.c.rej | Patch patch-diskio.c failed to apply cleanly. | Patch(es) patch-Makefile.in patch-aa patch-auto_nlist.c | patch-configure.in applied cleanly. | *** Error code 1 | | Stop in /usr/ports/net-mgmt/net-snmp. | *** Error code 1 | | Stop in /usr/ports/security/libfwbuilder. | *** Error code 1 | | Stop in /usr/ports/security/fwbuilder. | ** Command failed [exit code 1]: /usr/bin/script -qa | /tmp/portinstall79078.0 make | ** Fix the problem and try again. | ** Listing the failed packages (*:skipped / !:failed) | ! security/fwbuilder(patch error) | --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed | | | Thank for any feedback! | | -Duane | | ___ | [EMAIL PROTECTED] mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to | [EMAIL PROTECTED] | | I'm abit confused, just syncing your port tree via cvsup does'nt work? ie. things wont build after that, but after removing your entire ports tree they will? Are you sure it couldn'nt be a disc problem with the ports files being corrupted? Yeah, I'm confused too :), but that's what's going on. I have a cronjob that syncs my ports tree every day at noon. It does: /usr/local/bin/cvsup -L 2 /usr/sup/supfile /usr/local/sbin/portsdb -Uu /usr/sbin/pkg_version -v | grep needs My supfile is: *default host=cvsup11.us.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5_2 *default use-rel-suffix compress src-all ports-all tag=. doc-all tag=. Additionally, I should mention that the problem isn't consistent. For instance, yesterday, the cronjob ran and I was notified (pkg_version -v) that there were updates to XFree86 et.al. I got home last night, and did a portupgrade -a. No problem. Today at noon, cvsup (via cronjob) ran again. I got home tonight and finally decided to install xmms. So I did a portinstall xmms and it installed fine. Later on, I decided I wanted to install fwbuilder. portinstall fwbuilder started, then eventually bombed with the patch errors. So I rm -rf /usr/ports, did cvsup again which sucked in a virgin ports tree again, then tried portinstall fwbuilder again. I'ts humming along nicely now. I'll entertain the possiblity of disk errors, but I am not having any other noticeable issues, and I have just one big filesystem (/). Is it possible portsdb -Uu is hosing things? -Duane - -- Do yourself a favor, don't use IE! www.mozilla.org/products/firefox/ PGP is Preferable for Email, Public key available off PGP Key Server. GPG Key ID: 0x787AD6A9 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQRq2Fgx4IHh4etapAQIBiAP/UPczhmA2vnigt8b1oxM9Ko1RubDeSp1/ 774R3bLk5sA/Rob+Co+cYEK1leoffdCRTJTZ4nQXeRyT1dUEJfjTxwdcjkR4utAY yt0t9paJgbQenRCcdYMVftYwRlFDXnS5u/ifxkNfjgOflTLuVImLVjJ852D0D5ad mUAHLDeIbxM= =wE69 -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No sure if this is the problem, but missing delete may be keeping stale files sing aloud ? If adding delete doesn't solve your problem, save the problem port(s) somewhere before zapping /usr/ports, and compare before and after. Ugh. That's probably
order of starting services at boot?
Hello, Can anybody explain to me how FreeBSD 5.2.1 controls the start order of the scripts in /etc/rc.d ? I've looked all over and am having trouble gleening what controls this. For instance, if I would like to start ipfw before dhclient (right now dhclient starts, then ipfw starts), how would I accomplish this? Thanks, Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: order of starting services at boot?
Dan Nelson wrote: In the last episode (Aug 10), Duane Winner said: Can anybody explain to me how FreeBSD 5.2.1 controls the start order of the scripts in /etc/rc.d ? I've looked all over and am having trouble gleening what controls this. The rc manpage explains rc.d/ and the magic keywords used inside its scripts. Ugh. I kept seeing that but kept thinking I was misunderstanding since the lines began with '#' and couldn't get over thinking they were comments only. Thanks. For instance, if I would like to start ipfw before dhclient (right now dhclient starts, then ipfw starts), how would I accomplish this? Add ipfw to dhclient's REQUIRE line. This change was made to -current, so when 5.3 ships it'll already do what you want :) That's good news. So, I take it then I'm not some sort of freak for wanting to do this? :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openoffice on freebsd broke?
Hello all, I do a cvsup on ports-all daily, and the other day I noticed that openoffice-1.1.2 is being report as out of date and that the port has 1.1.3: openoffice-1.1.2 needs updating (port has 1.1.3) So I did a '# portupgrade openoffice' It seemed to compile and install just fine (no errors or problems), but now it crashes every time I run it. As soon as I click on an openoffice window: A pop-up window message reports OpenOffice 1.1.2: An unrecoverable error has occurred. All modified files have been saved and and can probably be recovered at program restart. If I start openoffice-1.1 from an xterm, I see the following output after the crash: crash_report: not found Fatal exception: signal 11 Stack: Abort trap (core dumped) I have replicated this on three different computers, all running 5.2.1-RELEASE-p9. Anybody else having this problem? I've reported this to [EMAIL PROTECTED] and [EMAIL PROTECTED], but have not seen or heard anything else. Thanks for any feedback, Duane Winner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pgadmin3 and py23-wxpython conflict?
Hello, Has anybody else had any problems lately trying to install pgadmin3 and py23-wxpython on the same machine (from ports?) It doesn't seem to work. It appears that they both use different versions of wxgtk and they're stepping on each other's toes. Any reports/advice/solution would be greatly appreciated. Thanks, Duane Winner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
save-entropy cronjob Added: not found every 10 minutes
Hello, Does anybody know what is going on with the crobjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. It is only happening on one of my FreeBSD 5.2.1 boxes, and the only thing I can figure that is causing it (different from other boxes) is that it is running the dhcpd server. Any thoughts? Thanks, Duane Winner [EMAIL PROTECTED] mail Mail version 8.1 6/6/93. Type ? for help. /var/mail/dwinner: 2 messages 2 new N 1 [EMAIL PROTECTED] Mon Jul 19 12:11 23/955 Cron [EMAIL PROTECTED] /usr/libexec/save-entropy N 2 [EMAIL PROTECTED] Mon Jul 19 12:22 23/955 Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Message 1: From [EMAIL PROTECTED] Mon Jul 19 12:11:01 2004 Date: Mon, 19 Jul 2004 12:11:01 -0400 (EDT) From: [EMAIL PROTECTED] (Cron Daemon) To: [EMAIL PROTECTED] Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Added: not found ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: save-entropy cronjob Added: not found every 10 minutes
Thanks! Using your technique, I discovered that I stupidly forgot to put a '#' before one of my comments in /etc/rc.conf. Dan Nelson wrote: In the last episode (Jul 19), Duane Winner said: Does anybody know what is going on with the cronjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy Added: not found Try changing the top line of that script to read #!/bin/sh -x , which will log every command that it runs to stderr. You should then be able to determine which line is printing that error message. My guess is something in your rc.conf is doing it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem trying to rebuild mozilla from port
Hello all, I am trying to reinstall mozilla from port and I'm not getting the options screen that allows me to select which options I want to compile into Mozilla. When I did a portinstall mozilla yesterday, I got the standard curses menu that gives me the options to build with Calendar, MailNews, et.al. I did a pkg_delete mozilla-1.7,2 this morning, and now when I try to do a portinstall again, I don't get the options menu. I noticed right before it began to build a message that said: -- Found saved configuration for mozilla-1.7,2 Where does the ports collection save this information and how can I reinitialize it so that I can build mozilla again with different options? Thanks for any info. Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem trying to rebuild mozilla from port
I found it: /var/db/ports Duane Winner wrote: Hello all, I am trying to reinstall mozilla from port and I'm not getting the options screen that allows me to select which options I want to compile into Mozilla. When I did a portinstall mozilla yesterday, I got the standard curses menu that gives me the options to build with Calendar, MailNews, et.al. I did a pkg_delete mozilla-1.7,2 this morning, and now when I try to do a portinstall again, I don't get the options menu. I noticed right before it began to build a message that said: -- Found saved configuration for mozilla-1.7,2 Where does the ports collection save this information and how can I reinitialize it so that I can build mozilla again with different options? Thanks for any info. Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie ACPI questions
Hi all. I'm just getting my feet wet with using basic ACPI functionality. Up until my FreeBSD release and/or hardware only supported APM, so that's all I have used until now. I have a Dell Precision 650n running RELEASE-5.2.1p9, and it seems that ACPI works as far as I can tell, but I'm not clear on how to use it correctly in all circumstances. My first problem was that I could not do a power off (halt -p or shutdown now -p) -- ACPI would tell me that it could not do it then I would have to hit the power button or a key on the keyboard to reboot. I solved this by adding hw.acpi.disable_on_poweroff=0 to /etc/sysctl.conf. Now I can either type halt -p/shutdown now -p or just hit the power button on the Dell and FreeBSD will gracefully shutdown and power off. Now I'm trying to get my arms around suspend functionality, and I'm not so clear as to the best way of suspending. If I type 'zzz' (which appears to the equivelent of 'acpiconf -s 3'), the Dell does suspend, and the power button green LED blinks, which according the Dell manual, means the hardware thinks it is suspended. But I can't get it out of suspend. Pressing any key on the keyboard or mouse has no effect. If I press the power switch (which the Dell manual says should bring it out of suspend), then the system reboots. I have also tried 'acpiconf -s 1', which seems to work better than s3. I can bring the system out of suspend by hitting the power button. However, when in suspend, the screen does not go blank. I can still see whatever was on the console, plus some output from acpiconf: fwohci0: fwochi_pci_suspend 'acpiconf -s 1' also seems to work when I'm within X as well (using XFCE4). I can type 'acpiconf -s 1' from an xterm, and X will blank, return me to the console, and suspend -- but I can still see whatever is on the console. If I hit the power button (keyboard/mouse does not work), then I resume and X comes back to where it should be. I have also tried '-s 4', and that just shuts down the whole computer. I guess S1 would be fine for me suspending, but would S3 be better (if I can get it to resume correctly)? If S1 is all I can use, what can I do to blank the screen as well as suspend the system? Any feedback would be greatly appreciated. Following is info I thought would be pertainent. Thanks, Duane Winner [EMAIL PROTECTED] System: Dell Precision 650n (option in BIOS to set power mgmt to S1 or S3) FreeBSD: 5.2.1 p9 -su-2.05b# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 96654/0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie ACPI questions
I did try to set the BIOS to S1 (from S3) and it appears that all that does is limit the capability of ACPI. After changing, hw.acpi no longer shows S3 in the list of supported sleep states, and if I try 'zzz' or 'acpiconf -s 3', acpi reports that as unsupported. (supported states after changing the bios from S3 to S1 are: S1 S4 S5) -Duane User LAFFER1 wrote: I also have a precision 650 at home. What is acpi's setting in the bios? You can set it to s3 or s1 in there. I would check that. I just got my system on refurb from dell and haven't had a chance to play much yet. :) On Thu, 8 Jul 2004, Duane Winner wrote: Hi all. I'm just getting my feet wet with using basic ACPI functionality. Up until my FreeBSD release and/or hardware only supported APM, so that's all I have used until now. I have a Dell Precision 650n running RELEASE-5.2.1p9, and it seems that ACPI works as far as I can tell, but I'm not clear on how to use it correctly in all circumstances. My first problem was that I could not do a power off (halt -p or shutdown now -p) -- ACPI would tell me that it could not do it then I would have to hit the power button or a key on the keyboard to reboot. I solved this by adding hw.acpi.disable_on_poweroff=0 to /etc/sysctl.conf. Now I can either type halt -p/shutdown now -p or just hit the power button on the Dell and FreeBSD will gracefully shutdown and power off. Now I'm trying to get my arms around suspend functionality, and I'm not so clear as to the best way of suspending. If I type 'zzz' (which appears to the equivelent of 'acpiconf -s 3'), the Dell does suspend, and the power button green LED blinks, which according the Dell manual, means the hardware thinks it is suspended. But I can't get it out of suspend. Pressing any key on the keyboard or mouse has no effect. If I press the power switch (which the Dell manual says should bring it out of suspend), then the system reboots. I have also tried 'acpiconf -s 1', which seems to work better than s3. I can bring the system out of suspend by hitting the power button. However, when in suspend, the screen does not go blank. I can still see whatever was on the console, plus some output from acpiconf: fwohci0: fwochi_pci_suspend 'acpiconf -s 1' also seems to work when I'm within X as well (using XFCE4). I can type 'acpiconf -s 1' from an xterm, and X will blank, return me to the console, and suspend -- but I can still see whatever is on the console. If I hit the power button (keyboard/mouse does not work), then I resume and X comes back to where it should be. I have also tried '-s 4', and that just shuts down the whole computer. I guess S1 would be fine for me suspending, but would S3 be better (if I can get it to resume correctly)? If S1 is all I can use, what can I do to blank the screen as well as suspend the system? Any feedback would be greatly appreciated. Following is info I thought would be pertainent. Thanks, Duane Winner [EMAIL PROTECTED] System: Dell Precision 650n (option in BIOS to set power mgmt to S1 or S3) FreeBSD: 5.2.1 p9 -su-2.05b# sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 96654/0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
APM and DRI lockups when suspending
Does anybody know if there is a workaround for the problem with DRI and APM within X? If I load the DRI module in my XF86Config file, and attempt to suspend my laptop, the system freezes on resume, then reboots. If I comment out the line Load dri out of the Module section in /etc/X11/XF86Config, all is well. But now I don't have direct rendering capability, correct? I don't think I have any apps yet that need direct rendering, so it probably isn't a huge deal (yet), but I would like to have it enable if possible. Does anybody know of a solution or simple workaround for this problem? Thanks, Duane Winner ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Tape Drive (Seagate Travan)
Hello, Has anybody out there ever had any experience and/or success with attaching a Seagate USB Travan Tape Drive to FreeBSD? (Or any USB tape drive for that matter?) I plug it in, and FreeBSD detects it and brings up a 'Freecom USB-ATAPI' hardware on /dev/ugen0. However I don't see any ATAPI tape devices (/dev/ast*). Am I just SOL or is there hope of getting it working? I don't see it (or any USB tape drive) listed on the FreeBSD supported hardware. But I thought I would try anyway. If anybody has any success or just plain info on this, I would appreciate it. Thanks, Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache2 and UserDir in FreeBSD
Hello, Does anybody know why this is happening: I have found that with apache2, installed via portinstall on both 4.9 and 5.x, the UserDir is enabled even if it is commented out in httpd.conf! It is on by default in the stock httpd.conf that installs with apache2. If I comment it out and restart, I have found that users can still create public_html directories in their home directories, and publish content. Why is this happening? Thanks, Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPv6 and PPP problem
Hello, Mozilla is apparantly broken when it comes to IPv6 and attempting to do DNS lookups. I found numerous google results that report this problem and suggested recompiling the kernel with IPv6 disabled. I did this, and Mozilla is again rip-roaring fast. But now PPP does not work! Does anybody know why PPP does not work when IPv6 is disabled in the kernel and what can I do about it? I am running: FreeBSD 5.2.1-RELEASE-p8 mozilla-1.6_4,2 To disable IPv6, I simply edited my custom kernel config and commented out: #options INET6 and recompiled. Thanks for any info, Duane Winner [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openoffice-1.1
Does anybody know what happened to OpenOffice-1.1 port? I just did a portinstall on it last week with no problems, but now the port is marked as broken for FreeBSD 5.x. ** 'editors/openoffice-1.1' is marked as IGNORE: is marked as broken: Does not compile on 4.x (tries to link to libpthread) Fortunately, I created a package out of it when I made it last week, but I'm still concerned. Is it a compile-only problem (will I get surprises during run-time?) and Will this be fixed soon? Thanks for any info. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stupid sendmail question (did not issue MAIL/EXPN/VRFY/ETRN)
Hello all: I am getting this in my /var/log/maillog: Apr 23 15:23:39 library sm-mta[169]: i3NJNd8g000169: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA when my Tomcat serlvets attempt to send an email from my web app. I only want sendmail listing on 127.0.0.1:25, and the web app is configured to use 127.0.0.1 as it's mail server. It works fine on my Red Hat implementation, but I'm guessing FreeBSD sendmail is tightened up even more. I know that sendmail is working, because I can use the 'mail' MUA and send myself a quick email. I'm guessing this is a little different that just going #mail blahblah, because I'm doing mail relaying? But why would sendmail be denying mail relaying from itself (localhost). Is this fairly simple to address? I know its probably stupid, but I haven't played with sendmail in about 3 years, and never completely understood then either. Thanks for any info. -Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
method to test for link before dhclient at boot?
Hello, I'm wondering if anybody knows a technique for this problem: I have a laptop that I frequently boot when it is not plugged into an ethernet network. In these circumstances, I would like to add some logic during boot time that looks at at the status of my fxp0 interface. If status: no carrier is true, then I do not want dhclient to run. I want the boot process to bypass DHCP so that it will boot faster, or so that I don't have to hit CTRL-C after the hostname is set, and so that I can easily run my wireless setup script or ppp manually if I choose to connect to a network at all. But I still need to be able to detect an active link state on fxp0 and lease a DHCP address automatically for when I'm in the office and plugged in. Is there a way to accomplish this? Thanks, DW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting to freebsd ufs under WinXP
I look into this issue an average of once a year, because it's always been my dream to have a dual boot machine in which XP can read/write my UFS/ext2/etc. partitions and FreeBSD/Linux/etc. can read/write my NTFS partitions. I've seen a handful of 3rd party software out there that seems to come close, but I've never actually tried any of them because I get the impression that they are buggy, not fully-developed, or worse, abandoned projects. My current, (and actually quite happy) compromise is to have XP on FAT32 (because *nix can't write to NTFS {yet}), and then do my schleping while booted into FreeBSD. I backup my XP data from FreeBSD, and if I need to transfer files to XP, FreeBSD can write to that partition. I mount /dev/ad0s1 and make a sybolic link in my home directory to what would be C:\Documents and Settings\myname\My Documents. So when I do an ls /home/myname/windata, I will see my XP My Documents. I can delete, create and edit files through this, too. Works pretty nicely for me. I'm not crazy about the FAT32 compromise (I've always been a stickler for NTFS security), but for a single user box, I'm willing to compromise. Wouldn't dream of doing this on a production box, though. Regards, DW On Thu, 2004-02-12 at 17:28, Peter Leftwich wrote: I researched this on the web but found nothing relevant or useful. Can someone recommend software that lets you mount TO freebsd (ufs) partition FROM WITHIN Windows XP Pro SP1 (transparently)? Samba, which is open source and free, isn't a solution because it requires a working [freebsd] operating system and running a daemon. Thanks mucho diGiornio, -- Peter Leftwich, President Founder Video2Video Services Box 13692, La Jolla, CA, 92039, USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with ssh
On Thu, 2004-02-12 at 14:49, Dragoncrest wrote: Hi again everyone. Ok, this issue just popped up today on a different machine, but it's still bugging me either way. My home mail server (freebsd 4.8) has SSH available to the internet so I can get into the box from work if need be. That is the only port open as it's a fetching mail server so port 25 isn't available to the rest of the world. Nor is 110. What I just discovered today is that my sshd is allowing auth by public key OR password. I don't want it to auth by password. JUST public key. So in other words if you don't already have the public key file, well, it sucks being you because you won't get connected. Anyone know how to do this? Or would this question be better handled on an SSH mailing list? If so, which list is best and how do I sign up? Much apreciated on the info. Thanks. For what it's worth, this is my config that does exactly what you are looking for. It allows auth by public key only, i.e., the user's public key must be concatenated into ~/.ssh/authorized_keys2 in their respective home dir. There might be some better tweaking I could do to this, but haven't gotten around to yet. The main thing is that it does pubkey auth and accepts ssh protocol 2 only. Hope this helps. Port 22 Protocol 2 ListenAddress 0.0.0.0 LoginGraceTime 120 PermitRootLogin no StrictModes yes RhostsAuthentication no IgnoreRhosts yes /etc/ssh/ssh_known_hosts RhostsRSAAuthentication no PasswordAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no X11Forwarding no PrintMotd yes Subsystem sftp/usr/libexec/sftp-server ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stupid packages question
Hello, I'm sure there is an easy answer to this that I just haven't been able to gleen from reading stuff: How can I make packages for all the depencies of a package that I'm trying to create in one fell swoop? Example: If I go into /usr/ports/sysutils/portupgrade and type make package it builds a nice package that I can send to other machines to install, but then of course I will need to install all the depencies first, which means I have to go back to my build box, find all the sources and make package on all of them. Kinda tedious. Is there an easier way? I've read about make package in about 5 different docs/books, but none of the mention this problem. Thanks for any info. -DW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
com ports in freebsd
Hello, I have a question about how FreeBSD handles the serial ports. After messing around for 2 days, I finally got my PCMCIA modem working on my laptop. All I really had to do was to cd /dev/ ./MAKEDEV cuaa4 I did this because dmesg kept reporting the Megahertz modem at sio4. What I don't understand is the why or how. My kernel config is still using the default sio0 thru sio3 devices: device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 device sio2at isa? disable port IO_COM3 irq 5 device sio3at isa? disable port IO_COM4 irq 9 So if there is now sio4 in the kernel, how is this working? I'm not complaining, nor looking for a solution, since I have everything working now. I'm just trying to understand how this working. Thanks, DW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
another PPP question
Hello again, I'm still messing around with trying to trim down my kernel as much as possible with just the functionality I need. After much trial and error, I found the line that kept PPP from functioning: #options INET6 (commented this line out) I really have no need at all for IPv6 functionality, and would prefer to not have compiled in. Can anybody tell me why I need INET6 for PPP to work? Or if there is a workaround to get PPP to work if I disable this? Thanks again, DW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnome screensaver
Hello, I've searched all over and posted a question to gnome mailing lists, and still don't have an answer to this annoyance. Hopefully somebody here might know a solution, even though this isn't freebsd-specific. How can I fix the gnome screensaver so that it utilizes my full 1280x1024 screen when I'm docked and using my external monitor? When I am using my laptop monitor (1024x768), the screen saver consumes the entire screen, just as it should. But when I'm on my 1280x1024 monitor, the Gnome screensaver only consumes 1024x768 area of the monitor, leaving the remaining active desktop space visible. I pretty sure that this is a gnome problem, because in the past, when I used KDE, the screensaver worked fine. I also know that this has nothing to do with freebsd config, because I had the same issue with both Redhat9 and Fedora. Again, I know that this is not FreeBSD problem, but I tried everywhere else, and am shooting in the dark at this point. Thanks for any input, DW ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building JDK14
This might be a moot point by now, but you you should also double-check to make sure that your non-native java is working before you start to build the native version. I don't use blackdown, I use the linux-sun flavor, but before building native jdk14, I make sure the other is running by typing: #/usr/local/linux-sun-jdk1.4.2/bin/java -version If I get a satifactory repsponse, then I know it's good, and I proceed. (Obviously, I'm guessing that your path will be different since you using blackdown) If I get a Heap at VM Abort message, then I know that linux-java isn't working, and I should not proceed to build the native jdk14. This message has always meant (at least in my circumstances) that I forgot to mount linprocfs. -DW On Fri, 2004-01-30 at 09:57, Jorn Argelo wrote: It was busy for 20 hours and still not finished. It wasn't hanging though; the java executable was still running. However I stopped it, mounted the mounted procfs and linprocfs now and it's running now again. Hopefully it'll work now. Cheers, Jorn On Friday 30 January 2004 11:58, you wrote: If I understand correctly your build takes very long when the build of the linux jdk is complete and the linux jdk is used to build the native jdk. The reason for this may be that you did not mount the linux proc fs as it is printed on the screen when installing the linux jdk. This happened to me some weeks ago. The build of the native jdk then starts, but hangs. Mounting the linux proc fs and restarting the build did solve the problem. Regards, Dominik. On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote: Hi all, I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the ports-tree so I could compile the native one. However, it's busy for almost four hours now with building it. Now my question was, does anybody know how long is this going to take? Thanks, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Building JDK14
That's about right. Give or take several hours, YMMV depending on your hardware :) I did jdk14 patch5 a couple of weeks ago and it took over 4 hours on my laptop (~1GHz). I'm doing jdk14 patch6 right now at this moment on Dell Precision 420. I started it about 3 hours ago, and I'm about to go home for the day. Should be done by my arrival to work for free coffee tomorrow! On Thu, 2004-01-29 at 15:40, Jorn Argelo wrote: Hi all, I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the ports-tree so I could compile the native one. However, it's busy for almost four hours now with building it. Now my question was, does anybody know how long is this going to take? Thanks, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dual-booting with xp
Hello, I am trying to install FreeBSD 4.9 on a machine that already has XP installed. It has 3 SCSI drives. I would like to keep XP on the first drive, and install FreeBSD on the third drive and make it dual-boot. What's the easiest way? When I installed, I made a slice on the 3rd disk (using entire disk) and created my partitions there. I also selected the FreeBSD bootmanager, but it doesn't seem to write to the first disk, so now when I reboot, I don't get a bootmanager menu at all, but go right into XP every time. Thanks, Duane ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How do YOU stay up to date?
Hello all again, I'm finally getting my arms around FreeBSD and the updating processes and tools. But I'm still trying to come up with good habits/methods/instructions for updating routines for both myself and my colleagues who also want to switch to FreeBSD. I now understand how to use cvsup to keep my src and ports tree current. I know how to use pkg_add -r to install new sotware, or go into /usr/ports/whatever to make install. I know how to do portupgrade to upgrade my installed ports, how to pkg_version -v to see what's out of date with my tree, and how to cronjob cvsup to keep my trees current. (I still need to play more with make world and whatnot) But what do you all out there in BSD land do to stay current as a practice? I'm looking at this on two fronts: FreeBSD on our laptops (There will be at least 3 of us with T23's, and I also plan on migrating most, if not all of my servers from Linux to FreeBSD). One thing that concerns me, at least on the laptops, is the amount of time spent compiling new software as it is release, seeing as how we will be running x, gnome and Yahweh knows what elseI've already spent a great deal of time recompiling all this stuff to get current. (granted, I'm still experimenting, blowing my machine away, starting over, to both learn and write up instructions for the other guys, so I'm repeating the pains). How is this going to affect us longterm with staying current if we are constantly getting new source and having to recompile? One of my colleagues has proposed just using packages as much as possible. But although it seems simple enough to to go pkg_add -r gnome2, what about updating? I mean, after installing the package, pkg_version -v many packages are listed as out of date with my current ports tree. So how to update short of doing a portupgrade -Pa and waiting a few or several hours? As far as the servers go, I'm almost certain that I'll be standardizing on 4.9-RELEASE, with minimal software, so I'm not so concerned here since the security/bug fixes seem far and few between for this release. I'm just looking for advice. If the long way is the only way, fine. I need to start writing up some standards and procedures so we can move on. But if there are more efficient methods, or methods to make things easier on everybody else, or some technique I'm just plain missing, I'm all ears. Thanks for any info, guidance or virtual asskicking you can provide me. And sorry my post is so long. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do YOU stay up to date?
Thanks for the reply, which was very helpful. Could you just clarify one thing for me? On your last point regarding 'SECURITY - STABLE - CURRENT', my understanding up to now has been that this applies to the FreeBSD 'src' tree only, but not to the ports collection. Am I correct? If we are running 4.9-RELEASE, and cvsuping using 'RELENG_4_9', my assumption is that we'll rarely have to do a 'buildworld' or recompile the kernel, correct? But ports don't fall under the same tracking mechanism, correct? (I have a line 'ports-all tag=.' in my supfile because I read that there are no release tags for ports). I just want to make sure I understand all of this correctly. Thanks again, Duane On Wed, 2004-01-14 at 23:27, Andrew L. Gould wrote: On Wednesday 14 January 2004 10:11 pm, Duane Winner wrote: Hello all again, I'm finally getting my arms around FreeBSD and the updating processes and tools. But I'm still trying to come up with good habits/methods/instructions for updating routines for both myself and my colleagues who also want to switch to FreeBSD. I now understand how to use cvsup to keep my src and ports tree current. I know how to use pkg_add -r to install new sotware, or go into /usr/ports/whatever to make install. I know how to do portupgrade to upgrade my installed ports, how to pkg_version -v to see what's out of date with my tree, and how to cronjob cvsup to keep my trees current. (I still need to play more with make world and whatnot) But what do you all out there in BSD land do to stay current as a practice? I'm looking at this on two fronts: FreeBSD on our laptops (There will be at least 3 of us with T23's, and I also plan on migrating most, if not all of my servers from Linux to FreeBSD). One thing that concerns me, at least on the laptops, is the amount of time spent compiling new software as it is release, seeing as how we will be running x, gnome and Yahweh knows what elseI've already spent a great deal of time recompiling all this stuff to get current. (granted, I'm still experimenting, blowing my machine away, starting over, to both learn and write up instructions for the other guys, so I'm repeating the pains). How is this going to affect us longterm with staying current if we are constantly getting new source and having to recompile? One of my colleagues has proposed just using packages as much as possible. But although it seems simple enough to to go pkg_add -r gnome2, what about updating? I mean, after installing the package, pkg_version -v many packages are listed as out of date with my current ports tree. So how to update short of doing a portupgrade -Pa and waiting a few or several hours? The existence of newer source code is not, in and of itself, justification for an upgrade. Each day brings new source code. It is up to the administrator to monitor new features, bug fixes and security issues to determine when an upgrade is warranted. Also, keep in mind: 1. portupgrade -rR port name will upgrade the specified port, its dependencies and any ports that depend upon the specified port. You don't have to update all ports at once to keep port dependencies in sync. 2. Packages installed with pkg_add, that have associated ports, can be upgraded using portupgrade. 3. Unless your use of computers demands cutting or bleeding edge code, tracking SECURITY may meet your needs as well or better than STABLE or CURRENT. Best regards, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
staying 'up-to-date' questions
Hello, I'm suffering from some confusion regarding keeping my FreeBSD systems up-to-date. Does anybody have any 'best practices' advice? I've been reading three books (Complete BSD, Absolute, Unleased) as well the handbook, but I'm still not clear about how I should manage my up-to-date practices. I know how to use cvsup, and have done it. I know how to customize and install a kernel, and have done that as well. I know how to do a 'make buildworld/installworld' and I have also used pkg_version -v and portupgrade. But I'm still not sure how to be certain my system(s) are up-to-date. I've installed 4.9-RELEASE from the .ISO image. I just want to be certain that I have all security patches now and in the future. If I have *default release=cvs tag=RELEASE_4_9 in my cvsup file, will I get all the updates I need to be secure? How do I know when to build a new kernel? How will I know when there is a security patch for the kernel? If I cronjob cvsup and rebuild the kernel once a week, will I be up to date? How do I know if my running kernel is up-to-date? Sorry if I'm coming off as dense here, but it's strange -- I was always told that FreeBSD is much more difficult to master than Linux. But for the most part, I'm finding it much easier to get my arms around. It's just this concept of staying current that is driving me batty. For you folks who want to maintain stable, secure FreeBSD severs, what practices do you follow? Thanks for any advice. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Slow boot when not plugged into network
Does anybody know of a workaround for this? When I'm not connected to my ethernet network, it takes an extra 90 seconds to boot my FreeBSD laptop, as it hangs on this boot message before timing out: Doing initial network setup: hostname I'm guessing it has something to do with DNS lookup and can't reach the server(s), but I'm not sure. I had a similar problem in the past when I used Debian, but never really addressed it. For the most part, I can deal with it, but sometimes it is embarrassing, like when I'm doing a presentation or something and everybody is twiddling their thumbs while waiting for me. Thanks for any advice. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]