The FreeBSD Diary: 2004-02-01 - 2004-02-21
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 1-Feb : Bacula: Cross-Platform Client-Server Backups You need this network backup solution. http://freebsddiary.org/bacula.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tripwire
Can someone recommend a program like tripwire for 5.2.1-RC2 FreeBSD? i was using tripwire in 4.x but the port is broken in 5.x. Lucas Holt [EMAIL PROTECTED] FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) 'I try to think but nothing happens' -- Homer Jay Simpson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL error 2013
Hi Derrick Ryalls, you wrote. DR I have even tried firing up mysqld with --skip-grant-tables to no avail. DR Googling around, I see lots of reference to glibc issues, but I thought DR that only applied to Linux. I have tried mysql41-server port (fresh DR cvsup), mysql40, and a package mysql323, and they all have the same DR issue. That leads me to believe that the o/s has the issue, not mysql. DR Does anyone have a clue on what I need to check/upgrade? DR Current system: FreeBSD 4.9-RC #0: Tue Oct 7 Does your MySQL daemon crash (look at /var/db/mysql/*err) ? Because I'm currently seeing this on CURRENT, but STABLE works perfectly for me... Regards, Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tripwire
Can someone recommend a program like tripwire for 5.2.1-RC2 FreeBSD? Tried this one here? Port: aide-0.9 Path: /usr/ports/security/aide Info: A replacement and extension for Tripwire ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache FreeBSD not executing
On Sat, Feb 21, 2004 at 07:02:04PM -0600, Pratt, Benjamin E. wrote: Hello - I'm trying to get my Apache web server up and running with PHP support but am running into problems. When I try to go to a .php web page I'm prompted to save the page instead of having the browser show the page. I've installed both /usr/ports/www/apache21/ and /usr/ports/www/mod_php5/ and in my httpd.conf file I've got the lines: LoadModule php5_modulelibexec/apache2/libphp5.so DirectoryIndex index.html index.html.var index.php AddType application/x-http-php .php I've had this running before but not since I formatted my system, installed FreeBSD 5.1 and then synced my source tree and upgraded the system. I am now running FreeBSD 5.2.1-RC2 #2 from Sat Feb 21 13:55:19 CST 2004. I've also tried installing /usr/ports/lang/php5/ and /usr/ports/lang/php4/ and had the same issues. Thanks for any help, I run Apache2 with php5 on a FreeBSD 4 box and that works. In order for PHP to work you need to set WITH_APACHE2 in the envorement. For csh shell its: setenv WITH_APACHE2 yes I have these for lines: LoadModule php5_modulelibexec/apache2/libphp5.so DirectoryIndex index.php index.html index.html.var AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have a dream, of a help/manual/doc system, which is simple to use?
The website for freebsd is www.freebsd.org and on the main page you can find the handbook which leads to www.freebsd.org/handbook -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
obsolete files?
hello. does make world leave obsolete files on your system after install? without even the slightest effort to remove them? please say it isn't so. i like make world. -- j. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: obsolete files?
On Saturday 21 February 2004 11:24 pm, jsha wrote: hello. does make world leave obsolete files on your system after install? without even the slightest effort to remove them? please say it isn't so. i like make world. Worse, it is known to cause fatal situations where you have to use the fixit disk to recover your system or do a reinstall. If you upgrade a kernel that panics, you will be committed to using the bad build. The installworld being run after the installkernel and reboot to single user mode is for your protection. FWIW, even installworld leaves obsolete files on your system at various times. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CURRENT: RAID1: use vinum(8) or motherboard support (VIA VT8237)?
Hi Burkard Meyendriesch, you wrote. BM Hi all, BM for my new -CURRENT box I have to decide wether to use BM vinum(8) or the on-board capabilities of my Asus K8V Deluxe BM motherboard for RAID1 mirroring. Which solution would you BM recommend? Personally, I've always found vinum to be a rather weird piece of software to work with, so I'd suggest you go for onboard RAID, but I0m not sure if VT8237 RAID1 is supported right now (however, atacontrol can also do RAID without any direct support for the chipset). If anything, I'd also look into raid(4). Regards, Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UNEXPECTED SOFTUPDATES INCONSISTENCY
Lowell Gilbert wrote: Heinrich Rebehn [EMAIL PROTECTED] writes: I have had the above error 2 times now during fsck after an unclean shutdown. fsck -y yielded tons of entries in lost+found. man (7) tuning says that softupdates guarantees filesystem consistency in case of crash, but thousands of lost files tell a different story. Did i miss anything? Or should i disable softupdates for important data? Make sure you've disabled write caching on the drive firmware itself... Does this also apply for RAID disks (twe)? Also, there is no word about this in man tuning(7). Is this more of a guess or is softupdates definately dangerous with wite cache enabled? I have also used softupdates with 4.9 and did not get these errors. The system is running FreeBSD 5.2.1-RC2 I hope you have read the Early Adopter's Guide: http://www.freebsd.org/releases/5.2R/early-adopter.html Yes i have and after asking others on this list, got the impression that 5.2 is usable for the most common hardware and applications. But now i am seriously considering going back to 4.9 Thanks very much for your reply :-) Heinrich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware or software error ?
Lowell Gilbert wrote: Heinrich Rebehn [EMAIL PROTECTED] writes: Hi list, does anybody have a clue, if the following is a hard or software error? # syslogd: kernel boot file is /boot/kernel/kernel kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe11f6b3c kernel: frame pointer = 0x10:0xe11f6b64 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 29 (swi1: net) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe124bbcc kernel: frame pointer = 0x10:0xe124bbf4 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 26 (irq15: xl0 ata1+) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: Uptime: 3d10h11m49s # The system is running FreeBSD 5.2.1-RC2 More likely to be a software problem, although it could be either. Could you take a kernel dump to the -CURRENT list? I'm afraid my system is not set up to enable crash dumps. I must admit that i never cared about this, and unfortunately, the default install does not seem to enable it either. If i am wrong: where would i find the dump? Also, since this is our main server, i prefer going back to 4.9 which seems to be more solid than 5.2 :-(. I simply don't have time to do more experiments. Thank ayou for your help anyway. Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: UNEXPECTED SOFTUPDATES INCONSISTENCY
Hi Heinrich Rebehn, you wrote. Make sure you've disabled write caching on the drive firmware itself... HR Does this also apply for RAID disks (twe)? Also, there is no word about HR this in man tuning(7). Is this more of a guess or is softupdates HR definately dangerous with wite cache enabled? I'd say it's the other way round: write cache is dangerous with softupdates. Softupdates itself is certainly better than no softupdates, even if it takes a slight performance drop by disabling write cache. I think you should disable the write cache on the 3ware cache (not sure whether there actually is one, mine don't come with any RAM sockets) anyway as you'll lose all data in there in the event of a crash. Regards, Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware or software error ?
Lowell Gilbert wrote: Heinrich Rebehn [EMAIL PROTECTED] writes: Hi list, does anybody have a clue, if the following is a hard or software error? # syslogd: kernel boot file is /boot/kernel/kernel kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe11f6b3c kernel: frame pointer = 0x10:0xe11f6b64 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 29 (swi1: net) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe124bbcc kernel: frame pointer = 0x10:0xe124bbf4 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 26 (irq15: xl0 ata1+) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: Uptime: 3d10h11m49s # The system is running FreeBSD 5.2.1-RC2 More likely to be a software problem, although it could be either. Could you take a kernel dump to the -CURRENT list? I'm afraid my system is not set up to enable crash dumps. I must admit that i never cared about this, and unfortunately, the default install does not seem to enable it either. If i am wrong: where would i find the dump? Also, since this is our main server, i prefer going back to 4.9 which seems to be more solid than 5.2 :-(. I simply don't have time to do more experiments. Update: This morning's crash (which i forget in the mail before): # ntpd[470]: too many recvbufs allocated (40) cron[8309]: login_getclass: unknown class 'des_users' syslogd: kernel boot file is /boot/kernel/kernel kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4c kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc04cc807 kernel: stack pointer = 0x10:0xe2a8 kernel: frame pointer = 0x10:0xe2c8 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 38 (usbtask) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... 7137 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 kernel: giving up on 4591 buffers kernel: Uptime: 14h28m36s kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x34, scsi status == 0x88 The giving up on Buffers is also typical for 5.2. I rarely had it with 4.9. Unfortunately, all disks are marked dirty then, even if it is only 1 buffer. Thank ayou for your help anyway. Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C++ Memory Profiling/Debugging
Hi Lou, Thanks - I'll give it a spin. I read with some reservation on http://dmalloc.com/: Dmalloc is not as good with C++ as C because the dynamic memory routines in C++ are new() and delete() as opposed to malloc() and free(). Since new and delete are usually not used as functions but rather as x = new type, there is no easy way for dmalloc to pass in file and line information unfortunately. The `libdmallocxx.a' library provides the file `dmallocc.cc' which effectively redirects new to the more familiar malloc and delete to the more familiar free. I'll give it a go anyway. Wonder if there is a C++ friendly debug tool out there... Thanks, David On Sat, 21 Feb 2004, Louis LeBlanc wrote: On 02/21/04 12:48 AM, David Carter-Hitchin sat at the `puter and typed: Hi, Does anyone out there know a good C++ memory profiling/debugging tool for FBSD? I'm looking for a tool like valgrind or purify. I grepped around in the ports directory and I found ElectricFence and mprof but these seem to be for C only (as they refer exclusively to malloc free). bohem-gc sounds like the kind of package I'm after - but I thought I ask in case anyone has better ideas... ? devel/dmalloc is pretty good. I'm using it with C on Solaris, but all you do is basically link its library into your process, set a few environment variables, and it will dump a complete list of statistics, based on the values of the environment variables. The most valuable statistic is the origin of every single memory allocation that is not freed. Simply track those made by your code (file name and line number of the malloc are given) and fix them. I found it MUCH easier to integrate and use than Efence or Purify. If your process dynamically allocates memory that isn't intended to be freed, like for internal structure allocation through the life of the process, you might include a routine that frees such pointers in your cleanup process. I have a number of things I have to clear that aren't intended to be freed during the life of the process, so I simply added them within a conditional precompiler block that only gets compiled when I'm building a memory debuggable version. You wouldn't believe the memory leaks I found in (someone else's) production code with this tool. HIGHLY recommended. Good luck. Please cc me on any replies - I had to drop out of this list sometime ago as the sheer volume was killing my mailbox... I know what you mean . . . Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Unless hours were cups of sack, and minutes capons, and clocks the tongues of bawds, and dials the signs of leaping houses, and the blessed sun himself a fair, hot wench in flame-colored taffeta, I see no reason why thou shouldst be so superfluous to demand the time of the day. I wasted time and now doth time waste me. -- William Shakespeare ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [FAQ pointer] Re: Copy old drive to new drive - is it possible?
On 21 Feb 2004 09:41:19 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: Tig [EMAIL PROTECTED] writes: Hi, I have a hard drive which is on its last legs. I also have new hard drive to replace the old one. I was wondering if it is possible to simply copy everything from the old drive to the new (after formating the new drive) and have my system back up and running, or do I need to reinstall the OS and everything else? How do I move my system over to my huge new disk? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK Just for the record. The FAQ link above was very helpful and I now have my old, single disk installation spread across two new, fat hard disks and everything is working great. dump | restore was also very easy to use and very quick. Thanks heaps! -Tig ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware or software error ?
Lowell Gilbert wrote: Heinrich Rebehn [EMAIL PROTECTED] writes: Hi list, does anybody have a clue, if the following is a hard or software error? # syslogd: kernel boot file is /boot/kernel/kernel kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe11f6b3c kernel: frame pointer = 0x10:0xe11f6b64 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 29 (swi1: net) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4 kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc0533f98 kernel: stack pointer = 0x10:0xe124bbcc kernel: frame pointer = 0x10:0xe124bbf4 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 26 (irq15: xl0 ata1+) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: Uptime: 3d10h11m49s # The system is running FreeBSD 5.2.1-RC2 More likely to be a software problem, although it could be either. Could you take a kernel dump to the -CURRENT list? I'm afraid my system is not set up to enable crash dumps. I must admit that i never cared about this, and unfortunately, the default install does not seem to enable it either. If i am wrong: where would i find the dump? Also, since this is our main server, i prefer going back to 4.9 which seems to be more solid than 5.2 :-(. I simply don't have time to do more experiments. Update: This morning's crash (which i forget in the mail before): # ntpd[470]: too many recvbufs allocated (40) cron[8309]: login_getclass: unknown class 'des_users' syslogd: kernel boot file is /boot/kernel/kernel kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0x4c kernel: fault code = supervisor read, page not present kernel: instruction pointer = 0x8:0xc04cc807 kernel: stack pointer = 0x10:0xe2a8 kernel: frame pointer = 0x10:0xe2c8 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 38 (usbtask) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... 7137 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 7117 kernel: giving up on 4591 buffers kernel: Uptime: 14h28m36s kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x34, scsi status == 0x88 The giving up on Buffers is also typical for 5.2. I rarely had it with 4.9. Unfortunately, all disks are marked dirty then, even if it is only 1 buffer. Update: I changed my mind and will continue to try 5.2. I disabled softupdates to get rid of the softupdates inconsistency error and set up the machine to enable crash dumps, as described in http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html I also clocked down the AMD XP1800+ CPU to 100 MHz bus clock to reduce possible hardware instability. All we have to now is wait for the next crash ;-) Heinrich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: framebuffer fro freebsd
On Sat, Feb 21, 2004 at 04:58:53PM -0500, Lowell Gilbert wrote: Rahul Sawarkar [EMAIL PROTECTED] writes: is there a framebuffer port for freebsd? i want to run my console in 1024x768. Why would you want a framebuffer for that? Do you have frame grabber hardware or something? If all you want is a 1024x768 video mode driving the text console, vidcontrol(1) can do that, but I don't understand the connection to a frame buffer... Is it just me or does vidcontrol look ugly when compared to Linux's console framebuffer that allows high-resolution console displays? -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: framebuffer fro freebsd
Have you tried switching to 1024x768 mode using vidcontrol. I tried and did not suceed on my last hardware which was a mvp4 chipset with an 8mb blade3d graphics. Right now I have a radeon 7500 on a 440bx chipset. I'd assumed it wouldn't work, this time around also (ref: the url below), but maybe I should give it a try. So anyways I figured, maybe a framebufer driver would enable switching Thanks for any tips on this front. http://lists.freebsd.org/pipermail/freebsd-questions/2003-June/009789.html Lowell Gilbert wrote: Rahul Sawarkar [EMAIL PROTECTED] writes: is there a framebuffer port for freebsd? i want to run my console in 1024x768. Why would you want a framebuffer for that? Do you have frame grabber hardware or something? If all you want is a 1024x768 video mode driving the text console, vidcontrol(1) can do that, but I don't understand the connection to a frame buffer... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: framebuffer fro freebsd
Maybe you are using the wrong fonts.Did you try both the 8x8 and 16x16 fonts? Rgrds Is it just me or does vidcontrol look ugly when compared to Linux's console framebuffer that allows high-resolution console displays? -lewiz. Lewis Thompson wrote: On Sat, Feb 21, 2004 at 04:58:53PM -0500, Lowell Gilbert wrote: Rahul Sawarkar [EMAIL PROTECTED] writes: is there a framebuffer port for freebsd? i want to run my console in 1024x768. Why would you want a framebuffer for that? Do you have frame grabber hardware or something? If all you want is a 1024x768 video mode driving the text console, vidcontrol(1) can do that, but I don't understand the connection to a frame buffer... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
authentication using openldap client.
Hello; My FreeBSD 4.9 server has to authenticate its users through Openldap client from a Linux server. I have installed openldap-client-2.1.22 and pam_ldap-1.6.4. The ldapsearch gives the correct answer whet it is invoked with necessary arguments. I tried to configure pam.conf so that is uses pam_ldap.so for authentication and I tested many cases ( changing the arguments and things like this) but nobody can log in. I want to know if other things except pam.conf must be configured and if pam.conf must be configured can anybody send me a sample. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: obsolete files?
On Sun, Feb 22, 2004 at 08:24:28AM +0100, jsha wrote: hello. does make world leave obsolete files on your system after install? without even the slightest effort to remove them? please say it isn't so. i like make world. Hi, If it does then its written down in the handbook under the cutting edge. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have a dream, of a help/manual/doc system, which is simple to use?
The website for freebsd is www.freebsd.org and on the main page you can find the handbook which leads to www.freebsd.org/handbook -- Alex and of course the manual pages that install with each of the some 1 add on programs. man program name ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nvidia
how install nvidia drivers in freebsd 5.2? Tanks Eduardo Fernandes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
At 05:04 PM 2/21/2004, Chuck Swiger wrote: Marty Landman wrote: looks like arp is unreliable for a canonical list of plugged in ip's. Curious about what would work. nmap -sP 22 192.168.0.0/24 should do it %nmap -sP 22 192.168.0.0/24 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Target host specification is illegal. QUITTING! % I don't understand the man page though so assume it's me, not nmap. ping 192.168.0.255 %ping 192.168.0.255 PING 192.168.0.255 (192.168.0.255): 56 data bytes 64 bytes from 192.168.0.3: icmp_seq=0 ttl=255 time=0.964 ms 64 bytes from 192.168.0.160: icmp_seq=0 ttl=64 time=1.359 ms (DUP!) ^C Hmm, since there are five nodes on my class c network this didn't do the trick either. I wrote a quick perl script that I think works but so slowly that it's impractical: %perl -e 'for(0..255) {$ip = 192.168.0.$_;$ping = `ping -c1 $ip`;print $ip\n if $ping =~ /64 bytes from/}' 192.168.0.0 192.168.0.1 192.168.0.3 . . . Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
reserving ATA channel numbers in kernel configuration files
Is there any way to reserve specific ATA channel numbers for specific PCI ATA controllers? During bootstrap my kernel says: atapci0: ITE 8212 ATA/RAID controller port 0x8800-0x880f, 0x8400-0x8403,0x8010-0x8017,0x7c00-0x7c03,0x7810-0x7817 irq 16 at device 12.0 on pci3 ata2: at 0x7810 on atapci0 ata3: at 0x8010 on atapci0 atapci1: Intel ICH5 ATA100 controller port 0xf000-0xf00f,0-0x3, 0-0x7,0-0x3,0-0x7 irq 9 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 atapci2: Intel ICH5 SATA150 controller port 0xd000-0xd00f, 0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc007 irq 9 at device 31.2 on pci0 ata4: at 0xc000 on atapci2 ata5: at 0xc800 on atapci2 The relevant part of my kernel configuration file currently says: # ATA and ATAPI devices device ata0at isa? port IO_WD1 irq 14 device ata1at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives ... options ATA_STATIC_ID #Static device numbering I want the ICH5 SATA150 channels to be ata2 and ata3. Thanks, Dan Strick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification needed on Handbook: Tracking for Multiple Machines
Hi, On Sat, Feb 21, 2004 at 11:23:28AM -0600, D J Hawkey Jr wrote: On Feb 21, at 05:56 PM, Gabriel Ambuehl wrote: DJHJ Second, two machines are of the same architecture, but they have different DJHJ CPUs: One is an Intel PIII, but the other is a PII. Will the world built DJHJ on a PIII be correct for a PII? Similarly, will the kernel for the PII DJHJ built on a PIII be correct for the PII, given the different variables and DJHJ settings in the two kernel configuration files? Just make sure you build for 686. If that doesn't work, make it 586 (I think the PI qualifies as 686 but I'm not entirely sure). I think the extensions such as SSE etc are detected dynamically and shouldn't cause any problem. In all my years of messing with builds, I never run into this problem, so I guess it's pretty safe. Yes, both [my] machines define I686_CPU. Dynamically, as in at runtime? I think you're right, but I don't know for certain, either. This is exactly what I'm wondering about; the PII has only MMX, for instance, while the PIII has SSE and MMX2. I assume the world's codebase is CPU-agnostic within an architecture, but I really don't want to assume this; I'd rather know this. I have PII, Celeron, PIII and P4 in my environment. All these use I686_CPU in my kernel configs (I got rid of the other I[345]_CPU types. In /etc/make.conf I include CPUTYPE=p2 as the lowest common denominator if including a CPUTYPE flag. The resulting world kernel run fine on all the systems. The higher flags p3 and p4 still just use -march=pentiumpro, however for SSE you will need p3 or p4 as MACHINE_CPU does not include SSE for p2 level. Check out /usr/share/mk/bsd.cpu.mk for specifics. DJHJ /etc/defaults/make.conf doesn't mention KERNCONF; /usr/src/Makefile.inc1 DJHJ does. Since /usr/share/mk/sys.mk sucks in /etc/make.conf, that should DJHJ propogate KERNCONF to /usr/src/Makefile, right? You can also just supply it on the command line when doing your make runs. Yes, but this means individual commands for each machine's kernel, as opposed to one command for all machines (think issue command and go to bed, or even an `at` command). Are you stating definitively that what I saw in the makefile chain isn't what is really there? To your original question, yes. Just add a KERNCONF= line to /etc/make.conf. First entry should be the local machine kernel (to install) and any subsequent entries will also be built during 'make buildkernel' eg: KERNCONF= MARVIN RAIDER RAIDERI GENERIC make buildkernel builds all four. make installkernel installs MARVIN. Good luck, Tony ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
seeking shell scripting resources
I'm new to running my own unix systems and would like to start learning the ropes on shell scripting. I've looked at the handbook and a few other sources... maybe haven't looked closely enough. Any recommendations on more involved manuals/explanations/examples of how shell scripts should be developed and used? Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia
download the latest nvidia treiber for freebsd from http://www.nvidia.com and read the README. regards michael how install nvidia drivers in freebsd 5.2? Tanks Eduardo Fernandes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
On Sun, 22 Feb 2004, Marty Landman wrote: At 05:04 PM 2/21/2004, Chuck Swiger wrote: Marty Landman wrote: looks like arp is unreliable for a canonical list of plugged in ip's. Curious about what would work. nmap -sP 22 192.168.0.0/24 should do it %nmap -sP 22 192.168.0.0/24 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Target host specification is illegal. QUITTING! Hi! The syntax to ping a whole /24 segment would be: nmap -sP 192.168.0.0/24 this will work. after this you will also have some output from the arp -a command, because the arp cache has to be filled somehow. HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: Do I need Mozilla-1.6 and Mozilla-GTK2-1.6?]
Please disregard. Original Message Subject:Do I need Mozilla-1.6 and Mozilla-GTK2-1.6? Date: Sat, 21 Feb 2004 17:54:58 -0500 From: Bob Perry [EMAIL PROTECTED] To: FreeBSD-Questions [EMAIL PROTECTED] Hello, Just upgrade to 4.9-RELEASE and CVSup'd my system today. pkg_version -v listed mozilla-gtk2-1.6_2 as ? orphaned: www/mozilla-gtk2. Also have mozilla-1.6_2,2 which was my original browser. If I remember correctly, the gtk2 version appeared after installing Galeon2 and provided additional code that Galeon2 needed. Ran pkgdb -Fv and it referenced duplicate origins for the two mozilla files and prompted me to unregister one. I responded no because of Galeon2. No was also the default. Ran pkg_version -v again and the gtk2 version is no longer an orphan but just needs updating to 1.6_2,2, same version as my original mozilla. Fresh Ports indicates that GTK2 is now the default version, but at the same time marks the file with an x, as in Deleted: This port has been removed from the ports tree. Can I deinstall the gtk2 version and not effect Galeon2? Did I ever need both mozilla-1.6 and mozilla-GTK2-1.6? Thanks, Bob Perry -- FreeBSD 4.9-RELEASE-p2 #0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have a dream, of a help/manual/doc system, which is simple to use?
On Sun, 22 Feb 2004, Aaron Peterson wrote: and of course the manual pages that install with each of the some 1 add on programs. man program name ...with *each* of them? Ah, if only that were true.. dcf$ man aspell No manual entry for aspell -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking shell scripting resources
On Sun, 22 Feb 2004, Julien Gabel wrote: Haven't found much around at all on shell programming and would like to start learning it. Any more resources would be most welcome to find out about. Shells differ in their programming constructs, so anything you learn in one shell may not be transferrable to others. As a personal preference, I usually try to write scripts for /bin/sh (for portability), unless I need a ksh or bash construct. bash is a variant of sh, with a lot of bells and whistles added, so techniques that work in bash *usually* work in sh (and ksh). With that preface, you might try http://www.tldp.org/LDP/abs/html/ as a start. It's bash-oriented, but a lot if it will apply to other shells (sh and ksh, not so much csh and tcsh) as well. And your system scripts are also an excellent place to learn by example. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fail to start KDE
On Sun, 22 Feb 2004 23:46:54 +0800 Stephen Liu [EMAIL PROTECTED] wrote: Hi all folks, Version 5.2 new installation I encountered problem in starting KDE after installation. 1) KDE installed pkg_info | grep kde kde-3.1.4 The meta-port for KDE kdeaddons-3.1.4 Additional plugins and scripts for some KDE applications kdeadmin-3.1.4 KDE applications related to system administration kdeartwork-3.1.4_1 Additional themes, sounds, wallpapers and window styles for kdebase-3.1.4 This package provides the basic applications for the KDE sy kdeedu-3.1.4 Collection of entertaining, educational programs for KDE kdegames-3.1.4 Games for the KDE integrated X11 desktop kdegraphics-3.1.4 Graphics utilities for the KDE3 integrated X11 desktop kdelibs-3.1.4_1 This is the base set of libraries needed by KDE programs kdemultimedia-3.1.4 Multimedia utilities for the KDE integrated X11 desktop kdenetwork-3.1.4 Network-related programs and modules for KDE kdepim-3.1.4 Personal Information Management tools for KDE kdesdk-3.1.4 KDE Software Development Kit kdetoys-3.1.4 Small applications for KDE kdeutils-3.1.4 Utilities for the KDE integrated X11 desktop kdevelop-2.1.5 Powerful IDE for developing KDE/Qt-based apps 2) /home/user/.xinitrc file not found ls -al /home/user/ total 22 drwxr-xr-x 2 satimis wheel 512 Feb 23 05:58 . drwxr-xr-x 3 root wheel 512 Feb 23 07:16 .. -rw--- 1 satimis wheel 0 Feb 23 05:58 .Xauthority -rw-r--r-- 1 satimis wheel 767 Feb 23 07:16 .cshrc -rw-r--r-- 1 satimis wheel 248 Feb 23 07:16 .login -rw-r--r-- 1 satimis wheel 158 Feb 23 07:16 .login_conf -rw--- 1 satimis wheel 373 Feb 23 07:16 .mail_aliases -rw-r--r-- 1 satimis wheel 331 Feb 23 07:16 .mailrc -rw-r--r-- 1 satimis wheel 797 Feb 23 07:16 .profile -rw--- 1 satimis wheel 276 Feb 23 07:16 .rhosts -rw-r--r-- 1 satimis wheel 975 Feb 23 07:16 .shrc -rw--- 1 satimis wheel 106 Feb 23 05:58 .xsession-errors 3) cat /home/user/.xsession-errors Xlib: connection to :0.0 refused by server Xlib: No protocol specified Error: Can't open display: :0 Kindly advise how to fix the problems. TIA B.R. satimis ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Create a file .xinitrc in the home directory, containing the single line 'startkde ' (without the quotes). Then try startx again. -- Personal : Mike.Jeays -at- rogers.com Phone : 613-724-4510 Work : Mike.Jeays -at- statcan.ca Phone : 613-951-9929 FAX 613-951-0395 Web page : http://members.rogers.com/mike.jeays ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL error 2013
On Sat, Feb 21, 2004 at 11:38:11PM -0800, Derrick Ryalls wrote: snip Googling around, I see lots of reference to glibc issues, but I thought that only applied to Linux. I have tried mysql41-server port (fresh cvsup), mysql40, and a package mysql323, and they all have the same issue. That leads me to believe that the o/s has the issue, not mysql. Does anyone have a clue on what I need to check/upgrade? Current system: FreeBSD 4.9-RC #0: Tue Oct 7 yeah, glibc would be linux only... but there're a couple pr's for this issue on freebsd right now. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62845 http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/63213 (currently, there is no fix.. the workaround is to connect via a local socket/pipe). Mind if I ask what cpu/mb you're operating on? -- -Erik [EMAIL PROTECTED] [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ISP dialing with callback
This topic seems to be an elder one, but nobody around couldn't help me. I need to setup ppp (user) to dial to my callback-ISP. Here're useful info: 1). IPS uses PAP authentification. 2). Phone number negotiation is unsupported, I need to send it. When using Windows ppp-dialer (really buggy), everything is OK, so that's not ISP problem. Direct connection authentification goes right, but no incoming call after that. I browsed my logs only strange thing I found is there was no phone number I should send (at least in the readable part, not in the packages sent). Here're my configs (truncated with dummy logins passwords :) - the provider entry is sitel: [ /etc/ppp/ppp.conf ] default: set log phase tun chat cbcp command pap ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cual0 set speed 38400 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) enable vjcomp deflate deflate24 protocomp pred1 accept vjcomp deflate deflate24 protocomp pred1 set urgent udp +53 sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback auth cbcp E.164 6661313 set cbcp 6661313 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 set authname CALLER set authkey MYPASSWORD [ /etc/ppp/ppp.secret ] CALLER MYPASSWORD * * 6661313 [ /etc/ttys ] console noneunknown off secure # ttyv0 /usr/libexec/getty Pc cons25u on secure # Virtual terminals ttyv1 /usr/libexec/getty Pc cons25u on secure ttyv2 /usr/libexec/getty Pc cons25u on secure ttyv3 /usr/libexec/getty Pc cons25u on secure ttyv4 /usr/libexec/getty Pc cons25u off secure ttyv5 /usr/libexec/getty Pc cons25u off secure ttyv6 /usr/libexec/getty Pc cons25u off secure ttyv7 /usr/libexec/getty Pc cons25u off secure ttyv8 /usr/X11R6/bin/xdm -nodaemon xtermu off secure # ttyd0 /usr/libexec/getty callback1 dialup on # AND SO ON... [ /etc/gettytab ] default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # my callback account callback1|38400-baud:\ :np:sp#38400:pp=/etc/ppp/callback.ppp: # AND OTHERS... [ /etc/ppp/callback.ppp ] #!/bin/sh echo !!! Incoming call. Use kill -TERM $$ to kill it... | wall -g wheel exec /usr/sbin/ppp -direct incoming That's all. If have a solution or any experience in setting-up user-ppp callback, reply (workable configs won't be out of place). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UNEXPECTED SOFTUPDATES INCONSISTENCY
Gabriel Ambuehl wrote: Hello Heinrich, Sunday, February 22, 2004, 5:00:27 PM, you wrote: Why that? I can imagine that i lose data in case of a power failure, but why in case of a crash? Well I guess the card COULD still commit the data, however, who knows if it actually does it? And why is write cache only dangerous with softupdates, as you wrote above? IIRC softupdates relies on the assumption that when the softupdate changes return, they really ARE on the disk. It's the same with most RDBMS: because they go to great lengths to ensure the journal is in an ok state they need to know for sure that the data they wrote to it actually made it to disk. Since i found no word about disabling write cache in the FreeBSD handbook or in man tuning(7), i would really like to know, if this is just a rumour, or where does it come from? I can't say for sure, but I have little confidence in write caching anyhow. It changes semantics the system relies on, for one. Best regards, Gabriel Gabriel, what you write does make sense, although i really can't understand why this important info is not in the FreeBSD documentation. I have disabled write cache, but i will keep softupdates disabled as well for now, and see how the system behaves. Thanks for your help, Heinrich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is inetd a proxy server?
At 11:12 AM 2/22/2004, Matthew Seaman wrote: A proxy listens to all of your request, and then opens up a second connection to the real server (or another proxy) for you and replays your request to it -- so all of the traffic is relayed through the proxy. Newbie here Matthew. Could you please explain how a proxy differs from a router? Or are they in many ways intersecting in their functionality? e.g. I've got a class c network in my office and recently learned how to use apache to reverse proxy a request so that http://my-ip-adr/fbsd becomes the same as http://fbsd, where the latter is mapped to the ip addr for my fbsd box on the lan by apache. (which btw is kind of cool) The point of having inetd(8) is that it provides is a mechanism so that you don't have to have umpty-dozen different small servers running all of the time and taking up your process space. I notice that mingetty runs ~ half a dozen instances on my box, waiting for console users that will never come since as a rule I do everything thru ssh on my windows workstation. And httpd, though I've cut the child process spec down on the apache conf since it's not needed. Of course the saved cycles aren't needed either in my current environment. :) Could httpd be set up to run via inetd instead of on its own? If so, is it not typically done this way because it is usually the biggie app on servers? Following that reasoning, if a server were primarily used for ftp would it make sense to remove ftpd from inetd's conf file and instead start it as a service, assuming that were possible? Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
On Sun, 22 Feb 2004, Marty Landman wrote: At 09:42 AM 2/22/2004, Olaf Hoyer wrote: The syntax to ping a whole /24 segment would be: Hi Olaf. Could you please explain what is meant by '/24 segment'? I'm new to networking as you can see! Hi! Well, what is formerly called a Class C network is now in the new CIDR-notation a /24, meaning that there are 256 IP's in that network. A class A is a /8, a class B a /16. Yes, there are some subtle differencies about how a router addresses this, but for size they are the same. # nmap -sP 192.168.0.0/24 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) sendto in send_ip_raw: sendto(4, packet, 28, 0, 192.168.0.8, 16) = Can't assign requested address Sleeping 60 seconds then retrying Seems to be a bug with nmap V3.00 I use 3.50, and it works. Solution could be an upgrade or exclusion of your own box from the scanning range. after this you will also have some output from the arp -a command, because the arp cache has to be filled somehow. swamisalami# arp -a ? (192.168.0.0) at ff:ff:ff:ff:ff:ff on ep0 permanent [ethernet] delliver (192.168.0.1) at 00:08:74:c0:5e:69 on ep0 [ethernet] woody (192.168.0.3) at 00:a0:cc:40:3e:9b on ep0 [ethernet] swamisalami (192.168.0.7) at 00:20:af:4d:24:b7 on ep0 permanent [ethernet] ? (192.168.0.8) at (incomplete) on ep0 [ethernet] penguin (192.168.0.160) at 00:a0:24:75:04:49 on ep0 [ethernet] eileen (192.168.0.240) at 00:a0:cc:40:55:cf on ep0 [ethernet] ? (192.168.0.255) at ff:ff:ff:ff:ff:ff on ep0 permanent [ethernet] swamisalami# Ok, not sure why the output was broken up into two portions but it has now captured all the nodes on my box. Furthermore a subsequent arp -a gives a more usable output e.g. snip Did you mean then that I should run the nmap followed by the arp -a to get a look at all nodes on my class c network? In this case it seems the only thing needed for me to put this into a shell script is a way to not have to manually interrupt the nmap which seemed to want to keep trying, after sleeping for progressively longer periods of time. Unless there is a glitch to be worked around somehow on 192.168.0.8 (never in use on my network afaik) and that what happened here was not typical behavior. Ok, some basics beforehand: anytime some hosts wants to contact another host, it yells with some broadcast on the local collision segment (arp-request) that the Station, which has IP-address a.b.c.d. sprays the answer (the MAC-Address on the other station) back throughout the segment. This answer is cached by the OS for a short time, that for future use no unnecessary lookups have to be made. This means, that, if you hook up a station to a LAN, which did not participiated in any of the LAN traffic, the arp cache on that station is of course empty. One way to fill it, is by simply pinging all other hosts on that segment. like: #!/bin/sh ping 192.168.0.1 ping 192.168.0.2 . . . ping 192.168.0.254 nmap -sP does exactly the same above, but with less typing effort ;-) For each station that is up and running, you get a MAC address back, and therefore the arp cache is populated. It would be a nice utility for me to have and perhaps run off cron - i.e. to test each connection on my network and report back so I know on a steady basis that everything's up and running (or at least reachable). Yes, would be practicable. You should consider updating nmap, though... HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fail to start KDE
On Sunday 22 February 2004 10:33 am, Mike Jeays wrote: On Sun, 22 Feb 2004 23:46:54 +0800 Create a file .xinitrc in the home directory, containing the single line 'startkde ' (without the quotes). Then try startx again. Kindly explain the difference between between the following in your .xinitrc file. exec startkde startkde -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel build problem after make world
On Sunday 22 February 2004 04:28 am, [EMAIL PROTECTED] wrote: Hi, I upgraded my system from RELEASE 5.0 to RELENG_5_2. Used cvsup to get the sources, made buildworld; made a generic kernel; installed world. Everything went well, i was able to boot into multi-user mode. BUT now i would like build a custom kernel. This doesnt work anymore. I tried it both ways. (make builkernel KERNCONF=MYKERNEL, or config MYKERNEL, make depend; make;) The kernel sources seem to compile, but when the linker starts my screen is flooded with unknown Unknown referernces errors Would anybody known what causes this? Should there be some magic new entry in /etc/make.conf? For starters, I think we would need to see the messages. What has me concerned is whether you installed your kernel before you did the installworld. Version 5.2 has a different statfs, which needs the new kernel to run. An old world and a new kernel was fine but an old kernel and a new world was a show stopper. You had to use the fixit disk to recover your system. There are different options in the config file for 5.2 and you would need to start with a new GENERIC to create your MYKERNEL. Beyond that, I don't have any ideas at this point. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xsnow not building
FreeBSD 4.8-stable still getting used to installing X applications here: xsnow is not building from /usr/ports # make install clean [/usr/ports/x11/xsnow] === Vulnerability check disabled xsnow-1.42.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.euronet.nl/~rja/Xsnow/. Receiving xsnow-1.42.tar.gz (56752 bytes): 100% 56752 bytes transferred in 19.6 seconds (2.83 kBps) === Extracting for xsnow-1.42 Checksum OK for xsnow-1.42.tar.gz. === Patching for xsnow-1.42 === xsnow-1.42 depends on file: /usr/X11R6/lib/X11/config/date.def - found === xsnow-1.42 depends on shared library: X11.6 - found === Configuring for xsnow-1.42 env: xmkmf: No such file or directory *** Error code 127 --- snip --- % pkg_info | grep XFree86 [~] XFree86-3.3.6_11X11R6.3/XFree86 core distribution XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files imake-4.2.0_1 Imake and other utilities from XFree86 imake-4.3.0 Imake and other utilities from XFree86 --- snip --- any clues here? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gnome2 install failed
Hi, I am attempting to install gnome2 any clues what I am missing here. why is pkg-config so old? how do I update it? checking for pkg-config... /usr/local/bin/pkg-config configure: error: *** pkg-config too old; version 0.14 or better required. === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/devel/glib20/work/glib-2.2.3/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/libgtop2. *** Error code 1 Stop in /usr/ports/x11/gnomeapplets2. *** Error code 1 Stop in /usr/ports/x11/gnome2. - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia
Eduardo Fernandes wrote: how install nvidia drivers in freebsd 5.2? AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time I tried was 2 weeks ago with -CURRENT and it did not work. I switched back to RELENG_4. cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xsnow not building
On Sunday 22 February 2004 09:16 am, Noah wrote: FreeBSD 4.8-stable still getting used to installing X applications here: xsnow is not building from /usr/ports # make install clean [/usr/ports/x11/xsnow] === Vulnerability check disabled xsnow-1.42.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.euronet.nl/~rja/Xsnow/. Receiving xsnow-1.42.tar.gz (56752 bytes): 100% 56752 bytes transferred in 19.6 seconds (2.83 kBps) === Extracting for xsnow-1.42 Checksum OK for xsnow-1.42.tar.gz. === Patching for xsnow-1.42 === xsnow-1.42 depends on file: /usr/X11R6/lib/X11/config/date.def - found === xsnow-1.42 depends on shared library: X11.6 - found === Configuring for xsnow-1.42 env: xmkmf: No such file or directory *** Error code 127 --- snip --- % pkg_info | grep XFree86 [~] XFree86-3.3.6_11X11R6.3/XFree86 core distribution XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files imake-4.2.0_1 Imake and other utilities from XFree86 imake-4.3.0 Imake and other utilities from XFree86 --- snip --- any clues here? You have a mixed combo. You have part of 3.3.6 installed and 4.2. You need a clean XFree86-4 for anything to work. Do you have an XFREE86_VERSION in your /etc/make.conf. I can't think of anyway you would have both 3.3.6 and 4.2 installed unless you did. It also sounds like you might have an out of date port system. At this point, you might as well upgrade to version XFree86-4.3.0. I would think about getting a working 4.2 before updating. There are some problems with make on the older systems. Port maintainers are using new make options that don't work on the pre-4.9 systems. A current 4.9-stable will be different than what you are using now. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia
On Sunday 22 February 2004 18:29, Uwe Laverenz wrote: AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time I tried was 2 weeks ago with -CURRENT and it did not work. I switched back to RELENG_4. Well... it works great under 5.2. $ cd /usr/ports/x11/nvidia-driver $ make install clean $ uname -a FreeBSD bsdbox.lphp.local 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 21:13:50 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BSDBOX i386 $ kldstat Id Refs AddressSize Name 15 0xc040 41f5dc kernel 21 0xc082 1ac8a4 nvidia.ko 31 0xc09cd000 51b48acpi.ko ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia
Am Sonntag, 22. Februar 2004 18:29 schrieb Uwe Laverenz: Eduardo Fernandes wrote: how install nvidia drivers in freebsd 5.2? AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time I tried was 2 weeks ago with -CURRENT and it did not work. I switched back to RELENG_4. They are working like a charm for 5.2 and even for -current. They just don't work with the new libptherad (aka libkse) but there's a note in UPDATING what to do if one likes to use the nvidia driver with recent -current. -Harry cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: xsnow not building
O You have a mixed combo. You have part of 3.3.6 installed and 4.2. You need a clean XFree86-4 for anything to work. Do you have an XFREE86_VERSION in your /etc/make.conf. I can't think of anyway you would have both 3.3.6 and 4.2 installed unless you did. It also sounds like you might have an out of date port system. At this point, you might as well upgrade to version XFree86-4.3.0. I would think about getting a working 4.2 before updating. There are some problems with make on the older systems. Port maintainers are using new make options that don't work on the pre-4.9 systems. A current 4.9-stable will be different than what you are using now. thanks Kent, I understand what I need to do now. well my /usr/ports have teh 4.3.0 version now. so I dont know how I can install 4.2 core distribution also I am cvsup'ing the stable files every night. how can I guarantee that I am receiving the 4.9-stable files? this is the entry I am using: --- snip --- *default release=cvs tag=RELENG_4 --- snip --- should that work - how can I verify that its the 4.9 kernel and system files I am receiving? thanks in advance, - Noah Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creative Extigy with FreeBSD 4.9?
I've got a 4.9 machine which I'd like to interface to my Creative Extigy external amp for playing MP3s and the like. For obvious reasons, I'd like to have that connection be digital. After some research, it looks like there are two choices: (1) SPDIF I've got an Asus P4C-800E mainboard with a built-in interface that dmesg reports as: pcm0: Intel ICH5 (82801EB) port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebff400-0xf ebff4ff,0xfebff800-0xfebff9ff irq 5 at device 31.5 on pci0 pcm0: Analog Devices AD1985 AC97 Codec The card has an SPDIF output, but I'm not sure how to get mplayer (or anything else) to actually use it. I've installed mplayer out of ports and from reading the not very clear documentation, it looks like -ac hwac3 should do the trick, but what I get when I try that is: == Forced audio codec: hwac3 *** Try to upgrade /users/ekr/.mplayer/codecs.conf from etc/codecs.conf *** If it still does not work, read DOCS/codecs.html! Cannot find codec for audio format 0x55. == (2) USB The Extigy has a USB plug in the front so I would think I could use uaudio, but it's even more unclear to me how that works. When I plugged it in, nothing interesting happened (i.e. nothing on the console or syslog suggesting that it even saw the device). usbd is running. Any suggestions here would be great! Thanks, -Ekr ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)
Hello all, I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda ST3200822A - 200 GB ATA/100 Hard Drive. Being a bit gun shy from a previous geometry problem mis-install where I almost lost some serious data, I am reluctant to just try things until they work. So here goes ... Using the Seagate disk tool, I created a 120 GB NTFS partition and a 200 MB FAT16 partition. Installed Windows XP on the 120 GB part. I want to put FreeBSD on the remaining space (~80 GB). The Seagate HD utility states the following: LBA Sectors are 390,721,968. Standard 512 bytes per sector. XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK Sees too). C16383 H16 S63 BIOS C24321 H255 S63 When the FreeBSD CD boots and enters sysinstall, I get the usual drive geometry error. I've extensively searched google for some sort of method to calculate the true drive geometry with little success. 1. Is the above BIOS info correct ?? 2. Ultimately, do I want the drive geometry to match up with the LBA sectors ?? 3. Can anyone point me towards something that correctly calculates any drive's TRUE geometry ?? Any help is greatly appreciated... david markle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xsnow not building
On Sunday 22 February 2004 09:44 am, Noah wrote: O You have a mixed combo. You have part of 3.3.6 installed and 4.2. You need a clean XFree86-4 for anything to work. Do you have an XFREE86_VERSION in your /etc/make.conf. I can't think of anyway you would have both 3.3.6 and 4.2 installed unless you did. It also sounds like you might have an out of date port system. At this point, you might as well upgrade to version XFree86-4.3.0. I would think about getting a working 4.2 before updating. There are some problems with make on the older systems. Port maintainers are using new make options that don't work on the pre-4.9 systems. A current 4.9-stable will be different than what you are using now. thanks Kent, I understand what I need to do now. well my /usr/ports have teh 4.3.0 version now. so I dont know how I can install 4.2 core distribution hehehe - I didn't either but it happens :). I created an alias called pkgrep that does a pkg_info | grep $1. There are a number of things that are easier with an alias. You don't make as many typo's and wonder what happened. You need to cvsup ports-all with a tag=.. The easy way is to update your ports, run portsdb -uU to get a new set of indexs and get used to using portupgrade. It makes being consistant a lot easier :). also I am cvsup'ing the stable files every night. how can I guarantee that I am receiving the 4.9-stable files? this is the entry I am using: --- snip --- *default release=cvs tag=RELENG_4 --- snip --- should that work - how can I verify that its the 4.9 kernel and system files I am receiving? Ah, you can cvsup as many times as you want and nothing changes until you do a buildworld, build[install]kernel, reboot to single user mode and installworld. The exact sequence is always in your /usr/src/UPDATING. It sounds like you have most of the pieces but they just aren't quite connected. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: UNEXPECTED SOFTUPDATES INCONSISTENCY
Hello Heinrich, Sunday, February 22, 2004, 6:49:46 PM, you wrote: what you write does make sense, although i really can't understand why this important info is not in the FreeBSD documentation. I have disabled write cache, but i will keep softupdates disabled as well for now, and see how the system behaves. I think it was in there. But maybe I'm mixing this with Lehey's excellent but somewhat dated Complete FreeBSD. Anyway, I've been using softupdates since they became avalaible and never had a single problem with them. Can't exactly say the same about ata(4) though but Soren was always very helpful when problems arised. Best regards, Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have a dream, of a help/manual/doc system, which is simple to use?
On Sun, Feb 22, 2004 at 09:18:12AM -0600, David Fleck wrote: On Sun, 22 Feb 2004, Aaron Peterson wrote: and of course the manual pages that install with each of the some 1 add on programs. man program name ...with *each* of them? Ah, if only that were true.. dcf$ man aspell No manual entry for aspell - All of the apps of the FreeBSD system have one or more man pages. The FreeBSD can not be held responcible for missing man pages for thirth partie software. - Most apps out the port system have one or more pages. - Some apps have there own websites with information. The URL is in the port directory; or in the google database. - Some apps have documentation ins /usr/local/share/doc/app You'll have to make do with what you can find. That just the way it is, sorry. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: UNEXPECTED SOFTUPDATES INCONSISTENCY
Hello Heinrich, Sunday, February 22, 2004, 5:00:27 PM, you wrote: Why that? I can imagine that i lose data in case of a power failure, but why in case of a crash? Well I guess the card COULD still commit the data, however, who knows if it actually does it? And why is write cache only dangerous with softupdates, as you wrote above? IIRC softupdates relies on the assumption that when the softupdate changes return, they really ARE on the disk. It's the same with most RDBMS: because they go to great lengths to ensure the journal is in an ok state they need to know for sure that the data they wrote to it actually made it to disk. Since i found no word about disabling write cache in the FreeBSD handbook or in man tuning(7), i would really like to know, if this is just a rumour, or where does it come from? I can't say for sure, but I have little confidence in write caching anyhow. It changes semantics the system relies on, for one. Best regards, Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fully deinstall X
Hi, how can I fully deinstall X I will reinstall after I rebuild my machine with a 4.9-Stable system # !pkg [/usr/ports/net/cvsup-without-gui] pkg_info | grep XFree86 XFree86-FontServer-4.2.0 XFree86-4 Font Server XFree86-Server-4.2.0_3 XFree86-4 X server and related programs XFree86-documents-4.2.0 XFree86-4 Document Files XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files imake-4.2.0_1 Imake and other utilities from XFree86 imake-4.3.0 Imake and other utilities from XFree86 Thanks in advance, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Longest uptime
On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote: Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their uptimes through a reboot? So, for instance, if it was a schedualed reboot, uptime still showed one continuous uptime? I'd imagine that this would be saved through upgrades as well ... There's a similar module for fbsd here: http://garage.freebsd.pl although the site appears to be down at this moment. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
zsh tutorial
Hi again, working on a few different things today. is there a good URL for understand zsh out there. I am trying to figure out the best and most practical way to setting up the .zsh configuration files. thanks in advance, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fail to start KDE
On Sun, 22 Feb 2004 11:07:52 -0600 Chris [EMAIL PROTECTED] wrote: On Sunday 22 February 2004 10:33 am, Mike Jeays wrote: On Sun, 22 Feb 2004 23:46:54 +0800 Create a file .xinitrc in the home directory, containing the single line 'startkde ' (without the quotes). Then try startx again. Kindly explain the difference between between the following in your .xinitrc file. exec startkde startkde -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Not much in practice - I think they will both work. Exec just says call this other script/command, and don't return to the calling script. -- Personal : Mike.Jeays -at- rogers.com Phone : 613-724-4510 Work : Mike.Jeays -at- statcan.ca Phone : 613-951-9929 FAX 613-951-0395 Web page : http://members.rogers.com/mike.jeays ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is inetd a proxy server?
On Sun, Feb 22, 2004 at 11:58:10AM -0500, Marty Landman wrote: At 11:12 AM 2/22/2004, Matthew Seaman wrote: A proxy listens to all of your request, and then opens up a second connection to the real server (or another proxy) for you and replays your request to it -- so all of the traffic is relayed through the proxy. Newbie here Matthew. Could you please explain how a proxy differs from a router? Or are they in many ways intersecting in their functionality? e.g. I've got a class c network in my office and recently learned how to use apache to reverse proxy a request so that http://my-ip-adr/fbsd becomes the same as http://fbsd, where the latter is mapped to the ip addr for my fbsd box on the lan by apache. (which btw is kind of cool) Sure. A router deals with network traffic at the IP level -- sometimes described as Layer 3 on the OSI 7 layer model. In plain English, the router doesn't care what's inside the packets: it just looks at the IP numbers in the headers and relays the packets appropriately. A router will work for all sorts of traffic -- HTTP, FTP, SSH, SMTP, whatever (unless you've deliberately added a packet filter) -- unlike a proxy, which works at the protocol level: thus you'll get an HTTP proxy or a FTP proxy or a SMTP relay or a DNS recursive server -- the names vary, but they all do proxy service. It's also common for proxies to cache previous traffic and reply out of cache instead of going all the way back to the originating server, but that's not a requirement. Sometimes the software used to implement a proxy is actually identical to the software you'ld use to implement the originating server -- as commonly seen with most MTAs and BIND and occasionally Apache HTTPD as you've done -- although specialised proxying software is more generally used for HTTP and FTP and the like. The point of having inetd(8) is that it provides is a mechanism so that you don't have to have umpty-dozen different small servers running all of the time and taking up your process space. I notice that mingetty runs ~ half a dozen instances on my box, waiting for console users that will never come since as a rule I do everything thru ssh on my windows workstation. And httpd, though I've cut the child process spec down on the apache conf since it's not needed. Of course the saved cycles aren't needed either in my current environment. :) getty(8) is pretty light weight, and it doesn't take much extra memory to run multiple copies of it. It's also the case that while you may not need to log in via the console during normal usage, when you do need console access then you generally need it very badly. Could httpd be set up to run via inetd instead of on its own? If so, is it not typically done this way because it is usually the biggie app on servers? Following that reasoning, if a server were primarily used for ftp would it make sense to remove ftpd from inetd's conf file and instead start it as a service, assuming that were possible? You can run apache 1.3.x through inetd -- see the 'ServerType' directive in httpd.conf: http://httpd.apache.org/docs/mod/core.html#servertype As it says in bright red letters: Inetd mode is no longer recommended and does not always work properly. Avoid it if at all possible. ServerType no longer exists in apache 2.0.x. If you are running a busy FTP site, then yes, running a standalone FTP daemon would be a good idea. However, the server side configuration for most FTP daemons is a lot simpler than for Apache, so it's feasible to run ftpd out of inetd for much higher traffic than it would be for apache. Another common server where there's an option of running under inetd is Samba -- however I think the trend nowadays is to assume that the Samba daemons will run standalone. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: OT: Longest uptime
On Sun, Feb 22, 2004 at 06:18:18PM +, Jez Hancock wrote: On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote: Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their uptimes through a reboot? So, for instance, if it was a schedualed reboot, uptime still showed one continuous uptime? I'd imagine that this would be saved through upgrades as well ... There's a similar module for fbsd here: http://garage.freebsd.pl although the site appears to be down at this moment. The irony is delicious ;-) -T -- Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity. -- David Gelernter, Machine Beauty: Elegance and the Heart of Technology ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fail to start KDE
On Sun, Feb 22, 2004 at 11:07:52AM -0600, Chris wrote: On Sunday 22 February 2004 10:33 am, Mike Jeays wrote: On Sun, 22 Feb 2004 23:46:54 +0800 Create a file .xinitrc in the home directory, containing the single line 'startkde ' (without the quotes). Then try startx again. Kindly explain the difference between between the following in your .xinitrc file. exec startkde startkde 'exec startkde' replaces the .xinitrc process with the startkde process. 'startkde ' starts up a separate startkde process in the background and then continues executing the .xinitrc process. That may or may not be a good thing -- if the .xinitrc process exits (or the stardkde process that it morphs into in the first instance) then your session will be deemed to have ended and you'll be dumped back at the shell prompt. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: OT: Longest uptime
On Sun, Feb 22, 2004 at 12:28:40PM -0600, Tillman Hodgson wrote: On Sun, Feb 22, 2004 at 06:18:18PM +, Jez Hancock wrote: On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote: Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their uptimes through a reboot? So, for instance, if it was a schedualed reboot, uptime still showed one continuous uptime? I'd imagine that this would be saved through upgrades as well ... There's a similar module for fbsd here: http://garage.freebsd.pl although the site appears to be down at this moment. The irony is delicious ;-) LOL :P Actually that site had a module for modifying your uptime I think it was rather than saving your old uptime. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: seeking shell scripting resources
Marty Landman wrote: I'm new to running my own unix systems and would like to start learning the ropes on shell scripting. I've looked at the handbook and a few other sources... maybe haven't looked closely enough. Any recommendations on more involved manuals/explanations/examples of how shell scripts should be developed and used? Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Marty. There are a few tutorials out there, but I haven't seen any really good or 'complete' ones online. (There may be some, but from memory I don't remember finding any). If you're going to use Bash, give the O'Reilly 'Learning the Bash Shell' book a shot. Another one that does cover other shells is called either 'Unix Shells' or 'Unix Scripting' (don't recall which and it's at work..), which was published 2003 IIRC. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
At 12:01 PM 2/22/2004, Olaf Hoyer wrote: Well, what is formerly called a Class C network is now in the new CIDR-notation a /24, meaning that there are 256 IP's in that network. Thanks for explaining Olaf. Little by little the fog is clearing before my eyes, and things which are just words to me today will likely make real sense in a month or whatever it takes. Seems to be a bug with nmap V3.00 I use 3.50, and it works. Solution could be an upgrade or exclusion of your own box from the scanning range. Could you explain how I can do either - or preferably both? My experience with ports btw is strictly limited to make build make install Ok, some basics beforehand: anytime some hosts wants to contact another host, it yells with some broadcast on the local collision segment (arp-request) that the Station, which has IP-address a.b.c.d. sprays the answer (the MAC-Address on the other station) back throughout the segment. This answer is cached by the OS for a short time, that for future use no unnecessary lookups have to be made. Ok. This means, that, if you hook up a station to a LAN, which did not participiated in any of the LAN traffic, the arp cache on that station is of course empty. So the arp cache doesn't have nodes on it which it hasn't had activity from for a time? This makes sense since I tend to work off my windows workstation which is also my gateway. One way to fill it, is by simply pinging all other hosts on that segment. Heh, heh. That's really how this started, except I found it to be too time consuming to do so. Maybe I'm getting far afield though. I think what I'm looking to do now is schedule an exec through cron which will check for whatever ip's/hostnames are on my network. Sounds like upgrading nmap to 3.50 will do it. Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fully deinstall X
I would look at pkg_deinstall. Noah wrote: Hi, how can I fully deinstall X I will reinstall after I rebuild my machine with a 4.9-Stable system # !pkg [/usr/ports/net/cvsup-without-gui] pkg_info | grep XFree86 XFree86-FontServer-4.2.0 XFree86-4 Font Server XFree86-Server-4.2.0_3 XFree86-4 X server and related programs XFree86-documents-4.2.0 XFree86-4 Document Files XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files imake-4.2.0_1 Imake and other utilities from XFree86 imake-4.3.0 Imake and other utilities from XFree86 Thanks in advance, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
On Sun, 22 Feb 2004, Marty Landman wrote: Seems to be a bug with nmap V3.00 I use 3.50, and it works. Solution could be an upgrade or exclusion of your own box from the scanning range. Could you explain how I can do either - or preferably both? My experience with ports btw is strictly limited to make build make install Well, you need to update your ports skeleton (anything under /usr/ports) to an actual state. Whether you use cvsup, to poll from a cvsup server near you the latest updates, or you download a tarball from a ftp site near you. This tarball is about a bit more than 20 MB, so beware with a slow line, cvsup is normally preferred. Then you install portupgrade from the ports, and after that you do simply a: pkg_version -v to get a list of ports that need updating, then you simply do a: portupgrade name to have it updated... For using cvsup, there is a great section in the handbook, and in the archives there should be some looong threads about ist, so don't be frightened, its easier than it sounds... So the arp cache doesn't have nodes on it which it hasn't had activity from for a time? This makes sense since I tend to work off my windows workstation which is also my gateway. Yes. HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fully deinstall X
On Sunday 22 February 2004 10:17 am, Noah wrote: Hi, how can I fully deinstall X I will reinstall after I rebuild my machine with a 4.9-Stable system # !pkg [/usr/ports/net/cvsup-without-gui] pkg_info | grep XFree86 XFree86-FontServer-4.2.0 XFree86-4 Font Server XFree86-Server-4.2.0_3 XFree86-4 X server and related programs XFree86-documents-4.2.0 XFree86-4 Document Files XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files imake-4.2.0_1 Imake and other utilities from XFree86 imake-4.3.0 Imake and other utilities from XFree86 Do a search on XFree86 and use the dependancies to delete it. You can do this the make search way or you can use a tool called portsearch that is located in /usr/ports/Tools/scripts/portsearch I copied it to a convenient location and then aliased it as alias search'portsearch -n $1'. Then if you search ^XFree86-4 you can see all of the dependancies. A number of ports are associated with XFree86 and have to be updated at the same time. All I see on a search for build-deps is freetype2 and imake but there have always been others. A portupgrade -Rrf XFree86 would rebuild all of the important ones, which includes all of the run-deps, and add any new ones that you need. It is handy to not be running X-Windows when you do this. You can remove all of XFree86 by pkg_delete -f 'XFree86*' but you also need to delete both imake's. You really have to reinstall everything that uses XFree86-libraries because it is a static library and you have to build all of the ports that refer to it. To do that, you just add -r to the pkg_delete command. All you need at that point is the time it takes to do the new installs. To rebuild XFree86 and all of the ports that use it can take quite a bit of time. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB modem support?
On Saturday 21 February 2004 10:11, Tony Frank wrote: Hi, On Sat, Feb 21, 2004 at 02:26:24AM +, Daniela wrote: I'm having problems with an USB ADSL modem (Alcatel Speed Touch). It is recognized at boot time, but when I try to connect, it tells me that the modem is busy. I symlinked /dev/cuaa3 to /dev/ugen1 (that's the device that showed up in the boot messages) and directed the kppp utility to use /dev/cuaa3. I entered all the information it asked me for, and then I got the error message: Modem is busy. My ISP told me to f*** off and get Windoze. Anything else is unsupported. Is it a hardware problem or a classical case of a dumb user? I'm not unexperienced with Ethernet connections, and I have a great knowledge of the TCP/IP standard, but I have never done anything with modems, so I can't even imagine how this stuff works. Have you tried: FreeBSD Handbook: http://marvin.home.local/doc/en_US.ISO8859-1/books/handbook/pppoa.html Thank you, that's great but the link above is broken. Well, I installed that program and followed the instructions it gives me. Now the tun0 interface is open, but it has no IP associated. I'm stuck here. Do I have to use the DHCP client? (Tried it, but it configures the tunnel from IP 0.0.0.0 to 255.255.255.255) I have no clue what to do next. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: zsh tutorial
On Sun, Feb 22, 2004 at 10:19:57AM -0800, Noah wrote: Hi again, working on a few different things today. is there a good URL for understand zsh out there. I am trying to figure out the best and most practical way to setting up the .zsh configuration files. thanks in advance, Noah A good starting point is http://zsh.sunsite.dk/ I personally recommend: A User's Guide to the Z-Shell by Peter Stephenson, maybe expecially in your case: http://zsh.sunsite.dk/Guide/zshguide02.html#l13 Besides that: * A workshop on Zsh by Larry P. Schrof * An Introduction to the Z Shell by Paul Falstad * Z-Shell Frequently-Asked Questions * Z Shell Manual There is also a mailing list on zsh, accessible via http://zsh.sunsite.dk/Arc/mlist.html Gabriel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ed4 on FreeBSD 5.2.1
hello! i'm a new user of FreeBSD and i have a little problem: i can not use my PCMCIA Ethernet card on FreeBSD 5.2.1 RC2 on an i386 platform. how do i install the ed4 driver? i think is the correct driver because on FreeBSD 4.9 my PCMCIA Ethernet card was properly detected and on FreeBSD 5.2.1 isn't not working :-( can i install it from the 4.9 Release? how can i? what is the good way to make it please? thanks you very much Banana ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: seeking shell scripting resources
Haven't found much around at all on shell programming and would like to start learning it. Any more resources would be most welcome to find out about. then you haven't looked http://www.google.com/search?hl=enlr=lang_en%7Clang_svie=UTF-8oe=UTF- 8safe=offq=unix+scriptingbtnG=Google+Searchlr=lang_en%7Clang_sv http://www.google.com/search?hl=enlr=lang_en%7Clang_svie=UTF-8oe=UTF- 8safe=offq=bash+scriptingbtnG=Google+Searchlr=lang_en%7Clang_sv http://freshmeat.net/projects/advancedbashscriptingguide/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Longest uptime
Hi, On Sun, 22 Feb 2004, Daniela wrote: On Saturday 21 February 2004 20:47, Jamie wrote: I'm curious as to what the longest uptimes are people have seen on production servers. We've got a FreeBSD machine here with an uptime of 506 days. It is a file server and it also runs spamassassin for another machine. Too bad we have to take it down to replace a motherboard tonight with leaky caps. It would have been fun to see if it could have made it to 999 or higher. I'm curious as to what the highest uptimes people have seen on their servers. With times like that, you can't help but fall in love with FreeBSD!! I have heard of a machine running FreeBSD 2.2 with 2300+ days uptime and still running. Mine has only reached 29 days so far, because I patch my system very often. I just checked back and it's still up ... --snipp-- [EMAIL PROTECTED]: {8} uname -a FreeBSD hostname.domain 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Mon Feb 9 18:53:29 CET 1998 [EMAIL PROTECTED]:/usr/src/sys/compile/XX i386 [EMAIL PROTECTED]: {9} uptime 9:44PM up 2204 days, 2:38, 1 user, load averages: 0.48, 0.24, 0.10 [EMAIL PROTECTED]: {10} date Sun Feb 22 21:45:29 CET 2004 [EMAIL PROTECTED]: {11} --snipp-- hostnames and domains changed to protect the innocent. Of course this does not make much sense and the customer in question would be well advised with an update. Have been talking to them. Our own production servers regularly reach 200 days and more. We update things like ssh and openssl in place and only do full buildworld/installworld upgrades perhaps once or twice a year. Lot's can be done while staying up. Jails help a lot of course. Not having external users with shell access also helps. Greetings Christian -- Christian Kratzer [EMAIL PROTECTED] CK Software GmbHhttp://www.cksoft.de/ Phone: +49 7452 889 135 Fax: +49 7452 889 136 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clarification needed on Handbook: Tracking for Multiple Machines
OK, I've cross-posted this message to -hackers, to see if we can get some sort of definitive [to me] answer. Please forgive if it's considered bad form. -hackers: There is a thread in -questions in response to my query as to building the world and kernels for a variety of Intel CPUs on one machine. For brevity's sake, I won't reproduce the entire thread here. OK, I guess my question boils down to these, then: True or False: Setting CPUTYPE to the lowest target CPU (p2) in a build machine's make.conf will cripple the performance of target machines with higher CPUs (p3, p4, i586, i686, etc.). If True, for optimized code across all machines, the code should just be built on each machine, right? Thanks, Dave -- __ __ \__ \D. J. HAWKEY JR. / __/ \/\ [EMAIL PROTECTED]/\/ http://www.visi.com/~hawkeyd/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia
On Sun, 22 Feb 2004 18:29:15 +0100 Uwe Laverenz [EMAIL PROTECTED] wrote: Eduardo Fernandes wrote: how install nvidia drivers in freebsd 5.2? AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time I tried was 2 weeks ago with -CURRENT and it did not work. I switched back to RELENG_4. Not sure about 5.2, but they work under 5.2.1rc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP access
Marty Landman wrote: At 05:04 PM 2/21/2004, Chuck Swiger wrote: [ ... ] % nmap -sP 22 192.168.0.0/24 I don't understand the man page though so assume it's me, not nmap. Whoops, I switched from recommending using -p 22 (to just scan the ssh port via TCP), to doing ICMP pinging, but I didn't make my suggestion correctly. :-) Olaf provided a better explanation... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is inetd a proxy server?
At 01:26 PM 2/22/2004, Matthew Seaman wrote: getty(8) is pretty light weight, and it doesn't take much extra memory to run multiple copies of it. It's also the case that while you may not need to log in via the console during normal usage, when you do need console access then you generally need it very badly. Fine if fbsd wants a dozen copies running. In fact since I don't have X installed would just as soon have all 12 pf keys mapped to cli consoles for if/when am sitting at the console. My issue is one of UI, especially for top. It would be nicer imo if those 1/2 doz getty processes were to display on one line somehow... maybe indicating the number running and a way for me to expand them if needed [which is essentially never which is my point]. So something like getty, necessary and there for the appropriate reason, i.e. it displays on top because it should, nonetheless is a light weight, in my case rarely used process that ends up consuming 1/3 or so of the screen real estate. You can run apache 1.3.x through inetd -- see the 'ServerType' directive in httpd.conf: http://httpd.apache.org/docs/mod/core.html#servertype As it says in bright red letters: Inetd mode is no longer recommended and does not always work properly. Avoid it if at all possible. In that case... ServerType no longer exists in apache 2.0.x. Doesn't bother me, I migrated backwards to apache 1.3.x on 3/4 servers because it seems the more common version, at least for Unix. My windows gateway runs apache 2.0 because it's pretty much restricted to being a documentation repository for faqs, manuals, and the like. I guess it's something I might try if I found out it was still in common and accepted commercial use, which from what you've said does not sound likely or at least wise. Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
won't buildworld
I'm trying to upgrade from 4.7 to 4.9 I made cvsup (src-all), with no problems, then: cd /usr/src and: make buildworld It runs for a while (about 10 -15 minutes) and stops (see message bellow) I already tried cvsup three more times but always with the same result. Any upgrading hints? === share/info cd /usr/src/share/info; /usr/obj/usr/src/make.i386/make buildincludes; /usr/obj/usr/src/make.i386/make installincludes === include cd /usr/src/include; /usr/obj/usr/src/make.i386/make buildincludes; /usr/obj/usr/src/make.i386/make installincludes creating osreldate.h from newvers.sh make: no target to make. *** Error code 2 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is inetd a proxy server?
On Sun, 22 Feb 2004 17:19:05 -0500 Marty Landman [EMAIL PROTECTED] wrote: My issue is one of UI, especially for top. It would be nicer imo if those 1/2 doz getty processes were to display on one line somehow... maybe indicating the number running and a way for me to expand them if needed [which is essentially never which is my point]. So something like getty, necessary and there for the appropriate reason, i.e. it displays on top because it should, nonetheless is a light weight, in my case rarely used process that ends up consuming 1/3 or so of the screen real estate. It shouldn't be too hard to modify top to collapse processes with the same name into a single line. Possibly more effort than it's worth for what you want, though. Have you tried pressing the 'i' key when top is running? It toggles the display of idle processes. (getty is generally idle.) This can save a lot of screen real estate. -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMP Top program
Hi All, Just wondering if anyone can point me in the right direction here. I'm running a SMP system of dual Xeon CPU's with Htt and I'd like ot know if there is a version of top which will show information for each CPU as opposed to just the single set of data. Is this even possible,, or am I barking up the wrong tree? Regards Tim -- Tim Aslat [EMAIL PROTECTED] Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020M: +61 0401088479 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is inetd a proxy server?
At 05:41 PM 2/22/2004, Chris Pressey wrote: Have you tried pressing the 'i' key when top is running? It toggles the display of idle processes. (getty is generally idle.) This can save a lot of screen real estate. Thanks Chris, that's perfect. I gotta learn not to post before rereading the help page. Marty Landman Face 2 Interface Inc 845-679-9387 This Month's New Quiz --- Past Superbowl Winners Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)
The bios disk geometry bug has been an 5.2 release show stopper bug for a lone time. Looks like they still have not corrected it. You should submit an problem report containing much of the data you have in this post. The more people who report this bug the higher up in the severity list it moves and the sooner it will get addressed. Keep in mind that the 5.x series are developer version releases and not intended for production use. 5.x version should only be installed on test machines. 4.9 is the last stable release and the one people should be using if they want an stable operating system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Markle Sent: Sunday, February 22, 2004 12:55 PM To: [EMAIL PROTECTED] Subject: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB) Hello all, I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda ST3200822A - 200 GB ATA/100 Hard Drive. Being a bit gun shy from a previous geometry problem mis-install where I almost lost some serious data, I am reluctant to just try things until they work. So here goes ... Using the Seagate disk tool, I created a 120 GB NTFS partition and a 200 MB FAT16 partition. Installed Windows XP on the 120 GB part. I want to put FreeBSD on the remaining space (~80 GB). The Seagate HD utility states the following: LBA Sectors are 390,721,968. Standard 512 bytes per sector. XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK Sees too). C16383 H16 S63 BIOS C24321 H255 S63 When the FreeBSD CD boots and enters sysinstall, I get the usual drive geometry error. I've extensively searched google for some sort of method to calculate the true drive geometry with little success. 1. Is the above BIOS info correct ?? 2. Ultimately, do I want the drive geometry to match up with the LBA sectors ?? 3. Can anyone point me towards something that correctly calculates any drive's TRUE geometry ?? Any help is greatly appreciated... david markle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re: Kernel build problem after make world
Hi, you are right, should have included the messages in my first mail. Sorry. I followed the procedure in the handbook, make buildworld; make buildkernel; make installkernel; reboot; make installworld Intermediate that left me with a new kernel in an old world, which worked like i supposed it would. Is it possible one of the kernel options caused the messages? It doesn't seem to me, everything compiled ok, it's the linking process complaining. Missing header files?? All my kernel options (see below) seem also in either GENERIC or NOTES. again any help appreciated. Frans Jaspers [EMAIL PROTECTED] In my make.conf are only perl things. Here's my uname -a FreeBSD desktop.localnetwork 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 22:18:28 GMT 2004 root@:/usr/obj/usr/src/sys/FJ_20040221_GENERIC i386 So that's the running new generic kernel. Here's the errors: $cd /usr/src $make buildkernel KERNCONF=FJ_20040221_01 -- Kernel build for FJ_20040221_01 started on Sun Feb 22 22:16:49 GMT 2004 -- === FJ_20040221_01 -- SNIP -- linking kernel init_main.o: In function `proc0_init': init_main.o(.text+0x2b9): undefined reference to `kse0_sched' init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' init_main.o(.text+0x2cd): undefined reference to `proc0_sched' init_main.o(.text+0x2d7): undefined reference to `thread0_sched' kern_clock.o: In function `statclock': --- Many more - vm_pageout.o(.text+0x170c): undefined reference to `sched_nice' machdep.o: In function `cpu_idle': machdep.o(.text+0x151e): undefined reference to `sched_runnable' *** Error code 1 Stop in /usr/obj/usr/src/sys/FJ_20040221_01. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Here's my config file,
mail question...
Hi list, there is a package / tool to protect against spam ??? Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ISP dialing with callback
Try changing the following which you have sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback auth cbcp E.164 6661313 set cbcp 6661313 To this sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback cbcp set cbcp 6661313 with 6661313 being the phone number and area code of the phone line connected to the modem which is to answer the callback call. You failed to say if you can hear your modem answer the incoming call, you have to Configure Modem to answer call using HAYES Commands ALL external and internal PCI voice phone modems since they were first developed, have been manufactured to comply to the Hayes standard. When you turn on your modem or reset it, your modem loads the 'active configuration profile' into non-volatile memory (NVRAM). The active configuration profile is a group of configuration settings, derived from the values of the modem's internal S registers, that define how the modem will operate. The active configuration profile can be either the factory-default, or one of two user defined profiles. The first time your modem is turned on, the factory-default profile is loaded into the 'active profile in non-volatile memory (NVRAM). The factory-default profile is stored in the modem's read-only-memory (ROM) and can not be changed. The factory-default profile contains standard settings which allow the majority of users to use their modem without every knowing about the Hayes standard. Modems are not factory configured to answer incoming calls by default, so you will have to manually create your own user profile, enable auto answer on first ring, save it to one of the user profiles in NVRAM, and tell the modem to use it on power up and reset as the default profile. Use 'tip' command to send Hayes commands to permanently configure the modem to answer incoming calls. Note: The Hayes modem commands are capital letters and the '0' is a zero. On the command line enter tip comX where X is the com port your modem is on. ATF0load the factory default profile0 into current profile. ATS0=1 tell current profile to answer on first ring. AT Enter AT command 10 times to train modem to 115200 speed ATW0write current profile to saved user profile0. ATY0tell modem to load user profile0 as default profile on power up. Use keyboard ~ key followed by . key to exit tip command. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kyryll A Mirnenko Sent: Sunday, February 22, 2004 11:42 AM To: [EMAIL PROTECTED] Subject: ISP dialing with callback This topic seems to be an elder one, but nobody around couldn't help me. I need to setup ppp (user) to dial to my callback-ISP. Here're useful info: 1). IPS uses PAP authentification. 2). Phone number negotiation is unsupported, I need to send it. When using Windows ppp-dialer (really buggy), everything is OK, so that's not ISP problem. Direct connection authentification goes right, but no incoming call after that. I browsed my logs only strange thing I found is there was no phone number I should send (at least in the readable part, not in the packages sent). Here're my configs (truncated with dummy logins passwords :) - the provider entry is sitel: [ /etc/ppp/ppp.conf ] default: set log phase tun chat cbcp command pap ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cual0 set speed 38400 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) enable vjcomp deflate deflate24 protocomp pred1 accept vjcomp deflate deflate24 protocomp pred1 set urgent udp +53 sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback auth cbcp E.164 6661313 set cbcp 6661313 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 set authname CALLER set authkey MYPASSWORD [ /etc/ppp/ppp.secret ] CALLER MYPASSWORD * * 6661313 [ /etc/ttys ] console noneunknown off secure # ttyv0 /usr/libexec/getty Pc cons25u on secure # Virtual terminals ttyv1 /usr/libexec/getty Pc cons25u on secure ttyv2 /usr/libexec/getty Pc cons25u on secure ttyv3 /usr/libexec/getty Pc cons25u on secure ttyv4 /usr/libexec/getty Pc cons25u off secure ttyv5 /usr/libexec/getty Pc cons25u off secure ttyv6 /usr/libexec/getty Pc cons25u off secure ttyv7 /usr/libexec/getty Pc cons25u off secure ttyv8
Re: ssh no longer connecting automatically
On Sun, Feb 22, 2004 at 10:47:13AM -0500, Lowell Gilbert wrote: : Jonathon McKitrick [EMAIL PROTECTED] writes: : : Any idea why updating to 4.9 stable would give me this error? : I have to set it to protocol 1 and log in manually. The auto login with the : id_rsa and authorized_keys doesn't seem to work anymore, but gives this : error: : : neptune:~ ssh [EMAIL PROTECTED] : key_verify failed for server_host_key : : Did the host key change? Possibly, but if I delete my known_hosts won't it just ask me and then re-add it to the list with the new key? NOTE: Please CC me, as I am not currently subscribed. Thanks. jm -- My other computer is your windows box. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.2 acpi hangs on PowerEdge 4350 usb controller - should I file an bug report?
When installing FreeBSD 5.2, booting with acpi enabled, the system hangs when it detects the server's usb controller. This server (PowerEdge 4350) has an Intel 440GX chipset with a usb host controller, but it does not have any usb ports. If I disable acpi, I can install fine. After compiling a new kernel with all usb support disabled, I can boot with acpi again. Even Windows detects the controller with an error (cannot start device) Should I fill out a bug report for this issue? Just wanted to check with the gurus first. Thanks! Stephen Hoover Dallas, Texas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disallowed attachment type found in sent message something for you
Attention: [EMAIL PROTECTED] A Disallowed attachment type was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The Disallowed attachment type was reported to be: COM files not allowed per Central Online security policy Please contact your I.T support personnel with any queries regarding this policy. Your message was sent with the following envelope: MAIL FROM: [EMAIL PROTECTED] RCPT TO: [EMAIL PROTECTED] ... and with the following headers: --- MAILFROM: [EMAIL PROTECTED] Received: from unknown (HELO central.net.id) (202.75.45.60) by mail.prime.central.net.id with SMTP; 23 Feb 2004 00:24:33 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: something for you Date: Mon, 23 Feb 2004 08:27:17 +0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=50115704 --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)
Yes, I too have encountered the geometry bug a number of times on different machines, and for awhile it put me off to using FreeBSD. Then I discovered that if you just hit g during the partitioning process, it finds the correct geometry and you can continue with the installation. At least, this has worked for me. Nevertheless, I hope the bug will be fixed eventually. It certainly scares away potential FBSD users. regards, Robert On Sun, 22 Feb 2004 12:54:42 -0500 David Markle [EMAIL PROTECTED] wrote: Hello all, I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda ST3200822A - 200 GB ATA/100 Hard Drive. Being a bit gun shy from a previous geometry problem mis-install where I almost lost some serious data, I am reluctant to just try things until they work. So here goes... Using the Seagate disk tool, I created a 120 GB NTFS partition and a 200 MB FAT16 partition. Installed Windows XP on the 120 GB part. I want to put FreeBSD on the remaining space (~80 GB). The Seagate HD utility states the following: LBA Sectors are 390,721,968. Standard 512 bytes per sector. XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK Sees too). C16383 H16 S63 BIOS C24321 H255 S63 When the FreeBSD CD boots and enters sysinstall, I get the usual drive geometry error. I've extensively searched google for some sort of method to calculate the true drive geometry with little success. 1. Is the above BIOS info correct ?? 2. Ultimately, do I want the drive geometry to match up with the LBA sectors ?? 3. Can anyone point me towards something that correctly calculates any drive's TRUE geometry ?? Any help is greatly appreciated... david markle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
glib trouble
i, I have this problem on a 4.8-RELEASE-p13 server, whenever compiling something related with glib: (...) /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libgcc_s.so.1: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' I initially added libstdc++ to the system via wget (googled it), because version 1.2 of Call of Duty server required it. I have another server on 4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there) to this system, but the problem remains. Anyone ever ran into this problem? Kind regards, Hugo -- -- http://www.6s-gaming.com - your online store! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
glib problems..
Hi, I have this problem on a 4.8-RELEASE-p13 server, whenever compiling something related with glib: (...) /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libgcc_s.so.1: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' /usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]' I initially added libstdc++ to the system via wget (googled it), because version 1.2 of Call of Duty server required it. I have another server on 4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there) to this system, but the problem remains. Anyone ever ran into this problem? Kind regards, Hugo -- http://www.6s-gaming.com - your online store! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: glib problems..
On Mon, Feb 23, 2004 at 01:30:05AM +0100, Hugo (6s-gaming.com) wrote: I initially added libstdc++ to the system via wget (googled it), because version 1.2 of Call of Duty server required it. I have another server on 4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there) to this system, but the problem remains. Anyone ever ran into this problem? You have damaged your system by doing this. Reinstall it or recompile it from source. Kris pgp0.pgp Description: PGP signature
Re: Growfs Vinum on 5.2-RELEASE
On Sunday, 8 February 2004 at 21:43:19 +1030, Michael Ritchie wrote: I have followed the method advocated by Drew Tomlinson on this list (October 2002) to create a Vinum volume without losing data. Everything worked ok for the first drive... and then I added the second, and grew the file system using growfs ... and then added the third subdisk to the plex, and tried to growfs again, and got the following message: # growfs -N /dev/vinum/data new file systemsize is: 195366077 frags Warning: 157556 sector(s) cannot be allocated. growfs: 381497.4MB (781306752 sectors) block size 16384, fragment size 2048 using 2076 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. with soft updates super-block backups (for fsck -b #) at: ... growfs: bad inode number 1 to ginode ... I'm running 5.2-RELEASE, with kernel compiled from RELEASE source to include IPFW. Fairly standard stuff. Is something broken or am I doing something wrong?? Sorry about the late response; I appear to have overlooked this issue. What file system? UFS 1 or UFS 2? growfs is suffering a bit from lack of love at the moment. It might be worth putting in a PR. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
issue with building intltool-0.30
i was trying to make mozilla from the ports, when i noticed it was taking much longer than it should. in this case it would be 2 days straight (while this machine isn't a newer machine, it's a 360mhz sparc64... it shouldn't be THIS slow). i noticed what was happening was a constant looping of the following: --- cd . \ CONFIG_FILES=Makefile CONFIG_HEADERS= /usr/local/bin/bash /config.status config.status: creating Makefile cd . /usr/ports/textproc/intltool/work/intltool-0.30/missing autoconf WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running /bin/sh ./configure --libdir=/usr/local/libdata --prefix=/usr/local --build=sparc64-portbld-freebsd5.2 build_alias=sparc64-portbld-freebsd5.2 --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... found checking for perl... /usr/bin/perl configure: creating ./config.status i tried making it several times, but the same issue over and over. i independantly installed autoconf and m4 and tried to rebuild intltool alone... but still the same issue. anyone know what to do to sort out this problem? -Sameer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: issue with building intltool-0.30
On Sun, Feb 22, 2004 at 06:50:33PM -0800, bsd neophyte wrote: i was trying to make mozilla from the ports, when i noticed it was taking much longer than it should. in this case it would be 2 days straight (while this machine isn't a newer machine, it's a 360mhz sparc64... it shouldn't be THIS slow). i noticed what was happening was a constant looping of the following: Verify that all dependencies are up-to-date, e.g. by cvsupping and using portupgrade -R intltool. Kris pgp0.pgp Description: PGP signature
Re: Growfs Vinum on 5.2-RELEASE
Greg 'groggy' Lehey wrote: What file system? UFS 1 or UFS 2? growfs is suffering a bit from lack of love at the moment. It might be worth putting in a PR. Thanks for the response, File system UFS2 (with softupdates, if that matters?). I've sort of worked around the issue at the moment (backed up, re-created the filesystem on vinum volume from scratch, and restored), but perhaps a PR would help others having the same problem. --Michael. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Growfs Vinum on 5.2-RELEASE
On Monday, 23 February 2004 at 13:51:52 +1030, Michael Ritchie wrote: Greg 'groggy' Lehey wrote: What file system? UFS 1 or UFS 2? growfs is suffering a bit from lack of love at the moment. It might be worth putting in a PR. Thanks for the response, File system UFS2 (with softupdates, if that matters?). Not so much. But growfs does have problems with UFS2. That PR might not be a bad idea. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Fixing vinum after removing a HDD
On Wednesday, 11 February 2004 at 19:30:52 -0800, Micheas Herman wrote: On Wed, 2004-02-11 at 17:02, Greg 'groggy' Lehey wrote: On Wednesday, 4 February 2004 at 19:52:03 +0100, Stijn Hoop wrote: On Wed, Feb 04, 2004 at 07:41:48PM +0100, [EMAIL PROTECTED] wrote: I'm running FreeBSD 4.8 on a system with 5 HDD's. ad0 is to be removed from the system. ad1, ad2 and ad3 contain my vinum drives. FreeBSD resides on the last disk (da0). Can anyone tell me if the following procedure is the right way to do it? 1. physically remove ad0 2. vinum resetconfig 3. change drivenumbers in vinum.conf 4. run vinum with the new configfile As far as my (limited) vinum knowledge goes, you really don't need to do a resetconfig. Correct. From the man page: resetconfig The resetconfig command completely obliterates the vinum configu- ration on a system. Use this command only when you want to com- pletely delete the configuration. I'm completely baffled that people want to use this command so much. The correct sequence is to remove the drive, replace it with something else with a Vinum partition, and then start the defective objects. Just a guess (arm chair psychology of users), but I suspect it is because they are thinking that they need to re-setup their drive. Maybe deleteconfig would be a more self documenting flag. Hmm, maybe. I'll think about this. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Fail to start KDE
Mike Jeays wrote: Version 5.2 new installation - snip - Create a file .xinitrc in the home directory, containing the single line 'startkde ' (without the quotes). Then try startx again. Hi Mike, Tks for your advice. Sorry I forgot to mention in my previous posting; 1) KDE could not start if editing /etc/ttys as; . ttyv8 user/local/bin/xdm -nodaemon xterm on secure . ... # startkde (on INIT 3/text mode) ... Kpersonalizer: cannot connect to X server. (continue to run on screen) I suspect whether it was caused by failure on login. Because after booting, the 'Welcom to the XFree86 Project Inc' GUI login popup. I can keyin either as 'root' or as 'username' but can't keyin password. I just typed in password and hit Enter the GUI login screen popup again without mentioning anything. The X window started with a small Xterm window appearing on the screen, mouse working but I could not type on it. I tried many times without a solution. If changing 'xdm' to 'kdm' on the abovementioned line 'ttyv8.', GUI login failed to start. # startx (on INIT 3) started 3 'Xterm windows' 2) After starting 3 'Xterm windows' I can start KDE 3.1 from any one of the 'Xterm window' with; # startkde It worked with KDE started. 3) On INIT 3/text mode I can login either as 'root' or as 'user' with correct password without problem Kindly advise how to fix the problem. TIA B.R. Stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail question...
Xpression wrote: Q: Hi list, there is a package / tool to protect against spam ??? Thanks... A: A few ... [EMAIL PROTECTED] [/usr/ports] [21:49] #make search key=spam | grep port Path: /usr/ports/mail/adcomplain Path: /usr/ports/mail/bayespam Path: /usr/ports/mail/bogofilter Path: /usr/ports/mail/bogofilter-qdbm Path: /usr/ports/mail/bogofilter-tdb Path: /usr/ports/mail/dcc-dccd Path: /usr/ports/mail/dspam Path: /usr/ports/mail/filtermail Path: /usr/ports/mail/hashcash Path: /usr/ports/mail/junkfilter Path: /usr/ports/mail/mailscanner Path: /usr/ports/mail/mailscanner-devel Path: /usr/ports/mail/mimedefang Path: /usr/ports/mail/p5-Mail-Graph Path: /usr/ports/mail/p5-Mail-SpamAssassin Path: /usr/ports/mail/p5-Mail-SpamAssassin-snapshot Path: /usr/ports/mail/py-spambayes Path: /usr/ports/mail/pyzor Path: /usr/ports/mail/qconfirm Path: /usr/ports/mail/qsf Path: /usr/ports/mail/razor-agents Path: /usr/ports/mail/relaydb Path: /usr/ports/mail/sccmilter Path: /usr/ports/mail/smtp-vilter Path: /usr/ports/mail/spamass-milter Path: /usr/ports/mail/spambnc Path: /usr/ports/mail/spamd Path: /usr/ports/mail/spamguard Path: /usr/ports/mail/spamoracle Path: /usr/ports/mail/spamprobe Path: /usr/ports/mail/spamstats Path: /usr/ports/mail/tmda Path: /usr/ports/misc/spamcalc Path: /usr/ports/news/cleanfeed Path: /usr/ports/news/nntpcache Path: /usr/ports/security/amavisd-new Path: /usr/ports/sysutils/pipemeter Path: /usr/ports/www/p5-Apache-AntiSpam Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ed4 on FreeBSD 5.2.1
Banana Flex wrote: hello! i'm a new user of FreeBSD and i have a little problem: i can not use my PCMCIA Ethernet card on FreeBSD 5.2.1 RC2 on an i386 platform. how do i install the ed4 driver? i think is the correct driver because on FreeBSD 4.9 my PCMCIA Ethernet card was properly detected and on FreeBSD 5.2.1 isn't not working :-( can i install it from the 4.9 Release? how can i? what is the good way to make it please? thanks you very much Banana Are you sure it's an ed4 driver? Isn't it just ed? IIRC, ed requires device miibus in your kernel config ... is it there? (Note that you didn't say *what* PCMCIA NIC you have) Does your 5.X system see any devices in your PCMCIA slot? Maybe you need pccard or cardbus support ... (no expert here ... my only laptop is in the junk pile now ... I've never put FBSD on one ...yet!) Kevin Kinsey DaleCo S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Rebooting problem
** Hi all folks, Version 5.2 new installation On rebooting it hangs on . syncing disks, buffers remaining ... 5 5 done Uptime: 45m45s Shutting down ACPI Rebooting... Keyboard reset did not work, attempting CPU shutdown. It hanged here and I have to make a 'hard reboot' by pressing 'reset' key Kindly advise is it the size of SWAP insufficient? If 'YES', kindly advise how to check it and increase its size. TIA B.R. Stephen Liu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]