Re: Need bsd make for AIX
On 09/16/10 20:34, Ivan Voras wrote: On 09/16/10 08:58, srividy...@tcs.com wrote: Hi Is there any BSD make versions available for AIX platform? We require the make utility of BSD to compile few source programs. Is there any make utility compatible with AIX? Could you please give us the URL where we can get the same? FreeBSD's make is an integral part of the FreeBSD file system. It is not created to be compatible across systems, but it is also not created to prevent this kind of porting. Wow. I disagree. It's been modified over the years to depend heavily on a set of libraries that are available nowhere else but FreeBSD. This was done (from what I can see) in the name of elegance ... because the actual functions ARE available elsewhere, but a bunch of modifications need to be added, no possible way is it going to compile anywhere else. I ported it a few years ago to Linux, so I know it can be moved, but it's not a trivial job. Too bad, because it's a fine tool, and all those mods added no functionality that I can see. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: BSD logo (a moderate opinion)
Dale Scott wrote: Personally, I enjoy our mascot Beastie, as well as the Beastie-influenced official logo. I also smile when I see Casper, Wendy andHotStuff. However, I also accept there are individuals who understand these symbols differently than me, and that I may be alienating them to my detriment. It seems consumer products need to be mindful of cultural differences, is FreeBSD different? A larger community and increased OS market share wouldn't be all that bad, would it? I hope that those of you who believe in FreeBSD but with a personal conflict with the mascot or logo, band together and propose a complementary alternate symbol. I don't mean flooding the mail list (it's obvious we can do that on our own), I'm talking about difficult time-consuming organization, lobbying, and support gathering. For me, I hope Beastie endures forever - he our first and legacy mascot - but I also wouldn't object to one or two more officially sanctioned mascots and logos either. Dale Scott God, I rewrote this 4 times, because I need to be careful and correct here. First, there is no honest reason why people of differing opinions can't get along. If others have problems with me having my own beliefs, I won't force them to live my way, but they must respect my own choices too. The major point here, though, is a historical one: appeasement does not work, and even the attempt leads to problems. The point is, no sane person really believes that Beastie equates to devil worship, and I don't like the idea of letting crazies dictate my life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: which java on 8-release
Rob Farmer wrote: On Thu, Feb 4, 2010 at 4:25 PM, Steve Franks bahamasfra...@gmail.com wrote: Hi, Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1 and gave up. I see still no diablo for 8. What is the best way forward (and how am I so dense that no one else has even asked this question, I must be on the wrong track, no?) I saw a few posts about having to install diablo in order to build openjdk, so that's out too...what is the 'magic' port that people use? I just want to run all the apps that need java, I don't plan to write any java on my own. Diablo should work on 8 with the misc/compat7x port - I'm running diablo-jdk16 on -current without any problems. Why are you insisting on diablo? The jdk16 port (which is the Sun version of Java) is so stable that it's unreal, and builds trivially easy. It works so perfectly that you really *ought to* use it to build the 3.5 version of eclipse. Using eclipse for Java, C, or Python is so good that nothing else makes sense. Probably others too, but I use it for python, C, and Java. If you think that eclipse is merely another editor, stand by for a shock. I use the $15 vi/eclipse plugin, so I have a interface that looks much (command-wise) like vim. I really don't buy software too often, but geeze, this is just too good to pass up. It's the fact that FreeBSD's native jdk1.6 is solid beyond all expectations that makes eclipse available. I've been running it from FreeBSD-current, starting java back at 8.0. I've actually been running FreeBSD-current for, I dunno, since last millenium? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
X11/freebsd problem
I have this problem with my built-under-freebsd-current Xorg, it gives me this following sort of error everytime it starts up: (pts/2):{14}% Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Usually, that 2nd line shows up 6 to 12 times, I trimmed the repetitions for brevity. Anyone got any idea what this sort of error is? If it isn't a fairly common sort of error, I think I'll hunt to see if maybe there's an Xorg mailing list I could use. I think that the error originated during the period when I was writing a X11 graphical tablet driver, but it never (until now) seemed to actually get it the way. The version of X I was using is completely gone now, and when I found out that the cut-rate graphical tablet itself was too defective to give me a good basis for the driver, well, the driver is history now too (except for all the stuff I learned, very useful!) Thanks. This all came up as I've been searching for a sound player with a good GUI, and that's what triggered the error this time (the audacious port). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: this may be impossible: iis there a way to play streams on our firefox?
Mike Clarke wrote: On Thursday 04 February 2010, Adam Vande More wrote: On Wed, Feb 3, 2010 at 7:29 PM, Gary Kline kl...@thought.org wrote: Is there a way of streaming stuff like old tv shows, the bbc-player, and pbs steams on the freebsd version of firefox35? thought i'd give it a last try since everything is upgraded on my desktop. /usr/ports/www/linux-f10-flashplugin10 Is it just me or is the flash plugin still not fully functional? I'm running Firefox 3.5.7 with linux-f10-flashplugin-10.0r42 on 8.0-RELEASE-p2, some flash videos work but many fail. For example BBC iplayer always comes up with a message This content doesn't seem to be working. Try again later superimposed over a still image of the start of the video. YouTube videos play but without any sound. I've been using gnash with firefox, *everything* doesn't play, but the majority does. I really don't like being forced to use Linux things, and it seems that gnash nicely gets that accomplished. Note that the gnash install, right out of the port, it's broken, so read up on drivers, and *replace* (not add to) your current flash player with gnash. I found that if you enter about:plugins directly into the URL entry box on firefox, you got a whole lot of very useful info about the current state of firefox plugins. It'll tell you if there are other flash plugins which need search destroy. What you have to do is to make softlinks, but where, exactly, that's stretching my firefox knowledge. I personally, did get lucky. Maybe I should say that someone on the freebsd lists pointed me at the about:plugins, but I actually first thought it was some web page, so I had to flop about like a fish out of water for a little while. It's a html page, yes, but built directly, dynamically, by firefox. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New user - small file server questions and quick GUI question
Adam Vande More wrote: On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com wrote: Hi guys, I attempted an install of 7.2 stable on my laptop and subsequently installed X11also. Now I didn't have any Xorg.conf file but each time I tried to start X from the CLI using the normal startx command (read the documentation through fully beforehand) but I didn't manage to get the mouse or keyboard to even work let alone starting the Gnome2 interface. Running with no xorg.conf is fine, but you need to make sure dbus and hal are started at boot. Follow the handbook for best results. http://www.freebsd.org/doc/en/books/handbook/x-config.html I don't know if I'd be too happy to agree on that ... while the answer IS correctfrom a narrow point of view, the documentation on both dbus and hal is very, VERY thin on the ground (and what exists is for Linux only), so if the setup programmed into the port isn't right for your particular FreeBSD machine, you can pretty much forget about getting enough info to fix things. Realize that both hal and dbus were written for Linux (not a particularly portable thing), and it was only because of FreeBSD porters that it works at all under FreeBSD, so the docs that come with them understand Linux only. You can't even find out how to fix the config files for FreeBSD. Trying to fix even the most minor problem is really climbing mountains. Much, much easier to fix up an xorg.conf, which is not only well documented, but has tools to generate you a good local setup for your particular machine. If dbus/hal happen to work for you right out of the FreeBSD port, well, that's great, but if you need to adapt things for use outside of Linux, good luck, fella. The folks who wrote our FreeBSD dbus and hal implementations did a good job of translating things which are VERY Linux-centric to FreeBSD, but it's still only really good for a default FreeBSD setup. I know that it didn't work for anything but a thin slice of default environments, in the FreeBSD-7.x release era. Some day, if when the Linux developers are ready to admit there are other OSes and document things more portably, both tools are really, really fine ideas. Maybe ask again in 6 months to a year? Or, get ready to read a lot of source code and figure it out for yourself. Right now looking at what email I can find on the web regarding running hal dbus on 7.2, no one else can find an easy fund of knowledge either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade failure
Glen Barber wrote: Hi, On Wed, Dec 16, 2009 at 11:19 PM, Warren Block wbl...@wonkity.com wrote: On Wed, 16 Dec 2009, Kevin wrote: [...] The only other symptoms I can identify right now are related to the following entries in my crontab: 0 2 * * 6 /usr/local/sbin/portsclean -DD 0 2 * * 5 /usr/local/sbin/portsclean -C The e-mailed results simply say env: ruby: No such file or directory. However, these commands seem to run fine from an interactive shell (while logged in). Paths. When there's a problem with cron it's (almost) always paths. portsclean is a ruby script that starts with this line: Interestingly, my homemade port rebuild script is recently broken with similar symptoms, sans the dependencies on ruby. It's a very simple, low-level for i in `cat list` type script which recently has begun to fail repeatedly on gettext and autoconf dependencies on multiple machines, when I specifically have them set to be upon the first ports to build. More probably unrelated, but I thought I'd throw this out there just in case. Regards, I don't know if it's of any help, but I had a *somewhat* similar experience, I don't know if this will help, but I'll give it to you for what it's worth: I found in my environment, I had REINPLACE_CMD defined (seemed to be a good value), so (in my shell, tcsh) I removed the REINPLACE_CMD setting with unsetenv, and the problem disappeared. Use either env or printenv to scan your environment for anything to do with sed (as REINPLACE_CMD does) and try removing it. Oh, BTW, I can't seem to get the -l logfile option to portupgrade to work, any help on that would also be appreciated. I didn't use -L at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
X11's tcp port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got to be doing something wierd, for this not to work ... I wanted to kick off a app on a 2nd machine of mine, and have it display on my main FreeBSD machine, but it won't work. I know all the security things, I know I had xhost and DISPLAY correct, so I went to check netstat for the ip port 6000 being open, but netstat shows me no such port. I usually, to defeat the nolisten options usually set on, edit my startx file to remove any such line. You just search for nolisten tcp or some subset of that (tcp might get set separately) but as I expected, I'd edited that line out ages ago, when I last wanted to display a foreign app onto my FreeBSD X11 screen. However, no matter how I tried to start my X, I can't seem to provoke netstat to show my ip port 6000. I tried running my ordinay startxfce4, I tried kde3, I even tried twm, I just can't get IP port 6000. You know that without that port, you can't run remote X applications. This used to work. Any idea why it's stopped working for me? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksNhR8ACgkQz62J6PPcoOnTVgCdHjXhyvJLuKEGFklhn/m/Z4/O gJgAoIcjTqkXQynZlrWeJ1Jkae/jH9hw =Wgtn -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: X11's tcp port: FIXED
Chuck Robey wrote: I've got to be doing something wierd, for this not to work ... I wanted to kick off a app on a 2nd machine of mine, and have it display on my main FreeBSD machine, but it won't work. I know all the security things, I know I had xhost and DISPLAY correct, so I went to check netstat for the ip port 6000 being open, but netstat shows me no such port. I usually, to defeat the nolisten options usually set on, edit my startx file to remove any such line. You just search for nolisten tcp or some subset of that (tcp might get set separately) but as I expected, I'd edited that line out ages ago, when I last wanted to display a foreign app onto my FreeBSD X11 screen. However, no matter how I tried to start my X, I can't seem to provoke netstat to show my ip port 6000. I tried running my ordinay startxfce4, I tried kde3, I even tried twm, I just can't get IP port 6000. You know that without that port, you can't run remote X applications. This used to work. Any idea why it's stopped working for me? Can't really say why, but it just began to work, entirely mysteriously. I would rather know about these things, but I'll take working over non-working, I guess. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Eclipse Java 1.5
Alex Huth wrote: Hi! I want to change my laptop system from Debian to FreeBSD. After installing 8.0 RC2 in a virtual machine i have tried to install eclipse and changed the Java version in the makefile to 1.5, but it still want to install the 1.6 jdk. I need the 1.5 version for several reasons, for example VPN account. This surprises me a bit, as I'd understood that the differences between 1.5 and 1.6 were strictly limited to bugfixes, and changed the interface not at all. Reason that this might make some difference to you is that, at least for me (using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely rock stable. Do you really have some reports saying that jdk16 doesn't work in your situation? How can i solve the problem? Is java 1.5 also available if i install it on AMD64? On debian this is a Problem. Thx Alex Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic. — unknow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: vim Keybindings
Drew Tomlinson wrote: I'm experiencing an annoying problem with vim on FBSD 8 that I don't have on FBSD 7. Whenever I start vim, if I press the down arrow as the first key, it deletes the first line of my file and enters insert mode. All the other keys work fine and even the down arrow works fine after the first press. I've searched for help but haven't turned up anything relevant. Any ideas on what I can check? Hmm. Don't know if your machine is exactly set up as mine, so 1st, does hitting the escape key as the first key fix things? And, on a shell, hit control-V (the common shell escape key for control keys), then the down arrow, what does it print? Not sure I would be able to help, but there is often a timing issue on special function key decoding (like all of the arrow keys, or the function keys, etc) and this may tell what your down key is set for in Vim. Beyond that, Vim's environment is extremely programmable, so one would really have to look carefully through all of your environment files, beginning with vim's ~/.vimrc. If you are using any of vim's huge store of extensions, your .vimrc probably has statements to include subdirectories (perhaps of your homedir). Those files are also candidates for trouble sources. Are you having this problem on ttys, or under X11? Tried both? It's most likely *something* dealing with Vim, because it's unreported on FreeBSD (I know, I love vim and been using it on FreeBSD-current for years). Vim's IRC channel (vim) is extremely good about helping on problems, like bad keymapping, they are just as good as we here on this mailing list are, but they obviously concentrate on vim. Anyways, if you answer these questions on the list or channel, folks are far more likely to be able to help you here (or on the vim channel). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: General and specific make questions
Lars Eighner wrote: What I need most is to find (a) make tutorial(s) that do not suppose make is being used for compling c/c++ programs. Yes, I know, that is mostly why make exists, but many tutorials plunge right into C examples with implicit C rules, while -- it seems to me -- make could be much more useful for a variety of things, and I could sure use more of the general and arbitrary examples. Second, it appears to me that the pmake document in the books section of the documentation is not longer in sync with make as actually installed in FreeBSD 7.x. In particular, the pmake doc refers to switches which make no longer recognizes and which do not have clear replacements in man make. Now for my particular question. I have some sources which may or may not exist. My target should be rebuilt if a source exists that is younger than the target. But sources that do not exist should be ignored and make should not be perplexed over how to create them. How do I express that kind of relationship? OK, first, about those docs in /usr/share/doc/{psd|smm|usd|others}, they all come from the original papers written by the CSRG folks well before FreeBSD was created. They are somewhat useful, so for that (and sheer historical interest) they're kept around, but they aren't updated. If you wanted to see updated stuff, try the man page, which is both constantly updated and complete in it's coverage. OK, for your particular question, it's honestly not real clear what you're asking ... are you asking how to tell make NOT to make something? I'll make a guess here, and lay the guess out for you to comment on, maybe asking you to reconsider your question might have the side effect of making the answer be obvious? Anyhow, maybe you have a target that has a dependency listed for it, but make(1) doesn't have rules on how to remake that dependency, and either make(1) can't find it, or does find it, but finds that the time stamps of that dependency shows it has to be remade. One easy way to fix that would be to do a touch (read the man page on touch for info) that dependency, which should cause make(1) to lose interest in rebuilding it. I couldn't get more exact without having a better idea of what's happening. Oh, BTW, about applications of make for other than C progs. Using make(1) to compile other things, like maybe python progs, or whatever, is fairly obvious that it can be handled just like the C progs. Yes, you CAN use make(1) for non-compilation tasks, but I've never seen any documentation for that beyond the make(1) man page. In fact, the only example of doing that which I've even seen was helping NIS to maintain itself. Two things about make(1): first, it's very widely terrified programmers, but (secondly) it's really not all that complex, so it's actually frightening everyone based upon it's reputation. Well, that, and the one truly poor makefile I've ever seen, that one defaulted to by all of the autoconf tools (the gcc Makefile is an example of this, it's too bad to be described without using foul language). It doesn't have to be that way, but it does a fine job of scaring everyone away from make(1). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Greylisting and new posters
Mel Flynn wrote: All (including David with his kick-ass postmaster hat), while off-topic, flames and other non sense covered by Freedom of Speech are an annoyance to many, I'm more bothered by some newcomers to the list that are being greylisted on first post and instantly hit the resend button. Especially since a technical solution is possible in 90% of the cases (there are a few people that don't resend, but re-edit). Is it possible to: a) Put a big-red-blink-popup-attentiongrabbing monster text into the subscription page about first posts being delayed with a link to greylisting? b) Hash the bodies of greylisted messages and reject / discard if the same body with a different msg id is being received? I'd be happy to contribute to b) if it is thought that the incoming mailer can handle the hashing and storage of this information. Seems to me that the particular problem you're referring to doesn't really happen all that often. Probably, the only thing that really might need another word or two is to make the services offered by FreeBSD-test list better advertised (it does still exist, right?) People can post all the test mail they want to that list. About 6 months ago, I recommended to an acquaintance that they make use of the FreeBSD-test list, and I actually saw the replies he got from some idiots subscribed to that list, complaining that my acquaintance used that list exactly like he was supposed to do. I wonder if maybe the list ought to have some feature like having it's subscribers list zeroed out once a week. It's then a pretty obvious problem which really could be dealt with in the new subscribers intro mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is this forum for?
Wojciech Puchar wrote: I've been subscribed to this list for quite some time. I've tried to help where I know, Hey folks, all of you, could I please sugggest that this entire thread (under a variety of subject names) is an abuse of the lists? These topics should definitely occur, something like this has to happen ocaisonally, but it needs to go to FreeBSD-chat, where the list topics are very specifically allowed great latitude. The FreeBSD-Questions list is very obvioiusly to help folks, and not to debate list usage, or any of the varied purposes it's been pushed to recently. I'm not saying don't discuss it, I'm saying, if it's *not* FreeBSD tech support, then please take it to FreeBSD-Chat, where you folks all know it belongs. Some of the comments I've seen threatening silly things liek dropping FreeBSD itself for abuse of lists, shouldn't ask for censorship, but those kind of complaints actually should be complaints about where these things are going to. You can discuss *absolutely* anything you want on FreeBSD-chat, so why don't you take advantage of that? I myself will actively support anyone's privilege to say whatever they please, if you just use the correct list to do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: compiling FreeBSD date on Linux
Polytropon wrote: On Tue, 19 May 2009 18:19:21 -0300, francis keyes fke...@gmail.com wrote: I would like to compile the FreeBSD date command for use on Linux because the FreeBSD version has some features that are not present in Linux. I downloaded all the files from http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/date/ and tried to compile it but I get an error from the Makefile: Makefile:9: *** missing separator. Stop. First of all, it seems that it's not that easy. FreeBSD's make is, if I am correct, a different one than the Linux make. It uses - if you look into date's Makefile, an include file, named bsd.prog.mk which is located outside of the date/ directory, this is /usr/share/mk/bsd.prog.mk or /usr/src/share/mk/bsd.prog.mk or /usr/src/tools/build/mk/bsd.prog.mk. You could try to write an own Makefile on Linux, or try to work without one... I suspect this is the first of many errors I will run into during this process. Can anyone help me out with this or tell me if there is an easier way to get this version of the date command running in Linux? I'm not sure, but it's possible that FreeBSD can be used to compile date so it will run on Linux (cross-compier). Because I never tried this, I can't tell you how to achieve this. Furthermore, I'm not sure in how far date hooks into the FreeBSD kernel in order to work. It's completely possible that it would be easier to implement FreeBSD's date functionality in Linux's date command itself (from scratch). The code isn't all that hard to port, unless you're at a very basic level with C. The compatibility level between the BSD Make (bmake) and the GNU Make (gmake) isn't all that great. One killer problem is that gmake hasn't got any concept of a single central include directory, for automatically building up a per machine make environment. Gmake can do the including (using a protocol which is unfortunately different than that of bmake) BUT you can't just rely on gmake looking into the bmake central directory (/usr/share/mk) for make include files. All of those are named like bsd.port.mk, in that they all begin with bsd. and end in .mk, and there isn't any portability between bmake and gmake on those include files. I have personally (in the past) written up a set of gmake compatible include files, so it CAN be done, but you getter have your hard hat on, it's not all that simple to do. The various timing commands in either the bsd libc or the Linux glibc look much alike, so the porting isn't all that hard, once you conquer the makefiles. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Disabling ssh timeouts?
Steve Kargl wrote: Is there anyway to disable sshd from timing out a connection? I've tried setting ClientAliveCountMax and ClientAliveInterval and TCPKeepAlive in sshd.conf, but no combination that I've tried has worked. I'm trying to running the GCC testsuite, which is not an interactive job. Once it starts, it writes to stdout when an error occurs or the testsuite moves to a new major test category. The last few lines of output are Running target unix Using /usr/X11R6/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/X11R6/share/dejagnu/config/unix.exp as generic interface file for target. Using /usr/home/sgk/gcc/gcc4x/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/debug/debug.exp ... Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ... Read from remote host troutmask.apl.washington.edu: Connection reset by peer Connection to troutmask.apl.washington.edu closed. The only way I'v efound to complete a run of the GCC testsuite is to sit at the terminal and hit enter every so often. Also note, nohup and backgrounding the job does not inhibit sshd dropping the connection and losing all testsuite results. Just saw this answer recently, I forget where, but you set the TCPKeepAlive on, I think that's in /etc/ssh/sshd_config. I liked that one, because in retrospect it's obvious (not so obvious when you need it, but it does make sense now). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
filesystem compatibility between FreeBSD and OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just put a OpenBSD partition on a EIDE disk I had laying around. I'd had some advice (apparently bad) that the OpenBSD UFS filesystem could provide a filesystem that I could access from FreeBSD ... least, just now when I tried to mount either of the two filesystems I just created on FreeBSD, FreeBSD seems to recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e), but FreeBSD can't seem to mount either one. Is there ANY filesystem that would be a good bet, so that I could transfer stuff to from FreeBSD to OpenBSD? Besides (obviously) UFS? Thanks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn4ni8ACgkQz62J6PPcoOm1mACePe5wltWsl0iLuIAzdYJ1M6RS /PIAnjEMFi1MdMYDkPkadva+gjbqRMLN =Wd2g -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: filesystem compatibility between FreeBSD and OpenBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel C. Dowse wrote: On Wed, 29 Apr 2009 14:36:31 -0400 Chuck Robey chu...@telenix.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just put a OpenBSD partition on a EIDE disk I had laying around. I'd had some advice (apparently bad) that the OpenBSD UFS filesystem could provide a filesystem that I could access from FreeBSD ... least, just now when I tried to mount either of the two filesystems I just created on FreeBSD, FreeBSD seems to recognize the disklabel just fine (it sees, in /dev, both ad1s1d and ad1s1e), but FreeBSD can't seem to mount either one. Is there ANY filesystem that would be a good bet, so that I could transfer stuff to from FreeBSD to OpenBSD? Besides (obviously) UFS? Thanks Hi Chuck, please tell us what exactly the output of mount is, mount (8) on FreeBSD 7.1 tells me that UFS is the default filesystem to mount. It just fails with an Invalid argument, so I think it's not able to recognize the OpenBSD FS. I can't do it the other way around, because I can't (yet) find the OpenBSD driver for my AMCC (3ware) 9650-4 controller (FreeBSD's twa driver). Otherwise, I'm curious if maybe OpenBSD count moount the FreeBSD FS. No longer truly important, because i'm using an extra machine as a waypoint for a transfer. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn5FhEACgkQz62J6PPcoOlikgCfUmLdhYXrsu7/1EE6aZL1mH91 DdkAn0JEGxkyRyBQdOGO9kgEft0mzm8T =kibv -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CVS history access?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Nielsen wrote: I'm working on a machine learning project and I'd like to use the FreeBSD src CVS commit history as a datasource. Is there a resource-friendly way for me to download some or all of it? Format isn't too big an issue. I tried a few cvs history commands against the anoncvs servers but get this: cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: No such file or directory I'm not too experienced with cvs so if I'm missing something let me know. The Mailman archives for freebsd-cvs are one option, but I was hoping for more of a direct approach if possible. cvs log filename works, but I don't think that history has even been available on any system I've ever had access to. There's pretty good info available from the cvs log command ... here's a few lines from cvs log Makefile from usr/src/Makefile: - revision 1.114 date: 2005/12/02 01:17:20; author: deraadt; state: Exp; lines: +2 -2 do not enter lkm - revision 1.113 date: 2005/09/16 12:28:34; author: jmc; state: Exp; lines: +3 -2 use shell-neutral language (in a comment); from ray lai; ok krw@ - revision 1.112 date: 2005/01/09 20:36:20; author: espie; state: Exp; lines: +12 -282 move cross-stuff into its own file. okay mickey@, niklas@ Thanks, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknyMz0ACgkQz62J6PPcoOlbBACeLN3fD31obO7yEVTDnql8qQ+v VnAAnAjt2yRDr1y+LHfErKgdUX/UcwtW =Nzdn -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
filesystem compatibility
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are there any filesystems which FreeBSD has which offer compatibility to OpenBSD? I want to add a OpenBSD partition to my long-existing FreeBSD disk, make it OpenBSD, but I want to be able to transfer data between FreeBSD OpenBSD. Any filesystem which could do that? Or, maybe looking at it from the other way, can OpenBSD read any of our FreeBSD filesystems? I want to move data between these two, if at all possible, and they're on the same machine, so nfs isn't a possibility here. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknwnVEACgkQz62J6PPcoOnzVwCdFgIo3jAe/wRf13jF9X3knDz8 pGUAniVR7IA9BsOCElNkYtYrFIi3ICrl =Oct9 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: the 'make' command in the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Polytropon wrote: On Sun, 12 Apr 2009 20:08:21 +0200, dede sserre...@gmail.com wrote: Hello, I'm a long time user of BSDs, and I don't find man pages or documentation on the way I can master the port collection (specialy the fonction of make). Did you try % man ports Don't miss % man portsnap I found this, interesting: http://www.freebsd.org/doc/en/books/handbook/ports-using.html, but some interogations persist. Which are those? I search a command that list all availables variables that afect program installation, [...] Those are usually specifig to the port and are, in most cases, listed in its Makefile. Sometimes, they're documented, e. g. in /usr/ports/multimedia/mplayer/Makefile you'll find a header with explainations for the variables. There may be globally set variables that do have an effect on a specific port. % man make.conf gives a good summary, and have a look at the explainations given in /usr/share/examples/etc/make.conf. [...] and all arguments I can give to the /usr/port/Makefile (I know about 'make search key= and name=' is there another?). Yes, make install, make deinstall, make reinstall, make config, make clean, make distclean, make package are very common ones for the ports. In /usr/ports, you can even use make update to update your ports collection. Could anyone give me some cool addresses to learn on the subject? The FreeBSD Handbook, 4.5 Using the Ports Collection is excellent: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html You mentioned it already. The FAQ, Chapter 7 User Applications, covers other activities: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html No, you don't really want any of them. The make man page isn't too bad as a reference, but to learn it, what you want is the postscript writeup that comes in FreeBSD's documents, in /usr/share/doc/psc/12.make/paper.ascii.gz. I think that that last directory can be parent to several different versions, depending on what you have PRINTERDEVICE set to, so you could get (say) postscript. Anyhow, whatever shows up at the bottom of that 12.make directory would be all about pmake which is the parent of today's make, and that's a damned good one. If you find things that are not documented enough, simply ask a question here. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknlF1gACgkQz62J6PPcoOkXwgCgmfm+caRmdDgSmp1dDaGTzN/Y m+kAnjlgslpnLaqv/eVblbUwQCesqn2g =cHUb -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giorgos Keramidas wrote: On Tue, 31 Mar 2009 22:18:33 -0400, Chuck Robey chu...@telenix.org wrote: What I don't know is, I use cvsup all the time, but when I switch to svn, what does the cvsup job of tracking an archive (not tracking the sources, I mean the archive)? Does svn do it all itself? If so, I can find out how, I just want to know if that's how its done. If not, what's the general tool used to track the freebsd archive, so I can investigate it? Hi Chunk, I seem to be hitting problems, twice now folks have misunderstood me (oh, BTW, it's Chuck (or chuckr), not Chunk). I DON'T use cvsup to check out sources. I know very well that you *can* do that, but for the last about 8 years, I've gotten the entire archive, not just a checkout. While a checkout can certainly, obviously follow a tag or a branch, it's just as obviously that it CAN'T follow a tag or branch if you get the entire archive, because the entire archive contains ALL of the tags/branches, and you need to do your own checkout from that archive, of the tag or branch you want. The ONLY thing I want to get out of this is the cvsup-like capability (which I've been using now for 8 years) to update my entire archive (svn now, no longer cvs). Again, emphasizing, it's NOT just a checkout, and tags/branches have no meaning at this level. Something like trying to buy chapter 8 of a book: when you buy the book, you get ALL the chapters. When you get the archive, you get ALL the tags/branches. I *think* maybe you said that svnsync can do this? I can't find any machine IP that is to be used with subversion ... will something like cvsup2.us.freebsd.org do for svnsync? Will svnsync's protocol get me the svn archive? I don't want the cvs archive, so could you help me understand how that's selected in this instance? Beyond that, you emphasized that it can't get only a part of an archive. I'm guessing you were referring to grabbing only ports, as against both ports and src? I don't know how the svn archive is organized, if there are separate archive for ports and src, or if they're actually only parts of one archive, but I do want both. Also, as I said above, I expect to get ALL tags, all branches, anything like that. You ask me NOT to check out what you called a snapshot of the archive. That's precisely what cvsup was so good at, noticing what the changes were in your copy of the archives, and only sending those. hundreds of people kept checkouts of the entire cvs archive. Are you telling me that capability is no more? That we lose that, in moving from cvs to svn? You whole email, well, it *seems* to me to be very biased towards thinking that cvsup is only used to check out sources. I hope what we have here is a misunderstanding, I would really dislike losing this capability, of being able to call up a particular files entire history, whenever I wanted, at no large processing cost to FreeBSD. CVSup does two things: * It can check out copies of all the files in a remote repository, using date- and time-based snapshot info, or just CVS tag names. * It can mirror the RCS metadata of a CVS repository. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknWT90ACgkQz62J6PPcoOkHdACghfZ1Bvh1R5eTBADzOhF7HaXw 1OYAn0MDdMRRVKGzktyoshC6M65pAC95 =YbXs -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 per...@pluto.rain.com wrote: Chuck Robey chu...@telenix.org wrote: But I do need to figure out how to get the subversion archive (not a particular branch of the archive, the whole kit and kaboodle). devel/svk? (From a mention last December; I have not tried it.) Huh. From reading the port's description file, it seems to be a svn lookalike, but with a differing feature list. Supposely uses the same filesystem layout as subversion. I'll go goole it, maybe there's more to be googled. I asked a lot more from Giorgios, mainly because I think he misunderstood me. His writeup WAS fantastic, though, if only I can clear up my questions. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknWUlsACgkQz62J6PPcoOma7QCeJ5J+F8cy3yOtMvx/d7KANBoy jwsAn3pXPLIG/ux/uqcfUCV3ljzZeN6J =Chgb -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Hamilton-Wright wrote: Sorry to follow-up my own note, but . . . On Wed, 1 Apr 2009, Andrew Wright wrote: [ further snippage of previous note ] Strong Caveats: o ***Early Adopter Warning***: There has not been (as far as I know) a general call for people to move to this type of repository access except for committers -- therefore expect rough edges until a general announcement is made. I would further urge you to read: http://svn.freebsd.org/viewvc/base/projects/GUIDELINES.txt?view=markup for an overview of the information used by the committers, and will further add: Even Stronger Caveat: o The head revision translates to something like current looking around in http://svn.freebsd.org/viewvc/base/ will show you that there are directories other than head from which branching is done. Some perusal of the svn manual and poking around in the repository may help you track current, but there isn't anything in place yet to let you track stable, for instance. I appreciate the URLs, but I think you're misinterpreting what I was asking. First, your comment about isn't anything in place yet to let you track stable,, That's not true. You could do this in cvsup, but seeing as I always cvsup the complete FreeBSD cvs archive, I would just do a checkout from my present archive using the stable branch I was interested. Do a cvs status -v of /usr/src/Makefile to get a complete listing of the names and numbers for all of the tags and branches you can checkout. In cvs, such things are sticky, so following a particular branch is no trick at all. Of course, clearing sticky tags/dates/branches that you set is equally easy to do. I can't figure out why you were telling me that stuff about HEAD and other branches. I think you my be wrong is what I *think* you said, you can branch any directory you want, at all. You can even branch a branch. Branches go against files, and cvs is rather stupid about directories. That's actually one of the things I like about svn, it knows about directories. I just need to know how to go about grabbing updating FreeBSD's entire subversion archive. Once I grab that archive, I can play at my will, affecting no one else, I think (like cvs). What I was really after was a way to fetch the FreeBSD subversion archive. I already have a correct cvs-supfile to use with cvsup, to allow me to do daily updates of my cvs archive. If I found out how to get the subversion one instead, I guess I would stop tracking the cvs archive. I don't know if I'd use something like cvs2svn to convert my present archive, or just fetch the new archive from scratch, I need to see what's the recommended way to go. But I do need to figure out how to get the subversion archive (not a particular branch of the archive, the whole kit and kaboodle). A. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknT10kACgkQz62J6PPcoOk85wCeKG4Izziyrte7N+8jcfKGAkz0 6E8Amwae3pq9cv+Gn71ua1q4HCJ+jDLp =Gp0/ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
going from cvs to svn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've finally decided that it's way past time that I switched from using cvs for my home archive (currently /home/ncvs) to using subversion. I'm trying to hunt down a web page that might give a set of rules to help moving things. I've spent about the last 90 minutes on Google, can't find what I'm after. I'm NOT asking for answers here, just the URL of what to read, but I'm going to give a couple of questions, just to you see what I'm after. I'm not after answers here, I want to read it myself if it's at all possible. Stuff like, can I use my present cvsup-fetched /home/ncvs with svn? I didn't see any way to check out an svn-specific archive in all the stuff I read, like the FreeBSD handbook. Can I use my present set of checkouts, or must I delete them and do new checkouts with svn? Are the URLs for cvsup listed in the handbook still correct (they haven't changed there in years now). That's it, I'd really like to see if the answers are available to be read in an FAQ somewhere, but if they're not listed, well then I guess I would appreciate the answers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknSeyUACgkQz62J6PPcoOnrQgCeM/R7CPcd/nW7Jen6cHCIiGSA QJYAn1t6KI6ig3dYNJ7jhivUjxUSHJ54 =SHPN -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: going from cvs to svnq
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Wright wrote: On Tue, 31 Mar 2009, Chuck Robey wrote: I've finally decided that it's way past time that I switched from using cvs for my home archive (currently /home/ncvs) to using subversion. I'm trying to hunt down a web page that might give a set of rules to help moving things. I've It appears that you may be labouring under the assumption that svn is a potential _client_ replacement that will read a CVS repo. I wasn't laboring under a misapprehension, I asked if they were compatible, I wasn't trying to say they were. Thanks, though, for the URL, I wasn't aware of cvs2svn. It doesn't do this. You can convert a repository using the tools available at: http://cvs2svn.tigris.org/ but afterwards you are using svn exclusively -- there is no ability to mix and match. After the conversion, both client and server tools will change. The primary advantage of using svn is that the _server_ uses a different protocol to track objects. I think that's unclear, you can't mean that just having the protocol be different, that's not that much of a win. Having svn track extra things, like directories, that I'd think was a win. Directory management, for instance, is a track-able change, as opposed to the CVS strategy of directory management through side effect. I'd have said, for cvs, more like directory non-management. Was nice to simply fix things, if you didn't have worry about others helping you out, but keeping history could be a lot more of a problem. Not impossible, but difficult. I used to be a company's release engineer, under cvs, but never svn. I just don't know svn a fraction as well as I know cvs. What I don't know is, I use cvsup all the time, but when I switch to svn, what does the cvsup job of tracking an archive (not tracking the sources, I mean the archive)? Does svn do it all itself? If so, I can find out how, I just want to know if that's how its done. If not, what's the general tool used to track the freebsd archive, so I can investigate it? Stuff like, can I use my present cvsup-fetched /home/ncvs with svn? I didn't No - if you have fetched a directory using cvsup, then it is a CVS workspace, and will remain that way. If the server managing a repo is using CVS, you will use a CVS client to access it If you are managing a repo you wish to convert to svn, then the link above will help you do it. At the time of such a conversion, all currently-checked-out CVS workspaces will be orphaned. A. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknSzvkACgkQz62J6PPcoOnQ/ACeJlycE/LnWxCkiedMdvlgTPso 2zUAn1OyAnrq/QjgkqCnvXwYrLyL54SY =7H4O -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bash suddenly doesn't like $() syntax
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: Daniel Bye danie...@slightlystrange.org writes: On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote: Hello, I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All of a sudden when I login, my standard .profile and .bashrc are causing a bunch of error messages, like so -bash: command substitution: line 39: syntax error near unexpected token `)' -bash: command substitution: line 39: `})' It would see that bash no longer likes the $() command substitution syntax. Does that mean that it's defaulting to some sort of posix compatibility mode now? It's a bug in bash 4. It was discussed here a few days ago. I would deinstall v.4 and install shells/bash3 until the bug's fixed. Which happened a week ago. I've had stuff like this happen to me, once in a while. it's NEVER a fact of bash really suddenly losing something so major. What you have to is to look at previous parts of your code, for things like unclosed parens, unclosed quotes, things like that. The errors aren't overly helpful, but if you look at previous lines, you'll find it there, believe me. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknFMuYACgkQz62J6PPcoOnBjQCeLF31QAwW+hcDfRltl/HBijLz 2DQAnR3riA3EvqU4PDekzdXRQMEfqJH8 =QbQt -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bash suddenly doesn't like $() syntax
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: Oh, crap, I flubbed it about the bash error. It's SO often something claimed by folks, I knee-jerked that it had to be a previous line in error. Sorry. Daniel Bye danie...@slightlystrange.org writes: On Sat, Mar 21, 2009 at 08:49:01AM -0400, Michael P. Soulier wrote: Hello, I'm running the shells/bash port on 6.3, and I recently ran a portupgrade. All of a sudden when I login, my standard .profile and .bashrc are causing a bunch of error messages, like so -bash: command substitution: line 39: syntax error near unexpected token `)' -bash: command substitution: line 39: `})' It would see that bash no longer likes the $() command substitution syntax. Does that mean that it's defaulting to some sort of posix compatibility mode now? It's a bug in bash 4. It was discussed here a few days ago. I would deinstall v.4 and install shells/bash3 until the bug's fixed. Which happened a week ago. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknFM1AACgkQz62J6PPcoOm6ZgCdEobknTEk0bl4E5xWGX7uJmBf zfQAniMO5Isd9x96j/ZCYQdP9fpVtBj1 =hD1K -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Why are the Zionist leaders in Israel so happy about the newPresident?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Perrin wrote: On Sun, Jan 25, 2009 at 04:04:15PM +, Anthony M. Rasat wrote: Lawrence Auster wrote: Bla bla bla Ku Klux Klan crap. Why don't you bring your hatred outta here. This is a family-oriented channel. Next time, even when you put OOT label on subject, I still will call it crap. If you name me Jewish lover, well, I'm Asian, that means I'm a chink. But it's Mr. Chink to you, thank you very much. Technically, chink is a slur for Chinese -- not Asian in general. Just tryin' ta help. I was noticing that he's been crapping over the GentooLinux lists also (at the very least, along with a long list of FreeBSD lists, not just -Questions) and he's learned to obfuscate his source address. Not that he couldn't be blocked, and I (for one) really dislike offering him his pulpit of hate here. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl97rAACgkQz62J6PPcoOk6NgCfUmpfbMCO7ESzGAzl+yUJwAS2 Z/wAoJPjoAD6dXmuEJotYKpkRaP9VOPj =vI85 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: hex editors, disk info
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex Karpovic wrote: That in mind, what's wrong with bpatch? I've used it for binary patching, it works just fine that that (if my first assumption is totally off-base). You download from the device, change any required data, and (if the device allows writes) write it back to the device. Of course, not all devices allow writes. It's a bit uncomfortable. Just for example: I need to search some signatures, which could be anywhere in 640Gb disk, and make some changes around them. And I don't have spare 640+ Gb to copy whole disk to. And even if I would have enough space, it is painfully slow to move 640Gb twice just to make ten minutes editing. That's an unusual requirement, but folks ought to listen here, because optimizing such a problem, it's an interesting challenge. There is NO established tool which will do such an outre' task well, just because it's so unusual) I won't probe into your reasons, although a request so very odd usually means that there's some misunderstanding at the back of it. Anyhow, if I were given this task, I really think that the problem is in localizing the area you need to change, not in changing it. I'd use whatever language you feel comfortable with, then using that language (either directly, or by piping dd or nc to help out) so that you could do a global search for your target. Your search could trivially do extra things, like uniquely identifiying the target area, even dumping surrounding blocks into work file, so you could follow up with bpatch to actually change things. Don't expect such a thing to go quickly ... however, this is one of those tasks that can be made to operate significantly quicker, if you choose an efficient language and (easily as important) choose a good search/comparison algorithm. Actually, this sort of thing mgiht well have been given as homework to an undergrad, a very good learning opportunity indeed. Lot's of room for optimization of all kinds, and that task is big enough to really show obvious results. Done wrong, with tools bent into shape, this task is really too large to be reasonably contemplated. Unless you have a few extra months to use waiting for results, and you'd have to keep your mitts off the disk in the meanwhile. Just not a good idea to take that approach. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl97fYACgkQz62J6PPcoOmJzgCePrJCKxJc6y92RNJPa+Nr76GY dDoAniq7ay6Bb72eVUFVOeyxWo5IPehc =r9vi -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: X11 forwarding through SSH: Can't open display
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sk89q wrote: On Mon, Jan 26, 2009 at 6:32 AM, Bill Moran wmo...@potentialtech.com wrote: In response to sk89q the.sk...@gmail.com: I meant sshd_config. Do you have the xauth package installed on the remote server? You don't need a full X install, but X11 forwarding won't work without xauth installed. Yes, I do (at least to my knowledge), but xauth is located at /usr/local/bin/xauth. sshd wasn't able to find xauth, so I made a hard link at /usr/X11/bin/xauth to /usr/local/bin/xauth. That fixed a can't-find-xauth error, and that's where I am now. I think a far more likely thing might be being missed here. Usually when I'm surprised when a new system refuses to allow me to remotely open X apps, it's not the problem of ssh, it's because X11, by default, doesn't open up the port 6000 IP socket to allow remotes to work. You can easily use netstat, to look for open sockets 6xxx range, opened by your X server. If you can't find it, then some part of your X installation is likely giving the -nolisten tcp commands when starting up the X server. I don't know how you open your X, so I couldn't directly tell you how to fix this. Being a bit more honest, the X server itself doesn't block the remote ports. It's all of the startup tools (like startx) which stick in the anti-remote prejudice. Giving the fact that it IS a security risk, I guess they're right, it just means that if you want remote operation, you need to tell X (via whatever startup method you use) to stop blocking the opening of that port 6000. On Sun, Jan 25, 2009 at 10:02 PM, Peter Boosten pe...@boosten.org wrote: sk89q wrote: Hello, I am using FreeBSD 6.2 and I have been trying to get X11 forwarding through SSH to work. I've gotten to the point where the environment variable DISPLAY is set, but I get a Can't open display error when I attempt to run an X application. The remote server in question does not have an X server install. In /etc/ssh/ssh_config, I have the following lines: X11Forwarding yes AllowTcpForwarding yes UseLogin no Have a look at /etc/ssh/sshd_config of the remote server and restart sshd after modification. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl98QwACgkQz62J6PPcoOmRaQCglJDR9D5/C1Wp5Q0cnd6Z3bi3 cvMAoI14mmJVzWWhRsJmT0lKsvakVkbu =BS/x -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Solaris Compat?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: I don't want to raise an argument here (on multiple levels, no less...), but what would the compatibility be between FreeBSD (release) and Solaris? Why I ask is Adobe have released a version of flash for Solaris, and I'm wondering if this might work better than the linux_compat types. I tried it's nonsense to FreeBSD developers to do workaround just because adobe don't want to make FreeBSD binary. If they don't want to make, then they DONT WANT US to use their product. They DO HAVE RIGHT to do so, and please respect their rights! PS. Of course it's nonsense what they do, but again it's their right to do stupid things I really, really dislike the notion that any company, in the selfishly sheer pursuit of profits, should be able to dictate to anyone what that person should be able to do, giving that it's within the limits of the law. Not allowing one to view many sites ISN'T within the moral control of any company, as long as you don't violate laws in doing it. Telling me that I should respect some idiot being able to tell me what I should or should not do with my own personal equipment (again, as long as you stay legal) is is the worst sort of moral cowardice. If you look at what Adobe is doing, they're making it obviously clear that they don't care about you using their tools, they only don't want you to use the operating system of your choice. And you want me to respect that, right? Sheesh! Why is it you use FreeBSD? Isn't it obviously clear that MicroSoft doesn't want you to? As long as you stay within the letter of the law, don't be so pusillanimous as to allow *any* company to dictate your free speech. As long as you stay within the law, then Free Speech is precisely what this all comes down to, and my rights to use whatever operating system I care to. Same as it's Adobe's right to refuse to support such a choice, which I agree with. But they can't tell me what I can do on my own. If I misunderstood you, above, then I apologize, but if I correctly read your meaning, then I'm sure my personal rights are important enough to me, to stay the course here. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl99qEACgkQz62J6PPcoOkO4wCfZjUdhbszESNHXKrdM8JvxbSS we0An2zAvnI/0cNM4cxTMrH8Zh/qxkUz =Unze -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can i split a pdf file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie Kester wrote: On Sun 25 Jan 2009 at 16:18:26 PST Gary Kline wrote: Is there a way to split a large pdf file into smaller [ say 1MB ] chunks? Or are there open source tools out there that i can build? pdfsam ( http://www.pdfsam.org/ ) does both splits and merges of pdf files, but it doesn't seem to be in the FreeBSD ports system. There is a pdfmerge in /usr/ports/print, but no pdfsplit. It's a very junky way to do it (but the only way I know), use pdf2ps to convert the pdf to postscript, then you stand at least a good chance of doing the split, which many utilities allow. You could even do it graphically via gv. The problem with this (and the reason it might well fail anyhow) is because some things that pdfs do aren't implemented in any standard postscript level I ever heard of. It depends how many of the more recent extensions to pdf are being used. I've done this, *sometimes*. Because the pdf spec is fully published, it might one day allow someone to write a splitter, but because the spec is SO enormous, maybe they won't, either. Actually, that's a really good notion ... I need to give it some thought. -- Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl9D/MACgkQz62J6PPcoOnxIQCgg+Suf4NpK8TXTNbYZIW0BCrR fKYAn3ljinZw9s1fPG39IMpblVNg0H+N =mGhJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: technical drawing program
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boris Samorodov wrote: On Fri, 23 Jan 2009 11:28:19 +0100 Frank Staals wrote: It's a shame the FreeBSD port's version is so old (6.0-pre23 while the current version is allready 6.0-pre31 (or even 6.0-pre32 I'm not sure) though. Do you know that saying it's a shame... you are actually speaking about yourself either? The port is maintained by po...@freebsd.org (it's a public maillist). That means that the port is maintained by all FreeBSD users uncluding you. Since you use this port you may consider updating the port and send a PR about it. That's may be your contribution to the project. You even may become a maintainer of the port. Thanks for your contribution in advance! WBR Well, maybe I might categorize things a bit. There are programs, like inkscape (which was mentioned), they're really far better at either doing drawing, or modifying already finished drawaings. These kinda programs (including the biggest of them all, gimp), while being incredibly good at drawing, they fall very far short of being technical drawing programs, which basically want to help you lay out spcific items constructed mostly from lines, circles, etc, packing them up into subitems which can then themselves be manipulated (like, drawing a schematic of a transistor, saving it, and then dotting that transistor all over). A technia drawing program is what you want for that, and a art drawing program is what you want if you are trying to get straight artistic effects (like maybe a web page background. There's a 3rd level, the Cad programs, they're usually based upon the technical drawing programs, either directly, or merely extending the command set) but they usually add in substantial support for active dimensioning. If you're going to do something really substantial, like drawing an architectural drawing, you definitely want a CAD program, like maybe Autocad. Drawback with those is that they're definitely pricey, and definitely have a far harder learning curve. If you wanted to limit yourself to technical drawing, your best bet is likely the xfig program. It's been around more than 20 years now, 20 years where there has been steady improvements. The interface is so well conceived, you don't really even need to read teh manual to use it at the 80% level, and a little thought can give you all the rest of it's capabilities. This won't do you any good if you're trying to do something like take the fog out of a picture, or maybe remove red-eye, but if your goal is to produce a technical drawing at 0 cost, and with the least investment of your time, with results which can still look very nice, then go look at xfig. There's a second one ... I never really liked it all that well, but tgif seems to be more integrated into using a browser as an active tool, and it's also had all those years of active development. Like I say, it's not by favorite, but if you wanted to be able to look at 2 of the best technical drawing programs and then make your choice in a more reasoned manner, then compare xfig with tgif. They're both FreeBSD ports, both VERY well done, if you want technical drawing without reliance on advanced pro-level features and dimensioning, this is the way to go. I never had a chance to look qcad over. Maybe someone else who has that experience with it could give a better critique of it, without sounding like a salesman or a booster. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl6ClkACgkQz62J6PPcoOnFFQCZATA1VbpzcG83sN/+OuOmj2x2 H9AAn2tXB/eym3qf+bzpMUzXrXgaNwxG =VGcz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jdk16
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Boosten wrote: Peter Boosten wrote: Brian McQueen wrote: I can't seem to find the files listed in the jdk16 port. What are folks doing to get java going? The urls listed in the port are not right, so the manual download step does not work. I use this one: ra% pkg_info -o diablo-jdk-1.6.0.07.02_3 Information for diablo-jdk-1.6.0.07.02_3: Origin: java/diablo-jdk16 Ah, and to complete your question: just start make all install clean (or portinstall diablo-jdk16 or whatever) and the install process will show you the right download locations. Peter I've had incredibly solid experiences with the jdk1.6.0 port (it's the Sun one), this one builds from scratch, needs no nursemaiding, and works EXTREMELY well with the latest eclipse port. I use the vi-plugin with eclipse (it's shareware, you need to pay them about $18) and I swear, even the the vi-compatibility isn't perfect, it's certainly serviceable. More than that the guy who runs the vi plugin actively tried to fix bugs. With something like that available, I wouldn't personally even consider any of the other java attempts. I've got the source tars needed to build jdk1.6.0. I'm utterly incapable of figuring out the lawyerese about the legality of my giving anyone the sources. If anyone who I know trust on this list tells me it's ok, I would do whatever was legal to help out, because the combination of the jdk1.6.0, eclipse-devel, and the viplugin, it's a java environment to die for. I've lately been playing a bit with torrent, might be willing to give that a try too. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl6BeMACgkQz62J6PPcoOlDkACePpO7njbpUpGYt2PXo8vZ/AQZ S9wAnj1rFJGtVFa580Wgu/dF46iXZpGg =o2hd -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Advice for dump/restore over SSH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network? Try something like: destination machine, booted e.g. from CD newfs /dev/foo mount /dev/foo /mntroot cd /mntroot nc -l 65000| restore -rvf - source machine dump -0 -a -C 8 -L -u -f - / | nc dest 65000 Roland Your answer is perfectly correct, but a couple of reasons makes me want to point up a tried true tool like rsync. It'll do what the man wants while using ssh to cover security, give really nice running feedback (if the user likes that sort of thing, I do), and because it's basically a lot less general a tool than netcat, it's a bunch simpler for an occaisonal user to figure out the parameters on ... it's made precisely for this sort of job. Of course, it happens to be true that, if you are going to really spend the time to learn one of them, your time'd probably be better spent with netcat, it's got many more things it can do, but like I said, for an occaisonal user, well, I wouldn't have recommended that. Of course, a not terribly big shell script could make nc look like rsync. Reverse isn't true. Just wanted to offer a simpler option. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl0v5MACgkQz62J6PPcoOlZdACfXxFS+7SclI6Il/6fXYOgd6Vl JsYAn2MhB/5x9VH4JvnVwxWsDHi8SF4N =jKWP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How NOT to use multibytes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This might seem an odd problem ... I spend my computertime developing, and don't really have much care for my own personal use of multibyte character sets, at least when I playing with the shell or in an editor. I just finished fixing a problem in a host I was logging into, where it was giving me strange characters in a simple make listing. It turned out to be that LANG and LC_ALL were set so that things like quotes (which I would really rather have be the same ' which I'm used to), was the lsquo and rsquo multibyte character sequences. I suppressed the settings of LANG and LC_ALL, and then the problem evaporated. My problem here is that (1) this seemed like it was probably the wrong way to fix the problem, but (2) all the documentation seems to be telling me how to add this sort of thing, not to suppress it. I like it when the correct characters show up in my browser and mail, but not in the shell or editor sessions. What's the right way to get to where I want to be, it's not really to unset those variables, is it? BTW, things are just ducky with the browser and mail already, it's only the shell things which I need to set right. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklya2oACgkQz62J6PPcoOnyIgCgkCeLhCI1t0CAVLnPwdHDDmZI 6h8AoJOCGLSI4b0Oz81OMhiVboB2S9aq =4Lkz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 spellberg_robert wrote: greetings, all --- this isn't exactly a free_bsd question, --but--, since free_bsd is popular w/ the i386 crowd and there are many rugged individualists on these lists who like to roll their own, i figure i'll get way less hyperbole and more practical experience here, than at some of the places i've visited today. i had always been able to find the cpu / heatsink / fan as a sub_assembly, so, i didn't have to deal with this issue. i'm making some new boxen to replace some 800mhz_p3, 256mb units which will be re_assigned. i found a mobo i like; d_ram just keeps getting cheaper; etc., etc. i even found a processor that appeals to me, but, it's oem. it's the p4 641 which is 3200 mhz, 65 nm, 775 case. the mobo maxes out at 2048mb, which is just fine. these are probably the last single_core boxen that i will build. now, back in the day, i had acquired the skill of using my index finger to properly apply that white_stuff, from the good folks at wakefield, to the tops of uhf pa transistors, from the good folks at motorola. no, this isn't a case of fear. it's that i don't recognize so many of the manufacturers names. some look familiar, but they might just be similar to something i remember from long ago. q: would anyone care to wax rhapsodic about any manufacturer with whose heatsink / fan combo product[s] they have had good success ? OK, I will. I got taught, in extremely clear fashion, about the direct linkage between keeping the temperatures low and even, and the ultimate reliability of your system. I won't go into the war story, but most everyone knows this is true, anyhow. I won't go into the fan either, because it's my personal opinion that there are a large selection of good fans. The item I want to extoll is the Ultimate 120 heatsink from Thermalright. Huge heatsink, and the 120mm fan that you get separately mounts on the _side_, not the top, like you might be used to. One look at this, at the great engineering ... well you might possibly find something else as good, but I bet you'd not be able to find anything better. Get that installed, and you can be really certain you didn't short on the CPU cooling. q: is there a short list of manufacturers who are generally accepted as producers of reliable products [ as is, e. g., antec, for cases and power_supplies ] ? q: conversely, are there any manufacturers with justifiably bad reputations ? i have seen several diameters described as appropriate for the 775. q: should i prefer any particular size ? wakefield is still around, but there are other names. q: are there any opinions, pro or con, about thermal compounds ? noise_level is not a criterion in this situation. i'll err on the side of more cf/m. money doesn't appear to be an issue. i've seen a range of $_10 to $_130, so far, but, most are $_15 to $_30 or so. thanks in advance for any advice. please cc. rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki0Cj8ACgkQz62J6PPcoOlAGACeJQGL9lcY5idUvRMIt+apF5d8 7k4Anipx+yCRA0HMuMdpDVQUqTwxEz5u =Sduw -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 instead of Xorg?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Gurvich wrote: Using Xfree86 is possible but may require much manual configuration. I also have problems with firefox and claws-mail in windowmaker icewm, but not in kde3 or kde4. I suspect there is a library path issue. I was doing some experimentation, so I downloaded the xfree86 code to look it over. I was interested, so I went ahead and made the very minimal changes I wanted in the site.def (I dislike FreeBSD's default of having X installed into /usr/local) and it built perfectly well. It actually took significantly less time to compile than Xorg (the build.sh method I used with Xorg does all that autoconf stuff, takes forever). There are probably faster methods to use for the Xorg build, like, they support jhbuild. Xfree86 only supports imake, which is pretty fast, but a lot of folks find it hard to understand. I understand imake, but can't really track the jhbuild. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkixiNgACgkQz62J6PPcoOmE1ACfW4/2bn+X8twXuXweCLtYi/Zm jSIAn2YRg/WNJ17hCf+kcedNQpt6lUlO =pXh1 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tailing logs
DAve wrote: DAve wrote: I would love to have a way to tail a log, like piping to grep, except I see every line and the lines I would normally grep for are highlighted. That would be cool. Anyone know of a bash command or tool that will do this? Side note, I am tailing sendmail after changes to my outbound queue runners. I want to highlight my sm-mta-out lines but still see all lines. DAve Thank you all, I got what I needed! DAve I do this commonly to catch the lines with the word Building in them, from a file build.out: tail -F build.out | grep --color=always Building When I get a free moment, I need to see about making that --color-always the default. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: whatkind of 19 LCD display??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary Kline wrote: On Tue, Jul 29, 2008 at 01:27:37PM -0500, Preston Hagar wrote: On Tue, Jul 29, 2008 at 9:43 AM, Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I really like the Dell, both because of their outstanding contrast and brightness, no dead pixels in any of my LCDs, and the fact that they come with multiple interfaces which are switch selectable from the front panel. The old 20 units had 4 jacks (RCA, S-Video, VGA, and DVI). Really convenient. The new 24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got about 10 different jacks. Looks it up the web, the Dell pages describe it best, and the contrast on that 24 has to be seen to be believed. I actually turned it down! I would second the Dell's, specifically the UltraSharp line. I have a 19 Ultrasharp as my primary monitor and a 19 Dell Standard as a secondary monitor. The Ultrasharp has DVI and VGA, a built in USB hub and is great to look at. Thanks, Preston. So:: boiling it down to a make and a line, now Chuck [[ and you ]] give thumbs-up on the Dell. UltraSharp, rt? My first Dell was the 19: UltraSharp (I forget the name right now, but I'm quite certain it was an UltraSharp). I was really knocked out by the contrast/brightness, but even more by those front panel switchable interfaces, which let me easily connect up two computers to the same LCD, and just need to hit a button on the front to switch. Before I put the money down here, I really did read the reviews, and I felt they came up on top there, which made me feel like I couldn't walk away from that purchase as being a mark. I got the 19 models back in 2000, and about 2 months ago (I think?) I finally lost one. I replaced it with a 24 model from Dell because of my good experience with the earlier one, but also because the 24 2408WFP came compatible with 1920X1080 HDTV, 8 different interfaces (two of the DVI interfaces alone!) and nicely done PIP. It cost me aboout $650 (this time I bought it direct from Dell, not going thru eBay) and the contrast really surprised me by being astonishingly better than the old 19 model (which I'd thought was already pretty decent). I really like this new one, and although I didn't buy it, it comes with an inexpensive addon, a soundbar, that integrates right in, and a really easily adjustable height desk mounting. I'm disabled, and I can adjust it easily, and it's stable. I dunno, you might possibly be able to beat the price. I kinda doubt you can beat the quality vs. price factor. I don't like it when I come back a month or two after a major purchase, wondering if I'd been a sucker, but after this purchase, I didn't feel that way. I think it's a good deal. A personal note from the cheapes--er, *thriftiest* guy alive: for a new display, price isn' the driving force. it's quality-- which includes durabiility, function, c. (actually, i wouldn't mind 19+.) 20 [[[ and when the hell are we going to join the 18th Century and go-metric?! ]]] 20 is about the max since i cram as many xterms with tiny fonts as possible. so brightness+contrast matter. [[ if i could get out easily, i might check out the 24 ... but that would only give me LCD-envy!! --ah, *life* :-| ]] Anyhow, ao far, i'm looking at the Hanns-G, the Samsung SyncMaster (941BW), And possobily the VIewSonic. And the Dell UltraSharp. (gReat if Costco has these; but i'll try egghead.com too.) Anybody here in the States have any other recommmendation, plese gimmmee a shout:-) gary Preston ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiQkMcACgkQz62J6PPcoOmO4wCfYhWBfUgTCdscUu2ks3rwjAxP 7pAAoKTH3XoM0iLLJeXbu5Ccuu9xb59T =gYoy -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about new monitor...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roland Smith wrote: On Tue, Jul 29, 2008 at 06:46:33PM -0700, Gary Kline wrote: I've changed my mind:: if I go to 20 i can get widescreen with 1680x1050, so my current 1284x1024 would fit. IFF xorg know what kind of beast this is:-) Xorg can talk to modern monitors using the ddc2 protocol (but only with a DVI connection, AFAICT). Effectively the monitor tells Xorg what it's capable of WRT resolutions, rehresh rates etc. It's pretty neat. Roland That 2408 of mine, when it came via freight, had a flyer inside it telling me that they'd included a new interface, over and above the specs, but I forget if it was the HDMI or DisplayPort. I'd never used either before. Really tiny and tight interfaces, both, and probably requiring a protocol like ddc2. There's actually 8 different switchable interfaces (well, seven really, it's got 2 different DVI's.) You can bring in broadcast video by either RCA jack, SVideo, or the component video. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiQqNQACgkQz62J6PPcoOkVgwCeN2of6fc8KX3gK8hBag+9RrLI wIgAniKaNVoNzZAw9Z1j4N2fjUJXEi7z =QOfG -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: whatkind of 19 LCD display??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam Fourman Jr. wrote: so what are the top few makes of LCDs out there? I have several (6) Samsung SyncMaster 941BW monitors I am very Happy with them I'd never purchased any 19 displays. About 5 years back, i was in the market for 3 2- units, and like I usually do with any major $ investments, I investigated the applicable specs, then compared prices underneath that. At that time, the 20 LCDs from Dell were the best buy, purchasing them from Ebay made it also a *very* good deal. The only problem there is, the little group of folks selling those Dell monitors had organized several shell-games on Ebay, running some *very* easy to fall into frauds, so you needed to be really careful. Twice, I ran into the game of getting dome shill to run the price of a monitor I was interested way past what I wanted to pay, then when I let the deal walk away from me, the con-people wrote and tried to convince me that i'd won the Second chance purchase, and that I'd obligated myself to pay the price they'd bid it up to. I complained to Ebay, but (as usual) Ebay was deaf about it. It's easy to avoid this, but you need to be aware of the scam, which is still operating today. How do I know? Because one of those 3 20 displays went bad on me 4 weeks ago, and I replaced it with a 24 model. That new model has automatic PiP, too. I really like the Dell, both because of their outstanding contrast and brightness, no dead pixels in any of my LCDs, and the fact that they come with multiple interfaces which are switch selectable from the front panel. The old 20 units had 4 jacks (RCA, S-Video, VGA, and DVI). Really convenient. The new 24 one, beyond being able to run native 1920X1080 for HiDef Video, it's got about 10 different jacks. Looks it up the web, the Dell pages describe it best, and the contrast on that 24 has to be seen to be believed. I actually turned it down! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiPLK8ACgkQz62J6PPcoOnz7QCfTLY9jazfYlcseoP+i71R9C6I hVIAnAzBPlvTS/EspPAPwwJVIKEfg5So =QVya -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Component-based Operating System.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan Voras wrote: Juan Carlos Villalobos wrote: Hello, I am writing a paper on Component-based Operating Systems. I just wanted to know if FreeBSD is an Operating System engineered based on Components. I appreciate your input on this. Components is a wide, wide term. Since FreeBSD as an operating system consists of separate libraries, headers, executables, and both the kernel and the userland have subsystems that are more-or-less autonomic and independent, you could say it's componentized. You need to be more specific to get a more specific answer. Yeah, that's true, but not very informative. Look, I don't follow OSes all that much anymore, but if I had to call up an OS that would be made up of more of a set of indenpendent pieces, I think I would choose the GNU Hurd OS. From everything I read, it was never very successful, if one counts the ability to return some good throughput as being successful ... or, maybe they have some other characteristic which I'm not aware of. Anyhow, the HURD (at least in concept) is far, far more of a component based OS than anything else I'm aware of is. It's an interesting concept, at the very least, and I do understand it works. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiOQCcACgkQz62J6PPcoOkrAgCbBafpW+o8BqrV/t/S8ta8hd1b PykAnRtV8B28azFi9ffdYDrGfWYIfjlR =64AQ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root boot/mount Password?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DSA - JCR wrote: Hi all FreeBSD 6.2 I would like to put a password when booting/mounting mi Freebsd box. is it possible? How? What I want is that if the system is rebooted or shutdown, somebody must enter a password to boot and/or mounting / is for protecting the system from unauthorized users A couple of items here. The first is a long known rule of security, which is, if an attacker has physical access to the console, then the game is up, you can't protect it any more. This has *somewhat* been modified in the last few years, because it's a become a fairly common option in BIOSes to allow for a boot password. This too can be bypassed, pretty quickly and thoroughly, by doing a CMOS memory clear, but it IS a step in the right direction. Honestly, though, a good security strategy is to respect that rule about an attacker with physical access to the console: protect yourself physically. Yes, you can set that boot password in the BIOS (active before any OS, including FreeBSD, starts up) but don't be silly and rely on that ... protect yourself. Thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiLZJYACgkQz62J6PPcoOkWkgCePG+GpCdE3XJ+g1IzXjZ9QzzT jm8An2MpTyWMnTnTvfLMCmqNhTC2GXaj =YdcO -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading from USB devices
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lowell Gilbert wrote: Andrew Falanga [EMAIL PROTECTED] writes: I'd like to read data from a USB device that is not a thumb drive. How would I do this? For instance, it's an oximeter for reading biometrics. What libraries exist for reading things like VID/PID, and most importantly, reading the data from the device? Start with usb(4). HID devices tend to be easier to deal with than others, but I doubt your instruments are in that category. Actually, if it was a thumb drive, yes it would surely not be a hid device, but an oximeter? Seems like it stands a very good chance, and it's easy enough to check, just see if it can run the uhid driver. If it comes up as the uhid (just kill off the ugen for a run) then it's a uhid. I disagree that its all that easy even then, because you need to know how to read the report descriptor. Kai Wang's krepdump util will give you the report descriptor in binary, and if you needed help in parsing it, I wrote a helpful demonstration hid parser, in python (with a nice GUI), if you have python with tkinter working, then give me a email, I'll email the stuff to you, it's only a 25K tarball. If you read that descriptor, it gives you enough info to be able to parse the stuff coming from the oximeter, so just loop a C program using read(), to pick up the bytes. All the info needed to do that's in the report descriptor. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiEpbwACgkQz62J6PPcoOlmUQCeKQoRJUa5FpPctCuh1dB0nPDC YpwAnAw2I7a8cg778TBVpioEl7P33BWF =KCaA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't ping
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: check your firewall rules On Sun, 20 Jul 2008, Rem P Roberti wrote: Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. You folks are all probably dead on, exactly right, but I recall once, about 18 months ago, that my permissions on one machine went haywire, and it lost the setuid bit in the permissions. On some machines, this'd sure enough hurt things. Maybe this here (below) could help? TCSH-april:chuck:~:#103-15:18ls -l `which ping` - -r-sr-xr-x 1 root wheel 23868 Jun 15 21:09 /sbin/ping* If those good suggestions regarding the firewall turn out not to work, maybe this could be experimented with? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiDzjEACgkQz62J6PPcoOmSAgCfTcM1RMXpEu3jKL3Nrov2zY4F neIAn0YLUss8E1joGGXQvgW2+MivEXKn =C+x+ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video Card Info
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RW wrote: On Fri, 18 Jul 2008 18:15:48 -0700 George Hartzell [EMAIL PROTECTED] wrote: Warren Liddell writes: im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. But does the proprietary nvidia driver work? The nv driver is slow, makes heavy use of the CPU, and has no 3-d support. The nvidia driver doesn't work on the 64-bit version of FreeBSD through. You should mention that the Nvidia driver that Nvidia distributes (and is represented within FreeBSD by a port which builds installs with no difficulty at all) works just fine. I personally have the Nvidia 8600GTS, I use that driver, and it's a perfectly fine option. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiCCcUACgkQz62J6PPcoOlC0gCfY1t2ZaXuvzBwSgzmGwgfgI06 +kgAmgJd/jEaUggqD5gE2M0K5m3FobOi =i0jc -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video Card Info
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George Hartzell wrote: RW writes: On Fri, 18 Jul 2008 18:15:48 -0700 George Hartzell [EMAIL PROTECTED] wrote: Warren Liddell writes: im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. But does the proprietary nvidia driver work? The nv driver is slow, makes heavy use of the CPU, and has no 3-d support. The nvidia driver doesn't work on the 64-bit version of FreeBSD through. I'm running amd64, so I didn't even try the proprietary one. I have an amd64 host, but I don't run FreeBSD on that one, I sort of spread myself out so I can cover a few extra platforms. I did hear that the nvidia driver didn't work on amd64, but I couldn't tell you why. It's probably covered onthe FreeBSD-multimedia mailing list, and I would search the archives of that list before bothering folks on that. The FreeBSD mailing list archives are great resources. g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiCDWcACgkQz62J6PPcoOlR6wCfVuohVUf///FzhyQjVZYEu72T HJ0AoJUh+GhXcQq0tqpGHNRukVmT6VGD =ichG -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD as VOIP PBX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sergio lenzi wrote: Em Sex, 2008-06-20 às 21:45 +0200, Wojciech Puchar escreveu: when i connected 56 cisco phones to my laptop (used 4*16 port switches ;), and having all of them working (called from first to second, from third to fourth etc..) there was below 4% CPU load but it's 1200Mhz Pentium-3M. Yes... the cisco uses SIP, that is far more efficient... i forget to say - SIP allows direct calls (data goes directly between phones), SCCP doesn't (at least asterisk module). in tests i intentionally disabled this to make asterisk server loaded we use sip the same way you do with sccp because we need tranfer calls (,Tt) in the dial command E1 boards, the best we tested are from the chinese openvox... without echo cancelation it seels for about U$750,00 for one port E1, US$1800 for 2 ports, US$2800 for 4 ports... My god, for the hardware involved, that's unbelieveably expansive. in my country (brazil) you may think it is too expensive, but as you think that ONE port for a siemens pabx is about US$4000 (yes, 4K dollars) For the Siemens pabx, you're paying for the switching capability, and the literal ton of software to do all of the call handling. Maybe I got you wrong, in what I read above, I haven't seen those Openvox cards, but if they are only voice interface (a T1 or E1 single channel) plus signally, wow, that's a lot. If the interface an entire group, either T1 or E1, that's better, but it sure includes a healthy kick for a profit factor. I know, I've built them in the past, there's just not THAT much to them. Maybe I'm missing something. Actually, in the present case, the cost of doing switching has dropped in a major way, so the cost, which used to be justifiable at $4k/channel, well, it's certainly not that way any more. Let's see, from memory, I think that the old Northern Telecom DMS250 ran about 2.5 million plus the cost of channel banks, I think. I was always doing engineering, not sales, but your cost figures, they sure do seem high to me. As far as handling the software, the old tandem switches used to use mini-computers to run maybe 4,000 channels in one switch. I forget the name of the most famous tandem switch, but I do know they used a single mini. Today's computers are far more capable, and so could very easily power a whole switch. Course, doing that kind of software, well, it's the most difficult stuff to do that has ever been accomplished. The folks that did it never got enough credit. you may imagine that for the price of only one board for a siemens you can mount the pbx, the cpu, the FreeBSD. you mount a 100 phones pbx for less than half the price of a siemens equipment including the 50 ATAs linksys pap2. The poor the country, the more you pay that is the rule. Philips, nortel, alcatel are even more expensive.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXpYvz62J6PPcoOkRAsZoAKCDFT6zyX43pSZkSDC1xv3xsYsMXACfZQvq TsB0dr9vQN6+03TVyGl9mA0= =oUqG -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which file can I find the error message that shows on the screen when I build my kernel?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: Hi: I have make some changes to the kernel files and rebuild the kernel, but when I rebuild the kernel, it show some errors and stop rebuild. The question I want ask is that: Is there any file that store all these error message, If there is, where can I find it? Because there are too many errors occur, I can't see all the errors on the screen, if there is a file that store these error messages, then I can find all the errors and fixed them. Thanks! Best Wishes Not zutomatically. When I run builds, I save rthe output. I normally do this in tcsh, so the command here is make | tee makeout where the complete ooutput goes into the makeout file. The there doesn't take it's normal meaning of throwing the task into the background, instead, what it does is to capture both the regular output plus the stderr output. If you don't use it, you'll get the listing UNTIL the error, and it won't register the error, so don't forget it, nor change it's placement. This can also be done in sh shell, but I'm not used to using the sh syntax for that (both piping and tossing the stdout with stderr), so if you need that, I will let someone else tell you how to do that. Be wary of the fact that, that makeout file's gonna be LARGE. Several megs in size. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXpdUz62J6PPcoOkRAhfLAJ0Zis2ahvh+Gto8u2eJt/vSkJwZugCfUgrK tEfIlZMl6A2YSTJJqPKOhQA= =GHLz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which file can I find the error message that shows on the screen when I build my kernel?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonzalo Nemmi wrote: On Sunday 22 June 2008 15:17:56 Chuck Robey wrote: make | tee makeout where the complete ooutput goes into the makeout file. The there doesn't take it's normal meaning of throwing the task into the background, instead, what it does is to capture both the regular output plus the stderr output. If you don't use it, you'll get the listing UNTIL the error, and it won't register the error, so don't forget it, nor change it's placement. I wasn't aware of the use of ! I thought that getting a new interactive shell would force tee to record errors too, as it was supposed to record the whole thing, not leaving anything out (the errors in this case =P) Thanks a lot for the tip Chuck ! There's an app somewhere in ports that will catch some programmable amount of a file (like maybe 1K bytes) and keep this amount as the file keeps writing in and out. That way you can easily catch the most important part only, and toss the rest. It'd be a nice project for anyone new to C, not too difficult. Alterntiavely, you could set it to toss all lines until it notices the work error (in upper, lower, or mixed case), whereupon, it switches to saving all. Would be a nice app, but it's there in ports already somewhere. For along time, used only tcsh, under the mistaken belief that you couldn't redirect stderr for piping, under a sh-like shell, but about 6 months ago, I found out how to do that. If you would rather use a sh-like shell (maybe you'd be one of the bash-aficionados?) tell me, I will hunt up that trick. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXrOLz62J6PPcoOkRAp2wAJ9XH39bz5QFD5tYOE3pIfjkVV+9EACfZhCe D6YvWJHo363S0oFPEP4x9hc= =AHRa -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: shellscript conditional to check for external disk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Helge Rohde wrote: Hello List, I need to write a backup script, and one of the required actions would be a copy of the backup to an external firewire drive. I would like to make this as easy as possible for the local staff, so i'd like to check whether the drive is attached, if necessary mount it, copy over the backup and unmount it again, so that the local staff can swap the external disks when they're not used. Is there a canonical way to achieve what i want? I played with the idea of simply checking for /dev/da0s1d's existance, but that won't disappear on disconnect, so that would leave the is a possibility that although da0 is in /dev, it might not be connected. Any ideas or RTFM-pointers? I'm not certain this will do what you want with enough security, but if you put the commands in to mount the dist into /etc/fstab, then later on your ask simply mount diskname, mount will follow those rules to mount the disk, if it's indeed in existence. Putting that into a script is pretty simple. There are a huge number of backup commands ... I rather like tar, which can be made to automatically compress the output, or to ask for a single file out of the whole archive, on restoral. Either way, not hard to automate. Does this fit what you wanted? There's a good man page on fstab, and y9ou shouold read the pages on mount and tar. Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXX3az62J6PPcoOkRArsiAJ0f/b3bQbChB9t48EUu5HhznTaetwCfc5OJ VGflPb3nUXht709CGpaUPUQ= =/zdL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to view environment variables
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Whitehouse wrote: RW wrote: On Sun, 15 Jun 2008 00:27:10 +0100 Chris Whitehouse [EMAIL PROTECTED] wrote: Hello, sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they are set to? set and printenv don't find them. I'm using standard csh and FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it seems very slow. If you didn't set them, they probably aren't set. You'll need to consult the fusefs-ntfs documentation (or source) to find the default value. I think this explains part of my confusion. If the variables are not set ntfs-3g assumes some defaults (in README.FreeBSD) but doesn't set them as environment variables. I thought ntfs-3g would actually set them. I still don't know how to view them when I have explicitly set them, as per previous reply to Robert Huff. eco# env UBLIO_BLOCKSIZE=65536 ntfs-3g /dev/ad0s1 /ad0s1 eco# setenv |grep UBLIO eco# I just picked up on this ... environmental variables are part of the private environment of programs. Those variables are given to any child programs. If the programs are shells, shells specialize in creating child programs, so all those environmental variables get given to the children. A filesystem doesn't create children, it just organizes the storage and presentation of disk data, so when you set a environmental variable to a filesystem, it may react to that variable if it is programmed that way, but it doesn't send it anywhere. If you want to see the variable in your shell, then you must tell the shell to set it in it's environment. For a sh-like shell, you would do something like: export UBLIO_BLOCKSIZE=65536 For a csh-like shell, use: setenv UBLIO_BLOCKSIZE 65536 (Notice that a csh-like shell DOESN'T use the =). Your filesystem prog is being told of your variable above, but your attempt to see it is misguided. There was a way to see the information, using the e option to ps, but it was always a security problem, so it seems like that was removed from FreeBSD (it's probably controlled by a sysctl). I think it still works in most linuxes. Reading the variables is very easy to do with the env program, where if you give it no args, it repeats all the variables. Try it. It works for all shells, unlike your setenv, because it's an actual program (/usr/bin/env). setenv is, for a csh-like shell, a shell built-in, not a real program. The way it goes to programs is via 3 variables given to every program. They are, in the order they're presented: 1- argc, which means the number of parameters given to the program by the shell 2- argv, a list of string pointers, to program parameters 3- envp, a list of string pointers, to name=value pairs, for all environmental variables given to each program. Those names are only the commonly used names, they may be changed completely at will, because the system only gives the info in the order I gave, and doesn't associate the info with any names. Your program needs to associate some names to the parameters so that you can manipulate them, and using these names is a good idea so as not to confuse other programmers, just don't get the idea that those names have any real magic meaning on their own. I could write a program using manny, moe, and jack as the names of the 3 items given to a program, and (beyond making things confusing) that program would work just fine. Writing a small program that annouces the arguments count, and prints all of the parameters, and all of the env. variables, makes a fine beginners first program. Chris ___ 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] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIVUh7z62J6PPcoOkRAp5+AKCAuGFkXoiWMzthzPqpQfR3lGPamQCdH9KI UJwnNE1c7ox5JrSwHoEzJWo= =4Oue -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian wrote: Jos Chrispijn wrote: Can someone tell me the difference between 'make -j2 buildworld' and 'make -j4 buildworld' ? Thanks, Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] fyi, the below is from /usr/src/UPDATING: COMMON ITEMS: General Notes - Avoid using make -j when upgrading. From time to time in the past there have been problems using -j with buildworld and/or installworld. This is especially true when upgrading between distant versions (eg one that cross a major release boundary or several minor releases, or when several months have passed on the -current branch). I really don't think that's a fault of make(1), it's a fault of the Makefiles, which have to be written very carefully so that having multiple parallel processes going might screw up building. Yes, it has done that in the past, but it's an occaisonal thing, not a regular thing, because there's a good number of folks who build there kernels with something like -j4. I often do. One just has to be really awake when you hit a problem, or when reporting a build error... rebuild without the -jN. I did some testing, at least for me, I get the most improvements when the number of cores or processors equals the -j number. You can make it higher, even double it, withoout hurting things, but 95% of the improvements come from matching the number of processes to the number of available CPUs (and that' by my own testing, not theory). Still, if you aren't willing to do your won troubleshooting, best to avoid using - -j anything. It's very easy to screw up. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFITI8Uz62J6PPcoOkRAvc0AKCihT7rT4VrDI/6ve1BXfWjXwrsHgCdE4qr F1uwEvIAQt8qNrQADQZbkvI= =g9B0 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: git
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giorgos Keramidas wrote: On Wed, 04 Jun 2008 04:22:09 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: On Tue, 03 Jun 2008 14:31:24 -0400, Chuck Robey [EMAIL PROTECTED] wrote: Wonder if anyone could tell me why anything I do to run git-pull gives me a coredump? The image that gets dumped is git-fetch, if that helps, and I was just trying to update the xorg source tree. Hi Chuck, Something is obviously broken in Git 1.5.5. My installation from Ports core dumps pretty fast too: [EMAIL PROTECTED]:/home/keramida/git/erc$ git fetch Segmentation fault: 11 (core dumped) [EMAIL PROTECTED]:/home/keramida/git/erc$ [...] Are you also running with option 'J' enabled in `malloc.conf'? Verified. Setting malloc.conf options to 'aj', lets git-fetch run without crashing: I moved the discussion to hackers, take a look over there for more info, I don't think it's malloc, and I think I've proved at least part of my case. : [EMAIL PROTECTED]:/etc# ln -fs aj malloc.conf : [EMAIL PROTECTED]:/etc# : : [EMAIL PROTECTED]:/home/keramida/git/erc$ git-fetch : [EMAIL PROTECTED]:/home/keramida/git/erc$ : [EMAIL PROTECTED]:/etc# ln -fs AJ malloc.conf : [EMAIL PROTECTED]:/etc# : : [EMAIL PROTECTED]:/home/keramida/git/erc$ git-fetch : Segmentation fault: 11 (core dumped) : [EMAIL PROTECTED]:/home/keramida/git/erc$ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRrbaz62J6PPcoOkRAnD+AJsFPoO9okMslbl9PMN8g22qlYzGVwCeIIwX q0iQ6ZVYE4O60iIaKtngknI= =vKAo -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printer advice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar Sent: Tuesday, June 03, 2008 1:06 AM To: Warren Block Cc: FreeBSD Questions Subject: RE: Duplex printer advice This depends a lot on your print jobs. Low quality machine-generated PostScript output can be slow. PCL can also be slow. The only way to really know is to benchmark with your print jobs. there was no case i found postscript to print faster. You won't on an HP printer, at least not an older one. ?? I had one of the original LaserJet-1's, which derived it's postscript emulation via a plugin cartridge. I was Very happily surprised when I finally switched to using ghostscript, because my print rate went up on every class of printing, whether it be the faster text only jobs, or the unbelieveably slow binary images. Didn't have color back then. Text was faster, but FAR faster with ghostscript. This was my personal printer, not something told to me by others. Remember that HP had to pay a very hefty fee to Adobe for licensing PostScript for each printer. HP did everything possible to push PCL and discourage customers from selecting PS because they did not want to continue to have to pay Adobe. HP did not dare mess with the PostScript implementation itself for fear of a lawsuit - every HP printer that went out the door they definitely made sure was completely compliant with PostScript - but they did everything else to discourage it. They told all the companies that wrote tutorials to minimize PostScript and enhance PCL, they make PostScript models much more expensive, they didn't ship models with Postscript with enough ram to run the PostScript interpreter reasonably quickly, and they made no effort to speed up the PostScript implementation. Still another trick was distributing PPD files that didn't have a complete definition of all printer accessories so that when you printed PostScript from, for example, Windows, you might not have a duplexer definition and could only print duplex on PCL. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRWxmz62J6PPcoOkRArlnAKCjw6AEzF3yLxUArG/2tHLJ1bK4dwCcC3Mj eNWZXUd7LxZCCdyKxPTgZe4= =JKb+ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
git
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wonder if anyone could tell me why anything I do to run git-pull gives me a coredump? The image that gets dumped is git-fetch, if that helps, and I was just trying to update the xorg source tree. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRY37z62J6PPcoOkRAnXeAJ93lrCpYso1hj+KOEZqAT02tI3W9QCbBLbJ vBsWFdvjm/6uAXpp8etLZWY= =b4R6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printer advice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary Kline wrote: Agree 100.0%, Ted. Long run, the inkjet will bleed you like a leech. My 1991 [?] DeskJet 500 was $400, major bux. But having bought at least two cadtrides/year until last winter. Lowball it: $20 per cartridge. Well over a kilobuck. I *know* what it's like to be squeezed for cash, Chuck. It may take you weeks of surfing for the best deal, but go laser if you can. At the same time, HP's patents are about to expire in the next few years. Anybody know when, to-the-year? Well, having had both, the only problem I've seen in some of the Inkjets is that (and HP is bad at this) the ink tends to dry up and jam both the ink cart. and (in HP's case) the printheads also. Least so far, I haven't see this at all with Epson. I *have* seen that there's a thriving market in those 3rd party inks, which are dirt-cheap, but I haven't any experience in inkjets with 3rd party inks, only the lasers, where they do ok. I have been looking at the Epson RX680, where it's less than $200 for all the features (except the postscript emulation) of the Brother $700 printer (I forget the model I liked, just remembered the list price from the Brother web page). That's a 350% difference there, Gary. I'm still making up my mind, but I just don't print all that often to need a $700 unit, and I did notice that there is just about no 3rd party market at all for the Brother units (just a huge ink market) and they are conspicuously missing from ebay also. Means I'm likely to actually PAY the full 700, not even slightly true of the Epson model. Yeah, quality is a very nice thing to have ... if I had a user report on the 3rd party inks from someone I trusted (and it wasn't too evil) I would probagbly jump to the Epson, it's just too darn expensive to go quality when you print once a week. I do need the fax scanner features, no matter how seldom I use them, though. Big help for someone who's disabled. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRZMLz62J6PPcoOkRAtMoAKCJVRhRjXMi5ubZ68vC3MnGKn764QCfeGjm fJCsYSyRUcy0rnNPoxI/6bA= =C1yI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: git
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 N.J. Thomas wrote: * Chuck Robey [EMAIL PROTECTED] [2008-06-03 14:31:24-0400]: Wonder if anyone could tell me why anything I do to run git-pull gives me a coredump? The image that gets dumped is git-fetch, if that helps, and I was just trying to update the xorg source tree. Have you tried to clone other repositories and see if you can replicate this error? I built my git from ports and IIRC, it seemed to clone and pull the xorg tree fine (but that was about 3 weeks ago). Thomas No, that's the only git repo I have now. Got a url of one that works for you? I have extra disk to give it a try. Beyond that, I just tried purposefully sticking a division by zero in a little demo C prog of mine, and that one, when I do the gdb -c corefile gives me the same thing, thousands of empty stack frames and no full ones. Why should that be? I have used gdb very recently to debug static images, they work ok (although I didn't try the corefiles on those). -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRa2/z62J6PPcoOkRAscOAJ9kkx1COQ+4UR/AU1xECliyGlE68QCfRWiB tPZC6YOG1cZ4xgkpD3+FjK0= =4hBV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: git
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 N.J. Thomas wrote: * Chuck Robey [EMAIL PROTECTED] [2008-06-03 16:46:55-0400]: git-pull gives me a coredump Have you tried to clone other repositories and see if you can replicate this error? No, that's the only git repo I have now. Got a url of one that works for you? I have extra disk to give it a try. Debian has nice list of git repositories available for cloning: http://git.debian.org I'm very new at git, and while I know cvs pretty well, I just don't know git. I just tried to do a git clone on a Clisp image, worked fine, then I cd'ed into it until I saw a .git directory (I assume that's something like cvs's CVS dirs) but when I tried to do a git pull (no params here) it gave me a coredump. Did I do that right? I mean, it was a correct test? Does the git-clone call git-fetch? Because that's the part that's failing in the pull, so I wonder if it's getting called in the clone. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRbpGz62J6PPcoOkRAmrgAKCWomx2cbl04sL6pLIoVItr7YUEOwCgnLNS eRxvuroEpnM3rZBr0cgMfWg= =qsIX -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Duplex printer advice
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline Sent: Sunday, June 01, 2008 12:23 PM To: FreeBSD Questions Cc: Kurt Buff; Derek Ragona Subject: Re: Duplex printer advice I second this suggestion since my Brother HL-5250DN just-worked once it was plugged into my hub. It was $179 at Costco a few months back, has all the features that David mentions, and builtin Postscript|clone. It just prints--nothing fancy--but then hey... . Just one warning about these. The toner empty light blinks use the same pattern as the fuser fail. And, unlike the HP units, you usually can't shake down the cartridge to get an extra hundred or so pages out of it. Don't jump to conclusions that the fuser is bad when it's out of toner. Man, this is really going to look like I'm never satisfied, which I guess is actually true, so why am I worried about that? thanks to this thread, I found out about the Brother printers ... my own requirements list includes (color duplex printer scanner). I don't need it to be a laser, but I do need both color, multifunc, and duplex printing. I spotted the Brother the DCP-9045CDN, but at $700 list, I begin to wonder if I could find one with the same specs ESCEPTING it was the cheaper technology of inkjet. Didn't find a Brother like that, but I'm not finished looking for used 9045's, and I didn;'t get your comments about it ... please don't spend time trying to talk me out of features like color, or duplex, I like both too well. I might be talked out of it being multifunction, but it's be a fight for sure. The reasoning behind going to inkjet is because I'm currently on a tight budget. I really would like to pay no more than about half that $700. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIQz4tz62J6PPcoOkRAmFZAKCJ4AJcZx5LpsXUdeVVVWA+fD7I6wCeMNLK 3iU8Y97qg1foFf0i7ICxWn4= =I3NO -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: External USB disk won't mount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Ovens wrote: Bought an external USB HD enclosure but it doesn't work under FreeBSD. Under FreeBSD-6.3-STABLE: umass0: Super Top USB 2.0 IDE DEVICE, rev 2.00/2.01, addr 2 da2 at umass-sim0 bus 0 target 0 lun 0 da2: MAXTOR 6 L040J2 \\ Fixed Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: 38172MB (78177792 512 byte sectors: 255H 63S/T 4866C) # mount /dev/da2s1f /mnt # ls /mnt I saw a mail yesterday about something nearly like this, from nej, except with him, the umass device wasn't reporting anything at all, no device when he plugged it in. I sent him a little piece of usb driver code that resets his usb buss, just to experiment and see if that got his devices correctly detected, but he didn't yet reply, I don't know if it worked for him. I don't have something like that to experiment with. With yours, you obviously have a da2 ... that only means you have a direct-access disk devide #2 being detected. The next step is to figure oout what kind of formatting you have. Hopefully, it's been fdisk'ed to where it has partitions, so do this (as root): /sbin/fdisk /dev/da2, and in fdisk, give the 'p' command, this will print out the formatting for any partitions. Likely it's either one of the various Microsoft things, or a Linux one, or even a FreeBSD one. Depending on what you see, you either directly give a mount command next, to the right partition, or maybe you use bsdlable to find out what the disk-labelling is (if it's a FreeBSD disk). Probably the right thing to do is to reply here with the results of the fdisk, then whoever jumps on it first can give you the right thing to do next. I'm not going to try to tell you all the possible ways to go at this point, not without that. # (The disk is from another FreeBSD system so is UFS2 and da2s1f is /usr on the other system) So although it mounts, nothing is visible. After a few minutes this happens: umass0: at uhub3 port 1 (addr 2) disconnected (da2:umass-sim0:0:0:0): lost device (da2:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0 (da2:dead_sim0:0:0:0): removing device entry umass0: detached Tried it under 7.0-RELEASE and it's even worse - it crashes the kernel with Fatal Trap 12: page fault in kernel mode. (forget the exact wording of the message, but it's definitely Fatal Trap 12). So is this just a case of the device not complying with USB standards - the manufacturer just tests it under Windows and that's good enough - or is there a way to solve this? I can confirm that the disk is good as I borrowed another enclosure to try and that works as expected. Regards, Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIPaaDz62J6PPcoOkRAhNRAJ0TM+Izyjj1n+tMD8YAKc0XALk6TwCdHo/R uZES2fTDXjaG3v+GXSZpglg= =lHgf -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: External USB disk won't mount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Ovens wrote: Chuck Robey wrote: I saw a mail yesterday about something nearly like this, from nej, except with him, the umass device wasn't reporting anything at all, no device when he plugged it in. I sent him a little piece of usb driver code that resets his usb buss, just to experiment and see if that got his devices correctly detected, but he didn't yet reply, I don't know if it worked for him. I don't have something like that to experiment with. With yours, you obviously have a da2 ... that only means you have a direct-access disk devide #2 being detected. The next step is to figure oout what kind of formatting you have. Hopefully, it's been fdisk'ed to where it has partitions, so do this (as root): /sbin/fdisk /dev/da2, and in fdisk, give the 'p' command, this will print out the formatting for any partitions. Likely it's either one of the various Microsoft things, or a Linux one, or even a FreeBSD one. Depending on what you see, you either directly give a mount command next, to the right partition, or maybe you use bsdlable to find out what the disk-labelling is (if it's a FreeBSD disk). Hi Chuck, The next line in my post after where you snipped was: (The disk is from another FreeBSD system so is UFS2 and da2s1f is /usr on the other system) Yeah, I don't even have a good excuse, that was extremely ill done of me. I guess I was trying to do something quickly while I was really thinking of other USB things, and walked into that. It's NOT the kind of usb that I've been working on either, I've been heavily into HID stuff, and that's totally different than a disk thing. If it's a device driver level problem, and it sure seems that way to me, I can't honestly offer you much, even if I had it here, I would approach it slowly. I think I will drop out of this one, Mark, and contemplate my navel a bit. I'm a bit embarrassed about that, could you tell? It contains a running FBSD 7.0 system - it's out of a spare box I was using for testing and it mounts/reads/writes fine using the other USB enclosure I borrowed. There's just something screwy about the enclosure I've bought (typical eh?) Regards, Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIPddYz62J6PPcoOkRArErAJ9an6NsIja5B9gTlZQvOIL5xslmWwCgl7Rb Mq9WW70l28IpnkYnsNI+EAU= =MY/q -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stick memory USB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nej ALL wrote: Hi, I'm new on FreeBSD not on unix. I want to mount automatically an usb-stick memory into my machine ? I get some problems. Need help. You're trying with your devfs stuff to create the file, but you have to realize it's a device representing a filesystem, not just a file. What you want to read is the mount and fstab man pages, mount to find out how to mount your memory stick, and fstab to figure out how to get it to happen automatically. The devfs stuff is all mistaken, I think, you want that when you want to change permissions or make softlinks of devices, not to create them in the first place, least that's how I';'ve always used it, and I know very well that the correct line in /etc/fstab WILL automount your memory stick. I could give you the exact line, but I think you would rather look that up yourself (I know I would). - /etc/devfs.rules add path 'da*' mode 0660 group operator Actions: 1) ls -al /dev/da* ls: No match. 2) I Plug into the USB port, the ImageMate 12-in-1 Card Reader/Writer (SanDisk) 3) ls -al /dev/da* crw-rw 1 root operator0, 136 25 mai 14:11 /dev/da0 crw-rw 1 root operator0, 138 25 mai 14:11 /dev/da1 crw-rw 1 root operator0, 140 25 mai 14:11 /dev/da2 crw-rw 1 root operator0, 141 25 mai 14:11 /dev/da3 4) I put the memory stick into the Card reader's slot 5) ls -al/dev/da* crw-rw 1 root operator0, 136 25 mai 14:11 /dev/da0 crw-rw 1 root operator0, 138 25 mai 14:11 /dev/da1 crw-rw 1 root operator0, 140 25 mai 14:11 /dev/da2 crw-rw 1 root operator0, 141 25 mai 14:11 /dev/da3 the /dev/da2s1 isn't here. 6) mount_msdosfs /dev/da2s1/mnt/cleusb/ mount_msdosfs: /dev/da2s1: No such file or directory 7) fdisk/dev/da2 *** Working on device /dev/da2 *** parameters extracted from in-core disklabel are: cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 4 (0x04),(Primary DOS with 16 bit FAT ( 32MB)) start 64, size 62656 (30 Meg), flag 0 beg: cyl 1/ head 0/ sector 1; end: cyl 979/ head 1/ sector 32 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED 8) ls -al /dev/da* crw-rw 1 root operator0, 136 25 mai 14:11 /dev/da0 crw-rw 1 root operator0, 138 25 mai 14:11 /dev/da1 crw-rw 1 root operator0, 140 25 mai 14:11 /dev/da2 crw-rw 1 root operator0, 141 25 mai 14:11 /dev/da3 9) mount_msdosfs /dev/da2/mnt/cleusb mount_msdosfs: /dev/da2: Invalid argument The command mount_msdosfs terminated abnormally but created in the /dev directory the /dev/da2s1 file. 10) ls -al /dev/da* crw-rw 1 root operator0, 136 25 mai 14:11 /dev/da0 crw-rw 1 root operator0, 136 25 mai 14:11 /dev/da0 crw-rw 1 root operator0, 138 25 mai 14:11 /dev/da1 crw-rw 1 root operator0, 140 25 mai 14:11 /dev/da2 crw-rw 1 root operator0, 142 25 mai 14:11 /dev/da2s1 crw-rw 1 root operator0, 141 25 mai 14:11 /dev/da3 11) And now i can mount and umount the stick memory. Please, can someone explain to me why, when i plug the stick memory into the slot of the card reader, the system doesn't create the /dev/da2s1 file in the the /dev directory. And why i use the mount_msdosfs command, this command creates /dev/da2s1 file in the /dev directory. Thank you for your answers ! Sorry for my english. Best regards Nej Email : [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIOa34z62J6PPcoOkRAgH6AKCUgvP/EqN9INW2oQ+F+JCob71WYwCfaoJB E1viOjy7youaf0uoJ/EDK9I= =VDLR -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Best nVidia card for Xorg on FreeBSD?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Chen wrote: On Sun, May 25, 2008 at 11:04:40PM +0100, Mark Ovens wrote: Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had nothing but trouble with X hanging/crashing/locking-up. From what I've read, the state of the radeon drivers leaves much to be desired and although some people seem to have trouble with nVidia cards they appear to be a better choice. So, after over a decade of brand-loyalty to ATI (when I started with FreeBSD back in the mid-90's ATI cards were the only ones I could find that would run X at better than VGA resolution) I'm going to switch to nVidia. Heh. I was just thinking about going the other way. One of the main problems with the nVidia on X is that the xorg-nvidia driver is very basic; this can be demonstrated by going to a Javascript heavy page (eg http://www.xwiki.org) using firefox. The X-server just slows to crawl when trying to scroll the site. The behaviour is not exhibited with xorg-intel driver, as a counter-example. Support for the nVidia on FreeBSD from the vendor is also incomplete: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html The feature request from nVidia appears to have stalled for the time being (more correctly: I couldn't locate news on any updates to on the 'Net). In short, nVidia cards are usable, but performance can be exceptionally bad. 'Scuse me, I'm not personally very familiar (yet) with 3D graphics, but I'm reading OpenGL (I bought the SuperBible) and I'm quite well along in writing my driver for a cheapy graphics tablet, to get me along with Gimp. So, could you tell me, are your comments about the Nvidia card driver performance dealing with the Nvidia-supplied driver and OpenGL libs they have, as expressed in the FreeBSD-ports supplied (from Nvidia code) Nvidia driver?? I have them compiled under FreeBSD-current, because a friend recommended them as the best available, is that wrong? Is there better? I am not aware of any pure-public driver for those cards, but I just am not very well up on their details, so I want to be sure of your meaning, making sure I have you right here.. BTW, my card is a Nvidia-compatible (licensed) GeForce 8600 GTS card, if that means anything to you. If you think the ATI cards (using FreeBSD available drivers) are better, let me have that one more time please, there is very little on the net from even slightly reliable sources on this, so I would guess you have a attentive audience here. Cheers. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIOhibz62J6PPcoOkRAoUFAJ4iG+lO49cL3X2qNrRWDwpvPgaAmwCfWd67 zmGMC23pwA6mE5w2LycKB/k= =97lJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Belkin F5D9050 ver 4000
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven Friedrich wrote: [EMAIL PROTECTED] wrote: Doing a descriptor dump, and posting the results to freebsd-usb@, might find someone who knows how to get that particular device to work. Ok, I'll bite. How do you do a descriptor dump? One way is to use sysutils/udesc_dump, from ports, as recommended here: http://lists.freebsd.org/pipermail/freebsd-usb/2008-January/004308.html Standard Device Descriptor: A way that gets you a hex dump is to use Kai Wang's kernel module, avaialble at http://people.freebsd.org/~kaiw/tools/krepdump.tgz. Just compile and load it (it builds trivially easy) and then unplug/plug your device, and out pops a descriptor dump. I liked that hex dump so much, I made it the input to my teaching parser, which I stuck at http://people.freebsd.org/~chuckr/code/python/uhidParser-0.2.1.tbz bLength18 bDescriptorType01 bcdUSB 0200 bDeviceClass 00 bDeviceSubClass00 bDeviceProtocol00 bMaxPacketSize 64 idVendor 050d idProduct 905c bcdDevice 0001 iManufacturer 1 iProduct 2 iSerialNumber 0 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength53 bNumInterface 1 bConfigurationValue 1 iConfiguration 0 bmAttributes80 bMaxPower 150 (300 mA) Standard Interface Descriptor: bLength9 bDescriptorType04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 5 bInterfaceClassff bInterfaceSubClass ff bInterfaceProtocol ff iInterface 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 01 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 03 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 04 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval0 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): Belkin -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMbfPz62J6PPcoOkRAmenAJ9RdY2uRPPABAn823C0CnNe1kj2kwCeMAya Vp6J957Zf52N/pkpPbMa9yI= =trt7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Lock down the all-staff email list? sendmail, alias, majordomo?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 brad davison wrote: Our company has a sendmail server 8.13.8 running on FBSD 6.2 with procmail. We currently have an alias set up for our all-staff email (we only have about 200 users). Someone recently sent out an email to the all-staff that someone didn't like, so now I have to restrict who can send to it. I have disabled the alias, since I didn't know if there was a way to restrict who can send to aliases, but is there a good way to have a list of users that either a) doesn't give the list name in the email, or B) a list program like majordomo or something that I can keep people from using who isn't 'the boss'? What is the best way to have a list that only certain users are able to send to? I am open to suggestions that will get me out of this situation. I don't have your setup, but I could guess what I would do with mine: I wouldn't try to stop folks from sending to that address, instead, I would block it on the reception side, so only a given set can get thru to be re-echoed to. Blocking on the receive side, that's something that is very well covered in a huge number of tools, blocking on the sending, that's one heck of a lot more difficult. Wouldn't it give you the same effect, or does the filtering occur at the wrong point in your processing, to be able to block the retransmission (time to test it). Thanks _ Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMbmSz62J6PPcoOkRAiV6AJ9XUml4l9ro4sng+POstt9Zy0HPmACfYeNi iM/2siKhPjAtd1XB6NThZ3g= =fBll -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about seamonkey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christer Hermansson wrote: Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was wondering if anyone here knew the answer, I have built seamonkey with ports, but everytime I start it up, two windows pop up (the browser and the mail window). Seeing as I don't want the mailer EVER to pop up (I use thunderbird for that), anyone know how I can suppress the seamoneky mail windows from popping up? I want to use it by default with eclipse, but as it stands now, I can't do that. Just want to make sure: Have you checked the settings ? Edit - Preferences... - Appearance - When SeaMonkey starts up, open That fixed it, Thanks a Lot!! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIyk6z62J6PPcoOkRAqSkAJ9a26CORo7N+YzUzagYHB4NA51LnQCffQD3 3ymH9xVjpDZm1AQS2UOyHcw= =C2Oe -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to get a problem with my linuxulator working, where all of my items that came from the linux-blackdown port give an error about a missing libdl.so.2. I tried using the Linux ldd, no output at all to see if there are missing libs (that's wierd) so I tried to go off to the ports, and I was at first pleasantly surprised to see that there's a Gentoo stage3 port, that's great UNTIL I looked at the tarballs, they are the 2006.0 ones, which are so out of date they aren't even on the web anymore. Do you think it might work just to grab a more recent one, say a 2007.0, and just unpack that in /usr/compat/linux? Getting any sort of support on a historically old version of Gentoo is going to be hard to accomplish, but I don't really know enough about Linux to fake it. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFII1rIz62J6PPcoOkRAsSJAJ41tQhD5iWI3pGtKdvsy52FFNhhNQCfTTSM g+/0A8dkdcj0d8upqzwGu8c= =LV6N -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about seamonkey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was wondering if anyone here knew the answer, I have built seamonkey with ports, but everytime I start it up, two windows pop up (the browser and the mail window). Seeing as I don't want the mailer EVER to pop up (I use thunderbird for that), anyone know how I can suppress the seamoneky mail windows from popping up? I want to use it by default with eclipse, but as it stands now, I can't do that. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIgucz62J6PPcoOkRAmFgAKCH+44azd5N9yiMHzwMeySpzsYXFACfcnpu E308F1ntDaFE7eKnJEqLJKs= =Tf9r -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suggestion on a backup utility
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Banning wrote: I wonder if anyone can recommend a good backup utility for FreeBSD. If it's in the ports, great. I would like to just specify which directories I would like to backup, how often and have it tar or zip the files into a directory - if it has off-site ftp, fine, but I can do that part myself via crontab. I realize I could just make a script file with some tar commands, but I'm looking for something that is quicker to maintain and allows me to organize what I'm backing up. I have been using reoback but recently I ran into some problems with is duplicating files X 10! - I looked into to solving it but it might be easier to just try something else. Maybe I'm misunderstanding something, but it seems a bit silly to me to waste any time backing up something that you can completely duplicate rather quickly via cvsup, anytime you want, error free. Maybe you're talking about saving work directories, something like that? Must be something I'm not seeing here ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIIwsz62J6PPcoOkRAtrlAJ4krL4BQ3HS/5GDqkS5tDCQYI8yNwCgoz7d Ds10FrtAw1Brvb4xDYqVS7o= =78xP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: some pam problem?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Nelson wrote: In the last episode (Apr 01), Chuck Robey said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't figure out what this message below means to me: Mar 31 17:12:02 april sshd[26150]: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() I have guessed it meant I had something wrong with my login.access, but I wasn't able to find anything that looked odd to me. Anyone know what this message above might mean? I had guessed (it was sort of obvious) that it was those files, but I missed that UPDATING message. It's a new machine, but the way I got to current was to boot 6.1 and then to make world. Anyhow, the error rainstorm has blown itself out, thanks! Is this an old machine that has been upgraded? From /usr/src/UPDATING: 20070610: The pam_nologin(8) module ceases to provide an authentication function and starts providing an account management function. Consequent changes to /etc/pam.d should be brought in using mergemaster(8). Third-party files in /usr/local/etc/pam.d may need manual editing as follows. Locate this line (or similar): authrequiredpam_nologin.so no_warn and change it according to this example: account requiredpam_nologin.so no_warn That is, the first word needs to be changed from auth to account. The new line can be moved to the account section within the file for clarity. Not updating pam.conf(5) files will result in nologin(5) ignored by the respective services. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH86/nz62J6PPcoOkRAlawAJ9oMqXV1CRF9JpGyt0ZVtEhFcS3vQCfROW6 cw16sWd5hmVIQLyC+ReVpm8= =j/es -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wake-on-LAN and the em driver (freebsd 7.x)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted Mittelstaedt wrote: -Original Message- From: Jerry McAllister [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 2:46 PM To: Ted Mittelstaedt Cc: Walker; Kent Hauser; freebsd-questions@freebsd.org Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x) On Mon, Mar 31, 2008 at 02:09:22PM -0800, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Walker Sent: Monday, March 31, 2008 11:37 AM To: Kent Hauser; freebsd-questions@freebsd.org Subject: Re: Wake-on-LAN and the em driver (freebsd 7.x) I would like to know of any other easier ways to do this. Any network admin worth his salt has an old win98 system tucked away that can be used to create bootable dos cd's. Don't know much about the value of salt, but the old Win 98 machine I have around has a dead CD and dead floppy as well. Guess they are replaceable, but is it worth money and bother? I missed the earlier parts of this thread ... but if you're after bootable cd's, with old versions of dos, these exist on the web, free for the taking. I needed to flash my machine's BIOS about 60 days ago, so I searched it out. I have the image at hand, it's not a Windows thing, it's one of those old dos-compatibles, but it worked just fine, let me mod the autoexec and the config.sys, it has a cdrom driver (which just any bootable cdrom won't have, meaning you couldn't swap the cd, after you booted, with a cd loaded with your tool cd, which was a killer). If this is what you like, let me know and I'll go spelunking a bit and find it, it'd only be about 15 minutes of looking about in my archives. For the job of flashing BIOSes, the cd was ideal, and I (1) like staying legal, and (2) like even better avoiding having to use any sort of MS tool, I don't require any others do this, but for myself, I'm philosophically against using any products of that company. Also seems like a rather silly reason to keep any machine sitting on a desk using power. You must think so at some level or you would have tossed them ;-) Of course it's not worth fixing them unless you need the system - but you never know what the future holds. I actually have 2 w98 systems running here at the house. Both are used by the kids and run an assortment of kids game software that I pick up for a few bucks from the local Goodwill. Right now the youngest's favorite software is petz 4, it's a virtual dog, and the older's is surfing the starwars.com site. (needless to say, it's done through a FreeBSD proxy server that limits the machine to a very strict number of sites) Runs as well as it did a decade ago when it was written. I just don't personally see the point of dropping a grand into a computer and shiny new software for it when the primary and secondary users are under 10 years old and are perfectly happy with older programs. I wouldn't be surprised if there are many like that sitting around. Believe it or not we just had an adult bring in a w98 system into the ISP today to get it online. And we even had an old 33.6 external modem that we just gave her for it. She lives in the sticks and has zero broadband alternatives (except for satellite which is too expensive for her) and is behind multiple D/A conversions on her phone line, so 28.8K dialup is what she runs. It's pretty incredible what's still in production out there. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH87Hiz62J6PPcoOkRAjagAJ0ZxhVgLRNgRrmQCrgMMhnFqsMqAACeP+Gt 22p1WLSzA9hkMMxffkr2tQQ= =ea4A -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
some pam problem?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't figure out what this message below means to me: Mar 31 17:12:02 april sshd[26150]: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() I have guessed it meant I had something wrong with my login.access, but I wasn't able to find anything that looked odd to me. Anyone know what this message above might mean? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH8tyLz62J6PPcoOkRAlsXAJwKg8S+qnqCX9Sq/3s/dgffMsVFgwCeIRLQ QfhX58sOcauiIWefaKU1gaE= =DtLM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do I add search paths to gcc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eduardo Cerejo wrote: On Fri, 21 Mar 2008 18:31:54 -0400 Chuck Robey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mdh wrote: --- Eduardo Cerejo [EMAIL PROTECTED] wrote: My gcc is only looking in /usr/lib and /usr/include for libraries and hearders and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/lib /usr/local/include $HOME/bin) PATH in the environment is where your shell searches for programs to run from the command line, system(), etc. This allows you to type, say, `sh` instead of having to type out `/bin/sh` or risking having `/home/somekiddie/sh` run instead when you type it. but I still have to use gcc with -I and -L switch for a program to compile or else it will fail. I'm using tcsh. There are two ways to set up alternate places to find libraries. The first is ldconfig, and you can see ports run this when you install a port containing shared libraries for example. The other is to use the LD_LIBRARY_PATH environment variable to set alternate paths at run-time. Well, that might be taken as confusing, even though your info is technically quite correct. Both those methods WILL get those added dirs searched for loading the libraries at run time, BUT it will NOT get your compiler to find the new paths, when linking the program during the build. I'm fairly sure that's what the person wanted, don't you think so? Because, if I'm wrong, you can delete this email right here and now, read no more. BUT you were quite correct, there are definitely *at least* two methods to set up your *compiler* library search paths. In fact, I think I can show you 3 methods right now. First, you can list the full path of the library on the command line, when you use your compiler to link your program. ] Second, you can (as the person suggested himself) you can use the -l/-L options to bring in libraries paths. The -L should come first, it adds the path, and the -l afterwards adds the specific library. The 3rd method is the use the variables LDFLAGS and LDADD. These variables are NOT 100% reliable to use, although they are fairly reliable on BSD systems. The LDFLAGS is where you put your -LExtraPath and the LDADD is where you stick the -lExtraLibrary, like this (from a Makefile example): LDFLAGS+=-L/usr/local LDFLAGS+=-lgtk If you are using the BSD make util, the you use += to add to your variables, instead of replacing them, in case they had some values in them to begin with. Make automatically adds in the obvious spaces, so your definitions don't have a train wreck for you. The 'ldconfig(1)' man page has more info for you. Take care, mdh Here's what the book I'm reading says: The search paths for header files and libraries can also be controlled through environment variables in the shell. These may be set automatically for each session using the appropriate login file, such as \u2018.bash_profile\u2019 in the case of GNU Bash. Additional directories can be added to the include path using the environment variable C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ header files). For example, the following commands will add \u2018/opt/gdbm-1.8.3/include\u2019 to the include path when compiling C programs: $ C_INCLUDE_PATH=/opt/gdbm-1.8.3/include $ export C_INCLUDE_PATH and similarly for C++ programs: $ CPLUS_INCLUDE_PATH=/opt/gdbm-1.8.3/include $ export CPLUS_INCLUDE_PATH This directory will be searched after any directories specified on the command line with the option -I, and before the standard default directories (such as \u2018/usr/local/include\u2019 and \u2018/usr/include\u2019). The shell command export is needed to make the environment variable available to programs outside the shell itself, such as the compiler--it is only needed once for each variable in each shell session, and can also be set in the appropriate login file.(8) Similarly, additional directories can be added to the link path using the environment variable LIBRARY_PATH. For example, the following commands will add \u2018/opt/gdbm-1.8.3/lib\u2019 to the link path: $ LIBRARY_PATH=/opt/gdbm-1.8.3/lib $ export LIBRARY_PATH This directory will be searched after any directories specified on the command line with the option -L, and before the standard default directories (such as \u2018/usr/local/lib\u2019 and \u2018/usr/lib\u2019). With the environment variable settings given above the program \u2018dbmain.c\u2019 can be compiled without the -I and -L options, $ gcc -Wall dbmain.c -lgdbm No, I can't tell for certain if you know all the points or not, so I'm going to h ave to assume you don't. First point, there are NO variables that are always automatically set
Re: How do I add search paths to gcc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mdh wrote: --- Eduardo Cerejo [EMAIL PROTECTED] wrote: My gcc is only looking in /usr/lib and /usr/include for libraries and hearders and I added the paths /usr/local/lib/ and /usr/local/include to my .cshrc file: set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/lib /usr/local/include $HOME/bin) PATH in the environment is where your shell searches for programs to run from the command line, system(), etc. This allows you to type, say, `sh` instead of having to type out `/bin/sh` or risking having `/home/somekiddie/sh` run instead when you type it. but I still have to use gcc with -I and -L switch for a program to compile or else it will fail. I'm using tcsh. There are two ways to set up alternate places to find libraries. The first is ldconfig, and you can see ports run this when you install a port containing shared libraries for example. The other is to use the LD_LIBRARY_PATH environment variable to set alternate paths at run-time. Well, that might be taken as confusing, even though your info is technically quite correct. Both those methods WILL get those added dirs searched for loading the libraries at run time, BUT it will NOT get your compiler to find the new paths, when linking the program during the build. I'm fairly sure that's what the person wanted, don't you think so? Because, if I'm wrong, you can delete this email right here and now, read no more. BUT you were quite correct, there are definitely *at least* two methods to set up your *compiler* library search paths. In fact, I think I can show you 3 methods right now. First, you can list the full path of the library on the command line, when you use your compiler to link your program. ] Second, you can (as the person suggested himself) you can use the -l/-L options to bring in libraries paths. The -L should come first, it adds the path, and the -l afterwards adds the specific library. The 3rd method is the use the variables LDFLAGS and LDADD. These variables are NOT 100% reliable to use, although they are fairly reliable on BSD systems. The LDFLAGS is where you put your -LExtraPath and the LDADD is where you stick the -lExtraLibrary, like this (from a Makefile example): LDFLAGS+=-L/usr/local LDFLAGS+=-lgtk If you are using the BSD make util, the you use += to add to your variables, instead of replacing them, in case they had some values in them to begin with. Make automatically adds in the obvious spaces, so your definitions don't have a train wreck for you. The 'ldconfig(1)' man page has more info for you. Take care, mdh Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH5Ddaz62J6PPcoOkRAheZAKCFZGYrN4rx4GvuCUvvAeIIR5lvjQCeMfy/ rlsk+UF3+WKwh1676scYGOI= =MMpk -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted Mittelstaedt wrote: If your not a right-clicker or an i-book flipper than it's understandable you would wonder why there's so much attention paid to CUPS for FreeBSD since it does nothing for the usual command line junkie. There's where you state it hasn't any cli usages Sorry, I hate to differ, but even on my Mac OSX with dual PPC processors, I use lpr all the time, and I use ssh (hostname) lpr filetoprint from FreeBSD to my mac, it works just fine, and the Mac is running Cups. It does too do stuff for command line people, it's just that no one installing cups on FreeBSD has done anything to get that definitely established part of Cups working right. However, that definitely established part of CUPS duplicates lpr/lpd functionality, so it's a big waste of time to bother with installing it under FreeBSD and ripping out the existing lpr/lpd if all your going to do is use the same /etc/printcap config file and same filters that you would use under lpr/lpd. And here you forget what you said, and claim the cups is just stupid to use under CLI (no backoff from your FUD above, though). Our own printer system DOES NOTHING whatever for remote administration, nor organization of drovers, nor ability to print different type sources, nor the added security options. The real usefulness of CUPS is under a GUI, particularly married with a GUI configuration interface. For example you didn't install your printers under MacOS X by hand-editing the CUPS configuration files under MacOS X, you used the GUI configurator in System Properties, which interfaces with CUPS. That's why Apple had to license CUPS after all, because they modified it under MacOS X to allow the Aqua GUI to interface to it, and they didn't want to release the mods they made to it into the wild. In fact, if you compile ghostscript and compile the foomatic software under MacOS X, you can download, compile and using the Aqua GUI configurator interface to CUPS, install a gigantic number of printer drivers under MacOS X. With little trouble, you can (and I did) integrate all the foomatic stuff under MacOS, without recompiling. In the FreeBSD world the usual command-line junkies do the Right Thing and go buy a Postscript printer. And that also is FUD. A long time, I think about 20 years back, before I knew better, I did exactly that. It turns out that postscript printers run about 10 times more slowly than using ghostscript on your system and only sending the native image to the printer, so using cups is both far, far more cheap (postscript printers being uniformly more expensive) and far, far faster (postscript printers mostly being too slow for words, all excepting the very high end ones). If you have one, all of the need for these rediculous winprinter filters goes away and then the only thing that CUPS really adds is the ability to speak IPP - and I've yet to come across a hardware printer server that spoke IPP that -didn't- speak LPD also. Again wrong. Usually, until lately, my printer of choice has been a HP OfficeJet printer, which uses PCL5 for it's language, You can only use IPP if cups happens to be on both machines involved, but there are excellent, mature things designed for FreeBSD, like apsfilter, which do all the translation from the original format to postscript then back to whatever is native, and handle all the spooling and multi-format printing. The only negative, really, in cups is that it asks you to use the lpr in /usr/local/bin instead of /usr/bin. and that (under FreeBSD) it's installation is execrebly documented and mis/under installed. It and it alone allows a nice REMOTE gui interface to administer with, but you sort of forgot that. The Foomatic project, a con of CUPS (one that clearly asks you to install CUPS), with it's GREAT documentation of drivers and production of ppd files, is by far the best unix effort to organize printer drivers, that's flatly true. Even the fine GUI admin isn't forced to be GUI, because they allow you to use their CLI options also. None of your arguments hold water. The only thing wrong with CUPS is that under FreeBSD it's mis/under-installed, and the rest of your points (I think I've competently shown) are incorrect). I don't recognize what bias seems to be fueling your dislike of it, but I think it's undeniably true that you exhibit one. Ted -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3rv5z62J6PPcoOkRAjMkAJ91cJSOW/kXEQNlFt8Dcl1wT0wygwCgjXEG ztU/iLsTZZnk5J7j3ULKHkY= =CgsH -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chuck Robey Sent: Thursday, March 13, 2008 9:24 AM To: Predrag Punosevac Cc: FreeBSD-Questions@freebsd.org; Gligor Lucian Subject: Re: USB printer Cups on FreeBSD is still woefully underdocumented, relying 100% on others sites, when the cups installation has been changed (somewhat) to agree with hier(7). I agree that needed to be done, and would have been complaining if it hadn't, but then there should have been some small notes detailing how to install a local driver. The problem here is that CUPS is really mostly useful if your using Gnome for your desktop, because there's a lot of GUI configuration software that is written for that desktop that makes CUPS configuration a snap. (and installing foomatic drivers and the like) If your not a right-clicker or an i-book flipper than it's understandable you would wonder why there's so much attention paid to CUPS for FreeBSD since it does nothing for the usual command line junkie. Sorry, I hate to differ, but even on my Mac OSX with dual PPC processors, I use lpr all the time, and I use ssh (hostname) lpr filetoprint from FreeBSD to my mac, it works just fine, and the Mac is running Cups. It does too do stuff for command line people, it's just that no one installing cups on FreeBSD has done anything to get that definitely established part of Cups working right. Ted -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3X+/z62J6PPcoOkRAmSLAJ4xWyxjWzAnuUBOpgwjoVXZ2tvaPwCgmNN6 g9W18DTbpkvwvPaVqj6mNRo= =PVXh -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: C compiler issue perhaps?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Ragona wrote: At 05:10 PM 3/14/2008, Doug Hardie wrote: I have a program I was testing with gdb. I was trying to figure out why c.rmonths was always zero when it should have been 6. Stepped through using the gdb n command. Here is the output: (gdb) 215 c.rmonths = (edate - tdate) / toMONTHS; (gdb) 223 c.dial_in = u.dial_in[0]; (gdb) 224 c.dsl = u.dsl[0]; (gdb) p c.rmonths $1 = 0 (gdb) p c $2 = {fa = 0, pwp = 0, disp_email = 0, imonths = 0, rmonths = 6, type = 73 'I', cd = 0 '\0', dial_in = 82 'R', dsl = 0 '\0', dsl_kit = 0 '\0', ip = 0 '\0', domain = 0 '\0', n_domain = 0 '\0', renewal = 89 'Y', program = I\000\000} (gdb) p c-rmonths $3 = 6 (gdb) p c.rmonths $4 = 6 Notice, the first time i print it its zero. The second time its 6. What gives here? I have seen this before but couldn't pin it down. The program is not compiled with any optimization. It is in a shared library though. It is hard to tell without the code you used. I would put some printf's in the code and see what and when that variable gets set to in actual running code. 2points: (1) yes, you are right, without the source code, any guesses are at the same level as black magic, useless (2) if the user is learning to use gdb, then it is really bad manners to suggest that printfs should be used. While I have made massive use of printfs before I got used to gdb, gdb is incredibly more powerful, can do any and all that any prints might accomplish, and anyone who is willing to learn to use that debugger should be encouraged, not given bad habits that really should be a fallback only to environments where gdb won't work. -Derek -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3AE2z62J6PPcoOkRAsOeAJ9ZcF4K9Rtonrw5oQXVF3opoxvBjgCcDGJR szL8DpVrdPjMMpV4+I+bTg0= =RKOo -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Predrag Punosevac wrote: Chuck Robey wrote: Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Please do not spread disinformation. Of course CUPS works on FreeBSD as well as thee other spooling systems PDQ, LPD, and LPRng. Well, YOU might note that I _did_ say that others did work (I even gave an example, apsfilter, that worked) and I specified that cups itself worked, just that the job of installing drivers in cups for FreeBSD seemed undocumented. Someone since then found for me a wiki (non-FreeBSD- you note) that gives more help, but it seems that no helkp is forthcoming from FreeBSD itself. I specified in the email that non-local printers, which only use default ps drivers worked fine also, it was only when you tried to install locally based printers, which need local drivers, that you end up in trouble. If you're going to criticize, at least try to read the post first. Cups on FreeBSD is still woefully underdocumented, relying 100% on others sites, when the cups installation has been changed (somewhat) to agree with hier(7). I agree that needed to be done, and would have been complaining if it hadn't, but then there should have been some small notes detailing how to install a local driver. As a general rule in FreeBDS ports, there is (on most ports that have more than 1 version) insufficient care given to detailing the differences in ports, when there are more than one version to choose from. Example? the cups and the cups-base port have the same pkg-descr, so how is anyone to know what the difference is, and under whjat circumstances should one port be chosen over another. Don't answer that question, answer why no care is ever given to correct the woeful state of most multi-option pkg-descr files. Cheers, Predrag Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ 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] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2WM1z62J6PPcoOkRAjQSAKCZ2BR4Z/+qZwydoNllRKZNCNtgxACeLMEU KBp7od1fCaxhw4t9NohhX2c= =pvtD -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pam problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My messages file is getting completely blasted by error lines like this: Mar 13 11:16:03 april sshd[80704]: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() Anyone got any idea what's causing this? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2XQUz62J6PPcoOkRAhcuAJ40wFjLvU+P2UCp6baz7b78Lt36wgCfX8p4 y5miBxcZ9Da6l1RGvo15v5s= =qbD5 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2CuMz62J6PPcoOkRAunbAJ96TJd3UZsus+NxCwg8gEk5hnap1gCgn+7/ A8QJVMfDqgAY+4WIFXDD0w8= =450A -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manolis Kiagias wrote: Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gligor Lucian wrote: David Kelly [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:59:38PM -0700, Gligor Lucian wrote: Does FreeBSD support a USB printer? Yes. You know, while there are printing utils that actually work on FreeBSD, I can't personally recommend CUPS. I keep on trying to get it to work on FreeBSD efvery year or so, then I need to go over to one of my other systems. Last one I tried was an Epson Stylus C84, but I've also tried HP officejets, and I just can't get locally attached printers to work with cups. I can get them to work with things like apsfilter very well, but either someone is going to have to fix the Cups port (it builds, but nothing locally runs) or stop recommending it. Or, does anyone else have it working on FreeBSD? Sure would like to hear about it, but I've been trying for a long time now, with no success. Thank you very much for your answer. All the best, Gligor Lucian. - Looking for last minute shopping deals? Find them fast with Yahoo! Search. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have cups working on my system, printing on locally attached USB printers. I have followed the instructions in dekstopBSD wiki: http://desktopbsd.net/wiki/doku.php?id=doc:printing (though I used ports and not packages) I still have some issues if I disconnect / reconnect the printer, the permissions are not set correctly (although devfs is running). I might be missing some configuration step, but have not researched further yet. Generally speaking, printing works. OK, well, maybe I'm wrong, I'll go take a look. As to that other respondent, the job of doing non-local printers needs much more trivial drivers, so yeah, that always has worked. I had looked about on Google, followed a ton of differing instructions, and hadn't had it come near working yet. But, I will go take another look at this URL, yes. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2DEnz62J6PPcoOkRAikGAJ9F/coCFoW64xeWaa8/hA5orR9dTwCaAryV tWWpQg+S3Xwka5bgtSRcfnU= =LxxN -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What provides libfontconfig.la?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dr. Jennifer Nussbaum wrote: Hi, I recently upgraded my system from FreeBSD 6.0 to 6.3. But Im having trouble with some ports that are unable to find /usr/X11R6/lib/libfontconfig.la. Where does this come from, so i can (re)install it? I couldnt find this by Googling I did try to force reinstall xorg, but that didnt work. This is a pretty common question to ask, so for myself, I made up a little one-liner, to answer that question for me, It does this: find /usr/ports -type f -name pkg-plist -exec grep -iH $1 {} \; that $1 is the parameter you feed into this little script, it takes a minute or two to search each and every pkg-plist file, and returns you the filenames and contexes it found your search term in. Works ok for me, and there's some small things you might even to to optimize it for yourself. I leave the naming of this to you. Note, those are curly brackets, NOT parentheses, and you mustn't forget that trailing escaped semicolon. Thanks! Jen - Never miss a thing. Make Yahoo your homepage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHyFcyz62J6PPcoOkRAt1/AJsHzHk+WHKG/sMYfNiA/oxWhpWuEgCffX+B m1UNjVuNKiZTUD7bGhQAwp8= =JLJl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: python and Guile-gtk... [a bit OT]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vinny wrote: Gary Kline wrote: [snip] I'd like help getting python to read from a file and display a steram of text on a textcanvas. I'll fiure out the buttons later. I'd appreciate any insights about regular gtk and guile-gtk. Or whichever GUI libraries have the best python interface. Hi Gary, I'm a big fan of wxPython, i.e. wxWidgets for python. Way cool and works on Windows as well (very cross-platform). Everyone's got their favorite. I like gtk, which has exactly the same features you claim (works on same platforms) but really, the one that's best integrated is the Tkinter, which was the first one that came with Python, and runs on everything bigger than a cellphone. It's not my favorite myself, but if we're going to be really honest, it's really probably the best one to recommend to folks. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHyFW+z62J6PPcoOkRApfNAJ9GHE1uuX2e3EEPdzenSDjkCZ3JpwCgoYqI dlYiDZhE2NLAM0UlNQlW45U= =5Lhf -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended jet printer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ghirai wrote: Hello list, Can anyone recommend a jet color printer that works with CUPS on FreeBSD, somewhere in the low - mid range. Man, nearly every printer being sold is *SOMEBODY's* favorite, so you really, really should have noted what's important. I mean important TO YOU, in a printer, then you might have eogtten other than everyone's favorite. I'll tell you mine, but honestly, without knowing what you like best in printers, it's a very nearly worthless datum. I like the HP 7130. HP doesn't sell it anymore, but there's quite a active market for them on ebay, and you can get good prices for them, so good that you could afford to buy 2 and keep one for hot spares. It's what HP calls their AIO or All In One printer, which means it prints, scans, copies, faxes, and shines your shoes. It has very nice paper handling, so it not only does very good 2 sided printing/copying, it also automatically will convert single sided copies to doouble-sided, without your needing to even touch the copies as it does it's work, with automatic input feeding, flipping, along with output feeding/flipping. It also does it all in color, and p[retty dense at that. It's not a completely perfect printer, just my own favorite, and the fact that it's maintaining THAT popular a secondary market is a pretty good recommendation. I bought one for my son, it's that good. There's a newer version, the 7310, it's not as good as the original 7130, but it's a nice printer, nevertheless, but it's too darn bad HP had to change what seems to me to be nearly a perfect product. Thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHx1gLz62J6PPcoOkRApqgAJ9AMRG85snu6ErXWusr91+o9ccCtgCeMkH2 ixmaM0635kVtuoLTAUwo9Gg= =6SBe -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux program only runs from /compat/linux/usr/lib
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Franks wrote: If I cd to /compat/linux/usr/lib, and start nameless linux app, it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one. I tried putting /compat/linux/usr/lib at the very front of my path and it doesn't seem to fix it. Brandelf looks correct (SRV4) for both the app, and fontconfg.so.1. So, how does FBSD figure out what lib to grab, and why is it grabbing the wrong one? Do you have the Linuxulator's ld.so.conf (which sits in /compat/linux/etc) set with the correct path(s), and NOT picking up the stuff in /usr/local? I am not at all sure that's what's biting you, but it'd be one way to get bitten. There are parallel ld.so tools for Linux and for FreeBSD, and the Linux one is supposed to stick a prefix of /compat onto it. You could try using the Linux lddprogram, it should only find the correct libs. Fear of what your suggest is why, a short whioe back, I tried waging a war to get folks to move all their linux libs back into the /compat tree, so this sort of confusion couldn't happen, but I can't honestly say if that's really what bit you here or not. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHs0b5z62J6PPcoOkRAvT3AJ4sDG3sX9J5Qy7/XwHYDHZRmV+U/ACbB/Jh /gj4gxYCzsE+J1EGAgoGuxo= =+rcS -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan McKeown wrote: On Tuesday 12 February 2008 21:50, Chuck Robey wrote: Jonathan McKeown wrote: [snip] There are a few sites which don't work without Flash. Having checked on a number of occasions, I've found (and I stress this is a personal opinion) that heavy use of Flash is a fairly reliable marker of a site I wouldn't be interested in whatever publishing techniques were used. It's rather like the old saying in the British advertising industry: only sing in an ad if you have nothing to say. How does Flash fit in with accessibility guidelines? In many countries, a commercial site which doesn't degrade gracefully when viewed with (eg) Lynx may fall foul of legislation protecting people with disabilities such as visual impairment. You know, there are some folks out there who are still using their old M32 TTY's, and they can't understand why any folks would need mouses. Those of us who have successfully made the move to the 21st century can tell them, but honestly, most of us are very tired of hearing the same hoary old excuses why things aren't necessary. The majority of folks doing browsing today aren't impressed that maybe some 3rd world country is unhappy with flash sites, they just want their flash sites to work, and ours don't. Why don't they? Because everytime someone comes up with a workable plan, all the real cave-men out there trot out there war-stories, and bore us all to death with their memoirs, and endlessly recursive arguments. Everytime they get proven wrong on one item, they just move the clock back a few months, grab the previous self-justification, and start the argument all back up again. You can't out-last them. I don't think there's any need for gratuitous rudeness. I did stress that this is a personal opinion. Just to reiterate: I **personally** have not found any site that I /need/ to visit which /requires/ Flash to operate, and I suspect that may well be because, under legislation such as the Americans with Disabilities Act and similar laws in other countries, this would amount to discrimination and is officially frowned upon. I still maintain that your claim that ``half the entire Web'' requires Flash is hugely overstated. Well, anyone being on the Web 5 whole minutes in a browser that can't see flash sites is perfectly well aware if I'm telling the truth or not, I'm quite willing to let folks judge the truth of that one by themselves, they don't need me or you to give them their reality. Your comment about third world countries is one of the most narrow-minded, ignorant and arrogant statements I've heard in many years of listening to petty bigots - quite apart from the fact that you're extending what I stated was a personal opinion to an entire country and continent based on your personal prejudice. (Not that it's important, by the way, but I wasn't born here: I chose to move to Africa from Europe, and I didn't like Flash much before I got here. I still don't, and I have better - though more expensive - bandwidth available to me here than I would in many rural parts of the US). And finally: ``The majority of folks doing browsing today aren't impressed that maybe some 3rd world country is unhappy with flash sites, they just want their flash sites to work''. Stop press: since 90% of the world is using Microsoft operating systems and just want their .exes to work, the FreeBSD project is closing down - it's all been a huge mistake and we're just cavemen standing in the way of progress. FreeBSD has nearly every feature that any M$ abortion has, and in nearly every base, our implementations are better than theirs are, most especially in terms of reliability, but in almost every other case. I was saying that a Huge proportion of the web sites out there make use of flash, it's the next thing to ubiquitous, and the users here, by a large fraction, want to be able to view the sites, not listen to reasons why we should wait until the rest of the web improves to your standards. Yes, things aren't perfect, but users don'[t care, they want to see it anyhow. Anybody who believes your shot at me, making it seem like I like M$, I guess that's the big lie sort of thing, I won't defend it, it's too ridiculous. I don't run any M$ sw here, and never will, but I do like to view the web, not sit and complain. We are all very well aware that M$ has been trying to hijack the HTML protocol ever since it was first put out there, and trying to ignore things isn't the way to win, it's to be better than they are, and that's something which FreeBSD has always been spectacular at. The right way has always been to make your tool work even better than the folks who are trying to hijack, and NOT to fight their incredibly powerful marketing department. Maybe in 6-12 months, the Gnash project will make all this blow over, but until then, it's still quite true
Re: what happened to linuxflashplugin?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan McKeown wrote: On Monday 11 February 2008 22:26, Chuck Robey wrote: All you folks who are focussing on YouTube are (purposefully? I don't know) the fact that with just about half of the entire Web using flash in one way or antoehr, not using Flash is a huge problem, as anyone who browses without a flashplayer knows. Just to provide a counterpoint to this sweeping generalisation, I browse without a Flash player and it's never caused me any problem at all. There are a few sites which don't work without Flash. Having checked on a number of occasions, I've found (and I stress this is a personal opinion) that heavy use of Flash is a fairly reliable marker of a site I wouldn't be interested in whatever publishing techniques were used. It's rather like the old saying in the British advertising industry: only sing in an ad if you have nothing to say. How does Flash fit in with accessibility guidelines? In many countries, a commercial site which doesn't degrade gracefully when viewed with (eg) Lynx may fall foul of legislation protecting people with disabilities such as visual impairment. You know, there are some folks out there who are still using their old M32 TTY's, and they can't understand why any folks would need mouses. Those of us who have successfully made the move to the 21st century can tell them, but honestly, most of us are very tired of hearing the same hoary old excuses why things aren't necessary. The majority of folks doing browsing today aren't impressed that maybe some 3rd world country is unhappy with flash sites, they just want their flash sites to work, and ours don't. Why don't they? Because everytime someone comes up with a workable plan, all the real cave-men out there trot out there war-stories, and bore us all to death with their memoirs, and endlessly recursive arguments. Everytime they get proven wrong on one item, they just move the clock back a few months, grab the previous self-justification, and start the argument all back up again. You can't out-last them. I personally tried to fix things, got soundly beaten to death over it (and I WILL NOT try that one again, under pain of death, sorry!). MY flash works here and that's all I will worry about. I can't predict when things will finally improve, maybe when enough folks realize they don't have to put up with this. In short, I think ``half of the entire Web using Flash'' may be a bit of an overstatement even if you count Flash ad banners (which frankly I can do without), and the small number of Flash-only sites I encounter hasn't caused me temporary inconvenience, never mind ``a huge problem''. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsfiQz62J6PPcoOkRAu6/AKCArtXTPwLGKD0xN+r6MG8fk+wEUwCglafp Al9ztYns1ZHDV7IQ8foSU7o= =1fY6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what happened to linuxflashplugin?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: YouTube? Isn't the right spelling YouPorn? No, it isn't. If you find nothing worth watching on *You*Tube, it doesn't mean that others can't find interesting things. For example, I find there a lot of good and difficult-to-find material from some fields of art. get this interestinf stuff down to your disk with youtube-dl, then watch with mplayer. at least you will have it on your disk, not download each time as youtube does everything to prevent caching the stuff. as it's exactly agains efficiency, they have a reason to do this. any explanations why? i think because then they are able to keep control on the stuff, being able to remove anything at will, with no copy on users computers. All you folks who are focussing on YouTube are (purposefully? I don't know) the fact that with just about half of the entire Web using flash in one way or antoehr, not using Flash is a huge problem, as anyone who browses without a flashplayer knows. I dunno which license folks have been reading, This thread has gone on so long, I can't keep track anymore, but I do know that the link I saw from Adobe's site, referring to Flashplayer, doesn't mention (at all, even in passing) either Linux OR FreeBSD. They do ask you know to modify it (decompile, whatever) but there is an explicit loophole left, in order for folks to be able to adapt it to run on their platform. As far as the complaint about distributing it, we have LOTS of software in the same category, which seems to be possible for us to deal with, such as, well, anyone ever heard of Sun's Java? If we can do Java, we can do the flashplugin just the same. Someone has their dander up over licensing agreements (that's possible, I get that way) and are purposely interpreting the license as evilly as they can, but they are the one's who are preventing it from working on FreeBSD, not Adobe. Yes, those licenses are a poor joke, but if you ask me, so is Linux's. Jeeze, can't you find something more important to get upset about, like the high price of beer? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHsK9zz62J6PPcoOkRAmj0AJ9eJTgzTizOSP/tAuUt5zbvs2jH5ACeLXC9 liGXhNZMKtSDMqABttmeKFY= =mJtA -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: some help please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Norman Maurer wrote: Hi, please reread the handbook I think all you need is explained there in detail bye Norman Am Mittwoch, den 16.01.2008, 09:46 +0200 schrieb Moazzar Battah: Dear Sir, I need some help , I am a new user for Linux and freebsd so I need your help I need to know how to install the freebsd in the best way and how I can install the ports like gnome and openmail interface ? also I will be thankful if you send me the commands and what every command mean and how I can use it ? I already get in the directory /usr/ports/gnome2 /usr/ports/www and make install and its start downloading but nothing happened after that installation done ??? I also need to now how to configure the hostname and ip addresses like local ip and fixed ip to trait the local lan and I real lan in the same way.. Thank u very much Actually, I don't think that the names (or even a template that the names couold be derived from) of the actual cd images that you should use to install freebsd from. I know that there is more than a single choice. I know that I personally, just downloaded the biggest one, as a guess, and that worked, but I don't know what the smaller ones would have done, if they might have been better to install from (I have networking sufficent to install from the net alone, which is what I did). Somewhere, the descriptions of what the different ISO images do should show up, mostlikely in the manual. Am I wrong? Give a pointer, if you think I'm wrong. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjmGFz62J6PPcoOkRAtlpAJ0fA65R/TiUgLX1iml3I4fal2KI5gCePk/z SYowLgDoezj0Zelm/wbQRDE= =4+BH -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disabling boot output
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tilman Linneweh wrote: * Omer Faruk Sen [ Jan 4, 2008 (15:20 )]: How can I disable boot messages so user can't see any boot message. I think there is 4 part for that and each of them requires a different configuration file to be edited. 1) boot 2) loader 3) kernel message 4) init scripts Can anyone send me an URL that depicts those changes? Or at least where to look for them. I think 2,3,4 can be done with configuration files but 1 step requires some code change right? You can send the output to a serial port by putting console=comconsole into /boot/loader.conf. f you don't have a serial console, there's another way to do it, one I stepped into accidentally, and it took me a long while to recover from. There's a different line you could have put into the /boot/loader.conf file, one that says boot_mute=YES. That's going to silence all of the probing messages completely. The way it bit me (and you probably ought to be aware of it) is that it works exactly the same, if you had entered boot_mute=NO or even boot_mute=Cincinnati, in all cases, the boot messages are a goner, it's only reading that the word boot_mute is being set, and what it's being set to really doesn't get into the act. Took me a really long time to learn that one. I won't soon forget it. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html for details. çok selamlar arved ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgpXlz62J6PPcoOkRAmLGAJ0UhN3WqY5Zo/2bGX7SkHhPw/a2nQCfcOGG mMKSLlBqsdLU0mAMAler/EM= =bCwD -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Howcome mail deletion time varies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I use, for my imap-based mail, a combination of postfix, dovecot, thunderbird, enigmail (for gnupg), and openssl for browser security. When I delete mail messages, the majority of them delete (what seems to me to be) instantaneously, but a small minority of mails takes quite a bit longer, about maybe 20 seconds. Any idea what might be occurring on those mails, to trigger this really long delete time? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHeqUHz62J6PPcoOkRAkTBAJ4uljFiG/fUZZHt/W85bpfI40HRuQCeK+z3 YM43v/HyD+gywhUUNkfsAe8= =Whoq -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: AAARRRGH: network foul-ups.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian A. Seklecki (Mobile) wrote: On Thu, 2007-12-27 at 18:38 -0800, Gary Kline wrote: The trouble is that two of my machines report the identical private IP: 10.0.0.250. Previously tao was 10.0.0.247 and Be sure to flush old entries from: /var/lib/dhclient/dhclient.leases on DHCP Clients ~BAS tao2 was 10.0.0.250. Today I switched the names in /usr/local/etc/dhcpd.conf, shutdown, and rebooted my mailserver--also my DNS server--and the two other computers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yeah, and also make sure that both machine are reporting the correct I{s in their arp databases. You use the arp -a to list, take a look at the man page arp(8). Arp is one way to enter aliases onto your local net. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdpsFz62J6PPcoOkRAvGYAJ92vTiKbVIRMN0co7B2ENrOGPrmbwCglRDT /VRamGilzXt0ySjSlK4MO1Q= =o1M9 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lost X11 input from kybd-SOLVED!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 आशीष शुक्ल Ashish Shukla wrote: ,--[ On Thu, Dec 27, 2007 at 04:41:18PM -0500, chuckr wrote: | I'm running FreeBSD-current. I updated about 30 hours ago, did a | rebuild of world and the kernel (without changing my kernel config file | at all. I have to explain that I start my X11 via startx, I dislike | using anything like xdm (or kdm,gdm etc) so I always use startx, relying | on a ~/.xinitrc I have doctored nicely, to get me into kde. Well, like | I normally do, I loeed in as root on ttyv0, my user chuckr on ttyv1, | and then did the startx as chuckr on ttyv1. Everything started up fine, | but when I tried to kill an accientally started xterm, I found I | couldn't kill it with a control-D. After a bit of experimentation, it | became obvious that I coulld get no keyboard input. Thank god I can | still use the mouse perfectly, so I can kill X11 for troubleshooting via | the mouse fine. After I did that, I found that all my keyboard input | which hadn't shown up on any xterm was pasted instead on the screen of | ttyv1, from which I'd started up X11 to begin with. | | So, I can't get my keyboard input to go to X11. I would REALLY love any | guesses at all about why this is, because I can';t use X now on | FreeBSD, and that's my mailer. I am using a poor replacement for this | now, so I would really like to know what's causinbg this ... | | Oh, I have to add, I tried rolling the kernel back to kernel.old, no | differentce, it;s still bad. I tried (after moving kernel.old back to | kernel) to download and install a new world and kernel. Still fails | also. I need some help here, badly. Very basic guess, but does your xorg.conf is reconfigured recently, check for something like following in xorg.conf: Nice guess, but no, no changes in my xorg.conf file. Doesn't amtter too much, because I've solved the problem. I recalled a change I made in my config file about 2 weeks ago. I figued it was too minor to count, so I completely forgot I even did it until I wemt looking thru my kernel config with an eye towards hackery, then I remembered that one line I'd added, to restrict the number of virtual terminals to 8. That's what used to be standard, way back when, but I recently saw in the manual that the default's now 16. I know that X servers make use of the highest free terminal, and it COULD be possible that someone coding that up decided not to check the number, just to reply on a default ... now that the problem has disappeared (with only that one change, so it's a certainty what fixed it), I have a bit of a suspicion about that code now. Ahh, heck, who cares. Least it works. Thanks for the effort. ---88 Section ServerLayout Identifier single head configuration Screen 0 Screen0 0 0 InputDeviceKeyboard0 CoreKeyboard EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout us EndSection ---88 Anyways, have you tried 'xinit xterm', to see if X11 is receiving keyboard input, without KDE ? see, if there're any suspecting error messages, in your /var/log/Xorg.0.log HTH -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdDEQz62J6PPcoOkRAg6mAJ9EVrGx4Tqxdw9Oywewm3rCSzJwPwCeKdie hBwNE8EAn0CszCOWAPNy8/U= =SKRY -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rough method of cleaning the ports tree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Kelly wrote: On Thu, Dec 20, 2007 at 12:34:24AM +0800, Erich Dollansky wrote: Even though it will take quite a bit longer you should just do a make distclean in /usr/ports that way anything you hand modified will be retained (also you might want to consider keeping a local cvs repository if this is an issue) That's a good idea too. But, it might not do enough. So, still consider moving /usr/ports. it does what I really want. I do not have a space problem. I simply want to get rid of the stuff which is not really needed. Tuning in late but this seems appropriate: Remove all the temporary work files, and remove all distribution files that are not current with the ports' Makefiles: # portsclean -CD Requires the portupgrade port. In the past, doing a global make clean wouild die, especially on ports that were marked broken. I don;'t know if that's been fixed, because about once a month, i just do: find /usr/ports -type d -name work -exec rm -rf {} \; I've had the -delete fail from time to time, I can't remember the error, but doing the rm via the -exec keyword, that's never failed, and cleaning out the work directories, that absolutely cleans stuff up quickly. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHade6z62J6PPcoOkRArsWAJ46RfTDRHTli4g9z2yh3f3G6G1CqACbBr5C r6eLTzVu5BhhBIUogOWPBHU= =guYz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: csh programing book
Chad Perrin wrote: On Sun, Dec 16, 2007 at 02:57:12PM -0500, Chuck Robey wrote: Actually, I like ksh better, if you are really going all out for a programming shell, but if you're really after a scripting language, why restrict yourself to shells? things like Python Ruby knock hell out of both ksh and bash. That's hardly even arguable. Too bad there isn't a good friendly shell-like mode to Python. Ruby would be out there, you couldn't even think about using a OO based tool for a user shell, those things need to be thought out, and that's the antithesis of being a friendly shell. Considering I use Ruby's interactive interpreter, irb, all the time -- I don't really agree that you couldn't make a good user shell from Ruby. A couple of tweaks in the way irb works would make for one of the best user shells I'd ever seen. All that's missing is an easier way to execute external programs, as far as I can tell. Well, I was only giving my personal opinion. I've never used irb, but it seems to me that using any sort of OO tool as a shell would be cruel and unusual, but I guess it takes all kinds, and I certainly wouldn't prevent you from enjoying yourself, same as I'd expect from you to mine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apparently, csh programming is considered harmful.
Michaël Grünewald wrote: Chuck Robey [EMAIL PROTECTED] writes: As long as folks don't stop me from running whatever I want, I don't care if you use bash, but it really irks me, that most Linux systems are broken in that respect: Most of them break badly in random ways, if you don't run bash as your shell. A friend of mine who worked with debian was once in mood to disinstall BASH. Quite a trip to hell! (The story is 8 years old now.) From my own experiences merely trying to runit as a user shell, and not de-installing bash, I believe you ... I finally had to give it up as a bad job, and I'm known as a somewhat stubborn person, so that should tell you the level of problems I faced. Linux works only if you make their choices, just like their license. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.]
Jurjen Middendorp wrote: If you're familiar with pdksh, are you also familiar with ksh93, which is (I believe) Mr. Korn's own shell? If you are, I would be interessted in your opinion of the two, any comparisons you might give. I've never used ksh93 so I really can't say. There is a NOTES file included with pdksh which gives a starter. I created this port a few years ago because of some random issue I've long since forgotten with pdksh on my FreeBSD box which didn't happen on my OpenBSD box. tom I never used pdksh, but am using ksh93 for quite a while now and have used bash, too. For some reason i like it better than bash, the vi mode is a bit better somehow, it feels alot sturdier. It doesn't have those special variables like $! and !! i believe, but it has alot of neat features like basic network programming, lots of parameter expansion stuff and is just a very nice shell :) I havre installed it, and played with it a bit, I admit it's nicer than sh (and I *think*, bash) but the reason I haven't tried using it regularly is because I can't find a nicely set up .kshrc ... if you have one, I'd appreciate a copy. Might be nice, if it's not terribly long, to post it to the list, too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]