The FreeBSD Diary: 2005-03-13 - 2005-04-02
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which mail server is the best for me?
Pat Maddox writes: sendmail is insecure ... Why? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI RAGE Mobility [9700]
On Sun, Apr 03, 2005 at 04:08:34AM +0100, - wrote: Any way to get an ATI Mobility Radeon 9700 working with 3D acceleration ? No. Ati only supplies windows and Linux drivers. The open source drivers in xorg only support up to the Radeon 9250. But see http://lists.freebsd.org/pipermail/freebsd-current/2004-January/017723.html Roland -- R.F. Smith /\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \Respect for open standards pgpQ7qhyMBkDG.pgp Description: PGP signature
Re: Some kind of intranet update system for FreeBSD?
Michael C. Shultz wrote: On Saturday 02 April 2005 10:57 am, Andrew P. wrote: Hello! I know this has been brought up a number of times and I doubt that it is the right place to post to or even a right subject to raise, but still. It seems we lack some update system in FreeBSD. I have only 2 freebsd boxes, one serving as an internet gateway for the other. And whenever I want to update the latter one, I think about all the traffic that I'm gonna waste and CPU time to build and my own time to get some distros from one machine to another. I dream about a server running on my main machine, which gets queries from intranet freebsd boxes that want to be updated. The server negotiates with each client and acts as requested: 1.1) fetches a binary package, or 1.2) fetches a source package, or 1.3) finds a binary/source in its cache, and 2) builds a package if needed, and 3) gives binary/source to the client Is that so difficult? C'mon guys, just one step forward to perfection :) Very best wishes, Andrew P. Its doable, providing both boxes have identical CPU's and the port build options on both have the same options. If the CPU's are not identical are you willing to build every thing to the lowest common denominator such as CPUTYPE?=i486 ? If this is the case then really all you have to do is make sure you have a /usr/ports/packages dir on one machine then upgrade portmanager -u. This will put a package for everything upgraded into /usr/ports/packages/All. nfs share /usr/ports/packages/All directory with the other machine and on that one upgrade with something like portupgrade -aP. -Mike Thanks, I'll try to do this via ftp. What about the system itself? Is there an easy way to copy all the binaries from one box to another? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question
On 2005-04-03 00:11, Randy Pratt [EMAIL PROTECTED] wrote: On Sat, 2 Apr 2005 22:30:13 -0500 fbsd_user [EMAIL PROTECTED] wrote: Reinstall from scratch using cd install disk. Keep trying until you get it correct. That's how you learn FreeBSD. Follow instructions from this url http://freebsd.easyasthat.co.uk/ Is there something wrong with the installation instructions at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html I keep seeing you recommend that site (yours?) as the instructions to follow. It's ok. There may be very good bits there (I haven't had a chance to read the entire document yet), so it's not very bad to suggest using it. If there are parts that we could include in the official FreeBSD doc/ tree, that would be great too. So, if anyone has used the aforementioned guide and found parts that are not covered by the official docs, please mail either me directly or the freebsd-doc list. If there's something lacking in the official instructions, wouldn't it be better to update those so they get a proper peer review? Agreed. Updating the official documentation, where it lacks, seems like a good thing. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hyperthreading not working on my 5.3 FreeBSD
Well the output of my dmesg command is only showing 1 processor , HT is enabled in bios , working on windows XP on the same PC. what can be wrong ? is there anyway to enable it ? thanks *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ God is the Greatest __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tuning
On 2005-04-02 22:36, Pedram M [EMAIL PROTECTED] wrote: Anyone can give me references or suggestions on what to do tune FreeBSD for a heavily loaded mail server? Any suggestions for kernel tuning, sysctl tuning, network tuning, etc.. will be helpful A good starting point would probably be the tuning(7) manpage. For performance tweaks specific to your particular MTA, a Google search is probably the best you can do. Most of the time, the changes you can do to improve performance for MTAs apply (more or less) to all UNIX systems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound problem ...
i configured Freebsd as my desktop, everything is working fine , except sound , freebsd havent seemed to pick up my sound card .. or its not configured , is there any utility there to configure sound ? thanks *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ God is the Greatest __ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound problem ...
i configured Freebsd as my desktop, everything is working fine , except sound , freebsd havent seemed to pick up my sound card .. or its not configured , is there any utility there to configure sound ? There you go... http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- setup.html I hope that gives you an idea how to setup your sound card. regards, Manuel Burki ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound problem ...
On Sunday 03 April 2005 05:49 am, faisal gillani wrote: i configured Freebsd as my desktop, everything is working fine , except sound , freebsd havent seemed to pick up my sound card .. or its not configured , is there any utility there to configure sound ? thanks *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ God is the Greatest Have you gone through the multimedia section of the handbook? If not, have a look at the following link (link may wrap in email): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html HTH, WizLayer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tuning
Yeah I read the tuning manpage, Not enough, need more :) Regards, PD - Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: Pedram M [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Sunday, April 03, 2005 2:46 AM Subject: Re: FreeBSD Tuning On 2005-04-02 22:36, Pedram M [EMAIL PROTECTED] wrote: Anyone can give me references or suggestions on what to do tune FreeBSD for a heavily loaded mail server? Any suggestions for kernel tuning, sysctl tuning, network tuning, etc.. will be helpful A good starting point would probably be the tuning(7) manpage. For performance tweaks specific to your particular MTA, a Google search is probably the best you can do. Most of the time, the changes you can do to improve performance for MTAs apply (more or less) to all UNIX systems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFILTER and NFS
Matt Juszczak wrote: Howdy, Trying to get IPFILTER and NFS working. A google search didn't show much about my specific issue. With ipfilter working, nfs initially works, until someone tries to login. Then it stops working. With my firewall down on the NFS-CLIENT machine, it works fine. Any ideas? It appears to be an issue with random ports It is, NFS is an RPC service where the RPC deamon is requested to for info on which port mountd binds to. I wrote an howto for diskless clients, www.daemonsecurity.com/pxe/ - here's what to do: Enable nfs in /etc/rc.conf: rpcbind_enable=YES # Run the portmapper service (YES/NO). nfs_server_enable=YES # This host is an NFS server (or NO). mountd_enable=YES # Run mountd (or NO). mountd_flags=-r -p 59 # Force mountd to bind on port 59 As a minimum you need to enable rpcbind, nfsserver and mountd. lockd and statd provides file locking and status monitoring. By default, when mountd starts it binds to some arbitrary port, and rpc is used to discover which, making it imposible to firewall. With option '-p' mountd can be forced to bind to a specific port. Port 59 is assigned to any private file service (see /etc/services). This limits the number of ports relevant to 59, 111 and 2049. You can't force lockd and statd to bind to specific ports (they are alos RPC services) and AFAIK you can't have disk quotas work correctly because of this. AFAIK NFS4 should address these problems, but the NFS4 server is still experimental. Till then, RPC is a security nightmare. Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tuning
On 2005-04-03 03:12, Pedram M [EMAIL PROTECTED] wrote: Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-04-02 22:36, Pedram M [EMAIL PROTECTED] wrote: Anyone can give me references or suggestions on what to do tune FreeBSD for a heavily loaded mail server? Any suggestions for kernel tuning, sysctl tuning, network tuning, etc.. will be helpful A good starting point would probably be the tuning(7) manpage. For performance tweaks specific to your particular MTA, a Google search is probably the best you can do. Most of the time, the changes you can do to improve performance for MTAs apply (more or less) to all UNIX systems. Yeah I read the tuning manpage, Not enough, need more :) Then you will have to tell us more about the MTA you are using, the current setup and the expected load (in number of messages per day, hour, the number of users it supports, etc.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hyperthreading not working on my 5.3 FreeBSD
faisal gillani writes: Well the output of my dmesg command is only showing 1 processor , HT is enabled in bios , working on windows XP on the same PC. what can be wrong ? is there anyway to enable it ? Recompile the kernel with options SMP You should then see the second logical processor come online with no problems after installing the new kernel and rebooting. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fdisk -B -b /boot/boot0 device
Gert Cuykens wrote: On Apr 3, 2005 7:22 AM, Gert Cuykens [EMAIL PROTECTED] wrote: On Mar 31, 2005 3:34 AM, Gert Cuykens [EMAIL PROTECTED] wrote: Is boot0 a bootmanager ? I booted cd2 went into fixit mode did mount /dev/ad1 /mnt cd /mnt/boot fdisk -B -b /dev/ad1 boot0 fdisk ask me to write boot record i said yes fdisk ask me to write partition table i said no but i still dont have my freebsd bootmanager back and windows get loaded :( what did i do wrong ? i did it again but i answert 2 times yes now i have a boot manager this time but only f1 (windows) works when i press f2 nothing happens ? I believe the handbook covers dual booting. Please consider reading it a few times - as I mentioned before, the Handbook will answer most of your questions. In addition, search this list for other methods of doing dual boots with Windows. It's been covered many times. -- Best regards, Chris Real programmers can do octal, hexadecimal and binary math in their heads. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
Andrew P. [EMAIL PROTECTED] wrote: Michael C. Shultz wrote: On Saturday 02 April 2005 10:57 am, Andrew P. wrote: It seems we lack some update system in FreeBSD. I have only 2 freebsd boxes, one serving as an internet gateway for the other. And whenever I want to update the latter one, I think about all the traffic that I'm gonna waste and CPU time to build and my own time to get some distros from one machine to another. I dream about a server running on my main machine, which gets queries from intranet freebsd boxes that want to be updated. The server negotiates with each client and acts as requested: 1.1) fetches a binary package, or 1.2) fetches a source package, or 1.3) finds a binary/source in its cache, and 2) builds a package if needed, and 3) gives binary/source to the client Its doable, providing both boxes have identical CPU's and the port build options on both have the same options. If the CPU's are not identical are you willing to build every thing to the lowest common denominator such as CPUTYPE?=i486 ? If this is the case then really all you have to do is make sure you have a /usr/ports/packages dir on one machine then upgrade portmanager -u. This will put a package for everything upgraded into /usr/ports/packages/All. nfs share /usr/ports/packages/All directory with the other machine and on that one upgrade with something like portupgrade -aP. Thanks, I'll try to do this via ftp. What about the system itself? Is there an easy way to copy all the binaries from one box to another? Your building machine can share /usr/src/ via nfs. You can then do a make buildworld on the server and make installworld on every machine. If the kernels are the same, you can use the same build on every machine as well. As Michael has already mentioned, you have to keep /etc/make.conf general. Since FreeBSD has no ftpfs, using nfs seems to be the easier way. Fabian -- http://www.fabiankeil.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
webalizer package installation
Hello, I am trying to install webalizer. I am newbie and I have tried a lot. But it is giving me error .. checking for main in -lpng... no configure: error: png library not found... please install Png. checking for libgd.so... (cached) no configure: error: gd library not found... please install gd. 1) How to install gd and png libraries? Can you provide me url? How to check they are installed or not? 2) I also want to install a JAVA on freeBSD. What are the packages requires, how to install them. I know pkg_add command. 3) How to check what packages are install on the system and how to resolve dependacies. Thanks and Regards Sadashiv Kulthe. System Administrator Open Source Labs - Pune [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
Fabian Keil wrote: Andrew P. [EMAIL PROTECTED] wrote: I dream about a server running on my main machine, which gets queries from intranet freebsd boxes that want to be updated. The server negotiates with each client and acts as requested: 1.1) fetches a binary package, or 1.2) fetches a source package, or 1.3) finds a binary/source in its cache, and 2) builds a package if needed, and 3) gives binary/source to the client Its doable, providing both boxes have identical CPU's and the port build options on both have the same options. If the CPU's are not identical are you willing to build every thing to the lowest common denominator such as CPUTYPE?=i486 ? If this is the case then really all you have to do is make sure you have a /usr/ports/packages dir on one machine then upgrade portmanager -u. This will put a package for everything upgraded into /usr/ports/packages/All. nfs share /usr/ports/packages/All directory with the other machine and on that one upgrade with something like portupgrade -aP. Thanks, I'll try to do this via ftp. What about the system itself? Is there an easy way to copy all the binaries from one box to another? Your building machine can share /usr/src/ via nfs. You can then do a make buildworld on the server and make installworld on every machine. If the kernels are the same, you can use the same build on every machine as well. As Michael has already mentioned, you have to keep /etc/make.conf general. So basically, to substantially facilitate the update process all we have to do is to share /usr/src and /usr/ports folders? Will it be ok to share them read-only if I do all the building on the server? Is it a serious security issue to give recursive read-access to these folders to maliscious parties? (I mean besides of letting them know versions of all your server software). Thanks, Andrew P. P.S. Still, IMHO a nicely-designed port would be great. I mean we do have portupgrade for crying out loud. If we have something for a network of freebsd boxes, we could start talking enterprise-level management. P.P.S. What a pity that we don't have tarfs/ftpfs. Okay, that's just a sidenote. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webalizer package installation
1) How to install gd and png libraries? Can you provide me url? How to check they are installed or not? see below 2) I also want to install a JAVA on freeBSD. What are the packages requires, how to install them. I know pkg_add command. see here for installing java on FreeBSD : http://www.freebsd.org/java/ 3) How to check what packages are install on the system and how to resolve dependacies. try installing from ports : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html running the command pkg_info shows you all packages installed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Some kind of intranet update system for FreeBSD?
Thanks, I'll try to do this via ftp. What about the system itself? Is there an easy way to copy all the binaries from one box to another? How about Port: freebsd-update-1.6_1 Path: /usr/ports/security/freebsd-update Info: Fetches and installs binary updates to FreeBSD Maint: [EMAIL PROTECTED] B-deps: R-deps: bsdiff-4.2 WWW:http://www.daemonology.net/freebsd-update/ Is that the kind of thing your thinking ? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
Andrew P. wrote: Thanks, Andrew P. P.S. Still, IMHO a nicely-designed port would be great. I mean we do have portupgrade for crying out loud. If we have something for a network of freebsd boxes, we could start talking enterprise-level management. P.P.S. What a pity that we don't have tarfs/ftpfs. Okay, that's just a sidenote. ... are you volunteering?! -- Best regards, Chris The lion and the calf shall lie down together, but the calf won't get much sleep. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
Chris wrote: Andrew P. wrote: Thanks, Andrew P. P.S. Still, IMHO a nicely-designed port would be great. I mean we do have portupgrade for crying out loud. If we have something for a network of freebsd boxes, we could start talking enterprise-level management. P.P.S. What a pity that we don't have tarfs/ftpfs. Okay, that's just a sidenote. ... are you volunteering?! Well, I just might be able to write a dirty perl script that would add to thousands of useless ports. However, if there a busy soul with much knowledge and an ability to guide, I think I'll be able to produce some nice code with little of his help :) I'm now thinking learning ruby and examining portupgrade's code carefully. 6-9 months at least. Best wishes, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
In article [EMAIL PROTECTED], Fabian Keil (fk) writes: fk If the kernels are the same, you can use the same build fk on every machine as well. If they aren't it works to set KERNCONF to the whole list on the build machine KENRCONF=Macine1 Macine2 Machine3 It builds them all, but instals teh first one on this machine. -- Mail me as [EMAIL PROTECTED]_O_ | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound problem ...
Faisal Gillani I do not like the handbook instructions, read my whining bellow. I would recommend following these procedures for configuring your sound card. The instruction in this email are very similar to the handbooks. Do not try to figure out what driver you sound card using form the Hardware Notes go directly to the /boot/loader.conf. 1 If you have added the any sound devices to you kernel configuration remove remove them. Remove the lines device sound device snd_* You may or my not have this in your kernel. If you have not added the sound driver to your kernel the skip to the next step. 2 You can easily look all the available sound drivers in the /boot/loader.conf. (the following list is from 5.3-STABLE, it may not match the drivers on your system) : sound_load=YES # Digital sound subsystem snd_ad1816_load=NO# ad1816 snd_als4000_load=NO # als4000 snd_cmi_load=NO # cmi snd_cs4281_load=NO# cs4281 snd_csa_load=NO # csa snd_ds1_load=NO # ds1 snd_emu10k1_load=NO # Creative Sound Blaster Live snd_es137x_load=NO# es137x snd_ess_load=NO # ess snd_fm801_load=NO # fm801 snd_ich_load=NO # Intel ICH snd_maestro_load=NO # Maestro snd_maestro3_load=NO # Maestro3 snd_mss_load=NO # Mss snd_neomagic_load=NO # Neomagic snd_sb16_load=NO # Sound Blaster 16 snd_sb8_load=NO # Sound Blaster Pro snd_sbc_load=NO # Sbc snd_solo_load=NO # Solo snd_t4dwave_load=NO # t4dwave snd_via8233_load=NO # via8233 snd_via82c686_load=NO # via82c686 snd_vibes_load=NO # vibes snd_driver_load=NO# All sound drivers 2 If you now what driver supports your card you can test the driver by using kldload # kldload snd_drivername You can test to see if your sound card is support by FreeBSD and load all the sound drivers with ( I believe this will work, it has been months since I have done this) #kldload snd_driver This will test all the snd drivers. 3. You will now need to configure your /boot/loader.conf so that the driver will load every time you reboot your computer. Add the following lines to your /boot/loader.conf sound_load=YES snd_sounddriver=YES You can load all the sound driver with snd_driver_load=YES I hope this helps Aaron Siegel My whining attached bellow -- This is one section in the manual I do not like, I found if made configuring the sound card more complicated than it needs to be. To add to being complicated it was hard to determine what driver are available. The hardware notes, http://www.freebsd.org/releases/5.3R/hardware-i386.html#AUDIO, is not consistant. It names the drive that support some cards but does give the driver used by other cards. For example, it clearly shows the Advance Asound 100 and 110 uses a sbc driver but the hardware notes does not mention what drive supports the VIA Technologies VT82C686A. There are no man pages written for most of the sound drivers nor are their any references to the to them in the man pages. The only drives listed in the man pages snd_csa(4), snd_gusc(4), and snd_sbc(4). Writing the man pages was no my todo list at one time. On Sunday 03 April 2005 03:49, faisal gillani wrote: i configured Freebsd as my desktop, everything is working fine , except sound , freebsd havent seemed to pick up my sound card .. or its not configured , is there any utility there to configure sound ? thanks *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ God is the Greatest __ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some kind of intranet update system for FreeBSD?
Richard Caley wrote: In article [EMAIL PROTECTED], Fabian Keil (fk) writes: fk If the kernels are the same, you can use the same build fk on every machine as well. If they aren't it works to set KERNCONF to the whole list on the build machine KENRCONF=Macine1 Macine2 Machine3 It builds them all, but instals teh first one on this machine. Would it build all the modules three time, I wonder? Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webalizer package installation
# [EMAIL PROTECTED] / 2005-04-03 19:13:04 +0530: I am trying to install webalizer. I am newbie and I have tried a lot. But it is giving me error .. Hello, please don't post to many lists at once. If in doubt, check the charters at http://www.freebsd.org/doc/en/books/handbook/eresources.html#ERESOURCES-MAIL checking for main in -lpng... no configure: error: png library not found... please install Png. checking for libgd.so... (cached) no configure: error: gd library not found... please install gd. This is output of a configure script, how are you exactly installing webalizer? 1) How to install gd and png libraries? Can you provide me url? How to check they are installed or not? I'll answer a question of how to install webalizer instead. Either: pkg_add -r webalizer or: cd /usr/ports/www/webalizer make install clean 2) I also want to install a JAVA on freeBSD. What are the packages requires, how to install them. I know pkg_add command. Will this help? http://www.freebsd.org/doc/en/articles/java-tomcat/index.html Other documentation might be helpful, too: http://www.freebsd.org/docs.html 3) How to check what packages are install on the system and how to resolve dependacies. Documentation on the packaging system in FreeBSD can be found in the Handbook (file:///usr/share/doc/handbook/ or http://www.freebsd.org/doc/en/books/handbook/), and in ports(7) and pages referenced from there. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound problem ...
Aaron Siegel wrote: Faisal Gillani I do not like the handbook instructions, read my whining bellow. I would recommend following these procedures for configuring your sound card. The instruction in this email are very similar to the handbooks. Do not try to figure out what driver you sound card using form the Hardware Notes go directly to the /boot/loader.conf. 1 If you have added the any sound devices to you kernel configuration remove remove them. Remove the lines device sound device snd_* You may or my not have this in your kernel. If you have not added the sound driver to your kernel the skip to the next step. 2 You can easily look all the available sound drivers in the /boot/loader.conf. (the following list is from 5.3-STABLE, it may not match the drivers on your system) : sound_load=YES # Digital sound subsystem snd_ad1816_load=NO# ad1816 snd_als4000_load=NO # als4000 snd_cmi_load=NO # cmi snd_cs4281_load=NO# cs4281 snd_csa_load=NO # csa snd_ds1_load=NO # ds1 snd_emu10k1_load=NO # Creative Sound Blaster Live snd_es137x_load=NO# es137x snd_ess_load=NO # ess snd_fm801_load=NO # fm801 snd_ich_load=NO # Intel ICH snd_maestro_load=NO # Maestro snd_maestro3_load=NO # Maestro3 snd_mss_load=NO # Mss snd_neomagic_load=NO # Neomagic snd_sb16_load=NO # Sound Blaster 16 snd_sb8_load=NO # Sound Blaster Pro snd_sbc_load=NO # Sbc snd_solo_load=NO # Solo snd_t4dwave_load=NO # t4dwave snd_via8233_load=NO # via8233 snd_via82c686_load=NO # via82c686 snd_vibes_load=NO # vibes snd_driver_load=NO# All sound drivers While most of what you say is correct, and I have opted to use loader.conf for sound, this file is actually in /boot/defaults/loader.conf By default, /boot/loader.conf is either non-existant, or has very little in it. Telling the OP to look in /boot/loader.conf for the lines above will confuse him/her. In general, /boot/defaults/loader.conf is a great place to start. Much like /etc/defaults - these are set as the system defaults. putting the lines you want in /boot/loader.conf over rides the system defaults. Also worth noting (as with /etc/defaults) the user ought to get into the habit of editing the proper files instead of the system default files. -- Best regards, Chris Nothing is ever so bad it can't be made worse by firing the coach. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Repairing an inconsistent system
I made a mess of my 5.3 installation. I cvsupped the ports tree, and then tried to get the gtk interface to Ruby to work, and reinstalled the port for gtk20. Firefox and Evolution then stopped working, complaining about missing libraries such as libgtk-x11-2.0.so.400 being absent - they have been replaced by ..so.600. I tried doing ln -s ...600 ... 400, and the result was even worse; the applications ran, but all the text was scrambled. So I copied the original libraries over from another machine, and things SEEM back to normal. But I now have a machine that has libraries that don't match the ports tree. How should I get myself out of this self-inflicted mess? Re-install gtk20, followed by all the applications that depend on it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Repairing an inconsistent system
Mike Jeays wrote: I made a mess of my 5.3 installation. I cvsupped the ports tree, and then tried to get the gtk interface to Ruby to work, and reinstalled the port for gtk20. Firefox and Evolution then stopped working, complaining about missing libraries such as libgtk-x11-2.0.so.400 being absent - they have been replaced by ..so.600. I tried doing ln -s ...600 ... 400, and the result was even worse; the applications ran, but all the text was scrambled. So I copied the original libraries over from another machine, and things SEEM back to normal. But I now have a machine that has libraries that don't match the ports tree. How should I get myself out of this self-inflicted mess? Re-install gtk20, followed by all the applications that depend on it? As a rule of thumb, after cvsuping the ports tree, BEFORE you run portugrade/portmanager - READ /usr/ports/UPDATING. This also applies to the src tree. The reading of /usr/src/UPDATING should be second nature by now. These files give you a heads up on things that have changed/added/removed and give you clues on how to handle issues (should they exist). Many helpful scripts can be created to do what's needed within that file. -- Best regards, Chris If you're early, it'll be cancelled. If you knock yourself out to be on time, you will have to wait. If you're late, you will be too late. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD server behind router-NAT; how to configure sendmail?
Emanuel Strobl wrote:\ If you don't have /etc/mail/yourhostname.domain.mc then you should cd to /etc/mail and type make, after you edited the file make all install restart Thanks for your help. I generated the files with this make command, and all just worked out of the box. I can send email, without needing to tell sendmail about my hostname. So far so good. However, next what I need, is using another port for sending emails out. I have googled and read the sendmail FAQs, but I am completely at a loss here. There is a FAQ, that explains: If you want all outgoing SMTP connections to use port 2525, you can use this in your .mc file: define(`RELAY_MAILER_ARGS', `TCP $h 2525') define(`ESMTP_MAILER_ARGS', `TCP $h 2525') I have put this in my hostname.mc file, but to no avail. I'm probably not familiar enough with sendmail way of doing things. But then this is such a simple thing, that it should be easy. I suppose that with netstat -a, there should be a line with port 2525, if above works. But that is not there. Do you have any suggestions how to solve this? Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD server behind router-NAT; how to configure sendmail?
Am Sonntag, 3. April 2005 17:36 schrieb Rob: Emanuel Strobl wrote:\ If you don't have /etc/mail/yourhostname.domain.mc then you should cd to /etc/mail and type make, after you edited the file make all install restart Thanks for your help. I generated the files with this make command, and all just worked out of the box. I can send email, without needing to tell sendmail about my hostname. So far so good. However, next what I need, is using another port for sending emails out. I have googled and read the sendmail FAQs, but I am completely at a loss here. There is a FAQ, that explains: If you want all outgoing SMTP connections to use port 2525, you can use this in your .mc file: define(`RELAY_MAILER_ARGS', `TCP $h 2525') define(`ESMTP_MAILER_ARGS', `TCP $h 2525') I have put this in my hostname.mc file, but to no avail. I'm probably not familiar enough with sendmail way of doing things. But then this is such a simple thing, that it should be easy. I suppose that with netstat -a, there should be a line with port 2525, if above works. But that is not there. I'm not sure if I understand your problem correctly, but what you did with these defines is that sendmail contacts every other system at port 2525 insetad of 25, it's not listening on 2525, hence you can't see a tcp/2525 with netstat -a. But I think it should do what you want, if I understand your description right. If you want sendmail to listen at a custom port these defines are wrong. I don't have them in my mind right now, I'm sure you'll find the M4 defines at the sendmail FAQ, tell me if I can help. -Harry Do you have any suggestions how to solve this? Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com pgpHRUoD537Aw.pgp Description: PGP signature
Re: fdisk -B -b /boot/boot0 device
On Apr 3, 2005 3:19 PM, Chris [EMAIL PROTECTED] wrote: Gert Cuykens wrote: On Apr 3, 2005 7:22 AM, Gert Cuykens [EMAIL PROTECTED] wrote: On Mar 31, 2005 3:34 AM, Gert Cuykens [EMAIL PROTECTED] wrote: Is boot0 a bootmanager ? I booted cd2 went into fixit mode did mount /dev/ad1 /mnt cd /mnt/boot fdisk -B -b /dev/ad1 boot0 fdisk ask me to write boot record i said yes fdisk ask me to write partition table i said no but i still dont have my freebsd bootmanager back and windows get loaded :( what did i do wrong ? i did it again but i answert 2 times yes now i have a boot manager this time but only f1 (windows) works when i press f2 nothing happens ? I believe the handbook covers dual booting. Please consider reading it a few times - as I mentioned before, the Handbook will answer most of your questions. In addition, search this list for other methods of doing dual boots with Windows. It's been covered many times. -- Best regards, Chris Real programmers can do octal, hexadecimal and binary math in their heads. The manual says sysinstall menu... boot manager... done I already did that and it works fine but i want to learn how to do it in fixit mode with fdisk -B b /dev/ad1 /mnt/boot/boot0 Windows is booting fine when i did that but freebsd doesnt boot what did i forget to do ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VPN with setkey
Hello I've been run in troubles with setkey. My goal is to etablish a vpn connection with setkey/racoon to an vpn box from ZyXEL (Prestige 600series). My setup is: notebook --- FreeBSD gateway/firewall --- Internet - ZyXEL Notebook: 192.168.50.55 FreeBSD gatewy/firewall: 192.168.50.1 ZyXEL: host.abc.net (internal net: 192.168.1.0/24) I can ping ZyXEL make vpn connections with a Windows client without problems. I config the ipsec.conf with these options: spdadd -n 192.168.50.0/24 192.168.1.0/24 ipencap -P out ipsec esp/tunnel/192.168.50.55-host.abc.net/require; spdadd 192.168.1.0/24 192.168.50.0/24 ipencap -P in ipsec esp/tunnel/host.abc.net-192.168.50.55/require; and this I get back from setkey: notebook# setkey -f ipsec.conf libipsec: invalid IP address while parsing host.abc.net line 1: hostname nor servname provided, or not known at [ out ipsec esp/tunnel/192.168.50.55-host.abc.net/require parse failed, line 1. What I'm doing wrong? -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgpn4172f2am4.pgp Description: PGP signature
Re: Sound problem ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Aaron Siegel scribbled these curious markings: My whining attached bellow [snipped] Then fix it. Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUCABk/lo7zvzJioRAv3cAKCNMRWeU/ifdMwA8awajy912RhSqQCfaZIr J4MVUqriW+ze0XGdDEVJbUo= =bf3y -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fdisk -B -b /boot/boot0 device
On Apr 3, 2005 6:27 PM, Gert Cuykens [EMAIL PROTECTED] wrote: On Apr 3, 2005 3:19 PM, Chris [EMAIL PROTECTED] wrote: Gert Cuykens wrote: On Apr 3, 2005 7:22 AM, Gert Cuykens [EMAIL PROTECTED] wrote: On Mar 31, 2005 3:34 AM, Gert Cuykens [EMAIL PROTECTED] wrote: Is boot0 a bootmanager ? I booted cd2 went into fixit mode did mount /dev/ad1 /mnt cd /mnt/boot fdisk -B -b /dev/ad1 boot0 fdisk ask me to write boot record i said yes fdisk ask me to write partition table i said no but i still dont have my freebsd bootmanager back and windows get loaded :( what did i do wrong ? i did it again but i answert 2 times yes now i have a boot manager this time but only f1 (windows) works when i press f2 nothing happens ? I believe the handbook covers dual booting. Please consider reading it a few times - as I mentioned before, the Handbook will answer most of your questions. In addition, search this list for other methods of doing dual boots with Windows. It's been covered many times. The manual says sysinstall menu... boot manager... done I already did that and it works fine but i want to learn how to do it in fixit mode with fdisk -B b /dev/ad1 /mnt/boot/boot0 Windows is booting fine when i did that but freebsd doesnt boot what did i forget to do ? I tryed disklabel -B /dev/ad1s2 it tels me partition a b c d: offset past unit and partition c doesnt start at 0 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Boot manager
Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. Teilhard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
Am Sonntag, 3. April 2005 19:07 schrieb Teilhard Knight: Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. Yes, I can strongly recommend gag. Very powerfull, yet very simple to use, you even needn't install it. http://gag.sourceforge.net/ -Harry Teilhard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpg24n6mIwmu.pgp Description: PGP signature
Which mail server is the best for me?
Gosh could you have picked a harder question? That is like saying Blondes, Brunets or Red Heads? You will have to read up about several MTA¹s and figure out what suites your needs. It will take a good few hours of reading and if you are anything like me with a wife job and three kids then time is precious. So to try and help you get on your way don¹t use sendmail. I am partial to Postfix although with that said I have never used anything else. I did several days worth of reading and Postfix was my choice due to it¹s ease of use, flexibility and security. Ease of Use: If you are only receiving e-mail for FQDN of your box (/etc/rc.conf) then right after you have finished installing Postfix you are ready to go. It uses sensible defaults and is a breeze to work with. At that point you will be using local system accounts and MBOX format. You ought to read about the benefits and drawbacks or both to decide if that is really what you want. MBOX is easy enough to change however changing your logins to use something other then the local /etc/masster.passwd database takes some extra finagling. Again the how toos are a great help. Flexibility Now with that said I am hosting e-mail for several of my web customers. So I wanted to set up a MySQL back end to manage the domains instead of using text files. Security I also wanted to add additional security and installed TLS and SASL. As well as quota¹s so my users don¹t suck up all my disk space. So I took it to the next level and it took quite a bit more time to setup. So if you want a MTA that will be a breeze to setup but can have the flexibility to use more features you can shake a stick at while maintaining the KISS process (Keep it simple stupid). Then Postfix is a good choice. There are A LOT of how too¹s on postfix out on the net. Take a look at the documentation on the postfix website postfix.org. The how too¹s and the postfix documentation are separate pages on their site. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
- Original Message - From: Emanuel Strobl [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Cc: Teilhard Knight [EMAIL PROTECTED] Sent: Sunday, April 03, 2005 11:19 AM Subject: Re: Boot manager Thank you. I have had a look at it, and I would prefer a boot manager which can be installed in a dedicated partition the way Xosl can be installed. Teilhard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Teilhard Knight scribbled these curious markings: Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. What's wrong with FreeBSD's boot manager? Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUCllk/lo7zvzJioRArE5AKCjYRUK5mSjbRYp0Bh5wH+GrjLAFgCdHCac 1fL0g361cyYbHJWcBka2HFA= =2Hd+ -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to find device node for /dev/ad0s1b in /dev!
I had this same type problem. It appears that FreeBSD and the BIOS did not select the proper geometry for the disk. I tried a different disk on the same system, and I was able to install. Knopptix reported a different geometry than FreeBSD, so I tried setting the geometry to match what Knopptix reported, but, the installation graphical fdisk told me the Knopptix geometry was unrealistic, and set it back to the BIOS geometry. I installed the system on a different drive, and then used the command line fdisk command to partition the disk with the Knopptix geometry. I was then able to set the labels and mount the errant drive. Keith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
1001:1001::0:0
what does 1001:1001::0:0 in vipw mean ? i thought 1001 is the user id ? And 0 the x screen : 0 the x display ? Why are there 2 times 1001 written ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1001:1001::0:0
In the last episode (Apr 03), Gert Cuykens said: what does 1001:1001::0:0 in vipw mean ? i thought 1001 is the user id ? And 0 the x screen : 0 the x display? Why are there 2 times 1001 written ? The passwd manpage explains it (man 5 passwd). The first two numbers are the uid and primary gid, the next empty field is the login class (see the login.conf manpage), and the next two fields are the password and account expiry times (which are currently unused). -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFILTER and NFS
Problem is that I need to firewall the client. I dont have access to the nfs server... only the client. Your configuration info showed me making changes on the server. is there a way to make the client work ok? -Matt Erik Nrgaard wrote: Matt Juszczak wrote: Howdy, Trying to get IPFILTER and NFS working. A google search didn't show much about my specific issue. With ipfilter working, nfs initially works, until someone tries to login. Then it stops working. With my firewall down on the NFS-CLIENT machine, it works fine. Any ideas? It appears to be an issue with random ports It is, NFS is an RPC service where the RPC deamon is requested to for info on which port mountd binds to. I wrote an howto for diskless clients, www.daemonsecurity.com/pxe/ - here's what to do: Enable nfs in /etc/rc.conf: rpcbind_enable=YES # Run the portmapper service (YES/NO). nfs_server_enable=YES # This host is an NFS server (or NO). mountd_enable=YES # Run mountd (or NO). mountd_flags=-r -p 59 # Force mountd to bind on port 59 As a minimum you need to enable rpcbind, nfsserver and mountd. lockd and statd provides file locking and status monitoring. By default, when mountd starts it binds to some arbitrary port, and rpc is used to discover which, making it imposible to firewall. With option '-p' mountd can be forced to bind to a specific port. Port 59 is assigned to any private file service (see /etc/services). This limits the number of ports relevant to 59, 111 and 2049. You can't force lockd and statd to bind to specific ports (they are alos RPC services) and AFAIK you can't have disk quotas work correctly because of this. AFAIK NFS4 should address these problems, but the NFS4 server is still experimental. Till then, RPC is a security nightmare. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1001:1001::0:0
On Apr 3, 2005 8:18 PM, Gert Cuykens [EMAIL PROTECTED] wrote: On Apr 3, 2005 7:57 PM, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Apr 03), Gert Cuykens said: what does 1001:1001::0:0 in vipw mean ? i thought 1001 is the user id ? And 0 the x screen : 0 the x display? Why are there 2 times 1001 written ? The passwd manpage explains it (man 5 passwd). The first two numbers are the uid and primary gid, the next empty field is the login class (see the login.conf manpage), and the next two fields are the password and account expiry times (which are currently unused). thx so its user id : group id : login class : begin date : end date ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1001:1001::0:0
Alrighdy i found the honny jar :) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-introduction.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1001:1001::0:0
On Apr 3, 2005 8:25 PM, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Apr 03), Gert Cuykens said: On Apr 3, 2005 7:57 PM, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Apr 03), Gert Cuykens said: what does 1001:1001::0:0 in vipw mean ? i thought 1001 is the user id ? And 0 the x screen : 0 the x display? Why are there 2 times 1001 written ? The passwd manpage explains it (man 5 passwd). The first two numbers are the uid and primary gid, the next empty field is the login class (see the login.conf manpage), and the next two fields are the password and account expiry times (which are currently unused). thx so its user id : group id : login class : begin date : end date Actually: user id : group id : login class : password expire date : account expire date doh! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
On Apr 3, 2005 7:33 PM, Christopher Nehren [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Teilhard Knight scribbled these curious markings: Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. What's wrong with FreeBSD's boot manager? It doesnt have colors It doesnt look pretty It writes ?? instead of windows Nobody knows how it works for example how to install it witout sysinstall :P look a birdy zwoef (running away) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
Am Sonntag, 3. April 2005 20:36 schrieb Gert Cuykens: On Apr 3, 2005 7:33 PM, Christopher Nehren [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Teilhard Knight scribbled these curious markings: Could you recommend a good boot manager, please? I mean, to boot several OSs, but not relying on Lilo. Not Xosl, because it doesn't work together with a Drive Overlay. What's wrong with FreeBSD's boot manager? It doesnt have colors It doesnt look pretty It writes ?? instead of windows Nobody knows how it works for example how to install it witout sysinstall :P The latter is not true, the manpage very clearly points to boot0cfg, a very convinient tool and there's probably nothing out there which describes the booting stages on i386 better than the boot(8) manpage. If you don't like it it's another thing but you should read the excelent stuff people are writing for you! -Harry look a birdy zwoef (running away) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpswIs4kmH7f.pgp Description: PGP signature
Re: IPFILTER and NFS
Matt Juszczak wrote: I dont have access to the nfs server... only the client. Your configuration info showed me making changes on the server. is there a way to make the client work ok? Just let your client connect to any port on the server - keep state so you can block incoming connections: pass out quick on interface proto tcp from client/32 \ to nfs-server/32 flags S keep state pass out quick on interface proto udp from client/32 \ to nfs-server/32 keep state Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: question
YES there is something major wrong with the official handbook. The majority of the content is written like the reader already has good understanding of how FreeBSD works. It is not detailed enough for someone who has no previous experience with Unix like operating systems. The referenced Install guide gives clear step by step instructions. It only uses the sysinstall process to lay down the default operating system from cdrom. Then step by step instruction on which /etc conf files need to be edited and with what data needs to be added and why. It completes side steps the many un-documented sysinstall options as functions only necessary for advanced users. If you were current on the content of the handbook you will see that the handbooks complete section on firewalls has been replaced with the complete firewall section from the Install guide we are talking about. AND if you had accessed the Install guide you would have see that it is available to everyone for download and viewing on their own PC. It is public domain and the FreeBSD-Doc group can incorporate it into the handbook or make it a separate install guide for beginners. The FreeBSD Install Guide is mirrored at the following sites. http://freebsd.easyasthat.co.uk/ http://www.unixguide.net/freebsd/fbsd_installguide/index.php http://freebsd.packards-home.net/index.php www.a1poweruser.com http://freebsdinfo.org/ http://freebsd.a1poweruser.com:6088/ http://freebsd.95mb.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Giorgos Keramidas Sent: Sunday, April 03, 2005 5:43 AM To: Randy Pratt Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org; [EMAIL PROTECTED] Subject: Re: question On 2005-04-03 00:11, Randy Pratt [EMAIL PROTECTED] wrote: On Sat, 2 Apr 2005 22:30:13 -0500 fbsd_user [EMAIL PROTECTED] wrote: Reinstall from scratch using cd install disk. Keep trying until you get it correct. That's how you learn FreeBSD. Follow instructions from this url http://freebsd.easyasthat.co.uk/ Is there something wrong with the installation instructions at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.ht ml I keep seeing you recommend that site (yours?) as the instructions to follow. It's ok. There may be very good bits there (I haven't had a chance to read the entire document yet), so it's not very bad to suggest using it. If there are parts that we could include in the official FreeBSD doc/ tree, that would be great too. So, if anyone has used the aforementioned guide and found parts that are not covered by the official docs, please mail either me directly or the freebsd-doc list. If there's something lacking in the official instructions, wouldn't it be better to update those so they get a proper peer review? Agreed. Updating the official documentation, where it lacks, seems like a good thing. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New Freebsd Install Guide Available
YES there is something major wrong with the official handbook. The majority of the content is written like the reader already has good understanding of how FreeBSD works. It is not detailed enough for someone who has no previous experience with Unix like operating systems. The referenced Install guide gives clear step by step instructions. It only uses the sysinstall process to lay down the default operating system from cdrom. Then step by step instruction on which /etc conf files need to be edited and with what data needs to be added and why. It completely side steps the many un-documented sysinstall options as functions only necessary for advanced users. If you were current on the content of the handbook you will see that the handbooks complete section on firewalls has been replaced with the complete firewall section from the Install guide we are talking about. AND if you had accessed the Install guide you would have see that it is available to everyone for download and viewing on their own PC. It is public domain and the FreeBSD-Doc group can incorporate it into the handbook or make it a separate install guide for beginners. The FreeBSD Install Guide is mirrored at the following sites. http://freebsd.easyasthat.co.uk/ http://www.unixguide.net/freebsd/fbsd_installguide/index.php http://freebsd.packards-home.net/index.php www.a1poweruser.com http://freebsdinfo.org/ http://freebsd.a1poweruser.com:6088/ http://freebsd.95mb.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Giorgos Keramidas Sent: Sunday, April 03, 2005 5:43 AM To: Randy Pratt Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org; [EMAIL PROTECTED] Subject: Re: question On 2005-04-03 00:11, Randy Pratt [EMAIL PROTECTED] wrote: On Sat, 2 Apr 2005 22:30:13 -0500 fbsd_user [EMAIL PROTECTED] wrote: Reinstall from scratch using cd install disk. Keep trying until you get it correct. That's how you learn FreeBSD. Follow instructions from this url http://freebsd.easyasthat.co.uk/ Is there something wrong with the installation instructions at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.ht ml I keep seeing you recommend that site (yours?) as the instructions to follow. It's ok. There may be very good bits there (I haven't had a chance to read the entire document yet), so it's not very bad to suggest using it. If there are parts that we could include in the official FreeBSD doc/ tree, that would be great too. So, if anyone has used the aforementioned guide and found parts that are not covered by the official docs, please mail either me directly or the freebsd-doc list. If there's something lacking in the official instructions, wouldn't it be better to update those so they get a proper peer review? Agreed. Updating the official documentation, where it lacks, seems like a good thing. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Freebsd Install Guide Available
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, [EMAIL PROTECTED] scribbled these curious markings: YES there is something major wrong with the official handbook. The majority of the content is written like the reader already has good understanding of how FreeBSD works. It is not detailed enough for someone who has no previous experience with Unix like operating systems. As others have pointed out to you, why not contribute to the official documentation, rather than making FreeBSD more like Linux with dozens of different (conflicting, and most often *all* wrong) sources of documentation? Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUD+ck/lo7zvzJioRAotJAJ4jHOTgdMgCXjeLUJADRnfiC2Nu2ACgpTm+ YF548plsIx4TjkmJg75Rtz0= =Ztuv -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Gert Cuykens scribbled these curious markings: It doesnt have colors So? It's a boot manager, not a piece of artwork. It doesnt look pretty Ditto. It writes ?? instead of windows It prints ?? because it can't possibly imagine why you'd want to make that choice. :) Nobody knows how it works for example how to install it witout sysinstall :P Someone else responded to this. Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUD9Mk/lo7zvzJioRAkDqAKCz+O+4FK3Arec7rUrgBuVkoZirOQCcCAwm NW8nY8mxtK7utOeUeqET7mU= =C8/6 -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question
On 2005-04-03 14:50, [EMAIL PROTECTED] wrote: YES there is something major wrong with the official handbook. The majority of the content is written like the reader already has good understanding of how FreeBSD works. It is not detailed enough for someone who has no previous experience with Unix like operating systems. You're probably right. The people who write documentation are usually seasoned FreeBSD hackers, and what you say is often true. If you do have more specific suggestiongs, like: ``In chapter 2, section 3, the installation guide mentions partitions without an explanation of what a partition is. We could probably add this paragraph here [ Insert small paragraph of plain text or SGML ] and it would all look a lot better.'' I would be glad to see your posts in freebsd-doc or as problem reports submitted in Gnats. Since I *did* ask explicitly, you can definitely Cc: me too and keep bugging me until I commit the changes :-) The referenced Install guide gives clear step by step instructions. I will definitely give it a look. I have already started reading it, but didn't get a chance to finish it tonight, due to other more urgent stuff. It only uses the sysinstall process to lay down the default operating system from cdrom. Then step by step instruction on which /etc conf files need to be edited and with what data needs to be added and why. For a specific configuration, as far as I have seen. The Handbook should be more general. But we'll get a chance to discuss this once I finish reading the guide. If you were current on the content of the handbook you will see that the handbooks complete section on firewalls has been replaced with the complete firewall section from the Install guide we are talking about. I _am_ current on the firewall chapter. I also dislike some parts of it, but that's a different story. You may recall that I was the first who was opposed to the commit of this new section back when it was committed in Sep 2004, because I consider it lacking too much in the areas of completeness, correctness, and style of writing. My personal opinion doesn't matter though, since others have picked up the ball and fixed a zillion things. I am very grateful to people like Marc Fonvieille, Simon Nielsen, Tom Rhodes, Joehl Dahl, Brad Davis and others who have stepped up and worked on the new firewall chapter. AND if you had accessed the Install guide you would have see that it is available to everyone for download and viewing on their own PC. Please note that I have accessed the guide. I've already read a part of it, and making already progress towards having read it all. My offer to commit changes to the Handbook that incorporate stuff from your guide still stands, so apart from saying my guide is better and holier than yours you're always welcome to submit diffs and/or plain text changes for the Handbook chapter that explains the installation process. :-) Regards, Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HT still not working ... version 5.3
i have intel 2.8 ghz HT enabled system,which works on windows XP but not working with HT technology in freebsd i did compile freebsd kernal with smp support but still 2nd processor fails to start , here are the messages in the dmesg output. FreeBSD 5.3-RELEASE #1: Mon Apr 4 00:03:25 UTC 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/clickonlineosbeta1 Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.20-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf25 Stepping = 5 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 250802176 (239 MB) avail memory = 235687936 (224 MB) ACPI APIC Table: INTEL D865GBF FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 Version 2.0 irqs 0-23 on motherboard module_register_init: MOD_LOAD (splash_bmp, 0xc09db810, 0) error 2 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU port 0x530-0x537 on acpi0 cpu1: ACPI CPU port 0x530-0x537 on acpi0 cpu1: Failed to attach throttling P_CNT acd1: CDROM HL-DT-ST CD-ROM GCR-8522B/1.00 at ata1-master PIO4 SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/ad0s2a *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤ God is the Greatest __ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Freebsd Install Guide Available
What you didn't read the complete content of the message. You just wanted to see this, your meaningless out of context mesg on the list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christopher Nehren Sent: Sunday, April 03, 2005 3:09 PM To: freebsd-questions@freebsd.org Subject: Re: New Freebsd Install Guide Available -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, [EMAIL PROTECTED] scribbled these curious markings: YES there is something major wrong with the official handbook. The majority of the content is written like the reader already has good understanding of how FreeBSD works. It is not detailed enough for someone who has no previous experience with Unix like operating systems. As others have pointed out to you, why not contribute to the official documentation, rather than making FreeBSD more like Linux with dozens of different (conflicting, and most often *all* wrong) sources of documentation? Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUD+ck/lo7zvzJioRAotJAJ4jHOTgdMgCXjeLUJADRnfiC2Nu2ACgpTm+ YF548plsIx4TjkmJg75Rtz0= =Ztuv -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
On Apr 3, 2005 9:07 PM, Christopher Nehren [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Gert Cuykens scribbled these curious markings: It doesnt have colors So? It's a boot manager, not a piece of artwork. It doesnt look pretty Ditto. It writes ?? instead of windows It prints ?? because it can't possibly imagine why you'd want to make that choice. :) Nobody knows how it works for example how to install it witout sysinstall :P Someone else responded to this. This is a nice explanation about boot stuff but it would be nicer if it had the words man boot0cfg somewhere :P http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-introduction.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Boot manager
On Apr 3, 2005 9:24 PM, Gert Cuykens [EMAIL PROTECTED] wrote: On Apr 3, 2005 9:07 PM, Christopher Nehren [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Gert Cuykens scribbled these curious markings: It doesnt have colors So? It's a boot manager, not a piece of artwork. It doesnt look pretty Ditto. It writes ?? instead of windows It prints ?? because it can't possibly imagine why you'd want to make that choice. :) Nobody knows how it works for example how to install it witout sysinstall :P Someone else responded to this. This is a nice explanation about boot stuff but it would be nicer if it had the words man boot0cfg somewhere :P I ment this one :) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html#BOOT-LOADER ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: Network Printing to Windows - CUPS?]
Hello: Has anyone had any joy printing from FreeBSD box to Windows print server? CUPS? Pointers? I have 3 machince and would prefer to leave printer attached to WinXP box. Suse is running another machine, and even using their YAST config too. I was not able to make it print properly - it found the printer but spooled gobbletygook! nb. printer is an HP LaserJet 4L wihich well supported with drivers etc.. Thanks for any help. Graham/ Vancouver, Canada. No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: device_polling
On Sat, 02 Apr 2005 21:06:37 -0500 jason henson wrote: dick hoogendijk wrote: I was building a new kernel today and came across an option I had not seen before. I googled some and concluded that options device_polling / options HZ=1000 would be a better way for my realtec network cards than the default interupt driven.. Is this correct?? Would it be better to have this polling in the kernel? (fbsd-4.11-stable) I would say yes. Check man polling for extra info. I build a kernel with devoce_polling and hz=1000 and experimented a bit. Using netstat -w 1 I see a drop in performance. In/output is about 20% higher if polling is disabled. That was not what I expexted. I really thought polling would be better. I use cheap rl (realtec 8139) cards. So I guess I will have to recompile without polling. For vmware3 I'll leave the HZ=1200 in. Don't understand it though..sigh -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rsync Setup
Hi, I'm trying to get my brain around rsync. What I am trying to do is synchronise 2 directories on different machines. I have an rsync server running on one machine and running it as a client on the other. I have been able to get this setup to work. However, it just syncs the directories on machine A with those on B. If B has a later version of the file on A it gets overwritten with the older version from A. I have done a fair bit of reading on rsync which leads me to believe that it will only work one way. Is this correct? If so, is there any other way of synchronising the 2 directories so that they end up with the latest version of the file(s) from either machine. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: device_polling
dick hoogendijk writes: I build a kernel with devoce_polling and hz=1000 and experimented a bit. Using netstat -w 1 I see a drop in performance. In/output is about 20% higher if polling is disabled. That was not what I expexted. I really thought polling would be better. I use cheap rl (realtec 8139) cards. How fast is the processor on your system? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rsync Setup
Robert Slade wrote: Hi, I'm trying to get my brain around rsync. What I am trying to do is synchronise 2 directories on different machines. I have an rsync server running on one machine and running it as a client on the other. I have been able to get this setup to work. However, it just syncs the directories on machine A with those on B. If B has a later version of the file on A it gets overwritten with the older version from A. I have done a fair bit of reading on rsync which leads me to believe that it will only work one way. Is this correct? If so, is there any other way of synchronising the 2 directories so that they end up with the latest version of the file(s) from either machine. you can only do one way at a time, so what you need to do is: rsync options machine_A:/pathA machine_B:/pathB rsync options machine_B:/pathB machine_A:/pathA Then what you need is to find the correct options so that the first rsync does not overwrite files that should have been synced the other way. options -u and -t seems to do that. You can do this as a batch script on just one of the machines, so you don't get any race conditions. My options are -Cuvaz, but I only sync one way. You should be carefull: if clocks on the servers are out of sync, you may get syncing the wrong way! and you will have problems deleting files, this has to be done both places. If you instead can assing one machine as master and the other as slave, so you only sync one way, then you avoid all these problems. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rsync Setup
Robert Slade wrote: Hi, I'm trying to get my brain around rsync. What I am trying to do is synchronise 2 directories on different machines. I have an rsync server running on one machine and running it as a client on the other. I have been able to get this setup to work. However, it just syncs the directories on machine A with those on B. If B has a later version of the file on A it gets overwritten with the older version from A. I have done a fair bit of reading on rsync which leads me to believe that it will only work one way. Is this correct? If so, is there any other way of synchronising the 2 directories so that they end up with the latest version of the file(s) from either machine. You want the update -u option: rsync -auv from to rsync -auv to from ...as in: % mkdir from to % touch from/a % echo 'hi' to/a % touch to/b % echo 'bye' from/b % rsync -auv from to building file list ... done from/ from/a from/b sent 188 bytes received 60 bytes 496.00 bytes/sec total size is 4 speedup is 0.02 % rsync -auv to from building file list ... done to/ to/a to/b to/from/ to/from/a to/from/b sent 321 bytes received 100 bytes 842.00 bytes/sec total size is 7 speedup is 0.02 % cat to/a hi % cat to/b % cat from/a % cat from/b bye -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Webmin - ssh - 4.11
Hello: I just installed Webmin - great program. Q - the telnet/ssh portion does not seem to work properly. It opens an ssh window for me but the window is unresponsive. It is configured for ssh instead of telnet, and I have port 22 open on my router. I am able to ssh into my server using Putty from Windows so my sshd is working fine. Webmin says that it has opened a connection but then just presents me with an unresponsive cursor, no prompts for username or password (maybe Wemin took care of that?) no feedback or response to keystrokes. Has anyone used this feature of Webmin ? had similar problems? Resolved? Extra note - this webmin only seems to have config options up to 4.10 - and therefore I entered that as the version number (for 4.11) - not sure whether that would make a difference? Cheers, Graham/ Vancouver, Canada No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
just got DSL, can't surf or get mail
Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. Thanks /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Brian John scribbled these curious markings: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. Sounds like a DNS issue, considering that most P2P programs are IP-based and thus don't need to perform DNS lookups. Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7 bltB+Pyu2SbzyCtYxYSvI6I= =gG5y -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Formating a 1680k floppy
How do I format a 1680k floppy? I tried: %fdformat -s 2180 /dev/fd0 That just produces a line of errors. That is ... instead of I'm able to format the same floppy in Windows using WinImage. %uname -a FreeBSD odin.infinitebubble.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Mon Jan 3 21:48:36 PST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
Brian John writes: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Are you sure your ISP doesn't block any ports or force any traffic through proxy servers? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
On Sun, 3 Apr 2005 15:51:47 -0500 (CDT) Brian John [EMAIL PROTECTED] wrote: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. sounds like a DNS-issue, check your /etc/resolv.conf, if your ISP does not use DHCP then you have to fill /etc/resolv.conf yourself http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html section 11.10.2.1 tells you more ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2005-04-03, Brian John scribbled these curious markings: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. Sounds like a DNS issue, considering that most P2P programs are IP-based and thus don't need to perform DNS lookups. Best Regards, Christopher Nehren -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7 bltB+Pyu2SbzyCtYxYSvI6I= =gG5y -END PGP SIGNATURE- -- I abhor a system designed for the user, if that word is a coded pejorative meaning stupid and unsophisticated. -- Ken Thompson If you ask the wrong questions, you get answers like 42 and God. Unix is user friendly. However, it isn't idiot friendly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] How can I fix it if it's a DNS issue? Is there someplace I can set that up? /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
Brian John writes: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Are you sure your ISP doesn't block any ports or force any traffic through proxy servers? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't think so because it works fine in Windows. Wouldn't it not work in windows if that was the case? /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: device_polling
On Sun, 3 Apr 2005 22:28:19 +0200 Anthony Atkielski wrote: dick hoogendijk writes: I build a kernel with devoce_polling and hz=1000 and experimented a bit. Using netstat -w 1 I see a drop in performance. In/output is about 20% higher if polling is disabled. That was not what I expexted. I really thought polling would be better. I use cheap rl (realtec 8139) cards. How fast is the processor on your system? Not fast.. rather slow ;-) It's a duron-800 ; 512Mb memory Why? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to install a patch
I was given a patch to try out for a program, but am unsure as to how to apply it/install it -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Formating a 1680k floppy
Jason Taylor wrote: How do I format a 1680k floppy? I tried: %fdformat -s 2180 /dev/fd0 That just produces a line of errors. That is ... instead of I'm able to format the same floppy in Windows using WinImage. Are you sure you don't mean 1720k? Look at /etc/disktab for stressing a floppy. -- Cheers, Kevin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adding a default route for a specific NIC
I have a FreeBSD 4.11 server with two NICs -- one has a real IP (bge0) and the other has an internal IP (bge1, 192.168.42.6). The default route for the server (defaultrouter= in rc.conf) is the gateway for the real IP. How can I set a route such that traffic going out on bge1 goes through a different router, even if it's to the outside world? Basically, I have a jailed setup running with a private IP address. On the private network, there is a gateway machine that's setup to NAT the traffic out to the internet. Currently, I cannot get out to the internet from the jail unless I set the default route of the entire server to be my internal NAT gateway. Any ideas? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
looking for jail tutorial
Hello, Running 5.3-p6 on a box with two NICs. I'm new to the list and FreeBSD in general. I'm trying to find more documentation on jail(8) than is offered in the man page. (I checked the Handbook but couldn't find anything about jails. Did I miss it?) For instance, the man page says: NOTE: It is important that only appropriate device nodes in devfs be exposed to a jail; access to disk devices in the jail may permit processes in the jail to bypass the jail sandboxing by modifying files outside of the jail. How do I know what the appropriate device nodes are for a given jail? I want to run four jails: two webservers, DNS, mail. After testing, the DNS and email jails will be shutdown and the services moved to separate machines. Also, do I configure identical Hosts files on each? Should the jails be on different subnets for added security or can they all be on the same subnet as the host machine? Any help you can give would be appreciated! Thanx, Bill The word 'politics' describes the situation so well: 'poli' meaning 'many' and 'tics' meaning 'bloodsucking creatures'. __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to restrict lpd
Hello, I am setting up some jails and have limited all the host daemons to the host's IP except for lpd. I can't find a way of doing that. Can it be done? I know it can in LPRng, but I prefer to install as little software as possible on servers. Thanx, Bill The word 'politics' describes the situation so well: 'poli' meaning 'many' and 'tics' meaning 'bloodsucking creatures'. __ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: looking for jail tutorial
You should search this lists archives for answers first. In the list archives I found this. http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin http://jailnotes.cg.nu/ Does anyone have any bright ideas for good file system layouts when running multiple jails? I won't say they are bright, but the ideas reflected in this layout are working well for me: /jails/ Home for most jail related material. Note I do not backup /jails every night as I do other partitions. (I do backup /data every night and you'll see below how I make use of that in a jail.) /jails is its own partition so if it fills, it will not cause problems for the host system. /jails/{jail_X}/ The root for one specific jail. Of course if you have sets of jails, then /jails/jail_A/{cell_1,cell_2} and /jails/jail_B/{cell_10,cell_11} where cell_# is actually the root directory works well for keeping them well organized. /jails/etc/rc.d/ Startup scripts (e.g. jail_X.sh) for all jails. If you augment $local_startup in /etc/rc.conf to include /jails/etc/rc.d then all the jails will be started automatically. /jails/bin/ Jail management scripts. .../bin/JAIL_CTL.sh A generic start, stop, enter, trace, ps script. Each jail's startup script sets a bunch of environment variables and then calls JAIL_CTL. .../bin/jail_clone duplicates a jail. .../bin/jail_ps runs ps for all the processes in a specific jail. /jails/var/trace/ Home for kdump traces of jail execution. /jails/template/ A reference jail that I can clone in a few minutes time. Much easier then running (make world) every time I need a new jail. /data/jails/{jail_X}/ If there is a /data/jails/{jail_X} present, then it is automatically mounted as /jails/{jail_X}/data when the jail is started. That way the /data directory in a jail can be treated separately then from the rest of the jail. One caveat if you do this. Multiple jails, each with their own uid space, will rapidly overlap in the host's uid space. To avoid this, my jail creation script hashes the jail's IP address to create a (relatively) unique starting point for that jail's uids. That starting uid is placed in the jail's /etc/adduser.conf as $uid_start. This minimizes the chances that uids will collide. /data/jails/{jail_X}/home/ Symlink to /data/home (in the jail of course). If /data/jails/{jail_X} is mounted on the jail's /data, then the home partition in the jail is actually coming from /data of the host and therefore will be backed up on a regular basis. /data/jails/{jail_X}/proc/ If it is present, then /proc is mounted on this directory when a jail is started and unmounted when it is stopped. How do I stop /var/log in one the jails from filling up the whole drive and affecting the rest without giving each jail it's own partition? Is it possible to some how set a quota on how large a particular directory can get? About all I can think of is to make a directory, and all its subordinate directories, owned by a specific user. You can then have per user quotas. For the specific example of /var/log, you'd have to set the user to be root_X. If you then set the user-ID-on-execution bit (see chmod(1) or chmod(2)) for /var/log so all new files and directories created under it would also be owned by root_X. I suspect you'd have to pre-populate your /var/log directory and chown everything to root_X. If you then change everything there to have world write permissions then root in the jail can update the files. Having world write access is a bad idea, but it's your trade-off to consider. managing passwd in a jailed env. Well i have the answer. just ran across the pw command, and looked it up. guess what i found. pw -V etcdir daoh! pw -V /usr/jail1/etc adduser bubba daoh, daoh!! pw -V /usr/jail1/etc usermod bubba -h 0 New password for user bubba: dd if=/dev/daoh of=/dev/stdout bs=1048576 count=1 so to some up, pw does everything i need to manage users in a jail, from outside of the jail. i knew there was something out there to do
Re: Adding a default route for a specific NIC
To follow-up, I basically want to say: if traffic originals from 192.168.42.6, use 192.168.42.3 as the default gatway else use default gateway for bge0... Patrick On Apr 3, 2005 4:17 PM, patrick [EMAIL PROTECTED] wrote: I have a FreeBSD 4.11 server with two NICs -- one has a real IP (bge0) and the other has an internal IP (bge1, 192.168.42.6). The default route for the server (defaultrouter= in rc.conf) is the gateway for the real IP. How can I set a route such that traffic going out on bge1 goes through a different router, even if it's to the outside world? Basically, I have a jailed setup running with a private IP address. On the private network, there is a gateway machine that's setup to NAT the traffic out to the internet. Currently, I cannot get out to the internet from the jail unless I set the default route of the entire server to be my internal NAT gateway. Any ideas? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: just got DSL, can't surf or get mail
I didn't use any config files for this. I never had to use any to get my cable modem to work either. What config files should I be looking at? /Brian - Original Message - Sounds to me as if you don't have your FreeBSD system configured correctly for DSL modem hookup. Post the config files you used to accomplish this. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian John Sent: Sunday, April 03, 2005 4:52 PM To: freebsd-questions@freebsd.org Subject: just got DSL, can't surf or get mail Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. Thanks /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Managing compact source tree
hi, i'm just upgrading my thinkpad to 5.3 RELEASE. when i use anything other than 'src-all' to update my sources via CVSUP, i get errors in the buildworld process. i can comment out games, kerberos and crypto packages and then pass -DNOGAMES, -DNO_KERBEROS AND -DNOCRYPTO to make buildworld, but the HDD on my laptop is very small and i want to have a distro that only takes up a couple of hundred MB. to do this, i want to remove a lot of the applications out of contrib (i essentially just use this laptop as a mobile terminal to ssh into my home computer from my home and university wireless networks). how can i set up my source tree so that when i cvsup i only get the source i am interested in? also, is it the Makefiles that i have to edit in order to stop make buildworld from trying to build non-existent source? thanks iain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding a default route for a specific NIC
And one more bit of info that might be helpful to know... The jail I've setup will serve sites on various IP addresses. Since FreeBSD jails by default only allow one IP, I've given the jail an internal IP, and am just forwarding the desired ports on the external IPs into the jail's IP using ipfw. This is all working fine, so the only thing left for me to solve is how to get things in my jail working so that I can make outbound TCP connections. Thanks again, Patrick On Apr 3, 2005 4:17 PM, patrick [EMAIL PROTECTED] wrote: I have a FreeBSD 4.11 server with two NICs -- one has a real IP (bge0) and the other has an internal IP (bge1, 192.168.42.6). The default route for the server (defaultrouter= in rc.conf) is the gateway for the real IP. How can I set a route such that traffic going out on bge1 goes through a different router, even if it's to the outside world? Basically, I have a jailed setup running with a private IP address. On the private network, there is a gateway machine that's setup to NAT the traffic out to the internet. Currently, I cannot get out to the internet from the jail unless I set the default route of the entire server to be my internal NAT gateway. Any ideas? Thanks, Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: RE: looking for jail tutorial
--- [EMAIL PROTECTED] wrote: You should search this lists archives for answers first. In the list archives I found this. http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin http://jailnotes.cg.nu/ Does anyone have any bright ideas for good file system layouts when running multiple jails? snip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bill Ding Sent: Sunday, April 03, 2005 7:23 PM To: freebsd-questions@freebsd.org Subject: looking for jail tutorial Hello, Running 5.3-p6 on a box with two NICs. I'm new to the list and FreeBSD in general. I'm trying to find more documentation on jail(8) than is offered in the man page. (I checked the Handbook but couldn't find anything about jails. Did I miss it?) For instance, the man page says: NOTE: It is important that only appropriate device nodes in devfs be exposed to a jail; access to disk devices in the jail may permit processes in the jail to bypass the jail sandboxing by modifying files outside of the jail. How do I know what the appropriate device nodes are for a given jail? I want to run four jails: two webservers, DNS, mail. After testing, the DNS and email jails will be shutdown and the services moved to separate machines. Also, do I configure identical Hosts files on each? Should the jails be on different subnets for added security or can they all be on the same subnet as the host machine? Any help you can give would be appreciated! Thanx, Bill Thanks for the response. I tried looking through the mail archives but the hits either more or less repeat the man page or deal with unrelated questions (or have nothing to do with jails at all). Also, I had already gone to both those sites, and neither answered my questions. Regards, Bill The word 'politics' describes the situation so well: 'poli' meaning 'many' and 'tics' meaning 'bloodsucking creatures'. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfilter.log
Hi guys, I've been following this guide: http://www.unixguide.net/freebsd/fbsd_installguide/index.php So far I have gotten the firewall/router to work. Everything seems to be okay, except I do not see anything being logged in ipfilter.log. My rc.conf options are: moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-m 2=3 allscreens_flags=-m on -c blink -h 200 clear_tmp_enable=YES hostname=gateway.fbsdbuds.com saver=logo ifconfig_rl0=DHCP ipfilter_enable=YES ipfilter_rules=/etc/ipf.rules ipmon_enable=YES ipmon_flags=-Ds ipnat_enable=YES ipnat_rules=/etc/ipnat.rules ifconfig_rl1=inet 10.0.10.2 netmask 255.255.255.248 gateway_enable=YES I am using ipf.rules and ipnat.rules. I created ipfilter.log in /var/log/ and I added this line to syslog.conf: Local0.* /var/log/ipfilter.log and I added the following line to newsyslog.conf for rotating the log. /var/log/ipfilter.log 600 5 100 $M1D0 J I was wondering if anyone could tell me why I do not get anything in my ipfilter.log. Thanks fewjr/Buddy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Managing compact source tree
On Mon, Apr 04, 2005 at 10:44:47AM +, Iain Dooley wrote: hi, i'm just upgrading my thinkpad to 5.3 RELEASE. when i use anything other than 'src-all' to update my sources via CVSUP, i get errors in the buildworld process. Correct. how can i set up my source tree so that when i cvsup i only get the source i am interested in? That's not supported. Kris pgpqRBhJCGWvW.pgp Description: PGP signature
Re: ipfilter.log
On Sun, Apr 03, 2005 at 09:29:13PM -0400, Francis Whittington wrote: I am using ipf.rules and ipnat.rules. I created ipfilter.log in /var/log/ and I added this line to syslog.conf: Local0.* /var/log/ipfilter.log and I added the following line to newsyslog.conf for rotating the log. /var/log/ipfilter.log 600 5 100 $M1D0 J I was wondering if anyone could tell me why I do not get anything in my ipfilter.log. I asked the same thing about a month ago with no answer. What I ended up doing was putting this in /etc/rc.conf: ipmon_flags=-Dvn /var/log/firewall ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
[EMAIL PROTECTED] wrote: On Sun, 3 Apr 2005 15:51:47 -0500 (CDT) Brian John [EMAIL PROTECTED] wrote: Hello, I just got an xDSL system. In Windows I can browse the internet and do whatever I want just fine. However, in FreeBSD the only things that work are my p2p programs. Azureus and amule work fine, they both connect and download. However, when I try to use dillo, Firefox or Thunderbird they always timeout when trying to access the net. Does anyone have any idea what I can do to fix this? I had cable internet before and it worked fine. The DSL modem is hooked up to the computer through Ethernet. sounds like a DNS-issue, check your /etc/resolv.conf, if your ISP does not use DHCP then you have to fill /etc/resolv.conf yourself http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html section 11.10.2.1 tells you more Ok, I think you may have pointed me to the source of the problem. Here is what my resolv.conf looks like after every time I reboot my compuer: search domain.actdsltmp nameserver 192.168.0.1 nameserver 205.171.3.65 Now, if I change it to this (using my secondary DNS server from my DSL modem's 'setup' page): search domain.actdsltmp nameserver 205.171.2.65 ...everything works. Is there a way that I could keep this from changing every time that I reboot my computer? Thanks for the help! /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help with pf
Hello, I read the manpage on pf and constructed a basic set of rules and macros. However, when I start pf it gives me errors about the syntax of my file. Basically all I want to accomplish is I don't want my p2p programs to be able to hog the traffic away from me if I'm trying to surf. When I'm not surfing I want them to be able to download as fast as possible. Here is what I have added to pf.conf: ext_if=vr0 further down altq on $ext_if priq queue mail priority 13 queue ssh priority 12 queue web priority 14 further down pass in proto tcp from any to port http keep state queue web pass in proto tcp from any to port ssh keep state queue ssh pass in proto tcp from any to port {smtp imap} queue mail Does anyone know what I might have done wrong? I thought that I had it correct based on the manpage. I'm sure it's something really stupid that I missed. Thanks in advance for the help /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Freebsd Install Guide Available
On Sun, 3 Apr 2005 [EMAIL PROTECTED] wrote: YES there is something major wrong with the official handbook. [snip] The FreeBSD Install Guide is mirrored at the following sites. http://freebsd.easyasthat.co.uk/ http://www.unixguide.net/freebsd/fbsd_installguide/index.php http://freebsd.packards-home.net/index.php www.a1poweruser.com http://freebsdinfo.org/ http://freebsd.a1poweruser.com:6088/ http://freebsd.95mb.com/ Since all of these URLs (those which respond, at least) go to essentially the same content, I have a few questions: 1) Who wrote this? 1a) Could it be Joseph Barbish? 2) Regardless, could the author be persuaded to contribute his/her wisdom to the official documentation, rather than verbally trash the latter? Persipiring minds want to know. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: help with pf
Brian John wrote: However, when I start pf it gives me errors about the syntax of my file. Read http://www.openbsd.org/faq/pf/queueing.html. There are good examples. Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X on a server Re: Freebsd vs. linux
On Sun, Feb 13, 2005 at 09:53:12AM +0100, Anthony Atkielski wrote: Chad Leigh -- Shire.Net LLC writes: You can install the X libraries and client apps on your server -- this works fine at secure level 3 and does not require kernel configurations changes or special daemons or anything. What it allows you to do is then link software against the X libraries and then redirect the display to your workstations X server. This meets your criteria and can be handy for certain things. Your apps still run in userland only and there is no HW touching stuff. You are not running the X Server on your FBSD Server machine. I'll consider it, although it still sounds complicated. What do I gain from X that I don't already have with remote terminal sessions like those created with SecureCRT? I know it looks pretty, but what server-related things can I do with X that I cannot do with ordinary terminals? I'm not aware of anything right now; it seems that everything can be done from a command line (thank goodness--working with Windows is a nightmare precisely _because_ so many things cannot be done from a command line). Ethereal vs. tcpdump. This is the biggest reason why I have X libraries on my firewall. I don't actually run an X server on it or even have a screen on it, but I forward X11 over ssh to the client I'm working on. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 pgprC4BusCk5Q.pgp Description: PGP signature
RE: ipfilter.log
The answer is very simple. The integration of the open source ipfilter firewall into FreeBSD has changed between the 4.x releases and the 5.3 release just made available. If you change the syslog.conf: Local0.* /var/log/ipfilter.log which is how 4.10 4.11 work To security.*/var/log/ipfilter.logfor 5.3 then every thing will work as documented. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francis Whittington Sent: Sunday, April 03, 2005 9:29 PM To: freebsd-questions@freebsd.org Subject: ipfilter.log Hi guys, I've been following this guide: http://www.unixguide.net/freebsd/fbsd_installguide/index.php So far I have gotten the firewall/router to work. Everything seems to be okay, except I do not see anything being logged in ipfilter.log. My rc.conf options are: moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-m 2=3 allscreens_flags=-m on -c blink -h 200 clear_tmp_enable=YES hostname=gateway.fbsdbuds.com saver=logo ifconfig_rl0=DHCP ipfilter_enable=YES ipfilter_rules=/etc/ipf.rules ipmon_enable=YES ipmon_flags=-Ds ipnat_enable=YES ipnat_rules=/etc/ipnat.rules ifconfig_rl1=inet 10.0.10.2 netmask 255.255.255.248 gateway_enable=YES I am using ipf.rules and ipnat.rules. I created ipfilter.log in /var/log/ and I added this line to syslog.conf: Local0.* /var/log/ipfilter.log and I added the following line to newsyslog.conf for rotating the log. /var/log/ipfilter.log 600 5 100 $M1D0 J I was wondering if anyone could tell me why I do not get anything in my ipfilter.log. Thanks fewjr/Buddy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFILTER and NFS
Erik, I already have that :-( ---snip--- # Default pass out pass out quick on em0 all keep state # Fragmented/Short/Opts/Fprinting packets block in quick on em0 all with ipopts block in quick on em0 all with frag block in quick on em0 proto tcp all with short block in quick on em0 proto tcp all flags FUP # Block local nets block in quick on em0 from 255.255.255.255/32 to any block in quick on em0 from 192.168.0.0/16 to any block in quick on em0 from 172.16.0.0/12 to any block in quick on em0 from 127.0.0.0/8 to any block in quick on em0 from 10.0.0.0/8 to any block in quick on em0 from 0.0.0.0/32 to any ---snip--- Erik Nrgaard wrote: Matt Juszczak wrote: I dont have access to the nfs server... only the client. Your configuration info showed me making changes on the server. is there a way to make the client work ok? Just let your client connect to any port on the server - keep state so you can block incoming connections: pass out quick on interface proto tcp from client/32 \ to nfs-server/32 flags S keep state pass out quick on interface proto udp from client/32 \ to nfs-server/32 keep state Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
exec make buildworld
Is it possible to do a ssh conection then do exec make buildworld on the remote system close the conection and do a conection again later and get the output from make buildworld again ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
Brian John writes: Now, if I change it to this (using my secondary DNS server from my DSL modem's 'setup' page): search domain.actdsltmp nameserver 205.171.2.65 ...everything works. Is there a way that I could keep this from changing every time that I reboot my computer? One you've changed resolv.conf, it should stay that way permanently across boots, unless you change it again. Open a command window in Windows and type ipconfig -all. There should be a list of DNS servers somewhere in the output. Put that same list in your resolv.conf file. Alternately, if your ISP has given you a list of one or more DNS servers to use, put those in the resolv.conf file (usually these will both be the same). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: just got DSL, can't surf or get mail
Brian John writes: I don't think so because it works fine in Windows. Wouldn't it not work in windows if that was the case? I understood that you had changed ISP connections also. If you're using the same connection that Windows used, then it's not the ISP. Based on your other posts, it sounds like it was just a simple DNS problem. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: exec make buildworld
On Apr 4, 2005 6:07 AM, Gert Cuykens [EMAIL PROTECTED] wrote: Is it possible to do a ssh conection then do exec make buildworld on the remote system close the conection and do a conection again later and get the output from make buildworld again ? Doh i forgot the important part again, without using screen :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installkernel error
=== usr.bin/bluetooth === usr.bin/bluetooth/bthost install -s -o root -g wheel -m 555 bthost /usr/bin install -o root -g wheel -m 444 bthost.1.gz /usr/share/man/man1 === usr.bin/bluetooth/btsockstat install -s -o root -g kmem -m 2555 btsockstat /usr/bin install: kmem: Invalid argument *** Error code 67 Stop in /usr/src/usr.bin/bluetooth/btsockstat. *** Error code 1 Stop in /usr/src/usr.bin/bluetooth. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. TB-14R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]