Once CPU idle at all times
I know this was asked once before. I can't recall if it had received a response or not. If so, tell me to go digging. Otherwise, I have a server that is a dual Zeon 2.8 and I have the hyperthreading enabled within the bios. When I use top, it shows one of the CPU's as apparently not being used. Why is this? 13 root 171 52 0K 8K CPU1 0 0:00 99.85% idle: cpu1 -- This one 11 root 171 52 0K 8K RUN 3 383.1H 61.38% idle: cpu3 14 root 171 52 0K 8K RUN 0 403.4H 61.13% idle: cpu0 12 root 171 52 0K 8K RUN 2 333.4H 49.95% idle: cpu2 -- This message was sent using 100% recycled electrons. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
top: what processes use the CPU?
Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: 104 processes: 2 running, 97 sleeping, 5 zombie CPU states: 88.3% user, 0.0% nice, 10.9% system, 0.8% interrupt, 0.0% idle Mem: 521M Active, 239M Inact, 195M Wired, 5048K Cache, 112M Buf, 40M Free Swap: 2027M Total, 68M Used, 1959M Free, 3% Inuse PID USERNAMEPRI NICE SIZERES STATETIME WCPUCPU COMMAND 62670 www 200 221M 29928K kserel 168:48 0.00% 0.00% java 74645 mailman 80 9408K 3208K nanslp 22:59 0.00% 0.00% python 74644 mailman 80 11412K 4436K na.. 75160 root1200 9880K 8904K RUN 0:00 0.00% 0.00% cc1 63370 root 960 2668K 1808K RUN 0:00 0.00% 0.00% top 74398 root 80 3892K 3740K wait 0:00 0.00% 0.00% make # uname -srp FreeBSD 5.3-RELEASE-p31 i386 Please reply also to my mailbox, as I'm not on the list. Thank you! -- Roberto Nunnari -software engineer- mailto:[EMAIL PROTECTED] Scuola Universitaria Professionale della Svizzera Italiana Dipartimento Tecnologie Innovative http://www.dti.supsi.ch SUPSI-DTI Via Cantonaletel: +41-91-6108561 6928 Mannofax: +41-91-6108570 Switzerland (o o) ===oOO==(_)==OOo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as a VPN Server/Router
Am 10.08.2006 um 01:09 schrieb Christopher Martin: Also, the load IPSec (or any encryption method for that matter) places on the encapsulating router is non-trivial, so be aware that if your hardware is a bit old you may get disappointing performance. I would suggest making the hardware at least current low end, or high end from a couple of years ago, to get the best performance. My 533 MHz Via C3 based router does 230 kB/s with OpenVPN while being about 75% idle. (My line's not faster, so I don't know where it would peak out.) Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Performance issue amd64
Hello out there. I ran into some weirdness by changing harddrives in FreeBSD 6.1-STABLE/AMD64 and I do not know exactly whether the problem ist up to the drives, ar0 (RAID 0) or FreeBSD 6.1-STABLE itselfs. My home's computer system is a FreeBSD 6.1-STABLE/AMD64 box, clean 64 Bit without 32 Bit compat enabled. Hardware is a ASUS A8N32-SLI Deluxe mainboard, memory 2GB DDR400-ECC Infineon RAM, CPU Athlon64 3500+ with the older 'Newcastle' cor, so single core and only 512 KB L2 cache. Harddrives are two Hitachi T7K250 (HDT722525DLA380), configured as a RAID 0 via the nVidia nForce4 chipset RAID facility with Stripesize of 64k, as recommended. My lab's computer is an older Intel P4 based machine, mobo ASUS P4P800 with 2GB DDR400 memory, Intel P4 3.0 GHz CPU (see dmesg attached), two 120 GB PATA/UDMA100 drives connected to the same controller as master and slave: ad0: 114473MB WDC WD1200BB-00CAA1 17.07W17 at ata0-master UDMA100 ad1: 114473MB WDC WD1200BB-00CAA1 17.07W17 at ata0-slave UDMA100 Well, On both boxes I use nearly the same applications and they are both nearly identically setup apart from hardware related issues. They have the same OS basis, recompile FreeBSD 6.1-STABLE at least three times a week for testing purposes - and that's why I got puzzled about the performance. Before I swapped the harddrives of my AMD64 box, this box was equpted with a SAMSUNG SP2004C 200GB SATA II HD and a Maxtor 6B200M0 200GB SATA I HD, configured as RAID 0 on the same controller. This amd64 box took about 80 - 90 minutes compiling complete world and was responsitive when opening Firefox, Thunderbird or doing other things, this changed now dramatically. Compiling world takes now more than a 100 minutes, Firefox and/or Thunderbird opens much slower than before and much slower as compared to the i386 box(!). my whole impression of comparing both boxes is that the i386 box as described above eith the technically more worse HD configuration and the older hardware seems to outperform the AMD64 box, especially with a RAID 0. Ok guys, I know just by simple describing the 'felt' speed of a box doesn't make any sense, but I can not provide performance tests at this moment, both boxes are in use. But I can asure you, that working in the morning with the one (i386) box and at the evening with the other (amd64) gives me a little bit of sensibility beeing aware of those performance issue. I suspect the Hitachi drives for that performance drop, although I switched them into SATA II mode and disabled accoustic mode and other funny desktop stuff. Are there any known issues with nForce4 chipsets and T7K20 Hitachi drives? I will provide some tests, if I can do them without endangering my systems's stability and I would appreciate any hints or tips for that issue. Thanks a lot, oh Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #53: Wed Aug 9 10:02:40 CEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TELESTO ACPI APIC Table: A M I OEMAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x4400CNTX-ID,b14 Logical CPUs per core: 2 real memory = 2146631680 (2047 MB) avail memory = 2095493120 (1998 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 Version 2.0 irqs 0-23 on motherboard netsmb_dev: loaded kbd1 at kbdmux0 acpi0: A M I OEMRSDT on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0 cpu0: ACPI CPU on acpi0 p4tcc0: CPU Frequency Thermal Control on cpu0 cpu1: ACPI CPU on acpi0 p4tcc1: CPU Frequency Thermal Control on cpu1 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: Intel 82865 host to AGP bridge mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xef00-0xef1f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xef20-0xef3f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Re: vmware library problem
Robin Becker wrote: I have built and installed vmware3 from a recent(3/Aug) cvsup'd ports # vmware Setting TMPDIR=/var/tmp. vmware-mks: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory vmware-ui: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory find indicates that the libraries are indeed present. # find / -name libX11.so\* Anyone got any ideas what I'm doing wrong? What exactly should I be doing to get an XP machine image to run? I fixed this by adding LD_LIBRARY_PATH=/usr/X11R6/lib to the environment, but since I actually have a choice of /usr/compat/linux/usr/X11R6/lib /usr/X11R6/lib which should I actually use? For some reason even though I'm using a fresh portupgraded system the libraries the two locations are not the same. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware library problem
On Thu, 10 Aug 2006 07:59:53 + Robin Becker [EMAIL PROTECTED] wrote: I fixed this by adding LD_LIBRARY_PATH=/usr/X11R6/lib to the environment, but since I actually have a choice of /usr/compat/linux/usr/X11R6/lib /usr/X11R6/lib which should I actually use? For some reason even though I'm using a fresh portupgraded system the libraries the two locations are not the same. Sure they're not the same. They belong to a different OS! The first are linux libraries, the second thos of FreeBSD. -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ext usb2 drive and fbsd6
On Wed, 09 Aug 2006 11:20:08 -0700 Micah [EMAIL PROTECTED] wrote: dick hoogendijk wrote: Maybe I should not ask this here but I take my chances. I love fbsd but it /is/ pickier on some hardware than windows and I don't want to use that software, so.. I'm planning an external hardrive. NAS (network attached storage) drive are very expensive. So I will buy an usb2 drive, I think. As always, money's short ;-) Do you have suggestions on *good* working and not to expensive usb2 harddisks for FreeBSD-6.1? They should be reliable and easy to mount on my server. I have a Western Digital Essential USB hard drive that I use for backup purposes on my 6.1 system. http://www.westerndigital.com/en/products/Products.asp?DriveID=182 Haven't had any problems yet. And how about slicing or newfs'n such a drive. Can it be handled as a normal internal drive or can it only be used as an extra space and do I have to build it in to make two or more partitions for example? -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware library problem
dick hoogendijk wrote: On Thu, 10 Aug 2006 07:59:53 + Robin Becker [EMAIL PROTECTED] wrote: I fixed this by adding LD_LIBRARY_PATH=/usr/X11R6/lib to the environment, but since I actually have a choice of /usr/compat/linux/usr/X11R6/lib /usr/X11R6/lib which should I actually use? For some reason even though I'm using a fresh portupgraded system the libraries the two locations are not the same. Sure they're not the same. They belong to a different OS! The first are linux libraries, the second thos of FreeBSD. hmmm, I thought they both come from Xorg, it's obvious that different systems might apply different patches, but in practice shouldn't there be just one copy of libX11.so.6 on any given system? Presumably my KDE is operating with the freeBSD patched one so why should linux compatible apps use a different version? If a different compiler were required or different calling conventions assumed then it would be reasonable, but I couldn't see any obvious differences in the compilations. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Stefan Bethke wrote: Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? Thank you. -- Robi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Am 10.08.2006 um 11:09 schrieb Roberto Nunnari: Stefan Bethke wrote: Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? You can't with current FreeBSD tools. Efforts are underway to port DTrace from Solaris, which allows gathering information like this, among many other interesting things. Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Large File System?
Hmm I wonder what the advantages of this over softupdates are. Never really saw the need for the google summer of code project etc for this when we have softupdates But I guess I must be missing something -- martin On 8/9/06, Matthew Seaman [EMAIL PROTECTED] wrote: Nikolas Britton wrote: You've never had to fsck a 2TB+ array, have you?... This is why we DEMAND journaling UFS2. or ZFS. Ask and ye shall receive. http://lists.freebsd.org/pipermail/freebsd-current/2006-August/064932.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Stefan Bethke wrote: Am 10.08.2006 um 11:09 schrieb Roberto Nunnari: Stefan Bethke wrote: Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: Hello everybody. Just a short question: Why top doesn't any more show what processes use the CPU? I mean.. 0.0% idle and the sum of the processes CPU doesn't reach 1.0%.. as an example, while make buildkernel top shows: Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? You can't with current FreeBSD tools. Efforts are underway to port DTrace from Solaris, which allows gathering information like this, among many other interesting things. Stefan --Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 Ok. Thank you Stefan. Best regards. -- Robi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats Project v2.0 ...
On 8/9/06, Nikolas Britton [EMAIL PROTECTED] wrote: On 8/9/06, Marc G. Fournier [EMAIL PROTECTED] wrote: On Wed, 9 Aug 2006, Paul Schmehl wrote: Marc G. Fournier wrote: On Wed, 9 Aug 2006, Igor Robul wrote: On Tue, Aug 08, 2006 at 09:30:42PM -0300, Marc G. Fournier wrote: Could create problems long term .. one thing I will be using the IPs to do is: SELECT ip, count(1) FROM systems GROUP BY ip ORDER BY count DESC; to look for any 'abnormalities' like todays with Armenia ... hashing it would make stuff like that fairly difficult ... You can make _two_ hashes and then concatenate to form unique key. Then you still be able to see a lot of single IPs. Personaly, I dont care very much about IP/hostname disclosure :-) Except that you are disclosing that each and every time you send out an email, or hit a web site ... :) The systems I'm concerned about are on private IP space, to not send email and don't have X installed, much less a web browser and can only access certain FreeBSD sites to update ports. In fact, they're not even accessible from *inside* our network except from certain hosts. In order to successfully run the stats script on these hosts, I would have to open a hole in the firewall to bsdstats.hub.org on the correct port. And yes, I *am* paranoid. But if you really want *all* statistics you can get, then you'll have to deal with us paranoid types. My workstation, which is on a public IP, is already registered. Done ... now I really hope that the US stats rise, maybe? I have a hard time believing that Russia and the Ukraine have more deployments then the 'good ol'US of A' ... or do they? *raised eyebrow* Here is what is now stored in the database (using my IP as a basis) # select * from systems where ip = md5('24.224.179.167'); id |ip| hostname | operating_system | release | architecture | country |report_date --+--+--+--++--+-+--- 1295 | 45c80b9266a5a6683eee9c9798bd6575 | 4a9110019f2ca076407ed838bf190017 | FreeBSD | 6.1-RC1| i386 | CA | 2006-08-09 02:34:05.12579 1 | 45c80b9266a5a6683eee9c9798bd6575 | 9a45e58ab9535d89f0a7d2092b816364 | FreeBSD | 6.1-STABLE | i386 | CA | 2006-08-09 16:01:03.34788 Why don't you just broadcast the ip address, it's what your doing now anyways. 253^4 is a very small number. infomatic# perl my $num = 0; system date; while ($num = 409715208) { $num++ } system date; Wed Aug 9 18:18:45 CDT 2006 Wed Aug 9 18:20:48 CDT 2006 2 minutes * 10 = 20 minutes to iterate though 4 billion IP addresses on a very slow uni-proc system. I could even store every IP to md5 hash using less then 222GB of uncompressed space. If you want... give me the md5 hash of a real ip address that is unknown to me and I will hand you the ip address in two days... or less. run the IP address though like this: md5 -s xxx.xxx.xxx.xxx I have other things to do with my time, so I don't really want to do this, but if that's what it takes to stop this idea dead I'll do it. Here's a better way to explain the problem: Let's say we need to find Marc's IP address but we only have it's md5 hash value. Some of you may think this is hard to do but it's not. All we need to do is compute every IP address into a hash and then match Marc's hash to one in are list: 24.224.179.164 = e7e7a967c5f88d9fb10a1f22cd2133d2 24.224.179.165 = 3aa9b50aa7190f5aca1f78f075dc69c2 24.224.179.166 = c695175e48d649e3496ac715406a488d 24.224.179.167 = 45c80b9266a5a6683eee9c9798bd6575 So what is an IP address?... mathematically speaking it's 4 base 255 numbers grouped together: {0, ..., 255}.{0, ..., 255}.{0, ..., 255}.{0, ..., 255} To calculate how many combinations there could be you simply take the base unit and raise it to the 4th power, since there are 4 of them. This gives us 255^4 combinations or 4,228,250,625 TCP/IP addresses. We also know that the first number can't be 0 or 255 and the others can't be 255, we can also rule out all 127.x.y.z loopback and multicast 224.x.y.z - 239.x.y.z addresses: (237^1) * (254^3) This leaves us with 3,883,734,168 valid IP addresses. We can divide this number by 5,000 and run it through a simple perl script to get a time estimate on how long it will take to compute all these hashs. We will split it into 4 parallel jobs: my $number = 0; while ($number = 194187) { system md5 -s $number /usr/data/hashlist1; $number++; } my $number = 194188; while ($number = 388373) { system md5 -s $number /usr/data/hashlist2; $number++; } my $number = 388374; while ($number = 582560) { system md5 -s $number /usr/data/hashlist3; $number++; } my $number = 582561; while ($number = 776747) { system md5 -s $number /usr/data/hashlist4; $number++; } Ok, it took
Re: Port Not Available
Gerard Seibert wrote: Matthew Seaman wrote: Ummm... given that there's no 'rm' capability in this printcap I guess you must be using Samba to communicate with the remote windows printer. If so, then that printcap looks fine. Well, setting lp=/dev/null seems to cause some complaints, but that should just be cosmetic. I'd start looking for problems in the Samba setup. Can you use smbclient to connect to the printserver machine via Samba using the credentials you gave in the apsfilter setup? Does it show that you have access to the shared printer there? Double check the contents of /usr/local/etc/apsfilter/SETUP.cfg and the apsfilterrc files in that directory and it's sub-directories. Also, is there anything interesting in the log file /var/spool/lpd/lp/log ? Nothing other than this from the lpd-errs file produced when 'checkpc -fV' is run. lpd-errs: Aug 9 13:06:09 scorpio checkpc[6018]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device Aug 9 17:18:57 scorpio checkpc[14219]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device I can connect using smbclient without any problems. The problem is not there. The is just not connection with the print server, and that is what I cannot understand. I had the same problem with an install of 5.4. One day that message started being printed in the log and I could no longer print. I was forced to do a total reinstall of the OS. I really believe that the '/dev/null' thing is the key to this, but I do not have a clue how to go about fixing it. I have a bad feeling that I am going to have to do a total reinstall of the OS. With KDE, OpenOffice etc., that will take awhile. Unless you have a better idea Matthew, I will probably go that route this weekend. I do not need another over sized paper weight. Woah! Reinstalling the whole OS to fix a printer problem is way overkill. The /dev/null entry in /etc/printcap is just a place-holder. Normally that entry would contain the device used to communicate to a locally attached printer. However, because you're using samba, you've faked the system into thinking you've got a local printer, while using a print filter to divert the data via samba into the remote Windows printer. It's a bit of a hack really. However what it does mean is that no data should actually end up being passed to /dev/null. As the print system is complaining about not being able to get an exclusive lock on that file, perhaps it would be worth trying substituting some regular file that it could get a lock on. Try this. # touch /var/log/lpd.out # chmod 644 /var/log/lpd.out # chown root:daemon /var/log/lpd.out Then edit /etc/printcap and substitute /var/log/lpd.out for /dev/null and restart lpd. lpd.out should just stay an empty file, but it might end up with a copy of anything you send to the printer in it, in which case siccing newsyslog(1) onto the file to keep it a manageable size would be a good idea. If this works, then reporting what happened to the port maintainer and author of apsfilter would be indicated -- seems the behaviour of /dev/null has changed in recent releases sufficient to put a spanner in apsfilter's works. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: BSDstats Project v2.0 ...
On 8/10/06, Nikolas Britton [EMAIL PROTECTED] wrote: On 8/9/06, Nikolas Britton [EMAIL PROTECTED] wrote: On 8/9/06, Marc G. Fournier [EMAIL PROTECTED] wrote: On Wed, 9 Aug 2006, Paul Schmehl wrote: Marc G. Fournier wrote: On Wed, 9 Aug 2006, Igor Robul wrote: On Tue, Aug 08, 2006 at 09:30:42PM -0300, Marc G. Fournier wrote: Could create problems long term .. one thing I will be using the IPs to do is: SELECT ip, count(1) FROM systems GROUP BY ip ORDER BY count DESC; to look for any 'abnormalities' like todays with Armenia ... hashing it would make stuff like that fairly difficult ... You can make _two_ hashes and then concatenate to form unique key. Then you still be able to see a lot of single IPs. Personaly, I dont care very much about IP/hostname disclosure :-) Except that you are disclosing that each and every time you send out an email, or hit a web site ... :) The systems I'm concerned about are on private IP space, to not send email and don't have X installed, much less a web browser and can only access certain FreeBSD sites to update ports. In fact, they're not even accessible from *inside* our network except from certain hosts. In order to successfully run the stats script on these hosts, I would have to open a hole in the firewall to bsdstats.hub.org on the correct port. And yes, I *am* paranoid. But if you really want *all* statistics you can get, then you'll have to deal with us paranoid types. My workstation, which is on a public IP, is already registered. Done ... now I really hope that the US stats rise, maybe? I have a hard time believing that Russia and the Ukraine have more deployments then the 'good ol'US of A' ... or do they? *raised eyebrow* Here is what is now stored in the database (using my IP as a basis) # select * from systems where ip = md5('24.224.179.167'); id |ip| hostname | operating_system | release | architecture | country |report_date --+--+--+--++--+-+--- 1295 | 45c80b9266a5a6683eee9c9798bd6575 | 4a9110019f2ca076407ed838bf190017 | FreeBSD | 6.1-RC1| i386 | CA | 2006-08-09 02:34:05.12579 1 | 45c80b9266a5a6683eee9c9798bd6575 | 9a45e58ab9535d89f0a7d2092b816364 | FreeBSD | 6.1-STABLE | i386 | CA | 2006-08-09 16:01:03.34788 Why don't you just broadcast the ip address, it's what your doing now anyways. 253^4 is a very small number. infomatic# perl my $num = 0; system date; while ($num = 409715208) { $num++ } system date; Wed Aug 9 18:18:45 CDT 2006 Wed Aug 9 18:20:48 CDT 2006 2 minutes * 10 = 20 minutes to iterate though 4 billion IP addresses on a very slow uni-proc system. I could even store every IP to md5 hash using less then 222GB of uncompressed space. If you want... give me the md5 hash of a real ip address that is unknown to me and I will hand you the ip address in two days... or less. run the IP address though like this: md5 -s xxx.xxx.xxx.xxx I have other things to do with my time, so I don't really want to do this, but if that's what it takes to stop this idea dead I'll do it. Here's a better way to explain the problem: Let's say we need to find Marc's IP address but we only have it's md5 hash value. Some of you may think this is hard to do but it's not. All we need to do is compute every IP address into a hash and then match Marc's hash to one in are list: 24.224.179.164 = e7e7a967c5f88d9fb10a1f22cd2133d2 24.224.179.165 = 3aa9b50aa7190f5aca1f78f075dc69c2 24.224.179.166 = c695175e48d649e3496ac715406a488d 24.224.179.167 = 45c80b9266a5a6683eee9c9798bd6575 So what is an IP address?... mathematically speaking it's 4 base 255 numbers grouped together: {0, ..., 255}.{0, ..., 255}.{0, ..., 255}.{0, ..., 255} To calculate how many combinations there could be you simply take the base unit and raise it to the 4th power, since there are 4 of them. This gives us 255^4 combinations or 4,228,250,625 TCP/IP addresses. We also know that the first number can't be 0 or 255 and the others can't be 255, we can also rule out all 127.x.y.z loopback and multicast 224.x.y.z - 239.x.y.z addresses: (237^1) * (254^3) This leaves us with 3,883,734,168 valid IP addresses. We can divide this number by 5,000 and run it through a simple perl script to get a time estimate on how long it will take to compute all these hashs. We will split it into 4 parallel jobs: my $number = 0; while ($number = 194187) { system md5 -s $number /usr/data/hashlist1; $number++; } my $number = 194188; while ($number = 388373) { system md5 -s $number /usr/data/hashlist2; $number++; } my $number = 388374; while ($number = 582560) { system md5 -s $number /usr/data/hashlist3; $number++; }
Re: Large File System?
The advantage is never having to run fsck again... on large filesystems this takes a long long long time. 16 hours would not be unheard of. On 8/10/06, Martin Hepworth [EMAIL PROTECTED] wrote: Hmm I wonder what the advantages of this over softupdates are. Never really saw the need for the google summer of code project etc for this when we have softupdates But I guess I must be missing something -- martin On 8/9/06, Matthew Seaman [EMAIL PROTECTED] wrote: Nikolas Britton wrote: You've never had to fsck a 2TB+ array, have you?... This is why we DEMAND journaling UFS2. or ZFS. Ask and ye shall receive. http://lists.freebsd.org/pipermail/freebsd-current/2006-August/064932.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Top not showing cpu usage even remotely accurately
Ian Smith wrote: But since running 5.x (5.5-STABLE since 1st Aug) top can show 0.0% idle but the cpu usages shown don't add up to much of a fraction of 100%. [ ... ] Any ideas why top hasn't much of a clue about what's consuming cpu? Sure, if you're running a parallel make, that will be starting up lots of short-lived compiler processes which exit quickly; top can only display the CPU load for those processes which are still running at the time it samples the system. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Roberto Nunnari wrote: Stefan Bethke wrote: [ ... ] Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? You could set up process accounting as documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-accounting.html -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vmware library problem
Robin Becker wrote: [ ... ] Sure they're not the same. They belong to a different OS! The first are linux libraries, the second thos of FreeBSD. hmmm, I thought they both come from Xorg, it's obvious that different systems might apply different patches, but in practice shouldn't there be just one copy of libX11.so.6 on any given system? Sure. You would only need one copy of the X11 libraries if you only run native FreeBSD apps. If you want to run Linux apps, well, you need the Linux shared libraries those apps depend on. Presumably my KDE is operating with the freeBSD patched one so why should linux compatible apps use a different version? Because the C library and system calls available under FreeBSD and Linux are different...? Take a look at the source for BSD libc and GNU libc, or run nm on the shared libraries and compare the symbol tables for yourself. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top: what processes use the CPU?
Chuck Swiger wrote: Roberto Nunnari wrote: Stefan Bethke wrote: [ ... ] Because the cc processes are too short lived to consistently show up when top is scanning the process table? Ok.. but as idle CPU shows 0.0%, there should be a way of getting the processes that finished already living but caused that 0.0% idle.. What if your users are running lot of short lived processes? How can you find them out? You could set up process accounting as documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-accounting.html Thank you. I'll take a look at that. -- Robi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Reinstalling Sendmail?
I have some problems with Sendmail (ref an older thread I posted): pid 72284 (sendmail), uid 0: exited on signal 11 pid 72505 (sendmail), uid 0: exited on signal 11 pid 72672 (sendmail), uid 0: exited on signal 11 This happens every 30 minutes. It started after I upgraded from 4.7 to 4.11p19. Is there some easy way I can reinstall sendmail completely getting it back to the way it is when installing a fresh system? I don't want to tweak and dig too much with this anymore so I rather start from scratch. I know it's part of the base system, but is there some way to do this? Thanks, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with portsnap phttpget: Connection failure
Since today, I'm having problems with portsnap. # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... /usr/sbin/portsnap: cannot open fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz: No such file or directory metadata is corrupt. Tried again # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... gunzip: stdin: unexpected end of file metadata is corrupt. Problem exists with both portsnap1 and portsnap2 (but different error) And once more # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... gunzip: stdin: unexpected end of file metadata is corrupt. # df /var Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1d 1967054 181126 162856410%/var No space problem # ls -l /var/db/portsnap/*.gz -rw-r--r-- 1 root wheel 1134 Aug 10 13:36 fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz # portsnap --debug fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org Fetching snapshot tag... latest.ssl100% of 256 B 59 kBps done. Fetching snapshot metadata... 3724dd494decf14ddcc583f5f9c2d7a497f28cb1bb3d0a100% of 299 B 69 kBps done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches... /usr/libexec/phttpget portsnap1.FreeBSD.org tp/1aed4d0ae32332aea29cd95b7ba5c277e36d09b1f96f17cfb1fe132f5d9c4703-fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz tp/d7cba1bbc350156732d0dd634d7d5310267e9c2f0bb9a8cb999b39b32807fc1e-b447b00c87fe1b42d182544471c2b1c8385cc4cd6fffb39bf86c9a9f4afc29e9.gz tp/b9fa1bde52f289b97c7911e99e955eaded61ecd9bf3a05b0ea415750dabe3ee1-9b2dbcdf9190e750b2f300e0bf077ca5dd2c2b1a9670b77f1eaadb5e3920755b.gz tp/f58f4b42795b7d6bc48cf2173dc0842710aaf09bf6922920ac90323f9b3ef9a3-2cb140f9f886aa9ec10801049ca170fe5109873e9511eca3e7aea3ef587e519b.gz phttpget: Connection failure done. Applying metadata patches... done. Fetching 4 metadata files... /usr/libexec/phttpget portsnap1.FreeBSD.org f/fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz f/b447b00c87fe1b42d182544471c2b1c8385cc4cd6fffb39bf86c9a9f4afc29e9.gz f/9b2dbcdf9190e750b2f300e0bf077ca5dd2c2b1a9670b77f1eaadb5e3920755b.gz f/2cb140f9f886aa9ec10801049ca170fe5109873e9511eca3e7aea3ef587e519b.gz phttpget: Connection failure gunzip: stdin: unexpected end of file metadata is corrupt. No proxies in use Can anyone tell me what's wrong here? Thanks, Spil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling Sendmail?
Andreas Widerøe Andersen wrote: I have some problems with Sendmail (ref an older thread I posted): pid 72284 (sendmail), uid 0: exited on signal 11 pid 72505 (sendmail), uid 0: exited on signal 11 pid 72672 (sendmail), uid 0: exited on signal 11 This happens every 30 minutes. It started after I upgraded from 4.7 to 4.11p19. Is there some easy way I can reinstall sendmail completely getting it back to the way it is when installing a fresh system? I don't want to tweak and dig too much with this anymore so I rather start from scratch. I know it's part of the base system, but is there some way to do this? Thanks, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can recompile sendmail, you'll have to have the kernel sources installed though: # cd /usr/src/lib/libsm; make clean; make obj; make depend; make # cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make # cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make install you might want to read Jonathan Horne's page about configuring sendmail ( among other services ) : http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Accessing FreeBSD partition from Windows with dual boot
I'm looking for a way to access (read only is fine) a FreeBSD partition on my Windows installation on a dual boot notebook (so Samba won't do the trick) I read a couple of things after some googling about CrossFS which basically should be a UFS driver for windows. Unfortunately all these articles / posts are from 2001 / 2002 and the link that's in them no longer works: http://crossfs.bizland.com Does any one know if this project still exists? and if not if there is any other alternative to use? Martin. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
caddr_t or void *
Hello caddr_t which is a typedef for char* seems to be used quite often in the kernel code. Would void* be preferable to caddr_t ? Thanks for any insight on this. -- oo@@oo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with portsnap phttpget: Connection failure
Obviously a temporary problem, now works as expected. On 10/08/06, Spil Oss [EMAIL PROTECTED] wrote: Since today, I'm having problems with portsnap. # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... /usr/sbin/portsnap: cannot open fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz: No such file or directory metadata is corrupt. Tried again # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... gunzip: stdin: unexpected end of file metadata is corrupt. Problem exists with both portsnap1 and portsnap2 (but different error) And once more # portsnap fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... gunzip: stdin: unexpected end of file metadata is corrupt. # df /var Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1d 1967054 181126 162856410%/var No space problem # ls -l /var/db/portsnap/*.gz -rw-r--r-- 1 root wheel 1134 Aug 10 13:36 fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz # portsnap --debug fetch Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org Fetching snapshot tag... latest.ssl100% of 256 B 59 kBps done. Fetching snapshot metadata... 3724dd494decf14ddcc583f5f9c2d7a497f28cb1bb3d0a100% of 299 B 69 kBps done. Updating from Wed Aug 9 15:09:42 CEST 2006 to Thu Aug 10 12:15:48 CEST 2006. Fetching 4 metadata patches... /usr/libexec/phttpget portsnap1.FreeBSD.org tp/1aed4d0ae32332aea29cd95b7ba5c277e36d09b1f96f17cfb1fe132f5d9c4703-fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz tp/d7cba1bbc350156732d0dd634d7d5310267e9c2f0bb9a8cb999b39b32807fc1e-b447b00c87fe1b42d182544471c2b1c8385cc4cd6fffb39bf86c9a9f4afc29e9.gz tp/b9fa1bde52f289b97c7911e99e955eaded61ecd9bf3a05b0ea415750dabe3ee1-9b2dbcdf9190e750b2f300e0bf077ca5dd2c2b1a9670b77f1eaadb5e3920755b.gz tp/f58f4b42795b7d6bc48cf2173dc0842710aaf09bf6922920ac90323f9b3ef9a3-2cb140f9f886aa9ec10801049ca170fe5109873e9511eca3e7aea3ef587e519b.gz phttpget: Connection failure done. Applying metadata patches... done. Fetching 4 metadata files... /usr/libexec/phttpget portsnap1.FreeBSD.org f/fb976300e61401bd3cb73734a2669fae697b0abe0157881a3e17662aca11814e.gz f/b447b00c87fe1b42d182544471c2b1c8385cc4cd6fffb39bf86c9a9f4afc29e9.gz f/9b2dbcdf9190e750b2f300e0bf077ca5dd2c2b1a9670b77f1eaadb5e3920755b.gz f/2cb140f9f886aa9ec10801049ca170fe5109873e9511eca3e7aea3ef587e519b.gz phttpget: Connection failure gunzip: stdin: unexpected end of file metadata is corrupt. No proxies in use Can anyone tell me what's wrong here? Thanks, Spil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Almost ready with diskless setup
I used this article: http://www.onlamp.com/pub/a/bsd/2004/09/30/diskless_clients.html to create a diskless configuration. Here is my /etc/rc script for the clients: #!/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin; export PATH boot_ip=`kenv boot.netif.ip` mount -t nfs 172.16.0.1:/var/diskless/${boot_ip}/etc /etc mount -t nfs 172.16.0.1:/var/diskless/${boot_ip}/var /var #mount -t nfs 172.16.0.1:/usr /usr swapon /var/swap rm -rf /var/tmp/*; rm -rf /var/tmp/.*; . /etc/rc2 exit 0 The /etc/rc2 is different for each client. Here is an example for 172.16.0.101: #!/bin/sh mount -a /sbin/ldconfig -elf /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/sbin/syslogd exit 0 Finally, here is my fstab: # DeviceMountpoint FStype Options DumpPass 172.16.0.1:/diskless/ nfs ro 0 0 172.16.0.1:/var/diskless/172.16.0.101/etc /etcnfs rw 0 0 172.16.0.1:/var/diskless/172.16.0.101/var /varnfs rw 0 0 172.16.0.1:/usr/usrnfs ro 0 0 When booting this machine, I get this screen: http://messias.selfip.org/download/disklessboot.jpg Questions: 1. mount_nfs is complaining. It cannot update mounttab. However, the mounttab is in /var/db and /var is not mounted yet. Is there a nice way to supress these annoying messages? 2. syslogd tells that it cannot open the pid file. (Operation not supported) However, it creates /var/log/syslogd.pid. But that file is empty. What can be the problem? Last (silly) question: when I boot the diskless system, it checks the login name but it does not ask for a password. I can login with any user, without providing a password. I guess this is because I replaced the standard /etc/rc script. Is there a simple command that I can use to switch to multiuser mode and have the system do the authentication? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessing FreeBSD partition from Windows with dual boot
Martin Miedema wrote: I'm looking for a way to access (read only is fine) a FreeBSD partition on my Windows installation on a dual boot notebook (so Samba won't do the trick) Maybe this will do: http://ffsdrv.sourceforge.net/ I haven't tried it myself, though, so I can't really recommend that you use it on a real file system with real data, until you've done some testing. Svein Halvor signature.asc Description: OpenPGP digital signature
Computer Blue Book for Dealers
[TopPSO.gif] IBM, HP, Compaq, Dell, Toshiba, Cisco, 3Com, Epson, Samsung, Sony and Ma= ny More Laptops, Desktops, Servers, Printers, Networking and Po= int of Sale More [1][ScreenPSO.gif] [2][ButtonMF.g=] Dealers Resellers Brokers Service Companies= /p Maintenance Companies [3][BuySell.gif] [4][USEMAP:Fre=] [3Dh=] Search Inven= tory [marketi=] Send Requests For Quotes [marketi=] Contact Vendors Directly [marketi=] Access Classifieds [marketi=] For Sale [marketi=] Want to Buy Over 1.5 million part searches a = month Over 1.3 million lines of Inventory, 1000's of Buyers, 100's of Stocking Vend= ors, Contact us today [EMAIL PROTECTED] 888-265-3302 (U.S. = Canada) 1-450-677-7399 (International) Please do not reply to this email . If you have = any comments or questions regarding this message or the PowerSource Onlin= e service, please send an email to: [EMAIL PROTECTED] or visit us online: [7]www.powersourceonline.c= om This is an advertisement from PowerSource= Online. If you no longer wish to receive news and special o= ffers from PowerSource Online, [8]unsubscribe . PowerSource Online 1010 de Sérigny Suite 800 - Longueuil, CANADA - J4K 5G7 Tel: 1(888) 265-3302 - International: 001 (450) 677-7399 [3D] References 1. 3Dhttp://re=/ 2. 3Dhttp://resp.powersourceonline.com/rspbp/ 3. 3Dhttp://resp.powersou=/ 4. LYNXIMGMAP:file://localhost/tmp/3D#Map 5. 3Dmailto:[EMAIL PROTECTED] 6. 3Dmailto:[EMAIL PROTECTED] 7. file://localhost/tmp/3D 8. 3Dhttp://resp.powersourceonline.c=/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: caddr_t or void *
Only OpenSource wrote: caddr_t which is a typedef for char* seems to be used quite often in the kernel code. Would void* be preferable to caddr_t ? No. Having to cast (void *)'s to the actual data type every time you dereference them would be highly annoying. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: caddr_t or void *
On Thursday 10 August 2006 14:56, Chuck Swiger wrote: Only OpenSource wrote: caddr_t which is a typedef for char* seems to be used quite often in the kernel code. Would void* be preferable to caddr_t ? No. Having to cast (void *)'s to the actual data type every time you dereference them would be highly annoying. My C's a bit rusty, but isn't it the other way around. You don't need to cast (void *) so it suppresses useful type warnings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: caddr_t or void *
On Thursday 10 August 2006 15:16, RW wrote: On Thursday 10 August 2006 14:56, Chuck Swiger wrote: Only OpenSource wrote: caddr_t which is a typedef for char* seems to be used quite often in the kernel code. Would void* be preferable to caddr_t ? No. Having to cast (void *)'s to the actual data type every time you dereference them would be highly annoying. My C's a bit rusty, but isn't it the other way around. You don't need to cast (void *) so it suppresses useful type warnings. Sorry, missed the bit about dereferencing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Almost ready with diskless setup
Nagy László wrote: http://www.onlamp.com/pub/a/bsd/2004/09/30/diskless_clients.html This is quite old, things have changed. 1. mount_nfs is complaining. It cannot update mounttab. However, the mounttab is in /var/db and /var is not mounted yet. Is there a nice way to supress these annoying messages? This is a chicken-egg problem - you try to mount a filesystem /var, but nfsclient wants to record the mount in /var/db/mounttab first, and this is not writeable - and shouldn't be as other clients would use the same file. The path to mounttab is hardcoded in the mounttab.h file. The easy solution seems to be to let FreeBSD boot without your custom rc script and use the ones provided in the standard distribution. Then the client will figure out it is diskless and do what is appropriate: The client will create memory file systems for /var and /tmp if these are not writeable. Once you have the writable /var you can mount other nfs partitions easily. As far as I understand this is silly: The point of mounttab is to notify the server on a reboot after a crash. But if the information is stored on a memory file system then it is lost on a crash. There seems to be no way to disable the mounttab. You might really want to share /var among your diskless clients - then you only have one locate database to maintain, by default stored in /var/db. The only thing that cannot be shared AFAIK is /var/run and /var/tmp. You can link these to /tmp. /tmp need not be very big - 1 MB should do - so it may be ok to have that as an memory file system. Then all that remains is to hack mounttab.h to store the mounttab file on /tmp. 2. syslogd tells that it cannot open the pid file. (Operation not supported) However, it creates /var/log/syslogd.pid. But that file is empty. What can be the problem? Are you sure it is created? Check on the server. Anyway, the problem will likely be solved once you get 1) solved. -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
newbie setup
Hi — In setting up FreeBSD 6.1, i don't know what group or member groups to choose. Thank you - Bruce Greene Macs Plus 410 764-8599 [EMAIL PROTECTED] http://www.macsplus.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie setup
Bruce Greene wrote: Hi — In setting up FreeBSD 6.1, i don't know what group or member groups to choose. Thank you - Bruce Greene Macs Plus 410 764-8599 [EMAIL PROTECTED] http://www.macsplus.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] When I set up a user at install, I leave the group alone so the system will automatically create a group for my username and then I add wheel to the member groups so I can su to root. It works for me. Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie setup
On Thu, 10 Aug 2006 11:00:27 -0400 Bruce Greene [EMAIL PROTECTED] wrote: In setting up FreeBSD 6.1, i don't know what group or member groups to choose. during the install ? you can put yourself in group staff and if you want to use su - later on, then put yourself in group wheel -- grtjs, albi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
local user authentification with ldap
Hello all, I had setup a ldap server and now, I want to authenticate the local user of my freebsd 6.1. I had try to found some help with google, but I don't find any solution. I need some help please... Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessing FreeBSD partition from Windows with dual boot
On 8/10/06, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: Martin Miedema wrote: I'm looking for a way to access (read only is fine) a FreeBSD partition on my Windows installation on a dual boot notebook (so Samba won't do the trick) Maybe this will do: http://ffsdrv.sourceforge.net/ I haven't tried it myself, though, so I can't really recommend that you use it on a real file system with real data, until you've done some testing. I have used that driver few times for accessing FreeBSD partitions. Works great. At least I haven't encountered any real problems with it. The usage of the management tool was a bit tricky at first, but once you get to know the numbering scheme, there should be no problems. The driver creates a drive letter under the Windows system and all files are accessible via normal File Explorer functions. The management tool is used to load the driver and mount/unmount partitions (there is no installation of any drivers to the operating system, which is great IMHO). -Matti ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: newbie setup
Bruce Greene wrote: Hi In setting up FreeBSD 6.1, i don't know what group or member groups to choose. Thank you - Bruce Greene Macs Plus 410 764-8599 [EMAIL PROTECTED] http://www.macsplus.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] When I set up a user at install, I leave the group alone so the system will automatically create a group for my username and then I add wheel to the member groups so I can su to root. It works for me. That is pretty much it. After you have done a few systems, you will tend to have some groups you commonly use and you will probably want to keep to that habit as that can make some things easier when you move things around. But, for the beginning, just take what it gives you and then, like Jeff says, pick one regular login and add wheel to its list of groups it is a member of so you can do the su thing. jerry Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Accessing FreeBSD partition from Windows with dual boot
On Thursday 10 August 2006 09:22, Svein Halvor Halvorsen wrote: Martin Miedema wrote: I'm looking for a way to access (read only is fine) a FreeBSD partition on my Windows installation on a dual boot notebook (so Samba won't do the trick) Maybe this will do: http://ffsdrv.sourceforge.net/ I haven't tried it myself, though, so I can't really recommend that you use it on a real file system with real data, until you've done some testing. These also looks promising (the first two hits from a ufs windows Google search): http://ufs2tools.sourceforge.net/ http://www.shareup.com/UFS_Explorer-download-27543.html The former is BSD-licensed and the latter is shareware but potentially more full-featured. I haven't used either. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: local user authentification with ldap
Am 10.08.2006 um 17:28 schrieb Jean Chiappini: Hello all, I had setup a ldap server and now, I want to authenticate the local user of my freebsd 6.1. I had try to found some help with google, but I don't find any solution. Check out ports net/nss_ldap and security/pam_ldap. Stefan -- Stefan Bethke [EMAIL PROTECTED] Fon +49 170 346 0140 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reinstalling Sendmail?
You should check your log file and see why sendmail is exiting. -Derek At 06:33 AM 8/10/2006, Andreas Widerøe Andersen wrote: I have some problems with Sendmail (ref an older thread I posted): pid 72284 (sendmail), uid 0: exited on signal 11 pid 72505 (sendmail), uid 0: exited on signal 11 pid 72672 (sendmail), uid 0: exited on signal 11 This happens every 30 minutes. It started after I upgraded from 4.7 to 4.11p19. Is there some easy way I can reinstall sendmail completely getting it back to the way it is when installing a fresh system? I don't want to tweak and dig too much with this anymore so I rather start from scratch. I know it's part of the base system, but is there some way to do this? Thanks, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New Web Server
Hello all, I am building a new web server= , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p= orts. However, Apache is not picking up my index.php file. Is there a step = somewhere that I have missed? I have added A= ddType application/x-httpd-php .php .phtml AddType = application/x-httpd-php-source .phps to the httpd.conf f= ile, still no luck. Thanks in advance. RC = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Top not showing cpu usage even remotely accurately
On Thu, 10 Aug 2006, Chuck Swiger wrote: Ian Smith wrote: But since running 5.x (5.5-STABLE since 1st Aug) top can show 0.0% idle but the cpu usages shown don't add up to much of a fraction of 100%. [ ... ] Any ideas why top hasn't much of a clue about what's consuming cpu? Sure, if you're running a parallel make, that will be starting up lots of short-lived compiler processes which exit quickly; top can only display the CPU load for those processes which are still running at the time it samples the system. Spot on, thanks Chuck. lastcomm showed a couple of thousand processes run per minute during several hours of 'make index'; /var/account/acct was nearly 10MB for that time. Only one gcc but lots of sh, perl, grep, awk, sed and such each running 1 second, being a texty sort of job. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? I believe so... unless you've built it statically they are... RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
When I add them to the conf file and try to start the web server, it says: Cannot add module via name 'mod_php5.c': not in list of loaded modules Does this help out at all? RC -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:37 AM To: Clark, Ronald Cc: Javier Henderson; [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: New Web Server Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? I believe so... unless you've built it statically they are... RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
The text you cut-n-pasted has AblankddType, is that how it appears on the httpd.conf file? Did you restart Apache after changing httpd.conf? (apparently you have, since it picked up the index.php change). You may need to add a LoadModule as well. -jav On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote: Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
AblankddType = typo on my part. Sorry. In the conf file it is AddModule mod_php5.c. I have added the LoadModule as well and get a similar error message. So I try to look for the files themselves like this: #find / -name mod_php5.c It finds nothing. Same results with looking for libphp5.so. Is there an issue with the install or did I miss a step? Is there a recipe for setting up a server, something like FreeBSD-Apache-Mysql-PHP for dummies? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:38 AM To: Clark, Ronald Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: New Web Server The text you cut-n-pasted has AblankddType, is that how it appears on the httpd.conf file? Did you restart Apache after changing httpd.conf? (apparently you have, since it picked up the index.php change). You may need to add a LoadModule as well. -jav On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote: Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount Point permissions
On Thursday 10 August 2006 00:50, Micah wrote: One possible workaround is to use msdosfs instead of ufs. Seems to work fine for my regular user account. But I agree that floppy support sucks. Try accidentally mounting a write-protected floppy as rw. You get a flood of errors that cannot be cleared without a reboot. Micah: If we are intent to ween people off Micro$h|t, we have to take care of the little things. It's hard to sell an alternative, when that alternative barfs on a simple thing like Floppy-Use. The big stuff is in place already; M$ cpmpatibilitynin WP, Spread-sheets, mail... etc. is already far better than M$. It is the small crap, liike Floppy drive use, which makes the conversion a problem! The open-source community have to get their act together, and realize that main-stream users will gladly switch to FreeBsd/Linux when and ONLY when all the basics are working. For a geek, these problems are trivial; for a WindowZ idiot, these thjings are what kills a sale, and maintains Wind0WZ dominance in user-space. Bob pgpeCKO0kLCE8.pgp Description: PGP signature
Re: Once CPU idle at all times
On Thu, Aug 10, 2006 at 06:08:00AM +, Duane Hill wrote: I know this was asked once before. I can't recall if it had received a response or not. If so, tell me to go digging. Otherwise, I have a server that is a dual Zeon 2.8 and I have the hyperthreading enabled within the bios. When I use top, it shows one of the CPU's as apparently not being used. Why is this? 13 root 171 52 0K 8K CPU1 0 0:00 99.85% idle: cpu1 -- This one 11 root 171 52 0K 8K RUN 3 383.1H 61.38% idle: cpu3 14 root 171 52 0K 8K RUN 0 403.4H 61.13% idle: cpu0 12 root 171 52 0K 8K RUN 2 333.4H 49.95% idle: cpu2 Hyperthreading is not enabled in FreeBSD (it's off by default)? On some systems the sysctl for disabling HTT doesn't actually work properly and leaves some of the logical CPUs active. Kris pgpkMCcSjjrz9.pgp Description: PGP signature
RE: New Web Server
When I add them to the conf file and try to start the web server, it says: Cannot add module via name 'mod_php5.c': not in list of loaded modules Does this help out at all? I have this in my httpd.conf in this order... LoadModule php5_modulelibexec/apache/libphp5.so AddModule mod_php5.c AddType application/x-httpd-php .php .php3 .php4 AddType application/x-httpd-php-source .phps The php module went into /usr/local/libexec/apache/libphp5.so All from ports... apache+mod_ssl-1.3.34+2.8.25_3 The Apache 1.3 webserver with SSL/TLS functionality php5-5.1.4 PHP Scripting Language (Apache Module and CLI) RC -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:37 AM To: Clark, Ronald Cc: Javier Henderson; [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: New Web Server Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? I believe so... unless you've built it statically they are... RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
RC, On Thu, Aug 10, 2006 at 11:40:52AM -0500, Clark, Ronald wrote: It finds nothing. Same results with looking for libphp5.so. Is there an issue with the install or did I miss a step? Is there a recipe for setting up a server, something like FreeBSD-Apache-Mysql-PHP for dummies? In your first e-mail you mentioned you installed the php5-extensions port. libphp5.so comes from the mod_php5 port. That's the port you need to install to use mod_php with Apache. You can find information on Apache and the various modules available for it in Chapter 25 of the FreeBSD Handbook: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
Ron Clark wrote: Hello all, I am building a new web server= and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p=rts. However, Apache is not picking up my index.php file. Is there a step =omewhere that I have missed? I have added A=dType application/x-httpd-php .php .phtml AddType =pplication/x-httpd-php-source .phps to the httpd.conf f=le, still no luck. Thanks in advance. RC =0D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I wrote a tutorial for this a while back and looked through it again when I saw your post. It is located here: http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql-and-php The only other thing I saw in my tutorial that you didn't mention here is to add index.php to the DirectoryIndex directive within your httpd.conf file. Try that, if you haven't already, and let us know how it goes. Thanks, Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
Clark, Ronald wrote: AblankddType = typo on my part. Sorry. In the conf file it is AddModule mod_php5.c. I have added the LoadModule as well and get a similar error message. So I try to look for the files themselves like this: #find / -name mod_php5.c It finds nothing. Same results with looking for libphp5.so. Is there an issue with the install or did I miss a step? Is there a recipe for setting up a server, something like FreeBSD-Apache-Mysql-PHP for dummies? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:38 AM To: Clark, Ronald Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: New Web Server The text you cut-n-pasted has AblankddType, is that how it appears on the httpd.conf file? Did you restart Apache after changing httpd.conf? (apparently you have, since it picked up the index.php change). You may need to add a LoadModule as well. -jav On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote: Ok, I just tried that, and it wants to open index.php with a text editor. It is acting like Apache does not know how to handle a *.php file. In my httpd conf, http://www.php.net says to add LoadMudule and AddMudule statements. Are those still needed? RC -Original Message- From: Javier Henderson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:27 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; Clark, Ronald Subject: Re: New Web Server On Aug 10, 2006, at 12:20 PM, Ron Clark wrote: Hello all, I am building a new web server , and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the p orts. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added A ddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf f ile, still no luck. Does it work if you append /index.php to the URL? If so, add index.php to your DirectoryIndex stanza. -jav __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] In your original post you say you installed PHP (php5-extensions). Did you actually install PHP5 or just the extensions? PHP5 is at /usr/ports/lang/php5 and the extensions are at /usr/ports/lang/php5-extensions. I'm not sure if compiling the later will install the actual PHP5 port or not... In my tutorial (http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql-and-php) I installed PHP5 then the extensions and it worked fine. Jeff Cross http://www.averageadmins.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Playing Audio CDs
I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? Also, whats the most commonly used or popular CD + DVD burning software used in BSD? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Intel 945G driver
I have a HP 7600 desktop with FBSD 6. While setting up the system i did not find an Intel 945G in the listed options to select a video card. Where can i find this? Thanks, Viswas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Finding IP Addresses (OT)
Hi; I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. However, my ISP is DirecWay bouncing off a satellite. I've got a sample IP address from /var/log/messages and I'm sure over time I could collect a truckload, but I'd still miss some. Is there someplace on the Web that has those ranges of IP addresses posted that the big companies use? TIA, beno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Web Server
On 10 Aug 2006, at 18:33, Jeff Cross wrote: In your original post you say you installed PHP (php5-extensions). Did you actually install PHP5 or just the extensions? PHP5 is at /usr/ports/lang/php5 and the extensions are at /usr/ports/lang/php5-extensions. I'm not sure if compiling the later will install the actual PHP5 port or not... In my tutorial (http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql- and-php) I installed PHP5 then the extensions and it worked fine. Yes I found that I had to install /usr/ports/lang/php5 and then the php5-extensions port. Then it worked for me. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox amd mailto:
Jerry McAllister wrote: Hi All, I recently installed Firefox 1.5 on a FreeBSD 6.1 system. Mostly it seems to work fine with some apparent finickyness about odd character sets. Since it does not include Email, I also installed Thunderbird which works as its own standalone. But, when I am looking at a web page that has a 'mailto:' in a tag and I click on the link to send a message to whoever, nothing happens - presumably because there is no mail handler in Firefox. So, how, in FreeBSD 6.xxx do I deal with this? Can I make it call up something like a plugin or whatever to handle that mailto: Email item.I haven't found anything that looks like a configuration item for such as that. Thanks for any help you can give, jerry use about:config in Firefox and set network.protocol-handler.app.mailto to /usr/X11R6/bin/thunderbird Wow, thank you very much. It was interesting to learn about about:config I fished around on the Mozilla site for quite a while and didn't really find anything of value and a post to a forum just got me a link to some MS-Win setup and some Gnome and KDE configuration notes. At first, there was no preference in about:config on my Firefox called: 'network.protocol-handler.app.mailto' but almost by accident while poking around, I learned I could bring up a box to add one by right clicking and then clicking on 'New', so now I have it. I also had to turn on: 'network.protocol-handler.expose.mailto' which is a boolean and just flips on a double-click. But, now it works. So, thanks, jerry There are similar settings to get thunderbird to open http links in firefox. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
beno wrote: Hi; I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. However, my ISP is DirecWay bouncing off a satellite. I've got a sample IP address from /var/log/messages and I'm sure over time I could collect a truckload, but I'd still miss some. Is there someplace on the Web that has those ranges of IP addresses posted that the big companies use? TIA, whois Lookup the ip with whois you'll get a network segment that has been delegated. You ISP may have multiple such segments, but it get's you further faster than finding individual ip's. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re: Finding IP Addresses (OT)
On 8/10/06, beno [EMAIL PROTECTED] wrote: Hi; I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. However, my ISP is DirecWay bouncing off a satellite. I've got a sample IP address from /var/log/messages and I'm sure over time I could collect a truckload, but I'd still miss some. Is there someplace on the Web that has those ranges of IP addresses posted that the big companies use? TIA, beno Hi, In Europe there is ripe.net. Try do this command: # whois -h whois.ripe.net one.of.your.ips Rgds, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Your confirmation is needed (ok 1123525)
Your email address 'freebsd-questions@freebsd.org' has been submitted to be unsubscribed from the 'surfnetkids' mailing list. This unsubscribe command requires your confirmation that you want to be unsubscribed. To confirm that you do want to unsubscribe, reply to this message so that the words ok 1123525 appear somewhere on the subject line. Make sure that your reply message is addressed to [EMAIL PROTECTED] You will receive notification that your confirmation has been received, and that you have been unsubscribed. If you do not want to unsubscribe, do nothing. You will be kept on the mailing list. --- Return-Path: [EMAIL PROTECTED] Received: from mailin-01.netatlantic.com ([69.25.193.201]) by lists.surfnetkids.com with SMTP (Lyris ListManager WIN32 version 7.8g); Thu, 10 Aug 2006 14:31:36 -0400 Received: from 58.22.141.22 ([58.22.141.22]) by mailin-01.netatlantic.com (8.12.11/8.12.11) with SMTP id k7AIVK0j039055 for [EMAIL PROTECTED]; Thu, 10 Aug 2006 14:31:29 -0400 (EDT) (envelope-from [EMAIL PROTECTED]) Received: from by ; Thu, 10 Aug 2006 19:23:34 +0100 Message-ID: @ From: Harkley [EMAIL PROTECTED] Reply-To: Hassel [EMAIL PROTECTED] To: surfnetkids-request Subject: Date: Thu, 10 Aug 2006 16:28:34 -0200 X-Mailer: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=-- X-Priority: 3 X-MSMail-Priority: Normal X-Scanned-By: MIMEDefang 2.51 on 69.25.193.201 # Mail sent to leave-surfnetkids-1123525m was converted to these commands: unsubscribe surfnetkids freebsd-questions@freebsd.org confirm end # This is the text of the message that triggered the action: Return-Path: [EMAIL PROTECTED] Received: from mailin-01.netatlantic.com ([69.25.193.201]) by lists.surfnetkids.com with SMTP (Lyris ListManager WIN32 version 7.8g); Thu, 10 Aug 2006 14:31:36 -0400 Received: from 58.22.141.22 ([58.22.141.22]) by mailin-01.netatlantic.com (8.12.11/8.12.11) with SMTP id k7AIVK0j039055 for [EMAIL PROTECTED]; Thu, 10 Aug 2006 14:31:29 -0400 (EDT) (envelope-from [EMAIL PROTECTED]) Received: from by ; Thu, 10 Aug 2006 19:23:34 +0100 Message-ID: @ From: Harkley [EMAIL PROTECTED] Reply-To: Hassel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Online Advertizing solution Date: Thu, 10 Aug 2006 16:28:34 -0200 X-Mailer: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=-- X-Priority: 3 X-MSMail-Priority: Normal X-Scanned-By: MIMEDefang 2.51 on 69.25.193.201 Content-Type: text/plain; Content-Transfer-Encoding: base64 R3Jvd3RoIFBsYW4gZm9yIHlvdToNCg0KLSAgUHJvdmlkZSBlbWFpSS1hZGRyZXNzZXMgaW4g YWNjb3JkYW5jZSB3aXRoIHlvdXIgb3JkZXIuDQoNCi0gIFByb3ZpZGUgZW1haUktYWRkcmVz c2VzIGZvciB5b3Ugb3JkZXIsIG1haWwgb3V0IHlvdXIgZW1haUkgDQogICBtZXNzYWdlcyBm b3IgeW91Lg0KDQoqIFdlIGFsc28gc3VwcGx5IG1haWxpbmcgdG9vbHMgKFNlcnZlcikuDQoN Cg0KDQpCdXNpbmVzcyBNYW5hZ2VyDQpCdXNpbmVzc3pANzc1LmNvbQ0KDQoNCg0KRjBSICBs ZWF2ZS1zdXJmbmV0a2lkcy0xMTIzNTI1bUBsaXN0cy5zdXJmbmV0a2lkcy5jb20uDQpOMFQg QUdBSU46ICBOMFRAR01BSUwuQ09NDQo= -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 945G driver
I have a HP 7600 desktop with FBSD 6. While setting up the system i did not find an Intel 945G in the listed options to select a video card. Where can i find this? Thanks, Viswas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i have an hp 7100, and i just chose the 810i in my xorg.conf. works fine. [EMAIL PROTECTED] ~]$ pciconf -lv snip [EMAIL PROTECTED]:2:0: class=0x03 card=0x3006103c chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class= display subclass = VGA snip and from my xorg.conf: Section Device Identifier Intel 810 Driver i810 # VideoRam8192 # Insert Clocks lines here if appropriate EndSection if your pciconf output is similar to mine, then those settings should treat you pretty well. hth, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
On Thu, Aug 10, 2006 at 02:18:48PM -0400, beno wrote: Hi; I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. However, my ISP is DirecWay bouncing off a satellite. I've got a sample IP address from /var/log/messages and I'm sure over time I could collect a truckload, but I'd still miss some. Is there someplace on the Web that has those ranges of IP addresses posted that the big companies use? In ipfw one can use the address me which means address of any interface on this machine. I don't fully understand what you are trying to do but am guessing me or similar will be of help. Another angle would be to whois w.x.y.z as that appears to be your current IP address. Stripping out the excess this line is of interest: NetRange: w.(x-1).0.0 - w.x.255.255 The above is one of possibly many IP blocks assigned to your ISP. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Almost ready with diskless setup
2. syslogd tells that it cannot open the pid file. (Operation not supported) However, it creates /var/log/syslogd.pid. But that file is empty. What can be the problem? After making another diskless distribution, I found out that the 'Operation not supported' error comes out because of calling flock() on nfs. For example: --- sendmail_submit: /etc/mail/aliases.db not present, generating cannot flock(/etc/mail/aliases, fd=3, type=6, omode=4002, euid=0): Operation not supported -- The same message (Operation not supported) comes when creating the pid file /var/log/syslogd.pid. The /var/log filesystem is writeable. Is it possible that flock() is not implementedon nfs? :-( Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using putty as a ssh client on FreeBSD
You are trying to automatically login and either the key is bad or missing. You should try creating a new key. -Derek At 10:13 AM 8/9/2006, Josh Paetzel wrote: I'm trying to use putty on my FBSD 6.1-R box to access another FreeBSD box. I can get in fine using the command line ssh client but when I attempt to use putty I get the following error: Unable to use key file /usr/home/jpaetzel/.ssh/id_rsa (OpenSSH SSH-2 private key) Can anyone point out to me what I am doing wrong? -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: local user authentification with ldap
Here is a guide which I used. http://www.cultdeadsheep.org/FreeBSD/docs/ Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html Pramod Venugopal [EMAIL PROTECTED] On Aug 10, 2006, at 8:28 AM, Jean Chiappini wrote: Hello all, I had setup a ldap server and now, I want to authenticate the local user of my freebsd 6.1. I had try to found some help with google, but I don't find any solution. I need some help please... Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem compliling new kernel for SCTP
Iam trying to install SCTP enabled Apache server and Mozilla browser on FreeBSD 6.0 These are things that i have done: 1) I downloaded the kernel patch from sctp.org and applied it. 2) Included the line options SCTP in MY kernel source code at /usr/src/sys after making a copy of GENERIC and called it MYKERNEL 3) ran config to generate kernel source code Problem: this gives error, device mfi and device bce are unknown, so i commented out device mfi and device bce. 3) again ran config to generte kernel source code, which was successful. changed into the /usr/src/compileMYKERNEL. 4) Ran the make depend command. Problem: Now it gives the following error: ERROR(1) ln -s /usr/src/sys/i386/compile/MYKERNEL/opt_bce.h opt_bce.h ln: opt_bce.h: File exists *** Error code 1 Stop in /usr/src/sys/modules/bce. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/MYKERNEL. 5) Then I copied /usr/src/sys/kern into /usr/include/sys and tried doing make buildworld PROBLEM: This gives the following error: ERROR (2) /usr/src/usr.bin/netstat/mbuf.c: In function `mbpr': /usr/src/usr.bin/netstat/mbuf.c:158: error: `MBUF_JUMBOP_MEM_NAME' undeclared (first use in this function) /usr/src/usr.bin/netstat/mbuf.c:158: error: (Each undeclared identifier is reported only once /usr/src/usr.bin/netstat/mbuf.c:158: error: for each function it appears in.) /usr/src/usr.bin/netstat/mbuf.c:171: error: `MBUF_JUMBO9_MEM_NAME' undeclared (first use in this function) /usr/src/usr.bin/netstat/mbuf.c:184: error: `MBUF_JUMBO16_MEM_NAME' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/usr.bin/netstat. *** Error code 1 Stop in /usr/src/usr.bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. REQUIRE HELP with the following: 1) HOw dO i enable FREEBSD kernel with SCTP? 2) Am i moving in the right direction? Are the steps followed above corect? 3) How do i get rid of errors (1)and (2)? I would really appreciate any kind of assistance. thanks regards swapna ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
All, I have started over. I am back to this level: FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug 1 17:59:18 CDT 2006 With MySQL server 4.1 installed and working. Now to build Apache13-modssl and hopefully add PHP to it. However, I cannot find mod_php5 in ports. Is this port deprecated and is now gone? If this is the case, how should I build this out? I have read all of your responses up to this point, and thank you all for responding. The responses are for the most part what I remember from building my last web server some months ago, but now it seems my old methods may be obsolete or need refining. Please continue to help out, as it is really appreciated. RC From: Ron Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:21 AM To: freebsd-questions@freebsd.org Cc: Clark, Ronald Subject: New Web Server Hello all, I am building a new web server, and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the ports. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf file, still no luck. Thanks in advance. RC This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
I have started over. I am back to this level: FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug 1 17:59:18 CDT 2006 With MySQL server 4.1 installed and working. Now to build Apache13-modssl and hopefully add PHP to it. However, I cannot find mod_php5 in ports. Is this port deprecated and is now gone? If this is the case, how should I build this out? I have read all of your responses up to this point, and thank you all for responding. The responses are for the most part what I remember from building my last web server some months ago, but now it seems my old methods may be obsolete or need refining. Please continue to help out, as it is really appreciated. Try /usr/ports/lang/php5 Then pick the apache module... that should pick up apache as well... -philip RC From: Ron Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:21 AM To: freebsd-questions@freebsd.org Cc: Clark, Ronald Subject: New Web Server Hello all, I am building a new web server, and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the ports. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf file, still no luck. Thanks in advance. RC This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
Erik Nørgaard wrote: whois Lookup the ip with whois you'll get a network segment that has been delegated. You ISP may have multiple such segments, but it get's you further faster than finding individual ip's. Thanks. I also realized I should do the same for the Internet cafe I work at when the power's out. Since I live in the Dominican Republic (although bounce off a satellite that thinks I'm in the states), that's a little more problematic. What do you suggest? I tried these combinations with no luck: whois -c do verizon.net.do whois -d verizon.net.do TIA. beno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Searching Ports - possible problem
Fellow FreeBSD Enthusiasts, While researching a couple of Searching For Ports tips to send to a fellow new FreeBSD user I noticed an anomaly. The port in question was mod_php5. One would expect searching for mod_php via the search form on the ports web page or make search name='mod_php' in /usr/ports to list mod_php4 and mod_php5. Neither show up. Where do the name and keywords for ports come from? Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: New Web Server
Philip, You are the man! Big Thank you. It is working now and I am on my way to working out my presentation for either tomorrow or early next week. Ron -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 3:39 PM To: Clark, Ronald Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: New Web Server I have started over. I am back to this level: FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug 1 17:59:18 CDT 2006 With MySQL server 4.1 installed and working. Now to build Apache13-modssl and hopefully add PHP to it. However, I cannot find mod_php5 in ports. Is this port deprecated and is now gone? If this is the case, how should I build this out? I have read all of your responses up to this point, and thank you all for responding. The responses are for the most part what I remember from building my last web server some months ago, but now it seems my old methods may be obsolete or need refining. Please continue to help out, as it is really appreciated. Try /usr/ports/lang/php5 Then pick the apache module... that should pick up apache as well... -philip RC From: Ron Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:21 AM To: freebsd-questions@freebsd.org Cc: Clark, Ronald Subject: New Web Server Hello all, I am building a new web server, and have gotten Mysql, Apache and PHP (php5-extensions) loaded from the ports. However, Apache is not picking up my index.php file. Is there a step somewhere that I have missed? I have added AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps to the httpd.conf file, still no luck. Thanks in advance. RC __ __ This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This email is intended only for the use by the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, copying or distribution of this email or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and deleting it from your computer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_ntfs
I try mount my windows partition as following mount_ntfs -C ISO-8859-2 -u anuser -g ganuser -m 540 /dev/ad0s1 /c but with this is one problem - files are set execution flag e.g -r-xr- 0 anuser ganuser 672 Jan 8 2006 file.txt folders are ok and I have acces to folders. dr-xr- 0 anuser ganuser 0 Jul 20 22:28 samba How I should mount this partition to obtain on files no execution flag e.g. -r--r- 0 anuser ganuser 672 Jan 8 2006 file.txt (or how set right acces something like this -r-Xr- ? X - only on folders) but on folders it should be as before. Is it possible with mount_ntfs? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
beno wrote: Erik Nørgaard wrote: Lookup the ip with whois you'll get a network segment that has been delegated. You ISP may have multiple such segments, but it get's you further faster than finding individual ip's. Thanks. I also realized I should do the same for the Internet cafe I work at when the power's out. Since I live in the Dominican Republic (although bounce off a satellite that thinks I'm in the states), that's a little more problematic. What do you suggest? I tried these combinations with no luck: whois -c do verizon.net.do whois -d verizon.net.do I'd go for ip/network lookup and not domains as these are more geographically fixed. Also, you can't be certain to get all the ip's by doing domain lookup as some may not be included. I understand you want to restrict access to where you're likely to connect? Networks are delegated by IANA and local registries. Some are then delegated to national registries or directly to major corps. Major corps and regional registries can be found here: http://www.iana.org/assignments/ipv4-address-space but this only lists /8 netblocks. From each regional registry, you can download lists of the delegated network addresses. For the Dom. Rep. you should find your self under ARIN (www.arin.net), which includes US, ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latest however, this doesn't show to whom it has been delageted. In the end, combining the different info should help you: You know one ip, check which block it belongs to that have been assigned by ARIN and use whois to verify. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re: Mount Point permissions
Bob Richards wrote: On Wednesday 09 August 2006 23:23, you wrote: What about chowning the permissions on /dev/fd0 to be root:floppyusers, I went so far as chown bob:bob /dev/fd0 But after newfs get's through with the new floppy, it's chowned to root. add a group floppyusers to /etc/group and make bob a member of that group. Chmod 664 /dev/fd0 Went down that road as well; created a group called mounters, added bob to it no good! I even copied newfs to /home/bob/bin, put home/bob/bin first in the PATH, made that newfs setuid/setgid bob no effect :-( Root wants to own the newly created file system no matter who formatted or created it. Unfortunately I don't have any machines with floppy drives to test with. I personally don't have a need for floppy drives either; but I am setting up a dozen W/S to replace WINDOWZ in an office environment, and people expect to be able to use their floppies (especially with the GUI tools in KDE 3.5). I am hoping to use freebsd instead of Linux; which has become hard to maintain in long-term use because of things like libraries changing so often. The lack of Library-Hell in freebsd is refreshing. I guess floppy-hell is better than Library-hell :-) Floppy support is pretty bad on freebsd! I made the mistake of ejecting a mounted floppy yesterday; total system lock-up! I mean it was power off/on time! Not good! Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I wonder if these will help http://caia.swin.edu.au/reports/041130A/ http://networking.ringofsaturn.com/Unix/FreeBSD-Burning.php I am sure there is also something in the handbook or FAQ but I can't spot it at the mo. Also consider x11-fm/mtoolsfm. This is a graphical utility that allows copying files between hard disk, floppy disk and usb key _without_ mounting the removeable drives. It is limited to fat or fat32 filesystems but it does mean your users won't crash the box when they yank the usb key or floppy without unmounting. I've got this all set up on one box, including cd/dvd burning but it would take a bit of digging to find all the bits. Email me offlist if you want my devfs.rules and snips from other files. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Searching Ports - possible problem
Kevin Monceaux wrote: Fellow FreeBSD Enthusiasts, While researching a couple of Searching For Ports tips to send to a fellow new FreeBSD user I noticed an anomaly. The port in question was mod_php5. One would expect searching for mod_php via the search form on the ports web page or make search name='mod_php' in /usr/ports to list mod_php4 and mod_php5. Neither show up. Where do the name and keywords for ports come from? Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX See /usr/ports/UPDATING, specifically the entry for 20060801. Seems mod_php is part of php now. Do a make config in lang/phpX to see it. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Writing drivers that will work with FreeBSD
Hello; Is there a one stop location where I can get info on writing device drivers that will work with FreeBSD (v6+)? There is a book out called Linux Device Drivers (perhaps I shouldn't mention the publisher). I would be mostly a beginner and presume that some assembler knowledge would be needed. Is there an 'API' type of approach to this? I'm trying to estimate the feasibility of writing a driver for a MIDI interface (I don't know which yet, it would depend on how much data a particular manufacture makes available about a particular device). Thanks in advance JK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Writing drivers that will work with FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jekillen wrote: Hello; Is there a one stop location where I can get info on writing device drivers that will work with FreeBSD (v6+)? There is a book out called Linux Device Drivers (perhaps I shouldn't mention the publisher). I would be mostly a beginner and presume that some assembler knowledge would be needed. Is there an 'API' type of approach to this? I'm trying to estimate the feasibility of writing a driver for a MIDI interface (I don't know which yet, it would depend on how much data a particular manufacture makes available about a particular device). Thanks in advance JK I suggest asking this question on the freebsd-hackers list. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE29Dp6CkrZkzMC68RAr0FAJ9kZeSRppc3fTgp7fe9rYgoM16OQwCdHFqg ggiA423vkvIjuU5SIH5rtCA= =kSXP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS and Kerberos 5 : is it possible / smart?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Peshak wrote: On 8/4/06, Garrett Cooper [EMAIL PROTECTED] wrote: Hi all, Just wondering if it's possible for NIS and Kerberos 5 to work in tandem with one another, such that NIS would handle groups and configuration file management and Kerberos would handle authentication only. Also, is this sort of overkill perhaps, where NIS is not really needed? I basically have 3+ machines (2 desktops, 1 laptop, currently), and I want to keep my credentials and information uniform across the machines as much as possible. The network I would be implementing this on is a low-traffic, private network. On my low-traffic, private network I use a combination of krb5 and hesiod. If you're already running a dns server I would suggest at least a look at hesiod, you wouldn't need to add any new services. Scott H... the only problem with this is that it doesn't look like it's easily enabled out of the box for OSX authentication (assuming that I actually did filesharing via hesoid). - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE29Pi6CkrZkzMC68RAn2HAJ4+4mvliNBjKNPnA8sxxUL0VjlwdACfbsnl Rw/mNOVYi+ZTW5zraIR4cCg= =/G3v -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 945G driver
I am unable to play quake 3 with this driver. In the intel website i found linux drivers. would these help? On 8/11/06, Jonathan Horne [EMAIL PROTECTED] wrote: I have a HP 7600 desktop with FBSD 6. While setting up the system i did not find an Intel 945G in the listed options to select a video card. Where can i find this? Thanks, Viswas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i have an hp 7100, and i just chose the 810i in my xorg.conf. works fine. [EMAIL PROTECTED] ~]$ pciconf -lv snip [EMAIL PROTECTED]:2:0: class=0x03 card=0x3006103c chip=0x25828086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82915G/GV/GL, 82910GL Integrated Graphics Device' class= display subclass = VGA snip and from my xorg.conf: Section Device Identifier Intel 810 Driver i810 # VideoRam8192 # Insert Clocks lines here if appropriate EndSection if your pciconf output is similar to mine, then those settings should treat you pretty well. hth, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pam_krb5
Hello list, I seem to be having a problem with pam_krb5.so. It works fine on console logins. However, when I ssh into my freebsd server from another computer, tickets are not issued. I have uncommented the pam_krb5.so entries in the sshd pam file. Otherwise, the sshd pam file has been left stock. I know I have a working kerberos install because kinit, klist, and kdestory all work. What might I have missed? I have left the sshd_config unchanged. Any guidance would be appreciated. I have even added a host principle for the client and still no effect. The strange thing is that there are no errors being thrown to /var/log/messages or /var/log/security. If anyone else has seen this, I would really like some insight. Thanks Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: local user authentification with ldap
Jean, In case you read French, there are some introductory documents on http://articles.mongeurs.net/magazines/linuxmag65.html and following. There is also a very complete document from INT Evry (int-evry.fr), but I got it as file, I don't have the URL. I am working on the same thing rightnow, that is why I have the documents on my table :) Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount Point permissions
On Thu, Aug 10, 2006 at 11:40:46PM +0100, Chris Whitehouse wrote: Bob Richards wrote: On Wednesday 09 August 2006 23:23, you wrote: What about chowning the permissions on /dev/fd0 to be root:floppyusers, I went so far as chown bob:bob /dev/fd0 But after newfs get's through with the new floppy, it's chowned to root. add a group floppyusers to /etc/group and make bob a member of that group. Chmod 664 /dev/fd0 Went down that road as well; created a group called mounters, added bob to it no good! I even copied newfs to /home/bob/bin, put home/bob/bin first in the PATH, made that newfs setuid/setgid bob no effect :-( Root wants to own the newly created file system no matter who formatted or created it. Unfortunately I don't have any machines with floppy drives to test with. I personally don't have a need for floppy drives either; but I am setting up a dozen W/S to replace WINDOWZ in an office environment, and people expect to be able to use their floppies (especially with the GUI tools in KDE 3.5). I am hoping to use freebsd instead of Linux; which has become hard to maintain in long-term use because of things like libraries changing so often. The lack of Library-Hell in freebsd is refreshing. I guess floppy-hell is better than Library-hell :-) Floppy support is pretty bad on freebsd! I made the mistake of ejecting a mounted floppy yesterday; total system lock-up! I mean it was power off/on time! Not good! Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I wonder if these will help http://caia.swin.edu.au/reports/041130A/ http://networking.ringofsaturn.com/Unix/FreeBSD-Burning.php I am sure there is also something in the handbook or FAQ but I can't spot it at the mo. Also consider x11-fm/mtoolsfm. This is a graphical utility that allows copying files between hard disk, floppy disk and usb key _without_ mounting the removeable drives. It is limited to fat or fat32 filesystems but it does mean your users won't crash the box when they yank the usb key or floppy without unmounting. I've got this all set up on one box, including cd/dvd burning but it would take a bit of digging to find all the bits. Email me offlist if you want my devfs.rules and snips from other files. Chris I am using floppies on rare occasions on an old Dell. My setup is as follows: /etc/fstab does not have any reference to /dev/fd0 in the /usr/local/etc/sudoers file I have the following: # User privilege specification rootALL=(ALL) ALL aj ALL=/sbin/umount,/sbin/mount_msdosfs # end of sudoers file I have a directory with file permission 755 aj:aj /usr/home/aj/floppy ( make sure all your users have a directory call floppy with the correct file permission ) I use a small script owned by root but may be executed by all inside this script is a small message tell you it will be mounting a floppy and it must not be copy-protected next is the following line: sudo mount_msdosfs /dev/fd0 ~/floppy Now I use fluxbox...but this can be adapted to KDE withing the fluxbox menu I added the following: aterm -fg white -bg black -e name_of_script.sh ( note: I am using aterm not xterm...but should work xterm -e name_of_script.sh ) make another script to unmount with the following command sudo umount /dev/fd0 Have fun with FreeBSD... -- FreeBSD 6.0 i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
Beno, I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. I'd advise you not to filter SSH by IP, that would be the best way to lock you out of your server. Even if you find all the IP used by your ISP, you cannot predict when the IP range will change, and it DOES change. If you limit the IP that can SSH to your server, you will not be able to login when you are traveling and some urgent administration task need to be performed. And the most urgent tasks must often be performed when traveling... Set a strong password to your account (8+ characters, using letters up and lower case, numbers and punctuation signs), do not allow SSH to root account, enforce using sudo instead of su. That's the best way in a long run. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NIS and Kerberos 5 : is it possible / smart?
On 8/4/06, Garrett Cooper [EMAIL PROTECTED] wrote: Hi all, Just wondering if it's possible for NIS and Kerberos 5 to work in tandem with one another, such that NIS would handle groups and configuration file management and Kerberos would handle authentication only. Also, is this sort of overkill perhaps, where NIS is not really needed? I basically have 3+ machines (2 desktops, 1 laptop, currently), and I want to keep my credentials and information uniform across the machines as much as possible. The network I would be implementing this on is a low-traffic, private network. (sorry for hijacking another persons reply, but I didn't have the original post available to reply to) Kerberos works fine with NIS. It's more secure if you run both over IPsec (host-to-host transport mode for the local network) because that ensures that the NIS maps themselves maintain integrity (secrecy isn't needed with them, integrity is), though it's not necessary for many environments. This has come up on these lists a few times in the past. Here's some links to the threads in the archives: http://lists.freebsd.org/pipermail/freebsd-questions/2003-September/018487.html http://lists.freebsd.org/pipermail/freebsd-questions/2003-September/018838.html http://archives.neohapsis.com/archives/freebsd/2003-09/0224.html -T -- Who would have suspected that life was all going to turn out well? -- Robert Allen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] A question about reading mrtg output ...
I'm just curious ... on the 'daily graph', it tells me: Average In: 1099.5kb/s Average Out: 2336.4kb/s If my pipe is 3mb/s, is it safe to say that, on average, I've hit the limit of my bandwidth? (I have burstable traffic) ... For the longest time, I've been reading them as seperate #s instead of cumulatively ... and I just want to confirm that I *should* be reading them cumulative ... Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding IP Addresses (OT)
--On August 11, 2006 9:02:14 AM +0700 Olivier Nicole [EMAIL PROTECTED] wrote: Beno, I'm configuring my IP filter and I need to figure out what IP addresses I use (via SSH2) to contact my server. I'd advise you not to filter SSH by IP, that would be the best way to lock you out of your server. Even if you find all the IP used by your ISP, you cannot predict when the IP range will change, and it DOES change. If you limit the IP that can SSH to your server, you will not be able to login when you are traveling and some urgent administration task need to be performed. And the most urgent tasks must often be performed when traveling... You're making some assumptions that I don't think you can make. For example, I have a publicly accessible server at work that does not change IPs. So, even if nothing else will work, I can always get back in to my servers through that server. It's a form of a bastion host. Also, when I'm traveling, I can always get in through that server, so I never open up an IP from where I'm traveling. His situation may be similar, who knows. He may also be as paranoid as I am. :-) Set a strong password to your account (8+ characters, using letters up and lower case, numbers and punctuation signs), do not allow SSH to root account, enforce using sudo instead of su. All excellent suggestions, which he should implement, regardless of whether he also chooses to restrict access by IP. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Playing Audio CDs
--- Viswas Nair [EMAIL PROTECTED] wrote: I am new to BSD and have mplayer installed (Gmplayer) and I do not see the option to play an Audio CD, only CDs, files and DVDs. How do I get Audio CD's to play? Can they be mounted, if so how? Is there any specific audio alone CD player (GUI based) that you suggest? I think KDE autodetects and plays audio CDs. Did you try it? Also, whats the most commonly used or popular CD + DVD burning software used in BSD? There are quite a few of them. If you want a simple cmd line utility I like cdrdao if u r talking of audio or VCDS. It can also blank CDs. There are any GUI tools like xcdroast, graveman cdrecord... I think cdrecord is the most used backend. May u shud read man cdrecord... Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] A question about reading mrtg output ...
Marc G. Fournier writes: Average In: 1099.5kb/s Average Out: 2336.4kb/s If my pipe is 3mb/s, is it safe to say that, on average, I've hit the limit of my bandwidth? (I have burstable traffic) ... For the longest time, I've been reading them as seperate #s instead of cumulatively ... and I just want to confirm that I *should* be reading them cumulative ... coughFull duplex/cough Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Media Keys
Is it possible to get USB media keys to work in FreeBSD 6.x? I can't get anything to even see the keys, I would like to get my volume keys working on a Saitek Eclipse keyboard. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]