RE: ISDN connection problems
[EMAIL PROTECTED] wrote: Hi, I have a FreeBSD ISDN router running 5.3 with an AVM Fritz card and a 3com etherlink xl. After having mastered the xl driver problem (http://www.freebsd.org/cgi/query-pr.cgi?pr=68435) I noticed that the ISDN connection breaks randomly after some time. The PPP daemon stays up, but the ISDN interface does not send any packets. A ping to an internet address shows the following: ping: sendto: No buffer space available After that the only thing I can do is shutdown PPP and dial in again to get the internet connection working. This is really annoying. I haven't found a solution yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Stefan, The xl driver has been a pain in a lot of people's backside for years under earlier versions of FreeBSD. Quit torturing yourself and spend the $15 on another brand of network adapter card. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xmms FreeBSD and buzzing or skipping sound
Derek wrote: Collin McClendon wrote: I've noticed for quite some time (at least on 5.x even before -CURRENT) that if I'm unzipping or tarring a file that it is enough to make xmms play mp3s with intermittent buzzing. I have a fairly fast machine, dual athlon 1.53 Ghz with 1 GB of ram and a fully scsi setup, 4 10K maxtors in a Raid 0 stripe set. Did you ever find a solution to this Collin? I've got a 5.3-STABLE SMP machine, with a promise RAID controller, RAID1, with snd_emu10k1.ko, and I get the same results... Re-nicing xmms doesn't help either... Cheers, Derek I noticed that no one has suggested this thus far so... #sysctl hw.snd #man sound Runtime Configuration The following sysctl(8) variables are available: hw.snd.pcm%d.buffersize Configure the amount of DMA bufferspace available for a device. hw.snd.targetirqrateSet the default block size such that continuous playback will achieve this IRQ rate. This value can be tuned to improve application performance. Increase this value when the sound lags and decrease it if sound stutters or breaks up. My /boot/loader.conf: hw.snd.targetirqrate=48 hint.pcm.0.buffersize=8192 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD 4.11 Release
[EMAIL PROTECTED] wrote: On Tue, Jan 25, 2005 at 01:46:25PM -0600, Andrew L. Gould wrote: I just noted that FreeBSD 4.11 has been released and that there are now 2 CD#1's -- one for gnome and one for kde. Does anyone know how exclusive these CD's are? That is, does the gnome CD have kde-lite, or no kde at all? Does kde lack all gnome stuff? None at all. The set of packages became too big to have both gnome-lite and kde-lite on disc 1. Good riddance. This is FreeBSD, no reason to have your new server look like every other Linux box brought online. If your going to make it easy to put a window manager on for the newbies, pick something that's going to definitely make them say hoo boy! I ain't in Kansas anymore! such as Enlightenment. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making music
Gert Cuykens wrote: Does freebsd has programs to make music ? like sonar or logic or fruityloops ? Audacity, a multi-platform sound editor: http://audacity.sourceforge.net/about.php also take a look in the ports tree: http://www.freebsd.org/ports/audio.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Mounting, client credentials too weak
On Jan 25 at 12:04, Kris Kennaway wrote: On Tue, Jan 25, 2005 at 12:39:59PM +0100, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? Try to mount as root, not a nonprivileged user. Unfortunately I ran into the same situation concerning the error message above. I *was* root when it happened. I thought perhaps the problem was that I was *su'd* to root, so I connected a monitor to the client, logged in *as* root then tried to mount the remote share (from my office server). Still the same result. To further complicate (or simplify) things, *both* machines are 5.3-RELEASE, and in fact the machines themselves are as close to clones of one another as you can get. I mention this because inconsistencies between local conditions on both machines thus becomes a non-issue. Software wise, if I install or upgrade something on one machine, minutes later I do the same on the other. Ditto portupgrades...ditto everything. Six weeks later I still cannot accomplish the apparently (maddeningly) trivial exercise of mounting an NFS share from one machine to another. Regards, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Wed Jan 26 09:24:00 CET 2005 9:24AM up 5 days, 22:14, 9 users, load averages: 0.00, 0.00, 0.00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GNOME nautilus-cd-burner problems
Doug Poland wrote: My son's a budding Unix enthusiast, but he's no CLI jockey yet. In my attempt to help him be independent and burn his own data and/or audio CD's, I came across nautilus-cd-burner. It seems simple enough, but it doesn't work. I've got existing ISO images that I try to burn to CDRW and it chokes. So I try a simple directory structure and it chokes. I feed it a few wave files, it chokes. I know something about creating optical media. For example, sometimes I need to run mkisofs, sometimes I don't. Sometimes I need to blank the media if it's CDRW, I don't for CDR. Maybe I want to burn an audio CD and therefore need different switches to drive cdrecord. So how does one tell nautilus-cd-burner these things? I've searched the docs and the lists. Donno, It did the same thing to me so I learned to do it the (not so) hard way: from man burncd: EXAMPLES The typical usage for burning a data CD-R: burncd -f /dev/acd0 data file1 fixate ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which bittorrent client
Ah, wonderful... I was hoping someone would ask this question. Since I'm running sans-X I was wondering what my options were. Tried ctorrent, but the UI was really confusing, and it didn't seem to upload (for me, I know it is supposed to). Checked out the webpage and it explained what the numbers meant (and even admitted it was confusing). It lacked (or seemed to lack) a timer saying how much time was left. I tried the python client (btdownloadcurses.py) and it does a really decent job for a command-line utility. The upload rate did seem really high in comparison w/ the download rate. (I was uploading at 2x the download speed) Are there other non-X BT clients I should try? TjL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Keyboard Problem
Hello, I have a problem with my usb keyboard when I try to install Freebsd 5.3. It is very strange because the keyboard is working at the boot screen (where the different booting options are listed) but when the booting process launches the sysinstall the keybord is not working. The strange thing is that the keyboard is responding - for example when I hit numlock the light for numlock is respondig? Do you have any ideas what the problem is? Tnx in advance. Best, Milan Nankov __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
I had (have?) several packages in the ports collection that needed updating, and recently someone in the list was talking about using portmanager -u to save on problems with updating; it doesn't touch the ports database, it won't mess up the collection, it walks dependencies automagically, etc...should be as easy as portmanager -u and letting it do it's magic, correct? I read the same thing, and thought I'd give it a shot. On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep recompiling xfree86-4-server. Is there a way to tell if it is stuck in a loop? I had to stop it yesterday after it had been upgrading for several hours. The same thing happened to me. Not sure where it was stuck but I was getting a distinct sense of deja-vu watching the output (I don't really mean deja-vu but I can't think of a better way to say it). I left it for 30 hours, and then cancelled it. I'm going to try and run it again today, I'd like to know also if it will eventually get out of the loop, i.e if it is really a loop or something different. sorry that this post doesn't really help the situation cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pb with portupgrade (segfault or cannot allocate memory)
Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] zsh: abort portupgrade -P gnomevfs2-2.8.3_1 10:46 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:239:in `origin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:178:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:913:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1845 zsh: exit 1 portupgrade -P gnomevfs2 Any idea ? I cannot figure why it suddently segfaulted, and why the errors are not at the same line. Thx -- Grégory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enemy-Territory for Linux run Problem on FreeBSD 5.3 Release
On Tue, 25 Jan 2005 18:20:26 -0800, Derrick Ryalls wrote I am running FreeBSD 5.3 Release on a AMD Athlon 2800+ with Linux compatibility installed. I have just installed Linux-EnemyTerritory from ports and I tried to run it: ./et in /usr/compat/linux/usr/games/et . I then get this error message: ...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared object file: No such file or directory failed - CL_Shutdown - RE_Shutdown( 1 ) --- - CL_Shutdown - --- Sys_Error: GLimp_Init() - could not load OpenGL subsystem I have located libGL.so.1 in my /usr/X11R6/lib/ . I read the handbook page on Linux Compatibilty, however that didn't seem to help. Any assistance would be greatly appreciated. I'm not sure where it searches for its required libs. You can try making an symbolic link to /usr/compat/linux/usr/lib if it's not there. Or perhaps /usr/compat/linux/usr/local/lib. Jorn Can you run an OpenGL screen saver? I am guessing that OpenGL is not enabled for your video for whatever reason. You might check your config file. That doesn't matter too much AFAIK. I've been running Gentoo for quite a while, and I could run OpenGL screen savers without a problem, but once I started UT2004 or any other OpenGL app it said that it couldn't find the libs. And I don't think it's platform dependant. Correct me if I'm wrong, of course :) Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
cali wrote: The same thing happened to me. Not sure where it was stuck but I was getting a distinct sense of deja-vu watching the output (I don't really mean deja-vu but I can't think of a better way to say it). I left it for 30 hours, and then cancelled it. I'm going to try and run it again today, I'd like to know also if it will eventually get out of the loop, i.e if it is really a loop or something different. I get that whenever I install X, there seem to be chunks of X that produce an effrct like watching a looping tape! - Mike Woods IT Technician ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple questions, MAKE_ARGS in pkgtools.conf
On 2005-01-25 21:30, Nikolas Britton [EMAIL PROTECTED] wrote: Lets say I have BATCH=yes (/etc/make.conf) and I have a port with a menu that turns on some flags i.e.: OPTIONS=DEBUG Build a debugging image off \ LOGGING Enable additional log messages off \ OPTIMIZED_CFLAGS Enable some additional optimizations off \ XFT Enable support for anti-aliased fonts on \ SMB Enable smb:// URI support using gnomevfs off If I do something like the following: MAKE_ARGS = { 'www/firefox' = 'WITH_OPTIMIZED_CFLAGS=yes CPUTYPE=p4', 'multimedia/gstreamer-*' = 'CPUTYPE=p2' } Will portupgrade only build the port with what I put in MAKE_ARGS or Yes. will it just append it to the ports config? Not sure about this. AFAIK, MAKE_ARGS are passed as command line options to Make when the port is built. So, if passing them on the command line works until now *and* saves them in the persistent port options cache, it will work with portupgrade too. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Restricting NFS daemons
On Tue, Jan 25, 2005 at 09:09:45PM -0800, Sandy Rutherford wrote: But the question is how to get rpcbind to use tcp-wrappers in the first place! Because even with this in hosts.allow, sockstat -46l still shows: root rpcbind10188 7 udp4 127.0.0.1:111 *:* root rpcbind10188 8 udp4 192.168.1.1:111 *:* root rpcbind10188 9 udp4 *:some_random_port *:* root rpcbind10188 10 tcp4 *:some_random_port *:* So it's still binding to INADDR_ANY :-( Am I missing something obvious, or is rpcbind not tcp wrapped by default? Should be. Double check to make sure that /usr/sbin/portmap is linked to libwrap. Good idea! Yes indeed, rpcbind is linked to libwrap: /usr/sbin/rpcbind: libwrap.so.3 = /usr/lib/libwrap.so.3 (0x2808) libutil.so.4 = /lib/libutil.so.4 (0x28088000) libc.so.5 = /lib/libc.so.5 (0x28094000) I am not surprised that rpcbind is still bound to all of your interfaces. AFAIK, tcp-wrappers doesn't control which interface is being listened on, but rather it controls from which IP numbers connections will be accepted. This is what I meant, when I said that tcp-wrappers doesn't do exactly what you want. However, if you use tcp-wrappers to accept only connections from 192.168.1.0/255.255.255.0 and configure a firewall on this host to block all connections to the interface in question from this address range, then you will end up with something approximating what you want. Yes, that's approximatly what I had in mind. Thank you for your help! :) ...Sandy Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set_rcvar load_rc_config run_rc_command: all not found
Christian Hiris wrote: On Wednesday 26 January 2005 05:45:05, Duane Winner wrote: Hello, I've just noticed (after spending the past two weeks testing 5.3-release), that I'm getting this on every boot and shutdown: Local package initialization:set_rcvar: not found load_rc_config: not found run_rc_command: not found Everything seems to be working fine, but I sure would like to know where those set_rcvar, load_rc_config and run_rc_command not found messages are coming from and why. This messages were sent by a script, which resides in one of your local startup directories. If you use the default local startup directories, then search the scripts under /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d for the variables that couldn't be found. The script that wants to run the functions set_rcvar, load_rc_config and run_rc_command requires the line . /etc/rc.subr. This line sucks in the file /etc/rc.subr and makes the missing functions available to your script. Noticed this today. In my case /usr/X11R6/etc/rc.d/xfs.sh was found guilty (xorg-fontserver). There's only . instead of . /etc/rc.subr If I'm reading changes[1] right it has been fixed about 3 hours ago. Regards, Karol [1]http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/xorg-fontserver/Makefile -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Server Panics Reboots
I think i'll start checking on the hardware and the memomry last since memtest shows no errors with the memory. Joseph On Tue, 25 Jan 2005, Lowell Gilbert wrote: Different thing triggering the reboots, and generally a signal 11? This is almost always some sort of hardware trouble, most often bad memory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipf rules for ftp server
On 25 Jan Erik Norgaard wrote: They are not right. # ftp server - ftp session pass in quick on rl0 proto tcp from any to 0/32 port = 21 flags S \ keep state # passive ftp-data pass in quick on rl0 proto tcp from any to 0/32 port 49151 flags S \ keep state # active ftp-data pass out quick on rl0 proto tcp from 0/32 port = 20 to any flags S \ keep state OK, thanks. It seems to work ;-) Now I can concentrate on ftp clients from inside the local network. People want to have ftp access from local clients. I think it's enough to add just one rule: pass out quick on rl0 proto tcp from any to any port = 21 flags S \ keep state I don't understand what the proxy rules mean, mentioned in the handbook in the chapter on ipf. I'm gonna google a little more on ipf ftp clients and maybe I have some luck :-) -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody) + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which bittorrent client
On Wed, 26 Jan 2005 03:48:21 -0500 Timothy Luoma [EMAIL PROTECTED] wrote: Ah, wonderful... I was hoping someone would ask this question. Since I'm running sans-X I was wondering what my options were. Tried ctorrent, but the UI was really confusing, and it didn't seem to upload (for me, I know it is supposed to). Checked out the webpage and it explained what the numbers meant (and even admitted it was confusing). It lacked (or seemed to lack) a timer saying how much time was left. I also noticed that it was hard to control the upload rate with ctorrent and of course, confusing to use. I tried the python client (btdownloadcurses.py) and it does a really decent job for a command-line utility. The upload rate did seem really high in comparison w/ the download rate. (I was uploading at 2x the download speed) If you enter btdownloadcurses.py on the command line with no arguments, you'll get a list of options, one of which is: --max_upload_rate arg maximum kB/s to upload at, 0 means no limit (defaults to 0) This works quite well for me. HTH, Randy Are there other non-X BT clients I should try? TjL -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.3 file system troubles
Is anybody besides *me* having file system corruption problems with FreeBSD 5.3? I've looked around on several of the mailing lists and found no men- tion of this. I have two different platforms on which I'm trying to run FreeBSD 5.3. One is an x86 SMP system (dual AMD Athlon 1900+) and the other is an Alpha DS-10. On the SMP system, doing anything I/O intensive (like a kernel build) quickly corrupts the file system - I start to encounter problems like being unable to remove entire directory trees because the system thinks that empty directories are not *really* empty and therefore cannot be deleted. Other problems occur, too. On the Alpha system, I'm trying to get Xorg to work, with no success. What normally happens is that the system locks up *totally* either when trying to configure X or when running the X server after configure generates a config file (I'm trying multiple versions of Xorg). The lockup means that I have to power-cycle the system to reboot. When I do this, the filesystem is *always* horribly damaged. I finally gave up when I couldn't even get into sh in single-abuser mode because /libexec/ld.so.1 was no longer there ... What I'm going to try next is pulling one CPU out of the SMP system to see if that helps. On the Alpha, I'm just going to give up on Xorg for a while. I'd hate to have to drop back to 4.10 or 4.11 ... If anyone has any suggestions, or even just sympathetic words, I'd be happy to hear them! Thanks. Terry R. Friedrichsen [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl and ports
* Gert Cuykens [EMAIL PROTECTED] [0137 23:37]: No i dont know anything about c++ or perl, ok i know what a class is :P For me is not realy about perl it self its about the way it get used as a tool to help build things. For me freebsd is build as a base that can handle everything designed for it. Like you said, you're not a developer, so no offence but you don't know what you're talking about. So if want to (install) buy a car and go to the (ports) shop i dont expect to bring my (perl) wrench to the (ports) shop . That's not what you're saying. you're asking the people who build your car not to use a wrench but their bare hands because you have something against wrenches for some reason. -- 'Some people, when confronted with a problem, think I know, I'll use regular expressions. Now they have two problems.' -- Jamie Zawinski Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
openoffice 2.0
hi, i was trying to compile oo 2.0-devel on fbsd5.3 but failed, here is what i got: Making: ../../unxfbsd.pro/bin/xhp_shared_en-US.zip rebuilding zipfiles -- cd ../../unxfbsd.pro/misc/en-US ; zip -u -r /tmp/mkMAiFMI.__en-US.zip text/shared/* -x *.dphh* -x *.hzip -x delzip -x *CVS* ../../unxfbsd.pro/misc/en-US: No such file or directory. cp -f /tmp/mkMAiFMI.__en-US.zip ../../unxfbsd.pro/bin/xhp_shared_en-US.zip cp: /tmp/mkMAiFMI.__en-US.zip: No such file or directory dmake: Error code 1, while making '../../unxfbsd.pro/bin/xhp_shared_en-US.zip' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared dmake: Error code 1, while making 'instsetoo_native/prj/build_all' '---* tg_merge.mk *---' *** Error code 255 looks like some spelling/dictionary/whatever is not there? isn't it supposed to download together with the entire package? thanks! = Best Regards, Tsu-Fan Cheng _ Do You Yahoo!? @yahoo.com @ http://chinese.mail.yahoo.com Get your free @yahoo.com address at http://chinese.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making music
Gert Cuykens Does freebsd has programs to make music ? like sonar or logic or fruityloops ? If you know tracking, cheesetracker seems to be nice. Mikko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl and ports
On Tue, Jan 25, 2005 at 11:59:54PM +0100, Gert Cuykens said: I am not a developer so i can not think for them i can only ask questions. I would not even ask them if the application itself would use it. Then i would accept it as part of a furniture. PS if you buy a new television do you still want the robotic arm of the factory standing next to it in your living room ? If you compile from the ports then the television factory is also your living room. If you don't want to install the tools required to build the ports themselves, then install your software from packages. That way all the building been done for you, and all the tools required to do that building have been left at the factory. The choice is yours. -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making music
On Wednesday 26 January 2005 7:59 am, Gert Cuykens wrote: Does freebsd has programs to make music ? like sonar or logic or fruityloops ? ___ I just found aube in the ports. It seems to be like AudoMulch or Fruityloops. I just installed it last night so I haven't played with it yet. I used Audacity to touch up and edit existing wave forms and record from line in source with it very good at. -- Rod If you stay the same long enough you'll be in style some day again. Cren Dog ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Jan 26, 2005, at 4:38 AM, cali wrote: I had (have?) several packages in the ports collection that needed updating, and recently someone in the list was talking about using portmanager -u to save on problems with updating; it doesn't touch the ports database, it won't mess up the collection, it walks dependencies automagically, etc...should be as easy as portmanager -u and letting it do it's magic, correct? I read the same thing, and thought I'd give it a shot. On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep recompiling xfree86-4-server. Is there a way to tell if it is stuck in a loop? I had to stop it yesterday after it had been upgrading for several hours. The same thing happened to me. Not sure where it was stuck but I was getting a distinct sense of deja-vu watching the output (I don't really mean deja-vu but I can't think of a better way to say it). I left it for 30 hours, and then cancelled it. I'm going to try and run it again today, I'd like to know also if it will eventually get out of the loop, i.e if it is really a loop or something different. sorry that this post doesn't really help the situation Actually the developer for portmanager contacted me about it. He asked for some logfiles, and I didn't think the list wanted a 300k zip file mass mailed so I was privately emailing him about the situation. He's looking into it and hoped to have a fix soon. He's been wonderful with response time to this error and I was glad to help with any logs or testing I could. He had hoped to have a fix in there soon, but I don't know if he found answers yet as to what caused the loop. -Bart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port newbie question
that did the trick! thanks, i was typing 'make configure' and not 'make config' On Jan 25, 2005, at 9:32 PM, John Koepke wrote: I think this is a simple thing to do and i need to be running apache13 with php. how can i clean this up and set up apache13 along with php4? is there an easy way to wipe out all traces of apache and php to start from scratch? thanks, ken; If I remeber correcly run make config that will allow you to access the options menu and remove the X near the Apache2 Then run make install clean and you shoud be good to go. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: set_rcvar load_rc_config run_rc_command: all not found
Yup!: Karol Kwiatkowski wrote: Christian Hiris wrote: On Wednesday 26 January 2005 05:45:05, Duane Winner wrote: Hello, I've just noticed (after spending the past two weeks testing 5.3-release), that I'm getting this on every boot and shutdown: Local package initialization:set_rcvar: not found load_rc_config: not found run_rc_command: not found Everything seems to be working fine, but I sure would like to know where those set_rcvar, load_rc_config and run_rc_command not found messages are coming from and why. This messages were sent by a script, which resides in one of your local startup directories. If you use the default local startup directories, then search the scripts under /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d for the variables that couldn't be found. The script that wants to run the functions set_rcvar, load_rc_config and run_rc_command requires the line . /etc/rc.subr. This line sucks in the file /etc/rc.subr and makes the missing functions available to your script. Noticed this today. In my case /usr/X11R6/etc/rc.d/xfs.sh was found guilty (xorg-fontserver). There's only . instead of . /etc/rc.subr If I'm reading changes[1] right it has been fixed about 3 hours ago. That was it...I just cvsup'ed my ports a few minutes ago and portupgraded xorg-fontserver, and the errors went away. Thanks, Duane Regards, Karol [1]http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/xorg-fontserver/Makefile ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bittorrent secure?
Hello, how secure is Bittorrent? How can one know how trustworthy the stuff downloaded from other Bittorrent fellows is? -Hanspeter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's on each FreeBSD 5.3 (i386) disc?
I want to install FreeBSD for the i386 architecture...there are 4 ISOs: 5.3-RELEASE-i386-bootonly.iso 5.3-RELEASE-i386-disc1.iso 5.3-RELEASE-i386-disc2.iso 5.3-RELEASE-i386-miniinst.iso a) If I just burn the disc1 ISO image to a CD is that enough for a standard install? Yes.It has the installer and binary packages for the system and some of the most popular ports. But, if you install over the net which you might want to do it you have a decent connection you only need to download and burn the miniinst.iso. It will do the complete install and it allows you to choose to load the sources and ports, etc via ftp. It works well for me. b) what's on disc 2 - ports? More stuff and a system runable from the CD boot (eg not just install). c) what is the 'bootonly' disc for? I haven't tried to use that one yet. It is fairly recent in the collection - maybe starting with 5.xxx. Maybe it is a new type of live system on CD. jerry thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Partition Size
Jerry McAllister wrote: This 'rest of the disk' should be divided up into chunks that can be dump(8)ed to one backup media if possible. Otherwise you will get sloppy and not do backups because it is harder. Since there is a What kind of nonsense is this? I've never heard about such an advise, and it doesn't make sense to me. Surely dumping a filesystem to multiple tapes isn't more, most likely less, effort than dumping n filesystems to one tape each. The only case this doesn't hold is when you're using amanda, but that's hardly a home setup, and comes with a special backup discipline anyways. Actually, I doubt that many people use tape backup at home, considering how outrageously expensive the stuff is, and the inexpensiveness of usb disks these days, which are a lot easier to handle than tapes. Just based on experience with a number of sites who use our systems. If it gets any more complicated than shoving in one tape and typing one command, they put it off and don't get around to it until it generally doesn't get done at all. Having to come back and put in another tape and respond to a prompt seems to be something that makes it too complicated. It is reasonably easy to create a script that will dump a series of file systems to single tapes by just having it ask which one to do each time.This seems to make more sense to some people, especially those without much experience (yet) in the process than keeping track of prompts to put in the next media unit. Of course a stacker is nice. But, the beginner is not likely to have that. If you have no problem plugging in a sequence of tapes and keeping track of them, then skip the chunking, for sure. Personally, I prefer to make a much bigger filesystem - even stripe more than one drive together - except I can't really afford much hardware for my personal use right now. Anyway, it doesn't seem all that complicated to me either. This is just experience with startups and harrassed site managers talking. If you are running a really big server system, then chunking disk space to fit backup media would really be a pain. But, then, someone running a really big system is likely to have enough experience to not be intimidated by multi-tape or DVD or whatever dumps and also would not be asking the questions that the poster did. Those people would have already worked out their stuff and probably are doing something like mirroring or raid 5-ing or running a continuous crawl backup process or whatever else they think up. And, if you aren't using tapes, well make it work out well for whatever you are doing. Mirrors are not infallible, but then neither are tapes. So, choose your poisen and hope the antidote works. jerry mkb. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS problem
On Tue, Jan 25, 2005 at 03:45:22PM +, ZaiD Dashti wrote: hello i have a problem with my DNS server. first, i have a registered domain name and i want to change its NS server to my server to host it in my home (just for learning about DNS) If you have a domain, you must setup at least two different DNS servers. Both must be on physically different networks. Are you sure that the domain is set up properly? I could dig from here, but since you didn't specify the domain... second (the problem), when i use nslookup from another computers in my local network, the dns server works fine, but when external connection (internet connection, let say my friend connection) tryies to use my dns server, i got error message DNS request timed out, why ? and how to solve it ? How long since you redirected the nameserver records from your registrar account? It can take up to 72 hours for the changes to propagate, depending on the TLD. Some TLD propagate changes much faster now, but it can still takes many hours all DNS caches to expire old stuff. NOTE: i have an ADSL account, which mean i'm using a router to connect to the internet, and i'm redirection all ports from the external connections to my machine ip, so that i'm able to open a server or to connect to my machine from anywhere. Running a DNS server from an ADSL link is not recommended. Are you sure that your ISP is not blocking port 53 to your fixed address? And are you sure that your DNS server is actually listening on the public interface at all (if you have a multi-homed host) a.k.a does sockstat -46l show something like *:53? thanks Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel info question
I'm about to recompile a kernel on a computer with an AMD K6-2 450 processor. Is the K6-2 an i586 or i686 CPU? Thanks, Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vesa,/i810, Dell gx270 and Intel 82865G Graphics
I'd be willing to try that. Forgive my ignorance and inexperience with X- but where would I set that? --- Oliver Leitner [EMAIL PROTECTED] wrote: Ok, this is a longshot... i kinda dont know this problem... but maybe, if you set your clockrate to something lower, its gonna work, look below for a list of your supported hz vs. supported resolutions... i have that info from your logfile pastings... Greetings Oliver Leitner Technical Staff http://www.shells.at On Tuesday 25 January 2005 00:55, Damian Sobieralski wrote: (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] (II) VESA(0): [EMAIL PROTECTED] -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Tuesday 25 January 2005 07:07 am, Bart Silverstrim wrote: I had (have?) several packages in the ports collection that needed updating, and recently someone in the list was talking about using portmanager -u to save on problems with updating; it doesn't touch the ports database, it won't mess up the collection, it walks dependencies automagically, etc...should be as easy as portmanager -u and letting it do it's magic, correct? On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep recompiling xfree86-4-server. Is there a way to tell if it is stuck in a loop? I had to stop it yesterday after it had been upgrading for several hours. Can someone take a look at this status output and tell me if I need to do something to get a successful portmanager run, or verify that letting it go will eventually untangle whatever it's doing? The portmanager -s shows: # portmanager -s - --- --- PMGRrStatus 0.2.4_0 info: Creating inital data bases - --- --- awk: cmd. line:1: fatal: cannot open file `/usr/local/etc/portmanager/pm-020.conf' for reading (No such file or directory) You exposed a bug here, I'll look into it today. Portmanager should abort if this file is missing. What it is supposed to do is copy /usr/local/etc/portmanager/pm-020.conf.SAMPLE to /usr/local/etc/portmanager/pm-020.conf when it is missing so I will have to fix this, for now will you please do it manually? [snip] OLD p5-Convert-TNEF-0.17 built with old dependency p5-Mail-Tools-1.64, current dependency is p5-Mail-Tools-1.65 OLD p5-Digest-MD5-2.33 built with old dependency p5-Digest-1.08, current dependency is p5-Digest-1.10 OLD mod_php3-3.0.18_4 built with old dependency apache-1.3.31_6, current dependency is apache-1.3.33_1 OLD tcplist-2.2_1 built with old dependency lsof-4.72.2, current dependency is lsof-4.74 OLD squidGuard-1.2.0_1 built with old dependency squid-2.5.7_1, current dependency is squid-2.5.7_8 - --- --- status report finished = === === After you copy /usr/local/etc/portmanager/pm-020.conf.SAMPLE to /usr/local/etc/portmanager/pm-020.conf I would like to see a couple of cycles of portmanager -u output if you don't mind. Just run assuming your shell is tcsh portmanager -u portmanager.log if bash then portmanager -u 21 portmanager.log then monitor it with tail -f portmanager.log I just need to see where the loop occurs. I've been planning to post a patch tonight anyways and if there is something here to be fixed I'd like to include it in the patch. Thank you. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ftpd
* Phillip Neumann [2005-01-21 00:36 -] 2) I dont understand permitions... i.e. lftp [EMAIL PROTECTED]:~ ls root-file -rw--- 1 rootwheel 0 Jan 22 19:12 root-file lftp [EMAIL PROTECTED]:~ mv root-file why_can_i_do_this rename successful I'm guessing that the directory in which the file resides is writable for the ftp-user. The user cannot read or write to the file itself, but it can read and write to the directory. That means that the user can delete and rename any file in that directory, but not copy (because that requires read-permissions). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port newbie question
On Tue, Jan 25, 2005 at 04:34:59PM -0500, Ken Hawkins wrote: thanks but no cigar on that one. I also have tried running make configure with no luck. I am at y wits end and am trying to find a way to wipe it and start over again! # make reconfig It's all explained in the ports(7) man page. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgpwSdrjrTjY0.pgp Description: PGP signature
Re: Partition Size
I'm sure that many will disagree, but if you don't want to worry about the partition sizes, don't. Just have two partitions, / and swap. I may have started a flame war, but for my small installs, it works just fine. John. - John F Hoover [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Finding the source of a sigill
I found this in the messages log when snort died: Jan 26 03:19:34 buttercup2 /kernel: pid 53186 (snort), uid 0: exited on signal 4 There was no core dump. Is there a way to figure out what the cause of the sigill was? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Partition Size
I'm sure that many will disagree, but if you don't want to worry about the partition sizes, don't. Just have two partitions, / and swap. Sure, that works. It is an especially viable way of doing it for small systems that won't be handling lots of file growth. But, there are reasons, especially on bigger systems for dividing things up. It makes dealing with some types of problems easier and heads off problems when some types of files grow unexpectedly. It can also help make backups easier to manage. I may have started a flame war, but for my small installs, it works just fine. No need for a flame war. There are reasons for doing it each way depending on your situation and needs. jerry John. - John F Hoover [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
One-line global string replace in all files with sed (or awk?)
A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Wednesday 26 January 2005 05:38 am, Bart Silverstrim wrote: On Jan 26, 2005, at 4:38 AM, cali wrote: I had (have?) several packages in the ports collection that needed updating, and recently someone in the list was talking about using portmanager -u to save on problems with updating; it doesn't touch the ports database, it won't mess up the collection, it walks dependencies automagically, etc...should be as easy as portmanager -u and letting it do it's magic, correct? I read the same thing, and thought I'd give it a shot. On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep recompiling xfree86-4-server. Is there a way to tell if it is stuck in a loop? I had to stop it yesterday after it had been upgrading for several hours. The same thing happened to me. Not sure where it was stuck but I was getting a distinct sense of deja-vu watching the output (I don't really mean deja-vu but I can't think of a better way to say it). I left it for 30 hours, and then cancelled it. I'm going to try and run it again today, I'd like to know also if it will eventually get out of the loop, i.e if it is really a loop or something different. sorry that this post doesn't really help the situation Actually the developer for portmanager contacted me about it. He asked for some logfiles, and I didn't think the list wanted a 300k zip file mass mailed so I was privately emailing him about the situation. He's looking into it and hoped to have a fix soon. He's been wonderful with response time to this error and I was glad to help with any logs or testing I could. He had hoped to have a fix in there soon, but I don't know if he found answers yet as to what caused the loop. -Bart Thanks Bart for your patience, this one required me to set up XFree86-4 on a FreeBSD 4.11 machine and back date all of the ports. So now I know that on December 1st, 2004 /usr/ports/graphics/xfree86-dri and /usr/ports/graphics/dri both existed and both report their name as dri-5.0.2,2 on that date. This caused portmanager to loop so I have duplicated the problem which means it can be fixed. I still need to move the ports forward to the current date before I have a certain fix but right now I think the quick work around will be to go into each of these directories (graphics/dri and graphics/xfree86-dri) and manually de-install them. Then let portmanager pull back in the correct one. That worked for the ports as they existed on December 1st, 2004 but I still need to verify it works for the current date. When I have a certain fix I'll post it here and cc everyone in this thread, and when I have a fix in portmanager so this won't happen again I'll cc everyone again. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Jan 26, 2005, at 10:40 AM, Michael C. Shultz wrote: Thanks Bart for your patience, this one required me to set up XFree86-4 on a FreeBSD 4.11 machine and back date all of the ports. Perfectly understandable and I thank you for the efforts you're going through to get portmanager updated so quickly. So now I know that on December 1st, 2004 /usr/ports/graphics/xfree86-dri and /usr/ports/graphics/dri both existed and both report their name as dri-5.0.2,2 on that date. This caused portmanager to loop so I have duplicated the problem which means it can be fixed. I still need to move the ports forward to the current date before I have a certain fix but right now I think the quick work around will be to go into each of these directories (graphics/dri and graphics/xfree86-dri) and manually de-install them. Then let portmanager pull back in the correct one. That worked for the ports as they existed on December 1st, 2004 but I still need to verify it works for the current date. So for a quick fix at the moment, I should just go into /usr/ports/graphics/dri and /usr/ports/graphics/xfree86-dri and run make deinstall, then run portmanager -u and it should install the proper version for the dependancies, correct? Thanks again! -Bart ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portmanager loop?
On Wednesday 26 January 2005 05:38 am, Bart Silverstrim wrote: On Jan 26, 2005, at 4:38 AM, cali wrote: I had (have?) several packages in the ports collection that needed updating, and recently someone in the list was talking about using portmanager -u to save on problems with updating; it doesn't touch the ports database, it won't mess up the collection, it walks dependencies automagically, etc...should be as easy as portmanager -u and letting it do it's magic, correct? I read the same thing, and thought I'd give it a shot. On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep recompiling xfree86-4-server. Is there a way to tell if it is stuck in a loop? I had to stop it yesterday after it had been upgrading for several hours. The same thing happened to me. Not sure where it was stuck but I was getting a distinct sense of deja-vu watching the output (I don't really mean deja-vu but I can't think of a better way to say it). I left it for 30 hours, and then cancelled it. I'm going to try and run it again today, I'd like to know also if it will eventually get out of the loop, i.e if it is really a loop or something different. sorry that this post doesn't really help the situation Actually the developer for portmanager contacted me about it. He asked for some logfiles, and I didn't think the list wanted a 300k zip file mass mailed so I was privately emailing him about the situation. He's looking into it and hoped to have a fix soon. He's been wonderful with response time to this error and I was glad to help with any logs or testing I could. He had hoped to have a fix in there soon, but I don't know if he found answers yet as to what caused the loop. -Bart Thanks Bart for your patience, this one required me to set up XFree86-4 on a FreeBSD 4.11 machine and back date all of the ports. So now I know that on December 1st, 2004 /usr/ports/graphics/xfree86-dri and /usr/ports/graphics/dri both existed and both report their name as dri-5.0.2,2 on that date. This caused portmanager to loop so I have duplicated the problem which means it can be fixed. I still need to move the ports forward to the current date before I have a certain fix but right now I think the quick work around will be to go into each of these directories (graphics/dri and graphics/xfree86-dri) and manually de-install them. Then let portmanager pull back in the correct one. That worked for the ports as they existed on December 1st, 2004 but I still need to verify it works for the current date. When I have a certain fix I'll post it here and cc everyone in this thread, and when I have a fix in portmanager so this won't happen again I'll cc everyone again. -Mike Did you receive the email I sent you from home last night regarding the issues I encountered? Apologies if you have replied to my home email address. I was in work early this morning, and haven't been able to check it. Mick Walker NAAFI Finance International ** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
Anthony Atkielski [EMAIL PROTECTED] writes: A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? You should be able to figure this out pretty quickly on your own from the manual, but I'll do your homework for you... find . -type f -exec sed -i -e s/e/E/g {} \; [changes every lower-case e to upper-case in all regular files in this directory and all directories below it] [There are several other ways to do it, too, in about the same amount of typing. In particular, using xargs(1) instead of -exec could make it run faster if you have large numbers of files.] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
On Wed, 26 Jan 2005 16:43:25 +0100 Anthony Atkielski [EMAIL PROTECTED] wrote: A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? How about something like this (sh style)... for i in `find . -type f`; do sed -i -e 's/string1/string2/g' $i; done Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 pgpnO8QlJaWIl.pgp Description: PGP signature
Re: One-line global string replace in all files with sed (or awk?)
A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? Check out tr(1). There are other ways, but for basic stuff, it is easy and fast. I use it often for stripping out the extra CRs from MSDOS files. Something like: tr -d \r dirtydos cleanunix does the trick. But it will do replaces and pretty much anything. Its syntax is a little different that regular expressions type (maybe a little easier actually) so read the man page. jerry -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Wednesday 26 January 2005 07:49 am, you wrote: On Jan 26, 2005, at 10:40 AM, Michael C. Shultz wrote: Thanks Bart for your patience, this one required me to set up XFree86-4 on a FreeBSD 4.11 machine and back date all of the ports. Perfectly understandable and I thank you for the efforts you're going through to get portmanager updated so quickly. So now I know that on December 1st, 2004 /usr/ports/graphics/xfree86-dri and /usr/ports/graphics/dri both existed and both report their name as dri-5.0.2,2 on that date. This caused portmanager to loop so I have duplicated the problem which means it can be fixed. I still need to move the ports forward to the current date before I have a certain fix but right now I think the quick work around will be to go into each of these directories (graphics/dri and graphics/xfree86-dri) and manually de-install them. Then let portmanager pull back in the correct one. That worked for the ports as they existed on December 1st, 2004 but I still need to verify it works for the current date. So for a quick fix at the moment, I should just go into /usr/ports/graphics/dri and /usr/ports/graphics/xfree86-dri and run make deinstall, then run portmanager -u and it should install the proper version for the dependancies, correct? That works on December 1st, I'm not certain about the current date yet. Further info, on December 1st /usr/ports/graphics/dri is the correct dri for XFree86-4. I have all of this running on a AMD450 so it is a bit slow, my guess is I'll have solid answers in about 4 hours and the quick fix will probably be to de-install graphics/xfree86-dri then run portmanager -u. Thanks again! Welcome -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xorg can't install
ibb# uname -a FreeBSD ibb.orac.bg 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Tue Jan 25 06:15:15 EET 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERN i386 ibb# make install clean === Installing for xorg-6.8.1 === xorg-6.8.1 depends on executable: xvinfo - found === xorg-6.8.1 depends on file: /usr/X11R6/share/doc/X11/ddx.txt - not found ===Verifying install for /usr/X11R6/share/doc/X11/ddx.txt in /usr/ports/x11/xorg-documents === Building for xorg-documents-6.8.1 making all in doc/specs/BDF... groff -Tps -ms /usr/ports/x11/xorg-documents/work/xc/doc/util/macros.t bdf.ms 2 index.raw bdf.nps mv -f bdf.nps bdf.ps *** Error code 1 (ignored) grops:standard input:4:fatal error: cannot create temporary file: No such file or directory *** Error code 1 Stop in /usr/ports/x11/xorg-documents/work/xc/doc/specs/BDF. *** Error code 1 Stop in /usr/ports/x11/xorg-documents/work/xc/doc/specs. *** Error code 1 Stop in /usr/ports/x11/xorg-documents. *** Error code 1 Stop in /usr/ports/x11/xorg. System is cvsup-ed today. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? Try this. Global search and replace, with backup: # find . -type f | xargs sed -i.bak s/oldtext/newtext/g -- Kids can get a free PlayStation 2! http://www.landoverbaptist.org/news0104/ps2.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running public IP's inside an RFC 1597 network
DP Hello, DP I'm running a typical Class C RFC 1597 network in my lab. What I want DP to do is create another network, accessible from my private addresses, DP that use public IPs. The public IPs exist in the wild but I want to have DP an isolated environment where I can test what happens in public space, in DP my lab, before I deploy changes. DP All the machines in question are running 5.3-STABLE. DP What I've setup so far are two test servers, host1 (H1) and host2 (H2) DP with public IPs, and a gateway (GW) machine with one public IP and one DP private IP. All three machines are on a switch, the gateway has two DP NICs, one on the public switch and one on the private switch. DP e.g., DPExternal IPInternal IP Defaultrouter IP DP - -- --- DP GW 123.456.789.1/24 10.20.30.40/24 10.20.30.1 DP H1 123.456.789.154/24 123.456.789.1 DP H2 123.456.789.161/24 123.456.789.1 DP I can ping between the 3 public IP's fine until I turn on the GW DP interface with the private IP. At that point, the GW cannot ping the DP two public servers. DP Obviously I'll need NAT'ing from the GW to H1 and H2 if I want packets DP from other hosts on my private network to see the public servers. DP What I can't figure out is how to tell my GW machine that packets DP destined for the 123.456.789.0/24 network are to go through my other DP NIC, not out through the GW's default router. DP I hope I've explained the situation clearly. Googling and reading the DP friendly manuals has not revealed a solution to me. - Can you provide the output of netstat -nr, please. Once before turning on the Internal NIC of the GW and once after that. Thank you Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding the source of a sigill
In the last episode (Jan 26), Paul Schmehl said: I found this in the messages log when snort died: Jan 26 03:19:34 buttercup2 /kernel: pid 53186 (snort), uid 0: exited on signal 4 There was no core dump. Is there a way to figure out what the cause of the sigill was? An illegal instruction :) No way to find out any more without a core file. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making music
What about a synth with a piano role who can simulate instruments and save it as a wave file for example ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB + palm setup
Hi .. On Tuesday 25 January 2005 22:49, Jonathan Chen wrote: On Tue, Jan 25, 2005 at 11:39:56AM -0800, [EMAIL PROTECTED] wrote: This create /dev/ucom0 on connection but with permissions 660, so pilot-link as a user fails. You have 2 choices. Either add the user in question to the 'dialer' group in /etc/group, or create an devfs rule (which I'm afraid I have no idea about - someone more knowlegable about this will have to add an answer). Thanks for the note. It is the devfs solution that I am looking for. I managed to find a Linux doc on the topic http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html Which may help. Regards, -- -mark. (probertm at acm dot org) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Wednesday 26 January 2005 08:27 am, you wrote: On Jan 26, 2005, at 11:07 AM, Michael C. Shultz wrote: That works on December 1st, I'm not certain about the current date yet. Further info, on December 1st /usr/ports/graphics/dri is the correct dri for XFree86-4. I have all of this running on a AMD450 so it is a bit slow, my guess is I'll have solid answers in about 4 hours and the quick fix will probably be to de-install graphics/xfree86-dri then run portmanager -u. I'm about to try it... I went into /usr/ports/graphics/xfree86-dri and ran make deinstall, it said that the package wasn't installed. I went into ../dri and ran make deinstall, it deinstalled dri-6.2_2,2 about to run portupgrade -u now... Cross yer' fingers! :-) -Bart Bart, here is what I think will happen based on what I see here, I think it will get past XFree-4-servers ok, but the next program that needs dri is going to bring the wrong one back in and so the looping will start on something else. If I were you I would hold off updating for now until I can give you a certain fix. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW: One-line global string replace in all files with sed (or awk?)
Well, shell lines may be quite long ;-) Do you mean something like this sed -Ee 's/search/replace/g' -i .BAK `find . -name '*.c' -type f` A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making music
this seems very nice http://beast.gtk.org anyone knows something better ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Banning ips for some time?
Christian, On Tue, 25 Jan 2005 you wrote: my servers sshd reports 30 to 50 failed root/operator/etc. logins a day. I would like to block the incoming ip for a few days automaticly after e.g failed login requests. Currently I am using ipf, but it would be no problem to use any other FreeBSD firewall. For peace of mind, you can always use the AllowGroups, AllowUsers, PermitRootLogin, options in sshd_config to remove ssh access to root, uucp, operator, and other system accounts. I only permit ssh access to user accounts. The scripts which are making these login attempts are not typically going to try user accounts for obvious reasons. If you need off-site root access you should be using su or sudo bash anyway. I would recommend always turning off root access via ssh. ...Sandy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need to get DarwinStreamingServer on 5.3R
Hi I'm trying to install DSS onto FreeBSD 5.3 The Port wants version 5.0.1.1_2 of the source code tarball, and it's no longer available from the Apple download site. The version in both ZIP and CVS available from the Apple site fails to compile. Any suggestions as to where I go next? Since I've already agreed to the APSL, can anyone send me a link to a mirror that still has the out-of-date 5.0.1 rather than 5.0.2 code tarball ? Mike === Michael Doyle email: [EMAIL PROTECTED] Network Administrator mobile: +353 87 235 7853 Co-operation Ireland http://www.cooperationireland.org/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 *** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
On Wednesday 26 January 2005 08:50 am, you wrote: On Jan 26, 2005, at 11:36 AM, Michael C. Shultz wrote: Bart, here is what I think will happen based on what I see here, I think it will get past XFree-4-servers ok, but the next program that needs dri is going to bring the wrong one back in and so the looping will start on something else. If I were you I would hold off updating for now until I can give you a certain fix. Is there an easy way to check what is depending on the dri? My system said it only had the one installed...most likely meaning that just dri is causing the looping (correct?). Or it is the two dri's having the same version reported? I have both currently off the system. At any rate it got past the first loop stage, and it managed to update a few more ports. If it starts with looping again, I won't be any worse off than I was before (hopefully); I'd kill the looping again when it isn't at a installing set of outputs and let you know where it stalled again. Thanks for the updates... -Bart OK, hope it works for you. wrapper-1.0_3 also has a dependency on dri. I can now verify this is how things are supposed to be as of today: mike@/usr/ports/x11-servers/XFree86-4-Servermake all-depends-list /usr/ports/graphics/xfree86-dri mike@/usr/ports/x11/wrappermake all-depends-list /usr/ports/graphics/xfree86-dri As long as you don't see /usr/ports/graphics/dri being built you will be OK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 file system troubles
On Wed, 26 Jan 2005 05:50:02 -0700 (MST), Terry R. Friedrichsen wrote: Is anybody besides *me* having file system corruption problems with FreeBSD 5.3? I've looked around on several of the mailing lists and found no men- tion of this. Not the same problem as you, but I've been getting frequent ffs panics with 5.3 that I never got with 5.2.1. I didn't know the actual error at first because I'm in X most of the time and they wouldn't appear there (system would simply lock up). It wasn't until I started trying to update some ports from console only that I caught the error. It only seems to happen during periods of intense disk activity (writes?). I have the actual error written down at home. It always causes an fsck mess upon starting up again, which makes me nervous. There's certain tasks I simply cannot do anymore because they're write-intensive and I know they'll trigger the panic. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl and ports
That's not what you're saying. you're asking the people who build your car not to use a wrench but their bare hands because you have something against wrenches for some reason. i have nothing against a wrenches If you compile from the ports then the television factory is also your living room. True, lets talk about the factory then The machinery would be /usr/src The resources would be /usr/ports Do you agree a wrench is not a resource ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portmanager loop?
To keep everyone informed, here is how portmanager's looping problem with XFree86 is going to be handled: portmanager version 0.2.4_1 Adding three strikes checking. When make is run on a port it gets 1 strike, if it's made a second time it gets 2 strikes and a warning will be printed, if it tries to build a 3rd time it gets marked as ignore and no more attempts will be made to build it. At the end of a portmanager -u run every port that was ignored and why it was ignored is listed. This change doesn't solve the problem, but makes it managable and I will have it posted before the day is over. portmanager version 0.2.5 When a port has a second strike placed against it, instead of getting its dependencies from /var/db/{portname}/+CONTENTS (which is very fast) the port's dependencies will be retrieved by running make all-depends-list in the port's directory (horribly slow) . I expect this to be a clean fix for the looping problem but may take a few days for codeing and testing before I can release this version. -Mike ps. Comments or other suggestions will be highly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openoffice 2.0
T.F. Cheng wrote: hi, i was trying to compile oo 2.0-devel on fbsd5.3 but failed, here is what i got: Making: ../../unxfbsd.pro/bin/xhp_shared_en-US.zip rebuilding zipfiles -- cd ../../unxfbsd.pro/misc/en-US ; zip -u -r /tmp/mkMAiFMI.__en-US.zip text/shared/* -x *.dphh* -x *.hzip -x delzip -x *CVS* ../../unxfbsd.pro/misc/en-US: No such file or directory. cp -f /tmp/mkMAiFMI.__en-US.zip ../../unxfbsd.pro/bin/xhp_shared_en-US.zip cp: /tmp/mkMAiFMI.__en-US.zip: No such file or directory dmake: Error code 1, while making '../../unxfbsd.pro/bin/xhp_shared_en-US.zip' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared dmake: Error code 1, while making 'instsetoo_native/prj/build_all' '---* tg_merge.mk *---' *** Error code 255 looks like some spelling/dictionary/whatever is not there? isn't it supposed to download together with the entire package? thanks! = Best Regards, Tsu-Fan Cheng _ Do You Yahoo!? @yahoo.com @ http://chinese.mail.yahoo.com Get your free @yahoo.com address at http://chinese.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I tried to compile OO.o 2 too, and I got the exact same error so I extracted the .zip file, that seems to solve the problem, but when continue compiling I get other errors I posted them here and on the freebsd-openoffice mailinglists but nobody seems to reply, this is the mail I sent: I am running FreeBSD 5.3-stable and updated my portstree yesterday then I tried compiling openoffice 2.0, everything is going fine until this point: /= Building project cli_ure = deliver -- version: 1.77 Statistics: Files copied: 0 Files unchanged/not matching: 7 = Building project bridges = /home/oo.o/work/bridges/unotypes - /home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel dmake: Error -- `../../../unxfbsd.pro/slb/cpp_uno_shared.lib' not found, and can't be made '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/oo.o/work/bridges/source/cpp_uno/gcc3_freebsd_intel dmake: Error code 1, while making 'instsetoo_native/prj/build_all' *** Error code 255 Stop in /home/oo.o. PC1# '---* tg_merge.mk *---' / it also gave an error about not being able to extract 'registry_en-US.zip' but I solved that by : bash-3.00# cd /home/oo.o/work/solver/680/unxfbsd.pro/xml/registry/spool/ bash-3.00# unzip /home/oo.o/work/officecfg/unxfbsd.pro/bin/registry_en-US.zip I copied /usr/ports/editors/openoffice-2.0-devel/ to /home because of a lack of free hard disk space on / by the way. I ran a locate on cpp_uno_shared but it couldn't find anything. Anyone an Idea what I should do to fix this ? Thanks Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X11 / keyboard emacs?
Well, I'm stumped. I can't figure out why, in FreeBSD (or at least the one I have running here) the keyboard mapping for editing all the text widgets (in X) is not using emacs keybindings. The only way I can get control-a and control-e, control-d etc, to work is if I run xfce4 and choose Emacs in the Keyboard settings. a peek at that file: /usr/X11R6/share/themes/Emacs/gtk-2.0-key/gtkrc shows me things like: # # Bindings for GtkTextView and GtkEntry # binding gtk-emacs-text-entry { bind ctrlb { move-cursor (logical-positions, -1, 0) } bind shiftctrlb { move-cursor (logical-positions, -1, 1) } bind ctrlf { move-cursor (logical-positions, 1, 0) } bind shiftctrlf { move-cursor (logical-positions, 1, 1) } // snip // What I don't understand is how to make that global. That is, applied to all Window Managers. If I run AfterStep or WindowMaker, these keyboard bindings do not apply and I can't figure out how to make them apply irrespective of the window manager currently running. :c( Help? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
On 2005-01-26 16:55, Miguel Mendez [EMAIL PROTECTED] wrote: On Wed, 26 Jan 2005 16:43:25 +0100 Anthony Atkielski [EMAIL PROTECTED] wrote: A few years ago, I'm sure I came across a one-line way of replacing every occurence of one string with another in an entire directory of files (potentially including all subdirectories as well). I think it used sed or awk. Now I can't find it. The examples on the Web are all multiline scripts or programs, but I'm sure I saw a way to do it all on just one line. Can anyone tell me how to do this? How about something like this (sh style)... for i in `find . -type f`; do sed -i -e 's/string1/string2/g' $i; done Nope. This will potentially overflow the command line limit of some shells and fail. The best way I know is to use find/xargs/sed: find . -type f | xargs sed -i '' -e 's/foo/bar/g' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enemy-Territory for Linux run Problem on FreeBSD 5.3 Release
I run ET on 5.2.1-RELEASE and didn't have to do anything else than installing nvidia-driver and downloading the game (linux version) Jorn Argelo wrote: On Tue, 25 Jan 2005 18:20:26 -0800, Derrick Ryalls wrote I am running FreeBSD 5.3 Release on a AMD Athlon 2800+ with Linux compatibility installed. I have just installed Linux-EnemyTerritory from ports and I tried to run it: ./et in /usr/compat/linux/usr/games/et . I then get this error message: ...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared object file: No such file or directory failed - CL_Shutdown - RE_Shutdown( 1 ) --- - CL_Shutdown - --- Sys_Error: GLimp_Init() - could not load OpenGL subsystem I have located libGL.so.1 in my /usr/X11R6/lib/ . I read the handbook page on Linux Compatibilty, however that didn't seem to help. Any assistance would be greatly appreciated. I'm not sure where it searches for its required libs. You can try making an symbolic link to /usr/compat/linux/usr/lib if it's not there. Or perhaps /usr/compat/linux/usr/local/lib. Jorn Can you run an OpenGL screen saver? I am guessing that OpenGL is not enabled for your video for whatever reason. You might check your config file. That doesn't matter too much AFAIK. I've been running Gentoo for quite a while, and I could run OpenGL screen savers without a problem, but once I started UT2004 or any other OpenGL app it said that it couldn't find the libs. And I don't think it's platform dependant. Correct me if I'm wrong, of course :) Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl and ports
Gert Cuykens wrote: True, lets talk about the factory then The machinery would be /usr/src The resources would be /usr/ports Do you agree a wrench is not a resource ? I think your analogies go astray because you don't fully understand the wide variety of uses Perl has. It used in many different contexts, like: It might be a robotic arm that arguably could/should be left behind, if and only if that is its sole function. It might be the wrench at the end of that arm, which surely might be useful in another context and you should probably keep on hand. It might also serve as the lug nuts that bind the wheels to your vehicle, which are surely inadvisable to remove. Each port that requires Perl is different. In the building/furntiture analogy, Perl might be a couch that you could remove if it was really in conflict with the room. It might be the paint brush that colors your walls and that might be useful when adding a new room to your house, so you should keep it. It might also be the hidden filler that makes your other couch so darn comfortable, which is surely inadvisable to try to remove. Try to gain a fuller understanding of the vast and varied usefulness of Perl before rejecting it or trying to classify it as being like something that you are more familiar with. re: Perl's removal from base. I read that with some concern when it was first discussed, but I see that the burden of building it from source over and over again is terribly cumbersome. If removal speeds development and testing, giving me more timely advances in FreeBSD features, at the cost of I have to portupgrade -[args] perl once in a while, I am A-OK with that. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion
All, With the recent release of 4.11 I thought that I would give it a spin and com pair my results with my previous testing. I was blown away by the performance difference between 4.11 and 5.3. Iostat showed a difference of over 30Mb/s difference between the two. In fact, it kept up or out performed fedora Core 3 with XFS in my testing. This seems to indicate that the 5.x branch may still needs allot of performance work. One of the interesting observations was that 4.11 utilized much more of the processor than 5.3. I hope that the changes in 5.4 will help close this gap considerably. Is there any specific components of the 5.3 that have been identified to cause this performance difference? Your feedback/thoughts on this are appreciated! --Nick On Mon, 24 Jan 2005 14:59:55 -0700, Nick Pavlica [EMAIL PROTECTED] wrote: All, I would like to start addressing some of the feedback that I have been given. I started this discussion because I felt that it was important to share the information I discovered in my testing. I also want to reiterate my earlier statement that this is not an X vs. X discussion, but an attempt to better understand the results, and hopefully look at ways of improving the results I had with FreeBSD 5.x. I'm also looking forward to seeing the improvements to the 5.x branch as it matures. I want to make it very clear that this is NOT A Religious/Engineering War, please don't try to turn it into one. That said, lets move on to something more productive. I installed both operating systems using as many default options as possible and updated them with all of the latest patches. I was logged in via SSH from my workstation while running the tests. I didn't have X, running on any of the installations because it wasn't need. CPU and RAM utilization wasn't an issue during any of the tests, but the disk I/O performance was dramatically different. Please keep in mind that I ran these tests over and over to see if I had consistent results. I even did the same tests on other pieces of equipment not listed in my notes that yielded the same results time and time again. Some have confirmed that they have had similar results in there testing using other testing tools and methods. This makes me wounder why the gap is so large, and how it can be improved? I think that it would be beneficial to have others in this group do similar testing and post there results. This may help those that are working on the OS itself to find trouble areas, and ways to improve them. It may also help clarify many of the response questions because you will be able to completely control the testing environment. I look forward to seeing the testing results, and any good feedback that helps identify specific tuning options, or bugs that need to be addressed. Thanks! --Nick Pavlica --Laramie, WY ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which bittorrent client
Are there other non-X BT clients I should try? I find bittornado (/usr/ports/net/py-bittornado) to suit my needs better than bittorrent's client. It's the cli version of shadow's bittorrent client (which is to say it has some more control) and I tend to run it in screen as btlaunchmanycurses.py. -- If I write a signature, my emails will appear more personalised. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern/71142; VESA 1024x768 @ the console
--- Ion-Mihai Tetcu [EMAIL PROTECTED] wrote: [ newbies really isn't the place for this discussion ] On Wed, 26 Jan 2005 09:42:41 -0800 (PST) Mervin McDougall [EMAIL PROTECTED] wrote: --- Nikolas Britton [EMAIL PROTECTED] wrote: Ion-Mihai Tetcu wrote: On Mon, 24 Jan 2005 23:42:47 -0600 Nikolas Britton [EMAIL PROTECTED] wrote: I got tired of having to patch by hand all the systems I wanted this patch on and all the systems I patched but then updated with cvsup so I made a simple batch script to do it for me, this script will do steps 1...9 (see below). all you have to do is paste it into a file and then run it as root (i.e. sh vesa-patch-script): Care to make it a port ? O should I do it for you put you as maintainer or me if you don't have the time to spare ? Make what a port, you mean that hack I called a script? lol, I guess it could be, never made a port b4, but it would have to be redone as I'd never sign my name to it. It has no error control except for a cascading failure if the patch doesn't download or untar and it should include the patch to fix the mouse error. I think a better idea might be to redo it into a real script and post it to the PR?: http://www.freebsd.org/cgi/query-pr.cgi?pr=71142 [ ... ] This would be a good addition for persons who do FreeBSD mobile. From what I see the PR has a responsible (delphij@, cc'ed) which makes me believe it would be merged into the tree eventually. Now as I didn't follow the discussion from the beginning does anyone know about a time frame for that ? The port is easy / not time consumming to do but maintaining it in the long run isn't so I would like to know if it will be merged in the near future. Or perhaps there should be an entire port for mobile FreeBSD, for persons who want applications and are using mobile computers... So it would include everything from the Vesa hack to say battery monitors and perhaps a little how to on how to tweak freebsd for laptops :) You're welcome to do it :) There are several battery monitors or applets for kde and gnome and a profiler for different environments . -- IOnut Unregistered ;) FreeBSD user I can not confirm as to whether it will eventually be merged into the tree but there was a PR that did prompt its creation. But when I followed the series of emails regarding the PR there really wasn't any mention of it being merged into the tree. So. I really can't say yes or no on that to be honest. __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: My FreeBSD Box's WEB serve sleeps?
if the clients visit http serve via internet at the first time after a long time(eg. one day),my box will delays for about serveral minutes,and then it works very well. You do not mention much about the server. Is it shared with other services? Is that the first person to hit the server in a day, or is that just the first time this person has hit the server in a day? If it is a shared system and that server is rarely hit, maybe the httpd processes are all getting swapped out. You might set up a cron job to request the home page once an hour just to make sure it is in memory when the next person calls. Or maybe it is a DNS problem. Are you hosting your own DNS records? After a day they may be out of date and if your DNS server is slow it could delay the system. You might test by having the person request the page by ip address instead (assuming it is not a shared server using virtual hosting). So... I think more information is needed. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing phpMyAdmin
Well, I wanted to remove phpMyAdmin from my 5.3 server. Usually I would just go to the port location under /usr/ports/ and type make deinstall. However, phpMyAdmin apparently isn't here anymore. I don't even know exactly where it should be be but judging by freebsd's website, it should be under /usr/ports/www/ but it's not. In fact a locate and find for phpMyAdmin turns up nothing in the /usr/ports/ directory, except under /usr/ports/distfiles which is, of course, not what I need. Has phpMyAdmin been removed or has an update of ports gone astray? Curtis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 file system troubles
I have been testing 5.3 (Standard Install/Default settings) and haven't had any file system corruption. However, the I/O performance results from my testing currently show that there is a major difference between 4.11 and 5.3 (4.11 is much faster!). I have a suspicion that these issues may be related to some core issues with 5.3 that need to cleared up. On Wed, 26 Jan 2005 05:50:02 -0700 (MST), Terry R. Friedrichsen [EMAIL PROTECTED] wrote: Is anybody besides *me* having file system corruption problems with FreeBSD 5.3? I've looked around on several of the mailing lists and found no men- tion of this. I have two different platforms on which I'm trying to run FreeBSD 5.3. One is an x86 SMP system (dual AMD Athlon 1900+) and the other is an Alpha DS-10. On the SMP system, doing anything I/O intensive (like a kernel build) quickly corrupts the file system - I start to encounter problems like being unable to remove entire directory trees because the system thinks that empty directories are not *really* empty and therefore cannot be deleted. Other problems occur, too. On the Alpha system, I'm trying to get Xorg to work, with no success. What normally happens is that the system locks up *totally* either when trying to configure X or when running the X server after configure generates a config file (I'm trying multiple versions of Xorg). The lockup means that I have to power-cycle the system to reboot. When I do this, the filesystem is *always* horribly damaged. I finally gave up when I couldn't even get into sh in single-abuser mode because /libexec/ld.so.1 was no longer there ... What I'm going to try next is pulling one CPU out of the SMP system to see if that helps. On the Alpha, I'm just going to give up on Xorg for a while. I'd hate to have to drop back to 4.10 or 4.11 ... If anyone has any suggestions, or even just sympathetic words, I'd be happy to hear them! Thanks. Terry R. Friedrichsen [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help with Allocating Disk Space
If you can put everything in the root partition. Then why would you want to seperate the partitions? --- Jerry McAllister [EMAIL PROTECTED] wrote: I was wondering if anyone could help me allocating a 1.5 gig hard drive. I worked on it a little bite, and came up with 150MB for /, 134MB for swap, 150MB for /var, 175MB for /tmp, and the rest goes to /usr. Well, if it works it is good. Nowdays, 1.5 GB is pretty tight for anything but a slimmed down system. I would like to optamize this a little more. I want to run KDE on the hard drive. Any help with this would greatly be appreceated, because I am installing it on an old Thinkpad (380D (( PI 175 Mghz)). This might be a situation where putting everything but swap in the root partition would be a reasonable idea.It would be difficult to know in advance where stuff will fit. KDE is kind of big and you will need X for it too. jerry = http://www.FreeMiniMacs.com/?r=14408439 = http://www.FreeMiniMacs.com/?r=14408439 __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Server Panics Reboots
Joseph, On Wed, 26 Jan 2005 you wrote: I think i'll start checking on the hardware and the memomry last since memtest shows no errors with the memory. Don't discount memory problems. Search the archives of this list for previous discussions about memory test programs. You will find that whereas a failed memory test implies bad memory, a successful memory test does not mean that the memory is good. Memory test programs are of limited utility. ...Sandy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re: FreeBSD 5.3 file system troubles
Thanks for responding to my inquiry. If it fits into your testing program, try running something that works the file system and simply turn off the system power in the middle of it. Twice, now, doing this on my Alpha has rendered the system unrecoverable at boot time, necessitating a reinstall. Terry [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mountroot
Hi all, My disk file system was crash sice while booting Mounting root from ufs:/dev/ad0s1a Root mount failed:6 Manual root filesystem specification: fstype:device Mount device using filesystem fstype eg. ufs:/dev/da0s1a ? List valid disk boot devices empty line Abort manual input mountroot How I can mount? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Mounting, client credentials too weak
On Wed, Jan 26, 2005 at 09:25:08AM +0100, Colin J. Raven wrote: On Jan 25 at 12:04, Kris Kennaway wrote: On Tue, Jan 25, 2005 at 12:39:59PM +0100, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? Try to mount as root, not a nonprivileged user. Unfortunately I ran into the same situation concerning the error message above. I *was* root when it happened. I thought perhaps the problem was that I was *su'd* to root, so I connected a monitor to the client, logged in *as* root then tried to mount the remote share (from my office server). Still the same result. To further complicate (or simplify) things, *both* machines are 5.3-RELEASE, and in fact the machines themselves are as close to clones of one another as you can get. I mention this because inconsistencies between local conditions on both machines thus becomes a non-issue. What two machines? Above you said one is a FreeSBIE-based 5.3 system and the other a 5.1 system. Kris pgpsqz3aFRdqm.pgp Description: PGP signature
Re: removing phpMyAdmin
Curtis Vaughan wrote: Well, I wanted to remove phpMyAdmin from my 5.3 server. Usually I would just go to the port location under /usr/ports/ and type make deinstall. However, phpMyAdmin apparently isn't here anymore. I don't even know exactly where it should be be but judging by freebsd's website, it should be under /usr/ports/www/ but it's not. In fact a locate and find for phpMyAdmin turns up nothing in the /usr/ports/ directory, except under /usr/ports/distfiles which is, of course, not what I need. Has phpMyAdmin been removed or has an update of ports gone astray? Curtis /usr/ports/databases/phpmyadmin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pb with portupgrade (segfault or cannot allocate memory)
On Wed, Jan 26, 2005 at 10:56:51AM +0100, Gregory Nou wrote: Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] /usr/ports/UPDATING Kris pgpNdM2IWeRXq.pgp Description: PGP signature
Re: openoffice 2.0
On Wed, Jan 26, 2005 at 09:18:08PM +0800, T.F. Cheng wrote: hi, i was trying to compile oo 2.0-devel on fbsd5.3 but failed, here is what i got: This port is work-in-progress and not expected to build yet. Kris pgpXi0XxNBzhq.pgp Description: PGP signature
Re: FreeBSD 5.3 file system troubles
That same thought ran thought my mind when I was testing. I started a process that does heavy writing and literally pulled the plug during the middle of the operation. I plugged it back in and the box came back up without a hitch. I did all my testing on x86 boxes using SCSI and IDE drives. I currently don't have access to any Alpha boxes to test on them. I'm not a big fan of Alpha, but the DS10 has always been a great workhorse in my experience. Is the firmware etc up to date on that box? --Nick On Wed, 26 Jan 2005 12:42:47 -0700 (MST), Terry R. Friedrichsen [EMAIL PROTECTED] wrote: Thanks for responding to my inquiry. If it fits into your testing program, try running something that works the file system and simply turn off the system power in the middle of it. Twice, now, doing this on my Alpha has rendered the system unrecoverable at boot time, necessitating a reinstall. Terry [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Persistent kernel module?
On Tue, Jan 25, 2005 at 10:45:31AM -0500, Tim Buck wrote: Is there a way to make a kernel module persistent between kernel builds? I'm using a HighPoint SATA RAID controller on FreeBSD 5.3. HighPoint provides a driver for this controller in the form of a kernel module (hpt374.ko). Their instructions say to put the module in /boot/kernel, and add 'hpt374_load=YES' to the file /boot/defaults/loader.conf. This works, but when I build a new kernel the /boot/kernel dir gets renamed and recreated, and the hpt374.ko module doesn't get copied to the new dir. I have to copy it manually each time I build the kernel. So is there a way to make the kernel build process know about third party kernel modules and copy it over to the new /boot/kernel automatically? This is somewhat intentional; if you update your kernel source and recompile the kernel without recompiling the module, there's a good chance your kernel will panic when you try and use it. If you're not planning to update your kernel sources but just want to recompile the kernel with different options, there are other directories that are checked for module loading - see the loader.conf manpage. Kris pgp6KN3XGP6sZ.pgp Description: PGP signature
Re: FreeBSD 5.3 file system troubles
On Wed, Jan 26, 2005 at 05:50:02AM -0700, Terry R. Friedrichsen wrote: Is anybody besides *me* having file system corruption problems with FreeBSD 5.3? I've looked around on several of the mailing lists and found no men- tion of this. I have two different platforms on which I'm trying to run FreeBSD 5.3. One is an x86 SMP system (dual AMD Athlon 1900+) and the other is an Alpha DS-10. On the SMP system, doing anything I/O intensive (like a kernel build) quickly corrupts the file system - I start to encounter problems like being unable to remove entire directory trees because the system thinks that empty directories are not *really* empty and therefore cannot be deleted. Other problems occur, too. Drop to single-user mode and run fsck -fy. Sometimes fsck will fail to detect disk corruption at boot time and it will cause problems later on. On the Alpha system, I'm trying to get Xorg to work, with no success. It's quite possible no-one else has tested this. alpha is no longer a tier-1 architecture because of lack of developer interest. Kris pgpW0vf0zfoSi.pgp Description: PGP signature
Scan TCP/IP traffic for viruses
Dear all, I am currently looking for an application that can check the TCP/IP traffic on my freeBSD server and detect viruses on download file or peer to peer traffic (ie: bittorent, emule). I would like to know if this type of application are present in the freebsd ported application. I found the application avast + dazuko. But these application are not present into your section ported application. Could you give me your advice. Thanks in advance Regards Vincent - Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 file system troubles
On Wed, Jan 26, 2005 at 12:42:47PM -0700, Terry R. Friedrichsen wrote: Thanks for responding to my inquiry. If it fits into your testing program, try running something that works the file system and simply turn off the system power in the middle of it. This is expected if you don't turn off write caching of the hard disks. It breaks the softupdates consistency model because data written to the disk may not actually be written to the disk, so it's not there following an unexpected power cycle. Unfortunately write caching causes a performance hit, and there was a large user backlash when it was briefly enabled by default some years ago. Kris pgpasGjQM9UXz.pgp Description: PGP signature
Re: NFS Mounting, client credentials too weak
On Tuesday 25 January 2005 03:39 am, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? I see this thread hasn't died yet and I found the link where I was able to solve the problem when it happened to me, not sure if it will help you but it can't hurt so here it is: http://www.freebsddiary.org/nfs.php -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Keyboard Problem
On Tuesday 25 January 2005 12:20, milan nankov wrote: Hello, I have a problem with my usb keyboard when I try to install Freebsd 5.3. It is very strange because the keyboard is working at the boot screen (where the different booting options are listed) but when the booting process launches the sysinstall the keybord is not working. The strange thing is that the keyboard is responding - for example when I hit numlock the light for numlock is respondig? Do you have any ideas what the problem is? Tnx in advance. Best, Milan Nankov This is because the kernel doesn't know to use the USB keyboard. My fix was to find a PS/2 keyboard, install FreeBSD and set it up to use a USB keyboard, then throw out the PS/2 keyboard. -- /Xian There are 10 types of people - those who understand binary, and those who do not Unknown Author ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Scan TCP/IP traffic for viruses
Vincent BRAY wrote: [ ...please wrap lines at 80 columns... ] I am currently looking for an application that can check the TCP/IP traffic on my freeBSD server and detect viruses on download file or peer to peer traffic (ie: bittorent, emule). [ ... ] I found the application avast + dazuko. I believe the latter is an optional part of: /usr/ports/security/clamav ...and ClamAV makes a fine virus scanner for downloaded files and can be used from other services for email scanning (cf amavisd). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion
At 01:47 PM 26/01/2005, Nick Pavlica wrote: All, With the recent release of 4.11 I thought that I would give it a Yes, I found the same thing basically. My test box is a P4 3Ghz with 2G of RAM on a 3ware 8605 controller with 4 drives in RAID5. Virtually every test I did with iozone* showed a difference anywhere from 10-40% in favor of RELENG_4. Note, this is a 2G RAM machine hence the odd result for the 1.5G test ---Sequential Output ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 41500 37673 23.7 37848 6.6 40784 7.7 97064 99.8 1174906 99.4 89867.4 99.6 43000 38492 24.6 38753 7.0 18396 4.1 80355 86.0 92051 9.9 605.1 1.0 51500 31226 23.0 34529 7.9 36444 8.9 110295 99.8 983156 92.5 27388.8 99.6 53000 33820 26.1 34309 8.3 13339 3.7 59807 56.8 68059 9.8 330.8 0.9 And a local postmark test. RELENG_4 and RELENG_5 pmset size 300 10 pmset location /card0-a pmset transactions 40 pmrun Creating files...Done Performing transactions..Done Deleting files...Done Time: 1219 seconds total 1219 seconds of transactions (328 per second) Files: 200107 created (164 per second) Creation alone: 500 files (500 per second) Mixed with transactions: 199607 files (163 per second) 199905 read (163 per second) 199384 appended (163 per second) 200107 deleted (164 per second) Deletion alone: 889 files (889 per second) Mixed with transactions: 199218 files (163 per second) Data: 12715.55 megabytes read (10.43 megabytes per second) 12728.92 megabytes written (10.44 megabytes per second) pm pmset size 300 10 pmset location /card0-a pmset transactions 40 pmrun Creating files...Done Performing transactions..Done Deleting files...Done Time: 2824 seconds total 2822 seconds of transactions (141 per second) Files: 200107 created (70 per second) Creation alone: 500 files (500 per second) Mixed with transactions: 199607 files (70 per second) 199905 read (70 per second) 199384 appended (70 per second) 200107 deleted (70 per second) Deletion alone: 889 files (889 per second) Mixed with transactions: 199218 files (70 per second) Data: 12715.55 megabytes read (4.50 megabytes per second) 12728.92 megabytes written (4.51 megabytes per second) pm *I have the iozone results in 2 .xls files if anyone wants to see them at http://www.tancsa.com/iozone-r5vsr4.zip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mDNS, daapd iTunes etc
I am trying to get mDNSResponder and daapd running on my FreeBSD 5.3 server. I tried the instructions in this previous post. http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/ 070463.html There seem to be three (or four or five?) ports that refer to mDNS. 1. mdnsd 2. mDNSResponder 3. p5-Net-Rendezvous there are also 4. Howl 5. gmdns On the advice of the post mentioned above, I installed p5-Net-Rendezvous but then looked in vain for /usr/local/bin/mDNSResponder So which should I use and how do I configure it? Alan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mDNS, daapd iTunes etc
I am trying to get mDNSResponder and daapd running on my FreeBSD 5.3 server. I tried the instructions in this previous post. http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/ 070463.html There seem to be three (or four or five?) ports that refer to mDNS. 1. mdnsd 2. mDNSResponder 3. p5-Net-Rendezvous there are also 4. Howl 5. gmdns On the advice of the post mentioned above, I installed p5-Net-Rendezvous but then looked in vain for /usr/local/bin/mDNSResponder So which should I use and how do I configure it? Alan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Mounting, client credentials too weak
On 2005-01-26 Kris Kennaway wrote: On Wed, Jan 26, 2005 at 09:25:08AM +0100, Colin J. Raven wrote: On Jan 25 at 12:04, Kris Kennaway wrote: On Tue, Jan 25, 2005 at 12:39:59PM +0100, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? Try to mount as root, not a nonprivileged user. Unfortunately I ran into the same situation concerning the error message above. I *was* root when it happened. I thought perhaps the problem was that I was *su'd* to root, so I connected a monitor to the client, logged in *as* root then tried to mount the remote share (from my office server). Still the same result. To further complicate (or simplify) things, *both* machines are 5.3-RELEASE, and in fact the machines themselves are as close to clones of one another as you can get. I mention this because inconsistencies between local conditions on both machines thus becomes a non-issue. What two machines? Above you said one is a FreeSBIE-based 5.3 system and the other a 5.1 system. I am me and me is Joachim. Colin is Colin and never shall their system be mixed up. I was the guy with freesbie (5.3) and server (5.1) Colin is behind the 5.3-5.3 problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Mounting, client credentials too weak
On Wed, Jan 26, 2005 at 09:40:58PM +0100, Joachim Dagerot wrote: On 2005-01-26 Kris Kennaway wrote: On Wed, Jan 26, 2005 at 09:25:08AM +0100, Colin J. Raven wrote: On Jan 25 at 12:04, Kris Kennaway wrote: On Tue, Jan 25, 2005 at 12:39:59PM +0100, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? Try to mount as root, not a nonprivileged user. Unfortunately I ran into the same situation concerning the error message above. I *was* root when it happened. I thought perhaps the problem was that I was *su'd* to root, so I connected a monitor to the client, logged in *as* root then tried to mount the remote share (from my office server). Still the same result. To further complicate (or simplify) things, *both* machines are 5.3-RELEASE, and in fact the machines themselves are as close to clones of one another as you can get. I mention this because inconsistencies between local conditions on both machines thus becomes a non-issue. What two machines? Above you said one is a FreeSBIE-based 5.3 system and the other a 5.1 system. I am me and me is Joachim. Colin is Colin and never shall their system be mixed up. OK, thanks for clarifying :-) Are you running the full set of nfs daemons on client and server (nfs_server_enable/nfs_client_enable in rc.conf)? Kris pgpdVPZoPYJbG.pgp Description: PGP signature
Re: openoffice 2.0
On Wed, 2005-01-26 at 11:57 -0800, Kris Kennaway wrote: On Wed, Jan 26, 2005 at 09:18:08PM +0800, T.F. Cheng wrote: hi, i was trying to compile oo 2.0-devel on fbsd5.3 but failed, here is what i got: This port is work-in-progress and not expected to build yet. Kris FWIW, it's been building just fine for me since m71. Also runs quite snappily and has been very stable. Only problem has been a crash in bsdtar during the extract stage. I solved that by running the extract and watching TV during it. Having the machine idle seems to solve the problem for some reason. The failure does look to be something familiar though. I believe I had a similar failure once or twice with OpenOffice-1.1. I just did a `make clean' and started it again. I usually chalk it up in the same category as the mysterious jdk14 failure I get once in a blue moon. Try cleaning and running the build again. If you're in a hurry, just grab the package here: http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ooomisc/FreeBSD/ Tom -- BSD# Project - Porting Mono to FreeBSD http://forge.novell.com/modules/xfmod/project/?bsd-sharp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISDN connection problems
Norbert Koch wrote: What ppp are you using: kernel, userland or netgraph-based? Can you post your isdnd.rc, ppp.conf, kernel conf? I login as normal user, enter ppp and type dial ... to open the internet connection. This is userland ppp I think. ppp.conf default: set cd 180 set log Phase Chat LCP IPCP CCP tun command set device /dev/i4brbch0 /dev/i4brbch1 set dial set hangup set login set proctitle ppp-isdn set speed sync nat enable yes nat log yes arcor: set phone 010700192076 set authname arcor set authkey x set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR set timeout 180 set filter in 0 deny any any tcp dst eq 22 set filter in 1 deny any any udp dst eq 137 set filter in 2 deny any any udp dst eq 138 set filter in 3 deny any any tcp dst eq 139 set filter in 4 deny any any udp dst eq 514 set filter in 5 deny any any tcp dst eq 3128 set filter in 6 permit any any all set filter out 0 deny 192.168.1.0/24 any tcp dst eq 80 set filter out 1 permit any any all allow users stefan isdnd.rc #== # SYSTEM section: isdnd global configuration parameters #== system # accounting # -- acctall = on# generate info for everything acctfile= /var/log/isdnd.acct # name location of accounting file useacctfile = yes # generate accouting info to file # monitor # --- monitor-allowed = no# global switch: monitor on/off monitor-port= 451 # default monitor TCP port # Monitor rights are granted due to the most specific host/net spec, i.e. in # the example below host 192.168.1.2 will have the rights specified on that # line, even so it belongs to net 192.168.1.0/24 as well. # # A monitor specification may either be: # # - the name of a local (UNIX-domain) socket; this MUST start with a / monitor = /var/run/isdn-monitor monitor-access = fullcmd monitor-access = channelstate, logevents monitor-access = callin, callout # # - a dotted-quad host spec monitor = 192.168.1.2 monitor-access = restrictedcmd, channelstate, callin, callout # # - a dotted-quad net spec with /len (CIDR-style) netmask spec monitor = 192.168.1.0/24 monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable host name #monitor= rumolt monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable net name with /len netmask (s.a.) appended monitor = up-vision-net/24 monitor-access = restrictedcmd, channelstate, callin, callout # regular expression pattern matching # --- #regexpr= connected.*XXX # look for matches in log messages #regprog= connectXXX# execute program when match is found regexpr = unknown incoming call from regprog = unknown_incoming # execute program whan match is found # realtime priority section # - rtprio = 25# modify isdnd's process priority #== # entry section: IP over ISDN example - i call back the remote end #== entry name= I4BPPP# name for reference. This name will # be used in the logfile to identfy # this entry. # the network or telephone device # the data traffic should be routed to: usrdevicename = rbch # ipr, isp, tel, rbch usrdeviceunit = 0 # unit number # the ISDN controller number to be # used for this entry: isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1# channel (1/2) to use or 0 or -1 for any # incoming only, outgoing only or both: direction = out # in, out, inout # numbers used to verify a DIAL IN: local-phone-incoming= 994362# this is my number remote-phone-incoming = 0123456789# this one can call in # numbers used at DIAL OUT time: local-phone-dialout = 994362# this is my number remote-phone-dialout= 0123456789# i call this remote number # in case i have several remote # telephone numbers specified, this
Re: NFS Mounting, client credentials too weak
On 2005-01-26 Kris Kennaway wrote: On Wed, Jan 26, 2005 at 09:40:58PM +0100, Joachim Dagerot wrote: On 2005-01-26 Kris Kennaway wrote: On Wed, Jan 26, 2005 at 09:25:08AM +0100, Colin J. Raven wrote: On Jan 25 at 12:04, Kris Kennaway wrote: On Tue, Jan 25, 2005 at 12:39:59PM +0100, Joachim Dagerot wrote: I'm trying to mount from a freeSBIE system (freeBSD 5.3) to my freeBSD server (5.1) when I get the errormessage: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak. What can I do? Try to mount as root, not a nonprivileged user. Unfortunately I ran into the same situation concerning the error message above. I *was* root when it happened. I thought perhaps the problem was that I was *su'd* to root, so I connected a monitor to the client, logged in *as* root then tried to mount the remote share (from my office server). Still the same result. To further complicate (or simplify) things, *both* machines are 5.3-RELEASE, and in fact the machines themselves are as close to clones of one another as you can get. I mention this because inconsistencies between local conditions on both machines thus becomes a non-issue. What two machines? Above you said one is a FreeSBIE-based 5.3 system and the other a 5.1 system. I am me and me is Joachim. Colin is Colin and never shall their system be mixed up. OK, thanks for clarifying :-) Are you running the full set of nfs daemons on client and server (nfs_server_enable/nfs_client_enable in rc.conf)? My problem is solved, well - I can mount as root, just as you described. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Burning CDRs on DVD recorders
I recently upgraded my CD burner to a DVD burner. I have the ATAPI/CAM options built-in to my 5.3 kernel and can burn DVDs with growisofs. How should I burn CDs in the DVD drive? Should I use growisofs with /dev/cd0 or should I used burncd with /dev/acd0, or will either work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Burning CDRs on DVD recorders
RW wrote: How should I burn CDs in the DVD drive? Should I use growisofs with /dev/cd0 or should I used burncd with /dev/acd0, or will either work? If you're able to burn DVD's okay now, it would probably make sense to stick with growisofs, but either one should work fine. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Finding the source of a sigill
--On Wednesday, January 26, 2005 10:33:51 AM -0600 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jan 26), Paul Schmehl said: I found this in the messages log when snort died: Jan 26 03:19:34 buttercup2 /kernel: pid 53186 (snort), uid 0: exited on signal 4 There was no core dump. Is there a way to figure out what the cause of the sigill was? An illegal instruction :) No way to find out any more without a core file. Any way of knowing why sigill didn't produce a core file? (It does when make fails.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]