How to backup a disk ?
hi, I have a 6G disk and a 40G disk on which FreeBSD is installed. My system does not fill 6G yet and I'd like to copy it to the smaller disk before it grows. But I would like to have the copy bootable with preserved privileges UIDs and GIDs, only the fstab changed. Which tools could I use to get this backup? Thank you in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
MenuPopDown
many X applications complain : Can't open /usr/X11R6/lib/X11/doc/MenuPopdown.3.html at /usr/X11R6/bin/mkhtmlindex line 57. Can anyone tell me which pkg this file come from - so as to reinstall it ? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
port pkgview doesn't compile
Hi, trying to compile pkgview yields: - root@antsrv1 [/usr/ports/sysutils/pkgview] # make pkgview-0.0.6.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.gtnorthern.demon.co.uk/packages/pkgview/. Receiving pkgview-0.0.6.tar.bz2 (124278 bytes): 100% 124278 bytes transferred in 0.3 seconds (426.11 kBps) === Extracting for pkgview-0.0.6 Checksum OK for pkgview-0.0.6.tar.bz2. === pkgview-0.0.6 depends on executable: gmake - found === pkgview-0.0.6 depends on executable: libtool - found === pkgview-0.0.6 depends on file: /usr/local/bin/sed_inplace - found === pkgview-0.0.6 depends on shared library: gnomeui-2.0 - not found ===Verifying install for gnomeui-2.0 in /usr/ports/x11-toolkits/libgnomeui libgnomeui-2.0.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2. Attempting to fetch from ftp://archive.progeny.com/GNOME/sources/libgnomeui/2.0/. Receiving libgnomeui-2.0.5.tar.bz2 (965219 bytes): 100% 965219 bytes transferred in 5.1 seconds (183.50 kBps) === Extracting for libgnomeui-2.0.5 Checksum OK for gnome2/libgnomeui-2.0.5.tar.bz2. === libgnomeui-2.0.5 depends on executable: gmake - found === libgnomeui-2.0.5 depends on executable: libtool - found === libgnomeui-2.0.5 depends on executable: bison - not found ===Verifying install for bison in /usr/ports/devel/bison === Building for bison-1.75 make all-recursive Making all in config Making all in po Making all in lib Making all in data Making all in src make all-am Making all in doc makeinfo --no-split -I . `test -f 'bison.texinfo' || echo './'`bison.texinfo -o bison.info bison.texinfo:37: Unknown command `copying'. bison.texinfo:58: Unmatched `@end'. bison.texinfo:93: Unknown command `insertcopying'. makeinfo: Removing output file `bison.info' due to errors; use --force to preserve. *** Error code 2 Stop in /usr/ports/devel/bison/work/bison-1.75/doc. *** Error code 1 Stop in /usr/ports/devel/bison/work/bison-1.75. *** Error code 1 Stop in /usr/ports/devel/bison/work/bison-1.75. *** Error code 1 Stop in /usr/ports/devel/bison. *** Error code 1 Stop in /usr/ports/x11-toolkits/libgnomeui. *** Error code 1 Stop in /usr/ports/sysutils/pkgview. root@antsrv1 [/usr/ports/sysutils/pkgview] # Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:rebehn;ant.uni-bremen.de Phone : +49/421/218-4664 Fax :-3341 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port pkgview doesn't compile
On Fri, 2002-11-15 at 03:33, Heinrich Rebehn wrote: Hi, trying to compile pkgview yields: This is actually a build problem with bison, not pkgview. A quick search through the mailing list archives yielded http://www.freebsd.org/cgi/getmsg.cgi?fetch=1104716+0+/usr/local/www/db/text/2002/freebsd-questions/20021110.freebsd-questions Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
RE: restore question
Jack L. Stone wrote: There IS a program similar to Ghost with respect to making an image. It's called dd and it's already installed on your FBSD system. Run man 1 dd for options. Bear in mind that if you want an image of your whole disk, you'll need the 2nd one to be at least equal in size, but you will lose any part of the 2nd HD that is larger than HD #1 (I think Ghost does that too -- or used to). dd can be limited to imaging only a slice however. Ghost can be used: http://groups.google.com/groups?hl=nllr=ie=UTF-8selm=8t41s5%24nhh%241%40n yheter.crt.se Ghost will tread UFS/FFS as an array of blocks, The only problem is that ghost will copy everything: freespace files, superblocks. Zerofilling the filesystems might be a solution (never tried, but see link) dd can copy a single file, a part of a file, a raw partition or a part of a raw partition, and can even copy data from stdin to stdout while modifying it en route (Unix backup Recovery -- by Curtis Preston p.72) But how could I make an image from my system, and then write it to a (smaller) tape with dd? compressing it? Could I use zero-filling here as well? What about: http://partimage.sourceforge.net/ ? --- Met vriendelijke groet / with kind regards, R.J. Zoontjens __ / __ \ _/ /_/ _ ___ / /_/ / __ `/ __ / _ \/ ___/ __ \/ __ `__ \ / _, _/ /_/ / /_/ / __/ /__/ /_/ / / / / / / /_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/ Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de geadresseerde van dit bericht bent, verzoeken wij u dit bericht te vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te gebruiken, niet te kopieren en niet onder derden te verspreiden. This message may contain information which is privileged or confidential. If you are not the named addressee of this message please destroy it without reading, using, copying or disclosing its contents to any other person. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: restore question
On Fri, Nov 15, 2002 at 02:25:02AM +0100, Mark typed: - Original Message - From: Matthew Emmerton [EMAIL PROTECTED] To: R. Zoontjens [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 12:54 AM Subject: Re: restore question On Wed, 13 Nov 2002, Mark wrote: Worse even, how do I safely restore the / filesystem? (should it ever become corrupted). The reason I originally asked, is that I am building a new FreeBSD 4.7 server, in a test environment, which I then, when it is done, want to migrate to the real server. I really wish there was something like GHOST I could use for FreeBSD. I mean, just a prog that will make an image of the entire disk, that can be restored as an image. And I'm surprised, actually, that I cannot find such a program. While readily available for the home market, you would think that a need existed for servers too to have the ability to make image backups. Apart from migratory reasons, it would make a full restore a lot easier when I would just lose the then minutes or so restoring a GHOST image in case of a calamity, instead of the painstaking process of what basically boils down to doing a complete new install, spanning at least several hours. The traditional way to backup and restore filesystems in Unix has allways been dump(8) and restore(8). - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Console Messages Remotely
On Thu, Nov 14, 2002 at 05:59:27PM -0800, patrick gibson typed: I like how when I su to root in FreeBSD, I get the console messages to my virtual tty. I have one server, though, where these messages are not being displayed. I haven't changed anything of which that I'm aware that would cause this, and my /etc/syslog.conf file seems okay: *.err;kern.debug;auth.notice;mail.crit /dev/console This sends syslog messages to the console. If you su to root on a virtual tty, you're not on the console normally. To get the messages anyways put the following line in /etc/syslog.conf: *.err;kern.debug;auth.notice;mail.crit root When I login remotely, and become root, I would like authentication errors and such to display on my terminal. I seem to remember once seeing an option that asked me if I wanted /dev/console to be redirected to any root tty, but for the life of me, I can't seem to locate where this option is. Does anyone know how I can (re-)activate this? I'm running 4.6.2, by the way. Thanks in advance, Patrick To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
Ruben de Groot wrote: The traditional way to backup and restore filesystems in Unix has allways been dump(8) and restore(8). I use dump/restore for my filesystem backups (I use a tar-script for my userfiles because of platform-portability) The only problem I have is that I cannot boot with a live-cd or fixit floppy that has my ATA tape driver and my raid-driver. When I try to make a MINI kernel to create a custom boot disk, it won'f fit on the floppy... I posted my MINI kernel yesterday. --- Met vriendelijke groet / with kind regards, R.J. Zoontjens __ / __ \ _/ /_/ _ ___ / /_/ / __ `/ __ / _ \/ ___/ __ \/ __ `__ \ / _, _/ /_/ / /_/ / __/ /__/ /_/ / / / / / / /_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/ Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de geadresseerde van dit bericht bent, verzoeken wij u dit bericht te vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te gebruiken, niet te kopieren en niet onder derden te verspreiden. This message may contain information which is privileged or confidential. If you are not the named addressee of this message please destroy it without reading, using, copying or disclosing its contents to any other person. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Running out of swap space?????
I installed 4.7 on a 233MHz with 64MB of RAM. I then added the following packages: Apache2, mySQL, webmin, awstats and Cistron radius. Now boot up hangs when it starts local packages with the following error: Nov 15 00:36:53 clarabel /kernel: Mounting root from ufs:/dev/ad0s1a Nov 15 00:40:53 clarabel /kernel: swap_pager: out of swap space Nov 15 00:40:53 clarabel /kernel: swap_pager_getswapspace: failed Nov 15 00:40:53 clarabel /kernel: pid 108 (radiusd), uid 0, was killed: out of swap space I have removed most packages but it still hangs on the swap_pager error. The swap space is 128MB and none is used according to top. Does anyone know how to solve this? TIA for any help. Jonas Fornander - System Administrator Netwood Communications, LLC - www.netwood.net Find out why we're better - 310-442-1530 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
$CVSROOT/options file in FreeBSD cvs(1)
Hi there, I'm trying to make use of the FreeBSD hacks into cvs(1). I've read the Stijn Hoop's article in /usr/share/doc, and things partly works (I receive commit emails). What I can't get to work is custom tag expansion. roman@freepuppy ~/work/CVSROOT 1016:0 grep -rI BVista . ./options:tag=BVista=CVSHeader ./options:tagexpand=iBVista ./cfg_local.pm:$IDHEADER = 'BVista'; roman@freepuppy ~/work/CVSROOT 1025:0 grep -v ^# checkoutlist avail cfg.pm cfg_local.pm commit_prep.pl commitcheck commitinfo cvs_acls.pl cvsusers exclude log_accum.pl logcheck options rcstemplate readers tagcheck I know it's a dumb PEBKAC, but just can't see it. Any ideas? Oh, and BTW, is the handling of i/e in the tagexpand value a joke? As far as I can tell from /usr/src/contrib/cvs/src/rcs.c:RCS_setincexc, i means exclusive, e inclusive. Am I suffering from caffein deprivation? -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SAP specialists required for Europe.
Hello I have a couple of contacts who are in Germany and Switzerland who are both looking for SAP people for some new projects. They need people in various areas and they do not need to be German speakers or have permits for CH. The companies will look at people as long as they have good experience in an area of SAP. I also know a few German speakers looking for permanent work in Europe and hence if anyone knows of any positions I will forward them on the details. Please drop me a mail if of interest. Kind regards Jon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: $CVSROOT/options file in FreeBSD cvs(1)
# [EMAIL PROTECTED] / 2002-11-15 11:26:25 +0100: Hi there, I'm trying to make use of the FreeBSD hacks into cvs(1). I've read the Stijn Hoop's article in /usr/share/doc, and things partly works (I receive commit emails). What I can't get to work is custom tag expansion. got it to work. turned out cvs doesn't expand the keyword on update in an existing checkout if the update doesn't otherwise modify the file... or something. sorry for the noise. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Network Troubles.
Hi guys. I have two subnets with static public IP's. Both point to my hardware SDSL router. One is 80.123.16.64-80.123.16.71 with 80.123.16.65 as the router IP and the other 123.234.173.128-255 with 123.234.173.129 as the router IP. I have LAN behind my firewall. It uses 80.123.16.66 to talk to the outside. 80.123.16.66 resides on one nic with a couple extra 80.123.16.64/224 IPs aliased on it. I run natd and NAT these IP's to misc services behind my firewall. When I add both 80.123.16.66 and 123.234.173.130 to my firewall I can connect to and from my LAN fine. I can ping both IP's from inside and outside and connect to the services on my DMZ and to my LAN boxes. But I also have a few boxes on the 123.234.173.128/128 subnet connected directly to my switch which is connected to the router. When I add 123.234.173.130 to a separate nic on my firewall, I cannot talk to the other boxes on that subnet anymore, even though they are not connected to my firewall but directly to a hub. Every connection attempt from the LAN or outside fails. But then I can speak to 123.234.173.130 just fine. One more thing. I have 80.123.16.68 also connected directly to my switch and it works just fine. I am pretty confused. Any idea what can cause that? INTERNET - Router with 80.123.16.64-71 123.234.173.128-255 - 3com Switch - Firewall with 80.123.16.66, 80.123.16.67, 80.123.16.69 123.234.173.130 - Lan DMZ x | | | x A few boxes with public IP's - on both 80.123.16.64-71 123.234.173.128-255 and firewalling directly on them. Another thing, can I run natd on two different nics? Something like natd_interface=dc1 xl0 ? I want LAN and DMZ to use 2 different gw IP's. Thanks in advance. YazzY To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
error on p5-RPC-XML-0.27 installation
Hi! Can't install p5-RPC-XML-0.27 (FreeBSD 4.6). Get error: Can't locate object method splitpath via package File::Spec at etc/make_method line 95 Please help! Olga __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Dell Perc 4/Di
Dear Support, I have a Dell Power Edge 2600 with Dell PERC 4/Di disk controllers. I have FreeBSD 4.5 and from the list of drivers you only have upto PERC 3/Di Is there a working solution for this drivers ..? or does FreeBSD 4.6 or 4.7 current have the drivers Regards Michuki --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
SAP specialists required for Europe.
Hello I have a couple of contacts who are in Germany and Switzerland who are both looking for SAP people for some new projects. They need people in various areas and they do not need to be German speakers or have permits for CH. The companies will look at people as long as they have good experience in an area of SAP. I also know a few German speakers looking for permanent work in Europe and hence if anyone knows of any positions I will forward them on the details. Please drop me a mail if of interest. Kind regards Jon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: port pkgview doesn't compile
Heinrich Rebehn wrote: Hi, trying to compile pkgview yields: - root@antsrv1 [/usr/ports/sysutils/pkgview] # make pkgview-0.0.6.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.gtnorthern.demon.co.uk/packages/pkgview/. Receiving pkgview-0.0.6.tar.bz2 (124278 bytes): 100% 124278 bytes transferred in 0.3 seconds (426.11 kBps) === Extracting for pkgview-0.0.6 Checksum OK for pkgview-0.0.6.tar.bz2. === pkgview-0.0.6 depends on executable: gmake - found === pkgview-0.0.6 depends on executable: libtool - found === pkgview-0.0.6 depends on file: /usr/local/bin/sed_inplace - found === pkgview-0.0.6 depends on shared library: gnomeui-2.0 - not found ===Verifying install for gnomeui-2.0 in /usr/ports/x11-toolkits/libgnomeui libgnomeui-2.0.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2. Attempting to fetch from ftp://archive.progeny.com/GNOME/sources/libgnomeui/2.0/. Receiving libgnomeui-2.0.5.tar.bz2 (965219 bytes): 100% 965219 bytes transferred in 5.1 seconds (183.50 kBps) === Extracting for libgnomeui-2.0.5 Checksum OK for gnome2/libgnomeui-2.0.5.tar.bz2. === libgnomeui-2.0.5 depends on executable: gmake - found === libgnomeui-2.0.5 depends on executable: libtool - found === libgnomeui-2.0.5 depends on executable: bison - not found ===Verifying install for bison in /usr/ports/devel/bison === Building for bison-1.75 make all-recursive Making all in config Making all in po Making all in lib Making all in data Making all in src make all-am Making all in doc makeinfo --no-split -I . `test -f 'bison.texinfo' || echo './'`bison.texinfo -o bison.info bison.texinfo:37: Unknown command `copying'. bison.texinfo:58: Unmatched `@end'. bison.texinfo:93: Unknown command `insertcopying'. makeinfo: Removing output file `bison.info' due to errors; use --force to preserve. *** Error code 2 There are archive articles that a search will find on building Bison-1.75. You basically have to update gnu/usr.bin/texinfo to the latest stable version or upgrade to FreeBSD-4.7. The full details on updating just texinfo will lock you into a hybrid version. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How can I get a core dump?
On Fri, 2002-11-15 at 08:17, Duncan Anker wrote: Hi folks, I'm trying to debug an irritating little apache module problem. Periodically httpd is seg-faulting, so I have rebuilt it statically with full debugging flags and no strip options in an effort to find out why. I didn't look in apache sources, but it could set rlimits on coredump size to 0 (for security reasons). Maybe you can find from where setrlimit(2) fn is called, and comment it out. Regards, Sergey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: www.freebsd.org link broken!
On Thu, Nov 14, 2002 at 09:20:31PM -0500, Matthew Emmerton wrote: On Thu, Nov 14, 2002 at 04:14:38PM +1100, Jacob Rhoden wrote: Currently if you try the 'send a bug report' on www.freebsd.org, it reports permission denied!! To be precise: You don't have permission to access /send-pr.html on this server I would submit a bug report to notify people that the bug report page doesnt work, but well *grin* That's deliberate I'm afraid. Some unsociable nitwit was submitting dozens of bogus PR's and flooding various mailing lists. Could we not change the send-pr page to say sorry, this service has been temporarily discontinued. Please use send-pr(1) on your system instead. Best way to get that done is submit a PR, with patches... The reason they haven't temporarily changed the send-pr.html page, but have disabled it through the apache config, is that the whole www.freebsd.org web site is rebuilt out of CVS every night. No-one involved apparently either wanted to or had sufficient privileges to commit a temporary out to lunch page to CVS. Especially as they would only have to remove it fairly shortly afterwards. The apache config is not in the main FreeBSD CVS repo. as far as I can see, and it probably doesn't get auto-rebuilt in the same way. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: disabling root logins
For console: edit /etc/ttys change secure to insecure for each tty that you wish to keep root out of. On Fri, 2002-11-15 at 01:54, Ian Barnes wrote: Hi, I would like to disable root logins, both at console and through ssh ... where should I start ? thanks for the help Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Matt Smith [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Link equalization?
On Thu, Nov 14, 2002 at 06:27:48PM -0600, Tillman wrote: Is it possible to do something similar to Linux 2.4's ethernet link equalization (round-robin'ing, really) as described at http://www.linuxguruz.org/iptables/howto/2.4routing-10.html under FreeBSD? I'm trying to extract more speed from my NFS server, and I've already gotten about all I can out of 100Mbps by tuning :-) It certainly is. You can use Netgraph ng_one2many(4) to make a sythetic NIC by bundling together a number of network cards. You might find this page interesting: http://bsdvault.net/sections.php?op=viewarticleartid=98 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: MenuPopDown
On Fri, Nov 15, 2002 at 09:20:43AM +0100, [EMAIL PROTECTED] wrote: many X applications complain : Can't open /usr/X11R6/lib/X11/doc/MenuPopdown.3.html at /usr/X11R6/bin/mkhtmlindex line 57. Can anyone tell me which pkg this file come from - so as to reinstall it ? If the file is already installed, your system can: pkg_info -W /usr/X11R6/lib/X11/doc/MenuPopdown.3.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: MenuPopDown
Unfortunately the problem is precisely that the file is not present! I have seen its name appearing in a grep through devel/linux_compat (don't remember the exact name) pkg_list. However I think that itmust be coming from some more common pkg like XFree86 since normal x apps like xdu, refer to it during make install. Matthew Seaman wrote: On Fri, Nov 15, 2002 at 09:20:43AM +0100, [EMAIL PROTECTED] wrote: many X applications complain : Can't open /usr/X11R6/lib/X11/doc/MenuPopdown.3.html at /usr/X11R6/bin/mkhtmlindex line 57. Can anyone tell me which pkg this file come from - so as to reinstall it ? If the file is already installed, your system can: pkg_info -W /usr/X11R6/lib/X11/doc/MenuPopdown.3.html Cheers, Matthew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: MenuPopDown
On Fri, Nov 15, 2002 at 02:30:21PM +0100, [EMAIL PROTECTED] wrote: Unfortunately the problem is precisely that the file is not present! I have seen its name appearing in a grep through devel/linux_compat (don't remember the exact name) pkg_list. However I think that itmust be coming from some more common pkg like XFree86 since normal x apps like xdu, refer to it during make install. Perhaps you mean: % locate MenuPopdown.3.html /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html % pkg_info -W /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html was installed by package XFree86-manuals-4.2.0 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: MenuPopDown
that's it ! Matthew Seaman wrote: Perhaps you mean: % locate MenuPopdown.3.html /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html % pkg_info -W /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html /usr/X11R6/lib/X11/doc/html/MenuPopdown.3.html was installed by package XFree86-manuals-4.2.0 Cheers, Matthew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ÎÁÝÏ, Íàëîãîâàÿ ïîëèöèÿ RONYPMORZD
Ãîñïîäà! Åñëè Âû ïåðå÷èñëÿåòå ñðåäñòâà â ôèðìû«îäíîäíåâêè», êîòîðûå íå áîÿòñÿ âñòðå÷íîé ïðîâåðêè, òî Âàì ñëåäóåò çíàòü, ÷òî ðåàëüíî äèðåêòîðà ôèðìû «îäíîäíåâêè» íàéòè íåëüçÿ, ÷òî îáóñëîâëåíî ïîääåëêîé äîêóìåíòîâ.Âàì îáÿçàòåëüíî áóäóò çàäàâàòü âîïðîñû, êîíòðîëèðóþùèå îðãàíû (ÎÁÝÏ, Íàëîãîâàÿ ïîëèöèÿ è ïðî÷èå ÎÐÃÀÍÛ, ñèëîâûå ñòðóêòóðû) Âû îêàæåòåñü â íåïðèÿòíîé ñèòóàöèè, êîãäà Âàñ ïîïðîñÿò âñïîìíèòü êîîðäèíàòû äèðåêòîðà ôèðìû «îäíîäíåâêè», îáñòîÿòåëüñòâà ïåðåãîâîðîâ è çàêëþ÷åíèÿ äîãîâîðîâ ñ íèì. Ïî äàííûì ôàêòàì áóäóò âîçáóæäàòüñÿóãîëîâíûå äåëà, ïî êîòîðûì Âàñ áóäóò ïðèãëàøàòü íà äà÷ó ïîêàçàíèé. Áóäüòå, óâåðåíû, Âàì íå ïîâåðÿò. Êàê äàëüøå áóäóò ðàçâèâàòüñÿ îòíîøåíèÿ ñ êîíòðîëèðóþùèì îðãàíîì, çàâèñèò òîëüêî îò Âàøåé ñìåêàëêè è Âàøèõ âîçìîæíîñòåé. ÂÛÕÎÄ ÅÑÒÜ!!! Ìû ïðåäëàãàåì Âàì ïðîñòîå è áåçîïàñíîå ðåøåíèå ýòîé ïðîáëåìû. Ïðåäîñòàâëÿåì Âàì íà âûáîð 2 âàðèàíòà. * 1.ÂÀÐÈÀÍÒ Âû ïîêóïàåòå ïðåäïðèÿòèå, à ìû ïðåäîñòàâëÿåì ðåàëüíîãî ÷åëîâåêà íà äîëæíîñòü äèðåêòîðà, ñ êîòîðûì âñåãäà ìîæíî âûéòè íà êîíòàêò è êîòîðûé âñåãäà ìîæåò ñàì ëè÷íî îòâåòèòü íà âîïðîñû îðãàíîâ. * 2.ÂÀÐÈÀÍÒ Íàøå ïðåäïðèÿòèå ñ ðåàëüíûì äèðåêòîðîì, èìåþùèì ðîññèéñêîå ãðàæäàíñòâî è ìîñêîâñêóþ ïðîïèñêó, ïðåçåíòàáåëüíûé âèä, áîëüøîé îïûò ðàáîòû â äîëæíîñòè äèðåêòîðà è íàâûêè îáùåíèÿ ñ êîíòðîëèðóþùèìè îðãàíàìè, çàêëþ÷àåò äîãîâîð êóïëè ïðîäàæè, äîãîâîð ïîñòàâêè, äèñïåò÷åðñêîãî îáñëóæèâàíèÿ è ò.ä. è ò.ï. ñ Âàøèì ïðåäïðèÿòèåì. Ýòî ïîçâîëèò Âàì ìèíèìèçèðîâàòü íàëîãîîáëîæåíèå, à òàêæå ïîëó÷èòü óíèêàëüíûå ôèíàíñîâûå óñëóãè. Òåïåðü Âàì íå ïðèäåòñÿ âûäóìûâàòü ëåãåíäû î êàêîì òî ìèôè÷åñêîì äèðåêòîðå è î ìèôè÷åñêîì ñîòðóäíè÷åñòâå ñ ôèðìîé «îäíîäíåâêîé». * Äîïîëíèòåëüíàÿ óñëóãà - Ëèêâèäàöèÿ ôèðì ïóòåì ñìåíû ó÷ðåäèòåëåé è äèðåêòîðà, íà íàøåãî ðåàëüíîãî ÷åëîâåêà, à òàêæå ïîëîæèòåëüíîå àóäèòîðñêîå çàêëþ÷åíèå ïî äåÿòåëüíîñòè ïðåäûäóùåãî ðóêîâîäèòåëÿ, çà ëþáîé ïåðèîä ðàáîòû. - Ïî çàêàçó êëèåíòà ïîäãîòîâèì ðàçëè÷íûå âàðèàíòû ôèíàíñîâûõ ñõåì. Þðèäè÷åñêàÿ êîìïàíèÿ «Ìîñò» Áåðåãèòå ñåáÿ. Ìíîãîêàíàëüíûé òåëåôîí â Ìîñêâå 8 (095) 505 78 06 îòâåòû íàïðàâëåííûå íà e-mail íå îáðàáàòûâàåì!!! RONYPMORZDXXZOTOLUGTNPZDVSYYUOOMPBDNLV To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
PEP ( performance inhanced proxy )
Dear All I want to know if there is any free source PEP ( performance enhanced proxy ) implemented on FreeBSD or other UnixBased systems ? THANX _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Win2k - FreeBSD and VLAN
Hi guys. I have a FreeBSD firewall with a LAN behind it which I want to use as a VLAN server for VPN connections. How can I make it work when the VPN clients use Win2K/WinXP, FreeBSD and Linux with no static IP's ? What method and tool to chose? I've tried to make racoon to work with no luck. Thanks in advance. YazzY To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: restore question
At 05:25 AM 11.15.2002 +0100, Mark wrote: - Original Message - From: Jack L. Stone [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; Matthew Emmerton [EMAIL PROTECTED]; R. Zoontjens [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 15, 2002 2:57 AM Subject: Re: restore question There IS a program similar to Ghost with respect to making an image. It's called dd and it's already installed on your FBSD system. Run man 1 dd for options. Bear in mind that if you want an image of your whole disk, you'll need the 2nd one to be at least equal in size, but you will lose any part of the 2nd HD that is larger than HD #1 (I think Ghost does that too -- or used to). dd can be limited to imaging only a slice however. This questions comes up monthly and the archives has numerous postings over the past several months that will fill more details. Yes, the question comes up many times; yet the right answer keeps lacking. :) Before I asked, I had, of course, done a bit of searching. And found that there are many disadvantages to using dd. For one, using disk-blocks, instead of reading files sequentially, like tar and Ghost do, enhances the risk of data-corruption. For two, with dd you need to unmount filesystems first. Which makes it pretty useless on a production server. Yeah, like I can really afford to have my /usr slice be absent for half-an-hour. I think not. :) Actually, we are talking about backup, but the real issue is restore. Everybody can make a tar of the root system, or a dd image. Sure. Restoring it, however, in a manner that will yield you a bootable, instant runnable system, now that is another matter. And what to do with special cases like /dev? In all my perusing the net, I have yet to encounter one solution that said: This is how you can make a full system backup, with this image, that you can immediately restore on a blank harddisk, and have your system up and running again. Many suggestions I read about ways to backup. But, like I said, restoring is the real issue. I can backup /proc for sure; the wisdom of restoring it on a life system, however, is another matter. That is why the only clean way of doing this, would be to make a disk-image, like Ghost does. And Ghost, so unlike dd, does NOT use disk-blocks, but reads files sequentially. When making a disk image, Ghost basically just does several partition images, and then adds partition table info to the overall disk image. No need to zero out the disk first, like with dd, so as not to have it waste too much space. Still looking... - Mark Your research is a little short of the mark. I have made bootable backups many times using dd and dump/restore -- yes, and on a live system too. With a 40GB HD with 1GH CPU, a dd can be done in about 15 mins. That speed depends too on the bs=xxx size used all the way from 1024 to 1m. You can check the I/O speed like this: Here's an example with an IDE drive: #iostat ad0 1 tty ad0 cpu tin tout KB/t tps MB/s us ni sy in id 03 5.19 7 0.03 11 0 4 1 84 0 126 127.36 183 22.74 0 0 6 2 92 0 44 128.00 190 23.76 0 0 2 0 98 0 44 128.00 191 23.89 0 0 5 0 95 0 44 128.00 191 23.88 0 0 7 1 92 As you can see, it's really doing 128 kB transfers, for an average transfer rate of almost 24 MB/s. I've used 8192 and found it wasn't necessary to even run fsck on the backed-up HD... just switched the cables and booted right up. You will probably have to run fsck on dd'd HD images. I prefer to use a dump/restore script (tabkes care of FDISK/LABEL too) that keeps a bootable backup hard disk always at the ready (I also move backups across the network for more safety and have restored that on another HD with 100% success). Also, should I want to switch HDs around, I just run the script before shutdown. I've done it many times on a live system, but dropping down to single user is recommended. With dump/restore, I can backup a HD with 6GB in less than 10 mins. Yes, it is a busy box that I can't afford to have down any longer than necessary. I don't know what more you could want... there is NO Ghost that will work to my knowledge. I've done all of the same long searching just like you, but dump/restore is one of the SAFEST way of moving file systems. The handbook says it IS the safeest way. If you want to do it right, study up on dump/restore. I don't trust tar for live filesystems, or to keep permission/links straight although many do use tar. I've used it many times for moving the entire /usr directory. but wouldn't trust it on / or /var (/var maybe -- but why if I can use dump/restore so quickly?). Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
At 10:10 AM 11.15.2002 +0100, R. Zoontjens wrote: Jack L. Stone wrote: There IS a program similar to Ghost with respect to making an image. It's called dd and it's already installed on your FBSD system. Run man 1 dd for options. Bear in mind that if you want an image of your whole disk, you'll need the 2nd one to be at least equal in size, but you will lose any part of the 2nd HD that is larger than HD #1 (I think Ghost does that too -- or used to). dd can be limited to imaging only a slice however. Ghost can be used: http://groups.google.com/groups?hl=nllr=ie=UTF-8selm=8t41s5%24nhh%241%40n yheter.crt.se Ghost will tread UFS/FFS as an array of blocks, The only problem is that ghost will copy everything: freespace files, superblocks. Zerofilling the filesystems might be a solution (never tried, but see link) dd can copy a single file, a part of a file, a raw partition or a part of a raw partition, and can even copy data from stdin to stdout while modifying it en route (Unix backup Recovery -- by Curtis Preston p.72) But how could I make an image from my system, and then write it to a (smaller) tape with dd? compressing it? Could I use zero-filling here as well? Will the HD be bootable using Ghost.??? I prefer dd for imaging because it is part of the base FBSD system and thus I trust it more. However, although I have used dd many times, I prefer dump/restore for backup/restore of a FS. I move HDs from machine to machine often this way and boots right up. Dunno about Ghost Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Revert to OpenSSL from base
Hi all, sometime ago I installed OpenSSL from ports, but now I want to revert to the version installed with the base system. How do I tell pkgdb -F, after I deinstalled ports-openssl that the stale dependencies for openssl should be solved by using the base openssl? Stale dependency: apache+mod_ssl-1.3.27+2.8.12 - openssl-0.9.6d: openldap-2.0.25_3 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): TIA, Jan -- Jan Lentfer System Administrator Molecular Cell Biology / AG Holstein, Darmstadt University of Technology, Schnittspahnstr. 10, 64287 Darmstadt, Germany Tel: +49 6151 16 5563 / Tel private: +49 6155 899393 / mobile: +49 163 4712037 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
At 10:33 AM 11.15.2002 +0100, R. Zoontjens wrote: Ruben de Groot wrote: The traditional way to backup and restore filesystems in Unix has allways been dump(8) and restore(8). I use dump/restore for my filesystem backups (I use a tar-script for my userfiles because of platform-portability) The only problem I have is that I cannot boot with a live-cd or fixit floppy that has my ATA tape driver and my raid-driver. When I try to make a MINI kernel to create a custom boot disk, it won'f fit on the floppy... I posted my MINI kernel yesterday. --- Met vriendelijke groet / with kind regards, R.J. Zoontjens Hard disks, at least IDEs are really inexpensive. Why not just keep a second or third HD on your machine(s) to do backups.?? You've got the whole thing that way and in a crisis, you can be up and running on the backup HD only as long as it takes to shutdown, flip cables and reboot...just a few mins Tape is traditional, but slow and never as up to date as my backup HDs which I keep on each server. Also, move a copy of the dump files to a server that just holds backups for other machines then I can always restore to any HD of choice just in case of extreme breakdown (a crash in middle of a backup/restore to the backup HD for instance). Again, I can be back up and running within minutes, even with a substitute server. I have Internet connection cable already running over for standby on an emergency server just in case. All I have to do is restore on the slave backup machine... then take the HD to the backup server... plug in the cable and voila! ...up and running with very little loss of time or data. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Recompiling Sendmail?
On 2002-11-13 23:55, Mike Loiterman [EMAIL PROTECTED] wrote: Anish Mistry [mailto:mistry.7;osu.edu] wrote: On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: I suppose this might be better suited to the comp.mail.sendmail, but I'm posting it here because I believe my error is ultimately rooted in my use faulty use of FreeBSD rather then incorrect use of Sendmail. Indeed. I'm trying to add SMTP AUTH to my base installation of Sendmail installation without breaking anything! I installed cyrus-sasl without any problems. Now I need to add, according to the Sendmail.readme included with the cyrus-sasl, the following lines to my /etc/make.conf file: # Add SMTP AUTH support to Sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl I did that. Now the README says I need to Rebuild FreeBSD. I thought there would be a way around rebuilding the entire world when I just need to rebuild Sendmail You should really follow the instructions, and build world :) so I tried going into /usr/src/usr.sbin/sendmail and did a make all install but I got this error: This is how I do it: In make.conf: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL1 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl from a shell: cd /usr/src/usr.sbin/sendmail make cleandir make obj make make install This won't work either, if you don't have an old libsm library lying around in /usr/obj/usr/src/lib/libsm, and even in that case you should probably rebuild libsm anyway. I used my original config flags with your make commands and got this error: cc: /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: No such file or directory *** Error code 1 The sendmail installation that is part of the base system uses libsm.a which is not built when you cd into /usr/src/usr.sbin/sendmail, but is built separately from /usr/src/lib/libsm. The same libsm.a that is built as part of the buildworld process is then used to link sendmail and src/bin/rmail. The manual way out of this error that is stopping you is to build a clean copy of libsm.a and then rebuilt sendmail and rmail: # cd /usr/src/lib/libsm # make cleandir make cleandir # make obj make depend make all # cd /usr/src/usr.sbin/sendmail # make cleandir make cleandir # make obj make depend make all # cd /usr/src/bin/rmail # make cleandir make cleandir # make obj make depend make all All these steps and many more[1] will be taken care of if you use the recommended `make buildworld' procedure for upgrading. I hope this helps a bit, Giorgos. [1] Such as building the proper bits for the SSL support when this is required, and making sure that the changes to the libraries you have compiled don't cause build problems to the rest of the `world'. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: restore question
At 05:25 AM 11.15.2002 +0100, Mark wrote: - Original Message - From: Jack L. Stone [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; Matthew Emmerton [EMAIL PROTECTED]; R. Zoontjens [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, November 15, 2002 2:57 AM Subject: Re: restore question There IS a program similar to Ghost with respect to making an image. It's called dd and it's already installed on your FBSD system. Run man 1 dd for options. Bear in mind that if you want an image of your whole disk, you'll need the 2nd one to be at least equal in size, but you will lose any part of the 2nd HD that is larger than HD #1 (I think Ghost does that too -- or used to). dd can be limited to imaging only a slice however. This questions comes up monthly and the archives has numerous postings over the past several months that will fill more details. Yes, the question comes up many times; yet the right answer keeps lacking. :) Before I asked, I had, of course, done a bit of searching. And found that there are many disadvantages to using dd. For one, using disk-blocks, instead of reading files sequentially, like tar and Ghost do, enhances the risk of data-corruption. For two, with dd you need to unmount filesystems first. Which makes it pretty useless on a production server. Yeah, like I can really afford to have my /usr slice be absent for half-an-hour. I think not. :) Actually, we are talking about backup, but the real issue is restore. Everybody can make a tar of the root system, or a dd image. Sure. Restoring it, however, in a manner that will yield you a bootable, instant runnable system, now that is another matter. And what to do with special cases like /dev? In all my perusing the net, I have yet to encounter one solution that said: This is how you can make a full system backup, with this image, that you can immediately restore on a blank harddisk, and have your system up and running again. Many suggestions I read about ways to backup. But, like I said, restoring is the real issue. I can backup /proc for sure; the wisdom of restoring it on a life system, however, is another matter. That is why the only clean way of doing this, would be to make a disk-image, like Ghost does. And Ghost, so unlike dd, does NOT use disk-blocks, but reads files sequentially. When making a disk image, Ghost basically just does several partition images, and then adds partition table info to the overall disk image. No need to zero out the disk first, like with dd, so as not to have it waste too much space. Still looking... - Mark I missed this earlier. You say: That is why the only clean way of doing this, would be to make a disk-image, like Ghost does. I'm unaware of any backup that takes longer than a nanosecond where files will not have changed on a system by the time you are done making an image. Does Ghost sync the files again at the end of the backup??? I am not anti-Ghost, just pro-dump/retore and dd after that and tar after that.. because I feel I can trust them with my data. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Running out of swap space?????
I installed 4.7 on a 233MHz with 64MB of RAM. I then added the following packages: Apache2, mySQL, webmin, awstats and Cistron radius. Now boot up hangs when it starts local packages with the following error: Nov 15 00:36:53 clarabel /kernel: Mounting root from ufs:/dev/ad0s1a Nov 15 00:40:53 clarabel /kernel: swap_pager: out of swap space Nov 15 00:40:53 clarabel /kernel: swap_pager_getswapspace: failed Nov 15 00:40:53 clarabel /kernel: pid 108 (radiusd), uid 0, was killed: out of swap space I have removed most packages but it still hangs on the swap_pager error. The swap space is 128MB and none is used according to top. I don't know about what TOP is telling you about use, but 128MB is way way small for swap space on a modern machine. As a rule of thumb, I try to have 2 1/2 time memory size for swap space. Swap space is used for paging as well as swap. Just the act of loading up some big think can burn up a lot of space temporarily, even if it doesn't continue to use it. jerry Does anyone know how to solve this? TIA for any help. Jonas Fornander - System Administrator Netwood Communications, LLC - www.netwood.net Find out why we're better - 310-442-1530 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
Jack L. Stone wrote, Hard disks, at least IDEs are really inexpensive. Why not just keep a second or third HD on your machine(s) to do backups.?? Environmental hazard... like fire e.g. or the server motherboard burns out, water damage, etc... I can take tapes to another location. I do not have the money to afford a hot-site : Don't want my backups near something like this: http://www.radecom.nl/images/Fire.jpg Like the bible of backup/recovery says (Unix backup recovery -- by Curtis Preston): 1. Define (un)acceptable loss 2. Back up everything 3. Organize your backups -- 4. Protect against disasters 5. Document 6. test,test,test Tape is traditional, but slow and never as up to date as my backup HDs which I keep on each server. Also, move a copy of the dump files to a server that just holds backups for other machines then I can always restore to any HD of choice just in case of extreme breakdown (a crash in middle of a backup/restore to the backup HD for instance). Again, I can be back up and running within minutes, even with a substitute server. I have Internet connection cable already running over for standby on an emergency server just in case. All I have to do is restore on the slave backup machine... then take the HD to the backup server... plug in the cable and voila! ...up and running with very little loss of time or data. A NAS/SAN solution is nice but what about archiving? Archiving on hard-disks is a bit expensive for me. most of the time, NAS/SAN solutions also need tapes for achiving (http://www.nas-san.com/differ.html). For disk-cloning a Hdd would be a good solution. --- Met vriendelijke groet / with kind regards, R.J. Zoontjens __ / __ \ _/ /_/ _ ___ / /_/ / __ `/ __ / _ \/ ___/ __ \/ __ `__ \ / _, _/ /_/ / /_/ / __/ /__/ /_/ / / / / / / /_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/ Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de geadresseerde van dit bericht bent, verzoeken wij u dit bericht te vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te gebruiken, niet te kopieren en niet onder derden te verspreiden. This message may contain information which is privileged or confidential. If you are not the named addressee of this message please destroy it without reading, using, copying or disclosing its contents to any other person. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sendmail problems with a Verizon relay
Hey all. I recently got some great help here setting up sendmail to authorize against my ISP mail relay. The problem I am just noticing is that when I send mail, it looks like the Reply-To: or From header is getting rewritten. Take a look at it in this message. The Reply-To: header should say [EMAIL PROTECTED] The From: header should say [EMAIL PROTECTED] Chances are it says [EMAIL PROTECTED] This is the behavior I'm trying to fix. I don't know if it's in my sendmail.mc or at the verizon relay. Here are the relevant parts (I think) of my sendmail.mc: FEATURE(relay_based_on_MX) FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(`nocanonify') TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`SMART_HOST', `smtp:outgoing.verizon.net') MASQUERADE_AS(outgoing.verizon.net) FEATURE(masquerade_envelope) FEATURE(`authinfo', `hash -o /etc/mail/authinfo') Anyone have any ideas? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ filibuster, n.: Throwing your wait around. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Link equalization?
On Fri, Nov 15, 2002 at 01:00:50PM +, Matthew Seaman wrote: It certainly is. You can use Netgraph ng_one2many(4) to make a sythetic NIC by bundling together a number of network cards. You might find this page interesting: http://bsdvault.net/sections.php?op=viewarticleartid=98 Cheers, Matthew Thanks for the pointer! - Tillman -- Certainly the game is rigged. Don't let that stop you; if you don't bet, you can't win. Robert Heinlein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail problems with a Verizon relay
Uh, I think I found the problem. Very silly to be telling sendmail to Masquerade as outgoing.verizon.net when I don't want to masquerade as outgoing.verizon.net. I simply changed this line: MASQUERADE_AS(outgoing.verizon.net) to this: dnl MASQUERADE_AS(outgoing.verizon.net) effectively removing it from sendmail.mc. Rebuild sendmail.cf and restart sendmail, and that's it. I hope this helps someone else avoid the same silly mistake. Lou On 11/15/02 10:28 AM, Louis LeBlanc sat at the `puter and typed: Hey all. I recently got some great help here setting up sendmail to authorize against my ISP mail relay. The problem I am just noticing is that when I send mail, it looks like the Reply-To: or From header is getting rewritten. Take a look at it in this message. The Reply-To: header should say [EMAIL PROTECTED] The From: header should say [EMAIL PROTECTED] Chances are it says [EMAIL PROTECTED] This is the behavior I'm trying to fix. I don't know if it's in my sendmail.mc or at the verizon relay. Here are the relevant parts (I think) of my sendmail.mc: FEATURE(relay_based_on_MX) FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(`nocanonify') TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') define(`SMART_HOST', `smtp:outgoing.verizon.net') MASQUERADE_AS(outgoing.verizon.net) FEATURE(masquerade_envelope) FEATURE(`authinfo', `hash -o /etc/mail/authinfo') Anyone have any ideas? TIA Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ filibuster, n.: Throwing your wait around. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Peace, n.: In international affairs, a period of cheating between two periods of fighting. -- Ambrose Bierce, The Devil's Dictionary To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
At 04:32 PM 11.15.2002 +0100, R. Zoontjens wrote: Jack L. Stone wrote, Hard disks, at least IDEs are really inexpensive. Why not just keep a second or third HD on your machine(s) to do backups.?? Environmental hazard... like fire e.g. or the server motherboard burns out, water damage, etc... I can take tapes to another location. I do not have the money to afford a hot-site : Don't want my backups near something like this: http://www.radecom.nl/images/Fire.jpg Like the bible of backup/recovery says (Unix backup recovery -- by Curtis Preston): 1. Define (un)acceptable loss 2. Back up everything 3. Organize your backups -- 4. Protect against disasters 5. Document 6. test,test,test While that may have been the bible, common sense should apply and also times change. Last time I looked Tape drives and tapes were very expensive. HDs have become cheap, but until a year or so ago, they were not so cheap. This changes the dynamics while that bible remains static One can buy a 80GB HD for less than $100.00. A 40GB for about $70.00. How much do tape drives tapes cost..??? I do have tape for quick offsite removal. BUT, that tape is NOT as current as having a HD backup every day or even several times a day. We're not talking about disaster programs here, but backups and restores expeditiously. Furthermore, I did not say one shouldn't use tapes too if they choose to. Nor did I say I didn't keep backups offsite. One can never have too many backups. But, if I want my CURRENT data to be backed up should my main HD suddenly crash, I don't want to go looking for a tape backup to restore that takes a long time and is not nearly as current. Moreover, take a look, now there are accessories that are like drawers that hold your HD so they slip right in and out. Even have a handle on the front. What is to stop one from pulling out a HD from the backup server that has the server backups... If one doesn't have the budget for extra HDs, then other methods must be used obviously Common sense + backup/restore program + budget = solution (probably left something out of that quick equation). Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Recent samba and nmbd errors
Howdy folks, Yesterday I portupgraded samba. With no changes to my config file, I now frequently receive log messages along the lines of: Nov 15 07:54:32 athena nmbd[86271]: Error - should be sent to WINS server It's possible that I didn't build build using the exact sample options (via the menu-based port config) that I did originally - which leads to the second question: Is there a way to determine how an existing port was built? TIA, - Tillman -- Beauty is not diminished by being shared. Robert Heinlein To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Revert to OpenSSL from base
On Fri, Nov 15, 2002 at 03:46:27PM +0100, Jan Lentfer wrote: Stale dependency: apache+mod_ssl-1.3.27+2.8.12 - openssl-0.9.6d: openldap-2.0.25_3 (score:23%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Type Ctrl-D (ie. the Ctrl and D keys together) at this point, and pkgdb will delete the dependency. Before you start modifying the pkg database, be sure that you get a list of everything that once depended on the openssl port, in case you have to re-install to get round any shared library problems: pkg_info -R openssl\* Normally that shouldn't be a problem so long as the shared libraries have the same .so version number, but the OpenSSL people have stated that they aren't going to freeze the ABI until version 1.0 is released. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to backup a disk ?
hi, I have a 6G disk and a 40G disk on which FreeBSD is installed. My system does not fill 6G yet and I'd like to copy it to the smaller disk before it grows. But I would like to have the copy bootable with preserved privileges UIDs and GIDs, only the fstab changed. Which tools could I use to get this backup? First, I am presuming there is nothing you want to save on the small disk (or you have already preserved it somewhere). While booted to FreeBSD Used fdisk(8) to create one large FreeBSD slice on the small disk. fdisk -IB da1 (or ad1 or whatever device the disk is) will slice the disk and put a standard boot sector on it. Then use disklabel(8) to initialize the slice and add boot blocks disklabel -w -r -B da1s1 (or ad1s1 or whaever) Then use disklabel to edit the partition table on the slice Look at what you already have to figure out appropriate sizes. disklabel -e -r da1s1 (ad1s1 or watever) add the partitions as needed. Note the size is in 512 byte blocks Put '*' in for offset for all but partition a: and c: so disklabel will calculate offset for you. For a: and c: put in '0'. Take the defaults for fsize (1024) bsize (8192) and bps/cg unless you really want to play with that. Omit the comments at the end of the line after #. Partition c: is the whole slice and is type 'unused' partition b: will probably be swap and is type 'swap' The remaining partitions will be files systems and type '4.2BSD' Finally, run newfs on the newly created partitions, something like: newfs -b 8192 -f 1024 /dev/rda1s1a (or Rad1s1a or whatever) e etc Don't newfs the swap partition or the c: partition Make mount points for the new partitions cd / mkdir newpa mkdir newpe etc Edit fstab to add entries for the new partitions and mount them /dev/da1s1a/newpaufsrw2 2 /dev/da1s1e/newpeufsrw2 2 etc mount -a or just manually mount them mount /dev/da1s1a /newpa mount /dev/da1s1e /newpe etc Now you can dump restore cd /newpa dump 0af - / | restore rf - cd /newpe dump 0af - /prev_e_mount_pt | restore rf - etc Now, shutdown your system, swap the drives and reboot. If you made the partitions identical (in name eg a,b,e,f,etc, not size) and edited /etc/fstab before dumping root then it should all come up with running on the new smaller disk and with the old large disk mounted on the /newpa, /newpe, etc mount points. Note that everything but the dump /restore can be done ahead of time. If you are really worried about losing some thing, you will want to do the dump/restore part in single user mode. So, after getting all the partitions made and editing /etc/fstab. Shutdown/reboot, come up in single user mode. Then do fsck -p mount -u / mount -a or maybe mount -a -t ufs,nonfs if you have nfs mounts in fstab swapon -a Then do the dump/restore operations as indicated above. Then, shut down, sap drives and reboot. jerry Thank you in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Intel 845 graphics
Marc Currently XFree 4.2.x doesn't have a support native for this chipset. But we have two workaround: 1.- Select vesa driver and add VideoRam 32767 parameter. 2.- Install XFree from CVSUP version 4.2.99.2 This version had full support for this chipset but this will not make an entry in /var/de/pkg to be able to show that this package is installed with pkg_info command. We have to wait for version 4.3.x In the mean time, I'm trying to make the ports file for the cvs version. (--) PCI:*(0:2:0) Intel unknown chipset (0x2562) rev 1, Mem @ 0xf000/27, 0xffa8/19 --- Marc Dodsworth [EMAIL PROTECTED] wrote: Hi I'm trying to get XFree86 4.2.0_1.1 trying to run on a motherboard with an Intel's intregrated video. The board is an Intel 845GRGL using the Intel 845G chipset for Pentium IV. After reading through some messages relating to the Intel 810 video I have included the Device AGP option in to my kernel so the onboard video is now recognised as can be seen from the attatched dmseg output however when try and start X Windows it crashes with Symbol xf86InterpretEDID from module /usr/X11R6/lib/modules/libvbe.a is unresol$ Symbol XAAInit from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresol$ Symbol XAAInit from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresol$Hi I'm trying to get XFree86 4.2.0_1.1 trying to run on a motherboard with an Intel's intregrated video. The board is an Intel 845GRGL using the Intel 845G chipset for Pentium IV. After reading through some messages relating to the Intel 810 video I have included the Device AGP option in to my kernel so the onboard video is now recognised as can be seen from the attatched dmseg output however when try and start X Windows it crashes with Symbol xf86InterpretEDID from module /usr/X11R6/lib/modules/libvbe.a is unresol$ Symbol XAAInit from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresol$ Symbol XAAInit from module /usr/X11R6/lib/modules/drivers/i810_drv.o is unresol$ Symbol XAAFillSolidRects from module /usr/X11R6/lib/modules/drivers/i810_drv.o $ Symbol XAAFillSolidRects from module /usr/X11R6/lib/modules/drivers/i810_drv.o $ My /etc/X11/XF86config (attached to this message) file was generated by xf86config in text mode called by sysinstall. Can anyone suggest where I might be going wrong and where to find a fix? Thankx Marc Copyright (c) 1992-2002 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.7-STABLE #0: Fri Nov 8 13:47:16 CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEN Timecounter i8254 frequency 1193182 Hz CPU: Pentium 4 (1699.82-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf13 Stepping = 3 Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,b28,ACC real memory = 259260416 (253184K bytes) avail memory = 247873536 (242064K bytes) Preloaded elf kernel kernel at 0xc044a000. netsmb_dev: loaded Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00f4690 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 agp0: Intel 82845 (i845 GMCH) SVGA controller mem 0xffa8-0xffaf,0xf000-0xf7ff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xe800-0xe81f irq 11 at device 29.0 on pci0 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xe880-0xe89f irq 9 at device 29.1 on pci0 usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xec00-0xec1f irq 10 at device 29.2 on pci0 usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1 pcib1: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci1: PCI bus on pcib1 rl0: D-Link DFE-530TX+ 10/100BaseTX port 0xd800-0xd8ff mem 0xff8ff800-0xff8ff8ff irq 7 at device 0.0 on pci1 rl0: Ethernet address: 00:05:5d:28:98:fa miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto mlx0: Mylex version 2 RAID interface port 0xdc00-0xdc7f mem
FTP and cron
Hi. I'm still running FreeBSD 4.3, but I suspect the problem isn't specific to that one operating system. I'm having fits running ftp from cron jobs. Shell or expect scripts that execute perfectly from the terminal fail in a seeminly non- deterministic variety of ways when run from cron. No, it's not something simple like cron not running expect, or ftp being in non-interactive mode. The prework all runs correctly, I even set the hash byte count and get the feedback from that... when the put command starts, though, things get different! I get different progress messages, no hash marks, and apparently, no data transferred. The file NAME appears on the remote side, but is 0 length regardless of how long I wait. When I run the scripts from the terminal, it works fine. Can anyone lend any insight or point me in the right direction? Thanks! -- John Lind [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Running out of swap space?????
To Add more Swap http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-sp ace.html But I think adding more swap is not the good solution. You might need to find out what's happen to your swap. Maybe BAD sectors. Good Luck. || -Original Message- || From: [EMAIL PROTECTED] || [mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of || Jonas Fornander || Sent: Friday, November 15, 2002 1:28 AM || To: 'FreeBSD LIST' || Subject: Running out of swap space? || || || || || I installed 4.7 on a 233MHz with 64MB of RAM. I then || added the following || packages: || Apache2, mySQL, webmin, awstats and Cistron radius. || || Now boot up hangs when it starts local packages with the following || error: || || Nov 15 00:36:53 clarabel /kernel: Mounting root from || ufs:/dev/ad0s1a || Nov 15 00:40:53 clarabel /kernel: swap_pager: out of swap space || Nov 15 00:40:53 clarabel /kernel: swap_pager_getswapspace: failed || Nov 15 00:40:53 clarabel /kernel: pid 108 (radiusd), uid || 0, was killed: out of swap space || || I have removed most packages but it still hangs on the || swap_pager error. The swap space is 128MB and none is || used according to top. || || Does anyone know how to solve this? || || TIA for any help. || || Jonas Fornander - System Administrator || Netwood Communications, LLC - www.netwood.net || Find out why we're better - 310-442-1530 || || || To Unsubscribe: send mail to [EMAIL PROTECTED] || || || TEXT/PLAIN || with unsubscribe freebsd-questions in the body of the message || || || To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problems width ESS1869 and 5.0-CURRENT
Hi! I just cvsup-ed the -current branch the other day and rebuilt my kernel. I did this to have support for my FujiFilm FinePix 2800z-camera as a USB mass storage device. But since then my soundcard won't work! It shows up in during boot, and has the right nodes in /dev, but whenever I try to play a sound, the first tone freezes and the computer hangs. Nothing responds, and I have to hit the reset-button. I used to have option PNPBIOS in my kernel, but now I get 'option not supported' or something like that. It's an onboard Compaq OEM ESS1869 soundcard. Attached is my dmesg-output, /dev/sndstat, kernel configuration file and the hints file. Thanks in advance for any help. Svein Halvor # $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.10 2002/10/22 17:32:27 jhb Exp $ hint.fdc.0.at=isa hint.fdc.0.port=0x3F0 hint.fdc.0.irq=6 hint.fdc.0.drq=2 hint.fd.0.at=fdc0 hint.fd.0.drive=0 hint.fd.1.at=fdc0 hint.fd.1.drive=1 hint.ata.0.at=isa hint.ata.0.port=0x1F0 hint.ata.0.irq=14 hint.ata.1.at=isa hint.ata.1.port=0x170 hint.ata.1.irq=15 hint.adv.0.at=isa hint.bt.0.at=isa hint.aha.0.at=isa hint.aic.0.at=isa hint.atkbdc.0.at=isa hint.atkbdc.0.port=0x060 hint.atkbd.0.at=atkbdc hint.atkbd.0.irq=1 hint.atkbd.0.flags=0x1 hint.psm.0.at=atkbdc hint.psm.0.irq=12 hint.vga.0.at=isa hint.sc.0.at=isa hint.sc.0.flags=0x100 hint.vt.0.at=isa hint.apm.0.disabled=1 hint.apm.0.flags=0x20 hint.pcic.0.at=isa # hint.pcic.0.irq=10 # Default to polling hint.pcic.0.port=0x3e0 hint.pcic.0.maddr=0xd hint.pcic.1.at=isa hint.pcic.1.irq=11 hint.pcic.1.port=0x3e2 hint.pcic.1.maddr=0xd4000 hint.pcic.1.disabled=1 hint.sio.0.at=isa hint.sio.0.port=0x3F8 hint.sio.0.flags=0x10 hint.sio.0.irq=4 hint.sio.1.at=isa hint.sio.1.port=0x2F8 hint.sio.1.irq=3 hint.sio.2.at=isa hint.sio.2.disabled=1 hint.sio.2.port=0x3E8 hint.sio.2.irq=5 hint.sio.3.at=isa hint.sio.3.disabled=1 hint.sio.3.port=0x2E8 hint.sio.3.irq=9 hint.ppc.0.at=isa hint.ppc.0.irq=7 hint.ed.0.at=isa hint.ed.0.port=0x280 hint.ed.0.irq=10 hint.ed.0.maddr=0xd8000 hint.cs.0.at=isa hint.cs.0.port=0x300 hint.sn.0.at=isa hint.sn.0.port=0x300 hint.sn.0.irq=10 hint.ie.0.at=isa hint.ie.0.port=0x300 hint.ie.0.irq=10 hint.ie.0.maddr=0xd hint.fe.0.at=isa hint.fe.0.port=0x300 hint.le.0.at=isa hint.le.0.port=0x300 hint.le.0.irq=5 hint.le.0.maddr=0xd hint.lnc.0.at=isa hint.lnc.0.port=0x280 hint.lnc.0.irq=10 hint.lnc.0.drq=0 # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369 2002/10/19 16:54:07 rwatson Exp $ machine i386 cpu I686_CPU ident MIRRORBALL maxusers0 #To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints #Default places to look for devices. #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT#NFS usable as root device, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG
Install FreeBSD with no swap partition???
Can I install FreeBSD without swap space or I can add swapfile later? The goal is to make installation process easy. Thank. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
spamass-milter
Dear Sirs, === Applying FreeBSD patches for spamass-milter-0.1.2 /usr/bin/sed -e 's|/usr/local|/usr/local|g' /usr/ports/mail/spamass-milter/files/spamass-milter.sh.dist /usr/ports/mail/spamass-milter/work/spamass-milter.sh.dist /usr/bin/sed -e 's|/usr/local|/usr/local|g' /usr/ports/mail/spamass-milter/files/activation.txt /usr/ports/mail/spamass-milter/work/activation.txt === Configuring for spamass-milter-0.1.2 aclocal.m4: 411: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' aclocal.m4: 412: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' aclocal.m4: 565: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' *** Error code 1 Stop in /usr/ports/mail/spamass-milter. /usr/ports/mail/spamass-milter how should I fix it ?? Regards, (îÁÉÌÕÞÛÉÅ ÐÏÖÅÌÁÎÉÑ) Ilia Chipitsine (éÌØÑ ûÉÐÉÃÉÎ) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Install FreeBSD with no swap partition???
On Fri, Nov 15, 2002 at 07:21:37AM -0800, Krissada Jindanupajit (FreeBSD-question) wrote: Can I install FreeBSD without swap space or I can add swapfile later? The goal is to make installation process easy. It's possible to install without a dedicated swap partition so long as you have sufficient RAM. Probably not advisory to do so unless you have a specific reason. One installed you can easily add a file-backed swap area using vnconfig(8), and there's provision for adding a swap file like that in the startup scripts, so you can make it persist over reboots. However, I fail to see exactly how this makes installations any easier. You do know that you can automate sysinstall(8) actions by loading a config file, and that includes provision for creating whatever partitioning scheme you want. Do it right, and you can set up an auto-install CDRom that you just put into the drive and hit reboot. Come back a bit later, and there is your machine all ready to go. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
burncd on 4.7 + YAMAHA CRW2200E (again)
Hardware: PC Asus / Athlon processor OS : FreeBSD 4.7, GENERIC kernel During the boot, I read in syslog messages: ata1-slave: ATAPI identify retries exceeded ad0: 19546MB FUJITSU MPG3204AH E [39714/16/63] at ata0-master UDMA100 acd0: CD-RW YAMAHA CRW2200E at ata1-master PIO4 So the hard drive is primary master, the CD is secondary master. The CD works since I can mount data CD. It works under Linux with cdrecord. I can write CD-RW with: burncd -f /dev/acd0c blank burncd -f /dev/acd0c data MY_ISO_IMAGE fixate But with a CD-R the same (second) command fails and /var/log/messages says: Nov 15 14:56:58 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:56:58 tempo2 /kernel: ata1: resetting devices .. ata1-slave: ATAPI identify retries exceeded Nov 15 14:56:58 tempo2 /kernel: done Just once; what's about ATAPI identify retries exceeded'? There's nothing slave! Than, with a loop: Nov 15 14:57:56 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:57:56 tempo2 /kernel: ata1: resetting devices .. done Nov 15 14:59:13 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:59:13 tempo2 /kernel: ata1: resetting devices .. done Any hint? Thanks in advance, -- Jacques Beigbeder| [EMAIL PROTECTED] Service de Prestations Informatiques | http://www.spi.ens.fr Ecole normale supérieure | 45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96 F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to backup a disk ?
Thank you for this note. Actually as I had a previous version of FreeBSD on the small disk but not the same partitions I thought that I could use: # cd big-disk-partition # pax -rwX . /mnt/small-disk-folder to copy each of my partitions, and then edit the fstab on the small disk properly. This would avoid me the disklabel steps. But would it work ? My intention is not to backup the whole system on a regular basis, instead I 'd like to have the small disk to serve as repair tool in case of crash with one partiton dedicated to backup documents. What do you think ? Jerry McAllister wrote: First, I am presuming there is nothing you want to save on the small disk (or you have already preserved it somewhere). While booted to FreeBSD Used fdisk(8) to create one large FreeBSD slice on the small disk. fdisk -IB da1 (or ad1 or whatever device the disk is) will slice the disk and put a standard boot sector on it. Then use disklabel(8) to initialize the slice and add boot blocks disklabel -w -r -B da1s1 (or ad1s1 or whaever) Then use disklabel to edit the partition table on the slice Look at what you already have to figure out appropriate sizes. disklabel -e -r da1s1 (ad1s1 or watever) add the partitions as needed. Note the size is in 512 byte blocks Put '*' in for offset for all but partition a: and c: so disklabel will calculate offset for you. For a: and c: put in '0'. Take the defaults for fsize (1024) bsize (8192) and bps/cg unless you really want to play with that. Omit the comments at the end of the line after #. Partition c: is the whole slice and is type 'unused' partition b: will probably be swap and is type 'swap' The remaining partitions will be files systems and type '4.2BSD' Finally, run newfs on the newly created partitions, something like: newfs -b 8192 -f 1024 /dev/rda1s1a (or Rad1s1a or whatever) e etc Don't newfs the swap partition or the c: partition Make mount points for the new partitions cd / mkdir newpa mkdir newpe etc Edit fstab to add entries for the new partitions and mount them /dev/da1s1a/newpaufsrw2 2 /dev/da1s1e/newpeufsrw2 2 etc mount -a or just manually mount them mount /dev/da1s1a /newpa mount /dev/da1s1e /newpe etc Now you can dump restore cd /newpa dump 0af - / | restore rf - cd /newpe dump 0af - /prev_e_mount_pt | restore rf - etc Now, shutdown your system, swap the drives and reboot. If you made the partitions identical (in name eg a,b,e,f,etc, not size) and edited /etc/fstab before dumping root then it should all come up with running on the new smaller disk and with the old large disk mounted on the /newpa, /newpe, etc mount points. Note that everything but the dump /restore can be done ahead of time. If you are really worried about losing some thing, you will want to do the dump/restore part in single user mode. So, after getting all the partitions made and editing /etc/fstab. Shutdown/reboot, come up in single user mode. Then do fsck -p mount -u / mount -a or maybe mount -a -t ufs,nonfs if you have nfs mounts in fstab swapon -a Then do the dump/restore operations as indicated above. Then, shut down, sap drives and reboot. jerry Thank you in advance. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Running out of swap space?????
I installed 4.7 on a 233MHz with 64MB of RAM. I then added the following packages: Apache2, mySQL, webmin, awstats and Cistron radius. Now boot up hangs when it starts local packages with the following error: Nov 15 00:36:53 clarabel /kernel: Mounting root from ufs:/dev/ad0s1a Nov 15 00:40:53 clarabel /kernel: swap_pager: out of swap space Nov 15 00:40:53 clarabel /kernel: swap_pager_getswapspace: failed Nov 15 00:40:53 clarabel /kernel: pid 108 (radiusd), uid 0, was killed: out of swap space I have removed most packages but it still hangs on the swap_pager error. The swap space is 128MB and none is used according to top. H. Sorry for following up my own post. I didn't notice your memory size before. 64MB + 128MB is not a lot of total space. I am not surprised that you are running out of swap with Apache2, MySQL and webmin running plus other things. Those involve many processes and eat up a lot of space just existing, let alone doing anything. Try 4Xing the memory and 6Xing the swap. jerry I don't know about what TOP is telling you about use, but 128MB is way way small for swap space on a modern machine. As a rule of thumb, I try to have 2 1/2 time memory size for swap space. Swap space is used for paging as well as swap. Just the act of loading up some big think can burn up a lot of space temporarily, even if it doesn't continue to use it. jerry Does anyone know how to solve this? TIA for any help. Jonas Fornander - System Administrator Netwood Communications, LLC - www.netwood.net Find out why we're better - 310-442-1530 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: burncd on 4.7 + YAMAHA CRW2200E (again)
Just a stab in the dark, When I got my first cd burner, it would not burn but would read cd's fine, the problem was the burner had to use the master plug on the IDE cable. On 15 Nov 2002 at 17:49, Jacques Beigbeder wrote: Date sent: Fri, 15 Nov 2002 17:49:30 +0100 From: Jacques Beigbeder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:burncd on 4.7 + YAMAHA CRW2200E (again) Hardware: PC Asus / Athlon processor OS : FreeBSD 4.7, GENERIC kernel During the boot, I read in syslog messages: ata1-slave: ATAPI identify retries exceeded ad0: 19546MB FUJITSU MPG3204AH E [39714/16/63] at ata0-master UDMA100 acd0: CD-RW YAMAHA CRW2200E at ata1-master PIO4 So the hard drive is primary master, the CD is secondary master. The CD works since I can mount data CD. It works under Linux with cdrecord. I can write CD-RW with: burncd -f /dev/acd0c blank burncd -f /dev/acd0c data MY_ISO_IMAGE fixate But with a CD-R the same (second) command fails and /var/log/messages says: Nov 15 14:56:58 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:56:58 tempo2 /kernel: ata1: resetting devices .. ata1-slave: ATAPI identify retries exceeded Nov 15 14:56:58 tempo2 /kernel: done Just once; what's about ATAPI identify retries exceeded'? There's nothing slave! Than, with a loop: Nov 15 14:57:56 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:57:56 tempo2 /kernel: ata1: resetting devices .. done Nov 15 14:59:13 tempo2 /kernel: acd0: SEND_OPC_INFO command timeout - resetting Nov 15 14:59:13 tempo2 /kernel: ata1: resetting devices .. done Any hint? Thanks in advance, -- Jacques Beigbeder| [EMAIL PROTECTED] Service de Prestations Informatiques | http://www.spi.ens.fr Ecole normale supérieure | 45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96 F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message * * * * * * * * * ** * * * * * * * * To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How to backup a disk ?
Thank you for this note. Actually as I had a previous version of FreeBSD on the small disk but not the same partitions I thought that I could use: # cd big-disk-partition # pax -rwX . /mnt/small-disk-folder to copy each of my partitions, and then edit the fstab on the small disk properly. This would avoid me the disklabel steps. But would it work ? I would still use dump and restore to copy the partitions. If the small disk is already bootable you could periodically nuke what is in their partitions and dump the ones from the bigger disk and restore to the corresponding partition on the smaller one. If that is not your live backup, then you don't have to do that very often - just when you make an an OS change - like an upgrade. jerry My intention is not to backup the whole system on a regular basis, instead I 'd like to have the small disk to serve as repair tool in case of crash with one partiton dedicated to backup documents. What do you think ? Seems reasonable. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: restore question
Jack L. Stone wrote, While that may have been the bible, common sense should apply and also times change. Last time I looked Tape drives and tapes were very expensive. HDs have become cheap, but until a year or so ago, they were not so cheap. This changes the dynamics while that bible remains static One can buy a 80GB HD for less than $100.00. A 40GB for about $70.00. How much do tape drives tapes cost..??? I do have tape for quick offsite removal. BUT, that tape is NOT as current as having a HD backup every day or even several times a day. We're not talking about disaster programs here, but backups and restores expeditiously. Actually we were talking about a good bare-metal system recovery procedure (with dump/restore or dd or ghost). Not about the most-up-to-date backup. I will not make an image of my hard drive every night. In fact I make 2 kinds of backups: * dumps of filesystems (for long-term archiving) * nightly tar backups of userfiles (tar for cross platform portability) The dumps are not as frequent as the userfiles-backups. When updates are applied or new applications are installed, a new dump will be done (and archived, next to the old one). Furthermore, I did not say one shouldn't use tapes too if they choose to. Nor did I say I didn't keep backups offsite. One can never have too many backups. But, if I want my CURRENT data to be backed up should my main HD suddenly crash, I don't want to go looking for a tape backup to restore that takes a long time and is not nearly as current. Moreover, take a look, now there are accessories that are like drawers that hold your HD so they slip right in and out. Even have a handle on the front. What is to stop one from pulling out a HD from the backup server that has the server backups... If one doesn't have the budget for extra HDs, then other methods must be used obviously If speed of recovery is more important than off-site archiving, you are totally right! Personally, I prefer my archives on tape because a tape is less expensive and more reliable for that purpose. If you use the combined strategie (hdd frequent backups + Tape for archiving) it is a good solution. YMMV Common sense + backup/restore program + budget = solution (probably left something out of that quick equation). I agree --- Met vriendelijke groet / with kind regards, R.J. Zoontjens __ / __ \ _/ /_/ _ ___ / /_/ / __ `/ __ / _ \/ ___/ __ \/ __ `__ \ / _, _/ /_/ / /_/ / __/ /__/ /_/ / / / / / / /_/ |_|\__,_/\__,_/\___/\___/\/_/ /_/ /_/ Dit bericht kan vertrouwelijke informatie bevatten. Indien u niet de geadresseerde van dit bericht bent, verzoeken wij u dit bericht te vernietigen zonder van de inhoud kennis te nemen en de inhoud ervan niet te gebruiken, niet te kopieren en niet onder derden te verspreiden. This message may contain information which is privileged or confidential. If you are not the named addressee of this message please destroy it without reading, using, copying or disclosing its contents to any other person. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Recent samba and nmbd errors
On Fri, Nov 15, 2002 at 09:44:42AM -0600, Tillman wrote: Howdy folks, Yesterday I portupgraded samba. With no changes to my config file, I now frequently receive log messages along the lines of: Nov 15 07:54:32 athena nmbd[86271]: Error - should be sent to WINS server Note to self: setting wins support = yes fixes this. It's possible that I didn't build build using the exact sample options (via the menu-based port config) that I did originally - which leads to the second question: Is there a way to determine how an existing port was built? I haven't found a way to determine the build options yet. -T -- What is Zen? asked a monk. Brick and stone, responded Shih-T'ou. What is the Tao? A block of wood. - Zen Mondo To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FTP and cron
On Fri, Nov 15, 2002 at 10:39:31AM -0600, John wrote: No, it's not something simple like cron not running expect, or ftp being in non-interactive mode. The prework all runs correctly, I even set the hash byte count and get the feedback from that... when the put command starts, though, things get different! I get different progress messages, no hash marks, and apparently, no data transferred. The file NAME appears on the remote side, but is 0 length regardless of how long I wait. When I run the scripts from the terminal, it works fine. When you're running from cron(8) you get a very limited environment. You won't get a tty assigned to you, and the $TERM environment variable won't be set. That makes it difficult for ftp(1) to do any of the screen control things you may be expecting. Stuff like $FTP_PASSIVE_MODE, which is often set out of /etc/login.conf, won't be configured either. Actually, on reflection the symptoms you describe sound like ftp(1) active mode breakage to me --- you tend to get that if you're running a firewall on the client end of the ftp connection. Try using pftp(1) or equivalently, supplying the '-p' flag on the ftp command line. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Recent samba and nmbd errors
On Fri, 2002-11-15 at 17:24, Tillman wrote: On Fri, Nov 15, 2002 at 09:44:42AM -0600, Tillman wrote: Howdy folks, Yesterday I portupgraded samba. With no changes to my config file, I now frequently receive log messages along the lines of: Nov 15 07:54:32 athena nmbd[86271]: Error - should be sent to WINS server Note to self: setting wins support = yes fixes this. It's possible that I didn't build build using the exact sample options (via the menu-based port config) that I did originally - which leads to the second question: Is there a way to determine how an existing port was built? I haven't found a way to determine the build options yet. Presuming that you've not done a make dist clean as yet, in /usr/ports/net/samba, along with the Makefile for any given port, where there is a scripts dir (eg for samba, containing the menu-based config script) there should also be a Makefile.inc file that would containing the config options used when installing / upgrading a port. HTH Stacey -T -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FTP and cron
On Fri, Nov 15, 2002 at 10:41:24AM -0600, John wrote: I'm having fits running ftp from cron jobs. Shell or expect scripts that execute perfectly from the terminal fail in a seeminly non- deterministic variety of ways when run from cron. Just for completeness, here are the cron results and redirected file outputs, respectively, of the results of running the same stripped-down script. This script doesn't do all the prework that the big script does, but it still demonstrates the problem. Following both outputs is the script itself. The set env(TERM) vt100 thing was just a desparation measure I tried after reading in the expect man page about telnet hanging if there is no TERM environment set. Since new ftp can do somewhat sophisticated terminal things (progress bars), I thought it was worth trying. No difference. The only cleverness in this is to try to detect if things are working correctly or not by use of the hash detection and the exp_continue. If you chop that out and adjust the timeout value accordingly, it will take the script longer to fail (with a slow connection, which is what I'm dealing with), but again, the aggregate results are the same. I wish to emphasize that it's not purely an expect thing. I get the same aggregate results (a 0-length file created at the remote site and nothing else) from shell scripts, just less feedback. spawn ftp space.augsburg.edu Connected to aug20.augsburg.edu. 220 space.augsburg.edu FTP server ready. 331 Password required for mtm. 230 User mtm logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp progress off Progress bar off. ftp hash 8192 Hash mark printing on (8192 bytes/hash mark). ftp put crewtestdump local: crewtestdump remote: crewtestdump 200 PORT command successful. ftp put timeout spawn ftp space.augsburg.edu Connected to aug20.augsburg.edu. 220 space.augsburg.edu FTP server ready. 331 Password required for mtm. 230 User mtm logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp progress off progress off Progress bar off. ftp hash 8192 Hash mark printing on (8192 bytes/hash mark). ftp put crewtestdump local: crewtestdump remote: crewtestdump 150 Opening BINARY mode data connection for crewtestdump. # 226 Transfer complete. 47150 bytes sent in 16.41 seconds (2.80 KB/s) ftp quit quit 221-You have transferred 47150 bytes in 1 files. 221-Total traffic for this session was 47535 bytes in 1 transfers. 221-Thank you for using the FTP service on space.augsburg.edu. 221 Goodbye. #!/usr/local/bin/expect set env(TERM) vt100 set timeout 120 spawn ftp space.augsburg.edu expect ftp send progress off\r expect ftp send hash 8192\r expect ftp send put crewtestdump\r expect ftp {puts unexpected prompt; exit} \# {exp_continue} timeout {puts ftp put timeout; exit} 226 expect ftp send quit\r expect -- John Lind [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FTP and cron
On Fri, Nov 15, 2002 at 05:30:59PM +, Matthew Seaman wrote: On Fri, Nov 15, 2002 at 10:39:31AM -0600, John wrote: No, it's not something simple like cron not running expect, or ftp being in non-interactive mode. The prework all runs correctly, I even set the hash byte count and get the feedback from that... when the put command starts, though, things get different! I get different progress messages, no hash marks, and apparently, no data transferred. The file NAME appears on the remote side, but is 0 length regardless of how long I wait. When I run the scripts from the terminal, it works fine. When you're running from cron(8) you get a very limited environment. You won't get a tty assigned to you, and the $TERM environment variable won't be set. That makes it difficult for ftp(1) to do any of the screen control things you may be expecting. Well, I think that expect takes care of that, since it assigns a pty, and I had set TERM in an act of desparation... Stuff like $FTP_PASSIVE_MODE, which is often set out of /etc/login.conf, won't be configured either. Actually, on reflection the symptoms you describe sound like ftp(1) active mode breakage to me --- you tend to get that if you're running a firewall on the client end of the ftp connection. Try using pftp(1) or equivalently, supplying the '-p' flag on the ftp command line. WOW! Bingo! This was it. Works great now. The answer brings up almost as many questions as it answers, though. I understand ftp active and passive mode, but why... Never mind. You nailed that, too. Precisely correct, doctor! FTP_PASSIVE_MODE=YES is right there in /etc/login.conf. When I upgraded to FreeBSD 4.3 AND changed my firewall at the same time, the changes canceled each other out. The differences in the FTP dialog stayed below my visual filter threshold. Everything now works perfectly. As someone who has taught others the differences between ftp active and passive mode, I am doubly chagrinned that I so adamantly refused to acknowledge the truth so blatantly before me. When I went back and looked at those two outputs I mailed, well, wow, that should have been screaming at me, and I missed it. Thank you all for your patience, thank you all for your time, and thank you that it works, and I understand how/why/wherefore! That doesn't happen every day, you know... -- John Lind [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld problem - Error code 71
[EMAIL PROTECTED] writes: Hi. I have have FreeBSD 4.6-RC. I cvsuped to RELENG_4. I did: make buildworld - ok. make buildkernel KERNCONF=KKK- ok make installkernel KERNCONF=KKK - ok. But make installworld gave me an error: === usr.bin/pathchk install -s -o root -g wheel -m 555 pathchk /usr/bin *** Error code 71 Stop in /usr/src/usr.bin/pathchk. *** Error code 1 try ls -lo /usr/bin/pathchk To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SSH through a firewall
Hi, folks I often transfer files to my home machines from work using scp. Currently, if I want to move a file to a machine on my LAN, I first have to copy the file to a user home dir on the gateway box, then recopy it from the gateway to the internal box. How do I avoid this extra step? eg, 130.94.160.46 -- 12.225.249.250 10.0.0.2 (remote machine) (gateway) (destination) I have the proper keys in the proper places and the hosts files are OK. I appreciate any help. Please cc me, as this address is not subscribed to the list. Thanks! -- Best Regards, Joshua Lokken OMIC Portland Branch [EMAIL PROTECTED] 503 807 6538 - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Trouble setting up HP Deskjet 855Cse printer
Hi, I have been trying to set up HP Deskjet 855Cse with my machine running FreeBSD 4.7-RELEASE for a couple days and having trouble getting anything better than garbage printout. Snippet from dmesg -a : ppc0: Parallel port at port 0x378-0x37f drq 1 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP Probing for PnP devices on ppbus0: ppbus0: HEWLETT-PACKARD DESKJET 850C PCL,MLC,PML plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Polled port ppi0: Parallel I/O on ppbus0 Since kernel now recognizes the printer and /dev/lpt0, I ran a couple simple tests by sending data to /dev/lpt0 directly like the handbook suggested, it worked although with horrible staircase effect. Then I activated lpd, and start printing using lpr as regular user, but I could not get anything meaningful other than garbage, be that plain text file or postscript, just some random ASCII chars on the page. I thought this might be filtering problem, so I installed apsfilter package from the ports collection using the distribution CD. Here's my /etc/printcap after going thru apsfilter SETUP : # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL wulfgar|cdj850;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/wulfgar:\ :lf=/var/spool/lpd/wulfgar/log:\ :af=/var/spool/lpd/wulfgar/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this In the SETUP process, printing test page worked perfectly, I can see the usual 4 rectangle grid layout, complete with, font size testing,screening test, gamma test (tiger heads), geometric objects, and photo of Andreas Klemm. So I installed the setup into /etc/printcap and tried to print as regular user using lpr command some small PS files. It printed garbage, tried plain text file as well, same thing, garbage. Bothers me to no end, how come the test page is perfect but regular printing is screwed up totally ? Things I have tried so far : - Changing to interrupt mode (IRQ 7) and recompiled the kernel, same thing. - Disabled DMA specification (getting rid of drq 1), same thing. - Re-ran SETUP and printed test pages, all test pages printed perfectly. Fong _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problems with Intel EtherExpress PRO/100 PCMCIA card
Hi, I'm trying to enable a Intel EtherExpress PRO/100 PCMCIA card in my system (FreeBSD 4.7 stable, GENERIC kernel, Thinkpad X20). I've set pccard_enable=YES pccard_ifconfig=inet 192.168.17.25 netmask 255.255.255.0 in /etc/rc.conf. The dmesg regarding this card is: Nov 15 18:04:58 argus pccardd[54]: Card Intel(EtherExpress(TM) PRO/100 PC Card Mobile Adapter16) [PRO/100 M16A] [1.00] matched Intel (EtherExpress(TM) PRO/100 PC Card Mobile Adapter16) [(null)] [(null)] Nov 15 18:05:03 argus /kernel: xe0 at port 0x240-0x24f iomem 0xd1000-0xd1fff irq 11 slot 0 on pccard0 Nov 15 18:05:04 argus /kernel: xe0: Intel CE3, bonding version 0x45, 100Mbps capable Nov 15 18:05:04 argus /kernel: xe0: DingoID = 0x444b, RevisionID = 0x1, VendorID = 0 Nov 15 18:05:04 argus /kernel: xe0: Ethernet address 00:a0:c9:ba:15:79 Nov 15 18:05:03 argus pccardd[54]: xe0: Intel (EtherExpress(TM) PRO/100 PC Card Mobile Adapter16) inserted. Nov 15 18:05:09 argus /kernel: module_register: module pccard/xe already exists! Nov 15 18:05:09 argus /kernel: linker_file_sysinit if_xe.ko failed to register! 17 Nov 15 18:05:09 argus pccardd[54]: pccardd started Nov 15 18:05:20 argus /kernel: xe0: watchdog timeout; resetting card pccardc dumpcis gives: Code 136 not found Code 136 not found code Unknown ignored Code 138 not found Code 138 not found code Unknown ignored Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 2 000: 00 ff Attribute memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #3, code = 0x15 (Version 1 info), length = 77 000: 05 00 49 6e 74 65 6c 00 45 74 68 65 72 45 78 70 010: 72 65 73 73 28 54 4d 29 20 50 52 4f 2f 31 30 30 020: 20 50 43 20 43 61 72 64 20 4d 6f 62 69 6c 65 20 030: 41 64 61 70 74 65 72 31 36 00 50 52 4f 2f 31 30 040: 30 20 4d 31 36 41 00 31 2e 30 30 00 ff Version = 5.0, Manuf = [Intel], card vers = [EtherExpress(TM) PRO/100 PC Card Mobile Adapter16] Addit. info = [PRO/100 M16A],[1.00] Tuple #4, code = 0x0 (Null tuple), length = 8 000: 00 15 ba 00 00 00 00 00 Tuple #5, code = 0x20 (Manufacturer ID), length = 5 000: 89 00 0a 01 43 PCMCIA ID = 0x89, OEM ID = 0x10a Tuple #6, code = 0x44 (Card init date), length = 4 000: e5 31 67 25 Tuple #7, code = 0x1a (Configuration map), length = 5 000: 01 01 00 08 03 Reg len = 2, config register addr = 0x800, last config = 0x1 Registers: XX-- Tuple #8, code = 0x1b (Configuration entry), length = 25 000: c1 c1 bd 7f 55 4d 5d 3e 46 46 06 e0 17 17 e4 60 010: 00 00 0f 70 bc 8e 10 00 20 Config index = 0x1(default) Interface byte = 0xc1 (I/O) +RDY/-BSY active, wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Continuous supply current: 3.5 x 100mA Max current average over 1 second: 4 x 100mA Max current average over 10 ms: 4 x 100mA Power down supply current: 1 x 100mA Wait scale Speed = 1.2 x 10 ms RDY/BSY scale Speed = 1.2 x 10 ms Card decodes 4 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x0 block length = 0x10 IRQ modes: Level, Pulse IRQs: 2 3 4 5 7 9 10 11 15 Memory space length = 0x10 Max twin cards = 0 Misc attr: (Power down supported) Tuple #9, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #10, code = 0x22 (Functional EXT), length = 8 000: 04 06 00 a0 c9 ba 15 79 Network node ID: 00 a0 c9 ba 15 79 Tuple #11, code = 0x22 (Functional EXT), length = 2 000: 01 02 Network technology: Ethernet Tuple #12, code = 0x22 (Functional EXT), length = 5 000: 02 80 96 98 00 Network speed: 10 Mb/sec Tuple #13, code = 0x22 (Functional EXT), length = 5 000: 02 00 e1 f5 05 Network speed: 100 Mb/sec Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 03 01 Network media: UTP Tuple #15, code = 0x22 (Functional EXT), length = 2 000: 03 03 Network media: Thin coax Tuple #16, code = 0x22 (Functional EXT), length = 2 000: 05 00 Network connector: open connector standard Tuple #17, code = 0x0 (Null tuple), length = 12 000: 39 30 30 32 36 46 42 41 31 35 37 39 Tuple #18, code = 0xff (Terminator), length = 0 2 slots found What can I do to enable this nic? Thank you volker To
make installworld problem with pathchk
Hi. I have have FreeBSD 4.6-RC. I cvsuped to RELENG_4. I did: make buildworld - ok. make buildkernel KERNCONF=KKK- ok make installkernel KERNCONF=KKK - ok. But make installworld gave me an error: === usr.bin/passwd [ ! -e /usr/bin/passwd ] || chflags noschg /usr/bin/passwd || true [ ! -e /usr/bin/yppasswd ] || chflags noschg /usr/bin/yppasswd || true install -s -o root -g wheel -m 4555 passwd /usr/bin install -o root -g wheel -m 444 passwd.1.gz /usr/share/man/man1 /usr/share/man/man1/yppasswd.1.gz - /usr/share/man/man1/passwd.1.gz /usr/bin/yppasswd - /usr/bin/passwd chflags schg /usr/bin/passwd === usr.bin/paste install -s -o root -g wheel -m 555 paste /usr/bin install -o root -g wheel -m 444 paste.1.gz /usr/share/man/man1 === usr.bin/pathchk install -s -o root -g wheel -m 555 pathchk /usr/bin *** Error code 71 Stop in /usr/src/usr.bin/pathchk. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What does it mean? Thanks for help. Tom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I'm probably overlooking something really stupid but...
Well, I apologize, I wasn't sure if you wanted to be bombarded with that much of a help request. However, I feel like a bit of a newbie so I will go ahead and be so humble as to ask. I've been running FreeBSD on a secondary machine since early 98 in one form or another ... but this just happens to be touching on an area I've yet to really explore. I think I may have set up my syslog wrong because I don't think the natd entries are getting logged right ... and I kinda wonder if that doesn't play a roll. To give you an idea what I'm dealing with, this is the spam I'm getting on my xterm: Nov 15 00:01:00 Lucretia /kernel: pid 197 (syslogd), uid 0 on /var: file system full Nov 15 00:01:00 Lucretia /kernel: pid 197 (syslogd), uid 0 on /var: file system full Nov 15 00:01:00 Lucretia /kernel: pid 197 (syslogd), uid 0 on /var: file system full Well, this is already too late. It is just saying over and over again that your file system is full. It has, not doubt, even quit logging that by now, because it is too full. You need to get that log file cleaned out so you can get things running again. Then monitor the logs and see what is filling it up before it gets too full. If you have several /var/log/ messages files, rm some of the oldest ones to make room. If you only have one (you aren't rotating logs like you should) just nuke that one and do a touch on messages. Your /var partition is pretty small. You will have to keep close track of things and rotate out and delete old logs frequently with that small of a /var file system. The /var/db directory is kind of big too, but not as big as one some of our machines I just looked at. So, it is probably normal. You just need more space or need to keep a tighter reign on logs. jerry Nov 15 00:02:50 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:02:50 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:05:37 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:05:37 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:14:31 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:14:31 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 00:24:26 Lucretia last message repeated 41 times Nov 15 00:24:26 Lucretia last message repeated 41 times Nov 15 00:34:39 Lucretia last message repeated 85 times Nov 15 00:34:39 Lucretia last message repeated 85 times Nov 15 00:43:46 Lucretia last message repeated 26 times Nov 15 00:43:46 Lucretia last message repeated 26 times Nov 15 00:54:11 Lucretia last message repeated 106 times Nov 15 00:54:11 Lucretia last message repeated 106 times Nov 15 01:04:17 Lucretia last message repeated 11 times Nov 15 01:04:17 Lucretia last message repeated 11 times Nov 15 01:14:27 Lucretia last message repeated 14 times Nov 15 01:14:27 Lucretia last message repeated 14 times Nov 15 01:24:37 Lucretia last message repeated 63 times Nov 15 01:24:37 Lucretia last message repeated 63 times Lucretia# Nov 15 01:33:25 Lucretia last message repeated 6 times Nov 15 01:33:25 Lucretia last message repeated 6 times Nov 15 01:36:04 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Nov 15 01:36:04 Lucretia /kernel: pid 180 (natd), uid 0 on /var: file system full Now, I've had it happen before where /var filled up and I got the crap spammed out of me because of it and that was as I mentioned because Apache was filling the httpd logs because some jackass was trying IIS exploits. Regardless, that awas never a real issue and I took down Apache anyway since then. This is what I get when I do df: Lucretia# df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a19839954224 12830430%/ /dev/ad0s1f 2530542 22291039899696%/usr /dev/ad0s1e 9918399068-7819 109%/var procfs 440 100%/proc And likewise this is what I get when I do du -sk * in /var: Lucretia# du -sk * 1 account 3 at 9 backups 2 crash 2 cron 562 db 62 games 1 heimdal 489 log 29 mail 2 msgs 1 preserve 53 run 1 rwho 17 spool 2 tmp 20 yp ls -l in /var/log doesn't reveal anything of any real noticable size ... so I'm getting kinda baffled. Again, if I find out I'm making some stupid newbie mistake I won't be totally shocked since messing with the logs and such is something I never really learned a great deal about and, am right now as you can imagine kinda regretting since my system is being weird and I seem to lack the level of comprehension needed to figure it out. ANY thoughts on this would be apprechiated. -John - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: J.M. Warenda [EMAIL
Re: SSH through a firewall
Hi, You can set up por forwarding for ssh connections to 10.0.0.2 as follows: ssh -L 2022:10.0.0.2:22 12.225.249.250 And while that connection remains open, you can do: scp -P 2022 file.txt localhost: Please note that the requested password or key will be the one on the destination host, not the gateway. Also, that you can do multiple port forwardings at once: ssh -L 2022:10.0.0.2:22 -L 2122:10.0.0.3:22 -L :10.0.0.4:22 12.225.249.250 HTH - Original Message - From: Joshua Lokken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 15, 2002 3:58 PM Subject: SSH through a firewall Hi, folks I often transfer files to my home machines from work using scp. Currently, if I want to move a file to a machine on my LAN, I first have to copy the file to a user home dir on the gateway box, then recopy it from the gateway to the internal box. How do I avoid this extra step? eg, 130.94.160.46 -- 12.225.249.250 10.0.0.2 (remote machine) (gateway) (destination) I have the proper keys in the proper places and the hosts files are OK. I appreciate any help. Please cc me, as this address is not subscribed to the list. Thanks! -- Best Regards, Joshua Lokken OMIC Portland Branch [EMAIL PROTECTED] 503 807 6538 - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
About release(7) and making distributions CD's
Hi, I successfully build a RELENG_4_7_0_RELEASE distributions except for the packages. from release(7) cd /usr cvs co -rRELENG_4_5_0_RELEASE src cd src make buildworld cd release make release CHROOTDIR=/local3/release BUILDNAME=4.5-RELEASE \ CVSROOT=/host/cvs/usr/home/ncvs RELEASETAG=RELENG_4_5_0_RELEASE (replace the 4_5_0 by 4_7_0) - My questions are: Is freebsd-config the right mailling list for release(7) related issue? Should I attempt to get in contact with [EMAIL PROTECTED]? (Author of the http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/releng-packages/ book) Just hack something together and do a make rerelease with the packages in R/cdrom/disc1? ... I'n sure that the guys that do the OFFICIAL CD's are using release ... I'm just missing some magic steps. Thanks. -- Alain Hebert[EMAIL PROTECTED] PubNIX Inc. P.O. Box 147 Cote Saint Luc, Quebec H4V 2Y3 tel 514-990-5911 http://www.pubnix.netfax 514-990-9441 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[INSTALL] FreeBSD 4.7 Adaptec 2100S
I've been trying to install 4.7 on a (well, 2 now) machines with an adapect 2100S raid controller with 2 disks (RAID 1 mirrored). No other disks. I can boot from CD fine, and I see the device being loaded - it's identified with the right IRQ etc... No discs are shown at this point. When I go to install, fdisk/sysinstall reports that there are no disks avaiable to install onto!! I am at my wits end here, can anyone help me? -- Mike Roth To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: SSH through a firewall
Kevin, Thanks for your prompt reply. So, I added (to natd_flags in /etc/rc.conf): -redirect_port tcp 10.0.0.2:22 22 My understanding is that this line should tell natd to forward all incoming ssh packets to the desired destination machine (10.0.0.2:22), port 22. The results, however, are not what I'm expecting (no change). Any help? Thanks again. Again, please cc [EMAIL PROTECTED], as the address is not subscribed. Joshua Lokken -Original Message- From: Kevin D. Kinsey, DaleCo, S.P. [mailto:kdk;daleco.biz] Sent: Friday, November 15, 2002 11:02 AM To: Joshua Lokken Subject: Re: SSH through a firewall I believe you're looking for NAT. (Network address translation) start with: $man natd HTH, Kevin Kinsey - Original Message - From: Joshua Lokken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 15, 2002 12:58 PM Subject: SSH through a firewall Hi, folks I often transfer files to my home machines from work using scp. Currently, if I want to move a file to a machine on my LAN, I first have to copy the file to a user home dir on the gateway box, then recopy it from the gateway to the internal box. How do I avoid this extra step? eg, 130.94.160.46 -- 12.225.249.250 10.0.0.2 (remote machine) (gateway) (destination) I have the proper keys in the proper places and the hosts files are OK. I appreciate any help. Please cc me, as this address is not subscribed to the list. Thanks! -- Best Regards, Joshua Lokken OMIC Portland Branch [EMAIL PROTECTED] 503 807 6538 - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sylpheed+PGP
Hello. I was wondering what I need to type with make install make clean or whatever to install sylpheed 0.8.5 with pgp support? If I already have it installed is there something I can type to like install, add the pgp support and deinstall or whatever in whatever order? msg09020/pgp0.pgp Description: PGP signature
Re: Sylpheed+PGP
Hello. I was wondering what I need to type with make install make clean or whatever to install sylpheed 0.8.5 with pgp support? If I already have it installed is there something I can type to like install, add the pgp support and deinstall or whatever in whatever order? first, install the gpgme port. Then, deinstall your sylpheed package and build it new with 'make WITH_GPGME=yes install'. That should be all. -volker -- Please don't cc me: I read the lists and don't need your message twice :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [INSTALL] FreeBSD 4.7 Adaptec 2100S
Mike Roth wrote: I've been trying to install 4.7 on a (well, 2 now) machines with an adapect 2100S raid controller with 2 disks (RAID 1 mirrored). No other disks. I can boot from CD fine, and I see the device being loaded - it's identified with the right IRQ etc... No discs are shown at this point. When I go to install, fdisk/sysinstall reports that there are no disks avaiable to install onto!! I am at my wits end here, can anyone help me? Mike, I'm using the 2100S and the 2110S with 4.6 and had no problem whatsoever to set it up. Are you sure the controller is configured ok? Try to erase the setup in the controller and create a new one. Even without a n array created the disks should be visible. /per olof To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Seeking command similar to dd
Peter Leftwich [EMAIL PROTECTED] writes: Is there a command similar to dd to analyze a CD that is in the drive? I use the dd bs=2k command on ISO 9660 CDs. I used mkisofs the other day, then burncd (forgot to say fixate on the end of the command line though), and now I cannot mount this CD. Ideas? I'm fairly sure that you can successfully run burncd fixate just after running burncd data ..., but I don't know what can be done in between without messing things up. I don't know if the drive has memory which gets used in the fixate process or if it's something that can be done from scratch at any time after burning the data. (I've even had occasional success restarting a burn that bailed out mid-CD. Sadly, I can't get my burner to burn or even mount CDs reliably lately. New kernel didn't help. Guess I'll have to install Linux and see if it can drive the thing any better.) When analyzing CDs, know that burncd usually puts an extra 2k block on the CD, so that a raw diff won't work. I think I've posted my CD-diffing script here already; ask me if you'd like it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Recent samba and nmbd errors
On Fri, Nov 15, 2002 at 05:32:06PM +, Stacey Roberts wrote: On Fri, 2002-11-15 at 17:24, Tillman wrote: I haven't found a way to determine the build options yet. Presuming that you've not done a make dist clean as yet, in /usr/ports/net/samba, along with the Makefile for any given port, where there is a scripts dir (eg for samba, containing the menu-based config script) there should also be a Makefile.inc file that would containing the config options used when installing / upgrading a port. That does the trick, thanks :-) - Tillman -- Enlightenment is: do what you want, eat what there is Jack Kerouac To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Running out of swap space?????
Jerry McAllister [EMAIL PROTECTED] writes: H. Sorry for following up my own post. I didn't notice your memory size before. 64MB + 128MB is not a lot of total space. I am not surprised No problem. (I didn't even know that was something to be sorry for.) But please reconsider promulgating that lousy old 2xRAM rule of thumb. Your total space is what should count; the issue should what total space is needed, not what multiple of RAM is needed. Eg, if they have 1 GB RAM, they don't need 2GB swap. What is a good rule of thumb for total space? I usually give newbies a number around 300MB. To keep the rule of thumb simple for swap-sizing, don't subtract the RAM from total space. Just say a good rule of thumb for swap is 300MB. The number is debatable (probably in the 200-400MB range), but the rule has the advantage of being more easily adjusted for non-rule-of-thumb cases. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Running out of swap space?????
Jerry McAllister [EMAIL PROTECTED] writes: No problem. (I didn't even know that was something to be sorry for.) But please reconsider promulgating that lousy old 2xRAM rule of thumb. Your total space is what should count; the issue should what total space is needed, not what multiple of RAM is needed. Eg, if they have 1 GB RAM, they don't need 2GB swap. Sort of true, though real memory is still different from swap and a busy system wth a lot of processes hanging around can use a lot of swap even when it isn't killing real memory. Anyway, I have a couple of systems with 1GB memory and 2GB swap and many with 0.5 GB memory and 1GB swap. and even one (non-FreeBSD) system with 7.5 GB memory and 20 GB swap. What is a good rule of thumb for total space? I usually give newbies a number around 300MB. To keep the rule of thumb simple for swap-sizing, don't subtract the RAM from total space. Just say a good rule of thumb for swap is 300MB. The number is debatable (probably in the 200-400MB range), but the rule has the advantage of being more easily adjusted for non-rule-of-thumb cases. It really depends on how the system is being used. Some newer stuff seems to suck up swap pretty quickly and just devour memory. You'd think MS designed some of the stuff. Anyway, that guy with a total of 192MB total combined memory and swap and trying to run Apache2, plus MySQL and another big thing, I forgot what, was way below what he needed. jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD Wont Boot
I have a freeBSD machine that wont boot due To the fact that its checking an ethernet port that does not exist. How can i disable it, or get rid of it? __ Looking for safe email solutions for your school or district? http://www.epals.com/schoolmail/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
is there an alternate driver to pips-sc880 ?
I have an Epson Stylus Color 880 which I want to run through apsfilter (or any other server) for lp but: # /usr/ports/print/pips-sc880 : make === pips-sc880-2.1 is forbidden: Momentally. Because of copyright violation noted by EPkowa co.. I have an older version of pips-sc880 but no way to get my printer printing (it just reacts by a little noise and movement when requested). Do you know of any other driver that could do ? Thank you in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Virtual host aliases and ip forwarding
I'm looking into different ways to connect an Internet connected machine to a local network while still preserving the security of the internal network to some degree. I am not very familiar with virtual host aliases, but I'm trying to understand. If I had a real ip address, and an alias ip address assigned to one interface, will it work the same way as would a dualhomed machine with two interface cards? Could I have an alias to my internal network, which would allow the Internet connected machine to communicate with an internal server, but that would not allow traffic from the Internet to reach the internal network (unless someone gained access to the internet connected machine?). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: SSH through a firewall
-Original Message- From: Adrian Mugnolo [mailto:adrianm;yahoo-inc.com] Sent: Friday, November 15, 2002 11:57 AM To: Joshua Lokken; [EMAIL PROTECTED] Subject: Re: SSH through a firewall Hi, You can set up por forwarding for ssh connections to 10.0.0.2 as follows: ssh -L 2022:10.0.0.2:22 12.225.249.250 And while that connection remains open, you can do: scp -P 2022 file.txt localhost: Please note that the requested password or key will be the one on the destination host, not the gateway. Also, that you can do multiple port forwardings at once: ssh -L 2022:10.0.0.2:22 -L 2122:10.0.0.3:22 -L :10.0.0.4:22 12.225.249.250 HTH It does, thanks. The work machine is a Winbox, and I'm using PuTTY. I'm not sure how to get this setup to work, but I'll keep at it! Joshua To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
100 gb
I installed 100gb drive in my PC and Freebsd 3.2 wont work with it. That is I can partition, label and even create new filesystem on it and mount it, but when I attempt to write (create a directory) it panics and coredumps. I heard some motherboards do not accept drives over 32Gb. Does sympthoms look familiar if this is the case? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
is there an alternate driver to pips-sc880 ?
(msg sent twice as I did not get feeback) hi, I have an Epson Stylus Color 880 which I want to run through apsfilter (or any other server) for lp but: # /usr/ports/print/pips-sc880 : make === pips-sc880-2.1 is forbidden: Momentally. Because of copyright violation noted by EPkowa co.. I've installed an older version of pips-sc880 but no way to get my printer printing (it just reacts by a little noise and movement when requested). Do you know of any other driver that could do ? Thank you in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Assembly
Hi all Just have some assembly questions. Why do BSD pass arguments via the stack and not the registres like Linux and windows? Is there a list of what (system) calls are in the kernel and what their numbers are? How do I call a function I have written my self (in C++)? Hope someone can/will answer these :-) br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [freebsd-questions] Trouble setting up HP Deskjet 855Cse printer
Yes, I did, as the entry was added by apsfilter SETUP script into /etc/printcap from the snippet I posted. again, this is the same /etc/printcap : # APS1_BEGIN:printer1 # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL wulfgar|cdj850;r=300x300;q=medium;c=full;p=letter;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/wulfgar:\ :lf=/var/spool/lpd/wulfgar/log:\ :af=/var/spool/lpd/wulfgar/acct:\ :mx#0:\ :sh: # APS1_END - don't delete this Thanks, Fong From: Lowell Gilbert [EMAIL PROTECTED] To: Lin Jianfong [EMAIL PROTECTED] Subject: Re: [freebsd-questions] Trouble setting up HP Deskjet 855Cse printer Date: 15 Nov 2002 14:58:51 -0500 Lin Jianfong [EMAIL PROTECTED] writes: In the SETUP process, printing test page worked perfectly, I can see the usual 4 rectangle grid layout, complete with, font size testing,screening test, gamma test (tiger heads), geometric objects, and photo of Andreas Klemm. So I installed the setup into /etc/printcap and tried to print as regular user using lpr command some small PS files. It printed garbage, tried plain text file as well, same thing, garbage. Bothers me to no end, how come the test page is perfect but regular printing is screwed up totally ? Make sure you Install the filters from the menu of the setup program. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: is there an alternate driver to pips-sc880 ?
This may or may not be helpful : http://www.epkowa.co.jp/english/linux_e/pips_dwn_e.html - Mike Hogsett (msg sent twice as I did not get feeback) hi, I have an Epson Stylus Color 880 which I want to run through apsfilter (or any other server) for lp but: # /usr/ports/print/pips-sc880 : make === pips-sc880-2.1 is forbidden: Momentally. Because of copyright violation noted by EPkowa co.. I've installed an older version of pips-sc880 but no way to get my printer printing (it just reacts by a little noise and movement when requested). Do you know of any other driver that could do ? Thank you in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: is there an alternate driver to pips-sc880 ?
On Sat, 16 Nov 2002 09:48 am, [EMAIL PROTECTED] wrote: (msg sent twice as I did not get feeback) hi, I have an Epson Stylus Color 880 which I want to run through apsfilter (or any other server) for lp but: # /usr/ports/print/pips-sc880 : make === pips-sc880-2.1 is forbidden: Momentally. Because of copyright violation noted by EPkowa co.. Are you using apsfilter? There should be a suitable driber in their setup. -- Regards, Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Giorgos Keramidas [mailto:keramida;freebsd.org] Sent: Friday, November 15, 2002 8:18 AM To: Mike Loiterman Cc: 'Anish Mistry'; [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? On 2002-11-13 23:55, Mike Loiterman [EMAIL PROTECTED] wrote: Anish Mistry [mailto:mistry.7;osu.edu] wrote: On Wednesday 13 November 2002 10:00 pm, Mike Loiterman wrote: I suppose this might be better suited to the comp.mail.sendmail, but I'm posting it here because I believe my error is ultimately rooted in my use faulty use of FreeBSD rather then incorrect use of Sendmail. Indeed. I'm trying to add SMTP AUTH to my base installation of Sendmail installation without breaking anything! I installed cyrus-sasl without any problems. Now I need to add, according to the Sendmail.readme included with the cyrus-sasl, the following lines to my /etc/make.conf file: # Add SMTP AUTH support to Sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/sasl -DSASL - -D_FFR_UNSAFE_SASL SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl I did that. Now the README says I need to Rebuild FreeBSD. I thought there would be a way around rebuilding the entire world when I just need to rebuild Sendmail You should really follow the instructions, and build world :) so I tried going into /usr/src/usr.sbin/sendmail and did a make all install but I got this error: This is how I do it: In make.conf: SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL1 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl from a shell: cd /usr/src/usr.sbin/sendmail make cleandir make obj make make install This won't work either, if you don't have an old libsm library lying around in /usr/obj/usr/src/lib/libsm, and even in that case you should probably rebuild libsm anyway. I used my original config flags with your make commands and got this error: cc: /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a: No such file or directory *** Error code 1 The sendmail installation that is part of the base system uses libsm.a which is not built when you cd into /usr/src/usr.sbin/sendmail, but is built separately from /usr/src/lib/libsm. The same libsm.a that is built as part of the buildworld process is then used to link sendmail and src/bin/rmail. The manual way out of this error that is stopping you is to build a clean copy of libsm.a and then rebuilt sendmail and rmail: # cd /usr/src/lib/libsm # make cleandir make cleandir # make obj make depend make all # cd /usr/src/usr.sbin/sendmail # make cleandir make cleandir # make obj make depend make all # cd /usr/src/bin/rmail # make cleandir make cleandir # make obj make depend make all All these steps and many more[1] will be taken care of if you use the recommended `make buildworld' procedure for upgrading. I hope this helps a bit, Giorgos. [1] Such as building the proper bits for the SSL support when this is required, and making sure that the changes to the libraries you have compiled don't cause build problems to the rest of the `world'. Thanks...your advice is probably the best. I'm doing a make buildworld right now. Hopefully the whole thing doesn't blow up! Yes, I did a full backup prior to starting. Also -- which .mc file do I use to add the additional commands to? I have hostname.domainname.mc, and freebsd.mc. Which one do I use? To add: TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5')dnl define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5')dnl define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLFile')dnl define(`confRUN_AS_USER',`root:mail')dnl The Sendmail.readme says to add it to sendmail.mc. ... Randomly Generated Quote: 'When dictatorship is a fact, revolution becomes a right.' -- Victor Marie Hugo Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdWC2WjZbUnRudGOEQKNmwCeLkkwjWHZYPl7hLvePf38ePBGKqMAn0No 7cL//ktVN3iC5CMJZcTGhZCg =I3Ft -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
snmpd reports incorrect gauge of xl NIC
Hello, I've the following problem: $ snmpwalk -c public x.x.x.x interfaces.ifTable.ifEntry.ifDescr.2 interfaces.ifTable.ifEntry.ifDescr.2 = de0 $ snmpwalk -c public x.x.x.x interfaces.ifTable.ifEntry.ifSpeed.2 interfaces.ifTable.ifEntry.ifSpeed.2 = Gauge32: 1 $ snmpwalk -c public 212.182.126.67 interfaces.ifTable.ifEntry.ifDescr.4 interfaces.ifTable.ifEntry.ifDescr.4 = xl0 $ snmpwalk -c public x.x.x.x interfaces.ifTable.ifEntry.ifSpeed.4 interfaces.ifTable.ifEntry.ifSpeed.4 = Gauge32: 1000 Both de0 and xl0 are 100Mbps NICs, but snmpd (ucd-snmp-4.2.5_2) says, xl0 is only 10Mbit. The `interface' snmpd.conf directive seems doesn't work. I'm not sure, where could the bug be located. What do you think? PM To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Recompiling Sendmail?
- Original Message - From: Mike Loiterman [EMAIL PROTECTED] To: 'Giorgos Keramidas' [EMAIL PROTECTED] Cc: 'Anish Mistry' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 12:27 AM Subject: RE: Recompiling Sendmail? Thanks...your advice is probably the best. I'm doing a make buildworld right now. Hopefully the whole thing doesn't blow up! Yes, I did a full backup prior to starting. I thought make buildworld was obsoleted now since 4.7R? Anyway, let me know if, and how you succeeded. Then I will give it a whirl myself. :) - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Recompiling Sendmail?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 -Original Message- From: Mark [mailto:admin;asarian-host.net] Sent: Friday, November 15, 2002 6:20 PM To: [EMAIL PROTECTED]; 'Giorgos Keramidas' Cc: 'Anish Mistry'; [EMAIL PROTECTED] Subject: Re: Recompiling Sendmail? - Original Message - From: Mike Loiterman [EMAIL PROTECTED] To: 'Giorgos Keramidas' [EMAIL PROTECTED] Cc: 'Anish Mistry' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 12:27 AM Subject: RE: Recompiling Sendmail? Thanks...your advice is probably the best. I'm doing a make buildworld right now. Hopefully the whole thing doesn't blow up! Yes, I did a full backup prior to starting. I thought make buildworld was obsoleted now since 4.7R? Anyway, let me know if, and how you succeeded. Then I will give it a whirl myself. :) - Mark Using 4.4-STABLE here. ... Randomly Generated Quote: Death is nature's way of saying `Howdy'. Mike Loiterman PGP Key 0xD1B9D18E http://www.ascendency.net -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 Comment: Message digitally signed by Mike Loiterman iQA/AwUBPdWPUGjZbUnRudGOEQLQrwCfa0vATjczZRRmkodoZpxrnKn1ykEAnAuz E3HnY2EqzhkaIWNmtg/7DlXf =0e9H -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: is there an alternate driver to pips-sc880 ?
many thanks unfortunately the package seems to match only Linux systems, I managed to install it with rpm -i --nodeps but then some scripts (like ekpstm and gsconfig) are missing from the tree (see error msg 2) . Also rpm -i seems to be blind to existing files (see error msg 1). There was a tar.gz file too on the site but not recognized by tar. error msg 1: # rpm -i pips-sc880-2.1.2-1.i386.rpm error: failed dependencies: /bin/sh is needed by pips-sc880-2.1.2-1 ld-linux.so.2 is needed by pips-sc880-2.1.2-1 libX11.so.6 is needed by pips-sc880-2.1.2-1 libXext.so.6 is needed by pips-sc880-2.1.2-1 libXi.so.6 is needed by pips-sc880-2.1.2-1 libc.so.6 is needed by pips-sc880-2.1.2-1 libdl.so.2 is needed by pips-sc880-2.1.2-1 libgdk-1.2.so.0 is needed by pips-sc880-2.1.2-1 libglib-1.2.so.0 is needed by pips-sc880-2.1.2-1 libgmodule-1.2.so.0 is needed by pips-sc880-2.1.2-1 libgtk-1.2.so.0 is needed by pips-sc880-2.1.2-1 libm.so.6 is needed by pips-sc880-2.1.2-1 libpthread.so.0 is needed by pips-sc880-2.1.2-1 /bin/sh is needed by pips-sc880-2.1.2-1 libc.so.6(GLIBC_2.0) is needed by pips-sc880-2.1.2-1 libc.so.6(GLIBC_2.1) is needed by pips-sc880-2.1.2-1 libc.so.6(GLIBC_2.1.3) is needed by pips-sc880-2.1.2-1 libdl.so.2(GLIBC_2.0) is needed by pips-sc880-2.1.2-1 libdl.so.2(GLIBC_2.1) is needed by pips-sc880-2.1.2-1 libpthread.so.0(GLIBC_2.0) is needed by pips-sc880-2.1.2-1 libpthread.so.0(GLIBC_2.1) is needed by pips-sc880-2.1.2-1 error msg 2: # lp dmesg.txt am /root : touch: /var/ekpd/lpr_lock: No such file or directory /usr/local/EPKowa/SC880/filter-sc880: /usr/bin/ekpstm: not found gsconfig-sc880: not found pips-sc880: not found kill: unknown signal 9; valid signals: hup int quit ill trap abrt emt fpe kill bus segv sys pipe alrm term urg stop tstp cont chld ttin ttou io xcpu xfsz vtalrm prof winch info usr1 usr2 Mike Hogsett wrote: This may or may not be helpful : http://www.epkowa.co.jp/english/linux_e/pips_dwn_e.html - Mike Hogsett To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: is there an alternate driver to pips-sc880 ?
yes, I tried several of them (generic ps, stcolor,..).. without finding the good one, I tried also CUPS which complains about me (root) not having authorizations to configure (anyway CUPS would need a driver too so I did not try manual config), and EPKowa (Linux based server which seems incompatible). Brian Astill wrote: On Sat, 16 Nov 2002 09:48 am, [EMAIL PROTECTED] wrote: (msg sent twice as I did not get feeback) hi, I have an Epson Stylus Color 880 which I want to run through apsfilter (or any other server) for lp but: # /usr/ports/print/pips-sc880 : make === pips-sc880-2.1 is forbidden: Momentally. Because of copyright violation noted by EPkowa co.. Are you using apsfilter? There should be a suitable driber in their setup. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update 3 September 1999 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 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 list caters specifically for people
The Complete FreeBSD, third edition: errata and addenda
Errata and addenda for the Complete FreeBSD, third edition Last revision: 2 August 1999 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 Walnut Creek, is no exception. In- evitably, a number of bugs and changes have surfaced. The following is a list of modifications which go beyond simple typos. They relate to the third edition, formatted on 17 May 1999. You'll find this information on page iv (the page before the beginning of the Table of Contents). See the end of this document for instructions on how to find the errata for an older version. You can get the current document in four forms: o A PostScript version, suitable for printingout,at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third edition to find out how to print out PostScript. If at all possible, please take this document: it's closest to the original text. Be careful selecting this file with a web browser: it is often impossible to reload the document, and you may see a previously cached version. o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When viewed with more or less, this version will show some highlighting and underlining. It's not suitable for direct viewing. o An ASCII-only version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This version is posted every week to the FreeBSD-questions mailing list. Only take this version if you have real problems with PostScript: I can't be sure that the lack of different fonts won't confuse the meaning. o A web version at http://www.lemis.com/errata-3.html. All these modifications have been applied to the ongoing source text of the book, so if you buy a later edition, they will be in it as well. If you find a Page 1 The Complete FreeBSD bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED] Page ii ___ The instructions on page ii (opposite the title page) tell you to look at ftp://ftp.lemis.com/pub/cfbsd/errata-2 for the errata list. That's wrong. Look at this list. Pages 190 and 191 _ The description is not very clear about which text appears when booting from floppy for initial install, and which appears when booting normally. The procedure is very similar, but there are some differences. Add the following text after the heading Boot messages: You'll boot your system in at least two different ways: initially you'll boot from floppy or CD-ROM in order to install the system. Later, after the system is installed, you'll boot from hard disk. The procedure is almost identical, so we'll look at both versions in the following examples. Replace the text from the middle of page 191 with: If you're booting from 1.44 MB floppies, you will then see: Please insert MFS root floppy and press enter: When you insert the MFS root floppy and press Enter, you see more twirling batons, then the UserConfig screen appears. UserConfig: Modifying the boot configuration After the kernel has been loaded, the following screen will appear if you are installing the system, or if you have requested it with the -c option to the boot loader: Page 206 The bottom two lines on this page should be in bold constant font, indicating that this is input for your /etc/rc.config file Page 2 Errata and addenda for the Complete FreeBSD, third edition nfs_client_enable=YES # This host is an NFS client (or NO). nfs_server_enable=YES # This host is an NFS server (or NO). Page 265 The example on the second half of the page refers to the old SCSI driver. The scsi program is no longer available in FreeBSD 3.x. Instead, use the camcontrol program. Replace the text with:. Modern disks make provisions for recovering from such errors by allocating an alternate sector for the data. IDE drives do this automatically, but with SCSI drives you have the option of enabling or disabling reallocation. Usually it is turned on when you buy them, but occasionally it is not. When installing a new disk, you should check that the parameters ARRE (Auto Read Reallocation Enable) and AWRE (Auto Write Reallocation Enable) are turned on. For example, to check and set the values for disk da1, you would enter: # camcontrol modepage da1 -m 1 -e -P 3 # scsi -f /dev/rda1c -m 1 -e -P 3 This command will start up your favourite editor (either the one specified in the EDITOR environment variable, or vi by default) with the
remote X
Is it possible to use the local X11 Server for remote applications? For instance via ssh. I have my XWindows started, i log myself in via ssh on a remote host, and I want to run a graphical application on the remote host. Or is it possible the other way (a local application on a remote server)? Or is there any other way I can run a graphical application on a remote host that i am logged on via ssh? Thanks, Razvan __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
linked drive help plz
wuzzup guys, i'm totally lost here... i have freebsd installed on a 6gig hdd - i have a 40gig hdd mounted at /www and i have a 80gig mounted at /myftp this is whats happening... my ftpusers home directories are located at /www/home/ftpuser ok.. now all my ftp files are /myftp i cd into user dir and created a sym link like : ln -s /myftp /www/home/user/ftp now going in windows explorer from my xp box with samba, everything seems just fine... the link created a folder (ftp) and all my ftp files are mounted inside... PROBLEM when i log in with ftp client, the ftp is showing up as a link when i try going to it i get 550 XCWD /ftp 550 Can't change directory to /ftp: No such file or directory any ideas about what i'm doing wrong??? tx RD To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: linked drive help plz
- Original Message - From: RDWestSr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 1:22 AM Subject: linked drive help plz XCWD /ftp 550 Can't change directory to /ftp: No such file or directory You sure its not meant to be: XCWD /myftp or was that a typing error :) Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Unused system core files
Hi, I was wondering if there is some way to find all files in the core system that have been excluded from make.conf. For example NO_BIND=true, NO_GAMES=true, etc. A new make world still leaves the old binaries/configurations files in core. How can I get rid of them? Please CC. Thank you, Lefteris To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message