Re: installworld to directory other than "/"
On Thu, Jan 23, 2003 at 01:31:42AM +0300, Alexey Koptsevich wrote: > > Hello, > > I would like to make installworld to some directory other than "/", e.g., > to directory "/new", while the old system is working. The only way to do > that which I can think of is > - copy "/", /usr and /var to /new > - chroot /new > - make installworld from there > Is there more easy/elegant way? Simple: # make installworld DESTDIR=/new 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 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 22 Jan 2003 11:18:25 -0600 Dennis Moore <[EMAIL PROTECTED]> wrote: > On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote: > > Hello, > > > > I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins working >(java, plugger, and Shockwave). After upgrading via portupgrade (WITH_GTK2=yes), all >plugins except java loaded fine. The results are the same for both of my 4.7-STABLE >and 5.0-RELEASE computers. I tried symlinking (ln -sf), then just copying (cp). Same >results. I saw that other people were able to upgrade with no problems. What did I do >wrong or what do I need to do? > > > > This is the text output of when I loaded the 1.2.1: > > > > ___ > > > > www% mozilla > > No running window found. > > LoadPlugin: failed to initialize shared library >/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so >[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol >"gdk_input_add"] > > LoadPlugin: failed to initialize shared library >/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open >"/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so"] > > > > just a guess.. > > /xfer/ports/www/mozilla> cat pkg-message > ### > A symlink has been created for the Java plugin. However, in order for Java > to function, you must first install the java/jdk13 port. If you do not > do this, you will see the following error when starting Mozilla: > > LoadPlugin: failed to initialize shared library >/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open >"/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so"] > > If you do not want Java support, you can safely ignore this message. > ### > > -- > Dennis Moore I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at /www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the script is different, haven't tried that port yet). I removed the link to java plugin in mozilla, then the first error disappeared, but the second still existed. Then I removed the java plugin in the /usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins were loaded. At all times, mozilla loaded up just fine. After googling and finding minimal information (some websites are assuming that gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it without the gtk2 prefix, only then does the java plugin work fine. Same results on both 5.0 and 4.7 boxes. Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java plugin loaded up without problems? Any idea how I can install with gtk2 and java plugin working? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 2003-01-22 at 09:52, Aqua Daemon wrote: > On Wed, 22 Jan 2003 11:18:25 -0600 > Dennis Moore <[EMAIL PROTECTED]> wrote: > > > On Wed, Jan 22, 2003 at 08:41:47AM +, Aqua Daemon wrote: > > > Hello, > > > > > > I just upgraded Mozilla (1.1 to 1.2.1). In the 1.1, I had all the plugins >working (java, plugger, and Shockwave). After upgrading via portupgrade >(WITH_GTK2=yes), all plugins except java loaded fine. The results are the same for >both of my 4.7-STABLE and 5.0-RELEASE computers. I tried symlinking (ln -sf), then >just copying (cp). Same results. I saw that other people were able to upgrade with no >problems. What did I do wrong or what do I need to do? > > > > > > This is the text output of when I loaded the 1.2.1: > > > > > > ___ > > > > > > www% mozilla > > > No running window found. > > > LoadPlugin: failed to initialize shared library >/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so >[/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol >"gdk_input_add"] > > > LoadPlugin: failed to initialize shared library >/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so [Cannot open >"/usr/X11R6/lib/mozilla/plugins/libjavaplugin_oji.so"] > > > > > > > just a guess.. > > > > /xfer/ports/www/mozilla> cat pkg-message > > ### > > A symlink has been created for the Java plugin. However, in order for Java > > to function, you must first install the java/jdk13 port. If you do not > > do this, you will see the following error when starting Mozilla: > > > > LoadPlugin: failed to initialize shared library >/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open >"/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so"] > > > > If you do not want Java support, you can safely ignore this message. > > ### > > > > -- > > Dennis Moore > > I did install jdk13 port before installing/upgrading/reinstalling mozilla port (at >/www/mozilla (I included WITH_GTK2=yes), not at /www/mozilla-gtk2 (don't know if the >script is different, haven't tried that port yet). > > I removed the link to java plugin in mozilla, then the first error disappeared, but >the second still existed. Then I removed the java plugin in the >/usr/X11R6/lib/browser_plugins, then all the errors went away but no java plugins >were loaded. At all times, mozilla loaded up just fine. > > After googling and finding minimal information (some websites are assuming that >gdk_input_add has problems with gtk2), I deinstalled mozilla and reinstalled it >without the gtk2 prefix, only then does the java plugin work fine. Same results on >both 5.0 and 4.7 boxes. > > Has anyone installed /www/mozilla-gtk2 or /www/mozilla WITH_GTK2 have their java >plugin loaded up without problems? Any idea how I can install with gtk2 and java >plugin working? I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I didn't do anything special, I just built mozilla-gtk2, then build jdk13. Joe > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-gnome" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
In the last episode (Jan 22), Joe Marcus Clarke said: > I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I didn't > do anything special, I just built mozilla-gtk2, then build jdk13. I had the same problem, and building without WITH_GTK2 fixed java for me also. Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, but our port is only 1.0.5. I had WITH_GTK2 in /etc/make.conf and didn't use the mozilla-devel-gtk2 port. Removing WITH_GTK2 makes mozilla-devel build fine. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 2003-01-22 at 18:14, Dan Nelson wrote: > In the last episode (Jan 22), Joe Marcus Clarke said: > > I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I didn't > > do anything special, I just built mozilla-gtk2, then build jdk13. > > I had the same problem, and building without WITH_GTK2 fixed java for > me also. > > Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, but > our port is only 1.0.5. I had WITH_GTK2 in /etc/make.conf and didn't > use the mozilla-devel-gtk2 port. Removing WITH_GTK2 makes > mozilla-devel build fine. If you want mozilla-devel with GTK2 support, you should build mozilla-devel-gtk2. If you choose to enable Xft and GTK2, you will need to be running my GNOME 2.1 pre-release ports. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: 5.0-RELEASE and mount_msdos
On 2003-01-23 00:12, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > Strange. This has been changed a while ago: > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount_msdosfs/Makefile.diff?r1=1.17&r2=1.18 > > and the only mount_msdos binary that I have in my system is a rather > stale copy from Oct 9 2002 (boy, I need to clean up this installation > one of these days): > > giorgos@gothmog[00:11]/home/giorgos$ ls -lT /sbin/mount_msdos* > -r-xr-xr-x 1 root wheel - 183776 Oct 9 15:45:24 2002 /sbin/mount_msdos > -r-xr-xr-x 1 root wheel - 378172 Jan 22 18:47:00 2003 /sbin/mount_msdosfs Which was the date that I installed a 4.4-RELEASE copy and tried to upgrade using the source to 5.0-CURRENT. Sorry for forgetting to mention that. Reading the commit log reference above and the date of the binary someone could have thought that somehow mount_msdos was still there in Oct 19 2002 in the 5.X branch. It wasn't... To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
In the last episode (Jan 22), Joe Marcus Clarke said: > On Wed, 2003-01-22 at 18:14, Dan Nelson wrote: > > In the last episode (Jan 22), Joe Marcus Clarke said: > > > I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I > > > didn't do anything special, I just built mozilla-gtk2, then build > > > jdk13. > > > > I had the same problem, and building without WITH_GTK2 fixed java > > for me also. > > > > Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, > > but our port is only 1.0.5. I had WITH_GTK2 in /etc/make.conf and > > didn't use the mozilla-devel-gtk2 port. Removing WITH_GTK2 makes > > mozilla-devel build fine. > > If you want mozilla-devel with GTK2 support, you should build > mozilla-devel-gtk2. If you choose to enable Xft and GTK2, you will > need to be running my GNOME 2.1 pre-release ports. Right, but from my perspective, I tried to upgrade mozilla-devel from 1.2 to 1.3, and it failed. I care more about Xft2 than Gnome, and for a reason I have since forgotten, had WITH_GTK2=YES in /etc/make.conf. I had no reason to use the mozilla-devel-gtk2 port, and since it looks like it disables Xft, I didn't want to. Maybe the mozilla-devel Makefile should print a warning if it sees that the user has WITH_GTK2 set (at least until pango gets updated): .if defined(WITH_GTK2) && !defined(WITHOUT_XFT) BROKEN= mozilla-devel will not build with both GTK2 and Xft2 enabled. \ Either build without WITH_GTK2 or use the mozilla-devel-gtk2 \ port. .endif -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mozilla 1.2.1 and java
On Wed, 2003-01-22 at 18:52, Dan Nelson wrote: > In the last episode (Jan 22), Joe Marcus Clarke said: > > On Wed, 2003-01-22 at 18:14, Dan Nelson wrote: > > > In the last episode (Jan 22), Joe Marcus Clarke said: > > > > I have mozilla-gtk2 (1.2.1) working with JPI 1.3.1 at home. I > > > > didn't do anything special, I just built mozilla-gtk2, then build > > > > jdk13. > > > > > > I had the same problem, and building without WITH_GTK2 fixed java > > > for me also. > > > > > > Another issue: mozilla-devel with WITH_GTK2 requires pango-1.1.1, > > > but our port is only 1.0.5. I had WITH_GTK2 in /etc/make.conf and > > > didn't use the mozilla-devel-gtk2 port. Removing WITH_GTK2 makes > > > mozilla-devel build fine. > > > > If you want mozilla-devel with GTK2 support, you should build > > mozilla-devel-gtk2. If you choose to enable Xft and GTK2, you will > > need to be running my GNOME 2.1 pre-release ports. > > Right, but from my perspective, I tried to upgrade mozilla-devel from > 1.2 to 1.3, and it failed. I care more about Xft2 than Gnome, and for > a reason I have since forgotten, had WITH_GTK2=YES in /etc/make.conf. > I had no reason to use the mozilla-devel-gtk2 port, and since it looks > like it disables Xft, I didn't want to. > > Maybe the mozilla-devel Makefile should print a warning if it sees that > the user has WITH_GTK2 set (at least until pango gets updated): > > .if defined(WITH_GTK2) && !defined(WITHOUT_XFT) > BROKEN= mozilla-devel will not build with both GTK2 and Xft2 enabled. \ > Either build without WITH_GTK2 or use the mozilla-devel-gtk2 \ > port. > .endif Instead of printing an error, I just moved the WITHOUT_XFT to the mozilla-devel Makefile. This should take care of the problem. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
copy
hi, i am a network admin(new)here in Saint Columban College. and i like to use freebsd for my servers. where and how can i possibly grab a copy of the latest stable release aside from downloading. i am here in pagadian city, Philippines. i also wished to be one of the mirror sites of freebsd here in the Philippines. Respectfully yours, Francis Ted Aranas Seguerra Network Administrator I Saint Columban College __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: error during mysql323-server installation, how to configure hostname command.
On Thursday 23 January 2003 11:22, Mantas Kriauciunas wrote: > Sorry, the host 'mntkz' could not be looked up. > Please configure the 'hostname' command to return a correct hostname. > If you want to solve this at a later stage, restart this script with > the --force option The other option would be to do what it says, that is, configure your 'hostname' The hostname is what you set in your /etc/rc.conf file and is set at boot time, you can also reset your hostname as superuser, using the 'hostname' command. Mysql is probably wanting your hostname to be a hostname that can be resolved to an ip address. One way to do this is to edit your /etc/hosts file and enter something like: 192.168.0.10mntkz The reason I suggest that ip address is because 192.168.*.* is reserved for people with computers who dont have a _real_ ip address and hostname. Regards, Jacob Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
spam relay
All, I think this is more freebsd related than just sendmail, but please forgive if I'm wrong, I have a server with virtual hosts using freebsd 4.0 and sendmail 8.9.3 and find the server domain user mail flooded with messages , definitely spam messages, that appear to be relayed by "[EMAIL PROTECTED]" I put "[EMAIL PROTECTED] 550" in /etc/mail/access and did makemap, and this stops the emails. I'm not comfortable doing this even though it works because as you can see, I have a general idea what I want to do but, really dont know proper way to handle this. any advise would be great! thanks Jan Jan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problems with IPSec
On Fri, 3 Jan 2003, Scott Penno wrote: > Hi all, > > Wasn't sure where I should ask for help with this problem, so I'm starting > here. If there's a more appropriate place, please let me know. > > I have a FreeBSD box running -STABLE which has had IPSec working with other > hosts for quite some time without a problem. I've just setup another > FreeBSD box running 5.0-RC1 and am trying to establish a VPN tunnel but am > not getting too far. I'm using racoon and when attempting the negotiation > with debugging enabled, the following message appears: > 2003-01-20 12:00:23: ERROR: pfkey.c:207:pfkey_handler(): pfkey ADD failed: > Invalid argument > and the following message is logged via syslog: > Jan 20 12:00:23 atlas kernel: key_mature: invalid AH key length 160 (128-128 > allowed) > > The relevant section of racoon.conf which is identical on both boxes is: > sainfo anonymous > { > pfs_group 1; > lifetime time 86400 sec; > encryption_algorithm 3des ; > authentication_algorithm hmac_sha1 ; > compression_algorithm deflate ; > } > > The box running -STABLE has been working fine with this configuration so I'm > assuming the problem is with the box running 5.0-RC1. Interestingly, I've > also tried using des as the encryption algorithm and hmac_md5 as the > authentication algorithm and I receive the following error message: > racoon: failed to parse configuration file. > > If anyone has any suggestions for a fix, or how I go about further > diagnosing this problem, I'd love to hear from you. What's the result of setkey -PD on both boxes? Sanitize the addresses of the public IPs, but leave the private IPs as is. Dru To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: spam relay
www.sendmail.org could be a good starting point if you're using sendmail. I can't be more specific than that right now because I don't know what your target mail scheme is and I don't know if you want to stay with sendmail or try another mta such as exim or postfix. You might also want to look at ports/mail/rblcheck or somethign similar to help control who your server listens to. -- Ben W. Wednesday, January 22, 2003, 7:47:36 PM, you wrote: JV> All, JV> I think this is more freebsd related than just sendmail, but please forgive JV> if I'm wrong, JV> I have a server with virtual hosts using freebsd 4.0 and sendmail 8.9.3 JV> and find the server domain user mail flooded with messages , definitely JV> spam messages, JV> that appear to be relayed by "[EMAIL PROTECTED]" JV> I put "[EMAIL PROTECTED] 550" in /etc/mail/access and did makemap, JV> and this stops the emails. I'm not comfortable doing this even though it JV> works because as you can see, JV> I have a general idea what I want to do but, really dont know proper way to JV> handle this. JV> any advise would be great! JV> thanks JV> Jan JV> Jan JV> To Unsubscribe: send mail to [EMAIL PROTECTED] JV> with "unsubscribe freebsd-questions" in the body of the message -- Benmailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Upload question
Hi: Does anyone know how to upload the files from my windows os to the freebsd box.Just like the Zmodem. Thanks Shen Chao _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Upload question
You could enable ftp or (better from a security standpoint) use SecureCoPy (scp) part of ssh. A free win32 ssh you might like is putty. Wednesday, January 22, 2003, 8:21:42 PM, you wrote: sc> Hi: sc> Does anyone know how to upload the files from my windows os to the freebsd sc> box.Just like the Zmodem. sc> Thanks sc> Shen Chao sc> _ sc> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* sc> http://join.msn.com/?page=features/junkmail sc> To Unsubscribe: send mail to [EMAIL PROTECTED] sc> with "unsubscribe freebsd-questions" in the body of the message -- Benmailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: man -M
On Thursday, January 23, 2003, at 07:10 AM, Kenneth Tucker wrote: I neglected to mention that I installed mysql in /usr/local/mysql hmm, do you have the man directory in /usr/local/mysql? I installed mine not long after I got this box last year having got it from a link at Apple's Mac OS X resources pages and installing it the way it wanted to install itself. I find the environment is sufficiently different from something like FreeBSD for me to go with what the Apple folks think is the sensible place but I've had no problem installing things like stunnel in /usr/local/sbin and netpbm in /usr/local. I would try doing a find for one of the man files, e.g. mysqladmin.1 or mysqldump.1, if you find it you should have the path, if not, the man stuff is not installed. Cheers...John --- John Vender <[EMAIL PROTECTED]> wrote: On Thursday, January 23, 2003, at 06:03 AM, Kenneth Tucker wrote: I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken man -m /Library/MySQL/man mysql works here with my 10.1.5 Cheers...John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
IPFW question in 2.2.8 release?
Hi, I'm sorry to bother you all, but I have the following questions, I'm using freebsd 2.2.8 with custom gated daemon that supports QoSR, I was told to some tests with ipfw using dummynet "extension" all goes whell when after 5 or 6 minutes of test and I thing IPFW fails, if I do ipfw -a l I got this result: 00100 482 31538 pipe 1 tcp from any to any 00100 482 0 pipe 2 tcp from any to any 00100 84236 123463858 pipe 3 tcp from any to any 00100 83898 123450062 pipe 4 tcp from any 00100 794 31538 deny ip from any to any My guess is the firewall queues are full and it stops forwarding packets? I cannot upgrade the freebsd version on any off the machines :( can someone give me some hint on how to resolve this? I requested some help to Luigi Rizio but I still haven't received reply... This was the message I sen't him(with a more elaborated question, but still the same problem): I'm testing a QoS Routing prototype that we have implemented in Gated. I'm running five minutes test's, every five experiences of five minutes, I change parameters in our changed gated, without ipfw I've reached a pretty good solution. But my problem is when I use ipfw to simulate Wan effect's such as delay, bandwidth, loss, etc... Until this point I'm solving the problem with following sequence of events in my dummynet routers. stop gated; clear all in ipfw(including the pipes); construct the ipfw pipes, and then start gated again. my problem is that after 10 minutes of testing the queues get to full in ipfw and i stop communication between dummynet routers and my normal routers(that's what I thinnk is happening). Rx - means router x DRy - means dummynet router y On R1 and R5 I have 4 endpoint's attached each through a switch in each one, which I use to generate and receive the traffic for further study. / R2 - - - - DR1\ / \ / \ 4 Endp's - - - R1 - - - R3 - - - - DR2- R5 - - - - - 4 Endp's. \ / \/ \ R4 - - - - DR3 / I'm using the ipfw that comes with freebsd 2.2.8 , hosts are DR1 - Intel celeron 333 , 128 Mg, freebsd 2.2.8 , original gated 3.5.11 DR2 - Intel celeron 333 , 128 Mg, freebsd 2.2.8 , original gated 3.5.11 DR3 - Intel celeron 333 , 128 Mg, freebsd 2.2.8 , original gated 3.5.11 R1 - Intel celeron 466 , 128 Mg, freebsd 2.2.8 , changed gated 3.5.11 R2 - Intel celeron 466 , 128 Mg, freebsd 2.2.8 , changed gated 3.5.11 R3 - Intel celeron 466 , 128 Mg, freebsd 2.2.8 , changed gated 3.5.11 R4 - Intel celeron 466 , 128 Mg, freebsd 2.2.8 , changed gated 3.5.11 R5 - Intel celeron 466 , 128 Mg, freebsd 2.2.8 , changed gated 3.5.11 ipfw rules are simple: ipfw add pipe 1 ip from any to any via xl0 ipfw add pipe 2 ip from any to any ipfw pipe 1 config delay 30ms ipfw pipe 2 config delay 0ms where xl0 connection is between(DR1<->R5, DR2<->R5, DR3<->R5) this is an example output of of ipfw show, after the "failure": 00100 320097 475909018 pipe 1 ip from any to any via xl0 00200 319874 475892138 pipe 2 ip from any to any 65535 230 16756 deny ip from any to any I'm saying that the problem is in ipfw, cause I'm figuring that it's not working hat it's supposed too :( I'm trying to say that after a while it stops bridging packets from on interface to the other, or that it doesn't forward the packets after some amount of traffic going by. I think I'm using all the modules that I need, I read your documentation carefully and more than once, although I think that the documentation you have online is for a more recent freedbsd version(the option bridged only works in freebsd 4.0 or higher). Any help will be great, and once again sorry to bother you :( P.S. I'm generating traffic with netiq tool chariot. I have tools for checking the traffic in routers R1,R3,R4 and R5 I see traffic arriving/leaving on R1,R3,R4 but it doesn't reach R5. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: man -M
problem solved guy. as root: cp /usr/local/mysql/man/*.1 /usr/share/man1/. Thanks Ken On Wednesday, January 22, 2003, at 08:40 PM, John Vender wrote: On Thursday, January 23, 2003, at 07:10 AM, Kenneth Tucker wrote: I neglected to mention that I installed mysql in /usr/local/mysql hmm, do you have the man directory in /usr/local/mysql? I installed mine not long after I got this box last year having got it from a link at Apple's Mac OS X resources pages and installing it the way it wanted to install itself. I find the environment is sufficiently different from something like FreeBSD for me to go with what the Apple folks think is the sensible place but I've had no problem installing things like stunnel in /usr/local/sbin and netpbm in /usr/local. I would try doing a find for one of the man files, e.g. mysqladmin.1 or mysqldump.1, if you find it you should have the path, if not, the man stuff is not installed. Cheers...John --- John Vender <[EMAIL PROTECTED]> wrote: On Thursday, January 23, 2003, at 06:03 AM, Kenneth Tucker wrote: I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken man -m /Library/MySQL/man mysql works here with my 10.1.5 Cheers...John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: linker issue?
On Wed, Jan 22, 2003 at 03:48:20PM -0800, Mike Ruhl wrote: > Howdy, > > I am running 4.7-stable, and tring to run an application > (cross-elf-mips-gcc3.0-freebsd3.4/bin/gdb-mips) and I am getting this > error: > > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" > > This did work before I updated to 4.7. I did some kerputzing, and > have apperently messed something up. > > Anybody have any ideas on what I might have broken, and how I might > fix it? Read UPDATING. Kris msg16397/pgp0.pgp Description: PGP signature
Re: man -M
On Thursday, January 23, 2003, at 01:03 PM, Kenneth Tucker wrote: problem solved guy. as root: cp /usr/local/mysql/man/*.1 /usr/share/man1/. Thanks Ken Good to hear :) I work on a few web sites that use mysql databases and it has been incredibly handy to be able to run them on my Mac. Having *nix under the hood has been a godsend to me. Cheers...John On Wednesday, January 22, 2003, at 08:40 PM, John Vender wrote: On Thursday, January 23, 2003, at 07:10 AM, Kenneth Tucker wrote: I neglected to mention that I installed mysql in /usr/local/mysql hmm, do you have the man directory in /usr/local/mysql? I installed mine not long after I got this box last year having got it from a link at Apple's Mac OS X resources pages and installing it the way it wanted to install itself. I find the environment is sufficiently different from something like FreeBSD for me to go with what the Apple folks think is the sensible place but I've had no problem installing things like stunnel in /usr/local/sbin and netpbm in /usr/local. I would try doing a find for one of the man files, e.g. mysqladmin.1 or mysqldump.1, if you find it you should have the path, if not, the man stuff is not installed. Cheers...John --- John Vender <[EMAIL PROTECTED]> wrote: On Thursday, January 23, 2003, at 06:03 AM, Kenneth Tucker wrote: I have just installed mySQL on Darwin and I can't display the mySQl man pages. I have tried setting MANPATH, changing man.config and using man -M /usr/local/mysql/man mysql nothing seems to work. Any suggestions? Thanks Ken man -m /Library/MySQL/man mysql works here with my 10.1.5 Cheers...John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: IPFW question in 2.2.8 release?
>IPFW question in 2.2.8 release? Ouch! Dummynet was very new and probably best classed as "experimental" in 2.2.8, and even in most of the 3.x line it was a bit flakey. I'm not surprised you are having trouble with it and I'm also not surprised Luigi is unwilling or unable to debug obsolete code. 2.2.8 was EOL'd ages ago and you will be unlikely get any help from anyone without upgrading to a recent 4.x version. Greg. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
iostat - define Kilobits per transfer
Hi, can somebody give me a better understanding of what the iostat output is decribing in the KB/t column. It might be really simple but figured I';d ask, if in fact further clarification can be given. typhoon% iostat 1 tty da0 da1 acd0 tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in 0 21 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 0 1 0 do drive specifications generally contain KB/t information or statistics? I currently have an IDE drive that has the capacity to do 128KB/t and a SCSI drive 64KB/t. Are these stats in fact showing me that there is a limitation with the SCSI drive? Are my file transfering capaibilities less with the SCSI drive? I suppose what do I need to look for in the spcifications when choosing new drives so this does not happen again? - Noah To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: IPFW, blocking IM servers
On Tue, Jan 21, 2003 at 06:20:09PM -0600, Kirk Strauser said: > > I'm doing that now, however, I know the Yahoo client will use any open > > port it can find and tunnel through that. > > I hadn't been aware of that. Seems like rather un-neighborly behaviour. heh. not that they originated the idea, but the first I heard about every application using HTTP was maybe five years ago when it turned out that if you blocked AIM's normal ports, it would just start using HTTP over port 80. :-) c --- Chris Doherty chris [at] randomcamel.net "I think," said Christopher Robin, "that we ought to eat all our provisions now, so we won't have so much to carry." -- A. A. Milne --- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
checking for headers
Hi, I'm trying to get a "configure" program to check for dbh.h, but the following line only checks in /usr/include: AC_CHECK_HEADERS(dbh.h, ac_cv_dbh_library=yes, ac_cv_dbh_library=no) The generated configure in Linux searches both /usr/include and /usr/local/include, but not in FreeBSD. What do I have to add so that it will search /usr/local/include in FreeBSD? MTIA, Edscott Wilson Garcia To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: iostat - define Kilobits per transfer
> > > I currently have an IDE drive that has the capacity to do 128KB/t and > > a SCSI drive 64KB/t. Are these stats in fact showing me that there > > is a limitation with the SCSI drive? Are my file transfering > > capaibilities less with the SCSI drive? I suppose what do I need to > > look for in the spcifications when choosing new drives so this does > > not happen again? > > FreeBSD's SCSI layer has a cap of 64k per transaction (apparently > because ancient ISA adapters could not do more than 64k), and the ATA > layer has a cap of 128k. You won't see a difference using regular > disks. A 20MB/sec transfer rate comes out to ~300 64K > transactions/sec, which most systems should be able to handle with no > problems. so what exactly does KB per transaction mean? what happens if I am handling 300 concurrent users with 160Kbit encoded audio streams - could I in fact do this on this machine? or will I be limited by the 64KB/t issue? - Noah > > -- > Dan Nelson > [EMAIL PROTECTED] > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: copy
I guess you could buy a copy, or convince someone, like me, to send you one. My bigger question is "If you want to be a mirror, why don't you want to download it." Downloading it will likely be the quickest way to get the CD. Even at a pathetic 9600 baud connection you would be able to download the full CD1 before anything I ever sent you arrived, and if you wanted to be a mirror, you need much better than that for bandwidth anyway (a mirror who gets their updates from tape/cd/whatever isn't going to be of much use.) On Wed, 2003-01-22 at 19:17, francis seguerra wrote: > hi, > > i am a network admin(new)here in Saint Columban > College. and i like to use freebsd for my servers. > where and how can i possibly grab a copy of the latest > stable release aside from downloading. > > i am here in pagadian city, Philippines. > > i also wished to be one of the mirror sites of freebsd > here in the Philippines. -- David E. Cross To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Reboot...
In my experience, for numerous reasons, it is better to install Microsoft OS's first, then install FreeBSD (Microsoft has a nasty habit of doing what it wants without asking or notification to the boot record. That being said, I have no idea why win98 won't even boot to an install point. Are you booting from Floppy or CD, or something else? Will the machine correctly boot FreeBSD now (its possible that it isn't win98 that won't boot, nothing will.). Assuming you can boot FreeBSD, what errors are you getting trying to boot the win98 install (and what _exactly_ are you doing)? On Wed, 2003-01-22 at 14:32, Wuzhen Zhang wrote: > Dear Sir, > > My computer came with win98. I intalled FreeBSD on the > whole hard disk. I accidentally deleted my partition > table because I want to re-install FreeBSD and with > win98. I did sucessfully install FreeBSD in the second > part of the Hard Disk, yet when I tried to install > win98, My computer did not allow me to reboot with > win98 startup disk? Can you help me out? > > Sincerely, > > Wuzhen Zhang -- David E. Cross To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mobo has six USB ports but FreeBSD seams to only work withtwo, help please
Ok, I didn't read your dmesg output in detail.. but I suspect what you may be running into is that the other USB ports are "USB2.0" See: pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 9 Right in the middle of a bunch of other USB stuff? And again with: pci0: (vendor=0x8086, dev=0x2445) at 31.5 irq 9 at the end. Vendor 0x8086 is intel (cute eh?), and you are running an intel chipset (the other USB ports were intel). I don't know what either dev 0x2443 or 0x2445 is, but I bet it is a USB2 controller. (Note: Intel has a 82443 controller, but its device identifier is 0x71988). I have no idea what the state of USB2 support is at this point. On Wed, 2003-01-22 at 13:49, Oscar Ivan Lepe Aldama wrote: > Hi, > I have an Intel D815EEA2 mobo with six integrated USB ports. > FreeBSD seams to only work with two of them, those besides > the integrated NIC connector. I have done "/dev/MAKEDEV usb2" > but when I do "/usr/sbin/usbd -f /dev/usb2" I get a > "usbd: Could not open /dev/usb2, Device not configured" > I'm guessing that I need to config(8) the kernel for it to work with the rest > of the USB ports. In fact the usb(4) page mentions it but does not explains > how. I didn't find a hint on how to do this neither in LINT nor in config(8). > Any help would be appreciated. > > My dmesg is this: > > Copyright (c) 1992-2002 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.7-RELEASE #0: Wed Jan 8 16:54:48 PST 2003 > [EMAIL PROTECTED]:/usr/src/sys/compile/GENERICplusAGP > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium III/Pentium III Xeon/Celeron (1394.83-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 > > Features=0x383fbff CM OV,PAT,PSE36,MMX,FXSR,SSE> > real memory = 132907008 (129792K bytes) > avail memory = 124125184 (121216K bytes) > Preloaded elf kernel "kernel" at 0xc0516000. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 12 entries at 0xc00f2cd0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > agp0: mem > 0xffa8-0xffaf,0xf800 -0xfbff irq 11 at device 2.0 on pci0 > pcib1: at device 30.0 on pci0 > pci1: on pcib1 > fxp0: port 0xde80-0xdebf mem 0xff8fe000-0xff8fefff > irq 11 at device 8.0 on pci1 > fxp0: Ethernet address 00:03:47:e8:e8:58 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp1: port 0xdf00-0xdf3f mem > 0xff70-0xff7f ,0xff8ff000-0xff8f irq 11 at device 9.0 on pci1 > fxp1: Ethernet address 00:02:b3:3f:e4:e0 > inphy1: on miibus1 > inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0xffa0-0xffaf at device 31.1 on > pci 0 ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: port 0xef40-0xef5f irq > 11 at device 31.2 on pci0 > usb0: 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 > pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 9 > uhci1: port 0xef80-0xef9f irq > 10 at device 31.4 on pci0 > usb1: 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 > uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr 2 > device_probe_and_attach: uhub2 attach returned 6 > uhub2: Standard Microsystems product 0x0140, class 9/0, rev 1.10/0.00, addr 2 > device_probe_and_attach: uhub2 attach returned 6 > pci0: (vendor=0x8086, dev=0x2445) at 31.5 irq 9 > orm0: at iomem > 0xc-0xcbfff,0xcc000-0xccfff,0xcd000-0xce7ff,0xc e800-0xcf7ff on isa0 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model IntelliMouse, device ID 3 > vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ad0: 39266MB [79780/16/63] at ata0-master UDMA100 > acd0: CDROM at ata1-master PIO4 > Mounting root from ufs:/dev/ad0s1a > ugen0: WINBOND W9967CF, rev 1.10/1.10, addr 3 > > -- > = > = Oscar-Ivan Lepe-Aldama > = http://people.ac.upc.es/oscar > === -- David E. Cross To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body
Re: Building Linux binaries under FreeBSD/Linux layer
Yes, it can be done. It is done by a couple of the ports, and as such there is a pre-ported way of doing it. /usr/ports/devel/linux_devtools and linux_devtools-7 (depending which version of the linux_base you have). After that its mostly automatic. You may need to do things like get kernel-source, or other bits depending on what you are doing. On Wed, 2003-01-22 at 13:22, J. Seth Henry wrote: > I know this is probably going to be an odd question, but is there a way to > create true "linux" shell within FreeBSD, capable of running linux gcc and > creating a linux binary? > > I want to play with Midori Linux, which involves compiling a lot of Linux > source, for Linux. Dual booting is out of the question (my FreeBSD box > runs the home automation system). I suspect it *could* be done with a > carefully configured shell, and a bunch of Linux RPM's installed to > support gcc and the assorted libraries. > > Is this possible, and if so, has pulled a stunt like this? > > If not, how well does VMware run under FreeBSD, and can you ssh into the > virtual machine once it's up? > > Thanks, > Seth Henry -- David E. Cross To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: 5.0-RELEASE and mount_msdos
On Wed, Jan 22, 2003 at 04:52:16PM -0500, Doug Reynolds wrote: > On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote: > > >Not a critical question, but ... > > > >Working on my spiffy test machine, I noticed that 5.0-RELEASE does > >not have a mount_msdos command. > >It's no biggie, I just used 'mount -t msdos' and got what I wanted, > >but I was wondering why this was missing? Is there a reason why > >it was removed, or is it some oversight? I doubt it's an oversight, > >as the man page is missing as well. > > > >Mostly curious, but I thought I'd point it out in case it was a > >mistake. > > afaik: > > [root@/usr/bin]>uname -a > FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20 > 20:21:37 EST 2003 > > [root@/usr/bin]>mount_msdos > usage: mount_msdos [-o options] [-u user] [-g group] [-m mask] >[-s] [-l] [-9] [-L locale] [-W table] bdev dir > > and man mount_msdos brings up the manpage. You have stale binaries lying around. > which mount_msdos mount_msdos: Command not found. > which mount_msdosfs /sbin/mount_msdosfs The mount_* utilities were renamed to be named consistently. Kris msg16408/pgp0.pgp Description: PGP signature
4.7->5.0, ran out of space on /
I just ran into a problem trying to install the 5.0 world. I thought I checked and had 30M free on / before I started this. However, after building, the world, building the kernel, installing the kernel, running mergemaster -p, I went to install the world and got the error 'out of space on /' I need to find some room, but I'm a little nervous about what I can rm. Here is what I'm looking at: 1) / partition is 79M, 64M are used (I was almost sure there was more room than that on / before I satarted). 2) /tmp is on it's own partition 3) du -h on subdirectories breakdown like this. a. 18M /boot b. 1.4M /etc c. 3.7M /kernel d. 3.9M /kern.GENERIC e. 6M /modules f. 21M /sbin g. 2.1M /stand as you can see that pretty much accounts for it. The rest of the stuff is pretty small. I need to know if I can delete any of this stuff and still successfully do a 'make installworld'? Thanks, Kirk Ps... sorry about cross posting (I wasn't sure if 5-release qualified for the stable list) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: 4.7->5.0, ran out of space on /
On Wed, 22 Jan 2003, Kirk R. Wythers wrote: > I just ran into a problem trying to install the 5.0 world. I thought I > checked and had 30M free on / before I started this. However, after > building, the world, building the kernel, installing the kernel, running > mergemaster -p, I went to install the world and got the error 'out of > space on /' > > I need to find some room, but I'm a little nervous about what I can rm. > Here is what I'm looking at: > > 1) / partition is 79M, 64M are used (I was almost sure there was > more room than that on / before I satarted). > 2) /tmp is on it's own partition > 3) du -h on subdirectories breakdown like this. > a. 18M /boot > b. 1.4M /etc > c. 3.7M /kernel > d. 3.9M /kern.GENERIC > e. 6M /modules > f. 21M /sbin > g. 2.1M /stand > > as you can see that pretty much accounts for it. The rest of the stuff > is pretty small. > > I need to know if I can delete any of this stuff and still successfully > do a 'make installworld'? > > Thanks, > > Kirk > > Ps... sorry about cross posting (I wasn't sure if 5-release qualified > for the stable list) /boot is something you need to keep since the kernel and the kernel modules have all been moved to /boot in 5.0 /etc should stay too /kernel /kernel.GENERIC /modules can all be deleted since these are now in /boot /sbin /stand should stay Cheers, Vince - [EMAIL PROTECTED] - Vice President __ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: iostat - define Kilobits per transfer
In the last episode (Jan 22), Noah Garrett Wallach said: > can somebody give me a better understanding of what the iostat output > is decribing in the KB/t column. It might be really simple but > figured I';d ask, if in fact further clarification can be given. > > typhoon% iostat 1 > tty da0 da1 acd0 > tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in >0 21 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 1 0 1 0 > > do drive specifications generally contain KB/t information or statistics? When there is disk activity, yes. Try running a couple du's or extract a couple ports, then run iostat in another window. > I currently have an IDE drive that has the capacity to do 128KB/t and > a SCSI drive 64KB/t. Are these stats in fact showing me that there > is a limitation with the SCSI drive? Are my file transfering > capaibilities less with the SCSI drive? I suppose what do I need to > look for in the spcifications when choosing new drives so this does > not happen again? FreeBSD's SCSI layer has a cap of 64k per transaction (apparently because ancient ISA adapters could not do more than 64k), and the ATA layer has a cap of 128k. You won't see a difference using regular disks. A 20MB/sec transfer rate comes out to ~300 64K transactions/sec, which most systems should be able to handle with no problems. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
kernel panic problems with hard drive is respect to being on ad0 or ad2
I been having a odd problem. I have one hard drive I use for a acrhive. I currently have it on ad0, but if I move it ad2 I get a kernel panic at the first big transfer from one disk to another, but the drive works perfectly when on ad0. Any one know what may be causing this and if it may be a problem with any future disks put there? The board being used in the machine is a rocky-3702EV. fortytwo# df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad1s1a128990 110460 821293%/ /dev/ad1s1f257998 4516 232844 2%/tmp /dev/ad1s1g 37193996 5992376 2822610218%/usr /dev/ad1s1e25799831930 20543013%/var /dev/ad0s1e 77573199 62506810 886053488%/usr/arc procfs 440 100%/proc linprocfs 440 100%/usr/compat/linux/proc fortytwo# dmesg Copyright (c) 1992-2002 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.7-RELEASE #0: Wed Dec 4 20:42:45 CST 2002 root@fortytwo:/usr/src/sys/compile/HV5 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183f9ff real memory = 335544320 (327680K bytes) avail memory = 321650688 (314112K bytes) Preloaded elf kernel "kernel" at 0xc045f000. VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc00c0b8b (cb8b) VESA: S3 Incorporated. 86C362 Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00f7fa0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: irq 0 at device 7.2 on pci0 uhci0: Could not map ports device_probe_and_attach: uhci0 attach returned 6 intpm0: port 0x540-0x54f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 540 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 500 rl0: port 0xde00-0xdeff mem 0xef00-0xefff irq 10 at device 16.0 on pci0 rl0: Ethernet address: 00:e0:4c:50:02:c1 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: at iomem 0xc-0xc7fff on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold aha0 at port 0x330-0x333 irq 11 drq 5 on isa0 aha0: AHA-1542CF FW Rev. F.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sb_reset_dsp failed sb_reset_dsp failed sbc0: at port 0x220-0x22f,0x300-0x301,0x388-0x38b irq 5 drq 0,6 on isa0 pcm0: on sbc0 unknown: can't assign resources pcic2: at port 0x3e0-0x3e1 on isa0 pcic2: Polling mode pccard0: on pcic2 pccard1: on pcic2 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, unlimited logg ing IPsec: Initialized Security Association Processing. ad0: 78167MB [158816/16/63] at ata0-master UDMA33 ad1: 38166MB [77545/16/63] at ata0-slave UDMA33 Waiting 15 seconds for SCSI devices to settle pccard: card inserted, slot 0 Mounting root from ufs:/dev/ad1s1a cd0 at aha0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [256800 x 2048 byte records] cd2 at aha0 bus 0 target 2 lun 0 cd2: Removable CD-ROM SCSI-2 device cd2: 3.300MB/s transfers cd2: cd present [301450 x 2048 byte records] cd3 at aha0 bus 0 target 3 lun 0 cd3: Removable CD-ROM SCSI-2 device cd3: 3.300MB/s transfers cd3: cd present [200342 x 2048 byte records] cd1 at aha0 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 3.300MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present rl0: promiscuous mode enabled To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: iostat - define Kilobits per transfer
> > > I currently have an IDE drive that has the capacity to do 128KB/t and > > > a SCSI drive 64KB/t. Are these stats in fact showing me that there > > > is a limitation with the SCSI drive? Are my file transfering > > > capaibilities less with the SCSI drive? I suppose what do I need to > > > look for in the spcifications when choosing new drives so this does > > > not happen again? > > > > FreeBSD's SCSI layer has a cap of 64k per transaction (apparently > > because ancient ISA adapters could not do more than 64k), and the ATA > > layer has a cap of 128k. You won't see a difference using regular > > disks. A 20MB/sec transfer rate comes out to ~300 64K > > transactions/sec, which most systems should be able to handle with no > > problems. > > > so what exactly does KB per transaction mean? what happens if I am > handling 300 concurrent users with 160Kbit encoded audio streams - could I > in fact do this on this machine? or will I be limited by the 64KB/t > issue? > 300 x 160Kbit = approx. 46Mbit/sec. A new-ish SCSI drive should be able to easily pump out in excess of 200 Mbit/sec. Your bottleneck will be your ethernet adapter long before your local storage. Unless your app is designed very poorly. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
recover overwritten file
hi i just overwrote a critical file, can anyone andvise me on how to recover it? thankyou <--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: recover overwritten file
On Wed, Jan 22, 2003 at 11:16:08PM -0500, george donnelly wrote: > hi > > i just overwrote a critical file, can anyone andvise me on how to recover > it? You're basically screwed. Kris msg16415/pgp0.pgp Description: PGP signature
Re: recover overwritten file
On Thu, 2003-01-23 at 14:16, george donnelly wrote: > hi > > i just overwrote a critical file, can anyone andvise me on how to recover > it? > > thankyou > Restore it from backup. If you don't have a backup, then you just learnt a very important lesson. I don't believe there is any way to recover an overwritten file. -- The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Dark Blue Sea does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Dark Blue Sea. Dark Blue Sea does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problems with IPSec
Hi there, The output of setkey -PD is as follows: On the 5.0-RC1 host: atlas# setkey -PD 192.168.40.0/24[any] 192.168.2.0/24[any] any in ipsec esp/tunnel/a.b.c.d-w.x.y.z/unique#16386 spid=14 seq=1 pid=7720 refcnt=1 192.168.2.0/24[any] 192.168.40.0/24[any] any out ipsec esp/tunnel/w.x.y.z-a.b.c.d/unique#16385 spid=13 seq=0 pid=7720 refcnt=1 And on the -STABLE host: mercury# setkey -PD 192.168.2.0/24[any] 192.168.40.0/24[any] any in ipsec esp/tunnel/w.x.y.z-a.b.c.d/unique#16390 spid=14 seq=2 pid=20242 refcnt=1 192.168.40.0/24[any] 192.168.2.0/24[any] any out ipsec esp/tunnel/a.b.c.d-w.x.y.z/unique#16389 spid=13 seq=0 pid=20242 refcnt=1 Below is the debug output on both hosts. Interestingly, both hosts indicate that the IPSec SA is established but everything falls apart when pfkey sends the add message. On the 5.0-RC1 host: 2003-01-23 14:57:18: DEBUG: isakmp.c:2245:isakmp_printpacket(): begin. 57:18.390133 a.b.c.d:500 -> w.x.y.z:500: isakmp 1.0 msgid 098b554f cookie f35babe69ec702d4->69c1401fbb220e73: phase 2/others ? oakley-quick[E]: [|hash] 2003-01-23 14:57:18: DEBUG: oakley.c:2619:oakley_do_decrypt(): begin decryption. 2003-01-23 14:57:18: DEBUG: algorithm.c:382:alg_oakley_encdef(): encription(3des) 2003-01-23 14:57:18: DEBUG: oakley.c:2633:oakley_do_decrypt(): IV was saved for next processing: 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 520a8fcc feb7ce57 2003-01-23 14:57:18: DEBUG: algorithm.c:382:alg_oakley_encdef(): encription(3des) 2003-01-23 14:57:18: DEBUG: oakley.c:2658:oakley_do_decrypt(): with key: 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): a7447cba 77fa15bd bacfdc4b 984e19ff 54a63f68 b054e7ed 2003-01-23 14:57:18: DEBUG: oakley.c:2666:oakley_do_decrypt(): decrypted payload by IV: 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 520a8fcc feb7ce57 2003-01-23 14:57:18: DEBUG: oakley.c:2669:oakley_do_decrypt(): decrypted payload, but not trimed. 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 0018 d00d9ce1 f536f9b8 d5238936 753da903 36981eed 0008 2003-01-23 14:57:18: DEBUG: oakley.c:2678:oakley_do_decrypt(): padding len=8 2003-01-23 14:57:18: DEBUG: oakley.c:2692:oakley_do_decrypt(): skip to trim padding. 2003-01-23 14:57:18: DEBUG: oakley.c:2707:oakley_do_decrypt(): decrypted. 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): f35babe6 9ec702d4 69c1401f bb220e73 08102001 098b554f 003c 0018 d00d9ce1 f536f9b8 d5238936 753da903 36981eed 0008 2003-01-23 14:57:18: DEBUG: isakmp.c:2245:isakmp_printpacket(): begin. 57:18.391998 a.b.c.d:500 -> w.x.y.z:500: isakmp 1.0 msgid 098b554f cookie f35babe69ec702d4->69c1401fbb220e73: phase 2/others ? oakley-quick: (hash: len=20) 2003-01-23 14:57:18: DEBUG: isakmp.c:1109:isakmp_parsewoh(): begin. 2003-01-23 14:57:18: DEBUG: isakmp.c:1136:isakmp_parsewoh(): seen nptype=8(hash) 2003-01-23 14:57:18: DEBUG: isakmp.c:1175:isakmp_parsewoh(): succeed. 2003-01-23 14:57:18: DEBUG: isakmp_quick.c:1428:quick_r3recv(): HASH(3) validate:2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): d00d9ce1 f536f9b8 d5238936 753da903 36981eed 2003-01-23 14:57:18: DEBUG: oakley.c:689:oakley_compute_hash3(): HASH with: 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 00098b55 4f983c7d c8c3231f 03b4fe3d 30d773fa b1dcb571 d43faad5 505707b5 78e247c4 c2 2003-01-23 14:57:18: DEBUG: algorithm.c:322:alg_oakley_hmacdef(): hmac(hmac_sha1) 2003-01-23 14:57:18: DEBUG: oakley.c:699:oakley_compute_hash3(): HASH computed: 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): d00d9ce1 f536f9b8 d5238936 753da903 36981eed 2003-01-23 14:57:18: DEBUG: isakmp.c:733:quick_main(): === 2003-01-23 14:57:18: DEBUG: oakley.c:207:oakley_dh_compute(): compute DH's shared. 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 10bcd096 5ee29182 519424ae ce6b5972 b4eb62c0 bf994198 c44ceb59 5e3c938e c340c8f8 a90306cd f2e1700f 3f24c96e 0f547d5e e2da39e3 f0a5d812 fe4b3a52 5227db6e 243899e1 0d8e6940 f2bedc21 034bbd39 2107f23d 79a453b9 d14cfd13 2003-01-23 14:57:18: DEBUG: oakley.c:461:oakley_compute_keymat_x(): KEYMAT compute with 2003-01-23 14:57:18: DEBUG: plog.c:193:plogdump(): 10bcd096 5ee29182 519424ae ce6b5972 b4eb62c0 bf994198 c44ceb59 5e3c938e c340c8f8 a90306cd f2e1700f 3f24c96e 0f547d5e e2da39e3 f0a5d812 fe4b3a52 5227db6e 243899e1 0d8e6940 f2bedc21 034bbd39 2107f23d 79a453b9 d14cfd13 0305db09 a5983c7d c8c3231f 03b4fe3d 30d773fa b1dcb571 d43faad5 505707b5 78e247c4 c2 2003-01-23 14:57:18: DEBUG: algorithm.c:322:alg_oakley_hmacdef(): hmac(hmac_sha1) 2003-01-23 14:57:18: DEBUG: algorithm.c:509:alg_ipsec_encdef(): encription(3des) 2003-01-23 14:57:18: DEBUG: algorithm.c:552:alg_ipsec_hmacdef(): hmac(hmac_sha1) 2003-01-23 14:57:18: DEBUG: oakley.c:494:oakley_compute_keymat_x(): encklen=192 authklen=160 2003-01-23 14:57:18: DEBUG: oakley.c:501:oakley_compute_keymat_x(): generating 640 bits of key (dupkeymat=4) 2003-01-23 14:57:18: DEBUG
Kernel Panic : Fatal trap 12: page fault while in kernel mode
Not sure who to send this to. I'm fairly new to FreeBSD. I was running this in Virtual PC v5.1 evalulation and FreeBSD panicrd when I resumed from a pause in the Virtual PC menu. Let me know if there is any information I can provide. -Nick uname -a FreeBSD freebsd.home.net 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:5 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x74 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02dd3bc stack pointer = 0x10:0xc86c3c78 frame pointer = 0x10:0xc86c3c94 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, IOPL = 0 current process = 20 (irq14: ata0) trap number = 12 panic: page fault To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problems with IPSec
Thanks for the suggestion. I'm fairly sure that in the cases of DES, 3DES, MD5 and SHA1, the keylength is fixed. In any case, when I tried this, racoon failed while parsing the configuration complaining that a key length was not allowed. Scott. - Original Message - From: "Daxbert" <[EMAIL PROTECTED]> To: "Scott Penno" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 11:12 AM Subject: Re: Problems with IPSec > I have a FreeBSD box running -STABLE which has had IPSec working with other > hosts for quite some time without a problem. I've just setup another > FreeBSD box running 5.0-RC1 and am trying to establish a VPN tunnel but am > not getting too far. I'm using racoon and when attempting the negotiation > with debugging enabled, the following message appears: > 2003-01-20 12:00:23: ERROR: pfkey.c:207:pfkey_handler(): pfkey ADD failed: > Invalid argument > and the following message is logged via syslog: > Jan 20 12:00:23 atlas kernel: key_mature: invalid AH key length 160 (128-128 > allowed) > > The relevant section of racoon.conf which is identical on both boxes is: > sainfo anonymous > { > pfs_group 1; > lifetime time 86400 sec; > encryption_algorithm 3des ; > authentication_algorithm hmac_sha1 ; > compression_algorithm deflate ; > } > > The box running -STABLE has been working fine with this configuration so I'm > assuming the problem is with the box running 5.0-RC1. Interestingly, I've > also tried using des as the encryption algorithm and hmac_md5 as the > authentication algorithm and I receive the following error message: > racoon: failed to parse configuration file. > > If anyone has any suggestions for a fix, or how I go about further > diagnosing this problem, I'd love to hear from you. > > Regards, > > Scott. > It looks like the AH key length needs to be forced to 128 bits??? From: http://www.qnx.com/developer/docs/momentics_nc_docs/neutrino/utilities/r/rac oon.conf.html "For algorithms that can take variable-length keys, algorithm names can be followed by a key length, like blowfish 448." Have you tried something along the lines of '3des 128' ? Just a guess. -Daxbert To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: newbie mail help
- Original Message - From: "Giorgos Keramidas" <[EMAIL PROTECTED]> To: "Gary Schenk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 4:53 AM Subject: Re: newbie mail help First, thanks to Mike, Giorgos, Scott and others for trying to help. > On 2003-01-20 16:32, Gary Schenk <[EMAIL PROTECTED]> wrote: > > I am attempting to use Pine with fetchmail and sendmail over a cable > > modem to my ISP. > > > > There is some basic setting that I am unaware of. I now can send > > mail and newsgroup messages out over the internet, but the return > > address is incorrect. It uses my pc account login ID, gschenk, as > > the left side of my address instead of my ISP account name of > > gwschenk. Where is this configured? It doesn't seem to be setup in > > .pinerc or .fetchmailrc. Is it in sendmail somewhere? > > You should add (or mofidy appropriately) the following to your > .pinerc file: > > feature-list=allow-changing-from > default-composer-hdrs=From: Giorgos Keramidas <[EMAIL PROTECTED]>, > To:, > Cc:, > Bcc:, > Attchmnt:, > Subject: > Did that. When I send test mail Pine still gives the wrong return address. > The allow-changing-from feature allows editing of the From: header for > all outgoing messages when enabled, and the default-composer-hdrs sets > some of the headers for your outgoing messages to reasonable defaults. > > > How do I know I have a port 25? > > How do I know it is listening at port 25? > > Use sockstat(1). > > $ sockstat -l4 | grep :25 > root sendmail 445 4 tcp4 *:25 *:* Yes, sendamil is listening on port 25. Mike has suggested that Pine does not need fetchmail. That makes sense. In the Pine man pages it says c-client is used to access mail severs. I cannot find help for c-client. Nor do I find a place to tell Pine about my ISP's pop3 server. In chapter 25 of FreeBSD Unleashed it states that fetchmail is needed for mutt and Pine. I chose to install Pine because I believed it to be a beginner's program. I tried to setup Balsa, and no matter what I place in the settings preferences I can't get it to work either. It seems a simple problem. I have mail on my ISP's pop3 server. I want to retrieve it and read it. "Get this there and bring it here". It seems simple, but how do I tell FreeBSD to do this? This is incredibly frustrating. Not just for me, I've gotten email from another beginner who can't get his mail to work either. Perhaps this is a question for the documentation project? Gary To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: recover overwritten file
On Thursday 23 January 2003 15:16, george donnelly wrote: > i just overwrote a critical file, can anyone andvise me on how to recover > it? The only way i could forsee you doing this is paying an extrordinate amount of money to a professional data retrieval company which (may) be able to retrieve it. Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
FreeBSD 5.0-RELEASE & disabling ssh access
Heya! ermmm... I just Installed 5.0-RELEASE two days ago and i have a question about adduser. i am using adduser to add users. on my 4.5 machine i was able to choose, to let users use ssh access or don't let them use by adding shell: no , what i found in 5.0 that there is no such choise, only this: Shell (sh csh tcsh bash) [sh]: /sbin/nologin adduser: ERROR: Invalid shell selection. Using default shell /bin/sh. so how to disable ssh access for the user? i looked in /etc/passwd , some accounts have /sbin/nologin but i wasn't able to do old stile like 4.5 used to let me do. so how should i fix this one? Thanks for your replies! mNTkz To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: iostat - define Kilobits per transfer
On Wed, 22 Jan 2003, Dax Eckenberg wrote: > > > > > > so what exactly does KB per transaction mean? what happens if I am > > handling 300 concurrent users with 160Kbit encoded audio streams - could I > > in fact do this on this machine? or will I be limited by the 64KB/t > > issue? > > > > 300 x 160Kbit = approx. 46Mbit/sec. > A new-ish SCSI drive should be able to easily pump out in excess of 200 Mbit/sec. > Your bottleneck will be your ethernet adapter long before your local storage. > Unless your app is designed very poorly. > okay things are getting clearer over here. what exactly does KB per transaction mean? I dont understand what this describes? - Noah To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
back up Win2k workstations?
Hi, I am looking for a concept to back up some Win2k workstations on a FreeBSD machine. Can this be done and how? Thanks, Uli. *---* *Peter Ulrich Kruppa* * - Wuppertal - * * Germany * *---* To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: recover overwritten file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Anker wrote: | On Thu, 2003-01-23 at 14:16, george donnelly wrote: | |>hi |> |>i just overwrote a critical file, can anyone andvise me on how to recover |>it? |> |>thankyou - - Iv been there :) This probably sounds stupid but i do it ... file name /bin/rmx #/bin/sh cp $1 /tmp/`$1` rm -r $1 I call it the recycle bin LoL -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) Comment: Signed By Talon With GnuPG iD8DBQE+L3QUyoJQBYFw6XARAn2+AJ0X1AHTdu9grsKN9WUIkepdJVKaIgCgtWMm 8eGOLFGhd4bJ7Csp4zu4uoY= =+uxx -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: back up Win2k workstations?
On Thu, Jan 23, 2003 at 05:41:07AM +, P. U. Kruppa wrote: > Hi, > > I am looking for a concept to back up some Win2k workstations on > a FreeBSD machine. Can this be done and how? > Make a "share" for the disk(s) you want to backup, then use mount_smbfs to get at the data. You may not be successful backing up files in use, not sure, but speculating. This would prevent successful backup of registry and security/user databases. I'm almost certain you couldn't restore onto a MS filesystem on top of files in use, so that would make restoring problematic. A safe concept would be backup data files (as opposed to system files) not in use with tar. HTH, -- Regards, Doug To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: back up Win2k workstations?
On Thu, 23 Jan 2003, P. U. Kruppa wrote: > Hi, > > I am looking for a concept to back up some Win2k workstations on > a FreeBSD machine. Can this be done and how? Can it be done: Yes. The software you'll want to look into is a combination of amanda (www.amanda.org) and samba (www.samba.org). From the amanda homepage: "AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator of a LAN to set up a single master backup server to back up multiple hosts to a single large capacity tape drive. AMANDA uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix. Recent versions can also use SAMBA to back up Microsoft Windows 95/NT hosts" The amanda servers and clients are in the ports ( /usr/ports/misc/amanda-client and /usr/ports/misc/amanda-server) as is samba (/usr/ports/net/samba). How: is slightly more complicated, but a decent description seems to be available at: http://www.coe.tamu.edu/cs/amanda/SAMBA - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
5.0-Won't see second cd-rom / acd1
Hello, Installed 5.0 Release from cdrom, installation / everything is working fine, except it won't see my second cd-rom drive: /dev/acd1 I believe I installed FreeBSD from the acd1 drive [not sure], but anyways I have this in /etc/fstab: /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 That was put there automagically. I am able to mount the acd0, but for acd1: # mount /cdrom1 cd9660: /dev/acd1: No such file or directory # #ls /dev/ | grep acd acd0 acd0a acd0c acd0 = DVD acd1=Lite-On-LTR CD-RW, which is detected in bios startup. dmesg: $ dmesg|grep acd acd0: DVD-ROM at ata1-master PIO4 .any suggestions ? hints ? -- In Tulsa, Oklahoma, it is against the law to open a soda bottle without the supervision of a licensed engineer. ---FreeBSD The Power To Serve--- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Maildirs and their filesystem overhead/impact
I'm currently facing a problem of having used Netscape (now Mozilla) for years in Windows and now trying to find something I can regularly use in FreeBSD without losing Mozilla in Windows. I was thinking of something involving IMAP and NFS. I already have Courier-IMAP running, so I can use IMAP with Mozilla in Windows, and use either IMAP or NFS-mount my Maildir in FreeBSD. That part is almost a no-brainer. Moving my Mozilla mail store poses a number of technical questions and problems. I have more than 32,000 emails saved up in 200 folders. Some folders, like the one for the postfix-users list, can have 3000-4000 messages in them. For growth, we'll say 5000 messages. How well would FreeBSD, Courier-IMAP, and postfix be able to handle a directory with 5000 files in it? How about a directory with 200 subdirectories in it? I know that the parameters given to newfs can greatly impact the suitablility of a filesystem for a given task. How do I get that information from an existing filesystem? Dumpfs? Dumpfs spews HUGE amounts of information, but I don't know enough to make sense of the output. I really would like to stick with Maildirs and Courier-IMAP for this. I know CIMAP well and is very fast and stable. However, if these demands are just too much to expect, then can someone please tell me where I can find Cyrus for Dummies? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: newbie mail help
On Wed, 22 Jan 2003, Gary Schenk wrote: > > Mike has suggested that Pine does not need fetchmail. That makes sense. In > the Pine man pages it says c-client is used to access mail severs. I cannot > find help for c-client. Nor do I find a place to tell Pine about my ISP's > pop3 server. In chapter 25 of FreeBSD Unleashed it states that fetchmail is > needed for mutt and Pine. > > I chose to install Pine because I believed it to be a beginner's program. I > tried to setup Balsa, and no matter what I place in the settings preferences > I can't get it to work either. It seems a simple problem. I have mail on my > ISP's pop3 server. I want to retrieve it and read it. "Get this there and > bring it here". It seems simple, but how do I tell FreeBSD to do this? > > This is incredibly frustrating. Not just for me, I've gotten email from > another beginner who can't get his mail to work either. Perhaps this is a > question for the documentation project? > > Gary > I've used lots of email clients and Pine is my favorite. However, I had the same problem you are. First I solved it by setting up postfix to do it for me (fix the return address). Then I found I could specify the headers in the pine configuration. Go to the setup section of pine (while it's running) and setup up headers as I did: customized-hdrs = Reply-To: John Bleichert <[EMAIL PROTECTED]> From: John Bleichert <[EMAIL PROTECTED]> That should clear it up. As I said earlier in this email chain, to just plain old 'get going' with email in Unix it's best to use e.g. Netscape or Mozilla mail or kmail as they work like the usual email clients. Most other Unix clients rely on the system mail to function properly which can make them tuff to set up if say your username on the box doesnt match that at your ISP. Hope that helps. I don't know balsa, never used it, but in my first several years in Linux/BSD I clung to my Netscape email like a liferaft :) JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: checking for headers
In the last episode (Jan 22), edscott wilson garcia said: > I'm trying to get a "configure" program to check for dbh.h, but the > following line only checks in /usr/include: > > AC_CHECK_HEADERS(dbh.h, ac_cv_dbh_library=yes, ac_cv_dbh_library=no) > > The generated configure in Linux searches both /usr/include and > /usr/local/include, but not in FreeBSD. What do I have to add so that > it will search /usr/local/include in FreeBSD? You are usually better off simply telling your users to add required include and lib paths to CPPFLAGS and LDFLAGS. You can manually add paths by appending to CPPFLAGS at the top of your configure.in, but gcc will complain if you add a directory that's already in the system's path, and you risk not including common locations on other systems (lots of Solaris stuff installs in /opt, for example). There is no simple autoconf command for "add this include path if it exists and the compiler doesn't complain". I have attached the autoconf code that the Pike configure script uses; it will detect most common include and lib paths. It probably won't work on its own, but it's an example of how complicated it is when done right. -- Dan Nelson [EMAIL PROTECTED] # ## Search for some popular places where libraries may be hidden. # if test x$"pike_cv_sys_os" != xWindows_NT ; then echo Searching for include-file directories... #Don't add include dirs if they give us warnings... OLD_ac_c_preproc_warn_flag="$ac_c_preproc_warn_flag" ac_c_preproc_warn_flag=yes if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then real_include_dirs='' for d in `echo ${with_include_path} | sed 's/:/ /g'` \ `echo "${with_site_prefixes}/include"|sed -e 's/:/\/include /g'` \ `echo $prefix | sed "s@^NONE@$with_root$ac_default_prefix@g"`/include \ $with_root/usr/local/include $with_root/sw/local/include \ $with_root/usr/gnu/include $with_root/opt/gnu/include \ $with_root/sw/gnu/include $with_root/sw/include \ $with_root/usr/freeware/include $with_root/usr/pkg/include \ $with_root/opt/sfw/include \ `echo $with_root/opt/gnome*/include | sort -r` \ `echo $with_root/usr/X11*/include | sort -r` do AC_MSG_CHECKING($d) case x$d in x/usr/include | x/usr//include) ;; *) if test -d "$d/." ; then REALDIR="`cd $d/. ; /bin/pwd`" if test "x$REALDIR" = x ; then REALDIR=UNKNOWN else : fi case " $CPPFLAGS $real_include_dirs " in *\ -I$d\ * | *\ -I$REALDIR\ *) AC_MSG_RESULT(already added) ;; *) OLD_CPPFLAGS="${CPPFLAGS}" CPPFLAGS="${CPPFLAGS} -I$d" AC_TRY_CPP([#include ], [ AC_MSG_RESULT(added) if test "x$REALDIR" != xUNKNOWN; then real_include_dirs="${real_include_dirs} -I$REALDIR" else : fi ], [ AC_MSG_RESULT(fails) CPPFLAGS="${OLD_CPPFLAGS}" ]) ;; esac else AC_MSG_RESULT(no) fi ;; esac done else : fi #Restore preprocessor warning sensitivity ac_c_preproc_warn_flag="$OLD_ac_c_preproc_warn_flag" #CPPFLAGS="${CPPFLAGS} -I$srcdir -I`pwd`" echo Searching for library directories... if test $ldflags_is_set = no ; then for dd in `echo ${with_lib_path} | sed 's/:/ /g'` \ `echo "${with_site_prefixes}/lib"|sed -e 's/:/\/lib /g'` \ `echo $exec_prefix | sed "s@^NONE@$prefix/lib@g" | sed "s@^NONE@$with_root$ac_default_prefix@g"` \ $with_root/usr/local/lib $with_root/sw/local/lib $with_root/sw/lib \ $with_root/usr/gnu/lib $with_root/opt/gnu/lib $with_root/sw/gnu/lib \ $with_root/usr/freeware/lib $with_root/usr/pkg/lib \ $with_root/opt/sfw/lib $with_root/opt/gnome-1.4/lib \ `echo $with_root/usr/X11*/lib | sort -r` do if test "$dd" = "/lib"; then continue; fi if test "$dd" = "/usr/lib"; then continue; fi for suff in '' 32 64 '/64'; do d="$dd$suff" AC_MSG_CHECKING($d) if test -d "$d/." ; then case " $LDFLAGS " in *\ -L$d\ -R$d\ * | *\ -R$d\ -L$d\ *) AC_MSG_RESULT(already added) ;; *) OLD_LDFLAGS="${LDFLAGS}" LDFLAGS="${LDFLAGS} -R$d -L$d -lm" AC_TRY_RUN([ #include #include int main(int argc, char **argv) { double (*foo)(double) = ceil; exit(0); } ],[ LDFLAGS="$OLD_LDFLAGS -R$d -L$d" AC_MSG_RESULT(yes) ],[ LDFLAGS="$OLD_LDFLAGS" AC_MSG_RESULT(no) ],[AC_TRY_LINK([ #include #include ],[ double (*foo)(double) = ceil; exit(0);
Xf86config res too small on laptop
I am trying to use the xf86config graphics utility on my Dell Cpi laptop, but the resolution is very small. Its pry like 340x something. I can't see all of the menus. Does anyone know how to fix this? Thanks Adam To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Xf86config res too small on laptop
On Wed, 22 Jan 2003, Adam M Ryan wrote: > Subject: Xf86config res too small on laptop > > I am trying to use the xf86config graphics utility on my Dell Cpi > laptop, but the resolution is very small. Its pry like 340x something. > I can't see all of the menus. Does anyone know how to fix this? > > Thanks > > Adam > xf86config(1) is a text-based terminal app. *Which* configuration tool are you using? Or is this xf86config as seen through /stand/sysinstall? # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Xf86config res too small on laptop
I am using the xf86cfg, which takes the graphical display and just makes the res really small, not letting me see the entire menus. When I say small I mean its using like 300 something. So its really big, is there some keyboard controls to make it so I can see all of the menu or something else so I can configure X? -Original Message- From: John Bleichert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 10:10 PM To: Adam M Ryan Cc: [EMAIL PROTECTED] Subject: Re: Xf86config res too small on laptop On Wed, 22 Jan 2003, Adam M Ryan wrote: > Subject: Xf86config res too small on laptop > > I am trying to use the xf86config graphics utility on my Dell Cpi > laptop, but the resolution is very small. Its pry like 340x > something. I can't see all of the menus. Does anyone know how to fix > this? > > Thanks > > Adam > xf86config(1) is a text-based terminal app. *Which* configuration tool are you using? Or is this xf86config as seen through /stand/sysinstall? # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Xf86config res too small on laptop
Adam M Ryan wrote: I am using the xf86cfg, which takes the graphical display and just makes the res really small, not letting me see the entire menus. When I say small I mean its using like 300 something. So its really big, is there some keyboard controls to make it so I can see all of the menu or something else so I can configure X? Hi Adam! I had to actually modify my XF86config file myself to get the laptop have a greater resolution. I'm using 1024x768 on a Sony VAIO laptop! As I'm really short on time now, I have to go to work relllyy fast but I'll send you my config file as soon as possible if you didn't find the answer before I do it ! It will probably be tonight though (got loads of work). Cya -- Pierrick Brossin IT Employee 15, Ch. du Château, 1422 Grandson, Switzerland Tel Prof: +41-327201423 Mobile Priv: +41-794137145 Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
BTX halted after successful installation of 4.7
I was able to install the 4.7 on my machine. But, during booting I always get "BTX halted" message. Some facts: 1. CPU : p4 2.0 GHZ 2. IDE : 82801DB Ultra ATA 3. Disk : 80GB 4D080H4 4. I had choosen FreeBSF boot mgr 5. I see Intel IDE controller support in 5.0 but not in 4.7 6. When I had tried to install using CD, I got similar message. "BTX halted". With Floppies I was able to install. Anyway, diagostics/suggestions will help. I am not part of the "mailing list". Please "CC" me on your reply. Thanks and regards. qvtzym23. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
dd accuracy
I had a problem where rm unexpectedly (at least by me!) followed a link to another drive and deleted my only copy of /home (which is as you know linked to /usr/home). I want to free up the /usr area in which /home resides. Could I do this without losing the deleted /home I hope to recover by using dd to move the partition to another drive? -- Brian --- This message sent through Adam Internet Webmail http://www.adam.com.au To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: iostat - define Kilobits per transfer
On Thursday 23 January 2003 5:40 am, Noah Garrett Wallach wrote: > On Wed, 22 Jan 2003, Dax Eckenberg wrote: > > > so what exactly does KB per transaction mean? what happens if I am > > > handling 300 concurrent users with 160Kbit encoded audio streams - > > > could I in fact do this on this machine? or will I be limited by the > > > 64KB/t issue? > > > > 300 x 160Kbit = approx. 46Mbit/sec. > > A new-ish SCSI drive should be able to easily pump out in excess of 200 > > Mbit/sec. Your bottleneck will be your ethernet adapter long before your > > local storage. Unless your app is designed very poorly. > > okay things are getting clearer over here. what exactly does KB > per transaction mean? I dont understand what this describes? > > - Noah > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message my guess :- iostat -Iw 60 -t da ad0 KB/tXfrs MB 8.42710.58 so over the period, 71 transfers occurred totalling 0.58MB for an average KB/t of (0.58*1024) / /71 = 8.37 KB/t but maybe the actual avg transfer size is recorded and summarized giving that slight variation?. Try a longer period and see, or read the code.. (the math starts around line 600) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message