Videoconferencing
Hello, Is anybody have any idea for videoconferencing server on FreeBSD? Best if this could work with jabber server. Clients are MS windows and FreeBSD. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX is like a wigwam: no windows, no gates, apache inside." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I have a promble when i install FlashMediaServer2b for Linux
*because the FlashMediaServer2b now still not support the freebsd ,so i have to install the FlashMediaServer2b for Linux under my freebsd6.1 system,my installation's infomation is under below:* Please enter 'y' or 'n'. Do you agree with the license agreement? (y/n): y Macromedia Flash Media Server 2.0 requires approximately 25MB of disk space. The installer will install Macromedia Flash Media Server 2.0 in the following directory Default [/opt/macromedia/fms]: /usr/local/MFS2 The Macromedia Flash Media Server communicates on the IANA-assigned port of 1935, which is the port most Flash applications expect. Please enter the Macromedia Flash Media Server port Default [1935]: Please enter the port to use for the Admin service. You can only specify one admin port. Default []: The administrative user name and password you provide here is required to use the Macromedia Flash Media Server Management Console for administration, monitoring, and debugging. Please enter the administrative username: test Please enter the administrative password: Confirm password: When the Macromedia Flash Media Server service is started, the service can be run as a user other than "root". The server would change to this user when the server is started and has acquired its ports. Please enter the user that the Macromedia Flash Media Server service will run as Default user [nobody]: test Please enter a valid user group for the "test" user: wheel Do you want the Macromedia Flash Media Server service to run as a daemon? (y/n) Default [y]: Do you want to start the Macromedia Flash Media Server after the installation is done? (y/n) Default [y]: --- Install Action Summary --- Installation directory = /usr/local/MFS2 FMS Server Port= 1935 FMS Admin Server Port = Administrative username= test Administrative password= (suppressed) FMS owner = test FMS service user = test FMS service user group = wheel FMS run as daemon = Yes Start FMS = Yes Proceed with the installation? (y/n/q): y *Installing Macromedia Flash Media Server files...* *Configuring Macromedia Flash Media Server...* *Adding "fms" service.* *Setting default admin to "fms".* *chgrp: test: Invalid argument* *./installFMS: /sbin/chkconfig: not found* *Setting autostart for "fms".* *Server:fms command:start* *getconf: no such configuration parameter `GNU_LIBPTHREAD_VERSION'* *./server: 49: Syntax error: Bad substitution* *Admin server:fmsadmin command:start* *./adminserver: 40: Syntax error: Bad substitution* * * *The Macromedia Flash Media Server installation is complete.* I have install the Linux_base-rh-9,but still have such mistake . ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dovecot port not compiling with mysql support [solved]
Hello all, Martin Hudec wrote: It's okay, but issue with compiling is reoccuring. yesterday Martin Werner provided me with fix to this issue. Though it's a mysql issue in 5.0.x [1] , one can workaround it [2] when compiling dovecot with mysql support. [1] http://bugs.mysql.com/bug.php?id=7 [2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/103691 kind regards, Martin Hudec ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pdf editor
On Sep 26, 2006, at 11:46 AM, sean wrote: Can anyone recommend a pdf editor, hopefully one in ports? What you can do is use the command pdf2ps (should install with Ghostscript if memory serves) to convert the PDF into PostScript. PostScript is plain text, so you can edit it with any text editor (vim, emacs, ee, nedit, pico/nano, etc.) or just use sed to change your line (sed 's/oldline/newline/g' file.ps > newfile.ps). Then, when the new PostScript file has been created, just re-create the pdf with ps2pdf. I know this is not very elegant, but it works for small changes. -Anthony I just need to change a line in an existing file. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rewrite of multiple incoming IPs into a single IP
I have spent the day trying to get multiple IP addresses rewritten to a single address using IPFW and NATD. Is there a simple way to do this. If I put natd on the public interface, it grabs it and the system hangs at boot. Is there an interface for keeping the packets local to the system where divert can pass them, natd rewrite them and reinsert them into ipfw? The application is what I asked about two days ago, funneling multiple external websites on different addresses into a single jail that works of Apache's NameVirtualHost. Thought it was the easy part but so far it's the only part that is not working, the jail and apache work great. I think I need a divert rule that goes to an internal interface (tun0?) and be able to start natd on that interface. I actually tried tun0 but it was not recognized (I'm not configuring for ppp). It would seem that if I can get over this hurdle, I could use the redirect_address within natd to perform the magic I need. Please tell me if I'm trying to do something absurd or if this should be directed to a different list. Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to load iwi firmware at boot time
On Tue, 26 Sep 2006 14:36:06 +0300 "Ivan \"Rambius\" Ivanov" <[EMAIL PROTECTED]> wrote: > I have to manually load the firmrare invoking the following commands as root: > # iwicontrol -i iwi0 -d /boot/firmware -m bss > # ifconfig iwi0 up > > Could you please advise me how I can load automatically the firmware > during boot time? loads automatically everything just fine here: running 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #7: Tue Sep 26 09:55:41 EST 2006 here I have iwi and firmware built into the kernel. I also installed the port iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module simply doing ifconfig iwi0 up loads everything needed. Works too if adding it to the rc.conf (I prefer not to have it on startup, that's all). _ {Beto|Norberto|Numard} Meijome "I'm not afraid of dying, I just don't want to be there when it happens." Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ezjails, jails
On Tue, 26 Sep 2006 14:25:46 -0400 "Don Munyak" <[EMAIL PROTECTED]> wrote: > Somewhat off-topic, but have you thought about using vmware, > specifically vmplayer. Latest versions of vmware do not run on FreeBSD as the host (as guest is ok). there is a vmware workstationg in ports, but it's an old version and you need a (possibly old?) linux license for vmware workstation. It *should* be possible to run the vmdk with qemu, though I'm not sure it's a vmdk you create with vmplayer. _ {Beto|Norberto|Numard} Meijome "Lots of people who complained about us receiving the MBE received theirs for heroism in the war -- for killing people. We received ours for entertaining other people. I'd say we deserve ours more." John Lennon I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: Has anyone on this list set up an internet connection using a Westell WireSpeed ADSL modem? If so, please
Hello Josh, Tuesday, September 26, 2006, 7:03:40 PM, you wrote: JC> I use a Westell 6100 without problems with FreeBSD. It is setup in JC> bridge mode and works great. JC> I wrote some software (http://wdiag.sourceforge.net) if you want to JC> query the DSL line stats/etc. Depending which model you have, it might JC> work for you (36R516, 2200, and 6100 series are all supported). Thanks for your response. I'll take a look at the software you mentioned. My Westell is a 2200 model made in 2004. Overall I've been pleased with it, but have not used it with a FreeBSD or Linux box before. Based upon your experience, I'm fairly sure it will work great with FreeBSD! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Has anyone on this list set up an internet connection using a Westell WireSpeed ADSL modem? If so, please
I use a Westell 6100 without problems with FreeBSD. It is setup in bridge mode and works great. I wrote some software (http://wdiag.sourceforge.net) if you want to query the DSL line stats/etc. Depending which model you have, it might work for you (36R516, 2200, and 6100 series are all supported). Josh On 9/26/06, ograbme <[EMAIL PROTECTED]> wrote: let me know what gotcha's, if any, I should be aware of. Thanks in advance. ___ 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: FreeBSD Install
On Tue, Sep 26, 2006 at 02:28:47PM -0400, Edward and Nancy Powers wrote: > > I am new to UNIX, and would like to download FreeBSD to familiarize > myself with UNIX commands and the UNIX environment. I would like > something fairly easy to install and maintain. I do not want to > replace Windows, but would like to switch between Windows and FreeBSD. > > Is it possible to do this with FreeBSD? Note, you will probably also see posts of people's favorite thing to push in response to your question as well as possibly some people trying to tell you not to bother with FreeBSD is you are happy with MS-Win even though you specifically say you want to learn\ about UNIX. Take it all with a grain or tub of salt and try out any of the suggestions you want, but don't think they are canonical information. They are just peoples whims and preferences and are no more or less valid than yours after you have experimented a little. Have fun, jerry > > > Ed Powers > ___ > 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: calenders .. silly question !
Desmond Coughlan wrote: The thread on calendars has got me thinking The 'non-profit' organisation I mentioned, is a school. Here in France (and no doubt in dozens of other countries), many universities have constructed 'virtual campuses'. By that, I mean that the student logs in, he has not only his grades, but his timetable (classes, seminars etc), and he can send and receive e-mail to and from his tutors. Can this be done under FreeBSD (that was the 'silly' part of the question) ? Any pointers to where I can start learning about that stuff? Setting up the MX is the most urgent, but afterwards, we can start to have fun with SQL, forums, campuses etc? Honestly, I think you will have a hard time getting any useful answers: Your question is vague and broad and posting under a completely different topic is not helping. Before asking the "how" question, you gotta understand the problem you want to solve - that is first, figure out what is the problem: - how many users? - how will you manage users? - who will manage users? - how will users access services? - from where will users access services? - routing? - firewall? - does the infrastructure exist to provide access to services? - network? wireless? dns? etc. - how often will users access services? - how much data will be handled by the servers? - what hardware is required to support the expected traffic? ... and on and on. Once you have a clear idea of that you can start asking more concrete questions: - which MTA? - how do I setup that MTA? - what MDA? can the MTA work as MDA? - how do I setup that MDA? etc. So, I recommend you rethink your problem and make it clear what you want to achieve in your next post - under a suitable subject... Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Install
On Tue, Sep 26, 2006 at 02:28:47PM -0400, Edward and Nancy Powers wrote: > > I am new to UNIX, and would like to download FreeBSD to familiarize > myself with UNIX commands and the UNIX environment. I would like > something fairly easy to install and maintain. I do not want to > replace Windows, but would like to switch between Windows and FreeBSD. > > Is it possible to do this with FreeBSD? Yes it is. It will take some learning. The environment and complete mindset is very different from MS. Really, it is more server oriented where MS is more application oriented. In other words FreeBSD provides a platform for you to build what you want on it, but doesn't say much about the applications. That is up to you. On the other hand, MS gives you a bunch of applications and doesn't let you very near the platform. So, MS makes a lot of decisions and assumptions for you and you have little choice about them. FreeBSD UNIX makes almost no assumptions and forces you to make all your own decisions - some of which you will not be accustomed to seeing. But, with all that difference in point of view, with FreeBSD you can build a very good and servicable desktop system that is reliable and relatively secure as well as have a top level server system if you plan to provide any computing services such as Email or web service, etc. The first thing to do is to try and wade through the FreeBSD handbook that is available online from the FreeBSD web site. There are a number of links to it on that site. Don't worry if you do not understand it all from the start/first reading. Just absorb what you can and learn where you can go back to to find various pieces of information. Then, do a little more serious work on the parts that are a step by step set of things to do to install and configure FreeBSD. Then, download a copy of the latest full release ISO (presently 6.1) and install it and start experimenting. At this time you will become intimately familiar with the handbook and the man pages and probably some of the online publications at sites such as onlamp.com Play with it for a while - week/month whatever your patience will endure - and then rethink things out a bit and do another install. By that time, the next release may be out, so download it and make a CD for the install.Most of the things you will change are how you divide up the disk for various things and which extra things from ports you really want to install. For example, some of the games read pretty good, but really aren't worth trying to play or you may want to skip some of the really extreme security stuff or might want to add more security. You might want to change your X-windows manager and/or desktop utility choices. I don't even bother to install KDE or Gnome any more because I really don't want that much desktop junk. I like simpler Afterstep better. It gives me good working windows and supports my browser, XPDf, etc and I really hate having stuff tied in to the browser that I want to run separately, such as Email. Anyway, you will be better able to make these kinds of choices after you have played with it for a while. Installation at first looks difficult and confusing. It is not so bad once you have been through it. Most of all those choices are not really relavant and you learn to look past what you do not need. Following a good step by step procedure such as the handbook or in FreeBSD Unleashed or The Complete FreeBSD books is the way to get through it the first couple of times. Just don't get caught up in the authors whime and prejudices. They all have favorites and axes to grind that may not be the favored choice for you. You will catch on to which things as you experiment and learn. jerry > > > Ed Powers > ___ > 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]"
Has anyone on this list set up an internet connection using a Westell WireSpeed ADSL modem? If so, please
let me know what gotcha's, if any, I should be aware of. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ipfw, ftp and wget
On Tuesday 26 September 2006 20:07, vittorio wrote: > I'm using ipfw as firewall. > What rules should I add to use both wget and ftp from my box only > towards the internet through my iwi0? > > (I found the following lines for ftp but they don't seem to work: > .. > ipfw add 45 allow tcp from any to any 21 in setup keep-state > ipfw add 46 allow udp from any to any 21 in setup keep-state) > > Vittorio You want to allow traffic out. The keep state will take care of allowing responses back in. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
can't assign resources
Do I need to do anything about these lines near the end of the dmesg? unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) The box is a Dell Optiplex GX1, and it does seem to be working OK, but I suppose this may indicate that something is not configured properly. == complete dmesg == Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #3: Mon Sep 25 21:49:18 PDT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (447.69-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 201326592 (192 MB) avail memory = 187494400 (178 MB) kbd1 at kbdmux0 cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xf000-0xf3ff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xcce0-0xccff irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pcib2: at device 15.0 on pci0 pci2: on pcib2 pci2: at device 9.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem 0xff00-0xff7f irq 11 at device 17.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:b0:d0:28:ad:4f pmtimer0 on isa0 orm0: at iomem 0xc-0xc7fff,0xc8000-0xc on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (irq) unknown: can't assign resources (port) Timecounter "TSC" frequency 447691600 Hz quality 800 Timecounters tick every 1.000 msec ad0: 157066MB at ata0-master UDMA33 acd0: CDROM at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s3a ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: system gets panic
Le Cocq Michel wrote: the only thing i can say is for me if i had a such message with "inode" i should try in first a fsck. César Amaya a écrit : Hi list, I have a HP dx5150 SFF system with FreeBSD 6.1 Release running on it. The system worked fine the first 4 weeks, after that, the server begun to reboot while it was booting, and two or three times 5 minutes after booting. The error message said: panic: softdep_setup_inomapdep: found inode ... rebooting after 15 segs. Do you know what´s going on here? Thanks! ___ 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]" Actually, there was a problem with the disk partitions, they wasn´t properly unmounted. I did fsck -y to every partition and problem resolved. Atte. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Install
On Tue, 26 Sep 2006 14:28:47 -0400 "Edward and Nancy Powers" <[EMAIL PROTECTED]> wrote: > >I am new to UNIX, and would like to download FreeBSD to familiarize >myself with UNIX commands and the UNIX environment. I would like >something fairly easy to install and maintain. I do not want to >replace Windows, but would like to switch between Windows and > FreeBSD. > >Is it possible to do this with FreeBSD? imho fastest and easiest is to use a live-cd e.g. : http://www.freesbie.org/ -- grtjs, albi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nested labels
Jeffery, On 2006 Sep 23 , at 16:15, J65nko wrote: On 9/21/06, Jeffrey Katz <[EMAIL PROTECTED]> wrote: I have hit the limit of 8 disklabels per slice. Supposedly, one can create lables within a label, thus overcoming this limit. I googled everything but could only find references to gpt-- nothing about nested labels or partitions. Can anyone detail the steps involved in setting up nested labels or partitions? There was some previous discussion in this thread about the merits of multiple partitions, and why one would need so many. I will not delve into a long discussion on this; suffice it to say that there are many valid reasons to create more than 8 partitions on one disc, and that these reasons are usually unique to the site in question. If a system administrator feels that he needs more division of storage, he likely has a good reason. A slice can have 8 labels, a disk can have 4 slices, so 4 x 8 labels = 32 labels Deduct from those 32 the reserved "c" and possibly "b" and you still have a lot to spare ;) Although, the above, using PC partitions with nested BSD labels within, is a viable solution, and can be used safely with sysinstall, to give you a nice GUI (well, not gui, but menu at least) to work with the partitions; the biggest problem here, and the reason I stopped doing this, is that you have to know in advance how many meta-partitions you want, and what sizes they are. For example, my old 160 GB disc was divided into a 32 GB and a "remainder" PC partition. Those each had 7 major partitions therein. (You can use partitions a and b for filesystems. It's just convention that we use a and b for root and swap.) As this can be done safely, and straightforward from the sysinstall program, I won't go into details here. What you can also do is use the bsdlabel(8) program on any slice. In FreeBSD, geom labels devices very simply, and sensibly. E.G.: /dev/ad0s1hs2def is a valid device name. Granted it is a very absurd case, but it illustrates how one can use it. In geom, any PC partitions are appended as "sN" where N is 1 thru 4 for primary partitions, and 5 thru (unknown?) for logical partitions. In the case of bsdlabel (disklabel) partitions, they receive letters a thru h. In the above example, the primary master disc's first primary partition has a bsdlabel, which the last partition of it has a PC partition table within, which has a primary partition in slot two. That nested PC partition has a BSD partition, with a partition in slot d, which has more BSD sub-labels. (Need I go on, with this pathological example?) In summary, you can make bsdlabels, inside of a partition (PC or BSD). This is done by just running bsdlabel -w on the partition in which you wish to create the sub-partitions. (bsdlabel -w /dev/ad0s1h, for example) You can then create unlimited levels of partitions. Remember that after running bsdlabel -w, you must run bsdlabel -e, to edit the partition. Do not forget to create filesystems in the partitions (newfs -UO2 for UFS 2 with softupdates.) As far as conventions, I prefer to put the "extended" partition into slot a, and set its type to "unknown." In cases where slot a is taken by a root partition, I use slot h. I find that sticking to this convention helps keep me organized when employing this technique. Regards, -- Adam David Alan Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best way to "renice" a process by name?
On 2006-09-26 09:32, Brett Glass <[EMAIL PROTECTED]> wrote: > I'm working with a machine that's operating as a NAT router and > recursive DNS resolver and is also running the Squid disk cache. > Squid, in turn, spawns the "diskd" daemon, which does disk accesses on > behalf of Squid. When Squid spawns diskd, it gives it a priority level > 6 greater than itself. In other words, if Squid is launched normally, > it gets a priority of 2 (normal) while diskd gets a priority of -4 > (very high). > > Unfortunately, diskd is not an efficient user of CPU (it seems to be > polling for I/O completion) and is starving other processes on the > machine (for example, natd) which need to operate in near real time. > > I'd like to keep diskd running on that machine, because having disk > access done by a separate process is very efficient -- even more so if > the system uses SMP. But I need to re-prioritize Squid and diskd to > keep the rest of the machine functional. In particular, I'd like to > nice Squid down by 1 (so that natd and named have priority over it) > and have diskd run at standard priority (so that it can't starve other > processes). This will keep diskd at a higher priority than Squid > itself, which in turn will hopefully prevent message queues from > overflowing. > > Reducing Squid's priority is simple; I can just edit the script that > starts Squid so that /usr/bin/nice is used to invoke it. But taming > diskd is more difficult, because diskd is a child process of Squid. I > have to make sure it has started (which may require a delay loop), > find out its PID, and then "renice" it by whatever increment is > required to get it to the system's standard priority (2 by > convention). Is there a "renice by name" utility for FreeBSD (sort of > an equivalent of "killall")? I could gin one up, but since this seems > like something that people would want to do frequently, find it hard > to believe that someone hasn't already written one. Maybe something like this helps? $ echo renice -n +10 -p `echo \`pgrep httpd\` | sed -e 's/ /,/g'` renice -n +10 -p 1023,656,655,654,653,652,610 $ There is always a fair chance you might attempt to renice a process which just happened to die, but this should be ok, unless you start seeing PIDs being recycled too fast :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Install
I am new to UNIX, and would like to download FreeBSD to familiarize myself with UNIX commands and the UNIX environment. I would like something fairly easy to install and maintain. I do not want to replace Windows, but would like to switch between Windows and FreeBSD. Is it possible to do this with FreeBSD? Ed Powers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tared by TAR
Bob wrote: I went nuts, and got tar'ed and feathered with TAR. I have always used tar with the -M option (--multi-volume) which allows you to span more than one tape on a big ta archiver; but you won't find this -M option in BSD's TAR! Nor will you find a proper man page, for BSD's port of gtar (gnutar) which I THIINK is equivalent to Linux's tar. The manual page for gtar on FreeBSD 5.4 is about 30% longer than the one on a random Linux system I looked at, and looks like a proper man page to me. It mentions -M. Linux tar *is* gtar, though the specific version will of course vary between different Linuxes and different FreeBSDs. That aside, try "info tar" for full blown gory details of gnu tar. Also, for incremental backups, dump is easy to use, handles multi-tape archives and incrementals, and works on Live filesystems; but it does only work at the level of a filesystem not random directories. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
HP deskjet 520
Hello, I am trying to configure my printer but i`m running into some trouble. The hand books talks about the polled and the interrupt driven mode. Some hp printers got problems with the interupt driven mode on the parallel port. The hand book comes with a sollution allthought they say that in some cases it`s not enough. I`ve did the thinge in order to come into the pollede mode but still my printer is not working. Does any one know what i can do more to come into the polled mode. The printer is printing some lines and then it blocks, weird. Thanks, justin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tared by TAR
In the last episode (Sep 26), Bob said: > Please forgive me if this is all due to my newbie status. I HAVE > RTFM!, and that is essentially my problem. > > I use tar daily, to make a file-backup of /usr/home. I put a tape in > the dat (DDS3) drive before I go to bed, and in the morning put it > into the 30 day rotation box. > > I have recently moved from Linux, to FreeBSD. And pretty much copied > my scripts from the old Linux box to the new BSD one. A veritable joy > I might add! AThis is so much better!!! > > I went nuts, and got tar'ed and feathered with TAR. I have always > used tar with the -M option (--multi-volume) which allows you to span > more than one tape on a big ta archiver; but you won't find this -M > option in BSD's TAR! Nor will you find a proper man page, for BSD's > port of gtar (gnutar) which I THIINK is equivalent to Linux's tar. > > What I ended up doing is a BADF HACK! I copyiny my old linux tar.1.gz > manpage to gtar on my new system. > > HOWEVER, this man page from my old Linux system may, or may not not > be correct, given the fact that BSD giggers the makefile with it's > own patches for every "make install", and when you make gtar from > "/usr/ports/archivers/gtar" you do NOT get a manpage! BAD! BAD! BAD! > Bug??? The differences between bsdtar, and gnutar are quite IMMENSE! Hey, don't blame us! If you look at the extracted tar-1.15.1 directory, you'll note that they don't even /provide/ a manpage, so there's not much we can do here. :( You'll have to use the info docs, or do as you did and copy an older gnutar manpage from another system. -- 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: ezjails, jails
Thanks, I have no actual deadline. Just something I want/need to do in the near future. The tearing down and restarting is also something I was planning on. Somewhat off-topic, but have you thought about using vmware, specifically vmplayer. There have been many a propellar-head that have reverse engineered the process of creating vmware templates. There are several places on the web that you can either create a blank template or download a preconfigured template. Then just install the OS. You can even link the virtual CD drive to an ISO image so that during the startup of the image, the VM is running from what it thinks is a live cd. This is how I am doing some of my practice build/tear down stuff here some of my links http://www.easyvmx.com/ http://www.easyvmx.com/tutorial.html http://www.ffnn.nl/pages/articles/linux … eation.php http://www.virtualization.info/2005/12/ … mware.html http://www.hackaday.com/entry/1234000153064739/ http://sanbarrow.com/ http://www.brunofreitas.com/portal/viewtopic.php?t=41 Thanks again Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best way to "renice" a process by name?
At 9:32 AM -0600 9/26/06, Brett Glass wrote: Is there a "renice by name" utility for FreeBSD (sort of an equivalent of "killall")? I could gin one up, but since this seems like something that people would want to do frequently, find it hard to believe that someone hasn't already written one. FreeBSD added the `pgrep' command sometime ago. Your renice-by-name script would turn into something like: renice +2 `pgrep diskd` (I have not tested that, and you might want to embellish it by adding some of the other options to the `pgrep' command) -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw, ftp and wget
I'm using ipfw as firewall. What rules should I add to use both wget and ftp from my box only towards the internet through my iwi0? (I found the following lines for ftp but they don't seem to work: .. ipfw add 45 allow tcp from any to any 21 in setup keep-state ipfw add 46 allow udp from any to any 21 in setup keep-state) Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
calenders .. silly question !
The thread on calendars has got me thinking The 'non-profit' organisation I mentioned, is a school. Here in France (and no doubt in dozens of other countries), many universities have constructed 'virtual campuses'. By that, I mean that the student logs in, he has not only his grades, but his timetable (classes, seminars etc), and he can send and receive e-mail to and from his tutors. Can this be done under FreeBSD (that was the 'silly' part of the question) ? Any pointers to where I can start learning about that stuff? Setting up the MX is the most urgent, but afterwards, we can start to have fun with SQL, forums, campuses etc? Thanks. D. - Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Tared by TAR
Please forgive me if this is all due to my newbie status. I HAVE RTFM!, and that is essentially my problem. I use tar daily, to make a file-backup of /usr/home. I put a tape in the dat (DDS3) drive before I go to bed, and in the morning put it into the 30 day rotation box. I have recently moved from Linux, to FreeBSD. And pretty much copied my scripts from the old Linux box to the new BSD one. A veritable joy I might add! AThis is so much better!!! I went nuts, and got tar'ed and feathered with TAR. I have always used tar with the -M option (--multi-volume) which allows you to span more than one tape on a big ta archiver; but you won't find this -M option in BSD's TAR! Nor will you find a proper man page, for BSD's port of gtar (gnutar) which I THIINK is equivalent to Linux's tar. What I ended up doing is a BADF HACK! I copyiny my old linux tar.1.gz manpage to gtar on my new system. HOWEVER, this man page from my old Linux system may, or may not not be correct, given the fact that BSD giggers the makefile with it's own patches for every "make install", and when you make gtar from "/usr/ports/archivers/gtar" you do NOT get a manpage! BAD! BAD! BAD! Bug??? The differences between bsdtar, and gnutar are quite IMMENSE! Being a stickler, and constant user of, proper documentation, I am just a bit lost here! Help! Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to load iwi firmware at boot time
Hello, On 9/26/06, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: Hello, I have an Acer TravelMate 4060 laptop with FreeBSD 6.1 running on it. I have Intel(R) PRO/Wireless 2200BG wireless network card which I use successfully. I have the following iwi related entries in rc.conf: ## Intel Wireless Adapter settings iwi_enable="YES" iwi_interfaces="iwi0" iwi_mode="bss" ifconfig_iwi0="ssid DHCP" This used to bring up my iwi0 interface at boot time and I had a working internet connection after the machine had booted. However, this morning I did "make world" (attaching cvsup files for the kernel and ports for completeness). The iwi firmware was not loaded at boot time and the following messages are given: $ dmesg | grep iwi iwi0: mem 0xb0101000-0xb0101fff irq 17 at device 4.0 on pci6 iwi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xb0101000 iwi0: bpf attached iwi0: Ethernet address: 00:13:ce:0c:45:a1 iwi0: bpf attached iwi0: bpf attached iwi0: [MPSAFE] iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwi0: Please load firmware I have to manually load the firmrare invoking the following commands as root: # iwicontrol -i iwi0 -d /boot/firmware -m bss # ifconfig iwi0 up Could you please advise me how I can load automatically the firmware during boot time? Regards Ivan P.S. Here is the output of uname -a: FreeBSD . 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Tue Sep 26 13:13:00 EEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I was able to fix it. I created an executable script located at /etc/start_if.iwi0. It contains the following line: iwicontrol -i iwi0 -d /boot/firmware -m bss This script is executed at boot time and it loads the firmware. Thank you for the nice docs althought scattered in the Web. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: calendar
On Mon, 25 Sep 2006 05:39:08 -0700 (PDT) Michael S <[EMAIL PROTECTED]> wrote > Good day all. > Where does one get an updated calendar.judaic? Mine seems to be out of > sync. > Thanks in advance. > Michael On the internet, google "Jewish calendar", try it both with the quotes and without them (I forget which one I used, but I think with is better). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pf + ipv6 + keep state - any known issues?
> Are you using antispoofing rules on your external interface? If you've got > something like this in your ruleset: > >antispoof log quick for $ext_if > > Then it will expand into a series of rules containing the following when > you load them: Thank you for responding! No, this is not the issue. I *am* performing antispoof on my physical interface, but not on the tunnel interface. After some further investigation my current theory is that I have run into the trouble with pf and a packet traversing an interface twice. Having a 'keep state' on the *incoming* direction results in a state entry according to pfctl. But no state entry for the 'keep state' in the outgoing direction. The result being that while packets coming into port 22 are allowed and state set up, but the responding packets (to some random source port) are NOT allowed because the outgoing direction yielded no state entry. I am not sure what the behavior is supposed to be with a packet traversing the same interface twice, except I have seen references to the effect of "don't be stupid, don't do that, get another NIC" (for the typical firewall/gateway case). Except in this case that does not apply, even if you agree with the sentiment to begin with. Can anyone confirm or deny whether "double" traversal *IS* supposed to work without difficulties/special cases on current versions of pf/FreeBSD? Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Missing cd0 device node
I forgot to mention, this is on 6.1-RELEASE-p4/amd64. Also, the /dev/acd0 node remains in existence and seems to work fine. On Tue, 26 Sep 2006, Nate Eldredge wrote: Hi all, In the course of various screwing around with my ATAPI CDROM device (including some dvd ripping and playing that got aborted at odd moments), I got the following messages: ... [see original message] I also have atapicam in use for DVD burning, and I now find that /dev/cd0 is missing, and I can't figure out how to get it back. "camcontrol rescan all" completes successfully, and I have vulcan# camcontrol devlist at scbus1 target 0 lun 0 () (see original message) -- Nate Eldredge [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: dovecot port not compiling with mysql support
Hello Eric, Eric wrote: i believe they just checked in an update to rc7 for dovecot with the fix for high kqueue loads yesterday. Update your ports tree and you should see it. The check in notes specifically mentioned the kqueue fix. It's okay, but issue with compiling is reoccuring. Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ezjails, jails
On Sep 26, 2006, at 9:24 AM, Don Munyak wrote: Chris, If you have some links to good howto's and don't mind posting, I'd be greatful I found the first link to be very helpful in building my own jail setup script. It was invaluable to be able to repeatedly build it from scratch... adjust things, tear down (reboot, chflag binaries, rm -r jaildir) and start over. I gleaned some good stuff from the other one too. As you repeatedly set up the jails, you start understanding the virtualization and begin to rethink what you were planning. I really recommend doing it if your deadlines allow 10 hours of playing (I'm a bit slow ;-)). Bear in mind that the most understandable guides on the web all seem to be dated and adjustment is necessary. Also, I've yet to find any targeted guides on specifically what to do with natd once you've diverted the IPs but it would appear to be similar to how people use natd to support private IP space but just stays within the machine. I'm flying blind there so I have nothing to provide. Here are the jail links. http://www.section6.net/wiki/index.php/ Creating_a_FreeBSD_Jail#Getting_services_to_not_listen_to_.2A http://www.onlamp.com/pub/a/bsd/2006/03/09/jails-virtualization.html? page=1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best way to "renice" a process by name?
I'm working with a machine that's operating as a NAT router and recursive DNS resolver and is also running the Squid disk cache. Squid, in turn, spawns the "diskd" daemon, which does disk accesses on behalf of Squid. When Squid spawns diskd, it gives it a priority level 6 greater than itself. In other words, if Squid is launched normally, it gets a priority of 2 (normal) while diskd gets a priority of -4 (very high). Unfortunately, diskd is not an efficient user of CPU (it seems to be polling for I/O completion) and is starving other processes on the machine (for example, natd) which need to operate in near real time. I'd like to keep diskd running on that machine, because having disk access done by a separate process is very efficient -- even more so if the system uses SMP. But I need to re-prioritize Squid and diskd to keep the rest of the machine functional. In particular, I'd like to nice Squid down by 1 (so that natd and named have priority over it) and have diskd run at standard priority (so that it can't starve other processes). This will keep diskd at a higher priority than Squid itself, which in turn will hopefully prevent message queues from overflowing. Reducing Squid's priority is simple; I can just edit the script that starts Squid so that /usr/bin/nice is used to invoke it. But taming diskd is more difficult, because diskd is a child process of Squid. I have to make sure it has started (which may require a delay loop), find out its PID, and then "renice" it by whatever increment is required to get it to the system's standard priority (2 by convention). Is there a "renice by name" utility for FreeBSD (sort of an equivalent of "killall")? I could gin one up, but since this seems like something that people would want to do frequently, find it hard to believe that someone hasn't already written one. Google is your friend :) http://www.google.com/search?q=reniceall very first link. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: RE : Re: problem installing on i386
Desmond Coughlan wrote: So on the second disk drive, which is around.. 20GB, IIRC, we want /mail, /sql and /forums, and maybe 512M of swap. On the first, system files etc. and swap. I used to tinker around with postgreSQL, so that'll be what we'll be using. How does that sound? 1) You will find maintenance easier if you stick to default location for storing stuff, so mount your partitions on those mountpoints: By default user's mboxes goes in /var/mail, databases in /var/db. 2) You might then consider making your second disk dedicated to /var entirely rather than fragment in multiple partitions. 3) I recall on your original list you had swap on both disks, this may or may not have any impact on performance compared to just one swap on the first disk. I would do something like this: ad0s1: /128MB swap 512MB /usr6144MB /tmp 512MB ad1s1: /home 4092MB /share 4092MB /var4092MB The /share is non-default, I like to have this for groups. Say your organisation have various working groups, files belonging to those should not reside in users home-dir, but rather be shared among all members. The above has some further advantages: on the second disk is all the data users create, you can wipe ad0 in a reinstall if needed, there you only need to restore config-files in /etc and /usr/local/etc. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ezjails, jails
Thanks a bunch Chad and Chris. Good stuff to digest. Chris, If you have some links to good howto's and don't mind posting, I'd be greatful Don ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ezjails, jails
On Sep 26, 2006, at 7:40 AM, Don Munyak wrote: I think I need to setup two jails, one(1) for email services and one(1) for www services, on a single server. I asked this question in a different way the other day (see thread "Patches for jail support of multiple IP...") and received a good answer on how to set up a single jail to support multiple IP addresses (as our domains and sites currently use) and servers. I'm in the process of doing this using nat and divert within the "host" right now, because I'm trying to avoid having multiple copies of all these programs running in multiple jails. I'm trying to model our jail environment after our non-virtual current environment. I'm not sure that is the best way. My answers are as a noob to FreeBSD jails and just what I've found thus far, I hope it's not inaccurate. It looks like one could do anything, yet if you are using jails for security, "anything", such as sharing between jails or the host, might compromise why you are putting in jails in the first place and everything I'm doing is for security reasons or I'd forget jails. q. If I am running a webserver for more than one(1) domain, should I be using a single jail for each domain, or is one jail needed for 'ALL' www processing ? Are the domains on separate IPs? If not, one jail suffices for all rather easily. If they are on different IPs, you either need multiple jails or will need to receive packets for all IPs on the "host" environment and rewrite them to land on a single IP used by the jail. Then use NamedVirtualHost in httpd.conf to separate them back out. I'm currently only 3/4 of the way done because of the lack of information on using natd in this way (it's normally used for private IP space and there are no examples of this backward use). There is a reason why you may want multiple jails for different websites. One CGI vulnerability on one site risks the other sites. If you have the memory on your server, separating the websites into different jails reduces the risk of cross-site hacking. This is extremely situational depending on who you have maintaining the different websites and how careful they are in their configuration and practices. If you control everything and know the code then obviously you "trust the web developer ;-)" and a single jail will be easier to manage. q. If I am using a jail for each domain, does this imply loading apache+php+mysql, for each www jail ? Yes from a standpoint of loading, if you use multiple jails. You can set it up such that the source and ports are shared by using mount_nullfs, then after installation, drop the mount such that no changes to the binaries can be made. But the actual execution is separate (though for mysql it doesn't have to be, see below) and will duplicate the memory footprint. Seemed wasteful to me so I'm opting to funnel all IPs into one by the time it hits the jail and thus have only a single jail. To explain what I observed, when I built the jail, part of the process is to enter the jail, go (jailed-)root and build the applications needed, like apache or mysql. If I were running a copy of (for example) httpd within the jail and one within the host (or a different jail), they would be two separate installations and separate executing copies in memory. One could make them the same installation but the links would be a nightmare plus you increase the number accesses you make possible to the host environment. This seems like nullifying some of the value of the jail. From what I could see, there is no way obvious to share the in- RAM executable nor would this be desirable. If I'm wrong, I hope someone corrects me. q. Likewise with email and multiple domains, does multiple domains = multiple email jails, as well as multiple copies of smtp, pop3, webmail ?? Same as previous question. But the method of putting mail into one IP is far different. I don't have the application to do this because all mail for all domains already comes into one IP. If I move our mail server to this machine, it will have a separate jail because we separate mail, dns and websites on different servers already and the isolation seems prudent. q. Email and WWW services both require MySQL. Would I be installing MySQL 'x' number of times? Yes if you use multiiple jails with discrete instances of mysql server. You could set up a separate jail to run the mysql server and service the mysql clients on the other jail(s), think... "separate database backend as a separate jail on a different IP". If you setup a single jail and put the server within that jail this would also keep it down to one copy. I am not familiar with ez-jail but found it a breeze to create jails using man jail combined with other web how-tos. man jail is inaccurate in how you install world and I would look to the other resources on the web for more current information. ___
RE : Re: problem installing on i386
No need to apologise (I should apologise for snipping everything to which I reply, but I'm using IE and it puts all those hypertext junkie things in...), as the mistake was mine. You might have noticed that I listed two /etc slices ... in fact, one of them was supposed to read '/tmp'. I also screwed up the sizes, but I suppose that that isn't so important. Oh, and I forgot to include '/home'. There are undoubtedly some more errors... :) For info, just so you get an idea of what I want to do: we're trying to build a mail server for this non-profit organisation. There are currently 120 persons who will have a mail account. That number will grow to 200 at the most. Then once that's up and running, I fancy giving them a forum space, along the lines of .. hum.. let me try to find a similar one on the Internet Try this ... http://www.developpez.net/forums/forumdisplay.php?f=37 So on the second disk drive, which is around.. 20GB, IIRC, we want /mail, /sql and /forums, and maybe 512M of swap. On the first, system files etc. and swap. I used to tinker around with postgreSQL, so that'll be what we'll be using. How does that sound? D. - Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Best way to "renice" a process by name?
I'm working with a machine that's operating as a NAT router and recursive DNS resolver and is also running the Squid disk cache. Squid, in turn, spawns the "diskd" daemon, which does disk accesses on behalf of Squid. When Squid spawns diskd, it gives it a priority level 6 greater than itself. In other words, if Squid is launched normally, it gets a priority of 2 (normal) while diskd gets a priority of -4 (very high). Unfortunately, diskd is not an efficient user of CPU (it seems to be polling for I/O completion) and is starving other processes on the machine (for example, natd) which need to operate in near real time. I'd like to keep diskd running on that machine, because having disk access done by a separate process is very efficient -- even more so if the system uses SMP. But I need to re-prioritize Squid and diskd to keep the rest of the machine functional. In particular, I'd like to nice Squid down by 1 (so that natd and named have priority over it) and have diskd run at standard priority (so that it can't starve other processes). This will keep diskd at a higher priority than Squid itself, which in turn will hopefully prevent message queues from overflowing. Reducing Squid's priority is simple; I can just edit the script that starts Squid so that /usr/bin/nice is used to invoke it. But taming diskd is more difficult, because diskd is a child process of Squid. I have to make sure it has started (which may require a delay loop), find out its PID, and then "renice" it by whatever increment is required to get it to the system's standard priority (2 by convention). Is there a "renice by name" utility for FreeBSD (sort of an equivalent of "killall")? I could gin one up, but since this seems like something that people would want to do frequently, find it hard to believe that someone hasn't already written one. --Brett Glass ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pdf editor
Can anyone recommend a pdf editor, hopefully one in ports? I just need to change a line in an existing file. Thanks Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem installing on i386
On Tue, Sep 26, 2006 at 11:09:05AM +0200, Desmond Coughlan wrote: > Hi, > I hope that I'm not sending this to the wrong list, or that the question > hasn't already been answered. > > I'm trying to install 6.1-RELEASE onto a Pentium-3. > > I had a lot of trouble creating the diskettes, but after changing the > floppy drive, no problem. Now, when I do the install, I have two hard > drives, and configure them as follows... > > disk0 > 150M / > 512M /etc > 512M /etc > 512M /var > 1024M /bin > 4096M /usr > 1024M swap > > disk1 > 4096M /forums > 4096M /mail > 4096M /sql > 1024M swap I just noticed yet another thing. You do not have a /tmp partition. Although it is not essential to have a separate /tmp, it is a good thing because many thing write to it, often unexpectedly and if it happens to grow fast, it could fill up root and cause the system to hang. So, putting it in its own separate partition helps protect the rest of the system if some process starts to run away with things. So, my over all suggestions are now. Get rid of the separate /etc and /bin partitions. Leave them in root. Then give the 512 MB to /tmp and the 1024 MB to /var. I also notice that you do not create an obvious place for user's home directories. Maybe you do not expect to have regular user accounts, so that is OK. But, if you do, it is often a good idea to create a large partition for those to keep them somewhat isolated for the general operation of the system. I usually make a separate /home partition. I wonder what you intend to do with a 4 GB /mail partition. If it is for user accounts to keep mail, then maybe that should instead be the /home partition to contain users' accounts home directories. Just a thought. Sheesh, if I would read more carefully the first time, I could save some retyping and network traffic.But, I get so many Emails that I have to try and rush through them. Anyway, good luck, jerry > > I go through the installation, via ftp, and then set the root password. > Oh, and the 'FreeBSD boot manager' is the option I choose, when configuring > the disks. > > When I reboot, this is what I see ... > > Manual root filesystem specification > : Mount using filesystem eg > ufs:da0s1a > ? List valid disk boot devices >Abort manual imput > > ... and that's it. > > Nothing else. The machine just sits there. > > Is there something I've missed ? We've tried the same install on three > different machines, using three different motherboards, and four different > hard drives. Something is wrong, either with the installation media, or else > with our method of going about it. Oh, and I tried installing 5.5 on the > same machines, with the same result. > > FreeBSD rocks; I've used it for a long time on many different machines, and > this is the first time that this has happened. > > Could someone suggest a solution? The people with whom I'm installing > this, are starting to whisper the word 'Linux', and it's giving me > nightmares :( > > Thanks. > > D.C > > > > - > D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le > sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos > opinions et vos exp?riences. Cliquez ici. > ___ > 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]"
freeBSD 6.1 how to setup network file sharing on my home network between a win xp box and my BSD Laptop
Hi, I am a BSD newbie. I have used linux for years from Redhat 7.0 to 9.0 and SuSE 9.1 to 10.1. I was able to setup samba very easily on redhat 9.0 and below but could never get it to work on SuSE and I just installed FreeBSD 6.1 on my dell laptop and I am wondering if any one has any tips on how to set it up (correctly) so I can share files between my win xp Desktop and my BSD laptop over a wireless network connection. Anyhelp would be greatly appreciated!! Thank you in advance, Mathew Stahl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freeBSD 6.1 how to setup network file sharing on my home network between a win xp box and my BSD Laptop
Install it using ports (read the handbook). On 26 September 2006, at 09:51, Mathew Stahl wrote: Hi, I am a BSD newbie. I have used linux for years from Redhat 7.0 to 9.0 and SuSE 9.1 to 10.1. I was able to setup samba very easily on redhat 9.0 and below but could never get it to work on SuSE and I just installed FreeBSD 6.1 on my dell laptop and I am wondering if any one has any tips on how to set it up (correctly) so I can share files between my win xp Desktop and my BSD laptop over a wireless network connection. Anyhelp would be greatly appreciated!! Thank you in advance, Mathew Stahl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" -- hackmiester (Hunter Fuller) yknow when you go to a party, and everyones hooked up except one guy and one girl and so they look at each other like.. do we have to? intel & nvidia must be lookin at each other like that right now Phone Voice: +1 251 589 6348 Fax: Call the voice number and ask. Email General chat: [EMAIL PROTECTED] Large attachments: [EMAIL PROTECTED] SPS-related stuff: [EMAIL PROTECTED] IM AIM: hackmiester1337 Skype: hackmiester31337 YIM: hackm1ester Gtalk: hackmiester MSN: [EMAIL PROTECTED] Xfire: hackmiester ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem installing on i386
On Tue, Sep 26, 2006 at 11:09:05AM +0200, Desmond Coughlan wrote: > Hi, > I hope that I'm not sending this to the wrong list, or that the question > hasn't already been answered. > > I'm trying to install 6.1-RELEASE onto a Pentium-3. > > I had a lot of trouble creating the diskettes, but after changing the > floppy drive, no problem. Now, when I do the install, I have two hard > drives, and configure them as follows... > > disk0 > 150M / > 512M /etc > 512M /etc > 512M /var > 1024M /bin > 4096M /usr > 1024M swap > > disk1 > 4096M /forums > 4096M /mail > 4096M /sql > 1024M swap > > I go through the installation, via ftp, and then set the root password. > Oh, and the 'FreeBSD boot manager' is the option I choose, when configuring > the disks. This exact same question and situation was on the list about a week ago from someone else. You should check out recent archives. Anyway, my guess was that you must not make /etc a separate file system. It should remain as part of / (root). When the installation is going on, the system is really working from a different root and kernel and everything - one from the floppy or CD or in a 'memory' file system. That includes a special separate /etc directory. After the install, when the system is booting, it first mounts only root in a special Read Only state. It takes a wild guess that root is in partition 'a' of the boot slice - which is required so it is a true guess. But, then it tries to do a remount rw and to read /etc/fstab and maybe some other files to find out what to do for the rest of the boot, but since only root is mounted, it cannot find /etc/fstab because /etc is not mounted. So, you need to leave etc as part of root. This was initially a shot in the dark suggestion by me when this problem was posted a week ago, but the previous poster with that problem wrote back and said redoing the partitioning without a separate /etc solved the problem for him. So, my suggestions on the above are to get rid of the separate /etc partitions and to increase your /var to at least double. I also noted that you have '/etc' listed twice, but I was assuming that is a typo. If not, well, you can't do that - have two partitions mounted at the same mount point - at least not and still make use of both of them. jerry ps. You do not need 512 MB for /etc. Mine uses up only about 1.6 MB > > When I reboot, this is what I see ... > > Manual root filesystem specification > : Mount using filesystem eg > ufs:da0s1a > ? List valid disk boot devices >Abort manual imput > > ... and that's it. > > Nothing else. The machine just sits there. > > Is there something I've missed ? We've tried the same install on three > different machines, using three different motherboards, and four different > hard drives. Something is wrong, either with the installation media, or else > with our method of going about it. Oh, and I tried installing 5.5 on the > same machines, with the same result. > > FreeBSD rocks; I've used it for a long time on many different machines, and > this is the first time that this has happened. > > Could someone suggest a solution? The people with whom I'm installing > this, are starting to whisper the word 'Linux', and it's giving me > nightmares :( > > Thanks. > > D.C > > > > - > D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le > sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos > opinions et vos exp?riences. Cliquez ici. > ___ > 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: problem installing on i386
On Tue, Sep 26, 2006 at 11:09:05AM +0200, Desmond Coughlan wrote: > Hi, > I'm trying to install 6.1-RELEASE onto a Pentium-3. > > I had a lot of trouble creating the diskettes, but after changing the > floppy drive, no problem. Now, when I do the install, I have two hard > drives, and configure them as follows... > > disk0 > 150M / > 512M /etc > 512M /etc > 512M /var > 1024M /bin > 4096M /usr > 1024M swap > > disk1 > 4096M /forums > 4096M /mail > 4096M /sql > 1024M swap > > I go through the installation, via ftp, and then set the root password. > Oh, and the 'FreeBSD boot manager' is the option I choose, when configuring > the disks. > > When I reboot, this is what I see ... Oh, I just noticed you did that with /bin too. That must be left as part of root as well. It contains binaries that the system may/will need to use during the boot process or when the system is in single user mode and only root is mounted. So, also leave /bin in root. Also, /bin doesn't need to be nearly that big. Mine uses up only 900 KB of space - that is Kilo bytes, not even megabytes. No other installs put things in /bin. It is reserved for those essential binaries for minimal service while bringing up or fixing a problem with a system. /sbin, /usr/bin, /usr/sbin and /usr/local/bin and /usr/local/sbin are where other things get installed. See 'man hier' for a more complete description on how the directory structure is laid out and used in FreeBSD. So, don't reserve space for /bin. Give that extra GByte to either /var or /usr. jerry > Manual root filesystem specification > : Mount using filesystem eg > ufs:da0s1a > ? List valid disk boot devices >Abort manual imput > > ... and that's it. > > Nothing else. The machine just sits there. > > Is there something I've missed ? We've tried the same install on three > different machines, using three different motherboards, and four different > hard drives. Something is wrong, either with the installation media, or else > with our method of going about it. Oh, and I tried installing 5.5 on the > same machines, with the same result. > > FreeBSD rocks; I've used it for a long time on many different machines, and > this is the first time that this has happened. > > Could someone suggest a solution? The people with whom I'm installing > this, are starting to whisper the word 'Linux', and it's giving me > nightmares :( > > Thanks. > > D.C > > > > - > D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le > sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos > opinions et vos exp?riences. Cliquez ici. > ___ > 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: dovecot port not compiling with mysql support
Martin Hudec wrote: > Hello all, > > > as I am experiencing serious performance degradation while using dovecot > (extremely high cpu usage), I've tried to recompile it without kqueue > support as it seems to be the root cause (this issue is being solved in > dovecot maillist), but I am getting error while wanting to compile with > MySQL support in driver-mysql.c (please see below for more information). > > Is there someone experiencing the same issue? Or should I file pr? i believe they just checked in an update to rc7 for dovecot with the fix for high kqueue loads yesterday. Update your ports tree and you should see it. The check in notes specifically mentioned the kqueue fix. as to the MySQL, not sure there as i dont use it with dovecot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
X11 clipboard problems
Hello, - I have the following problem: box1 : FreeBSD 6.2-BETA with Xorg box2 : FreeBSD 4.11 with XFree 4.3 When I ssh from box1 into box2 using X11Forwarding and launch an application, for example Mozilla, on box2, I cannot copy and paste between the applications running on box1 and the application(s) running on box2. The clipboard just doesn't work. (AFAIK I have never encountered this problem before, but I will try this with one of my old SparcStations soon.) A search on Google revealed that this has happened to a few people on non-BSD systems, too; but I could not find any information on how to solve this, nor any work-around. Any tips or hints? Greetings, Martin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ezjails, jails
Hi On Sep 26, 2006, at 8:40 AM, Don Munyak wrote: re: ezjails, jails Hopefully a quick question. I am researching using EZJails from http://erdgeist.org/arts/software/ezjail/ But a little confused by the jail concept. I think I need to setup two jails, one(1) for email services and one(1) for www services, on a single server. That will work q. If I am running a webserver for more than one(1) domain, should I be using a single jail for each domain, or is one jail needed for 'ALL' www processing ? Up to you. Each jail requires its own IP address. There are things that people do with jails with private IPs and packet forwarding and stuff, but to keep it simple, consider that each jail needs an IP address (public). If you have lots of them, and if each domain is something someone else runs, or is based on totally different SW, then you might consider separating them. If you own and run each domain and they use a similar SW menu, then you may just run them out of one jail using apache virtual hosts. q. If I am using a jail for each domain, does this imply loading apache+php+mysql, for each www jail ? Yes. There are ways to share but until you are comfortable with jails and what you are doing, it is easier to just load each one up separately. We run a ton of jails, one for each customer, and we share SW across them in our own "/usr/public" read only area with each jail having its own /usr/local/etc but to get it to work requires some configuration work and understanding how it all works and some other trickery... q. Likewise with email and multiple domains, does multiple domains = multiple email jails, as well as multiple copies of smtp, pop3, webmail ?? You could but in most cases there is no reason to do that. Run them all in 1 jail using one set of SW. Set up your SMTP server to support multiple domains (I recommend exim). q. Email and WWW services both require MySQL. Would I be installing MySQL 'x' number of times? Depends on how the SW accesses mysql but you can run multiple mysql DBs out of one installation... Chad What I want to do is he following: We are a small company, so email traffic is minial..ie. less than 500 messages per day. Likewise, www traffic is also minimal. I want to build a single server to be located at a co-location facility. This server would support both email and www services. The email services would be built using instructions from http://www.tnpi.biz/internet/mail/toaster.shtml ...that being stuff like qmail, RBL, spamassassin, clamav...etc We have 5 separate domains for email services The www services would be functionally similiar to LAMP We have 5 separate domains for www I would greatly appreciate any links or advice towards achiving my goals. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net
HP DL380 G5
Hi, Did someone already test freeBSD on the new Hewlett Packard DL380 G5 Servers with 2 or more CPUs in it? cheers Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ezjails, jails
re: ezjails, jails Hopefully a quick question. I am researching using EZJails from http://erdgeist.org/arts/software/ezjail/ But a little confused by the jail concept. I think I need to setup two jails, one(1) for email services and one(1) for www services, on a single server. q. If I am running a webserver for more than one(1) domain, should I be using a single jail for each domain, or is one jail needed for 'ALL' www processing ? q. If I am using a jail for each domain, does this imply loading apache+php+mysql, for each www jail ? q. Likewise with email and multiple domains, does multiple domains = multiple email jails, as well as multiple copies of smtp, pop3, webmail ?? q. Email and WWW services both require MySQL. Would I be installing MySQL 'x' number of times? What I want to do is he following: We are a small company, so email traffic is minial..ie. less than 500 messages per day. Likewise, www traffic is also minimal. I want to build a single server to be located at a co-location facility. This server would support both email and www services. The email services would be built using instructions from http://www.tnpi.biz/internet/mail/toaster.shtml ...that being stuff like qmail, RBL, spamassassin, clamav...etc We have 5 separate domains for email services The www services would be functionally similiar to LAMP We have 5 separate domains for www I would greatly appreciate any links or advice towards achiving my goals. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE : Re: problem installing on i386
Fanastic... the thing was staring me in the face all along! I shan't be able to try another install until tomorrow morning, but I have a feeling that you guys have put your finger on the problem!! Thanks! D. - Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: calendar
Michael S <[EMAIL PROTECTED]> writes: > Where does one get an updated calendar.judaic? Mine seems to be out of sync. Nobody's maintaining that file these days. Because the holidays are scheduled on a whole different calendar, they need to be recalculated every year. A tool that actually understands the Hebrew calendar would avoid this problem to some extent; see the calendar functions in emacs for an example. Please feel free to submit the annual updates for the file... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem installing on i386
Desmond Coughlan wrote: Hi, I hope that I'm not sending this to the wrong list, or that the question hasn't already been answered. This is the right list. If you want to know if something similar has been answered before then try searching the archives which you can find from www.freebsd.org or just try google on freebsd plus some relevant keywords. I'm trying to install 6.1-RELEASE onto a Pentium-3. I had a lot of trouble creating the diskettes, but after changing the floppy drive, no problem. Now, when I do the install, I have two hard drives, and configure them as follows... disk0 150M / 512M /etc 512M /etc 1024M /bin /etc and /bin cannot be separate filesystems. What made you think this was sensible? I barely use 150Mb for / + /etc +/bin and only because I seem to have kept about 6 different kernels :-) So using 512Mb for / including /etc would be fine and leave lots of space. Even 128Mb would do given the apparent smallness of your disks. Honestly, your whole partitioning scheme looks odd to me. 4096M /forums 4096M /mail 4096M /sql With small disks why split the space up like this at all? Dump everything into one extra partition e.g. /home and make directories for mail sql and forums under that. Then it doesn't matter which of these ends up growing the largest - they all have the benefit of having as much expansion space as possible and space doesn't get wasted when one of your partitions sits at 5% full while the others grow to 90% full, for example. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to load iwi firmware at boot time
Hello, I have an Acer TravelMate 4060 laptop with FreeBSD 6.1 running on it. I have Intel(R) PRO/Wireless 2200BG wireless network card which I use successfully. I have the following iwi related entries in rc.conf: ## Intel Wireless Adapter settings iwi_enable="YES" iwi_interfaces="iwi0" iwi_mode="bss" ifconfig_iwi0="ssid DHCP" This used to bring up my iwi0 interface at boot time and I had a working internet connection after the machine had booted. However, this morning I did "make world" (attaching cvsup files for the kernel and ports for completeness). The iwi firmware was not loaded at boot time and the following messages are given: $ dmesg | grep iwi iwi0: mem 0xb0101000-0xb0101fff irq 17 at device 4.0 on pci6 iwi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xb0101000 iwi0: bpf attached iwi0: Ethernet address: 00:13:ce:0c:45:a1 iwi0: bpf attached iwi0: bpf attached iwi0: [MPSAFE] iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps iwi0: Please load firmware I have to manually load the firmrare invoking the following commands as root: # iwicontrol -i iwi0 -d /boot/firmware -m bss # ifconfig iwi0 up Could you please advise me how I can load automatically the firmware during boot time? Regards Ivan P.S. Here is the output of uname -a: FreeBSD . 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Tue Sep 26 13:13:00 EEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 -- Tangra Mega Rock: http://www.radiotangra.com cvsupfile Description: Binary data portsupfile Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mount_msdosfs 240G
Hello I have a problem with mounting big fat32 partition. - % mount_msdosfs /dev/ar0s1 /mnt mount_msdosfs: /dev/ar0s1: Invalid argument - in syslog: kernel: mountmsdosfs(): disk too big, sorry where I mistaken? Thanks, sanya FreeBSD 6.1-RELEASE-p7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem installing on i386
Erik Norgaard wrote: Don't create a separate /bin and /etc partition, there is no need, and 512M is far sufficient for both /, /etc and /bin. I would guess the problem is that when you boot / is mounted, but no rc script is found as it is in /etc, as well as the fstab with info on what to mount where. Further, all the startup scripts are shell scripts and requires /bin/sh - including mountcritlocal that mounts your partions. Obviously this work because /bin is not mounted. ^ insert "won't" here. -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
problem installing on i386
Hi, I hope that I'm not sending this to the wrong list, or that the question hasn't already been answered. I'm trying to install 6.1-RELEASE onto a Pentium-3. I had a lot of trouble creating the diskettes, but after changing the floppy drive, no problem. Now, when I do the install, I have two hard drives, and configure them as follows... disk0 150M / 512M /etc 512M /etc 512M /var 1024M /bin 4096M /usr 1024M swap disk1 4096M /forums 4096M /mail 4096M /sql 1024M swap I go through the installation, via ftp, and then set the root password. Oh, and the 'FreeBSD boot manager' is the option I choose, when configuring the disks. When I reboot, this is what I see ... Manual root filesystem specification : Mount using filesystem eg ufs:da0s1a ? List valid disk boot devices Abort manual imput ... and that's it. Nothing else. The machine just sits there. Is there something I've missed ? We've tried the same install on three different machines, using three different motherboards, and four different hard drives. Something is wrong, either with the installation media, or else with our method of going about it. Oh, and I tried installing 5.5 on the same machines, with the same result. FreeBSD rocks; I've used it for a long time on many different machines, and this is the first time that this has happened. Could someone suggest a solution? The people with whom I'm installing this, are starting to whisper the word 'Linux', and it's giving me nightmares :( Thanks. D.C - Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Limit p2p with pf n altq
> also how to limit some ip not port with pf . you set up your queues, then assign traffic to them via your pass rules. Your pass rules can use whichever criteria you like, ie altq on $ext_if cbq bandwidth 10Mb queue { def, mostofmybandwidth, notalot } queue def bandwidth 20% cbq(default borrow red) queue mostofmybandwidth 77% cbq(default borrow red) { most_lowdelay, most_bulk } queue most_lowdelay priority 7 queue most_bulk priority 7 queue notalot 3% cbq [...] block all pass from $localnet to any port $allowedports keep state queue mostofmybandwidth pass from $iptostarve to any port $allowedports keep state queue notalot - you get the idea. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales" 20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_msdosfs 240G
On 26/09/06, sanya <[EMAIL PROTECTED]> wrote: Hello I have a problem with mounting big fat32 partition. - % mount_msdosfs /dev/ar0s1 /mnt mount_msdosfs: /dev/ar0s1: Invalid argument - in syslog: kernel: mountmsdosfs(): disk too big, sorry where I mistaken? I had a similar problem when trying to mount a 180G USB drive. Recompiling my kernel with the MSDOSFS_LARGE option allowed me to mount the drive. HTH, Al -- WWW: http://ajs.no-dns-yet.org.uk GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problem installing on i386
Desmond Coughlan wrote: Hi, I hope that I'm not sending this to the wrong list, or that the question hasn't already been answered. I'm trying to install 6.1-RELEASE onto a Pentium-3. I had a lot of trouble creating the diskettes, but after changing the floppy drive, no problem. Now, when I do the install, I have two hard drives, and configure them as follows... disk0 150M / 512M /etc 512M /etc 512M /var 1024M /bin 4096M /usr 1024M swap disk1 4096M /forums 4096M /mail 4096M /sql 1024M swap I go through the installation, via ftp, and then set the root password. Oh, and the 'FreeBSD boot manager' is the option I choose, when configuring the disks. When I reboot, this is what I see ... Manual root filesystem specification : Mount using filesystem eg ufs:da0s1a ? List valid disk boot devices Abort manual imput ... and that's it. Nothing else. The machine just sits there. Is there something I've missed ? We've tried the same install on three different machines, using three different motherboards, and four different hard drives. Something is wrong, either with the installation media, or else with our method of going about it. Oh, and I tried installing 5.5 on the same machines, with the same result. FreeBSD rocks; I've used it for a long time on many different machines, and this is the first time that this has happened. Could someone suggest a solution? The people with whom I'm installing this, are starting to whisper the word 'Linux', and it's giving me nightmares :( Don't create a separate /bin and /etc partition, there is no need, and 512M is far sufficient for both /, /etc and /bin. I would guess the problem is that when you boot / is mounted, but no rc script is found as it is in /etc, as well as the fstab with info on what to mount where. Further, all the startup scripts are shell scripts and requires /bin/sh - including mountcritlocal that mounts your partions. Obviously this work because /bin is not mounted. A common partioning would be / swap /var /usr /home /tmp You want that /tmp partition because any disk errors on in /tmp are not fatal, but if it's on the / partition then you may have a system unable to boot. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dummynet Question
On Tuesday 26 September 2006 05:00, Sushant Sharma wrote: > Hi all, > I have installed dummynet on a machine-2 which I am using to introduce > delay between the packets that I'll be sending from machine-1 to machine-3. > I am using ping to confirm that ICMP/TCP packets are getting delayed. I > know both UDP/TCP fall under ip, so UDP packets should also be getting > delayed but just to confirm, do you guys know of any utility that I can use > to check if UDP packets are also getting delayed. Use traceroute. Or you could run tcpdump on both ingress and egress interfaces and check the timestamps. netcat can send udp packets, bash can(if it's built this way) cat >/dev/udp/192.168.0.1/snmp for example Or you could simply trust dummynet/ipfw. They work:) HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Limit p2p with pf n altq
Dear all any one here have some sample script to limit connection for p2p ( edonkey , kazza , etc ) with pf also how to limit some ip not port with pf . sory if my question so newbie thx My Regard's SONJAYA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Missing cd0 device node
Hi all, In the course of various screwing around with my ATAPI CDROM device (including some dvd ripping and playing that got aborted at odd moments), I got the following messages: Sep 25 20:50:07 vulcan kernel: acd0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly Sep 25 20:50:07 vulcan kernel: acd0: timeout waiting to issue command Sep 25 20:50:07 vulcan kernel: acd0: error issuing SETFEATURES SET TRANSFER MODE command Sep 25 20:50:07 vulcan kernel: acd0: TIMEOUT - REQUEST_SENSE retrying (1 retry left) Sep 25 20:50:18 vulcan kernel: acd0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly Sep 25 20:50:18 vulcan kernel: acd0: timeout waiting to issue command Sep 25 20:50:18 vulcan kernel: acd0: error issuing ATA PACKET command Sep 25 20:50:18 vulcan kernel: acd0: TIMEOUT - REQUEST_SENSE retrying (0 retries left) Sep 25 20:50:29 vulcan kernel: acd0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly Sep 25 20:50:29 vulcan kernel: acd0: timeout waiting to issue command Sep 25 20:50:29 vulcan kernel: acd0: error issuing ATA PACKET command Sep 25 20:50:29 vulcan kernel: acd0: FAILURE - REQUEST_SENSE timed out Sep 25 20:50:29 vulcan kernel: (cd0:ata0:0:0:0): lost device Sep 25 20:50:29 vulcan kernel: (cd0:ata0:0:0:0): removing device entry Sep 25 20:50:29 vulcan kernel: (probe0:ata0:0:0:0): Lost target 0??? Sep 25 20:50:45 vulcan kernel: acd0: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly Sep 25 20:50:45 vulcan kernel: acd0: timeout waiting to issue command Sep 25 20:50:45 vulcan kernel: acd0: error issuing ATA PACKET command Sep 25 20:50:45 vulcan kernel: acd0: FAILURE - TEST_UNIT_READY timed out I also have atapicam in use for DVD burning, and I now find that /dev/cd0 is missing, and I can't figure out how to get it back. "camcontrol rescan all" completes successfully, and I have vulcan# camcontrol devlist at scbus1 target 0 lun 0 () But I can't seem to do anything with the device: vulcan# camcontrol inquiry cd0 camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed cam_lookup_pass: No such file or directory cam_lookup_pass: either the pass driver isn't in your kernel cam_lookup_pass: or cd0 doesn't exist vulcan# camcontrol inquiry 1:0 camcontrol: cam_open_btl: no passthrough device found at 1:0:0 All the relevant devices are in my kernel, and always have been: # ATA and ATAPI devices device ata device atadisk # ATA disk drives #device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering device atapicam# emulate ATAPI devices as SCSI ditto via CAM # needs CAM to be present (scbus & pass) # SCSI Controllers # SCSI peripherals device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers device da # Direct Access (disks) #device sa # Sequential Access (tape etc) device cd # CD device pass# Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) I also tried restarting /etc/rc.d/devfs and devd without effect, as well as "cdcontrol reset", and "camcontrol reset all". Any suggestions on how to recover my cd0 device so I can use it again? I suspect rebooting would fix it, but I would rather avoid rebooting this machine as it handles a number of important tasks. Thanks in advance. I'd appreciate a personal CC on any replies, if convenient, so I don't miss them in my digest. -- Nate Eldredge [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
KDE and libflashplayer - help?
I've followed the instructions at http://freebsd.kde.org/howtos/konqueror-flash.php. libmap.conf contains: [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] libpthread.so.0 libpthread.so.2 libdl.so.2 pluginwrapper/flash7.so libz.so.1 libz.so.3 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash7.so And (having looked through this list's archives) ln -s /usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt /usr/X11R6/lib/firefox/plugins/flashplayer.xpt But konqueror doesn't see a plugin either in the /usr/X11R6/lib/linux-flashplugin7/ or /usr/local/lib/npapi/linux-flashplugin/ folders. Firefox does nothing. And there I am stuck. What am I doing wrong? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Creating New Users over Telnet/SSH
You can gather the information with a shell script and send the arguments to pw which you can run via sudo. However you will need to replace the normal process running the login (telnetd or sshd) and pass the login information to that daemon or create a new user depending on the input data. -Derek At 12:38 AM 9/26/2006, John Cruz wrote: So a friend of mine is interested in creating a FreeBSD telnet/SSH box for people in his networking class to screw with. He said he wants to do something like what happens when you telnet into sdf.*lonestar.org *and if you're a new user you just type new and go from there, but I've never done this or looked into it, so I was wondering if any of you had any ideas on how to do this. Basically, User telnets to the server. if they have a username and password, they put it in. If they don't, then they are taken to a place where they can create a new account (on lonestar, it says it's taking you to a "NEWUSER mkacct server" to do this then asks me to put in FEP commands for creating shell accounts) It gives you the options and disclaimer and such and you have to agree then choose a username. Then it asks you more questions like zip code and password and such and it finally creates your user account, you can then log in to the system. Lonestar is using netBSD, we are going to use FreeBSD 6.1 Any info on how to accomplish this is greatly appreciated. -John Cruz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"