Installation : CD drive not detected
Hi all, I am trying to install the FreeBSD 4.8 Release on a i386 m/c. I have burnt the iso images onto a CD. My problem The m/c boots uncompressing the kernel and takes me thru the menu. While choosing the installation Media I get the message No CD/DVD devices found while searching on the web I found one mail which mentioned problems with FreeBSD and ATA, ATAPI. The workaround provided was where in has to set hw.ata.ata_dma=1 set hw.ata.atapi_dma=1 but still I could not choose the CD as the installation media? Need help in getting around this problem -sundeep Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which webmail
Hello, Me too. Squirrelmail using courier IMAP does the trick nicely. And fast too! Matt. On Wed, Nov 19, 2003 at 05:34:36PM +, Jake Stride wrote: Date: Wed, 19 Nov 2003 17:34:36 + To: Vince Hoffman [EMAIL PROTECTED] From: Jake Stride [EMAIL PROTECTED] X-Mailer: Apple Mail (2.552) Cc: [EMAIL PROTECTED] Subject: Re: Which webmail On Wednesday, Nov 19, 2003, at 17:27 Europe/London, Vince Hoffman wrote: Hi all, I'm considering installing a webmail system on one of my machines. Its internet facing, so i'd prefer security over features if its an issue. The machine in question is running 4.8, uw-imap, postfix and apache 2.0.47 Does anyone have any suggestions, experience they would like to share ? Thanks. Vince ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'd have to say Squirrel Mail http://www.squirrelmail.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
FreeBSD 5.1 on ASUS P4C800 (onboard NIC problems, 3Com 3C940) (a solution)
I know there is no support 3c940 nic with FreeBSD 5.1 version. But it is added later. I look at the CVS. In FreeBSD 5.1 the driver version of the sk is 1.59 (if_sk.c). But 3c940 support added to sk with version 1.65. So i take the 1.65. then i put these files to kernel and i compile itl. Now i am happy with my 3c940 on FreeBSD 5.1. you can download if_sk.c 1.65 version from http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_sk.c . But it depend to 2 other files (if_skreg.h and yukonreg.h) so you must download they also. Steps --- (+)download if_sk.c version 1.65 - http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_sk.c?rev=1.64content-type=text/plain (+)download if_skreg.h version 1.16 - http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_skreg.h?rev=1.16content-type=text/plain (+)download yukonreg.h version 1.1 - http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/yukonreg.h?rev=1.1content-type=text/plain (+) backup your orginal files which are in /usr/src/sys/pci/ mv /usr/src/sys/pci/if_sk.c /usr/src/sys/pci/if_sk.c.orig mv /usr/src/sys/pci/if_skreg.c /usr/src/sys/pci/if_skreg.h.orig mv /usr/src/sys/pci/yukonreg.h /usr/src/sys/pci/yukonreg.h.orig (+) copy your downloaded files to /usr/src/sys/pci/ cd /floppy/ #I guess that cp if_sk.c if_skreg.h yukonreg.h /usr/src/sys/pci/ (+) Now you can compile kernel cd /usr/src/sys/i386/conf/ config GENERIC cd ../compile/GENERIC make depend make make install (+) reboot the system reboot (+) if everything ok you can see your sk driver with 3c940 Krad Yusuf KONU KYK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
My non-technical understanding: * A BSD system has a fully qualified domain name that is set and retrieved by the hostname(1) command. This is normally defined in /etc/rc.conf and considered the 'true name' of the system. If this name does not resolve to an IP address, many network services will complain (such as sendmail). If this IP address is not configured on an interface on the system, many things will get confused (such as routing). * You can also configure other interfaces, either on extra network cards or using the alias option of ifconfig(8). These interfaces should have different IP addresses, and names are optional (but convenient). * Any IP address can have extra names, either in /etc/hosts or on a nameserver. The 'canonical' name should probably come first. Your average BSD system will have 1 hostname that resolves to 1 address configured on its single network interface. The /etc/hosts file will map this address to the FQ hostname, and probably also to the short version for convenience. It will also have the name localhost, resolving to 127.0.0.1 and configured on lo0, again using /etc/hosts for resolution. Anything beyond that is up to you... - Original Message - From: paul van den bergen [EMAIL PROTECTED] Subject: hostnames and interfaces hey all, I first encountered networking in CISCO land... where IP addresses and host names seem to be associated... what is the freeBSD way? AFAICS, a machine has a defined name regardless of howmany interfaces it has. if one splits the world up into hosts (one interface) and routers (multiple interfaces) can one define multiple hostnames? to expand on this, there is a potential many to many relationship here between host names and IP addresses (strickly speaking that is what dns etc sees?) how dose BSD define this? how does one define this using BSD? -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au [EMAIL PROTECTED] IM:bulwynkl2002 And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made. Sir Walter Scott, St. Ronan's Well 1824 ___ [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 can I set a password from STDIN?
On Fri, Nov 21, 2003 at 06:42:54AM +0200, Lefteris Tsintjelis wrote: Hi, Would anyone know how can I set or change a password from STDIN? Neither passwd or pw seem to accept STDIN. Use the -h 0 option for pw(8). Check the man pages for more details. -- Jonathan Chen [EMAIL PROTECTED] We laugh in the face of danger, we drop icecubes down the vest of fear - Edmond Blackadder III ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I install packages only for my release?
Hi, I shall certainly try installing a port instead. I am rather new to FreeBSD and am unclear as to how I can obtain new packages. When I run sysinstall, it does not offer new packages. Does that mean that the new packages are not meant to be installed? Or is it the case that I need to reconfigure it so that it looks in the correct place? If the latter, does sysinstall or pkg_add know to deleter the old version before installing the new one. Thanks for the replies. -Rahul --- paul beard [EMAIL PROTECTED] wrote: On Nov 20, 2003, at 5:06 PM, Rahul Fernandez wrote: Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is installed. I now would like to upgrade to hpijs-1.5. However, this package is only available in 4.9-stable. Can I install the package from 4.9-stable or is it advisable to stick to the packages in my release? why not install it from a port? I use packages as a last resort, and go with ports first. __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Restricting SSH access to only a users home directory.....
Hi there , Can any body tell me how i can restrict an user SSH to his own home directory . I am using FreeBSD OpenSSH_2.9 FreeBSD SSH protocols 1.5/2.0 . Any links or help will be appriciated Shrikant ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
No sound when playing a CD in FreeBSD 4.9
Hi, I have set up my sound card and am able to hear sound through it when playing mp3 files with xmms. I have the cd plugin for xmms and have, I believe, correctly configured it. The songs on the cd appear in the xmms playlist and a song appears to be playing but I hear nothing. I have checked the mixer levels with aumix and everything seems fine. I have also tried to play a cd using cdcontrol. Again, the cd drive appears to be playing but I hear nothing. The cd player works works fine under linux and windows. If it is relevant, it is a dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would be most appreciated! Thanks, Rahul __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
On Fri, Nov 21, 2003 at 12:17:30PM +1100, paul van den bergen wrote: I first encountered networking in CISCO land... where IP addresses and host names seem to be associated... what is the freeBSD way? AFAICS, a machine has a defined name regardless of howmany interfaces it has. if one splits the world up into hosts (one interface) and routers (multiple interfaces) can one define multiple hostnames? to expand on this, there is a potential many to many relationship here between host names and IP addresses (strickly speaking that is what dns etc sees?) how dose BSD define this? how does one define this using BSD? Good question. Yes, this can be a problem with a multi-homed host: not really in any functional sense, but for organizational purposes. Any machine will have a hostname -- that is the name which gets printed in shell prompts and that the system uses by default to identify itself for such services as SMTP servers, LDAP, NIS, HTTP etc. The hostname is set by (surprise, surprise) the hostname(1) command using the data from /etc/rc.conf. This is generally recorded in /etc/hostnames, possibly with the names of various other local machines around the place because that's the one lookup system that's always available even when the network isn't up. But /etc/hostnames doesn't have to be used at all: I generally prefer to have the DNS be *the* unique data source for this sort of thing, so my /etc/hostnames files are pretty skeletal. Relying on the DNS leads to the use of hierarchical domain names and yet another religious argument: if the FQDN is 'foo.example.com' do you set the hostname to just 'foo' or do you use the fully qualified domain name as the hostname? The problem with using just 'foo' is that there is no general mechanism for telling the system what the rest -- the 'network part' of the name -- should be.[1] As good sys-admins we should be allergic even to the possibility of things going horribly wrong, and using the FQDN as the hostname closes off several potential trouble spots. However using the hostname as the default for all of the various services is generally only a convention. Those services can usually be configured to use whatever names you may imagine: role based names (www.example.com) are fairly common -- which is useful if you need to swap out machines for maintenance as you can just switch the role-name to an alternative server fairly simply. This also allows you to run 'virtual' servers: multiple instances of the same service on one machine. Since these services are generally networked based, they have to have an IP number associated with them: most of the time a CNAME record in the DNS will do, but some things like SMTP MXes or HTTPS virtual hosts need real A records. Now, most of this discussion has implicitly assumed that we're using a machine with a single network interface and just one IP number. For a big server, that's probably not going to be the case -- there may well be several IP numbers configured on a single interface (have to do this for eg. hosting multiple HTTPS virtual hosts on one machine) or several network interfaces, either to provide redundancy against failure of network kit or to allow the machine to have direct connections to several physical networks. In this case, it's perfectly reasonable to have all of: * the machine hostname as an A record configured in the DNS to return a list of all of the interface IP numbers, and corresponding PTR records. * individual domain names as A records that resolve to each of the IP numbers on the interfaces, or to the principal address on each interface, or to per-network IP numbers, and corresponding PTR records: together with the above, this means that looking up the IP number can return several hostnames. * role based names that can include all combinations of all of the above, either as A+PTR combinations or as CNAMES. Having several host names resolving to the same IP number is not a problem. Of course, being good DNS admins we will set up PTR records to do the inverse lookups. Personally I feel that having PTR records that return several domain names is perfectly valid, but there's various old documentation that insists the sky will fall if you do things like that.[2] In summary the whole relationship between host and domain names and IP numbers is defined by whatever works for you... Cheers, Matthew [1] There was for a long time a confusion between the NIS domain name and DNS based names, especially on Solaris machines. However NIS and DNS are separate systems and don't have to use the same domain structure at all. Nowadays LDAP is taking over from NIS, and again this has it's own hierarchical structure although one increasingly popular layout is to mimic the DNS hierarchy. The default domain or search path in /etc/resolv.conf is sort of going in the right direction, but there's no rule that says
Re: FreeBSD beside WinXP
Kent Stewart écrit: If you want to pass large files, you need something you can write to from FreeBSD. You can read but not write to NTFS. I have a number of multi-boot machines and I almost always have that much in one partition that is FAT32. To solve the problem, I loaded WinXP in a FAT32 partition, which I incidently use as a temporary storage between systems when necessary. This way, I have only 1 MS partition... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I install packages only for my release?
On Fri, Nov 21, 2003 at 12:53:49AM -0800, Rahul Fernandez wrote: Hi, I shall certainly try installing a port instead. I am rather new to FreeBSD and am unclear as to how I can obtain new packages. When I run sysinstall, it does not offer new packages. Does that mean that the new packages are not meant to be installed? Or is it the case that I need to reconfigure it so that it looks in the correct place? If the latter, does sysinstall or pkg_add know to deleter the old version before installing the new one. Thanks for the replies. -Rahul The secret is that once you've installed the system, put away sysinstall(1). Learn how to use the system level commands for installing packages -- particularly pkg_add(1). Even better, use the ports tree. This may sound terrifying to the uninitiated: what, you mean I should compile all this stuff from source?! but that's the beauty of the ports system. It reduces doing all that right down to typing make install in the appropriate directory. It's all explained in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html While you're there, read about the two essential packages for managing your system: cvsup(1) and portupgrade(1) (use http://www.freebsd.org/cgi/man.cgi if you haven't already installed those ports) and then congratulate yourself in choosing (IMHO) the most maintainable computer system available bar none. 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
FreeBSD 5.x-R CDROM Installation Hang
Hello, I've been trying to install FreeBSD 5.1-R from the official 4 CD set. The problem I'm about to describe occurs with 5.0-R too. Incidentally, everything is fine with the 4.x-R CDs (no hang, no lsdev problem, perfect installation). I insert the first CD and the loader kicks in. It doesn't matter whether or not ACPI is enabled (which my system supports); I get the same result either way: the box hangs after the little spinning bar, which appears after the 5.1 menu (or after the 'boot' command from the loader prompt), has spun a few times. No error messages, no copyright + kernel banner, nothing. This occurs in all boot modes... default, no acpi, safe, single user. I've tried playing with BIOS settings. I've tried dropping to the loader prompt (5.1 menu option 6) and playing with device hints via the 'show' and 'set' commands, but all the generic settings (irqs, ports, etc.) seem to be fine. One thing to note is that issuing 'lsdev' at the loader prompt causes a reboot, apparently after it tries to gather information about BIOS Disk 2 (which seems to be the CDROM). This is strange because it has already reported on the CDROM as cd0. BTX reports: cd0 = CDROM Bios Disk 0 = floppy disk (A) Bios Disk 1 = hard disk (C) Bios Disk 2 = CDROM (D) Notice the overlap for CDROM. The 'lsdev' reboot seems to occur when it tries to check the CDROM a second time. The parameters 'currdev' and 'loaddev' have the default value 'cd0:'. Changing 'currdev' to 'disk2:' and typing 'boot' causes an abrupt reboot. This seems to further indicate that the problem lies in the drive assignment somewhere. I have the hard disk attached to IDE#1 Primary. The ATAPI CDROM is attached to IDE#2 Slave. I can't boot from floppies and try to install from the CD because I get a read error with kern.flp (that was dd'd or fdimage'd). I've never encountered problems so early in the installation process before. Any help in solving this nightmare is appreciated. __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HD error: BAD SUPER BLOCK
Hello there, this is the problem: I had a machine running FreeBSD 4.7-Stable. There I added a 80GB harddisk. This harddrive I wanted to install on my other machine running FreeBSD 4.9-Release. This disk is ad6 so I added /dev/ad6 /storage ufs rw 2 2 to fstab and rebooted. While booting the kernel the following error came up: ... /dev/ad6: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY ... THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY /dev/ad6 (/storage) automatic file system check failed . . help! Enter full path name of shell or RETURN for /bin/sh: I hit Return and type fsck which give this output: ... ** /dev/ad6 BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad6; NOT LABELED AS A BSD FILE SYSTEM (unused) I searched the intenet and found this way: fsck -b 32 which gives this output for /dev/ad6: ... BAD SUPER BLOCK: MAGIC NUMBER WRONG Now I tried another way I found on the net: dd if=/dev/ad6 skip=32 of=/dev/ad6 seek=16 bs=512 count=16 which gives this output: 16+0 records in 16+0 records out 8192 bytes transferred in 0.024632 secs (332576 bytes/sec) when I want to leave the shell there are still errors until I remove the added line in /etc/fstab. the output of fdisk -t ad6 is the following: ... sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 160071597 (78159 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: 1023/ head 254/ sector 63; ... the output of /stand/sysinstall -Configure-Fdisk-ad6 is: Offset Size(ST) END Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 160071597160071659 ad6s1 3 freebsd 165 C 160071660 14868160086527 - 6 unused 0 I don't know what is wrong but I don't want to lose the data. Any hint is appreciated. Thanks a lot, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD beside WinXP
On Friday 21 November 2003 01:30 am, [EMAIL PROTECTED] wrote: Kent Stewart écrit: If you want to pass large files, you need something you can write to from FreeBSD. You can read but not write to NTFS. I have a number of multi-boot machines and I almost always have that much in one partition that is FAT32. To solve the problem, I loaded WinXP in a FAT32 partition, which I incidently use as a temporary storage between systems when necessary. This way, I have only 1 MS partition... On a single user system that is probably ok but you don't have the security that NTFS has built into it. You make it easier one way and lose protection in the other. I don't like the idea of a regular user having administrator privlidges. Running as administrator on XP carries the same risk that running as root does on Unix. The NTFS, I think, really supports the long names that are common to the registry and FAT32 has to use an alternate way of deal with long names. That is why you see the funky names with embedded ~ tildes. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
Rahul Fernandez wrote: Hi, I have set up my sound card and am able to hear sound through it when playing mp3 files with xmms. I have the cd plugin for xmms and have, I believe, correctly configured it. The songs on the cd appear in the xmms playlist and a song appears to be playing but I hear nothing. I have checked the mixer levels with aumix and everything seems fine. I have also tried to play a cd using cdcontrol. Again, the cd drive appears to be playing but I hear nothing. The cd player works works fine under linux and windows. If it is relevant, it is a dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would be most appreciated! Thanks, Rahul Maybe a common mistake: Is there an audio cable between the drive and the soundcard ? That is necessary to play cdda. I don't know the exact specs but your cd-drive sends the sound kinda directly to your soundcard. So that cable is necessary Greetz -- Bert Lagaisse K.U.Leuven, Dept. computerwetenschappen. Email: [EMAIL PROTECTED] Tel: 016 32 78 24 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
You wrote: [...] Maybe a common mistake: Is there an audio cable between the drive and the soundcard ? That is necessary to play cdda. I don't know the exact specs but your cd-drive sends the sound kinda directly to your soundcard. So that cable is necessary But he said it worked correctly under Linux, so that can't be it. Unless he was wrong and it *didn't* work correctly under Linux, of course. :) Cheers, Bernard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Downgrading from current to release or stable?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible or advisable to downgrade to stable or release from current? I'm running 5.1-current now, but I'm think I should probably switch to stable if possible. - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP73t4GjZbUnRudGOEQLwIACgvOhGu4mELwyMtcQAnNtkQaKMe5gAnRDk SSU64sG1Fo/CNcrqkK+ix+3Q =0NUk -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
On Friday 21 November 2003 01:14 am, Rahul Fernandez wrote: Hi, I have set up my sound card and am able to hear sound through it when playing mp3 files with xmms. I have the cd plugin for xmms and have, I believe, correctly configured it. The songs on the cd appear in the xmms playlist and a song appears to be playing but I hear nothing. I have checked the mixer levels with aumix and everything seems fine. I have also tried to play a cd using cdcontrol. Again, the cd drive appears to be playing but I hear nothing. The cd player works works fine under linux and windows. If it is relevant, it is a dvd/cd rom combo drive (Lite-on). If anybody has any insght, it would be most appreciated! Thanks, Rahul Look at chapter 16 in the Handbook. There are some things that you have to do, such as add device pcm or others to your kernel before you can have sound. I have a black Lite-on in my test server and it worked just fine after I configured xmcd to use /dev/acd0c. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changes to /etc/login.conf ignored
Hi, I'm seeing somewhat strange behavior in my 4.9 System: Seems like any changes I make to /etc/login.conf get silently ignored. Here's what I've done: I wanted to set an environment varialbe LC_CTYPE in /etc/login.conf like this :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,LC_CTYPE=de_AT.ISO8859 +-1:\ Then I did a # cap_mkdb -v /etc/login.conf cap_mkdb: 9 capability records # but for any user logging in LC_CTYPE isn't set. Next I tried to set some abitrary env-variable in /etc/login.conf - again that variable is not set - for none of the users. As a last test I changed the original setenv-line in /etc/login.conf to list FTP_PASSIVE_MODE=NO instead of the original YES - again upon login every user still has passive-mode YES. Just to be sure I even renamed/moved any shell-init files of the users out of the way, including ~/.login_conf - didn't change a thing either. Every change I make to /etc/login.conf gets silently ignored... Thanks in advance for any clue, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Staying current with 4.9 - which supfile?
Hi, In order to keep a 4.9 system current - do I need to use the standard-supfile or stable-supfile with cvsup? A diff between the two shows the only real difference being: $ diff standard-supfile stable-supfile . . . 54c71,73 *default release=cvs tag=RELENG_4_9 --- # The following line is for 4-stable. If you want 3-stable or 2.2-stable, # change RELENG_4 to RELENG_3 or RELENG_2_2 respectively. *default release=cvs tag=RELENG_4 So which supfile is the one to go? TIA for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Updating w. sysinstall (was: Security question)
Hi Kevin! On Wed, 19 Nov 2003, Kevin McKay wrote: So it will not just grab the latest patched binaries for 5.1? Correct. Is it just for updating between releases and not for keeping the current release up to date? ...also correct, just updating between releases. Greetings, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Information about /dist
olgav wrote: During the freebsd5.0 mounting I trying mounting DOS partion , but got the messege error mounting /dev/ad0s1 on /dist : no such file or directory (2). Do you have a directory called /dist already set up to use as a mount point? PWR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Downgrading from current to release or stable?
Mike Loiterman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible or advisable to downgrade to stable or release from current? I'm running 5.1-current now, but I'm think I should probably switch to stable if possible. I just moved from 5.1-current to 5.1 release, and fixed a lot of problems on a horribly unstable box by doing so. I believe downgrading to stable is very awkward, but others will be better qualified to discuss that than I am. I used *default release=cvs tag=RELENG_5_1 in my cvsup file, cvsupped, made world, made kernel, installed kernel, rebooted, installed world, rebooted. No problems at all. PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DMA issue caused crash and file system inconsistency
Hi, I did some stupid newbie things: I have 2 cdroms, a plextor 8/4/32A and a 50x aopen cdrom. I added the line hw.ata.atapi_dma=1 to loader.conf The plextor now uses WDMA2 The aopen cdrom still uses PIO4 (dma worked under wintendo 2000) After I tried to enable DMA (using atacontrol) on my aopen cdrom and mounted it, the system crashed (freebsd 4.9-RELEASE) result : During the reboot i got an error and had to run fsck I did, and answered yes to all the questions. (kinda stupid, I know) The system booted but startx couldn't find /var/log/XFree86.0.log It seems that /var/log was completely removed mkdir log in /var solved the problem What else can I expect after a file system inconsistency ? And how do I solve the cdrom DMA problem ? -- Bert Lagaisse K.U.Leuven, Dept. computer science Address: Celestijnenlaan 200A 3001 Heverlee Belgium Email: [EMAIL PROTECTED] Tel: +32 16 32 78 24 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Downgrading from current to release or stable?
On Fri, Nov 21, 2003 at 04:50:09AM -0600, Mike Loiterman wrote: Is it possible or advisable to downgrade to stable or release from current? I'm running 5.1-current now, but I'm think I should probably switch to stable if possible. Down... -- er -- regrading to STABLE is certainly possible, but not what most people would think of as easy. One major stumpling block is that UFS2 in 5-CURRENT isn't supported in 4-STABLE, so unless you happened to specifically create all of your 5.x filesystems using the old UFS, you're going to have to wipe and re-install loads of stuff. If you do decide to jump to 4.9-STABLE then probably the simplest way to do things is to backup any data you need to save, make notes about exactly how you've configured your system, what ports you have installed and all the other customizations you've done, and then just re-install 4.9-STABLE from scratch. -- 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: Staying current with 4.9 - which supfile?
On Fri, Nov 21, 2003 at 12:27:58PM +0100, [EMAIL PROTECTED] wrote: In order to keep a 4.9 system current - do I need to use the standard-supfile or stable-supfile with cvsup? That depends on whether you want 4.9-STABLE (stable-supfile), which is the latest incarnation of the 4-STABLE branch, or whether you want 4.9-RELEASE-pX (standard-supfile) which is the 4.9-RELEASE system plus security patches only. 4-STABLE receives new functionality, upgrades to software and so forth. 4.9-RELEASE doesn't. 4-STABLE is what I'd recommend to a home or hobby user, or for someone's workaday desktop machine. 4.9-RELEASE is what I'd recommend for a critical server that absolutely has to keep running 24x7. 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: install problem
[EMAIL PROTECTED] writes: I have a problem when trying to install FreeBSD 5.1. Problem appear on initialize part, installer have frozen and it is a little bit strange for me. Your problems look like they might be related to the ACPI troubles listed in the release errata. Did you try the suggestions there? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question abt arp in 5.1-RELEASE
Ilya V. Serov [EMAIL PROTECTED] writes: I've got a curious thing with FBS 5.1-RELEASE, concerning arp requests/reply. I have a LAN, connected to Internet through CISCO router. Recently I had to move one ip address inside my LAN from a 4.8 box to a 5.1 box without a reboot (ifconfig ...). After this I had discovered that CISCO continue sending packets to old MAC address (to 4.8). After an investigation of the problem I discovered, thet CISCO had not forgotten the old MAC. If ip is being moved from 4.8 box to 4.8 box this effect fanishes. Did anyone get similar problems? Is it a feature or a bug in 5.1, or I don't understand something? It *should* be normal behaviour. The other devices on the Ethernet shouldn't update their ARP listings until the box sends out some kind of broadcast packet. If it doesn't do so, the other devices will time out their ARP mappings in 5 minutes. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation Issues
Jake Stride [EMAIL PROTECTED] writes: I have had freebsd 4.9 working fine on a dell optiplex, until I decided to do a re-install today. However, I am now no longer able to boot freebsd. The installation proceeds normally, but when I reboot the system, it gets to the boot manager and then reboots, and then keeps on rebooting everytime it gets to the boot manager. I have tried without the boot manager and also each of the partitions. I have also set the / partition to bootable, but to no avail. I am sure this must be a simple error on my part, but I have been looking at it for too long now, and wondered if anyone else could shed any light on the issue. Sounds like you didn't get the loader installed on your FreeBSD boot partition. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
startx and numlocks
Does anyone know how to keep numlocks on when using startx? I have numlocks on in all of my terminals, but when I start X, it goes off. Is there a line I can add to .xinitrc? TIA, Dru ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Tracker]
Hey...my logon name is ganja on the supernova site. I have a tracker up and running now if ya want to use it. The announce address is http://warzone.no-ip.com:6969/announce let me know so i can set ya up an account to upload torrents and stuff. Thanks, ganja ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: startx and numlocks
Dru writes: Does anyone know how to keep numlocks on when using startx? I have numlocks on in all of my terminals, but when I start X, it goes off. Is there a line I can add to .xinitrc? My solution (certainly not the best one!) was to edit /usr/X11R6/lib/X11/xkb/symbols/us Jean-Marc -- Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Terminal Server
Hi, I would like to deploy a few terminal servers at my company and im wondering if FreeBSD has a way in which this can be done. Linux has LTSP (http://www.ltsp.org). It basically allows you to boot up from a stiffy using a diskless server. Can this be done on FreeBSD and if so how ? Using bootprom ? Thanks for the help. Ian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK
toor [EMAIL PROTECTED] writes: When I begin setup I see next message: eisa0: EISA bus on motherboard eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1 Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x58:0x81d1 stack pointer = 0x10:0xeb8 frame pointer = 0x10:0xf0e code segment= base 0xc00f, limit 0x, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor elfags= interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 9 panic: general protectin fault What must I do to setup freeBSD to my notebook. Do you need 5.1? http://www.freebsd.org/releases/5.1R/early-adopter.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fwd: newbee help on freebsd email server setup
here is the problem i cant track down.when i send mail to an account set up on mailserver (thru adduser) and using an remote source email server.when i use a pc through windows 2000 running outlook express i cannot retrieve the mail...it comes back with error message 550 host unknown Outlook Express is probably trying to use POP or some other mailbox protocol (maybe IMAP) to download the messages. Sendmail has nothing to do with it at this level; you need a POP server to allow POP downloading of messages. There are several in the ports system. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 200gb hard drive?
Omer Faruk Sen writes: Thanks for all answers. That space problem was bothering me all the times and I have learnt the reason for space loss. By the way I admit that I have to make more search on google before sending that to here. But it can be very nice that this information to be added on handbook. Or is it in handbook already? I think it's in the FAQ. A better question for the list: did something change in df sometime in 5.x? Because the numbers in the three columns used to match (modulo rounding error); if you dipped into the reserve pool it showed as negative free space available - a _very_ obvious visual marker something was wrong. (I'd been wondering why I get this: huff@ df -h FilesystemSize Used Avail Capacity Mounted on /dev/da0s1a 484M 111M 334M25%/ devfs 1.0K 1.0K 0B 100%/dev /dev/da1s1d44G19G22G47%/usr /dev/da0s1d 989M38M 872M 4%/var and wondering whether it foretold some larger problem. ) Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disklabel problem IBM SCSI3 disks, vinum too
At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Quotation broken. On Wednesday, 19 November 2003 at 9:13:43 -0500, Bob Collins wrote: At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote: Do you have device nodes for da4? Has it been labelled at all? I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4 in the /dev directory. After that, there were what appeared to be all the device nodes for da4. I was able to label the drive and use it with vinum under 5.0-RELEASE FWIW. Under 4.9-RELEASE (which is what I now run) it will not label through /stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either get that drive d (da4s1h) is referenced and in the down state while the other three drives are up, or the other three drives a b c are referenced and in the down state while drive d is up. I need the information I ask for in http://www.vinumvm.org/vinum/how-to-debug.html. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. FreeBSD 4.9 RELEASE No changes to sources vinum - list 4 drives: D d State: up Device /dev/da1s1h Avail: 0/8747 MB (0%) D c State: up Device /dev/da2s1h Avail: 0/8747 MB (0%) D b State: up Device /dev/da3s1h Avail: 0/8747 MB (0%) D a State: up Device /dev/da4s1h Avail: 0/8747 MB (0%) 1 volumes: V raid State: down Plexes: 1 Size: 25 GB 1 plexes: P raid.p0R5 State: init Subdisks: 4 Size: 25 GB 4 subdisks: S raid.p0.s0State: emptyPO:0 B Size: 8747 MB S raid.p0.s1State: emptyPO: 512 kB Size: 8747 MB S raid.p0.s2State: emptyPO: 1024 kB Size: 8747 MB S raid.p0.s3State: emptyPO: 1536 kB Size: 8747 MB 18 Nov 2003 21:03:29.947426 *** vinum started *** 18 Nov 2003 21:03:29.948250 *** Created devices *** 18 Nov 2003 21:03:30.242946 create -f /etc/vinum.conf # Vinum configuration of freebie, Wed Nov 13 drive /dev/a device /dev/da1s1h drive /dev/b device /dev/da2s1h drive /dev/c device /dev/da3s1h drive /dev/d device /dev/da4s1h volume raid plex org raid5 512k sd len 8747m drive /dev/a sd len 8747m drive /dev/b sd len 8747m drive /dev/c sd len 8747m drive /dev/d 18 Nov 2003 21:03:30.407281 *** Created devices *** 18 Nov 2003 21:03:29.948250 *** Created devices *** Nov 18 21:03:24 freebie /kernel: vinum: loaded Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing Nov 18 21:03:24 freebie /kernel: vinum: loaded Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/a is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/b is up Nov 18 21:03:30 freebie /kernel: vinum: drive /dev/c is up Nov 18 21:03:30 freebie /kernel: vinum: raid.p0.s3 is crashed Nov 18 21:03:30 freebie /kernel: vinum: raid.p0 is initializing ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Terminal Server
Ian Barnes [EMAIL PROTECTED] writes: I would like to deploy a few terminal servers at my company and im wondering if FreeBSD has a way in which this can be done. It's not hard at all to slap together, but for real applications, I'd recommend buying a commercial terminal server anyway. It will be a lot more reliable than typical PC hardware. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About setup FreeBSD 5.1 RELEASE to Sony notebook PCG-R505GCK
toor wrote: When I begin setup I see next message: eisa0: EISA bus on motherboard eisa0: unknown card [EMAIL PROTECTED] (0x0808) at slot 1 Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x58:0x81d1 stack pointer = 0x10:0xeb8 frame pointer = 0x10:0xf0e code segment= base 0xc00f, limit 0x, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor elfags= interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 9 panic: general protectin fault What must I do to setup freeBSD to my notebook. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try typing this at the loader prompt: set hw.pci.allow_unsupported_io_range=1 And then 'boot'. You can type '?' for help. If that doesn't work, then try posting to either -CURRENT or -MOBILE. Perhaps someone there can be of more help. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
Look at chapter 16 in the Handbook. There are some things that you have to do, such as add device pcm or others to your kernel before you can have sound. I have a black Lite-on in my test server and it worked just fine after I configured xmcd to use /dev/acd0c. Kent Hi, Thanks for the responses. My understanding from the handbook was that I did not need to do this as I simply loaded a module (by editing the 'loader.conf' file). Am I mistaken? I am able to hear sound when watching films using mplayer. Does that not mean that the audio cable is connected to the sound card (in response to somebody's suggestion)? I will check later that this is the case. Thanks, Rahul __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
savecore: reboot after panic: page fault (was Re: Question)
VastNET [EMAIL PROTECTED] writes: Do you know what's the reason of it? My machine is rebooting few times a day. If answer is YES, what should I do? savecore: reboot after panic: page fault 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 The system has already panicked at that point, so the cause of the crash can't be determined from what you've posted. Look at what happens a little earlier. Next time, please provide more information on your system. See Greg Lehey's excellent advice on How to get the best results from FreeBSD questions: http://www.lemis.com/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: none
Rahul Fernandez [EMAIL PROTECTED] writes: Hi, I'm am running 4.9 release. A package called hpijs1.4.1 is installed. I now would like to upgrade to hpijs-1.5. However, this package is only available in 4.9-stable. Can I install the package from 4.9-stable or is it advisable to stick to the packages in my release? It might be possible to use the later packages, but you would be safer to build it for your system from ports. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Information about /dist
olgav [EMAIL PROTECTED] writes: Please,help me, becouse as soon as possible we need corporate FreeBSD server. If this is for a corporate server application, please use FreeBSD 4.9 instead. 5.x is still considered a technology preview. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD, FHS, and /mnt/cdrom
The folks at the Filesystem Hierarchy Standard (FHS) are discussing (again) where directories for recurring temporary mount points should go. Recurring temporary mount points are for things like cdroms, floppies, and digital cameras as well as HD partitions from other OSes (like MS Windows). Red Hat started putting these in /mnt (e.g. /mnt/cdrom), but that totally breaks compatibility with the BSDs, which have specified /mnt as an empty directory for ad hoc temporary mounts. SuSE has started putting these in /media, and now folks on the FHS list would like to know what people in the BSDs' communities would prefer. I imagine your answer will be something like We don't care; do what you want, but I would like to present the different ideas, and perhaps you would prefer one. So, please put these in the order of most to least preferred, and say why you like or dislike any of them. - All mount points in / (e.g. /cdrom, /camera, /windows/C) - current FreeBSD standard - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C) - breaks FreeBSD standard for an empty /mnt - Anyplace at all - Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies) - Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera, /media/windows/C) (some suggestions have been /media, /mounts, /vol, /var/mnt, and /var/tmp/removable. Others?) Thanks letting us know how you feel about this, Frank Murphy -- http://www.fastmail.fm - And now for something completely different ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Terminal Server
I would like to deploy a few terminal servers at my company and im wondering if FreeBSD has a way in which this can be done. Linux has LTSP (http://www.ltsp.org). It basically allows you to boot up from a stiffy using a diskless server. Can this be done on FreeBSD and if so how ? Using bootprom ? Have you read the Handbook? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/diskless.html -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Vinum configuration problem (RAID-1)
On Thu, 20 Nov 2003 10:56:40 + Lewis Thompson [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2003 at 11:53:52AM +0200, Jani Reinikainen wrote: Created a new partition 'h': - size = 12715857 ('c' partition) - 265 = 12715592 - offset 16 Why isn't that: - size = 12715857 ('c' partition) - 16 = 12715841 - offset 16? Doh! Of course :-) How silly of me not to notice that. Works fine now, thanks! I am curious though -- vinum for just one disk? I added another spindle for this setup, I just thought debugging one spindle's setup at a time would be easier. Now my RAID-1 is complete and working. I documented my setup here: http://devel.reinikainen.net/docs/how-to/Vinum/ Comments are very welcome. English is not my native tongue, so grammatical errors probably exist :-) Cheers, JR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Burning
On Thu, 2003-11-20 at 15:30, Charles Swiger wrote: ... Right, but the acd device ['man 4 acd'] and the cd device ['man 4 cd'] are not the same-- that's what the CAM subsystem is for, to provide passthrough emulation for ATAPI devices so that you can send SCSI commands to them. The burncd program works with ATAPI devices directly; the programs with dvd+rw-tools need CAM. I mostly get what you are talking about here, but I'm not sure what this means in my situation. Sorry. Hmm, also you should be configuring your device to enable UltraDMA modes rather than PIO; try a sysctl hw.ata.atapi_dma=1, or equivalent in /etc/sysctl.conf or /boot/loader.conf. When I try that sysctl command I get this: # sysctl hw.ata.atapi_dma=1 sysctl: oid 'hw.ata.atapi_dma' is read only The same thing shows up at boot when I have the 'hw.ata.atapi_dma=1' part in /etc/sysctl.conf Charles, I appreciate all your help so far, and I hope that I'm not frustrating you too much. Thanks, Chris signature.asc Description: This is a digitally signed message part
Re: Vinum configuration problem (RAID-1)
On Fri, Nov 21, 2003 at 04:43:53PM +0200, Jani Reinikainen wrote: I added another spindle for this setup, I just thought debugging one spindle's setup at a time would be easier. Now my RAID-1 is complete and working. I guessed as much but my reply wouldn't have been complete without the obligatory ``stoopid'' response ;) Comments are very welcome. English is not my native tongue, so grammatical errors probably exist :-) I honestly couldn't tell you weren't English from these posts, so I'm sure it's perfect. Best wishes, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: FreeBSD, FHS, and /mnt/cdrom
Frank Murphy wrote: The folks at the Filesystem Hierarchy Standard (FHS) are discussing (again) where directories for recurring temporary mount points should go. Recurring temporary mount points are for things like cdroms, floppies, and digital cameras as well as HD partitions from other OSes (like MS Windows). Red Hat started putting these in /mnt (e.g. /mnt/cdrom), but that totally breaks compatibility with the BSDs, which have specified /mnt as an empty directory for ad hoc temporary mounts. SuSE has started putting these in /media, and now folks on the FHS list would like to know what people in the BSDs' communities would prefer. I imagine your answer will be something like We don't care; do what you want, but I would like to present the different ideas, and perhaps you would prefer one. So, please put these in the order of most to least preferred, and say why you like or dislike any of them. - All mount points in / (e.g. /cdrom, /camera, /windows/C) - current FreeBSD standard - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C) - breaks FreeBSD standard for an empty /mnt - Anyplace at all - Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies) - Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera, /media/windows/C) (some suggestions have been /media, /mounts, /vol, /var/mnt, and /var/tmp/removable. Others?) Thanks letting us know how you feel about this, Frank Murphy Well, Apple uses /Volumes for all mounts It seems to work pretty well, although the capital letter is an obvious Apple-ism. Adam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
Rahul Fernandez wrote: I am able to hear sound when watching films using mplayer. Does that not mean that the audio cable is connected to the sound card (in response to somebody's suggestion)? I will check later that this is the case. Thanks, Rahul Trying to simplify the difference: the sound from a mpg/divx/xvid movie is read as data over the IDE cable. then this data is processed by the playersoftware and send to the the right audio codec (e.g mp3), which sends its output to the soundcard driver, which instructs the soundcard (using the PCI or ISA bus) to make some noise. in the case of an audio cd: The cd-drive receives a play instruction for track 5 the cd-drive sends the audio it reads directly to the soundcard using the cable between the 2 devices. -- Bert Lagaisse K.U.Leuven, Dept. computer science Address: Celestijnenlaan 200A 3001 Heverlee Belgium Email: [EMAIL PROTECTED] Tel: +32 16 32 78 24 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
... I imagine your answer will be something like We don't care; do what you want, but I would like to present the different ideas, and perhaps you would prefer one. So, please put these in the order of most to least preferred, and say why you like or dislike any of them. Ok, Here are my addled thoughts: Good: - All mount points in / (e.g. /cdrom, /camera, /windows/C) - current FreeBSD standard (Just come up with a nice sounding name for each) - Under something like /media/as in /media/cdrom, etc (except the name media may become obsolete) - Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies) Except not /var/ or /usr or /home or /tmp Less Good: - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C) - breaks FreeBSD standard for an empty /mnt NOT: These are too long and cumbersom, may contradict other usage Especially not /var... as it is something else and /media/windows... is also too MS specific. - Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera, /media/windows/C) (some suggestions have been /media, /mounts, /vol, /var/mnt, and /var/tmp/removable. Others?) Anyplace at all Now, that is not much of a standard - why bother? Thanks letting us know how you feel about this, Frank Murphy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question
In the last episode (Nov 20), VastNET said: Hello! Do you know what's the reason of it? My machine is rebooting few times a day. If answer is YES, what should I do? savecore: reboot after panic: page fault 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 118savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 || mbcnt 2304 118Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0 || mb 0 xc1818500 || mbcnt 2304 Since if looks like you have crashdumps already enabled, follow the instructions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING , and let us see the stack trace that gdb prints. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Binary port question
On Thu, Nov 20, 2003 at 08:57:05PM -0800, Kevin McKay wrote: Are the binary ports obtained via pkg_add -r for 5.1 ever updated on the sever or is the contents static? Packages for releases are not updated. Packages for -stable are updated regularly, and you can almost always use them safely with the most recent release. Kris pgp0.pgp Description: PGP signature
Re: Staying current with 4.9 - which supfile?
On Fri, Nov 21, 2003 at 01:51:55PM +, Matthew Seaman wrote: On Fri, Nov 21, 2003 at 12:27:58PM +0100, [EMAIL PROTECTED] wrote: In order to keep a 4.9 system current - do I need to use the standard-supfile or stable-supfile with cvsup? That depends on whether you want 4.9-STABLE (stable-supfile), which is the latest incarnation of the 4-STABLE branch, or whether you want 4.9-RELEASE-pX (standard-supfile) which is the 4.9-RELEASE system plus security patches only. ... 4-STABLE receives new functionality, upgrades to software and so forth. 4.9-RELEASE doesn't. Hi Matthew, Thanks much for the hints. After going through the explanations of the FreeBSD handbook (difference between STABLE and CURRENT) one more time, re-reading your email there are some questions remaining - maybe you could comment on this just to make things clear: When I installed 4.9 from the CD (originally .iso pulled down from freebsd.org) this was 4.9-STABLE (i.e. 4.9-RELEASE as it was an official release)? When doing a CVS-upgrade on this installation with stable-supfile I get any feature-enhancements/program upgrades in the 4.9 line plus any bug fixes on 4.9? But how - if at all - does CURRENT come in? Or does CURRENT wrt my installed 4.9 only relate to 5.x? (Sorry if these questions sound dumb, but I didn't find any comprehensive explanation about the differences between stable/current/release/standard) Thanks much in advance for your help, -ewald ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Fri, 21 Nov 2003 10:07:31 -0500 (EST), Jerry McAllister [EMAIL PROTECTED] said: Good: - All mount points in / (e.g. /cdrom, /camera, /windows/C) - current FreeBSD standard (Just come up with a nice sounding name for each) The problem isn't what the names of the directories are, but where they belong. The idea is to be flexible enough that any new device that shows up can be put into a sensible directory, not to define nice sounding names for each new device that comes along. That will be decided by distributions and application developers over time (outside of the FHS). - Under something like /media/as in /media/cdrom, etc (except the name media may become obsolete) - Anyplace but /mnt (i.e. what the FHS 2.2 currently specifies) Except not /var/ or /usr or /home or /tmp I understand why not /usr, /home, or /tmp, but why not someplace in /var? These are specifically temporary mount points, and the FreeBSD hier(7) manpage defines /var to be: /var/multi-purpose log, temporary, transient, and spool files Less Good: - All mount points in /mnt (e.g. /mnt/cdrom, /mnt/camera, /mnt/windows/C) - breaks FreeBSD standard for an empty /mnt NOT: These are too long and cumbersom, may contradict other usage Especially not /var... as it is something else and /media/windows... is also too MS specific. The windows part was just an example which won't be in the standard. You say especially not /var because it's something else. What is it, do you think? - Anyplace but / or /mnt (e.g. /vol/cdrom, /var/mnt/camera, /media/windows/C) (some suggestions have been /media, /mounts, /vol, /var/mnt, and /var/tmp/removable. Others?) Anyplace at all Now, that is not much of a standard - why bother? Well, the idea would be that the standard wouldn't bother. :) It sounds like you think that a new root-level directory should be created for this, and that /media would be OK, but there might be a (yet undiscovered) better name. Is this accurate? Thanks for responding to me, Frank -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Static IP and fully qualified domain names
Hi! This question is inspired by a recent mail on this list. My ISP was so nice to give me a domain name (pukruppa.net) and assign it statically to an IP (213.146.114.24). [So now everybody in the world can telnet pukruppa.net and crack my private machine :-) ] From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . How comes this? Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No sound when playing a CD in FreeBSD 4.9
Trying to simplify the difference: the sound from a mpg/divx/xvid movie is read as data over the IDE cable. then this data is processed by the playersoftware and send to the the right audio codec (e.g mp3), which sends its output to the soundcard driver, which instructs the soundcard (using the PCI or ISA bus) to make some noise. I thought there was a technical way of reading the CD track as data and write the samples to the audio driver? It was called paranoid access or the like and was meant for people who did not have this audio cable on the CD drive. It worked in much the same way as the CD ripper but played the data instead of saving them to disk. Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
On Thu, 20 Nov 2003 20:42:33 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 08:17 PM 11/20/2003, paul van den bergen wrote: to expand on this, there is a potential many to many relationship here between host names and IP addresses (strickly speaking that is what dns etc sees?) how dose BSD define this? how does one define this using BSD? Hey, sounds like you understand things so well you see the void in the forest. As a newbie I'm still just trying to keep my head from twisting off at long enough intervals to define some of the questions. Like, given I have 5 boxes - 1 fbsd 4 windoz though maybe that proportion will change in a time :) - and each has their own ip adr and I have two apaches installed does that mean I can setup a max of 5 different domain level websites on my intranet? Or 10? Or infinite (well, this is reality I hope so...) The daemons are afoot, my ponderings do not affect them. Hi, Let me see if I can shed some light on this issue for you. To the best of my knowledge a FBSD system can have only one hostname however it can have as many aliases as you wish. The setup of aliases is acheived via DNS rather than assigning hostnames per interface. Where you have multiple machines you would assign multiple hostnames whether they be from different domains or not. $ host mail.meibin.net mail.meibin.net is a nickname for kyoto.meibin.net kyoto.meibin.net has address 220.111.132.28 per the above the actual host name for the system is kyoto, it's FQDN is kyoto.meibin.net and it has the alias of mail.meibin.net rather than the host name of mail.meibin.net . Apache and loads of other software support virtual hosting and defining a name in an apache configuration has little to do with the actual underlying system hostname. That being said virtual hosts don't work well if DNS was not set correctly for them. You can also configure your NIC to answer to multiple IP addresses and then configure your Apache to treat each as a virtual host with a separate hostname/URL. Yes, you have to have whoever is serving DNS for you (either yourself, your ISP or some DNS service) set up to translate IP - hostname and if it involves a new Domain name, you have to register it with the appropriate registering agency. Most of our sites use a separate IP for each virtual host for various reasons. But, you can also have multiple aliases per IP address as the poster indicates. jerry HTH LukeK ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
Probably because there is no DNS set up for the domain. Have you set up the required names on NS.KAMP.NET, NS2.KAMP.NET, NS2.KAMPNIC.NET? Unless there are DNS records they won't resolve to IP Addresses, perhaps your isp would be kind enough to do that for you too. Jake On Friday, Nov 21, 2003, at 15:35 Europe/London, Peter Ulrich Kruppa wrote: Hi! This question is inspired by a recent mail on this list. My ISP was so nice to give me a domain name (pukruppa.net) and assign it statically to an IP (213.146.114.24). [So now everybody in the world can telnet pukruppa.net and crack my private machine :-) ] From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . How comes this? Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.senokian.com t: +44 870 744 2030 f: +44 870 460 2623 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . If you have control of the DNS zone, then you must add hostnames for the domain and assign them to the IP. Most likely, your ISP has set up just the domain name to point to the IP. Just ask them to assign the names you want for your domain to the IP that you want them to point at. If the name does not exist in DNS, then it won't be found on the Internet. Steve How comes this? Regards, Uli. +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
My ISP was so nice to give me a domain name (pukruppa.net) and assign it statically to an IP (213.146.114.24). [So now everybody in the world can telnet pukruppa.net and crack my private machine :-) ] From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . You need to add A records (or CNAME records) to your DNS zone pukruppa.net: one.pukruppa.net. A 213.146.114.24 two.pukruppa.net. A 213.146.114.24 ... Or, alternatively, use CNAME (don't forget the trailing dots) pukruppa.net. A 213.146.114.24 one.pukruppa.net. CNAME pukruppa.net. two.pukruppa.net. CNAME pukruppa.net. ... Setting A records directly saves one additional lookup though. You could also use Wildcard DNS records (*.pukruppa.net. A ), but I wouldn't recommend this. BTW, you could also use a better PTR record for your IP: 24.114.146.213.IN-ADDR.ARPA domain name pointer reverse-213-146-114-24.dialin.kamp-dsl.de kamp-dsl will be glad to set up a reverse record for you if you asked them. -- Cordula's Web. http://www.cordula.ws/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
Anyplace at all Now, that is not much of a standard - why bother? Well, the idea would be that the standard wouldn't bother. :) It sounds like you think that a new root-level directory should be created for this, and that /media would be OK, but there might be a (yet undiscovered) better name. Is this accurate? That seems like a pretty good summary. jerry Thanks for responding to me, Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
At 10:42 AM 11/21/2003, Cordula's Web wrote: From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . You need to add A records (or CNAME records) to your DNS zone pukruppa.net: I'm a newbie faced with a similar (I think) problem; only in my case I'd like to do the required DNS mapping on my intranet. Have no clue so plz be gentle? Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
customized /usr/share/skel
I'd like to customize /usr/share/skel. It's an easy matter to edit /usr/src/share/skel/Makefile and to make my own dot files. However, will my customizations get overwritten when I make my next world? If so, what's the best way to go about preventing my files from being overwritten? e.g. should I place my custom Makefile and dot files in a different directory and rerun my Makefile after a successful install world? Dru ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
At 10:35 AM 11/21/2003, Jerry McAllister wrote: You can also configure your NIC to answer to multiple IP addresses and then configure your Apache to treat each as a virtual host with a separate hostname/URL. Yes, you have to have whoever is serving DNS for you (either yourself, your ISP or some DNS service) set up to translate IP - hostname Jerry, thanks for trying but I don't know what this means (I've heard this remark so many times myself from others...). Yikes, I'm just a blathering idiot. :( Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
It sounds like you think that a new root-level directory should be created for this, and that /media would be OK, but there might be a (yet undiscovered) better name. Is this accurate? That seems like a pretty good summary. jerry Cool. Could you also explain to me why you think that /var would be such a bad place for this? Frank -- http://www.fastmail.fm - Send your email first class ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Fri, Nov 21, 2003 at 04:31:19PM +0100, Frank Murphy typed: On Fri, 21 Nov 2003 10:07:31 -0500 (EST), Jerry McAllister [EMAIL PROTECTED] said: [...] Anyplace at all Now, that is not much of a standard - why bother? Well, the idea would be that the standard wouldn't bother. :) Good. My vote goes to Anyplace at all. I like to build my own bikeshed ;) Ruben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Downgrading from current to release or stable?
On Fri, 2003-11-21 at 07:14, Peter Risdon wrote: I just moved from 5.1-current to 5.1 release, and fixed a lot of problems on a horribly unstable box by doing so. I believe downgrading to stable is very awkward, but others will be better qualified to discuss that than I am. On a related note, I know that following CURRENT is a game of risk, but are current branch releases (such as 5.1-RELEASE) intended to be a bit more stable and usable than staying constantly up to date with CURRENT? In other words, is there a pretty good chance that 5.2-RELEASE won't break my (non-production) workstation too horribly when it comes out? Or does it carry the same exact risks as following CURRENT? Thanks, Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Staying current with 4.9 - which supfile?
[EMAIL PROTECTED] wrote: But how - if at all - does CURRENT come in? Or does CURRENT wrt my installed 4.9 only relate to 5.x? CURRENT is the development version of FreeBSD, basically for developers only, those who want to test the finest and newest options, and do not fear a complete systems failure from time to time (CURRENT does not always compile, and when it compiles, it may be unstable) CURRENT is only in 5.x present, since 4.x is a stable branch by now. Sometimes really nifty features from CURRENT are migrated into STABLE (and thus eventually in RELEASE) after careful testing. HTH HAND ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Emails and charset issue
Hi! Is there a way to make sure my mail client is really using UTF-8 as charset ? Headers claims so but people reports I'm not -- X-Newsreader: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Content-Type: text/plain; charset=UTF-8 -- I'm not a charset guru but I assume there's nothing to install on both side to make it work except the mail client :) Could anyone tell me the way to make sure or confirm I'm really using UTF-8 ? Thanks -- Pierrick Brossin pbrossin .at. swissgeeks .dot. com http://www.swissgeeks.com perl -e\ 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DVD Burning -- Got it Working!!
On Thu, 2003-11-20 at 15:30, Charles Swiger wrote: On Nov 20, 2003, at 3:52 PM, Chris Meyers wrote: On Thu, 2003-11-20 at 14:35, Charles Swiger wrote: Double-check what's going on with your devices, what does camcontrol devlist give you? Maybe try using /dev/cd0c rather than /dev/acd0c? Here's what camcontrol had to say: # camcontrol devlist -v scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) I'm guessing there should be something there between the . More than that, you should see an entry like: NEC CD-ROM DRIVE:465 1.03at scbus0 target 5 lun 0 (pass2,cd0) ...mentioning the CD/DVD device; the entry for xpt0 is simply the driver interface itself, not a reference to a particular device. I don't have a cd0 entry in /dev so trying growisofs with it give this: :-( unable to open(/dev/cd0c,O_RDONLY): No such file or directory Also dmesg show this line: acd0: DVD-R Memorex DVD+/-RW Dual-X1 at ata1-master PIO4 which pretty much shows that the drive is being recognized and put at acd0 Right, but the acd device ['man 4 acd'] and the cd device ['man 4 cd'] are not the same-- that's what the CAM subsystem is for, to provide passthrough emulation for ATAPI devices so that you can send SCSI commands to them. The burncd program works with ATAPI devices directly; the programs with dvd+rw-tools need CAM. Hmm, also you should be configuring your device to enable UltraDMA modes rather than PIO; try a sysctl hw.ata.atapi_dma=1, or equivalent in /etc/sysctl.conf or /boot/loader.conf. Ok I finally got it working. I did need to recompile my kernel and add: device atapicam Once I did that I ran: growisofs -Z /dev/acd0c -R -J bkuptest and I got an ioctl error. I then tried: growisofs -Z /dev/cd0c -R -J bkuptest and everything worked as it was supposed to. Thanks to Charles and everyone else who pitched in their 2 cents. Chris signature.asc Description: This is a digitally signed message part
Re: Emails and charset issue
On Fri, 21 Nov 2003 17:31:08 +0100 Pierrick Brossin [EMAIL PROTECTED] wrote: Could anyone tell me the way to make sure or confirm I'm really using UTF-8 ? btw when I use no accent it's using 7bit :) so here is a UTF-8 mail () Regards -- Pierrick Brossin pbrossin .at. swissgeeks .dot. com http://www.swissgeeks.com perl -e\ 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
more than one library possible ??
Hello, I was going to install mrtg from the ports. As it started to install I saw that it did not find GD and was d/l 1.84 even tho I have 2.0.15 (or whatever it actually is) installed. So I d/l the actual mrtg files and was trying to install it. but it does not like my GD install. Will the mrtg from ports hurt or upset my original GD install ? I have seen other ports try to do the same thing so I stop them cuz I don't want to fubar my box. Thanks Newbie mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
a good way to save a keystroke?
I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm not sure that the cmd itself wasn't executed?). e.g. more `which apachectl` Is this a reasonable way to get what I'm after, or a bad thing? Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Fri 2003-11-21 (15:41), Frank Murphy wrote: [snip] - Anyplace at all I'm for this one. I like a purple bikeshed. -- /~\ The ASCII ASCII stupid question, get a EBCDIC ANSI. \ / Ribbon Campaign John Oxley X Against HTMLhttp://oxo.rucus.net/ / \ Email! oxo at rucus.ru.ac.za Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy dungeon like NT. -- Thomas Scoville ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Installed ports
Pls tell me where are all the installed ports? After i installed the port, where i can find the bin file for the port? - Do you Yahoo!? Free Pop-Up Blocker - Get it now ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Suggestion to display date/time of port addition or modification
On Tue, Nov 18, 2003 at 04:36:09PM -0800, Peter Leftwich wrote: [2] I do not understand the usefulness nor see the beauty of the current method of installing ports. Why must a user download elementary instructions for programs A, B, C, D, through Z when all he or she may want are programs P and Q which require libraries B, C, D, and E? In other words, have the people in the know ever considered making it possible to download one tarballed directory, whose Makefile could figure out which other tarballed directories are needed and fetch them in sequence? This seems far simpler than 19 megs of unnecessary files that may never be used possibly. Thank you for listening, hopefully my remarks generate some discussion. You can use cvsup method with refuse file to download ports collections you want, for example all without x11-* ports. Jacek -- W miejscu swojego zatrudnienia ma opini negatywn, poniewa ma narzeczonego Murzyna, z ktrym si codziennie spotyka. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installed ports
In the last episode (Nov 21), Valerian Galeru said: Pls tell me where are all the installed ports? After i installed the port, where i can find the bin file for the port? Try /usr/local/bin or /usr/X11R6/bin. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a good way to save a keystroke?
On Friday, Nov 21, 2003, at 16:44 Europe/London, Marty Landman wrote: I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm not sure that the cmd itself wasn't executed?). e.g. more `which apachectl` Is this a reasonable way to get what I'm after, or a bad thing? more filename cat filename | more Should work Jake ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installed ports
On Fri, 21 Nov 2003, Valerian Galeru wrote: Pls tell me where are all the installed ports? After i installed the port, where i can find the bin file for the port? Ports install in to /usr/local To see the packages do pkg_info To see where an package is installed do pkg_info -L package name e.g. bash-2.05b# pkg_info -L imake-4.3.0 | head -10 Information for imake-4.3.0: Files: /usr/X11R6/man/man1/ccmakedep.1.gz /usr/X11R6/man/man1/cleanlinks.1.gz /usr/X11R6/man/man1/gccmakedep.1.gz /usr/X11R6/man/man1/imake.1.gz /usr/X11R6/man/man1/lndir.1.gz /usr/X11R6/man/man1/makedepend.1.gz /usr/X11R6/man/man1/makeg.1.gz Rgds Rus -- w: http://www.jvps.com | Virtual Dedicated Servers from $15/mo e: [EMAIL PROTECTED]| Donations made to Debian, FreeBSD t: +44 7919 373537 | and Slackware t: 1-888-327-6330 | email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
At 10:35 AM 11/21/2003, Jerry McAllister wrote: You can also configure your NIC to answer to multiple IP addresses and then configure your Apache to treat each as a virtual host with a separate hostname/URL. Yes, you have to have whoever is serving DNS for you (either yourself, your ISP or some DNS service) set up to translate IP - hostname Jerry, thanks for trying but I don't know what this means (I've heard this remark so many times myself from others...). Yikes, I'm just a blathering idiot. :( Well, I am not the best one to explain in detail. For this specific item, your best bet might be to study the Apache documentation on doing virtual hosts and maybe do some searching on the net (Google, etc) on the subject. Generally, it seems like there are actuall several questions being asked in this series of posts and I am having trouble figuring out what the core issue is.Hostnames and IPs are used on the net to address machines. Some of these can be 'virtual' machines that are hosted by machines that are set up to respond to a lot of either/or hostnames and IPs. Each actual machine that lives on the net will have a specific hostname and IP address that is its own and all the others that it answers to are considered either virtual addresses or aliases.A DNS server sorts out the relationships and reports the matchings between IPs and hostnames. You can run your own DNS server, especially if you have a lot of machines and your own domain, or you can arrange with another entity, such as your ISP or another DNS service to do that for you. If you are not connected to the net, it doesn't matter what you call your machine or how many aliases you create or what IPs you use, though you might want to stick to the designated private IP ranges if you create your own intranet even if it is not connected to the internet. There is no limit other than practical ones that I know of to how many aliases/virtual hosts you create if you are running an intranet that is not connected to the internet. If you connect to the internet, the domain you are using must be registered with a registering service. The service you use depends on the top level element of the name (.com .net, .org, .edu, .cn, .fr, etc) Your ISP will normally be the best one to help you with that (except that some ISPs are decidedly unhelpful; then you have to go looking) A fully Qualified Host Name consists of two main parts. A machine name such as 'mypc' and a domain name such as concern.com. They are assembled in to a FQHN (Fully Qualified Host Name) - as mypc.concern.com in this example. During installation, when it asks for hostname, it wants a Fully Qualified Hostname if you are going to be connected to the internet. You might just as well fake one if you are not going to be on the internet just to be consistent, but you can put just a single string if you want. IP addresses must be in the form xxx.xxx.xxx.xxx unless you are playing with IPV6 and if you are, you should know all this already so stop reading. There is often much misspeak about these. The full qualified hostname is often called a domain name, for example when only the last part is really the domain name. Plus, the term hostname is used to refer to both/either the single machine part of the name such as 'mypc' above and the fully qualified hostname 'mypc.concern.com' as above. This leads to much confusion and I wish we had better names. But, that is the way it is. The domain name 'concern.com' must be registered with the service handling .com. Then whoever owns the 'concern.com' domain allows or directs hostnames to use it. If you registered the domain name, then you decide. When the 'concern.com' domain name is registered, you have to tell the service what DNS server will be providing DNS service for that domain. It may be you if you registered the domain name and have a DNS server or it might be some other system, such as one run by your ISP or another company that runs DNS servers for hire.Whenever you create a host that resides in the domain, such as 'mypc' in 'mypc.concern.com' an entry must be made in whatever DNS server that is handling the 'concern.com' domain. That is required before it will do correct translation. The physical machine that is mypc on the concern.com domain may answer to lots of host names and even lots of IPs. There are two parts to making this happen. The 'mypc' machine must be set up to respond to all those host names besides its own name. If it involves additional IP address (an alias) it is done in a rc.conf ifconfig alias statement (or we actually put those in a rc.conf.local file and add an include just to keep things a little more clean and clear), and/or in the software that is expected to respond to it, such as Apache. If it is only a different hostname, it can be done only by configuring the software that responds to it. For Apache, for example, you
Re: Staying current with 4.9 - which supfile?
On Fri, Nov 21, 2003 at 04:29:48PM +0100, [EMAIL PROTECTED] wrote: Thanks much for the hints. After going through the explanations of the FreeBSD handbook (difference between STABLE and CURRENT) one more time, re-reading your email there are some questions remaining - maybe you could comment on this just to make things clear: When I installed 4.9 from the CD (originally .iso pulled down from freebsd.org) this was 4.9-STABLE (i.e. 4.9-RELEASE as it was an official release)? If you installed from an official release .iso then you'll have got 4.9-RELEASE. This is actually just a point-in-time from the 4-STABLE branch, after the release engineering team has put a temporary block on the usual development activities and spent a good few weeks testing things and fixing up various bug reports and so forth. However, as part of the process of making the release, a new branch is made for the 4.9-RELEASE code, and only critical security fixes get committed to that release branch. Post release the 4-STABLE branch carries on with the usual development activities. When doing a CVS-upgrade on this installation with stable-supfile I get any feature-enhancements/program upgrades in the 4.9 line plus any bug fixes on 4.9? Yes -- 4-STABLE gets all of the security fixes, plus updates to the system (including upgrades to contributed software like sendmail(8)), new features, support for some new hardware and so forth. These updates are meant to be tested in the bleeding edge development environment a.k.a 5-CURRENT so that there's some assurance they're going to work well in 4-STABLE. However, the 4.x series of releases has actually lasted as -STABLE a lot longer than the equivalent for any of the other major version numbers. Consequently the gap between 4.x and 5.x is quite large and MFC'ing (Merge From Current) is not necessarily as simple as it might be in all areas of the system. But how - if at all - does CURRENT come in? Or does CURRENT wrt my installed 4.9 only relate to 5.x? CURRENT is the bleeding edge development environment. You're not expected to run -CURRENT unless you're capable of serious system programming type activities. Indeed, there's no guarrantee that -CURRENT will actually compile and boot at any particular point in time. Yes, -CURRENT implies 5.x at the moment: generally there will be -STABLE and -RELEASEs with major version number N and -CURRENT with version (N+1). However, it's quite an unusual situation at the moment with several New Technology releases being made from the -CURRENT branch. Normality is planned to be restored with the release of 5.3 around March next year, when the 5-STABLE and 6-CURRENT branches[1] will be created. Around that point 4-STABLE will cease to attract much in the way of development activity, and all activity will gradually cease, as it has on the 3-STABLE and 2-STABLE branches. There may be another 4.x-RELEASE before that point, but that's not definite. It will probably be labelled 4.9.1-RELEASE and consist of wrapping up any loose ends and drawing a line under the 4.x series of releases. (Sorry if these questions sound dumb, but I didn't find any comprehensive explanation about the differences between stable/current/release/standard) This is all documented on the http://www.freebsd.org/ site and it's been discussed ad nauseam on various mailing lists. Try reading the 'Release Engineering' pages http://www.freebsd.org/releng/index.html and the links accessible from there. Cheers, Matthew [1] Actually the -CURRENT branch isn't so much a branch, as the main stem from which all other branches ultimately spring. Thus it is labelled 'HEAD' in most of the documentation, and you use the '.' tag in cvsup to retrieve those sources. All part of the fun of using cvs(1). -- 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: a good way to save a keystroke?
On Fri, Nov 21, 2003 at 11:44:22AM -0500, Marty Landman wrote: I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm not sure that the cmd itself wasn't executed?). e.g. more `which apachectl` Is this a reasonable way to get what I'm after, or a bad thing? That's fine. The command that gets executed is which, not apachectl, so there's no need to worry on that account. Ceri -- pgp0.pgp Description: PGP signature
Re: startx and numlocks
On Fri, 21 Nov 2003 08:38:24 -0500 (EST) Dru [EMAIL PROTECTED] wrote: Does anyone know how to keep numlocks on when using startx? I have numlocks on in all of my terminals, but when I start X, it goes off. Is there a line I can add to .xinitrc? TIA, Dru Hi Dru, Have you looked at /usr/ports/x11/numlockx ? -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
On Fri, Nov 21, 2003 at 10:54:21AM -0500, Marty Landman wrote: At 10:42 AM 11/21/2003, Cordula's Web wrote: From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . You need to add A records (or CNAME records) to your DNS zone pukruppa.net: I'm a newbie faced with a similar (I think) problem; only in my case I'd like to do the required DNS mapping on my intranet. Have no clue so plz be gentle? On an intranet setting this sort of stuff up in the DNS is easy. Unless you have a particularly large and complicated setup, you don't need to bother with DNS delegation; neither do you need to worry about CIDR and other things that complicate life. Lets assume that the domain you're using in your intranet is 'example.com' and you've chose to use the 192.168.0.0/24 subnet for all of your IP numbering. You need to set up a machine as DNS server for your intranet. In the named.conf file for that machine, configure it to be the authoritative server for the example.com. and 0.168.192.in-addr.arpa. zones by adding (inter alia): acl localmachines { 127.0.0.1; 192.168.0.0/24; }; zone example.com in { type master; file p/example.com; allow-query { localmachines; }; allow-transfer { none; }; notify no; }; zone 0.168.192.in-addr.arpa in { type master; file p/0.168.192.in-addr.arpa; allow-query { localmachines; }; allow-transfer { none; }; notify no; }; where the zone data files might look something like this. example.com: $TTL3600 @ IN SOA ns0.example.com. hostmaster.example.com. ( 2003112100 ; Serial 10800 ; Refresh (3H) 3600; Retry (1H) 604800 ; Expire (1W) 43200 ) ; Minimum (12H) NS ns0 MX 10 smtp ; localhost A 127.0.0.1 MX 10 smtp ; net A 192.168.0.0 MX 10 smtp ; ns0 A 192.168.0.1 MX 10 smtp ; smtpA 192.168.0.2 MX 10 smtp ; foo A 192.168.0.3 MX 10 smtp www-intra CNAME foo ; ;[...other data...] ; broadcast A 192.168.0.255 MX 10 smtp ; ; That's All Folks! ; 0.168.192.in-addr.arpa: $TTL3600 @ IN SOA ns0.example.com. hostmaster.example.com. ( 2003112100 ; Serial 10800 ; Refresh (3H) 3600; Retry (1H) 604800 ; Expire (1W) 43200 ) ; Minimum (12H) NS ns0.example.com. ; 0 PTR net.example.com. 1 PTR ns0.example.com. 2 PTR smtp.example.com. 3 PTR foo.example.com. ;[...] 255 PTR broadcast.example.com. ; ; That's All Folks! ; Simple eh? Actually, if all this is pretty much gibberish to you, I recommend getting hold of the Cricket book: DNS and BIND, 4th Ed, P. Albitz and C. Liu, O'Reilly and associates, Sebastopol, CA. ISBN 0-596-00158-4 which will explain things with extreme lucidity. 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
Weird Problem [SOLVED]
Thanks to all who responded, Once I installed IPFW and NATD, everything started coming up. Peter Peter Elsner - President [EMAIL PROTECTED] SRI Software 726 Dalworth Suite 1007 Grand Prairie, TX. 75050 972-266-8870 - Voice 817-887-1609 - Fax www.sri-software.com Service Plus(tm) Public Warehouse Management Software --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
It sounds like you think that a new root-level directory should be created for this, and that /media would be OK, but there might be a (yet undiscovered) better name. Is this accurate? That seems like a pretty good summary. jerry Cool. Could you also explain to me why you think that /var would be such a bad place for this? Well, I probably can't give a hard and fast absolute reason, but... We use /var as a place for directoreis/files that can grow somewhat unexpectedly and weakly controlled, such as spool and logs, etc. Because of that, our /var is most often put in some other large general filesystem with links and doesn't really live in either root (/) or isn't a root located filesystem, but just a directory in another filesystem such as /work (or in some recent ones /lump - I couldn't think of a better name). So, making it the home of mount points would be rather awkward. I suspect that some others do similar things with /var. I have heard it mentioned. I think something similar can be true of other root located file systems such as /usr, although for those it is more likely that it just be a directory living within /usr that gets moved and linked. Generally, I think mount point directories should be as close to root located as possible with as little intervening stuff that could possible get shuffled around. At first blush, it would sound like /mnt would be a likely place, but it has been out there too long and been used in too many locally unique ways that mounts on or in there could create much unnecessary confusion. As far as any ol' where goes, that doesn't bother me much, but it sounds like what is being asked for is a kind of common place that won't cause problems so vendors and third party writers can go ahead and make something that will work easily across platforms with the least pain - and ain't that what everyone whines so much about - the pain of adding devices, etc.This would be a harmless way to ease some of that pain. And, anyway, if a standard location is adopted and if some users want to do it differently on their machines nothing would stop them from doing whatever they want with their systems. It would be no worse than if there was no standard and probably easier. Just lets not break a bunch of stuff to do it. Gee, it's nice to be asked about something like this for a change. jerry Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
At 12:25 PM 11/21/2003, Matthew Seaman wrote: Lets assume that the domain you're using in your intranet is 'example.com' and you've chose to use the 192.168.0.0/24 subnet for all of your IP numbering. . Wow, thanks for all the detail! I will try to put the info to use and post back how it goes. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I set a password from STDIN?
On Fri, Nov 21, 2003 at 06:42:54AM +0200, Lefteris Tsintjelis wrote: Hi, Would anyone know how can I set or change a password from STDIN? Neither passwd or pw seem to accept STDIN. As someone else mentioned, use -h switch to pw to modify a user password command line using pw. As an example a recent PHP application I worked on I added this as a comment: /* 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']['pw']. useradd .$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); -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changes to /etc/login.conf ignored
On Fri, Nov 21, 2003 at 12:07:22PM +0100, [EMAIL PROTECTED] wrote: Seems like any changes I make to /etc/login.conf get silently ignored. As I understand it, login.conf is used to set capabilities on a per user class basis to restrict the environment of classes of users - ie restricting the ttys users can login on, the max size of core dump files, maximum memory available to them, max number of processes allowed and so on. Perhaps /etc/csh.cshrc would be a better place to do what you're trying to do or better in a resource file that's read by all shells when a user logs in (global .profile file?)? -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Motherboard survey...
Hi all - I'm wanting to build my own computer to run FreeBSD, but don't have the slightest idea (well, maybe the slightest :) what motherboard to buy. I'd like one that has built-in lan/audio that works in FreeBSD, but in my searching efforts I've turned up very little. I know the handbook lists chip sets and whatnot, but trying to figure out what chip set is on a given board isn't always easy -- at least not for me. So... I wrote a survey app that I'm hoping lots of you will fill out. It let's you pick the brand/model of motherboard, then indicate what onboard features work (lan, audio, video, usb, firewire, ide, sata, scsi, raid, smp), lets you provide some overall satisfaction ratings, and then provide any additional comments. As a side effect you can input your laptop information which seems to be a frequently asked source of questions. If I get enough responses I'd like to expand this to include other things such as DVD players, USB peripherals, etc. that have varying levels of support in FreeBSD. Perhaps turn it into a companion to the HARDWARE.TXT document... Anyway.. here it is: http://www.eilio.com/freebsd-motherboards/ Thanks! -philip (please cc me on any replies) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: customized /usr/share/skel
On Fri, Nov 21, 2003 at 10:36:17AM -0500, Dru wrote: I'd like to customize /usr/share/skel. It's an easy matter to edit /usr/src/share/skel/Makefile and to make my own dot files. However, will my customizations get overwritten when I make my next world? If so, what's the best way to go about preventing my files from being overwritten? e.g. should I place my custom Makefile and dot files in a different directory and rerun my Makefile after a successful install world? How about changing the system immutable flags on the /usr/share/skel files you don't want overwritten (chflags noschg)? Not a perfect solution but I don't know of any way that your aim can be achieved via /etc/make.conf or similar. Having said that, I haven't had any problems in the past with the make world process overwriting my customized /usr/share/skel files - whether or not that was because I used mergemaster in interactive mode and chose not to overwrite those files I can't remember now. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Help me...
Hello I have the following problem: At the time of installing pack of php4-Cli, it requests to me as complement the PDFlib-Lite-5.0.0-Unix-src.tar.gz already looks for it in ports of website and I do not locate it. You have some backup of this pack... PDFlib-Lite-5.0.0-Unix-src.tar.gz(this the Package) Atte. Víctor Gutiérrez Cruz Si vales, valeo (Antiguo saludo en Latín que significa: Si tu estas bien yo estoy bien) _ MSN. Más Útil Cada Día http://www.msn.es/intmap/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Process substitution in bash - doesn't work
Hello all, Whenever I try something like vi (diff file1 file2) in bash I get an empty file on /dev/fd/63.. is there a way to make it work? Or does FreeBSD not support this? 5.1 RELEASE TIA, -- Herculano de Lima Einloft Neto [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Static IP and fully qualified domain names
On Fri, 21 Nov 2003, Matthew Seaman wrote: On Fri, Nov 21, 2003 at 10:54:21AM -0500, Marty Landman wrote: At 10:42 AM 11/21/2003, Cordula's Web wrote: From reading manuals one should think, that now I could give my machines names like one.pukruppa.net, two.pukruppa.net, etc... and all these would be reachable via internet - but they aren't. The only one that can be accessed is pukruppa.net . You need to add A records (or CNAME records) to your DNS zone pukruppa.net: I'm a newbie faced with a similar (I think) problem; only in my case I'd like to do the required DNS mapping on my intranet. Have no clue so plz be gentle? On an intranet setting this sort of stuff up in the DNS is easy. Unless you have a particularly large and complicated setup, you don't need to bother with DNS delegation; neither do you need to worry about CIDR and other things that complicate life. Lets assume that the domain you're using in your intranet is 'example.com' and you've chose to use the 192.168.0.0/24 subnet for all of your IP numbering. You need to set up a machine as DNS server for your intranet. In the named.conf file for that machine, configure it to be the authoritative server for the example.com. and 0.168.192.in-addr.arpa. zones by adding (inter alia): acl localmachines { 127.0.0.1; 192.168.0.0/24; }; zone example.com in { type master; file p/example.com; allow-query { localmachines; }; allow-transfer { none; }; notify no; }; zone 0.168.192.in-addr.arpa in { type master; file p/0.168.192.in-addr.arpa; allow-query { localmachines; }; allow-transfer { none; }; notify no; }; where the zone data files might look something like this. example.com: $TTL3600 @ IN SOA ns0.example.com. hostmaster.example.com. ( 2003112100 ; Serial 10800 ; Refresh (3H) 3600; Retry (1H) 604800 ; Expire (1W) 43200 ) ; Minimum (12H) NS ns0 MX 10 smtp ; localhost A 127.0.0.1 MX 10 smtp ; net A 192.168.0.0 MX 10 smtp ; ns0 A 192.168.0.1 MX 10 smtp ; smtpA 192.168.0.2 MX 10 smtp ; foo A 192.168.0.3 MX 10 smtp www-intra CNAME foo ; ;[...other data...] ; broadcast A 192.168.0.255 MX 10 smtp ; ; That's All Folks! ; 0.168.192.in-addr.arpa: $TTL3600 @ IN SOA ns0.example.com. hostmaster.example.com. ( 2003112100 ; Serial 10800 ; Refresh (3H) 3600; Retry (1H) 604800 ; Expire (1W) 43200 ) ; Minimum (12H) NS ns0.example.com. ; 0 PTR net.example.com. 1 PTR ns0.example.com. 2 PTR smtp.example.com. 3 PTR foo.example.com. ;[...] 255 PTR broadcast.example.com. ; ; That's All Folks! ; Simple eh? Actually, if all this is pretty much gibberish to you, I recommend getting hold of the Cricket book: DNS and BIND, 4th Ed, P. Albitz and C. Liu, O'Reilly and associates, Sebastopol, CA. ISBN 0-596-00158-4 which will explain things with extreme lucidity. I guess, I will have to do some reading. Thanks, Uli. 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 +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
On Friday 21 November 2003 6:36, Jerry McAllister wrote: Could you also explain to me why you think that /var would be such a bad place for this? Well, I probably can't give a hard and fast absolute reason, but... We use /var as a place for directoreis/files that can grow somewhat unexpectedly and weakly controlled, such as spool and logs, etc. Because of that, our /var is most often put in some other large general filesystem with links and doesn't really live in either root (/) or isn't a root located filesystem, but just a directory in another filesystem such as /work (or in some recent ones /lump - I couldn't think of a better name). So, making it the home of mount points would be rather awkward. I suspect that some others do similar things with /var. I have heard it mentioned. I think something similar can be true of other root located file systems such as /usr, although for those it is more likely that it just be a directory living within /usr that gets moved and linked. One of the ideas behind this new directory of mount points is that some kind of automounter could then create and delete directories someplace as needed without affecting anyone. So while not as large in K as a logfile, the contents of the directory could get pretty large. (Probably a realistic max of 20 items, but enough to rule out leaving it in /.) Just because /var is a symlink to /lump/var shouldn't affect that. Generally, I think mount point directories should be as close to root located as possible with as little intervening stuff that could possible get shuffled around. At first blush, it would sound like /mnt would be a likely place, but it has been out there too long and been used in too many locally unique ways that mounts on or in there could create much unnecessary confusion. I agree. I'd prefer to use /mnt for this, but with the historical usages, it's not really possible. As far as any ol' where goes, that doesn't bother me much, but it sounds like what is being asked for is a kind of common place that won't cause problems so vendors and third party writers can go ahead and make something that will work easily across platforms with the least pain - and ain't that what everyone whines so much about - the pain of adding devices, etc.This would be a harmless way to ease some of that pain. And, anyway, if a standard location is adopted and if some users want to do it differently on their machines nothing would stop them from doing whatever they want with their systems. It would be no worse than if there was no standard and probably easier. Exaclty. Just lets not break a bunch of stuff to do it. Gee, it's nice to be asked about something like this for a change. That's why I wanted to ask. Find out how other people are doing this. Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, FHS, and /mnt/cdrom
One of the ideas behind this new directory of mount points is that some kind of automounter could then create and delete directories someplace as needed without affecting anyone. So while not as large in K as a logfile, the contents of the directory could get pretty large. (Probably a realistic max of 20 items, but enough to rule out leaving it in /.) Just because /var is a symlink to /lump/var shouldn't affect that. Yah, but, it adds just another level of indirection and possible confusion. I would prefer my mounts to be more clear. Hmmm, a place for an automounter to work... Well, that could involve more than just media devices - demand directories of files and home directories or users' scratch directories come to mind - so maybe a better name than media could be discovered. On our Sun systems it is in /opt/home, but I never liked it that way because we also use the name home for another directory someplace else plus opt ends up being a garbage dump for everything they haven't thought out well on Suns. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie USB Printer Problem
[Drop hostname part of IPv6-only address above to obtain IPv4-capable e-mail, or best of all, don't reply to me at all] A bit late for this, but here goes anyway, in case it helps: (Please don't top-post; it makes it difficult for me to reply and keep wanted context while stripping away unimportant parts...) I did both of those of the suggestions, but still nothing. :( I cannot get my HP Deskjet 3420 printer to work. I've read all the prior posts for USB printers, checked the handbook and the complete freebsd book. Do you know that you need the hpijs package to be able to talk to your printer? (Apologies if you already have it installed) As seen on the Linuxprinting.org website -- highly recommended as a reference for anything printer-related -- from the HP FAQ: _ Section 13: HP DeskJet 3420 13.0 See also the HP DeskJet 3420 database page. 13.1 Does this printer work with gimp-print? No, this printer does not support PCL. This printer only works with the HPIJS software from Hewlett Packard. _ You can install hpijs from ports, or build it without problems from the source. This should help you to print, and it comes with heaps of documentation about installing and configuring it. Also, look at the page referred to above for possibly more info... Barry Bouwsma ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using setuid
I am trying to run Nagios everything is working properly accept fping. I need to know how to use setuid root for fping... what does it do? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall rules do not get read
On Thu, Nov 20, 2003 at 04:19:09PM -0800, Chip wrote: Alex de Kruijff wrote: On Wed, Nov 19, 2003 at 09:38:34PM -0800, Chip wrote: I noticed my firewall rules are not being read. I have rc.conf set to read the file rc.firewall. In rc.firewall the first line is add divert natd etc etc. that is followed by pass all from any to any etc etc. Then nothing after that is read, it is all ignored. If I comment out the line pass all from any to any then nothing works to access the internet. I don't know what to do to make it read past those first two lines. Any suggestions? Can you give me the output of 'ipfw s'. If that one doesn't work then try 'ipfw l'? No problem, below are the results of the two commands. Question - do I have to use rc.firewall? No you can create your own configuration file for ipfw. You need these two line in rc.conf: firewall_enable=YES firewall_type=/etc/firewall.conf The configuration file looks something like: add divert natd ip from any to any via xl1 add allow ip from any to any Or is it just a generic ruleset that can be replaced by a custom ruleset, as I have done (called firewall.rules pasted in below)? Its posible to place your own ruleset in the default script, but i would adive *not* to do this, because when you update this file can be overriden in the process. here is ipfw s results - 00100 1571924 1218317046 divert 8668 ip from any to any via xl1 00200 3144909 2436915536 allow ip from any to any 00300 0 0 divert 8668 ip from any to any via xl1 00400 0 0 allow ip from any to any 00500 0 0 divert 8668 ip from any to any via xl1 65535 0 0 deny ip from any to any The result of rc.firewall can be seen with ipfw l and ipfw s (show). The later gives the same information as ipfw l (list). The two values are number of packets and the number of bytes that applied to a rule. A couple of comments 1. Here you have tree rules with divert natd. Normaly you want a packet to pass natd only one time. 2. Rule 200 is to allow everyting so the others aren't looked at. 3. This firewall allows every packed to pass. You may like to have a look at my home page. I have an artile about how to setup a firewall, that may proof to be usefull to you. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]