Re: Seting baclground color in fvwm95?
stan wrote: How can I set the background color for a session using fvwm95? xsetroot sets the color, but when the window manmager starts up, it overwrites that change. I fell certain it's a setting in the .fvwm95rc file, but I cna't find any docs on the syntax. I don't know much about fvwm95, but in fvwm2 you can add init commands to InitFunction. I think this would be the same in fvwm95 too. From my .fvwm2rc: AddToFunc InitFunction + I exec xv -quit -root ~/media/graphics/vestiture.jpg Simas Cepaitis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysctl -a on FreeBSD 5.1 CURRENT == reboot
Hi. Yesterday, 03.07.03 i did a cvsup and make world on my machine to FreeBSD 5.1-CURRENT. The strange thing is, when i type sysctl -a now, the system will freeze. After a few second, it will automatically reboot. No logs for that. Is this a know problem? asg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba 3.0 breakage
When trying to portupgrade samba-devel to the latest from cvsup, I get: Compiling dynconfig.c In file included from include/includes.h:429, from dynconfig.c:21: /usr/local/include/gssapi/gssapi.h:285: warning: `GSS_C_INDEFINITE' redefined /usr/include/gssapi.h:218: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:298: warning: `GSS_C_CALLING_ERROR_MASK' redefined /usr/include/gssapi.h:340: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:299: warning: `GSS_C_ROUTINE_ERROR_MASK' redefined /usr/include/gssapi.h:341: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:300: warning: `GSS_C_SUPPLEMENTARY_MASK' redefined /usr/include/gssapi.h:342: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:308: warning: `GSS_CALLING_ERROR' redefined /usr/include/gssapi.h:351: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:310: warning: `GSS_ROUTINE_ERROR' redefined /usr/include/gssapi.h:353: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:312: warning: `GSS_SUPPLEMENTARY_INFO' redefined /usr/include/gssapi.h:355: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:315: warning: `GSS_ERROR' redefined /usr/include/gssapi.h:358: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:325: warning: `GSS_S_CALL_INACCESSIBLE_READ' redefined /usr/include/gssapi.h:368: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:327: warning: `GSS_S_CALL_INACCESSIBLE_WRITE' redefined /usr/include/gssapi.h:370: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:329: warning: `GSS_S_CALL_BAD_STRUCTURE' redefined /usr/include/gssapi.h:372: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:334: warning: `GSS_S_BAD_MECH' redefined /usr/include/gssapi.h:377: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:335: warning: `GSS_S_BAD_NAME' redefined /usr/include/gssapi.h:378: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:336: warning: `GSS_S_BAD_NAMETYPE' redefined /usr/include/gssapi.h:379: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:337: warning: `GSS_S_BAD_BINDINGS' redefined /usr/include/gssapi.h:381: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:338: warning: `GSS_S_BAD_STATUS' redefined /usr/include/gssapi.h:382: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:339: warning: `GSS_S_BAD_SIG' redefined /usr/include/gssapi.h:383: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:340: warning: `GSS_S_NO_CRED' redefined /usr/include/gssapi.h:385: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:341: warning: `GSS_S_NO_CONTEXT' redefined /usr/include/gssapi.h:386: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:342: warning: `GSS_S_DEFECTIVE_TOKEN' redefined /usr/include/gssapi.h:387: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:344: warning: `GSS_S_DEFECTIVE_CREDENTIAL' redefined /usr/include/gssapi.h:388: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:346: warning: `GSS_S_CREDENTIALS_EXPIRED' redefined /usr/include/gssapi.h:389: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:348: warning: `GSS_S_CONTEXT_EXPIRED' redefined /usr/include/gssapi.h:390: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:349: warning: `GSS_S_FAILURE' redefined /usr/include/gssapi.h:391: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:350: warning: `GSS_S_BAD_QOP' redefined /usr/include/gssapi.h:392: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:351: warning: `GSS_S_UNAUTHORIZED' redefined /usr/include/gssapi.h:393: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:352: warning: `GSS_S_UNAVAILABLE' redefined /usr/include/gssapi.h:394: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:354: warning: `GSS_S_DUPLICATE_ELEMENT' redefined /usr/include/gssapi.h:395: warning: this is the location of the previous definition /usr/local/include/gssapi/gssapi.h:356: warning: `GSS_S_NAME_NOT_MN' redefined /usr/include/gssapi.h:396: warning: this is the location of the previous definition
need help with mozilla spell checker!!
I am running mozilla 1.4 on freebsd under linux emulation. I need spell checking for the email client so i went to the following site to install it. http://spellchecker.mozdev.org/installation.html At the site above i choose the l.4 install, it said it installed ok but there is no spell check. I checked the install.log and it showed everything going into the the /usr/local/mozilla/components dir. The files that the log showed to put into the above are indeed there, so what gives? I have restarted mozilla several times as root and rebooted the machine to no avail. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IDE versa Scsi freebsd
Using only freebsd for routing gated, BGP. Is there any reason to use Scsi over an IDE hard drive? I only know what I've read, but I hear that SCSI is better for real RAID, because it handles concurrent multiple requests better than IDE. Other than that, I understand that the internal mechanisms are pretty much the same now, so raw bit rate favors IDE slightly. (Which would make sense, IDE not having to deal with the complexity of multiple concurrent requests.) So, if you're not using RAID, it seems reasonable to buy the cheaper drives. (Does routing need RAID?) -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
On Fri, Jul 04, 2003 at 10:26:47AM +1000, JacobRhoden wrote: Even though this is getting waaay off topic... On Thu, 3 Jul 2003 07:46 pm, Matt Heath wrote: Ever seen something like this : $r = mysql_execute(select * from table_1 where id=$_GET[id];); Actually people do do the same thing and perl and you know it :P Both perl and php support calling sql with parameters using ? to insert variables. If someone does not know what language to use at all, I would suggest php simply because its a good, quick, easy language to get started in without too much difficulty. (In lots of ways including not needing to understand cgi variables, and what the heck Content-type: text/html\n\n is, or learning how to include perl librarys to do all that stuff for you!) You're missing the point. $_GET[id] is one of the arguments used when calling the PHP and as such is completely under the control of an external user. This permits all sorts of shenanigans that generally go under the name SQL injection attacks. For instance, in this case, if you could arange for the $_GET[id] variable to have the value 'joe OR 1=1' then you could dump out the whole of table_1. I'm sure that with a little thought you could come up with something much more damaging. Exactly the same problem occurs with perl CGI --- any time you take user input in an application, you've got to assume that there will be hostile intent, and sanitize the input accordingly. The basic step in sanitization is to decide what characters are permitted in the input, and filter out everything else. You probably want to limit the length of the input, and (depending on the precise circumstances) there may be other criterea you can apply. Only then should you pass the input into your SQL select statement. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: OT Re: mozilla stalls
On Thu, Jul 03, 2003 at 05:21:13PM -0700, Wayne Lubin wrote: --- Matthew Seaman [EMAIL PROTECTED] wrote: On Thu, Jul 03, 2003 at 10:50:12AM -0500, Matthew Bettinger wrote: On Thursday 03 July 2003 10:44 am, Matt Heath wrote: I've had a recurring issue with Mozilla and Firebird (was Phoenix): The browsers will stall in a seemingly non-deterministic fashion. I get that too My mozilla will hang for a few minutes when I enter a url in the location bar. If I fire it up and click on the link that are already there it's fine. The moment I try to type a new URL in the bar it just hangs. I am using the nvidia drivers on bsd 4.8. Never had a problem (that I can recall) until I installed the nvidia drivers.. could be wrong tho. I you go into Mozilla preferences, under Advanced : Keyboard Navigation and disable Find As You Type, then you'll avoid the several minutes of hang the first time you try and type into a text field or the location bar. Presumably the same trick would work with Firebird, but unfortunately there doesn't appear to be a control for disabling that feature. I don't think this has anything to do with the video hardware or drivers you're using -- I guess that was just a coincidence. You must have installed or upgraded Mozilla around the same time. This pausing thing was introduced around the same time as Mozilla 1.3 was released. It's not just FreeBSD that suffers either. There have been bug reports in Mozilla's Bugzilla DB for some time, but the problem still persists. there is no preferences Advanced : Keyboard Navigation option in my mozilla preferences I am using mozilla-1.0.rc3,1 whatever that means :). Your mozilla is too old to have the bug that Matthew Bettinger reported. However, from your other postings you're running into a different issue. Mozilla uses the standard FreeBSD gethostbyname() implementation to convert host names into IP numbers. Nowadays, this involves attempting to find an IPv6 address -- as the standards say should be done. Now, most of the time, the resolvers in question will simply respond not known when asked for an or A6 record. The lookup will then proceed onto retreiving the IPv4 A records as per usual. The problem occurs when you run into certain broken DNS resolvers that don't understand IPv6 at all, and not only that, they don't even respond at all to a query for a record type they do recognise. That means your system has no option but to hang around waiting for a minute or so untill the query times out and it can assume that no reply is ever going to appear. This isn't really a bug in Mozilla -- it's a bug in the DNS servers that don't respond according to the DNS RFCs. However, there are various things that can be done to ameliorate the problem from the user side. My preferred option is to observe that the vast majority of offenders are actually the sites that put banner adverts on pages. Right clicking on the adverts and selecting Block images from this server goes a long way to improving the web experience, and it sends the message to the advertizers fix your DNS servers in the sort of language they cannot afford to ignore. Alternatively, you can compile your whole system without IPv6 support, by removing: options INET6 from your kernel config. There's probably some other flags you could set to strip IPv6 support out of other applications in the sources, but I don't think there is a general knob to turn it off everywhere. This options is undesirable IMHO -- why strip out working new functionality from your system for the convenience of some dinosaurs who can't keep up with changes in the Internet standards that have been in play for getting on for nearly 10 years? -- see http://www.faqs.org/rfcs/rfc1886.html If you're interested in this sort of thing, see http://www.faqs.org/rfcs/rfc3364.html for a good discussion of the pros and cons of various methods of IPv6 support in the DNS Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Does Bill Gates own any of those Linux distributions firma?
On 04 Jul 2003 07:11:59 +0200 Joachim Dagerot [EMAIL PROTECTED] wrote: On Fri, 2003-07-04 at 01:31, Niel wrote: Does Bill Gates own any of those Linux distribution firms? Maybe under a cover name? I haven't heard such a thing, but as a conspiracy-lover it sounds not unreasonable. didn't m$ have a stake in corel. but that distro failed. -- Rod @home therefore no cool signature Home Of Open Source Beef http://opensourcebeef.bsd.st/index.html FreeBSD User since 1999 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
Matthew Seaman wrote: On Fri, Jul 04, 2003 at 10:26:47AM +1000, JacobRhoden wrote: Even though this is getting waaay off topic... On Thu, 3 Jul 2003 07:46 pm, Matt Heath wrote: Ever seen something like this : $r = mysql_execute(select * from table_1 where id=$_GET[id];); Actually people do do the same thing and perl and you know it :P Both perl and php support calling sql with parameters using ? to insert variables. If someone does not know what language to use at all, I would suggest php simply because its a good, quick, easy language to get started in without too much difficulty. (In lots of ways including not needing to understand cgi variables, and what the heck Content-type: text/html\n\n is, or learning how to include perl librarys to do all that stuff for you!) You're missing the point. $_GET[id] is one of the arguments used when calling the PHP and as such is completely under the control of an external user. exactly perl has the tainted construct for this and will refuse certain operations with tainted data. But my challenge was Kevin Kinsey's assertion : [PHP is] likely to be more secure than Perl if used as Apache module than CGI. and I want to know why ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help needed please - Thinkpad A31p FreeBSD 4.8 Installation (LONG)
Hi, I've just got my TP A31p and now look forward to installing FreeBSD 4.8 (4-CDROM set) on it. I'm very new to FreeBSD and really hope someone could give me some advices. Thanks a lot in advance. The laptop has no floppy drive and came with a 60 GB hard drive which consisted of two FAT32 partitions (slices): - 55 GB Windows XP Pro and - 5 GB IBM recovery partition. I used BootIT NG to shrink the XP partition down to 23 GB. This left me with a free space of 32 GB. Then, I created a 9 GB FAT32 partition within the free space hoping to use it as a data partition which can be read and written from both XP and FreeBSD. So, now I have - 23 GB Windows XP Pro - 9 GB FAT32 for sharing data between OS's - 21 GB free space (unformatted) for FreeBSD (I havn't installed it yet) and - 5 GB IBM recovery partition ???My first questions - Is this a sound method of slicing my disk? Does the 9 GB FAT32 partition really need to be there? Am I wrong in thinking that FAT32 is accessible from both XP and FreeBSD? I've read posts somewhere that I MUST NOT install FreeBSD boot manager during the installation because it will overwrite the master boot record (MBR), and as a result XP will be unbootable. I then must leave the MBR untouched until I finish with the FreeBSD installation and copy /boot/boo1 to another computer on a network (A31p doesn't have a floppy drive). Then, I have to boot from a FreeBSD CD to enter FDisk and make sure the XP partition is set bootable. Reboot it and once I'm in XP, I can copy /boot/boot1 from the networked computer to C:\BOOTSECT.BSD and include a line C:\BOOTSECT.BSD=FreeBSD in my BOOT.INI file. This will give me a boot-from-FreeBSD-slice option the next time I boot my laptop. ???My second questions - Is this approach workable? How do I copy /boot/boot1 to another computer on a network? Can I copy it onto my 9 GB FAT32 slice instead, as I'm not sure if I will be smart enough to set up the LAN connection correctly? Could I write it onto a blank CD? What are the commands involved? ???My third questions - Could someone please suggest how I should partition my FreeBSD slice? As I have 768 MB RAM, here is what I have in mind:- / 512 MB swap 2048 MB /var 512 MB /tmp 1024 MB /usr Rest of disk I have no idea how much disk space I should allocate to /, /var, and /tmp. Can I change them at a later stage? What are UFS and UFS+S and how are they different? ???Forth question - Is it a good idea to just install everything during the first installation? Any recommendations on what I should or should not install please? ???Last questions - During the monitor configuration stage, I have to supply the infomation on a) the horizontal sync range, b) the vertical sync range, and c) the LCD make. How do I find out this information? Does anyone with an A31p know please? Thank you all very very much any other tips are also welcome. Best regards Tempo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)
I don't believe the 3C940 is currently supported in FreeBSD (nothing about it in hardware notes for 5.1 i386). So, you can try googling to see if anyone's working on a driver for it. Chances are however that you'll have to use another NIC. - Original Message - From: Gab [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 8:31 AM Subject: FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940) Hello, I successfully installed FreeBSD 5.1 on my ASUS P4C800 motherboard. The only remaining problem is that sysinstall did not find any ethernet device during the installation. The onboard NIC is a 3Com 3C940. What should I exactly do in order to make the system detect this 3Com 3C940 ethernet device and make it work properly? Many thanks for your help. Gab ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
Someone was offended by my tone in the following, so I will apologize to all for any arrogance or rudeness displayed in it. It was not intended to be rude, just to point out that Perl is not limited to CGI, to leave an opening for a discussion of danger spots in mod_perl, and to acknowledge that PHP will have advantages over Perl for the newbie (and I don't see anything wrong with that, by the way). The server-side pages you can use are PHP or JSP (ASP is posible but not the natural choice for apache). What? You got something against mod_perl? Or are you assuming that a newbie doesn't want all that power, and that php is a good enough introduction to perl in the non-cgi context? Just curious ... -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IDE versa Scsi freebsd
I don't think so. You need sized memory ( depending on your routing table ) and processor ( not that much ). Regards, Using only freebsd for routing gated, BGP. Is there any reason to use Scsi over an IDE hard drive? Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson deDomingos Martins mailto:[EMAIL PROTECTED]Brazil http://www.el.com.br/ EL Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- Aviso Legal: Esta mensagem pode nao expressar oficialmente as ideias ou vontades da empresa EL Producoes de Software, sendo responsavel por esta exclusivamente seu autor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does FreeBSD supports my hardware?
Hi, I'm interested in all unix-based OS's, so I'm now reading about FreeBSD. I would like to install it, but I would like to know if it will run (optimal) on my system. My PC is a Packard Bell Imedia5800 TNT RW, with a 20 Gb harddrive, which is designed for WinME. My hardrive is split up in two FAT32 partitions: C: = about 15 Gb, D: = about 4-5 Gb. My Graphical card is a NVidia TNT2 Model64. I have a bit knowledge of Linux, so I know already something about partitioning. But there were a few problems with this SuSE Linux 6.2. First of all, the program Fdisk of SuSE gave me an error while partitioning (I was creating a Linux Swap en Linux Native partition on D:). It was something like this: Your disk is setup to ..., there's nothing wrong with that, but it could cause certain setup problems with software that runs while booting, etc. ... It's recommend that you set the disk to 1024 (I think) cilinders. I hope you know what I mean, could this be also a problem while installing FreeBSD. Another problem was my graphical card, which wasn't supported yet, so I couldn't run KDE, etc. The third and last serious problem was, when linux was installed (however, not correct), that after I gave the command shutdown ..., I couldn't close my PC! Under Windows, if I want to shutdown my computer it does that automatically. Maybe it has something to do with my BIOS settings, can you help me if this could cause problems with FreeBSD? Another thing is my modem. In Windows I've my modem name: MR2800-W Data Fax Modem, and it's produced by AZT or Smartlink. Is that a winmodem or not? I hope you can help me! Regards, Ruben Thoré. my homepage: [1]http://members.lycos.nl/gibbor/ -- ___ Sign-up for your own FREE Personalized E-mail at [2]Mail.com [3]CareerBuilder.com has over 400,000 jobs. Be smarter about your job search References 1. http://members.lycos.nl/gibbor/ 2. http://www.mail.com/?sr=signup 3. http://corp.mail.com/careers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pcm on 5.1
On Thu, 3 Jul 2003 21:15:01 -0500 David Kelly [EMAIL PROTECTED] wrote: On Thursday 03 July 2003 07:01 pm, Kenneth Culver wrote: On Thursday, July 3, 2003, at 07:58 PM, Laszlo Vagner wrote: I just updated to 5.1-r and was wondering how to add soundcard support to the kernel.? in 4.8 i just added 'device pcm' in my kernel config and recompiled but 5.1 is different and i dont want to do something to mess things up. dmesg follows. Just do what you've always done. Add device pcm to your kernel. I don't think its quite that easy, but its even easier now. % cd /usr/src/sys/i386/conf % grep -i pcm * GENERIC:# PCCARD (PCMCIA) support GENERIC:# Pcmcia and cardbus bridge support GRUMPY:# PCCARD (PCMCIA) support GRUMPY:# Pcmcia and cardbus bridge support NOTES:# pca: PCM audio through your PC speaker NOTES:# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB OLDCARD:# PCCARD (PCMCIA) support OLDCARD:device pcic# PCMCIA bridge Does not appear to be a pcm device available for statically compiling into the kernel. But never mind as its available as a kld in /boot/kernel/ sure it still works.. I use device pcm for the hacked up audigy2 sound driver. :-) I've noticed a lot of things that aren't in either NOTES or GENERIC... like options TCP_DROP_SYNFIN. -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opinions on ftp-server
On Thu, 2003-07-03 at 22:59, Monte Milanuk wrote: So what makes pureftpd so much better tahn vsftpd? Seems to work well for RedHat, SuSE, and OpenBSD, to name a few. http://vsftpd.beasts.org/ Never got around to trying vsftpd. Looks like a nice server, though. Definitely working checking out. Thanks for the tip, -- Adam [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: Opinions on ftp-server
On Thu, 2003-07-03 at 22:59, Monte Milanuk wrote: So what makes pureftpd so much better tahn vsftpd? Seems to work well for RedHat, SuSE, and OpenBSD, to name a few. http://vsftpd.beasts.org/ I should ask you, what specific advantages does vsftpd have over Pure-FTPd? I have been using Pure-FTPd for over a year and am very pleased; should I switch? -- Adam [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: pcm on 5.1
Greg J. wrote: On Thu, 3 Jul 2003 21:15:01 -0500 David Kelly [EMAIL PROTECTED] wrote: On Thursday 03 July 2003 07:01 pm, Kenneth Culver wrote: On Thursday, July 3, 2003, at 07:58 PM, Laszlo Vagner wrote: I just updated to 5.1-r and was wondering how to add soundcard support to the kernel.? in 4.8 i just added 'device pcm' in my kernel config and recompiled but 5.1 is different and i dont want to do something to mess things up. dmesg follows. Just do what you've always done. Add device pcm to your kernel. I don't think its quite that easy, but its even easier now. % cd /usr/src/sys/i386/conf % grep -i pcm * GENERIC:# PCCARD (PCMCIA) support GENERIC:# Pcmcia and cardbus bridge support GRUMPY:# PCCARD (PCMCIA) support GRUMPY:# Pcmcia and cardbus bridge support NOTES:# pca: PCM audio through your PC speaker NOTES:# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB OLDCARD:# PCCARD (PCMCIA) support OLDCARD:device pcic# PCMCIA bridge Does not appear to be a pcm device available for statically compiling into the kernel. But never mind as its available as a kld in /boot/kernel/ sure it still works.. I use device pcm for the hacked up audigy2 sound driver. :-) I've noticed a lot of things that aren't in either NOTES or GENERIC... like options TCP_DROP_SYNFIN. I was looking for the LINT file but didnt find it, is the NOTES file the LINT file now? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: daily /security run output via periodic - stopped
we have 4 servers running, each sends daily and security run output email each day around 3am. Recently one of them stopped sending these messages. In looking at the periodic.conf and associated directories, I don't see any problems or changes that I am aware of. There are no enrties in cron for it, but then again there aren't any entries in the functional servers either. Is it possible we have disabled something by accident which could stop this one server from sending these messages? double checked everything just after sending... periodic.conf was missing. (doh!) Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pcm on 5.1
cd /usr/src/sys/i386/conf make LINT -- Regards Hasse Webmaster @ Swedehost.com --- On Friday 04 July 2003 14.27, Laszlo Vagner wrote: Greg J. wrote: On Thu, 3 Jul 2003 21:15:01 -0500 David Kelly [EMAIL PROTECTED] wrote: On Thursday 03 July 2003 07:01 pm, Kenneth Culver wrote: On Thursday, July 3, 2003, at 07:58 PM, Laszlo Vagner wrote: I just updated to 5.1-r and was wondering how to add soundcard support to the kernel.? in 4.8 i just added 'device pcm' in my kernel config and recompiled but 5.1 is different and i dont want to do something to mess things up. dmesg follows. Just do what you've always done. Add device pcm to your kernel. I don't think its quite that easy, but its even easier now. % cd /usr/src/sys/i386/conf % grep -i pcm * GENERIC:# PCCARD (PCMCIA) support GENERIC:# Pcmcia and cardbus bridge support GRUMPY:# PCCARD (PCMCIA) support GRUMPY:# Pcmcia and cardbus bridge support NOTES:# pca: PCM audio through your PC speaker NOTES:# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB OLDCARD:# PCCARD (PCMCIA) support OLDCARD:device pcic# PCMCIA bridge Does not appear to be a pcm device available for statically compiling into the kernel. But never mind as its available as a kld in /boot/kernel/ sure it still works.. I use device pcm for the hacked up audigy2 sound driver. :-) I've noticed a lot of things that aren't in either NOTES or GENERIC... like options TCP_DROP_SYNFIN. I was looking for the LINT file but didnt find it, is the NOTES file the LINT file now? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards Hasse Webmaster @ Swedehost.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running fsck on root filesystem
[EMAIL PROTECTED] wrote: I have a remote machine on whose boot disk I want to run fsck. Is there any way of booting freebsd form the network and then getting into fixit mode without a cdrom or a floppy ? I am using pxeboot so far. What is happening is that when I put installFixitHoloShell in the install.cfg then sysinstall throws me to the shell that is VERY barebones. I can't run even a 'ls'. In this case how do I figure out what disk slices I have in the system and on which I want to run fsck ? A lot you don't say here. One thing is _why_ you want to do this. Another is what you want to do. Your description is pretty vague. fsck is always run on the root filesystem at boot time, in preen mode. If you're having some sort of filesystem errors, setting fsck_y_enable=YES in /etc/rc.conf will cause the startup scripts to automatically run 'fsck -y' if fsck fails in preen mode. If you want to change this behaviour, you _could_ edit /etc/rc to change the default handling. From any shell, you should be able to mount filesystems readonly. When mounted readonly, you can safely run fsck. Use 'mount -r /mountpoint'. Many of your commands are not on the root filesystem, so you may need to mount (for example) /usr before you can execute certain commands. Does this help? -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: daily /security run output via periodic - stopped
On Fri, Jul 04, 2003 at 08:48:24AM -0400, Dave [Hawk-Systems] wrote: we have 4 servers running, each sends daily and security run output email each day around 3am. Recently one of them stopped sending these messages. In looking at the periodic.conf and associated directories, I don't see any problems or changes that I am aware of. There are no enrties in cron for it, but then again there aren't any entries in the functional servers either. Is it possible we have disabled something by accident which could stop this one server from sending these messages? double checked everything just after sending... periodic.conf was missing. (doh!) ... but that's OK, as the periodic system will just run using the default settings from /etc/defaults/periodic.conf -- note the instructions in that file: /etc/periodic.conf should contain only those entries you want to be different to the default values. As for how the periodic scripts get run each night: they are run as cron jobs, but out of the system crontab in /etc/crontab. That's a slightly different animal which lives in a parallel universe to the normal per-user crontabs, which are stored in /var/cron/tabs and generally accessed via crontab(1). As for the missing mail, did you check the client mailqueue? # mailq -Ac or look at the contents of /var/spool/clientmqueue. If the messages are held up there, you should investigate what happened to the sendmail msp queue-runner process which the system will run by default so long as 'sendmail_enable=YES' or 'sendmail_enable=NO' is in /etc/rc.conf. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Which server-side programming should i choose.
Joel Rees wrote: PHP!! All the way...easiest, free, likely to be more secure than Perl if used as Apache module than CGI. More secure, how so? Less arcane syntax to hide holes in, maybe? However, for people who know what they are doing, perl code can be made more secure than php code. I'm not trying to be insulting but I think that you don't know what you're talking about. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
parallel ecp mode and vpo
Hello, I have searched the net and found nothing good. I did set my mainboard BIOS to use ECP transfer mode (dma 3 irq 7). I edited my kernel to: device ppc0at isa? flags 0x8 irq 7 (is there a way to declare the dma I want to use?) and when I boot I get: Jul 1 10:36:42 delta /kernel: ppc0: Parallel port at port 0x378-0x37f irq 7 flags 0x8 on isa0 Jul 1 10:36:42 delta /kernel: ppc0: Generic chipset (ECP-only) in ECP mode Jul 1 10:36:42 delta /kernel: ppc0: FIFO with 16/16/16 bytes threshold Jul 1 10:36:42 delta /kernel: ppi0: Parallel I/O on ppbus0 Jul 1 10:36:42 delta /kernel: imm0: NIBBLE mode unavailable! and my zip-100 drive does not get recognized. Is it possible to use vpo in ECP mode?? EPP and compatible modes are just too damn slow. thanks, Paulo Roberto __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
List friendliness
Alex, On Thu, Jul 03, 2003 at 12:59:23AM +0200, Alex de Kruijff wrote: I feel the following things are helpfull sending to these list: 1. Do send mail like this with a cc to the orginal list. Others can learn from our exange of information. You can encourage people to reply back to the list by including a Reply-To line in your headers, as I've done with this message. Some list software will filter the header, but a Reply-To in the copy of the message that's sent directly to someone will probably be respected by their mail client. Since you use mutt, you might find the following .muttrc lines helpful: lists freebsd-questions freebsd-current freebsd-chat send-hook [EMAIL PROTECTED] 'my_hdr Reply-To: [EMAIL PROTECTED]' send-hook [EMAIL PROTECTED] 'my_hdr Reply-To: [EMAIL PROTECTED]' send-hook [EMAIL PROTECTED] 'my_hdr Reply-To: [EMAIL PROTECTED]' ... etc. This way, you can use the 'L' key to follow up to the list, the 'g' key to do a group-reply, or the 'r' key to reply just to the sender, and your headers will include the custom Reply-To for 'L' and 'g'. -- Paul Chvostek [EMAIL PROTECTED] it.canadahttp://www.it.ca/ Free PHP web hosting!http://www.it.ca/web/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ttpx
Hi, I've installed poppassd and am having problems getting it to work. $ telnet localhost 106 Connected to foo.com Escape character is '^]'. 200 poppassd v1.2 hello, who are you? user bar 200 your password please. pass oldpassword 200 your new password please. newpass newpassword 500 Server busy - try again later. Connection closed by foreign host. Then syslog shows: Jul 4 14:36:06 poppassd[774]: can't find pty Jul 4 14:36:06 dogstar kernel: Jul 4 14:36:06 foo poppassd[774]: can't find pty A quick look in /dev shows that there are no ttyp[0-x]. I've created a custom kernel to be sure that pty is included, and the same kernel config works on two other boxes. I guess what I'm asking is, how do I debug devfs for FreeBSD 5.1? TIA, Richard Jones -- Richard Jones http://www.jonze.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Diskless Operation Question
Benjamin Polidore [EMAIL PROTECTED] writes: I have a dedicated FreeBSD 5.1 server, and I am experimenting with a WinXP / diskless-FreeBSD dual boot workstation. I'm not running 5.1 myself, yet, but I'll drop in a few comments anyway. I have followed the instructions in the handbook and I get to a point that makes me think I have done somthing wrong with my diskless kernel. The workstation boots with an etherboot floppy, finds the dhcp server and downloads the kernel from NFS. It seems to contemplate loading the kernel for about 5 seconds then reboots. I have seen postings in the archives about recompiling the kernel with the proper CPUTYPE in /etc/make.conf. I have tried this and it makes no difference. You wouldn't expect it to, in general. This was probably working around a compiler bug that I *think* was fixed by the last gcc update. The only thing I have been considering is that I have a bunch of modules that were compiled installed w/o CPUTYPE=p3, as they were imported with clone_root. Maybe, but I'm skeptical. So the only solution I can think of is to recompile/install these modules with the proper CPUTYPE, but I'm not sure how to have make installkernel put the modules / kernel in /misc/diskless/boot instead of /boot? If I recall correctly (which I might not; I still seem to be short of caffeine this morning) this is normally done with a jail(8) environment. I won't need to do this with userland, will I? This would make diskless operation impossible for my situation. Again, jail or chroot might be a good shortcut here. I think you're right that it shouldn't be necessary, though. Below is a more detailed breakdown of what I am trying to do and some pieces of my config files. TIA- Ben Polidore [EMAIL PROTECTED] --Hardware My server: Via C3 800 CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU) Origin = CentaurHauls Id = 0x678 Stepping = 8 Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX (from dmesg) My workstation: Pentium III 933 --Configs *dhcpd.conf: option swap-path code 128 = string; option swap-size code 129 = integer 32; #snip host inferior { hardware ethernet 00:03:6d:00:18:40; fixed-address 10.0.0.100; next-server 10.0.0.1; filename /misc/diskless/kernel; option root-path 10.0.0.1:/misc/diskless; option swap-path 10.0.0.1:/misc/diskless/netswap; option swap-size 128000; } *kernel config for DISKLESS: machine i386 #cpuI486_CPU #cpuI586_CPU cpu I686_CPU ident DISKLESS maxusers0 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 options BOOTP options BOOTP_NFSROOT options BOOTP_COMPAT #that's all that seems pertinent -I have diskless root at /misc/diskless: [EMAIL PROTECTED]:~]# ls /misc/diskless/ bin confkernel sbintmp bootdev mnt stand usr cdrom etc procswap.10.0.0.100 var compat homerootsys -I compiled DISKLESS kernel like so: make buildkernel KERNCONF=DISKLESS CPUTYPE=p3 #i also had CPUTYPE=p3 in make.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: user ppp cable
FBSD_User [EMAIL PROTECTED] writes: Any body using user ppp/nat on cable isp? Is this what Netgraph is used for? An example of a working ppp.conf would be appreciated. A pointer to a how-to would be great. If your ISP uses PPP (probably PPP over Ethernet), then see the the FreeBSD Handbook section titled Using PPP over Ethernet (PPPoE). http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html If the ISP doesn't use PPP, then you won't use it either. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Throttled ethernet connection
Moriarty [EMAIL PROTECTED] writes: I have the ethernet card forced to 100mbit full duplex via rc.conf. The switch is a Netgear FS108. How would i solve a duplex mismatch? If you've got a duplex mismatch, it's because the switch isn't doing its own autosensing properly. Try forcing the switch to the same settings as those to which you forced the NIC, if you can. If you can't (which I would expect in a device at such a low price), then set different settings on the NIC, or even try letting the card autosense too. Unfortunately, autosensing has always had a few interoperability problems, although they are *much* less common than they were five years ago. [Five years ago was the last time I worked on it myself...] Good luck. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: current locale is not supported in X11, locale is set to CX
Is the locale set in your environment? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw troubles
Dan Phiffer [EMAIL PROTECTED] writes: I guess this means I'm not serving DHCP - what kind of rule would fix that? There are two sides. You need to accept the packets coming in to dhcps, as well as the ones going out to dhcpc. There are a number of different ways to do this, but make sure you keep it limited to the interface on which you intend to supply these addresses. I read somewhere that simply using natd adds statefulness to an otherwise stateless ipfw configuration. Would an unstateful ipfw setup be less secure in this case? Not necessarily, no. The kinds of state being kept are quite different, and there isn't any particular relationship between them. In fact, it's a lot more difficult to use stateful rules with natd running, because the packets match differently depending on whether they've been NAT'd already or not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Winmodem ltmdm dirver what device to use?
I've been working on setting up an new laptop as a background task for a couple of months now. All of a sudden today, I find I have to go out of town early in the morning. I've installed FreebSD a couple of times, and once I got the winmodem working using the ports/comm/ltmdm module. I the wiped the disk clean, and started over. I see that I have installed the port again this time, and dmesg looks like it's working. However, I can't for the life of me remember the device to use for this. The machine has one real serial port, so i suspect this should be the 2nd serial port. If I cu -l cuaa0, I get a connection, but no response to AT commands. If I try to cu cuaa1, I get line bust. Can somebody please re-educate me on this? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is the mailing list search system broken?
I can't seem to get any results, no matter what I search for. Is this broken? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help - it hangs hard
Ron Riese [EMAIL PROTECTED] writes: Got Freebsd 4.8 disk from cheapbytes. When I install I go through driver selection in Kernel Configuration Menu and adjusted all but address for floppy drive which is 03F0. It cannot be changed. All of my systems (win) show this as 03F2. Even tried to eliminate the driver entirely. Same result. Tried on my amd k6/2 and Pentium 200 MHz platform with same result. Tried OpenBSD and it hangs too after it displays its automatic (I guess) configuration. Can't determine how to narrow the problem to disk or my hardware. Any help appreciated. Does it have a problem without adjusting the parameters at all? Can you install with the floppy disconnected? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is the mailing list search system broken?
stan wrote: I can't seem to get any results, no matter what I search for. Is this broken? It certainly appears so ... your email is about the fifth complaining of this in the last 48 hours. A few temporary workarounds are: 1) Go to the mailman home page for the particular list you want to search and use that local search. For example: http://lists.freebsd.org/pipermail/freebsd-questions/ 2) Use the advanced search on a search engine (such as google) I've cc'd the webmaster and doc@ as I have yet to see any response that anyone is looking in to this. It's quite possible that the folks responsible for this have yet to be alerted to the breakage. If fixing the general search page will take some time, I'd be willing to generate a patch to redirect users from that page to individual search pages for the lists. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting sendmail to add Return-Path: header
I need to have the Return-Path: header to added to my emails. Any idea what is needed to configure sendmail to do that? -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recovering ext2fs partitions after crash
Update: I booted with tomrsrtbt disk: http://www.toms.net/rb/ and successfully ran the included e2fsck which appears to be the same version as I have installed on my 4.8 box. However I still get the same error when I try to run e2fsck under FBSD: # e2fsck /dev/ad0s5 e2fsck 1.27 (8-Mar-2002) The filesystem size (according to the superblock) is 1281175 blocks The physical size of the device is 0 blocks Either the superblock or the partition table is likely to be corrupt! Aborty? The ext2fs partitions exist in an extended partition. Am I missing some knowledge about using extended partitions? They mount normally and have otherwise (until the system crashed/hung) operated flawlessly to date. Does anyone know why I'm unable to use the ext2fs utilities (installed from /usr/ports/sysutils/e2fsprogs)? Thanks, Wayne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no /usr/src/etc/
John DeStefano [EMAIL PROTECTED] writes: I was trying a 'mergemaster' as seen here but kept getting the following error: cp: /usr/src/etc/master.passwd: No such file or directory *** FATAL ERROR: Cannot copy files to the temproot environment I verified that this file indeed does not exist, then realized something else when trying to 'cd' to /usr/src/etc/: the entire /usr/src/etc/ directory doesn't exist! The only subdirectory of /usr/src/ is sys/conf/ . Have I broken something??? No. You only need to use mergemaster if you have downloaded and are installing an updated version of the whole system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: Newbie Right of Passage -- Kernel Compilation Problems :-)
Kris Kerwin [EMAIL PROTECTED] writes: I have forwarded a message that's about two weeks old from the -newbies list. As you'll see, the problem is related to kernel compilation. The way to track down this kind of problem is to start with a known-working configuration, like GENERIC, and then make your changes one (or a few) at a time. This way, when it breaks, you know which changes to look at as the cause of the problem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which server-side programming should i choose.
Regardless what server side language is chosen, it is important to read the documentation associated with the language. Any language can be insecure if used improperly. User input and considerations for attacks such as SQL Injection must be taken into account for any accessible web app on the internet. Personally, I used C and PHP on my website as I found it to be simple. I am in the process of switching to Java technologies which are much more complex, but seem much faster. Professionally I have to use .NET :( Less arcane syntax to hide holes in, maybe? I'd have no problem with the assertion that newbies writing php are likely to produce less holes per thousand lines of code. However, I think the OP was trying to cover too much territory with too few sentences. (I do that myself a lot, so I'm not one to complain.) Lucas Holt [EMAIL PROTECTED] FoolishGames.com JustJournal.com The next generation of interesting software will be made on a Macintosh, not an IBM PC. -- Bill Gates (unconfirmed quote) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vi
Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal Thank you ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FreeBSD supports my hardware?
Providing more detailed info on the machine would be of use... such as chipset and ect... On Fri, 04 Jul 2003 10:52:45 +0100 Ruben Thoré [EMAIL PROTECTED] wrote: Hi, I'm interested in all unix-based OS's, so I'm now reading about FreeBSD. I would like to install it, but I would like to know if it will run (optimal) on my system. My PC is a Packard Bell Imedia5800 TNT RW, with a 20 Gb harddrive, which is designed for WinME. My hardrive is split up in two FAT32 partitions: C: = about 15 Gb, D: = about 4-5 Gb. Neither of those should be a problem. I have 4 much larger drives in my server. My Graphical card is a NVidia TNT2 Model64. FreeBSD, just like linux and other unix clones, is not responsible for this for the large part. This is handled by the X server. There is a bit handled by the OS, but that is mainly the drm kernel module, which is needed for X to do some things. This card is supported under X using the nv drivers and there are drivers available from NVidia that will that may or may not work from that card. I have a bit knowledge of Linux, so I know already something about partitioning. But there were a few problems with this SuSE Linux 6.2. First of all, the program Fdisk of SuSE gave me an error while partitioning (I was creating a Linux Swap en Linux Native partition on D:). It was something like this: Your disk is setup to ..., there's nothing wrong with that, but it could cause certain setup problems with software that runs while booting, etc. ... It's recommend that you set the disk to 1024 (I think) cilinders. Sounds like something was done wrong when setting it up... I hope you know what I mean, could this be also a problem while installing FreeBSD. Another problem was my graphical card, which wasn't supported yet, so I couldn't run KDE, etc. The third and last serious problem was, when linux was installed (however, not correct), that after I gave the command shutdown ..., I couldn't close my PC! Under Windows, if I want to shutdown my computer it does that automatically. Maybe it has something to do with my BIOS settings, can you help me if this could cause problems with FreeBSD? FreeBSD should most likely work. BTW that gfx card should be supported by X. It sounds like something was wack with the linux distro, which is not really surprising. BTW if you are thinking about using KDE, I would really suggest not and trying some blackbox clone. Fluxbox is nice. Another thing is my modem. In Windows I've my modem name: MR2800-W Data Fax Modem, and it's produced by AZT or Smartlink. Is that a winmodem or not? I hope you can help me! Regards, Ruben Thoré. my homepage: [1]http://members.lycos.nl/gibbor/ -- ___ Sign-up for your own FREE Personalized E-mail at [2]Mail.com [3]CareerBuilder.com has over 400,000 jobs. Be smarter about your job search References 1. http://members.lycos.nl/gibbor/ 2. http://www.mail.com/?sr=signup 3. http://corp.mail.com/careers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to delete/replace default route using ppp?
I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: daily /security run output via periodic - stopped
On Fri, Jul 04, 2003 at 08:48:24AM -0400, Dave [Hawk-Systems] wrote: we have 4 servers running, each sends daily and security run output email each day around 3am. Recently one of them stopped sending these messages. In looking at the periodic.conf and associated directories, I don't see any problems or changes that I am aware of. There are no enrties in cron for it, but then again there aren't any entries in the functional servers either. Is it possible we have disabled something by accident which could stop this one server from sending these messages? double checked everything just after sending... periodic.conf was missing. (doh!) ... but that's OK, as the periodic system will just run using the default settings from /etc/defaults/periodic.conf -- note the instructions in that file: /etc/periodic.conf should contain only those entries you want to be different to the default values. and the different values were where each of the reports should be emailed to. As for how the periodic scripts get run each night: they are run as cron jobs, but out of the system crontab in /etc/crontab. That's a slightly different animal which lives in a parallel universe to the normal per-user crontabs, which are stored in /var/cron/tabs and generally accessed via crontab(1). that I didn't know, but do now. Thanks As for the missing mail, did you check the client mailqueue? probably dunped into whatever the default is... root? Thanks Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vi
On Sat, Jul 05, 2003 at 12:15:06AM +0800, adrian kok wrote: Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal The man page for vi says: Vi is a screen oriented text editor. Ex is a line-oriented text edi- tor. Ex and vi are different interfaces to the same program, ... VI is a VIsual editor. If you have commands you'd like to execute on stdin, try using ex. If your stdin uses commands that exist in vim but not in ex, I'd recommend rewriting your stdin -- Paul Chvostek [EMAIL PROTECTED] it.canadahttp://www.it.ca/ Free PHP web hosting!http://www.it.ca/web/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help needed please - Thinkpad A31p FreeBSD 4.8 Installation(LONG)
On Fri, 4 Jul 2003 19:23:56 +1000 Pisut Tempatarachoke [EMAIL PROTECTED] wrote: Hi, I've just got my TP A31p and now look forward to installing FreeBSD 4.8 (4-CDROM set) on it. I'm very new to FreeBSD and really hope someone could give me some advices. Thanks a lot in advance. The laptop has no floppy drive and came with a 60 GB hard drive which consisted of two FAT32 partitions (slices): - 55 GB Windows XP Pro and - 5 GB IBM recovery partition. I used BootIT NG to shrink the XP partition down to 23 GB. This left me with a free space of 32 GB. Then, I created a 9 GB FAT32 partition within the free space hoping to use it as a data partition which can be read and written from both XP and FreeBSD. So, now I have - 23 GB Windows XP Pro - 9 GB FAT32 for sharing data between OS's - 21 GB free space (unformatted) for FreeBSD (I havn't installed it yet) and - 5 GB IBM recovery partition ???My first questions - Is this a sound method of slicing my disk? Does the 9 GB FAT32 partition really need to be there? Am I wrong in thinking that FAT32 is accessible from both XP and FreeBSD? Yes, FreeBSD can make use of FAT32 partitions. IIRC it is possible of also installing XP on a FAT32. I've read posts somewhere that I MUST NOT install FreeBSD boot manager during the installation because it will overwrite the master boot record (MBR), and as a result XP will be unbootable. I then must leave the MBR untouched until I finish with the FreeBSD installation and copy /boot/boo1 to another computer on a network (A31p doesn't have a floppy drive). Then, I have to boot from a FreeBSD CD to enter FDisk and make sure the XP partition is set bootable. Reboot it and once I'm in XP, I can copy /boot/boot1 from the networked computer to C:\BOOTSECT.BSD and include a line C:\BOOTSECT.BSD=FreeBSD in my BOOT.INI file. This will give me a boot-from-FreeBSD-slice option the next time I boot my laptop. ???My second questions - Is this approach workable? How do I copy /boot/boot1 to another computer on a network? Can I copy it onto my 9 GB FAT32 slice instead, as I'm not sure if I will be smart enough to set up the LAN connection correctly? Could I write it onto a blank CD? What are the commands involved? ???My third questions - Could someone please suggest how I should partition my FreeBSD slice? As I have 768 MB RAM, here is what I have in mind:- / 512 MB swap 2048 MB /var 512 MB /tmp 1024 MB /usr Rest of disk I have no idea how much disk space I should allocate to /, /var, and /tmp. Can I change them at a later stage? What are UFS and UFS+S and how are they different? I would just allocate 512Mb to swap should be fine. I have just slightly more than 512Mb and 512Mb of ram and I have never had a problem. UFS is the file system FreeBSD uses. The +S means with soft updates. This provides something that does basically the same thing as journalling, but with out speeding up the booting proccess when it is powered down with out being unmounted. ???Forth question - Is it a good idea to just install everything during the first installation? Any recommendations on what I should or should not install please? I personally would install most everything I want to begin with then take the time later to edit make.conf and use the portstree to compile and reinstall optimized binaries of various ports. ???Last questions - During the monitor configuration stage, I have to supply the infomation on a) the horizontal sync range, b) the vertical sync range, and c) the LCD make. How do I find out this information? Does anyone with an A31p know please? I don't know, but it may be worth checking to see what windows is using. If that does not work, there is all ways messing with it till you find one that works nicely. Thank you all very very much any other tips are also welcome. BTW I would not suggest using KDE, despite being a well known wm/desktop enviroment, it is eats a lot of resources and is slow. I would suggest using Fluxbox or another Blackbox clone. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does Bill Gates own any of those Linux distributions firma?
On Fri, Jul 04, 2003 at 11:41:57AM -0400, Lucas Holt wrote: Before the antitrust trial, Bill Gates did own SCO Stock. I don't know if he was forced to sell it or not. Bill or another family member may still own stock in SCO. Microsoft sold most of its SCO stock long before the Caldera buyout, and if I remember correctly, never owned more that 15%. As for me, I chose FreeBSD over linux on my server simply because I have faith in Unix. Its time tested. Linux on the other hand tends to be a war of personalities.. and the kernel shows it. It didn't hurt my feelings that Apple uses FreeBSD code in Mac OS X either. If you want personality wars, how 'bout openbsd/netbsd :-). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Bagdikian's Observation: Trying to be a first-rate reporter on the average American newspaper is like trying to play Bach's St. Matthew Passion on a ukelele. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Opinions on ftp-server
On Fri, Jul 04, 2003 at 08:12:00AM -0400, Adam wrote: I should ask you, what specific advantages does vsftpd have over Pure-FTPd? I have been using Pure-FTPd for over a year and am very pleased; should I switch? Heck no, man, use whatever floats your boat. I use ftp intermittently, usually when there is something that needs transferred or installed on my little home LAN and there isn't another easier way to do it. I just find it interesting to see people recommending pureftpd as the end-all, be-all of secure, unbreakable ftp daemons. Then I go to the project site, and the 'big' name user is the Spanish Nat'l Research project. No offense to anyone associated w/ said group, but I'm thinking seeing projects like OpenBSD, RedHat, SuSE, SANS, and IBM recommending vsftpd as the ftpd of choice (heck, even the LinuxMafia article you cited mentioned vsftpd was the authors preferred option) makes me think vsftpd, not pureftpd. Does pureftpd have an impeccable security record? Sure looks like it. Does it have a lot of nice feature and add-ons available. Appears so. vsftpd, from the little bit I've seen setting it up on Linux boxes, is pretty bare bones, w/ no frills. So again, if pureftpd is what works for you, keep on truckin' ;) nuk -- I know more than enough *nix to do some very destructive things, and not nearly enough to do very many useful things. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help needed please - Thinkpad A31p FreeBSD 4.8 Installation(LONG)
On Fri, Jul 04, 2003 at 07:23:56PM +1000 or thereabouts, Pisut Tempatarachoke wrote: Hi, Yay -- another installation question :-) Good luck with BSD! I've just got my TP A31p and now look forward to installing FreeBSD 4.8 (4-CDROM set) on it. I'm very new to FreeBSD and really hope someone could give me some advices. Thanks a lot in advance. The laptop has no floppy drive and came with a 60 GB hard drive which consisted of two FAT32 partitions (slices): - 55 GB Windows XP Pro and - 5 GB IBM recovery partition. I used BootIT NG to shrink the XP partition down to 23 GB. This left me with a free space of 32 GB. Then, I created a 9 GB FAT32 partition within the free space hoping to use it as a data partition which can be read and written from both XP and FreeBSD. So, now I have - 23 GB Windows XP Pro - 9 GB FAT32 for sharing data between OS's - 21 GB free space (unformatted) for FreeBSD (I havn't installed it yet) and - 5 GB IBM recovery partition ???My first questions - Is this a sound method of slicing my disk? Does the 9 GB FAT32 partition really need to be there? Am I wrong in thinking that FAT32 is accessible from both XP and FreeBSD? Maybe 9GB is a little big, but I would say definitely have *some* fat32 partition there. Both FBSD and XP can access it. However, considering that as of now you have no data on either your FAT32 partition or your unformatted FBSD partition, I would suggest shrinking that FAT32 down to oh, 3gigs or so. Remember, you'll only need it for data you need to share between FreeBSD and XP. I've read posts somewhere that I MUST NOT install FreeBSD boot manager during the installation because it will overwrite the master boot record (MBR), and as a result XP will be unbootable. Quite correct. I then must leave the MBR untouched until I finish with the FreeBSD installation and copy /boot/boo1 to another computer on a network (A31p doesn't have a floppy drive). Then, I have to boot from a FreeBSD CD to enter FDisk and make sure the XP partition is set bootable. Reboot it and once I'm in XP, I can copy /boot/boot1 from the networked computer to C:\BOOTSECT.BSD and include a line C:\BOOTSECT.BSD=FreeBSD in my BOOT.INI file. This will give me a boot-from-FreeBSD-slice option the next time I boot my laptop. ???My second questions - Is this approach workable? How do I copy /boot/boot1 to another computer on a network? Can I copy it onto my 9 GB FAT32 slice instead, as I'm not sure if I will be smart enough to set up the LAN connection correctly? Could I write it onto a blank CD? What are the commands involved? I would recommend putting it on your fat32 partition. Here's how to do that (after the installation): Boot from the FreeBSD CD1, in Fixit mode. Use the Emergency Holographic Shell if you don't have CD2; use Fixit CD if you do have CD2. Press ALT+F2 (or whatever it says to press) to switch to the Fixit prompt. Then do this: # mkdir -p /mnt/system # mount /dev/ad0s3a /mnt/my-system # mkdir -p /mnt/transfer # mount /dev/ad0s2 /mnt/transfer # cp /mnt/my-system/boot/boot1 /mnt/transfer/BOOTSECT.BSD # umount /mnt/transfer # umount /mnt/system # exit Then reboot into XP. You'll find BOOTSECT.BSD on the shared partition. ???My third questions - Could someone please suggest how I should partition my FreeBSD slice? As I have 768 MB RAM, here is what I have in mind:- / 512 MB swap 2048 MB /var 512 MB /tmp 1024 MB /usr Rest of disk I have no idea how much disk space I should allocate to /, /var, and /tmp. Can I change them at a later stage? What are UFS and UFS+S and how are they different? This is a good partitioning layout; here's mine: Filesystem Size Used Avail Capacity Mounted on /dev/ad2a3.9G 847M 2.7G23%/ /dev/ad2e 63G22G36G38%/usr /dev/ad2d3.9G 2.8G 799M78%/var I put /tmp as a symlink to /var/tmp; I suggest you merge /tmp and /var/tmp. Also notice that I use dangerously dedicated partitioning - DON'T DO THAT! You'll have partition names like /dev/ad0s3X where X is a letter a-h. To answer your question, you cannot resize the BSD partitions without backing up all your BSD data, erasing it, and repartitioning it. However, that would not affect your Windows data. UFS is the Unix File System -- what BSD uses (XP uses NTFS). UFS+S is UFS with Softupdates -- it's sort of like journalling, but you still have to fsck (think ScanDisk). ???Forth question - Is it a good idea to just install everything during the first installation? Any recommendations on what I should or should not install please? I recommend installing all the base distributions (bin, crypto, games, man, info, things like that). Which of the packages you install is up to you. ???Last questions - During the monitor configuration stage, I have to supply the infomation on a) the horizontal sync range, b) the vertical sync range, and c) the LCD make. How do I find out
Re: Compiling
On 04 Jul 2003 10:24:10 -0400, Lowell Gilbert wrote: I am having a problem compiling several programs. I keep getting the error can't find expat, but I have it installed. pkg_info lists it and if I look /usr/local/include there is an expat.h file what am I missing? I am trying to compile fontconfig 2.2.1, also while trying to compile xmule 1.5.2 I get the error: make: can not allocate memory Error code 1 Is there anything more informative in the output before the errors you showed? Do you get the same errors from the different things you try to compile, or are the symptoms (even slightly) different? Do you have process limits on memory (e.g., from login.conf: check the output of limits(1) to be sure)? Have you upgraded your base system? Well apache compiles fine. it's just emule that gives the mem error. there are a couple of progs that can't find the expat libs though. font config being one. when compiling e(x)mule I get: vr5# make make all-recursive Making all in intl Making all in m4 Making all in src Making all in wx Making all in xrc make: Cannot allocate memory *** Error code 1 Stop in /usr/src/xmule-1.5.2/src. *** Error code 1 Stop in /usr/src/xmule-1.5.2. *** Error code 1 Stop in /usr/src/xmule-1.5.2. --- here are my limits this is a new install on a new machine and I made no changes to the limits. Resource limits (current): cputime infinity secs filesize infinity kb datasize 524288 kb stacksize 65536 kb coredumpsize infinity kb memoryuseinfinity kb memorylocked infinity kb maxprocesses 3675 openfiles7351 sbsize infinity bytes vmemoryuse infinity kb -- Why do I use OS/2 ... I like having a choice !! Ronny Hippler || Spartanburg SC http://www.vr5.dyndns.org:8008/ || ftp://ftp.vr5.dyndns.org:2112/ For PGP key email with PGPKey in the subject ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to delete/replace default route using ppp?
stan wrote: I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? Please forgive me if I'm saying something you already know. The default ppp.conf file has a line: add default HISADDR Which should do what you want. I'm not 100% sure that this will actually delete a previous route. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
colorized tail.
Hi, I've seen a few people that have tail outputs on their desktop (root window) all nice, transparent and even colorized. I've found roottail which does the basics (tail -f's a log straight to the rootwindow), but I wanted to know how I could colorize the output? I've seen colortail, but the only way to get this to work is using an aterm, etc. Is there anything like a colorroottail in existence? Thanks very much, -lewiz. -- [Sir Stafford Cripps] has all the virtues I dislike and none of the vices I admire. -- Winston Churchill -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: vi
On Sat, 5 Jul 2003, adrian kok wrote: Can I avoid this warning message from vi? When I run vi in.txt Vim: Warning: Input is not from a terminal Run vi in.txt If you need to edit a file from a script, use ex or sed instead Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to delete/replace default route using ppp?
Try adding this to your ppp.conf enable dns # Gets the ISP's DNS IP address places them # in resolv.conf for reference by FBSD box. disable iface-alias# Stop adding old IP addr as alias when ppp # redials because line was lost. These old ips # showed using ifconfig -a on tun0. iface clear# Remove all previous IP address add default HISADDR# Add a (sticky) default route (Mandatory) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of stan Sent: Friday, July 04, 2003 12:13 PM To: Free BSD Questions list Subject: How to delete/replace default route using ppp? I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
On Fri, Jul 04, 2003 at 11:19:57AM -0400, David Banning wrote: I need to have the Return-Path: header to added to my emails. Any idea what is needed to configure sendmail to do that? Return-Path: is meant to be inserted into the message headers by the sendmail that does final delivery -- it's not something you should set on all of the e-mail you send out. The machinery to handle all this should already be in your sendmail.cf -- if there's a line: H?P?Return-Path: $g in the 'Format of Headers' section, then any delivery mailer with 'P' in the F= flags (which is the default for the local and prog mailers) will insert the Return-Path: header -- eg. Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXfmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/SMTP, A=mail.local -l These are the default settings, and it would take sufficient effort to generate a sendmail.cf without something like those in it that you would surely remember doing so... See http://www.faqs.org/rfcs/rfc2821.html, section 4.4 for the chapter and verse about the Return-Path: header. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Can't boot kernel from boot prompt :(
Hello, Have a 5.1 install on a two HD machine. disk1 is winXP, disk2 is FreeBSD. I couldn't get the install to write to the MBR on disk1, so I tried booting from the CD and at the boot prompt trying to load the kernel from my BSD partition. Can't get it. I've read a few things I could find on google and they didn't work, kept looking on the CD I think. Sorry, not very savy at this yet, though I didn't think it would matter between 4.8 and 5.1, so didn't try a older release version. I just need some info on the correct method for booting from the prompt. lsdev at the prompt lists something like Disk0: drive A: Disk1: drive C: shows two partitions ( thiis is XP drive) Disk2: shows my BSD partions: ad1s1a UFS ( or whatever the partition is...) ad1s1b swap ... I've tried the following at the boot prompt (prefaced with 'boot' or 'load'): disk2s1a:/kernel disk2s1a:kernel disk2s1a:/boot/kernel ''/boot/kernel/kernel 2:ad(1,a)/kernel ... and many variations of this. I know it's kinda funny looking at all the things I tried, I'm new! :) Anyway, like I said, it would seem to access the CD and after a bit I would get the message can't find insert above attempt .. Any help would be appreciated, I just wanna boot from my HD! /w! Thanks for any assistance. I've looked in the archives and haven't came across anything that worked. JD __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to delete/replace default route using ppp?
stan wrote: On Fri, Jul 04, 2003 at 01:52:43PM -0400, Bill Moran wrote: stan wrote: I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? Please forgive me if I'm saying something you already know. The default ppp.conf file has a line: add default HISADDR Which should do what you want. I'm not 100% sure that this will actually delete a previous route. That's the issue. It will not. Yo get an error message about route 0.0.0.0 already existing. Acording to the ppp.conf man page the line delete default or delete ALL _should work, but I'm having troubel getting them to work for me. Hmmm ... it's been a while, but ... Doesn't ppp have a scripting interface? If so, you should be able to run a script that does 'route delete default'? Just thinking out loud. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
Return-Path: is meant to be inserted into the message headers by the sendmail that does final delivery -- it's not something you should set on all of the e-mail you send out. The machinery to handle all this should already be in your sendmail.cf -- if there's a line: H?P?Return-Path: $g in the 'Format of Headers' section, then any delivery mailer with 'P' in the F= flags (which is the default for the local and prog mailers) will insert the Return-Path: header -- eg. Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXfmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, OK. I've got the same entries as you, but I am not getting the Return-Path: put in the header. Now I am reading my mail -on- the server. Since it is mail.local or in my case procmail that reads it, it -should- put it in before depositing it in /var/mail for pickup, shouldn't it? I have tried compiling with the procmail option out, like yours and it makes no difference. My sendmail.cf shows; Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr FromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D =$z:/, T=X-Unix/X-Unix/X-Unix, A=sh -c $u ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
app startup on boot problem
hi I have a server on which i run MySQL and Zope. I start MySQL from /usr/local/etc/rc.d and zope from cron with an @reboot. Zope has a module with let's it interface with MySQL. The problem is that everytime i reboot Zope says that its connection to MySQL is broken because it can't find libmysqlcient. I restart zope and it works fine, problem gone. I'd like to make this problem go away. I suspect it has to do with the order in which these apps start at boot time but I'm not sure. Can anyone suggest what I can look at to solve this? Thanks -- george donnelly - http://www.zettai.net/ - Quality Zope Hosting Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
On Fri, Jul 04, 2003 at 04:28:48PM -0400, David Banning wrote: Return-Path: is meant to be inserted into the message headers by the sendmail that does final delivery -- it's not something you should set on all of the e-mail you send out. The machinery to handle all this should already be in your sendmail.cf -- if there's a line: H?P?Return-Path: $g in the 'Format of Headers' section, then any delivery mailer with 'P' in the F= flags (which is the default for the local and prog mailers) will insert the Return-Path: header -- eg. Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qPSXfmnz9, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, OK. I've got the same entries as you, but I am not getting the Return-Path: put in the header. Now I am reading my mail -on- the server. Since it is mail.local or in my case procmail that reads it, it -should- put it in before depositing it in /var/mail for pickup, shouldn't it? I have tried compiling with the procmail option out, like yours and it makes no difference. My sendmail.cf shows; Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr FromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D =$z:/, T=X-Unix/X-Unix/X-Unix, A=sh -c $u Actually, I use procmail as the default delivery agent myself --- that example came from /etc/mail/freebsd.cf --- but even so, the Return-Path: stuff is inserted correctly. How are you checking for the presence or absence of the header? Most mail applications will weed it out of what they display to you -- bouncing on the 'h' key in mutt shows it, generally as the 2nd line of header right underneath the 'From ' line. Otherwise, grep'ing the mbox file directly is probably the thing to do. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
RE: How to delete/replace default route using ppp?
Try adding this to your ppp.conf enable dns # Gets the ISP's DNS IP address places them # in resolv.conf for reference by FBSD box. disable iface-alias# Stop adding old IP addr as alias when ppp # redials because line was lost. These old ips # showed using ifconfig -a on tun0. iface clear# Remove all previous IP address add default HISADDR# Add a (sticky) default route (Mandatory) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of stan Sent: Friday, July 04, 2003 12:13 PM To: Free BSD Questions list Subject: How to delete/replace default route using ppp? I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: app startup on boot problem
On Fri, 2003-07-04 at 11:36, george donnelly wrote: I have a server on which i run MySQL and Zope. I start MySQL from /usr/local/etc/rc.d and zope from cron with an @reboot. Zope has a module with let's it interface with MySQL. The problem is that everytime i reboot Zope says that its connection to MySQL is broken because it can't find libmysqlcient. I restart zope and it works fine, problem gone. I'd like to make this problem go away. I suspect it has to do with the order in which these apps start at boot time but I'm not sure. Can anyone suggest what I can look at to solve this? This might sound a little hackish, but I think it would work. Move the two startup scripts for Zope MySQL *outside* of rc.d. Then, write a script in rc.d with start stop targets, which execute/terminate Zope MySQL in the order you prefer. Of course, this will only be effective if indeed it is the order of execution that is causing your problems. -- Adam McLaurin [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: getting sendmail to add Return-Path: header
Actually, I use procmail as the default delivery agent myself --- that example came from /etc/mail/freebsd.cf --- but even so, the Return-Path: stuff is inserted correctly. How are you checking for the presence or absence of the header? Most mail applications will weed it out of what they display to you -- bouncing on the 'h' key in mutt shows it, generally as the 2nd line of header right underneath the 'From ' line. Otherwise, grep'ing the mbox file directly is probably the thing to do. There's no mistaking it. I've used vi and grep. Here, is the message as I received it from you; From [EMAIL PROTECTED] Fri Jul 4 16:40:08 2003 Received: (from [EMAIL PROTECTED]) by 3s1.com (8.12.9/8.12.9) id h64Ke8IG019663 for [EMAIL PROTECTED]; Fri, 4 Jul 2003 16:40:08 -0400 (EDT) (envelope-from [EMAIL PROTECTED]) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69. 218]) by 3s1.com (8.12.9/8.12.6) with ESMTP id h64Ke6m4019636 for [EMAIL PROTECTED]; Fri, 4 Jul 2003 16:40:07 -0400 (EDT) (envelope-from [EMAIL PROTECTED]) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) by smtp.infracaninophile.co.uk (8.12.9/8.12.9) with ESMTP id h64KcZZj030 890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jul 2003 21:39:57 +0100 (BST) (envelope-from [EMAIL PROTECTED]) Received: (from [EMAIL PROTECTED]) by happy-idiot-talk.infracaninophile.co.uk (8.12.9/8.12.9/Submit) id h64 KcZLF030889; Fri, 4 Jul 2003 21:38:35 +0100 (BST) (envelope-from matthew) Date: Fri, 4 Jul 2003 21:38:35 +0100 From: Matthew Seaman [EMAIL PROTECTED] To: David Banning [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: getting sendmail to add Return-Path: header Message-ID: [EMAIL PROTECTED] Mail-Followup-To: Matthew Seaman [EMAIL PROTECTED], David Banning [EMAIL PROTECTED], [EMAIL PROTECTED] References: [EMAIL PROTECTED] 20030704190458.GD6905 [EMAIL PROTECTED] [EMAIL PROTECTED] ada.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol=application/pgp-signature; boundary=gBBFr7Ir9EOA20Yy Content-Disposition: inline In-Reply-To: [EMAIL PROTECTED] User-Agent: Mutt/1.5.4i X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,PGP_SIGNATURE_2 version=2.31 X-Spam-Level: --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 04, 2003 at 04:28:48PM -0400, David Banning wrote: Return-Path: is meant to be inserted into the message headers by the sendmail that does final delivery -- it's not something you should set on all of the e-mail you send out. The machinery to handle all this and so on... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
Now it seems to be working. I inserted it in the F section of the settings below the one we discussed and it seems to work. Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr FromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/H... HERE^ I am not sure what I did, or what the purpose of Mprog is. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
On Fri, Jul 04, 2003 at 05:06:45PM -0400, David Banning wrote: Actually, I use procmail as the default delivery agent myself --- that example came from /etc/mail/freebsd.cf --- but even so, the Return-Path: stuff is inserted correctly. How are you checking for the presence or absence of the header? Most mail applications will weed it out of what they display to you -- bouncing on the 'h' key in mutt shows it, generally as the 2nd line of header right underneath the 'From ' line. Otherwise, grep'ing the mbox file directly is probably the thing to do. There's no mistaking it. I've used vi and grep. Here, is the message as I received it from you; From [EMAIL PROTECTED] Fri Jul 4 16:40:08 2003 Received: (from [EMAIL PROTECTED]) by 3s1.com (8.12.9/8.12.9) id h64Ke8IG019663 for [EMAIL PROTECTED]; Fri, 4 Jul 2003 16:40:08 -0400 (EDT) (envelope-from [EMAIL PROTECTED]) Yup. It's definitely not there. This has me completely perplexed. You seem to be doing everything correctly, and all of the right things are appearing in the sendmail.cf file, but the fault is definitely occurring. All I can conclude is that there is some trivial boo-boo somewhere that will have you slapping your forehead and shouting D'Oh! in the approved Homer-Simpson-esque style. It's going to be something on the level of you're not using the sendmail binary you think you are, or it's not reading /etc/mail/sendmail.cf. Have you sanity checked /etc/mail/mailer.conf ? Does anything untoward appear in /var/log/maillog ? How about the maillog entries when you restart the MTA? Can you try this: run sendmail in address test mode: % /usr/sbin/sendmail -bt and check the output of dumping the mailer definitions: =M (ie. make sure that the local mailer definition being used by sendmail is actually the same as in /etc/mail/sendmail.cf) Also try: /parse [EMAIL PROTECTED] which should give you Parse1 and parse lines like so: Parse1 returns: $# local $: david parsereturns: $# local $: david indicating that your sendmail will use the local mailer to do the final delivery. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: getting sendmail to add Return-Path: header
On Fri, Jul 04, 2003 at 05:38:13PM -0400, David Banning wrote: Now it seems to be working. I inserted it in the F section of the settings below the one we discussed and it seems to work. Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr FromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/H... HERE^ I am not sure what I did, or what the purpose of Mprog is. The prog mailer is generally for aliases that pipe mail into programs -- eg: msgs: | /usr/bin/msgs -s It's not often used --- too much opportunity for abuse over the network. About the only thing I remember ever using it was majordomo, but I suppose it could be something to do with anti-spam or anti-virus scanning. The question now must be why your system is using the 'prog' mailer to do final delivery of your e-mail? Got any interesting entries in /etc/mail/mailertable or /etc/mail/aliases ? Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Solved --- FreeBSD 5.1 and Promise TX4
Hello, Ok, I figure out my problem as to why FreeBSD 5.1 release would not install with both a Promise Ultra 66 and a TX4 controller card in the same PC. The short of the long, it was and ID10T error. I realizes the problem after I install FreeBSD 4.8 release and was preparing to build a custom kernel. I used the dmesg command too see what FreeBSD had found and that when I saw the answer. The hard disk drive attached to the Promise Ultra 66 controller is ad12 not ad10 as I thought - ad10, ad4, ad6, ad8 where the individual disk on the Promise TX4 controller. Once I realized this, I did another install of FreeBSD 5.1 Release and the install work. Thanks, Andrew AKA Dyslextic ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to delete/replace default route using ppp?
On Fri, Jul 04, 2003 at 03:14:08PM -0400, Bill Moran wrote: stan wrote: On Fri, Jul 04, 2003 at 01:52:43PM -0400, Bill Moran wrote: stan wrote: I'm trying to get a new laptop set up for a quick out of town trip. Can anyone help me with the ppp.conf syntax to clear/replace an existing default rout for the duration of a ppp linkup? That is, the machine starts off with a default route, which I want to delete and replace with the ppp route for the duration of the conection. Then I wnat to put the orignal route back. Sugestions? Please forgive me if I'm saying something you already know. The default ppp.conf file has a line: add default HISADDR Which should do what you want. I'm not 100% sure that this will actually delete a previous route. That's the issue. It will not. Yo get an error message about route 0.0.0.0 already existing. Acording to the ppp.conf man page the line delete default or delete ALL _should work, but I'm having troubel getting them to work for me. Hmmm ... it's been a while, but ... Doesn't ppp have a scripting interface? If so, you should be able to run a script that does 'route delete default'? Just thinking out loud. Not a bad thought. I'll check it out. Thanks. -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux module problem..
I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the kernel with kldload it fails. kldload output is as follows: kldload: can't load linux: Exec format error I recently upgraded from 4.7 using make world. Any ideas of how to get the linux compatibility to work? //Stefan Moro ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to [EMAIL PROTECTED] with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED] Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting sendmail to add Return-Path: header
In the last episode (Jul 04), Matthew Seaman said: On Fri, Jul 04, 2003 at 05:38:13PM -0400, David Banning wrote: Now it seems to be working. I inserted it in the F section of the settings below the one we discussed and it seems to work. Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr FromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/H... HERE^ I am not sure what I did, or what the purpose of Mprog is. The prog mailer is generally for aliases that pipe mail into programs It also applies to pipes in .forward files, so if David has a |procmail entry in his .forward, that will force sendmail to use the prog mailer instead of local. FEATURE(local_procmail) in your .mc is a better solution, which will tell sendmail to use procmail as the local delivery agent, so you don't need .forward at all. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Command to list data
I am wondering how a shell provider running FreeBSD sets up data to be output with a command. For example typing vhosts at the command prompt would list a bunch of ip addresses. How would I set this up? _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command to list data
In the last episode (Jul 04), Nucking Futs said: I am wondering how a shell provider running FreeBSD sets up data to be output with a command. For example typing vhosts at the command prompt would list a bunch of ip addresses. How would I set this up? Shell script, most likely. #! /bin/sh cat /etc/mail/local-host-names .. Or wherever you store your vhosts. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compile fails (-lexpat).
Hi, I'm trying to compile a programme called ``Dasher'' from source, which requires Expat (which I do have installed according to pkg_info and ldconfig -rv). However, it fails when I configure it: sh configure --prefix=/usr/local --exec-prefix=/usr/local with: checking for XML_Parse in -lexpat... no configure: error: Expat library not found. the config.log shows: configure:6789: cc -o conftest -O2 -pipe -march=pentiumpro conftest.c -lexpat 5 /usr/bin/ld: cannot find -lexpat configure:6792: $? = 1 configure: failed program was: #line 6764 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern C #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. char XML_Parse (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern C # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { XML_Parse (); ; return 0; } configure:6809: result: no configure:6819: error: Expat library not found. I hope somebody might be able to help with this problem :) Sorry if it's something really silly (I have never fully understood ld, ldconfig and libraries). Thanks very much, -lewiz. -- Don't cook tonight -- starve a rat today! -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Can I do that?
I acquired a Buslink 1394 Firewire 80GB hard drive, in which I would like to install FreeBSD, to try it out. So far, except for Mandrake 9.1, none of the other Linux distros have been able to find and install itself on the Firewire bus. So now, this would give me /dev/hda for WindowsXP Pro, /dev/hdb for Mandrake 9.1, and /dev/sda for (maybe?) FreeBSD. I am (was) reserving this extra drive to try different distros. My computer has 700+MB of ram, and it is a 3.06GHz hyperthreading chip. I would be using Mandrake's Lilo to boot into FreeBSD. Can your distro find and use, and install itself into a Firewire bus? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ymessenger on 5.1
I've tried using the FreeBSD port from Yahoo (ymessenger-0.99.19-1.tgz) following their instructions and then tried using a couple of different Linux binary's. I keep getting the message that it can't open shared object libintl.so.2.. I did see something about this problem when I first got on the list a cople of months ago but a search of the archive doesn't turn up anything. Can someone give me a hand? -- Ken Thompson WA7SYR Payette, Idaho Email: [EMAIL PROTECTED] Linux- Coming Soon To A Desktop Near You Registered Linux User #183936 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ymessenger on 5.1
I have not had any luck with it... try gaim On Fri, 4 Jul 2003 19:39:53 -0600 Ken Thompson [EMAIL PROTECTED] wrote: I've tried using the FreeBSD port from Yahoo (ymessenger-0.99.19-1.tgz) following their instructions and then tried using a couple of different Linux binary's. I keep getting the message that it can't open shared object libintl.so.2.. I did see something about this problem when I first got on the list a cople of months ago but a search of the archive doesn't turn up anything. Can someone give me a hand? -- Ken Thompson WA7SYR Payette, Idaho Email: [EMAIL PROTECTED] Linux- Coming Soon To A Desktop Near You Registered Linux User #183936 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ymessenger on 5.1
On Fri, Jul 04, 2003 at 07:39:53PM -0600, Ken Thompson wrote: I've tried using the FreeBSD port from Yahoo (ymessenger-0.99.19-1.tgz) following their instructions and then tried using a couple of different Linux binary's. I keep getting the message that it can't open shared object libintl.so.2.. I did see something about this problem when I first got on the list a cople of months ago but a search of the archive doesn't turn up anything. Can someone give me a hand? Gaim works much better than ymessenger. Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.1 [EMAIL PROTECTED] | Micro$oft free world | www.bafug.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using Freebsd's Linux Real Player at Console?
Just wondering how I would go about running Real Player from the console so I can listen to my favorite net.radio station without having to have X running or having it running in the Gui. I know there's a switch to do this, but I'll be darned if I can find it. Anybody know? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ymessenger on 5.1
i'm agree about that...:) i'm already using licq, everybuddy and ymessenger but gaim have all the advantages. - Original Message - From: Josef Grosch [EMAIL PROTECTED] To: Ken Thompson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, July 05, 2003 9:41 AM Subject: Re: Ymessenger on 5.1 On Fri, Jul 04, 2003 at 07:39:53PM -0600, Ken Thompson wrote: I've tried using the FreeBSD port from Yahoo (ymessenger-0.99.19-1.tgz) following their instructions and then tried using a couple of different Linux binary's. I keep getting the message that it can't open shared object libintl.so.2.. I did see something about this problem when I first got on the list a cople of months ago but a search of the archive doesn't turn up anything. Can someone give me a hand? Gaim works much better than ymessenger. Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.1 [EMAIL PROTECTED] | Micro$oft free world | www.bafug.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird messages during 'pkgdb -F'
I get these messages when I execute the, pkgdb -F command as root. Not sure what to do here...Any suggestions??? --- Checking the package registry database Stale dependency: Mesa-3.4.2_2 - fontconfig-2.2.0 (x11-fonts/fontconfig): New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] n New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] y Skipped. Stale dependency: XFree86-4.3.0,1 - fontconfig-2.2.0 (x11-fonts/fontconfig): Skip this? ([y]es/[n]o/[a]ll) [yes] y Stale dependency: XFree86-FontServer-4.3.0_1 - fontconfig-2.2.0 (x11-fonts/fontconfig): Skip this? ([y]es/[n]o/[a]ll) [yes] y Stale dependency: XFree86-Server-4.3.0_8 - fontconfig-2.2.0 (x11-fonts/fontconfig): Skip this? ([y]es/[n]o/[a]ll) [yes] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab same time execution order
--- Chuck Swiger [EMAIL PROTECTED] wrote: Dave McCammon wrote: If two entries in the crontab are for the same time, which entry gets ran first? It's not deterministic, or if it happens to be so under FreeBSD, it's not on other platforms and you should not rely on a particular order. If you've got commands which depend on each other in cron, do something like: command1 ; command2 ; command3 ...or... command1 command2 command3 Thanks for the reply. Basically, what I am looking for is to get a command to run right before newsyslog rotates a log file(awstats and apache log file. After I sent the message, I started playing with /etc/crontab and noticed that the lower on the list the sooner the command would run (per /var/log/cron) in comparison with a command set to run at the same time. What I did was put an 'echo' command above the newsyslog entry, restarted cron,waited for top of hour, checked log, moved command below the newsyslog entry, restarted cron, waited for top of hour and checked log file. The command ran before cron when listed lower and then ran after when command was listed above the newsyslog entry. I also noticed that when the 'atrun' command runs at the top of the hour, it will run after the newsyslog entry and newsyslog is listed lower in the /etc/crontab file. Perhaps this predictable behavior is in FreeBSD only. (I don't have access to other platforms). Or perhaps my simple test was too simple. It just seemed to be too predictable to not at least try to get some feed back. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MPlayer bsdbt848 TV-in problem on 4.7
I'm having quite a problem trying to get MPlayer to display TV on FreeBSD 4.7. When I try to play it, I get nothing but a blue window. When I try to encode/dump it, MPlayer/Mencoder exit with an error of: Couldn't find matching colorspace - retrying with -vop scale... Sorry, selected video_out device is incompatible with this codec. Can't find codec matching selected -vo and video format 0x59565955! and Exiting... I can assure everyone that there is no videocard problem. I have tried two different AGP cards (ATI Rage128 and Nvidia GeForce4), and XV, SDL, GL, etc, all work perfectly for anything other than TV-viewing. Besides, a videocard problem wouldn't account for my inability to record/encode. I have /modules/bktr_mem.o and bktr.o loading at startup, and FXTV works quite well with it. I've had it working fine under a couple different Linux 2.4.xx distros with Mplayer, albeit using v4l, not bktr. I have gone so far as to having written a script that tried every possible combination of hw.bt848.card= and hw.bt848.tuner=, and trying to get mplayer to encode a few seconds of video using each setting. That just leaves me with a buch of 0B output files. The card in question is a K-World KW-TV878RF-PRO. My DMESG is below. The command-line I typically use to launch mplayer is: mplayer -tv on:driver=bsdbt848:input=0:width=640:height=480:norm=NTSC:chanlist=us-cable:channel=11, although I've tried plenty of minor variations by now, such as trying all the different outfmt= settings, etc. This is something I really need to be able to do, but this has been quite a stumbling block so far. It doesn't help that every result I find searching through google is someone saying how well MPlayer works at displaying TV (D'oh!). If nobody has any aswers, I suppose I'll have to go bother the port maintainer with this one, which I'd rather not do... Any help is appreciated. DMESG: 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-RELEASE #0: Fri Jul 4 03:11:01 PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC Timecounter i8254 frequency 1193182 Hz CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x681 Stepping = 1 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc040AMIE,DSP,3DNow! real memory = 268419072 (262128K bytes) avail memory = 253861888 (247912K bytes) Preloaded elf kernel kernel at 0xc071b000. Preloaded elf module linux.ko at 0xc071b09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1f10 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib2: PCI to PCI bridge (vendor=1039 device=0001) at device 1.0 on pci0 pci1: PCI bus on pcib2 pci1: ATI model 5046 graphics accelerator at 0.0 irq 11 isab0: PCI to ISA bridge (vendor=1039 device=0018) at device 2.0 on pci0 isa0: ISA bus on isab0 ohci0: SiS 5571 USB controller mem 0xef00-0xef000fff irq 9 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: SiS 5571 USB controller on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ohci1: SiS 5571 USB controller mem 0xee80-0xee800fff irq 9 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: SiS 5571 USB controller on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: SiS 5591 ATA100 controller port 0xb800-0xb80f at device 2.5 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x13f6, dev=0x0111) at 5.0 irq 10 pci0: unknown card (vendor=0x1102, dev=0x0002) at 9.0 irq 10 pci0: unknown card (vendor=0x1102, dev=0x7002) at 9.1 pci0: unknown card (vendor=0x109e, dev=0x036e) at 10.0 irq 5 pci0: unknown card (vendor=0x109e, dev=0x0878) at 10.1 irq 5 dc0: ADMtek AN985 10/100BaseTX port 0x9000-0x90ff mem 0xee00-0xee0003ff irq 9 at device 11.0 on pci0 dc0: Ethernet address: 08:00:08:00:08:00 miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib1: SiS 5591 host to AGP bridge on motherboard pci2: PCI bus on pcib1 orm0: Option ROMs at iomem 0xc-0xcbfff,0xcc000-0xc on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0