Re: please help to uninstall FreeBSD!!!
It does FreeBSD a disservice when its supporters slam other platforms and implicitly (and explicitly on occasion) denigrate users of such. I agree only insofar as nobody is ever benefited by insulting/denigrating other users. But that's not what Polytropon was doing, I don't think. Seems to me he was denigrating the Windows system itself. And this leads to where I disagree. I think denigrating other systems is a fine thing if and when the denigration is based on true differences and not unrealistic exaggeration. For example, FreeBSD is more stable than Windows--Windows sucks, it's unstable! OK, this is me denigrating Windows. Am I hurting Windows's feelings? Am I preventing a small market player from competing with the establish oligarchy? No. I'm parading the greatness of FreeBSD. Sure, I sound more like a human being having a little fun than a technical booklet, but so what--who says FreeBSD users can't be people too :) ___ 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: FreeBSD MATLAB R2008b
Sorry, haven't gotten around to this yet. Will try to this afternoon. On Sunday, August 9, 2009, Daniel Underwood djuatde...@gmail.com wrote: Elias, I got to a certain point, then temporarily put it aside. See, I was installing from a custom install disc, and so I'm not really surprised that the Handbook instructions for installing matlab on freebsd didn't completely help me. However, I now have a standard install disc. I plan to retry the install with this new disc. I do think I encountered java-related errors, but I can't recall the details or whether it's what you're encountering. I'll reply to the list here once I attempt the install tomorrow. (Sent from my iPhone) On Aug 9, 2009, at 9:43 AM, Elias Schäfer elias.schae...@gmx.net wrote: Hello Daniel, I read your post (http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202242.html) and applied your patch. First, it seemed to work (no sse2 complaining) but then I got an Java related error that I could not solve. I have R14 running here, but I need to run a newer version. I am curious if you got MATLAB r2008b working. Do you get a similar error? I am looking for a solution for the past couple of days. regards Elias (Aug 08, 2009 21:15:12)MATHWORKS ACTIVATION IS STARTING UP. (Aug 08, 2009 21:15:13)java.lang.UnsatisfiedLinkError: /usr/home/knick/matlabr2008b/bin/glnx86/libinstutil.so: libstdc++.so.6: cannot handle TLS data com.mathworks.instutil.NativeUtility.(NativeUtility.java:36) com.mathworks.instutil.MachineInfo.(MachineInfo.java:40) com.mathworks.activationclient.model.ActivationModelImpl.loadNativeLib(ActivationModelImpl.java:216) com.mathworks.activationclient.model.ActivationModelImpl.getMachineInfo(ActivationModelImpl.java:189) com.mathworks.activationclient.view.ApplicationViewImpl.getMachineInfo(ApplicationViewImpl.java:200) com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) (Aug 08, 2009 21:15:13)null com.mathworks.activationclient.view.ApplicationViewImpl.showGUI(ApplicationViewImpl.java:79) com.mathworks.activationclient.controller.ApplicationControllerImpl.start(ApplicationControllerImpl.java:99) com.mathworks.activationclient.ActivationApplication.main(ActivationApplication.java:31) (Aug 08, 2009 21:15:24)There was an unexpected exception: null See the log file (/tmp/aws.log) for more details. ___ 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: Looking for fast graphical web browser
ditto. But now I'm pretty happy with that new firefox-3.5 which seems pretty faster than previous version and still light enough for my old 1.6G celeron-powered laptop. Nice. I haven't tried 3.5 yet. ___ 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: FreeBSD MATLAB R2008b
Elias, I got to a certain point, then temporarily put it aside. See, I was installing from a custom install disc, and so I'm not really surprised that the Handbook instructions for installing matlab on freebsd didn't completely help me. However, I now have a standard install disc. I plan to retry the install with this new disc. I do think I encountered java-related errors, but I can't recall the details or whether it's what you're encountering. I'll reply to the list here once I attempt the install tomorrow. (Sent from my iPhone) On Aug 9, 2009, at 9:43 AM, Elias Schäfer elias.schae...@gmx.net wrote: Hello Daniel, I read your post (http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/202242.html ) and applied your patch. First, it seemed to work (no sse2 complaining) but then I got an Java related error that I could not solve. I have R14 running here, but I need to run a newer version. I am curious if you got MATLAB r2008b working. Do you get a similar error? I am looking for a solution for the past couple of days. regards Elias (Aug 08, 2009 21:15:12)MATHWORKS ACTIVATION IS STARTING UP. (Aug 08, 2009 21:15:13)java.lang.UnsatisfiedLinkError: /usr/home/ knick/matlabr2008b/bin/glnx86/libinstutil.so: libstdc++.so.6: cannot handle TLS data com.mathworks.instutil.NativeUtility.(NativeUtility.java:36) com.mathworks.instutil.MachineInfo.(MachineInfo.java:40) com.mathworks.activationclient.model.ActivationModelImpl.loadNativeLib( ActivationModelImpl.java:216) com.mathworks.activationclient.model.ActivationModelImpl.getMachineInfo( ActivationModelImpl.java:189) com.mathworks.activationclient.view.ApplicationViewImpl.getMachineInfo( ApplicationViewImpl.java:200) com.mathworks.activationclient.view.ApplicationViewImpl.showGUI (ApplicationViewImpl.java:79) com.mathworks.activationclient.controller.ApplicationControllerImpl.start( ApplicationControllerImpl.java:99) com.mathworks.activationclient.ActivationApplication.main (ActivationApplication.java:31) (Aug 08, 2009 21:15:13)null com.mathworks.activationclient.view.ApplicationViewImpl.showGUI (ApplicationViewImpl.java:79) com.mathworks.activationclient.controller.ApplicationControllerImpl.start( ApplicationControllerImpl.java:99) com.mathworks.activationclient.ActivationApplication.main (ActivationApplication.java:31) (Aug 08, 2009 21:15:24)There was an unexpected exception: null See the log file (/tmp/aws.log) for more details. ___ 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: Looking for fast graphical web browser
I'd really love to see chromium ported over. ___ 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: FreeBSD for the common man(or woman) (was: upgrade 7.2
Once taken the time to set things up, they make you happy running for a lifetime. :-) Amen. ___ 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 install
I wish there was a FreeBSD package of the newest version of Eclipse CDT (or at least ganymede version). I do my research in Eclipse-CDT Galileo on multiple Linux systems, and it would be nice to be able to mess with things occasionally on my FreeBSD box. Although I can't recall specifics, I know things (e.g., project settings, makefile management) are done differently on the newer versions than on the version in the ports. If I'm wrong and/or I'm missing something, please, someone tell me. I'd LOVE to be wrong here :) ___ 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: FreeBSD IBM Thinkpad - What Model to Choose?
I've had great success with my my T43. I strongly recommend 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: FreeBSD IBM Thinkpad - What Model to Choose?
I've had great success with my my T43. I strongly recommend it. Everything on my T43 works with without any extra configuration. The only drivers you have to mess with are the wireless drivers. But the iwi drivers work perfectly, and you can configure them easily a few extra lines in /etc/rc.conf and /boot/loader.conf. Again, excellent laptop! ___ 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: Looking for fast graphical web browser
Midori seems to have problems displaying Gmail. ___ 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
Looking for fast graphical web browser
Can anyone suggest a fast graphical web browser? I use Firefox (because every page displays well and I can sync bookmarks), and I also use elinks (when graphics don't matter). I'm looking for some middle ground, a browser that can display most sites well but is faster (or more lightweight) than Firefox. (Note: I tried dillo, but it doesn't display most sites well enough.) TIA, Daniel ___ 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: Looking for fast graphical web browser
Furthermore, there's lots of stuff now bundled with the Opera web browser that I (personally) found no use for, such as a mail client, IRC client, torrent client, and some other stuff that could easily be called bloatware. Yeah, I share your take on Opera. Give Midori a try. Of course it's a young project and maybe there are not all of the features of Firefox or Opera, but Midori is lightweight and really fast. It's based on WebKit, so there should be no problem with standard conform websites. Perfect, yes! Midori is precisely what I need! Many thanks. ___ 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: Looking for fast graphical web browser
I would use Opera as an alternative to Firefox. If I can find a way to sync bookmarks across Opera browsers, I'll give it a try. ___ 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: Looking for fast graphical web browser
I would use Opera as an alternative to Firefox. If I can find a way to sync bookmarks across Opera browsers, I'll give it a try. I didn't realize Opera has built-in synchronization. That's pretty nice. ___ 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: OpenMP
Did you add the -fopenmp flag to both the compiler and the linker? Both need 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: Parallel debugging
Valgrind is rather hopeless on fbsd for multithreaded programs Interesting. Thanks for the note. ___ 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
net/linux-nx-client: problems connecting to server
I *can* connect to the server on my Ubuntu machine, but not on my FreeBSD machine. When trying to connect to my nx server (on a RHEL5 machine), I am able to authenticate successfully but at the negotiating link parameters step, an error dialog box opens asking if I want to terminate the connection because it cannot connect to the server proxy. The details shows this text (X's used to hide IP): [BEGIN DETAILS] NXPROXY - Version 2.1.0 Copyright (C) 2001, 2006 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '2913'. Session: Starting session at 'Thu Jul 30 18:19:13 2009'. Info: Connecting to remote host 'XXX.X.XX.XX:5012'. Info: Aborting the procedure due to signal '15'. Session: Session terminated at 'Thu Jul 30 18:20:08 2009'. [END DETAILS] Trying to resolve this, I then enabled the enable SSL encryption of all traffic, but the connection times out, with the following details: [BEGIN DETAILS] NXPROXY - Version 2.1.0 Copyright (C) 2001, 2006 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '2985'. Session: Starting session at 'Thu Jul 30 18:25:19 2009'. Error: Failed to set TCP_NODELAY flag on FD#13 to 1. Error is 22 'Invalid argument'. Warning: Connected to remote NXPROXY version 3.3.0 with local version 2.1.0. Warning: Consider checking http://www.nomachine.com/ for updates. Info: Synchronizing local and remote caches. Info: Handshaking with remote proxy completed. Warning: Failed to set IPTOS_LOWDELAY flag on FD#13. Error is 92 'Protocol not available'. Error: Failed to set TCP_NODELAY flag on FD#13 to 1. Error is 22 'Invalid argument'. Info: Using LAN link parameters 1536/24/1/0. Info: Using image streaming parameters 50/128/1024KB/6144/768. Info: Using image cache parameters 1/1/131072KB. Info: Using pack method '16m-jpeg-9' with session 'unix-gnome'. Info: Using product 'LFE/None/LFEN/None'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using persistent cache. Info: Listening for font server connections on port '11014'. Session: Session started at 'Thu Jul 30 18:25:19 2009'. Error: Failed to set TCP_NODELAY flag on FD#18 to 1. Error is 22 'Invalid argument'. Info: Established X server connection. Session: Terminating session at 'Thu Jul 30 18:25:19 2009'. Info: End of NX transport requested by signal '15'. [END DETAILS] I'd appreciate any help/suggestions. TIA, Daniel ___ 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
Parallel debugging
I'm programming a multithreaded scientific program using pthreads and c++. Currently The model is SMP, but may investigate MMP using MPI in the future. Can anyone suggest a good debugger and possibly an associated GUI? (E.g., gdb and ddd.) Along the same lines, are there any free solutions comparable in scope and/or quality to the TotalView set of debugging tools? TIA, Daniel ___ 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: Parallel debugging
Thanks for the reply. I should have said that I'm also interested in profilers. I have limited experience (in Linux) using gprof and valgrind. ___ 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: Automatic screen lock when leaving desk
To make it more complicated, what about wearing some specific USB device on your clothes, attached to a chain, and when you leave the computer, it will pop out of the USB socket and therefore cause xlock to be called? :-) Haha... Polytropon's witty responses are enough reason in themselves to monitor this mailing list :) ___ 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
Missing man pages: gnupg
Coming from Linux, I'm accustomed to using gpg. I installed the gnupg port (which I assume is virtually the same as Linux gpg). Doing $ man gnupg returns nothing. Doing $ which gnupg reveals that the port (or at least the binary) is in fact installed. But where are the gnupg man pages? If truly not installed, how can I install them? In general, how does one deal with missing man pages? One reason I left Linux (*officially* yesterday) is fragmented documentation. So this is extremely important to me. TIA, Daniel ___ 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: Missing man pages: gnupg
gnupg's binary is gpg2, and man gpg2 exists. :) I see. Thanks, that works. ___ 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
Installing MATLAB: processor is missing the SSE2 instructions
Trying to install MATLAB (R2008b) according to the directions here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-matlab.html Here's what happens when I try to install: devil # /compat/linux/bin/sh /home/daniel/matlab-install/install expr: illegal option -- r usage: expr [-e] expression /home/daniel/matlab-install/install: line 197: [: -ne: unary operator expected Error: Your computer processor is missing the SSE2 instructions that are required for MATLAB to run correctly. For system requirements consult http://www.mathworks.com ... Ignore, for now, the line 197 error. The following is an excerpt from the install script: instructioncheck() { # check /proc/cpuinfo on glnx86 for # correct level of instructions # Output the flag location. A zero mean # no flag. case $Arch in glnx86) # Example: Be sure that the platform has flag sse2 # There are many ways to do this. # Output the flag location. expr `cat /proc/cpuinfo` : '.* sse2 .*$' return ;; *) ;; esac This sse2 flag is not found in /compat/linux/proc/cpuinfo: [dan...@devil ~]$ cat /compat/linux/proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping: 10 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping: 10 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 b19 b21 mmxext mmx fxsr xmm b26 b27 b28 b29 3dnow cpu MHz : 2394.02 bogomips: 2394.02 [dan...@devil ~]$ Surely my cpu supports the needed instructions sets for MATLAB, because I've installed and used this exact MATLAB distribution on this machine when running Linux. What exactly is going on here? How do I fix this problem? TIA, Daniel ___ 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: Installing MATLAB: processor is missing the SSE2 instructions
Upon further investigation, I've learned that I can disregard the sse2 error. I changed: expr `cat /proc/cpuinfo` : '.* sse2 .*$' to: #expr `cat /proc/cpuinfo` : '.* sse2 .*$' echo 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
Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid
During installation of Matlab, just after accepting the licnse agreement, I get this error: /home/daniel/matlab-install/update/bin/glnx86/xsetup: error while loading shared libraries: /lib/libXp.so.6: ELF file OS ABI invalid I even tried # brandelf -t Linux /compat/linux/lib/libXp.so.6 but I still get the same error. How do I fix this? TIA, Daniel ___ 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: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid
$ sysctl compat.linux.osrelease compat.linux.osrelease: 2.4.2 $ ls /var/db/pkg|grep linux_base linux_base-fc-4_14 ___ 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: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid
FYI: I believe initially libXp.so.6 was not located in /compat/linux/lib/, so I copied it there from /usr/local/lib/. I believe I also tried to brand the file, but before branding the file and after branding the file I get this same error message. ___ 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: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid
Thanks Mel, you're a genius! ___ 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
MATLAB Installed: SSE2 error encounter upon run
Now that Matlab is installed, when I attempt to run matlab I receive the following error: Error: Your computer processor is missing the SSE2 instructions that are required for MATLAB to run correctly. For system requirements consult http://www.mathworks.com ... Any ideas? ___ 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
Remove FreeBSD Boot Manager
When I installed, I created a FreeBSD slice occupying my entire HD. I then created partitions occupying, together, my entire HD. In other words, I never intend to install another OS. I should have chosen *not* to install a boot manager, but I did. Is there anyway now to remove the boot manager, or at least set it to automatically select an entry (F1: FreeBSD being the only entry)? ___ 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
Matlab running on linux wrapper
Will binaries running on the linux binaries wrapper run slower due to having to be run on the linux layer? ___ 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: Xorg - how can I configure this thing??
See 5.4.2 Configuring X11 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html ___ 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
Network traffic monitoring: BSD monitor verifying encryption
Hi folks: (1) I'm only used Wireshark and Ethereal to inspect network traffic, and I've only used these on several occasion. Would someone suggest FreeBSD alternatives (console or xserver based? (2) I'm testing my connection to a remote server. The connection is supposed to be encrypted. What's the easiest way to verify that the data is in fact being encrypted? I don't care to validate the encryption itself; I trust that it is working properly, if it's working at all. I just want to know what, if anything, I can look for in the traffic that will indicate encryption (e.g., is the initiation of key-exchanges easy to locate?). ___ 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: Network traffic monitoring: BSD monitor verifying encryption
Thanks for the help. I couldn't find any flags/fields in TCP packets indicated whether encrypted (as in the case of SSH packets). There isn't any, right? ___ 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
2 questions: GEOM_LABEL and partition naming
Good morning, folks! (At least, it's morning on the east coast of USA) QUESTION 1: Would someone please explain the /var/run/dmesg.boot excerpt below? Note: I have glanced at both of the following links, but at the moment, I do not have time to dig into the documentation and learn all about this. I'm hoping to get enough knowledge to understand what's going on with this excerpt, and then later invest time in deeper learning. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom.html http://www.freebsd.org/cgi/man.cgi?query=geomsektion=4 [BEGIN excerpt from dmesg.boot] GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. Trying to mount root from ufs:/dev/ad0s1a GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. GEOM_LABEL: Label ufsid/4a0047d94598831f removed. GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. GEOM_LABEL: Label ufsid/4a0047d94598831f removed. [END excerpt from dmesg.boot] More possibly relevant information: [BEGIN /etc/fstab] # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1g /home ufs rw 2 2 /dev/ad0s1e /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw 2 2 /dev/ad0s1d /varufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 linproc /usr/compat/linux/proc linprocfs rw 0 0 [END /etc/fstab] [BEGIN output of df command] Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a756750 162710 53350023%/ devfs 1 10 100%/dev /dev/ad0s1g 23364076 112878 21382072 1%/home /dev/ad0s1e756750 862 695348 0%/tmp /dev/ad0s1f 10154158 5275158 40856%/usr /dev/ad0s1d756750 163790 53242024%/var linprocfs 4 40 100%/usr/compat/linux/proc [END output of df command] QUESTION 2: I'm suprised that the device names (from the df output above) do not include ad0s1b and ad0s1c. I thought the naming should follow the model of ad0s1% where % begins at a and continues in alphabetical order for each partition on that device. What am I missing? TIA, Daniel ___ 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: 2 questions: GEOM_LABEL and partition naming
Thanks, very helpful! ___ 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
Hide Terminal window (using xfce4. and 7.2-RELEASE)?
Whenever I run the particular Linux MATLAB installation I have access to, it must be run from the command-line. Consequently, I have the MATLAB gui and an open terminal window (which only gets in the way). Is there a way to hide this terminal window completely? If I close it, MATLAB closes. I know I can move it to another Workspace, but I'm hoping there's another way. I don't mind that the Terminal window opens whenever I run MATLAB, I would just like to be able to hide it each time. NOTE: When I say hide, I mean simply make it not show up on the screen. I do not mean hide the process or anything of that nature. TIA, Daniel ___ 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: POLL: Linux preferences from FreeBSD users
Are most of these shortcomings primarily due to the fact that FreeBSD has a single structured line of development? ___ 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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?
Why? More specifically, can't it be started from the XFCE menu with Run Program or right-click the desktop and Create Launcher? I don't know, honestly. Whenever I try to run it from a Launcher or via Run Program, it will display the splash screen, but then terminate. This also happens on all Linux machines I use. ___ 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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?
Some searching suggests matlab -desktop may be what is needed. Yep, that did it! Thanks! ___ 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: boot0 / LILO / GRUB: dual boot FreeBSD and Linux
Thanks, this is great! ___ 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: POLL: Linux preferences from FreeBSD users
I'm very interested to see the spread of opinion about Linux distributions from FreeBSD fans. Why? Good question. Because of the perspective many FreeBSD fans (people who like and use FreeBSD) have toward *NIX OS's. You said it well: Modern Linux distributions don't appeal very much to me, because they are messy: Missing manpages, partially ununderstandable file system hierarchy layout, untidy source code. These are things, I'm guessing, that the casual Linux user may not appreciate. Someone who has a great deal of experience with both FreeBSD and various Linux distributions, however, probably would appreciate these things. If I were to poll a sample of individuals who only have experience with, say, Windows and Linux, then the responses would likely represent opinions formed upon a wholly different set of criteria. ___ 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
POLL: Linux preferences from FreeBSD users
QUESTION: Of the various modern Linux distributions, which do you prefer? and why? I'm very interested to see the spread of opinion about Linux distributions from FreeBSD fans. ___ 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: POLL: Linux preferences from FreeBSD users
of all the Linux distros I have tried, the least confusing is Gentoo Gentoo portage is kinda like FreeBSD ports Yes, I'd like to give Gentoo a try. ___ 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
boot0 / LILO / GRUB: dual boot FreeBSD and Linux
I'm getting a new desktop through my university which will come installed with Windows Vista. Obviously, my first action item will be removing Vista and installing a reasonable OS. Due to the need to be up-and-running immediately with an OS that I'm comfortable with, I'll be installing Linux (probably Ubuntu). But I'd like to set-up FreeBSD also. Which of the boot managers do you suggest I use? Which OS should I install first? Since I've never set-up a FreeBSD/Linux dual-boot system, I don't know what, if any, pitfalls to avoid. I'm hoping some of you will have experience I can learn from. Any relevant advice would be greatly appreciated. TIA, Daniel ___ 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 support for 64-bit x86 systems
Does FreeBSD currently support 64-bit x86 systems? I've been here, but my knowledge of hardware terminology is too limited to confidently draw conclusions: http://www.freebsd.org/platforms/ ___ 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: FreeBSD support for 64-bit x86 systems
amd64 Ah-hah. Thanks! ___ 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: Re: Re: Which latex should I install
I wanted to ask, but neglected to until now, did you install from the DVD or the network? Also, did you install for FreeBSD (pre-compiled binaries), or I initially tried the network installation, but there are so many packages/files to retrieve that I quit and went for the DVD install. I recommend just downloading the DVD image; I believe it's compressed with lzma2, which means the total data transfer should be much smaller. I installed the linux (or platform-independent) version. Works perfectly for me. ___ 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
Novell Groupwise on FreeBSD
Has anyone been able to use the Novell Groupwise email/calendaring system on FreeBSD? If so, please explain how you accomplished this. ___ 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
Chomium on FreeBSD?
Is there an effort to build a port of chromium for FreeBSD? I recently began using chromium on my Linux machine, and the HTML rendering speed is quite impressive. When it has the ability to synchronize bookmarks, I'll use it exclusively. ___ 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: Best practices for securing SSH server
As I believe has already been answered in this thread, the better connected a server is to the Internet, the higher its value to several varieties of miscreants. Given a choice between a server connected via a close to saturated T1 somewhere in the back waters of the Internet and a server with multiple 100mbps+ connections to key backbones, somebody interested in staging DOS attacks or using the server as a base to explore other networks or ... is likely to find the latter server of greater interest. About the only advantage I can think of for the former is that it's probably, other things being equal, less likely to be properly maintained and monitored. Exactly. For example, the server in question is a desktop machine at work. I regularly see transfer rates of 13MB/s. It's at a major university, which is by itself another high-risk factor, precisely because there are so many (often weakly protected) high-speed connections. ___ 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 latex should I install
I recently went through the ropes of installing latex on my FreeBSD machine. You may the discussion I had helpful. See # 256 and below, from here: http://docs.freebsd.org/mail/archive/2009/freebsd-questions/20090607.freebsd-questions.html ___ 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: Re: Which latex should I install
Hopefully Polytropon will chime in on this, but I had to install TeXLive for everything to work. Suggestion: try teTeX. If you encounter problems, then install TeXLive. ___ 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: Re: Which latex should I install
There is... but not an official one. Romain Tartière made a special form of ports tree, to be integrated with the 'official' tree for TeXLive. I didn't know that. I've had no problems with the generic version though. ___ 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
Restrict process(es) to single core
Suppose I'm running a multi-threaded program that's utilizing both cores of my CPU. I'm not interested in it's speed, however, and would like to free up another core for general purpose. Is there a way (without altering/recompiling the program, obviously) to restricting a process and its children to a single core? ___ 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: Restrict process(es) to single core
That's great, thanks! ___ 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 latex should I install
Polytropon, here is the problem I was having: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2351398+0+archive/2009/freebsd-questions/20090607.freebsd-questions Granted, that's not much to go on :) ___ 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 question of moving vi to /bin
That's a very good suggestion. But let's take into mind that we do need the most advanced and modern MICROS~1 technology, so FreeBSD should include a pirated copy of Windows 7 in order to run the latest and most expensive pirated copy of Office, programmed in Java, running through Flash. With music. And dancing puppies. Hah! I'll have to use this paragraph. Hilarious. :) ___ 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
mkisofs in FreeBSD
Looked for mkisofs in the online FreeBSD man pages, but couldn't find it. What is modern equivalent? ___ 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: mkisofs in FreeBSD
Ahh, so searching the manpages at FreeBSD.org (http://www.freebsd.org/cgi/man.cgi) will provide only those entries pertaining to the base OS? ___ 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: mkisofs in FreeBSD
Got it. Thanks! ___ 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: Best practices for securing SSH server
Point remains: Adding port knocking does not solve any security problem, it only adds complexity, cost, points of failure, inconvenience etc while making your problem appear differently and leaving you with the illusion of being more secure. I think that's grossly overstated, if not just plain wrong. Ceteris paribus, a system with port knocking is almost certainly more secure than a system without port knocking. It's not a guarantee against penetration. But even if it's only a heightened degreee of security not an additional kind of security measure (as you argue), it's still heightened security. ___ 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: Best practices for securing SSH server
why does the speed of a connection make it a higher risk? Super-fast connections are ideal targets for people to install private fileservers (among other things). ___ 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: Best practices for securing SSH server
I do not believe that tricks like running ssh on a non standard port or using port-knocking provide much extra security. I can understand that varying the port is not a very strong defensive measure, but I don't understand your point about port-knocking. If you configure a complex and seemingly random sequence of knocks before allowing an IP access to your ssh port, have you not significantly strengthened your ssh server? ___ 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
~/.ssh directory permissions
Looking at my ~/.ssh directory, I see the following permissions: -rw-r--r-- Which I understand to be equivalent to 644. I read here http://sial.org/howto/openssh/publickey-auth/ that ~/.ssh ought to have permissions 700. Which is preferable, and why? ___ 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: ~/.ssh directory permissions
Thanks. Might as well set to 700 then. ___ 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: Best practices for securing SSH server
A port-knocking sequence is really nothing different than a shared password. Technically and conceptually, that's true. But practically, I'm not sure you're right. If in addition to attempting to enumerate the space of possible passwords, an attacker also enumerates the space of possible port-knocking sequences, then, yes, you're right. But I am willing to bet that the vast majority of attackers DO NOT attempt this. For this reason, I think well-designed port-knocking DOES add significant strength to the server. If I'm misunderstanding port-knocking, please jump in and correct me... ___ 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
Untrusted X11 forwarding setup failed
Whenever I $ ssh -X u...@server from my FreeBSD machine, I get the following message (and am successfully logged in): Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. When I log in to the same servers from my Ubuntu machines, I do NOT get that message. What's wrong here? ___ 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
Best practices for securing SSH server
On a BSD box at work (at an extremely fast connection and static IP), I run an SSH server. I am the only person who uses the server, but I use it from some locations that are behind a dynamic IP (so I can't set pf rules to filter by IP). I will always, however, use the same laptop to connect to the server. Due to the speed and location of the connection, it's a relatively high-risk target. What are some good practices for securing this SSH server. Is using a stored key safer than a password in this instance? I have no experience with port-knocking, but I'd appreciate some tips or suggested beginning references... I welcome any and all advice. Note: I do require X11 forwarding (not sure whether that's relevant information) TIA, Daniel ___ 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: No sound, no mouse and now X applications won't start
Aside: My Bonnie looked into a gas tank, The height of its contents to see! She lit a small match to assist her, Oh, bring back my Bonnie to me. Hah... I like that. Dark, but witty. ___ 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: Problem with bash script
$ find ./ -name *.pem -exec cp {} /usr/home/tmp/something \; I'm a novice with shell scripting myself, but what's the difference between that code and some variant thereof using a pipe and xargs? Are they simply two different ways of achieving the same result? Or is there some more important difference I may be overlooking? Thanks, Daniel ___ 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: Terminal / vim / shortcuts
Thanks for these great answers! I already use a customized .vimrc file. So I can just add the mappings to this file, instead of to .exrc, right? ___ 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
Terminal / vim / shortcuts
I edit python code in vim using Terminal on xfce. I find myself, not surprisingly, having to exit insert mode and save changes frequently (when making code changes and wishing to test the immediate effects of the changes in a separate terminal). This requires pressing 4 keys: esc, :, w, and enter. How can I configure a shortcut (ideally using an F# key) that will perform this sequence of 4 key-presses? TIA, Daniel ___ 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: PDF inventory software
I'm trying to convert all PDF files in a directory to text using pdftotext. I tried the following command: $ find *.pdf | xargs -0 pdftotext Error: Couldn't open file 'Ross-JAMA-2007 (Prostate Screening Strategies).pdf Sanda-JAMA-2009 (Prostate Cancer Treatment).pdf ' Why is this not working? Thanks, Daniel ___ 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: PDF inventory software
$ find *.pdf -exec pdftotext {} \; Error: Document has not the mandatory ending %EOF ___ 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: PDF inventory software
Hmm.. The command find *.pdf -exec pdftotext {} \; works in directories in which no PDF file returns the Document has not the mandatory ending %EOF error. When a directory contains one of these files, none of the files get converted. Is there some way to ignore or skip over this %EOF problem and continue operating on the remaining PDFs? ___ 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: PDF inventory software
I retrieved a fresh copy of the error-causing PDF, and now all is well. Thanks for all the excellent help! ___ 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
PDF inventory software
I'm looking for a way to manage my personal collection of research articles. Ideally I'd like some way to keep records on authors, keywords, journals, and publication years of articles (PDF files) downloaded onto my local drive. In the course of reading literature for research, it often happens that I find myself wanted to return to something I have previously read, but I only recall a few things about the article, often the author and a keyword. Is there some inventory/database software (for local use only) that can be easily used for this purpose? (The closest things that comes to mind (conceptually) is image collection software.) What are some of my options here? Thanks, Daniel ___ 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: PDF inventory software
Poly and LoH: Thanks, these are great ideas! ___ 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: PDF inventory software
Since all the PDFs contain text (none are scanned images), can I simply use some command like grep to search for text within the collection? If so, how would I do this? Can grep read text from within PDFs? ___ 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
Reproduce previous stdout output without running previous command
OK, this is perhaps a weird question, capable of being very confusing. So let's take a for instance. Suppose I run something like the Linux command fdupes on a directory with many large files. This operation will take considerable time to complete. When it completes, a lot of output is send to stdout (displayed on the terminal). Further suppose that after running the command, I decide I want to save the output to a text file, so I can analyze the results outside of the terminal. What can I do? Well, I can do a traditional copy-and-paste, or I could re-enter the previous command and send it to a text file (which I ought to have done in the first place). But is there another option? Is there some variable (such as, hypothetically, $output[n], where n=some integer index) that I could use to store the results in a text file? Such an option might look like the following: $ fdupes -r ~/directorywithlotsoflargefiles (.lots of output, woops, should have sent to a text file!) $ output[1] ~/textfile.txt Hopefully this has made (some) sense. ___ 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
Set Terminal title in xfce to pwd
How can I change the Terminal title (the title shown on open instances of Terminal on the panel in xfce) to display *only* the present working directory. Currently they all show Terminal - dan...@bsdbox: ~, for example. ___ 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: Installing latest version of LaTeX
Having trouble mounting the ISO: [dan...@bsdbox ~]$ sudo mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f ./texlve2008.iso` ./mount/ mdconfig: open(/dev/mdctl): Permission denied mount_cd9660: /dev: Block device required [dan...@bsdbox ~]$ Please help me figure this out. ___ 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: Installing latest version of LaTeX
Installed texlive from ISO, and it all works perfectly now. Thanks folks! ___ 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
Installing latest version of LaTeX
I added the winefish package (LaTeX editor) and installed the print/latex port. During the installation/building of the latex port, I received a message that the version being installed was over 5 years old. When I tried to add latex via pkg_add, I had no success (I assumed the package was named latex, but it wasn't found). Winefish works, and latex appears to be installed, but I get errors using code I know to be flawless. I suspect this relates to out-of-date latex on my machine. MY QUESTION: Please help me to install the newest version of latex. I'm using 7.2-RELEASE. Thanks, Daniel ___ 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: Installing latest version of LaTeX
Thanks for the info. I'll have to try to install TeX Live. despite repeated attempts and a lot of talk, no one has introduced this into FreeBSD Ports yet -- that's a shame... (La)TeX is a must-have tool for me. I usually do most of my LaTeX'ing in Linux, but I'd love to be able to use FreeBSD once in a while. Running the latex command on a .tex file, I keep getting this error: xcolor.sty 140 Undefined control xcolor.sty 140 Emergency stop. *exit code: 1 No idea what's going on though... Daniel ___ 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: subversion / dav_svn_module : Fatal error 'Recurse on a private mutex.'
If you don't find an answer here, I suggest asking this question in the freebsd-hpc mailing list, because pthreads is a library for c/c++ multithreaded programming, and a mutex is a kind of lock on a resource used in parallel programming. ___ 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: Reformatting external harddrive
Thanks for all the advice. This evening, when I get home to work, I will try these suggestions. I have no idea why there is more than 1 partition on this disk. I must have inadvertently created multiple partitions when I was struggling to reformat this disk in linux. Every time I tried to fdisk (or perhaps it was mkfs.ext3) on in linux, I got errors about a bad superblock (which I understand somehow relates to the journaling mechanism of ext3). Therefore it is my hope that by reverting to the lowest level tools in FreeBSD to reformat the drive (if that's even the appropriate step to take) I can reclaim the ~300GB drive for external storage/backups. On Tue, May 12, 2009 at 12:01 PM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Daniel Underwood wrote: After unsuccessfully trying to reformat my external harddrive on my linux machine, I'm trying to reformat the disk in FreeBSD. Frankly, I just don't know how to do that. Please help me get the disk back to working order; I don't need to keep any data that is currently on the disk. The command $ /dev/da0 ITYM: fdisk /dev/da0 gives the following output: *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=38913 heads=255 sectors/track=63 (16065 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 625137282 (305242 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 0/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED This says that you have written a partition table onto the drive that indicates the whole disk is being used for FreeBSD. That's a good start if your intention is to use the disk dedicated for FreeBSD. The way the partition naming scheme works you should now have a /dev/da0s1 device file (indicating 'slice 1' or disk 'da0') In order to make the disk usable with FreeBSD, you need to follow something like these steps: * Use bsdlabel(8) to create BSD partitions on slice1. To write a default label: # bsdlabel -w /dev/da0s1 Then to edit the default label and define the partitions you want, # bsdlabel -e da0s1 Edit mode will pop up an editor with the existing BSD partition table -- that's vi(1) by default but you can override it by setting the EDITOR environment variable. If your aim is to use this disk as one big filesystem for storing data then creating a 'd' partition covering all the available space would be appropriate. After saving the edited partition table you should now have a device file: /dev/da0s1d * Use newfs(8) to create a filesystem on the drive. I'd just leave it with the default settings unless you know you're going to be using the disk for unusually large files or unusually many very small files. newfs /dev/da0s1d * Mount the new filesystem to make it available to FreeBSD. Add a line like the following to /etc/fstab: /dev/da0s1d /data ufs rw 2 2 Then create the mount point: # mkdir -p /data and mount the drive: # mount /data The drive will be remounted automatically on system reboots and is expected to be permanently present. If you want to have the disk be removable, then read all about amd(8) and feel free to ask again here. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ 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: Reformatting external harddrive
Awesome. This is exactly the advice I need. Thanks! ___ 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: Reformatting external harddrive
Thanks guys, this is perfect. According to the newfs manpages, you can specify a filesystem type (-O) and a disktype (-T) for backward compatibility. It further appears that -O can only designate either UFS1 or UFS2. I don't quite know what the -T option designates; i.e., back compatible with what? (I ask about the -O and -T options becase I would like to use this harddrive on both my FreeBSD and my linux machine.) Thanks, Daniel ___ 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
Reformatting external harddrive
After unsuccessfully trying to reformat my external harddrive on my linux machine, I'm trying to reformat the disk in FreeBSD. Frankly, I just don't know how to do that. Please help me get the disk back to working order; I don't need to keep any data that is currently on the disk. The command $ /dev/da0 gives the following output: *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=38913 heads=255 sectors/track=63 (16065 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 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 625137282 (305242 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 0/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED ___ 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
Xfce unable to lookup hostname
Every time I log in to xfce, it throws a warning that it cannot lookup bsdbox (which is my hostname as defined in rc.conf). The warning dialog suggests altering /etc/hosts to fix the problem. In fact, it's not a problem because my WAN connectivity is fine, but I still want to resolve this. In /etc/hosts there are two lines containing: localhost localhost.my.domain Since I'm connecting to the Internet through a dynamic-IP ISP without a reserved domain name, I have nothing with which to replace my.domain. What should I do to resolve this issue? In a situation like this (note: I am behind a home router), is there actually anything I can replace my.domain with? Pardon my very limited understanding of networking concepts :) Thanks, Daniel ___ 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: Xfce unable to lookup hostname
Really? No IP? I mean like ::1 localhost 127.0.0.1 localhost 127.0.0.1 bsdbox.local bsdbox 127.0.0.1 bsdbox.local. Right, I realize I was unclear. I just meant that two lines contained localhost localhost.my.domain, not that they ONLY contained that phrase. So, yes, I'm referring to the lines starting with ::1 and 127.0.0.1. Let me make sure I understand (part of) your advice. Since I set hostname=bsdbox in rc.conf, I should replace localhost instances in /etc/ttys ? Thanks, Daniel ___ 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: Xfce unable to lookup hostname
*Correction* In previous email, /etc/ttys -- /etc/hosts. ___ 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: Xfce unable to lookup hostname
I added the line 127.0.0.1 bsdbox bsdbox.my.domain and now it works perfectly, thanks! Question: what does the line I added tell my computer? I.e., what does that line do? ___ 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
Preferred client for DynDNS
There appear to be several clients capable of working with DynDNS.com services here: http://www.freebsd.org/ports/dns.html E.g., dns/inadyn, dns/ipcheck Can anyone make recommendations? My goal in using DynDNS is to allow remote SSH logins to a machine behind a router at my house (using a common ISP). Thanks, Daniel ___ 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
Using portsuprade only for security
I ran a portsupgrade scan, and was presented with a long list of installed ports and whether an update was available. In general, I prefer not to update ports/packages between FreeBSD releases. An obvious exception to this general rules is the patching of security vulnerabilities; of course not all available updates are security fixes. So my question is: how or where can I monitor security vulnerabilities? Or, how can I keep my system up-to-date with respect to security, without applying every non-security update? Thanks, Daniel ___ 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
Shopping for external harddrive
I'm looking to purchase a = 1TB external harddrive, because I'm running out of room on my 300GB external. Anyone have good experience with any particular brands? I really don't know how different brands compare in reliability to one another. Of course I plan to check CNet and other online reviews. But I also wanted to see if any of you folks have personal recommendations. Thanks, Daniel ___ 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
xdm freezes - 7.2-RELEASE installed
Just installed 7.2-RELEASE. After changing my /etc/ttys to default to xdm and rebooting, my machine opens xdm, but I cannot type or press enter. My keyboard isn't totally unresponsive, however, because I can Ctrl+Alt+F# to another virtual terminal. Any ideas? Thanks, Daniel ___ 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: xdm freezes - 7.2-RELEASE installed
I don't have an xorg.conf file. When I installed 7.1-RELEASE on this laptop (exact same machine) I didn't need to configure an xorg.conf file. But I'll certainly try your advice. Thanks! ___ 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