Re: How to include header files in makefiles
On Fri, Mar 18, 2005 at 04:38:15PM +, Chuck Robey wrote: : 1) relative addressing means you have to be forever translating paths in : listings, and very often the number of include paths gets to be rather long. Okay, I can fix that easily. : The Make(1) man page doesn't show "include", the advertised command is : ".include". If you use .include, then you can modify your make, if you Also fixable. : >How can I include the .h files so the .c files are recompiled when the : >header files they require are changed? GNU make has 'make depend' but I'd : >like a better, BSDmake-centric way, if possible. : : Well, did you look at the files in /usr/share/mk, and specifically : bsd.dep.mk? You can even use the FreeBSD sources to figure out (to use : as examples) how things should work. This is the key I want to get working. I'll take a look at those files, but they are pretty deep. : I honestly keep on switching back and forth, between thinking that the : best make is bmake, or gmake. They both have key items that make them : uniquely better. I haven't decided yet. Most BSD people are (predictably) anti-gmake. I have to use gmake for a Linux project I'm on. Jonathon McKitrick -- My other computer is your Windows box. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: calcru: negative runtime
Brian Curnow wrote: I am new to BSD and just downloaded BSD 5.3-RELEASE. I saw a few other posts on this issue but I didn't see any solutions. I am getting excessive calcru: negative runtime messages in the syslog (and the console). According to the FAQ the solution is to use sysctl and set kern.timecounter.method=1, however this param does not exist in 5.3. Is there a solution to this issue? Thanks! Brian Curnow $sysctl -a | grep timeco kern.timecounter.stepwarnings: 0 kern.timecounter.nbinuptime: 4005177648 kern.timecounter.nnanouptime: 0 kern.timecounter.nmicrouptime: 1108115 kern.timecounter.nbintime: 1813993971 kern.timecounter.nnanotime: 207315298 kern.timecounter.nmicrotime: 1606545859 kern.timecounter.ngetbinuptime: 0 kern.timecounter.ngetnanouptime: 115004537 kern.timecounter.ngetmicrouptime: 3989727579 kern.timecounter.ngetbintime: 0 kern.timecounter.ngetnanotime: 526 kern.timecounter.ngetmicrotime: 201307619 kern.timecounter.nsetclock: 7 kern.timecounter.hardware: ACPI-fast kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-100) kern.timecounter.tick: 1 I'm not the expert here, but I think I've experience. Examine the options your system has for "kern.timecounter.choice" (you can see above how I did it) and experiment until you find (if you find) a setting that seems to fix the problem. Certain chipsets seem to have issues, but I couldn't say which ones. I have, however, fixed a couple of boxes by picking a different value for this sysctl. It's likely that the FAQ hasn't yet been completely transformed into a "post-5.3-is-now-stable" format, since people were warned that 5.0-5.2 weren't "production releases". If you find that this helps you, write back and I'll try sometime Real Soon Now(tm) to send a patch to the FDP folks to address that issue HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
-Original Message- From: Nick Pavlica <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Fri, 18 Mar 2005 19:45:44 -0700 Subject: Re: FreeBSD 4.x Opteron Question :em1897, : I'm curious how you are testing. In my testing, the 5.4 pre IP :stack performed very well. I was able to get 100% more throughput :than Linux (2.6.10 FC3) under heavy load on the exact same hardware. :I was actually surprised at the difference because I have been a Linux :Zellot for years. I didn't see any packet loss in my tests, but I do :have good quality networking gear and servers. I was happy enough :after my testing that I'm going to move my 4.x servers to 5.4 when :it's released. I haven't tested dragonfly yet, but get all the :performance I need out of FreeBSD. : :--Nick on a side note, I thought top posting was a no-no? I see gmail has the same issues as AOL. Or are the issues with the old farts with their newsreaders? :-) I don't get your logic. You are converting your servers from 4.x to 5.4 because you've found that 5.4 is faster than linux? Is that some sort of riddle? FreeBSD has always been faster than linux; I'm comparing FreeBSD 4.x to 5.4, so I'm not sure what linux has to do with anything here. What you can "get" in terms of throughput doesn't always give you the right answer. My tests measure kernel performance; as I'm interested in routing/packet-processing performance. Sockets add a tricky variable. But I take the IP stack out of the equation altogether by bridging packets through a box, and I prefer to use a 50% load as timings sometimes change when you start to saturate things unnaturally. You won't be running your machine at 100% load, so it makes no sense to test it that way. For the latest test I have a 3.06Ghz xeon bridging 486,000pps. For FreeBSD 4.9, this is a 50% load. The load under 5.4 is 65%. It tests interrupt and process switching performance, which for a networking device is a key performance indicator. (I think) that the 5.4 kernel is threaded, so there are latencies that are very difficult to overcome. Linux has been threaded for a long time, and always has been a poor Uniprocessor performer. 5.4 is better than linux with one processor, but if you are UP then 4.x is clearly the way to go. Linux kills 5.4 with dual processors; in fact 5.4 seems to have higher network performance with 1 processor than 2. They still have a lot of issues to work out. DragonflyBSD has done a nice job with MP, but their performance is still a work in progress. For UP, their performance is dismal so its not quite where it needs to be, but its promising. I just wish that they had done a 64-bit version of 4.x. Because at the moment it seems that there is no way to utilize the opteron fully without having to use a slow version of the OS, which negates the gains. Its a real shame. On Fri, 18 Mar 2005 18:55:14 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: :Boris, : I would agree that my initial impression of 5.3 was that it was slow :compared to 4.x. After some tuning, I now have 5.3 running at an :acceptable performance level. You may want to start testing the newer :versions of 5 current. I have noticed improved performance on my test :servers and believe that 5.4 will demonstrate an improvement in :performance. I know that the guys on the performance list would like :to get some good feedback if you find any specific bottlenecks with it :as well. : :--Nick FYI, I recently testing bridging/network performance on 5.4-pre and its about the same as 5.3: 25 to 30% more CPU load for the same traffic levels than 4.x. SMP drops packets at about 60% load and seems to have a lower capacity than UP. I'm sure some things are faster, but networking is a large component for most people I think. Threaded network stacks just don't seem to perform well, certainly not on UP. Linux MP works much better, but with 2 CPUs it has the capacity of FreeBSD 4.x with 1. So its hard to justify. FWIW, its quite a bit better with UP than DragonFLY, but dragonfly is much better with 2 processors. On Wed, 16 Mar 2005 14:51:43 -0800 (PST), Boris Spirialitious <[EMAIL PROTECTED]> wrote: > > --- cyb <[EMAIL PROTECTED]> wrote: > > http://www.freebsd.org/platforms/amd64.html > > > > Looks like you will need to use 5.3-release (or > > 5.3-stable/5.4-prerelease if you have more than > > 4GB). > > > > Why can you not use 5.3? > > 5.3 is too slow, and we have custom code. Why use > faster hardware just to use slower version of O/S? > Please don't start with flames. This is what I > feel. > > I don't need so much RAM, so 4.x will work with > 1 or 2GB of RAM? > > Boris > > > > > > > On Wed, 2005-03-16 at 09:43 -0800, Boris > > Spirialitious wrote: > > > --- Boris Spirialitious <[EMAIL PROTECTED]> > > > wrote: > > > > When opteron support start for Freebsd? I have > > 4.9. > > > > is supported? Or 4.11 better? I can't use 5.x. > > > > > > > > Will a i386 disk boot on opteron syst
calcru: negative runtime
I am new to BSD and just downloaded BSD 5.3-RELEASE. I saw a few other posts on this issue but I didn't see any solutions. I am getting excessive calcru: negative runtime messages in the syslog (and the console). According to the FAQ the solution is to use sysctl and set kern.timecounter.method=1, however this param does not exist in 5.3. Is there a solution to this issue? Thanks! Brian Curnow __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to avoid forkbomb?
in message <[EMAIL PROTECTED]>, wrote Ryan J. Cavicchioni thusly... > > Ryan J. Cavicchioni wrote: ... > >I decided to give the forkbomb script a try which is below: > > > >#!/bin/sh > > > >$0 & $0 & > > > >The system was unresponsive for a couple minutes but then FreeBSD > >killed the script and the system was accessible. > > > >I started looking around for what my process limit was set at but FWIW, i tried a version (in ksh88 and possibly whatever /bin/sh would have been) on Sun Solaris 2.something (on Sparc), which caused ... absolutely nothing. IIRC, the version i tried was something like... :(){ :|:& }; while true; do :; done - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
curious about da_quirk_table
Greetings, I have an usb flash disk which does not support cache synchronization. Usb vendor 0x1005. (The inscription on it says "Apacer HandySTENO"). On FreeBSD 5.3 RELEASE it generates several of umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 error messages. I've looked in Google and in the source and found da_quirk_table array in scsi_da.c. I've added my disk data there and the disk started working... I'm just curious is that the right way to do this and if so do you gather the data. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
em1897, I'm curious how you are testing. In my testing, the 5.4 pre IP stack performed very well. I was able to get 100% more throughput than Linux (2.6.10 FC3) under heavy load on the exact same hardware. I was actually surprised at the difference because I have been a Linux Zellot for years. I didn't see any packet loss in my tests, but I do have good quality networking gear and servers. I was happy enough after my testing that I'm going to move my 4.x servers to 5.4 when it's released. I haven't tested dragonfly yet, but get all the performance I need out of FreeBSD. --Nick On Fri, 18 Mar 2005 18:55:14 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > :Boris, > : I would agree that my initial impression of 5.3 was that it was slow > :compared to 4.x. After some tuning, I now have 5.3 running at an > :acceptable performance level. You may want to start testing the newer > :versions of 5 current. I have noticed improved performance on my test > :servers and believe that 5.4 will demonstrate an improvement in > :performance. I know that the guys on the performance list would like > :to get some good feedback if you find any specific bottlenecks with it > :as well. > : > :--Nick > > FYI, I recently testing bridging/network performance on 5.4-pre and its > about the same as 5.3: 25 to 30% more CPU load for the same traffic > levels than 4.x. SMP drops packets at about 60% load and seems to > have a lower capacity than UP. I'm sure some things are faster, but > networking is a large component for most people I think. > Threaded network stacks just don't seem to perform well, > certainly not on UP. Linux MP works much better, but > with 2 CPUs it has the capacity of FreeBSD 4.x with 1. > So its hard to justify. > > FWIW, its quite a bit better with UP than DragonFLY, but > dragonfly is much better with 2 processors. > > On Wed, 16 Mar 2005 14:51:43 -0800 (PST), Boris Spirialitious > <[EMAIL PROTECTED]> wrote: > > > > --- cyb <[EMAIL PROTECTED]> wrote: > > > http://www.freebsd.org/platforms/amd64.html > > > > > > Looks like you will need to use 5.3-release (or > > > 5.3-stable/5.4-prerelease if you have more than > > > 4GB). > > > > > > Why can you not use 5.3? > > > > 5.3 is too slow, and we have custom code. Why use > > faster hardware just to use slower version of O/S? > > Please don't start with flames. This is what I > > feel. > > > > I don't need so much RAM, so 4.x will work with > > 1 or 2GB of RAM? > > > > Boris > > > > > > > > > > > On Wed, 2005-03-16 at 09:43 -0800, Boris > > > Spirialitious wrote: > > > > --- Boris Spirialitious <[EMAIL PROTECTED]> > > > > wrote: > > > > > When opteron support start for Freebsd? I have > > > 4.9. > > > > > is supported? Or 4.11 better? I can't use 5.x. > > > > > > > > > > Will a i386 disk boot on opteron system? Can I > > > > > use same disk image for intel and amd MBs? Any > > > > > big problems? > > > > > > > > > > Thanks, > > > > > > > > > > Boris > > > > > > > > Does anyone know answer please? Someone must use > > > > Opteron here > > > > > > > > Boris > > > > > > -- > > > GnuPG key : 0xD25FCC81 | > > > http://cyb.websimplex.de/pubkey.asc > > > Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B > > > 0372 D25F CC81 > > > > > > > > > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources site! > > http://smallbusiness.yahoo.com/resources/ > > ___ > > 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]"
do i need to reinstall
i recently bought a new and larger hard drive for my computer. i put it the machine as '/dev/ad3'. while educating myself about this new drive, i installed freebsd 5.3 on one of the slices. i am ready to eliminate the old 'ad0' and want to move the new drive so it will become '/dev/ad0'. will BSD operate in its new location without any changes to the configuration files? perhaps '/etc/fstab', and what else? or should i just reinstall freebsd after i have reconfigured the machine? [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to avoid forkbomb?
I apologize, I did not mention what version I was running. Here it is: 5.3-RELEASE-p5 Ryan J. Cavicchioni wrote: Hi, After reading this article: http://www.securityfocus.com/cgi-bin/sfonline/columnists-item.pl?id=308, I decided to give the forkbomb script a try which is below: #!/bin/sh $0 & $0 & The system was unresponsive for a couple minutes but then FreeBSD killed the script and the system was accessible. I started looking around for what my process limit was set at but I found a couple different values. ulimit -a outputs: core file size(blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files(-n) 7264 pipe size (512 bytes, -p) 1 stack size(kbytes, -s) 65536 cpu time (seconds, -t) unlimited max user processes(-u) 3632 kern.maxproc is set to 4036 /etc/login.conf reads: :maxproc=unlimited:\ My questions are: Am I looking at the correct values? Which is the actual process limit? What would you recommend that I set it to in order to have my machine shrug off the fork bomb sooner? What would be a good process limit for a LAMP webserver? How would I set the process limits? Thanks in advance. - Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PPP routing failure [fixed]
Yes it was a sleep issue (and not the sleep(2) kind haha). *facepalm* Apparently the POP uses a 2 stage authentication process. First, you use unix/slip style authentication after which the POP then initiates CHAP. I had specified the inccorect password for CHAP but after the initial autentication the POP still assigned me an IP; albeit one that didn't talk to anything but the next hop and its nameserver. it's all good now! On Fri, Mar 18, 2005 at 09:38:47AM -0500, [EMAIL PROTECTED] wrote: > > Check out the install guide at > http://www.unixguide.net/freebsd/fbsd_installguide/index.php > it has the best step by step instructions for using userppp. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Peter C. > Lai > Sent: Thursday, March 17, 2005 8:37 PM > To: freebsd-questions@freebsd.org; freebsd-net@freebsd.org; > freebsd-stable@freebsd.org > Subject: PPP routing failure > > > Hi everyone - > I'm experiencing some funky routing failures when I dialup netscape > internet > via user-level PPP: > I can negotiate IPCP fine; get a point-to-point link via tun0: > myaddr: 172.143.224.146; hisaddr: 63.152.0.70 > When the default route is setup to 63.152.0.70, all of my packets > are > blackholed after the first router hop. I am not using NAT. > The PPP link works perfectly fine in windows dialup networking. So I > dunno > what is wrong. When I look at the routing table in windows, it seems > backwards: > > DEST NM GW IF > default 0 myaddr ppp > hisaddr 0x myaddr ppp > localhost 0xff00 localhost localhost > myaddr0x localhost localhost > myaddr.255.255* 0x myaddr ppp > multicast multicast myaddr ppp > > *this is the first 2 dotted quads of myaddr appended with 255.255 > > If I try to manually set these routes in 5.3-R, I still can't get > out :( > Setting ADD DEFAULT MYADDR doesn't work, because ppp will still > think MYADDR > is 0.0.0.0. Either I need sleep or something is funky here... > > -- > Peter C. Lai > University of Connecticut > Dept. of Molecular and Cell Biology > Yale University School of Medicine > SenseLab | Research Assistant > http://cowbert.2y.net/ > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to avoid forkbomb?
Hi, After reading this article: http://www.securityfocus.com/cgi-bin/sfonline/columnists-item.pl?id=308, I decided to give the forkbomb script a try which is below: #!/bin/sh $0 & $0 & The system was unresponsive for a couple minutes but then FreeBSD killed the script and the system was accessible. I started looking around for what my process limit was set at but I found a couple different values. ulimit -a outputs: core file size(blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files(-n) 7264 pipe size (512 bytes, -p) 1 stack size(kbytes, -s) 65536 cpu time (seconds, -t) unlimited max user processes(-u) 3632 kern.maxproc is set to 4036 /etc/login.conf reads: :maxproc=unlimited:\ My questions are: Am I looking at the correct values? Which is the actual process limit? What would you recommend that I set it to in order to have my machine shrug off the fork bomb sooner? What would be a good process limit for a LAMP webserver? How would I set the process limits? Thanks in advance. - Ryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Permissions for Linux apps via LDAP
I now have 2 different Linux applications that refuse to start because getpwuid_r() won't return a user ID. Both acroread7 and realplayer are dead in the water for me. I'm using pam_ldap authentication, which works great for all my native FreeBSD apps. How do I get the Linux apps to perform a similar lookup now? I'm not seeing any pam_ldap or nss_ldap linux ports, which would seem to mean that simply changing the nsswitch.conf file in the /compat/linux area won't do me much good. I could live without realplayer working, but acroread is a pretty critical application for my end users. It also looks like this will be a growing trend for Linux applications in the future. Do we need to port new Linux pam modules into play, or is there some simpler method for fixing this? Thanks, -- "When you come to a fork in the roadTake it" - Yogi Berra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ethernet issue: works one way but not another
OK, lets see if this helps... dmesg: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 134152192 (127 MB) avail memory = 121622528 (115 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xd000-0xd3ff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xe000-0xe01f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) ahc0: port 0xe400-0xe4ff mem 0xd700-0xd7000fff irq 10 at device 9.0 on pci0 ahc0: [GIANT-LOCKED] aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xd7001000-0xd700107f irq 5 at device 13.0 on pci0 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:4b:7a:e4:ec fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 orm0: at iomem 0xcc000-0xd07ff,0xc-0xcbfff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 451024000 Hz quality 800 Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4339MB (8887200 512 byte sectors: 255H 63S/T 553C) rc.conf: (names have been changed to protect the innocent/guilty) gateway_enable="NO" hostname="myhost.domain.com" nisdomainname="domain.com" ifconfig_xl0="inet 192.168.79.254/24" defaultrouter="192.168.79.1" linux_enable="YES" moused_enable="YES" sshd_enable="YES" usbd_enable="YES" ifconfig: (This is when connected to internal network through 3Com 100mb hub) xl0: flags=8843 mtu 1500 options=9 inet6 fe80::210:4bff:fe7a:e4ec%xl0 prefixlen 64 scopeid 0x1 inet 192.168.79.254 netmask 0xff00 broadcast 192.168.79.255 ether 00:10:4b:7a:e4:ec media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 netstat -rn: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire 127.0.0.1 127.0.0.1 UH 00lo0 192.168.79 link#1 UC 00xl0 192.168.79.1 00:30:48:41:dc:58 UHLW04xl0 1084 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%xl0/64 link#1UC xl0 fe80::210:4bff:fe7a:e4ec%xl0 00:10:4b:7a:e4:ec UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#2UHL lo0 ff01::/32 ::1 U lo0 ff02::%xl0/32 link#1UC xl0 ff02::%lo0/32 ::1 UC lo0
FreeBSD 5.3 gvinum and growfs
Hi, How do I make growfs actually grow a gvinum disk on FreeBSD 5.3? I've read the man pages, the Handbook, and done some searching with no luck. To help understand what I'm trying to accomplish here, I've created a filesystem that mounts to /export on a gvinum volume. The volume is configured as a mirror. I want to double it's size. To do this I used gvinum to add a subdisk to each plex of the mirror (this worked fine). gvinum now reports the volume as 32GB (it used to be 16GB). The filesystem is still 16GB. When I unmount the filesystem and run growfs on the device it claims there is no space to grow: # growfs -s 33554432 /dev/gvinum/export growfs: we are not growing (8388608 -> 8388608) And yet # disklabel /dev/gvinum/export # /dev/gvinum/export: 3 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 3355443204.2BSD 2048 16384 0 b: 335544320 swap c: 335544320unused0 0 # "raw" part, don't edit disklabel: partition c doesn't cover the whole unit! disklabel: An incorrect partition c may cause problems for standard system utilities better still: # gvinum list 2 drives: D a State: up /dev/ad1s1g A: 58662/108326 MB (54%) D b State: up /dev/ad0s1g A: 58662/108326 MB (54%) 5 volumes: ... V exportState: up Plexes: 2 Size: 32 GB 8 plexes: ... P export.p1 C State: up Subdisks: 2 Size: 32 GB P export.p0 C State: up Subdisks: 2 Size: 32 GB 12 subdisks: ... S export.p1.s0 State: up D: bSize: 16 GB S export.p0.s0 State: up D: aSize: 16 GB S export.p0.s1 State: up D: aSize: 16 GB S export.p1.s1 State: up D: bSize: 16 GB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
:Boris, : I would agree that my initial impression of 5.3 was that it was slow :compared to 4.x. After some tuning, I now have 5.3 running at an :acceptable performance level. You may want to start testing the newer :versions of 5 current. I have noticed improved performance on my test :servers and believe that 5.4 will demonstrate an improvement in :performance. I know that the guys on the performance list would like :to get some good feedback if you find any specific bottlenecks with it :as well. : :--Nick FYI, I recently testing bridging/network performance on 5.4-pre and its about the same as 5.3: 25 to 30% more CPU load for the same traffic levels than 4.x. SMP drops packets at about 60% load and seems to have a lower capacity than UP. I'm sure some things are faster, but networking is a large component for most people I think. Threaded network stacks just don't seem to perform well, certainly not on UP. Linux MP works much better, but with 2 CPUs it has the capacity of FreeBSD 4.x with 1. So its hard to justify. FWIW, its quite a bit better with UP than DragonFLY, but dragonfly is much better with 2 processors. On Wed, 16 Mar 2005 14:51:43 -0800 (PST), Boris Spirialitious <[EMAIL PROTECTED]> wrote: --- cyb <[EMAIL PROTECTED]> wrote: > http://www.freebsd.org/platforms/amd64.html > > Looks like you will need to use 5.3-release (or > 5.3-stable/5.4-prerelease if you have more than > 4GB). > > Why can you not use 5.3? 5.3 is too slow, and we have custom code. Why use faster hardware just to use slower version of O/S? Please don't start with flames. This is what I feel. I don't need so much RAM, so 4.x will work with 1 or 2GB of RAM? Boris > > > On Wed, 2005-03-16 at 09:43 -0800, Boris > Spirialitious wrote: > > --- Boris Spirialitious <[EMAIL PROTECTED]> > > wrote: > > > When opteron support start for Freebsd? I have > 4.9. > > > is supported? Or 4.11 better? I can't use 5.x. > > > > > > Will a i386 disk boot on opteron system? Can I > > > use same disk image for intel and amd MBs? Any > > > big problems? > > > > > > Thanks, > > > > > > Boris > > > > Does anyone know answer please? Someone must use > > Opteron here > > > > Boris > > -- > GnuPG key : 0xD25FCC81 | > http://cyb.websimplex.de/pubkey.asc > Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B > 0372 D25F CC81 > > > > __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
I have had excellent results with Novell GroupWise. --Nick On Sat, 19 Mar 2005 00:44:36 +0100, Anthony Atkielski <[EMAIL PROTECTED]> wrote: > Emanuel Strobl writes: > > > ??? Windows is a really good, well maintained standardized and secure piece > > of > > software compared to Exchange. I can't imagine why someone is even > > considering exchange when he knows about FreeBSD and it's programs. > > Exchange is the best choice for intra-organizational e-mail on > relatively homogenous internal networks. The many features of Exchange > provide a great many relevant and useful advantages in this type of > environment. > > For heterogenous networks and ISPs, Exchange is a poor choice, because > most users won't be able to profit from it, and because it is very > difficult to implement when many machines in a network are non-Windows > (and the Exchange servers themselves _must_ run Windows). > > -- > Anthony > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
Emanuel Strobl writes: > ??? Windows is a really good, well maintained standardized and secure piece of > software compared to Exchange. I can't imagine why someone is even > considering exchange when he knows about FreeBSD and it's programs. Exchange is the best choice for intra-organizational e-mail on relatively homogenous internal networks. The many features of Exchange provide a great many relevant and useful advantages in this type of environment. For heterogenous networks and ISPs, Exchange is a poor choice, because most users won't be able to profit from it, and because it is very difficult to implement when many machines in a network are non-Windows (and the Exchange servers themselves _must_ run Windows). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
Christian Tischler writes: > I would like to run an MS exchange server. But I am not at all willing > to set up an MS box at all. Microsoft Exchange Server runs only on Windows server operating systems. > Any hints or suggenstions would be great. Buy a server version of Windows, or choose a different messaging system. -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpq:write to localhost.domain failed: no route to host
Am Freitag, 18. März 2005 23:42 schrieb Feroz F. Basir: > Hi, > > I compiled ipfilter option in my kernel. As usual > reboot my machine. When I run "ntpq -p" I got an error > "ntpq:write to localhost.domain failed: no route to > host". Before I compiled in ipfilter, it worked. My > /etc/ipf.rules contains "pass in all and pass out all" If these are dummy rules to let you experiment you may want to change them to pass in quick all and pass out qick all. Otherwise any other rule after these will be examined and maybe you have some blocks anywhere. -Harry > > Anybody has any ideas let me know, please? > > Thank you in advance. > > regards, > feroz > > Send instant messages to your online friends http://uk.messenger.yahoo.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpgM3AjhJVQe.pgp Description: PGP signature
ntpq:write to localhost.domain failed: no route to host
Hi, I compiled ipfilter option in my kernel. As usual reboot my machine. When I run "ntpq -p" I got an error "ntpq:write to localhost.domain failed: no route to host". Before I compiled in ipfilter, it worked. My /etc/ipf.rules contains "pass in all and pass out all" Anybody has any ideas let me know, please? Thank you in advance. regards, feroz Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: MS Exchange server on FreeBSD?
Ean Kingston wrote: On Fri, 2005-03-18 at 08:06, Christian Tischler wrote: Hi, I would like to run an MS exchange server. But I am not at all willing to set up an MS box at all. As I know I could run something like VMware virtual server or Wine, but I do not know if such an combination would be stable (sopken in terms of windows stability). The next consideration would be the performance of the overal setup. Any hints or suggenstions would be great. As someone who has inhereted an Exchange server I have a few hints for you. 1 Run Exchange on a Dedicated Windows Server (2000 or 2003). Do not fiddle with VMware or Wine. You are going to need a license for Windows to run Exchange under VMware (or bochs). You are probably going to need a license of Windows to run it under wine (if that is even possible). In any case, you will lose stability if you don't dedicate a system to Windows. 2 You need to keep the disk where Exchange stores its mail database at least 55% free or Exchange will not work properly. This is because you need to periodically rebuild the Exchange database to keep performance tollerable. Also when mail is deleted in an exchange mail store, it is not actually deleted but just marked for deletion. You need to take the mail store offline (so nobody can access their mailbox) periodically and run a tool to purge the deleted items. This takes hours on any decent sized mail system. When this happens it creates temporary files roughly 110% the size of the mail store. [etc.] As someone who used to administer and Exchange Server, I agree. It is a serious pain, and requires constant handholding. I know someone who _loves_ Scalix (http://www.scalix.com). It's an Exchange replacement that runs on Linux (and maybe FreeBSD), but that's all I know about it. If you need to support Outlook clients, it might work for you, and it's probably cheaper than Exchange. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Default mysql config file
> > Hello, > > My /var will run out of space soon, I was told that changing mysql store > place was a good solution. But I can't find the default configuration file, > is it ok to create a new file with the only line indicating the store > position? I'm a newbie and more details would be appreciated. If you have room somewhere, you could just move all of /var/db and make a link. Then, as far as MySQL is ocncerned, nothing changed. jerry > > Regards, Kevin > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
default ACL's permission problems
hello, This applies to FreeBSD 5.3 Release: I've followed the examples on setting up default acl's located at this website: 'Working With ACLs in FreeBSD 5.x' http://ezine.daemonnews.org/200310/acl.html I'm having problems with this: % umask 027 % mkdir dir setfacl -m u::rwx,m::rwx,g::rx,o::rx dir setfacl -dm u::rwx,m::rwx,g::rx,o::rx dir setfacl -dm u:gregory:rwx,m::rwx dir % touch dir/file.txt % getfacl dir/file.txt #file:dir/file.txt #owner:1009 #group:0 user::rw- user:gregory:rwx# effective: r-- group::r-x # effective: r-- mask::r-- other::--- when i attempt to write to file.txt as user gregory, I get permission denied - I can see that this is what I should expect because the mask is r--, but why? I've set rwx above? I saw a similar post on this list, and it is mentions that the file will be masked with umask. am I suppose to change my umask ? if so, why? why can't I set acl's to simply apply the default acl which I've set on the dir to any dirs/files created in that directory regardless of umask? Any help would be appreciated, Regards, Paul Manchester, UK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Default mysql config file
Hello, My /var will run out of space soon, I was told that changing mysql store place was a good solution. But I can't find the default configuration file, is it ok to create a new file with the only line indicating the store position? I'm a newbie and more details would be appreciated. Regards, Kevin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd core dumping on 5.3-p5
John Pettitt <[EMAIL PROTECTED]> wrote: > > Bill Moran wrote: > > >John Pettitt <[EMAIL PROTECTED]> wrote: > > > >>Bill Moran wrote: > >> > >>>I'm experiencing a problem similar to the problem described in this thread: > >>>http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html > >>> > >>>My ntp.conf contains: > >>>server clock.psu.edu > >>>server fuzz.psc.edu prefer > >>>server ntp-1.ece.cmu.edu prefer > >>>server ntp-2.ece.cmu.edu prefer > >>> > >>>If I comment out the first two servers, ntpd works fine. Otherwise, I get > >>>coredumps. > >>> > >>>It seems a little extreme to me that any server could remotely cause ntpd > >>>to core. I'm willing to look in to this, but I'm having trouble figuring > >>>out how to get ntp built with debugging symbols. > >>> > >>>FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 > >>>#0: Thu Feb 24 08:26:07 UTC 2005 root@:/usr/obj/usr/src/sys/WORKING > >>>i386 > >>> > Does it core dump as soon as it starts or after a while? It consistenly takes two seconds to coredump. > What do ntpq -c rv and ntpq -c peer say? Not really enough time to issue those commands before ntpd cores. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NLB Network Load Balance
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have dual NICs (Intel 1000/MT) in my FreeBSD 5.3 Server. I would like to use both NICs to send and receive traffic for NLB. Each currently has a different IP can some one point me in the right direction so that they can act together? Thanks - -- Sean Murphy Network Technician California Institute of the Arts [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFCO1GCU1XvdHZC/KcRAvpFAJ9MjT+Ak3nffLaaY4AfqgvVHZtR1ACfTD/w sU3Sry8H1/BsdQj1NFNu43A= =oYTP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache from the ports - default httpd.conf deleted (Solved)
On Fri, 18 Mar 2005 11:36:06 -0900, Peter Giessel <[EMAIL PROTECTED]> wrote: > On Friday, March 18, 2005, at 11:18AM, Danny <[EMAIL PROTECTED]> wrote: > > >Could someone please help by supplying their httpd.conf for 1.3.33 or > >direct me to a place to download a full default httpd.conf? > > if you just cd /usr/ports/www/apache13 > then "make" (not "make install"), you can find the default httpd.conf in > ./work/apache_1.3.33/conf/ Thank you - that worked. ...D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ntpd core dumping on 5.3-p5
John Pettitt <[EMAIL PROTECTED]> wrote: > > Bill Moran wrote: > > >I'm experiencing a problem similar to the problem described in this thread: > >http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html > > > >My ntp.conf contains: > >server clock.psu.edu > >server fuzz.psc.edu prefer > >server ntp-1.ece.cmu.edu prefer > >server ntp-2.ece.cmu.edu prefer > > > >If I comment out the first two servers, ntpd works fine. Otherwise, I get > >coredumps. > > > >It seems a little extreme to me that any server could remotely cause ntpd > >to core. I'm willing to look in to this, but I'm having trouble figuring > >out how to get ntp built with debugging symbols. > > > >FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: > >Thu Feb 24 08:26:07 UTC 2005 root@:/usr/obj/usr/src/sys/WORKING i386 > > you can only have one preferred server. First off: Where did you get that tidbit. I don't think it's accurate. It says nothing about it in the man page for ntp.conf, and it works fine on previous version of ntpd. Secondly, and more important, it doesn't help anyway. * If I remove all the "prefer" and try to start ntpd, it still coredumps. * If I set only one "prefer", it still coredumps. * If I comment out the first two servers, but set the remaining two _both_ to "prefer", it runs fine. Thirdly, even if it were illegal to have multiple "prefer" directives, the program still should not coredump because of an invalid config file. So, we come badk to my original statement: After additional testing, it still seems as if the first two servers on this list are coredumping ntpd. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB disk hang - 5.4PRE - gstripe
I just upgraded a box to 5.4PRE and started experiencing regular system hangs at exactly 1AM - I traced it to BackupPC which was starting it's run at that time backing up to a gstripe set made from two 300GB USB disks. The first thing I assumed was that something in Samba or perl didn't like the 5.4 upgrade so I rebuilt my entire ports tree (portupgrade -fa) to be sure I had no old libs. It still fails. Next I moved the two drives out of their USB housings and put them on the IDE controller (disconnecting the CD burner to make space). It's working fine like that (all be it with disks hanging out the side of the machine). So it looks like USB is the culprit. A few data points: 1) It worked fine on 5.3 2) Motherboard is an Intel D845GVSR with a Celeron D 2.9Ghz and 512Mb Ram 3) USB disk interfaces are from a couple of WD external drives (although the drives are in fact Maxtor because I upgraded them WD boxes) 4) A single WD250GB disk also on USB seems to work fine it's only the stripe set that has a problem 5) When it fails the entire disk system locks (including IDE) but the machines keeps running until each process locks as it needs to talk to the disk 6) No meaningful syslog log entries Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: script to save a particular mail file??
Gary Kline <[EMAIL PROTECTED]> writes: > Just thought I'd ask the list if anyone has a script to > read /var/mail/ and grab a single file. I just > sub'd to a mailing list that is produced only in HTML. > I'd like to save it to /tmp, strip it, and have it ready > for lynx or links. > > If anyone onlist has already done this, it would save me > from reinventing *this* wheel. The first thing that occurs to me is using formail (part of procmail) and maybe metamail if formail can't extract the HTML... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sysinstall/fdisk and the disk geometry
Hi at all. My question is simple. My laptop is a 1513lmi Acer, it has a TOSHIBA MK6025GAS disk with 117210240 LBA sectors. When I install Freebsd 5.3, Sysinstall, in the Fdisk submenu,state the geometry 116280/16/63 then translate automatically this geometry to 7296/255/63. But both when I use the 5.3-RELEASE-amd64-disc2 and when I use a installed system, Fdisk find the geometry 116280/16/63 and doesn't translate automatically this geometry to 7296/255/63. So: When I use Fdisk, have I to change the geometry from 116280/16/63 to 7296/255/63? Sysinstall, partitioning, use Fdisk then: why is there this difference? Is there a more exhaustive documentation about Fdisk and Sysinstall that the man pages? Thank you Bye Giuseppe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ntpd core dumping on 5.3-p5
I'm experiencing a problem similar to the problem described in this thread: http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078139.html My ntp.conf contains: server clock.psu.edu server fuzz.psc.edu prefer server ntp-1.ece.cmu.edu prefer server ntp-2.ece.cmu.edu prefer If I comment out the first two servers, ntpd works fine. Otherwise, I get coredumps. It seems a little extreme to me that any server could remotely cause ntpd to core. I'm willing to look in to this, but I'm having trouble figuring out how to get ntp built with debugging symbols. FreeBSD bolivia.potentialtech.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Thu Feb 24 08:26:07 UTC 2005 root@:/usr/obj/usr/src/sys/WORKING i386 -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache from the ports - default httpd.conf deleted
On Fri, 18 Mar 2005 15:17:49 -0500 Danny <[EMAIL PROTECTED]> wrote: > FreeBSD 4.7R (yah I know I need to update this) > > apache+mod_ssl-1.3.33+2.8.22 The Apache 1.3 webserver with SSL/TLS > functionality > > I accidentally deleted the default ("out of the box") httpd.conf for > my Apache install. > > Could someone please help by supplying their httpd.conf for 1.3.33 or > direct me to a place to download a full default httpd.conf? > > Thank you, > > ...D Hello, I did a 'pkg_info -L "apache*"' and I noticed the following file: /usr/local/etc/apache/httpd.conf-dist If it is not there you can read that file from the downloadable package or port. Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apache from the ports - default httpd.conf deleted
On Friday, March 18, 2005, at 11:18AM, Danny <[EMAIL PROTECTED]> wrote: >Could someone please help by supplying their httpd.conf for 1.3.33 or >direct me to a place to download a full default httpd.conf? if you just cd /usr/ports/www/apache13 then "make" (not "make install"), you can find the default httpd.conf in ./work/apache_1.3.33/conf/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache from the ports - default httpd.conf deleted
FreeBSD 4.7R (yah I know I need to update this) apache+mod_ssl-1.3.33+2.8.22 The Apache 1.3 webserver with SSL/TLS functionality I accidentally deleted the default ("out of the box") httpd.conf for my Apache install. Could someone please help by supplying their httpd.conf for 1.3.33 or direct me to a place to download a full default httpd.conf? Thank you, ...D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: x11 cookie expires after some time
Am Sonntag, 14. November 2004 19:28 schrieb Emanuel Strobl: > Dear all, > > perhaps someone can explain me why I can't execute a x-program via a ssh > session after some time (some hours). When I log into the machine > everything is fine and xclock or any other x11 application is working fine. > But after some hours, when I try to execute exactly the same application > once again, I get the following error: > Xlib: connection to "localhost:10.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Xlib: connection to "localhost:10.0" refused by server > Xlib: Invalid MIT-MAGIC-COOKIE-1 key > Lost the connection to the X server > > The session wasn't interrupted nor did I modify anything else, just the ssh > session has idled for some hours. > > I have to admit that I'm not really familar with the .Xauthority stuff, but > it works for the first hour, so why not as long as the ssh session exists? > Here's some off-list communication, Paul Brooks told me that it's ForwardX11Trusted in ssh config. Thanks a lot! Am Freitag, 18. März 2005 20:35 schrieb Paul Brooks: > On Tue, Mar 08, 2005 at 12:59:49AM +0100, Emanuel Strobl wrote: > > Hmmm, I really can't remember what I did (if I did anything at all) but I > > don't have this problem anymore. I'm sure I read something about the > > cookie timeout, and played with xauth, but unfortunately haven't > > bookmarked anything. > > Sorry, I can't help you, perhaps there were modifications in RELENG_5 but > > I don't believe that, just to note that I'm running 5.4-PRE now. > > > > I had a quick look at several config files and also couldn't find > > anything special, just that I added (uncommented) "ForwardAgent yes" > > in /etc/ssh/ssh_config. > > If that's the solution, please drop me a note. > > Just a quick follow-up -- turns out ssh appears to have been the issue. It > wasn't ForwardAgent, but ForwardX11Trusted that appears to have fixed the > issue for 5.3 release. -Harry pgpXERPyNhmLc.pgp Description: PGP signature
Re: HDD idle shutdown.
On Fri, Mar 18, 2005 at 02:22:29PM +0100, Svein Halvor Halvorsen wrote: > * [EMAIL PROTECTED] [2005-03-18 11:24 +0100] > > On Fri, Mar 18, 2005 at 10:21:17AM +0100, Christian Tischler wrote: > > > I wondered whether there is an option to shut down an idle HDD until it > > > is needed again? > > > I am using FreeBSD 5.x. > > > > /usr/ports/sysutils/ataidle > > Note that, while this indeed will spin down your hdd, the system will most > likely spin it up again after a short period of time, unless you modify > some settings. Especially the cron system may cause your hdd to spin up > every once in a while. Yes, that's true. Watch out for activity in /var/log etc. I'm using ataidle on "diskless" workstations with attached hdd (now if that's not an oxymoron!). Most activities happen on the NFS mounted system partitions, and the hdd is only there for backup purposes and for file systems that are not always in use (like /home and so). Running ataidle on such workstations proves to be very effective. > Svein Halvor -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
--- Chuck Robey <[EMAIL PROTECTED]> wrote: > Kenneth Culver wrote: > > Quoting Chuck Robey <[EMAIL PROTECTED]>: > > > >> Boris Spirialitious wrote: > >> > >>> --- Boris Spirialitious > <[EMAIL PROTECTED]> > >>> wrote: > >>> > --- Matthew Seaman > <[EMAIL PROTECTED]> > wrote: > > > On Tue, Mar 15, 2005 at 08:50:22AM -0800, > Boris > > Spirialitious wrote: > > > >> When opteron support start for Freebsd? I > have > > > > > > 4.9. > > > >> is supported? Or 4.11 better? I can't use > 5.x. > > > > > > Well, AMD64 support as a tier-1 platform only > came > > in with 5.x, so > > you're S.O.L. if you have to use a 4.x release > > version. > > > >> Will a i386 disk boot on opteron system? Can > I > >> use same disk image for intel and amd MBs? > Any > >> big problems? > > > > > > You can generally run AMD64 machines in IA32 > mode > > > -- > > > but what would be > > the point? All you get then is a machine that > > > costs > > > more than an > > equivalent IA32 box and that probably performs > > worse. > > > > > > Actually due to the onboard memory controller it > performs significantly > > better > > than like-priced chips from intel. > > I completely agree with you, Ken, but I had the > feeling that this fellow > was flamebaiting me, and I didn't want to subject > everyone to that. I > was right to begin with: there is some gain from > having the chip, there > is more gain if you have the better instruction set. > If folks need to > know more, like I *know* you have, you read one of > the many > architectural sites on the web. Why you think flamebait? Mathew say it would be slower with 32bit code, and I agree with you, not him. I want him to answer, because he say things without knowing, so why answer at all? So many people talk but have no real understanding. Boris __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: MS Exchange server on FreeBSD?
> > Don't you all want to at least mention Open Groupware? I was mentioned in the first reply i think: -- From: Ryan J. Cavicchioni <[EMAIL PROTECTED]> Date: Fri, 18 Mar 2005 08:06:32 -0600 I really doubt that it is possible. I would look at OpenExhange: http://mirror.open-xchange.org/ox/EN/community/ --- -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: MS Exchange server on FreeBSD?
On Fri, 18 Mar 2005 21:11:24 +0200, Chris Knipe <[EMAIL PROTECTED]> wrote: > > Don't you all want to at least mention Open Groupware? > > > > http://www.opengroupware.org/ > > > > How about something that supports MySQL? > why use MySQL when it supports a much more robust solution like PostgreSQL? -p -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
Kenneth Culver wrote: Quoting Chuck Robey <[EMAIL PROTECTED]>: Boris Spirialitious wrote: --- Boris Spirialitious <[EMAIL PROTECTED]> wrote: --- Matthew Seaman <[EMAIL PROTECTED]> wrote: On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris Spirialitious wrote: When opteron support start for Freebsd? I have 4.9. is supported? Or 4.11 better? I can't use 5.x. Well, AMD64 support as a tier-1 platform only came in with 5.x, so you're S.O.L. if you have to use a 4.x release version. Will a i386 disk boot on opteron system? Can I use same disk image for intel and amd MBs? Any big problems? You can generally run AMD64 machines in IA32 mode -- but what would be the point? All you get then is a machine that costs more than an equivalent IA32 box and that probably performs worse. Actually due to the onboard memory controller it performs significantly better than like-priced chips from intel. I completely agree with you, Ken, but I had the feeling that this fellow was flamebaiting me, and I didn't want to subject everyone to that. I was right to begin with: there is some gain from having the chip, there is more gain if you have the better instruction set. If folks need to know more, like I *know* you have, you read one of the many architectural sites on the web. Ken ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: MS Exchange server on FreeBSD?
Don't you all want to at least mention Open Groupware? http://www.opengroupware.org/ How about something that supports MySQL? -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting DVD
popbox wrote: Hello. There is no separated information about mounting DVD in manual man, FreeBSD Handbook and other documentation. Mounting it such as CD not gives result. For example, my variant: 1) #mount /cdrom cd9660: /dev/acd0c: Invalid argument 2) #mount_cd9660 /dev/acd0c /cdrom mount_cd9660 /dev/acd0c: Invalid argument My OS: FreeBSD 4.10 I compiled kernel with ATAPI/CAM support, and added DMA access for ATAPI devices, as it recommended in section Creating and Using Optical Media (DVDs) of FreeBSD Handbook. dmesg output: acd0: DVD-ROM at ata1-master UDMA33 There is "FreeBSD ports collection" on the disks, from your russian diller LinuxCenter.ru. Discs are valid and works under Windows 98. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Try to use /dev/cd0c instead, if you have compiled CAM. It be no difference - DVD's mounts exactly as CD. Best regards, Alexander. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
Quoting Chuck Robey <[EMAIL PROTECTED]>: Boris Spirialitious wrote: --- Boris Spirialitious <[EMAIL PROTECTED]> wrote: --- Matthew Seaman <[EMAIL PROTECTED]> wrote: On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris Spirialitious wrote: When opteron support start for Freebsd? I have 4.9. is supported? Or 4.11 better? I can't use 5.x. Well, AMD64 support as a tier-1 platform only came in with 5.x, so you're S.O.L. if you have to use a 4.x release version. Will a i386 disk boot on opteron system? Can I use same disk image for intel and amd MBs? Any big problems? You can generally run AMD64 machines in IA32 mode -- but what would be the point? All you get then is a machine that costs more than an equivalent IA32 box and that probably performs worse. Actually due to the onboard memory controller it performs significantly better than like-priced chips from intel. Ken ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: adding a directory to a CD-image (.iso)
On Thu, 17 Mar 2005 at 15:02 -0500, Mikhail Teterin wrote: > I donwloaded an .iso-image (Solaris 10, actually), which is about > 2.7Gb. > > Before burning it to a DVD, I'd like to add a directory to the > image. Is there a way to do it with tools available on FreeBSD -- > mkisofs, growisofs, etc? > > I don't want to recreate the main image from scratch, as I'm sure, > I'll get the options wrong and it will not boot :-) Can I just add a > directory to the existing iso8859 filesystem? I have not done this but think you should be looking into making a multi-session DVD. This should be easy. Method 1 (should be easy and direct): Just burn the original DVD image with growisofs in multi-session mode (the default): growisofs -Z /dev/dvd=image.iso You should then be able to directly add your new files with: growisofs -M /dev/dvd -R -J /more/files Method 2 (probably more appropriate for a CD image): Use mkisofs to create a second session .iso file. Something like: mkisofs -o second.iso -C -M image.iso -R -J /more/files You might need to burn the first session and use burncd/cdrecord or something to get the magic numbers for the -C option. Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] Re: MS Exchange server on FreeBSD?
On Fri, Mar 18, 2005 at 11:45:25AM -0500, Ean Kingston wrote: > > > On Fri, 2005-03-18 at 08:06, Christian Tischler wrote: > >> Hi, > >> I would like to run an MS exchange server. But I am not at all willing > >> to set up an MS box at all. As I know I could run something like VMware > >> virtual server or Wine, but I do not know if such an combination would > >> be stable (sopken in terms of windows stability). The next consideration > >> would be the performance of the overal setup. > >> > >> Any hints or suggenstions would be great. > > As someone who has inhereted an Exchange server I have a few hints for you. > > 1 Run Exchange on a Dedicated Windows Server (2000 or 2003). Do not fiddle > with VMware or Wine. You are going to need a license for Windows to run > Exchange under VMware (or bochs). You are probably going to need a license > of Windows to run it under wine (if that is even possible). In any case, > you will lose stability if you don't dedicate a system to Windows. > > 2 You need to keep the disk where Exchange stores its mail database at > least 55% free or Exchange will not work properly. This is because you > need to periodically rebuild the Exchange database to keep performance > tollerable. Also when mail is deleted in an exchange mail store, it is not > actually deleted but just marked for deletion. You need to take the mail > store offline (so nobody can access their mailbox) periodically and run a > tool to purge the deleted items. This takes hours on any decent sized mail > system. When this happens it creates temporary files roughly 110% the size > of the mail store. > > 3 Exchange is a pig. You would be best to have another Windows system > running Active Directory to support your Exchange server. If you are > thinking of using the Active Directory emulation available in Samba, > forget it. Exchange changes the structure of the Active Directory when it > is installed. You need a real Active Directory server. > > 4 On the topic of Exchange being a pig; you should set up a couple of > FreeBSD systems that act as your MX hosts for inbound e-mail. Put > something like Postfix or Exim (or any other smtp software you like) on > there and setup at least simple spam filtering (even if it is just RBLs). > Have these Postfix (or exim) system feed mail to your Exchange server. > There are articles on the Web about how to get Postfix to check the > validity of recipients against an Exchange server so you can bounce bogus > mail at the border if you want. You could also have this system do the > virus scanning (again numerous articles are available). > > 5 Exchange does an enormous amount of logging so those disks are going to > fill up quickly. You need to run special tools before you delete the logs > or you run the risk of not being able to recover your mail database in the > event of catastrophic failure. Read over item 3 again, the process is > similar. > > 6 Exchange shuts down when the disk that holds the mail store is 90% full. > It will not restart until you free up some disk space. If you reach this > situation you probably aren't following point 5 or point 3 enough. > > 7 Familiarize yourself with > http://support.microsoft.com/?scid=kb;en-us;313184&spid=1760&sid=global > you are going to be reading it (and related sites) a lot. > > 8 Unless you have users demanding shared calendars and automatic meeting > scheduling, try to find a solution other than Exchange. I'm partial to > Postfix, Courier-IMAP, OpenLDAP, SquirrelMail. > > > I have never heard of anyone using Exchange on a non-Windows machine, > > and I can't see much point. The license fee for Exchange swamps the OS > > license. I expect you could run VMWare with Windows as a guest OS, but > > for something as critical as your mail server, I would dedicate a > > Windows machine to it. I doubt it would work with WINE. > > > > Basically, if you have to hold your nose to run Exchange, you may as > > well hold it a little tighter and run Windows. If not, look at > > FreeBSD/Sendmail-or-Postfix/Evolution as a very reliable mail service. > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > Don't you all want to at least mention Open Groupware? http://www.opengroupware.org/ I have never used it, which is why I have not said anything 'til now - I was hoping someone with some experience would jump in. AFAIK, this is coming long, and the base code is free, but some of the plugins you may need to support certain clinets (including Outlook?) may have a cost associated with them, directly or in getting needed support. Check it out - I don't mean to lead you down a rat hole, but you may find something of value there! I'm going to try it as soon as I get some free time... (YEAH, RIGHT!!!) -- John Lind [EMAIL PROTECTED] _
saslauthd - memory
Hi all, Is there anybody with experience from deploying saslauthd for authentication that could advise how stable it is on FreeBSD 5? I am implementing it for ldap authentication on a cyrus-imap mail server and saw that there is a -n option that "can solve leaks that occur in some deployments". Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bind Wierdness
Hello. While trying to track down periodic radius failures, I discovered that Bind was periodically timing out, and even occasionally incorrectly responding with a failure. We orriginally were running 9.2.3 built from ports on FreeBSD 4.9p11, with a mem limit set at 900M, maint interval of 60 minutes. The failures were 61 minutes appart, like clockwork. We moved up to 9.3.0, again built from ports, and continued to observe the same problem. I then built from src, enabling threading, with no luck. A quick discussion with the port maintainer pointed out that 9.3.1 would have 'major threading fixes' for FreeBSD, so I waited for it to come out. Now that it's out, I've built it, threading enabled, and still have the periodic outages. I've currently got the maint interval set at 15 mins, and my problems are tracking the period like clock work. At the moment, my primary source of data comes from my radius server monitoring, as I don't have a direct long term dns monitor going yet. I've been testing by throwing nslookup requests inside while loops from cli and observing the output. The host system for bind is running 9 to 14% cpu load, even durring the maint windows, so I don't believe the host system is overloaded. How should I proceed to diagnose and correct this? I've posted to the bind-users list, seems a few others have noticed similar problems, but noone wants to provide any diagnostic hints there. Joshua Coombs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
--- Chuck Robey <[EMAIL PROTECTED]> wrote: > Boris Spirialitious wrote: > > --- Boris Spirialitious <[EMAIL PROTECTED]> > > wrote: > > > >>--- Matthew Seaman > <[EMAIL PROTECTED]> > >>wrote: > >> > >>>On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris > >>>Spirialitious wrote: > >>> > When opteron support start for Freebsd? I have > >>> > >>>4.9. > >>> > is supported? Or 4.11 better? I can't use 5.x. > >>> > >>>Well, AMD64 support as a tier-1 platform only > came > >>>in with 5.x, so > >>>you're S.O.L. if you have to use a 4.x release > >>>version. > >>> > >>> > Will a i386 disk boot on opteron system? Can I > use same disk image for intel and amd MBs? Any > big problems? > >>> > >>>You can generally run AMD64 machines in IA32 mode > >> > >>-- > >> > >>>but what would be > >>>the point? All you get then is a machine that > >> > >>costs > >> > >>>more than an > >>>equivalent IA32 box and that probably performs > >>>worse. > >> > >>That is very curious to say. Isn't the advantage > >>of Opteron the superior IO architecture? There is > >>not much advantage with 64 bit computing. What is > >>faster about it? Pointers are bigger, so it use > >>more cache for less. NOt much 64bit math in > >>OS. Why do you say it will perform worse? > > Boris, I am sure you realize that a great deal of > the 64 bit IO > architecture is leveraged from the 64 bit > instructions set, that allows > things like 64 bit fetches. Will there be a gain > without using the 64 > bit instruction set? Yes. Will it be as large? > No. I do not see that. Most adapter card registers only 32bits, and PCIX dma is 64bits anyway, so what 64bit fetches are there? Larger pointers take up more cache space. Benchmark show that 64bit pointers slow memory operation. So the difference overall may be small. I not argue about 64bit maybe faster. But the hypertransport architecture may be enough to make the cost worthwhile. Boris __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
russian bitches rigling in action woubit
Have you ever seen pretty sexy iconvert girls get fucked unrulable in every holes? Wanna Look? Children suck the mother when they are young and the father when they are old.Freedom is the only law which genius knows. We are the best week very fast growing teeny you porno site Bald as the bare mountain tops are bald, with a baldness full of grandeur. See by your they own eyes. http://www.geocities.com/adrian_garland_47/ Some people show evil as a great racehorse shows breeding. They have the dignity of a hard chancre.All the world over, I will back the masses against the classes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sparc64 nfs client locking: Operation not supported
On Fri, Mar 18, 2005 at 11:41:38AM -0600, Joshua Lokken wrote: > Hello, > > I'm booting an UltraSparc machine with tftp over NFS. The boot server is > i386 running 5.4-PRERELEASE, the UltraSparc nfs root is 5.3-RELEASE. > > On the server, I'm running: > > mountd (-r) > nfsd (-u -t -n 4) > rpcbind > rpc.statd > rpc.lockd What about the client? See the rpc.lockd manpage; you need to run it there too. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
re: strange behaviour : grep -i --colour ""
hi, i've just prepared a typescript for you, see below. note that the original generated file is 37984604 bytes. my system is: $ uname -a FreeBSD mb-aw1n-bsd 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #5: Mon Feb 14 19:45:04 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MB-AW1N i386 do you have any suggestions as what i should do pls? cheers, martin -- Script started on Fri Mar 18 18:34:17 2005 You have mail. mb-aw1n-bsd:/root# mb-aw1n-bsd:/root# grep -i "" q q a a z z ^D..mb-aw1n-bsd:/root# grep --colour "" q q a a z z ^D..mb-aw1n-bsd:/root# grep -i --colour "" q .[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[ 01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01 ;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;3 1m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m .[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[ 00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00 m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m. [01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[0 1;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01; 31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31 m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m. [00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0 <..SNIPPED..> [00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0 0m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m .[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[ 01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01 ;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;3 1m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m .[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[ 00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00 m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m. [01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[0 1;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01; 31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31 m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m. [00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0 0m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m .[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[ 01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[00m.[01;31m.[0^C mb-aw1n-bsd:/root# mb-aw1n-bsd:/root# ^D..exit Script done on Fri Mar 18 18:35:15 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dvd iso with complete port collections
On Fri, Mar 18, 2005 at 02:48:25AM -0800, emil fakhruzi wrote: > hi.. can i ask for dvd iso for the next FreeBSD-Release with the latest > complete english port collections. The ports collection is included on the installation CD images. Are you really asking for the package collection? If so, this is too big to fit on a DVD image. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: adding a directory to a CD-image (.iso)
> > I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb. > > > > Before burning it to a DVD, I'd like to add a directory to the image. Is > > there a way to do it with tools available on FreeBSD -- mkisofs, > > growisofs, etc? > > > > I don't want to recreate the main image from scratch, as I'm sure, I'll > > get the options wrong and it will not boot :-) Can I just add a directory > > to the existing iso9660 filesystem? > Would mounting it with vnconfig let you do this? I've never tried, > myself... Well, yes, this is how I get to read the CD-image without burning it first. But that is a read-only thing. I need to modify an existing image -- add a directory tree to it... -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sparc64 nfs client locking: Operation not supported
Hello, I'm booting an UltraSparc machine with tftp over NFS. The boot server is i386 running 5.4-PRERELEASE, the UltraSparc nfs root is 5.3-RELEASE. On the server, I'm running: mountd (-r) nfsd (-u -t -n 4) rpcbind rpc.statd rpc.lockd The Ultra will boot fine, however, whenever I attempt to create an account, set a passwd, etc (anything that requires a file lock), I get an error telling me "Operation not supported". Thus, I have only a root account with a null password 8>0 rpcinfo(8) shows: program version(s) netid(s) service owner 10 2,3,4 local,udp,tcprpcbind superuser 15 3,1 tcp,udp mountd superuser 13 3,2 tcp,udp nfs superuser 100024 1 tcp,udp status superuser 100021 4,3,1,0 tcp,udp nlockmgrsuperuser and the Ultra kernel is built with: options BOOTP# User bootp to obtain IP address/hostname options BOOTP_NFSROOT# NFS mount root filesystem w/ bootp info options BOOTP_NFSV3 # NFSv3 for mount root options BOOTP_COMPAT # Workaround for broken bootp daemons options BOOTP_WIRED_TO=hme0 # Use interface hme0 for BOOTP I didn't find anything recent on the web to suggest that this shouldn't work; I may have missed something in configuring the setup. Any advice is welcome. -- Joshua Lokken Open Source Advocate ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
Boris Spirialitious wrote: --- Boris Spirialitious <[EMAIL PROTECTED]> wrote: --- Matthew Seaman <[EMAIL PROTECTED]> wrote: On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris Spirialitious wrote: When opteron support start for Freebsd? I have 4.9. is supported? Or 4.11 better? I can't use 5.x. Well, AMD64 support as a tier-1 platform only came in with 5.x, so you're S.O.L. if you have to use a 4.x release version. Will a i386 disk boot on opteron system? Can I use same disk image for intel and amd MBs? Any big problems? You can generally run AMD64 machines in IA32 mode -- but what would be the point? All you get then is a machine that costs more than an equivalent IA32 box and that probably performs worse. That is very curious to say. Isn't the advantage of Opteron the superior IO architecture? There is not much advantage with 64 bit computing. What is faster about it? Pointers are bigger, so it use more cache for less. NOt much 64bit math in OS. Why do you say it will perform worse? Boris, I am sure you realize that a great deal of the 64 bit IO architecture is leveraged from the 64 bit instructions set, that allows things like 64 bit fetches. Will there be a gain without using the 64 bit instruction set? Yes. Will it be as large? No. Boris I am waiting for your answer. Boris __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 4.x Opteron Question
--- Boris Spirialitious <[EMAIL PROTECTED]> wrote: > > --- Matthew Seaman <[EMAIL PROTECTED]> > wrote: > > On Tue, Mar 15, 2005 at 08:50:22AM -0800, Boris > > Spirialitious wrote: > > > When opteron support start for Freebsd? I have > > 4.9. > > > is supported? Or 4.11 better? I can't use 5.x. > > > > Well, AMD64 support as a tier-1 platform only came > > in with 5.x, so > > you're S.O.L. if you have to use a 4.x release > > version. > > > > > Will a i386 disk boot on opteron system? Can I > > > use same disk image for intel and amd MBs? Any > > > big problems? > > > > You can generally run AMD64 machines in IA32 mode > -- > > but what would be > > the point? All you get then is a machine that > costs > > more than an > > equivalent IA32 box and that probably performs > > worse. > > That is very curious to say. Isn't the advantage > of Opteron the superior IO architecture? There is > not much advantage with 64 bit computing. What is > faster about it? Pointers are bigger, so it use > more cache for less. NOt much 64bit math in > OS. Why do you say it will perform worse? > > Boris I am waiting for your answer. Boris __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: adding a directory to a CD-image (.iso)
On Thu, Mar 17, 2005 at 03:02:18PM -0500, Mikhail Teterin wrote: > Hello! > > I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb. > > Before burning it to a DVD, I'd like to add a directory to the image. Is > there > a way to do it with tools available on FreeBSD -- mkisofs, growisofs, etc? > > I don't want to recreate the main image from scratch, as I'm sure, I'll get > the options wrong and it will not boot :-) Can I just add a directory to the > existing iso8859 filesystem? Would mounting it with vnconfig let you do this? I've never tried, myself... > Thanks! > > -mi > ___ -- Brian Reichert <[EMAIL PROTECTED]> 55 Crystal Ave. #286Daytime number: (603) 434-6842 Derry NH 03038-1725 USA BSD admin/developer at large ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed t
Re: [OT] Re: MS Exchange server on FreeBSD?
That is truly one of the most disturbing things I've ever read (about technology, anyway). Must be careful not to frighten small children, or all but the most experienced sysamins, with that one. Tom Ean Kingston wrote: As someone who has inhereted an Exchange server I have a few hints for you. 1 Run Exchange on a Dedicated Windows Server (2000 or 2003). Do not fiddle with VMware or Wine. You are going to need a license for Windows to run Exchange under VMware (or bochs). You are probably going to need a license of Windows to run it under wine (if that is even possible). In any case, you will lose stability if you don't dedicate a system to Windows. 2 You need to keep the disk where Exchange stores its mail database at least 55% free or Exchange will not work properly. This is because you need to periodically rebuild the Exchange database to keep performance tollerable. Also when mail is deleted in an exchange mail store, it is not actually deleted but just marked for deletion. You need to take the mail store offline (so nobody can access their mailbox) periodically and run a tool to purge the deleted items. This takes hours on any decent sized mail system. When this happens it creates temporary files roughly 110% the size of the mail store. 3 Exchange is a pig. You would be best to have another Windows system running Active Directory to support your Exchange server. If you are thinking of using the Active Directory emulation available in Samba, forget it. Exchange changes the structure of the Active Directory when it is installed. You need a real Active Directory server. 4 On the topic of Exchange being a pig; you should set up a couple of FreeBSD systems that act as your MX hosts for inbound e-mail. Put something like Postfix or Exim (or any other smtp software you like) on there and setup at least simple spam filtering (even if it is just RBLs). Have these Postfix (or exim) system feed mail to your Exchange server. There are articles on the Web about how to get Postfix to check the validity of recipients against an Exchange server so you can bounce bogus mail at the border if you want. You could also have this system do the virus scanning (again numerous articles are available). 5 Exchange does an enormous amount of logging so those disks are going to fill up quickly. You need to run special tools before you delete the logs or you run the risk of not being able to recover your mail database in the event of catastrophic failure. Read over item 3 again, the process is similar. 6 Exchange shuts down when the disk that holds the mail store is 90% full. It will not restart until you free up some disk space. If you reach this situation you probably aren't following point 5 or point 3 enough. 7 Familiarize yourself with http://support.microsoft.com/?scid=kb;en-us;313184&spid=1760&sid=global you are going to be reading it (and related sites) a lot. 8 Unless you have users demanding shared calendars and automatic meeting scheduling, try to find a solution other than Exchange. I'm partial to Postfix, Courier-IMAP, OpenLDAP, SquirrelMail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[OT] Re: MS Exchange server on FreeBSD?
> On Fri, 2005-03-18 at 08:06, Christian Tischler wrote: >> Hi, >> I would like to run an MS exchange server. But I am not at all willing >> to set up an MS box at all. As I know I could run something like VMware >> virtual server or Wine, but I do not know if such an combination would >> be stable (sopken in terms of windows stability). The next consideration >> would be the performance of the overal setup. >> >> Any hints or suggenstions would be great. As someone who has inhereted an Exchange server I have a few hints for you. 1 Run Exchange on a Dedicated Windows Server (2000 or 2003). Do not fiddle with VMware or Wine. You are going to need a license for Windows to run Exchange under VMware (or bochs). You are probably going to need a license of Windows to run it under wine (if that is even possible). In any case, you will lose stability if you don't dedicate a system to Windows. 2 You need to keep the disk where Exchange stores its mail database at least 55% free or Exchange will not work properly. This is because you need to periodically rebuild the Exchange database to keep performance tollerable. Also when mail is deleted in an exchange mail store, it is not actually deleted but just marked for deletion. You need to take the mail store offline (so nobody can access their mailbox) periodically and run a tool to purge the deleted items. This takes hours on any decent sized mail system. When this happens it creates temporary files roughly 110% the size of the mail store. 3 Exchange is a pig. You would be best to have another Windows system running Active Directory to support your Exchange server. If you are thinking of using the Active Directory emulation available in Samba, forget it. Exchange changes the structure of the Active Directory when it is installed. You need a real Active Directory server. 4 On the topic of Exchange being a pig; you should set up a couple of FreeBSD systems that act as your MX hosts for inbound e-mail. Put something like Postfix or Exim (or any other smtp software you like) on there and setup at least simple spam filtering (even if it is just RBLs). Have these Postfix (or exim) system feed mail to your Exchange server. There are articles on the Web about how to get Postfix to check the validity of recipients against an Exchange server so you can bounce bogus mail at the border if you want. You could also have this system do the virus scanning (again numerous articles are available). 5 Exchange does an enormous amount of logging so those disks are going to fill up quickly. You need to run special tools before you delete the logs or you run the risk of not being able to recover your mail database in the event of catastrophic failure. Read over item 3 again, the process is similar. 6 Exchange shuts down when the disk that holds the mail store is 90% full. It will not restart until you free up some disk space. If you reach this situation you probably aren't following point 5 or point 3 enough. 7 Familiarize yourself with http://support.microsoft.com/?scid=kb;en-us;313184&spid=1760&sid=global you are going to be reading it (and related sites) a lot. 8 Unless you have users demanding shared calendars and automatic meeting scheduling, try to find a solution other than Exchange. I'm partial to Postfix, Courier-IMAP, OpenLDAP, SquirrelMail. > I have never heard of anyone using Exchange on a non-Windows machine, > and I can't see much point. The license fee for Exchange swamps the OS > license. I expect you could run VMWare with Windows as a guest OS, but > for something as critical as your mail server, I would dedicate a > Windows machine to it. I doubt it would work with WINE. > > Basically, if you have to hold your nose to run Exchange, you may as > well hold it a little tighter and run Windows. If not, look at > FreeBSD/Sendmail-or-Postfix/Evolution as a very reliable mail service. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > -- Ean Kingston E-Mail: ean_AT_hedron_DOT_org PGP KeyID: 1024D/CBC5D6BB URL: http://www.hedron.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.3-release fine with 512MB RAM, reboots at times with 1.5GB (but no panic)
I have had odd behavior like you are describing with cheap motherboards. I ran all of the memory tests etc, and everything passed with flying colors. Despite passing all of the tests I could throw at the hardware, windows 2000 was very unstable. We ultimately ended up replacing the board. On Thu, 17 Mar 2005 17:59:13 +, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Wed, Mar 16, 2005 at 07:29:43PM -0800, Jean Lagarde wrote: > > Thanks to all who replied. So it seems the consensus is a likely > > hardware issue, and I am leaning that way as well now. I will try the > > suggestion about disabling ACPI however. > > > > To address some of the other comments, that exact CPU-mobo-memory > > configuration worked fine running Win2000 for many years, so I doubt it > > is the problem per se. > > Doesn't rule out bugs in the ACPI support of your motherboard. Some > low-quality motherboards only implement an approximation to the ACPI > spec to a level that gets windows to run. > > Kris > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to include header files in makefiles
Jonathon McKitrick wrote: Hi all, I'm setting up a build system for a small project and I want to use included makefiles. I have a base.mk that looks like this: I will answer here, but be aware that you're getting all of my prejudices too, so take things with a grain of salt. First item deals with the .path statements, and more specifically, your use of relative addressing. It's my own experience that, if you use relative addressing, you make troubleshooting a broken build much more difficult, because 1) relative addressing means you have to be forever translating paths in listings, and very often the number of include paths gets to be rather long. 2) all the stuff like "../.." in listings is quite difficult to read 3) with the $(.CURDIR) variable, it's extremely easy to use absolute addressing. You can also make use of $(.OBJDIR), and it's not so hard to make makefiles that work off of read-only sources like cdroms. .PATH.h : ../ ../include .INCLUDES : .h CFLAGS = -O -pipe -Wall -g CFLAGS += $(.INCLUDES) OBJS = ${SRCS:R:S/$/.o/g} and a bin.mk that looks like this: include ../include/mk/base.mk all: ${BIN} ${BIN}: ${OBJS} ${CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} so that a makefile for a specific program looks like this: BIN = app SRCS = app.c LDFLAGS += -pthread include ../include/mk/bin.mk The Make(1) man page doesn't show "include", the advertised command is ".include". If you use .include, then you can modify your make, if you want, with the -m argument, and so get specific directories to be added to the search path for make include files. I'm not sure, but I think that raw "include) is more a gmake item, and it's absolute addressing. Don't forget the "-" argument, so that you allow includes to fail if they need to, like for generating dependencies. But I'm having a problem figuring out how to handle header files. I have some that are local to this binary, but others are in the project include directory. How can I include the .h files so the .c files are recompiled when the header files they require are changed? GNU make has 'make depend' but I'd like a better, BSDmake-centric way, if possible. Well, did you look at the files in /usr/share/mk, and specifically bsd.dep.mk? You can even use the FreeBSD sources to figure out (to use as examples) how things should work. Don't forget the use of -m, because you can use it to add to the include directory list, and so be able to add your own include files without corrupting the system files. I honestly keep on switching back and forth, between thinking that the best make is bmake, or gmake. They both have key items that make them uniquely better. Thanks for your help, jm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: password length default install
Dick Hoogendijk wrote: What is the password lenght one may use at login? I didn't change the defaults on my fbsd-4.11 (login passwd md5 ??) I remember linux had as default some eight chars or so. I want to use more chars for some accounts. Can I safely use 10-12 chars? # man passwd (4.x) The new password should be at least six characters long (which may be overridden using the login.conf(5) ``minpasswordlen'' setting for a user's login class) and not purely alphabetic. Its total length must be less than _PASSWORD_LEN (currently 128 characters). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kylix or libborqt
On Thursday 17 March 2005 3:40 pm, John wrote: > Hey, folks! > My problem is that, of course, it is only compiled for MS-Windows > and Linux. That's OK, I have Linux compatibility installed so that > I can run acroread. What makes matters worse is that it was built > using something called Kylix by Borland (http://www.borland.com/kylix/). > As such, it depends on a library called libborqt-6.9-qt2.3.so. > > I'm pretty much a newbie to Linux applications on FreeBSD. I got > acroread running because the packages did everything for me. So... > 1) Do I need a Linux libborqt-6.9-qt2.3.so, or a FreeBSD one? > 2) Should I forget trying to run the darn thing in Linux mode >and try to port it to FreeBSD, since it is open source? > The biggest problem with porting it would probably be Kylix > itself, which, while GPL, I haven't found the source. It must > be quit extensive, because the download is 90.7 Mb and includes > two high-performance C++ compilers. The Windows version came with > whatever DLLs it needed, so I suspect you don't really have to > go THAT far. > Kylix is a Borland IDE that is basically Delphi (Object Pascal) for Linux, although the last version did include C++. As far as I know the Kylix project died at borland. I use Delphi at work so I was psyched when Kylix came along. BUTkylix never ran on FreeBSD, people tried for sometime but I don't think anyone ever got it beyond installing. As for that lib if its not a lib supplied by kylix then just grab the lib and install it, but with the "qt" in the name I suspect that its some borland modified qt based lib. As for data modeling I have to think there are some out there but I don't use any so someone else will have to tell you. HTH... -- Rod "If you stay the same long enough you'll be in style some day again." Cren Dog ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sbp, camcontrol, and Tagged Queuing
On 3/17/2005 8:23 PM Bob Johnson wrote: On Thursday 17 March 2005 10:08 pm, Drew Tomlinson wrote: I posted this a while back and am still having the same problem. Can anyone offer any insight as to if the sbp man page suggestion about tagged queuing is something I should try? Is there any risk of screwing up my drives by trying this? Tagged queueing queues up multiple instructions for the drive simultaneously. The drive then attempts to sort them out and execute them in optimum order. Some drives that claim to support tagged queueing do not correctly do so, and don't perform well when it is used (and may lose data). If you set the queue size to one, as recommended in the passage you reference, then only one instruction will be issued to the drive at time, and it will behave like a drive without tagged queueing. It will do no harm to the drive. If the drive correctly implements tagged queueing, this will slow down the drive, but if it does not correctly implement it, then this may dramatically speed up the drive (and make it more stable). I have an external drive that manages 1.3 MBps transfers with queueing enabled, and 25 MBps transfers when I set the queue size to one. As for whether it will help your specific problem, I don't know, but I can't see how it would do any harm to test it. This issue is not specific to FreeBSD. Any OS that supports tagged queuing has problems with some drives. - Bob Thank you for your explanation. I will try this later today when I am close to the console and post my results for anyone else that may experience this problem. Cheers, Drew [...] da2 and da3 are two IDE drives in a firewire enclosure. These are also the drives that come up "referenced" after restarting. What do these errors mean? How can I correct them? Is the following section from the sbp man page applicable to my situation? Some (broken) HDDs don't work well with tagged queuing. If you have prob- lems with such drives, try ``camcontrol [device id] tags -N 1'' to dis- able tagged queuing. Thanks for your help! Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: password length default install
Dick Hoogendijk <[EMAIL PROTECTED]> writes: > What is the password lenght one may use at login? I didn't change the > defaults on my fbsd-4.11 (login passwd md5 ??) > > I remember linux had as default some eight chars or so. I want to use > more chars for some accounts. Can I safely use 10-12 chars? DES passwords are limited to 8 characters (significant characters; you can type away all you want, but only the first 8 characters affect the result). MD5 can use considerably more (128, according to something out of the mists of my memory, but I haven't checked). This is true on any OS that supports both. See the "DES, MD5, and Crypt" section in the Handbook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
Am Freitag, 18. März 2005 14:06 schrieb Christian Tischler: > Hi, > I would like to run an MS exchange server. But I am not at all willing > to set up an MS box at all. ??? Windows is a really good, well maintained standardized and secure piece of software compared to Exchange. I can't imagine why someone is even considering exchange when he knows about FreeBSD and it's programs. Maybe you are not aware that exchange e.g. doesn't work without ActiveDirecotry? Make you and the rest of the email connected world a favour and don't polute the net with another exchange! -Harry > As I know I could run something like VMware > virtual server or Wine, but I do not know if such an combination would > be stable (sopken in terms of windows stability). The next consideration > would be the performance of the overal setup. > > Any hints or suggenstions would be great. > > thx > > Christian > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpVvCw7nf6VO.pgp Description: PGP signature
Re: strange behaviour : grep -i --colour ""
martinko <[EMAIL PROTECTED]> writes: > hello, > > i've just found out that while 'grep -i ""' and 'grep --colour ""' > behave as expected (by myself), running 'grep -i --colour ""' results > in very strange behaviour - grep consumes all available cpu and, based > on its input and terminal type, its output is definitely not what it > should be. > > is this a known issue pls (i couldn't find anything about it) or am i > just missing something ? > > regards, > > martin > > ps: observed on freebsd 5.3r-p5 I can't reproduce it on yesterday's -STABLE... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
On Mar 18, 2005, at 10:12 AM, Dick Hoogendijk wrote: On 18 Mar Bart Silverstrim wrote: On Mar 18, 2005, at 6:23 AM, Dick Hoogendijk wrote: I log in from a remote windows computer on my school using PuTTY w/ ssh2. What I'd like to know is how *safe* is the login from this windows machine? I would like to be able to login to my home computer without being worried about some sneaky system operator at work (school) ;-) The SSH session, I believe, should be secure from sniffing (assuming you're using protocol 2). If someone puts a keystroke logger on your windows machine, they will get the password. If they put a hardware logger on your computer, they will get the data. If they are watching over your shoulder just as you misstype your password as your username, you're probably in trouble. If someone is viewing your Windows desktop using remote monitoring software (like a modified VNC), they'll see your session. If putty is trojaned, you're in trouble. If you're *really* paranoid about the connection, grab knoppix and use it's ssh client to log in remotely. OK, thank you and all others who responded so quickly. This summary is very clear. I changed all passwords right when I came back home ;-) Assuming bad news has not yet happened.. Maybe I'm paranoid but I'll go for knoppix next time. It's the safest way to go as I understand now. Don't forget to trace the cable leading from the keyboard to the back of the computer for a hardware logger :-) And yes, the "best" way to go for the truly paranoid UNIX-lover is to use a liveboot CD, as it will bypass any spyware, loggers, and monitors that are software based on the Windows system. The MD5sum of the liveboot CD should also be checked in this case. There are several out there available but knoppix seems to be the most popular liveboot utility disk around and seems to yield the most success in working on a myriad of hardware. -Bart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
password length default install
What is the password lenght one may use at login? I didn't change the defaults on my fbsd-4.11 (login passwd md5 ??) I remember linux had as default some eight chars or so. I want to use more chars for some accounts. Can I safely use 10-12 chars? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Make buildworld and UPDATING
On Fri, Mar 18, 2005 at 09:11:27AM -0600, CHris Rich wrote: > While reading updating I see this: > > 20050227: > The default "world" build no longer supports running on an > 80386 CPU. In order to build a world for an 80386 CPU, one > needs to set CPUTYPE=i386 in /etc/make.conf. > > does this mean that 80486's and above don't need to set it? Correct. If you are using a '486 or later you do not *have* to set CPUTYPE to anything. If you wish to optimize for your particular CPU you could set CPUTYPE to reflect the CPU you are actually using, but it is not necessary other than for a real 80386. > or do all > x86's need to set this value? > > It seems to me that only 386 should need to set it but before I start > updating I want to be sure.. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
On 18 Mar Bart Silverstrim wrote: > > On Mar 18, 2005, at 6:23 AM, Dick Hoogendijk wrote: > > >I log in from a remote windows computer on my school using PuTTY w/ > >ssh2. What I'd like to know is how *safe* is the login from this > >windows machine? > >I would like to be able to login to my home computer without being > >worried about some sneaky system operator at work (school) ;-) > > The SSH session, I believe, should be secure from sniffing (assuming > you're using protocol 2). > > If someone puts a keystroke logger on your windows machine, they will > get the password. > > If they put a hardware logger on your computer, they will get the data. > > If they are watching over your shoulder just as you misstype your > password as your username, you're probably in trouble. > > If someone is viewing your Windows desktop using remote monitoring > software (like a modified VNC), they'll see your session. > > If putty is trojaned, you're in trouble. > > If you're *really* paranoid about the connection, grab knoppix and use > it's ssh client to log in remotely. OK, thank you and all others who responded so quickly. This summary is very clear. I changed all passwords right when I came back home ;-) Assuming bad news has not yet happened.. Maybe I'm paranoid but I'll go for knoppix next time. It's the safest way to go as I understand now. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Make buildworld and UPDATING
While reading updating I see this: 20050227: The default "world" build no longer supports running on an 80386 CPU. In order to build a world for an 80386 CPU, one needs to set CPUTYPE=i386 in /etc/make.conf. does this mean that 80486's and above don't need to set it? or do all x86's need to set this value? It seems to me that only 386 should need to set it but before I start updating I want to be sure.. -- Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
Mike Jeays wrote: ... Basically, if you have to hold your nose to run Exchange, you may as well hold it a little tighter and run Windows. If not, look at FreeBSD/Sendmail-or-Postfix/Evolution as a very reliable mail service. Indeed. Anyway, if you're running VMWare with Windows inside it, you *are* running Windows, are you not? You're just not dedicating your hardware to it. For a monster like Exchange, I'd probably want to dedicate hardware (just my prefs -- unruly beasts should be isolated). -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid ASCII loader prompt
> > > >> So, lets leave this topic at that. Either the > >> ultra-anti-beastie or ultra-pro-beastie movements will destroy > >> themselves. > >> > > > > The ultra-pro-beastie movement is defined as the status quo, so it's > > impossible for it to destroy itself (except perhaps by apathy) > So beastie stands for freedom, democracy, pursuit of happiness > and a great operating system for everyone? > Just a question from Central Europe. > Uli. It seems to in Ted M's world. In my world, being able to sleep as long as I want and to come in to work on my own schedule comes closer to representing those principles - and so I would have to say I live in a world that falls far short of the ideal... jerry > > * > * Peter Ulrich Kruppa - Wuppertal - Germany * > * > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
On Fri, 2005-03-18 at 08:06, Christian Tischler wrote: > Hi, > I would like to run an MS exchange server. But I am not at all willing > to set up an MS box at all. As I know I could run something like VMware > virtual server or Wine, but I do not know if such an combination would > be stable (sopken in terms of windows stability). The next consideration > would be the performance of the overal setup. > > Any hints or suggenstions would be great. > > thx > > Christian > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" I have never heard of anyone using Exchange on a non-Windows machine, and I can't see much point. The license fee for Exchange swamps the OS license. I expect you could run VMWare with Windows as a guest OS, but for something as critical as your mail server, I would dedicate a Windows machine to it. I doubt it would work with WINE. Basically, if you have to hold your nose to run Exchange, you may as well hold it a little tighter and run Windows. If not, look at FreeBSD/Sendmail-or-Postfix/Evolution as a very reliable mail service. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Stupid ASCII loader prompt
Re all that stuff about Iraq and oil, etc that I nuked, many times in world history, self serving campaigners have made suckers of the unwashed masses and been able to claim them in a majority. That is not the same as the minority seizing power because of the way our system is constructed. It is an (often) unfortunate artifact of the human condition. > they were far more common than anyone would believe. > > > Sure, each 'ultra' group contains the seeds/tools of its own > > destruction. > > No, not true. The Amish for example are definitely an off-the-bend > "ultra" > group, but they have a consistent internal philosophy, and the way they > apply their philosophy is non hypocritical, thus they survive. The > Quakers, > the super-Mormons, even the survivalists, there are many of these > out-in-left-field > groups that are non-hypocritical in the application end. As a result > they > don't carry the seeds of their own destruction. Rather, there are other > reasons that they can never grow beyond a small minority. There are other seeds of self destruction beside hypocrisy. The Amish and some similar groups just gradually die off, for example.By the way, there is plenty of hypocrisy in the Amish community.It may look different from what we are all used to seeing but it is there. Survivalists/militia groups feed on people's personal pathology and must constantly be resupplied by fresh self-loathing recruits. They are somewhat a product of the failure of mainstream society and maybe some of that hypocrisy you seem interested in. > > There's plenty of stuff that you can fault the ultraliberals for, > (stupidity, > no common sense) but hypocrisy is not one of them. That particular > problem is a speciality of the ultraconservatives. Well, it seems so, but even the ultra liberals abuse weaker persons within their groups. That, for example, has been one of the complaints of women for the last hundred years or more (my memory doesn't go back much farther than that). And they usually show none of their liberal consideration toward their opponents, even though their doctrine would call for it. > > So, lets leave this topic at that. Either the > > ultra-anti-beastie or ultra-pro-beastie movements will destroy > > themselves. > > The ultra-pro-beastie movement is defined as the status quo, so it's > impossible for it to destroy itself (except perhaps by apathy) The status quo is that not many people care. The ultra-pro-beastie movement can destroy itself just like the other side by being so strident that they offend the status quo and majority and incite a dump-it movement just to show they won't be abused by either religious fringe - since the ultra-pro-beastie group seems to be the loudest and most narrowly beamed one at the moment. jerry > > Ted > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Stupid ASCII loader prompt
On Thu, 17 Mar 2005, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jerry McAllister Sent: Thursday, March 17, 2005 11:53 AM To: "Marco Greene (ML)" Cc: freebsd-questions@freebsd.org Subject: Re: Stupid ASCII loader prompt Well, by now we are gleefully off topic for this list, so... Why not! ;-) The USA system attempts/purports to _protect_ the minorities. This exists because supposedly the system tries to protect everyone, not specifically the minorities. It is only an artifact that sometimes minorities find themselves able to use the system to influence some outcome. They do not seize control. They wield whatever poser/influence they can muster, but they do not seize control. What control exists, they do seize. Certainly, much of the actual control of the US system resides lower down in the food chain among the professional bureaucrats who survive administration after administration, regardless of who happens to be at the top. But, there still is a lot of real power at the top, and the people at the top are also able to make decisions that have implications that stretch far, far beyond their own brief period in power. As for example the decision to invade Iraq. Long after the Republicans are out of power, the US is still going to be involved there. Because by that time there will have been such a great loss of American life that even the strongest Democrat will not be able to pull out, because the hawks will claim that if he does he's throwing away everything that that large number of soldiers have given their lives for, and nobody will be able to survive that kind of criticism. As a result we will have permanent military bases there. And as a result we will have to keep going back in there year after year whenever the population there (who really does not want bases) manages to get a strong enough government in place that can threaten those bases existence. And also, Saudi Arabia wants us in there because that way we will control oil production, and thus not destroy OPEC's power. Iraq is the only country in the world that has the oil reserves large enough to destroy OPEC if they wished, and OPEC is Saudi Arabia's child. And independent Iraq with it's own government has always been a threat to OPEC and now that is gone. And because of all of this, our Energy policy has been permanently altered to be oil-based. We will never be able to return to conservation, solar, geothermal and so on. The dial has been stuck on Oil and will remain there until all oil reserves in Saudia Arabia and Iraq have been completely tapped out. And because of that, American soldiers will continue to die over there until that happens in maybe a century or so. And this is -exactly- what the ultraconservatives want. They wanted a US that is the world's policeman with an economy that supports a tremendous military-industrial complex, and that is what they got. Next, it was not exactly a failure. The use of alcohol went down very significantly. We don't really have any way of knowing that because none of this stuff was tracked, as it was illegal. And you might consider too that a still isn't practical in a densely populated area, it is likely that out West where the population density was much lower, that they were far more common than anyone would believe. Sure, each 'ultra' group contains the seeds/tools of its own destruction. No, not true. The Amish for example are definitely an off-the-bend "ultra" group, but they have a consistent internal philosophy, and the way they apply their philosophy is non hypocritical, thus they survive. The Quakers, the super-Mormons, even the survivalists, there are many of these out-in-left-field groups that are non-hypocritical in the application end. As a result they don't carry the seeds of their own destruction. Rather, there are other reasons that they can never grow beyond a small minority. There's plenty of stuff that you can fault the ultraliberals for, (stupidity, no common sense) but hypocrisy is not one of them. That particular problem is a speciality of the ultraconservatives. So, lets leave this topic at that. Either the ultra-anti-beastie or ultra-pro-beastie movements will destroy themselves. The ultra-pro-beastie movement is defined as the status quo, so it's impossible for it to destroy itself (except perhaps by apathy) So beastie stands for freedom, democracy, pursuit of happiness and a great operating system for everyone? Just a question from Central Europe. Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: PPP routing failure
Check out the install guide at http://www.unixguide.net/freebsd/fbsd_installguide/index.php it has the best step by step instructions for using userppp. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter C. Lai Sent: Thursday, March 17, 2005 8:37 PM To: freebsd-questions@freebsd.org; freebsd-net@freebsd.org; freebsd-stable@freebsd.org Subject: PPP routing failure Hi everyone - I'm experiencing some funky routing failures when I dialup netscape internet via user-level PPP: I can negotiate IPCP fine; get a point-to-point link via tun0: myaddr: 172.143.224.146; hisaddr: 63.152.0.70 When the default route is setup to 63.152.0.70, all of my packets are blackholed after the first router hop. I am not using NAT. The PPP link works perfectly fine in windows dialup networking. So I dunno what is wrong. When I look at the routing table in windows, it seems backwards: DESTNM GW IF default 0 myaddr ppp hisaddr 0x myaddr ppp localhost 0xff00 localhost localhost myaddr 0x localhost localhost myaddr.255.255* 0x myaddr ppp multicast multicast myaddr ppp *this is the first 2 dotted quads of myaddr appended with 255.255 If I try to manually set these routes in 5.3-R, I still can't get out :( Setting ADD DEFAULT MYADDR doesn't work, because ppp will still think MYADDR is 0.0.0.0. Either I need sleep or something is funky here... -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/ ___ 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]"
network: not found messages
Hey all, I've been running into some issues booting up and starting certain services. During boot up, I see a lot of "network: not found" messages. Also, when I try to start samba, I get that message and even though smbd starts, nmbd does not start and gives me the error described above. I also see it when starting ProFTPd as well as some other services. I've checked and double checked my rc.conf and don't see anything wrong with it. Anyone have any ideas? I'll post any configuration files that people would like to see. Thanks! Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dvd iso with complete port collections
emil fakhruzi wrote: hi.. can i ask for dvd iso for the next FreeBSD-Release with the latest complete english port collections. Sure, you can ask, but the complete port collection simply won't fit on a DVD. [ The total size is somewhere around 25-30 GB at present... ] -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MS Exchange server on FreeBSD?
I really doubt that it is possible. I would look at OpenExhange: http://mirror.open-xchange.org/ox/EN/community/ Christian Tischler wrote: Hi, I would like to run an MS exchange server. But I am not at all willing to set up an MS box at all. As I know I could run something like VMware virtual server or Wine, but I do not know if such an combination would be stable (sopken in terms of windows stability). The next consideration would be the performance of the overal setup. Any hints or suggenstions would be great. thx Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HDD idle shutdown.
* [EMAIL PROTECTED] [2005-03-18 11:24 +0100] > On Fri, Mar 18, 2005 at 10:21:17AM +0100, Christian Tischler wrote: > > I wondered whether there is an option to shut down an idle HDD until it > > is needed again? > > I am using FreeBSD 5.x. > > /usr/ports/sysutils/ataidle Note that, while this indeed will spin down your hdd, the system will most likely spin it up again after a short period of time, unless you modify some settings. Especially the cron system may cause your hdd to spin up every once in a while. Svein Halvor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
On Fri, Mar 18, 2005 at 07:39:43AM -0500, Bart Silverstrim wrote: > If someone puts a keystroke logger on your windows machine, they will > get the password. > > If they put a hardware logger on your computer, they will get the data. > > If they are watching over your shoulder just as you misstype your > password as your username, you're probably in trouble. > > If someone is viewing your Windows desktop using remote monitoring > software (like a modified VNC), they'll see your session. > > If putty is trojaned, you're in trouble. You can also enable OPIE passwords. Using opie(4) in combination with ssh should solve some (though not all) of your problems w.r.t. sniffing and key logging. Of course, if you logged into a machine using opie, and *then* typed some other (non one-time) passwords from withing that session, you'd be still at the mercy of a local key logger or trojaned ssh client. So you've got know what you're doing and use common sense :) Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ethernet issue: works one way but not another
Abu Khaled wrote: ... Am I the only one interested in this topic? Where is the rest of our lovely community? Come on guys let's scratch those gray cells and help John out. Although progress is being made on getting detail, it's still insufficient (and, not entirely consistent? if the connection in question is *wired* then probably the fact that a wireless access point exists on the same subnet is not likely relevant). Anyway, I do not have a clear vision of what connects to what, how. The relevant portions of rc.conf, ifconfig output (and ipconfig output from the M$ box), the syntax of the tcpdump, the specs of the box, and other relevant details might spur more response. A simple ASCII representation of the network might help. FWIW, I've seen tcpdump behave poorly if the box or card just doesn't have the horsepower required to parse the volume of all the packets being seen on the network. re: can't ping M$ box... M$ firewall sounds like the most likely culprit. If you try to ping and get no response, does the M$ box nevertheless show up in FreeBSD's arp table (compare arp -an before and after the ping test)? If the MAC address shows up, you've got connectivity just fine, but something's dropping the ICMP packets. PS to Abu -- your written English is as good or better than many native speakers of the language, so don't apologize for it. =) -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MS Exchange server on FreeBSD?
Hi, I would like to run an MS exchange server. But I am not at all willing to set up an MS box at all. As I know I could run something like VMware virtual server or Wine, but I do not know if such an combination would be stable (sopken in terms of windows stability). The next consideration would be the performance of the overal setup. Any hints or suggenstions would be great. thx Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd cd image
Osmany Guirola Cruz wrote: > Hi people > I am trying to do an iso image of DATA CD and i am using this command line > > %dd if=/dev/acd0 of=cd.iso > and this is the error > > dd: /dev/acd0: Invalid argument > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000304 secs (0 bytes/sec) > > > How can i made and iso image of a data cd ? > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > I think if you specify a block size (bs=2k or greater) it will work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Ethernet issue: works one way but not another
On Thu, 17 Mar 2005 22:43:15 -0500, John A. <[EMAIL PROTECTED]> wrote: > No problem with the english, if you didn't mention it, I wouldn't have known. > > I can ping FBSD from M$, can't ping anything from FBSD. > > M$ box works when plugged into hub and directly into radio. > > All systems are on same subnet. If the other machines you are trying to ping have M$ firewall enabled, then you need to enable incoming echo request in the M$ firewall ICMP page. > > FBSD box worked when plugged into a 100mb hub, but doesn't work when > plugged into 10mb hub or directly into radio. Both hubs are 3Com and > are working with other systems plugged into them. > Try to check the output of "ifconfig" on the FreeBSD box when you connect it to the 100m hub / 10m hub / radio. Also try "route get " on the FreeBSD box and check the output. Does it provide the correct interface/gateway? > FBSD has no firwall configured. All I did was perform a standard > installation loading all binaries and sources from ftp. > > I just tested another FBSD 5.3 box that I have and it does the same > thing, works fine at 100mb, but appears to get lost at 10mb. > > Hope this answers some of your questions. > > John A. Am I the only one interested in this topic? Where is the rest of our lovely community? Come on guys let's scratch those gray cells and help John out. -- Kind regards Abu Khaled ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
On Mar 18, 2005, at 6:23 AM, Dick Hoogendijk wrote: I log in from a remote windows computer on my school using PuTTY w/ ssh2. What I'd like to know is how *safe* is the login from this windows machine? I mean, can my login to my FreeBSD server at home be *monitored* by someone while I'm using this windows machine at work? Can the keystrokes that I use *in* PuTTY be seen by anybody on this windows network at work. If so, what can I do about it to be more safe? I would like to be able to login to my home computer without being worried about some sneaky system operator at work (school) ;-) The SSH session, I believe, should be secure from sniffing (assuming you're using protocol 2). If someone puts a keystroke logger on your windows machine, they will get the password. If they put a hardware logger on your computer, they will get the data. If they are watching over your shoulder just as you misstype your password as your username, you're probably in trouble. If someone is viewing your Windows desktop using remote monitoring software (like a modified VNC), they'll see your session. If putty is trojaned, you're in trouble. If you're *really* paranoid about the connection, grab knoppix and use it's ssh client to log in remotely. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dd cd image
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Osmany Guirola Cruz escribió: | Hi people | I am trying to do an iso image of DATA CD and i am using this command line | | %dd if=/dev/acd0 of=cd.iso | and this is the error | | dd: /dev/acd0: Invalid argument | 0+0 records in | 0+0 records out | 0 bytes transferred in 0.000304 secs (0 bytes/sec) | | | How can i made and iso image of a data cd ? without mkisofs you can use cat: cat /dev/acd0 >> cd.iso -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFCOspULWSOuibjjvIRAmI6AKCR6/GEfCB/T4lZdeuPxFk4/iE8RwCfdqUm UpBqCLwD/J9aDYVtwAFF/e8= =yPz6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dd cd image
Hi people I am trying to do an iso image of DATA CD and i am using this command line %dd if=/dev/acd0 of=cd.iso and this is the error dd: /dev/acd0: Invalid argument 0+0 records in 0+0 records out 0 bytes transferred in 0.000304 secs (0 bytes/sec) How can i made and iso image of a data cd ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
Stian Øvrevåge wrote: Another problem is the Man-in-the-Middle problem, where you are led to believe that you are communicating with your home-computer, but your session is relayed on through a decrypting/encrypting gateway which is under someone else's controll. Of course exists the man-in-the middle by suplanting primarily keys, and other possibility is exploiting any vulnerability of server and client. But if anyone is trying to MITM you, client alerts you that keys don't match to primarily ssh handshaking keys and possibly someone is MITM you. . -- Jose Nicolas Castellano Presidente - Asociación No cON Name Tel: +34 616 727 675 E-Mail : [EMAIL PROTECTED] WWW: www.noconname.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
Another problem is the Man-in-the-Middle problem, where you are led to believe that you are communicating with your home-computer, but your session is relayed on through a decrypting/encrypting gateway which is under someone else's controll. To counteract this, you should obtain your home-computer's SSH fingerprint, and verify that this is in fact the machine you are connecting to when launching putty at school. Regards, Stian On Fri, 18 Mar 2005 12:37:03 +0100, José Nicolás Castellano <[EMAIL PROTECTED]> wrote: > Dick Hoogendijk wrote: > > >I log in from a remote windows computer on my school using PuTTY w/ > >ssh2. What I'd like to know is how *safe* is the login from this windows > >machine? I mean, can my login to my FreeBSD server at home be > >*monitored* by someone while I'm using this windows machine at work? > >Can the keystrokes that I use *in* PuTTY be seen by anybody on this > >windows network at work. If so, what can I do about it to be more safe? > > > >I would like to be able to login to my home computer without being > >worried about some sneaky system operator at work (school) ;-) > > > > > Mmm. Ssh only can *certificate* you that no one is capturing trafic > between server and client (freebsd and putty), ssh stablishes a ciphred > tunnel consistent in a two keys (private and public). > > Ssh client ( or putty in your case ) don't *warranty* if your computer > client is running a keylogger or a trojan horse. If client is keylogged > or trojaned you are died :-D, buy an antivirus or something for M$ > Platforms. In *nix systems, relay to the administrator... > > -- > Jose Nicolas Castellano > Presidente - Asociación No cON Name > Tel: +34 616 727 675 > E-Mail : [EMAIL PROTECTED] > WWW: www.noconname.org > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with USB HD
On Fri, 18 Mar 2005 12:14:42 +0100, Darksidex <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > When I conect my external HD I get this message: > > | umass0: Cypress Semiconductor USB2.0 Storage Device, rev 2.00/0.01, addr 2 > | umass0: Get Max Lun not supported (STALLED) > | da0 at umass-sim0 bus 0 target 0 lun 0 > | da0: Fixed Direct Access SCSI-0 device > | da0: 1.000MB/s transfers > | da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C) Does the drive work after this? > I have compiled my kernel (5.3-STABLE) with device EHCI in order to be > able to transfer files as faster as posible. > > The external hd propierties: > 2 partitions of 90GB, and both are fat32 formatted, I need it to share > information with windows. > > Can I do something to be able to boot my computer with the hd connected? What version of FreeBSD are you running? There have been a few updates in RELENG_5 for EHCI support which has meant that my USB2.0 devices now get recognised at 40MB/s instead of 1MB/s. Al -- LJ: http://www.livejournal.com/users/everlone GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PCMCIA Network card not recognized during install
I have a 560E Thinkpad with a floppy and no CD Drive, with a 3CCE589ET pccard nic (supported by ep(4)). I know that everything is fully functional because all components work when booted from tom's root boot linux floppy (www.toms.net/rb/). I want to do a FTP install from a floppy boot, but sysinstall isn't recognizing the network card at all. If I go to Configure->Choose Media->FTP, but ep0 is not detected. I even tried putting if_ep.ko and pccard.ko on a floppy from a seperate machine (same release) and loaded them, but no luck. What am I doing wrong? P.S. This is 5.3-RELEASE. Should I try an older release? -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
Dick Hoogendijk wrote: I log in from a remote windows computer on my school using PuTTY w/ ssh2. What I'd like to know is how *safe* is the login from this windows machine? I mean, can my login to my FreeBSD server at home be *monitored* by someone while I'm using this windows machine at work? Can the keystrokes that I use *in* PuTTY be seen by anybody on this windows network at work. If so, what can I do about it to be more safe? I would like to be able to login to my home computer without being worried about some sneaky system operator at work (school) ;-) Mmm. Ssh only can *certificate* you that no one is capturing trafic between server and client (freebsd and putty), ssh stablishes a ciphred tunnel consistent in a two keys (private and public). Ssh client ( or putty in your case ) don't *warranty* if your computer client is running a keylogger or a trojan horse. If client is keylogged or trojaned you are died :-D, buy an antivirus or something for M$ Platforms. In *nix systems, relay to the administrator... -- Jose Nicolas Castellano Presidente - Asociación No cON Name Tel: +34 616 727 675 E-Mail : [EMAIL PROTECTED] WWW: www.noconname.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh security
On Fri, 2005-03-18 at 12:23 +0100, Dick Hoogendijk wrote: > I log in from a remote windows computer on my school using PuTTY w/ > ssh2. What I'd like to know is how *safe* is the login from this windows > machine? I mean, can my login to my FreeBSD server at home be > *monitored* by someone while I'm using this windows machine at work? > Can the keystrokes that I use *in* PuTTY be seen by anybody on this > windows network at work. If so, what can I do about it to be more safe? PuTTY using ssh establishes an encrypted tunnel between the client and the server, and this makes you pretty secure from network sniffing on the school network or elsewhere. However, keystrokes are a different matter - a keystroke monitoring program on your windows PC will grab keystrokes regardless of the application you're using. Such programs are not unknown... An attempted 220 million pound robbery in London was just attempted using keystroke monitoring software to get account numbers and passwords from an otherwise secure system. So if your windows machine is compromised, everything you do on it will be compromised, period. That's your point of vulnerability, IMHO. Peter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ssh security
I log in from a remote windows computer on my school using PuTTY w/ ssh2. What I'd like to know is how *safe* is the login from this windows machine? I mean, can my login to my FreeBSD server at home be *monitored* by someone while I'm using this windows machine at work? Can the keystrokes that I use *in* PuTTY be seen by anybody on this windows network at work. If so, what can I do about it to be more safe? I would like to be able to login to my home computer without being worried about some sneaky system operator at work (school) ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"