Re: Setting up a FreeBSD gateway
Thanks for the information! I'm getting ready to set up BIND for the first time and this will be very useful. Teo On 1/4/06, Reko Turja [EMAIL PROTECTED] wrote: - Original Message - From: Brian Bobowski [EMAIL PROTECTED] To: FreeBSD User Questions List freebsd-questions@freebsd.org Sent: Wednesday, January 04, 2006 7:44 PM Subject: Setting up a FreeBSD gateway However, I don't know how to set up DNS. Specifically, I want to either pass all DNS requests through the gateway, or have the gateway run a local DNS that queries my ISP's DNS in turn. Can anyone point me to some steps on how to set that up? If you're going to use BIND (which I recommend and which is included in the system) check at least the following parameters in named.conf: listen-on - set this to your internal IP forwarders - if you dont want to fetch every single record from the official DNS's and want to utilize your providers DNS cache, set this variable to point on your ISP's DNS servers. forward-only as you're going to have your own domain records set up be sure this is commented out. Basically BIND with this kind of configuration will forward queries to master or forwarder servers unless it has the master record itself or there is cached record, which is still valid. defining the localhost: If the machine names are set up right in your fbsd installation, easiest is to use the make-localhost in the /etc/namedb directory. Then you forward zone file for your domain as well as reverse zones for the ip-ranges in use. My files are: master/mydomain.org file: $TTL 3600 @ IN SOA xxx.xxx.org. root.xxx.org. ( ; we define authority as well as the base domain (first xxx.org and ; the administrative contact - as bind has other uses for . the mail ; address is notes with dot between domain and username. 2005111301 ;serial ; good idea is to use the shown date notation, and ALWAYS bump the serial whatever ;you do to the zone files) 86400 ;refresh 24h 7200;retry 2h 192200 ;expire 2d 86400) ;minimum 24h IN NS moria.endor.swagman.org. ; we define name servers for the zone only one is usually needed for private dns use. IN MX 5 moria.endor.swagman.org. ; I define mail handler server just in case... moria IN A 192.168.10.1 rivendell IN A 192.168.10.10 lorien IN A 192.168.10.11 muppet IN A 192.168.10.20 ;and then add my workstations As the main forward zone is now set up, we need the reverse zones as well. My reverse zone for above setup is (master/rev.mydomain.org): $TTL 1d @ IN SOA xxx.xxx.org. root.swagman.org. ( 2005111301 ;serial 1d ;refresh 2h ;retry 20d ;expire 2h );neg cache IN NS moria.endor.swagman.org. 1 IN PTR moria.endor.swagman.org. 10 IN PTR rivendell.endor.swagman.org. 11 IN PTR lorien.endor.swagman.org. 20 IN PTR muppet.endor.swagman.org. With BIND the dots after the names are important, otherwise the names end up as name.my.domain.my.domain which usually isn't what you want :) After the zones are set up you can add them to named.conf as follows: zone xxx.xxx.org { type master; file master/mydomain.org; }; zone 10.168.192.in-addr.arpa { type master; file master/rev.mydomain.org; }; In the above note the naming of reverse zone. To get correct resolution of reverse names you need to name your zone with similar formatting. Hope this helps a bit (although I recommend getting Bind handbook 8available from ISC as pdf, or some of the basic BSD books like Greg Lehey's, Or Michael Lucas's books on Freebsd - both have a good chapter on DNS setup with BIND. Of course nothing beats the O'Reilly Cricket book.) -Reko ___ 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: Setting up a FreeBSD gateway
By design dns servers will perform recursive queries through the root servers for all domains; unless you're hosting the zone then it considers itself authoritive. So you can set up a dns server for your network, or use a public one. Teo On 1/4/06, Brian Bobowski [EMAIL PROTECTED] wrote: OK, I've tried searching through man pages and such, but I've got kind of lost here. I have one machine that's acting as a gateway for my home PC, in addition to running a few local servers. I know I shouldn't do that, but the traffic is low and I just don't have room for more computers in my room, anyway. At any rate... I think I've got the packet-forwarding aspect set up OK; I compiled a kernel with the options I found in the docs on the matter. However, I don't know how to set up DNS. Specifically, I want to either pass all DNS requests through the gateway, or have the gateway run a local DNS that queries my ISP's DNS in turn. Can anyone point me to some steps on how to set that up? A bit of user-friendly instruction on using ipfw would be nice, too; I think I'd be able to figure it out in time, but if someone can spare a few moments to point out where I can find instructions on e.g. passing traffic on certain ports through to the other machine, handling others, and blocking the rest, it'd be appreciated. It's specifically the forwarding part that has me a bit mystified. Please reply off-list. TIA, -BB ___ 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]
Unable to boot to internal or serial console
I read through serial communication section in the FreeBSD handbook this morning. I was able to configure the serial on one of my machines through the following steps: 1. Edit /etc/ttys a. ttyd0 ttyd0 /usr/libexec/getty std.9600 vt100 on insecure 2. Edit /boot/loader.rc b. In the very first line add set console=comconsole After doing this on the second machine and rebooting, I am not able to get to the serial console, video console, or SSH. There are not errors on the screen, just a blinking curser after FreeBSD/i386 bootstrap loader, Revision 1.1 How can I get back into the system? Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to boot to internal or serial console
I read through serial communication section in the FreeBSD handbook this morning. I was able to configure the serial on one of my machines through the following steps: 1. Edit /etc/ttys a. ttyd0 ttyd0 /usr/libexec/getty std.9600 vt100 on insecure 2. Edit /boot/loader.rc b. In the very first line add set console=comconsole After doing this on the second machine and rebooting, I am not able to get to the serial console, video console, or SSH. There are not errors on the screen, just a blinking curser after FreeBSD/i386 bootstrap loader, Revision 1.1 How can I get back into the system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Start X hangs the computer
Have you installed the GeForce drivers? If not, you'll need to get them from the nvidia site and install them. They also just release a new utility that will adjust your xorg.conf file so that it's setup correctly to work with the Nvidia card. I believe the utility is called nvidia-xconfig. http://download.nvidia.com/freebsd/1.0-8178/README/index.html Teo On 12/24/05, Javier Matos [EMAIL PROTECTED] wrote: Hello, I was searching about my problem in a lot off forums but I don´t find a solution... . I Install FreeBSD 6.0 in my box (I have 2 boxes and FreeBSD was installed in both). The first one work fine with all the configuration that I make but the second (boxes are different) have problems because I can start startx, xdm and kdm and it show the screen for a while with the correct resolution but then the screen freeze and after some seconds the box restart... . I can´t find any reason for this behaviour because log files seems to show that all is working. I follow the same steeps with two boxes but only one can run X. The box who crashes is a P5GD1_PRO (Intel 915P chipset), my graphic card is a GeForce FX 6200 (PCI-Express). Anyone have any idea about the what is the problem? ___ 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: Quick, simple backup solution
Lowell, Great Site!! Thanks... http://be-well.ilk.org/~lowell/systuff On 23 Dec 2005 15:29:41 -0500, Lowell Gilbert [EMAIL PROTECTED] wrote: Joe Wood [EMAIL PROTECTED] writes: I am looking for a quick backup solution for my freebsd machine. Currently I backup to a DDS-4 DAT drive using the following while in /: tar -cf /dev/sa0 -I /root/includes -X /root/excludes . I am aware of bacula, Amanda, cpio, and dump but to me tar is the ideal method so if anyone had a simple script to automate this process I would greatly appreciate some help in making my own. Since we have no idea *why* you consider tar ideal, we can't really tell what would help your particular needs. On my page of FreeBSD tricks (http://be-well.ilk.org/~lowell/systuff/), I have a brief essay on what to consider when designing a backup strategy (http://be-well.ilk.org/~lowell/systuff/backup-strategy.txt), as well as some script I use for backups via both tar and dump (http://be-well.ilk.org/~lowell/systuff/scripts/systemTarBackup and http://be-well.ilk.org/~lowell/systuff/scripts/systemDumpBackup). Make what you can out of these hints. Be well. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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]
What is the M in tar Mcvf
I looked through the man pages and online, but I can't find information on what the M is for in 'tar Mcvf'. I constantly see this as a way to archive / backup files. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDE How To ?
on a similar note, is it possible to create scripts that run after a user logs in. I'm setting up freeBSD as my home PC and I don't like to go right into KDE. However, I'd like startX to run when my wife logs in. Teo On 12/21/05, deej [EMAIL PROTECTED] wrote: Boot the bugger up and just type kdm. Works for me on a new install, no hacking required. Seasons Greetings, Deej ___ 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: KDE application menu blank
There is a menu update tool in the FreeBSD menu system. It will scan your system for new programs and prompt you to check off the ones you want to add to the menu. Teo On 12/21/05, Tim Goodaire [EMAIL PROTECTED] wrote: Hello, I'm running FreeBSD 6.0, and I'm having a problem with kde 3.4. The application menu is blank. The applications are installed, it's just that KDE doesn't seem to know that they're there. I've tried googling for an answer to this, and searching bug reports but haven't found anything relevant. I imagine that the solution is something like run command X to rebuild the menus, but I don't know what X is. Any pointers would be much appreciated. Tim ___ 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]
Unable to upgrade kdenetwork using portupgrade
I'm running FreeBSD 5.4 on my dektop with X.org http://X.org and KDE 3.4. I'm synchronizing my ports tree using cvsup. When I run the following command portupgrade -rR kdenetwork It fails because it is unable to upgrade the kdelibs. The error messages says to run -F to force. What is the consequence? Would it be simpler to run portupgrade -rR kde? Thanks, Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setting up X -- under VMWare?
Let us know the steps you go through...I'm interested in doing this as well. Teo On 10/24/05, N.J. Thomas [EMAIL PROTECTED] wrote: * pete wright [EMAIL PROTECTED] [2005-10-24 10:25:46 -0700]: On 10/24/05, dick hoogendijk [EMAIL PROTECTED] wrote: What monitor/video card parameters should I supply for XFree86-4 configuration? That of my real monitor/video card or some virtual VMWare one? What I always do is run a knoppix live CD under vmware. The generated Xorg.conf is absolutely great. err except that I think the default X server for 4.x is still XF86 not x.org http://x.org That's fine...we can figure the X.org http://X.org to XF86 translation if it works correctly. Trying it now... Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ 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: How do I name my network interface?
I have a similar problem with a DFI LanParty Ultra-D with two gigabit on-board NIC's. I DONT see any 'ethernet' subclass devices listed other than the one I have working. Is it simply not supported by the Kernel? The machine in question is dual-booting (with windows), so I can see that the driver for the card that isn't working is NVIDIA. Motherboards website: http://www.dfi.com.tw/Product/xx_product_spec_details_r_us.jsp?PRODUCT_ID=3471CATEGORY_TYPE=LPSITE=US pciconf -lv output [EMAIL PROTECTED]:0:0: class=0x058000 card=0x chip=0x005e10de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = memory [EMAIL PROTECTED]:1:0: class=0x060100 card=0xcb8410de chip=0x005010de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-ISA [EMAIL PROTECTED]:1:1: class=0x0c0500 card=0xcb8410de chip=0x005210de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' class = serial bus subclass = SMBus [EMAIL PROTECTED]:2:0: class=0x0c0310 card=0xcb8410de chip=0x005a10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' class = serial bus subclass = USB [EMAIL PROTECTED]:2:1: class=0x0c0320 card=0xcb8410de chip=0x005b10de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = serial bus subclass = USB [EMAIL PROTECTED]:4:0: class=0x040100 card=0xcb8410de chip=0x005910de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' class = multimedia subclass = audio [EMAIL PROTECTED]:6:0: class=0x01018a card=0xcb8410de chip=0x005310de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' class = mass storage subclass = ATA [EMAIL PROTECTED]:7:0: class=0x010185 card=0xcb8410de chip=0x005410de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = mass storage subclass = ATA [EMAIL PROTECTED]:8:0: class=0x010185 card=0xcb8410de chip=0x005510de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = mass storage subclass = ATA [EMAIL PROTECTED]:9:0: class=0x060401 card=0x chip=0x005c10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI [EMAIL PROTECTED]:10:0: class=0x068000 card=0xcb8410de chip=0x005710de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' class = bridge [EMAIL PROTECTED]:11:0: class=0x060400 card=0x0040 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI [EMAIL PROTECTED]:12:0: class=0x060400 card=0x0040 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI [EMAIL PROTECTED]:13:0: class=0x060400 card=0x0040 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI [EMAIL PROTECTED]:14:0: class=0x060400 card=0x0040 chip=0x005d10de rev=0xa3 hdr=0x01 vendor = 'NVIDIA Corporation' class = bridge subclass = PCI-PCI [EMAIL PROTECTED]:24:0: class=0x06 card=0x chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI [EMAIL PROTECTED]:24:1: class=0x06 card=0x chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI [EMAIL PROTECTED]:24:2: class=0x06 card=0x chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI [EMAIL PROTECTED]:24:3: class=0x06 card=0x chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI [EMAIL PROTECTED]:9:0: class=0x0c0010 card=0x100615bd chip=0x30441106 rev=0x80 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller' class = serial bus subclass = FireWire [EMAIL PROTECTED]:10:0: class=0x02 card=0x100a15bd chip=0x432011ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001 Gigabit 32-bit Ethernet Controller with Integrated PHY' class = network subclass = ethernet [EMAIL PROTECTED]:0:0: class=0x03 card=0x chip=0x014010de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' class = display subclass = VGA On 10/23/05, Roland Smith [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005 at 10:52:39PM +0200, Andreas Davour wrote: The none only means it's not bound to a driver. You might try the vr(4) driver, although the 6102 is not mentioned in vr(4). Ok, then none makes more sense. It read about the vr driver and it worked! How did you know the vr(4) driver was for Rhine I/II/III controllers? It feels like there's something I have missed... By using this command: grep Rhine /usr/src/sys/i386/conf/GENERIC, which returned: device vr # VIA Rhine, Rhine II. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt
startX slow to execute - X Windows system takes 10 minutes to load
When I run startX it takes about 10 minutes for Xorg to begin. Changes have been made to the system, but I don't know how to identify who the culprit might be. Here's what I did before this started happening 2. Installed firefox using pkg_add 3. Unable to see firefox in KDE so reinstalled firefox using /usr/ports/www/firefox/ - make install clean 4. Found out about the KDE menu update tool and ran that 5. Updated my ports tree using cvsup and portsdb -Uu 6. Problem starting hapenning after the subsequent reboot. I have deinstalled and installed Firefox and the problem still occurs. I don't see any errors in Xorg.0.log or Xorg.8.log. My xorg.conf.new file works well, and has been working for a few months now (no changes to it since I got OpenGL working). I don't know where else to look. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installed Firefox on KDE 3.4 / FreeBSD 5.4
I installed Firefox on KDE 3.4 / FreeBSD 5.4 but I don't see the icon in any of the menus. I can probably search for it and find it, but how do I add it as a menu selection? Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended partitioning
Based on recommendations here is how I'm going to partition the two FreeBSD servers that I'm installing in my lab. mail, print, web, and file server Part Size / 200M /usr 15G - Ports live in usr /tmp 256M (swap) 2G - paging file /var 10G - print spool, db files, other log files?? /var/mail 10G - for all mail files and easy backup /www 5G - Web server - I'm going to have a lot of content /home 50G - for all user files *The rest of the space I'll leave unused in case I need to grow a partition Firewall/Router Part Size / 200M /tmp 256M /usr 7G swap 512M /var 2G On 10/16/05, John Oxley [EMAIL PROTECTED] wrote: On Sat, Oct 15, 2005 at 05:01:01PM -0400, Teo De Las Heras wrote: Part Size / 10G - for both the / and /usr files (swap) 2G /var 10G - Web server, print spool, other log files?? /var/mail 10G - for all mail files and easy backup /home 50G - for all user files /home/teo 40G - For my files and easy backup *The rest of the space I'll leave unused in case I need to grow a partition I'm new to FreeBSD/*Nix so all criticism is welcome. Teo Keep / small, around 200MB, and split user from this. You'll understand why as soon as something nasty happens while you're writing to /usr and the machine falls over. You can still boot because / is mainly static. put 10-20 gigs in usr. When you build ports, they use space in /usr (by default. You can change this) which is why I say 20 gigs. 256M in /tmp is fine /var you want to be quite big if you're running a production server or a mysql box, because db files and logs and mail etc. go to /var by default. I find it easier to make /var big than create symlinks or modify where things go. Splitting /var and /var/mail is a good idea because if /var fills up with logs then you'll still receive mail. For the same reason its a good idea to make /var/db/mysql separate as well. The problem you run into there is say you've put 10 gigs for each and you have 3 gigs of logs, 5 gigs of mail and need 12 gigs for your database, then you loose the flexibility. I put my web pages in /usr/local/www/virtual/ so that comes under /usr. You may want to put 90 gigs straight into /home and then setup quota's so your users don't use up your disk space. My 2 cents. -John -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com http://yoafrica.com Tel: +263 4 858404 echo '9k[l:l;ss=0lx]s[1+ldd*l=d*-l;+dsrl=2**l:+ds=d*rd*+4-d15] s[q]s-[d77/3*2-s;47lx-P1+d78`]s`0[d23/.5-3*s:0l`xr10P1+d24$]ds$x'|dc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su - does not ask for password
That's exactly why I just assumed that I had set a password for root...I didn't think it was possible to not have a password set. Teo On 10/15/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/15/05, Teo De Las Heras [EMAIL PROTECTED] wrote: That worked! I thought I remembered giving root a password!? So, if you don't have a password set, one is not asked for? Teo Quite so. You should never ever leave root password blank. In fact, FreeBSD as an OS and many programs try to be secure and deny root access (in some ways) if there's no password. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Feeback on partitioning
I'm getting ready to set up a single system as a mail, print, web, and file server. I may be installing other applications but nothing as intense as Xorg. If at all, I'll probably just install some network monitoring tools. I'm placing all of these roles on a single system because it is only for my lab. I have a 160 GB to use and I'm thinking about laying out the partitions as follows: Part Size / 10G - for both the / and /usr files (swap) 2G /var 10G - Web server, print spool, other log files?? /var/mail 10G - for all mail files and easy backup /home 50G - for all user files /home/teo 40G - For my files and easy backup *The rest of the space I'll leave unused in case I need to grow a partition I'm new to FreeBSD/*Nix so all criticism is welcome. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recommended partitioning
-- Forwarded message -- From: Teo De Las Heras [EMAIL PROTECTED] Date: Oct 15, 2005 4:11 PM Subject: Feeback on partitioning To: freebsd-questions@freebsd.org I'm getting ready to set up a single system as a mail, print, web, and file server. I may be installing other applications but nothing as intense as Xorg. If at all, I'll probably just install some network monitoring tools. I'm placing all of these roles on a single system because it is only for my lab. I have a 160 GB to use and I'm thinking about laying out the partitions as follows: Part Size / 10G - for both the / and /usr files (swap) 2G /var 10G - Web server, print spool, other log files?? /var/mail 10G - for all mail files and easy backup /home 50G - for all user files /home/teo 40G - For my files and easy backup *The rest of the space I'll leave unused in case I need to grow a partition I'm new to FreeBSD/*Nix so all criticism is welcome. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
test
test ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended partitioning
Some of my reading in books and online does suggest straying from the default when configuring mail and web servers (for example). I do understand the importance of following standards, and that's why I'm asking for feedback from this list. Teo On 10/15/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/16/05, Teo De Las Heras [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Teo De Las Heras [EMAIL PROTECTED] Date: Oct 15, 2005 4:11 PM Subject: Feeback on partitioning To: freebsd-questions@freebsd.org I'm getting ready to set up a single system as a mail, print, web, and file server. I may be installing other applications but nothing as intense as Xorg. If at all, I'll probably just install some network monitoring tools. I'm placing all of these roles on a single system because it is only for my lab. I have a 160 GB to use and I'm thinking about laying out the partitions as follows: Part Size / 10G - for both the / and /usr files (swap) 2G /var 10G - Web server, print spool, other log files?? /var/mail 10G - for all mail files and easy backup /home 50G - for all user files /home/teo 40G - For my files and easy backup *The rest of the space I'll leave unused in case I need to grow a partition I'm new to FreeBSD/*Nix so all criticism is welcome. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] FreeBSD is flexible enough to handle any directory layout you like. No matter what background you come from, you can always turn a few knobs - and make yourself at home. But if you want to stay with FreeBSD for some time, if you want to know it better, it's best to accept the installer's defaults - and get used to them then. Minimum /, small /var and /tmp, huge /usr - where all huge things are meant to be, including web content, home dirs and even huge logs and huge temporary files. The talk is that hier and partitioning might need some brushing up, but for now, if you stick to it, you'll find it hard to run into real trouble when you're left with no solution other than repartitioning your whole disk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
su - does not ask for password
I've added myself to the wheel group and can successfully su - into root. I'm wondering though, where I make the configuration to ask for a password when su - is called. Teo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: How to get a high resolution console for FreeBSD inside a VMWare image?
-- Forwarded message -- From: Teo De Las Heras [EMAIL PROTECTED] Date: Oct 14, 2005 1:38 PM Subject: Re: How to get a high resolution console for FreeBSD inside a VMWare image? To: Jared Evans [EMAIL PROTECTED] yeah...you'll need to install the vmware tools for FreeBSD. Here's the link: http://www.vmware.com/support/ws45/doc/new_guest_tools_ws.html#1008244 I was in the same situation and it worked for me. Teo On 10/14/05, Jared Evans [EMAIL PROTECTED] wrote: I know that this isn't exactly a standard configuration (VMWare as opposed to native installation) for FreeBSD so most of the answers I found online weren't really applicable for me. I simply wanted a high resolution FreeBSD console PTYs running under VMWare. It was surprisingly more complex than I expected: When attempting to change screen resolution for a console in FreeBSD running under VMWare, I ran across this error message: vidcontrol -g 100x37 VESA_800x600 vidcontrol: cannot set videomode inappropriate ioctl for device It seemed to me that VMWare was unable to init VESA correctly in console but strangely enough Xorg is capable of changing to a higher resolution without any problems. After some googling: VESA driver in current source tree checks the NONVGA flag of VESA information block when loading. If this flag is set it will refuse to initialize. Most VESA adapters do not set this flag, but the virtual display adapter in VMWare does. in src/sys/i386/isa/vesa.c, there is a check for the flag V_NONVGA in line 655. If you comment it out, flag check will be bypassed. After all, if Xorg can use higher resolution, there shouldn't be a problem using VESA on the console! Re-compiling my kernel to include the below as suggested by several more web searches: options VESA options SC_PIXEL_MODE options VGA_WIDTH90 rebooting then: vidcontrol -g 100x37 VESA_800x600 vidcontrol: operation not supported by device Any more tips for me? ___ 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]
Fwd: su - does not ask for password
-- Forwarded message -- From: Teo De Las Heras [EMAIL PROTECTED] Date: Oct 14, 2005 1:45 PM Subject: Re: su - does not ask for password To: Emanuel Strobl [EMAIL PROTECTED] My account has a password and when I su - I go right in as root without a password prompt. What changed? Teo On 10/14/05, Emanuel Strobl [EMAIL PROTECTED] wrote: Am Freitag, 14. Oktober 2005 17:48 CEST schrieb Teo De Las Heras: I've added myself to the wheel group and can successfully su - into root. I'm wondering though, where I make the configuration to ask for a password when su - is called. You have to assign the superuser a password first. su will always ask for the password if the user has one and the executing user is not root (id0) -Harry Teo ___ 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: su - does not ask for password
That worked! I thought I remembered giving root a password!? So, if you don't have a password set, one is not asked for? Teo On 10/14/05, Andrew P. [EMAIL PROTECTED] wrote: My account has a password and when I su - I go right in as root without a password prompt. What changed? Teo % su # passwd Changing local password for root New Password: Retype New Password: # Now you're done. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]