Re: simple question
mike wrote: Hello all, The easiest way of going about this is giving you a example. I am in /usr and i want to tar -xzvf ports.tar.gz, but i want to continue working in my shell while this process runs in the background. What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys tar -xzf ports.tar.gz Turn off the verbose and to background it. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: date set unable
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.06.2002 @ 0556 PST): iulian said, in 1.1K: Adam Weinberger wrote: (11.06.2002 @ 0530 PST): iulian said, in 1.0K: I can modify the date, but doesn't remeains like I do! I mean when I do date -v -1H everything looks fine, but if I do date the output is the same with the date before. end of Re: date set unable from iulian - From date(1): - -v Adjust (i.e., take the current date and display the result of the adjustment; not actually set the date) - -Adam OK then, but why do I want to adjust the date if I don't want to set it? end of Re: date set unable from iulian I rarely use date(1) to set the date. I mean, when I set the date I always use date(1), but most of the time I use date(1) to format the date for scripts. If you want to set the date, you use the format date MMDDHHMM or date HHMM. Read the manpage. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9yPZEo8KM2ULHQ/0RAg7PAJoDfBmlEcDrnGsrVUzXB/N61h3/cQCfYd4I Wi+0RL4U24d9kLT8gazhwNg= =P+te -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: csh conf
Hi, I suppose you are not assigned a shell. Please finger username to find out which shell you are being assigned. - Original Message - From: Ivan S. Anisimov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 02:02 AM Subject: csh conf Hello ! Please help: when I try to login via a dialin tty, host issues 'logout' immediately after authentification. Looks like admin of the host done something like set a=`tty` if ($a == '/dev/ttyd0') then logout endif in one of csh scripts. I've checked all user-readable files (/etc/csh.cshrc, /etc/csh.login, /etc/csh.logout, ~/.login, ~/.profile etc.) for stuff like that. Nothing. Changing shell to bash solves this problem, still I would like to find out, where this 'logout' lives. Any ideas? Many thanks in advance, Ivan __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ 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: BASH shell
[EMAIL PROTECTED] wrote: On Tue, 5 Nov 2002, Naydoe Maung wrote: how would i go about fixing the shell so that it will always start with bash? thanks in advance. if bash is installed chsh -s /usr/local/bin/bash else install it from /usr/ports/shells/bash2 or /usr/ports/shells/bash1 Once installed, you must make it as default shell for the desired user. You may do as follows: pw usermod foobar -s /usr/local/bin/bash where foobar is the username and you must be root to issue this. [ ]'s -- Marcio Merlone To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipsec, ESP IKE, freebsd as vpn `client' - openbsd, how?
Hello Palle, Wednesday, October 23, 2002, 12:24:53 AM, you wrote: PG Hi! PG We just moved our company to a new `office hotel', and they have an openbsd PG firewall with an VPN setup that I should be able to use from home. A PG consultant set the openbsd machine up, and the guys in the new office knows PG absolutely nothing about unix whatsoever. When asking how to use the VPN, I PG got instructions for setting up the windows utility `PGP Desktop Security'. Read our IPSEC/IKE MiniHowTo that may help you with setting up IPSEC this may help you a little bit *g http://www.x-itec.de/projects/tuts/ipsec-howto.txt PG Is there a crash course / FAQ that will actually help me? Or can someone PG just give some hints on how to set things up on the FreeBSD end, from PG scratch? -- Best regards, Boris Köstermailto:x-itec;freenet.de X-ITEC IT-Consulting Tel.: (o 27 21) 989 4oo http://www.x-itec.NET To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FS options for FreeBSD
On Tue, 5 Nov 2002, Forrest Aldrich wrote: I'm looking for different filesystem options for FreeBSD. I'm ripping apart a Linux machine that's running a mail service which utilizes the reiserfs for performance gain. Since that's not available for FreeBSD (I ran across some flames about it, actually) - I wonder what alternatives exist out there, etc. Pointers/reference appreciated. BSD uses UFS. If you enable softupdates (it is enabled by default) you get increased performance and reliability. Fer Thanks. 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: make fails during upgrade, so...
On 2002-11-06 02:00, parv [EMAIL PROTECTED] wrote: in message [EMAIL PROTECTED], wrote Giorgos Keramidas thusly... # cd /usr/src/sys/i386/conf # config -d /usr/obj/usr/src/sys/NEWKERNEL NEWKERNEL # cd /usr/obj/usr/src/sys/NEWKERNEL # make depend # make clean ^ ^ ^ ^ ^ why would one need to run make clean after make depend? # make all # make install That's a good question. I was thinking about ommiting this step, since it's usually optional. It's there just for the sake of completeness. IIRC, the order is not really important as `make clean' will not delete the .depend files. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: date set unable
# [EMAIL PROTECTED] / 2002-11-06 13:56:02 +: Adam Weinberger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.06.2002 @ 0530 PST): iulian said, in 1.0K: I can modify the date, but doesn't remeains like I do! I mean when I do date -v -1H everything looks fine, but if I do date the output is the same with the date before. end of Re: date set unable from iulian - From date(1): - -v Adjust (i.e., take the current date and display the result of the adjustment; not actually set the date) - -Adam OK then, but why do I want to adjust the date if I don't want to set it? because you might want to display a future/past date. what happens when you try to set the date without the -v flag? -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cvsup done, now what
On Tuesday 05 November 2002 23:51, Darryl Hoar wrote: Greetings. I downloaded the ISO image for 4.7-release and burned it to a cd. I installed this on a server of mine. I then copied /usr/share/examples/cvsup/stable-supfile to /etc. Edited stable-supfile to my desires. then I cvsup /etc/stable-supfile this completed. What do I need to do next to be running stable (instead of release) ? You don't need to copy stable-supfile anywhere (but can do this). Next, You need to read handbook for details about building -STABLE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
renaming a machine, without a reboot
OUr company is in the middle of a merger, as a result the domain all of my FreeBSD machine belong to is changing. I've made all the changes that I can think od (/etc/resolv.conf, /etc/rc.defaults ) but I really prefer _not_ to reboot the mahcines just to change the FQDN. Is there some way I can do this without a reboot? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: renaming a machine, without a reboot
On Wed, 2002-11-06 at 16:20, stan wrote: OUr company is in the middle of a merger, as a result the domain all of my FreeBSD machine belong to is changing. I've made all the changes that I can think od (/etc/resolv.conf, /etc/rc.defaults ) but I really prefer _not_ to reboot the mahcines just to change the FQDN. Is there some way I can do this without a reboot? You should execute hostname your-FQDN-here then, restart all daemons (it's usually done by sending them HUP signal, but better look at their manpages to be sure) and don't forget to restart init and syslogd! regards, Ded PoXoron To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.7 REL Install problem Write failure on transfer!
I'm trying to install 4.7-Release from CDROM. BootMgr is installed and works to boot Win98. The FreeBSD partition seems to get formated ok. But when the /bin files are copied: Write failure on transfer! When I boot from floppies and use the 4.7 CD for sysgen I get a similar message. I can not boot from my CD either. There have been several posts from others with similar difficulties with 4.7 lately. I have been downloading and burning CDs since r4.1 with no difficulties. The only way I can get 4.7 is to start with my 4.6.2 CD and then cvsup up to 4.7 In my case I suspect that my CD burner or the media I am using must be the culprits. I have downloaded the 4.7 ISOs from three different mirrors, burned 4 CDs using two different burning programs. No luck. I bought my CDs from daemonnews, since we have the same problem, your CD burner or media are not likely to be the culprits. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipv6 conf
On Wed, 6 Nov 2002 13:32:51 + (UTC) in lucky.freebsd.questions, Tiago Andre wrote: Hello there... iam trying to configure my little net ipv6, by ifconfig xl0 inet6 ::::1 and it work fine (using ping6), but the problem is when i restar my machine, i have to do all again (ifconfig), i already try to change my rc.conf but it doesnt work. Does anyone known what is appening? I don't use IPv6, but I managed to configure some IPv6 aliases on lo0 wuth the help of /etc/rc.conf without any problems, I think you should give configuration you wrote in rc.conf and version of the system you use. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Getting the BIOS version without rebooting / 8Gb+ drives
Thre are utilities availible for Windows/DOS that allow you to get the BIOS and chipset versions etc from a command prompt. Some of these are written by the BIOS manufacturers or motherboard manufacturers but most are third party freeware jobs. Is anythign similar availible for FreeBSD? I have a server hosted remotely, and I need to know which version of the BIOS is in it (it's quite old). I need this to know whether it will allow me to plug in drives larger than 8gb. Also I assume BIOS assume BIOS support is required for drives greater than 8Gb, for me to use said drives with FreeBSD? I'll be booting off a 2Gb drive but feel there's a chance my BIOS doesn't support a 20Gb drive. Can I still use it as secondary master?? Yes, I am talking about the 8Gb limit that was overcome several years ago :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: psminrt: Mouse problems
david [EMAIL PROTECTED] writes: Nov 5 16:31:59 snoopy /kernel: psmintr: out of sync ( != 0008). Have you already tried the suggestion in the FAQ? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Follow-up: Yet Another make release fails on ghostscript-gnu
Michael Dexter [EMAIL PROTECTED] writes: Having complete control over the build of my network OS is simply revolutionary... but I was hoping this revolution would not be so bloody. You can get *that* with one of the supported update options. make release was never intended for anybody but release engineers. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ipv6 conf
Hello there... iam trying to configure my little net ipv6, by ifconfig xl0 inet6 ::::1 and it work fine (using ping6), but the problem is when i restar my machine, i have to do all again (ifconfig), i already try to change my rc.conf but it doesnt work. Does anyone known what is appening? Thnaks for the atencion. Tiago Camilo _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
DSL, verizon, FreeBSD
Hi. I'm trying to get a verizon DSL service started on my FreeBSD box. I don't have windows running at home, so I cannot run their install software. The nice folks there, have been helpful enough to walk me through the install. I'm happy they are taking a shot at it. They have given me the install username and password, which will expire in 24 hours. If I can get the modem working in that time, then we can proceed to registration and the rest. The modem is a westell, and I have connected everything up (subquestion: can PPPoE be run on the same NIC as my LAN? Right now the other computer is disconnected from the hub so it is just my gateway and the modem.). I have used the example from the handbook: default: set log Phase tun command # you can add more detailed logging if you wish set ifaddr 10.0.0.1/0 10.0.0.2/0 name_of_service_provider: set device PPPoE:xl1 # replace xl1 with your ethernet device set authname YOURLOGINNAME set authkey YOURPASSWORD set dial set login add default HISADDR with rc.conf ppp_enable=YES ppp_mode=ddial ppp_nat=YES # if you want to enable nat for your local network, otherwis ppp_profile=name_of_service_provider (and all the LAN related stuff in rc.conf commented out to prevent any possible interferences, see subquestion). I am getting dial-carrier Hangup! in the ppp.log file (I won't be back home til this evening, if someone wants more lines from the logfile). Which seems bad. I have tried manually started ppp and using the 'term' option (I used to have very informative conversations with my phone-modem this way), but the DSL modem doesn't say anything (no happy 'OK', but I am not sure if it is supposed to). Anyhow, does anyone out there have this setup? Suggestions on changes to my rc.conf or ppp.conf or anything? -r To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PPPoE and Hostnames
I did a script which fix this problem if u are interested Rick On Sun, 3 Nov 2002, KizerSoze wrote: Is there a way to take the hostname of my dsl's PPPoE connection and assign it to my BSD box when I bring up the PPPoE connection? Thanks, Ed 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: Sendmail questions
On Wed, Nov 06, 2002 at 05:49:17PM +0700, budsz wrote: OK, If I turn off this option (daily_submit_queuerun) of couse error message doen't apparent but this step lessen information right?. How if change queue sendmail system to queue qmail system. This purpose is I'll get cron message from queue qmail system. It's possible sir? If you're using qmail, there's no such thing as a 'submit' mail queue --- qmail is all in one like sendmail used to be. So turning off this report doesn't lose you anything at all. Anyway I found sendmail submit or other option sendmail in (/etc/default/rc.conf) for new version FreeBSD, Before this, I use FreeBSD 4.6 STABLE, I didn't found this option. So this utilities for what..? Yes --- this is a new feature in sendmail, imported into FreeBSD around March 2002 (which was between 4.5-RELEASE and 4.6-RELEASE actually). The sendmail functionality has been divided between two processes: sm-msp, the Mail Submission Process and sm-mta, the Mail Transport Agent. This means that the sendmail binary no-longer needs to be SUID root. See http://www.sendmail.org/%7Eca/email/doc8.12/SECURITY for a fuller explanation. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way 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
problems with ppp on 4.7
AFter I upgaded to 4.7 ppp freezes after 3 days it's running. This happens often and not only to me. Someone else from the mailing list reported the problem. Here is what ppp.log says: Nov 6 15:45:37 durlindana ppp[24369]: Phase: deflink: Enter pause (3) for redialing. it's a big problem. the connection is reported as still functioning: tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 80.116.24.247 -- 192.168.100.1 netmask 0x Opened by PID 69 but it is blocked it does not work. I have to reboot the computer to make it work again. any hints ? Rick To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote: mike wrote: What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys tar -xzf ports.tar.gz Turn off the verbose and to background it. Kent That will work unless tar has stderr output (error messages) which might then cause the tar command to suspend, or cause the error messages to appear on the screen, depending upon your stty tostop setting. Also, by turning off the verbose option you won't see the list of files extracted. A better way (IMHO) would be to leave the verbose option on, and capture both stdout and stderr output to a file, while running the whole thing in background. Then when you're notified that the command completed, you can peruse the file to see both the list and any errors. The way to do this depends on the shell you're running. With 'sh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt 21 With 'csh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt When the background command finishes, all the output will be in tarlog.txt Hope this helps, Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote: mike wrote: What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys tar -xzf ports.tar.gz Turn off the verbose and to background it. Kent That will work unless tar has stderr output (error messages) which might then cause the tar command to suspend, or cause the error messages to appear on the screen, depending upon your stty tostop setting. Also, by turning off the verbose option you won't see the list of files extracted. A better way (IMHO) would be to leave the verbose option on, and capture both stdout and stderr output to a file, while running the whole thing in background. Then when you're notified that the command completed, you can peruse the file to see both the list and any errors. The way to do this depends on the shell you're running. With 'sh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt 21 With 'csh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt When the background command finishes, all the output will be in tarlog.txt Hope this helps, Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
On Wed, 6 Nov 2002, Paul A. Scott wrote: On 11/6/02 1:43 AM, Kent Stewart [EMAIL PROTECTED] wrote: mike wrote: What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys tar -xzf ports.tar.gz Turn off the verbose and to background it. Kent That will work unless tar has stderr output (error messages) which might then cause the tar command to suspend, or cause the error messages to appear on the screen, depending upon your stty tostop setting. Also, by turning off the verbose option you won't see the list of files extracted. A better way (IMHO) would be to leave the verbose option on, and capture both stdout and stderr output to a file, while running the whole thing in background. Then when you're notified that the command completed, you can peruse the file to see both the list and any errors. The way to do this depends on the shell you're running. With 'sh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt 21 With 'csh' and its derivatives use: tar -xvzf ports.tar.gz tarlog.txt When the background command finishes, all the output will be in tarlog.txt Hope this helps, Paul A. Scott Just a shot in the dark, but how about... # script tarout tar -xvzf ports.tar.gz ...? Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
Just a shot in the dark, but how about... # script tarout tar -xvzf ports.tar.gz ...? Best regards, Paul [Everlund] Well, yes. That will work, too. Better yet, it is immune to the differences between shells. Simpler is often better. :-) I had hoped my explanation would lead to a better understanding of how the shell processes these things (and hopefully provide some incentive to read the man pages). After all, give a man a fish and he is fed for a day. Teach a man to fish and he is fed for life. Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
Just a shot in the dark, but how about... # script tarout tar -xvzf ports.tar.gz Actually, that won't work. The 'script' command will redirect the output to a file, but it still outputs to the terminal, which is not what was originally requested. My previous explanation is the correct solution. Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Star/OpenOffice font lists
I notice that when I start a new text document in StarOffice or OpenOffice I get one font list (Truetype included) but when I start an html document I get a much longer list of choices. It seems like some font directories - such as freefont nucleus - are ignored for text documents. Has anyone else experienced this? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NASM (BSD vs. Linux)
On Mon, 4 Nov 2002 15:24:43 -0800 Naydoe Maung [EMAIL PROTECTED] wrote: [snip] As you can see here, It compiled and linked without any errors, however no appropriate output is being generated. There were no problems running it on Linux. I heard some issues about different sys calls and interrupts on Linux and BSD, but I thought since the Linux driver was loaded there should be no problems running Linux oriented programs. I'm very confused, and I'm sure I'm missing out some stuff. Help me please. Thank You Check out http://www.int80h.org/bsdasm/. It has a basic intro on asm programming for FreeBSD for people who know asm. It explains the diffs between Linux and FreeBSD and why you need to brandelf it (as others have said). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Eric Rivas, KC2HMV email: [EMAIL PROTECTED] aim: kc2hmv To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
UUCP Mail
Hi, I have a machine with a permanent connection, that I am installing for a client. Their provider lets them collect mail via UUCP. Can anyone explain in simple terms how to use uucp. I have the node name, username and password. I just don't know how to use it. The only examples I can find are regarding uucp and dial up. thanks in advance Doron Shmaryahu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
On Wed, 6 Nov 2002, Paul A. Scott wrote: Just a shot in the dark, but how about... # script tarout tar -xvzf ports.tar.gz Actually, that won't work. The 'script' command will redirect the output to a file, but it still outputs to the terminal, which is not what was originally requested. My previous explanation is the correct solution. # script tarout tar -xvf ports.tar /dev/null But it doesn't seem to work with the , as it says something about suspended tty output. Your solution, while teaching people the magic of shells, is correct and working. As I wrote, it was just a shot in the dark. :-) Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: icecast
On Wed, 6 Nov 2002, at 10:53 [=GMT-0600], Brian Henning wrote: hello- i have icecast installed on my bsd box and it runs great. can someone tell me how i can automatically start this program on boot? Put a tiny shell script in /usr/local/etc/rc.d e.g. #!/bin/sh /usr/local/bin/icecast (Assuming that is where it is and how it's called.) Give it a name that ends in .sh, say ice.sh. Don't forget to set the file executable (chmod 700 ice.sh). This works for all programs. At boot the system checks for files ending in .sh in the the dir mentioned and runs them. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
simple find command
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am having a bit of trouble with the find command. I am a novice in its use so maybe someone can help me out here. I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. Some of my failed attemps... find . -exec grep -i foo -ok -delete {} \; find . -exec grep -l 'foo' -ok -delete {}\; find . -exec grep foo {}\; | xargs rm Thanks for any help. Matt -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9yVBIXG7+MmNwciURAr1VAKCJWZF87EfqAk8hLdnj/prlZwpVDwCbBrAt Lq+3Zv2Ocd4EmxAXfdhp1OY= =HNAV -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: backups - setting up amanda
I personally don't use amanda but invoke a backup script from a cron job which runs every nite on at 2 on specified directorys and tar's them to tape and then rewinds. Read the tar manpage for the specifics. For example..if you want to backup your /etc with your backup device being /dev/ast0 and rewind the tape when done you would use /dev/rast0 No rewind uses /dev/nrast0 Also read the man page on mt. You should be able to do all of this yourself without using amanda. Good Luck, Ed -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Kirk R. Wythers Sent: Wednesday, November 06, 2002 11:36 AM To: [EMAIL PROTECTED] Subject: backups - setting up amanda I have a travan TR-5 tape drive that is going unused on my personal workstation (I've been backing up /home on zip250). I am interested in setting up a automated back schedule and have heard good things about Amanda. However, I am confused about how to set up Amanda. There seem to be some differences in freebsd's Amanda port and the documentation I see on amanda.org. For example rather than configure amanda manually, the Makefile seems to handle that. Also file locations seem a bit different from the directions I see on: http://www.backupcentral.com/amanda.html Can anyone who has set up Amanda from the ports collection provide a blow by blow of a freebsd'ish amanda setup? Thanks, -- Kirk R. Wythers email: [EMAIL PROTECTED] University of Minnesota tel: 612.625.2261 Department of Forest Resources fax: 612.625.5212 Saint Paul, MN 55108 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: simple find command
On Wed, Nov 06, 2002 at 11:24:19AM -0600, Matthew Bettinger wrote: I am having a bit of trouble with the find command. I am a novice in its use so maybe someone can help me out here. I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. [...] find . -name *foo* -exec rm {} \; find . -name *foo* -print | xargs rm find . -name *foo* -delete //the fastest one -- 0A 0D 0A 2D 2D 20 0D 0A 44 6F 6D 69 6E 69 6B 20 ...-- ..Dominik 4C 75 70 69 6E 73 6B 69 20 2F 2F 20 79 68 70 78 Lupinski // yhpx 40 61 6C 70 68 61 2E 6E 65 74 2E 70 6C 0D 0A 2E @alpha.net.pl... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DSL, verizon, FreeBSD
this way), but the DSL modem doesn't say anything (no happy 'OK', but I am not sure if it is supposed to). Anyhow, does anyone out there have this setup? Suggestions on changes to my rc.conf or ppp.conf or anything? http://renaud.waldura.com/doc/freebsd/pppoe/ Step by step explanation. BTW, what is your FreeBSD version? I've had problems with pppoe in 4.6. 4.5 works fine and now 4.7 works fine. My configuration is the same as yours (2 NIC, Westel modem, Verizon NJ connection). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple find command
In the last episode (Nov 06), Matthew Bettinger said: I am having a bit of trouble with the find command. I am a novice in its use so maybe someone can help me out here. I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. Some of my failed attemps... find . -exec grep -i foo -ok -delete {} \; find . -exec grep -l 'foo' -ok -delete {}\; find . -exec grep foo {}\; | xargs rm How about something like find . -type f | xargs grep -l foo | xargs rm which will pipe a list of all files into xargs grep, which will then output only the filenames that have foo in them, which gets piped into xargs rm which removes them. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: DSL, verizon, FreeBSD
myself instead I Started having problems since 4.7 my ppp freezes, adn this also happens to other people but seems like noone is interested in helpign about this Rick On Wed, 6 Nov 2002, Kliment Andreev wrote: this way), but the DSL modem doesn't say anything (no happy 'OK', but I am not sure if it is supposed to). Anyhow, does anyone out there have this setup? Suggestions on changes to my rc.conf or ppp.conf or anything? http://renaud.waldura.com/doc/freebsd/pppoe/ Step by step explanation. BTW, what is your FreeBSD version? I've had problems with pppoe in 4.6. 4.5 works fine and now 4.7 works fine. My configuration is the same as yours (2 NIC, Westel modem, Verizon NJ connection). 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: simple find command
Matthew Bettinger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am having a bit of trouble with the find command. I am a novice in its use so maybe someone can help me out here. I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. If they're all in . and you need not descend into other directories, you can just use grep to find them. Replace ls -l with rm in the example: [/home/paul]:: grep -l foo * | xargs ls -l -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ One reason why George Washington Is held in such veneration: He never blamed his problems On the former Administration. -- George O. Ludcke To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: icecast
- Original Message - From: Brian Henning [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 10:53 AM Subject: icecast hello- i have icecast installed on my bsd box and it runs great. can someone tell me how i can automatically start this program on boot? thanks, b Didn't you just ask this? One fellow offered a shell script. It's true that another guy thought that wouldn't be a good idea. Did they forget to cc: you? It doesn't appear so.. If you think a shell script is not the thing for the reasons mentioned, you might use crontabdepending on what user icecast needs to be run as, put the following into their crontab @reboot/path/to/icecast -flag(s) argument(s) If icecast has an apache-style APACI program, you might call it at shutdown to kill the daemon. @shutdown command Use 'crontab -e' to edit your/the crontab HTH, Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple question
mike [EMAIL PROTECTED] writes: Hello all, The easiest way of going about this is giving you a example. I am in /usr and i want to tar -xzvf ports.tar.gz, but i want to continue working in my shell while this process runs in the background. What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys (Please format your messages better. 70-char width is nice.) When using X, try: xterm -iconic -hold -e sh -c tar xzvf ports.tar.gz; echo ' *** tar is complete; iconified ***' | write $(whoami) $(tty) or: xterm -iconic -hold -e sh -c tar xzvf ports.tar.gz; xmessage ' *** tar is complete; iconified ***' (Unless you can remember that sort of thing, you'll want to rewrite it as a script, allowing ports.tar.gz, etc, to be script arguments.) There's a way to run a command in another virtual terminal, but I've forgotten it. A better plan might be to learn script; it allows you to switch between multiple shell sessions within one VT or xterm. You should be able to use write or xmessage to get notice of your completed tar. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: simple find command
Matt, It's unclear from your post whether you mean to find files that *contain* foo or files where foo is in the filename. Here are the two scenarios acted out. [1] Remove files that contain foo. cd directory/where/files/reside grep -r -i foo ./* cd'ing into where the files are is not strictly necessary. I like to do this for safety reasons if I mistype. Otherwise you may place the directory at the end of the grep command line as grep -r -i foo /directory/where/files/reside Do the resultant files meet your expectations? Check this before deleting them. It might be safer to move them to a holding directory first. Then delete them when you're beyond any quivering feelings of doubt. grep -r -i foo ./* | xargs rm -v I'm assuming there might be subdirectories where the files are. If not or you don't want to get into them, then remove -r in the grep command. [2] Remove files that have foo in their filename. find /directory/where/files/reside -name *foo* -print \ -exec rm {} \; Again, the caveat about checking your results before deleting is repeated here. The slash at the end of the line above (after -print) is because the line is too long in this email. This is the shell escape for line continuation. You can experiment with it. Perhaps this clears up some of the other posts. Alex On Wed, 2002-11-06 at 12:24, Matthew Bettinger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am having a bit of trouble with the find command. I am a novice in its use so maybe someone can help me out here. I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. Some of my failed attemps... find . -exec grep -i foo -ok -delete {} \; find . -exec grep -l 'foo' -ok -delete {}\; find . -exec grep foo {}\; | xargs rm Thanks for any help. Matt -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9yVBIXG7+MmNwciURAr1VAKCJWZF87EfqAk8hLdnj/prlZwpVDwCbBrAt Lq+3Zv2Ocd4EmxAXfdhp1OY= =HNAV -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- A L E X A N D E R S E N D Z I M I RBattleface Computing Custom Computing - Linux Free BSD - C, Perl, Python, WWW [EMAIL PROTECTED] |802 863 5502| Colchester, VT 05446 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I delete /usr/src ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.06.2002 @ 1224 PST): Darryl Hoar said, in 0.3K: greetings, I cvsupped from 4.7-release to 4.7-stable. Followed all the steps to do that. I need to reclaim some disk space. Can I delete the files under /usr/src? Currently it's consuming roughly 340 MB of space ? thanks, Darryl end of Can I delete /usr/src ? from Darryl Hoar It's often nice to have the source code around for reference, and for rebuilds, updates, and stuff like lsof which builds better if kernel source is available. My advice would be to whack /usr/obj, which is where the stuff gets build INTO. It has, in effect, a copy of the entire OS and then some. My /usr/obj is 294M, and my /usr/src is 361M. But, other than that, yes: it's perfectly safe to delete /usr/src. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9yX1eo8KM2ULHQ/0RAj6XAJwIm7sizgOjo36mHbmT0pisOmimugCfbvtX DuqrIw6uVt0pwAqDQHF/nMY= =EbIX -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I delete /usr/src ?
Yes. However, if you have custom kernel configuration files in /usr/src/sys/i368/conf, then save them some place safe if you have not done this already. Then remove with rm -rf /usr/src/* This will leave the /usr/src directory. An alternative is to tar and compress /usr/src with tar czf /tmp/usr-src-2002.11.05-archive.tar.gz /usr/src I've given my favorite archive naming convention. You can use it or use your own. When done, delete /usr/src as above. You can always CVSup the source again at a later time. Of course, if you still have concerns that have not been addressed here or I've gone astray from your original question, then don't delete anything until you get them answered. Alex On Wed, 2002-11-06 at 15:24, Darryl Hoar wrote: greetings, I cvsupped from 4.7-release to 4.7-stable. Followed all the steps to do that. I need to reclaim some disk space. Can I delete the files under /usr/src? Currently it's consuming roughly 340 MB of space ? thanks, Darryl To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- A L E X A N D E R S E N D Z I M I RBattleface Computing Custom Computing - Linux Free BSD - C, Perl, Python, WWW [EMAIL PROTECTED] |802 863 5502| Colchester, VT 05446 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can I delete /usr/src ?
Darryl Hoar wrote: greetings, I cvsupped from 4.7-release to 4.7-stable. Followed all the steps to do that. I need to reclaim some disk space. Can I delete the files under /usr/src? Currently it's consuming roughly 340 MB of space ? thanks, Darryl You can delete /usr/src, and also /usr/obj, but next time you want to do an upgrade I guess it will take longer to get all the sources. If you can manage by only delete /usr/obj it would be the best for you, if upgrading in the future. Also, if deleting /usr/src, and hence /usr/src/sys too, you can not compile your kernel if you change any hardware. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Can I delete /usr/src ?
Many appologies, I mean /usr/obj but stated /usr/src. I have purged /usr/obj and now have my space back. Many thanks to all that responded. -Darryl To: Darryl Hoar Cc: [EMAIL PROTECTED] Subject: Re: Can I delete /usr/src ? On Wed, Nov 06, 2002 at 02:24:27PM -0600, Darryl Hoar wrote: greetings, hi, I cvsupped from 4.7-release to 4.7-stable. Followed all the steps to do that. I need to reclaim some disk space. Can I delete the files under /usr/src? Currently it's consuming roughly 340 MB of space ? Yes, you can always fetch it back from cvs. BTW. Did you clean /usr/obj? That can save lots of your disk space. -- 0A 0D 0A 2D 2D 20 0D 0A 44 6F 6D 69 6E 69 6B 20 ...-- ..Dominik 4C 75 70 69 6E 73 6B 69 20 2F 2F 20 79 68 70 78 Lupinski // yhpx 40 61 6C 70 68 61 2E 6E 65 74 2E 70 6C 0D 0A 2E @alpha.net.pl... 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: simple question
mike [EMAIL PROTECTED] writes: Hello all, The easiest way of going about this is giving you a example. I am in /usr and i want to tar -xzvf ports.tar.gz, but i want to continue working in my shell while this process runs in the background. What would i type to make the output of that command not show but at the end simply do let me know its finished? thanks guys You could just put it in the background with '': $ tar xzvf ports.tar.gz although in that case I don't know why you'd want the 'v' arg. You will be alerted when the tar job is done, the shell will issue an alert as soon as you hit 'enter' and the job is done. It's kind of hard to explain. Get a copy of 'UNIX in a Nutshell' :) HTH - 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: simple find command
Matthew Bettinger [EMAIL PROTECTED] writes: I have a list of files (hundreds) in directory . and need to search through and delete every file that contains the word foo. Assuming that directory means directory tree and that word means string, this might work: find . -type f -print0 | xargs -0 grep --null -l foo | xargs -0 rm -f Test this or whatever you use thoroughly; such things are likely to delete things you don't want deleted and/or not delete things you you want deleted. You're likely to want additional options on rm, like maybe -P. Use the man pages to know what you are doing and can do -- and test things well using test directories, etc. If you really meant word foo, then you've got a much tougher job, starting with defining word. See the grep manual, at least. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
denied access
Could you please tell me why I'm being denied access to 'www.drsimmons.co.uk' which is powered by bsd. Thanks Gary To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
NAT question
Hi fellows Im trying to setup natd on my FreeBDS 4.5 box, And I want to test my clients I have starte natd an put the open parameter on the firwall flags., but when I ping an internet address from my client (my client has as default gateway the internal ip address of the natd box).What would I need to do to make mi clients ping an external ip address?. Thanks in advance To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: UUCP Mail
On Wed, Nov 06, 2002 at 06:10:23PM +0200, Doron Shmaryahu wrote: I have a machine with a permanent connection, that I am installing for a client. Their provider lets them collect mail via UUCP. Can anyone explain in simple terms how to use uucp. I have the node name, username and password. I just don't know how to use it. The only examples I can find are regarding uucp and dial up. Reading your last sentence, I guess you will be doing UUCP over TCP/IP. Basically, the setup is the same as for dialup, just instead of connecting through a modem, you connect via TCP/IP. I'll try to give some samples based on the files I use myself (don't shoot me if there are mistakes in my samples, I'm trying to put it together from much more complicated files without reading the whole UUCP book again): - make sure all the files in /etc/uucp/ are owned by the user uucp and group uucp!!! - for uucp over TCP/IP you don't need the dial file - if you only call out but will not be called by others, you don't need the passwd file - /etc/uucp/call: -- # system-name login-namepassword provider Uyou yourpwd -- - provider is the uucp nodename (peername) of your provider - Uyou is the uucp-login name you are assigned - yourpwd is the password for Uyou - /etc/uucp/config: -- uuname you -- - you is the uucp nodename (peername) you were assigned - /etc/uucp/port: -- portTCP typetcp -- - instead of specifying modems and serial ports here, you need to set these to TCP - /etc/uucp/sys: -- time ANY 1 port TCP chat ogin: \L ssword: \P call-login * call-password * protocol-parameter g window 7 protocol-parameter g packet-size 1024 system provider addressyour.providers.uucp.host -- - this assumes that you use the g protocol with a window size of 7 and a packet size of 1k - \L and \P will be taken from your /usr/uucp/call file - the value for the system keyword (provider) must correspond to the first entry on a line in your /etc/uucp/call file - the address is the fully qualified hostname or IP address of your providers uucp host The sample files in /etc/uucp/ are a good starting poing. You might also want to have a good look at the uucp info pages (use the command 'info uucp'). And if you really want to learn the details, I can recommend O'Reilly's book 'Using Managing uucp' (ISBN: 1-56592-153-4), but it might be hard to find a copy, since it has been out of print for quite some time. Cheers, Kurt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mod_php4 install question
Greetings, I just did a fresh install of 4.7-release and csvup'd to 4.7-stable. I have done the following: 1. cd /usr/ports/databases/mysql323-server make install clean 2. tested mysql and it was functioning. 3. cd /usr/ports/www/apache13 make install clean 4. Tested apache and it served up the default page AOK. 5. cd /usr/ports/www/mod_php4 make install clean it popped up a menu with all kinds of choices on it that I'm not clear of their purpose. Last time I installed mod_php4 (4.3-release) it didn't do this. Any pointers? A link to a page describing the choices and their impact would be great. thanks, Darryl To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recovering normal partition from vinum
On Tuesday, 5 November 2002 at 17:58:11 -0500, Frank Tobin wrote: Frank Tobin, on 2002-11-05, wrote: I'm trying to recover as much data as possible from a vinum partition that was on top of a faulty hd. To make sure vinum doesn't wipe anything accidentally, I'd like to get access to it as a normal fbsd partition or slice. Is it possible to tell dd to read the vinum partition, skip N amount of blocks (the vinum header), and have a normal FreeBSD partition or slice left? Just a followup; I found that the first 265 blocks are 'vinum' info, so skipping those blocks and writing out the rest to a file using dd, and then using vnconfig to mount the file, allows access. Well, first this only works with a plex with a single subdisk, which also makes it concatenated. Under those circumstances, you just need to map a partition to correspond with the position of the subdisk on the disk. No copying or extra space required. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HTML editor
Ok, thanks for all the mails :-) br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
linker error
Hi, I'm trying to get the current release of id3lib running, because there is an open PR 9 which could be closed with this update. I fixed the autoconf files (Makefile.am, aclocal.m4) which bugs a little bit and tried to build. It build fine til examples where comes following message: gmake[2]: Entering directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' source='demo_info.cpp' object='demo_info.o' libtool=no \ depfile='.deps/demo_info.Po' tmpdepfile='.deps/demo_info.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o demo_info.o `test -f 'demo_info.cpp' || echo './'`demo_info.cpp /bin/sh ../libtool --mode=link c++ -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -L/usr/local/lib -o id3info demo_info_options.o demo_info.o ../src/libid3.la -lz -liconv c++ -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -o .libs/id3info demo_info_options.o demo_info.o -L/usr/local/lib ../src/.libs/libid3.so -lz -liconv -Wl,--rpath -Wl,/usr/local/lib ../src/.libs/libid3.so: undefined reference to `std::char_traitswchar_t::compare(wchar_t const*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::basic_string(std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t const)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::_Rep::_M_destroy(std::allocatorwchar_t const)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::_S_empty_rep_storage' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::append(unsigned, wchar_t)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::reserve(unsigned)' gmake[2]: *** [id3info] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1' gmake: *** [all] Error 2 *** Error code 2 What can I do to get it running? Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
figuring out serial ports
I have an old serial printer I'd like to hook up to one or another of my FreeBSD machines (desktop or laptop) and I'm not quite sure how to go about it. I seem to have serial ports. desktop: 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 laptop: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A The printer is an old Stylewriter bubblejet for which I found a driver and the necessary filters. Once I cable it all up, what next? -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ Joe's sister puts spaghetti in her shoes! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
sendmail without (real) hostname?
Is there any way to get outgoing mail working on a system with a dynamic IP and no DNS entries? Mail is sent as it is but of course no one will relay it. All I really want is the ability to use send-pr so I can send patches without having them mangled by line-wrapping. - @ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: denied access
From: Gary Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 1:15 PM Subject: denied access Could you please tell me why I'm being denied access to 'www.drsimmons.co.uk' which is powered by bsd. Thanks Gary It would be helpful to have more detailed information, e.g. Can anyone tell me why X happens when I do Y with Z under conditions of A, B, C, D...when I tried it like this I got (error message) from (name of program) You didn't even say what you attempted to do prior to being 'denied access'. I have parts of *my* sites I don't want anyone to see...for example. Or, it could just be some webmaster having an 'off-day' while setting file permissions. Kevin Kinsey DaleCo, S.P. if (!$ucceed) { retry(); } To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PHP4 install problems
YES! Adding -DWITH_APACHE2 worked, thanks :-D br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail without (real) hostname?
- Original Message - From: Ray Kohler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 5:20 PM Subject: sendmail without (real) hostname? Is there any way to get outgoing mail working on a system with a dynamic IP and no DNS entries? Mail is sent as it is but of course no one will relay it. All I really want is the ability to use send-pr so I can send patches without having them mangled by line-wrapping. - @ I believe I've had success with: $hostname someone.elses.fqdn $send-pr, etc. $hostname my.original.hostname or even: $hostname my.isps.mailserver $send-pr, etc. $hostname my.original.hostname I'm *serious* But you could probably make some people real unhappy that way, and I think sendmail's gotten past that, or at least some ISP's MTA's will check... :-) Not to *even* mention any questions of ethics :-| I guess you could: $hostname whatever.rev-ptr.says $send-pr, etc. $hostname my.original.hostname and see what happens? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
pre-emptive d'oh! [was regarding 4.7-stable]
just in case anyone decides to reply, don't bother. Homer-ic like thinking ellicits a D'OH! from me tonight. charles pelletier st lukes school To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: ftp servers and sysinstall
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Charles Pelletier Sent: Wednesday, November 06, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: ftp servers and sysinstall anyone else have problems accessing the ftp servers with sysinstall? i get the can't find the 4.7-stable distribution on this ftp server on every server i've tried. i need to install xf86 and the only way i can is via ftp (no disc). I had similar problems months ago looking for release files... Try all upper case 4.7-STABLE. Charles Pelletier Tech. Coordinator St Luke's School 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: regarding 4.7 stable
Charles Pelletier wrote: is there not a server around that has 4.7 stable? seems like most have only got 4.7R. I think you get stable via CVS/cvsup (since it's constantly changing - stable is a snapshot just like current, as far as I understand it). So you can install -RELEASE and then use your cvs tool of choice to update. So, then, since I am going ahead and adding 4.7 R ports, do i need to rebuild everything via cvs or do i just run mergemaster or..? --charlie pelletier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
xfree86 failing
I've now tried about 10 different times to configure xfree86server 4.2.1. each time, the process 'seems to have failed.' ideas as to why, anyone? i have 4.7 Stable through CVSup but had to get the 4.7 R ver. of xfree86. could there be a problem there? if so, how do i fix it? Charles Pelletier Tech. Coordinator St Luke's School To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: linker error
Jens Rehsack wrote: Hi, I'm trying to get the current release of id3lib running, because there is an open PR 9 which could be closed with this update. I fixed the autoconf files (Makefile.am, aclocal.m4) which bugs a little bit and tried to build. It build fine til examples where comes following message: gmake[2]: Entering directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' source='demo_info.cpp' object='demo_info.o' libtool=no \ depfile='.deps/demo_info.Po' tmpdepfile='.deps/demo_info.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -c -o demo_info.o `test -f 'demo_info.cpp' || echo './'`demo_info.cpp /bin/sh ../libtool --mode=link c++ -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -L/usr/local/lib -o id3info demo_info_options.o demo_info.o ../src/libid3.la -lz -liconv c++ -O2 -pipe -DNO_WERROR -march=pentium2 -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -o .libs/id3info demo_info_options.o demo_info.o -L/usr/local/lib ../src/.libs/libid3.so -lz -liconv -Wl,--rpath -Wl,/usr/local/lib ../src/.libs/libid3.so: undefined reference to `std::char_traitswchar_t::compare(wchar_t const*, wchar_t const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::basic_string(std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t const)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::_Rep::_M_destroy(std::allocatorwchar_t const)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::_S_empty_rep_storage' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::append(unsigned, wchar_t)' ../src/.libs/libid3.so: undefined reference to `std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::reserve(unsigned)' gmake[2]: *** [id3info] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1/examples' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/id3lib38/work/id3lib-3.8.1' gmake: *** [all] Error 2 *** Error code 2 What can I do to get it running? Found it out - eg. like decribed in http://gcc.gnu.org/ml/gcc-help/2002-10/msg00030.html - now I need to know how to di it in FreeBSD-Current (and maybe in gcc32 port) Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnLiWing IT-Services L iW W W Wi n n g g i W W i n n g gFriesenstraße 2 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED] Fax: +49 - 3 45 - 5 17 05 92http://www.liwing.de/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
New site 9954GlKx8-533SgcA8498IE-22
Hey there it has been a little while now. Its Angelica what have you been up to. I have been so busy lately working on my new site. I just had my programmer redesign my site. I wanted to let you know that I had to move it to http://www.brookspersonalpage.com Anyway I am online all the time come see me and we can chat I have a drip running down my leg already thinking about you. :) Angelicashomepage.com 4246aDpj2-156aMIo4229zgpZ8-898LCrG8833hYNL9-591efpx9819ndGJ4-670NIl62 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail without (real) hostname?
Ray Kohler [EMAIL PROTECTED] writes: Is there any way to get outgoing mail working on a system with a dynamic IP and no DNS entries? Mail is sent as it is but of course no one will relay it. All I really want is the ability to use send-pr so I can send patches without having them mangled by line-wrapping. If I understand the question, change the default /etc/mail/freebsd.mc: dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST', `yourISPsMailHost.yourISP.net') And rebuild the two sendmail .cf files in that dir following the README and maybe the sendmail manpage. You'll probably have to use sendmail vars from /etc/default/rc.conf and (re)start some sendmail daemons. It's nasty and I didn't take notes. And I doubt if send-pr will work without your deciphering the script to see if it can be fooled with environmental vars or you could modify it. I've always just edited a copy of a template PR and then mailed it. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail without (real) hostname?
On 2002-11-06 17:11, Gary W. Swearingen [EMAIL PROTECTED] wrote: Ray Kohler [EMAIL PROTECTED] writes: Is there any way to get outgoing mail working on a system with a dynamic IP and no DNS entries? Mail is sent as it is but of course no one will relay it. All I really want is the ability to use send-pr so I can send patches without having them mangled by line-wrapping. If I understand the question, change the default /etc/mail/freebsd.mc: dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST', `yourISPsMailHost.yourISP.net') And rebuild the two sendmail .cf files in that dir following the README and maybe the sendmail manpage. You'll probably have to use sendmail vars from /etc/default/rc.conf and (re)start some sendmail daemons. It's nasty and I didn't take notes. And I doubt if send-pr will work without your deciphering the script to see if it can be fooled with environmental vars or you could modify it. I've always just edited a copy of a template PR and then mailed it. That's one solution. It still depends on having a working mail user agent and mail transfer agent somewhere (not necessarily in the same machine). It does have good things too though. One can edit the PR template locally, and then transfer the edited report practically anywhere and mail it using their mailer at work, at a friend's house, or wherever. Another solution is to set things up so that Sendmail will masquerade properly, and convert local addresses (including envelope sender addresses) to real addresses. I customarily do this with the genericstable and masquerade features. The following directives in my freebsd.mc file work together to do this: FEATURE(`masquerade_envelope')dnl FEATURE(`masquerade_entire_domain')dnl MASQUERADE_DOMAIN(`sea.gr') MASQUERADE_AS(`sea.gr')dnl FEATURE(`genericstable', `btree -o /etc/mail/genericstable')dnl FEATURE(`generics_entire_domain')dnl GENERICS_DOMAIN(`sea.gr')dnl The first four take care of masquerading all the email that comes from hosts in the *.sea.gr domain to `sea.gr' and then the last three take over, converting my local address using /etc/mail/genericstable.db that is generated from /etc/mail/genericstable: % cat /etc/mail/genericstable [EMAIL PROTECTED][EMAIL PROTECTED] Then, I can use send-pr(1), mail(1) or whatever. It doesn't matter that my sea.gr local domain doesn't exist, since I am using the proper SMART_HOST for my ISP and the envelope address contains an address that does exist: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
I've now tried about 10 different times to configure xfree86server 4.2.1. each time, the process 'seems to have failed.' ideas as to why, anyone? You might be having the same problem as me, and many others. Try running XFree86 from the command line, rather than from sysinstall. See if you get a signal 11. Check /var/log/XFree86.0.log to see where the problem occurs. What video hardware are you using? Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail without (real) hostname?
Gary W. Swearingen wrote: Ray Kohler writes: Is there any way to get outgoing mail working on a system with a dynamic IP and no DNS entries? Mail is sent as it is but of course no one will relay it. All I really want is the ability to use send-pr so I can send patches without having them mangled by line-wrapping. If I understand the question, change the default /etc/mail/freebsd.mc: dnl define(`SMART_HOST', `your.isp.mail.server') --- define(`SMART_HOST', `yourISPsMailHost.yourISP.net') And rebuild the two sendmail .cf files in that dir following the README and maybe the sendmail manpage. You'll probably have to use sendmail vars from /etc/default/rc.conf and (re)start some sendmail daemons. It's nasty and I didn't take notes. And I doubt if send-pr will work without your deciphering the script to see if it can be fooled with environmental vars or you could modify it. I've always just edited a copy of a template PR and then mailed it. You do understand the question but this doesn't help me. My ISP is refusing to relay for me just as well as any third-party servers. We're not expected/intended to send mail that way so they're not set up to do so. - @ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Hard drive physically damaged?
Hi, the following messages that I just saw in my logs mean that my IDE hard drive is almost hosed right (at least a bit)? Nov 6 11:58:25 osiris /kernel: ad0s1f: hard error reading fsbn 81395599 of 11166608-11166671 (ad0s1 bn 81395599; cn 5066 tn 163 sn 40) status=59 error=40 Nov 6 11:58:27 osiris /kernel: ad0s1f: hard error reading fsbn 81395663 of 1114-11166671 (ad0s1 bn 81395663; cn 5066 tn 164 sn 41) status=59 error=40 Nov 6 11:58:27 osiris /kernel: spec_getpages:(#ad/0x20005) I/O read failure: (error=5) bp 0xcc4a89b4 vp 0xd65b0b40 Nov 6 11:58:27 osiris /kernel: size: 4096, resid: 4096, a_count: 4096, valid: 0x0 Nov 6 11:58:27 osiris /kernel: nread: 0, reqpage: 0, pindex: 7, pcount: 1 Nov 6 11:58:27 osiris /kernel: vm_fault: pager read error, pid 46970 (ndc) Nov 6 11:58:27 osiris /kernel: pid 46970 (ndc), uid 1000: exited on signal 11 (core dumped) Thanks a lot, Carlos. __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Hard drive physically damaged?
On Thu, 2002-11-07 at 12:08, Carlos Carnero wrote: Hi, the following messages that I just saw in my logs mean that my IDE hard drive is almost hosed right (at least a bit)? I would say so. You may want to back up all your important stuff. Last time I saw this the machine limped along, with VM usage running at 90%+, not looking at all healthy. Then one day we had to reboot it, That was the same day we took it offline to put a new drive in it, because it wouldn't start up :-) Nov 6 11:58:25 osiris /kernel: ad0s1f: hard error reading fsbn 81395599 of 11166608-11166671 (ad0s1 bn 81395599; cn 5066 tn 163 sn 40) status=59 error=40 Nov 6 11:58:27 osiris /kernel: ad0s1f: hard error reading fsbn 81395663 of 1114-11166671 (ad0s1 bn 81395663; cn 5066 tn 164 sn 41) status=59 error=40 Nov 6 11:58:27 osiris /kernel: spec_getpages:(#ad/0x20005) I/O read failure: (error=5) bp 0xcc4a89b4 vp 0xd65b0b40 Nov 6 11:58:27 osiris /kernel: size: 4096, resid: 4096, a_count: 4096, valid: 0x0 Nov 6 11:58:27 osiris /kernel: nread: 0, reqpage: 0, pindex: 7, pcount: 1 Nov 6 11:58:27 osiris /kernel: vm_fault: pager read error, pid 46970 (ndc) Nov 6 11:58:27 osiris /kernel: pid 46970 (ndc), uid 1000: exited on signal 11 (core dumped) Thanks a lot, Carlos. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: sendmail without (real) hostname?
Giorgos Keramidas wrote: On 2002-11-06 20:47, Ray Kohler wrote: Gary W. Swearingen wrote: If I understand the question, change the default /etc/mail/freebsd.mc: - dnl define(`SMART_HOST', `your.isp.mail.server') + define(`SMART_HOST', `yourISPsMailHost.yourISP.net') You do understand the question but this doesn't help me. My ISP is refusing to relay for me just as well as any third-party servers. We're not expected/intended to send mail that way so they're not set up to do so. Funny. All ISPs that have a tiny sort of sense and respect for their users that have dynamically allocated IP addresses will usually provide at least one mail relay. If not for any other reason, to let them send email to servers that refuse all messages from hosts whose forward and reverse DNS lookups fail (a lot of the servers use this as a form of antispam measure). It's a `no servers allowed' ISP. - @ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD filesystem 1TB Limit
Pity I didn't know about this before I built two 1200 MB arrays. Linux and FreeBSD both died past 1 TB, so I had to make the array smaller. I have used NetBSD before, so this would not have been a problem. I should have done my homework. :-) Marco Radzinschi E-Mail: [EMAIL PROTECTED] On Tue, 5 Nov 2002, Walter wrote: This is no doubt heresy coming from a newbie especially, but I was reading that NetBSD can support at least up to 4TB: http://www.netbsd.org/Misc/features.html#large-filesystems Walter Lowell Gilbert wrote: Joseph Gleason [EMAIL PROTECTED] writes: IIRC There was a 1TB limit on the size of any filesystem (or actually of any block device) in FreeBSD based the kernel internaly using a 512 byte block size and having a max of 2^31 blocks. (512*2^31 = 2^40 = 1TB) Do I remember correctly? Close, but not quite. The kernel doesn't deal with blocks internally, and the block size used by the filesystem is 16k by default. 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: regarding 4.7 stable
will the ports-supfile ONLY upgrade ports? Charles Pelletier Tech. Coordinator St Luke's School - Original Message - From: Jud [EMAIL PROTECTED] To: Charles Pelletier [EMAIL PROTECTED]; paul beard [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 7:25 PM Subject: Re: regarding 4.7 stable On Wed, 6 Nov 2002 18:08:48 -0600, Charles Pelletier [EMAIL PROTECTED] wrote: Charles Pelletier wrote: is there not a server around that has 4.7 stable? seems like most have only got 4.7R. I think you get stable via CVS/cvsup (since it's constantly changing - stable is a snapshot just like current, as far as I understand it). So you can install -RELEASE and then use your cvs tool of choice to update. So, then, since I am going ahead and adding 4.7 R ports, do i need to rebuild everything via cvs or do i just run mergemaster or..? --charlie pelletier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message CVS doesn't build anything, and mergemaster works on system (not ports) files built from source code obtained via CVS. Mergemaster doesn't build anything from source itself. It's a tool for comparing a file presently in your filesystem with a version in a temporary directory newly built from source. You can then choose to keep the old file, install the new file, merge the two files taking bits from each, or just leave it 'til later. The sources for stable and the ports may be obtained by installing cvsup (most folks like the cvsup-without-gui port - fewer dependencies, may build quicker than regular cvsup); copying the ports-supfile and stable-supfile from /usr/share/examples/cvsup to anywhere convenient and editing them as you like; then running cvsup with appropriate flags against those - supfiles. For instance, when not in X, and in the same directory as the - supfiles: cvsup -g -L 2 stable-supfile then cvsup -g -L 2 ports-supfile Then make world, rebuild your kernel, use mergemaster using the steps set out in the Handbook. You can upgrade a port after updating the ports sources with cvsup and ports- supfile, without going through make world. If it's a port you haven't installed previously, just cd to the target port directory and: make install clean If you have already installed the port and have also installed the portupgrade port, then wherever you are, just type portupgrade [port name] If you do not have portupgrade installed, cd to the target port directory and make deinstall clean then make install clean Upgrading ports without updating the rest of your system entails some risk, since the port build process will expect current versions of various files and tools. If these are outdated, the application may not work properly once built, or more likely will not build at all. -- Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NFS Performance woes
On Wed, 2002-11-06 at 19:52, BigBrother wrote: Although the man page says this, I *think* that the communication is done like this CLIENT = NFSIOD(CLIENT) = NFSIOD (SERVER) = NFSD which menas that NFSIOD 'speak' with each other and then they pass the requests to NFS. Of course if u dont need to have on the server too many NFSIOD. So in my case I just have 8 nfsiod on server running and most of them are idle, and besides, they only take 1.5MB of memory which I can afford. So I think having *some* NFSIOD also on server is not a bad idea. Of course on the server u should have a lot of NFSD. in other words, running NFSIOD on server is not a bad idea.. NFSIOD is enabled by putting nfs_client_enable=YES into rc.conf. Empirical evidence suggests that NFSIOD is not used server-side. I ran 4 nfsiod daemons on the server and checked their usage time. All were 0:00. If the server does any client NFS stuff it would make a difference, and it may be different under other OS. Certainly it does no harm to have them running. Also monitor the mbufs on all your machines (especially the server). do from time to time a 'netstat -m' and see the peak value of mbuf and mbuf clusters...if it is close to the max limit then you will suffer from mbuff exhaustion will will eventually make the machine unreachable from network. u can change mbuff max value before kernel load ...see tuning (7) kern.nmbclusters=value in /boot/loader.conf, if anyone needs to do this. Have to reboot for this one :-( Also if u have mbuf exhastion try to use smaller block size in NFS mounts. Now this is interesting. I had thought mbuf cluster exhaustion was due to a high number of connections. Although I guess a high number of connections * large buffer size would do it too. Thank you for your response and suggestions vis the other NFS stuff - I managed to get our server talking UDP. The wildcard binding was the problem, and the -h flag to nfsd fixed it. Network usage graphs are showing the differential between incoming and outgoing traffic to be much less now, so I would say there was a lot of overhead in there, as well as retransmissions. I am still playing with buffer sizes but chances are in this case the FreeBSD default is best. Regards -- Duncan Anker Senior Systems Administrator Dark Blue Sea To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Updating ports problem!
I just tried to cvsup my ports collection like I do every few days and have for months... However, this time, the update seems to be removing all my ports! This just goes on for pages and pages before I cancel: Edit ports/science/xloops-ginac/Makefile Delete ports/science/xloops-ginac/pkg-comment Edit ports/security/Makefile Edit ports/security/acid/Makefile Delete ports/security/acid/pkg-comment Edit ports/security/aide/Makefile Edit ports/security/aide/distinfo Edit ports/security/aide/files/aide.conf.freebsd Delete ports/security/aide/files/patch-aa With what appears to be every port! What's up with it? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Updating ports problem!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.06.2002 @ 1856 PST): Scott Carmichael said, in 0.7K: I just tried to cvsup my ports collection like I do every few days and have for months... However, this time, the update seems to be removing all my ports! This just goes on for pages and pages before I cancel: Edit ports/science/xloops-ginac/Makefile Delete ports/science/xloops-ginac/pkg-comment Edit ports/security/Makefile Edit ports/security/acid/Makefile Delete ports/security/acid/pkg-comment Edit ports/security/aide/Makefile Edit ports/security/aide/distinfo Edit ports/security/aide/files/aide.conf.freebsd Delete ports/security/aide/files/patch-aa With what appears to be every port! What's up with it? end of Updating ports problem! from Scott Carmichael I nuked 1500 pkg-comment files today. Nothing to worry about. As long as the Makefiles aren't being deleted, there's nothing wrong. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9ydewo8KM2ULHQ/0RAq8/AJ0fL2bPiLsi540pyVG8K9CuRnj6qACg3Z8Z kLE9KcqKfx+9O6K3ODIKGbQ= =9gqo -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
x11 true type server
hey, what's the recommendation on installing the true type x11 servers? is it better to install the basic server before dealing with them? Charles Pelletier Tech. Coordinator St Luke's School To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
i think i found a big part of the problem..i'm reinstalling xfree86 via command line and nothing has failed in the installation. the sysinstall installation failed on fonts and xkb. after i've finished the installation i'll post an update. Charles Pelletier Tech. Coordinator St Luke's School - Original Message - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Updating ports problem!
On Wed, 6 Nov 2002, Scott Carmichael wrote: I just tried to cvsup my ports collection like I do every few days and have for months... However, this time, the update seems to be removing all my ports! This just goes on for pages and pages before I cancel: Edit ports/science/xloops-ginac/Makefile Delete ports/science/xloops-ginac/pkg-comment Edit ports/security/Makefile Edit ports/security/acid/Makefile Delete ports/security/acid/pkg-comment Edit ports/security/aide/Makefile Edit ports/security/aide/distinfo Edit ports/security/aide/files/aide.conf.freebsd Delete ports/security/aide/files/patch-aa It's not removing the entire port, just some files within each port so it'll match the master. A couple of pkg-comment files, a patch file... I'm curious as to why Adam deleted so many pkg-comment files, though. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Updating ports problem!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.06.2002 @ 1909 PST): Warren Block said, in 0.9K: It's not removing the entire port, just some files within each port so it'll match the master. A couple of pkg-comment files, a patch file... I'm curious as to why Adam deleted so many pkg-comment files, though. end of Re: Updating ports problem! from Warren Block They were pissing me off. Ermmn, I mean, I did it to migrate to the new PORTCOMMENT Makefile variable, which deprecates the pkg-comment files. I just readded 105 of them, in an effort to really annoy people with dial-up connections or using CTM. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9ydtYo8KM2ULHQ/0RAl1pAJ497Ni9SLKb+wWIy8BPuA0fV2cu/wCeMiU7 XaGxa0+shEhu8YzYeWKkpcc= =IL92 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x11 true type server
On Wed, Nov 06, 2002 at 09:00:06PM -0600, Charles Pelletier wrote: hey, what's the recommendation on installing the true type x11 servers? is it better to install the basic server before dealing with them? XFree86 4.x has native support for truetype fonts. Kris To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: kernel optimization
Thanks all for the info To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Updating ports problem!
On Wed, 6 Nov 2002, Adam Weinberger wrote: (11.06.2002 @ 1909 PST): Warren Block said, in 0.9K: I'm curious as to why Adam deleted so many pkg-comment files, though. They were pissing me off. Lucky I put the water down before reading that--you almost owed me a new keyboard! Ermmn, I mean, I did it to migrate to the new PORTCOMMENT Makefile variable, which deprecates the pkg-comment files. Okay. Section 2.2.1 of the Porter's Handbook needs to be updated. I can submit a PR, although my last PR is still waiting for action (43755--it's really easy). -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
fatal server error: could not open default font 'fixed'...that's the last error that appears in the log. Not the same problem I've encountered. Probably a successful installation of your fonts will solve yours. Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: figuring out serial ports
On Wed, 6 Nov 2002, paul beard wrote: The printer is an old Stylewriter bubblejet for which I found a driver and the necessary filters. Once I cable it all up, what next? Chapter 11. Not bankruptcy, chapter 11 of the Handbook. It shows how to set up both parallel and serial printers. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
How can i use multiple ethernet card for data transfer in my program( in C language)?
I have two ethernet card(NIC)im my computer .Their characteristics are: name:rl0 ip:128.128.64.235 netmask:255.255.0.0 broadcast:128.128.255.255 name:rl1 ip:128.128.65.235 netmask:255.255.0.0 broadcast:128.128.255.255 Both of them is up when i use ifconfig command. I want develop a program that can use rl0 and rl1 for data communication.My code is similar as flow: main(){ ... for(i=0;i3,i++){ sd[i]=socket(...);//create DGRAM sockets if (sd[i]==-1) return -1; } bind(sd[0],...);//bind sd0 to ip address of rl0 bind(sd[1],...);//bind sd1 to ip address of rl0 bind(sd[2],...);//bind sd2 to ip address of rl1 bind(sd[3],...);//bind sd3 to ip address of rl1 sendto(sd[0],...);//send form rl0 to remout host1 sendto(sd[2],...);//send from rl1 to remout host2 recvfrom(sd[1],...);//receive in rl0 recvfrom(sd[3],...);//receive in rl1 return 1; } In the first time when i executed my program all data sent form rl0 ,in other word packets of rl1 and packets of rl0 were sent by rl0; So i use the route command as flow: #route add [remout host2]-interface rl1 In this case data of rl1 weren't sent by rl0 but rl1 didn't send data too. please guide me .Thanks. __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject [Giorgos]
On Tue, 5 Nov 2002, Giorgos Keramidas wrote: Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996FreeBSD 4.6.2 I don't have an eject manpage in my FreeBSD 5.x installation: Brave soul, running an Alpha (Beta?) OS. keramida@gray[16:11]/home/keramida$ man -w eject No manual entry for eject What does man -w tell you? # man -w eject /usr/local/man/cat1/eject.1.gz (source: /usr/local/man/man1/eject.1.gz) Don't know if that helps you. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject [DaleCo]
On Tue, 5 Nov 2002, DaleCo Help Desk wrote: I don't have an eject manpage in my FreeBSD 5.x installation: Nor does the FBSD site in -STABLE: http://www.freebsd.org/cgi/man.cgi?query=ejectapropos=0sektion=0manpath=FreeBSD+4.7-stableformat=html What does the above show, no results? Sorry, no data found for `eject'. You may look for other FreeBSD Search Services. Peter, what in the *header* of your eject manpage? Generally, FBSD's own manpages show up with FreeBSD System Manager's Manual, or FreeBSD General Commands Manual, etc., etc. Kevin Kinsey DaleCo, S.P. The header, as in the first few lines of groffed manpage text? It shows: EJECT(1)FreeBSD General Commands Manual EJECT(1) NAME eject - eject removable media from drive Are we closer to getting to the bottom of this? I don't remember choosing to install eject manually from my original /stand/sysinstall install. -- Peter Leftwich President Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
fatal server error: could not open default font 'fixed'...that's the last error that appears in the log. Not the same problem I've encountered. Probably a successful installation of your fonts will solve yours. Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ can you tell me what problem you've encountered and what to do about it if i do encounter the same? --charlie pelletier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: figuring out serial ports
Warren Block wrote: On Wed, 6 Nov 2002, paul beard wrote: The printer is an old Stylewriter bubblejet for which I found a driver and the necessary filters. Once I cable it all up, what next? Chapter 11. Not bankruptcy, chapter 11 of the Handbook. It shows how to set up both parallel and serial printers. So it does: I missed it somehow (must have looked for the wrong thing in my paper edition). Thanks. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ When in doubt, do what the President does -- guess. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: figuring out serial ports
Warren Block wrote: Chapter 11. Not bankruptcy, chapter 11 of the Handbook. It shows how to set up both parallel and serial printers. Of course, now I get to ask a lot of dumb questions about tip(1). -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ Oh, I don't blame Congress. If I had $600 billion at my disposal, I'd be irresponsible, too. -- Lichty Wagner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Machine locks up when running KDE3...
Hello, The machine locks up shortly after starting KDE3. I have deinstalled XF86 and KDE3 and reinstalled from scratch. It still locks up. Any help would be greatly appreciated... what information do you need ? thanks Michael Mercer To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: regarding 4.7 stable
Charles Pelletier wrote: will the ports-supfile ONLY upgrade ports? Yes, I use it everyday. cvsup and portupgrade -an are part of a nutritious breakfast. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ It was a virgin forest, a place where the Hand of Man had never set foot. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
can you tell me what problem you've encountered and what to do about it if i do encounter the same? --charlie pelletier XFree86 4.2.1 (as packaged on the FreeBSD 4.6 and 4.7 CDROM) is failing on signal 11 during sysinstall, as well as via startx and directly executed. The log file shows it dies in routine int10 (AFAIK). I have no solution. The .core file I get after the failure appears to be useless. gdb doesn't know what to make of it; it loads the core file but can't access any memory-- not via the instruction pointer nor anything pointed to by the gp registers. When I try running the X server under gdb, the machine locks up. I have to hard reset. All of this is on a machine that has run every release of FreeBSD and X since FreeBSD 2.2.7. The problem was introduced in FreeBSD 4.6 which includes XFree86 4.2 by default. XFree86 3.3.6 and earlier didn't have the problem. If I don't get some help soon, I don't know what I'll do. Perhaps try and make the X server with debug symbols and run again. That's a chore I'm not looking forward to, but since I can't seem to get much response from the experts I guess I have little choice. I have some experience with writing X apps, but none at all with the server itself, so I know I'm in for a major learning experience. Whatever I eventually learn, I'll post here. Of course, I'm still hoping for expert help. Paul A. Scott mailto:pscott;skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: xfree86 failing
On Wed, Nov 06, 2002 at 08:04:11PM -0600, Charles Pelletier wrote: i'm using an s3 virge dx. i've never had problems with it before. i'll let With that video card I don't think Version 4 will work, your need to use the older 3.? I believe. Support for a lot of older cards was dropped in V4...I believe this includes all the old S3's. Check that I am right, but I am pretty sure. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: FreeBSD filesystem 1TB Limit
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Kirk Strauser Sent: Wednesday, November 06, 2002 7:05 PM To: [EMAIL PROTECTED] Subject: Re: FreeBSD filesystem 1TB Limit At 2002-11-07T02:31:38Z, Marco Radzinschi [EMAIL PROTECTED] writes: Pity I didn't know about this before I built two 1200 MB arrays. Linux and FreeBSD both died past 1 TB, so I had to make the array smaller. 1200*1MB == 1.2GB, does it not? Yes, it does not. Usually, when talking computers, people use 2^10 which = 1024. So 1200 MB = 1.17 GB. Anyone correct me if I am wrong. -- Kirk Strauser In Googlis non est, ergo non est. 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
tip(1) questions
So I have tried to use tip to connect to this old printer, and it seems less than responsive. tip will connect but that I can't use any escapes: I have to kill the tip process from another session. I did successfully get the printer to identify itself after I power-cycled it, but that was it. tip was unable to do anything else for me and subsequent connections required me to kill the process. The baud rates should be OK (I am using 57600). -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ *** NEWSFLASH *** Russian tanks steamrolling through New Jersey Details at eleven! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: FreeBSD filesystem 1TB Limit
Couldn't you just use NFS to bypass the 1TB restrictions? So when the main filesystem gets full, it spills over into nearby servers using the identical file system setup connected via fiber for top speed. This would technically only limit your system space based on how many servers you could efficiently attach to the same array. So if you could attach say 10 of these servers efficiently, then you could technically have a 10TB array. At 10:48 PM 11/6/02 -0800, Derrick Ryalls wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Kirk Strauser Sent: Wednesday, November 06, 2002 7:05 PM To: [EMAIL PROTECTED] Subject: Re: FreeBSD filesystem 1TB Limit At 2002-11-07T02:31:38Z, Marco Radzinschi [EMAIL PROTECTED] writes: Pity I didn't know about this before I built two 1200 MB arrays. Linux and FreeBSD both died past 1 TB, so I had to make the array smaller. 1200*1MB == 1.2GB, does it not? Yes, it does not. Usually, when talking computers, people use 2^10 which = 1024. So 1200 MB = 1.17 GB. Anyone correct me if I am wrong. -- Kirk Strauser In Googlis non est, ergo non est. 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
Easter Eggs
This might sound like a silly question, but does Freebsd or any of it's component programs have known easter eggs? Just curious. :) If so, how would you get to them to see them? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message