Re: jdk14+tomcat5 crashing box
I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the system to crash. This is completly repeatable. Other Java programs such as Eclispe and Bugseeker can be restarted multiple times without problems. ** Java Version ** berkeley% java -version java version 1.4.2-p5 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p5-root_13_dec_2003_19_39) Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed mode) berkeley% ** Tomcat Version ** jakarta-tomcat-5.0.16 ** System Version ** berkeley% uname -a FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Tue Dec 30 00:13:24 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BERKELEY i386 berkeley% On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote: system: FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 packages: apache-2.0.47 mod_jk-apache2-1.2.2 jakarta-tomcat-5.0.14 jdk-1.4.2p5 What threading model did you use with the JDK? If you mean what JVM am I using, I am using client. I'll try switching to server in the file /usr/local/java/jre/lib/i386/jvm.cfg *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to /usr/local/java. Saves me the trouble of having to redo paths and classpaths everytime I upgrade java. Does the problem occur when starting other java software multiple times that uses threads? See above. This is the only java package that exhibits this problem, so far. I'd also try a newer version of tomcat as they fixed a lot of bugs. I installed 5.0.16 the other day, and as I recall the change log wasn't tiny. Yep. Running 5.0.16 My working setup: apache 2.0.48 Tomcat 5.0.16 mod jk (1) connector for 4.1.27 tomcat jdk-1.4.2p5 FreeBSD 4.9 Stable cvsup'd about a week ago. cvsup'd last night Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.1 [EMAIL PROTECTED] | Micro$oft free world | Berkeley, Ca. pgp0.pgp Description: PGP signature
make install fails for subversion
The make runs ok The make install chugs along until: chmod 755 /usr/local/libexec/apache2/mod_authz_svn.so [activating module `authz_svn' in /usr/local/etc/apache2/httpd.conf] subversion/svnversion/svnversion . /repos/svn/trunk /usr/local/include/subversion-1/svn-revision.txt /usr/libexec/ld-elf.so.1: /usr/local/lib/libapr-0.so.9: Undefined symbol pthread_mutex_init *** Error code 1 Stop in /work/local1/ports/devel/subversion/work/subversion-0.32.1. *** Error code 1 Stop in /work/local1/ports/devel/subversion. I have checked, and there is libpthread.so.20 in /usr/local/lib/pth which I have linked up into /usr/local/lib, and it has the symbol pthread_mutex_init. -=[L]=- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is Operation not permitted Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsh and rcp problems between Solaris and FreeBSD
On Tue, Dec 30, 2003 at 11:42:41PM -0500, John Von Essen wrote: I have a Solaris 2.6 box that has been sending data to a Solaris 8 box via rsh and rcp. I finally changed the Solaris 8 box to a FreeBSD 4.9-STABLE machine. Unfortunately, I am noticing alot of problems with my rsh and rcp calls. Again, the rsh/rcp calls are being initiated on my Solaris 2.6 and are hitting a FreeBSD 4.9-STABLE box. Here is what happens: My first rsh works, but if I try another rsh within a few seconds it takes a really long time (30 - 60 sec) to return - but it does return successful. If I issue my rsh calls every 2 minutes, it returns quick everytime. But if I do rsh calls to close together (5 sec delays) they hang for a long time. Now that is weird. 30-60 second delay sounds like classic DNS breakage, but in that case you'ld see it the first time you connected and probably subsequent times. How are you doing name resolution on this system -- host files, NIS, DNS, something else? Are you using Kerberos at all? Does toggling the use of the '-D' and '-n' flags in inetd.conf on the FreeBSD side make any difference? Hmmm... does this happen all of the time, or do you get a grace period of a few minutes immediately after rebooting the FreeBSD box? Are you perhaps ending up with an awful lot of connections sitting in CLOSE_WAIT stage on the FBSD box? The rcp behaves the same way - but with an added oddity... I can't seem to 'rcp -r' directories. For example, say I have /tmp/test and in there I have three files (a, b, and c.). When I try to rcp -r that directory, I get the following: # rcp -r /tmp/test host:/tmp rcp: /tmp/test/a/b: Not a directory rcp: /tmp/test/a/b/c: Not a directory Very weird! Does saying: # rcp -r /tmp/test host:/tmp/ (note the trailing '/') make a difference? This is by analogy to cp(1) where trailing slashes do have a similar sort of effect -- I think that's a feature of BSD-ish Unices but not SysV-ish flavours. Anyone have any ideas? If I can't get this resolved I am going to have to go back to the old SUN to SUN setup and scrap the FreeBSD machine. rcp(1) and rsh(1) are really considered as legacy stuff on FreeBSD nowadays. Most people will strongly advise you to use ssh(1) and scp(1) instead -- those are standard on Solaris 9 but you'll have to compile yourself up a copy on Solaris 2.6. You can use key based authentication with ssh-agent(1) in order to avoid having to put in passwords all the time: see the SSH FAQ at http://www.snailbook.com/faq/no-passphrase.auto.html Note too that sshd(8) under FreeBSD disallows root access by default, but there's a pretty obvious control in the /etc/ssh/sshd.conf config file. 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: jdk14+tomcat5 crashing box
Thanks for the input, but the problem seems to have been fixed. Here's what I did: 1. cvsup'd to 5.2 RC 2. upgraded to tomcat 5.0.16 PS. Using native threads (-lc_r not -pthread) Quoting Josef Grosch [EMAIL PROTECTED]: I am getting the same problem. Restarting Tomcat5 and Tomcat41 causes the system to crash. This is completly repeatable. Other Java programs such as Eclispe and Bugseeker can be restarted multiple times without problems. ** Java Version ** berkeley% java -version java version 1.4.2-p5 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p5-root_13_dec_2003_19_39) Java HotSpot(TM) Client VM (build 1.4.2-p5-root_13_dec_2003_19_39, mixed mode) berkeley% ** Tomcat Version ** jakarta-tomcat-5.0.16 ** System Version ** berkeley% uname -a FreeBSD berkeley.mooseriver.com 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Tue Dec 30 00:13:24 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BERKELEY i386 berkeley% On Tue, Dec 30, 2003 at 08:58:21AM -0500, Lucas Holt wrote: system: FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #1: Fri Nov 28 0 5:09:25 EST 2003 /usr/obj/usr/src/sys/BSD1007 i386 packages: apache-2.0.47 mod_jk-apache2-1.2.2 jakarta-tomcat-5.0.14 jdk-1.4.2p5 What threading model did you use with the JDK? If you mean what JVM am I using, I am using client. I'll try switching to server in the file /usr/local/java/jre/lib/i386/jvm.cfg *NOTE* I have a symbolic link from /usr/local/jdk1.4.2 to /usr/local/java. Saves me the trouble of having to redo paths and classpaths everytime I upgrade java. Does the problem occur when starting other java software multiple times that uses threads? See above. This is the only java package that exhibits this problem, so far. I'd also try a newer version of tomcat as they fixed a lot of bugs. I installed 5.0.16 the other day, and as I recall the change log wasn't tiny. Yep. Running 5.0.16 My working setup: apache 2.0.48 Tomcat 5.0.16 mod jk (1) connector for 4.1.27 tomcat jdk-1.4.2p5 FreeBSD 4.9 Stable cvsup'd about a week ago. cvsup'd last night Josef -- Josef Grosch | Another day closer to a | FreeBSD 5.1 [EMAIL PROTECTED] | Micro$oft free world | Berkeley, Ca. This message was sent using IMP, the Internet Messaging Program. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf / pf availability in 4.9
List, Anyone know if there is a way to get PF to port to FreeBSD 4.9? Thanks On Dec 30, 2003, at 7:26 PM, fbsd_user wrote: PF has been just ported to FBSD. I don't know if ipf pf have a common code background, but I do know pf ipf have totally different rule processing logic though the rules do look some what common. When it comes to using variables on the rule set, that is just the normal function of shell processing. Ipfw, ipf, and pf can all be buried inside of an shell script and perform variable substitution. In FBSD the rc.conf statement for pointing to the directory location of the ipf rules can not process a script. You just point that rc.conf statement to an empty file just to get the system up. Then you have script in the startup application directory that executes to load the ipf rules. Works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: ipf / pf Hi, Here's a question that might seem trivial: What's the relationship between the freebsd ipf and the openbsd pf? Are they the same thing, or are they separately developed branches of a common codebase? Or maybe they are totally different. I ask this because I was looking around for guides for ipf.rules, and some of the openbsd pf examples look similar, but some command syntax are different. The openbsd pf.conf example had the ability to define variables of ip addresses, interface names, etc, but it doesn't seem to work with ipf.rules. Is there any way to define variables in ipf.rules? please cc me in your responses cause I'm not subscribed to the list thanks so much jonathan ___ [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] --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 10:08, Andrew L. Gould wrote: On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is “Operation not permitted” Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? No, 5 has devfs. Dany, make sure you have CD9660 compiled into the kernel, normal user aren't allowed to load kernel modules. Also securemode should net be set. And the mountpoint should be owned by the user (which is in your case I think since its under $home). I had the same problem and it was simply the missing CD9660 bits in the kernel -Harry Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
fun routing problem
Well, I got this fun routing problem again; so here it goes. I have a router, which gets native ipv6 on xl0 with block 2001:a6x:2:1x::/64 and she has also lan-interface. My idea was to route 2001:a6x:2:1x:dead::/96 to lan interface so i thought doing as follows; added 2001:a6x:2:1x::3/64 to lan-interface, then routed 2001:a6x:2:1x:dead::/96 to it. Now the fun comes in, xl0 pings net fine, lan interface pings xl0 fine, but lan interface wont ping net. tcpdump says like this: 13:13:32.755545 2001:a6x:2:1x::1337 2001:a6x:2:1x::: icmp6: echo request 13:13:32.764543 2001:a6x:2:1x:220:48ff:fe5b:2d15 ff02::1:ff00:1337: icmp6: neighbor sol: who has 2001:a6x:2:1x::1337 no answer. so gw-router is like hmm. who the fck has this address. then asks it with multicast or similar thing (ff02-thing) but wont get reply? Why lan-if wont get that multicast-whateveritis request while it is on same net but different interface? all forwarding sysctls are 1. no firewalls harrassing or anything. Greets Markus Kovero ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZOT Print Server....
From: Eric F Crist [EMAIL PROTECTED] To: Lee Mx [EMAIL PROTECTED], [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: Re: ZOT Print Server Date: Tue, 30 Dec 2003 23:12:22 -0600 On Tuesday 30 December 2003 08:52 pm, Lee Mx wrote: The only difference between your entry and mine is the rp that I commented out for some reason that I don't remember right now. I assume that you get no errors. What do # lpc status lp1 # lpc restart lp1 give you? I get: # lpc status lp lp: queuing is enabled printing is enabled no entries in spool area printer idle # lpc restart lp lp: no daemon to abort printing enabled daemon restarted I'm just guessing now. I have no idea unless one of the above commands gives you an error. The only thing that bothers me is the rp entry that I commented out and on another box I ended up with rp=raw. I get exactly the same responses to those commands. Also, I didn't mention, but I did note the difference between the two and tried commenting out the rp line, no effect on the printing ability that I can tell. Eric, If I were smart I would give up now and quit showing my ignorance by not being able to help you, but I'm not. ;-) I've used network printers for years and have never had a problem. I assume that the responses above are for lp1 and that you can ping 192.168.1.printer_ip and the mac is the correct one (want to be sure the packets are going where we think they are going.) netstat -nr will give you that one. Unfortunately, these have always worked out of the box for me so I have no experience troubleshooting them. The worst case for me has been that you need a windows box to set dhcp with propriatary software:) sorry, P.S. Did you try to print the test page from apsfilter? Can the windows boxes access it through the ip? (looking for the needle in the haystack.) _ Make your home warm and cozy this winter with tips from MSN House Home. http://special.msn.com/home/warmhome.armx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I don't understand make world
All, I followed the directions in the handbook and on various websites and google searches to get my 5.0-RELEASE box up to -CURRENT (though uname reports 5.2-RC, or does it just report wahtever CURRENT is?). Anyways, I did the whole make buildworld make installworld stuff with the new kernel and cvsup'ing and all, just like the handbook says, but pkg_version -l \ reports over 130 packages that aren't up to date. When I was running mergemaster I accidentally skipped master.passwd and lost some info. Yes, my bad for not backing it up. So it broke gdm (no user/group) and rather than figure out what the correct user/group info was I decided to just deinstall/reinstall the port and let it do it in case I messed up anything else in /etc with mergemaster. Well, it didn't want to be reinstalled. Neither did gnome. I ran into all kinds of dependancies on other packages (I though ports system took care of this?) with out of date versions. gnome led me to xft which led me to X-4-libraries, which led me to imake - all out of date old port type errors. I can't even portupgrade anything. What did I do wrong? Or maybe, what am I assuming incorrectly? I thought rebuilding world would upgrade everything. I assume then that portupgrade is for keeping up to date (I've run it successfully on other machines). What then is the whole make world process for? This was just on a machine to play around with the whole make world thing since I've only ever cvsup'd my machines, so I can easily just start over. I'm assuming there's a way out from here, but I also want to know how to do it correctly if I do start over and what I should really be doing to stay -CURRENT. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ipf / pf availability in 4.9
The post you are replying to tells you pf has been ported to FBSD. All you had to do is go look for it in the port collection your self, here is the direct link. http://www.freebsd.org/cgi/ports.cgi?query=pfstype=allrelease=5.1- CURRENT%2Fi386 pf_freebsd-2.00_1 OpenBSD pf as a kldmodule Maintained by: [EMAIL PROTECTED] Also listed in: ipv6 Description : Sources : Package : Changes : Download http://pf4freebsd.love2party.net/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Will Prater Sent: Wednesday, December 31, 2003 2:59 AM To: [EMAIL PROTECTED] Subject: Re: ipf / pf availability in 4.9 List, Anyone know if there is a way to get PF to port to FreeBSD 4.9? Thanks On Dec 30, 2003, at 7:26 PM, fbsd_user wrote: PF has been just ported to FBSD. I don't know if ipf pf have a common code background, but I do know pf ipf have totally different rule processing logic though the rules do look some what common. When it comes to using variables on the rule set, that is just the normal function of shell processing. Ipfw, ipf, and pf can all be buried inside of an shell script and perform variable substitution. In FBSD the rc.conf statement for pointing to the directory location of the ipf rules can not process a script. You just point that rc.conf statement to an empty file just to get the system up. Then you have script in the startup application directory that executes to load the ipf rules. Works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: ipf / pf Hi, Here's a question that might seem trivial: What's the relationship between the freebsd ipf and the openbsd pf? Are they the same thing, or are they separately developed branches of a common codebase? Or maybe they are totally different. I ask this because I was looking around for guides for ipf.rules, and some of the openbsd pf examples look similar, but some command syntax are different. The openbsd pf.conf example had the ability to define variables of ip addresses, interface names, etc, but it doesn't seem to work with ipf.rules. Is there any way to define variables in ipf.rules? please cc me in your responses cause I'm not subscribed to the list thanks so much jonathan ___ [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] --will ___ [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]
AccelRAID 250 won't boot FreeBSD
Hello, I have an AccelRAID 250 (mylex DAC960PTL) I had 4.9 release running a couple of weeks ago but the install must have been a lucky alignment of the planets. Currently, on new install I get F1 hang on the boot manager or just hangs without. The problem arose when I did a new install of 5.1 release over the 4.9 and the install wouldn't boot. I then reinstalled 4.9 and that wouldn't boot. I went back and forth a couple times to no avail. I then low level fomatted the drives and reinitialized them but again to no avail. I read the suggestion to install linux which changes the drive geometry (which it did) but still no luck. I've tried setting the active partition during the install by letting the install commit to fdisk and succesfully writing to fdisk manually and on all occassions a return to fdisk shows the partition not active. I feel like the fdisk is writing to a ramdisk and not commiting it to the boot sector on exit as all the rest of the install appears to be on the drive. (on reinstall the prompt comes up commiting to existing root). Anyone have any knowledge on this? I've additionally tried the live CD and the mini cd with the same results. Are there any bootable floppy sets to bring up a generic kernal that doesn't bring up the install routine? Is there a method to correct the boot loader manually? Thanks, Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ports package names changing?
Your missing the whole point. The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. The user doesn't know about or cares about what 'Latest' contains. All they know is, they can not get pkg_add to work as instructed by the handbook. That's the big problem. The 'Latest' category needs to be populated with names having the version suffix appended. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway Sent: Wednesday, December 31, 2003 12:30 AM To: fbsd_user Cc: [EMAIL PROTECTED] ORG; Kris Kennaway Subject: Re: ports package names changing? On Tue, Dec 30, 2003 at 11:07:32AM -0500, fbsd_user wrote: I an running 4.9 the pkg_add -r command default path is /pub/FreeBSD/ports/i386/packages-4.9-release/Lastest/ All the names in that location do not have versions suffix appended to the name. Though /pub/FreeBSD/ports/i386/packages-4.9-release/all/ does. The FBSD handbook says to use http://www.freebsd.org/ports/index.html To find port and package names and it only shows the names with versions suffix appended to the name. Some entries listed have package link and some don't, entries without package link still have packages. just looks like thinks are in process of changing, as if there is an project in progress, so I asked the question. Default location for pkg_add should be 'all' and not 'Latest' or 'Latest' should be populated with content of 'all' so pkg_add will function. That's by design. If you want the latest version of the package you don't care what the specific version is. If you care about downloading a specific version, you can download it from the All/ directory or from one of the other subdirectories (e.g. games/). Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZOT Print Server....
On Wednesday 31 December 2003 05:59 am, Lee Mx wrote: Eric, If I were smart I would give up now and quit showing my ignorance by not being able to help you, but I'm not. ;-) I've used network printers for years and have never had a problem. I assume that the responses above are for lp1 and that you can ping 192.168.1.printer_ip and the mac is the correct one (want to be sure the packets are going where we think they are going.) netstat -nr will give you that one. Unfortunately, these have always worked out of the box for me so I have no experience troubleshooting them. The worst case for me has been that you need a windows box to set dhcp with propriatary software:) sorry, P.S. Did you try to print the test page from apsfilter? Can the windows boxes access it through the ip? (looking for the needle in the haystack.) Lee, Thanks for the help. I've found I don't care about looking ignorant anymore because of some of the questions I've asked in here... I know I can ping the print server, and I know I've got the right IP address as this printer server has a built-in webpage for configuration. Also, it has the capability of configuration via tftp. Out of the box you type a # arp -s new ip for print server print server MAC address # tftp ps IP get config.txt You fill in the appropriate fields for configuration, and put the config.txt file back on the print server with # tftp ps IP put config.txt So, really this is a pretty advanced little monster. I _can_ print from the windows boxes, as they're using the lpr system as well. I set them up this way so I could be sure that the lpr/lpd settings on this devil worked. As far as the apsfilter test page, it works via parallel connection, but I cannot print it to the printer via the nework. I'm almost thinking at this point I need to contact the tech support personnel over at Zero One. They've been a help in the past when the windows driver didn't want to install right away. TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for virtual machine for testing booting ISO images
Bochs is quite capable of booting just about anything. The nice thing about it is you can 'edit' the CPU and have it print out what it's doing for hard-to-debug stuff. Just put your CD in your /dev/cdrom drive, then put these lines in .bochsrc ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted boot: cdrom Or you could put the image in a file and use that filename instead of /dev/cdrom Mike -131390817619945514032107252833 Content-Disposition: form-data; name=send_att1; filename= Content-Type: application/octet-stream -131390817619945514032107252833 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports package names changing?
On Wed, 31 Dec 2003 08:30:45 -0500 fbsd_user [EMAIL PROTECTED] wrote: Your missing the whole point. The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. The user doesn't know about or cares about what 'Latest' contains. All they know is, they can not get pkg_add to work as instructed by the handbook. That's the big problem. The 'Latest' category needs to be populated with names having the version suffix appended. Would be easier and not-breaking a lot of things if you would submit a patch for that sections of the handbook that clarifies this ? -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using maildrop from sendmail aliases file
W. Sierke wrote: to recap: I'm trying to run maildrop from /etc/mail/aliases with the following entry: second-domain-tld:|/usr/local/bin/maildrop -d [EMAIL PROTECTED] where second-domain-tld is from an entry in virtusertable. Initially this gave me: Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id. so as per the above included text, I tried making maildrop setuid: Dec 26 15:08:20 maildrop[93442]: You are not a trusted user. Turns out this was an issue with the maildrop port. There doesn't appear to be a way of configuring 'trusted users' for maildrop without directly modifying the Makefile. And maildrop doesn't get installed suid despite having it's --enable-maildrop-uid option set. Making maildrop suid and configuring it with user:mailnull as a trusted user got it working. Time for a change request I think. Wayne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I don't understand make world
On Wed, 31 Dec 2003 07:47:50 -0500 Mark Zytkovicz [EMAIL PROTECTED] wrote: |O|I followed the directions in the handbook and on various websites and |O|google searches to get my 5.0-RELEASE box up to -CURRENT (though uname |O|reports 5.2-RC, or does it just report wahtever CURRENT is?). Congrats. The first few times you do this it can seem overwhelming. 5.2-RC is a release candidate meaning the branch is frozen and pending no major bug reports, it will become a release. |O|Anyways, I did the whole make buildworld make installworld stuff with |O|the new kernel and cvsup'ing and all, just like the handbook says, but |O|pkg_version -l \ reports over 130 packages that aren't up to date. buildworld/installworld updates your operating system. Your ports are an entirely different matter. I'm sure the online Handbook explains the differences and presents different strategies on keeping everything up to date. |O|This was just on a machine to play around with the whole make world |O|thing since I've only ever cvsup'd my machines, so I can easily just |O|start over. I'm assuming there's a way out from here, but I also want |O|to know how to do it correctly if I do start over and what I should |O|really be doing to stay -CURRENT. Sounds like a good idea [practising on a test machine first]. Unfortunately, updating your operating system can cause problems with your installed ports. In some cases, you need to remove a ton of them and rebuild. Some say PortUpgrade can do this fairly well on its own, however I've found it pukes when you toss XWindows and GNOME or KDE into the mix and you end up doing it manually anyway. Is there a right way? -- hard to say. There are so many variations in setups out there that nothing I know of can figure out what's right for you, and me, and the next guy. Deinstall the ports (all of them if you really feel like). Make sure your ports tree has been updated (use cvsup) and re-install them. Re-read the handbook chapter on ports and cvsup. Good luck! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Scary Gerry -- Senior Systems Manager [EMAIL PROTECTED] -For web-hosting, Perl, PHP MySql programming see http://www.interpool.ca -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Password sync - Running Windows 2000/NT Services for UNIX on FreeBSD
Hi I have a Samba FreeBSD Server that is a domain member. I recently purchased Windows 2000 Services for Unix to do encrypted password synchronization via NIS on the domain. The ssod daemon that is needed on the FreeBSD system is not included on the CD and therefor must be compiled from the source code included on the CD. Does anybody use Windows 2000/NT Services for Unix Single Sign On Daemon on FreeBSD 4.X? I am needing help with compiling on FreeBSD. If someone is interested, I can attach the Source Code (Source Code from Microsoft, insane? :-) Regards, Eivind Hestnes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
I'v checked my kernel config and it had the Options CD9660. Beside the mounting problem as I said the user cannot use the linked device (/dev/dvd) to just watch a DVD (not need for mounting, just access to the device). Can you post the system configuration files that you're using in order to allow your users to mount CD drives ? Thank you Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 10:08, Andrew L. Gould wrote: On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is ?Operation not permitted? Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? No, 5 has devfs. Dany, make sure you have CD9660 compiled into the kernel, normal user aren't allowed to load kernel modules. Also securemode should net be set. And the mountpoint should be owned by the user (which is in your case I think since its under $home). I had the same problem and it was simply the missing CD9660 bits in the kernel -Harry Andrew Gould ___ [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: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 15:48, Dany wrote: I'v checked my kernel config and it had the Options CD9660. Beside the mounting problem as I said the user cannot use the linked device (/dev/dvd) to just watch a DVD (not need for mounting, just access to the device). Can you post the system configuration files that you're using in order to allow your users to mount CD drives ? cale:/tmp# sysctl vfs.usermount vfs.usermount: 1 in /etc/devfs.conf: permxpt00660 permpass0 0660 permcd0 0660 linkcd0 cdrom linkacd0acd0c cale:/dev# ll cd* crw-rw 1 root operator - 4, 27 28 Dez 21:57:24 2003 cd0 lrwxr-xr-x 1 root wheel -5 28 Dez 21:57:40 2003 cdrom - cd0 Is your user in the correct group? (operator in my example) Note: I'm using atapicam so you should consider cd0 as acd0 -Harry Thank you Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 10:08, Andrew L. Gould wrote: On Tuesday 30 December 2003 11:39 pm, Dany wrote: Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset=my_ruleset /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is ?Operation not permitted? Thank you Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? No, 5 has devfs. Dany, make sure you have CD9660 compiled into the kernel, normal user aren't allowed to load kernel modules. Also securemode should net be set. And the mountpoint should be owned by the user (which is in your case I think since its under $home). I had the same problem and it was simply the missing CD9660 bits in the kernel -Harry Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Password sync - Running Windows 2000/NT Services for UNIX on FreeBSD
Hi I have a Samba FreeBSD Server that is a domain member. I recently purchased Windows 2000 Services for Unix to do encrypted password synchronization via NIS on the domain. The ssod daemon that is needed on the FreeBSD system is not included on the CD and therefor must be compiled from the source code included on the CD. Does anybody use Windows 2000/NT Services for Unix Single Sign On Daemon on FreeBSD 4.X? I am needing help with compiling on FreeBSD. If someone is interested, I can attach the Source Code (Source Code from Microsoft, insane? :-) Regards, Eivind Hestnes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall question...
Hi list, I've two servers running some services, now I want to firewall both them, do I need to build it on router or in the FreeBSD box...thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard drive test
On Tue, 30 Dec 2003, David Bear wrote: i just installed 4.9-rel. after having the system on for about two hours I got a console message that device ad0 had timed out. then the system froze. I believe Seagate has an utility you can use to check a drive. Also if the drive was bought in the last couple of years and your motherboard supports SMART monitoring I believe there is a port that can interface to the SMART interface in your hardware. From my experience if your system supports SMART and you have it enabled upon bootup you would receive a notice if your HD is having serious problems. To check if your system has SMART monitoring check your BIOS. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsh and rcp problems between Solaris and FreeBSD
I can do two rsh's back to back with no problems, its the third (and 4th and so on) that hang. On the FreeBSD side, after the first rsh, netstat shows: tcp4 0 0 mx100.851 embryo.bluebell..1021 TIME_WAIT tcp4 0 0 mx100.shellembryo.bluebell..1022 TIME_WAIT Those connections stay around for awhile, about 30 seconds. Only when they disappear does the next rsh work. As for the rcp, I was missing a trailing slash, apparently rcp -r syntax between Solaris and FreeBSD is a little different. So the rcp's work, but that take just as long as the rsh calls. As for name resolution, the Solaris box uses dns, and so does FreeBSD. Both have some entries in the hosts file. -John On Wed, 31 Dec 2003, Matthew Seaman wrote: On Tue, Dec 30, 2003 at 11:42:41PM -0500, John Von Essen wrote: I have a Solaris 2.6 box that has been sending data to a Solaris 8 box via rsh and rcp. I finally changed the Solaris 8 box to a FreeBSD 4.9-STABLE machine. Unfortunately, I am noticing alot of problems with my rsh and rcp calls. Again, the rsh/rcp calls are being initiated on my Solaris 2.6 and are hitting a FreeBSD 4.9-STABLE box. Here is what happens: My first rsh works, but if I try another rsh within a few seconds it takes a really long time (30 - 60 sec) to return - but it does return successful. If I issue my rsh calls every 2 minutes, it returns quick everytime. But if I do rsh calls to close together (5 sec delays) they hang for a long time. Now that is weird. 30-60 second delay sounds like classic DNS breakage, but in that case you'ld see it the first time you connected and probably subsequent times. How are you doing name resolution on this system -- host files, NIS, DNS, something else? Are you using Kerberos at all? Does toggling the use of the '-D' and '-n' flags in inetd.conf on the FreeBSD side make any difference? Hmmm... does this happen all of the time, or do you get a grace period of a few minutes immediately after rebooting the FreeBSD box? Are you perhaps ending up with an awful lot of connections sitting in CLOSE_WAIT stage on the FBSD box? The rcp behaves the same way - but with an added oddity... I can't seem to 'rcp -r' directories. For example, say I have /tmp/test and in there I have three files (a, b, and c.). When I try to rcp -r that directory, I get the following: # rcp -r /tmp/test host:/tmp rcp: /tmp/test/a/b: Not a directory rcp: /tmp/test/a/b/c: Not a directory Very weird! Does saying: # rcp -r /tmp/test host:/tmp/ (note the trailing '/') make a difference? This is by analogy to cp(1) where trailing slashes do have a similar sort of effect -- I think that's a feature of BSD-ish Unices but not SysV-ish flavours. Anyone have any ideas? If I can't get this resolved I am going to have to go back to the old SUN to SUN setup and scrap the FreeBSD machine. rcp(1) and rsh(1) are really considered as legacy stuff on FreeBSD nowadays. Most people will strongly advise you to use ssh(1) and scp(1) instead -- those are standard on Solaris 9 but you'll have to compile yourself up a copy on Solaris 2.6. You can use key based authentication with ssh-agent(1) in order to avoid having to put in passwords all the time: see the SSH FAQ at http://www.snailbook.com/faq/no-passphrase.auto.html Note too that sshd(8) under FreeBSD disallows root access by default, but there's a pretty obvious control in the /etc/ssh/sshd.conf config file. 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall question...
Xpression wrote: Hi list, I've two servers running some services, now I want to firewall both them, do I need to build it on router or in the FreeBSD box...thanks. What's your network look like? If each box has a publicly routable IP address, I'd definitely put the firewall on each of them. If they're on a private network behind a router, then a firewall on the router would be a basic level of security, and running a firewall on the servers themselves would be icing on the cake. Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall question...
On Wed, 31 Dec 2003, Xpression wrote: Hi list, I've two servers running some services, now I want to firewall both them, do I need to build it on router or in the FreeBSD box...thanks. That is totally up to you. If you plan to do it on one of your FreeBSD machines I believe you will need to have two NICs. At least that I believe is the easiest way to do it. There are some parameters you need in your kernel to use IPFW. Not sure if PF needs kernel changes. You very likely should be able to find previous posts and/or tutorials online with how to setup either one, IPFW or PF. I do recommend though you get yourself a good book on security so you understand all the parameters and options you are going to need to deal with. Take a look at /etc/rc.firewall. I believe they mention a book or two there that you may want to consider reading. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where do I find all the available options/devices I can use in my kernel config
Reading some forums, I discovered I could use the following options in my kernel configuration (5.2): options CPU_ATHLON_SSE_HACK options CPU_ENABLE_SSE I looked at the GENERIC kernel config but there were no mention of those 2 options. Where can I find an exhaustive list of available options/devices I can use in my custom kernel config file? Thank you Dany ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SanDisk CompactFlash card reader problem
I'm having some strange problems with my SanDisk CompactFlash reader. In the past I had no problem simply inserting a CF card and mounting the device. The /etc/fstab entry has always been as follows: /dev/da0s1/sandiskmsdos rw,noauto 0 0 And all I had to do was mount /sandisk. The filesystem on the card is created by a Nikon CoolPix 885. The usual method of retrieving the pics was to simply move them from the CF card to my hard drive storage. This had the added benefits of preserving the actual date of the pic in the filesystem and removing them from the card. But it's not working anymore. I can't quite figure out why. When I try to mount it, I get the following: msdos: /dev/da0s1: Device not configured Nothing has changed that I can think of, but I am noticing the following in the system boot sequence: . . . uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xcce0-0xccff irq 11 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2 . . . Trying to mount /dev/ugen0 in place of /dev/da0s1 simply tells me I need a block device. I'm not sure how to fix this, but I'm pretty sure I never had to perform any hocus pocus to get this working in the first place. Any ideas or pointers to specific docs? Thanks in advance Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ÔżÔ¬ QOTD: If you keep an open mind people will throw a lot of garbage in it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (2) rsh and rcp problems between Solaris and FreeBSD
One more thing. Apparently, if I do 'rsh -n host cmd' on the Solaris box, it no longer hangs, and I can do it back to back indefinitely. Say I do ten of them, 5 secs apart. I still see the following 10 times in netstat: tcp4 0 0 mx100.841 embryo.bluebell..1014 TIME_WAIT After 30 secs they go away. On Solaris 2.6, the -n to rsh is: -n Redirect the input of rsh to /dev/null. You sometimes need this option to avoid unfor- tunate interactions between rsh and the shell which invokes it. For example, if you are running rsh and invoke a rsh in the back- ground without redirecting its input away from the terminal, it will block even if no reads are posted by the remote command. The -n option will prevent this. This doesn't affect rcp, so those are still slow. The only other thing is that I am going through a firewall, from an internal network to a dmz. -John On Wed, 31 Dec 2003, Matthew Seaman wrote: On Tue, Dec 30, 2003 at 11:42:41PM -0500, John Von Essen wrote: I have a Solaris 2.6 box that has been sending data to a Solaris 8 box via rsh and rcp. I finally changed the Solaris 8 box to a FreeBSD 4.9-STABLE machine. Unfortunately, I am noticing alot of problems with my rsh and rcp calls. Again, the rsh/rcp calls are being initiated on my Solaris 2.6 and are hitting a FreeBSD 4.9-STABLE box. Here is what happens: My first rsh works, but if I try another rsh within a few seconds it takes a really long time (30 - 60 sec) to return - but it does return successful. If I issue my rsh calls every 2 minutes, it returns quick everytime. But if I do rsh calls to close together (5 sec delays) they hang for a long time. Now that is weird. 30-60 second delay sounds like classic DNS breakage, but in that case you'ld see it the first time you connected and probably subsequent times. How are you doing name resolution on this system -- host files, NIS, DNS, something else? Are you using Kerberos at all? Does toggling the use of the '-D' and '-n' flags in inetd.conf on the FreeBSD side make any difference? Hmmm... does this happen all of the time, or do you get a grace period of a few minutes immediately after rebooting the FreeBSD box? Are you perhaps ending up with an awful lot of connections sitting in CLOSE_WAIT stage on the FBSD box? The rcp behaves the same way - but with an added oddity... I can't seem to 'rcp -r' directories. For example, say I have /tmp/test and in there I have three files (a, b, and c.). When I try to rcp -r that directory, I get the following: # rcp -r /tmp/test host:/tmp rcp: /tmp/test/a/b: Not a directory rcp: /tmp/test/a/b/c: Not a directory Very weird! Does saying: # rcp -r /tmp/test host:/tmp/ (note the trailing '/') make a difference? This is by analogy to cp(1) where trailing slashes do have a similar sort of effect -- I think that's a feature of BSD-ish Unices but not SysV-ish flavours. Anyone have any ideas? If I can't get this resolved I am going to have to go back to the old SUN to SUN setup and scrap the FreeBSD machine. rcp(1) and rsh(1) are really considered as legacy stuff on FreeBSD nowadays. Most people will strongly advise you to use ssh(1) and scp(1) instead -- those are standard on Solaris 9 but you'll have to compile yourself up a copy on Solaris 2.6. You can use key based authentication with ssh-agent(1) in order to avoid having to put in passwords all the time: see the SSH FAQ at http://www.snailbook.com/faq/no-passphrase.auto.html Note too that sshd(8) under FreeBSD disallows root access by default, but there's a pretty obvious control in the /etc/ssh/sshd.conf config file. 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 16:07, Dany wrote: Harald Schmalzbauer wrote: *SNIP* This is pretty much what I've tried. My user is in the Wheel group. Would this exact configuration work ?Should I set any other permission in order to have the user from the wheel group to mount drives? Thanks for posting your configuration. PS: One thing I've noticed with this specific user, whenever he creates something the file/directory will show owner:username group:username. I've used the command groups as well as chpass I think and they gave me only one group for this username... wheel. Why doesn't wheel appear as the group owner for stuff that username is creating ? When you add a user with adduser by default FreeBSD creates a group similar named like the username. If you later say that this user should be in group wheel it's additional. added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 This line just gives write access to group. You can either add the line: ownacd0 root:wheel or you edit /etc/groups and add your user to the group operator. I'd prefere the latter. Here's my simple /etc/group example: # $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $ # wheel:*:0:root,harry daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root,harry mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: harry:*:: uli:*:: schowi:*:: administrator:*:: alle:*::root,harry,uli,schowi,administrator setiathome:*:: -Harry pgp0.pgp Description: signature
RE: ports package names changing?
On Wed, 31 Dec 2003, fbsd_user wrote: The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. If you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html it says, about half way down the page: Note that in the example above lsof is used instead of lsof-4.56.4. When the remote fetching feature is used, the version number of the package must be removed. pkg_add(1) will automatically fetch the latest version of the application. Can you give a concrete example of what the handbook says, and how following the steps causes a problem? I'm not seeing it, it's working fine for me. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kmplayer issues anyone?
Is there a secret to getting kmplayer to play dvds and mpeg files? I have mplayer, gmplayer, kmplayer all installed. If I enter mplayer filename from within KDE, I get an initial image on the screen, but don't know the keyboard shortcuts to get it to play (but I can pause it!). gmplayer and kmplayer both won't even show the initial image. kmplayer doens't do anything and gmplayer said something about unable to use -vo video-out specified. Are you starting from the KDE run command dialog? Try running from the commandline and see what kind of output you get. I do not have a dvd player, but mplayer (and kmplayer and kplayer) play every video format I have ever tried so far. That said, I have an athlon processor and needed to add options CPU_ENABLE_SSE options CPU_ATHLON_SSE_HACK to my kernel config for any of this to work. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where do I find all the available options/devices I can use in my kernel config
On Wed, 31 Dec 2003 10:19:45 -0500 Dany [EMAIL PROTECTED] wrote: Reading some forums, I discovered I could use the following options in my kernel configuration (5.2): options CPU_ATHLON_SSE_HACK options CPU_ENABLE_SSE I looked at the GENERIC kernel config but there were no mention of those 2 options. Where can I find an exhaustive list of available options/devices I can use in my custom kernel config file? /sys/i386/conf/NOTES on 5.x LINT on 4.x -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where do I find all the available options/devices I can use in my kernel config
On Wed, 31 Dec 2003, Dany wrote: I looked at the GENERIC kernel config but there were no mention of those 2 options. Where can I find an exhaustive list of available options/devices I can use in my custom kernel config file? Look at the LINT config file, located at /usr/src/sys/i386/conf/LINT (for example). -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hard drive test
On Wed, 31 Dec 2003 10:05:55 + (GMT) Francisco Reyes [EMAIL PROTECTED] wrote: On Tue, 30 Dec 2003, David Bear wrote: i just installed 4.9-rel. after having the system on for about two hours I got a console message that device ad0 had timed out. then the system froze. I believe Seagate has an utility you can use to check a drive. SeaTools Also if the drive was bought in the last couple of years and your motherboard supports SMART monitoring I believe there is a port that can interface to the SMART interface in your hardware. AFAIK it doesn't support yet IDE drives. -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ports package names changing?
Why change the book when the whole population of the 4.9 users out there have a broken function. This is impacting the whole installed community and in my book is an problem of the highest severity. There is nothing wrong with the handbook document, the problem is who ever is building the FTP servers has made an mistake and there is an very easy solution to correct the problem now. Populating the Latest directory with the correct contents from the 'all' directory will correct the problem for all the existing uses base without them having to do anything. I do not understand why you want to take the long way around the bilberry bush to correct a problem that has such an severe impact of the 4.9 installed community, when the simple solution is staring you in the face? -Original Message- From: Ion-Mihai Tetcu [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 8:41 AM To: [EMAIL PROTECTED] Cc: Kris Kennaway; [EMAIL PROTECTED] ORG Subject: Re: ports package names changing? On Wed, 31 Dec 2003 08:30:45 -0500 fbsd_user [EMAIL PROTECTED] wrote: Your missing the whole point. The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. The user doesn't know about or cares about what 'Latest' contains. All they know is, they can not get pkg_add to work as instructed by the handbook. That's the big problem. The 'Latest' category needs to be populated with names having the version suffix appended. Would be easier and not-breaking a lot of things if you would submit a patch for that sections of the handbook that clarifies this ? -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
Thanks Harry for taking the time to answer my questions. I think based on your comments it should work. Is there any security concern having a user belonging to the group operator ? Thanks again Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 16:07, Dany wrote: Harald Schmalzbauer wrote: *SNIP* This is pretty much what I've tried. My user is in the Wheel group. Would this exact configuration work ?Should I set any other permission in order to have the user from the wheel group to mount drives? Thanks for posting your configuration. PS: One thing I've noticed with this specific user, whenever he creates something the file/directory will show owner:username group:username. I've used the command groups as well as chpass I think and they gave me only one group for this username... wheel. Why doesn't wheel appear as the group owner for stuff that username is creating ? When you add a user with adduser by default FreeBSD creates a group similar named like the username. If you later say that this user should be in group wheel it's additional. added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 This line just gives write access to group. You can either add the line: ownacd0 root:wheel or you edit /etc/groups and add your user to the group operator. I'd prefere the latter. Here's my simple /etc/group example: # $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $ # wheel:*:0:root,harry daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root,harry mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: harry:*:: uli:*:: schowi:*:: administrator:*:: alle:*::root,harry,uli,schowi,administrator setiathome:*:: -Harry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where do I find all the available options/devices I can use in my kernel con
Reading some forums, I discovered I could use the following options in my kernel configuration (5.2): options CPU_ATHLON_SSE_HACK options CPU_ENABLE_SSE I looked at the GENERIC kernel config but there were no mention of those 2 options. Where can I find an exhaustive list of available options/devices I can use in my custom kernel config file? From the handbook: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html I read: An exhaustive list of options and more detailed explanations of the device lines is present in the LINT configuration file, located in the same directory as GENERIC. with the additional helpful note: Note: In FreeBSD 5.X and above the LINT is non-existent. See the NOTES file for architecture dependent options. Some options, mainly architecture independent ones, are stored in the /usr/src/sys/conf/NOTES file. It is advisable to review the options in here also. If you are going to rebuild your kernel, I strongly advise that you read the entire chapter on configuring and building the kernel: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
On Wednesday 31 December 2003 16:37, Dany wrote: Thanks Harry for taking the time to answer my questions. I think based on your comments it should work. Is there any security concern having a user belonging to the group operator ? I never really cared about. AnonFTP is owned by operator, but in general I think wheel is worse than operator. Please correct me anybody, I don't really care on my workstation ;) Best is to have a look through the (default) filesystem and see if operator has any write permissions where it was no good. I'm quiet sure wheel has much too much read permissions for normal users. But that doesn't matter for useres who can su ;) Happy new year, -Harry Thanks again Dany Harald Schmalzbauer wrote: On Wednesday 31 December 2003 16:07, Dany wrote: Harald Schmalzbauer wrote: *SNIP* This is pretty much what I've tried. My user is in the Wheel group. Would this exact configuration work ?Should I set any other permission in order to have the user from the wheel group to mount drives? Thanks for posting your configuration. PS: One thing I've noticed with this specific user, whenever he creates something the file/directory will show owner:username group:username. I've used the command groups as well as chpass I think and they gave me only one group for this username... wheel. Why doesn't wheel appear as the group owner for stuff that username is creating ? When you add a user with adduser by default FreeBSD creates a group similar named like the username. If you later say that this user should be in group wheel it's additional. added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 This line just gives write access to group. You can either add the line: ownacd0 root:wheel or you edit /etc/groups and add your user to the group operator. I'd prefere the latter. Here's my simple /etc/group example: # $FreeBSD: src/etc/group,v 1.28 2003/04/27 05:49:53 imp Exp $ # wheel:*:0:root,harry daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root,harry mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: harry:*:: uli:*:: schowi:*:: administrator:*:: alle:*::root,harry,uli,schowi,administrator setiathome:*:: -Harry pgp0.pgp Description: signature
RE: ports package names changing?
Yes, but doing it that way as example, entering 'apache' would download apache13 when I really wanted apache20. That logic does not follow through, it's only valid for single versions of an package. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Fleck Sent: Wednesday, December 31, 2003 10:30 AM To: fbsd_user Cc: Kris Kennaway; [EMAIL PROTECTED] ORG Subject: RE: ports package names changing? On Wed, 31 Dec 2003, fbsd_user wrote: The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. If you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-u sing.html it says, about half way down the page: Note that in the example above lsof is used instead of lsof-4.56.4. When the remote fetching feature is used, the version number of the package must be removed. pkg_add(1) will automatically fetch the latest version of the application. Can you give a concrete example of what the handbook says, and how following the steps causes a problem? I'm not seeing it, it's working fine for me. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ports package names changing?
This thread is not intended to point fingers at any one or start an flame war. Just trying to point out problem and get some kind of feedback from the list of their thought on the subject. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Fleck Sent: Wednesday, December 31, 2003 10:30 AM To: fbsd_user Cc: Kris Kennaway; [EMAIL PROTECTED] ORG Subject: RE: ports package names changing? On Wed, 31 Dec 2003, fbsd_user wrote: The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. If you read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-u sing.html it says, about half way down the page: Note that in the example above lsof is used instead of lsof-4.56.4. When the remote fetching feature is used, the version number of the package must be removed. pkg_add(1) will automatically fetch the latest version of the application. Can you give a concrete example of what the handbook says, and how following the steps causes a problem? I'm not seeing it, it's working fine for me. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting CDROM as user under 5.x
If anyone's interested in a programmed solution, you can download my supermounter from http://www.neuro.mcw.edu/~bacon/fmri.html. It runs SUID root (you can change this to SUID whatever you want by modifying the Install script if you're concerned about security) and lets you specify which devices users are allowed to mount/unmount, and whether to automatically eject on unmount. ( Also download the eject program if you want this feature ) Cheers, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rsh and rcp problems between Solaris and FreeBSD
On Wed, Dec 31, 2003 at 10:08:03AM -0500, John Von Essen wrote: I can do two rsh's back to back with no problems, its the third (and 4th and so on) that hang. On the FreeBSD side, after the first rsh, netstat shows: tcp4 0 0 mx100.851 embryo.bluebell..1021 TIME_WAIT tcp4 0 0 mx100.shellembryo.bluebell..1022 TIME_WAIT Those connections stay around for awhile, about 30 seconds. Only when they disappear does the next rsh work. OK. Some progress. This rules out problems due to limitations in the number of possible connections you can have open at any one time -- if the limit is just two, then there would be a lot more things complaining than just rcp(1). And you'ld have to try exceedingly hard to get a FBSD system that limited. Hmmm... What flags are you invoking inetd(8) with on the FreeBSD side? Specifically are you using any of these (quoting from the manual page): -c maximum Specify the default maximum number of simultaneous invocations of each service; the default is unlimited. May be overridden on a per-service basis with the max-child parameter. -C rate Specify the default maximum number of times a service can be invoked from a single IP address in one minute; the default is unlimited. May be overridden on a per-service basis with the max-connections-per-ip-per-minute parameter. -R rate Specify the maximum number of times a service can be invoked in one minute; the default is 256. A rate of 0 allows an unlimited number of invocations. -s maximum Specify the default maximum number of simultaneous invocations of each service from a single IP address; the default is unlimited. May be overridden on a per-service basis with the max-child-per- ip parameter. The symptoms you describe could be caused eg. by running with '-s 2' in the inetd flags (you're getting two socket connections per rsh or rcp invocation because a second channel is opened to carry the stderr from the invoked command, but that doesn't count towards inetd's connection limits). The default for all of these is unlimited (ie. inetd_flags=-wW) and there aren't any per-service limits on the rsh (shell) service in the default inetd.conf. I generally use: inetd_flags=-wWl -R 1024 -c 128 -a ${hostname} in my /etc/rc.conf on internet facing machines where I run inetd(8) -- if this is a purely internal machine (which it certainly should be if you're using rsh(1) on it) then I wouldn't bother with any sort of connection rate-limiting, at least for the time being. Hmmm... As well -- what's the output of: % sysctl net.inet.tcp.delayed_ack You might try setting that to zero to turn off delayed ack. That's where the system will wait for about a minute before sending an ACK in order to try and coalesce it with a data packet. Usually that's a win performance-wise. See tcp(4). There's also the RFC1644 support you might want to try toggling: see ttcp(4) -- I'm unable to find any definitive statement on the net about Solaris support for this, so no idea if it will actually help or not. As for the rcp, I was missing a trailing slash, apparently rcp -r syntax between Solaris and FreeBSD is a little different. So the rcp's work, but that take just as long as the rsh calls. That's one problem down then. Good. As for name resolution, the Solaris box uses dns, and so does FreeBSD. Both have some entries in the hosts file. That's good too. Rules out some more areas which could be causing the trouble. 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: hard drive test
On Tue, Dec 30, 2003 at 08:17:50PM -0700, David Bear wrote: i just installed 4.9-rel. after having the system on for about two hours I got a console message that device ad0 had timed out. then the system froze. after a reboot (power off then on) the systems has been working fine. The HD is standard seagate barracuda ATA drive (30 gig). I am using an ata100 cable. now I'm nervous. don't know why the drive would have had the error. Are there any freebsd utils that I can use to test the drive? You can download a test utility from the (Formely iBM) Hitchi Global Storage site. I t works on all the SMART compatible drives (pretty much all the drives sold in the last year or 2) that I;ve tried it on. I did have one drive that FreebSD was complaining about that repeatedly passed the tests from this, but I finally got it to show errorson teh excersiser in it. SMART monitoring tools are a HUGE help, but AFAIK only supported in 5.x for FreeBSD. -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fynamic DNS updates with isc-dhcp3 port?
I just installed the isc-dhcp3 on a 4.9 STABLE machine that is also the DNS server for my domain. I enable ad-hoc Dynamic DNS updates, and I;m getting error messages about them timing out. I read the dhcpd.conf man page that came with the port, and now I;m _reallY_ confused. Even though this option is in the sample config file, it;s documented as not working. Worse I don't see the syntax of what to put in it's place in that man page. Also do I have to configure bind to accept this updates? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ports package names changing?
On Wed, 31 Dec 2003, fbsd_user wrote: Yes, but doing it that way as example, entering 'apache' would download apache13 when I really wanted apache20. That logic does not follow through, it's only valid for single versions of an package. Yes, it's true that the 'apache' package gets you 1.3.x, and 'apache2' gets you 2.0.x, and this is not clear from the information listed at http://www.freebsd.org/ports/www.html. Perhaps some information could be added to the apache2 package description so that people know what package name to use for apache vs. apache2. In the majority of cases, there aren't separate ports for different versions of an application, so this problem doesn't exist for them. It seems to me that making selected package descriptions more descriptive would be a whole lot safer than making the changes you suggest. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ports package names changing?
On Wed, 31 Dec 2003, fbsd_user wrote: This thread is not intended to point fingers at any one or start an flame war. Just trying to point out problem and get some kind of feedback from the list of their thought on the subject. To be honest, I'm not sure that anyone else considers this to be a problem. -- David Fleck [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
http://www.freebsd.org/gallery/npgallery.html
My site, cybernothing.org, is now hosted on a friends' machine running Linux. (I still prefer FreeBSD myself.) -- J.D. Falk THIS IS NOT [EMAIL PROTECTED] AN ACCIDENT THIS IS ART ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Backing up programs
With every HD problem I loose less and less data. On my last episode I lost only the current day's worth of data (backup at night). However I realised that I also need to backup programs installed on the machine. It takes a long time to rebuild all packages (I had a list of ports I had installed). How do others backup their programs? I am undecided between trying to backup the entire /usr/local and making packages of my critical ports and burning that to CDs. I also took care of all system files, but I realized that backing up all of /etc wasn't so helpfull if I didn't know which files I used. I also, as of last crash, am going to backup /usr/src since restoring all of /etc only makes sense with matching sources. The one thing I have against trying to backup all of /usr/local is that something like PostgreSQL may cause the backup problems whereas the package solution will be a one time deal and will not affect production. The other thing I learnt that needs to be backed up is the /usr/ports directory. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Soekris machines
Anyone has set one of those up? In particular how did you communicate with the machine? Do I need a null modem cable? Which program you used and settings? From the ports it seems minicom may do the trick. If using the CF card in the machine how did you find out what was the device name of your USB writer. I blew up my primary HD MBR trying to write the image of M0n0wall. Didn't loose almost any data due to my nightly backups, but want to find out the right way to do it on a less painfull way. :-) The card is seen by camcontrol and usbdevs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Soekris machines
Howdy, In particular how did you communicate with the machine? Do I need a null modem cable? Which program you used and settings? From the ports it seems minicom may do the trick. It's been a while, but I played with one of those boxes during our (ir-)regular C0d3 b33r sessions. The console was set up to use 9600bps, 8N1 - so you could either connect with minicom, or with cu, as I usually, since it's there by default. Naturally, you'll need a null modem cable, yes. cu -s 9600 -l /dev/cuaa[0-9] usually does the trick for me. If using the CF card in the machine how did you find out what was the device name of your USB writer. I blew up my primary HD MBR trying to write the image of M0n0wall. Didn't loose almost any data due to my nightly backups, but want to find out the right way to do it on a less painfull way. :-) Isn't that handled like umass devices are usually handled, meaning it's reachable as /dev/da* ? Cheers, J. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backing up programs
On my file server I have 2 drives. I looked at RAID but it doesn't help solving the major issue ... me, user removing files that are not supposed to be removed so incremental backup is a plus. On the first one there is the linux system (sorry... I promise I will switch to fbsd) as well as data (2 directories) : DISK 1 / OS current | | user 1 current --- UNISON with laptop/desktop... backup | |- user 1 backup RSYNC-BACKUP of user 1 current, incremental backup DISK 2 / backup | | linux backup - RSYNC of the file system from the first drive excluding data | - user 1 backup (2) - RSYNC of the user 1 backup directory (already incremental in the first place) I use 3 different programs : - Unison : 2-way synchronization using rsync/ssh, multi platform graphical interface. I can have the same files on my file server, laptop running win2k as well as my desktop running Linux/BSD. Very convenient especially with laptops when you can't be connected all the time.Very fast too (only transmit diffs) - rsync : typical rsync that will mirror the source to the destination - rsync-backup : it's based on rsync but you get the advantage of incremental backups so you can restore from a specific date. You can also purge the backup by removing old stuff. A couple of cron jobs take care of the different backups at night. I don't know if that answers to your question but I thought that could give you some ideas. Dany Francisco Reyes wrote: With every HD problem I loose less and less data. On my last episode I lost only the current day's worth of data (backup at night). However I realised that I also need to backup programs installed on the machine. It takes a long time to rebuild all packages (I had a list of ports I had installed). How do others backup their programs? I am undecided between trying to backup the entire /usr/local and making packages of my critical ports and burning that to CDs. I also took care of all system files, but I realized that backing up all of /etc wasn't so helpfull if I didn't know which files I used. I also, as of last crash, am going to backup /usr/src since restoring all of /etc only makes sense with matching sources. The one thing I have against trying to backup all of /usr/local is that something like PostgreSQL may cause the backup problems whereas the package solution will be a one time deal and will not affect production. The other thing I learnt that needs to be backed up is the /usr/ports directory. ___ [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: Backing up programs
On Wed, 31 Dec 2003, Dany wrote: On my file server I have 2 drives. I also have two drives on each of my machines. One for backup. I also keep several days worth of backups in case I corrupt a file. Overall I think I have the data part of the backup covered properly, although I plan to backup some directories every few hours instead of daily. - Unison : 2-way synchronization using rsync/ssh, multi platform graphical interface. I use unison to backup data from a remote machine to my local machine, - rsync : typical rsync that will mirror the source to the destination Why use both unison and rsync? Unison can do the same as rsync. - rsync-backup : it's based on rsync but you get the advantage of incremental backups so you can restore from a specific date. You can also purge the backup by removing old stuff. Will look it up. A couple of cron jobs take care of the different backups at night. Same thing here, except that I plan to do some dierctories more often (ie emails). I don't know if that answers to your question but I thought that could give you some ideas. Didn't really answer what I asked, but all suggestions/feedback/comments on how other people are doing things are always welcome. It helps to see other possible solutions to what one is doing. I am a firm believer in learning from the experience of others if they are willing to dedicate the time to share their experience with me. :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: http://www.freebsd.org/gallery/npgallery.html
On Wed, 31 Dec 2003, J.D. Falk wrote: My site, cybernothing.org, is now hosted on a friends' machine running Linux. (I still prefer FreeBSD myself.) I am a little curious.. Was your email intended to ask to be included in the non-profit page? Not that I am involved with setting up that page, but if that was the intention your message did not convey that request. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Soekris machines
On Wednesday 31 December 2003 13:57, Francisco Reyes wrote: Anyone has set one of those up? In particular how did you communicate with the machine? Do I need a null modem cable? Which program you used and settings? From the ports it seems minicom may do the trick. It's working like a charm with FreeBSD. Especially phk has extended FreeBSD with lots of nice features for ElanSC520/ Soekris (like errLED device, setable X-Tal freq, ELAN timecounter etc.) I use tip for the serial console (with nullmodem cable) There are a lot of reports/articles about net4501 and FreeBSD/OpenBSD out there -Harry If using the CF card in the machine how did you find out what was the device name of your USB writer. I blew up my primary HD MBR trying to write the image of M0n0wall. Didn't loose almost any data due to my nightly backups, but want to find out the right way to do it on a less painfull way. :-) The card is seen by camcontrol and usbdevs. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: http://www.freebsd.org/gallery/npgallery.html
On 12/31/03, Francisco [EMAIL PROTECTED] wrote: On Wed, 31 Dec 2003, J.D. Falk wrote: My site, cybernothing.org, is now hosted on a friends' machine running Linux. (I still prefer FreeBSD myself.) I am a little curious.. Was your email intended to ask to be included in the non-profit page? Not that I am involved with setting up that page, but if that was the intention your message did not convey that request. Sorry...I was actually asking to be removed from that page. -- J.D. Falk THIS IS NOT [EMAIL PROTECTED] AN ACCIDENT THIS IS ART ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backing up programs
Francisco Reyes wrote: On Wed, 31 Dec 2003, Dany wrote: On my file server I have 2 drives. I also have two drives on each of my machines. One for backup. I also keep several days worth of backups in case I corrupt a file. Overall I think I have the data part of the backup covered properly, although I plan to backup some directories every few hours instead of daily. - Unison : 2-way synchronization using rsync/ssh, multi platform graphical interface. I use unison to backup data from a remote machine to my local machine, - rsync : typical rsync that will mirror the source to the destination Why use both unison and rsync? Unison can do the same as rsync. Because it's one-way, so no worries about conflicts. I know I'm not supposed to change the destination files but I like to use a one-way backup solution. - rsync-backup : it's based on rsync but you get the advantage of incremental backups so you can restore from a specific date. You can also purge the backup by removing old stuff. Will look it up. I made two mistakes in my description. First the tool is call rdiff-backup (and not rsync-backup which also exists) : http://rdiff-backup.stanford.edu/index.html Secondly, for the OS, I also use rdiff-backup and not rsync so I have a fast, space efficient, incremental backup of the OS too ! PS: On the same web page you will also find a link to another tool call duplicity (http://rdiff-backup.stanford.edu/duplicity.html). You can do remote backup but in that case the image can be stored on a remote FTP server and encrypted with GPG... sweet if you're planning to use the disk space of your ISP for backups! Cheers Dany A couple of cron jobs take care of the different backups at night. Same thing here, except that I plan to do some dierctories more often (ie emails). I don't know if that answers to your question but I thought that could give you some ideas. Didn't really answer what I asked, but all suggestions/feedback/comments on how other people are doing things are always welcome. It helps to see other possible solutions to what one is doing. I am a firm believer in learning from the experience of others if they are willing to dedicate the time to share their experience with me. :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports package names changing?
On Wed, Dec 31, 2003 at 08:30:45AM -0500, fbsd_user wrote: Your missing the whole point. The FBSD handbook says to use http://www.freebsd.org/ports/index.html to find port and package names and it only shows the names with versions suffix appended to the names. Pkg_add -r points to directory location with out names with versions suffix appended. From user view point, pkg_add -r does not work because user is entering name with version suffix appended as they are led to believe is the correct name as instructed by the FBSD handbook. The user doesn't know about or cares about what 'Latest' contains. All they know is, they can not get pkg_add to work as instructed by the handbook. That's the big problem. The 'Latest' category needs to be populated with names having the version suffix appended. That's your opinion, but it's a misunderstanding of how the system works. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: djbdns
Ion-Mihai Tetcu wrote: On Tue, 30 Dec 2003 10:53:20 + Peter Risdon [EMAIL PROTECTED] wrote: Ion-Mihai Tetcu wrote: Take a look at /usr/local/etc/rc.d/svscan.sh.sample 1. SVDIR=/var/service/ - so svscan will look at /var/service and not /service; either do: a) what is suggested and use /var/services (e.g. ln -s /etc/dnscache /var/service) or b) change SVDIR=/var/service/ to SVDIR=/service/ I would use a); also note that creating the log file in /etc/dnscache is IMHO a bad idea. I'm not disagreeing, but the original post complained of something being wrong in some documentation. Yes, the idea of logging to / is bad at least for 2 reasons: filling up /, which is usually small and, in case of a crash, increasing the chances to have a trashed / In passing, I don't understand why any dns data are stored in subdirectories of /etc and not /var. But while this is important for the log files, the service directory just contains soft links, so no issues of disk space arise from a location in /. It seems to be more a matter of how you read hier(7). Most reference and tutorial pages for djbdns and other djb stuff like qmail assume a /service directory, rather than /var/service. I've always loved the explanation Portability. With /service, your program works the same way on every system: Linux, BSD, Solaris, etc. (http://cr.yp.to/daemontools/faq/create.html#run); using this logic every program should install in his own directory in / Not entirely: daemontools has a broad application to other services that most programs lack. As a, sort of, replacement for inet.d it has a different status to, say, mozilla. One /service directory allows more than one daemon to run. I'm all for standardisation of file locations across unixen. There's just the small matter of agreeing what those standard locations should be. Using /var/service does seem more logical, but can be a source of confusion, especially if people are copying and pasting commands from online instructions, something the various references often suggest. Perhaps I should suggest to the maintainer adding a pkg-message saying that, by default, we're using /var/services ? Good idea, though there is already a mention of this issue in /usr/local/etc/rc.d/svscan.sh.sample I think the djbdns and the qmail ports should create the service directory if it's not already there (in / or /var, whatever, so long as both ports agree) and the symlinks within it, with configure options for selecting a different location. That would help avoid a lot of confusion and mean the ports installed services that were actually capable of running after the make install without an unusual amount of tweaking, but I'll take this to the relevant list. PWR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tar question...
Hi list, I've googled to search an aswer but no one match mine. I want to tar all files on a directory without include any other directory, I've tried with --exclude but no hope, any suggestion ??? Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf / pf availability in 4.9
On Dec 31, 2003, at 5:12 AM, fbsd_user wrote: The post you are replying to tells you pf has been ported to FBSD. Yes, and my question was how to get a port to 4.9. I am aware of the port being available for 5.0, 5.1. I would like to know if anyone has gotten it to run on 4.9 and what patches were necessary. Thanks All you had to do is go look for it in the port collection your self, here is the direct link. http://www.freebsd.org/cgi/ports.cgi?query=pfstype=allrelease=5.1- CURRENT%2Fi386 pf_freebsd-2.00_1 OpenBSD pf as a kldmodule Maintained by: [EMAIL PROTECTED] Also listed in: ipv6 Description : Sources : Package : Changes : Download http://pf4freebsd.love2party.net/index.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Will Prater Sent: Wednesday, December 31, 2003 2:59 AM To: [EMAIL PROTECTED] Subject: Re: ipf / pf availability in 4.9 List, Anyone know if there is a way to get PF to port to FreeBSD 4.9? Thanks On Dec 30, 2003, at 7:26 PM, fbsd_user wrote: PF has been just ported to FBSD. I don't know if ipf pf have a common code background, but I do know pf ipf have totally different rule processing logic though the rules do look some what common. When it comes to using variables on the rule set, that is just the normal function of shell processing. Ipfw, ipf, and pf can all be buried inside of an shell script and perform variable substitution. In FBSD the rc.conf statement for pointing to the directory location of the ipf rules can not process a script. You just point that rc.conf statement to an empty file just to get the system up. Then you have script in the startup application directory that executes to load the ipf rules. Works great. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: ipf / pf Hi, Here's a question that might seem trivial: What's the relationship between the freebsd ipf and the openbsd pf? Are they the same thing, or are they separately developed branches of a common codebase? Or maybe they are totally different. I ask this because I was looking around for guides for ipf.rules, and some of the openbsd pf examples look similar, but some command syntax are different. The openbsd pf.conf example had the ability to define variables of ip addresses, interface names, etc, but it doesn't seem to work with ipf.rules. Is there any way to define variables in ipf.rules? please cc me in your responses cause I'm not subscribed to the list thanks so much jonathan ___ [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] --will ___ [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] --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar question...
On Wednesday 31 December 2003 1:21 pm, Xpression wrote: Hi list, I've googled to search an aswer but no one match mine. I want to tar all files on a directory without include any other directory, I've tried with --exclude but no hope, any suggestion ??? Thanks... I dom something similar to what you ask. What I do is tar a directory and all it's contense EXCEPT one diectory. It goes something like this: tar -zcf name.tgz --exclude MP3 dirname/ Explanation: I'm tarring a dir. and excluding the dir MP3 and it's files. I'm sure you will be able to expand on this. Use man tar to see all the switches. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Requesting input from users with nice fonts
I read the section of the handbook concerning X and fonts (section 5.5), but wanted some additional assistance from users with nice fonts (subjective, I guess), especially those using bitstream fonts. I have a number of fonts on CD that I copied from a previous Linux machine I was using. What is the easiest way to make these fonts available to applications in my FreeBSD installation? In other words, in what directory(ies) should in place the fonts so that they are usable by applications in KDE, Gnome, XFce, etc.? Do I then need to manually create FontPath entries in the XF86Config file? Or if there's another way please let me know. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Broken, orphaned port: how can I help?
Yesterday I tried installing a port and found that it was broken though not marked as such. The problems were simple -- simple enough that *I* got it working! -- and I emailed the listed port maintainer with what I have found. Now, I haven't heard back, but I am not jumping to conclusions because of the holidays. But out of curiosity, if the port is in fact orphaned, what happens? Who is the next person to contact? I have been using FreeBSD for a while but I really don't have a good grasp of the big picture. I want to be a good citizen though. :) Comments? -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar question...
On Wednesday 31 December 2003 13:21, Xpression wrote: Hi list, I've googled to search an aswer but no one match mine. I want to tar all files on a directory without include any other directory, I've tried with --exclude but no hope, any suggestion ??? Thanks... man tar works for me: -n --norecurse Don't recurse into subdirectories when creating. drc -- Dave Cantrell [EMAIL PROTECTED] Lincoln, Nebraska, USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Super User
Hi, I wanting to know how I can add a user to the super use list so that I can log in remote and sudo commands. I have notice that unlike linux, root may not ssh in, which I think is cool, but unless I can create a super user, or add to the list that let's me run root commands kinda hard to admin a freebsd server. Payne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Super User
I wanting to know how I can add a user to the super use list so that I can log in remote and sudo commands. I have notice that unlike linux, root may not ssh in, which I think is cool, but unless I can create a super user, or add to the list that let's me run root commands kinda hard to admin a freebsd server. Add the user to the wheel group. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Broken, orphaned port: how can I help?
On Wed, Dec 31, 2003 at 11:34:59AM -0800, Matt Staroscik wrote: Yesterday I tried installing a port and found that it was broken though not marked as such. The problems were simple -- simple enough that *I* got it working! -- and I emailed the listed port maintainer with what I have found. Now, I haven't heard back, but I am not jumping to conclusions because of the holidays. But out of curiosity, if the port is in fact orphaned, what happens? Who is the next person to contact? I have been using FreeBSD for a while but I really don't have a good grasp of the big picture. I want to be a good citizen though. :) Comments? If you don't hear back from the maintainer (at least an acknowledgement of receipt) then file a PR through the web form or send-pr(1) and be sure to mention the details of your correspondence with the maintainer. If you should hear back from the maintainer after filing the PR then please remember to update it. Kris pgp0.pgp Description: PGP signature
Re: tar question...
Chris wrote: On Wednesday 31 December 2003 1:21 pm, Xpression wrote: Hi list, I've googled to search an aswer but no one match mine. I want to tar all files on a directory without include any other directory, I've tried with --exclude but no hope, any suggestion ??? Thanks... I dom something similar to what you ask. What I do is tar a directory and all it's contense EXCEPT one diectory. It goes something like this: tar -zcf name.tgz --exclude MP3 dirname/ Explanation: I'm tarring a dir. and excluding the dir MP3 and it's files. I'm sure you will be able to expand on this. Use man tar to see all the switches. Sounds find, but wouldn't $tar /home/foo/* get this job done without including subdirs, since there's no -R involved? I read the OP's question as I want to tar all the files in a directory without including any other directories... which would mean any (sub)directories within the directory would not be placed in the tarball, right? Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf / pf availability in 4.9
- Original Message - From: Will Prater [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 1:27 PM Subject: Re: ipf / pf availability in 4.9 On Dec 31, 2003, at 5:12 AM, fbsd_user wrote: The post you are replying to tells you pf has been ported to FBSD. Yes, and my question was how to get a port to 4.9. I am aware of the port being available for 5.0, 5.1. I would like to know if anyone has gotten it to run on 4.9 and what patches were necessary. Thanks Are you talking about PF or IPF in 4.9? If it's IPF, it's a kernel option. Check out LINT and you'll find: options IPFILTER#ipfilter support options IPFILTER_LOG#ipfilter logging options IPFILTER_DEFAULT_BLOCK #block all packets by default Also, you should be able to do a man ipf on 4.9. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tar question...
Kevin D. Kinsey, DaleCo, S.P. wrote: Sounds find, but wouldn't $tar /home/foo/* get this job done without including subdirs, since there's no -R involved? -R means show record number. Recursive is the default, -n is no recursive. PWR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I need several Linux developers to fill positions
Kirk-this is Peg Pellegrino-remember me?--you were trying to connect me with Andrew Frankel, MD--- I started composing a letter to Dr. Frankel and stopped--don't want to step on your toes--but I lost all of you information--I have now relocated to Southern California--staying in Irvine at a Candlewood Suites (Temp) and I have been sending resumes (better than the one you saw)--I have two pretty good offers from practices in Beverly hills--don't want to jump too fast--wonder if you know if Dr. Frankel is still looking? If you have the time-let me know--the idea of the new 'growing practice' appeals to me alot---and he is wrong in his assumption that I am not familiar with high profile patients. Peg Pellegrino [EMAIL PROTECTED] cell 949-861-1450 hotel 949-788-0500 suite 203Thanks!! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf / pf availability in 4.9
On Dec 31, 2003, at 12:13 PM, Micheal Patterson wrote: - Original Message - From: Will Prater [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 1:27 PM Subject: Re: ipf / pf availability in 4.9 On Dec 31, 2003, at 5:12 AM, fbsd_user wrote: The post you are replying to tells you pf has been ported to FBSD. Yes, and my question was how to get a port to 4.9. I am aware of the port being available for 5.0, 5.1. I would like to know if anyone has gotten it to run on 4.9 and what patches were necessary. Thanks Are you talking about PF or IPF in 4.9? If it's IPF, it's a kernel option. PF. I already have IPF working. I am more familiar with PF and would rather be using it. Thanks Check out LINT and you'll find: options IPFILTER#ipfilter support options IPFILTER_LOG#ipfilter logging options IPFILTER_DEFAULT_BLOCK #block all packets by default Also, you should be able to do a man ipf on 4.9. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf / pf availability in 4.9
snip Are you talking about PF or IPF in 4.9? If it's IPF, it's a kernel option. PF. I already have IPF working. I am more familiar with PF and would rather be using it. Thanks Ah. Ok. Misunderstood. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
List of absolutely required files for FreeBSD?
Hi - I was wondering if there is a list of absolutely required files for FreeBSD? I'm trying to trim an installation down as small as possible (to put on Compact Flash). If I start out with just the 'bin' directory for the release there's around 100megs of files. Obviously a lot of them like ipfw I don't need. However, what about things like awk? I won't use it, but are there other parts of FreeBSD (ie /etc/rc.* files)? Is there a list somewhere that would help determine what files are used by FreeBSD for normal operation? Thanks! -philip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD as host OS for VMWare 4.0 (Linux Version)
Anyone have any success getting VMWare 4.0 (Linux Version) to run on FreeBSD Current (i.e. as host OS)? What versions of VMWare do work well with FreeBSD host OS? -Rick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD as host OS for VMWare 4.0 (Linux Version)
Forgot to mention in previous mailing that I am not on the list, so please cc me on any responses. Thanks. -Rick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I am writing a script that mails me when certain events occur. I am using mail(1) to notify me by email when some things happen. I have read the man page and I don't see a way to attach a file, does anyone know how to use mail(1) to attach a file? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List of absolutely required files for FreeBSD?
what size flash? i have 4.9 down to 220mb for a 256mb flash. Philip Hallstrom wrote: Hi - I was wondering if there is a list of absolutely required files for FreeBSD? I'm trying to trim an installation down as small as possible (to put on Compact Flash). If I start out with just the 'bin' directory for the release there's around 100megs of files. Obviously a lot of them like ipfw I don't need. However, what about things like awk? I won't use it, but are there other parts of FreeBSD (ie /etc/rc.* files)? Is there a list somewhere that would help determine what files are used by FreeBSD for normal operation? Thanks! -philip ___ [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]
isc-dhcpd weird effect
Hi! I have a DHCP server at home (isc-dhcpd) and I've been wondering for a long time why it is giving the last IP addresses of the specified range at first? Like I tell him a range from 10.0.0.50 to 10.0.0.100 and it's giving 100 then 99,98,97 and so on. Why not directly 50 then 51,52,53,... ?? Should be someone who knows :) Regards -Pierrick Brossin http://www.swissgeeks.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freezing with intel motherboard D865PERL
Hello all, I am having the following problem with a new system: the system will install (minimal) fine from cd, after install when i am attempting to do anything cpu intensive (for example compiling a port or a custom kernal) the console freezes, I am not able to switch to another console, or ssh in, or ping the box after a ping. I was wondering if anyone else has had this type of problem...and more importantly found a solution. Box Specs: Intel D865PERL motherboard 3.06 P4 CPU 1GB DDR Ram 40GB Maxtor HD (system) 2 x 250GB Western Digital HD (storage, not used or configured yet) generic video card onboard intel nic FreeBSD dmesg: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf29 Stepping = 9 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Hyperthreading: 2 logical CPUs real memory = 1072889856 (1047744K bytes) avail memory = 1038860288 (1014512K bytes) Preloaded elf kernel kernel at 0xc053f000. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 12 entries at 0xc00f3d20 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 agp0: Intel 82865 host to AGP bridge mem 0xfc00-0xfdff at device 0.0 on pci0 pcib1: PCI to PCI bridge (vendor=8086 device=2571) at device 1.0 on pci0 pci1: PCI bus on pcib1 uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xcc00-0xcc1f irq 9 at device 29.0 on pci0 usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xd000-0xd01f irq 5 at device 29.1 on pci0 usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xd400-0xd41f irq 10 at device 29.2 on pci0 usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xd800-0xd81f irq 9 at device 29.3 on pci0 usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pcib2: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0 pci2: PCI bus on pcib2 pci2: SiS model 0325 VGA-compatible display device at 0.0 irq 11 fwohci0: Lucent FW322/323 mem 0xff9af000-0xff9a irq 12 at device 7.0 on pci2 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 00:0c:f1:00:00:96:f8:a6 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: IEEE1394(FireWire) bus on fwohci0 if_fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 02:0c:f1:96:f8:a6 sbp0: SBP2/SCSI over firewire on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fxp0: Intel 82801BA (D865) Pro/100 VE Ethernet port 0xb800-0xb83f mem 0xff9ae000-0xff9aefff irq 3 at device 8.0 on pci2 fxp0: Ethernet address 00:0c:f1:96:f8:a6 inphy0: i82562ET 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: PCI to ISA bridge (vendor=8086 device=24d0) at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH5 ATA100 controller port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: Intel ICH5 SATA150 controller port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at device 31.2 on pci0 ata2: at 0xec00 on atapci1 ata3: at 0xe400 on atapci1 pci0: unknown card (vendor=0x8086, dev=0x24d3) at 31.3 irq 12 orm0: Option ROM at iomem 0xc-0xc on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles,
What do you use?
I need to build a file server for work. I was wondering what people on the list use for a RAID solution? I would like to stick to an IDE RAID controller. RAID5 or RAID1. Also what do you recommend for a cheap tape backup? And before I forget, pls let me know if you are using it under 4.x or 5.x. I would love to do an external STA type setup but I am sure it is not quite there yet under FreeBSD. Thanks for the info! -Sean ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tape backup solution? [OT]
Hello List, I have a question that's slightly off-topic, but not. I install high-end surveillance equipment for CCTV and such. I have a rather large client in Minneapolis who's using Dedicated Micros digital video recorders. The particular model we're using has a 500 GB hdd, but this client would like to archive images to tape for longer storage. As of now, we're only getting about 2 months of recording time. For off-site viewing, this unit can off-load images to a SCSI cd recorder. Does anyone suggest a tape backup device that would be SCSI and external, with a fairly high-capacity? I'm thinking around 50 GB? TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What do you use?
3ware IDE RAID. Yahoo did the beta testing on these and they perform quite well on anoything above 4.5. No such thing as cheap tape backups. :-( JB On Wednesday 31 December 2003 01:06 pm, Sean Hafeez wrote: I need to build a file server for work. I was wondering what people on the list use for a RAID solution? I would like to stick to an IDE RAID controller. RAID5 or RAID1. Also what do you recommend for a cheap tape backup? And before I forget, pls let me know if you are using it under 4.x or 5.x. I would love to do an external STA type setup but I am sure it is not quite there yet under FreeBSD. Thanks for the info! -Sean ___ [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: List of absolutely required files for FreeBSD?
256mb, but I'd like some extra room for some data files. If I could get it down to say 80mb then I could use a 128mb card... On Wed, 31 Dec 2003, Sean Hafeez wrote: what size flash? i have 4.9 down to 220mb for a 256mb flash. Philip Hallstrom wrote: Hi - I was wondering if there is a list of absolutely required files for FreeBSD? I'm trying to trim an installation down as small as possible (to put on Compact Flash). If I start out with just the 'bin' directory for the release there's around 100megs of files. Obviously a lot of them like ipfw I don't need. However, what about things like awk? I won't use it, but are there other parts of FreeBSD (ie /etc/rc.* files)? Is there a list somewhere that would help determine what files are used by FreeBSD for normal operation? Thanks! -philip ___ [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: List of absolutely required files for FreeBSD?
well i have been installing the normal + kernel dev package/src because i need to recompile the kernel. then remove the /usr/src and /usr/ports then go thru and trim the *share *docs *examples and end up with a 220mb system. i am quite sure that you can remove more. Philip Hallstrom wrote: 256mb, but I'd like some extra room for some data files. If I could get it down to say 80mb then I could use a 128mb card... On Wed, 31 Dec 2003, Sean Hafeez wrote: what size flash? i have 4.9 down to 220mb for a 256mb flash. Philip Hallstrom wrote: Hi - I was wondering if there is a list of absolutely required files for FreeBSD? I'm trying to trim an installation down as small as possible (to put on Compact Flash). If I start out with just the 'bin' directory for the release there's around 100megs of files. Obviously a lot of them like ipfw I don't need. However, what about things like awk? I won't use it, but are there other parts of FreeBSD (ie /etc/rc.* files)? Is there a list somewhere that would help determine what files are used by FreeBSD for normal operation? Thanks! -philip ___ [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: (2) rsh and rcp problems between Solaris and FreeBSD
On Wed, 31 Dec 2003 10:20:23 -0500 (EST) John Von Essen [EMAIL PROTECTED] wrote: One more thing. Apparently, if I do 'rsh -n host cmd' on the Solaris box, it no longer hangs, and I can do it back to back indefinitely. Say I do ten of them, 5 secs apart. I still see the following 10 times in netstat: snip This doesn't affect rcp, so those are still slow. The only other thing is that I am going through a firewall, from an internal network to a dmz. -John snip A couple of comments: o The rcp in stock FreeBSD has changed its behavior somewhere 4.7 - 4.9, to as you see it. It has been behaving more 'standard' way before. Self installing krb4 or heimdal from kth seems provides better rcp. o How does the firewall treat backward connections ? (Ipfilter proxy ?) Depending on it, ports may not be properly 'diffused' (this again might be due to 'odd' rcp, though). As far as I can tell, rcp with said makes on both ends over ipfilter with r-* proxy works well (not very well, unfortunately). Closely watching FreeBSD's rcp behaviors at the connections would reveal something more. horio shoichi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall question...
On Wed, 31 Dec 2003 09:59:10 -0500 Xpression [EMAIL PROTECTED] wrote: Hi list, I've two servers running some services, now I want to firewall both them, do I need to build it on router or in the FreeBSD box...thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Although it depends, use your spare time to install on both, i.e. on three boxen. I say this the firewall(s) on router cannot always do fine grained host by host setups, connections from/to internal lan in particular. horio shoichi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What do you use?
On Wed, 31 Dec 2003, Jason Bacon wrote: 3ware IDE RAID. Agree on the 3ware controllers. No such thing as cheap tape backups. :-( If the amount of data can compress into a CD or DVD you could consider a burner. Moreover, although not a replacement for a tape backup or burning to CD/DVD you could also consider having an extra disk outside the RAID for backups. For example to keep multiple days of data on the second disk for easy/quick access. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: List of absolutely required files for FreeBSD?
On Wed, Dec 31, 2003 at 01:30:07PM -0800, Philip Hallstrom wrote: Hi - I was wondering if there is a list of absolutely required files for FreeBSD? I'm trying to trim an installation down as small as possible (to put on Compact Flash). If I start out with just the 'bin' directory for the release there's around 100megs of files. Obviously a lot of them like ipfw I don't need. However, what about things like awk? I won't use it, but are there other parts of FreeBSD (ie /etc/rc.* files)? This may be useful (reduced to 12MB + 10 MB for perl) http://neon1.net/misc/minibsd.html Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tape backup solution? [OT]
In the last episode (Dec 31), Eric F Crist said: I have a question that's slightly off-topic, but not. I install high-end surveillance equipment for CCTV and such. I have a rather large client in Minneapolis who's using Dedicated Micros digital video recorders. The particular model we're using has a 500 GB hdd, but this client would like to archive images to tape for longer storage. As of now, we're only getting about 2 months of recording time. For off-site viewing, this unit can off-load images to a SCSI cd recorder. Does anyone suggest a tape backup device that would be SCSI and external, with a fairly high-capacity? I'm thinking around 50 GB? I can't find a good web page to refer you to, but here's a quick summary of what's available. Capacity and transfer rate are native; if your data is 2:1 compressible, double both columns. Drive Capacity Xfer rate (GB) (MB/Sec) DLT 406 sDLT110-300 11-36 LTO 100 15 LTO2200 30 AIT3100 12 SAIT1 500 30 -- 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: FreeBSD as host OS for VMWare 4.0
Anyone have any success getting VMWare 4.0 (Linux Version) to run on FreeBSD Current (i.e. as host OS)? What versions of VMWare do work well with FreeBSD host OS? -Rick The way I understand it (I may be wrong), is VMWare does its magic by hooking into the kernel (to mess with pagetables and such) and is able to achieve virtualization in an optimized way. Contrast with Bochs which is a total usermode emulator, grinding out instructions 500:1 Mike -154481835514587190051586296331 Content-Disposition: form-data; name=send_att1; filename= Content-Type: application/octet-stream -154481835514587190051586296331 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail
On Wed, Dec 31, 2003 at 03:46:33PM -0600, Chad Albert wrote: I am writing a script that mails me when certain events occur. I am using mail(1) to notify me by email when some things happen. I have read the man page and I don't see a way to attach a file, does anyone know how to use mail(1) to attach a file? I don't know about mail, but you can do it easily with mutt. cat textfile | mutt -s subject -a attachment address hth Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail
Chad Albert [EMAIL PROTECTED] writes: I am writing a script that mails me when certain events occur. I am using mail(1) to notify me by email when some things happen. I have read the man page and I don't see a way to attach a file, does anyone know how to use mail(1) to attach a file? You don't, at least not as a MIME attachment (mail(1) doesn't understand MIME). You can include a file in the message; traditionally, by using uuencode(1) if the file is binary... -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.2 RC2: Semi-deterministic gcc segfault during buildworld
Hello, I had just installed a fresh 5.2 RC2 system and cvsup:ed the latest source (only 5-10 files changed; nothing related to this problem as far as I could see). I wanted to add Coda client support. so I created a GENERIC derivative configuration with Coda support added. I proceeded to compile as usual: make cleandir make cleandir make buildkernel KERNCONF=WHITESTAR However every time I do this I encounter the exact same problem: /usr/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_handle_scsiint': /usr/src/sys/dev/aic7xxx/aic79xx.c:1719: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Except for once when I got this instead: /usr/src/sys/pci/if_dc.c: In function `dc_init': /usr/src/sys/pci/if_dc.c:3593: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 I've been running some memtests on the machine and so far no problems have been reported. Besides I would expect memory related problems to be much more random than the above. The same hardware (minus a new disk) has been running FreeBSD 4.x without problems for quite a while before this. I tried booting back into 4.9-RELEASE to recompile the kernel - it completed successfully. I have also tried some rudimentary write/read/md5sum tests on the disk used for 5.2 to try to determine if there are random read errors on the drive (which has happened to me before on one disk). Has anyone seen this? Could it be a hardware problem in spite of the above? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with loading another pci driver for the same card
Hello, everyone, If the kernel already has a pci driver for a pci card, how could I load another loadable driver for the same card? I wrote a Kernel module PCI driver for one pci card. After the kernel is up, it automatically identified the card, and load its driver. If I want to use my own driver, the driver can't be probed correctly. When you use 'kldload' to load a pci driver, I think the kernel only probe the card without driver loaded. So, my driver can never be loaded, since the kernel doesn't probe the pci card I want. Do you know how I could load my driver? The output from pciscan is in the following. I want to load a pci driver to [EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x248c8086 rev=0x02 hdr=0x00 I think the system only probe the cards with [EMAIL PROTECTED]. thank you very much. Haidong [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x1a308086 rev=0x04 hdr=0x00 [EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x1a318086 rev=0x04 hdr=0x01 [EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x02201014 chip=0x24828086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x02201014 chip=0x24848086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x02201014 chip=0x24878086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:30:0:class=0x060400 card=0x chip=0x24488086 rev=0x42 hdr=0x01 [EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x248c8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:1: class=0x01018a card=0x02201014 chip=0x248a8086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x02201014 chip=0x24838086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:5:class=0x040100 card=0x05081014 chip=0x24858086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:31:6:class=0x070300 card=0x051a1014 chip=0x24868086 rev=0x02 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x03 card=0x05171014 chip=0x4c571002 rev=0x00 hdr=0x00 [EMAIL PROTECTED]:0:0: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02 [EMAIL PROTECTED]:0:1: class=0x060700 card=0x05121014 chip=0xac55104c rev=0x01 hdr=0x02 [EMAIL PROTECTED]:2:0: class=0x028000 card=0x25138086 chip=0x38731260 rev=0x01 hdr=0x00 [EMAIL PROTECTED]:8:0: class=0x02 card=0x02091014 chip=0x10318086 rev=0x42 hdr=0x00 _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nVidia Quadro NVS 200
On Wednesday, 31 December 2003 15:19, Jay Sern Liew wrote: I couldn't find a comprehensive list of supported hardware in the handbook or in the release notes, hardware.txt file. I know nVidia provides FreeBSD drivers, but I can't seem to find anywhere on the FreeBSD WWW, mailinglist, freebsdforums.org, that says if the nVidia Quadro NVS 200 is supported. Anyone has got this dual head AGP card to work in FreeBSD? There's a readme in the NVIDIA provided driver that lists the following supported Quadro cards: o Quadro 0x0103 o Quadro2 MXR/EX/Go0x0113 o Quadro2 Pro 0x0153 o Quadro4 550 XGL 0x0178 o Quadro4 NVS 0x017A o Quadro4 500 GoGL 0x017C o Quadro4 580 XGL 0x0188 o Quadro4 280 NVS 0x018A o Quadro4 380 XGL 0x018B o Quadro DCC 0x0203 o Quadro4 900 XGL 0x0258 o Quadro4 750 XGL 0x0259 o Quadro4 700 XGL 0x025B o Quadro4 980 XGL 0x0288 o Quadro4 780 XGL 0x0289 o Quadro4 700 GoGL 0x028C o Quadro FX 2000 0x0308 o Quadro FX 1000 0x0309 o Quadro FX 5000x032B Thanks. No problem. Hope it was helpful. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with loading another pci driver for the same card
On Thu, 2004-01-01 at 03:09, Haidong Xia wrote: Hello, everyone, If the kernel already has a pci driver for a pci card, how could I load another loadable driver for the same card? You'll need to recompile your kernel without the driver, because you can't have two drivers attached to the same hardware device at a time. Then you may be able to load your driver. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2 RC2: Semi-deterministic gcc segfault during buildworld
On Thu, Jan 01, 2004 at 02:55:23AM +0100, Peter Schuller wrote: Hello, I had just installed a fresh 5.2 RC2 system and cvsup:ed the latest source (only 5-10 files changed; nothing related to this problem as far as I could see). I wanted to add Coda client support. so I created a GENERIC derivative configuration with Coda support added. I proceeded to compile as usual: make cleandir make cleandir make buildkernel KERNCONF=WHITESTAR However every time I do this I encounter the exact same problem: /usr/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_handle_scsiint': /usr/src/sys/dev/aic7xxx/aic79xx.c:1719: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 I had this exact problem. It was due to optimisation flag -O3 in my CFLAGS in make.conf (the handbook says to not use too much optimisation). I had no problems after I removed it. hth Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]