Why scf (sfcd) monitoring sometimes doesn't work
Hello, I found fsc (http://www.freshports.org/sysutils/fsc/) to be extremely useful. Unfortunately, I can't get some services to be monitored, fscadm enable just failes with Could not monitor service. I don't know how kqueue interaction is working, so I can't guess why some services can be monitored fine and others not. How can I start finding out what goes wrong? How does the rc-name play into that role? Thanks, -Harry signature.asc Description: OpenPGP digital signature
Why fsc (fscd) monitoring sometimes doesn't work [Was: Re: Why scf (sfcd) monitoring sometimes doesn't work]
schrieb Harald Schmalzbauer am 14.02.2013 13:34 (localtime): Hello, I found fsc (http://www.freshports.org/sysutils/fsc/) to be extremely useful. Unfortunately, I can't get some services to be monitored, fscadm enable just failes with Could not monitor service. I don't know how kqueue interaction is working, so I can't guess why some services can be monitored fine and others not. How can I start finding out what goes wrong? How does the rc-name play into that role? Sorry for the ugly typo in the topic! signature.asc Description: OpenPGP digital signature
Re: setting MIBs on a per jail bases
schrieb Fbsd8 am 06.02.2013 17:57 (localtime): Fleuriot Damien wrote: Running 8.3 here and the answer is no. On Feb 6, 2013, at 5:39 PM, Fbsd8 fb...@a1poweruser.com wrote: Is there a way to set these MIBs on a per jail bases? allow.mount.nullfs allow.raw_sockets cpuset.id securelevel Rereading the man jail for 9.1 talks about securelevel as a jail parammeter. So correct me if I an wrong. All the security.jail.param.* MIBs are set in rc.conf or /etc/jail.conf file on a per jail bases by changing the word parm to the jailname? This applies to jail.conf(5). That's a entirely new way to handle jails in FreeBSD 9.1. Very nice, but not included in rc.d. If you want to keep the traditional way running jails, I made a patch some time ago to control more per-jail tunables. Here you can donwload it for -9: ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools/local-patches/src/jail-allow-selectables.patch_9 That also irons some ip configuration cosmetics, see defaults/rc.conf. If you want to give the new jail(8) and jail.conf capabilities a try, here's like I use it with vnet (vimage, virtual per-jail-network stack): Compile a kernel with options VIMAGE remove # keyword nojail in jail's etc/rc.d/netif and routing (if you want to set IP addresses inside the jail) And here's the corresponding jail.conf: ### exec.start = /bin/sh /etc/rc; exec.stop = /bin/sh /etc/rc.shutdown sleep 2; exec.clean; allow.mount; allow.mount.devfs; allow.set_hostname; mount.devfs; devfs_ruleset=4; # Dynamic wildcard parameter: # Base the path off the jail name. path = /.jail.$name; mount.fstab=/etc/fstab.$name; yourname { mount; name = inno; # host.hostname = .your hostname.net; but also set inside the jail along with network setup vnet = new; vnet.interface = jbb$name; } ### You can add allow.raw_sockets anywhere. But with vnet, you don't need that any more. Just to point you into the right direction. -Harry signature.asc Description: OpenPGP digital signature
Re: setting MIBs on a per jail bases
schrieb Harald Schmalzbauer am 14.02.2013 14:18 (localtime): schrieb Fbsd8 am 06.02.2013 17:57 (localtime): Fleuriot Damien wrote: Running 8.3 here and the answer is no. On Feb 6, 2013, at 5:39 PM, Fbsd8 fb...@a1poweruser.com wrote: Is there a way to set these MIBs on a per jail bases? allow.mount.nullfs allow.raw_sockets cpuset.id securelevel Rereading the man jail for 9.1 talks about securelevel as a jail parammeter. So correct me if I an wrong. All the security.jail.param.* MIBs are set in rc.conf or /etc/jail.conf file on a per jail bases by changing the word parm to the jailname? This applies to jail.conf(5). That's a entirely new way to handle jails in FreeBSD 9.1. Very nice, but not included in rc.d. If you want to keep the traditional way running jails, I made a patch some time ago to control more per-jail tunables. Here you can donwload it for -9: ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools/local-patches/src/jail-allow-selectables.patch_9 That also irons some ip configuration cosmetics, see defaults/rc.conf. See also http://docs.freebsd.org/cgi/getmsg.cgi?fetch=686783+0+archive/2010/freebsd-stable/20100704.freebsd-stable -Harry signature.asc Description: OpenPGP digital signature
multiple ACEs with the same ACL qualifier
Hello, I'd like to duplicate the following ACL: # file: /data/shared/ # owner: harry # group: harry group:1stgroup:r-x---a-R-c--s:fd:allow group:2ndgroup:rwxp--a-R-c--s:-d:allow group:2ndgroup:D-:-d:deny group:2ndgroup:r-a-R-c--s:f-i---:allow owner@:rwxpDdaARWcCos:fd:allow group@:r-xp--a-R-c--s:fd:allow everyone@:--:fd:allow So there are two group:2ndgroup:::allow entries. While it's annoying that I can't modify one specific of these with -m (both get altered without warning/confirmation reques), I also can't use -M to apply it read from file. Are there any workarrounds? Intention is to make sure newly created files can only be deleted/altered by owner, while two other groups need to access files and directories read-only, but one of them also needs write access. But must'nt delete foreign files/directories. Never had so many problems applying real-world needs... Done such setup hundred times without effort, but on other FS... Thanks, -Harry signature.asc Description: OpenPGP digital signature
MTU, fragmentation and Jumbo Frames question
Hello all, I have 3 machines connected to an JumboFrame enabled switch. One FreeBSD 8-stable and two windows machines. I can send echo requests with payload of 8972 between the windows machines, but I don't get an answer from the FreeBSD machine. At the edge of 8130 bytes, the FreeBSD machine eats the packets without any error notification. A payload = 8130 bytes works! All MTUs are set to 9000, interfaces are all intel em. Like mentioned, the ping between the two windows machines work like expected, beyond 8972 bytes payload the OS is fragmenting (resp. tells me that DF bit was set but fragmentation was needed) FreeBSD seems to never fragment packets, since I don't get an answer if I define payload greater than MTU. But this should work, shouldn't it (`ping -s 1 host`) Does anybody have any explanation why pings are working up to 8130 bytes payload and are silently droped beyond that even my MTU ist set to 9000 (and route get confirms the MTU 9000)? Thanks for any help, -Harry signature.asc Description: OpenPGP digital signature
Re: MTU, fragmentation and Jumbo Frames question
Ilya Zhuravlev schrieb am 09.02.2010 13:22 (localtime): On 09.02.2010 20:12, Harald Schmalzbauer wrote: Hello all, I have 3 machines connected to an JumboFrame enabled switch. One FreeBSD 8-stable and two windows machines. I can send echo requests with payload of 8972 between the windows machines, but I don't get an answer from the FreeBSD machine. At the edge of 8130 bytes, the FreeBSD machine eats the packets without any error notification. A payload = 8130 bytes works! All MTUs are set to 9000, interfaces are all intel em. Like mentioned, the ping between the two windows machines work like expected, beyond 8972 bytes payload the OS is fragmenting (resp. tells me that DF bit was set but fragmentation was needed) FreeBSD seems to never fragment packets, since I don't get an answer if I define payload greater than MTU. But this should work, shouldn't it (`ping -s 1 host`) Does anybody have any explanation why pings are working up to 8130 bytes payload and are silently droped beyond that even my MTU ist set to 9000 (and route get confirms the MTU 9000)? kern/143285 but ifconfig em0 -rxcsum is enough for me. Thanks, but disabling any sum offloading doesn't change anything. Still, I wonder why FreeBSD doesn't fragment packets if they're too large. Thanks, -Harry signature.asc Description: OpenPGP digital signature
getting program.core, where and how?
Hello, I have a daemon (compiled with -g) which is dying frequently, but I can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry signature.asc Description: OpenPGP digital signature
Re: getting program.core, where and how?
Matthias Apitz schrieb am 18.11.2009 16:59 (localtime): El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Core will be written to the working directory and not to the directory where the binary comes from. With ulimit(1) you can set the core file size, even to zero, and you can ask for the actual value. Thanks for the answer, that's what I assumend ;) But how can i find out what the working directory is? Thanks, -Harry signature.asc Description: OpenPGP digital signature
Re: getting program.core, where and how?
Adam Vande More schrieb am 18.11.2009 16:52 (localtime): On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: ... How can I find out what the working directory of the binary is? I guess the problem is missing write permissions there. Thanks, -Harry procstat -f pid Ahh :) Thanks a lot! -Harry signature.asc Description: OpenPGP digital signature
Re: PAM/ldap_pam/NFSv4: How let users of a speicific group log into a specific box?
O. Hartmann schrieb am 27.04.2009 09:48 (localtime): ... This is what I wish to get and need: A simple capability of selecting users into a specific group. Members of such a group should then log into a set of specific hosts. Infrastructure is FreeBSD 8.0-CURRENT/amd64 and some 7.2-STABLE boxes (acting as server) as well as OpenLDAP backend. I've done something similar with specifying allowed hosts per user with pam_ldap required for account. Let me know if this was an option for you. Regards, -Harry signature.asc Description: OpenPGP digital signature
group credentials cache in X11-session (xfce4, gdm) question
Hello, I'm wondering why and how it comes that after altering /etc/groups `id` doesn't give me the additional group, while `id harry` does. If I quit my X session and relogin it works as expected. Does gdm cache credentials? Hard to find useful documentation for gdm... Thanks in advance, -Harry signature.asc Description: OpenPGP digital signature
EFI booting amd64
Hello, I successfully used /boot/gptboot for booting my GPT based installation on a BIOS standard PC. Now I'd like to make use of the great EFI system on my Intel Server (amd64, not ia64!). How does the EFI system find/boot any loader? I created a EFI System partition on my GPT disk. On the BIOS based machine I created a freebsd-boot partition instead and installed gptboot. But how can I boot with EFI? Thanks, -Harry signature.asc Description: OpenPGP digital signature
Re: SMBus is there, now what? (fan speed problem)
Am Freitag, 23. November 2007 16:29:45 schrieb Olivier Drouin: I read http://mojo.ru/us/GSoC2007.FreeBSD.cnst-sensors.proposal.html and it looks like this is what I need though I'm not sure. It's not clear if this patch will allow me to *control* the fan speed. Right now it's full speed all the time and if I can slow them down I would be happy. Can this patch be applied to 6.2? I can't remember mbmon commands, sorry. Too long ago... I guess the patch will only work with 7.0 and 8-current (http://p4web.freebsd.org/@md=dcd=//depot/projects/soc2007/cnst-sensors/c=R96@//depot/projects/soc2007/cnst-sensors/?ac=83) I think this board is 2 years old, it should have been supported by now, at least the fan speed should follow the temperature of the system Again it's an Intel server board se7230nh1-e (entry level server hardware). I know that intel had their own monitors, I couldn't find a way to make it usable some years ago. If I remember correctly I had to satisfy with hw.acpi.thermal.tz0.temperature Best regards, -Harry signature.asc Description: This is a digitally signed message part.
Re: SMBus is there, now what? (fan speed problem)
Am Donnerstag, 22. November 2007 15:58:18 schrieb Olivier Drouin: [...] * Hardware Information * Unknown Vendor: ID = 7F7F [...] What should I try next ? Afair healthd never really supported anything else than very old Winbond monitors. You can try the GSoC2007: cnst-sensors.2007-08-20 patch which imports the OpenBSD sensors framework and has great support for the most commonly two modern chipsets used (it(4), lm(4)). It's a quiet big modification though. See [EMAIL PROTECTED] archives for the announcement from Constantine A. Murenin on 2007/08/14. If you have an ASUS chances are good that mbmon helps. I had more luck with it instead of healthd. Best regards, -Harry signature.asc Description: This is a digitally signed message part.
Re: KDE translucent fails after upgrade
Am Mittwoch, 21. November 2007 08:30:34 schrieb Alain G. Fabry: Hello, I've portupgraded my xorg and kde, after this my kde translucent settings don't work anymore and I receive a 'composite manager failed' while logging in. I'm having the same problem since I upgraded but hasn't had the mood to dig further what the culprit is. Are you using the nvidia (non-open-source) driver? I suspected that but haven't verified. If not it has to be something KDE-XORG specific. Best regards, -Harry signature.asc Description: This is a digitally signed message part.
Re: disk drive serial number
Am Montag, 12. November 2007 01:54:33 schrieb Josh Carroll: That's the _model_ number, not the _serial_ number, yes? Oops. Indeed. I misread the question. :/ I'm still missing the hint for 'diskinfo -v ad0' ! Isn't it well known? Best regards, -Harry signature.asc Description: This is a digitally signed message part.
Re: Mentor for C self study wanted
Am Donnerstag, 25. Oktober 2007 20:22:26 schrieb Aryeh M. Friedman: Absolutely. (I just didn't mention it before because obviously Harald already has a beginner's book on the C programming language.) Herald does in fact have one that sucks (it does a terrible job on type sizes for example [doesn't mention that they may very on different Well, probably it's not that bad. First, thanks to all for your help. KR has been laying arround here for at least 2 years. I hated it. It instructs me to use functions like printf without explaining it, and the examples are not really motivating. So every time I tried to write something on my own I was stoped by the simple printf, for example. I'm sure it's a very good book as a reference, but it couldn't motivate me as a real C beginner (not a bloody programming beginner though). So I bought two new books, the first, which I've started with, is Markt+Technik, jetzt lerne ich C (ISBN-13 978-3-8272-4210-5). Indeed, it hasn't made clear that short and int are different, they just explained short and long (and double long) and I thought short is a synonym for int. But it explains in some short sentences the most important behaviour/requirements for the functions we use. It still leaves me alone when it comes to compilers, but after only three evenings so far I think that I made real progress. Writing a simple practice just works :) And I already know that float x; x=10/3 is 3 not 3.. I can't remember reading that in the KR in the first quarter of the book. I'm still quiet happy with it. The next book is O'Reillys C in a nutshell (ISBN 3-89721-344-3). I'll open it if I have structs and pointers practiced... And of course I'll replay the KR if I have some more basics. Thanks, -Harry machines])... since he is paying me a small amount to help him in detail I am going to recommend KR to him (with the caution is is meant for experienced programmers) -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 signature.asc Description: This is a digitally signed message part.
Mentor for C self study wanted
Hello, I'm abaout to learn C (really learn it, not just to be able to tinker arround with). So I bought a book which has some practices in each chapter. Now I wrote the little programs and they were almost correct, but the things going wrog aren't explained in that book. Probably it has to do with the compiler, at least it was the case in one example. So I wanted to ask if somebody could be so kind and answer me occasional questions by private mail. The first one was for example the attached code: Why does it segfault? Thanks in advance, -Harry P.S. I will change comment language of course. I'm UTC -1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mentor for C self study wanted
Am Dienstag, 23. Oktober 2007 22:24:54 schrieb Bill Moran: In response to cpghost [EMAIL PROTECTED]: On Tue, 23 Oct 2007 20:44:52 +0200 Harald Schmalzbauer [EMAIL PROTECTED] wrote: The first one was for example the attached code: Why does it segfault? Mailman ate the attachment... Can't see it here. I may be out of line, but I think if you're using FreeBSD as your learning platform, that it wouldn't be a problem to ask this list. Harald Schmalzbauer wrote: Am Dienstag, 23. Oktober 2007 21:43:52 schrieben Sie: Hello Aryeh, I'm willing to pay fair fees, but are you interested in micro payment ;) ? For other reasons I love micro payments. Serious, I'll have the one or other short question per week (I'm usually busy, just making spare time lessons from my book (UTC-1 spare time)). Just so I know what level to present on what is your background in CS and programming? CS?? I'm able to solve problems analytically, but I don't know any language really well. I know bourne shell, csh, pascal, and basic. And a tiny bit asm, but that's been on ZX81. Although, you'll have to include your code inline to get past the sanitizers. Thanks all, here was my example, just for completeness, I found mentors for my needs. Thanks a lot to all! #include stdio.h void main() { short nnote; // Numerischen Notenwert einlesen printf(Bitte numerischen Schulnotenwert eingeben: ); scanf(%d,nnote); switch (nnote) { case 1: printf(Die Note %d entspricht sehr gut.,nnote); break; case 2: printf(Die Note %d entspricht gut.,nnote); break; case 3: printf(Die Note %d entspricht befriedigend.,nnote); break; case 4: printf(Die Note %d entspricht ausreichend.,nnote); break; case 5: printf(Die Note %d entspricht mangelhaft.,nnote); break; case 6: printf(Die Note %d entspricht ungenügend.,nnote); break; default: printf(%d ist keine zulässige Schulnote!); } printf(\n); } P.S.: I found that declaring nnote as int soleves my problem, but I couldnÄt understand why. Another one was the result of default: nnote was -1077942208 instead of 9 for example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mentor for C self study wanted
Am Dienstag, 23. Oktober 2007 23:24:09 schrieb Harald Schmalzbauer: [*snip*] Although, you'll have to include your code inline to get past the sanitizers. Thanks all, here was my example, just for completeness, I found mentors for my needs. Thanks a lot to all! #include stdio.h void main() { short nnote; // Numerischen Notenwert einlesen printf(Bitte numerischen Schulnotenwert eingeben: ); scanf(%d,nnote); switch (nnote) { case 1: printf(Die Note %d entspricht sehr gut.,nnote); break; [snip] default: printf(%d ist keine zulässige Schulnote!); } printf(\n); } P.S.: I found that declaring nnote as int soleves my problem, but I couldnÄt understand why. Another one was the result of default: nnote was -1077942208 instead of 9 for example. Ok, the last one is a typo, I forgot ...ote!,%d);. But interesting that ther's some output. Constant output ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
repo-copy (CVS): What dows it mean?
Hello, english is not my native language so I need some help to understand what people mean when they talk about repo-copy. I often see that in CVS logs. My standard dictionary couldn't help this time... :( Thanks in advance, -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP System but only CPU#0 being used?
Am Sonntag, 3. Juni 2007 schrieb Alex R: On Sat, 02 Jun 2007 18:43:52 -0500, JD Bronson [EMAIL PROTECTED] [...] to 0, i will try setting it to 1 and see what happens. The CPU is a LGA775 Pentium-M with EMT64 I think, I remember the CPU box saying dual core on it (not core duo though). Pentium 4 was socket 478 from memory or did Intel do a Pentium 4 in LGA775 too? Yes, they had P4 in LGA775 for quiet some time. I'm quiet sure that a 3GHz CPU is NetBurst architecture, pentium-m never reached that clock. But regardless of the architecture, therre were relad Dula Core Pentium 4 (xxxD) and the old hyperthreaded. If it was a Dual Core CPU FreeBSD wouldn't report Logical CPUs per core but Cores per package -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 USt-IdNr.: DE253184753 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot enable VESA_800x600 raster text mode
Am Donnerstag, 31. Mai 2007 schrieb Zhang Weiwu: Dear list I have been using raster text mode for years and I really like it. All I need to do is to put these options in kernel options VESA options SC_PIXEL_MODE For one box I have 'Rage 3D LT Pro AGP 133MHz (BGA-312 Package)' display, This is an old problem because the VESA_800x600 Mode uses 4 bit color depth which ATI doesn't support. But maybe you can use vidcontrol MODE_261 Besides the ATI problem I can't use the SC_PIXEL_MODE any more in -current. I think some time ago it has be broken when the higher resolution support has been added. -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no glxgears with xorg 7.2?
Hello, I wanted to test OpenGL with my navidia driver but ould not find glxgears anymore (fresh 7.0/7.2 installation). Does anybody know what additionalport I have to install? Or is there a replacement? Thanks, -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GCC 4.2
Am Montag, 21. Mai 2007 schrieb Robert Huff: Can someone confirm GCC 4.2 is now in the -CURRENT source, and if so effective what date? Thanks. It is there! Thanks to the good guys for that work! I think it hit the tree on saturday. -Harry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core 2 Duo
Am Sonntag, 25. Februar 2007 10:10 schrieb Abdullah Ibn Hamad Al-Marri: On 2/25/07, Philip Radford [EMAIL PROTECTED] wrote: In the past on a P4 chip I would put pentium4 in the cputype parameter in /etc/make.conf but are there any other settings here I can adjust or any by using sysctl. I'm using CPUTYPE?=prescott amd it's safe, nocona broke my kernel. I'm no compiler expert, but prescott and nocona are Net-Burst architectures. Core(2) is a pentium-m successor, which was a completely different (x86) architecture, so optimizations for netburst won't have a positive effect, if they work at all. I use CPUTYPE?=pentium-m, but I've never done any comparisions to binaries compiled without CPUTYPE. After several years observation with CPUTYPE I guess the improovement ist smaller than ever these days, and until now it was rarely mesureable. -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PotsgreSQL question (differences for 7.4 ,8.1 and 8.2)
Hello, I'm new to PostgreSQL and see that there are 3 versions in the Ports and bsd.mk.ports defaults to 7.4 to resolve pgsql dependencies. I yahood/msnd/googled a lot but couldn't find a comprehensive comparison regarding features/performance. There are severaly MySQL comparisions but that aren't of interest any more since that's what I've been using before. So please can one explain me in short words what the main featrue difference is between 7.4, 8.1, 8.2? (I found out that 7.4 and 8.2 are incompatible regarding php5-pgsql conjunction) And what are the main performace differences (for a very small site) between 7.4, 8.1 and 8.2? If it's not obvious (with the above answered), why are there 3 stable branches? Thanks a lot in advance, -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Am Freitag, 23. Februar 2007 02:49 schrieb Jim Stapleton: oops, did a reply instead of reply all, sorry. My question was what's the best way to test net connectivity in jail, csup?, and i did try csup (using a copy of my standard ports For ping (and other ICMP tools etc.) you have to change the following on the host: 'sysctl security.jail.allow_raw_sockets=1' See the man (8) jail for more info! Greetings, -Harry supfile), it failed: %csup -g -L 2 /etc/supfile-ports Parsing supfile /etc/supfile-ports Connecting to cvsup12.FreeBSD.org Name lookup failure for cvsup12.FreeBSD.org: hostname nor servname provided, or not known Will retry at 20:52:12 I'm only using one jail (it'll run apache, mysql and possibly sftp) Thanks, -Jim Stapleton On 2/23/07, Jonathan Chen [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 01:22:53AM +, Jim Stapleton wrote: I'd like to get Apache running in jail, but I can't seem to get network working in jail. [...] Anyway, when I go to jail, running csh (as root) in jail, I try/get: %ping 192.168.1.1 ping: socket: Operation not permitted This is normal. You can't ping out from a jail. If you're going to manage several jails on a box, I would suggest you try the ezjail port. Cheers. -- Jonathan Chen [EMAIL PROTECTED] --- I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PotsgreSQL question (differences for 7.4 ,8.1 and 8.2)
Am Freitag, 23. Februar 2007 18:05 schrieb Bill Moran: In response to Harald Schmalzbauer [EMAIL PROTECTED]: Hello, I'm new to PostgreSQL and see that there are 3 versions in the Ports and bsd.mk.ports defaults to 7.4 to resolve pgsql dependencies. I yahood/msnd/googled a lot but couldn't find a comprehensive comparison regarding features/performance. There are severaly MySQL comparisions but that aren't of interest any more since that's what I've been using before. So please can one explain me in short words what the main featrue difference is between 7.4, 8.1, 8.2? (I found out that 7.4 and 8.2 are incompatible regarding php5-pgsql conjunction) 7.4 is good. 8.1 is better. 8.2 is best. Feature changes are minimal. 8.2 has significant performance improvements over previous version. Version or versions? I mean, even better than 7.4? I read some tests that performance of 8.x is in some statements a big regression (runtime 25ms on 7.4 while 8.x needs 1000ms (1s!)) It sounds that you have done some real world and sensible tests, that's why I'm asking. I don't give too much for synthetic benchmark results, but a factor of 40 surely would be noticable in real world... Thanks, -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Am Freitag, 23. Februar 2007 20:07 schrieb Jim Stapleton: Jail: [EMAIL PROTECTED] 14:04:11 (0) ~ sudo jail /jail/ legolas 192.168.1.85 /bin/csh %telnet 192.168.1.4 25 Trying 192.168.1.4... ^Z Suspended %kill %1 [1]Terminatedtelnet 192.168.1.4 25 %ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 OK, from host: [EMAIL PROTECTED] 14:02:11 (0) ~ ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.84 netmask 0xff00 broadcast 192.168.1.255 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active You are missing ifconfig_nve0_alias0=192.168.1.85/32 in rc.conf. The host hast to have the ip of a jail, network stak is not virtualized (yet?) -Harry plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 [EMAIL PROTECTED] 14:04:08 (0) ~ jls JID IP Address Hostname Path 1 192.168.1.85legolas /jail Is that what you needed Thanks, -Jim Stapleton Jim Stapleton wrote: Thank you, that's at least useful testing, but it did not work. Jail is definetly not getting any network action. Would a host netstat output be useful? I looks pretty cryptic. Can you please post the output of ifconfig and jls. From your rc.conf it seems the ipaddr. for the jail is not or wrong configured on your interface. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PotsgreSQL question (differences for 7.4 ,8.1 and 8.2)
Am Freitag, 23. Februar 2007 19:17 schrieb Bill Moran: In response to Harald Schmalzbauer [EMAIL PROTECTED]: [...] Feature changes are minimal. 8.2 has significant performance improvements over previous version. Version or versions? I mean, even better than 7.4? I read some tests that performance of 8.x is in some statements a big regression (runtime 25ms on 7.4 while 8.x needs 1000ms (1s!)) Where did you read this? On one of the hundred pages I visited when collecting infos... [...] I don't have any real-world tests that could give any real numbers between specific versions. My answer is based on personal feel over the last few years, as well as involvement with the postgres-perform mailing lists. Ok, but perhaps you can answer me another question: What are the command syntax changes between 7.4 and 8.1? Are there likewise changes (thus incompatibilities) between 8.1 and 8.2? I use eGroupWare and restoring a backup (orginating for a MySQL databse) works with pgsql 7.4 but not with 8.2 (using php5-pgsql). Thanks a lot, -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Am Samstag, 24. Februar 2007 02:06 schrieb Jim Stapleton: yes, I can ping it from this machine, other machines and jail. Going on that line, I tried to ssh to it, and I got into the host system. My problem is in the sshd config I think then? I'm pretty sure Please, read man (8) jail. All your pitfalls are very well explained! there are no other daemons running on this system... Oh, I guess I have devd and usbd, they shouldn't be causing issues: [EMAIL PROTECTED] 20:05:26 (0) ~ ps -A | grep -e 'd$' 484 ?? Is 0:00.01 /sbin/devd 648 ?? Ss 0:00.01 /usr/sbin/usbd 699 ?? Is 0:00.00 /usr/sbin/sshd 1930 ?? Is 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 1957 ?? Ss 0:00.09 /usr/sbin/moused -p /dev/ums1 -t auto -I /var/run/moused.ums1.pid Thanks, -Jim Stapleton On 2/23/07, Philipp Wuensche [EMAIL PROTECTED] wrote: Jim Stapleton wrote: new host rc.conf: hostname=elrond.ameritech.net #ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ipv4_addrs_nve0=192.168.1.84-85/24 netmask 255.255.255.0 /24 is already the netmask. Can you ping the ipaddr. from another host in your network? greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Am Samstag, 24. Februar 2007 04:21 schrieb Jim Stapleton: I did the ssh after you did the previous mail, but it didn't fix the problem. I'm not having problems senmail or named, they were simply mentioned in the man page. I never had named running, and I didn't realize sendmail was running. The latter was my problem with sendmail. That problem as I said is fixed. Beyond that I don't even know which process on my system are daemons at this point, except usbd and devd, neither of which (to my knowledge) should be listening to any sockets. Actually there are a couple of kernel processes (pagedaemon, vmdaemon, and bufdaemon), but I don't know where to find documentation on them, X, and KDM. I can't find anything on limiting sockets of these to a specific IP only. To see what daemons are listening you can use 'netstat -f inet -a'. Then you see if you have to limit some other daemons (use -f inet6 for IPv6 if configured). Please post the output of the command above to see why you get ssh connections to your jail IP answered by the host's ssh daemon. -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 München +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tip(1) connect to another host with serial cable: vim display junk text
Am Samstag, 9. Dezember 2006 09:52 schrieb 张韡武: Hello List. This is another stupid frequent question that might already get answered a thousand times, but I cannot do effective googles because the word 'tip' is too general. Local host is freebsd 6.1, remote host is Gentoo Linux. Both connected through serial cable on COM1. Now I wish to control Linux with my FreeBSD. This command can let me login to the Linux host $ tip com1 But after I logged in I found using VIM would create junk text. It seems VIM do not know my terminal is very wide (more then 130 characters per line). So, how do I fix it? Google did give me a lot of 'tips' but none of them is related to my problem... You have to tell the applications the correct terminal settings, meaning number of rows and columns. With ssh or something similar this is done automatically, with tty you would set it on FreeBSD like 'stty rows 25 cols 80'. 'stty -a' shows some tty settings, including rows and columns. Alternately you could set some environment variables for vi, but that doen't work for all applications, so stty is prefered. Best regards, -Harry Best Regards ___ 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]
uscanner firmware upload? (w/ sane?)
Hello, I changend usbdevs and uscanner.c a bit so my Epson Perfection 3490 PHOTO attaches to uscanner0 instead of ugen0. (See patch below) If I use this scanner on another supported operating system I can connect it to my FreeBSD machine and scanimage works fine. But if I repower the scanner scanimage just hangs with -L. The problem is that the scanner needs firmware to be uploaded when repowered. I have the correct firmware binary and I also configured sane to use that but it seems sane doesn't upload the binary. Is there any method to upload the firmware to uscanner with on board utilities? Any other hints? Thanks a lot, -Harry --- sys/dev/usb/uscanner.c.orig Mon May 15 16:34:23 2006 +++ sys/dev/usb/uscanner.c Mon May 15 16:28:16 2006 @@ -204,6 +204,7 @@ {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1670 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1260 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3200 }, USC_KEEP_OPEN }, + {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_3490 }, 0 }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN }, {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9300UF }, 0 }, --- sys/dev/usb/usbdevs.origMon May 15 16:36:30 2006 +++ sys/dev/usb/usbdevs Mon May 15 16:36:05 2006 @@ -855,6 +855,7 @@ product EPSON GT9700F 0x0112 GT-9700F scanner product EPSON GT9300UF 0x011b GT-9300UF scanner product EPSON 3200 0x011c Perfection 3200 scanner +product EPSON 3490 0x0122 Perfection 3490 scanner product EPSON 1260 0x011d Perfection 1260 scanner product EPSON 1660 0x011e Perfection 1660 scanner product EPSON 1670 0x011f Perfection 1670 scanner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How should I divvy up my HDDs? Suggestions Please.
Am Donnerstag, 5. Mai 2005 14:56 schrieb Jerry McAllister: Hello, I'm new to FreeBSD and this list, my name is Donnacha, I'm an Irishman living in Edinburgh, Scotland. I have read The Complete FreeBSD's section on disk partioning but would very much appreciate some advice on how to divide up the 2 HDDs I'm getting on my new server. The server is located in a facility in the US and will be used as a Web and email server. It has an 80GB HDD and a 200GB HDD, both IDE but I'm asking for them to be placed on seperate buses. I was thinking of using the 80GB as the primary and placing / on it, while putting /var, /usr and /home on the 200GB. I'll have 2GB of RAM, so, I was thinking about putting 2GB of swap on each HDD. How does that sound. I would be very grateful for any advice you can give me before I relay my instructions to the guys doing the installation. It depends a lot on what you leave in /usr and /var and /home. It kind of looks like you will leave the 80GB drive mostly empty the way you are doing things. If all your accounts and web pages are really in /home and you have no databases, I would be inclined to put both /usr and /var in the 80GB drive and leave the other one for home directories and web pages. Since the default place for databases is in /var that can make a big difference on where you put it or if you take the db directory out of /var and put it somewhere else, etc. Putting some of your swap on each drive as you have indicated is a good idea. Ack! I just wanted to point you to GPT. I always use my second drive without MBR/slices/labels, just GPT. You can create up to 128 Pratitions and together with either growfs ( if you leave unassigned space between the partitions) or gconcat I have a very flexible storage solution (of course gvinum is another option). It's also possible to create a GPT inside a slice (so even on the first HD), just / must be on a bsdlabel. I use such a configuration for jails or virtual hosts, where every jail or virthos has its own mountpoint. Initially with not too much space (1G), increased on demand. -Harry jerry Thanks and I look forward to participating in this community, Donnacha ___ 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] pgpdFGjaZxi7C.pgp Description: PGP signature
split stdin-out drawing terminal/console?
Dear all, I wonder if there exists a cons25 or pcvt replacement which splits the screen into at least the input area and the output area. I mean, the 4 (or so) bottom lines are stdin and the upper 20 lines stdout, maybe even seperated into a 5 lines head which is stderror. I haven't ever seen (touched) such an old terminal which was a printer and a keyboard but I could imagine that it's not too bad to have the channels seperated. Thanks, -Harry pgpSiaCyhDTlp.pgp Description: PGP signature
Re: FreeBSD server behind router-NAT; how to configure sendmail?
Am Sonntag, 3. April 2005 17:36 schrieb Rob: Emanuel Strobl wrote:\ If you don't have /etc/mail/yourhostname.domain.mc then you should cd to /etc/mail and type make, after you edited the file make all install restart Thanks for your help. I generated the files with this make command, and all just worked out of the box. I can send email, without needing to tell sendmail about my hostname. So far so good. However, next what I need, is using another port for sending emails out. I have googled and read the sendmail FAQs, but I am completely at a loss here. There is a FAQ, that explains: If you want all outgoing SMTP connections to use port 2525, you can use this in your .mc file: define(`RELAY_MAILER_ARGS', `TCP $h 2525') define(`ESMTP_MAILER_ARGS', `TCP $h 2525') I have put this in my hostname.mc file, but to no avail. I'm probably not familiar enough with sendmail way of doing things. But then this is such a simple thing, that it should be easy. I suppose that with netstat -a, there should be a line with port 2525, if above works. But that is not there. I'm not sure if I understand your problem correctly, but what you did with these defines is that sendmail contacts every other system at port 2525 insetad of 25, it's not listening on 2525, hence you can't see a tcp/2525 with netstat -a. But I think it should do what you want, if I understand your description right. If you want sendmail to listen at a custom port these defines are wrong. I don't have them in my mind right now, I'm sure you'll find the M4 defines at the sendmail FAQ, tell me if I can help. -Harry Do you have any suggestions how to solve this? Thanks, Rob. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com pgpHRUoD537Aw.pgp Description: PGP signature
Re: MP3 Audio CD Burning
Am Mittwoch, 8. September 2004 05:25 schrieb Brian Finniff: Is it possible to burn a CD from an .MP3 file? If so, how would I do that? I would appriciate any help you could give me, thanks. Ok, any help! Then I possibly have something. First, you can create a red book audio CD which contains, simplified, wave-tracks. If you want to make a audio cd out of mp3s you have to convert the mp3 file into a wav file (pcm) and create a audio-cd (formerly done by /usr/ports/sysutils/mkisofs but rigth now this tiny utility seems to have vanished???!)! ??? Another option is to create a data-CD, containig real mp3 files in ISO9660 Filesystem. But this kind of CD needs to be played on special equipment like newer MP3 capable car radios and so on. HiFi CD Player can't play data CD's contents though many DVD-Players can replay data CDs with ISO9660-mp3 structure on it. Hope this helps a little bit, since you're using kde I'd suggest having a look at k3b (ports/sysutils/k3b), but it's not too easy getting it up and running (especially if you're not familar with FreeBSD) -Harry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpJCCZ7gYOnQ.pgp Description: signature
Re: BSD display
Am Mittwoch, 8. September 2004 05:41 schrieb steveb99: I don't like the OS name and version displayed with logging to ssh or Best would be to use anythig else which you like. And after that you could read your offending mail again and sitting ashamed in the corner for a loong loong time other areas. Where to I eliminate or change the text of the message being displayed? Nowhere! That's one of the things you have to keep if you're using BSD-Licensed code :) Alternatively you're welcome to contribute youre code! -Harry Steve Barnette ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: device_polling
Am Donnerstag, 2. September 2004 17:09 schrieb DanGer: Hello freebsd-questions, is the 'xl' network card supported to use the OPTIONS DEVICE_POLLING ? man (4) polling doesn't list the xl driver and the xl manpage also doesn't mention polling so I guess it's not supported. -Harry pgpGavQtn7Wwo.pgp Description: signature
Re: hi res logo ?
Am Freitag, 16. Juli 2004 23:25 schrieb Jon Barnard: Hello, Is a hi resolution logo available of the FreeBSD (with tagline, Daemon and yellow behind text? GIFS are just too small. Many THX. What do you mean with GIFS are just too small? Do you know this page: http://www.freebsd.org/gallery/ If you need something special, I collected some rare logos. -Harry Best regards, Jon Barnard Marketing Communications Manager PFU Systems, Inc. a Fujitsu company 1331 Lawrence Expressway, Suite 200 Santa Clara, CA 95051-3501 Tel (408) 236-3034 Fax (408) 236-3099 Cel 510.908.2093 Email: [EMAIL PROTECTED] PFUsystems.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgpKL5rmC2Bpv.pgp Description: signature
Re: [you forgot to choose a subject!!!!]
Am Mittwoch, 14. Juli 2004 03:35 schrieb Christian Schüler: Hello, I tried to compile Anjuta 1.2.2 for FreeBSD from the source tarball. The make command fails with Why don't you use anjuta from the ports?`I'm not an expert in anjuta at all, but always use the ports collection. There are good people out there who try to make your life as easy as possible and patch and port applications like these and their dependencies for FreeBSD users. If this is new to you, please consinder reading the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html especially: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Best regards, -Harry launcher.c: pty.h: no such file or directory Does anyone have an idea which package i need to install to get pty.h? I researched that there is a pty.h in inetutils, but there is no inetutils in listed the ports collection :-( Thanks in advance, -chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp6eBqWZN2aD.pgp Description: signature
Re: need a good 32-bit ata/100 raid
Am Freitag, 9. Juli 2004 00:07 schrieb Brad Tarver: are there any good 32-bit ata/100 raid cards for Freebsd 5.2.1? that are natively supported? I only need raid1 capability. The 3 ware controllers are excellent but a bit expensive. In the low cost area there is a something like a DC-100 (HPT372 Chipset) which I can recommend, since HighPoint offers drivers for FreeBSD (haven't tested 5.2.1, only 4.10). Never touch a sil0680, atarid support for thet controller (like for the HPT372) is completely broken in -current and never really worked before (you can use your disks but in case of a faulure you can't rebuild the array). The only cards which work flawlessly with the internal ataraid driver are the promise cars, I'd go for a FastTrak TX2 100 if mone plays the biggest role. This all applies to pATA, I've never tried any sATA! -Harry (the one who recently had very painful experiences with cheap RAID controller cards!) pgpLeSrWcqckh.pgp Description: signature
Re: Leaving a server on all day
Am Dienstag, 8. Juni 2004 16:44 schrieb Peter Ulrich Kruppa: On Tue, 8 Jun 2004, Jonathon McKitrick wrote: I have my desktop configured to run as a server and app server for a thin client laptop. Will running it all day without suspend mode use a lot of power? Is it true that the heat buildup in a home system (rather than a heavily fanned commercial system) will kill the drives faster and this is a good reason to turn it off during the day when I am not home? This is only my personal experience: I have got a PIII running all day for over 2 years now (my server): no problems and I am using just the small fan it came with. I had two AMD's (a K6 and now an Athlon): for both I had to buy bigger fans since they started doing strange things after a while. At work I have seen three IDE harddisks decease on workstations during the last four and a half years, but never a SCSI harddisk. These workstations are shut down and rebooted Just to brake illusions: I have seen lots of disks dieing. Mostly IDE disks because they're wide spreaded. But I also had a several server SCSI disks (Seagate and IBM) which died, and they hadn't just quit their service, they (the two different I attempted to) were classified as inrecoverable by well known and even better paid special companies like Vogon. So don't tap into the trap that SCSI disks are more reliable! quite often. So *my* summary for your private server would be: - Leaving it on all day will not kill your harddisks, in the contrary: even cheap ones will live longer. - AMD processors tend to run hot, so if you have one, you should look for a good fan. This was true up to Coppermine/Tualatin, nowadays I'd prefere any AMD. The notrhwood and even worse the prescott INTELS (p4s) are dumb radiators. My 0.02 ¤ Best regards, -Harry Regards, Uli. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp2TiFUnSiyb.pgp Description: signature
Re: MBR
Am Dienstag, 11. Mai 2004 16:35 schrieb Olga Zenkova: Hi! How can I use FreeBSD MBR to load other OS? Can't find needed doc. man (8) boot is a good point to start and of course, like always, the online handbook: (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html) -Harry Thanks, Olga __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Filesystem/disk performance problems
Am Dienstag, 11. Mai 2004 23:42 schrieb Paul English: I have a filesystem which is showing some very odd problems on FreeBSD 4.4. The system has one 60GB IDE drive for the os and some user partitions and one 800GB array of 120GB disks attached to a 3ware IDE-RAID controller. The latter is all one big partition. For most files and directories, copying/transferring them around is not a problem. But for a couple of very specific directories, copying them seems next to impossible. When I attempt to copy these, after a few minutes of *extremely* slow copying (1k/min), the system load shoots up and the system becomes virtually unusable. Maybe you want to read the following and try the patch: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=32920+0+archive/2004/freebsd-stable/20040509.freebsd-stable I'm not sure wether it patches cleanly against 4.4 but I'm sure you'll get assistance by the discussing people. -Harry In particular, working with one directory which is 11GB. Some subdirectories, even large ones copy fine from /usr1 (a partition on the 60GB disk) to /raid (the partition for the entire raid array). I can even make a tar of one of the non-working directories to /usr1, copy the tar file to /raid (with no problems), then when I try to untar it on /raid I get the same problem - very very slow (1k/min) and then the system load shoots up to 10+ and the system becomes unusable. In this case the data is going from /raid - /raid instead of from /usr1 - /raid, but it does not seem to help. I've also tried using some other utilities than simply cp in an attempt to fool the system - I've tried scp, and tar cf - . | (cd /raid;tar xf -) as well. There are no messages in dmesg or /var/log/messages that look at all related, and there are no messages that are accruing (for example while attempting a copy). Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: the most light weight X web browser?
Am Samstag, 8. Mai 2004 11:21 schrieb Zhang Weiwu: Hello. My friend is running a tea house, she want to put her ancient Pentium 100 notebook (24MB memory) running FreeBSD 4.9, on the bar so customers can use it check mails and browse the web. (and I want to help her.) She want it to just function as a browser machine, she don't even need a window manager, the X starts up just to run a browser. (However a memory saving window manager is okay, too. But such a slow notebook what browser do you suggest to use? The harddisk don't have much space after the OS is installed, and memory is pretty limited. Epiphany comes to my mind, but it depends on Mozilla and gtk. If there is an extremely light weighted browser that just use Athena (or can be compiled so) it would be better. Perhaps Epiphany is the only choice? If so can we make it even lighter? Dillo! You really want to have a look at dillo. Increadibly fast and small, but with limitations (no SSL and such) -Harry Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: AMD vs Intel
Am Samstag, 24. April 2004 03:51 schrieb Marc G. Fournier: I'm looking at picking up the following: Intel Technology Server Chassis Intel SC1300 1U Rack MainBoard: Intel SE7501WV2SCSI Ram memory: 4 x 1 GB Processor: 2 x Xeon 3.06 Ghz Discos Duros: 3x Seagate ST336607KLC Intel: SRCZR CD-ROM: 52x Floppy: 3.5 Monitor, Mouse Keyboard: Not Included Now, I've been hearing alot of how AMD tends to perform better, but I have zero experience with AMD ... I'm curious as to what those with experience with AMD would be considered: 1. equivalent in power to the Xeon 3.06Ghz 2. a rackmount/motherboard they would recommend for a server I just can tell you that AMD has proofen their reliability in a lot of server environments of my friends and since everything after coppermine/tualatin/M/dothan... INTELs do consume at least the same power and with the northwood core much more power than performance equivalent AMDs. So in my opinion these are all ineligible for servers but that's another story. I'd take the AMD and reinvest the saved money in very good coolers And of corse there is the bright new 64-bit world.. No long-term behaviour nor productive environment experiences but I only hear positive stories... -Harry Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Re: Problem starting jail
Am Samstag, 24. April 2004 06:18 schrieb Gerald Holguin: Hello, I am running FreeBSD 4.9. I am new to Unix (great learning). I have setup the jail according to the man page with no errors and upon completion while trying to start the jail I get this error: bsdbox# jail -u root /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh jail: execv: /bin/sh: No such file or directory I have also tried to start the box with the following invocation: bsdbox# jail /home/jail/192.168.10.3/ ecj 192.168.10.3 /bin/sh and I get the same error: jail: execv: /bin/sh: No such file or directory The /bin/sh file does in fact exist under the host environment. You need /bin/sh in the jail environment! It's the first process which gets started in the jail. -Harry Anyone have some advice? Gerald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Re: Jail and spammass-milter (sendmail/spamassassin)
Am Sonntag, 25. April 2004 04:30 schrieb Harald Schmalzbauer: Am Sonntag, 25. April 2004 04:21 schrieben Sie: [...] jail and so they should see the same socket? Yes, in that case, both sendmail and spamass-milter should see the same socket. Hmm, any idea why it doesn't work (tm)? Anyway, I'll try to connect via IP on Monday. I found the problem. It's not the socket but the IP-handling in jails. When I connect to 127.0.0.1 inside a jail the source-IP is not 127.0.0.1 but the IP you assigned the jail when starting. So I had to add -A 192.168.0.2 to spamd to allow connections from the jail localhost! (the header shows now the jail does spam check) [...] Btw: I'd highly recommed using /usr/ports/sysutils/jailer. It's really nice to have reboot working in a jail :)) IMO this should be made a part of the base system! I have little problems with the artificial console but that's also a _very_ nice feature for jails! I haven't solved that one yet. I found commented code in the /etc/rc.d/jail which indicates IMO the developer also had problems utilizing ln to /dev in jails. But I haven't found a workarround yet :( Perhaps somebody who's very familar with devfs and jails could have a look at this? *please* -Harry pgp0.pgp Description: signature
Jail and spammass-milter (sendmail/spamassassin)
Dear all, is it possible that spamass-milter doesn't work in a jail? I have sendmail running, spamassassin running (both working fine) and the following line in my hostname.mc file: INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') But no mail is checked. I don't see any X-SPAM in the header. I use this MTA not for local delivery instead I use a virtuser table but I don't think this should prevent spamass-milter from working. Thanks, -Harry -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Re: Jail and spammass-milter (sendmail/spamassassin)
Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer: Dear all, is it possible that spamass-milter doesn't work in a jail? Ok, I verified that it's working with the same configuration under -stabel outside a jail, but not on -current inside a jail. Is there any way I can make it work? I think the problem is with the local socket between sendmail and spamass-milter. Is there a sysctl to allow local sockets or is it possible to tell sendmail to connect via localhost (127.0.0.1)? Thanks, -Harry I have sendmail running, spamassassin running (both working fine) and the following line in my hostname.mc file: INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') But no mail is checked. I don't see any X-SPAM in the header. I use this MTA not for local delivery instead I use a virtuser table but I don't think this should prevent spamass-milter from working. Thanks, -Harry -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Local (UNIX domain) Socket understanding /Jail
Hi all, can anybody point me to some info which can help me understand local sockets (=? UNIX Domain sockets?)? I have the problem that I can't get milter work in a jail and I suspect the /var/run/milter.sock socket but don't really understand what it is and how it works. Thanks, -Harry -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Sendmail and masquerading
Hi all, I have to _believe_ there's something strange going on with sendmail in the base system. I try to convince it to masquerade my righthandside. Therefore I added the following to bsdharry.zenk.de.mc: MASQUERADE_AS(`zenk.de') local-host-names reads: bsdharry.zenk.de host reads: 150.20.100.18 bsdharry bsdharry.zenk.de But sendmail still communicates with Mail from: @bsdharry.zenk.de Then I made sure that sendmail.cf reads: DMzenk.de I also added C{M}bsdharry.zenk.de Nothing helps! I also read the post about the not working alias and I wonder if there's something wrong with recent sendmail versions in the base system (I'm using -current as from 16th of April). Any help appreciated, -Harry -- Please never add my reply address to CC nor to the recipient list! If you make answers to all please remove my address! I'll complain if I see my reply address on any mailinglist pgp0.pgp Description: signature
Re: nVidia chipset - ethernet support?
Am Sonntag, 28. März 2004 23:57 schrieb Brian Candler: I have installed FreeBSD-5.2.1 on my brand new Soltek EQ3702A machine, which has an nVidia chipset. I have got most of the on-board hardware to work: kldload snd_ich -- pcm kldload firewire \ to mount my ipod kldload sbp / but I don't seem to be able to get ethernet to work. A google shows that this is a long-standing issue: http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/016739.htm l http://lists.freebsd.org/pipermail/freebsd-net/2003-July/001016.html but I don't see anything else posted since August last year. I did come across this driver against FreeBSD-5.1: http://www.onthenet.com.au/~q/nvnet/ [1] Anyone have any experience with it? It claims to be in the official ports tree under net/nvnet, but I don't find it there (not in the 5.2.1-RELEASE ports tree anyway). Well actually, I did find something here: http://www.freebsd.org/cgi/pds.cgi?ports/net/nvnet [2] I tried the nvnet driver from the ports some days ago with a nforce2 and it worked flawlessly. But you can also use the ProjectEvil ndis wrapper and use the WinXP driver. I also did this with great success some weeks ago. Unfortunately the driver page [1] doesn't link to the Linux driver it requires, and the port at [2] links to a different version of nvnet than the one at [1]. If anyone has this working with FreeBSD-5.2.1 (and either an up-to-date port, or a pointer to the correct Linux module required), that would save me some random hacking. Incidentally, my machine has two VGA ports. If anyone knows how to get both of those working together with XFree86, that would be appreciated too! You need the proprietary nvidia driver (from ports/x11/nvidia-driver). See the docs in the working directory of the port for more info, if you need a sample dual-layout I can send you mine. Best regards, -Harry Cheers, Brian. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Configuring Port Forwarding behind PPPoE
Am Dienstag, 23. März 2004 22:26 schrieb JP: Hello, I am currently using PPPoE on FreeBSD 5.2, I have a need to forward internet traffic on certain ports to a private IP address behind the box. How can this be accompished? For instance, inbound traffic arriving on public IP 205.242.192.20 port 21 needs to arrive to private IP 192.168.1.1 port 21 How do you drive your PPPoE line? Netgraph with mpd and PF? Or user_ppp with ipfw? Or pppoed with IPFilter? There are too many combinations to guess. You should use the service which does the nat for you to do the redirection also. -Harry Thanks, JP __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
atacontrol addspare missing in -stable
Hi all, how do I rebuild a degraded RADI1 in -stable? I have a HighPoint 372 Controller and yesterday had one drive failed (wich it does regularly and comes back fine after reboot). atacontrol status ar0 reported only one disk (ad4) and degraded (of course). In -current with a SIL0680 I usually issue atacontrol detach $failedchannel atacontrol attach $failedchannel atacontrol addspare $faileddrive ar0 atacontrol rebuild ar0 Please give me an idea how things should work under -stable (from ~3 weeks ago). Thanks, -Harry pgp0.pgp Description: signature
Re: picture?
Am Sonntag, 7. März 2004 19:54 schrieb Stephen Liu: - snip - $ locate wdm | grep port /usr/ports/net/cflowd/files/patch-apps::cflowdmux::CflowdRawFlowClientL is t.hh /usr/ports/x11/wdm /usr/ports/x11/wdm/Makefile /usr/ports/x11/wdm/README.html /usr/ports/x11/wdm/distinfo /usr/ports/x11/wdm/files /usr/ports/x11/wdm/files/patch-configs::wdm-config.in /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c /usr/ports/x11/wdm/files/patch-src::wdm::session.c /usr/ports/x11/wdm/files/wdm.pam /usr/ports/x11/wdm/pkg-descr /usr/ports/x11/wdm/pkg-plist Kindly advise where the picture can be located. Well, it's not in the port directory any more than the wdm source is there. It's fetched as part of the port build; do a 'make fetch'. Hi Kris and others, Thanks for your advice. I did 'make fetch' but finally I surrended because; 1) I am testing FreeBSD 5.2 on a slow PC 2) When it came to 'OpenOffice' following advice popup To build Openoffice, you should have a lot of free diskspace (~ 4GB) You probably mistyped fetch. make fetch just downloads wdm-1.27.tar.bz2, beastie.xpm and daemon1-HQ-1280x960.jpg. The latter is the picture in question. You can find it (together with many others) on: http://global-net.ru/~bm/pic/bsd/ -Harry B.R. Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Shutdown in KDE
Am Sonntag, 7. März 2004 10:35 schrieb Robert Golovniov: Hello FreeBSD, Where do I tell KDE to use shutdown -p now commant to shut down the computer, instead of its default command? You need to edit the HaltCmd in kdmrc (/usr/local/share/config/kdm) in section [Shutdown]. Since kde3.2 this section doesn't exist by default so you have to add these too lines to /usr/local/share/config/kdm/kdmrc: [Shutdown] HaltCmd=/sbin/shutdown -p now -Harry pgp0.pgp Description: signature
Re: Jail setup
Am Freitag, 5. März 2004 00:31 schrieb Chris Meyers: I need to set up a new mail server at a different building, so I thought I would put sendmail and its services (virus scanning etc.) in a jail to be a bit more secure. I thought that before I do this for real I would try setting up a jail on a test server and see if I can ssh to it and generally get things to work. I can't. Here's what I have set up so far. I found a couple how-tos and I am following them; one is an ONLamp article (http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html), and the other is the jails section of the AbsoluteBSD book. I am running 5.1. On the server I set up a /usr/jail directory to put the jail into. Then I ran the following from /usr/src/: # make world DESTDIR=/usr/jail # cd etc # make distribution DESTDIR=/usr/jail # cd /usr/jail/dev # sh MAKEDEV jail This is where I had my first problem, MAKEDEV doesn't exist. At first I was a bit concerned about this, then I remembered that in 5.0 and above MAKEDEV isn't necessary, it is handled by the kernel (If that isn't right someone please tell me). I didn't worry about this. Next I ran: # cd ../ # ln -sf /dev/null kernel Then I started my jail: #jail /usr/jail jail.myhost.com 10.0.0.203 /bin/sh Things seem to be fine. I can see the jailed environment and everything looks fine. I log out and then try to set up the last configuations so I can ssh in and run sendmail. In the non-jail /etc/rc.conf I added the following lines: ifconfig_fxp0_alias0=10.0.0.203 netmask 255.255.255.0 This is wrong. The jail can only have one IP so netmask has to be 0x (255.255.255.255) Do you have something like this on the host? fconfig_fxp0=inet 10.0.0.202 netmask 0xff00 #host ifconfig_fxp_alias0=inet 10.0.0.203 netmask 0x#jail 1 sendmail_enable=NONE inetd_flags=-wW -a 10.0.0.202 I also added ListenAddress 10.0.0.202 to /etc/ssh/sshd_config. In the jail's /etc/rc.conf (i.e. /usr/jail/etc/rc.conf) I added: portmap_enable=NO ifconfig_fxp0=inet 10.0.0.203 netmask 255.255.255.0 sendmail_enable=YES sshd_enable=YES and added ListenAddress 10.0.0.203 to /usr/jail/etc/ssh/sshd_config This isn't neccessary, since the jail has only that one IP. IT's important that the host is limited to one address like you wrote a few lines above! Change the IP like I wrote above and everything should be fine. -Harry I then rebooted to shut all services down. When the system was back up and running I ran the commands to mount and start the jail: # mount -t procfs proc /usr/jail/proc # jail /usr/jail jail.myhost.com 10.0.0.203 /bin/sh /etc/rc Things seem to boot fine until it gets to sendmail; it seems to hang there (sshd starts fine though). Eventually sendmail times out and I get a prompt. I figure my jail is running (minus sendmail which I don't care about at the moment), and a ps -ax|grep J shows a few jailed processes running including sshd. From another system I try: % ssh 10.0.0.203 and I get nothing. I can ping 10.0.0.203 just fine (as well as 10.0.0.202). A sockstat -4 shows: root sshd 3041 3 tcp4 10.0.0.203:22 *:* root syslogd2908 4 udp4 10.0.0.203:514*:* root sshd 2650 3 tcp4 10.0.0.202:22 *:* so it seems like sshd is listening on 10.0.0.202 and 203. I can ssh to 202 without problem, I just can't get into the jail. Can anybody tell me where I screwed up, or other things to look for. Any help would be appreciated. Thanks, Chris pgp0.pgp Description: signature
Re: 5.2 IDE to SCSI upgrade
Am Donnerstag, 26. Februar 2004 13:52 schrieb J.D. Bronson: I need some help and it might not be related to FreeBSD, but I am hoping someone can offer me advise. I did a full install of 5.2 on IDE and still have the generic kernel. Fbsd sees my scsi card just fine :) (Adaptec 29160LP)+ IBM eServer X305 ..Problem is, that when I fire up the machine with the scsi drive attached, it tries to boot off of that instead of the IDE drive...Well that drive still contains another *BSD ... I have tried to setup the IBM BIOS to boot off of DISK0 or DISK1 and nothing works What can I do so that I can boot off the IDE with the SCSI drive attached!? ..from there, I can slice/dice and dump/restore and finish my conversion over to the SCSI drive... Any thoughts? - Thanks! If the BIOSes are crappy, try a bootloader. I can recommend GAG since you can boot it from floppy without the need to touch any hard drive. Once you solved your problem, just remove the floppy or if you're happy with GAG install it on hd. Link: http://gag.sourceforge.net/ -Harry -JDB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Nvidia
Am Sonntag, 22. Februar 2004 18:29 schrieb Uwe Laverenz: Eduardo Fernandes wrote: how install nvidia drivers in freebsd 5.2? AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time I tried was 2 weeks ago with -CURRENT and it did not work. I switched back to RELENG_4. They are working like a charm for 5.2 and even for -current. They just don't work with the new libptherad (aka libkse) but there's a note in UPDATING what to do if one likes to use the nvidia driver with recent -current. -Harry cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: buildworld inside a jail
On Friday 06 February 2004 03:24, Harald Schmalzbauer wrote: On Friday 06 February 2004 03:05, Colin Percival wrote: At 01:59 06/02/2004, Harald Schmalzbauer wrote: with identical (5.2-p2) sources I can buildworld on the host machine but if I try to buildowrld inside a jail it fails with the following error: Works for me. Can you describe * The kernel you're running, Custom UP, APIC, SCHED_4BSD and acpi. Please find the config attached * The world you've got inside the jail, and It's the world of make installworld DESTDIR=/jail * The contents of /dev inside the jail? It's the result of [devfsrules_jail=4] from devfs.rules (/etc/defaults) reading: dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 fd dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 net crw-rw-rw- 1 root wheel - 2, 2 6 Feb 03:13:50 2004 null crw-rw-rw- 1 root wheel - 6, 0 6 Feb 02:35:01 2004 ptyp0 crw-rw-rw- 1 root wheel - 6, 1 6 Feb 03:18:17 2004 ptyp1 crw-rw-rw- 1 root wheel - 6, 2 6 Feb 02:31:13 2004 ptyp2 crw-rw-rw- 1 root wheel - 6, 3 6 Feb 01:13:39 2004 ptyp3 crw-rw-rw- 1 root wheel - 249, 0 5 Feb 23:21:08 2004 random lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stderr - fd/2 lrwxr-xr-x 1 root wheel -5 5 Feb 23:21:07 2004 stdin - fd/0 lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stdout - fd/1 crw-rw-rw- 1 root wheel - 5, 0 6 Feb 03:18:17 2004 ttyp0 crw--w 1 root tty- 5, 1 6 Feb 03:18:17 2004 ttyp1 crw-rw-rw- 1 root wheel - 5, 2 6 Feb 02:31:13 2004 ttyp2 crw-rw-rw- 1 root wheel - 5, 3 6 Feb 01:13:39 2004 ttyp3 lrwxr-xr-x 1 root wheel -7 5 Feb 23:21:07 2004 urandom - random crw-rw-rw- 1 root wheel - 2, 12 5 Feb 23:20:19 2004 zero I found out that if I don't hide any device it finishes compiling!?!?!? What device could be needed to compile source code? -Grübelnder Harry Thank you, -Harry P.S. Its past 3 in the mornig here so I'll be back tomorrow. Thanks a lot! Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: buildworld inside a jail
On Friday 06 February 2004 14:06, Colin Percival wrote: At 12:49 06/02/2004, Harald Schmalzbauer wrote: On Friday 06 February 2004 03:24, Harald Schmalzbauer wrote: On Friday 06 February 2004 03:05, Colin Percival wrote: * The contents of /dev inside the jail? *SNIP* I found out that if I don't hide any device it finishes compiling!?!?!? Interesting. I create a jailed /dev with the following commands: mount -t devfs devfs ${BASEDIR}/jail/dev devfs rule -s 10 delset devfs rule -s 10 add hide devfs rule -s 10 add path null unhide devfs rule -s 10 add path zero unhide devfs rule -s 10 add path fd unhide devfs rule -s 10 add path 'fd/*' unhide devfs rule -s 10 add path 'std*' unhide devfs -m ${BASEDIR}/jail/dev ruleset 10 devfs -m ${BASEDIR}/jail/dev rule applyset and you've certainly got all of those devices. Ha, found my mistake. I had /dev/fd but not /dev/fd/* When unhiding fd/* like you (and the default) everything is compiling fine! But why do I need the floppydisk? Btw. I don't have a floppy in this machine. Thanks, -Harry What device could be needed to compile source code? I'm not sure why this would make any difference, but try with just /dev/null, /dev/zero, /dev/fd, /dev/fd/*, and /dev/std*. Also, try listing the contents of /dev before starting the buildworld, to make sure that nothing is missing. Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: buildworld inside a jail
On Friday 06 February 2004 16:23, Ruben de Groot wrote: On Fri, Feb 06, 2004 at 04:07:15PM +0100, Harald Schmalzbauer typed: Content-Description: signed data On Friday 06 February 2004 14:06, Colin Percival wrote: At 12:49 06/02/2004, Harald Schmalzbauer wrote: On Friday 06 February 2004 03:24, Harald Schmalzbauer wrote: On Friday 06 February 2004 03:05, Colin Percival wrote: * The contents of /dev inside the jail? *SNIP* I found out that if I don't hide any device it finishes compiling!?!?!? Interesting. I create a jailed /dev with the following commands: mount -t devfs devfs ${BASEDIR}/jail/dev devfs rule -s 10 delset devfs rule -s 10 add hide devfs rule -s 10 add path null unhide devfs rule -s 10 add path zero unhide devfs rule -s 10 add path fd unhide devfs rule -s 10 add path 'fd/*' unhide devfs rule -s 10 add path 'std*' unhide devfs -m ${BASEDIR}/jail/dev ruleset 10 devfs -m ${BASEDIR}/jail/dev rule applyset and you've certainly got all of those devices. Ha, found my mistake. I had /dev/fd but not /dev/fd/* When unhiding fd/* like you (and the default) everything is compiling fine! But why do I need the floppydisk? Btw. I don't have a floppy in this machine. It's not floppy disks. These are File Descriptors. checkout what /dev/stdin, stdout and stderr are symlinked to. oic. I saw the linking and was a bit confused. Now I'm clear :) Thank you, -Harry Ruben Thanks, -Harry What device could be needed to compile source code? I'm not sure why this would make any difference, but try with just /dev/null, /dev/zero, /dev/fd, /dev/fd/*, and /dev/std*. Also, try listing the contents of /dev before starting the buildworld, to make sure that nothing is missing. Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
buildworld inside a jail
Hello, with identical (5.2-p2) sources I can buildworld on the host machine but if I try to buildowrld inside a jail it fails with the following error: gzip -cn /usr/src/lib/libz/zlib.3 zlib.3.gz === libexec === libexec/atrun cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\/var/at/jobs/\ -DLFILE=\/var/at/ jobs/.lockfile\ -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\/var/at/spool\ -DVERSION=\2.9\ -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\/var/at/\ -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/ atrun.c cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\/var/at/jobs/\ -DLFILE=\/var/at/ jobs/.lockfile\ -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\/var/at/spool\ -DVERSION=\2.9\ -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\/var/at/\ -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/ gloadavg.c cc -O -pipe -mcpu=pentiumpro -DATJOB_DIR=\/var/at/jobs/\ -DLFILE=\/var/at/ jobs/.lockfile\ -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\/var/at/spool\ -DVERSION=\2.9\ -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\/var/at/\ -I/usr/src/libexec/ atrun/../../usr.bin/at -I/usr/src/libexec/atrun -o atrun atrun.o gloadavg.o /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyyerror' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyylex' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyyin' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyylineno' /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `_nsyytext' *** Error code 1 Stop in /usr/src/libexec/atrun. *** Error code 1 Stop in /usr/src/libexec. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any idea? Thanks in advance, -Harry pgp0.pgp Description: signature
Re: buildworld inside a jail
On Friday 06 February 2004 03:05, Colin Percival wrote: At 01:59 06/02/2004, Harald Schmalzbauer wrote: with identical (5.2-p2) sources I can buildworld on the host machine but if I try to buildowrld inside a jail it fails with the following error: Works for me. Can you describe * The kernel you're running, Custom UP, APIC, SCHED_4BSD and acpi. Please find the config attached * The world you've got inside the jail, and It's the world of make installworld DESTDIR=/jail * The contents of /dev inside the jail? It's the result of [devfsrules_jail=4] from devfs.rules (/etc/defaults) reading: dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 fd dr-xr-xr-x 2 root wheel - 512 5 Feb 23:21:07 2004 net crw-rw-rw- 1 root wheel - 2, 2 6 Feb 03:13:50 2004 null crw-rw-rw- 1 root wheel - 6, 0 6 Feb 02:35:01 2004 ptyp0 crw-rw-rw- 1 root wheel - 6, 1 6 Feb 03:18:17 2004 ptyp1 crw-rw-rw- 1 root wheel - 6, 2 6 Feb 02:31:13 2004 ptyp2 crw-rw-rw- 1 root wheel - 6, 3 6 Feb 01:13:39 2004 ptyp3 crw-rw-rw- 1 root wheel - 249, 0 5 Feb 23:21:08 2004 random lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stderr - fd/2 lrwxr-xr-x 1 root wheel -5 5 Feb 23:21:07 2004 stdin - fd/0 lrwxr-xr-x 1 root wheel -6 5 Feb 23:21:07 2004 stdout - fd/1 crw-rw-rw- 1 root wheel - 5, 0 6 Feb 03:18:17 2004 ttyp0 crw--w 1 root tty- 5, 1 6 Feb 03:18:17 2004 ttyp1 crw-rw-rw- 1 root wheel - 5, 2 6 Feb 02:31:13 2004 ttyp2 crw-rw-rw- 1 root wheel - 5, 3 6 Feb 01:13:39 2004 ttyp3 lrwxr-xr-x 1 root wheel -7 5 Feb 23:21:07 2004 urandom - random crw-rw-rw- 1 root wheel - 2, 12 5 Feb 23:20:19 2004 zero Thank you, -Harry P.S. Its past 3 in the mornig here so I'll be back tomorrow. Thanks a lot! Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] machine i386 cpu I686_CPU ident DFI options SCHED_4BSD #4BSD scheduler #optionsSCHED_ULE options INET#InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options QUOTA options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #optionsCOMPAT_FREEBSD4 #Compatible with FreeBSD4 options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options CLK_USE_I8254_CALIBRATION options CLK_USE_TSC_CALIBRATION options HZ=2000 options PERFMON options RANDOM_IP_ID # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #options MPTABLE_FORCE_HTT device apic# I/O APIC device isa device pci device agp # support several AGP chipsets device npx device acpi # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # 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) # RAID controllers device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard options ATKBD_DFLT_KEYMAP # specify the built-in keymap makeoptions ATKBD_DFLT_KEYMAP=german.iso device psm # PS/2 mouse device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc options MAXCONS=12 options SC_DISABLE_REBOOT options SC_DFLT_FONT# compile font in makeoptions SC_DFLT_FONT=iso15 # Add suspend/resume support for the i8254
How to calculate bsdlabel size
Hi all, I manually created disklabels with a size number of 10485760. I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760. Now after doing a newfs and mounting the new label, df -h reports a size of 4.8GB. Can someone please enlighten me? Thanks, -Harry pgp0.pgp Description: signature
Re: How to calculate bsdlabel size
On Wednesday 04 February 2004 21:56, Danny Pansters wrote: On Wednesday 04 February 2004 21:31, Harald Schmalzbauer wrote: Hi all, I manually created disklabels with a size number of 10485760. I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760. Now after doing a newfs and mounting the new label, df -h reports a size of 4.8GB. Can someone please enlighten me? Thanks, -Harry Per default, 5% of the space is reserved for root, so that in the worse case you can always write at least *something* to it as root. When running out of disk space you can actually get a 'df' of 106% or so because of this. It's a FAQ. But it's not my problem. What you mean results in limited available space, but doesn't have any influence on Size summary. Btw I did a newfs with -m 0 so it can't be the reaseon. -Harry HTH Dan pgp0.pgp Description: signature
Re: kde3 meta port question
On Monday 02 February 2004 22:23, Didier Wiroth wrote: Hi, I've kde installed from the cd on my box. I would like to recompile the entire kde packages. I'll do the following from /usr/ports/x11/kde3 @work:/usr/ports/x11/kde3# make === Extracting for kde-3.1.4 === Patching for kde-3.1.4 === kde-3.1.4 depends on file: /usr/X11R6/bin/moc - found === kde-3.1.4 depends on shared library: konq - found === kde-3.1.4 depends on shared library: kdecore - found === Configuring for kde-3.1.4 @work:/usr/ports/x11/kde3# That's it, it doesn't start to compile, why? Do I have to uninstall all my kde packages before being able to compile the entire kde packages? If you already successfully installed the kde3-port you can make clean make install or just make reinstall. -Harry I've these kde related entries in make.conf: WITHOUT_KDEVELOP=yes WITHOUT_KDEEDU=yes WITHOUT_KDEGAMES=yes WITHOUT_KOFFICE=yes WITHOUT_KDEPIM=yes WITHOUT_KDESDK=yes WITHOUT_QUANTA=yes thx a lot ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Root pwd and single user mode question
On Saturday 31 January 2004 18:33, Patrick Wilcox wrote: I loaded FreeBSD on one of my old PCs a few years ago. I wanted to start using it again, but I can't remember what the root password was. I'm sure I used the default, but I tried hitting enter and using password, root, r00t, sysadmin, admin and a few others to no avail. Can anyone tell me some others to try? Alternately, I tried logging into the box in single-user mode to change it. However, when I got to the boot: prompt and typed -s, it proceeded to do a normal boot. You have to type boot -s. I'm not exactly sure which verion I have, but the book was The complete FreeBSD 3rd edition and the CDs are dated June 2000. I'd say 3.3 or 3.4. But that doesn't matter. -Harry Any tips would be most appreciated, Pat Wilcox __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: NFS performances on 5.1
On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote: time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 NFS client time# pkts === === == Solaris 3.11s 2296 Linux Redhat9 2.42s 1929 FreeBSD 5.1 19.72s 14887 !!! FreeBSD 4.9 3.04s 6380 FreeBSD 5.2 2.98s 5941 All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... Question: is there any tuning on 5.1 to get better performances? Did you read the notes in src/UPDATING saying: NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: Could you pleas explain that numbers? I did almost the same test and found the following values in MByte/s: FBSD 5.2 - 5.2 / 4,6(Client 1,1G Cel, Server C3 800) Linux- 5.2 / lockup (Client 733 PIII, Server C3 800) FBSD 4.9 - 5.2 / 2,8(CLient 233MMX, Server C3 800) FBSD 5.2 - 5.1 / 6,5(Client 1,1G Cel, Server C3 800) Linux- 5.1 / 9,8(Client 733 PIII, Server C3 800) FBSD 5.2 - 4.9 / 5,8(Client 1,1G Cel, Server C3 800) Linux- 4.9 / 9,8(Client 733 PIII, Server C3 800) FBSD 4.9 - 4.9 / 3,0(Client 233MMX, Server C3 800) DragonFlyBSD as Server resulted in about 5% more performance than 4.9 (linear exept Linux Client as it performs with the maximum Ethernet Speed) My tests were without modifying any rsize/wsize. But even with (rw)size 32k i had expected to be able to transfer about 9 MByte/s from a 233MMX box. 3MByte/s is absolutely lousy. What hardware do we need for just tranfsering bytes? 1GHz? I think 233 MHz with 64MB for OS should be more than enough. Regrettably I haven't had time to install a Linux on the 233 box. Btw. Linux = DebWoody (2.4.22) and all clients have fxp interfaces! Summary: 5.1 as server was a lot faster than 5.2 as server so is 4.9. Fastest was DragonFlyBSD but anyhow, just Linux as Client does a reasonable job. And not to forget the broken Linux - 5.2 support!!! -Harry pgp0.pgp Description: signature
Re: most used programs
On Saturday 31 January 2004 19:07, paul wrote: Was wondering what everyones most used programs are or programs you just can't live without ( just looking for some new toys to play with) Best regards -Paul lft (from ports (net)) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: scroll lock vs shift page up keys usage
On Saturday 31 January 2004 21:29, Didier Wiroth wrote: Hi, (fbsd novice using bash2) I switched from csh to bash2 today. I was wondering if it is possible under bash2 to scroll the screens in the ttyv0-6 consoles with shift page up and shift page down. In csh I've always used Scroll lock but I thought under bash it is possible. This is not a matter of the shell but the console. You can use PCVT to achieve that, but why do you want to? Personally speaking, I love the SC console with the scroll Feature!!! -Harry When under X with xterm you can browse the screens with shift page up and shift page down. In some linux distros that uses bash shift page down and up are a normal feature. Is this a shell feature, you have to activate in your bash_profile/bashrc file or is this a freebsd syscons driver limitation? many thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: NFS performances on 5.1
On Sunday 01 February 2004 00:26, Melvyn Sopacua wrote: On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote: On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: Did you read the notes in src/UPDATING saying: NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: Could you pleas explain that numbers? No, because you also failed to mention if you've read that section and disabled WITNESS and so on. Ok, it was another thread where I mentioned that I'm tracking current for a long time, but of course I read it, I even can't remember when it was defaulted to be excluded. So I have code from today and I use similar generic options for today in my kernel. Btw, I replyed to the wrong posting, I asked Jacques Beigbeder to explain his numbers. And even with WITNESS and INVARIANTS in the kernel it would be poor performance since the difference is just about 10-20 percent. (last time I checked, which is a while ago) -Harry pgp0.pgp Description: signature
Re: NFS performances on 5.1
On Saturday 31 January 2004 19:03, Harald Schmalzbauer wrote: On Saturday 31 January 2004 17:11, Melvyn Sopacua wrote: On Saturday 31 January 2004 16:02, Jacques Beigbeder wrote: time dd=/fileserver/aFile of=/fileserver/otherFile bs=32768 NFS clienttime# pkts === === == Solaris 3.11s 2296 Linux Redhat9 2.42s 1929 FreeBSD 5.1 19.72s 14887 !!! FreeBSD 4.9 3.04s 6380 FreeBSD 5.2 2.98s 5941 All FreeBSD uses: mount_nfs -U -3 -r 32768 -w 32768 ... Question: is there any tuning on 5.1 to get better performances? Did you read the notes in src/UPDATING saying: NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: Could you pleas explain that numbers? I did almost the same test and found the following values in MByte/s: FBSD 5.2 - 5.2 / 4,6(Client 1,1G Cel, Server C3 800) Linux- 5.2 / lockup (Client 733 PIII, Server C3 800) FBSD 4.9 - 5.2 / 2,8(CLient 233MMX, Server C3 800) FBSD 5.2 - 5.1 / 6,5(Client 1,1G Cel, Server C3 800) Linux- 5.1 / 9,8(Client 733 PIII, Server C3 800) FBSD 5.2 - 4.9 / 5,8(Client 1,1G Cel, Server C3 800) Linux- 4.9 / 9,8(Client 733 PIII, Server C3 800) FBSD 4.9 - 4.9 / 3,0(Client 233MMX, Server C3 800) DragonFlyBSD as Server resulted in about 5% more performance than 4.9 (linear exept Linux Client as it performs with the maximum Ethernet Speed) My tests were without modifying any rsize/wsize. But even with (rw)size 32k i had expected to be able to transfer about 9 MByte/s from a 233MMX box. 3MByte/s is absolutely lousy. What hardware do we need for just tranfsering bytes? 1GHz? I think 233 MHz with 64MB for OS should be more than enough. Regrettably I haven't had time to install a Linux on the 233 box. Btw. Linux = DebWoody (2.4.22) and all clients have fxp interfaces! Summary: 5.1 as server was a lot faster than 5.2 as server so is 4.9. Fastest was DragonFlyBSD but anyhow, just Linux as Client does a reasonable job. And not to forget the broken Linux - 5.2 support!!! Oh, I forgot to mention one very important thing: The idle cycles while NFS transfers. Like mentioned, the server is a C3 800 Processor with 256MB RAM nothing doing else than feeding NFS and SMB Clients (via SAMBA 3.0.1). In case of my NFS mesurements, 5.2 had 20% idle while feeding 5.2 with 3,5MByte/s!!! Best was Dragonfly which had 60% idle when feeding the Linux box with 9.8MByte/s while 4.9 only had 50% idle (while feeding the Linux Client with 9.8Mbyte/s). -Harry pgp0.pgp Description: signature
Cheap ATA-Raid-Controllers
Hi all, I'd especially like Søren to make a advice which ATA-Raid Controller on the low end to choose. I tried some based on SIL0680 and was dissapointed, same with HPT370(372) based. Søren has recommended Promise Controllers (since they support FreeBSD development) but he didn't make clear what series (S150/TX2000/TX4000/ SX6000). Of course they are more expensive than a 25$ based SIL680 but if one drive fails and the machine panics it's worth spending a little more. On the other hand I can buy a 3ware 4 port parallel controller for about 200$ so in my opinion the promise SX series has no right to exist since 3ware always has been the straightedge for me. I really think this is on topic with questions@, chat@ I think wasn't the right place. Thanks all, -Harry pgp0.pgp Description: signature
devfs problem
Hi all, I have devfs mounted at /somepint/ip/dev and ls shows: acpi cuala0 net1 stdout ttyv2 twed0s1 agpgartcuala1 net2 sysmouse ttyv3 twed0s1a apmdevctl networkttyd0 ttyv4 twed0s1b ast0 devstatnull ttyd1 ttyv5 twed0s1c atafd pcittyid0 ttyv6 twed0s1d consolegeom.ctl perfmonttyid1 ttyv7 twed0s1e consolectl io ptyp0 ttyld0 ttyv8 twed0s1f ctty klog ptyp1 ttyld1 ttyv9 twed0s1g cuaa0 kmem random ttyp0 ttyva twed0s1h cuaa1 memsmb0 ttyp1 ttyvb urandom cuaia0 nast0 stderr ttyv0 twe0 xpt0 cuaia1 netstdin ttyv1 twed0 zero devfs rule show print: 100 hide I expected after a devfs -m /somepoint/ip/dev rule applyset that I don't see a device anymore. What am I doing wrong? Also the jail_ip_devfs_ruleset=4 line in /etc/rc.conf didn't work for me. Thanks in advance, -Harry pgp0.pgp Description: signature
Re: devfs problem
On Saturday 31 January 2004 00:17, Harald Schmalzbauer wrote: Hi all, I have devfs mounted at /somepint/ip/dev and ls shows: acpi cuala0 net1 stdout ttyv2 twed0s1 agpgartcuala1 net2 sysmouse ttyv3 twed0s1a apmdevctl networkttyd0 ttyv4 twed0s1b ast0 devstatnull ttyd1 ttyv5 twed0s1c atafd pcittyid0 ttyv6 twed0s1d consolegeom.ctl perfmonttyid1 ttyv7 twed0s1e consolectl io ptyp0 ttyld0 ttyv8 twed0s1f ctty klog ptyp1 ttyld1 ttyv9 twed0s1g cuaa0 kmem random ttyp0 ttyva twed0s1h cuaa1 memsmb0 ttyp1 ttyvb urandom cuaia0 nast0 stderr ttyv0 twe0 xpt0 cuaia1 netstdin ttyv1 twed0 zero devfs rule show print: 100 hide I expected after a devfs -m /somepoint/ip/dev rule applyset that I don't see a device anymore. What am I doing wrong? Also the jail_ip_devfs_ruleset=4 line in /etc/rc.conf didn't work for me. Arghh, found the mistake. The example in /etc/default/rc.conf shows a number for jail_example_devfs_ruleset=123. But it should be the name of the rule so I think the line should be corrected by: jail_example_devfs_ruleset=devfsrules_hide_all Or a dummy example-entry in /etc/defaults/devfs.rules -Harry Thanks in advance, -Harry pgp0.pgp Description: signature
Re: Background fsck only for UFS2??
On Friday 23 January 2004 10:42, Heinrich Rebehn wrote: Hi list, Does anyone know if the background fsck feature of 5.x is also available for UFS filesystems or is it only for UFS2? It's not UFS2 but 5.x related. 5.2 has UFS2 as default, but 5.1 also had background fsck while 4.x does not. -Harry Heinrich pgp0.pgp Description: signature
Re: Kernel Upgrades and Patches
On Saturday 17 January 2004 11:37, Loren M. Lang wrote: Are there any patches available for the FreeBSD kernel to support features like acpi or usb 2.0 without upgrading to a full 5.1 kernel or is it possible to use the 5.1 kernel without a full upgrade? No. FreeBSD is released as a complete operating system and not just a kernel with distributions arround it. If you want to run FreeBSD you will have to run the operating system. But of course you can get the code you want by cvs. I'm curious if I could do something like in was doing in Linux before linux 2.6 was officially released where I had the choice to run a 2.6 test kernel or load a 2.4 kernel so I could try out some of the new features without dedicating my system to running it full time in case of any stability problems. I did have to upgrade a few core packages, but I could just upgrade each one individually, and they were all fully backward compatible and had no stability issues, by themselves. You have the choice to run -RELEASE, -STABLE or -CURRENT. What you are looking for is -CURRENT. There you can test anything you want and take part in development. For production use you should run RELEASE and you can also run a second installation on your test machine like -STABLE. For more info see the FreeBSD Hnadbook, especiallay: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html Also, are there many patches for trying out new features like improving latency on a system or trying out a new scheduler? (These are just examples I took from linux.) Indeed, there is currently a new scheduler in FreeBSD. You can choose it by compiling your own customized kernel. Also see the handbook for further info (You need options SCHED_ULE) And lastly, is there anyway to emulate running a linux device driver or is it easy to port it to freebsd? No device driver. But you ave a userland emulation. -Harry pgp0.pgp Description: signature
Re: Promise Fastrak ATA RAID 1 mirror lost
On Monday 12 January 2004 22:32, Michael wrote: Hi, I have an intel motherboard with an onboard Promise Fastrak ATA RAID. This morning it reported that the mirror was lost and I would like to rebuild it. My system is FreeBSD 4.8-RELEASE-p10. This is what's reported from `atacontrol list`: ATA channel 0: Master: acd0 CD-540E/1.0A ATA/ATAPI rev 0 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present ATA channel 3: Master: ad6 ST380021A/3.19 ATA/ATAPI rev 5 Slave: no device present The kernel message that I saw in my daily report was this: ad6: hard error reading fsbn 140018943 of 0-127 (ad6 bn 140018943; cn 138907 tn 10 sn 57) trying PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: DMA problem fallback to PIO mode ad6: hard error reading fsbn 140019007 of 0-127 (ad6 bn 140019007; cn 138907 tn 11 sn 58) status=59 error=00 ar0: WARNING - mirror lost Which is confirmed by the output of `atacontrol status ar0`: ar0: ATA RAID1 subdisks: ad4 ad6 status: DEGRADED So I looked at the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html) and in section 12.4.3 it suggests that I detach, attach and then rebuild the array. Can I do this on a running system or do I first need to drop to single user mode? If I do that, how do that without rebooting? Does anyone have any experience with this? Like you found in the handbook, atacontrol is what you need and yes, you can do it without rebooting or droping into singleuser (if the drive hadn't really failed but only had a bad day like trash on the bus which I regularly have) The other option seems to be to reboot the computer and use the Fastrak firmware to rebuild the array. Last time I tried that it didn't work for SIL0680 nor HPT372, but I don't know about the promise. Give the handbook procedure a try! -Harry Which option is the most painless? I have recent dumps of the system, but I would prefer not to have to go that route. Thanks for any help/suggestions, Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
some HTT questions
Hi all, I'm currently working on my first P4 ever. I'm planning a colo production machine with FreeBSD 5.2 (RC2 atm). The info of dmesg about the CPU shows: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.13-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE So I think this CPU should be HyperThreading capable which gets hardened by those lines: acpi_cpu0: CPU on acpi0 acpi_cpu1: CPU on acpi0 But the next line gives my an error about CPU1: device_probe_and_attach: acpi_cpu1 attach returned 6 This line shows up a second time between probing of sio and nxp0. Ny my guess was that HTT should be enabled in the BIOS but the BIOS has no entry about HTT. How can I use HTT and are my assumptions correct? Thanks, -Harry pgp0.pgp Description: signature
Re: 5.2-RC2 customize questions
On Thursday 01 January 2004 21:59, J.D. Bronson wrote: I have installed 5.2RC2 on i386 and have all of it working well (including ACPI with HTT) Since I am much more familiar with the 4.x flavor, is there any web area that explains the following: 1. it seems alot of startup was moved to /etc/rc.d...thats cool, but I dont see the connection as to how things in there are being invoked? I just can tell you that RCng was merged from NetBSD some months ago. 2. How can I get rid of the boot menu and boot 5.2 like 4.x ? You can edit /boot/loader.rc and comment the line include /boot/beastie.4th and beastie-start 3. I built a custom kernel and chose to incorporate 'hints' within the kernel and that seems to work, but I noticed alot of modules still get built for devices I didnt include or list (like scsi and sound)...how can I effectively remove devices I dont have ? That's because modules are built together with the kernel not with the world. You can change this by adding the following to /etc/make.conf NO_MODULES=true or or and/or MODULES_WITH_WORLD=true ..other than this (so far)..I am very pleased at the performance! Well then you seem to have very fast hardware. Regarding disk transfer and network speed there is plenty to do (see Greg Leheys latest measurements) -Harry thanks. pgp0.pgp Description: signature
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 10:08, Andrew L. Gould wrote: On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is Operation not permitted Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? No, 5 has devfs. Dany, make sure you have CD9660 compiled into the kernel, normal user aren't allowed to load kernel modules. Also securemode should net be set. And the mountpoint should be owned by the user (which is in your case I think since its under $home). I had the same problem and it was simply the missing CD9660 bits in the kernel -Harry Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 15:48, Dany wrote: I'v checked my kernel config and it had the Options CD9660. Beside the mounting problem as I said the user cannot use the linked device (/dev/dvd) to just watch a DVD (not need for mounting, just access to the device). Can you post the system configuration files that you're using in order to allow your users to mount CD drives ? cale:/tmp# sysctl vfs.usermount vfs.usermount: 1 in /etc/devfs.conf: permxpt00660 permpass0 0660 permcd0 0660 linkcd0 cdrom linkacd0acd0c cale:/dev# ll cd* crw-rw 1 root operator - 4, 27 28 Dez 21:57:24 2003 cd0 lrwxr-xr-x 1 root wheel -5 28 Dez 21:57:40 2003 cdrom - cd0 Is your user in the correct group? (operator in my example) Note: I'm using atapicam so you should consider cd0 as acd0 -Harry Thank you Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 10:08, Andrew L. Gould wrote: On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is ?Operation not permitted? Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? No, 5 has devfs. Dany, make sure you have CD9660 compiled into the kernel, normal user aren't allowed to load kernel modules. Also securemode should net be set. And the mountpoint should be owned by the user (which is in your case I think since its under $home). I had the same problem and it was simply the missing CD9660 bits in the kernel -Harry Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 16:07, Dany wrote: Harald Schmalzbauer wrote: *SNIP* This is pretty much what I've tried. My user is in the Wheel group. Would this exact configuration work ?Should I set any other permission in order to have the user from the wheel group to mount drives? Thanks for posting your configuration. PS: One thing I've noticed with this specific user, whenever he creates something the file/directory will show owner:username group:username. I've used the command groups as well as chpass I think and they gave me only one group for this username... wheel. Why doesn't wheel appear as the group owner for stuff that username is creating ? When you add a user with adduser by default FreeBSD creates a group similar named like the username. If you later say that this user should be in group wheel it's additional. added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 This line just gives write access to group. You can either add the line: ownacd0 root:wheel or you edit /etc/groups and add your user to the group operator. I'd prefere the latter. Here's my simple /etc/group example: # $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $ # wheel:*:0:root,harry daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root,harry mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: harry:*:: uli:*:: schowi:*:: administrator:*:: alle:*::root,harry,uli,schowi,administrator setiathome:*:: -Harry pgp0.pgp Description: signature
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 16:37, Dany wrote: Thanks Harry for taking the time to answer my questions. I think based on your comments it should work. Is there any security concern having a user belonging to the group operator ? I never really cared about. AnonFTP is owned by operator, but in general I think wheel is worse than operator. Please correct me anybody, I don't really care on my workstation ;) Best is to have a look through the (default) filesystem and see if operator has any write permissions where it was no good. I'm quiet sure wheel has much too much read permissions for normal users. But that doesn't matter for useres who can su ;) Happy new year, -Harry Thanks again Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 16:07, Dany wrote: Harald Schmalzbauer wrote: *SNIP* This is pretty much what I've tried. My user is in the Wheel group. Would this exact configuration work ?Should I set any other permission in order to have the user from the wheel group to mount drives? Thanks for posting your configuration. PS: One thing I've noticed with this specific user, whenever he creates something the file/directory will show owner:username group:username. I've used the command groups as well as chpass I think and they gave me only one group for this username... wheel. Why doesn't wheel appear as the group owner for stuff that username is creating ? When you add a user with adduser by default FreeBSD creates a group similar named like the username. If you later say that this user should be in group wheel it's additional. added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 This line just gives write access to group. You can either add the line: ownacd0 root:wheel or you edit /etc/groups and add your user to the group operator. I'd prefere the latter. Here's my simple /etc/group example: # $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $ # wheel:*:0:root,harry daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root,harry mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: harry:*:: uli:*:: schowi:*:: administrator:*:: alle:*::root,harry,uli,schowi,administrator setiathome:*:: -Harry pgp0.pgp Description: signature
Re: Soekris machines
On Wednesday 31 December 2003 13:57, Francisco Reyes wrote: Anyone has set one of those up? In particular how did you communicate with the machine? Do I need a null modem cable? Which program you used and settings? From the ports it seems minicom may do the trick. It's working like a charm with FreeBSD. Especially phk has extended FreeBSD with lots of nice features for ElanSC520/ Soekris (like errLED device, setable X-Tal freq, ELAN timecounter etc.) I use tip for the serial console (with nullmodem cable) There are a lot of reports/articles about net4501 and FreeBSD/OpenBSD out there -Harry If using the CF card in the machine how did you find out what was the device name of your USB writer. I blew up my primary HD MBR trying to write the image of M0n0wall. Didn't loose almost any data due to my nightly backups, but want to find out the right way to do it on a less painfull way. :-) The card is seen by camcontrol and usbdevs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: arp -d -a fail on freebsd5.2 rc2
On Sunday 28 December 2003 17:24, Zh Zhechev wrote: I install FreeBSD 5.2 RC1 from ISO disk 1(full vertion).The arp -d -a command not work and reboot the computer, but the command arp -d hostname work. I cannot confirm that for RC2. It's working here. -Harry - http://gsm.ABV.bg - Âçåìè ñåãà ìåëîäèÿ çà òâîÿ òåëåôîí ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: BSD Usenet server
On Sunday 28 December 2003 21:36, Chris wrote: Hiya everyone, Is there a *BSD Usenet server out there that someone is running so I can point my news reader to it? Well, any newsserver should have various bsd groups. But if you're looking for a Mailinglist-News Gateway, there was something in muc But this was provided by camelot which no longer exists, so I don't know if these groups still get feeded. -Harry pgp0.pgp Description: signature
Re: VIA Tech Mini-ITX
On Friday 26 December 2003 21:59, Anclo wrote: I'm considering to build a small VIA Tech Mini-ITX system using the C3 800 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a gateway/router. Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to use it to run 4.9-RELEASE. Any advice would be appreciated - I'd hate to find out that there is no FreeBSD driver for the built-in network card... I'm using a older C3 800 miniITX without any problem. AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet. Also the PLE266 should work, but of course you cannot use the mpeg2 decoder. Don't know any OS which could make use of it. -Harry Anclo - This mail sent through IMP: http://horde.org/imp/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: VIA Tech Mini-ITX
On Friday 26 December 2003 22:39, Anclo wrote: At 04:06 PM 12/26/2003, you wrote: On Friday 26 December 2003 21:59, Anclo wrote: I'm considering to build a small VIA Tech Mini-ITX system using the C3 800 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a gateway/router. Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to use it to run 4.9-RELEASE. Any advice would be appreciated - I'd hate to find out that there is no FreeBSD driver for the built-in network card... I'm using a older C3 800 miniITX without any problem. AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet. Also the PLE266 should work, but of course you cannot use the mpeg2 decoder. Don't know any OS which could make use of it. -Harry Harry, many thanx - my 10 year old system which I just set up as gateway has expired and I figured that a C3 800 would be a relatively inexpensive replacement. Just curious - what driver does your system say it uses for the C3 800 miniITX's NIC? You can watch the dmesg at http://www.schmalzbauer.de/netz It's machine tek -Harry P.S. I heard that there is linux development for the mpeg2 decoder but didn't know that it's yet available. Good to hear :) Anclo pgp0.pgp Description: signature
Re: Must root be on slice 'a'?
On Monday 22 December 2003 17:27, Leif Neland wrote: http://geodsoft.com/howto/dualboot/freebsd.htm writes this:To install a new FreeBSD system, you must create a new '/' file system at a minimum. If you do this in a slice with an existing '/' partition the previous system will become inaccessible. You can normally tell that there is a previous '/' mounted in the current slice, if any existing partition name ends in an 'a'. Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ? Right. Root always must be label a. You don't have to change slices. But you can compile something different in the kernel: options ROOTDEVNAME=\ufs:da0s2e\ AFAIK it should bee possible to also change the root device in 1st bootstage See man (8) boot -Harry Leif ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: FreeBSD as dial up server...
On Saturday 20 December 2003 02:57, Drew Robertson wrote: Hi, I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS server... At the moment, I have almost everything working... yay! My question to anyone that knows... my FreeBSD system is running SAMBA and is part of a workgroup in my home... Is it possible from a dial up client to view the Network using network neighbourhood?? I read somewhere that as the PPP server is a router, network browsing will not work... is this true? That is true. You'd need at least one server at each subnet. But once I did a ugly hack to make it working: I bimapped broadcast addresses along the subnets. As far as I can remember this worked, but it was just for fun, I never used it. Also prividing a WINS at SAMBA and using that on the ppp link was usefull but that was long ago (WinNT WinCE and Samba 1) -Harry Thanks. _ ninemsn Premium transforms your e-mail with colours, photos and animated text. Click here http://ninemsn.com.au/premium/landing.asp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: FreeBSD as dial up server...
On Sunday 21 December 2003 03:52, Drew Robertson wrote: Thanks for your help. Would you happen to know if setting up the FreeBSD box as a DNS server would allow network browsing over the PPP link??? No. DNS doesn't help in this situation. But anyhow, DNS is reqired for Samba to act as WINS server which could help. Can't remember exactly if wins itself was enough to enable dial-up browsing. I did the broadcast bimap with ipf (Darren Reeds IPFilter) (like bimap tun0 192.168.1.255/32 - 192.168.0.255/32 for ipnat.conf) -Harry I have no idea how to bimap a broadcast address along subnets!!! But that is something I'm gonna have to learn! I only have one subnet, so I'm not sure that'll work in this case. Thanks again. From: Harald Schmalzbauer [EMAIL PROTECTED] To: Drew Robertson [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: FreeBSD as dial up server... Date: Sat, 20 Dec 2003 12:46:29 +0100 On Saturday 20 December 2003 02:57, Drew Robertson wrote: Hi, I'm working at getting my FreeBSd 4.8 system to act as a dial up RAS server... At the moment, I have almost everything working... yay! My question to anyone that knows... my FreeBSD system is running SAMBA and is part of a workgroup in my home... Is it possible from a dial up client to view the Network using network neighbourhood?? I read somewhere that as the PPP server is a router, network browsing will not work... is this true? That is true. You'd need at least one server at each subnet. But once I did a ugly hack to make it working: I bimapped broadcast addresses along the subnets. As far as I can remember this worked, but it was just for fun, I never used it. Also prividing a WINS at SAMBA and using that on the ppp link was usefull but that was long ago (WinNT WinCE and Samba 1) -Harry Thanks. _ ninemsn Premium transforms your e-mail with colours, photos and animated text. Click here http://ninemsn.com.au/premium/landing.asp ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] attach3 _ Get less junk mail with ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp pgp0.pgp Description: signature
Re: Why userland , basesystem and Kernel are together?!
On Tuesday 09 December 2003 00:37, Vahric MUHTARYAN wrote: Hi Everybody , it's not easy to jump from one operating system to other one , sometimes people can have too much habit and it's searching same ones in other , for good understanding it is asking why ?! :) Well, if you're talking about operating systems you answered your question yourself! I want to ask why userland , base-system and Kernel are together ?! What is the meaning of this . I mean sync. all source and start to build new system from the beginning is to hard , it takes too much time and can have some risk .I don't understand How ISP can use FreeBSD because at the building time , machine will be off. Okey Maybe yahoo can use it because What a nonsens! it's clustered environment and it's easyly remove one of the machine install new version or patch it if any problem occur it can be reinstalled after that making standart configuration now it's ready. I think that Kernel must be seperate of userland because it's managing You think? *lol* and controling processes and I don't need rebuild kernel too much if I have no problem with device driver or if I don't need to add something to kernel for support ( instead of Firewall or like important things ) . Why some programs are in base system . What is the meaning of Sendmail or SSH in base system . Programs are only executable things What is the relation about those programs with base system ?! in list Some members said that I can patch a system with watching Security Advisories but same people said that Sometimes it'wont and I have to do full kernel / world / build / plus install and reboot Why ? What is the problem ?! Which list I have to watch for which Relese will have production quality ?!! /trollfeeding ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: a technical how to
On Tuesday 09 December 2003 02:51, homeyra g wrote: So, I hope this is the right address for this type of question. If not would you please forward this and/or let me know the correct address. Thanks, Here is the question: How to truncate a file from the begining to a certain point in the file? Have a look at sed. Sorry can't help with syntax and I'm sure one can also do the same with perl or awk or whatever. But for the first, man (1) sed will help with 'cat yourfile | sed -youroptions' e.g. You can also use vi (if it's a regular textfile with less than hundreds of megs), find your endpoint with e.g /YourEndKeyWord and do in instruction mode a dG, after that save. -Harry __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature