JAILS: Shared IP?
When co-locating a FreeBSD box being used for 4 websites (inside jails),... 1) What would be the advantage(s) or disadvanatage(s) of giving each website it's own IP vs sharing a single IP? 2) Is one going to be more difficult to set up than the other? 3) Would it be better to use something like Webmin to configure the setup instead of trying to do it by hand, or does that take away from learning? Thanks for any advice, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Connection refused" when setting up cyrus-imapd - SOLVED
On Fri, 12 Sep 2003 21:35:20 -0400 Brian Bobowski <[EMAIL PROTECTED]> wrote: > On Thu, 11 Sep 2003 22:47:42 -0500 > "Micheal Patterson" <[EMAIL PROTECTED]> wrote: > > > However, when I run imtest and point it to my localhost, it immediately > > gives me the following response: > > > > > > connect: Connection refused > > > failure: Network initialization > > > > > Not being familiar with imap that well as my organizaiton prefers pop3, I'll > > assume that it hooks into wrappers. If so, you'll need an entry in the > > hosts.allow file to allow connections to the daemon. Check out your > > /var/log/messages to see if there's any rejected connections. > > > > Nothing relevant in /var/log/messages when I try using imtest. If I try connecting > to the server with my mail client, I get no reply(positive nor negative; Sylpheed is > uninformative that way). However, it seems like sendmail's trying to to its work: > > Sep 12 21:02:59 myhostname sm-mta[22959]: h8CBWwMc020830: SYSERR(root): Could not > connect to socket /var/imap/socket/lmtp: Connection refused by localhost > > There was a defaulted setting in /etc/hosts.allow about not allowing other daemons > to accept connections - I think - but I removed that. Still not much happening, and > imtest still doesn't work, either. sm-mta(different PID each time) is still getting > that error. > > imapd.log is empty. > > Is it not enough in this case to restart inetd? Is there a way for me to reload > those settings without restarting the whole system? > > -BB Turns out the problem was in /usr/local/etc, where cyrus.conf was in the same format as imapd.conf. It wasn't being told which sockets to open. I copied cyrus.conf.dist over it, now I'm getting something else to work through. Hopefully I'll be able to progress on my own. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and DNS
Ronnie Clark wrote: Hello all, I have a questions that I just cannot get my brain around. I have a home network and use FreeBSD as my firewall using IPFW. It is also my internal DNS server, handling name resolution for inside the network and passing requests to the internet. I have my own domain, and use a free DNS service to point to my static IP from the outside. But as of late, the DNS service has come under DOS attack. So, if I want to host my own DNS records, so that people on the outside get my static, routable internet IP address, plus my reverse DNS record, can I still have the DNS service serve my internal requests? Can you have an A record point to the same machine, yet list two different IP addresses? Or do I need to move my internal DNS to another system to serve the inside? Please help, brain in knots over this one. Thanks, RC I believe you can just by checking the handbook. For more detailed info I would recommend you type "$man named". That should have all the details you need. Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and DNS
You can use BIND's view options for this. It would require BIND 9 Info can be found at http://sysadmin.oreilly.com/news/views_0501.html quick sample: acl "local-addresses" { 10.0.0.0/8; 127.0.0.1/32; }; view "internal" { match-clients { local-addresses; }; recursion yes; zone "domain.tld" in { type master; file "domain.tld.internal"; }; }; view "external" { match-clients { 0/0; }; recursion no; zone "domain.tld" in { type master; file "domain.tld.external"; masters { 66.34.148.127; }; allow-transfer { secondary-nameservers; }; }; }; Robert On Friday 12 September 2003 10:11 pm, Ronnie Clark wrote: > Hello all, > > I have a questions that I just cannot get my brain > around. I have a home network and use FreeBSD as my > firewall using IPFW. It is also my internal DNS > server, handling name resolution for inside the > network and passing requests to the internet. I have > my own domain, and use a free DNS service to point to > my static IP from the outside. But as of late, the DNS > service has come under DOS attack. So, if I want to > host my own DNS records, so that people on the outside > get my static, routable internet IP address, plus my > reverse DNS record, can I still have the DNS service > serve my internal requests? Can you have an A record > point to the same machine, yet list two different IP > addresses? Or do I need to move my internal DNS to > another system to serve the inside? Please help, brain > in knots over this one. > > Thanks, > RC > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
xv flag to not create ~/dir/dir/.xvpics/
If I `cd ~/dir/dir` then run `xv -vsmap` xv creates cached thumbnails. Does anyone know of a flag for "xv" to -NOT- create a directory called ".xvpics"? I do not want xv to create this directory. Thanks. -- 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]"
FreeBSD and DNS
Hello all, I have a questions that I just cannot get my brain around. I have a home network and use FreeBSD as my firewall using IPFW. It is also my internal DNS server, handling name resolution for inside the network and passing requests to the internet. I have my own domain, and use a free DNS service to point to my static IP from the outside. But as of late, the DNS service has come under DOS attack. So, if I want to host my own DNS records, so that people on the outside get my static, routable internet IP address, plus my reverse DNS record, can I still have the DNS service serve my internal requests? Can you have an A record point to the same machine, yet list two different IP addresses? Or do I need to move my internal DNS to another system to serve the inside? Please help, brain in knots over this one. Thanks, RC __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nforce 2 drivers aren't working
Kris Kennaway wrote: On Fri, Sep 12, 2003 at 04:41:05PM -0400, jason wrote: Has anyone with a nforce2 board got the agp working? This driver is supported by nvidia, not FreeBSD. Kris Acutaully nvidia only supports linux for seperate chipset drivers, and thats with a patch. If I had a nvidia graphics card I could use the nvidia drivers. The only way to have 3d on freebsd with a nonnvidia card is if someone writes a driver. Matthew N. Dodd made a good try, but there is something wrong with the drivers; at least I think so. That is why I would like to know if anyone has a working board, then I would know it's just me or my system and not the driver code. Thanks, Jason from /usr/src/sys/pci/agp_nvidia.c /*- * Copyright (c) 2003 Matthew N. Dodd <[EMAIL PROTECTED]> * All rights reserved. * * $FreeBSD: /repoman/r/ncvs/src/sys/pci/agp_nvidia.c,v 1.2 2003/08/23 19:32:18 mdodd Exp $ */ /* * Written using information gleaned from the * NVIDIA nForce/nForce2 AGPGART Linux Kernel Patch. */ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba domain and guest users - security advice needed
Hi Tony, hi Denis, I think I am going to set up local guest accounts and put some stickers with the login-data on the machines. Thus everybody can work and the teacher can decide if he wishes to save the works in his own home directory on the SAMBA machine - since he doesn't have write access to anything else, no harm could be done, even if he compromised his password. Thanks for your ideas. Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Internal Modems that work with freebsd
On Friday 12 September 2003 08:53 pm, Bob Shadley wrote: > Any suggestions for an internal modem in the $20 unit cost range that > works with freebsd? The modem source would need to be reliable since it > would be to support an ongoing project. > Good luck. The inexpensive modems tend to be winmodems, which are not compatible with FreeBSD. These days I'd say go with an external modem or find an ISA modem. If you're determined to pay only $20, I'd try to find a used one. Check with local computer companies that do a lot of upgrades. They probably have boxes full of stuff they'll eventually throw away. Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Internal Modems that work with freebsd
Any suggestions for an internal modem in the $20 unit cost range that works with freebsd? The modem source would need to be reliable since it would be to support an ongoing project. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Connection refused" when setting up cyrus-imapd
On Thu, 11 Sep 2003 22:47:42 -0500 "Micheal Patterson" <[EMAIL PROTECTED]> wrote: > > However, when I run imtest and point it to my localhost, it immediately > gives me the following response: > > > > connect: Connection refused > > failure: Network initialization > > > Not being familiar with imap that well as my organizaiton prefers pop3, I'll > assume that it hooks into wrappers. If so, you'll need an entry in the > hosts.allow file to allow connections to the daemon. Check out your > /var/log/messages to see if there's any rejected connections. > Nothing relevant in /var/log/messages when I try using imtest. If I try connecting to the server with my mail client, I get no reply(positive nor negative; Sylpheed is uninformative that way). However, it seems like sendmail's trying to to its work: Sep 12 21:02:59 myhostname sm-mta[22959]: h8CBWwMc020830: SYSERR(root): Could not connect to socket /var/imap/socket/lmtp: Connection refused by localhost There was a defaulted setting in /etc/hosts.allow about not allowing other daemons to accept connections - I think - but I removed that. Still not much happening, and imtest still doesn't work, either. sm-mta(different PID each time) is still getting that error. imapd.log is empty. Is it not enough in this case to restart inetd? Is there a way for me to reload those settings without restarting the whole system? -BB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ppp -auto dials immediately? (already tried the usual things)
On Fri, Sep 12, 2003 at 05:38:07PM -0700, Philip Hallstrom wrote: > > On Fri, Sep 12, 2003 at 03:29:21PM -0700, Philip Hallstrom wrote: > > > Hi - > > > I'm setting up ppp for the first time and it works with one > > > exception. It always dials immediately. I've done the usual things and > > > stopped all the processes, etc... What's weird is that logging seems to > > > indicate that this is causing it: > > > > > > tun0: TCP/IP: OUT <0>: fe80::230:1bff:feae:22e7 ---> ff02::1:ffae:22e7 (72) > > > > > > which looks like ipv6 which I'm *not* using... which makes me, well, very > > > confused. > > > > You may not be using it, but the log shows that it is configured. > > Disable it in your kernel. > > Seriously? There's no other way around it? You need to disable ipv6 or prevent ppp from negotiating it on the tun interface. There may be other ways to do it..see the docs. Kris pgp0.pgp Description: PGP signature
ezm3 compilation problem.
Hi, I'm trying to compile ezm3 (for cvsup) and I get the following error: new source -> compiling ../src/float/IEEE/LongReal.i3 *** *** runtime error: ***Segmentation violation - possible attempt to dereference NIL *** *** runtime error: ***Subscript out of range ***file "/usr/home/jdp/ezm3/ezm3/language/modula3/m3compiler/m3bootstrap/Fre eBSD4/pm3-FreeBSD4/boot-FreeBSD4/m3core/src/runtime/common/RTCollector.m3", line 1622 *** use option @M3stackdump to get a stack trace It's not being built from an NFS mount and my CFLAGS= -O -pipe. Any help would be appreciated. Best wishes, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: ppp -auto dials immediately? (already tried the usual things)
> On Fri, Sep 12, 2003 at 03:29:21PM -0700, Philip Hallstrom wrote: > > Hi - > > I'm setting up ppp for the first time and it works with one > > exception. It always dials immediately. I've done the usual things and > > stopped all the processes, etc... What's weird is that logging seems to > > indicate that this is causing it: > > > > tun0: TCP/IP: OUT <0>: fe80::230:1bff:feae:22e7 ---> ff02::1:ffae:22e7 (72) > > > > which looks like ipv6 which I'm *not* using... which makes me, well, very > > confused. > > You may not be using it, but the log shows that it is configured. > Disable it in your kernel. Seriously? There's no other way around it? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Solved! Trying to secure PostgreSQL
At 2003-09-12T23:28:41Z, "Andrew L. Gould" <[EMAIL PROTECTED]> writes: > You might be interested in 'ident same' or some other combination of > options. That was exactly what I needed - thanks! My pg_hba.conf now looks like: local all pgsql ident sameuser local all all ident webusers hostall all 127.0.0.1 255.255.255.255 md5 hostall all 10.0.5.16 255.255.255.255 md5 This enforces password authing on the appropriate network interfaces. For local connections, user `pgsql' can connect as that username, but no other user can connect as `pgsql', and `pgsql' can't connect as any other other. Other users can connect locally if and only if they are defined in the `webusers' map in pg_ident.conf. That was the biggest part of my intended security overhaul. Now I want to prevent users from seeing databases that they're not authorized to access, but since they can't connect to them anyway, I'm not nearly as concerned about that. Thanks again to all who helped! -- Kirk Strauser pgp0.pgp Description: PGP signature
Re: How do I change the extensions on a slew of files
--On Friday, September 12, 2003 17:11:50 -0700 James Long <[EMAIL PROTECTED]> wrote: On Wed, Sep 03, 2003 at 08:28:19PM -0500, Larry Rosenman wrote: from an sh type shell for i in *.inc do z=`echo $i | sed -e "s/inc/htm/g"` mv ${i} ${z} done (not tested, but should work.) LER What does it do with a file named include.inc z=`echo $i | sed -e "s/inc$/htm/g"` is better, no? Yep, and some other kind folks pointed this out. Thanks, LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 pgp0.pgp Description: PGP signature
Re: ppp -auto dials immediately? (already tried the usual things)
On Fri, Sep 12, 2003 at 03:29:21PM -0700, Philip Hallstrom wrote: > Hi - > I'm setting up ppp for the first time and it works with one > exception. It always dials immediately. I've done the usual things and > stopped all the processes, etc... What's weird is that logging seems to > indicate that this is causing it: > > tun0: TCP/IP: OUT <0>: fe80::230:1bff:feae:22e7 ---> ff02::1:ffae:22e7 (72) > > which looks like ipv6 which I'm *not* using... which makes me, well, very > confused. You may not be using it, but the log shows that it is configured. Disable it in your kernel. Kris pgp0.pgp Description: PGP signature
Re: max physical memory per process?
On Fri, Sep 12, 2003 at 03:22:53PM -0700, Steven G. Kargl wrote: > I guess the gist of the question is: "are 64-bit > FreeBSD platforms limited to 4GB per process due > to some underlying assumption in the ia32 vm code?" ISTR that alpha has some kind of limitation, but other 64-bit platforms - in particular amd64 - certainly do not. Kris pgp0.pgp Description: PGP signature
Re: How do I change the extensions on a slew of files
On Wed, Sep 03, 2003 at 08:28:19PM -0500, Larry Rosenman wrote: > > > from an sh type shell > for i in *.inc > do > z=`echo $i | sed -e "s/inc/htm/g"` > mv ${i} ${z} > done > > (not tested, but should work.) > > LER What does it do with a file named include.inc z=`echo $i | sed -e "s/inc$/htm/g"` is better, no? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to secure PostgreSQL
story short: su -l postgres -c "/usr/local/pgsql/bin/postmaster -o -i -D /usr/local/pgsql/data -s &" in the /etc/rc.local and it will start postgres w/o asking for password. now, be carefull and read ( man postmaster) about switches. if you need more help, please let us know. if it works let us know also :-). i'll go to dig up some more info about config files in /data. $0.02 alex On Fri, 12 Sep 2003, Kirk Strauser wrote: > At 2003-09-12T22:36:43Z, alexander v p <[EMAIL PROTECTED]> writes: > > > look in /usr/local/pgsql/data/pg_hba.conf > > by default is: > > > > local all all trust > > hostall all 127.0.0.1 255.255.255.255 trust > > > > what you have to do is to change trust into password or md5 > > hope that helps > > alex > > p.s. restart postgres after you change the conf file. > > But when I do that, I'm prompted to enter the password for 'pgsql' whenever > I start the service. That's pretty inconvenient when it's part of the boot > process; the system would be effectively hung until I accessed the box, > entered the password, and let the init sequence finish. > > I'd read of people coming up with a mechanism to pipe a password from some > (hopefully) secure file on the system into the password prompt. Is that > really the best way to handle this? > -- > Kirk Strauser > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to "[EMAIL PROTECTED]" with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]> Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies l
Re: Software patents
On Fri, Sep 12, 2003 at 09:18:34PM +, Jens Rehsack wrote: > Todd Stephens wrote: > But if any algorithm used in bsd will be patented in europe and > the patent became valid, they may have a problem either. I don't know about Europe, but if the algorithm existed in *BSD prior to the patent, that would be "prior art", and it would invalidate the patent. Given the way changes have been introduced into the code base in the various BSDs, there shouldn't be any problem documenting that BSD had it first. The problem is not on things that already exist; they can generally be documented. The problem is granting patents on trivial improvements, like "one click shopping". Patent law was never intended to protect that sort of thing. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to secure PostgreSQL
On Friday 12 September 2003 05:13 pm, Kirk Strauser wrote: > At 2003-09-12T21:39:14Z, "Andrew L. Gould" <[EMAIL PROTECTED]> writes: > > You're looking for something difficult when the easier answer is correct. > > > > As root, set pgsql's password by executing: > > > > passwd pgsql > > What would that buy me? After doing that, I can still access any database > on the system with: > > [EMAIL PROTECTED]:~$ psql -U pgsql template1 > Welcome to psql 7.3.4, the PostgreSQL interactive terminal. > > without being prompted for a password. I don't want users, even local > users, to have full run of the database as the user of their choice. In your situation, I would give pgsql a password, regardless. Then read the documentation that comes in pg_hba.conf and at: http://www.postgresql.org/docs/7.3/static/client-authentication.html#AUTH-PG-HBA-CONF You might be interested in 'ident same' or some other combination of options. Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to secure PostgreSQL
At 2003-09-12T22:36:43Z, alexander v p <[EMAIL PROTECTED]> writes: > look in /usr/local/pgsql/data/pg_hba.conf > by default is: > > local all all trust > hostall all 127.0.0.1 255.255.255.255 trust > > what you have to do is to change trust into password or md5 > hope that helps > alex > p.s. restart postgres after you change the conf file. But when I do that, I'm prompted to enter the password for 'pgsql' whenever I start the service. That's pretty inconvenient when it's part of the boot process; the system would be effectively hung until I accessed the box, entered the password, and let the init sequence finish. I'd read of people coming up with a mechanism to pipe a password from some (hopefully) secure file on the system into the password prompt. Is that really the best way to handle this? -- Kirk Strauser pgp0.pgp Description: PGP signature
Re: sendto: buffer space not available
This is serious. I have just cvsuped stable-supfile again and did all necessary steps re kernel/world. It is still having this problem. Anybody stumbled accross the same? Should I just reinstall back to 4.8-RELEASE? Because I got another identical hardware/machine working without this error on 4.8-RELEASE. Also, netstat -m results is nowhere near the kernel max values. Thanks in advance. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 11, 2003 3:47 PM Subject: sendto: buffer space not available Hi, I have this 4.9-PRERELEASE proxy server which is set up with WCCP to my Cisco gateway. It is on a Pentium 4 with 256MB DDR. Traffic can get really high on its interface (not to mention the annoying icmp's which my ipfw rejects). It is OK a day or two from a fresh reboot but after a while, test pings reports a "sendto: buffer space not available". I already have the following in my kernel config: options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" options NMBCLUSTERS=131072 Should I need to edit or add something? Is something set too high, or low? Btw, I am also running postfix, qpopper and httpd on this server. Hope somebody can help. Thanks in advance. Regards, chael ___ [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: Trying to secure PostgreSQL
look in /usr/local/pgsql/data/pg_hba.conf by default is: local all all trust hostall all 127.0.0.1 255.255.255.255 trust what you have to do is to change trust into password or md5 hope that helps alex p.s. restart postgres after you change the conf file. On Fri, 12 Sep 2003, Kirk Strauser wrote: > At 2003-09-12T21:39:14Z, "Andrew L. Gould" <[EMAIL PROTECTED]> writes: > > > You're looking for something difficult when the easier answer is correct. > > > > As root, set pgsql's password by executing: > > > > passwd pgsql > > What would that buy me? After doing that, I can still access any database > on the system with: > > [EMAIL PROTECTED]:~$ psql -U pgsql template1 > Welcome to psql 7.3.4, the PostgreSQL interactive terminal. > > without being prompted for a password. I don't want users, even local > users, to have full run of the database as the user of their choice. > -- > Kirk Strauser > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to read CF card via USB with umass on 4.7-STABLE?
I have an old digital camera which has a 64MB CF card in it. A friend loaned me a USB card reader to extract the images. I don't seem to be able to mount it on FreeBSD-4.7-STABLE per the umass man page. After plugging in the card and USB reader, dmesg shows: umass0: PQI Travel Flash, rev 1.10/2.05, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 650KB/s transfers da1: 62MB (126976 512 byte sectors: 64H 32S/T 62C) The man page says: camcontrol rescan 0 Rescan a Zip drive that was added after boot. The command above assumes that the Zip drive is the first SCSI bus in the system. disklabel -w -r da0 zip100 newfs da0c mount -t ufs /dev/da0c /mnt I do the camcontrol and it appears to see it: thanatos# camcontrol rescan 0 Re-scan of bus 0 was successful thanatos# camcontrol devlist -v scbus0 on ahc0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) < > at scbus0 target -1 lun -1 () scbus1 on umass-sim0 bus 0: at scbus1 target 0 lun 0 (da1,pass1) scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) I skip the disklabel and newfs since I've got photos on it already. Attempts to mount fail: thanatos# mount -t ufs /dev/da1c /mnt mount: /dev/da1c on /mnt: incorrect super block thanatos# mount -t msdos /dev/da1c /mnt msdos: /dev/da1c: Invalid argument Any clues? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Securing the FreeBSD Console by removing OS Version
On Fri, Sep 12, 2003 at 03:44:14PM -0500, Ray Seals wrote: > I don't want the console to display the OS version number. I have > removed the %h variable from gettytab for my remote login users. Where > can I remove this info from the Console screen? Edit /etc/motd ? If you've got an /etc/issue file (or whatever the if property in gettytab(5) is set to), that will be displayed before the login prompt, and it gets the same sort of % expansion as done for the im (initial banner message) or lm (login prompt) properties. See also /etc/login.conf where the 'welcome' property can be changes to point to a different file than /etc/motd Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
ppp -auto dials immediately? (already tried the usual things)
Hi - I'm setting up ppp for the first time and it works with one exception. It always dials immediately. I've done the usual things and stopped all the processes, etc... What's weird is that logging seems to indicate that this is causing it: tun0: TCP/IP: OUT <0>: fe80::230:1bff:feae:22e7 ---> ff02::1:ffae:22e7 (72) which looks like ipv6 which I'm *not* using... which makes me, well, very confused. The entire log snippet (about 4k) is at the url below. http://www.adhesivemedia.com/~philip/ppp.log Anyone have any ideas as to what is causing it to dialup? thanks -philip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Map Windows Key under syscons
On Wed, 10 Sep 2003, Stefan Malte Schumacher wrote: > > Hi > > I would like to be able to use the Windows Key as "Meta" while using syscons > - it much easier to reach then escape. I have found out with xev that the > scancode of this key is 115. After this I opened the German-Iso-Keymap with > an editor and found out that there are 108 lines with numbers and functions. > I thereby assumed that by copying the Meta-Line and adding it as Nr.115 at > the end I should be able to use the Windows-Key as Meta, but this did not > work. (It just beeps when I press Windows - after reloading the keymap of > course). So how can I map Windows to Meta ? The "windows" keys are 105 and 106 and the "Menu" key is 107. These lines, or something like them may do what you want. 105 meta fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O 106 meta fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O 107 escfkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 O 108 nopnopnopnopnopnopnopnop O Note: this will not carry over to X. Also, the numbers of the keys are different in X, so no X program can give you the right answers about console keymaps. -- Lars Eighner [EMAIL PROTECTED] -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN tx 78753-5266 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 23:12:07 +0200, Vincent Zee wrote: >>> How do I add a disk containing data to a new system without erasing >>> that data. >>> >>> I searched the mailinglist and the documentation but could not find >>> information >>> for this scenario. >>> >>> The system in question is running 4.8 >>> The disk is coming from a 5.1 system and uses ufs with softupdates. >>> The disk has one partition. > >> >> Would that be UFS1 with softupdates or UFS2 with softupdates? >> I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 >> when you made the file system on FreeBSD 5.1, you got UFS2 format. >> >> Otherwise the disk should just move. (The MBR partition/slice table >> and the FreeBSD disk-label/partition-table formats are the same.) >> >> dan I'm very relieved and happy to have my disk back. Changing my system from 4.8 to 5.1 did the trick. Thanks all for your help. /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: max physical memory per process?
Charles Swiger wrote: > On Friday, September 12, 2003, at 04:19 PM, Steven G. Kargl wrote: > > Assuming that a user has the proper resource limits > > set and assuming that the system has sufficient physical > > memory, what is the maximum amount of physical memory > > that a process can allocate? In particular, if I have > > a Tyan K8W (dual opteron platform) with 16 GB of memory, > > can my numerical simulation allocate up 15+ GB? > > If FreeBSD takes advantage of the Opteron as a 64-bit (LP) platform, > yes. Otherwise, you're probably limited to around 3 GB. > I guess the gist of the question is: "are 64-bit FreeBSD platforms limited to 4GB per process due to some underlying assumption in the ia32 vm code?" -- Steve http://troutmask.apl.washington.edu/~kargl/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RUS, 4.8
On Fri, Sep 12, 2003 at 09:43:21PM +, Daniela wrote: > On Friday 12 September 2003 14:34, Alex Zivenko wrote: > > Hallo all! > > I am russian, but I have FreeBSD 4.8 installed with onlu eng support. How > > can I add ru support in my X (I am using KDE), and in console? Thank's > > I think you need to modify the LANG environment variable in your .cshrc (or > whatever shell you're using). I'm not sure, however, whether it does modify > the language or only the character set. > > In KDE, open the control center and go to Regional & Accessibility -> > Country/Region and Language. > You need to install the additional language pack first: > # cd /usr/ports/russian/kde3-i18n > # make install To make the console work with Cyrillic characters, edit the /etc/ttys file and change the console type from 'cons25' to 'cons25r'. Set the console fonts to use the koi8 character set by assigning the variables in /etc/rc.conf, and choose an appropriate keyboard map: font8x14="koi8-r-8x14" font8x16="koi8-r-8x16" font8x8="koi8-r-8x8" keymap="ru.koi8-r" (or there are koi8-u- font variants. Not entirely sure what the difference is there.) These will become the defaults at the next reboot. See kbdmap(8)/vidfont(8) for an interactive tool for changing the console fonts. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Trying to secure PostgreSQL
At 2003-09-12T21:39:14Z, "Andrew L. Gould" <[EMAIL PROTECTED]> writes: > You're looking for something difficult when the easier answer is correct. > > As root, set pgsql's password by executing: > > passwd pgsql What would that buy me? After doing that, I can still access any database on the system with: [EMAIL PROTECTED]:~$ psql -U pgsql template1 Welcome to psql 7.3.4, the PostgreSQL interactive terminal. without being prompted for a password. I don't want users, even local users, to have full run of the database as the user of their choice. -- Kirk Strauser pgp0.pgp Description: PGP signature
Re: Script doesn't complete via Cron
Ok, I figured out the problem. The step that creates the zip file, wasn't creating the zip file, because, I wasn't using the full path to the zip command. Since there was no files to scp, the script ended. Once I started using /usr/local/bin/zip, things started working correctly with cron. Gerard Samuel wrote: Script -> #!/bin/sh # # To roll up a zip file of source code # date=`date '+%Y-%m-%d'` cd ~/temp rm -rf foo_dev foo.zip export CVS_RSH=ssh export CVSROOT=:ext:[EMAIL PROTECTED]:/xxx/yyy/zzz cvs -Q export -D $date -d foo_dev foo zip -q -r foo foo_dev scp -q foo.zip server_name: rm -rf foo_dev foo.zip -- Cron job -> -- # export, zip up and scp foo source to server_name 17 14 * * * /home/bar/bin/export-foo 2> /dev/null > /dev/null -- When I execute the script by hand, it completes without any problems. When I let a cronjob handle it, it doesn't scp the zip file to the remote server. I don't get any errors in /var/log/auth.log or /var/log/messages Anyone has any ideas on how to fix this up? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Script doesn't complete via Cron
I'm extremely new to scripted scp, so this may be idiotic: Assuming you are using rsa or dsa public key authentication for the transfer, you need to make sure the crontab was setup from the account of the authenticated user. Setting it up under root's crontab won't work - the script will request a password to initiate the transfer and never receive a response. For example, I have an user account called "copy" created for scp transfers. This user has an rsa key assigned and copied to each target server. I then set up a job using crontab -e from copy's account to initiate the transfer. If I try the same job using root's crontab, it fails (timeout waiting for a password response). Hopefully that drivel made some sense. Jim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gerard Samuel > Sent: Friday, September 12, 2003 1:26 PM > To: FreeBSD Questions > Subject: Script doesn't complete via Cron > > > Script -> > > #!/bin/sh > # > # To roll up a zip file of source code > # > > date=`date '+%Y-%m-%d'` > > cd ~/temp > rm -rf foo_dev foo.zip > export CVS_RSH=ssh > export CVSROOT=:ext:[EMAIL PROTECTED]:/xxx/yyy/zzz > cvs -Q export -D $date -d foo_dev foo > zip -q -r foo foo_dev > scp -q foo.zip server_name: > rm -rf foo_dev foo.zip > > -- > > Cron job -> > -- > # export, zip up and scp foo source to server_name > 17 14 * * * /home/bar/bin/export-foo > 2> /dev/null > /dev/null > -- > > When I execute the script by hand, it completes without any problems. > When I let a cronjob handle it, it doesn't scp the zip file to the > remote server. > I don't get any errors in /var/log/auth.log or /var/log/messages > Anyone has any ideas on how to fix this up? > > Thanks > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ___ This message was scanned and certified Virus Free by Alexssa | HNet. www.alexssa.net www.hnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to secure PostgreSQL
On Friday 12 September 2003 03:59 pm, Kirk Strauser wrote: > I'm running PostgreSQL 7.3 on a FreeBSD 5.1 server. The databases are > working well and it's humming along nicely, but I really want to secure it. > > In particular, my pg_hba.conf looks like: > >local all pgsql > trust hostall all 127.0.0.1 255.255.255.255 > md5 hostall all 10.0.5.16 255.255.255.255 md5 > > This isn't very good. Any user connecting to the machine via the network > is authenticated as expected, but local connections slide in without > protection. The biggest problem with this comes with running phpPgAdmin. > Since it runs under Apache on the same server, it uses a local connection > to the database. That means that Joe User can type > >Username: pgsql >Password: > > and have full read/write access to all of my databases. > > This is not good. > > The alternative seems to be re-writing the first line of pg_hba.conf as > >local all all md5 > > That works decently, *except* that I have to enter the password for `pgsql' > before the database startup. > > I've Googled for the answer, but there seems to be a tremendous amount of > chaff with the wheat. I know other admins have dealt with this; how did > you handle it? Is there an important document I'm missing somewhere? You're looking for something difficult when the easier answer is correct. As root, set pgsql's password by executing: passwd pgsql Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Software patents
Todd Stephens wrote: On Friday 12 September 2003 06:05 am, Ruben de Groot wrote: I think he was talking about putting a protest on the freebsd website, like some linux distributions have done (eg http://www.debian.org) This would be free, wouldn't it ? A large part of the reason of why I switched to FreeBSD from Linux was the absence of the patent/license fanaticism you find in the Linux community. If this were a Linux mailing list, 3/4 of the messages would be about the GPL and how MS is evil, while here we have nearly all messages being oriented towards learning how to use and improve FreeBSD. Hm, I think our current problem with the software politic in europe is a little bit more heavy than ms evil :-) I don't know about america, but our politicans didn't have neither any knowledge about software technology nor any idea about the consequences of allowing patents for thinggies like amazon's "One Click Buy" patent. But - by the way - any interested german who had read www.heise.de this week should had noticed that enough protests reached german politicans to open their eyes to the real virtual world. I can't believe other european countries missed that. So now is definitively to late for any protest on freebsd.org - 12 month earlier could had been a good idea (to wake up sleeping guys). But at the moment all of them are informed and inform their represants, too. I think the *BSD communities are comfortable enough in their positions that they don't need to direct so much attention to themselves in that way. But if any algorithm used in bsd will be patented in europe and the patent became valid, they may have a problem either. Best, Jens ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: 56k pccard modem connect speed?
fbsd_user wrote: > Issue this command from console after modem connection is complete > Cat /var/log/ppp.log | grep CONNECT Sweet. I must have missed that line in all the noise. Thanks. Another question: I know that WingNET's 3com Total Control Chassis (modem terminal server) will modulate connected modems up or down depending on line static, noise, etc... Are events like this logged in ppp.log? Is there a command I can run, while connected, that will tell me my current connect speed? Or is this something internal to the modem that I can't retreive? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 14:04:22 -0700 (PDT), Dan Strick wrote: > >> How do I add a disk containing data to a new system without erasing >> that data. >> >> I searched the mailinglist and the documentation but could not find >> information >> for this scenario. >> >> The system in question is running 4.8 >> The disk is coming from a 5.1 system and uses ufs with softupdates. >> The disk has one partition. > > Would that be UFS1 with softupdates or UFS2 with softupdates? > I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 > when you made the file system on FreeBSD 5.1, you got UFS2 format. > > Otherwise the disk should just move. (The MBR partition/slice table > and the FreeBSD disk-label/partition-table formats are the same.) > > dan Hi Dan, when on 5.1 I used the defaults so that would be UFS2 then. MMmm, ok sounds like a new install of 5.1 I guess (:-)) Thanks Dan and all the others who so kindly helped me!! /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
Vincent Zee <[EMAIL PROTECTED]> writes: > Hello, > > How do I add a disk containing data to a new system without erasing > that data. > > I searched the mailinglist and the documentation but could not find > information > for this scenario. > > The system in question is running 4.8 > The disk is coming from a 5.1 system and uses ufs with softupdates. > The disk has one partition. UFS1 or UFS2? 4.8 won't understand UFS2... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
> How do I add a disk containing data to a new system without erasing > that data. > > I searched the mailinglist and the documentation but could not find > information > for this scenario. > > The system in question is running 4.8 > The disk is coming from a 5.1 system and uses ufs with softupdates. > The disk has one partition. >>> Would that be UFS1 with softupdates or UFS2 with softupdates? I don't think FreeBSD 4.8 understands UFS2. If you didn't specify UFS1 when you made the file system on FreeBSD 5.1, you got UFS2 format. Otherwise the disk should just move. (The MBR partition/slice table and the FreeBSD disk-label/partition-table formats are the same.) dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trying to secure PostgreSQL
I'm running PostgreSQL 7.3 on a FreeBSD 5.1 server. The databases are working well and it's humming along nicely, but I really want to secure it. In particular, my pg_hba.conf looks like: local all pgsql trust hostall all 127.0.0.1 255.255.255.255 md5 hostall all 10.0.5.16 255.255.255.255 md5 This isn't very good. Any user connecting to the machine via the network is authenticated as expected, but local connections slide in without protection. The biggest problem with this comes with running phpPgAdmin. Since it runs under Apache on the same server, it uses a local connection to the database. That means that Joe User can type Username: pgsql Password: and have full read/write access to all of my databases. This is not good. The alternative seems to be re-writing the first line of pg_hba.conf as local all all md5 That works decently, *except* that I have to enter the password for `pgsql' before the database startup. I've Googled for the answer, but there seems to be a tremendous amount of chaff with the wheat. I know other admins have dealt with this; how did you handle it? Is there an important document I'm missing somewhere? -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." pgp0.pgp Description: PGP signature
Re: nforce 2 drivers aren't working
On Fri, Sep 12, 2003 at 04:41:05PM -0400, jason wrote: > Has anyone with a nforce2 board got the agp working? This driver is supported by nvidia, not FreeBSD. Kris pgp0.pgp Description: PGP signature
RE: 56k pccard modem connect speed?
Issue this command from console after modem connection is complete Cat /var/log/ppp.log | grep CONNECT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jesse Guardiani Sent: Friday, September 12, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: 56k pccard modem connect speed? Howdy list, I use: ppp -auto MyProvider to connect to the internet with my 56k pccard. How do I glean the connection speed? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [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]"
nforce 2 drivers aren't working
Has anyone with a nforce2 board got the agp working? I have been trying on my machine with the new driver /usr/src/sys/pci/agp_nvidia.c. When I load it as a module or compile it in I have problems. The cml is fine. When I start gnome or X the system freezes with a black screen, there is hard drive activity, and no response to keyboard input. I'm trying to rewrite the driver, but this is my first time at writting a driver. Any experiencies anyone has had would be helpful, and I can post any info anyone else thinks is relevent. Thanks, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Securing the FreeBSD Console by removing OS Version
I don't want the console to display the OS version number. I have removed the %h variable from gettytab for my remote login users. Where can I remove this info from the Console screen? -- Ray Seals <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: max physical memory per process?
On Friday, September 12, 2003, at 04:19 PM, Steven G. Kargl wrote: Assuming that a user has the proper resource limits set and assuming that the system has sufficient physical memory, what is the maximum amount of physical memory that a process can allocate? In particular, if I have a Tyan K8W (dual opteron platform) with 16 GB of memory, can my numerical simulation allocate up 15+ GB? If FreeBSD takes advantage of the Opteron as a 64-bit (LP) platform, yes. Otherwise, you're probably limited to around 3 GB. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
max physical memory per process?
Assuming that a user has the proper resource limits set and assuming that the system has sufficient physical memory, what is the maximum amount of physical memory that a process can allocate? In particular, if I have a Tyan K8W (dual opteron platform) with 16 GB of memory, can my numerical simulation allocate up 15+ GB? -- Steve http://troutmask.apl.washington.edu/~kargl/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:42:54 -0400 (EDT), Steve Bertrand wrote: >> 8 partitions: >> #size offsetfstype [fsize bsize bps/cpg] >>c: 2401074270unused0 0# (Cyl.0 - >> 14945*) >>d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - >> 14945*) >> super block size 0 > > Ok, try > > # mount /dev/ad5s1d /music2 bluebox# mount /dev/ad5s1d /music2 mount: /dev/ad5s1d on /music2: incorrect super block /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RUS, 4.8
On Friday 12 September 2003 14:34, Alex Zivenko wrote: > Hallo all! > I am russian, but I have FreeBSD 4.8 installed with onlu eng support. How > can I add ru support in my X (I am using KDE), and in console? Thank's I think you need to modify the LANG environment variable in your .cshrc (or whatever shell you're using). I'm not sure, however, whether it does modify the language or only the character set. In KDE, open the control center and go to Regional & Accessibility -> Country/Region and Language. You need to install the additional language pack first: # cd /usr/ports/russian/kde3-i18n # make install Regards, Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
56k pccard modem connect speed?
Howdy list, I use: ppp -auto MyProvider to connect to the internet with my 56k pccard. How do I glean the connection speed? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
> 8 partitions: > #size offsetfstype [fsize bsize bps/cpg] > c: 2401074270unused0 0# (Cyl.0 - > 14945*) > d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - > 14945*) > super block size 0 Ok, try # mount /dev/ad5s1d /music2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:36:34 -0400 (EDT), Steve Bertrand wrote: >> just the one partition. >> I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response >> "incorrect super block" > > What is the output from: > > # disklabel -r ad5 disklabel -r ad5 # /dev/ad5c: type: ESDI disk: ad5s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14945 sectors/unit: 240107427 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 2401074270unused0 0# (Cyl.0 - 14945*) d: 24010742704.2BSD 2048 16384 28552 # (Cyl.0 - 14945*) super block size 0 /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
> just the one partition. > I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response > "incorrect super block" What is the output from: # disklabel -r ad5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
At 03:28 PM 9/12/2003, Vincent Zee wrote: On Fri, 12 Sep 2003 15:19:42 -0400, Veritas wrote: > On Fri, 12 Sep 2003 21:16:45 +0200 > Vincent Zee <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > Try it as /dev/ad5 instead. Hi, I tried that and I got the same response. I also made a device entry for it in /dev cd /dev sh MAKEDEV ad5 mount /dev/ad5 /music2 mount: /dev/ad5 on /music2: incorrect super block /\ Vincent You need a slice there. If the system found the disk and booted fine. Look in /dev and see what is listed as ad5? Is there an ad5s1 ad5s2 ad5s3 ad5s4 etc? You will need to mount one of them. ad5 is the disk, you need a slice or partition... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:21:04 -0400 (EDT), Steve Bertrand wrote: >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > How many partitions were on the old drive? > > You might want to try > > # mount /dev/ad5s1x /music2 > > (where x == a,c,e,f or g, depending on the number of partitions you have > on the disk) > > Steve Hi Steve, just the one partition. I tried: /dev/ad5 /dev/ad5s1 /dev/ad5s1a with the same response "incorrect super block" /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 15:19:42 -0400, Veritas wrote: > On Fri, 12 Sep 2003 21:16:45 +0200 > Vincent Zee <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> In the dmesg it comes up as ad5 but when I mount it, it can't find the >> device. >> >> mount ad5 /music2 >> mount: ad5: No such file or directory > > Try it as /dev/ad5 instead. Hi, I tried that and I got the same response. I also made a device entry for it in /dev cd /dev sh MAKEDEV ad5 mount /dev/ad5 /music2 mount: /dev/ad5 on /music2: incorrect super block /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mac OS 9.2 won't start
On Fri, Sep 12, 2003 at 09:45:28AM -0700, lawrence lee wrote: > Hi. My Mac OS starts but the cursur is stuck and the system is > frozen, even after I restart the computer over and over. Does > anyone have any idea to fix this??? I hope someone will answer my > question soon... thank you. (the mouse is new so it is not a battery > probelm) Wrong list, dude, and please wrap your emails at 70 characters. Kris pgp0.pgp Description: PGP signature
Re: Re: How to add a disk to a new system without losing the data on it?
> In the dmesg it comes up as ad5 but when I mount it, it can't find the > device. > > mount ad5 /music2 > mount: ad5: No such file or directory How many partitions were on the old drive? You might want to try # mount /dev/ad5s1x /music2 (where x == a,c,e,f or g, depending on the number of partitions you have on the disk) Steve > > /\ > Vincent > > ___ > [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: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 21:16:45 +0200 Vincent Zee <[EMAIL PROTECTED]> wrote: > Hi, > > In the dmesg it comes up as ad5 but when I mount it, it can't find the > device. > > mount ad5 /music2 > mount: ad5: No such file or directory Try it as /dev/ad5 instead. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: How to add a disk to a new system without losing the data on it?
On Fri, 12 Sep 2003 21:14:46 +0200, Vincent Zee wrote: > On Fri, 12 Sep 2003 15:06:37 -0400, Kliment Andreev wrote: >>> Hello, >>> How do I add a disk containing data to a new system without erasing >>> that data. >> >> Check dmesg output to see the device name. Then try to mount that >> hard disk. >> If everything went fine, you might want to mount that HDD on every boot so >> check >> /etc/fstab. > Hi, In the dmesg it comes up as ad5 but when I mount it, it can't find the device. mount ad5 /music2 mount: ad5: No such file or directory /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
yet another newbie ppp/modem question
I'm having some trouble getting my modem up and running on FreeBSD 4.8. A search through the mailing list archives shows that many of the problems I've been wrestling with seem to have cropped up before, yet I haven't been able to follow any of the discussion to a workable answer. My modem is sitting on cuaa2 and I needed to re-compile my kernel to recognize that port. I did this and everything went fine, although I am getting the dreaded "sio5: configured irq 2 not in bitmap of probed irqs 0" error which I haven't found a solution for in any documentation or discussion. Just for laughs, I went ahead and tried to contact the modem via ppp, but when I enter the "term" command I get: "Warning: deflink: /dev/cuaa2: Bad file descriptor Failed to open /dev/cuaa2" I am now officially stuck and am entering a plea for help. The relevant lines from the kernel config file are pasted below. This looks right to me, but if anyone can think what I'm doing wrong (including RTFM references) I would be forever grateful. Thanks, Alex *** # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 device sio2at isa? port IO_COM3 irq 5 device sio3at isa? disable port IO_COM4 irq 9 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to add a disk to a new system without losing the data on it?
> Hello, > How do I add a disk containing data to a new system without erasing > that data. Check dmesg output to see the device name. Then try to mount that hard disk. If everything went fine, you might want to mount that HDD on every boot so check /etc/fstab. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to add a disk to a new system without losing the data on it?
Hello, How do I add a disk containing data to a new system without erasing that data. I searched the mailinglist and the documentation but could not find information for this scenario. The system in question is running 4.8 The disk is coming from a 5.1 system and uses ufs with softupdates. The disk has one partition. /\ Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script doesn't complete via Cron
At 14:26 12.09.2003 -0400, Gerard Samuel wrote: ... scp -q foo.zip server_name: rm -rf foo_dev foo.zip -- Cron job -> -- # export, zip up and scp foo source to server_name 17 14 * * * /home/bar/bin/export-foo 2> /dev/null > /dev/null -- When I execute the script by hand, it completes without any problems. When I let a cronjob handle it, it doesn't scp the zip file to the remote server. I don't get any errors in /var/log/auth.log or /var/log/messages Anyone has any ideas on how to fix this up? We had a similar problem with scp if I remember right. The problem was the remote server where a message was echoed during login with ssh (some echo stuff in the .profile or something like this). It seemed to be that scp got this echo-message too and then failed to operate. After removing the echo commands everything worked fine. Note: I may be wrong, its long time ago. Alexander -- -- Alexander Haderer Charite Campus Virchow-Klinikum Tel. +49 30 - 450 557 182Strahlenklinik und Poliklinik Fax. +49 30 - 450 557 117Sekr. Prof. Felix Email [EMAIL PROTECTED]Augustenburger Platz 1 www http://www.charite.de/rv/str/ 13353 Berlin - Germany -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script doesn't complete via Cron
- Original Message - From: "Gerard Samuel" <[EMAIL PROTECTED]> To: "FreeBSD Questions" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 1:26 PM Subject: Script doesn't complete via Cron > When I execute the script by hand, it completes without any problems. > When I let a cronjob handle it, it doesn't scp the zip file to the > remote server. > I don't get any errors in /var/log/auth.log or /var/log/messages > Anyone has any ideas on how to fix this up? > > Thanks > Try having the script call scp by the /path/to/the/scp/executable. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Script doesn't complete via Cron
Script -> #!/bin/sh # # To roll up a zip file of source code # date=`date '+%Y-%m-%d'` cd ~/temp rm -rf foo_dev foo.zip export CVS_RSH=ssh export CVSROOT=:ext:[EMAIL PROTECTED]:/xxx/yyy/zzz cvs -Q export -D $date -d foo_dev foo zip -q -r foo foo_dev scp -q foo.zip server_name: rm -rf foo_dev foo.zip -- Cron job -> -- # export, zip up and scp foo source to server_name 17 14 * * * /home/bar/bin/export-foo 2> /dev/null > /dev/null -- When I execute the script by hand, it completes without any problems. When I let a cronjob handle it, it doesn't scp the zip file to the remote server. I don't get any errors in /var/log/auth.log or /var/log/messages Anyone has any ideas on how to fix this up? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
In the last episode (Sep 12), Jesse Guardiani said: > Dan Nelson wrote: > > In the last episode (Sep 12), Jesse Guardiani said: > >> Dan Nelson wrote: > >> > In the last episode (Sep 11), Jesse Guardiani said: > >> > > >> >> 2.) What, exactly, is RES? `man top` describes it as this: > >> >> "RES is the current amount of resident memory", but does > >> >> that mean RES is included in SIZE? Or does that mean that > >> >> RES should be counted in addition to SIZE? > >> > > >> > RES the amount of SIZE that it currently in core > >> > >> OK. To clarify, you mean core kernel memory here? > >> If so, how is that significant? Why should I care? > >> > >> In other words, why would I ever want to know that? > > > > core meaning physical memory; user memory in this case. > > OK. And how does core, or user memory differ from SIZE memory > then? If X = SIZE - RES, where is X stored? You don't need to store it, since you know SIZE and RES :) X is any memory mapped into process space that is not in physical memory at the moment; it could be dirty or private pages swapped to disk, or program code that can be pulled from the binary on the filesystem if necessary, or malloced memory that hasn't been written to yet. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
Dan Nelson wrote: > In the last episode (Sep 12), Jesse Guardiani said: >> Dan Nelson wrote: >> > In the last episode (Sep 11), Jesse Guardiani said: >> > >> >> 2.) What, exactly, is RES? `man top` describes it as this: >> >> "RES is the current amount of resident memory", but does >> >> that mean RES is included in SIZE? Or does that mean that >> >> RES should be counted in addition to SIZE? >> > >> > RES the amount of SIZE that it currently in core >> >> OK. To clarify, you mean core kernel memory here? >> If so, how is that significant? Why should I care? >> >> In other words, why would I ever want to know that? > > core meaning physical memory; user memory in this case. OK. And how does core, or user memory differ from SIZE memory then? If X = SIZE - RES, where is X stored? > Processes can > lock kernel memory, but there's no easy way of listing that (it's > usually a small amount held in pipe or socket buffers and is > short-lived). The name "core" came from when memory bits were ferrite > rings magnetized by wires running through them. > > http://www.columbia.edu/acis/history/core.html Wow. That's a really cool bit of history. I don't quite understand how a core is "switched", but I'm sure it must have worked. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: *how to obtain a better result from this list*
Paredes Sánchez Martín A. wrote: Hi: I am looking for a mail that says how to obtain a better result from this list. Does someone can send to me? I forwarded "How to get best results from FreeBSD-questions", so there's no need to spam him with 10 copies :) David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
Jesse Guardiani <[EMAIL PROTECTED]> writes: > Dan Nelson wrote: > > > In the last episode (Sep 11), Jesse Guardiani said: > >> 1.) Where is my Free memory going? I can't account for it > >> in the SIZE and RES columns of the various processes. > >> These are relatively constant. > > > > Disk cache. > > I thought it might be something like that. My large test > messages are being written to disk over and over and over > as the message travels down the pipline. Makes a great case > for installing a RAM disk. :) No, probably not. The OS disk-caching is probably *more* efficient than letting the data go into a RAM disk at each stage. Considerably so, in fact. > > > >> 2.) What, exactly, is RES? `man top` describes it as this: > >> "RES is the current amount of resident memory", but does > >> that mean RES is included in SIZE? Or does that mean that > >> RES should be counted in addition to SIZE? > > > > RES the amount of SIZE that it currently in core > > OK. To clarify, you mean core kernel memory here? No, it's not in kernel space. "Core" just refers to RAM: the term is held over from the days when main memory was constructed out of little magnetic cores in a wire matrix. > If so, how is that significant? Why should I care? If your system starts swapping heavily, that will often be the clue that tells you why. Just one example. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Multimedia type of keybord....
Hi! Has KDE support for multimedia keyboards I have many externel buttons on my keybord such as "mute", "volume", "play/stop/pause /etc". How I can to use it In FreeBSD KDE? -- Best Regards, Denis. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
*how to obtain a better result from this list*
Hi: I am looking for a mail that says how to obtain a better result from this list. Does someone can send to me? maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mac OS 9.2 won't start
Hi. My Mac OS starts but the cursur is stuck and the system is frozen, even after I restart the computer over and over. Does anyone have any idea to fix this??? I hope someone will answer my question soon... thank you. (the mouse is new so it is not a battery probelm) - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
In the last episode (Sep 12), Jesse Guardiani said: > Dan Nelson wrote: > > In the last episode (Sep 11), Jesse Guardiani said: > > > >> 2.) What, exactly, is RES? `man top` describes it as this: > >> "RES is the current amount of resident memory", but does > >> that mean RES is included in SIZE? Or does that mean that > >> RES should be counted in addition to SIZE? > > > > RES the amount of SIZE that it currently in core > > OK. To clarify, you mean core kernel memory here? > If so, how is that significant? Why should I care? > > In other words, why would I ever want to know that? core meaning physical memory; user memory in this case. Processes can lock kernel memory, but there's no easy way of listing that (it's usually a small amount held in pipe or socket buffers and is short-lived). The name "core" came from when memory bits were ferrite rings magnetized by wires running through them. http://www.columbia.edu/acis/history/core.html -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail Spam Block question.
- Original Message - From: "Micheal Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 7:58 AM Subject: Sendmail Spam Block question. > I'm getting numerous spam messages that are coming in with headers such as: > > > Received: from 67.66.xxx.x. ([220.201.80.37]) > > Where 67.66.xxx.x is the actual Ip of my sendmail server and the actual > sending host is 220.201.80.37. Is there any way to block this type of spam > other than blocking 220.201.80.37? I can't place the ip in the access list > as it kills outbound mail from that system. > > Thanks. > > -- > > Micheal Patterson > Network Administration > Cancer Care Network > 405-917-0600 > I realize that I'm responding to my own initial message, but after reading it again, let me clarify. The source of the spam is 220.201.80.37, it's spoofing the hostname portion as 67.66.xxx.x which is the IP of my mx. Is there any way to configure Sendmail that, in this example, if it recieves connection that has the hostname field of 67.66.xxx.x. and it doesn't resolve back to the ip 220.201.80.37, to reject the message? -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Long-running connections stop working through a FreeBSD 5.1R firewall/NAT box...
Douglas Carmichael wrote: HTTP connections across the firewall work fine (ie. web browsing) and I can maintain a connection to a streaming radio station just fine from my PowerBook inside the firewall, but AIM, ICQ, and Yahoo Messenger seem to stay up for a while and then just unexpectedly disconnect (the client has to reconnect). What could be the problem? You're using NAT. NAT implementations have a finite number of dynamic rules available and/or time out old connections, thus dropping long-running persistent connections. (That behavior isn't desirable, but is "normal" for NAT) -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: passwort create with perl
On Fri, Sep 12, 2003 at 02:22:11PM +0200, thomas may wrote: > iam searching for a perl programm to create an freebsd user account > password, i dont want to change a password, i want to see it on the > command line, to copy and paste it into another application. You want to input the password to the perl program and get from it the password hash as stored in /etc/master.passwd? This will generate you the MD5 hash: #!/usr/bin/perl -w @pwchars = ('a' .. 'z', 'A' .. 'Z', '0' .. '9', '/', '.'); $salt = '$1$'; for (1 .. 8) { $salt .= $pwchars[rand @pwchars]; } $salt .= '$'; print crypt($ARGV[0], $salt), "\n"; Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
GTK2 build error
Hi all, I'm trying to build GAIM, and it depends on GTK2. Everything works up to the point where is tries to build scalable fonts for pango, and then the Makefile dies. Anyone have any ideas on what's causing this? I'm using the latest ports, AFAIK, just checked out yesterday with CVS. The build log is below. Thanks, Joseph Dunn ===> gaim-0.68 depends on executable: gmake - found ===> gaim-0.68 depends on file: /usr/local/bin/perl5.6.1 - found ===> gaim-0.68 depends on executable: pkg-config - found ===> gaim-0.68 depends on shared library: ao.3 - found ===> gaim-0.68 depends on shared library: audiofile.0 - found ===> gaim-0.68 depends on shared library: X11.6 - found ===> gaim-0.68 depends on shared library: glib-2.0.200 - found ===> gaim-0.68 depends on shared library: atk-1.0.200 - found ===> gaim-0.68 depends on shared library: pango-1.0.200 - not found ===>Verifying install for pango-1.0.200 in /usr/ports/x11-toolkits/pango ===> Installing for pango-1.2.5 ===> pango-1.2.5 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - not found ===>Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in /usr/ports/x11-fonts/XFree86-4-fontScalable ===> XFree86-fontScalable-4.3.0 depends on executable: ucs2any - found ===> XFree86-fontScalable-4.3.0 depends on file: /usr/X11R6/lib/X11/config/date.def - found ===> XFree86-fontScalable-4.3.0 depends on shared library: X11.6 - found ===> Configuring for XFree86-fontScalable-4.3.0 (cd /usr/ports/x11-fonts/XFree86-4-fontScalable/work/xc/fonts/encodings && imake -DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config -DTOPDIR=../../.. -DCURDIR=.; make Makefiles ; make includes ; make depend) "Makefile", line 664: Missing dependency operator "Makefile", line 666: Missing dependency operator "Makefile", line 667: Missing dependency operator "Makefile", line 668: Missing dependency operator "Makefile", line 669: Missing dependency operator "Makefile", line 671: Missing dependency operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable. *** Error code 1 Stop in /usr/ports/x11-toolkits/pango. *** Error code 1 Stop in /usr/ports/net/gaim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Boca multiport serial card
I am trying to get a Boca 8 port serial card running under 4.8- STABLE. I've added the following to my kernel, compiled it, and installed it: options COM_MULTIPORT #code for some cards with shared IRQs device sio4 at isa? port 0x100 flags 0xb05 device sio5 at isa? port 0x108 flags 0xb05 device sio6 at isa? port 0x110 flags 0xb05 device sio7 at isa? port 0x118 flags 0xb05 device sio8 at isa? port 0x120 flags 0xb05 device sio9 at isa? port 0x128 flags 0xb05 device sio10 at isa? port 0x130 flags 0xb05 device sio11 at isa? port 0x138 flags 0xb05 irq 10 If the card jumpers are configured for irq 12, I get the following from dmesg: sio4: configured irq 12 not in bitmap of probed irqs 0x404 sio5: configured irq 12 not in bitmap of probed irqs 0x404 sio6: configured irq 12 not in bitmap of probed irqs 0x404 sio7: configured irq 12 not in bitmap of probed irqs 0x404 sio8: configured irq 12 not in bitmap of probed irqs 0x404 sio9: configured irq 12 not in bitmap of probed irqs 0x404 sio10: configured irq 12 not in bitmap of probed irqs 0x404 sio11: configured irq 12 not in bitmap of probed irqs 0x404 But if the jumpers are configured for IRQ 10, I don't see anything related to sio4..11 in dmesg. With regards to devices: $ ls /dev/sio* ls: /dev/sio*: No such file or directory I haven't done any MAKDEVs. Is that necessary. I thought not because I'm seeing this: sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 Clues please? Here's the card: http://www.fhttp://www.freebsddiary.org/images/boca-8-port-serial- card.jpg Here's dmesg output: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.8-STABLE #4: Fri Sep 12 09:26:38 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUCKY Timecounter "i8254" frequency 1193182 Hz CPU: Cyrix 6x86 (486-class CPU) Origin = "CyrixInstead" DIR=0x1531 Stepping=1 Revision=5 CPU cache: write-through mode real memory = 67108864 (65536K bytes) config> di pcic0 config> di psm0 config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di cs0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 61128704 (59696K bytes) Preloaded elf kernel "kernel" at 0xc041f000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc041f09c. md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 rl0: port 0x6000-0x60ff mem 0xe000- 0xe0ff irq 9 at device 17.0 on pci0 rl0: Ethernet address: 00:50:bf:17:70:13 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: at iomem 0xc-0xc7fff on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. ed0 at port 0x280-0x29f iomem 0xd800 irq 10 on isa0 ed0: address 00:c0:df:b0:0a:2b, type NE2000 (16 bit) IP Filter: v3.4.31 initialized. Default = block all, Logging = enabled ad0: 9541MB [19386/16/63] at ata0-master WDMA2 acd0: CDROM at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s1a -- Dan Langille : http://www.langille.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
built-in ftpd and uploaded file permissions
Dear experts, Using built-in ftpd, is it possible to control permissions of uploaded files for user anonymous? Files, uploaded by anonymous, have permissions 644 irrespective of mask values requested by 1) option -u for ftpd, and 2) from file login.conf I would prefer to have 660 for uploaded files, as input directory has --Srwx-wx mode. Thank you very much for any comment. Sergei ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: color in Xwindows
On Thu, Sep 11, 2003 at 06:03:19PM -0400, Gerald S Stoller wrote: > FreeBSD 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 > [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386 > > I am trying to put color in some of my messages (I am using > Xwindows ). One place where I found mention of color is in the manual > page of the ls command (search in there for the string "COLOR". I > picked a window and in it set TERM to xterm-color and exported it, > set CLICOLOR to a nonnull value and exported it, set LSCOLORS to the > default value mentioned there and exported it. Did an ls -l but it > showed up as usual. Then tried changing TERM to cons25 (also > mentioned in the man page) and exported it. Still nothing. >Can anyone direct me to documentation that will tell me how to > insert color in messages, both the fone and the backgroun, or write to me > how to do it? Thanks in advance. Try using `ls -G` for color output in ls. If that works, just put an alias in your shells config file. For bash it would look something like: alias ls='ls -G' don't know about other shells, though. Nathan -- gpg --keyserver pgp.mit.edu --recv-keys D8527E49 pgp0.pgp Description: PGP signature
Samba domain and guest users - security advice needed
Hi, I set up a FreeBSD/Samba server for our schools network and I think we need some kind of guest accounts, because students who don't visit one of our regular computer courses frequently forget their usernames or passwords. What would be the best way to achieve this? I could think of three possibilities: 1) Set up local guest accounts on the workstations 2) Set up a number of guest accounts for the domain 3) Set up no guest accounts at all, but place a list of all student's usernames and passwords in every teachers home directory (and hope that they won't forget their data). or ...? Thanks for any advices and ideas. Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sound Device Toruble
[EMAIL PROTECTED] wrote: I have a problem with my Toshiba Satellite 2105 CDS laptop I compiled the kernel with "device pcm" option, and I can see the card in dmesg, but when I'm trying to play smth to /dev/dsp0 the system is not respondig till hard-reboot. There is an ESS Maestro-2E Soundcard, and it works fine under Windows OS. Thanks. cat /dev/sndstat result: deathless# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at I/O port 0xff00 irq 11 (4p/0r/0v channels duplex default) uname -a: FreeBSD deathless 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MKERN i386 dmesg: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MKERN Preloaded elf kernel "/boot/kernel/kernel" at 0xc058c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc058c2bc. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 400911128 Hz CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x8800 real memory = 66912256 (63 MB) avail memory = 58994688 (56 MB) K6-family MTRR support enabled (2 registers) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <32-bit timer at 3.579545MHz> port 0x18a8-0x18ab on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00fec60 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 7.0 (no driver attached) pci0: at device 8.0 (no driver attached) ohci0: mem 0xf7fff000-0xf7ff irq 11 at device 11.0 on pci0 usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcm0: port 0xff00-0x irq 11 at device 12.0 on pci0 pcm0: atapci0: port 0x1800-0x180f at device 16.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 cbb0: at device 19.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 19 INTA is routed to irq 11 cbb1: at device 19.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: slot 19 INTB is routed to irq 11 atkb0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 Timecounters tick every 1.000 msec DUMMYNET initialized (011031) ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0% rl0: port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:02:44:3c:dd:0d miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ad0: 4126MB [8944/15/63] at ata0-master BIOSDMA acd0: CDROM at ata1-master BIOSPIO Mounting root from ufs:/dev/ad0s1a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Try recompiling the kernel without pcm support, and using the soundcard driver as a module (see snd_*.ko in the modules dir). #kldload snd_driver.ko Alin. smime.p7s Description: S/MIME Cryptographic Signature
Re: help
deepak patil wrote: Dear sir/ Madam, We are having Server with FreeBSD 4.6.2 - Release. I would like to know Some basic paths & Commands to start, stop the apache, sendmail , ftpd, mysqld services. How or Where Iwill find these services means what is the path for those. Please help me in this issue. Thanks & Regards Deepak patil - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Read the handbook available at www.freebsd.org, and see how things get installed from the ports, and what the ports are, and how to keep the up to date. Usually daemon start/stop scripts are located in /usr/local/etc/rc.d/. Alin. smime.p7s Description: S/MIME Cryptographic Signature
RE: Performance Problems.. Server hardware smoked by $500 box?
> The first step would be to try to quantify the performance > difference in serving the actual web pages. Find a single > page that you think is slow on the production system and that > can be accessed without having to be part of a session, and > quantify the performance difference for that page. Remember > you don't care about high load, just a single user request. > You could use apachebench ("ab", comes with apache... > something like "ab -c 1 -n 20 > http://server/path/to/page";) or any simple command line tool > that you can time (eg. repeatedly run "time GET http://server/path/to/page";). Do this from as near as possible to the box you are running the web browser that sees the slowness loading. I ran a couple of tests, and put the one you requested along with one of the more amusing ones to me, below. These request a page that uses PHP sessions (the sessions are kept over NFS) and a couple of database queries. All 3 servers use the same database, tho obviously the database server handles them locally along with handling the files locally vs over NFS like the other two would. I think to sidestep any more testing that may/may not give us more clues, what we're going to press forward with is trying to get another >133Mhz FSB setup in here since they're so cheap and just testing to see if we see similar results if we set it's harddrive up as a mirror of the production web machine. If by using the same OS installation, and only change the underlying hardware, I'd say that would more-than-likely tell us if this is strictly a hardware issue, assuming it performs equally well as the development machine while using the production machine's setup. John Straiton jks@ clickcom.com Clickcom, Inc 704-365-9970x101 Running "ab -c 1 -n 10" on these machines: >Production Web over NFS Benchmarking 209.198.22.161 (be patient).done Server Software:Apache/2.0 Server Hostname:209.198.22.161 Server Port:80 Document Length:67769 bytes Concurrency Level: 1 Time taken for tests: 4.918 seconds Complete requests: 10 Failed requests:0 Broken pipe errors: 0 Total transferred: 681350 bytes HTML transferred: 677690 bytes Requests per second:2.03 [#/sec] (mean) Time per request: 491.80 [ms] (mean) Time per request: 491.80 [ms] (mean, across all concurrent requests) Transfer rate: 138.54 [Kbytes/sec] received >Production DB serving pages locally Benchmarking 209.198.22.35 (be patient).done Server Software:Apache/1.3.27 Server Hostname:209.198.22.35 Server Port:80 Document Length:68585 bytes Concurrency Level: 1 Time taken for tests: 2.232 seconds Complete requests: 10 Failed requests:0 Broken pipe errors: 0 Total transferred: 689870 bytes HTML transferred: 685850 bytes Requests per second:4.48 [#/sec] (mean) Time per request: 223.20 [ms] (mean) Time per request: 223.20 [ms] (mean, across all concurrent requests) Transfer rate: 309.08 [Kbytes/sec] received > Development Server over NFS Benchmarking dev.clickcomworks.net (be patient).done Server Software:Apache/1.3.27 Server Hostname:dev.clickcomworks.net Server Port:8000 Document Length:68237 bytes Concurrency Level: 1 Time taken for tests: 1.799 seconds Complete requests: 10 Failed requests:0 Broken pipe errors: 0 Total transferred: 686380 bytes HTML transferred: 682370 bytes Requests per second:5.56 [#/sec] (mean) Time per request: 179.90 [ms] (mean) Time per request: 179.90 [ms] (mean, across all concurrent requests) Transfer rate: 381.53 [Kbytes/sec] received Now with "ab -c 10 -n 10", which is just beautiful >Production Web over NFS Benchmarking 209.198.22.161 (be patient).done Server Software:Apache/2.0 Server Hostname:209.198.22.161 Server Port:80 Document Length:67769 bytes Concurrency Level: 100 Time taken for tests: 6.424 seconds Complete requests: 10 Failed requests:0 Broken pipe errors: 0 Total transferred: 817620 bytes HTML transferred: 813228 bytes Requests per second:1.56 [#/sec] (mean) Time per request: 64240.00 [ms] (mean) Time per request: 642.40 [ms] (mean, across all concurrent requests) Transfer rate: 127.28 [Kbytes/sec] received >Production DB over NFS Benchmarking 209.198.22.35 (be patient).done Server Software:Apache/1.3.27 Server Hostname:209.198.22.35 Server Port:80 Document Length:68585 bytes Concurrency Level: 10 Time taken for tests: 34.430 seconds Complete requests: 100 Failed requests:0 Broken pipe errors: 0 Total transferred: 6898700 bytes HTML transferred: 6858500 bytes Requests per second:2.90 [#/sec] (mean) Time per request: 3443.00 [m
Re: Inquiry Into Japanese-English Translation Opportunities
> > Good afternoon, > > I recently visited your website and was wondering if you might have > occasional need of assistance. > > I am a Japanese-English interpreter/translator based in Las Vegas, NV. > I am a court experienced interpreter with 30 years legal as well as technical > translation experience. > > Please advise to whom in your firm my credentials should be addressed, and if > there is an online application form. I believe that most of the documentation is translated in to Japanese. There are regular Japanese contributers to the FreeBSD project. You might want to get in touch with them. They post occasionally to these lists. jerry > > Thank you for your time. > > Sincerely, > > > James Wilson > Court Interpreter > > Wilson Associates > Japanese Language Services > 2451 No. Rainbow Blvd., #22-2140 > Las Vegas, NV 89108 USA > > (702) 515-0810 Tel. > (702) 898-8614 FAX > > Website: > Online Resume and Detailed Linguistic Credentials: > www.jameswilson.ontheweb.com > > Email: > [EMAIL PROTECTED] > [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]"
RUS, 4.8
Hallo all! I am russian, but I have FreeBSD 4.8 installed with onlu eng support. How can I add ru support in my X (I am using KDE), and in console? Thank's ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freeBSD 4.8
> > I am a very-very new LINUX/UNIX user. After being convinced by friends > that it is far better and stablethan windows architechture. So I bought the > LINUX Format magazine because it offered a full OS called FREEBSD 4.8 > I tried to install it and after a few a attempts I managed to install > it atlast but when it started up it asked for a login and password. >I must have missed something along the way because for the life of me I > had no clue what was happening on install. I searched the mag and the disc > and unfortunately I can't find any login or password detail. I tried > typing different stuff but to know avail... > > PLEASE tell me what I'm doing wrong and what I should do... What you first missed was the step in the installation process that asked you to set up an administration account with passwork. Or, you may have done it and forgotten it. It may be the 'root' account. If you can't remember or figure it out, then you can boot to single user and create one there. There are lots of descriptions in the archives on how to do it and instructions in the FreeBSD Handbook which in online at http://www.freebsd.org/ look for the handbook item or do a search for single user. Or do the search on Google. Create an account with root priviledge and go from there. Make sure you use a decently hard to guess password. reboot(you may have to CTRL-ALT-DEL) hit space when it asks and starts a countdownThen do: boot -s(wait for it to finish to a # prompt) RETURN/ENTERwhen it asks for shell fsck -p mount -u / mount -a swapon -a vipw (see http://scnc.k12.mi.us/howto/edit/vi.html for editing info) copy the line with 'toor' (eg make two of them) replace the 'toor' field with a real id (we use Rinitials) add a shell on the end of the line like '/bin/tcsh' or '/bin/sh' save and exit from vipw(type ESC:wq ) passwd Rinitials (whatever id you just created) and set the password shutdown -r now allow it to reboot and log in with the new id. jerry > > CLUELESS JOHN > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/53019 still open
> > Hello, > > I write Problem Report ports/53019 which include > a new port of kvirc3, which is a irc client. > > My question is why is this port not processed. > Is there somthing wrong with it? > I use it myself, unpatched but its still in beta and not released, no? I just submitted a problem with it yesterday that is going to be fixed and a snapshot made from CVS. Tuc/TTSG Internet Services, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: user-ppp faster then pppd ?
> > On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote: > > >The difference is too small to be meaningful. > > > > when you have 56k modem and ~4.5KB throughput 0.5KB can make a big > > difference > > I wonder if we're thinking of the same numbers. I've seen 56k modems > run at 14,000 bps on bad lines, but not often. 4,500 bps is pretty > slow. I was guessing he was mixing bits and bytes and means ~4.5 Kbytes/second which is pretty good on a 56k line. But, I could be guessing wrong. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Where can I find a log file for this ... ?
Hi, one FreeBSD machine at work froze, saying something about some kind of panic. I simply rebooted it, because I had no time then to have a close look at it. Is there some kind of log file where I could see this message again? Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: whereis fails
I am not 100 percent sure but if memory serves; the man pages are a port by themselves (for xfree), at which point they get installed separately. Those ports should be on disc 1. You can use /stand/sysintall to get back into those ports. My second thought is building/rebuilding the locate database. The files are located here: /var/db/locate.database locate database /usr/libexec/locate.updatedb Script to update the locate database /etc/periodic/weekly/310.locate Script that starts the database rebuild More info can be found by checking the man page. I hope this helps Pete --- Paul Cocker <[EMAIL PROTECTED]> wrote: > Trying to use the "whereis" command, e.g. whereis > XFree86-4 only to get the error: > > Warning: Couldn't stat file /usr/local/man! > Warning: Couldn't stat file /usr/X11R6/man! > XFree86-4: > > Neither of these directories exist (local, X11R6). > When I installed FreeBSD 4.7-RELEASE I installed > bin, crypto, man and ports. > > Paul > PLEASE NOTE: > ~~~ > This e-mail message is confidential and privileged. > It is intended solely for the use of the individual > or entity to whom it is addressed. If you are not > the intended recipient, please accept our apologies; > do not disclose, copy or distribute information in > this e-mail or take any action on reliance of its > content. To do so is strictly prohibited and may be > unlawful. Please inform us that the message has been > sent to you in error before deleting it. Thank you > for your co-operation. > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Quantum DLT4000 on 4.5-R: "Device busy"
Hi, > Greetings, > (Apologies in advance if this is not the correct list for this question) > > I am attemping to get a new tape drive (Quantum DLT4000, external) working > on my FreeBSD (4.5-R, i386) machine. The kernel detects the drive during > boot: > > ahc0: port 0xdc00-0xdcff mem > 0xe7003000-0xe7003fff irq 11 at device 13.0 on pci0 > aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs > sa0 at ahc0 bus 0 target 4 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 15) > > However, when trying to interact with the /dev/sa0 device via mt and tar > commands, the device is reported to be busy: > > [EMAIL PROTECTED]:/dev $ mt status > mt: /dev/nsa0: Device busy > ('mt offline' fails with the same message, as well) > > I have tried resetting the drive, changing SCSI IDs, rebooting, reseating > the tape cartridge, to no avail. The tape drive works under a > Solaris/Sparc 8 machine, so I do not believe the drive or cable are at > fault. > > I am unfamiliar with tape drives in general under BSD. Am I doing > something wrong? First, I presume you have waited for the tape to quite cycling after it is first inserted. If not, then it actually is busy. Second, we have seen this (or something that looks like it) with several machines that have DAT (DDS) drives. Of about 65 supposedly identical machines it happens on about 10 or 15 of them and we have not been able to discover a reliable solution. Sometimes a reboot with power-cycle (eg turn the power off and pull all power cords for a couple of minutes to let everything drain) clears it up, but most often not. So, if anyone has any good insight, I would also appreciate hearing about it. jerry > > -Luke > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dummynet Pipes
I've got a question about dummynet pipes, basically I've installed two rules per user to control their traffic flow: add 150 pipe 15 ip from 78.77.76.21 to any out pipe 15 config bw 512Kbit/s queue 10 add 160 pipe 16 ip from any to 78.77.76.21 in pipe 16 config bw 512Kbit/s queue 10 However, the first (outbound traffic) rule is not kicking in. And the users can upload at whatever capcity is on the backbone. Just wondering if I've configured it correctly, or if something is missing - Any help appericated. Colin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
Dan Nelson wrote: > In the last episode (Sep 11), Jesse Guardiani said: >> 1.) Where is my Free memory going? I can't account for it >> in the SIZE and RES columns of the various processes. >> These are relatively constant. > > Disk cache. I thought it might be something like that. My large test messages are being written to disk over and over and over as the message travels down the pipline. Makes a great case for installing a RAM disk. :) > >> 2.) What, exactly, is RES? `man top` describes it as this: >> "RES is the current amount of resident memory", but does >> that mean RES is included in SIZE? Or does that mean that >> RES should be counted in addition to SIZE? > > RES the amount of SIZE that it currently in core OK. To clarify, you mean core kernel memory here? If so, how is that significant? Why should I care? In other words, why would I ever want to know that? Thanks. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sound Device Toruble
I have a problem with my Toshiba Satellite 2105 CDS laptop I compiled the kernel with "device pcm" option, and I can see the card in dmesg, but when I'm trying to play smth to /dev/dsp0 the system is not respondig till hard-reboot. There is an ESS Maestro-2E Soundcard, and it works fine under Windows OS. Thanks. cat /dev/sndstat result: deathless# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at I/O port 0xff00 irq 11 (4p/0r/0v channels duplex default) uname -a: FreeBSD deathless 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MKERN i386 dmesg: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Fri Sep 12 04:53:50 EEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MKERN Preloaded elf kernel "/boot/kernel/kernel" at 0xc058c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc058c2bc. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 400911128 Hz CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x8800 real memory = 66912256 (63 MB) avail memory = 58994688 (56 MB) K6-family MTRR support enabled (2 registers) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <32-bit timer at 3.579545MHz> port 0x18a8-0x18ab on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00fec60 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 7.0 (no driver attached) pci0: at device 8.0 (no driver attached) ohci0: mem 0xf7fff000-0xf7ff irq 11 at device 11.0 on pci0 usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcm0: port 0xff00-0x irq 11 at device 12.0 on pci0 pcm0: atapci0: port 0x1800-0x180f at device 16.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 cbb0: at device 19.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 19 INTA is routed to irq 11 cbb1: at device 19.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: slot 19 INTB is routed to irq 11 atkb0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model GlidePoint, device ID 0 fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ppc0 port 0x778-0x77a,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 Timecounters tick every 1.000 msec DUMMYNET initialized (011031) ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0% rl0: port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:02:44:3c:dd:0d miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ad0: 4126MB [8944/15/63] at ata0-master BIOSDMA acd0: CDROM at ata1-master BIOSPIO Mounting root from ufs:/dev/ad0s1a ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: `top` process memory usage: SIZE vs RES
[EMAIL PROTECTED] wrote: [...] > J> 1.) Where is my Free memory going? > > given what you say > custom-python->>>qmail-scanner->clamd->qmail-queue > > This whole scenario is very memory intensive. First you have each email > "pythonized" and then qmail-scanner is *very* memory intensive, as it has > initially a very heavy duty perl script for each email before being passed > off to clamd. Clamd is a separate issue, since the only clamav command actually run from the pipeline (and thus under the restrictions of softlimit) is the clamdscan client, which is NOT memory intensive. Yes, clamd contributes to the overall memory footprint, but I'm only concerned with getting softlimit set properly at this point. My machine can always revert to swap, but the second softlimit is exceeded the email will be temporarily defered, which I consider a Bad Thing. Having said that, yes, it is still a very memory intensive pipeline. I took some time to profile the memory usage a few days ago, and it looks like the most memory the pipeline should ever use at any given point in time is ~12780K, with the following processes running: USER PID PPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND qmaild 24716 24553 0.0 0.2 920 460 ?? I 7:39PM 1:08.07 /var/qmail/bin/qmail-smtpd qmaild 24718 24716 0.0 0.3 884 488 ?? I 7:39PM 0:08.63 /usr/local/bin/qmail-qfilter /var/qmail/queue-filters/block-forged-sender.py -s qmailq 24730 24718 9.2 2.1 5052 3988 ?? S 7:41PM 0:55.87 /usr/bin/suidperl -T /dev/fd/4//var/qmail/bin/qmail-scanner-queue.pl (perl) qmailq 24739 24730 69.7 2.1 5052 3988 ?? R 7:43PM 0:06.55 /usr/bin/suidperl -T /dev/fd/4//var/qmail/bin/qmail-scanner-queue.pl (perl) qmailq 24740 24739 14.4 0.2 872 400 ?? R 7:43PM 0:01.28 /var/qmail/bin/qmail-queue (qmail-scanner is silly. For some reason it spawns a copy of itself, possibly to hand the message off to qmail-queue.) But even with the softlimit set to 15M, my huge test message to a server with only about 80M of free RAM (before sending the message. Free Memory dropped to ~500k while handling the message) somehow managed to exceed the softlimit. The exact same message, sent to a machine with ~600M of free RAM and an identical mail server setup, passed through the pipeline without tripping the softlimit. >From what I have seen while watching a huge message pass down the pipeline, none of the processes in the pipeline increase memory usage in proportion to email size. They're all relatively static. So I'm a little confused about why the softlimit would be tripped on a box that had less RAM (128M) but pass through successfully on a box with more RAM (1G). Would the act of using more swap effectively increase a process's: data segment usage? stack segment usage? locked physical pages per process? total of all segments per process? These are the things that softlimit limits (according to `man softlimit`), and I admittedly don't understand how any of the above translates to memory usage as shown by VSZ and RSS under `ps`, or SIZE and RES under `top`. Any ideas? > Maybe running vmstat -w 1 would give you a different perspective also. I'll check it out. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"