Re: Apache2 and UserDir in FreeBSD
On Wed, Jun 16, 2004 at 03:16:50PM -0400, Duane Winner wrote: Does anybody know why this is happening: I have found that with apache2, installed via portinstall on both 4.9 and 5.x, the UserDir is enabled even if it is commented out in httpd.conf! It is on by default in the stock httpd.conf that installs with apache2. If I comment it out and restart, I have found that users can still create public_html directories in their home directories, and publish content. I found this odd as well on apache13 a while ago. UserDir is enabled by default for apache13 and will only be 'disabled' if you set it disabled explicitly in httpd.conf: UserDir disabled Otherwise, ~/public_html Otherwise the httpd will serve up requests for: http://example.com/~user/ from: ~user/public_html on the local file system. Why is this happening? I presume it happens because apache is built with defaults set so that UserDir is enabled by default. If you don't want UserDir enabled, probably the easiest thing to do is just disable it as above. Good luck. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail
On Wed, Jun 16, 2004 at 04:53:05PM +0200, [EMAIL PROTECTED] wrote: On Wed, Jun 16, 2004 at 10:03:05AM -0400, Mark Frank typed: * On Wed, Jun 16, 2004 at 05:40:33AM -0500 Jason Dusek wrote: Hi, I am having a lot of trouble setting up mail. And, perhaps more importantly, I am having a lot of trouble figuring what software to set-up. Sendmail is standard but buggy, so I imagine that Postfix is a better choice. Just curious. What sendmail bugs are you referring? Have you reported them to sendmail.org? Probably just hear-say. There's so much bad-mouthing sendmail! Most of it by people who got lost in sendmail's many configuration options, but instead of reading some docs they drop it, telling everybody they should avoid sendmail at all cost. Too bad, 'cause to me and many others sendmail is one of the most reliable and compliant MTA's in existance today. And there hasn't been a major security problem in years. just .02 euro. From what I have heard and read... sendmail indeed has a serious history of security-issues (as it was not initially designed for the Internet as we know it today), but has had a major code cleanup a while ago, and doesn't run SUID anymore, so it should be much more secure now. Anyway, Postfix has been developed as a security-enhanced but compatible alternative to sendmail. And as someone else mentioned already, its configuration is indeed quite straightforward. Personally, I would use sendmail on end-user machines (e.g. for use with fetchmail) because it's in the base system, but Postfix for mailservers with more complex configuration or security-concerns. Btw, can anyone of the sendmail-guru's tell me how sendmail compares performancewise? GH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache config error log
The error log is as follows: [Sun Jun 13 18:18:32 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 03:15:48 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 03:50:54 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 04:22:56 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 04:27:19 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 04:53:41 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:19:21 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:23:58 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:28:40 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:41:51 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 19:38:21 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Wed Jun 16 00:10:54 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Wed Jun 16 00:30:11 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Wed Jun 16 00:35:56 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 00:36:42 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 03:53:01 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 03:57:06 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 03:57:56 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 03:59:52 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 21:51:41 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 21:52:31 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 21:56:58 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 21:59:52 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) [Wed Jun 16 22:35:32 2004] [alert] mod_unique_id: unable to gethostbyname(.Ginger) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does 4.x + UFS2 exist in any way ?
I need to run 4.x (currently 4.10-RELEASE) but I really want to use UFS2 because I also need larger files and filesystems, and I really want to use snapshots. Is UFS2 available on 4.10 ? If not, how big of a hack would it be to try to use UFS2 with 4.10-RELEASE ? thanks. - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache config error log
On 17 Jun 2004 at 0:29, Lee Ellis wrote: The error log is as follows: [Sun Jun 13 18:18:32 2004] [alert] mod_unique_id: getaddrinfo failed for Ginger.Osoleon (hostname nor servname provided, or not known) [Mon Jun 14 04:53:41 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:19:21 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:23:58 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 17:28:40 2004] [alert] mod_unique_id: unable to gethostbyname(Ginger.Osoleon) [Tue Jun 15 Seems like the ServerName you selected is unknown to the DNS system. Maybe the answer to your question is in the comments to the ServerName definition in httpd.conf # If your host doesn't have a registered DNS name, enter its IP address here. Otherwise if you prefer to use your invented host name, you may try to set up a local DNS server that will resolve it for you. - Kjell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does 4.x + UFS2 exist in any way ?
On Wed, Jun 16, 2004 at 11:41:31PM -0700, Joe Schmoe wrote: I need to run 4.x (currently 4.10-RELEASE) but I really want to use UFS2 because I also need larger files and filesystems, and I really want to use snapshots. Is UFS2 available on 4.10 ? No. If not, how big of a hack would it be to try to use UFS2 with 4.10-RELEASE ? A big one. Kris pgpNDeuH3uZOG.pgp Description: PGP signature
4.10 Promise TX4 at Intel S875WP1-E motherboard - no disks?
Hello people, After having some trouble with CURRENT on this box (P4 3.0E, note `E' on Intel S875WP1-E motherboard, the modification with Promise SATA RAID in 0+1 setup, 4 SATA disks) due to development issues, I decided to install 4.10 on it - the box needs to go into production really soon and will stay in pretty much unattended mode in a datacenter. Strange enough, 4.10 wasn't able to see RAID array on Promise, sysinstall told me that there are no disks. Looking at kernel boot messages confirmed this: there is no ar0 device. (???) Any suggestions on how do I install STABLE on this box? What ATA driver do I need in the distribution in order to get the thing working? Thanks, Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache config error log
OK seems now I am really confused. Apparently I do not have my network (card) set up right. When I configure my network card. There are the following items Host: Domain IPv4 Gateway: nameserver: Configuration for interface x10 IPv4 Address Netmask Extra options What I have is Host Ginger (made up) Domain (blank) IPv4 Gateway blank Name server 192.168.0.1 (router) Config for x10 IPv4 Address 192.168.0.3 (assigned by the router) netmask : 0xff00 Extra blank The router has the mac address as 00:03:6d:14:08:df I just want to set up a server accesable by my local network. Where do I go from here. I looked at the rc.conf file and it shows I am running 'named' server. Do I need to configure this. I've got The Complete FreeBSD by Greg Lehey which is helping a great deal, but I have been playing with Unix for about a week and half now. Sorry to say I am a windows guy. Seems like the ServerName you selected is unknown to the DNS system. Maybe the answer to your question is in the comments to the ServerName definition in httpd.conf # If your host doesn't have a registered DNS name, enter its IP address here. Otherwise if you prefer to use your invented host name, you may try to set up a local DNS server that will resolve it for you. - Kjell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ATA Tape drives - 5.2.1
Is there anyone out there successfully using an ATA tape drive (with or without ATAPICAM). I am having all sorts of problems and would appreciate a hand. Thanks Ray Newman 17 Jun 2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password not requested
Ahoi there, I have a slight problem that I cannot figure out. I used cvsup and did buildworld, etc... When i finished I am no longer asked to supply a password when logging on with any user (tried 3 accounts). did you run mergemaster? My guess would be you f*cked up your PAM config. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem while upgrading to 4.10 from 4.7...
Alright, I have been trying to upgrade FreeBSD from 4.7 to 4.10...I used cvsup to get all the files make buildworld when through just fine, but the problem comes after make kernel KERNCONF=GENERIC... When I reboot and the kernel starts to load...it *always* just stops at the same point and just sits there doing nothing at acd1: CD-RW My CD-RW info at ata1-slave PIO4... If I restart and run kernel.GENERIC from the boot prompt I can get it to load the kernel, but I want to be able to go into single-user mode to mount the file system, plus I just don't like having things acting screwy. Anyone have any advice for me? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem compiling php4 with gd
Hello I am using FreeBSD 4.7 and have updated my ports tree. I am having a problem with making php4.3.7 with gd 2.0.25. I have installed gd first The compilation of php stops with the following: /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c: In function `gdImageStringFTEx': /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function) /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: (Each undeclared identifier is reported only once /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: for each function it appears in.) *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.7. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Is there a problem with these ports and how may I correct this problem Thank you, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Suggestions for replacements for vanilla ftpd?
I'm setting up our main customer web server: as a check-box feature, every customer gets 10Mb of free web space on our server. I'm very keen that I keep customer and user accounts on the server firmly separate, so that means that vanilla ftpd needs replacing. What are people's favourites out of the 20 or so in ports? From my own survey PureFTPd seems favourite, but I thought it couldn't hurt to ask. Basically my desiderata are: No using /etc/passwd for client stuff; Enforced chrooting Performance not actually that important, since there's ony 100 or so accounts. I've curerently got user auth data handled by sasl, if that's important. 5.2.1 Release kernel. On a related note, a web interface to allow customers to update their pages would be nice. CPanel is gross overkill, and too expensive for my Boss's wallet. Does a simpler tool exist, before I start writing my own? Thanks in advance for any advice. --- Andy Holyer, Technical stuff Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB 08451 260895 x 241 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New user questions :)
Hello to all you FreeBSD guys (and girls:) I am new here and have some questions to ask and comments to invite. For the last year or so I have been using SME server (an optimised Linux based server / LAN server that provides in one distro Mail/Webmail/FTP/ HTTP/Samba - all configurable from a Web browser on the LAN) This has proved very quick to install / deploy but since it has been 'handed over' to the community by the commercial company that sponsored the project updates have been very slow. Of course you can pay $ if you want the commercial version :) If I needed just an FTP server or a Webserver I have used Trustix Linux which seems very elegant / secure / minimal distro which is well maintained and easy to update. Everything is off (almost) unless you explicitly configure it. This seemed like a breath of fresh air compared to other Linux distros which installed all but the kitchen sink (or you spent alot of time picking over packages) I recently found out that the company selling the commercial version of Trustix is going to cease support of the community version and to get updates / security fixes you have to pay $. This seems fair enough and its a good distro. Some of my clients may want to pay for the reassurance of the backing of a commercial company. I however do not and only want some web services for my small co. So, I start to look for a distro that has a community roadmap that doesnt end in me paying for just the few things that I need. I am aware of Debian and have been told that it is secure / easy to update and people talk about it as the most 'pure version' of Linux. As yet I have not had chance to DL it or review it. In the meantime I decided to try FreeBSD and am dual booting into 5.2.1 as an alternative desktop. I have to say that some things seem alot easier than in the Linux world whilst others issues have seemed difficult to resolve (MIDI Sound for example:) but these are minor desktop issues that I dont really care too much about. What I am interested in is replicating LAN / Web services that I have learnt to configre under Linux on FreeBSD. Heres my immediate shortlist :- Setting up DHCP for LAN Clients Synchronising time for LAN Clients Setting up Samba to Share Files on a Wingroup Setting up a print server for Winclients Using Samba as a Virtual CD-ROM Server Web Services (Apache / FTP) Admin access over ssh LAN Mail Hub (Postifx / Fetchmail?) Checking for security / software updates and updatig the system I am sure some of these tasks are fairly easy and very similar to that in the Linux world although I would welcome any advice / comments. I also wondered if there is a project based on FreeBSD that achieves similar goals to SME Server (ie all in one LAN server with Web config) or similar to Trustix (ie minimal config with series of scripts to configure server services. I would also welcome comments on FreeBSD security / frequency of updates and how to keep the installation updated ? Also, what is the roadmap / lifespan of FreeBSD ? Sorry about the length of this post :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user questions :)
Graham Bentley wrote: [snip] Install the ports tree, use CVSUP to get the latest version of the ports tree (if you don't know how to do that, go to the FreeBSD website and search the handbook) Heres my immediate shortlist :- Setting up DHCP for LAN Clients cd /usr/ports/net/isc-dhcp3-server make all install clean Last time I played with DHCP I didn't had too much success, but I was still a complete *nix newbie back then. Ever since I'm just using the DHCP server of my router. Synchronising time for LAN Clients No idea how to do that. Probably setting up an NTP server, and get some Windows software to sync the system time with an NTP server. Setting up Samba to Share Files on a Wingroup cd /usr/ports/net/samba make all install clean Setting up a print server for Winclients cd /usr/ports/print/cups make all install clean Do note that the configuration of cups can be bit tricky. I never got cups fully up and running. Using Samba as a Virtual CD-ROM Server I suppose that is just a matter of configuring Samba. Web Services (Apache / FTP) cd /usr/ports/www/apache(2) make all install clean If you want to build apache2 then type apache2 instead of apache. cd /usr/ports/ftp/proftpd Admin access over ssh Standard included during a FreeBSD installation. Do note that root doesn't automatically has access to the SSH server. LAN Mail Hub (Postifx / Fetchmail?) Sendmail is standard installed during an FreeBSD installation. Though you can always build Postfix or Fetchmail if you prefer. Checking for security / software updates Suscribe to the freebsd-announce mailing list and updatig the system It is all described in the e-mail from freebsd-annnounce how and when to update your system with the proper patch. I am sure some of these tasks are fairly easy and very similar to that in the Linux world although I would welcome any advice / comments. As long as you're comfortable with the configurations of the services you require, then there is not really a problem. FreeBSD has proven itself to be a robust and stable system in critical production enviroments. It's no wonder why every service from Yahoo runs on FreeBSD (except for launch.com, but that's no wonder) I also wondered if there is a project based on FreeBSD that achieves similar goals to SME Server (ie all in one LAN server with Web config) or similar to Trustix (ie minimal config with series of scripts to configure server services. Not that I know of. Just build things from the ports tree. I would also welcome comments on FreeBSD security / frequency of updates and how to keep the installation updated ? See my above mentioned note about freebsd-announce Also, what is the roadmap / lifespan of FreeBSD ? It's still in active development, and the developers are still steadily coding on FreeBSD. Do keep in mind that FreeBSD is not a company; it's a project where programmers are participating on from all over the world. Which is a good thing of course, since you can get one of the best OSs out there for free :) Sorry about the length of this post :) No worries, I hope I gave you the information you were seeking. Cheers, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compiling only the base system?
how can I compile just the base system (sysinstall's minimal install) from CURRENT sources in /usr/src into DESTDIR=/some/nonstandard/path? There is certainly some magic in .mk files to do this. I'm just too blind to find it... If you're running -current, check the /usr/src/tools/tools/nanobsd directory. There's also some discussion on this in the archives. Ah yes. Tweaking make.conf variables like this generates a useable object tree! Thanks for all the help, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Modem Fun
Hi, I have recently required a USB modem (56k). On the casing it says it is a: sitecom connectivity dc-009 56k usb modem Plug in and dmesg says: ugen0: Conexant USB modemInc. USB V.90 56k/FAX Modem erface, rev1.00/0.01, addr 2 So far so good. So i scoot over to /etc/ppp/ppp.conf and type in /dev/ugen0 for the device. Then do a : ppp papchap dial Nothing happens and dmesg now says: ugenpoll: no edesc Whats all this about then? Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail
On Wed, Jun 16, 2004 at 05:36:49PM +0200, Geert Hendrickx wrote: Btw, can anyone of the sendmail-guru's tell me how sendmail compares performancewise? It's not a stellar performer, but it does the job. Configuration may be a black art, but with sendmail there will always be some incantation that can get it to deal with whatever weird e-mail setup you can imagine. For a high traffic mailserver, I'd probably go with postfix. 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 pgptVp0LYfiOz.pgp Description: PGP signature
problem compiling php4 with gd
Hello I am using FreeBSD 4.7 and have updated my ports tree. I am having a problem with making php4.3.7 with gd 2.0.25. I have installed gd first The compilation of php stops with the following: /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c: In function `gdImageStringFTEx': /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function) /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: (Each undeclared identifier is reported only once /usr/ports/lang/php4/work/php-4.3.7/ext/gd/libgd/gdft.c:988: for each function it appears in.) *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.7. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Is there a problem with these ports and how may I correct this problem Thank you, Ivan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Modem Fun
Hi there, Plug in and dmesg says: ugen0: Conexant USB modemInc. USB V.90 56k/FAX Modem erface, rev1.00/0.01, addr 2 So far so good. So i scoot over to /etc/ppp/ppp.conf and type in /dev/ugen0 for the device. ugen(4) is the generic USB device driver, meaning this gets assigned when no other driver for the USB device can apply. You won't be able to use your USB modem through the driver, you'll need umodem(4) and ucom(4) support in either your kernel or load the modules. Cheers, J. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [going OT] Re: Pruning the Ports Tree
On Thu, Jun 17, 2004 at 08:36:18AM +0400, Sergey Zaharchenko wrote: On Wed, Jun 16, 2004 at 08:32:49PM -0600, Dan MacMillan probably wrote: From: Sergey Zaharchenko at June 16, 2004 06:18 On Wed, Jun 16, 2004 at 11:38:38AM +0100, Matthew Seaman probably wrote: Heh. There's nothing to worry about -- I don't own or use any Windows boxes, so there's no chance of picking up a worm from my e-mails. However, this won't save you from picking up a worm which has forged its mail's `From' address to be [EMAIL PROTECTED], or any other address... so unless you change your OS and/or mailer to something more secure, it's still a good idea to stay alert. On the other hand, the fact that Matthew signs all his email means we always know who to blame. :) More to the point, you know that if it's signed by my key, it's from me, even if I do occasionally slip up and use the work e-mail address when I should be using my personal one (Bad mutt! No biscuit!) Sure --- but his signatures mean nothing to Graham as long as he uses Outlook, which was the original problem :) Unless, of course he has visited http://www.pgpi.org/ and downloaded one of the free Windows version of PGPi which includes a plugin for Outlook: http://www.pgpi.org/cgi/download.cgi?filename=PGPFW658Win32.zip Although it seems that PGP Corp have decided that the latest versions of their software will only include the e-mail plugin in the pay-for variant. Dunno if that software will work with WinXP either. But thems the breaks when you use commercial OSes. 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 pgpd1aj0YjKSG.pgp Description: PGP signature
probably a silly question. probably requires a silly answer.
Is it a bad idea to use a 5.x kernel on a 4.x system? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: probably a silly question. probably requires a silly answer.
Very On Thu, 17 Jun 2004 12:04:37 +0100, Edd [EMAIL PROTECTED] wrote: Is it a bad idea to use a 5.x kernel on a 4.x system? ___ [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]
which version?
hi which version will be good to my comp.plizz help me. Prawdziwa historia, zakazana mio, skandal obyczajowy... Zobacz sam! http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.html%3Fid%3D2613sid=199 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newbie trouble - Internet problem solved!!!
Thanx Steve Bertrand Michael Clark Remko Lodder I now have Internet up and working. Next problem is to learn handling the ports! cheers jobse ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: Your website
Thank you for sending your correspondence to [EMAIL PROTECTED] Your feedback and suggestions are important to us, and while we do make every effort to expedite guest requests as quickly as possible, it may not always be possible to personally respond to every inquiry due to the high volume of email we receive. However, we do address issues concerning your access to the site and its contents in first order of priority. We hope that you continue to enjoy your experience at SecurityFocus Online, as we implement more of the great ideas we've received from active visitors like you. Please remember that good or bad, your feedback is always welcomed. Sincerely, Customer Support SecurityFocus Online http://www.securityfocus.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: probably a silly question. probably requires a silly answer.
Edd wrote: Is it a bad idea to use a 5.x kernel on a 4.x system? It won't work at all, because FreeBSD 5.x and 4.x have substantial differences. It isn't even recommented to upgrade the kernel only on a FreeBSD system, because kernel and userland have to be in sync. This is because programms like `ps', and `ls', etc. share data type definitions with the kernel, that might change. Simon signature.asc Description: Digital signature
Re: New user questions :)
Graham Bentley [EMAIL PROTECTED] wrote: Hello to all you FreeBSD guys (and girls:) There are girsl on this mailing list?! ... (fixes hair ...) snip Heres my immediate shortlist :- Setting up DHCP for LAN Clients Synchronising time for LAN Clients Setting up Samba to Share Files on a Wingroup Setting up a print server for Winclients Using Samba as a Virtual CD-ROM Server Web Services (Apache / FTP) Admin access over ssh LAN Mail Hub (Postifx / Fetchmail?) Checking for security / software updates In addition to what's been said before, install portaudit and use portupgrade when it tells you there are problems ... very nice! I also wondered if there is a project based on FreeBSD that achieves similar goals to SME Server (ie all in one LAN server with Web config) or similar to Trustix (ie minimal config with series of scripts to configure server services. Not that I know of, but it sure would be a nice project, huh? I would also welcome comments on FreeBSD security / frequency of updates and how to keep the installation updated ? Subscribe to FreeBSD-security@ and update when the alerts on that list tell you. Use portaudit for ports. Also, what is the roadmap / lifespan of FreeBSD ? http://www.freebsd.org/security/index.html#adv ... best reference I know of. Sorry about the length of this post :) The only problem I had was the length of blank space at the end of it ... ;) -- 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: newbie trouble - Internet problem solved!!!
I now have Internet up and working. Great! One less mass mailing drone on the Inet! :o) Next problem is to learn handling the ports! Ask away... Steve cheers jobse ___ [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 version?
stanis³aw g±sior [EMAIL PROTECTED] wrote: hi which version will be good to my comp.plizz help me. Check this: http://www.freebsd.org/releases/4.10R/hardware.html If your hardware is listed, then 4.10 is the way to go. -- 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: Problem while upgrading to 4.10 from 4.7...
Timothy Gagnon [EMAIL PROTECTED] wrote: Alright, I have been trying to upgrade FreeBSD from 4.7 to 4.10...I used cvsup to get all the files make buildworld when through just fine, but the problem comes after make kernel KERNCONF=GENERIC... If you did, literally, what you describe, then your problem is that you upgraded improperly. make buildworld builds world, but doesn't install it. make kernel makes and installs the kernel. If you did the steps you describe, then you have a kernel and a world with mistmatched versions. If that's the case, get booted into the system and re-run the upgrade process. Be sure to do all the steps this time, as described in 21.4.1: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html When I reboot and the kernel starts to load...it *always* just stops at the same point and just sits there doing nothing at acd1: CD-RW My CD-RW info at ata1-slave PIO4... If I restart and run kernel.GENERIC from the boot prompt I can get it to load the kernel, but I want to be able to go into single-user mode to mount the file system, plus I just don't like having things acting screwy. -- 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]
Means of traversing a directory
For a shell script. The scenario. Im running tar(1) to make a tar ball of a directory using the --newer-mtime to only get newer files after a specified date. Unfortunately, it also creates unwanted empty directories. Is there a way to scan the directory (recursively) into an array, and loop over it, in a script? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox not launching since upgrade to 0.9_1
# firefox -- we no longer need to launch 1st time as root, but... (firefox-bin:87415): Gtk-WARNING **: cannot open display: Presumably you don't have DISPLAY set when you're running as root. firefox *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource I have the same problem, but with an extra message: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol _vt$16nsQueryInterface] *** loading the extensions datasource LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol _vt$16nsQueryInterface] *** loading the extensions datasource -- Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user questions :)
Graham Bentley wrote: Thanks for that Jorn :) I am still elarning (guess I'll never stop :) I did a minimal config of FreeBSD and wanted to use Midnight Commander (I know this isnt that secure and its a bit of a crutch but its good for noobs like me) Anyway, there was 7 porgs missing all of which DL'ed and compiled but it took 35 minutes !!! I suppose you don't want to compile KDE or OpenOffice.org from source then. KDE took me roughly ten hours and OpenOffice.org roughly twelve hours, including the java installation. *grin* Is it possible to install just the binary (stoopid question if that binary needs libs / other progs to be installed first :) You can install packages, yes. Just use the pkg_add command. However, I believe that the wonder of Open Source is that we compile the source code ourselves. If you're a fan of packages and RPMs, then you might as well use Bill's software then *ducks* Next I am reading about cvsup but yesterday it took *ages* to install/compile as I chose the wrong one with modular support !!! So, I will learn how to do minimal install first. Then cvsup. Then security updates. It's advicable to download the latest kernel sources and recompile your kernel. Get the stable-supfile, located at /usr/share/examples/cvsup, edit it to point to your proper version of FreeBSD (RELENG_5_2 for FreeBSD 5.2.1 and RELENG_4_10 for FreeBSD 4.10) and your proper mirror Do this by typing the following command: # cvsup -g -L 2 stable-supfile Once that is finished, read the part of the handbook, and start from: Procedure 2. Building a Kernel the ``New'' Way. If your kernel is finished, you'll have all the current paches already. Again, see the link for more information on how to recompile your kernel. It might sound hard in the beginning, but it's really easy once you get the hang of it.. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html After that I really learn how to install services :) I have found this site good :- http://www.mostgraveconcern.com/freebsd/ That is a nice site, yes. You might want to consider reading a few pages of the FreeBSD handbook as well http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Do you know any other *Step by Step* sites ? Not really, but I really suggest you take a peek at the handbook. Thanks ! You're welcome. Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should gcc be accessable by others?
I think a better solution would be to mount the user-writable partitions (/home, /tmp) with option noexec. That prevents users from having their own executables, whether locally compiled or not. GH On Wed, Jun 16, 2004 at 04:08:29PM +, [EMAIL PROTECTED] wrote: Hi: I see that gcc, g++, and other tools are usable by world (others). I was wondering if that is a bad idea as I read here: http://www.itworld.com/nl/lnx_sec/09242002/pf_index.html that the slapper worm used gcc to compile it's exploit. Excerpt: The worm requires gcc to compile the .bugtraq.c file. Is it a good idea to change the permisions on the gcc tools to 750 ? I looked through the FreeBSD Handbook and could find no advice on this matter. Also are there other tools that should not be available like strace? How can I find out which ones are potentially exploitable? I am a newcomer to FreeBSD and have been using it for less than a year so don't be cross if these questions are naive. Kind regards, Jonathan ___ [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: Still no graphic desktop
One other thing you can do besides /stand/sysinstall is to use XFree86 -configure. After you boot simply type the above command. After that command is finished it will prompt you with another command to test the configuration. Simply type the command shown on the screen and you should see an X type environment on your monitor. In some cases at this point you will need to ctl-alt-backspace to exit. Once you are done with this step cd /stand and type ./sysinstall. Go to configure, then desktop, and install Gnome. Once you have installed GNOME then go back to your home directory and create a .xinitrc file with one line in it as follows. GNOME-SESSION At this point the resolution may not be as you desire. To configure the resolution add the following lines to your XF86Config file. Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth24***(This is the line you want to add Then in the below section add some lines: SubSection Display Depth 24 Modes 1600x1200 ***Add this line Modes 1280x1024 ***add this line Modes 1024x768*** add this line EndSubSection Also while we are here you should enable the scroll mouse. Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option ZAxisMapping 4 5 ***add this line*** Option Device /dev/sysmouse EndSection Then in the proper section If you have an Intel integrated graphics card this may require more changes. If you do let me know and I can show you what I have done to get an integrated Intel graphics chip to work. At this point you should be able to just type startx and the GNOME session will start at the resolution you desire. If you entered all three Modes lines you can use clt-atl--minus sign to step down to the next lowest resolution. Let me know if you have qestions. On Wed, 16 Jun 2004 22:14:06 -0600, Lloyd Hayes [EMAIL PROTECTED] wrote: How are you trying to start X Windows? If you're just expecting it to start, you're going to end up disappointed. Oops... I was expecting the graphical desktop to start automatically. However I also tried startx, and I played with xdm. Whatever I was doing kept coming up with errors about no screen. Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Web Journal: http://lloyd_hayes.bravejournal.com/ Matt Navarre wrote: Lloyd Hayes wrote: I have been told that the reason that I don't have a graphic desktop yet is because my XFree86 Server is not configured right. I finally downloaded the exact specs on my old laptop from Gateway and plugged them into the configure file. No help. I tried each of the 4 configure methods from the menu. No good, nor does the graphics menu work any more. I have attempted to switch from KDE to Gnome, to Windowmaker. Again, no good. How are you trying to start X Windows? If you're just expecting it to start, you're going to end up disappointed. To start X you need to either type startx at the command prompt or edit /etc/ttys to start xdm (or kdm or gdm) on the console. here's the handbook page on configuring xdm to start after boot: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html Generally the step in section 5.6.2 is all you need to do, the rest is advanced options that you needn't be concerned with at this point. This info applies to kdm and gdm (KDE Display Manager and Gnome Display Manager, respectively) To get your desired desktop to start you need to put the command to start it in $HOME/.xinitrc(for startx) or $HOME/.xsession(for xdm). To get KDE started (assuming it's installed) just type 'echo startkde .xinitrc' at the prompt. Assuming you're at the text console type 'startx'. KDE should start. I have tried several other things such as the one below: # cd /usr/ports/x11/XFree86-4 # make install clean It then suggests that I 'make reinstall' or 'make deinstall'. I tried reinstall first with it then suggesting that I 'make reinstall' again or 'make deinstall'. # make deinstall # cd /usr/ports/x11/XFree86-4 # make install clean While this seemed to install ok, it was still no help. I'm still stuck with line item commands. When executing afterwards: XFree86 -configure I get: Fatal Server Error xf86EnableIO: Failed to open /dev/io for extended I/O Hmm, are you doing this as root? You need to be. Another alternative, if you have the specs for your monitor and video card, is /usr/X11R6/bin/xf86config. It'll ask you questions about your setup and generate a config file based on what you tell it. Try that, and if you still have problems post your config file and relevant log messages to the list, and we'll try to help.
Re: Apache2 and UserDir in FreeBSD
On Thu, Jun 17, 2004 at 07:04:07AM +0100, Jez Hancock wrote: On Wed, Jun 16, 2004 at 03:16:50PM -0400, Duane Winner wrote: Does anybody know why this is happening: I have found that with apache2, installed via portinstall on both 4.9 and 5.x, the UserDir is enabled even if it is commented out in httpd.conf! It is on by default in the stock httpd.conf that installs with apache2. If I comment it out and restart, I have found that users can still create public_html directories in their home directories, and publish content. I found this odd as well on apache13 a while ago. UserDir is enabled by default for apache13 and will only be 'disabled' if you set it disabled explicitly in httpd.conf: ... on rereading my post I realize I forgot to say that the details in my post also apply to apache 2.x as well as 1.3.x - that's to say that by default apache 2.x has UserDir enabled by default on FreeBSD. Turn it off using 'UserDir disabled' in httpd.conf. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compatable????
Hello, Does anyone know if the following hardware is compatable with 4.10? Chipset Intel® E7210 (Canterwood ES) chipset MCH + ICH5-R + FWH Serial ATA SATA Controller on-chip (Intel® ICH5-R) Dual Serial ATA ports RAID 0, 1 Supported Network Controllers Dual Intel® 82541 Gigabit Ethernet Supports 10BASE-T, 100BASE-TX, and 1000BASE-T, RJ45 output Graphics ATI Rage XL SVGA PCI video controller with 8 MB of video memory Thanks, Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firefox not launching since upgrade to 0.9_1
Richard Tobin wrote: # firefox -- we no longer need to launch 1st time as root, but... (firefox-bin:87415): Gtk-WARNING **: cannot open display: Presumably you don't have DISPLAY set when you're running as root. firefox *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource I have the same problem, but with an extra message: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol _vt$16nsQueryInterface] *** loading the extensions datasource LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol _vt$16nsQueryInterface] *** loading the extensions datasource -- Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Firefox 0.9 won´t load under XP either. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user questions :)
Graham Bentley wrote: Thanks for that Jorn :) I am still elarning (guess I'll never stop :) I did a minimal config of FreeBSD and wanted to use Midnight Commander (I know this isnt that secure and its a bit of a crutch but its good for noobs like me) Anyway, there was 7 porgs missing all of which DL'ed and compiled but it took 35 minutes !!! I suppose you don't want to compile KDE or OpenOffice.org from source then. KDE took me roughly ten hours and OpenOffice.org roughly twelve hours, including the java installation. *grin* Is it possible to install just the binary (stoopid question if that binary needs libs / other progs to be installed first :) You can install packages, yes. Just use the pkg_add command. However, I believe that the wonder of Open Source is that we compile the source code ourselves. If you're a fan of packages and RPMs, then you might as well use Bill's software then *ducks* That advice may be OK for some things, but it doesn't make sense to make yourself compile such behemoths as Openoffice and etc unless you are in to pain and suffering for your entertainment. Download the packages from the creator/maintainer and pkg_add them. They already make a version compiled just for FreeBSD. For Openoffice, check out: http://projects.imp.ch/openoffice/ I used that and it works and works just fine. There was an error in the instructions though. When you get done with the pck_add you need to run it to config. That is: /usr/local/OpenOffice.org1.1.0/program/soffice instead of what they say. That depends a little, also on where you install it. This depends on installing it in: /usr/local/OpenOffice.org1.1.0/ As for the rest of the advice, yah, learn cvsup, the worlds, etc But, when there are good packages available, don't be shy about using them. This is a practical thing. It ain't about how much macho-man you are. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Password not requested
On Thu, 17 Jun 2004, Jan Muenther wrote: Ahoi there, I have a slight problem that I cannot figure out. I used cvsup and did buildworld, etc... When i finished I am no longer asked to supply a password when logging on with any user (tried 3 accounts). did you run mergemaster? My guess would be you f*cked up your PAM config. Or you overwrote your /etc/master.passwd Uli. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New user questions :)
Jorn Argelo wrote: Graham Bentley wrote: [snip] Install the ports tree, use CVSUP to get the latest version of the ports tree (if you don't know how to do that, go to the FreeBSD website and search the handbook) Heres my immediate shortlist :- Setting up DHCP for LAN Clients cd /usr/ports/net/isc-dhcp3-server make all install clean Last time I played with DHCP I didn't had too much success, but I was still a complete *nix newbie back then. Ever since I'm just using the DHCP server of my router. This is a sample config for /usr/local/etc/dhcpd.conf: # change this to your own valid setting option domain-name yourdomain.com; #change the below to a valid name server address option domain-name-servers 111.222.333.444; default-lease-time 86400; max-lease-time 2592000; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # ad-hoc DNS update scheme - set to none to disable dynamic DNS #updates. ddns-update-style none; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; #The below uses an address pool of 172.16.1.100 to 172.16.1.199 - 99 #addresses leaving all the others in this class C range for static #allocation (network printers, anything else that needs to be #in the same place always). Change it if you need more addresses #or want to use a different range. subnet 172.16.1.0 netmask 255.255.255.0 { range 172.16.1.100 172.16.1.199; option routers 172.16.1.1; option broadcast-address 172.16.1.255; default-lease-time 600; max-lease-time 7200; } Setting up Samba to Share Files on a Wingroup cd /usr/ports/net/samba make all install clean Setting up a print server for Winclients cd /usr/ports/print/cups make all install clean Do note that the configuration of cups can be bit tricky. I never got cups fully up and running. The biggest prob I've had with cups on FreeBSD is that the BSD lp and lpd are still in /usr/bin, and the cups versions are in /usr/local/bin, which usually comes later in your search paths. The consequence is that cups seems OK, localhost:631 displays the cups management interface in a web browser on the cups server, test pages print OK from this web interface, but applications don't print at all and command line lp tests just whinge about being unable to find a running print server. One fix is to back up the BSD versions and soft link the cups versions to /usr/bin #mv /usr/bin/lp /usr/bin/lp.bak #mv /usr/bin/lpr /usr/bin/lpr.bak #ln -s /usr/local/bin/lp /usr/bin/lp #ln -s /usr/local/bin/lpr /usr/bin/lpr and then add the following to /etc/make.conf: NO_LPR= true CUPS_OVERWRITE_BASE=yes Samba can also use the standard BSD spooler for sharing printers, but a properly set up cups is more automagic. It's also worth installing gimp-print for a larger range of printer drivers. Using Samba as a Virtual CD-ROM Server I suppose that is just a matter of configuring Samba. Yes, just make a share for the cdrom mount points in the usual way. Peter. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Shared Partition?
I currently dual boot Windows XP and FreeBSD 5.2.1. I have files that are common to both (MP3's and some documents). Is there a way to create a partition that can be read by both that would eliminate this double copy problem? I thought creating a separate partition woudl work but Windows XP allows only one visible primary partition and I don't know how to mount a logical partition with multiple sub-partitions. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[A bit OT]Re: New user questions :)
Jerry McAllister wrote: Graham Bentley wrote: Thanks for that Jorn :) I am still elarning (guess I'll never stop :) I did a minimal config of FreeBSD and wanted to use Midnight Commander (I know this isnt that secure and its a bit of a crutch but its good for noobs like me) Anyway, there was 7 porgs missing all of which DL'ed and compiled but it took 35 minutes !!! I suppose you don't want to compile KDE or OpenOffice.org from source then. KDE took me roughly ten hours and OpenOffice.org roughly twelve hours, including the java installation. *grin* Is it possible to install just the binary (stoopid question if that binary needs libs / other progs to be installed first :) You can install packages, yes. Just use the pkg_add command. However, I believe that the wonder of Open Source is that we compile the source code ourselves. If you're a fan of packages and RPMs, then you might as well use Bill's software then *ducks* That advice may be OK for some things, but it doesn't make sense to make yourself compile such behemoths as Openoffice and etc unless you are in to pain and suffering for your entertainment. Heh, that's true. Though let's be honest, you have to try everything once, don't you think? I got no problems compiling KDE, but I don't really prefer using OOo. I'll use KOffice instead. Download the packages from the creator/maintainer and pkg_add them. They already make a version compiled just for FreeBSD. For Openoffice, check out: http://projects.imp.ch/openoffice/ I used that and it works and works just fine. There was an error in the instructions though. When you get done with the pck_add you need to run it to config. That is: /usr/local/OpenOffice.org1.1.0/program/soffice instead of what they say. That depends a little, also on where you install it. This depends on installing it in: /usr/local/OpenOffice.org1.1.0/ As for the rest of the advice, yah, learn cvsup, the worlds, etc But, when there are good packages available, don't be shy about using them. This is a practical thing. It ain't about how much macho-man you are. True there. Packages can be handy, especially for applications like OpenOffice.org. It's just a matter of preference I'd say. Cheers, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
probably a silly question. probably requires a silly answer.
Edd writes: Is it a bad idea to use a 5.x kernel on a 4.x system? Gun, ear, bang!. Or if you want silly: halibut, pipe wrench, christmas tree ornament. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Means of traversing a directory
In article [EMAIL PROTECTED], Gerard Samuel (gs) writes: gs Im running tar(1) to make a tar ball of a directory using the gs --newer-mtime to only get newer files after a specified date. gs Unfortunately, it also creates unwanted empty directories. Have you tried using find? If a relative time is good enough find DIR -type f -mtime -6 if you need to specify a time and date, I think the only way is to use touch to makea file at the right date then use find's -newer test. -- Mail me as [EMAIL PROTECTED]_O_ | ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Success!
After re-installing the system, I typed 'startx' and everything started up right away, using Gnome this time. Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Web Journal: http://lloyd_hayes.bravejournal.com/ Matt Navarre wrote: On Wednesday 16 June 2004 09:14, Lloyd Hayes wrote: How are you trying to start X Windows? If you're just expecting it to start, you're going to end up disappointed. Oops... I was expecting the graphical desktop to start automatically. However I also tried startx, and I played with xdm. Whatever I was doing kept coming up with errors about no screen. Aha! a clue! You are missing at least the Screen section of your XFree config file. The Screen section tells the X server what combination of monitor, video card, resolution and color depth to use. I'm guessing that your XF86Config file isn't configured right(or at all). Try the xf86config command I mentioned earlier, I've had better luck with that in general than the XFree86 -configure route in the past. Don't feel bad, configuring X is one of the most common stumbling blocks for new FreeBSD users, especially people coming from a Mac or Windows background. Most Linux distros configure X automagically at install time, FreeBSD doesn't for a couple of reasons: A) X isn't part of the base system, it's an add-on like any other port. B) There's a stronger learn how to do it meme 'round these parts than, say, the Linux or Windows camps. Linux (at least the main distros) has much more a Mom should be able to use it mentallity. C) It's usually not a stumbling block for long, and you end up learning a bit about the system in the process. Think of it as a learning experience :) Or just keep repeating That which does not kill me can only make me stronger. Lloyd Hayes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tuneable Parameters
I am trying to port software currently running on hp-ux to freeBSD 4.9. The application I have will normally run for large numbers of users accessing database applications. On hp-ux to enable reasonable user numbers with large numbers of files open I would normally tune MAXFILESNo files per process MAXFILES_LIMSystem level max files per process MAXUPRC Max no user processes MAXUSERSUsed by kernel generation to calc tables sizes NFILE Max no files open NFLOCKS Max no file locks NINODE Max no inodes open NPTYMax no of virtual telnet devices Where do these exist in FreeBSD or do I not worry about these type of things. I would normally experience 'unable to fork process' or issues with performance as unix files are opened and accessed dynamically on a 'least recently used' basis based on the size of some of these tables. Thanks for your help. Regards Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems running Tar (1) for newer files
Gerard Samuel [EMAIL PROTECTED] writes: Im trying to create a tar ball by running - tar -c -N 'Jun 1 2004' -f ../dev.tar * I keep getting this error - tar: More than one threshold date Can anyone see what Im doing wrong? Im running FreeBSD 5.2.1-RELEASE-p6 Works for me (-STABLE). My best guess would be that the '*' is matching a filename that confuses tar (maybe something beginning with a dash?). Try using '.' instead. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPSec Routing and Interfaces, ping problem (long)
Hi Ml, got a little understanding problem with my VPN connection. I set up isakmpd. Connected from a static client ip. Everything works fine. 10.0.1.0---195.226.x.98[INTERNET]195.226.x.124---10.0.0.0 gif0: flags=8050POINTOPOINT,RUNNING,MULTICAST mtu 1280 tunnel inet 195.226.x.124 -- 195.226.x.98 inet 10.0.0.124 -- 10.0.1.1 netmask 0xff00 inet6 fe80::250:baff:fede:bb73%gif0 prefixlen 64 scopeid 0x9 the gif0 Interface i created myself with: gifconfig gif0 195.226.65.124 195.226.65.98 ifconfig gif0 inet 10.0.0.124 10.0.1.1 netmask 255.255.255.0 setkey -FP setkey -F setkey -c EOF spdadd 10.0.0.0/24 10.0.1.0/24 any -P out ipsec esp/tunnel/195.226.x.124-195.226.x.98/require; spdadd 10.0.1.0/24 10.0.0.0/24 any -P in ipsec esp/tunnel/195.226.x.98-195.226.x.124/require; EOF First I tried racoon, so do I need gif0 Interface when using isakmpd? Anyway, heres my setkey -D output: 195.226.x.124 195.226.x.98 esp mode=any spi=115684691(0x06e53553) reqid=0(0x) E: 3des-cbc f69579f2 ccee42f3 e046f2d3 ea44eaf0 0111da98 cf79ee9d A: hmac-md5 f7f015ab 8200c964 13332790 8fdc3591 seq=0x002e replay=0 flags=0x state=mature created: Jun 17 16:54:38 2004 current: Jun 17 16:55:38 2004 diff: 60(s) hard: 90(s) soft: 81(s) last: Jun 17 16:55:38 2004 hard: 0(s) soft: 0(s) current: 6256(bytes)hard: 0(bytes) soft: 0(bytes) allocated: 46 hard: 0 soft: 0 sadb_seq=1 pid=79990 refcnt=2 195.226.x.98 195.226.x.124 esp mode=any spi=542689727(0x2058c9bf) reqid=0(0x) E: 3des-cbc 935381d8 a9ccfc65 b82ab59d 4c2201fa c41adfc5 077cab63 A: hmac-md5 be01afa0 884cb945 0d561298 d17b5fbf seq=0x002e replay=0 flags=0x state=mature created: Jun 17 16:54:38 2004 current: Jun 17 16:55:38 2004 diff: 60(s) hard: 90(s) soft: 81(s) last: Jun 17 16:55:38 2004 hard: 0(s) soft: 0(s) current: 3864(bytes)hard: 0(bytes) soft: 0(bytes) allocated: 46 hard: 0 soft: 0 sadb_seq=0 pid=79990 refcnt=1 I added a route to the 10.0.1/24 net: 10.0.1/24 10.0.1.1 UGSc0 2736 gif0 Now I set up a connection from a dynamic client. 192.168.10/30--Dynamic-IP[INTERNET]195.226.x.124---10.0.0.0 setkey -D: 195.226.x.124 217.236.140.95 esp mode=any spi=1631512562(0x613ee7f2) reqid=0(0x) E: rijndael-cbc ae65af22 6256a79a d37eb700 c7cd9917 A: hmac-md5 3e378bc3 f7abd982 67d838d9 b678d18d seq=0x01c6 replay=0 flags=0x state=mature created: Jun 17 16:57:06 2004 current: Jun 17 17:04:52 2004 diff: 466(s)hard: 2000(s) soft: 1800(s) last: Jun 17 17:04:51 2004 hard: 0(s) soft: 0(s) current: 69008(bytes) hard: 20480(bytes) soft: 18432(bytes) allocated: 454 hard: 0 soft: 0 sadb_seq=3 pid=80022 refcnt=2 217.236.140.95 195.226.x.124 esp mode=any spi=1382069086(0x5260b35e) reqid=0(0x) E: rijndael-cbc 3e52567a 51306d35 e2333684 55b64a40 A: hmac-md5 695a1b0a fb962e83 b38ff954 a2b4b4aa seq=0x01c5 replay=0 flags=0x state=mature created: Jun 17 16:57:06 2004 current: Jun 17 17:04:52 2004 diff: 466(s)hard: 2000(s) soft: 1800(s) last: Jun 17 17:04:51 2004 hard: 0(s) soft: 0(s) current: 38052(bytes) hard: 20480(bytes) soft: 18432(bytes) allocated: 453 hard: 0 soft: 0 sadb_seq=2 pid=80022 refcnt=1 From the client I can ping 10.0.0.124. So I tried another host in this net(10.0.0.1). I gave 10.0.0.1 a route to the 192.168.10/30 net 192.168.10/30 10.0.0.124 UGSc0 341rl0 I'm able to ping 10.0.0.1 now from my vpnclient and ping the vpnclient from 10.0.0.1 without any trouble. The only problem I get, is to ping the vpnclient from the vpnserver. It won't work. So how should I setup the server to ping the client? Am I just blind and don't see my mistake? gruss/regards Andre -- And some greetings from the Toaster Plata Verata Nectu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gcc 2.95 thread model (single or posix)?
What thread model is gcc 2.95 configured for on FreeBSD 4.9 (single or posix)? I asked on gcc-help and they said that it was not easy to tell from the binary, but should be output during configure time. Does anyone here know? Thanks, -Kurt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shared Partition?
I am pretty sure the only way to do this is to have a FAT32 partition. I have not done this on FreeBSD but while playing with Xandros Linux I was able to get read/write access using a FAT partition. On Thu, 17 Jun 2004 10:27:34 -0400, Tom Moyer [EMAIL PROTECTED] wrote: I currently dual boot Windows XP and FreeBSD 5.2.1. I have files that are common to both (MP3's and some documents). Is there a way to create a partition that can be read by both that would eliminate this double copy problem? I thought creating a separate partition woudl work but Windows XP allows only one visible primary partition and I don't know how to mount a logical partition with multiple sub-partitions. ___ [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]
Sound problem
First, thank you for your answers about CPU frequency. But I have another problem: When I play something through XMMS I sometimes hear some little plop (Don't know how to explain that). It's like my PC is overloaded but it's not... I've renice XMMS to priority -20 but it doesn't change anything. Any ideas ? I've have FreeBSD 5.2.1 and a SB AWE 32 ISA working with module snd_sb Thanks GaLi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shared Partition?
I am pretty sure the only way to do this is to have a FAT32 partition. I have not done this on FreeBSD but while playing with Xandros Linux I was able to get read/write access using a FAT partition. I also believe that you need a fat32 slice.It would be accessable by both systems. jerry On Thu, 17 Jun 2004 10:27:34 -0400, Tom Moyer [EMAIL PROTECTED] wrote: I currently dual boot Windows XP and FreeBSD 5.2.1. I have files that are common to both (MP3's and some documents). Is there a way to create a partition that can be read by both that would eliminate this double copy problem? I thought creating a separate partition woudl work but Windows XP allows only one visible primary partition and I don't know how to mount a logical partition with multiple sub-partitions. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem while upgrading to 4.10 from 4.7...
Timothy Gagnon [EMAIL PROTECTED] wrote: Timothy Gagnon [EMAIL PROTECTED] wrote: Alright, I have been trying to upgrade FreeBSD from 4.7 to 4.10...I used cvsup to get all the files make buildworld when through just fine, but the problem comes after make kernel KERNCONF=GENERIC... If you did, literally, what you describe, then your problem is that you upgraded improperly. make buildworld builds world, but doesn't install it. make kernel makes and installs the kernel. If you did the steps you describe, then you have a kernel and a world with mistmatched versions. Well, I didn't use make buildkernel I used make kernel which from what I understood was the same as typing both make buildkernel and make installkernel... Please re-read ... I'm talking about the make buildworld step ... if you did not follow it with a make installworld at some point, then your world was never updated and you're running a kernel newer than your world. If that's the case, get booted into the system and re-run the upgrade process. Be sure to do all the steps this time, as described in 21.4.1: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html When I reboot and the kernel starts to load...it *always* just stops at the same point and just sits there doing nothing at acd1: CD-RW My CD-RW info at ata1-slave PIO4... If I restart and run kernel.GENERIC from the boot prompt I can get it to load the kernel, but I want to be able to go into single-user mode to mount the file system, plus I just don't like having things acting screwy. -- Bill Moran Potential Technologies http://www.potentialtech.com -- 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: Upgrading openssh
Hi Eric, The base version of openssh is updated frequently (especially if any vulnerabilities are discovered), so why bother with the port? Kind regards, Alex. Eric Crist wrote: After figuring out perl (with the help of Matthew, I was wondering what the proper way to install/upgrade openssh. I assume it's to install from ports, and somehow disable the installed, system version. What's the proper method? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shared Partition?
I currently dual boot Windos 98 and FreeBSD 5.2.1. The only thing i do is create first a primary dos and extend partition using a DOS FDISK and FOMAT and so, mount -t msdos /dev/ados1 /mnt/c mount -t msdos /dev/ad0s5 /mnt/d mount -t msdos /dev/ad0s6 /mnt/e and even mount /dev/ad0s7 Some time ago, when a tried to make that using fdisk and newfs_msdos nothing works only ad0s7. Hope that helps. I currently dual boot Windows XP and FreeBSD 5.2.1. I have files that are common to both (MP3's and some documents). Is there a way to create a partition that can be read by both that would eliminate this double copy problem? I thought creating a separate partition woudl work but Windows XP allows only one visible primary partition and I don't know how to mount a logical partition with multiple sub-partitions. ___ [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: firefox not launching since upgrade to 0.9_1
From the ports list:: If you're going to install the new firefox-0.9 update, there's something important you should know. You MUST run firefox as root before running it as any other user. The best way to do this is to su - to root or log in as root (i.e. do not su -m to root). After becoming root, simply run ``firefox''. You can then quit the browser, then run it as any other user. If you do not run firefox as root first, the browser window will not appear. This is a known issue with 0.9. See the Known Issues list at: http://www.mozilla.org/products/firefox/releases/0.9.html (it's the first one) Michael Clark Nemschoff Chairs Inc mclark at nemschoff dot com CompTIA A+, Network+, Server+, MCP Voice: (920) 457 7726 x294 Fax: (920) 453 6594 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 11:36 PM To: [EMAIL PROTECTED] Subject: firefox not launching since upgrade to 0.9_1 hello all, problems since portupgrading firefox. i deleted all .mozilla .phoenix directories from $HOME. uname -a FreeBSD 4.10-RELEASE Thu May 27 13:51:30 EDT 2004 i386 pkg_info | grep -i fire firefox-0.9_1 Web browser based on the browser portion of Mozilla # firefox -- we no longer need to launch 1st time as root, but... (firefox-bin:87415): Gtk-WARNING **: cannot open display: firefox *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource -- same message repeats endlessly and cpu is maxed out -- *** loading the extensions datasource *** loading the extensions datasource *** loading the extensions datasource ^C would anyone have ideas about what might be causing this? thanks, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vinum setup
4.8 I'm trying to setup partitions for vinum. I am in single user mode, but every time I try to modify swap size to accomodate for vinum confuration I get disklabel: ioctl DIOCWDINFO: open partition would move or shrink re-edit the label? [y] #size offsetfstype [fsize bsize bps/cpg] a: 21094400 21094404.2BSD 2048 1638489 # (Cyl. 131*- 1444*) b: 2109000 430 swap# (Cyl.0 - 131*) c: 1562481270unused0 0# (Cyl.0 - 9725*) e: 133044287 232038404.2BSD 2048 1638489 # (Cyl. 1444*- 9725*) h: 156248111 16 vinum # (Cyl.0*- 9725*) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still no graphic desktop
That probably was what I needed, plus I needed the exact specs on my video card and display (800x600). But someplace in there I mangled the config file, I think. After deleting and re-installing the system (for my 5th time) everything worked fine. I now have Gnome up and running. I'll probable switch to KDE because of it's office software. Next step is configuiring WiFi Internet access. I access the Internet from all over the country through a WiFi modem. I have several pcmcia WiFi cards. Most are B cards, with one being a G card. But configuring this will wait for a later day... Thanks. Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Web Journal: http://lloyd_hayes.bravejournal.com/ Mike wrote: Lloyd, I've been following this thread for a few days now, and I kept hoping someone would give you some useful advice, but I haven't seen any. I really dislike posting to email groups, but if you find this advice useful, feel free to forward it on to -questions, just please anonymize my name/email address from the post. Log in as root (configuring X11 (xwindows) requires root permissions) At the prompt, type in: xf86cfg This will run a program that will try to autodetect the video card in your computer. Assuming it is successful (if it is not, this process will be significantly harder and more annoying) it will bring up a grahpical configuration program. You should see a picture of a computer connected to a mouse, keyboard, video card, and the video card connected to a monitor. At this point, hopefully the mouse will work. If not, you can navigate the mouse cursor with the number pad keys for directions. This keyboard interface requires a bit of playing around with to understand, and hopefully you will not need to use it (your mouse will just work). Once you are able to control the graphical interface, you will be able to go to the monitors tab to configure monitors. This procedure is kind of tricky - there is a lot of buttons and weird controls - you can ignore all these and just use the pulldown on top and select a video mode that your monitor supports (likely 1024x768...). It will ask you if you want to add this mode line or something along those lines - say yes. Now use the quit button in the graphical program. It will ask you if you want to save /usr/X11R6/lib/X86Config file. Click Ok, it will ask you about a keyboard file, say Ok as well. You should be back to a command line prompt. Now type in xf86cfg -textmode -xf86config /usr/X11R6/lib/XF86Config this will run the same program, except in a text mode and use the file that it created the first time through as the starting configuration. Everything should already be set up correctly except for the Configure Screen section. Go there, edit screen 0, pick a color depth (depending on how new/old your computer is, it could be as high as 24 bit, but to be on the safe side you can pick 8 or 16 bit for now and you can always re-reun xf86cfg with the same arguments to change it later). Then the next screen will have checkboxes - check only one for the resolution you want. To be on the safe side, I would say pick the 1024x768 , but here again you can experiment. After clicking finish you will be back to the main menu. Select 'write XF86Config and quit' and agree to everything it asks of you. Now you should be ready to start xwindows. This is very similar to typing win at the C: prompt back in the days of windows 3.0, type: startx at the prompt, and xwindows should come up with a graphical display and a working mouse. You can always kill xwindows by pressing alt+ctrl+backspace to be returned to the command line again. I do not know if you have done this before or not, but if you have kde installed and want to use it as your window manager/environment, you should also type echo startkde ~/.xinitrc what this will do is create a file called .xinitrc in your home directory that has the line startkde in it (~ means home directory). When you type startx this file will be read and the commands in it will be executed. Hope this helps. - Mike On Wed, 16 Jun 2004 22:14:06 -0600, Lloyd Hayes wrote How are you trying to start X Windows? If you're just expecting it to start, you're going to end up disappointed. Oops... I was expecting the graphical desktop to start automatically. However I also tried startx, and I played with xdm. Whatever I was doing kept coming up with errors about no screen. Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Web Journal: http://lloyd_hayes.bravejournal.com/ Matt Navarre wrote: Lloyd Hayes wrote: I have been told that the reason that I don't have a graphic desktop yet is because my XFree86 Server is not configured right. I finally downloaded the exact specs on my old laptop from Gateway and plugged them into the configure file. No help. I tried each of the 4 configure
firefox menu display issue
This is a minor annoyance, but since I haven't seen anyone else comment on it I figure I should throw it out and see. When selecting any menu in firefox 0.9 (and 0.9_1), both the focus highlight and the menu title appear as a solid white bar with no text. Has anyone seen this? Any ideas on whether the problem lies within firefox or maybe gnome themes? I'm using the Simple theme unchanged from its default, but a lot of gnome components were included in my update yesterday. -- Steve Tremblett ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems running Tar (1) for newer files
On Thursday 17 June 2004 11:06 am, Lowell Gilbert wrote: Gerard Samuel [EMAIL PROTECTED] writes: Im trying to create a tar ball by running - tar -c -N 'Jun 1 2004' -f ../dev.tar * I keep getting this error - tar: More than one threshold date Can anyone see what Im doing wrong? Im running FreeBSD 5.2.1-RELEASE-p6 Works for me (-STABLE). My best guess would be that the '*' is matching a filename that confuses tar (maybe something beginning with a dash?). Try using '.' instead. I dont know. Maybe a glitch in the matrix, but its working today ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which version?
If you aren't using it as a production machine you may as well start with the 5.x, 5.2.1 right now, as it could use a larger test base on the road to stable. cheers, reed stanisaw gsior wrote: hi which version will be good to my comp.plizz help me. Prawdziwa historia, zakazana mio, skandal obyczajowy... Zobacz sam! http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.html%3Fid%3D2613sid=199 ___ [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: Is PERC4/Di supported under FreeBSD 5.2.1?
To the owners of a Dell PowerEdge 2600 server running FreeBSD 5.2.1: I am in the process of a system purchase as above. It is coming with PERC4/Di hard drive controller. By looking at the hardware compatibility list for 4.10, it is supported. I do not see this same piece of hardware on the compatibility list for FreeBSD 5.2.1. Anyone comment or suggestion please! Btw, if this system is going to be a hardware RAID level 5, does it really still a matter for the support under FreeBSD 5.2.1? S. Mohammad [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD community - best ever !
Have to say this :- I have used alot of online resources and have had help in many forms from far and wide. Sometimes I have received ridicule and criticism and condescending remarks for my inquisitiveness and sometimes stupid questions. But as a new FreeBSD user I am amazed at the first off response and help I have had. Unbiased, polite, patient and informative. Hats off to FreeBSD supporters everywhere ! Its a great community !!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox 0.9 Port
I'm not really sure where to ask this, so I'm defaulting to the questions list. I recently reinstalled my machine and am running 5.2.1-RELEASE. Now that Firefox 0.9 has been released, I decided to try installing it. (Note: Since this is a freshly reinstalled workstation, no previous versions of Mozilla or Firefox were lying around. I also deleted the .mozilla and .phoenix directories from my homedir backup before running this new version.) The install was successful, but as soon as I try to run the program, all I get is the same message repeating over and over again in my xterm: *** loading the extensions datasource The browser never actually starts and that message keeps repeating until I ^C out of it. Has anybody else encountered this since the new port came out? Previous versions of Firefox on my old workstation (also of the 5.x line) worked fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is PERC4/Di supported under FreeBSD 5.2.1?
In the last episode (Jun 17), [EMAIL PROTECTED] said: To the owners of a Dell PowerEdge 2600 server running FreeBSD 5.2.1: I am in the process of a system purchase as above. It is coming with PERC4/Di hard drive controller. By looking at the hardware compatibility list for 4.10, it is supported. I do not see this same piece of hardware on the compatibility list for FreeBSD 5.2.1. Anyone comment or suggestion please! It looks like the 5.2.1 release notes just list the driver name and the generic device type: AMI MegaRAID Express and Enterprise family RAID controllers ( amr(4) driver) But if you click on the amr(4) link, the manpage does list Dell PERC 4/Di as one of the cupported controllers, so it is supported on FreeBSD 5.x. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 0.9 Port
The install was successful, but as soon as I try to run the program, all I get is the same message repeating over and over again in my xterm: You have to run it as root first. However, it then segmentation faults on most pages, so it's not a great advance. -- Richard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 0.9 Port
On 06/17, Richard Tobin rearranged the electrons to read: You have to run it as root first. Actually, according to the last checkin, that's no longer true. I did try that, though, to no avail. I'll try it again just to be sure. -Jamie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System freeze on reboot
I think i have isolated part of the problem. The rl driver has some serious problems. Doing a google search i found posts on bugs@ that shows similar log entries to what i'm getting. I suspect the system would not reboot because the network driver was misbehaved. I swapped out the realtek chipset card with a 3com 3c905c. The system seems to be running more smoothly. So far so good. There is a PR on the realtek driver that's been open since february... Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD community - best ever !
Graham Bentley wrote: Have to say this :- I have used alot of online resources and have had help in many forms from far and wide. Sometimes I have received ridicule and criticism and condescending remarks for my inquisitiveness and sometimes stupid questions. I believe your inquisitivity is more of a reason for us to reply (at least, for me). As long as you want to invest time in the OS, then I personally want to help out the person more if I can. But as a new FreeBSD user I am amazed at the first off response and help I have had. Unbiased, polite, patient and informative. Hats off to FreeBSD supporters everywhere ! Its a great community !!! Thanks Graham, I never really got into another mailing list then FreeBSD, but I know these guys are great. I always get a reply very quickly if I have a question. As long as you use the proper English and remain polite, then you'll almost always get a reply on your question sooner or later. Perhaps the list is a bit more mature then other lists. (13 -14 year old kiddies that are rude, not willing to spend time into others (bad me for saying that as an 18 year old kid)) Ehh, anyway, it's nice to hear a positive reaction for a change :) Cheers, Jorn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 0.9 Port
On Thu, Jun 17, 2004 at 12:36:09PM -0500, Jamie Novak wrote: The install was successful, but as soon as I try to run the program, all I get is the same message repeating over and over again in my xterm: *** loading the extensions datasource The browser never actually starts and that message keeps repeating until I ^C out of it. Try starting it as root then as a regular user. It's weird. I had that but after long enough I got a message about too mamy open files. -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgpk8qMEoxXPD.pgp Description: PGP signature
Re: FreeBSD community - best ever !
Sometimes I have received ridicule and criticism and condescending remarks for my inquisitiveness and sometimes stupid questions. I found this to be true as well. Although most of the Linux community is very kind as well, I found this type of I know the answer to that, so you should too in some of their lists/groups. But as a new FreeBSD user I am amazed at the first off response and help I have had. This is the same feeling I got when I started using FBSD at v4.5. Unbiased, polite, patient and informative. ...and many of the original people who were on the list when I came here are still here, and just as kind and open to share their experiences and offer knowledge they've aquired along the way as they were then. Hats off to FreeBSD supporters everywhere ! Yes, and hats off to the new users who make the change to FreeBSD, because most of them I assume will be drawn in to lists like this and eventually help with their knowledge they aquire due to the kind nature of the people who help them out. Its a great community !!! That's exactly what I feel this is... a community, of one person helping out another, with patience and tolerance. Just my $0.02 sb ___ [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]
Adaptec 29160 Scsi card / camcontrol rescan
I have a machine running 5.2.1 with DUAL Adaptec 29160LP scsi cards. In the machine there are 2 U160 LVD scsi drives...one attached to each drive... I have an external SE tape drive that I have a cable for that I can attach to the 'extra' 29160 card port. If I hook it up to the card and then boot the machine, it is detected and runs fine :) If I forget, I hook it up later and then run 'camcontrol rescan all' and the tape drive is immediately picked up and works fine :) My question is, since I start out w/o the tape drive connected, I am running LVD with u160 speeds. Then I hook up the tape drive (run the command) and then want to disconnect the tape drive. I know the bus will slow down with the tape drive attached, but will it come back to normal speeds once I remove the tape drive? - and/or do I have to run the camcontrol command again? Thanks in advance!! -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adaptec 29160 Scsi card / camcontrol rescan
J.D. Bronson wrote: I know the bus will slow down with the tape drive attached, but will it come back to normal speeds once I remove the tape drive? - and/or do I have to run the camcontrol command again? Run the rescan again. Just removing the device from the bus does not cause the kernel or the hba to perform any action. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox 0.9 Port
On Thu, Jun 17, 2004 at 07:04:50PM +0100, Lewis Thompson wrote: On Thu, Jun 17, 2004 at 12:36:09PM -0500, Jamie Novak wrote: The install was successful, but as soon as I try to run the program, all I get is the same message repeating over and over again in my xterm: *** loading the extensions datasource The browser never actually starts and that message keeps repeating until I ^C out of it. Try starting it as root then as a regular user. It's weird. I had that but after long enough I got a message about too mamy open files. I found that running as root via sudo meant that firefox created a root-owned ~/.mozilla/firefox directory -- so as soon as I tried to run it under my own UID, that lead to being constantly asked to create a new profile, failing to do that and then crashing as observed. Doing a % sudo chown -R matthew:matthew ~/.mozilla fixed the problems and Firefox is running very nicely now, although occasionally some unknown thing triggers it to dump core when quitting. Obviously (do I really need to say this?) substitute your own usernamed and default group in the above. Most ways of becoming root won't alter the ${HOME} environment variable -- other than a full 'su -' or logging into the console as root, so I'd expect this doing nasty things to file ownerships to be quite common. 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 pgphrDLFhZmYf.pgp Description: PGP signature
Re: Adaptec 29160 Scsi card / camcontrol rescan
At 01:19 PM 06/17/2004, Carl Reisinger wrote: J.D. Bronson wrote: I know the bus will slow down with the tape drive attached, but will it come back to normal speeds once I remove the tape drive? - and/or do I have to run the camcontrol command again? Run the rescan again. Just removing the device from the bus does not cause the kernel or the hba to perform any action. Please excuse my ignorance here Once I disconnect my tape drive and run camcontrol rescan all, I should expect the bus speed to once again return to 160? thanks! -- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still no graphic desktop
On Thu, 17 Jun 2004 00:14:54 -0500 Curtis Almond [EMAIL PROTECTED] wrote: Lloyd, When I was learning to install and configure FreeBSD for the first year or so I always defaulted to using /stand/sysinstall. This allows you to configure your input devices (mouse and keyboard), video card, and choose the desktop you would like to use (Gnome/KDE). If you are using a system in which you installed from CD and have not done any port upgrade magic I would recommend that method to getting started. Or you could do it using xf86cfg -textmode ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sendmail and /var/spool/mqueue
I'm not a sendmail expert. What does it mean when I have a lot of files in /var/spool/mqueue? I don't really understand what that particular queue is for. This client is not having any problems getting/sending mail, and the mailq command only shows one mail in the queue, but I have 3867 files in this directory. -- 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: Firefox 0.9 Port
On 06/17, Matthew Seaman rearranged the electrons to read: Try starting it as root then as a regular user. It's weird. I had that but after long enough I got a message about too mamy open files. I found that running as root via sudo meant that firefox created a root-owned ~/.mozilla/firefox directory -- so as soon as I tried to run it under my own UID, that lead to being constantly asked to create a new profile, failing to do that and then crashing as observed. Interesting. The 15:29 checkin by marcus said The warning about running as root first is no longer needed since the hack seems to work, so I didn't try it again. He was, apparently, wrong. Now, when I start it via sudo (rather than a su - and an exporting of the display), it starts up just fine. After a chown -R of the .mozilla directory to me, it starts fine as my userid, too. Weirdness. Thanks, everybody, for the replies! I really appreciate it. - Jamie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail and /var/spool/mqueue
What does it mean when I have a lot of files in /var/spool/mqueue? I don't really understand what that particular queue is for. I believe the q is for messages that have failed, but have not yet expired...don't quote me though. sb This client is not having any problems getting/sending mail, and the mailq command only shows one mail in the queue, but I have 3867 files in this directory. -- 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
screen 4.00.01 FREEBSD 5.2.1-RELEASE cannot read .bash_profile
Hi, I am using screen 4.00.01 on FREEBSD 5.2.1-RELEASE. Running the csh-shell everything works correctly inside screen. But I have a user who is running the bash-shell. Now this is happening: Screen cannot read the .bash_profile unless I set the option in .screenrc: shell -$SHELL. I recognized this behavior when trying to run vim in screen. In .bash_profile vim is set as alias of vi: alias vi=vim. But screen is not able to read this alias as long as it is set in .bash_profile. If the alias is set in .cshrc: alias vi vim screen is running vim when typing vi (although the shell is still bash). It seems to me that screen is only reading or reacting to the csh-shell-environment and not to the actual given shell. I tried to set in .screenrc: shell $SHELL - but no reaction. The only thing that helped is to set in .screenrc shell -$SHELL then the .bash_profile and the bash-environment is accepted by screen. How can I change this behavior? Thanx in advance Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail and /var/spool/mqueue
What does it mean when I have a lot of files in /var/spool/mqueue? I don't really understand what that particular queue is for. I believe the q is for messages that have failed, but have not yet expired...don't quote me though. Pretty close. All Email messages seem to go their first - anyway, if the mailer doesn't call sendmail on them right away directly - and then sendmail or whatever picks them out of there at its periodic intervals. sb This client is not having any problems getting/sending mail, and the mailq command only shows one mail in the queue, but I have 3867 files in this directory. Yah, all those extra messages in the mqueue are most likely ones that failed to get delivered for some non-permanent reason. You can take a look at the 'q' files and see where they are supposed to go. It is highly likely that they are bogus in some way and can be nuked. But, it is also possible that some server was temporarily down and they will get delivered when it comes back up. There should be a 'd' file for each 'q' file and vice versa. We have had occasions where some seemed to get orphanned with one file but missing the other. I don't remember if we ever figured out a reason. I always nuked any orphans. jerry -- 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] ___ [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: Keep log_in_vain Value
-Original Message- From: Bill Moran [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 2:59 PM To: Matt Cyber Dog LaPlante Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Keep log_in_vain Value Matt \Cyber Dog\ LaPlante [EMAIL PROTECTED] wrote: -Original Message- From: David Fuchs [mailto:[EMAIL PROTECTED] Matt Cyber Dog LaPlante wrote: Ah, grep saves the day again. It was being turned on in rc.network. Thanks. You sure it wasn't being turned on in rc.conf instead? Anything else would mean that someone was messing with rc.network or /etc/default/rc.conf, which really should be left alone. I'm positive...there is no log_in_vain entry in rc.conf. It only appears in rc.network, where both tcp and udp were set to 1. That's really strange ... is you rc.network customized? It really shouldn't be. The stock one only sets log_in_vain if /etc/rc.conf tells it to. -- Bill Moran Potential Technologies http://www.potentialtech.com Couldn't tell you, I didn't build this system. It got dumped on me when I took over a sysadmin job. I guess it's just another checkmark on my list of really strange things that have been done to this network. :) - Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfw question
Hi Reuben, Sorry for taking so long to reply. My workstation at work which still runs Fedora Core RC3 and not a real OS, like FreeBSD, decided to throw away all outgoing email this morning. Here's a repost extracted from my =posted mailbox in Mutt [...] On 2004-06-16 17:04, Reuben A. Popp [EMAIL PROTECTED] wrote: I believe that what I have is correct, and everything seems to be working well, with a few exceptions. For instance, ftp and ssh still don't seem to make it into the logs, although the mail, web and web-ssl do with no problems. Again, following this message is my revised ruleset. Strange. All incoming they should be logged. Unless, of course, you mean ftp and ssh connections that *you* start to the outside world, in which case by reading the ruleset you will note that they are allowed unconditionally, without logging, by a rule higher up the chain: # Add all TCP connections that originate from us ipfw add allow tcp from any to any out setup keep-state # Pass and log all incoming ftp-data connections. ipfw add allow log tcp from any 20 to any in setup keep-state # Pass and log all incoming connections to: ftp, ssh, mail and www. ipfw add allow log tcp from any to any 21,22,25,80,443 in setup keep-state Since this doesn't log anything, all connections that your machine starts towards another machine are passed through without logging. If you want to log specific connections, you should use something like this instead: # Log ftp and ssh connections that we make. ipfw add allow log tcp from any to any 21,22 out setup keep-state # Let any other outgoing connections through, unlogged. ipfw add allow tcp from any to any out setup keep-state Note that you also have some rules that are useless in there. Trim your ruleset a bit ;-) The general idea with stateful filtering is that you set up a few connections that are allowed to pass through and then let the packets related to those connections pass too, but *nothing* else. This is why the general form of a stateful firewall with IPFW should be: rules that check states first rules that selectively pass connections *and* create states everything else blocked This way only the packets related to one of the states will pass through. Any other packets that require special handling (for instance, ICMP packets) can be handled by other rules. In your ruleset you have this: # First of all state checking. This will allow through any packet # that is marked as legitimate by one of the following rules. ipfw add check-state ipfw add deny tcp from any to any established # Add all TCP connections that originate from us ipfw add allow tcp from any to any out setup keep-state which should work without problems, and then you have: # Allow TCP through if setup succeeded ipfw add pass tcp from any to any established This rule will never match with anything, since packets that could possibly match are blocked by the 'established' rule right after check-state above. You can safely delete this rule. Then you have this rule, that handles fragments in a special manner, which is not very useful. # Allow IP fragments to pass through ipfw add pass all from any to any frag AFAIK, any fragment that is related to an existing connection should match with the check-state rule and will never reach this part of the ruleset. I think this can go too. Finally, this rule is absolutely *not* good. You've gone through all the trouble to set up a stateful firewall so as NOT to be forced to allow any incoming TCP connection through. This single rule lets all the connections through, effectively cancelling all of your filtering rules :-( # Allow setup of any other TCP connection ipfw add pass tcp from any to any setup You should definitely delete this one. IMHO, it's a good idea to replace it with a more strict rule like this: # BLock everything else. ipfw add deny ip from any to any If you're too worried that this might break applications or protocols that you're using now, try adding a log keyword to this last rule and watch your system logs for dropped packets that are useful and should have been allowed. Then add special rules just for those packets. Regards, - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best place to spin down disk after boot?
On Mon, Jun 14, 2004 at 12:37:22AM +, Stefan A. Deutscher wrote: Hi, I have a 5.1Release machine with currently four SCSI disks, out of which I need only two at any given time (system and /home). The other ones are an alternative system disk, and an OS/2 disk. [ snip ] To reduce noise and heat production, I am going to spin down two SCSI disks on one of my machines with camcontrol stop -n da -u 0 camcontrol stop -n da -u 2 [ snip ] To spin down the disks right after boot, I ponder sticking things either in the /etc/rc.local (seems to be going out of style though) or as a separate script in /etc/rc.d/. Any thoughts on that would be appreciated. As these commands take a while to return with a success message I'd like to do that in the background, and I wish to log it somewhere. Is there 'the right' way to send the camcontrol messages to syslog or the dmesg file (all true believers shall open their egg at the right end!)? Following up to myself, I cooked the following script to be placed in /etc/rc.d/, it works fine and does what I want it to do. Maybe it helps someone else to save time to accomplish the same thing. Now I just wonder whether it would be more elegant to place a script that does the actual work in /usr/local/bin and just launch that one from a small script in /etc/rc.d/. I suppose it's a matter of taste. Oh - does stuff like this merit submission to ports? [ --- cut here --- ] #!/bin/sh # # Script to spin down unneeded SCSI disks right after system start # and log this in the system log (which should be up by then) using # /usr/bin/logger (the partition holding it should be mounted by then): # PROVIDE: spindown_disks # REQUIRE: mountall mountd syslogd # KEYWORD: FreeBSD LOGGER=/usr/bin/logger -s -t camcontrol PROGNAME=`basename $0` case $1 in start|faststart) ${LOGGER} Spinning down SCSI disks not needed ... ( /sbin/camcontrol stop -n da -u 0 /dev/null \ ${LOGGER} da0 stopped successfully. ) \ || ${LOGGER} da0 could not be stopped ( /sbin/camcontrol stop -n da -u 2 /dev/null \ ${LOGGER} da2 stopped successfully. ) \ || ${LOGGER} da2 could not be stopped ;; stop) ;; *) echo ${PROGNAME}: unknown option '$1' - should be 'start', 'faststart' or 'stop' 2 ;; esac # eof. [ --- cut here --- ] Cheers, Stefan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Means of traversing a directory
On Thursday 17 June 2004 10:31 am, Richard Caley wrote: In article [EMAIL PROTECTED], Gerard Samuel (gs) writes: gs Im running tar(1) to make a tar ball of a directory using the gs --newer-mtime to only get newer files after a specified date. gs Unfortunately, it also creates unwanted empty directories. Have you tried using find? If a relative time is good enough find DIR -type f -mtime -6 if you need to specify a time and date, I think the only way is to use touch to makea file at the right date then use find's -newer test. Well I made an ugly script, (50 lines), but it works. Ill have to investigate on simplifying it, along with implementing absolute time with find, as that would eliminate me from using tar to get the newest files. But the find commands that I used were - # Blatantly remove CVS directories find -d ./ -type d -regex '.*/CVS' -exec rm -rf {} \; # Remove empty directories find -d ./ -type d -exec rmdir {} \; So Im good for now. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD community - best ever !
Hey Graham, Graham Bentley wrote: Have to say this :- I have used alot of online resources and have had help in many forms from far and wide. Same goes for me ;) Sometimes I have received ridicule and criticism and condescending remarks for my inquisitiveness and sometimes stupid questions. So did i, also when i had a patch available etc, for a simple minor thing i got shouted at {well not litarly but.. ;) } But as a new FreeBSD user I am amazed at the first off response and help I have had. Well, as Jorn already said, i think this community is more mature, really want to help eachother, so everyone profits from it. So it's a honor to answer some questions from time to time (and ask questions as well) for me ;-) Unbiased, polite, patient and informative. How else would one get a clear explaination of what to do etc? Hats off to FreeBSD supporters everywhere ! I'd agree Its a great community !!! Indeed, and you can make it better, by keep saying this ;) and trying to help us out (documentation project for example). Just a thought ;) Cheers dude! Thanks for the good news and your opinion -- Kind regards, Remko Lodder |[EMAIL PROTECTED] Reporter DSINet|[EMAIL PROTECTED] Projectleader Mostly-Harmless |[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD community - best ever !
Remko Lodder wrote: Hey Graham, Graham Bentley wrote: Have to say this :- I have used alot of online resources and have had help in many forms from far and wide. Same goes for me ;) Sometimes I have received ridicule and criticism and condescending remarks for my inquisitiveness and sometimes stupid questions. So did i, also when i had a patch available etc, for a simple minor thing i got shouted at {well not litarly but.. ;) } But as a new FreeBSD user I am amazed at the first off response and help I have had. Well, as Jorn already said, i think this community is more mature, really want to help eachother, so everyone profits from it. So it's a honor to answer some questions from time to time (and ask questions as well) for me ;-) Unbiased, polite, patient and informative. How else would one get a clear explaination of what to do etc? Hats off to FreeBSD supporters everywhere ! I'd agree Its a great community !!! Indeed, and you can make it better, by keep saying this ;) and trying to help us out (documentation project for example). Just a thought ;) I have to agree here too. In particular Mark Linimon has been of tremendous help to me and I've seen other committers and indeed non committers giving very valuable help all over the place. Regards, Gary Hayers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Keep log_in_vain Value
Matt \Cyber Dog\ LaPlante [EMAIL PROTECTED] wrote: -Original Message- From: Bill Moran [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 2:59 PM To: Matt Cyber Dog LaPlante Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Keep log_in_vain Value Matt \Cyber Dog\ LaPlante [EMAIL PROTECTED] wrote: -Original Message- From: David Fuchs [mailto:[EMAIL PROTECTED] Matt Cyber Dog LaPlante wrote: Ah, grep saves the day again. It was being turned on in rc.network. Thanks. You sure it wasn't being turned on in rc.conf instead? Anything else would mean that someone was messing with rc.network or /etc/default/rc.conf, which really should be left alone. I'm positive...there is no log_in_vain entry in rc.conf. It only appears in rc.network, where both tcp and udp were set to 1. That's really strange ... is you rc.network customized? It really shouldn't be. The stock one only sets log_in_vain if /etc/rc.conf tells it to. -- Bill Moran Potential Technologies http://www.potentialtech.com Couldn't tell you, I didn't build this system. It got dumped on me when I took over a sysadmin job. I guess it's just another checkmark on my list of really strange things that have been done to this network. :) Be warned ... it's likely that either /etc/rc.network, or /etc/defaults/rc.conf have been modified. Neither of these files should be cusomized, and both will be (and should be) replaced the next time you update this machine. Make sure you backup /etc and all subdirectories before you do the next upgrade, in case the machine's behaviour changes enough that you have to search through the old versions to see see what was going on! -- 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: firefox menu display issue
On Thu, Jun 17, 2004 at 12:29:27PM -0400, Steve Tremblett wrote: This is a minor annoyance, but since I haven't seen anyone else comment on it I figure I should throw it out and see. When selecting any menu in firefox 0.9 (and 0.9_1), both the focus highlight and the menu title appear as a solid white bar with no text. Has anyone seen this? Any ideas on whether the problem lies within firefox or maybe gnome themes? I'm using the Simple theme unchanged from its default, but a lot of gnome components were included in my update yesterday. I'm having no problems using Firefox 0.9 with IceWM 1.2.14. GH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shared Partition?
On Thu, Jun 17, 2004 at 10:19:01AM -0500, Curtis Almond wrote: I am pretty sure the only way to do this is to have a FAT32 partition. I have not done this on FreeBSD but while playing with Xandros Linux I was able to get read/write access using a FAT partition. FAT32 may be the only solution if you need read/write-access from both systems, but for stuff like mp3, it may suffice to mount your Windows NTFS-partition read-only. FreeBSD can do that with mount_ntfs(8). I have setup such a thing for someone. Read/write-access to a shared FAT32-partition, and read-only acces to a Win2k NTFS-partition. No problem whatsoever. GH ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vinum setup
[Format recovered--see http://www.lemis.com/email/email-format.html] Output wrapped. On Thursday, 17 June 2004 at 12:04:01 -0400, synrat wrote: 4.8 I'm trying to setup partitions for vinum. I am in single user mode, but every time I try to modify swap size to accomodate for vinum confuration I get disklabel: ioctl DIOCWDINFO: open partition would move or shrink re-edit the label? [y] #size offsetfstype [fsize bsize bps/cpg] a: 21094400 21094404.2BSD 2048 1638489 # (Cyl. 131*- 1444*) b: 2109000 430 swap# (Cyl.0 - 131*) c: 1562481270unused0 0# (Cyl.0 - 9725*) e: 133044287 232038404.2BSD 2048 1638489 # (Cyl. 1444*- 9725*) h: 156248111 16 vinum # (Cyl.0*- 9725*) You can't change open partitions. You also can't unmount swap. If you go from multi-user to single user mode, the swap remains mounted. You'll need to boot to single user mode to do that. If this doesn't answer your question, more details, please, including any log messages. Please don't wrap them. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgpTyD7CIIgF9.pgp Description: PGP signature
Re: Upgrading openssh
On Thursday 17 June 2004 10:41, Nagilum wrote: Hi Eric, The base version of openssh is updated frequently (especially if any vulnerabilities are discovered), so why bother with the port? Kind regards, Alex. Eric Crist wrote: After figuring out perl (with the help of Matthew, I was wondering what the proper way to install/upgrade openssh. I assume it's to install from ports, and somehow disable the installed, system version. What's the proper method? Someone pointed out I was using an outdated version. I just did a complete system upgrade the other day, so I assumed ports was the only way to go (I mean, look at the perl installation...) -- Eric F Crist Keep your pecker hard and your powder dry, and the world WILL turn. pgpzfwXj3a8Tn.pgp Description: signature
Dlink DSL router doesn't like FreeBSD
I have had exactly the same experience with linux, using mandrake 10. Everything works from my linux box on the lan to other hosts on the lan. When I try to telnet on ports 22(ssh),25(smtp),80(http) and 110(pop3) NOTHING WORKS. I can browse the web and send/recieve email with Evolution/Thunderbird/Firefox without any problems BUT I cannot use telnet for anything outside of the LAN when I am on my Linux box. My windows laptop can do everything (I didn't try ssh because the windows box doesn't have a client). The only constant factor in this is the D-Link 504t. This has other faults in it anyway, such as not restricting remote access to the web-login screen once the latest firmware is installed. They missed out essential features such as being able to configure the time when it shipped, along with the option to connect on demand which was documented in the mannual but not present in the config dispite being shown in mannual's photographs. Not only this but the mannual was wrong on some points too, showing a feature in one part of the web-config when it had been moved to another section after the mannual was written. Is anyone getting suspicious of the quality of this router ? I use it, and it works, expect for this problem. I don't trust it very much though and I will be glad to see the back of it when I upgrade, unless dlink fix the problems listed above and restore my faith in this product. On Fri, 14 May 2004, Walter C. Pelissero wrote: I'm trying to make work a D-Link 504T DSL router/switch with FreeBSD 5.2.1-RELEASE-p6. I've already realised that IPv6 is not supported by the router so I compiled an IPv4-only kernel and got to work DNS, HTTP, and FTP. My problem is that ssh and telnet don't work. I get as far as the Password prompt, I type it in, and then ssh freezes for a couple of minutes until it probably goes in timeout and gives up. The D-Link help desk is useless; the only thing they suggested was to return the router to where I bought it. I've anyhow the impression that the problem might not completely be the router's fault. In fact I plugged a Windoze machine, installed PuTTY, and ssh seems to work flawlessly. What am I missing here? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dlink DSL router doesn't like FreeBSD
I forgot to add to this ... that if you monitor tcp/ip traffic with tcpdump you can compare a sucessful connection on the internal lan with a failure on when trying to connect to something on the internet. Doing this you can see the syn-ack-syn process of a successful pop/smtp/www connection on the lan, but when attempting to connect to on the wan the reason it fails is because there is no reply to the inital syn request, or subsequent syn requests sent out when the first one fails to get a reply. I have cannot connect using ssh on the lan to test that. If ANYONE has a solution to this .. please post to me as well as this list. I only made these posts to show that this is not an isolated incident and defies sense trying to diagnose. I will post again when I take the router out of the equation and replace with a windows box doing connection sharing. That should be enough to start blaming the dlink if it works with the windows box. On Thu, 2004-06-17 at 23:49, bob wrote: I have had exactly the same experience with linux, using mandrake 10. Everything works from my linux box on the lan to other hosts on the lan. When I try to telnet on ports 22(ssh),25(smtp),80(http) and 110(pop3) NOTHING WORKS. I can browse the web and send/recieve email with Evolution/Thunderbird/Firefox without any problems BUT I cannot use telnet for anything outside of the LAN when I am on my Linux box. My windows laptop can do everything (I didn't try ssh because the windows box doesn't have a client). The only constant factor in this is the D-Link 504t. This has other faults in it anyway, such as not restricting remote access to the web-login screen once the latest firmware is installed. They missed out essential features such as being able to configure the time when it shipped, along with the option to connect on demand which was documented in the mannual but not present in the config dispite being shown in mannual's photographs. Not only this but the mannual was wrong on some points too, showing a feature in one part of the web-config when it had been moved to another section after the mannual was written. Is anyone getting suspicious of the quality of this router ? I use it, and it works, expect for this problem. I don't trust it very much though and I will be glad to see the back of it when I upgrade, unless dlink fix the problems listed above and restore my faith in this product. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dlink DSL router doesn't like FreeBSB - FAULT CONFIRMED!!!
here we go ... the router is rubbish for ssh and telnet even dlink have said it is a problem!!! http://www.broadbandreports.com/forum/remark,10278563~mode=flat ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need help on shell script
Hi list, I read http://www.linuxgazette.com/node/view/9074 and tried to adopt this script to my ipfw firewall: #!/bin/sh tail -f /var/log/security | \ awk ' $0 ~ /ICMP/ { system(cat /root/sounds/icmp.wav /dev/dsp ); } $0 ~ /TCP/ { system(cat /root/sounds/tcp.wav /dev/dsp ); } $0 ~ /UDP/ { system(cat /root/sounds/udp.wav /dev/dsp ); } ' This is what I got. However, sounds won't play one after another. e.g, if 3 packets are blocked at the same time, 2 TCP and one UDP, the system will always wait for a sound to finish before playing the next. I want it to be able to play the sounds in sequence (as fast as possible), but I couldn't figure a way out! Any shell script guru could give an helping hand? ;) Regards -- www.6s-gaming.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Logging the message body from an MTA
I need to log the message body of incoming and outgoing messages on my FreeBSD 5.2.1 Release server. I'm running Exim right now, but I really don't have a preference of MTA. The main thing is I need to facilitate the logging of message bodies. I don't want to flood you with too many details, but we want to archive messages (including message body) to a MySQL database, so that we can quickly run queries and review messages from months/years ago - no matter who's mailbox it ended up in. To accomplish this, we need to first log the message body somehow... anyhow... then commit the logs to the MySQL database. I'd settle for learning how to do the first step. I've read through Exim docs and Sendmail docs, as well as various newsgroups - plenty of info on logging various data - but nothing on message bodies. I posted a message to the Exim news group - but no luck there. I'm not set on Exim - I just want to log message bodies. Any help or a push in the right direction would be GREATLY appreciated. Thanks, Lonnie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help on shell script
On Thu, Jun 17, 2004 at 08:15:23PM -, [EMAIL PROTECTED] said: Hi list, I read http://www.linuxgazette.com/node/view/9074 and tried to adopt this script to my ipfw firewall: #!/bin/sh tail -f /var/log/security | \ awk ' $0 ~ /ICMP/ { system(cat /root/sounds/icmp.wav /dev/dsp ); } $0 ~ /TCP/ { system(cat /root/sounds/tcp.wav /dev/dsp ); } $0 ~ /UDP/ { system(cat /root/sounds/udp.wav /dev/dsp ); } ' This is what I got. However, sounds won't play one after another. e.g, if 3 packets are blocked at the same time, 2 TCP and one UDP, the system will always wait for a sound to finish before playing the next. I want it to be able to play the sounds in sequence (as fast as possible), but I couldn't figure a way out! This is the behaviour of the device, not your script. Only one process can access the device at any one time, and so your subsequent sounds must wait for the first one to finish before it will be able to use /dev/dsp. When using /dev/dsp, programs like artsd (which comes with KDE) allow other artsd-aware programs to send sound events through the artsd daemon, and artsd controls all the mixing of sounds together to send them out through /dev/dsp. So, you need something like this to play your events, rather than catting them to /dev/dsp. Unfortunately I don't know of any console programs that do this. Try looking in /usr/ports/audio :) -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 Dog for sale: Eats lots and is fond of children. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]