Re: Samba passwords
At 11:33 AM 7/1/03, you wrote: On Tue, Jul 01, 2003 at 04:54:33AM +0200, P. U. Kruppa wrote: On Mon, 30 Jun 2003, Bob Hall wrote: samba-2.2.8a FreeBSD 4.8 I'm trying to get samba running on my FBSD server. I've done this previously with another server, but I can't seem to get it to work this time. If I turn off password encryption, then I pass all the tests in the DIAGNOSIS file, but Win2k obviously won't allow the connection without encrypted passwords. If I turn encryption on, I pass any test that doesn't involve a password. Did you change the registry entry on you win2k machine (i.e. did you apply /usr/local/share/doc/samba/Registry/Win2000_PlainPassword.reg)? Thanks for responding, but I need a more secure solution. The point of setting up a samba password file is to avoid sending passwords in plain text. I was able to pass encrypted passwords in the earlier version of Samba. There should be a way of doing it with this version. What I'm hoping is that the ENCRYPTION file that was dropped from this port (or this version, whichever) was replaced with another file that documents how encrypted passwords are currently handled. Since the sh script mentioned in the ENCRYPTION file has been replaced with the undocumented make_smbpasswd file, I'm hoping that there actually is some documentation that explains it all, as the ENCRYPTION file once did. The documentation included with the port doesn't do the trick, and the tests in the DIAGNOSIS file seem to indicate that I've got everything except the encrypted passwords set up correctly. Google hasn't led to anything, nor has searching the archives. Alternately, if someone who has set up encrypted passwords successfully using the old instructions would let me know, that would help also. Knowing that I'm an idiot would give me a more accurate basis for proceeding. I don't know how helpful this will be, because I didn't follow through on it, but among the docfiles is one that talks about modifying /etc/pam.conf so that for certain categories of login pam uses the smbpasswd program to authenticate. It seems NT/Win2K/etc. use a cryptographic protocol that's inconsistent with the rest of the world (setting the industry standard ;-) ). Ah, take a look at /usr/local/share/doc/samba/htmldocs/PAM-Authentication-And-Samba.html. I found it hard to understand and the pam man page even worse. I played with it once because I was getting so many pam authencication errors, but I got scared and in the next upgrade I just overwrote my edited pam.conf with the vanilla distribution one and dropped back to plain-text passwords. I'm still using Win98, too. Hope this helps. -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using pw adduser to set password in a script
I'm attempting to use pw adduser to add a new user to the system and would like confirmation that the following is the correct way to set the user's password at the same time: echo password | \ pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment Can anyone also tell me the security implications of doing this, given that the command is executed from a within a script (actually php but this is more-or-less irrelevant)? Is there a better way to do this using file descriptors as described in the man page for pw?: -h fd This option provides a special interface by which interac- tive scripts can set an account password using pw. Because the command line and environment are fundamentally insecure mechanisms by which programs can accept information, pw will only allow setting of account and group passwords via a file descriptor (usually a pipe between an interactive script and the program). sh, bash, ksh and perl all pos- sess mechanisms by which this can be done. Alternatively, pw will prompt for the user's password if -h 0 is given, nominating stdin as the file descriptor on which to read the password. Note that this password will be read only once and is intended for use by a script rather than for interactive use. If you wish to have new password confir- mation along the lines of passwd(1), this must be imple- mented as part of an interactive script that calls pw. If a value of `-' is given as the argument fd, then the password will be set to `*', rendering the account inacces- sible via password-based login. Many thanks in advance, Jez -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Variable NFS mounts / firewall rules.
Hi, I have recently gotten around to setting up my laptop to play nicely with dhclient (not as easy as it sounds). I have a number of questions I should like to ask. I am going to provide a brief rundown of what I would like to know, and more detail, for those interested. 1. Why does dhclient.conf ``ignore'' the media directive? 2. Can I have /different/ NFS mounts, depending on the IP address dhclient assigns to me? 3. Can I have /different/ firewall rules, depending on the IP address dhclient assigns to me? And now for the more through version: Firstly, even though I specify ``media media 10base2/BNC'' in the correct manner in the /etc/dhclient.conf file, why does dhclient fail to switch the media to the BNC port? I have been searching through the dhclient-script file to no avail and the documentation is light on this issue. I have overcome the issue by putting ``/sbin/ifconfig ep0 media 10base2/BNC'' in /etc/start_if.ep0. Secondly, having been playing with the ``new'' /etc/rc.d stuff in 5-RELEASE I have started to wonder how I might go about setting up a nicely roaming laptop. When I'm at home I am assigned a static IP by the DHCP server, which serves as a way of determining my current location (although, if by chance I were assigned the same address by another DHCP server, I would run into troubles). When at home I want to have certain NFS mounts available to me (say, /usr/ports/distfiles and /usr/home.nfs). When I am roaming and there is no assigned address, I have /usr/home.ufs, which I want symlinked to /home to allow me to login. I synchronize /usr/home.ufs with the NFS home periodically. I have a local user account that I log on with whilst away from home. Previously, I did this with a nasty hack in /etc/dhclient-exit-hooks (a bit of grepping and gawking did the job to get the current IP, I compared it to what I was expecting then mounted exports accordingly). However, now that I have IPFIREWALL enabled this does not work, as the firewall rules are loaded /after/ dhclient-exit-hooks are executed (default to deny means there is no connectivity -- btw, how does dhclient communicate?) This led me to a second issue: while I am away, I want much more stringent firewall rules (i.e. deny almost all, allow me to establish out and allow DNS UDP requests). My question is therefore: is it possible that I could write either a) a new script to go in /etc/rc.d to perform different NFS mounting based on my ``location'' (i.e. IP address -- unless anybody else can think of a better, more robust way to do this (maybe some server checksum?)); or b) modify an existing script (probably mountcritremote?) to include this functionality. Regardless of which method might be chosen: would I use /etc/rc.conf to specify the options, or provide a custom configuration file in /etc that the new script would use? Furthermore, can the rc.firewall script be modified (or passed an argument) that causes different firewall rules to be loaded depending on my ``location'' (i.e. IP address, again)? If anybody can provide any insight into this problem, preferably with an idea of which files I might go modifying (please!) then I would do my best to come up with some solution which might be of benefit to others in a similar situation (if it exists). Sorry for such a bulky mail, I couldn't really find how else to cut it down. Many thanks! -lewiz. -- Welcome thy neighbor into thy fallout shelter. He'll come in handy if you run out of food. -- Dean McLaughlin. -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: Using pw adduser to set password in a script
On Tue, Jul 01, 2003 at 07:12:49AM +0100, Jez Hancock wrote: I'm attempting to use pw adduser to add a new user to the system and would like confirmation that the following is the correct way to set the user's password at the same time: echo password | \ pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment I usually just add a user with pw, then use passwd to set a password. That might be easier, not to mention looking (slightly) more elegant: pw adduser -q -u user -g group -s shell -d /home/user -c comment passwd user $passwd Can anyone also tell me the security implications of doing this, given that the command is executed from a within a script (actually php but this is more-or-less irrelevant)? I don't know, but I'd check how PHP does logging -- you really want to obfuscate your chosen method of setting the password, if it's gonna go down in the log... Sorry I can't help more, -lewiz. -- I belong to no organized party. I am a Democrat. -- Will Rogers -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: hard disk error , run fsck manually
hi sirs, thanks to all who give me good helps and hints on my problem. but i afraid that i really need to replace hard disk. i try David Wolfskill's last help but fialed. i mean i could not re-allocate hard disk back. but that is /home partion. my other partion such as /usr /var / are still clean. at this time i simply want to backup /var ( actually is mysql data), /etc and /usr/local/www/data, should only dump enough for backup ? once again thanks so much to all of you. --- David Wolfskill [EMAIL PROTECTED] wrote: Date: Sun, 29 Jun 2003 00:17:27 -0700 (PDT) From: manee [EMAIL PROTECTED] Subject: Re: hard disk error , run fsck manually To: David Wolfskill [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] i got , after running fsck -p THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/ad0s2g (/home) so that i ran fsck OK. and the following messages come Phase 1 ad0s2g: hard error reading fsbn 98971950 of 21364912-21365023( ad0s2 nb 98971950; cn 6160 tn 183 sn 21) status=59 error=40; CAN NOT READ: BLK 21364912 continue? [yn] i had to hit y and a few messages simila to the above popped up and before Phase 2 started, i got FILE SYSTEM STILL DIRTY PLEASE RERUN fsck MANULLY. Well, you had data on your disk that is no longer readable. If you are lucky, you may be able to get the disk to re-allocate some of the bad sectors. If there were more than about 6 or 8 of these, though, I suspect that you will need to replace the disk soon enough that it is not worth your time. To try to get the disk to re-allocate block 21364912, I would do: dd bs=512 count=1 if=/dev/zero of=/dev/ad0s2g seek=21364912 Note that this has a very high probability of ensuring that whatever data is now written to block 21364912 is different from what it had been; its only saving grace is that it is data that may possibly be readable Once you have done this for each block that was reported as CAN NOT READ: BLK , then re-run fsck. Because things are almost assuredly going to be inconsistent, you may wish to merely do fsck -y An alternate, and possibly faster approach would be to skip the fsck altogether, and just use newfs. Of course, that will obliterate any data you once had on the file system, and you would then need to reconstruct the data -- from backups or other sources. But then, you may well need to do that anyway, especially for files affected by the bad blocks. at this ponit i had to edit /etc/fstab and put /home as read only in order to bring system up and running. Seems that you have a disk drive that is getting bad enough that its continued usefulness is in question. with best regards, = ÁÒ¹Õ http://www.thai-aec.org __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using pw adduser to set password in a script
Jez Hancock wrote: I'm attempting to use pw adduser to add a new user to the system and would like confirmation that the following is the correct way to set the user's password at the same time: echo password | \ pw adduser -q -h - -u user -g group -s shell -d /home/user -c comment Can anyone also tell me the security implications of doing this, given that the command is executed from a within a script (actually php but this is more-or-less irrelevant)? [...] Here is what I use: echo 'password' | \ pw useradd -q -h 0 -n user -g group -s shell -d /home/user \ -c 'comment' -m Note that feeding the password to 'pw' via the command line (with 'echo') is a security problem if you have untrusted users on that machine, since they can see the password in the process list (with 'ps'). A better approach for automating account creation is to first store the password (generated or given) in a file (with secure permissions, of course) and then feed 'pw' from that file: pw useradd -q -h 0 -n user -g group -s shell -d /home/user \ -c 'comment' -m /path/to/file rm -f /path/to/file Hope that helps. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vt/ansi codes
i am trying to develop terminal I/O based code, and found myself meandering down a path to acquire terminal knowledge (i don't need to be told of SLang/ncurses/...). i can't readily find an answer to this, but i am assuming DEC terminals don't scroll left/right? i've never used a terminal, so i wouldn't know. there are ANSI escape codes that would be great to use, but from the knowledge i have been able to acquire, it appears vtXXX stuff is a fairly lacking subset of ANSI 3.64 terminal display functions. there's many aspects of ANSI 3.64 that would make display updates over serial connections MUCH more efficient than using vtXXX only codes. any comments providing a better understanding about this would be appreciated - cuz i'd hate to write a bunch of inefficient code just to find out i *could* scroll left/right with an ANSI escape sequence, etc. my goal is to generate a minimal set of reliable cross-platform ANSI escape codes one can use without fear of incompatibility. maybe this is an impossibility - i dunno - but there are a few sequences that seem to permeate most data sheets. as i read that this ANSI stuff was done way back in 1979 - before i bought my Apple 2e, i can't help but gawk with disbelief as i find UNIX vtXXX terminal stuff to still be fairly primitive a quarter century later. i mean, an entire screen shouldn't have to be sent over a serial line just to move a cursor past the rightmost column in 2003 :) also, i assume: ioctl.h struct winsize, and termios.h struct termios are available in one form or another on most platforms? is the RAW termios state a cross-platform state? or is it a BSD specific state? thank you (please ditto any replies off-list). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)
-- Hello Gregor, In reply to Gregor Bittel who wrote: Moin, tschuldigung, ich schreibe jetzt einfach mal in deutscher Sprache, da tu ich mir einfach leichter... Ist schon komisch, daß immer die gleichen Hardwarehersteller Probleme bereiten, leider zählen dazu mittlerweile auch die Fujitsu-Siemens-Boards - zumindest aus meiner Sicht, denn das D1306 macht auch extreme Probleme, sobald es ein SMP-Kernel verwendet wird... Du könntest mal diesen Patch versuchen: http://www.bnv-bamberg.de/home/ba3294/smp/files/notes/n000107.txt This patch didn't fix the problem. vielleicht funktioniert er ja (wobei ich mir allerdings überhaupt nicht sicher bin, einen Versuch könnte man ja mal starten). Aber bevor(!) du den Patch probierst, möchte ich noch, daß du diese Zeile aus deinem Kernelconfig entfernst und dann noch einmal den Kernel erstellst: device apm0at isa? This didn't help. Gibt immer wieder mal Probleme mit APM, ist eigentlich eine Standardempfehlung, die ich immer gebe (wenn ich es im config entdecke und der Kernel nicht so richtig mag). Wenn es dann tut, will ich zumindest einen dmesg+mptable-Auszug haben, um ihn auf meine Seite[1] hochzuladen - Apropos: was spricht überhaupt mptable (so ein Utility, welches auch mit Single-Prozessorkernel funktioniert - es liest die aktuelle Multiprozessor-Tabelle aus, die im BIOS hinterlegt wird)? Ich sammele nämlich diese Informationen, ist eines meiner größten Hobbys, neben den Handbüchern für Multiprozessorsysteme (leider ist das für das D1409 noch nicht online, gibts dafür überhaupt eins?). Yes, I have it on a CD here. The mptable output is attached. The boot output follows: Type '?' for a list of commands, 'help' for more detailed help. ok unload ok load kernel.smp /kernel.smp text=0x1be3e0 data=0x2a4a0+0x22a50 syms=[0x4+0x2d1b0+0x4+0x33691] ok boot Copyright (c) 1992-2003 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 4.8-STABLE #0: Tue Jul 1 09:10:14 GMT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/VSCAN.FSC-SMP Timecounter i8254 frequency 1193182 Hz CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2400.10-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 1073741824 (1048576K bytes) avail memory = 1041534976 (1017124K bytes) Programming 16 pins in IOAPIC #0 IOAPIC #0 intpin 2 - irq 0 Programming 16 pins in IOAPIC #1 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 6, version: 0x00050014, at 0xfee0 cpu1 (AP): apic id: 0, version: 0x00050014, at 0xfee0 io0 (APIC): apic id: 2, version: 0x000f0011, at 0xfec0 io1 (APIC): apic id: 3, version: 0x000f0011, at 0xfec1 Preloaded elf kernel kernel.smp at 0xc036e000. module_register_init: MOD_LOAD (vesa, c02722e8, 0) error 6 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 16 entries at 0xc00fdec0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard IOAPIC #0 intpin 9 - irq 2 pci0: PCI bus on pcib0 pci0: ATI Mach64-GR graphics accelerator at 4.0 atapci0: Generic PCI ATA controller port 0x1400-0x140f,0x374-0x377,0x170-0x177 ,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ohci0: OHCI (generic) USB controller mem 0xfc001000-0xfc001fff irq 2 at device 15.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: OHCI (generic) USB controller on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: PCI to ISA bridge (vendor=1166 device=0227) at device 15.3 on pci0 isa0: ISA bus on isab0 pcib1: Host to PCI bridge on motherboard pci1: PCI bus on pcib1 pcib2: Host to PCI bridge on motherboard IOAPIC #1 intpin 2 - irq 5 IOAPIC #1 intpin 3 - irq 9 pci2: PCI bus on pcib2 bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002 mem 0xfc30 -0xfc30,0xfc31-0xfc31 irq 5 at device 0.0 on pci2 bge0: Ethernet address: 00:30:05:2f:dc:9f miibus0: MII bus on bge0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 100baseTX, 100baseTX-FDX brgphy0: BCM5704 10/100/1000baseTX PHY on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX -FDX, auto ukphy1: Generic IEEE 802.3u media interface on miibus0 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy2: Generic IEEE 802.3u media interface on miibus0 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy3: Generic IEEE 802.3u media interface on miibus0 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy4: Generic IEEE 802.3u media interface on miibus0
fxp0
Hello. I am using FreeBSD 4.8 for learning. I love it, is my operating system of choice. I have some problems however. I installed it on a system and after a while I decided I want it on another system too. But the first install was thru ftp and it was a big effort so I didn't want to ftp it again (and bother all those people) so I looked for a different solution. It came from one of you guys: dump and restore. I did this: I put the second harddrive in the system as secondary master and created a slice and partitions. The harddrives both had windows partitions on them so the source slice was /dev/ad0s2 and the destination slice was /dev/ad2s2. Then I mounted the partitions I wanted to fill up and for each one did a dump and a restore. For example, the /usr partition got this: #mount /dev/ad2s2g /mnt/s2/usr #dump -0uaf - /dev/ad0s2g | (cd /mnt/s2/usr; restore -rf - ) Now the system I just created has a problem which I hope you can help me with. The kernel fills up ttyv0 with messages like these: fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: device timeout fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: DMA timeout and they keep on coming Now I don't think it's a hardware problem, the two systems are absolutely the same and I didn't have any problems before (with windows). Help me? Thank you in advance for any suggestions. - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0
B E T I V U L E !!! On Tue, 1 Jul 2003 09:02:31 +0100 (BST) Florin Betivoiu [EMAIL PROTECTED] wrote: Hello. I am using FreeBSD 4.8 for learning. I love it, is my operating system of choice. I have some problems however. I installed it on a system and after a while I decided I want it on another system too. But the first install was thru ftp and it was a big effort so I didn't want to ftp it again (and bother all those people) so I looked for a different solution. It came from one of you guys: dump and restore. I did this: I put the second harddrive in the system as secondary master and created a slice and partitions. The harddrives both had windows partitions on them so the source slice was /dev/ad0s2 and the destination slice was /dev/ad2s2. Then I mounted the partitions I wanted to fill up and for each one did a dump and a restore. For example, the /usr partition got this: #mount /dev/ad2s2g /mnt/s2/usr #dump -0uaf - /dev/ad0s2g | (cd /mnt/s2/usr; restore -rf - ) Now the system I just created has a problem which I hope you can help me with. The kernel fills up ttyv0 with messages like these: fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: device timeout fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: SCB timeout: 0xff 0xff 0xff 0xfff fxp0: DMA timeout and they keep on coming Now I don't think it's a hardware problem, the two systems are absolutely the same and I didn't have any problems before (with windows). Help me? Thank you in advance for any suggestions. - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Voicu Liviu Rothberg International School Computation center, Mount Scopus Hebrew University of Jerusalem Tel: 972(2)-5881253 E-mail: [EMAIL PROTECTED] Click here to see my GPG signature: -- http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerrorsearch=pacman%40mscc.huji.ac.ilop=vindexfingerprint=onsubmit=Get+List pgp0.pgp Description: PGP signature
FreeBSD as NAS
Hello, We are considering to buy some NAS solution (Dell). We chose PowerVault 775N + PowerVault 220S (SCSI array). But then I realized, whether it would be possible use some cheaper server (e.g. PowerEdge 1650 SCSI) with FreeBSD instead of Windows powered 775N. The pros and cons of FreeBSD based solution: + cheaper + more reliable (my oppionion) + have more experiences with this OS + can be configured as one wish - not all feautures of Windows (snapshot copy, backup utilities) - correct hardware support (is 1Gbit/s network working correctly?, hotswaping, RAID controller) Protocol support is probably the same (we need just NFS and SMB). It will be used for users' data (home directories). What is your opinion? Does it make sense? Thanks in advance lk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using pw adduser to set password in a script
Hi Uwe, Thanks for the reply. On Tue, Jul 01, 2003 at 09:25:28AM +0200, Uwe Doering wrote: Here is what I use: echo 'password' | \ pw useradd -q -h 0 -n user -g group -s shell -d /home/user \ o -c 'comment' -m Note that feeding the password to 'pw' via the command line (with 'echo') is a security problem if you have untrusted users on that machine, since they can see the password in the process list (with 'ps'). Aha. A better approach for automating account creation is to first store the password (generated or given) in a file (with secure permissions, of course) and then feed 'pw' from that file: pw useradd -q -h 0 -n user -g group -s shell -d /home/user \ -c 'comment' -m /path/to/file rm -f /path/to/file ah :) Cheers for that :) The way I ended up doing it in PHP was: /* To add a user on FreeBSD: echo password | pw adduser -q -u user -g group \ -s shell -d /home/user -c comment -h - adds the user 'user' with primary group 'group', shell 'shell', home dir '/home/user' with a comment 'comment' This is pretty dodgy - the password is listed in ps output... To do this from PHP though, we use popen to create a stream to the command: pw adduser -q -u user -g group \ -s shell -d /home/user -c comment -h 0 and then write the password to the file pointer created by popen. This effectively adds the user to the passwd database whilst at same time setting the password. This saves listing the password in 'ps' listings. */ // adduser command: $pw_cmd = $cfg['prog']['uadd']. .$data[username] . -g g.$data[id] . -s $shell . -d .$data[root] . -c .$data[name] . -h 0; // Open a uni-directional stream to the command: $fp=popen($pw_cmd, w); // Execute the command, passing the $data[password] to it: fwrite($fp, $data[password]); // Close the pipe: fclose($fp); Which seems to be working just as required :) Many thanks for the reply though, I probably would have gone with your method had I not stumbled across the one I used above :) Cheers, Jez ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Intel Gigabit net resetting
Hello, I tried a Intel PRO/1000 nic im my FreeBSD server, but the performance wah horrible. What could be wrong? In the logfile I found the following: Jun 27 00:10:22 gate3 /kernel: em2: Intel(R) PRO/1000 Network Connection, Version - 1.4.10 mem 0xfe90-0xfe91 irq 5 at device 8.0 on pci2 Jun 27 00:10:22 gate3 /kernel: em2: Speed:N/A Duplex:N/A Jun 27 00:18:03 gate3 /kernel: em2: Intel(R) PRO/1000 Network Connection, Version - 1.4.10 mem 0xfe90-0xfe91 irq 5 at device 8.0 on pci2 Jun 27 00:18:03 gate3 /kernel: em2: Speed:N/A Duplex:N/A Jun 27 01:22:22 gate3 /kernel: em2: Link is up 1000 Mbps Full Duplex Jun 27 01:22:26 gate3 /kernel: em2: watchdog timeout -- resetting Jun 27 01:46:19 gate3 /kernel: em2: watchdog timeout -- resetting Jun 27 01:50:34 gate3 /kernel: em2: watchdog timeout -- resetting Jun 27 16:00:00 gate3 /kernel: em2: watchdog timeout -- resetting Jun 27 17:00:02 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 00:00:29 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 00:01:00 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 11:00:28 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 11:03:19 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 11:07:42 gate3 /kernel: em2: watchdog timeout -- resetting Jun 28 23:58:21 gate3 /kernel: em2: watchdog timeout -- resetting Jun 29 00:00:31 gate3 /kernel: em2: watchdog timeout -- resetting Jun 29 00:02:23 gate3 /kernel: em2: watchdog timeout -- resetting Jun 29 23:58:13 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 00:00:41 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 00:01:38 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 11:20:56 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 18:54:26 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 18:56:34 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:02:24 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:02:57 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:38:21 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:38:40 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:38:45 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:51:43 gate3 /kernel: em2: watchdog timeout -- resetting Jun 30 19:54:57 gate3 /kernel: em2: Intel(R) PRO/1000 Network Connection, Version - 1.4.10 mem 0xfe90-0xfe91 irq 5 at device 8.0 on pci2 Jun 30 19:54:57 gate3 /kernel: em2: Speed:N/A Duplex:N/A Best regards Flemming Frøkjær ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)
-- Hi, sorry, I've forgotten in my last mail to attache the mp_table output. Is anything else needed? === MPTable, version 2.0.15 --- MP Floating Pointer Structure: location: BIOS physical address: 0x000f6b20 signature:'_MP_' length: 16 bytes version: 1.4 checksum: 0xdf mode: Virtual Wire --- MP Config Table Header: physical address: 0x0009e8d0 signature:'PCMP' base table length:300 version: 1.4 checksum: 0x64 OEM ID: 'FSCD1409' Product ID: 'PRIMERGY' OEM table pointer:0x OEM table size: 0 entry count: 29 local APIC address: 0xfee0 extended table length:308 extended table checksum: 175 --- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model StepFlags 6 0x14BSP, usable 15 2 7 0xbfebfbff 0 0x14AP, usable 15 2 7 0xbfebfbff -- Bus:Bus ID Type 0 PCI 1 PCI 2 PCI 3 PCI 4 PCI 5 ISA -- I/O APICs: APIC ID Version State Address 2 0x11usable 0xfec0 3 0x11usable 0xfec1 -- I/O Ints: TypePolarityTrigger Bus ID IRQAPIC ID PIN# ExtINT active-hiedge5 0 20 INT active-hiedge5 1 21 INT active-hiedge5 0 22 INT active-hiedge5 3 23 INT active-hiedge5 4 24 INT active-hiedge5 6 26 INT active-hiedge5 7 27 INT active-hiedge5 8 28 INT active-hiedge512 2 12 INT active-hiedge513 2 13 INT active-hiedge514 2 14 INT active-hiedge515 2 15 INT active-lo level0 15:A 29 INT active-lo level2 0:A 32 INT active-lo level2 0:B 33 INT active-lo level3 4:A 3 10 INT active-lo level3 4:B 3 11 -- Local Ints: TypePolarityTrigger Bus ID IRQAPIC ID PIN# ExtINT active-hiedge5 02550 NMI active-hiedge5 02551 --- MP Config Extended Table Entries: -- System Address Space bus ID: 0 address type: I/O address address base: 0x0 address range: 0x1800 -- System Address Space bus ID: 3 address type: I/O address address base: 0x1800 address range: 0xd00 -- System Address Space bus ID: 0 address type: I/O address address base: 0x2500 address range: 0xdb00 -- System Address Space bus ID: 0 address type: memory address address base: 0xfb00 address range: 0x130 -- System Address Space bus ID: 2 address type: memory address address base: 0xfc30 address range: 0x3ff800 -- System Address Space bus ID: 0 address type: memory address address base: 0xfc6ff800 address range: 0x800 -- System Address Space bus ID: 3 address type: memory address address base: 0xfc70 address range: 0x38 -- System Address Space bus ID: 0 address type: memory address address base: 0xfca8 address range: 0x238 -- System Address Space bus ID: 0 address type: memory address address base: 0xfef0 address range: 0x110 -- System Address Space bus ID: 0 address type: memory address address base: 0xa address range: 0x2 -- System Address Space bus ID: 0 address type: memory address address base: 0xd4000 address range: 0xc000 -- Bus Heirarchy bus ID: 5 bus info:
Re: Samba passwords
On Mon, Jun 30, 2003 at 08:25:57PM -0400, Bob Hall wrote: samba-2.2.8a FreeBSD 4.8 I'm trying to get samba running on my FBSD server. I've done this previously with another server, but I can't seem to get it to work this time. If I turn off password encryption, then I pass all the tests in the DIAGNOSIS file, but Win2k obviously won't allow the connection without encrypted passwords. If I turn encryption on, I pass any test that doesn't involve a password. I created the password file with make_smbpasswd. I also tried importing a password file used with an earlier version of Samba, and editing the usernames and user ids. There is no ENCRYPTION file included with this port, and I can't find any other instructions for setting up the password file. I've googled and searched, and can't find anything that goes beyond what I already know. If someone could point me to instructions for setting this up, I'd be grateful. Bob Hall Hi Bob, I'm using Samba 3.0 (the samba-devel port) and I'm not sure this is all 100% true for older versions, but these tips may be useful anyway: - Use 'swat' instead of writing the Samba config file by hand. You'll need to uncomment the relevant line at the end of /etc/inetd.conf, HUP inetd, then just point your browser at http://sambaserver:901/ Trust me, it makes life a lot easier :-) - make_smbpasswd will create entries in the smbpasswd file for all of your local users, but they won't have valid SMB passwords (there's no way of getting from an encrypted UNIX password to an encrypted SMB password). You'll need to run 'smbpasswd user' (as root) for all the users you want to have SMB logins, to give them valid SMB passwords. Keeping these in sync with the UNIX passwords is a whole other game (see my other message in this thread). You probably also want to delete the system accounts from smbpasswd -- either use 'smbpasswd -x user' or just edit the lines out by hand. - I find it easier to test things with 'smbclient' until I'm sure everything is working, before bothering with Windows clients. I've attached my smb.conf (as generated by swat) which is working fine for me, with encrypted passwords and SMB - UNIX password sync. Cheers, Scott # Samba config file created using SWAT # from 192.168.1.6 (192.168.1.6) # Date: 2003/06/30 23:21:11 # Global parameters [global] workgroup = FISHBALLOON netbios name = LLAMA server string = Samba Server passwd program = /usr/bin/passwd %u passwd chat = *New\spassword:* %n\n *Retype\snew\spassword:* %n\n *password\shas\sbeen\schanged* unix password sync = Yes log level = 20 log file = /var/log/log.%m max log size = 50 dns proxy = No [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gtk-gnutella unstable
I installed gtk-gnutella thru the ports. and I ran it. But I notice something In my xterm window it was giving me the following warning over and over: ** WARNING **: cannot resolve MaRzMaN: gethostbyname(): Unknown host then when i close it it gives: ** ERROR **: prop_get_boolean: unknown property 1050 aborting... Abort trap (core dumped) it still ran but it was laggin and very unstable. I have ask my peers if they were experiencing the same thing and they were not. if i need to give more information please let me know. thansk you. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: performance tuning?
mpg123 plays mp3 audio just as slow as when I'm using X. presumably you are doing this from the console before running startx? what's your system load straight after login? uptime will tell you % uptime 11:03AM up 33 mins, 6 users, load averages: 0.37, 0.26, 0.17 if any of your load averages are above one then you have some issues % top -d1 will tell you which processes are consuming resources if it's nothing out of the ordinary (i.e. one hungry process you can do without) then your choices are : build a custom kernel (see handbook) man 7 tuning buy more CPU power ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Racoon with Raptor
Hi all, I'm setting up a VPN between a FreeBSD box and a raptor box. I'm having some issues with racoon not exchanging keys correctly though. I'm getting the following error when I run racoon in the foreground: 2003-07-01 11:05:58: ERROR: isakmp.c:1776:isakmp_chkph1there(): phase2 negotiation failed due to time up waiting for phase1. ESP 213.xx.xx.226-213.xx.xx.135 226 is the Raptor machine and 135 is our FreeBSD machine. The raptor admin has said to use md5 as the hash algorithym and des as the encryption algo. I have the following in my config file: proposal { encryption_algorithm des; hash_algorithm md5; authentication_method pre_shared_key; dh_group 2 ; } sainfo anonymous { pfs_group 1; lifetime time 10 min; encryption_algorithm des; authentication_algorithm hmac_md5; compression_algorithm deflate ; } I've tried aggressive, main and base as my exchange mode. Anyone got any ideas about this ? Thanks, -- Wayne Pascoe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPP trouble solved?! not for me
Nathaniel Nigro writes: I already have enabvle dns and it still adds 255.255.255.255 as my nameserver in /etc/resolv The obvious conclusion is that your ISP is sending an invalid IP for the name server. Remove ``enable dns'' and manually edit /etc/resolv.conf. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login banner: IP address instead of DNS name
Hi again. When I SSH into my 4.8 box, the first line of the banner is: Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name That DNS name is truncated to 15 characters. I would much prefer an IP address. What do I need to change to get this? --Paul Hoffman You can alter sshd's banner at the directive named Banner in the file c/sshd/sshd_config. Cheer, Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cd drive problems when trying to play an audio cd on 5.1
I have recently got sound working on my system and wanted to listen to an audio cd when I ran xmms and seleted /cdrom as my directory. The playlist on the cd shows up and when i try playing a track it starts as if it is but i get no sound. I thought it might have been the sound so i got a mp3 from a peer on irc and played it back and the sound working. I also notice the drive does not spin and the light remains solid. here is a look at my /etc/fstab file: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b none swapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmpufsrw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660ro,noauto 0 0 /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 also here are my boot messages: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel /boot/kernel/kernel at 0xc06f7000. Preloaded elf module /boot/kernel/snd_via82c686.ko at 0xc06f70cc. Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc06f7180. Preloaded elf module /boot/kernel/acpi.ko at 0xc06f722c. Timecounter i8254 frequency 1193182 Hz Timecounter TSC frequency 1001780886 Hz CPU: AMD Athlon(tm) Processor (1001.78-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x642 Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA T,PSE36,MMX,FXSR AMD Features=0xc044RSVD,AMIE,DSP,3DNow! real memory = 536870912 (512 MB) avail memory = 513933312 (490 MB) Pentium Pro MTRR support enabled npx0: math processor on motherboard npx0: INT 16 interface acpi0: COMPAQ HAWA7K11 on motherboard pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00fa040 acpi0: power button is handled as a fixed feature programming model. Timecounter ACPI-safe frequency 3579545 Hz acpi_timer0: 32-bit timer at 3.579545MHz port 0xee08-0xee0b on acpi0 acpi_cpu0: CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: VIA 82C691 (Apollo Pro) host to PCI bridge mem 0x9000-0x93ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pci0: multimedia, video at device 3.0 (no driver attached) pci0: multimedia at device 3.1 (no driver attached) pci0: simple comms at device 4.0 (no driver attached) rl0: Accton MPX 5030/5038 10/100BaseTX port 0x1000-0x10ff mem 0x8100-0x810 000ff irq 5 at device 5.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:10:b5:73:ce:7b miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: PCI-ISA bridge at device 20.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 82C686A UDMA66 controller port 0x1880-0x188f at device 20.1 on pc i0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: VIA 83C572 USB controller port 0x1840-0x185f irq 11 at device 20.2 on p ci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x1860-0x187f irq 11 at device 20.3 on p ci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ugen0: Logitech Camera, rev 1.10/1.00, addr 2 pci0: bridge, PCI-unknown at device 20.4 (no driver attached) pcm0: VIA VT82C686A port 0x1894-0x1897,0x1890-0x1893,0x1400-0x14ff irq 10 at d evice 20.5 on pci0 pcm0: Analog Devices AD1881A AC97 Codec ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0 x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on
Re: Variable NFS mounts / firewall rules.
lewiz [EMAIL PROTECTED] writes: Hi, I have recently gotten around to setting up my laptop to play nicely with dhclient (not as easy as it sounds). I have a number of questions I should like to ask. I am going to provide a brief rundown of what I would like to know, and more detail, for those interested. 1. Why does dhclient.conf ``ignore'' the media directive? 2. Can I have /different/ NFS mounts, depending on the IP address dhclient assigns to me? 3. Can I have /different/ firewall rules, depending on the IP address dhclient assigns to me? [ ] No complete solution, just a few ideas to look into: 1. http://www.freebsd-support.de/misc/setnetparm/ I've never had the chance to use it myself, but it might help. 2. Use the automounter to mount NFS volumes on-demand. This way you will not have to worry about mounting until you actually need to access the volume. See amd(8). 3. ipfw supports the me keyword, to flexibly refer to your currently assigned IP address. 4. Just in case it might help you, here is my /etc/dhclient-exit-hooks: # nothing to do unless we're bound case ${reason} in BOUND | RENEW | REBIND | REBOOT ) if [ -n ${new_domain_name_servers} ]; then if [ -z ${old_domain_name_servers} ] || [ x${old_ip_address} != x{$new_ip_address} ]; then [ -x /etc/refresh-named ] /etc/refresh-named ${new_domain_name_servers} [ -x /etc/set-time ] /etc/set-time fi fi ;; esac You should be able to restart your firewall and pass it an argument for the ruleset in this way. 5. For more variables that are passed to dhclient-exit-hooks, see dhclient-script(8). 5. You can further run ifconfig commands in /etc/start_if.INTERFACE NAME (for example /etc/start_if.fxp0 ). -- Dan Pelleg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache and extentions.
Hello There, As far as i know apache-fp is for apache plus front page extentions support, How I would do a complete web server from the apache, does it work ? I want to support the following\; .ASP .fp .php Plus databases, (SQL) support, can some one advise me, for what i should install ? Iam on 4.8-R /ports installed. Thanks for help. please include my email in the replay. Marwan _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as NAS
The pros and cons of FreeBSD based solution: + cheaper + more reliable (my oppionion) + have more experiences with this OS + can be configured as one wish - not all feautures of Windows (snapshot copy, backup utilities) You can get most of this functionality with some clever scripting. - correct hardware support (is 1Gbit/s network working correctly?, hotswaping, RAID controller) I don't know about the nic, but I've had extremely good luck with the Dell RAID Cards on Linux. Usually once a driver comes out for a dell card on Linux, it's ported to BSD shortly afterward (aacraid for example). Protocol support is probably the same (we need just NFS and SMB). It will be used for users' data (home directories). What is your opinion? Does it make sense? It makes perfect sense if you want better uptimes, less hassle, and a better performing OS. Thanks in advance lk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Jason Stewart [EMAIL PROTECTED] Right to Life of Michigan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error messages in dmesg
Hi I have some messages appearing in my dmesg output and in the security log that concerns me: liffey.cooperationireland.org kernel log messages: ile: table is full file: table is full file: table is full file: table is full Any clues as to what might cause this ? Does it mean I've run out of inodes or of file descriptors ? How do I pin down the offending application. The server in question has only two roles - it acts as our mail server and also as a Squid web proxy. The errors mostly seem to have occurred late at night so it was most likely mail related rather than web-proxy related. Thanks Mike === Michael Doyleemail: [EMAIL PROTECTED] Network Administratorpersonal email: [EMAIL PROTECTED] Co-operation Ireland http://www.cooperationireland.org/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 * ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dell Perc3 raid cards
Hello, We are looking for a dell box to run a small (MySQL) database on and was curious as to how well the raid card support is in these newer machines. A box that would meet our needs would be something along the lines of a power edge 1650. These come with PERC3-DI,128MB Battery Backed Cache RAID cards. Does anyone have an experience using these cards with bsd and, actually replacing a disk (raid 5) using the raid utilis that come with the 4.8 branch of BSD ? Regards, -- Matthew Bettinger System Administrator Champion Elevators, Inc. Houston, Texas 77061 713.640.8500 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dell Perc3 raid cards
On Tue, 1 Jul 2003, Matthew Bettinger wrote: MBHello, MB MB We are looking for a dell box to run a small (MySQL) database on and MBwas curious as to how well the raid card support is in these newer MBmachines. A box that would meet our needs would be something along the MBlines of a power edge 1650. These come with PERC3-DI,128MB Battery MBBacked Cache RAID cards. Does anyone have an experience using these MBcards with bsd and, actually replacing a disk (raid 5) using the raid MButilis that come with the 4.8 branch of BSD ? Howdie, We are running 4.8-Stable on 2650's and are very happy. Replacement disks for failed drives are automatically configured and added to whatever raid you are running. --- Gareth Hopkins Server Operations http://www.uunet.co.za 08600 UUNET (08600 88638) The contents of this e-mail and any accompanying documentation is confidential and any use thereof, in whatever form, by anyone other than the addressee for whom it is intended, is strictly prohibited. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
samba: users can't change their passwords.
Hi everybody, I've been searching and asking at irc channels but no answer was found about samba error signal 6 and users being unable to change their passwords with samba 2.2.8a and FBSD 4.8-STABLE. Everything was working fine, no password sync. a piece of log.smbd when a user tries to change his password: [2003/07/01 11:04:33, 0] lib/util_sec.c:assert_gid(114) Failed to set gid privileges to (0,65534) now set to (65534,65534) uid=(0,65534) [2003/07/01 11:04:33, 0] lib/util.c:smb_panic(1094) PANIC: failed to set gid /var/log/messages and console: [snip] Jul 1 11:04:33 dmrt0 /kernel: pid 51838 (smbd), uid 65534: exited on signal 6 Jul 1 11:04:33 dmrt0 /kernel: pid 51912 (smbd), uid 65534: exited on signal 6 Jul 1 11:04:33 dmrt0 /kernel: pid 51935 (smbd), uid 65534: exited on signal 6 Anyone also facing this? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paiva, Gilson deDomingos Martins mailto:[EMAIL PROTECTED]Brazil http://www.el.com.br/ EL Producoes de Software http://www.FreeBSD.org/ FreeBSD: The Power to Serve =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- Aviso Legal: Esta mensagem pode nao expressar oficialmente as ideias ou vontades da empresa EL Producoes de Software, sendo responsavel por esta exclusivamente seu autor. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: catchall
Kirk Bailey [EMAIL PROTECTED] writes: I want to set up a catchall for incoming email addressed to nonexistant accountnames in my domain. This way probes do not bounce back and reveal what acount name does NOT exist here. How do I do this? I am running FreeBSD and Sendmail. Use a virtual user table. http://www.sendmail.org/virtual-hosting.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab : exec, permission denied
ico [EMAIL PROTECTED] writes: I added to /etc/crontab this line: */5 * * * * user1/usr/local/bin/getmail \ -r /usr/home/user1/.getmail/getmailrc I wanted getmail to pick-up mail for user user1. Result is error: exec: :permission denied $ls -l /usr/local/bin/getmail r-xr-xr-x 1 root wheel 328 Jun 22 07:41 /usr/local/bin/getmail* I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the same. What's wrong? Does it work from the command line? The following works fine for me from my user crontab: 6 6 * * 1-7 /usr/local/bin/fetchmail -s ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as NAS
At 2003-07-01T08:12:27Z, CVBNM [EMAIL PROTECTED] writes: - correct hardware support (is 1Gbit/s network working correctly?, hotswaping, RAID controller) Just FYI, I admin a few servers with SCSI/160 drivers in software RAID setups (using mirroring exclusively so performance isn't an issue). Hotswapping drives is a piece of cake. I have a standard RAID configuration file, so replacing a drive is as simple as: 1) Shutting down the drive inside the RAID 2) Using atacontrol to stop the drive 3) Swapping it out with a new one 4) Using atacontrol to rescan the bus 5) Fdisk and disklabel the drive 6) Typing vinum create /etc/raidconfig to layout the drive 7) Typing vinum start subdisk names to sync the data If I had to do it more than once a year or so, I'd probably throw it all into a script with Press any key to continue prompts. -- Kirk Strauser In Googlis non est, ergo non est. pgp0.pgp Description: PGP signature
Re: vt/ansi codes
I wonder with this is really relavent to FreeBSD questions. But in any case here is my 2 cents worth. On Tue, 1 Jul 2003 16:59, [EMAIL PROTECTED] wrote: i am trying to develop terminal I/O based code, and found myself meandering down a path to acquire terminal knowledge (i don't need to be told of SLang/ncurses/...). Have you looked at termcap and terminfo, which of course underpin curses/ncurses. i can't readily find an answer to this, but i am assuming DEC terminals don't scroll left/right? i've never used a terminal, so i wouldn't know. there are ANSI escape codes that would be great to use, but from the knowledge i have been able to acquire, it appears vtXXX stuff is a fairly lacking subset of ANSI 3.64 terminal display functions. there's many aspects of ANSI 3.64 that would make display updates over serial connections MUCH more efficient than using vtXXX only codes. any comments providing It doesn't really matter what standards might be defined; the important issue is what functions commonly available terminals and terminal emulations have. a better understanding about this would be appreciated - cuz i'd hate to write a bunch of inefficient code just to find out i *could* scroll left/right with an ANSI escape sequence, etc. my goal is to generate a minimal set of reliable cross-platform ANSI escape codes one can use without fear of incompatibility. maybe this is an impossibility - i dunno - but there are a few sequences that seem to permeate most data sheets. There are an enormous variety of terminals and terminal emulations which have very little in the way of a common subset of functions. If you must use one common subset then you had best stick to VT100, I guess that will get you into between 1/3 and 2/3 of the terminals and emulations out there. Unix and same other OS have dealt with the problem by using databases of terminal information - termcap and/or terminfo - so that terminals with different control sequences can be managed by the same software and the software doesn't need prior knowledge of the specific control codes. as i read that this ANSI stuff was done way back in 1979 - before i bought my Apple 2e, i can't help but gawk with disbelief as i find UNIX vtXXX terminal stuff to still be fairly primitive a quarter century later. i mean, an entire screen shouldn't have to be sent over a serial line just to move a cursor past the rightmost column in 2003 :) In 1979 to send a full screen of say 2000 characters took perhaps 1 to 5 minutes, now in a similar situation we commonly send that in 20 to 100 milliseconds so the problem of dealing with different standards is largely circumvented by using less in the way of fancy functions and instead just redrawing the screen. Now-a-days graphic displays generally get more attention (not that I think this is necessarily good) and means of updating these with respect to the available bandwidth is receiving considerable attention. also, i assume: ioctl.h struct winsize, and termios.h struct termios are available in one form or another on most platforms? is the RAW termios state a cross-platform state? or is it a BSD specific state? thank you (please ditto any replies off-list). Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable NFS mounts / firewall rules.
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote: 2. Use the automounter to mount NFS volumes on-demand. This way you will not have to worry about mounting until you actually need to access the volume. See amd(8). That's a good idea I didn't think off :) I messed with amd(8) once before and ran into trouble. I can see in this case it would be ideal, and shall have a go at getting it to play nicely. 3. ipfw supports the me keyword, to flexibly refer to your currently assigned IP address. Yes, I had looked at this. However, I was meaning trying to have a solution where a different set of firewall rules would be started based on the assigned IP address. 4. Just in case it might help you, here is my /etc/dhclient-exit-hooks: # nothing to do unless we're bound case ${reason} in BOUND | RENEW | REBIND | REBOOT ) if [ -n ${new_domain_name_servers} ]; then if [ -z ${old_domain_name_servers} ] || [ x${old_ip_address} != x{$new_ip_address} ]; then [ -x /etc/refresh-named ] /etc/refresh-named ${new_domain_name_servers} [ -x /etc/set-time ] /etc/set-time fi fi ;; esac Yeah, I think I can see that this might even be a good place to start/stop (stop if required, I haven't read amd(8) yet) amd from. Also, I can set my symlinks in case the reason is not one of yours listed. 5. You can further run ifconfig commands in /etc/start_if.INTERFACE NAME (for example /etc/start_if.fxp0 ). I use start_if.ep0 to set the media for my network card. Does this get re sourced after dhclient has done it's magic? I was under the assumption that it got executed /before/ dhclient, and would therefore be of little use to set variables based on the output of dhclient... ? Many thanks! You've given me some excellent ideas. I'll tell you how I fare. -lewiz. -- In the long run, every program becomes rococo, and then rubble. -- Alan Perlis -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
Re: Problem installing GIMP
Any ideas? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940)
Hello, I successfully installed FreeBSD 5.1 on my ASUS P4C800 motherboard. The only remaining problem is that sysinstall did not find any ethernet device during the installation. The onboard NIC is a 3Com 3C940. What should I exactly do in order to make the system detect this 3Com 3C940 ethernet device and make it work properly? Many thanks for your help. Gab ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using a RAID-card with FreeBSD
Hi all, This might be kind of a newbie question - I apologize for that. This is my first time I use a hardware RAID card on a server. I was wondering if there are any issues with FreeBSD (4.8R) regarding these cards? Will FreeBSD see the RAID1 as a single hard drive that I just need to partition and label? And if I need to replace a failed hard drive in the RAID array I assume the card will do the rebuilding of the array while FreeBSD will function as normal even when I need to reboot the machine? I checked that the card I intended to use (Promise FastTrak TX2) is supported by FreeBSD so I don't assume any problems installing FreeBSD either. Thanks for any answers :-) -- Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dial-up Modem Problems
Brandon Beamer [EMAIL PROTECTED] writes: I just installed FreeBSD5.0-RELEASE and I'm trying to set up my internal PCI modem for dial-up internet connection. The modem is a Diamond Multimedia SupraMax 56i, and it's not being detected. I've played around with /boot/device.hints and the kernel configuration, and I have no idea how to get FreeBSD to detect my modem. I don't know whether or not it's a winmodem, I don't think it is. It is. And Diamond seems to have changed chipsets on it while keeping the same model name, so you'll need to figure out the chipset on your own. If it turns out that setting this modem up will eventually be a futile effort, please help me out in choosing a modem that will work for sure. An external serial modem has always been safe. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Variable NFS mounts / firewall rules.
On Tue, Jul 01, 2003 at 08:45:54AM -0400, Dan Pelleg wrote: 1. http://www.freebsd-support.de/misc/setnetparm/ I've never had the chance to use it myself, but it might help. I've checked this out briefly and it's geared more towards static setups, but I think DHCP can be configured to pretty much do everything this does (assuming I have control over each and every DHCP server... :) Again, thanks very much, -lewiz. -- If you're not very clever you should be conciliatory. -- Benjamin Disraeli -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- pgp0.pgp Description: PGP signature
question on .mail_aliases
Is there a way to put the actual name in the .mail_aliases file? I sometimes forget the the abbreviation that I used. -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB mouse/keyboard causes kernel panic during boot sequence
Hello peoples, I have posted this before and unfortunately I still have this problem. During the boot sequence, when it probes for the USB devices, it causes a kernel panic (page fault) if there is either (or both) a USB mouse and/or keyboard attached. If I remove the mouse and keyboard and let it boot up, then connect them, they work just fine. Any ideas? Thanks Michael Mercer uhub2: 2 ports with 2 removable, self powered Fatal trap 12: page fault while in kernel mode mp_lock = 0024; cpuid = 0; lapic.id = fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8: 0xc02583c4 stack pointer = 0x10: 0xc045fd20 frame pointer = 0x10: 0xc045fd3c code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def 32 1, gran 1 processor eflags= interrupt enabled, resume, IOPC=0 current process = 0(swapper) interrupt mask = none - SMP: XXX trap number = 12 panic: page fault mp_lock = 0024; cpuid = 0; lapic.id = Uptime - 0s ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB mouse/keyboard causes kernel panic during boot sequence
Hello peoples, I have posted this before and unfortunately I still have this problem. During the boot sequence, when it probes for the USB devices, it causes a kernel panic (page fault) if there is either (or both) a USB mouse and/or keyboard attached. If I remove the mouse and keyboard and let it boot up, then connect them, they work just fine. Any ideas? Thanks Michael Mercer uname -a FreeBSD dual.mmercer.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Jul 1 11:44:10 EDT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/dualII_4_8 i386 snippet from dmesg uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xef80-0xef9f irq 2 at device 7.2 on pci0 uhci0: LegSup = 0x003a usb0: Intel 82371AB/EB (PIIX4) USB controller 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 ERROR MESSAGE uhub2: 2 ports with 2 removable, self powered Fatal trap 12: page fault while in kernel mode mp_lock = 0024; cpuid = 0; lapic.id = fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x8: 0xc02583c4 stack pointer = 0x10: 0xc045fd20 frame pointer = 0x10: 0xc045fd3c code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def 32 1, gran 1 processor eflags= interrupt enabled, resume, IOPC=0 current process = 0(swapper) interrupt mask = none - SMP: XXX trap number = 12 panic: page fault mp_lock = 0024; cpuid = 0; lapic.id = Uptime - 0s ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading from 5.0 to 5.1
Im currently using - gladiator# uname -a FreeBSD gladiator.trini0.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #3: Tue May 13 01:34:55 EDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLADIATOR i386 I cvsupped to the latest source of RELENG_5_1 1. Ran make buildworld 2. Ran make buildkernel KERNCONF=GLADIATOR Im getting this error (a bit long) - sh /usr/src/sys/conf/newvers.sh GLADIATOR cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel init_main.o: In function `proc0_init': init_main.o(.text+0x2b9): undefined reference to `kse0_sched' init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' init_main.o(.text+0x2cd): undefined reference to `proc0_sched' init_main.o(.text+0x2d7): undefined reference to `thread0_sched' kern_clock.o: In function `statclock': kern_clock.o(.text+0x6a4): undefined reference to `sched_clock' kern_condvar.o: In function `cv_waitq_add': kern_condvar.o(.text+0x1353): undefined reference to `sched_sleep' kern_exit.o: In function `exit1': kern_exit.o(.text+0x1358): undefined reference to `sched_exit' kern_fork.o: In function `fork1': kern_fork.o(.text+0xc55): undefined reference to `sched_fork' kern_idle.o: In function `idle_proc': kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable' kern_thr.o: In function `thr_exit1': kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse' kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread' kern_thr.o: In function `thr_create': kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse' kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread' kern_mutex.o: In function `propagate_priority': kern_mutex.o(.text+0x7a): undefined reference to `sched_prio' kern_proc.o: In function `procinit': kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc' kern_proc.o: In function `fill_kinfo_proc': kern_proc.o(.text+0x1666): undefined reference to `sched_pctcpu' kern_resource.o: In function `donice': kern_resource.o(.text+0x968): undefined reference to `sched_nice' kern_resource.o: In function `rtp_to_pri': kern_resource.o(.text+0xd25): undefined reference to `sched_class' kern_subr.o: In function `uio_yield': kern_subr.o(.text+0x57e): undefined reference to `sched_prio' kern_switch.o: In function `choosethread': kern_switch.o(.text+0x11): undefined reference to `sched_choose' kern_switch.o: In function `kse_reassign': kern_switch.o(.text+0xea): undefined reference to `sched_add' kern_switch.o: In function `adjustrunqueue': kern_switch.o(.text+0x168): undefined reference to `sched_rem' kern_switch.o(.text+0x170): undefined reference to `sched_add' kern_switch.o(.text+0x19e): undefined reference to `sched_rem' kern_switch.o: In function `setrunqueue': kern_switch.o(.text+0x293): undefined reference to `sched_rem' kern_switch.o(.text+0x34d): undefined reference to `sched_add' kern_synch.o: In function `msleep': kern_synch.o(.text+0x518): undefined reference to `sched_sleep' kern_synch.o: In function `mi_switch': kern_synch.o(.text+0xdf6): undefined reference to `sched_switchout' kern_synch.o(.text+0xe1f): undefined reference to `sched_switchin' kern_synch.o: In function `setrunnable': kern_synch.o(.text+0xf1b): undefined reference to `sched_wakeup' kern_synch.o: In function `yield': kern_synch.o(.text+0x1169): undefined reference to `sched_prio' kern_thread.o: In function `threadinit': kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread' kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp' kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse' subr_trap.o: In function `userret': subr_trap.o(.text+0x12): undefined reference to `sched_userret' subr_trap.o: In function `ast': subr_trap.o(.text+0x67f): undefined reference to `sched_prio' ksched.o: In function `ksched_attach': ksched.o(.text+0x2e): undefined reference to `sched_rr_interval' ksched.o: In function `ksched_setscheduler': ksched.o(.text+0x2d3): undefined reference to `sched_prio' ksched.o(.text+0x3c3): undefined reference to `sched_prio' ffs_snapshot.o: In function `ffs_snapshot': ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice' ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice' vm_zeroidle.o: In function `vm_pagezero': vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable' vm_pageout.o: In function `vm_pageout_scan': vm_pageout.o(.text+0x1c14): undefined reference to `sched_nice' machdep.o: In function `cpu_idle': machdep.o(.text+0x16ee): undefined reference to `sched_runnable' *** Error code 1 Stop in /usr/obj/usr/src/sys/GLADIATOR.
Re: Upgrading from 5.0 to 5.1
Gerard Samuel [EMAIL PROTECTED] writes: Im getting this error (a bit long) - [snip] init_main.o(.text+0x2b9): undefined reference to `kse0_sched' init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' This is a FAQ; it's covered in /usr/src/UPDATING in an entry from January 25. You need to specify a scheduler in your kernel configuration. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
_ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
test _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Virus Detected by Network Associates, Inc. Webshield SMTP V4.5 MR1a
Southern Illinois University-Edwardsville Office of Information Technology detected the W32/[EMAIL PROTECTED] virus in the your_details.zip attachment sent to [EMAIL PROTECTED] and it was Deleted. If you are affiliated with SIUE, please call the Customer Support Center at 650-3739 for immediate assistance with your infected computer. If you are not affiliated with SIUE, please contact your local personal computer support organization. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mounting a floppy
Hello I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a floppy drive. I tried mount /dev/fd0 but it comes back saying something like an unrecognized file system or device. How do I mount my floppy drive in FreeBSD 4.8? Thanks! Rob _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: Re: mounting a floppy
You need to mount the file system 'somewhere.' mount /dev/fd0 /mnt or similar. mount [device] [location] On Tuesday 01 July 2003 02:25 pm, Robert Gallimore wrote: Hello I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a floppy drive. I tried mount /dev/fd0 but it comes back saying something like an unrecognized file system or device. How do I mount my floppy drive in FreeBSD 4.8? Thanks! Rob _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Throttled ethernet connection
Hi, I'm running FreeBSD 4.8-Stable with ipfw, dummynet and ipsec enabled in the kernel but bypassed via config/not being used for the moment. I'm using this machine as a router between my local network and a WAN, with a 3com905c-tx ethernet card and an Avaya 802.11b wifi card. I've just built this machine over the past two or three days and have encountered a problem with the ethernet side of the network. When i upload or download from the machine with proftpd or apache over the ethernet network (100mbit switched) im being limited to 50K/sec or less. If i start two ftp downloads or have an ftp and httpd download going, the 50K/sec is divided between the two connections, slowing both to about 25K/sec. I can transfer fine over the 802.11b network card, with no throttling appearing (upload/download rates of ~ 500K/sec). I can ftp over the WAN - through this router machine - and download or upload from the WAN at a fine speed with no apparent throttling appearing (again ~500K/sec achieved), which rules out damage to the cabling etc. Im completly stumped as to whats causing this, any help would be appreciated. Thanks, Aidan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login banner: IP address instead of DNS name
At 12:41 PM on Tuesday 1 July 2003, Supote leelasupphakorn wrote: Hi again. When I SSH into my 4.8 box, the first line of the banner is: Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name That DNS name is truncated to 15 characters. I would much prefer an IP address. What do I need to change to get this? --Paul Hoffman Run sshd with the -u 15 option. You can do so by adding this line to /etc/rc.conf: sshd_flags=-u 15 You can alter sshd's banner at the directive named Banner in the file c/sshd/sshd_config. That banner is shown before authentication, which is not what Paul is talking about. -- David Siebörger [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting a floppy
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote: Hello I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a floppy drive. I tried mount /dev/fd0 but it comes back saying something like an unrecognized file system or device. How do I mount my floppy drive in FreeBSD 4.8? Thanks! Try # mount -t msdos -o rw /dev/fd0 /mnt That's a bit much to type, and constant su-ing is a pain in the tuchis, so I use a bash alias. alias monterfd='sudo mount -t msdos -o rw /dev/fd0 /mnt' I type $ monterfd and my password, and the fd is mounted. Bob Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting a floppy
On Tue, Jul 01, 2003 at 01:25:17PM -0500, Robert Gallimore wrote: I am having a slight problem with FreeBSD 4.8. I cannot seem to mount a floppy drive. I tried mount /dev/fd0 but it comes back saying something like an unrecognized file system or device. How do I mount my floppy drive in FreeBSD 4.8? Thanks! If this is a DOS format floppy, then here's a tip: don't bother trying to mount and unmount the floppy all the time. Instead, install the emulators/mtools port. This gives you a whole bunch of MS-DOS style commands, except with an 'm' prepended to the name, which let you access the floppy drive but without having to mount it first. Eg. you can do: % mdir a: If you are using a non-DOS floppy or you really need to mount the floppy for some other reason, then you're going to have to tell mount(8) all of the information it needs. There's two ways to do that: either on the mount(8) command line, or by making an entry in /etc/fstab. Eg. to mount a read-only floppy with a msdos filesystem on it as /mnt: # mount -t msdos -o ro /dev/fd0 /mnt Note that: a) you usually have to have superuser privilege to run mount(8) or umount(8). You can either install the sudo(8) port and generate the appropriate configuration there, or you can set the vfs.usermount sysctl to a non-zero value. See mount(2), sysctl(8) for details, but note that setting vfs.usermount potentially opens up a nasty security hole, so you should understand exactly what you are doing if you decide to do that. b) You have to remember to unmount the floppy before you eject it from the drive. Not doing that has undesirable effects. Similarly, if the floppy has the write protect tab set, you have to tell the system to mount it read-only. Unfortunately, the system can't actually detect that the disk is write protected automatically. Even worse, if you mount a unix format RO floppy using RW flags, even if you do nothing more than read files from the disk, the system will hang when you try and unmount the disk because the system will try and update the 'last mounted on' entry on the disk. (Solution is to pop the floppy out, toggle the write protect tab and put the disk back smartly so the write can complete). Oh -- editing files on such a disk will apparently work because the system will hold the whole 1.44Mb disk image in cache. Changes will be flushed to disk eventually, or when you try and unmount it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: crontab : exec, permission denied
Dna Tue, Jul 01, 2003 at 10:25:35AM -0400, Lowell Gilbert spisal(a) : I added to /etc/crontab this line: */5 * * * * user1/usr/local/bin/getmail \ -r /usr/home/user1/.getmail/getmailrc I wanted getmail to pick-up mail for user user1. Result is error: exec: :permission denied $ls -l /usr/local/bin/getmail r-xr-xr-x 1 root wheel 328 Jun 22 07:41 /usr/local/bin/getmail* I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the same. What's wrong? Does it work from the command line? The following works fine for me from my user crontab: 6 6 * * 1-7 /usr/local/bin/fetchmail -s Yes, it works from command line. I'm doing it now that way. -- *ico beke* ico(at)beke.info ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: About FreeBSD mysql
In the last episode (Jul 01), david said: I found no information on setting or installing a mysql server in the freeBSD handbook online or the hardcopy version which I have. This is pretty much it: cd /usr/ports/databases/mysql40-server make install http://www.freebsddiary.org/mysql.php http://www.mysql.com You may or may not (doesn't hurt to if you didn't already have MySQL) need to run install_db to install a basic user database. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BTX halted
In article [EMAIL PROTECTED], Roger Merritt wrote: BTX Loader 1.00 BTX version is 1.01 int=0006 err= efl=00010246 eip=1934 eax=00021d60 ebx= ecx= edx= esi= edi=00020c34 ebp=00094bec esp=00094bdc cs=0026 db=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff BTX halted did you try a hard power reset after this message? I have an old IBM intellistation that does the same thing with 5.x. After I install I get the BTX halted, but if I cold boot it after the message it will boot. --- Mark atkin901 at NOSPAM yahoo dot com (!wired)?(coffee++):(wired); ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Account Privilege
On Tue, Jul 01, 2003 at 03:10:55PM -0400, Nucking Futs wrote: I'm trying to set up user accounts so that they can not view any further than their home directory. At the very least I don't want them to be able to do a cd .. and view /usr/home and view the other user accounts information. How would I set this up so they couldn't view other user accounts or preferably any other part of the system. - you could use bash -r (restricted bash) - or chroot(8), on google i found the following article: http://www.tjw.org/chroot-login-HOWTO/ this how to is for linux but it should work on freebsd to. - if you just want to restrict access to other users home dir's, creating a group per user and chmod 750 the users home dir should be sufficient. hth, toni -- Behandle die Menschen, als wären sie, was sie sein | toni at stderror dot at sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer sie sein können. - Johann Wolfgang von Goethe | pgp0.pgp Description: PGP signature
IDE for C
hi, I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/ to DJGPP i used under WIN. I'm running 5.1 and Fluxbox over X. Any suggestions? Thanx Martin PS: I hope I haven't started some flame war :*-] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP C1537A DAT specs
Has anyone used the HP C1537A L706 on FreeBSD - it should work fine in default mode - but I'm curious about compression modes available, etc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Machine Crash
Hi Folks, My machine has crashed twice today with the following message .. any clues as to what this means? Jul 1 19:43:13 doc dev = #ad/0x20014, ino = 1172, fs = /backup Jul 1 19:43:13 doc panic: ffs_vfree: freeing free inode Jul 1 19:43:13 doc syncing disks... 53 6 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Jul 1 19:43:13 doc giving up on 1 buffers Jul 1 19:43:13 doc Uptime: 3h48m33s Jul 1 19:43:13 doc Automatic reboot in 15 seconds - press a key on the console to abort Jul 1 19:43:13 doc Rebooting... Thanks! Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login banner: IP address instead of DNS name
At 9:04 PM +0200 7/1/03, David Siebörger wrote: At 12:41 PM on Tuesday 1 July 2003, Supote leelasupphakorn wrote: Hi again. When I SSH into my 4.8 box, the first line of the banner is: Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name That DNS name is truncated to 15 characters. I would much prefer an IP address. What do I need to change to get this? --Paul Hoffman Run sshd with the -u 15 option. You can do so by adding this line to /etc/rc.conf: sshd_flags=-u 15 Perfect, that's exactly what I needed. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any pointers for Verizon DSL in Silicon Valley
Hello All, I am considering switching to Verizon DSL in the Silicon Valley area. Does anyone have any good web site tutorials or other resources for making the switch? I've looked in mailing list archives but didn't find anything specific to this area. How long would it take a middle-weight freebsd user to get going with DSL here? Many TIAs, Eric __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Account Privilege
I'm trying to set up user accounts so that they can not view any further than their home directory. At the very least I don't want them to be able to do a cd .. and view /usr/home and view the other user accounts information. How would I set this up so they couldn't view other user accounts or preferably any other part of the system. What you need is chroot(8). Use it to 'chroot' the user in to their own home directory. Don't forget to put a copy of their shell and other things they need within the directory where they are chrooted. If chroot is not rigorous enough, check out jail(8). jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login banner: IP address instead of DNS name
Paul Hoffman wrote: At 9:04 PM +0200 7/1/03, David Siebörger wrote: At 12:41 PM on Tuesday 1 July 2003, Supote leelasupphakorn wrote: Hi again. When I SSH into my 4.8 box, the first line of the banner is: Last login: Mon Jun 30 19:31:44 2003 from 15-characters-of-a-host-name That DNS name is truncated to 15 characters. I would much prefer an IP address. What do I need to change to get this? --Paul Hoffman Run sshd with the -u 15 option. You can do so by adding this line to /etc/rc.conf: sshd_flags=-u 15 Perfect, that's exactly what I needed. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] try sshd_flags=-u0 instead (man sshd) This will show only the IP. In addition, this will halt the DNS lookups -- Best regards, Chris __ PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363 PGP Mail encouraged / preferred - keys available on common key servers __ 01010010011101100011011001010111001001011000 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Custom install where is the arch/conf
On Tue, Jul 01, 2003 at 01:42:04AM +, DanB wrote: Cant find the arch/conf file for a custom build Version 4.3 RC :/usr/src/sys/compile/CUSTOM i386 is what uname -a tell me. Where coould it be? Probably in /usr/src/sys/i386/conf Kris pgp0.pgp Description: PGP signature
Re: BTX halted
On Tue, Jul 01, 2003 at 09:00:56AM +0700, Roger Merritt wrote: I recently got a new, large hard drive for one of my two servers and transferred everything over from the old 4GB drive. So then I wanted to take the old drive and combine it with the other old drive -- my idea is to transfer /usr/home to one of them and leave the rest of the system on the other. We also got new machines for our students, which gave me another box that is just a little better than the box I'm currently using -- 200MHz instead of 166MHz. The thing is, I'm not entirely sure what chip is in the 200Mhz box. The old hard drive was compiled for an i686, while the other server is compiled for an i586. You forgot to mention which version of FreeBSD you're trying to run. You also didn't mention details of the large hard drive. Some old BIOSes cannot handle booting from large hard drives (typically 8 GB). ris pgp0.pgp Description: PGP signature
Limiting an account to FTP only
Hi I am wanting to limit an account to FTP only, for uploading web pages to a server. I have ftpchroot'ed the account to limit access to the directories I want to - is there any way of disabling all other access (SSH/telnet/rlogin/SMTP auth etc). I thought about removing the shell type from the user account but believe ftpd needs a shell to be specified to validate the logon. Many thanks, Nick Wilson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vt/ansi codes
On Tue, Jul 01, 2003 at 07:29:24AM +, [EMAIL PROTECTED] wrote: i am trying to develop terminal I/O based code, and found myself meandering down a path to acquire terminal knowledge (i don't need to be told of SLang/ncurses/...). UNIX is designed not to rely on one single terminal type. IMO, tailoring writing your application so it can only run on vt100 terminals (or ansi terminals, if you had your wish) is misguided..use one of the character display libraries that handle all the internal details in a terminal-independent way. Kris pgp0.pgp Description: PGP signature
Re: gtk-gnutella unstable
On Tue, Jul 01, 2003 at 04:55:35AM -0500, Richard morris wrote: I installed gtk-gnutella thru the ports. and I ran it. But I notice something In my xterm window it was giving me the following warning over and over: Complain to the developers, this isn't a gtk-gnutella support forum. Kris pgp0.pgp Description: PGP signature
Re: Machine Crash
On Tue, Jul 01, 2003 at 04:01:00PM -0400, Andrew Eross wrote: Hi Folks, My machine has crashed twice today with the following message .. any clues as to what this means? Could be bad HW, a corrupted FS or a bug in FreeBSD. Kris pgp0.pgp Description: PGP signature
Re: Limiting an account to FTP only
Nick Wilson wrote: I am wanting to limit an account to FTP only, for uploading web pages to a server. I have ftpchroot'ed the account to limit access to the directories I want to - is there any way of disabling all other access (SSH/telnet/rlogin/SMTP auth etc). I thought about removing the shell type from the user account but believe ftpd needs a shell to be specified to validate the logon. You can use /usr/bin/false or /sbin/nologin as the shell for this FTP user. (Add whichever you use to /etc/shells...) -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wãrning: fønt renðerer før ??.þcf?? ãlreãðý registereð ãt þriøritý0
I'm having problems running XFree86 on 4.8 release with up to date ports. I've tried running XFree86 using both xdm and startx. 'pkg_info -g' on XFree86 related ports does not indicate any corrupt files, reinstalling fontconfig Xft also had no effect. /var/log/XFree86.0.log: XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: FreeBSD 4.8 i386 [ELF] Build Date: 06 June 2003 . (**) Option Protocol auto (**) Mouse0: Protocol: auto (**) Option CorePointer (**) Mouse0: Core Pointer (**) Option Device /dev/mouse (**) Option Emulate3Buttons (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse0: Buttons: 3 (II) Keyboard Keyboard0 handled by legacy driver (II) XINPUT: Adding extended input device Mouse0 (type: MOUSE) (II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse0: SetupAuto: protocol is SysMouse Warning: font renderer for .pcf already registered at priority 0 Warning: font renderer for .pcf.Z already registered at priority 0 Warning: font renderer for .pcf.gz already registered at priority 0 Warning: font renderer for .snf already registered at priority 0 Warning: font renderer for .snf.Z already registered at priority 0 Warning: font renderer for .snf.gz already registered at priority 0 Warning: font renderer for .bdf already registered at priority 0 Warning: font renderer for .bdf.Z already registered at priority 0 Warning: font renderer for .bdf.gz already registered at priority 0 Warning: font renderer for .pmf already registered at priority 0 There is nothing useful in ~/.xsession-errors. I've had a look on google and found similar issues related to using -O2 optimisation with gcc3.3 /or freetype. Has anyone else seen this problem?. Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using a RAID-card with FreeBSD
Johan Paul wrote: Hi all, This might be kind of a newbie question - I apologize for that. This is my first time I use a hardware RAID card on a server. I was wondering if there are any issues with FreeBSD (4.8R) regarding these cards? Will FreeBSD see the RAID1 as a single hard drive that I just need to partition and label? And if I need to replace a failed hard Yes, it just sees a single ordinary drive. drive in the RAID array I assume the card will do the rebuilding of the array while FreeBSD will function as normal even when I need to reboot the machine? Yes, the RAIDing is completely transparent to the OS. You don't even have to reboot the machine if the disks are hot-swappable. Just pull the dead one out, install the new one, and the controller will bring it up to speed. RAID-1 is much faster to rebuild than RAID-5 (just a casual observation; I'm not sure if that's a hard-and-fast rule). I checked that the card I intended to use (Promise FastTrak TX2) is supported by FreeBSD so I don't assume any problems installing FreeBSD either. Thanks for any answers :-) you're welcome. David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which FreeBSD?
This belongs in -questions, not -smp. On Tue, 1 Jul 2003, David Newman wrote: Greetings. For a small office (~10 users), I am planning to build a mail and DNS server using FreeBSD-SMP; details below. My requirements are availability and performance, in that order. Which FreeBSD is better suited for this -- 4.8 or 5.1? 4.8-RELEASE or 4.8-STABLE Hardware: Compaq Proliant 1850R 6/550 (2 x 550-MHz PIII), 1 Gbyte RAM, 2 x 18-Gbyte SCSI drives 1000% overkill for only 10 users. As an example, I (still) have a 66MHz 486 with 48MB RAM and a single 2GB SCSI drive handling over 300 users with sendmail and cyrus-imapd. Focus on reliability foremost, so mirror those two SCSI drives you have. The Proliant 1850R doesn't offer the ability to use redundant memory, but it at least does ECC. You'll also have an extra processor already there if one happens to go south, and you would never notice it was gone. Software: postfix, courier-imap, bind Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap. Very reliable, very fast, and offers you the ability to create a black box mail appliance that does not require the use of local user accounts, if you wish to go that route. -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest and most stable server OS on the planet - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures - x86-64, PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IDE for C
On Tue, 2003-07-01 at 15:43, Martin Vana wrote: I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/ to DJGPP i used under WIN. I'm running 5.1 and Fluxbox over X. Any suggestions? Thanx Martin PS: I hope I haven't started some flame war :*-] Try Anjuta. Stick with the stable branch for now, though. anjuta-devel is still far too flaky for normal use. Can't even build new projects atm ... -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pam Question
Hi all, I'm trying to setup a freebsd 4.8 server with openldap for authentication. I installed pam from the ports tree, and verified /etc/pam.conf does exist. How does freebsd know when to use pam Thank you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which FreeBSD?
- Original Message - From: Scott Kupferschmidt [EMAIL PROTECTED] To: Chris Dillon [EMAIL PROTECTED] Cc: David Newman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:46 PM Subject: Re: which FreeBSD? FreeBSD 4.8-STABLE would be your best bet. While the machine is a little much just for 10 users, think of expandability for the future. There may be a need for the extra power later on, so it is good that you are using this hardware. I'm sure one can think of other things to use a FreeBSD box other than just mail and DNS :-) Sincerely, Scott Kupferschmidt ISPrime, Inc. 866.502.4678 ext. 3 AIM: Scott ISPrime - ICQ: 174337249 Oh yea. Web, vpn terminator, firewall, file server, print server, the list just goes on and on. :) -- Micheal Patterson TSG Network Administration 405-917-0600 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fatal Trap 12 on SMP
MY equipment is a Tyan 2460 dual CPU with 760 of ram. I am running FreeBSD 5.1 Release without the SMP compilied into the kernel.When I build and install kernel with the SMP components the new kernel will not load. I get the Fatal Trap 12 error. I have compiled the SMP components on FreeBSD 5.0 Release and so I don't suspect a hardware problem as sugested on the FreeBSD forams. Thanks Phil ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Warning: font renderer for .pcf already registered at priority 0
Resending... I'm having problems running XFree86 on 4.8 release with up to date ports. I've tried running XFree86 using both xdm and startx. 'pkg_info -g' on XFree86 related ports does not indicate any corrupt files, reinstalling fontconfig Xft also had no effect. /var/log/XFree86.0.log: XFree86 Version 4.3.0 Release Date: 27 February 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: FreeBSD 4.8 i386 [ELF] Build Date: 06 June 2003 . (**) Option Protocol auto (**) Mouse0: Protocol: auto (**) Option CorePointer (**) Mouse0: Core Pointer (**) Option Device /dev/mouse (**) Option Emulate3Buttons (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 (==) Mouse0: Buttons: 3 (II) Keyboard Keyboard0 handled by legacy driver (II) XINPUT: Adding extended input device Mouse0 (type: MOUSE) (II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse0: SetupAuto: protocol is SysMouse Warning: font renderer for .pcf already registered at priority 0 Warning: font renderer for .pcf.Z already registered at priority 0 Warning: font renderer for .pcf.gz already registered at priority 0 Warning: font renderer for .snf already registered at priority 0 Warning: font renderer for .snf.Z already registered at priority 0 Warning: font renderer for .snf.gz already registered at priority 0 Warning: font renderer for .bdf already registered at priority 0 Warning: font renderer for .bdf.Z already registered at priority 0 Warning: font renderer for .bdf.gz already registered at priority 0 Warning: font renderer for .pmf already registered at priority 0 There is nothing useful in ~/.xsession-errors. I've had a look on google and found similar issues related to using -O2 optimisation with gcc3.3 /or freetype, but haven't yet tracked down all the details. Has anyone else seen this problem?. I am resending this due to problems with the subject line of my first post. I also forgot to mention that I install XFree86 using packages, but have not updated XFree86 recently. My display card is: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) Jeff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stand-a-lone NAT PGM
I have been looking for NAT program which is not part of some other program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of user ppp. I can not find any NAT program in the FBSD ports collection unless I mis-understood some description. If anybody knows of one please let me know. Yes I know that I can set firewall rule to pass all packets just to use NAT function, but I don't want overhead of firewall logic, just simple NAT like PPP NAT function with out the PPP stuff. I was wondering if the NAT logic code from user ppp could be copied and made into stand-a-lone NAT program. My programming ability is not great so I am asking for opinions on weather this is technical possible? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stand-a-lone NAT PGM
I have been looking for NAT program which is not part of some other program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of user ppp. I can not find any NAT program in the FBSD ports collection unless I mis-understood some description. If anybody knows of one please let me know. Yes I know that I can set firewall rule to pass all packets just to use NAT function, but I don't want overhead of firewall logic, just simple NAT like PPP NAT function with out the PPP stuff. I was wondering if the NAT logic code from user ppp could be copied and made into stand-a-lone NAT program. My programming ability is not great so I am asking for opinions on weather this is technical possible? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fatal Trap 12 on SMP
On Tue, 2003-07-01 at 18:11, Susan wrote: MY equipment is a Tyan 2460 dual CPU with 760 of ram. I am running FreeBSD 5.1 Release without the SMP compilied into the kernel.When I build and install kernel with the SMP components the new kernel will not load. I get the Fatal Trap 12 error. I have compiled the SMP components I get a Fatal Trap 12 with Tyan Tiger 100 dual processors and SMP compiled into the kernel only when I have a USB device attached when FreeBSD is booting. later MeM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stand-a-lone NAT PGM
I have been looking for NAT program which is not part of some other program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of user ppp. I can not find any NAT program in the FBSD ports collection unless I mis-understood some description. If anybody knows of one please let me know. Yes I know that I can set firewall rule to pass all packets just to use NAT function, but I don't want overhead of firewall logic, just simple NAT like PPP NAT function with out the PPP stuff. The reason you can't find a NAT program in the ports collection is because such a program exists in the base system. natd(8) is a front-end to the libalias(3) library, which implements generic packet aliasing and masqerading functions (aka NAT). I was wondering if the NAT logic code from user ppp could be copied and made into stand-a-lone NAT program. My programming ability is not great so I am asking for opinions on weather this is technical possible? Thanks Both ppp(8) and natd(8) use the libalias(3) library for NAT functionality. -- Matt Emmerton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Stand-a-lone NAT PGM
Are you saying I can run NATD as a stand-a-lone function? IE: not enabling IPFW and using the 'divert natd' rule -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Emmerton Sent: Tuesday, July 01, 2003 6:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG Subject: Re: Stand-a-lone NAT PGM I have been looking for NAT program which is not part of some other program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of user ppp. I can not find any NAT program in the FBSD ports collection unless I mis-understood some description. If anybody knows of one please let me know. Yes I know that I can set firewall rule to pass all packets just to use NAT function, but I don't want overhead of firewall logic, just simple NAT like PPP NAT function with out the PPP stuff. The reason you can't find a NAT program in the ports collection is because such a program exists in the base system. natd(8) is a front-end to the libalias(3) library, which implements generic packet aliasing and masqerading functions (aka NAT). I was wondering if the NAT logic code from user ppp could be copied and made into stand-a-lone NAT program. My programming ability is not great so I am asking for opinions on weather this is technical possible? Thanks Both ppp(8) and natd(8) use the libalias(3) library for NAT functionality. -- Matt Emmerton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: How to Start Courier-Imap? - RESOLVED
-Original Message- From: Tomlinson, Drew Sent: Monday, June 30, 2003 9:15 AM To: 'David Kelly'; [EMAIL PROTECTED] -Original Message- From: David Kelly [mailto:[EMAIL PROTECTED] Sent: Sunday, June 29, 2003 5:58 PM To: [EMAIL PROTECTED] Cc: Tomlinson, Drew On Sunday 29 June 2003 06:02 pm, Tomlinson, Drew wrote: I've installed courier-imap 1.7.1 using portupgrade on my 4.8 system but I can't figure out how to start it. I'm familiar with /usr/local/etc/rc.d and see links to start scripts there but when I run them, I get errors about being unable to find files. Here's and example: blacklamb# ./courier-imap-imapd.sh.sample start .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No such file or directory I assume this has to do with the files not being installed where the scripts expect to find them. Next I try a 'whereis' to find the file: The courier-imap port is not as friendly as many other ports. It stumped me for a while too. Finally I saw and actually read the last message the make process emitted (from the tail end of /usr/ports/mail/courier-imap/Makefile): I re-ran portupgrade and specifically looked for some sort of message like this but apparently I missed it. Thanks for pointing this out. @${ECHO_MSG} @${ECHO_MSG} You will have to run ${DATADIR}/mkimapdcert to create @${ECHO_MSG} a self-signed certificate if you want to use imapd-ssl. @${ECHO_MSG} And you will have to copy and edit the *.dist files to * @${ECHO_MSG} in ${CONFDIR}. @${ECHO_MSG} Believe this will get you going: % su # cd /usr/local/etc/courier-imap # cp -p imapd-ssl.dist imapd-ssl # cp -p imapd.dist imapd # cp -p authdaemonrc.dist authdaemonrc After copying the following I edited it for my location just in case I ever used x509 certificates: # cp -p imapd.cnf.dist imapd.cnf and for POP3 (I don't use): # cp -p pop3d.dist pop3d # cp -p pop3d.cnf.dist pop3d.cnf # cp -p pop3d-ssl.dist pop3d-ssl and finally: # cd /usr/local/etc/rc.d # cp -p courier-imap-imapd.sh.sample courier-imap-imapd.sh # sh courier-imap-imapd.sh start THANK YOU! THANK YOU! THANK YOU! Your instructions are perfect and complete. I was able to run the startup script without errors and see authdaemond.plai, couriertcpd, and courierlogger in the ps output so I guess it's running. The final thing which stumped me was Apple's Mail.app connecting to courier-imapd ran an infinite loop of repeating connects because ~/Maildir was only a directory and did not contain cur/ new/ and tmp/ directories. See maildirmake(1). Unless you are using quotas it doesn't appear to be any different than ( umask 77; mkdir -p ~/Maildir/cur ~/Maildir/new ~/Maildir/tmp ) I ran maildirmake (as me, not root) in my home directory and it made the Maildir and associated files. However when I attempt to log in using an Outlook Express client (what I have at work), the login fails. I used to have courier-imap running but a hard drive failure has left me rebuilding my whole system. I thought I had good backups until I tried to restore them...but that's another story. Anyway, my point is that because the OE client used to work, I'm sure it's configured correctly and it's the imap server that's not. So, is there a default log file? I used to see imap messages in /var/log/maillog but I don't see any now. How can I turn on logging? I've read the imapd man page but have not seen anything. A quick search on Google yielded no results either. I'm going to continue looking but if you happen to know I'd really appreciate it. It seems when I did this before, I had to edit something to provide the right pam modules? I'm probably not saying it right but it was something to do with pam. The final requirement to allow logins was to add/edit these entries in /etc/pam.conf: # Mail services imapauthrequiredpam_unix.so try_first_pass imapaccount requiredpam_unix.so imapsession requiredpam_unix.so pop3authrequiredpam_unix.so try_first_pass pop3account requiredpam_unix.so pop3session requiredpam_unix.so Thanks for all of your help! Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stand-a-lone NAT PGM
I'm saying that the functionality you want already exists -- in a low-level library called libalias(3), or with a cleaner front-end called natd(8). What you're failing to understand is that NATD cannot run standalone' -- you have to have hook it into the TCP/IP stack somehow. For ppp(8) this is easy, since ppp is already hooked into your system's TCP/IP stack, and can easily run the packets through libalias(3) to achieve NAT functionality. For standard ethernet applications, a common approach is to use ipfw(8) with a single divert rule which redirects all TCP/IP traffic from the TCP/IP stack, through the natd(8) front-end to libalias(3), and then back into the TCP/IP stack. The overhead of ipfw with a single divert rule is very low. The overhead of IPFITLER/IPNAT is even lower. I'm not sure exactly what performance problem you're trying to overcome. -- Matt Emmerton Are you saying I can run NATD as a stand-a-lone function? IE: not enabling IPFW and using the 'divert natd' rule -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Emmerton Sent: Tuesday, July 01, 2003 6:49 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] ORG Subject: Re: Stand-a-lone NAT PGM I have been looking for NAT program which is not part of some other program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of user ppp. I can not find any NAT program in the FBSD ports collection unless I mis-understood some description. If anybody knows of one please let me know. Yes I know that I can set firewall rule to pass all packets just to use NAT function, but I don't want overhead of firewall logic, just simple NAT like PPP NAT function with out the PPP stuff. The reason you can't find a NAT program in the ports collection is because such a program exists in the base system. natd(8) is a front-end to the libalias(3) library, which implements generic packet aliasing and masqerading functions (aka NAT). I was wondering if the NAT logic code from user ppp could be copied and made into stand-a-lone NAT program. My programming ability is not great so I am asking for opinions on weather this is technical possible? Thanks Both ppp(8) and natd(8) use the libalias(3) library for NAT functionality. -- Matt Emmerton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4GB RAM limit?
hi I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top does not recogmize the other 2 GB (only shows 4) and actually there was a message that said ignoring 2 GB. Can anyone shed light on this or suggest where i can look to understand this? tia -- george donnelly - http://www.zettai.net/ - Quality Zope Hosting Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BTX halted
At 02:24 AM 7/2/03, you wrote: In article [EMAIL PROTECTED], Roger Merritt wrote: BTX Loader 1.00 BTX version is 1.01 int=0006 err= efl=00010246 eip=1934 eax=00021d60 ebx= ecx= edx= esi= edi=00020c34 ebp=00094bec esp=00094bdc cs=0026 db=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=0f 44 d6 89 55 fc 46 83-2c b7 00 74 05 83 fa ff ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 ff ff ff ff BTX halted did you try a hard power reset after this message? I have an old IBM intellistation that does the same thing with 5.x. After I install I get the BTX halted, but if I cold boot it after the message it will boot. Well, not exactly. I'll give it a try. I *did* try just hitting the reset button and that didn't make any change. I also turned off the power, removed the hard drive, took it back to its original box, booted up, recompiled the kernel, brought it back to the new(er) box and plugged it back in, and powered up. I also tried booting up with floppies (succeeded) and tried running 'fdisk -B ad0' to try to replace the MBR, but that had no effect. I've tried it on a third, even older box, which I'm running FreeBSD on, and it wouldn't boot up there either -- same error. -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4GB RAM limit?
On Tue, Jul 01, 2003 at 06:30:13PM + or thereabouts, george donnelly wrote: hi I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top does not recogmize the other 2 GB (only shows 4) and actually there was a message that said ignoring 2 GB. Can anyone shed light on this or suggest where i can look to understand this? AFAIK, on i386 the maximum addressable memory space is 4096 MB. Here's why: C pointer = 4 bytes = maximum value 4294967296 -- Josh tia -- george donnelly - http://www.zettai.net/ - Quality Zope Hosting Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh keepalives
I'm having a problem with premature termination of ssh sessions after an idle period of a few minutes, getting a connection reset by peer message. I presume this is due to intermediate stateful firewalls closing the connection when no traffic passes for a period of time. In the past I've addressed this issue when I have control of the destination host, by including the following parameters in sshd_config: ClientAliveInterval 30 ClientAliveCountMax 4 However in this case I don't have control over the destination. It's a self-contained network device. man 5 ssh_conf says that KeepAlive is the default with ssh. Is there any other tactic I can use to keep these connections from closing after a few minutes of inactivity? Currently on FreeBSD 4.8-stable with OpenSSH_3.5p1 -- Philip J. Koenig [EMAIL PROTECTED] Electric Kahuna Systems -- Computers Communications for the New Millenium ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which FreeBSD?
On Tue, 1 Jul 2003, Chris Dillon wrote: Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap. Very reliable, very fast, and offers you the ability to create a black box mail appliance that does not require the use of local user accounts, if you wish to go that route. But makes it much harder to setup procmail filters and manage mailboxes on accounts. I tried cyrus-imap for a year or two and then backed it out and started to use uw-imapd (bad coding standards and all) because cyrus was annoying to maintain. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
md5
How may I use the md5 file to test the integrity of the freebsd iso image I downloaded? Is it normal that sysinstall of freebsd 4.8 contain less ports than 4.6? Thank You _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4GB RAM limit?
hi I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top does not recogmize the other 2 GB (only shows 4) and actually there was a message that said ignoring 2 GB. Can anyone shed light on this or suggest where i can look to understand this? I believe there is currently a 4 GByte limit to usable RAM, but I also believe I saw that it is planned to go up to something like 64 GB in a near future version. Someone out there will know more specifically, I am sure. jerry tia -- george donnelly - http://www.zettai.net/ - Quality Zope Hosting Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4GB RAM limit?
On Tue, Jul 01, 2003 at 04:46:55PM -0700, Joshua Oreman wrote: On Tue, Jul 01, 2003 at 06:30:13PM + or thereabouts, george donnelly wrote: hi I've got a 4.7 freebsd machine and after upgrading from 4 to 6GB of RAM, top does not recogmize the other 2 GB (only shows 4) and actually there was a message that said ignoring 2 GB. Can anyone shed light on this or suggest where i can look to understand this? AFAIK, on i386 the maximum addressable memory space is 4096 MB. Here's why: C pointer = 4 bytes = maximum value 4294967296 Yes and no. i386 addresses are indeed 32 bits which means that a process can only address 4GB worth of memory. On the Pentium Pro and later x86 CPUs there some special tricks that can be used to have a physical address space of 36 bits (64 GB memory), even though a single process still only can use 4 GB. FreeBSD 4.x and earlier does not have any support for those tricks so it cannot use more than 4 GB of RAM. FreeBSD 5.1 and later does have support for PAE (Physical Address Extension) so it can handle up to 64 GB RAM (while a single process is still constrained to a 32-bit address space.) -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: md5
How may I use the md5 file to test the integrity of the freebsd iso image I downloaded? After you have downloaded the ISO, run an MD5 on it and then compare it to the number in the file of md5-s in the directory from whence you downloaded it. jerry _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Limit Processes
How would I set up a users account so I could limit the number of processes they use? For example if they are allotted 5 processes and they start a 6th either all the processes get killed or the sixth is not allowed, something along those lines. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk Space
How would I set up a users account so they are only allotted lets say 100 MB of disk space? Anything more would not be allowed and they would be just allotted the 100 MB. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Diskless Operation Question
I have a dedicated FreeBSD 5.1 server, and I am experimenting with a WinXP / diskless-FreeBSD dual boot workstation. I have followed the instructions in the handbook and I get to a point that makes me think I have done somthing wrong with my diskless kernel. The workstation boots with an etherboot floppy, finds the dhcp server and downloads the kernel from NFS. It seems to contemplate loading the kernel for about 5 seconds then reboots. I have seen postings in the archives about recompiling the kernel with the proper CPUTYPE in /etc/make.conf. I have tried this and it makes no difference. The only thing I have been considering is that I have a bunch of modules that were compiled installed w/o CPUTYPE=p3, as they were imported with clone_root. So the only solution I can think of is to recompile/install these modules with the proper CPUTYPE, but I'm not sure how to have make installkernel put the modules / kernel in /misc/diskless/boot instead of /boot? I won't need to do this with userland, will I? This would make diskless operation impossible for my situation. Below is a more detailed breakdown of what I am trying to do and some pieces of my config files. TIA- Ben Polidore [EMAIL PROTECTED] --Hardware My server: Via C3 800 CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU) Origin = CentaurHauls Id = 0x678 Stepping = 8 Features=0x803035FPU,DE,TSC,MSR,MTRR,PGE,MMX (from dmesg) My workstation: Pentium III 933 --Configs *dhcpd.conf: option swap-path code 128 = string; option swap-size code 129 = integer 32; #snip host inferior { hardware ethernet 00:03:6d:00:18:40; fixed-address 10.0.0.100; next-server 10.0.0.1; filename /misc/diskless/kernel; option root-path 10.0.0.1:/misc/diskless; option swap-path 10.0.0.1:/misc/diskless/netswap; option swap-size 128000; } *kernel config for DISKLESS: machine i386 #cpuI486_CPU #cpuI586_CPU cpu I686_CPU ident DISKLESS maxusers0 options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT#NFS usable as root device, requires options BOOTP options BOOTP_NFSROOT options BOOTP_COMPAT #that's all that seems pertinent -I have diskless root at /misc/diskless: [EMAIL PROTECTED]:~]# ls /misc/diskless/ bin confkernel sbintmp bootdev mnt stand usr cdrom etc procswap.10.0.0.100 var compat homerootsys -I compiled DISKLESS kernel like so: make buildkernel KERNCONF=DISKLESS CPUTYPE=p3 #i also had CPUTYPE=p3 in make.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk Space
Hi, How would I set up a users account so they are only allotted lets say 100 MB of disk space? Anything more would not be allowed and they would be just allotted the 100 MB. I think this page http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html provides the information that you need. Cheers, Simon signature.asc Description: Digital signature
Re: Limit Processes
How would I set up a users account so I could limit the number of processes they use? For example if they are allotted 5 processes and they start a 6th either all the processes get killed or the sixth is not allowed, something along those lines. Please see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-limiting.html as well as man login.conf. The maxproc directive should do what you desire. Simon signature.asc Description: Digital signature
Losing header in postscript document
I'm trying to print a copy of cvsbook.ps using KGhostView. Originally, my ghostview config was using -sDEVICE=x11, but I've also tried -sDEVICE=cdj550, because I have an HP560C. I'm also using CUPS and had quite a time getting it configured, but it does print. I try to print just page 6, because the headers are not being printed, and I've already killed to many trees... From KGhostView's print dialog, I expand it so I can select only the current page, and I enable print preview. The page looks good. The header is about a half inch from the top, and the first line is about an inch down. Setting margins seems to have no effect. When the document actually prints, the header is missing and the line that was at one inch is at a half inch. I think the header may have been cut off by the printer because it can't print with something like .33 of an inch from the top. Why aren't the margins being used? Why doesn't a .ps file just appear on paper as it does on the screen? Is there something else I need to install or configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]