Re: Installing Matlab
On 01-03-2013 23:55, Vijay Kaul wrote: On Fri, Mar 1, 2013 at 5:27 PM, Tijl Coosemans t...@coosemans.org wrote: On 01-03-2013 22:35, Vijay Kaul wrote: On Fri, Mar 1, 2013 at 3:27 PM, Tijl Coosemans t...@coosemans.org wrote: On 01-03-2013 21:07, Vijay Kaul wrote: On Fri, Feb 15, 2013 at 11:40 AM, Tijl Coosemans t...@coosemans.org wrote: On 15-02-2013 10:36, Tijl Coosemans wrote: On 14-02-2013 22:42, Vijay Kaul wrote: I was wondering if anyone has had any recent (or not-so-recent) experience installing Matlab on FreeBSD/PC-BSD? (Yes, I know about octave.) I'm not entirely new to *nix, but I'm novice enough that I can't seem to get this to work. Perhaps the shortest and simplest solution would be if Mathworks own installer would function, but that runs as a Java Web Start application, and I can't seem to get that working in Opera, Firefox, or Konqueror. The automatic rout having failed, I've downloaded the files manually, and I've tried to run the install script; however, it's failed as well. I found this site: http://matrossi.blogspot.com/2011/08/installing-matlab-2011a-on-freebsd.html, which claims installation instructions for PC-BSD8.2 boiling down to: open up the shell scripts and take /bin/sh -- /compat/linux/bin/sh. Well, that seems to help a bit, but it also fails because the install script determines my architecture to be x68, while the downloads are for (what they call) a64. (My system is indeed a 64-bit system. Perhaps the above instructions were for an x86 system.) I feel like if I could modify the install script sufficiently, the install would work. My bash scripting is weak, though, and I worry about screwing up my system and/or the installation. There are only a few functions in there that are looking for architecture type, usually with the output from uname. I think fixing those would work...? Could anyone help me get past this point? Thanks in advance! And please, if there's any info I can provide that would be helpful, please just let me know. Output of uname -a: FreeBSD pcbsd-8517 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 The install script in question: http://pastebin.com/QkEH1vkF Try creating this link: ln -s ../usr/bin/expr /compat/linux/bin/expr Without this link Linux scripts run the FreeBSD expr which isn't fully compatible. And also, the Linux compatibility layer is 32bit so you need the x86 version of Matlab. Oh, I didn't realize that Linux on FBSD was 32 bit. Thanks for pointing that out. BTW, mathworks has stopped releasing new 32-bit versions of matlab for linux, but you can still get R2012a for 32-bit linux. Regarding the linking advice I have a /bin/expr and /compat/linux/usr/bin/expr. My naivety is showing, but if I did ~ ln -s /usr/bin/expr /compat/linux/usr/bin/expr That's not the same command as above. You're right. I didn't understand at first, but I think the command you suggested assumed that the working directory was /compat/linux/bin. don't I also need to edit my path so that the script would find my link before finding the built-in FBSD command? Currently, my path begins: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: So I think the script would still use '/bin/expr'. Under Linux compat the order becomes: 1: /compat/linux/sbin/expr 2: /sbin/expr 3: /compat/linux/bin/expr - You need to create this as a link to 7 4: /bin/expr- FreeBSD expr 5: /compat/linux/usr/sbin/expr 6: /usr/sbin/expr 7: /compat/linux/usr/bin/expr - Linux expr 8: /usr/bin/expr ... I don't have #s 1, 2, 5, 6, or 8. I have created 3 as a link to 7. (And, of course, still have 4.) This does, indeed, clear up any errors from expr! Thanks!! snip The next issue is the java errors given. A brief linux install guide I was given instructed: ... (2) install Sun/Oracle java and plugin (32-bit) and you may actually need to use one or two versions back from the current version (depending on what's in the repositories anyway) I have, currently, installed the OpenJDK b27 PBI (recall I'm really on PC-BSD). Any tips or suggestions on where to find and how to install Oracle's Java? Why might I need an older version of Java? (Maybe they mean going back to JRE 6?) How would I know? (I ask about where to get Java, since Oracle claims only to support linux, and the handbook doesn't seem to have a section on it. I'm wondering if there's a right and wrong way to go here.) The Java exceptions I see are at http://pastebin.com/GJCnEXfR. I suspect the installer already contains java, so you don't have to install anything. Yes, the installer *does* in fact seem to contain a jre of its own, a point I had been confused about. The Linux version of java requires linprocfs though so make sure you have the following line in /etc/fstab:
Old releases support
Hello. Just a quick question on EOL dates. According to http://www.freebsd.org/security/security.html#sup, 7.4R support should have ended two days ago. Did it? Is Feb 28 2013 date confirmed? Next, 9.0 should reach EOL at the end of this month. Is this confirmed too? bye Thanks av. ___ 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: https://wiki.freebsd.org/ certificate error
On Sat, 2 Mar 2013 06:12:22 +0100 Polytropon articulated: On Fri, 01 Mar 2013 10:42:58 -0500, Fbsd8 wrote: Javad Kouhi wrote: Also no problem with FreeBSD 9.1 and chromium. But sometimes ago I have this problem with all https sites. because the government forged the wrong SSL certificate and my browser and my browser warned me about it. Do you have this problem with other websites? On Fri, Mar 1, 2013 at 6:02 PM, Zyumbilev, Peter pe...@aboutsupport.comwrote: On 01/03/2013 16:14, Ralf Mardorf wrote: [1] $ firefox -version Mozilla Firefox 19.0 No problem with SeaMonkey 2.16. I use xp browser and it's certificate checking is enabled. You are sure using a more than 10 year old system should be considered safe enough to provide a reference? Maybe the browsers running from xorg desktops are NOT certificate aware so them not getting the error warning would be expected. They are. Or to be correct: The most prominent ones are, like Firefox, Chrome, and Opera. More lightweight browsers like dillo actually might not have this functionality. The fact remains, the ms/browsers do find the wiki.freebsd.org wedsite's certificate invalid because the certificate ip address does not match the ip address the public dns points to. As it has been mentioned, one certificate can be used for several IP addresses. Both www and wiki are located at 8.8.178.110 (returned by host command), so there might be a DNS issue or something comparable strange... I've checked with Opera 11.50 here, no problems. I think Brad Mettee nailed it with his response. quote And in this particular case, the certificate is for www.freebsd.org and freebsd.org, and the browser is complaining because it's being used on wiki.freebsd.org. Their certificate should have been issued for *.freebsd.org instead of just the main site name. Unfortunately I think all of the certificate issuers charge big $$$ for that type of cert.. /quote I have seen this sort of thing several times before with different sites. The older versions of Firefox never picked up on it as often as IE would. I just tried this site using IE and immediately received the error message. The message stating: The security certificate presented by this website was issued for a different website's address. Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server. It then went on to give me the normal options of leaving the site or ignoring the error. Interestingly enough, Firefox, on the same machine, does not provide any indication that the certificate is questionable. Given the choice of being warned about a questionable certificate or having the browser silently ignore it, I would choose to be warned about it. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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
9.1 packages
Hi Guys, Do you have any idea when are going to be the packages available for FreeBSD 9.1? thx! Laszlo ___ 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
rm -R
I made a folder called -S; how can I remove that again? did a rm -R '-S;' but that doesn't work (...). thanks for your advise, Jos Chrispijn ___ 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: rm -R
rm -R -- -S The -- tells it here's the end of the options, here come the file/directories -- Devin From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Jos Chrispijn [ker...@webrz.net] Sent: Saturday, March 02, 2013 7:50 AM To: freebsd-questions@FreeBSD.org Subject: rm -R I made a folder called -S; how can I remove that again? did a rm -R '-S;' but that doesn't work (...). thanks for your advise, Jos Chrispijn ___ 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 _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ 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: Old releases support
On 2 Mar 2013 09:47, Andrea Venturoli m...@netfence.it wrote: Just a quick question on EOL dates. According to http://www.freebsd.org/security/security.html#sup, 7.4R support should have ended two days ago. Did it? Is Feb 28 2013 date confirmed? Next, 9.0 should reach EOL at the end of this month. Is this confirmed too? Correct on both accounts. As the updates are manual nobody just got to removing 7.4 yet. I should have sent a mail out with warning a month ago but forgot. -- Simon ___ 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: rm -R
Ralf Mardorf: rm -R -S\; rm -R ?S? rm: illegal option -- S usage: rm [-f | -i] [-dIPRrvW] file ... unlink file regards, Jos Chrispijn ___ 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: rm -R
Teske, Devin: rm -R -- -S The -- tells it here's the end of the options, here come the file/directories Almost : rm -R -- -S; did it, thanks very much! BR, Jos Chrispijn. ___ 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: rm -R
Teske, Devin: rm -R -- -S The -- tells it here's the end of the options, here come the file/directories Almost: rm -R -- -S; did it, thanks very much for you help! BR, Jos Chrispijn ___ 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: how to disable bluetooth
On Fri, Mar 01, 2013 at 09:50:45PM +0100, CeDeROM wrote: On Fri, Mar 1, 2013 at 7:30 PM, kaltheat wrote: On Wed, Feb 27, 2013 at 06:31:38PM +0100, CeDeROM wrote: hey hey :-) its not that i dont want the bluetooth at all, just want to shut it down when its supposed to be shut down :-) bluetooth stack is always functional and my device is always visible even if i disable all bluetooth services, this seems insecure a bit huh. :-) You might want to create a cutomized minimal kernel and load every module either by /boot/loader.conf or by hand. Yea, I have noticed that defaul kernel now contains everything. I am not sure if this is a good choice. Do you know how can I mark which code pieces should be build as modules and which ones should become part of kernel? I got lots of modules - are they built into the kernel or loaded one by one at boot time? Thank you! :-) Tomek Well. I don't think that it contains everything. Do `kldstat -v` to get informations on modules built into kernel and modules loaded seperately. You can mark code pieces you want to have in kernel by writing a KERNCONF file. Details can be taken from handbook[1]. You may find other step-by-step instructions in forum[2] and on several blogs. I saw some posts of people sharing their minimal kernel configuration file. It's interesting for people using laptops and wanting to save as much power as possible, too. Regards, kaltheat [1] http://www.freebsd.org/doc/handbook/kernelconfig-building.html [2] https://forums.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: Old releases support
On Mar 2, 2013, at 4:59 PM, Simon L. B. Nielsen si...@qxnitro.org wrote: On 2 Mar 2013 09:47, Andrea Venturoli m...@netfence.it wrote: Just a quick question on EOL dates. According to http://www.freebsd.org/security/security.html#sup, 7.4R support should have ended two days ago. Did it? Is Feb 28 2013 date confirmed? Next, 9.0 should reach EOL at the end of this month. Is this confirmed too? Correct on both accounts. As the updates are manual nobody just got to removing 7.4 yet. Hello, I just removed 7.4/7-STABLE from the list and moved it to the 'unsupported' section. Thanks for mentioning this! Cheers Remko I should have sent a mail out with warning a month ago but forgot. -- Simon ___ Please think twice when forwarding, cc:ing, or bcc:ing security-team messages. Ask if you are unsure. -- /\ With kind regards,| re...@elvandar.org \ / Remko Lodder | re...@freebsd.org XFreeBSD| http://www.evilcoder.org / \ The Power to Serve| Quis custodiet ipsos custodes ___ 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: rm -R
Wjy are we syill having this conversation? The problem (and its solution) have been raised for at least 39 years. To specify a file, directory, device, whatever, whose leaf name begins with a `-', name it using a leading `./' as in: whatever ./-S That will work for all programs, even those that do not support -- to terminate flags. Furthermore it will support glob patterns. Now was that so difficult? -- dt ___ 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: rm -R
Hi, Reference: From: Jos Chrispijn ker...@webrz.net Date: Sat, 02 Mar 2013 18:44:22 +0100 Message-id: 51323a76.2040...@webrz.net Jos Chrispijn wrote: Teske, Devin: rm -R -- -S The -- tells it here's the end of the options, here come the file/directories Almost: rm -R -- -S; did it, thanks very much for you help! This also works rmdir ./-S ( is probably the best generic naming method, was valid decades ago, before rm got the luxury of modern stuff eg -- would work for other commands that might not have delimieters such as -- ) This also work but is over kill : rmdir './-S' Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ 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: rm -R
On Sat, 2 Mar 2013, David Tilbrook wrote: Wjy are we syill having this conversation? The problem (and its solution) have been raised for at least 39 years. To specify a file, directory, device, whatever, whose leaf name begins with a `-', name it using a leading `./' as in: whatever ./-S That will work for all programs, even those that do not support -- to terminate flags. Furthermore it will support glob patterns. Now was that so difficult? -- dt Also find dir -type [df] -name string | xargs command find is pretty good about finding names with special characters and they get passed though xargs ok. This does not work with names with spaces of course. Also pretty easy to test at each step to make sure you are doing want you intend. ___ 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: rm -R
On 3/2/2013 2:43 PM, David Tilbrook wrote: The problem (and its solution) have been raised for at least 39 years. But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for 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
Re: rm -R
On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: On 3/2/2013 2:43 PM, David Tilbrook wrote: The problem (and its solution) have been raised for at least 39 years. But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for help. ___ sorry to be so dense; can you give me a few concrete examples? ya lost me! tx 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. ___ 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: rm -R
On Sat, 2 Mar 2013 18:27:15 -0800, Gary Kline wrote: On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: On 3/2/2013 2:43 PM, David Tilbrook wrote: The problem (and its solution) have been raised for at least 39 years. But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for help. ___ sorry to be so dense; can you give me a few concrete examples? ya lost me! Just as one of many examples, google for find -name (without the quotes of course), a typical combination which the AND NEAR search should return sufficient results for. Compare the list of results to what you would expect. Now, google for find -name _including_ the quotes (!) in order to have google treat the search string literally. The results will be different, as you would expect. In ye olde times when search engine meant altavista.digital.com (if I remember correctly), search strings usually needed to include + (AND) and - (AND NOT) if you wanted to construct a search term consisting of more than one word. With google implying a + prefix for every search word _and_ assuming they should be as near as possible to each other (therefor the name AND NEAR for the kind of search) this became obsolete. Almost, as it seems... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: rm -R
On 3/2/2013 8:27 PM, Gary Kline wrote: On Sat, Mar 02, 2013 at 07:43:50PM -0600, Joshua Isom wrote: On 3/2/2013 2:43 PM, David Tilbrook wrote: The problem (and its solution) have been raised for at least 39 years. But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for help. ___ sorry to be so dense; can you give me a few concrete examples? ya lost me! tx Start with basics, http://www.lmgtfy.com/?q=rm+-rf now find something relevant even though `rm -rf` is so common under unix. Oddly, `rm -S` gives the wikipedia webpage first. It doesn't mention anything about -- or using ./ to delete files. The man page lists is, so the true documentation is sound, but if you're looking on the internet you have to know how to search. ___ 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: rm -R
On Sat, 02 Mar 2013 23:45:30 +0100, Julian H. Stacey wrote: Hi, Reference: From: Jos Chrispijn ker...@webrz.net Date: Sat, 02 Mar 2013 18:44:22 +0100 Message-id: 51323a76.2040...@webrz.net Jos Chrispijn wrote: Teske, Devin: rm -R -- -S The -- tells it here's the end of the options, here come the file/directories Almost: rm -R -- -S; did it, thanks very much for you help! This also works rmdir ./-S ( is probably the best generic naming method, was valid decades ago, before rm got the luxury of modern stuff eg -- would work for other commands that might not have delimieters such as -- ) This also work but is over kill : rmdir './-S' Just note that the ; has been part of the name in question, so the end of command sign would have to be part of the directory name: rmdir ./-S; and rmdir './-S;' would be the alternatives to rm -R -- -S;. I'd be interested in what happens when you have such a directory name and press PF8 in the Midnight Commander in order to delete it. Now go ahead and create a file * in / and tell a junior sysadmin to remove it. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: rm -R
Joshua Isom jri...@gmail.com wrote: But google and other search engines treats words([A-Za-z0-9]) starting with - as meaning exclude results with this, even when obvious it's about unix commands. It can be rather annoying when searching for help. This comment suggests a new translation of GNU: Google's Not Unix (although it may well be _hosted on_ a Unix variant). Absent some very advanced AI, nothing is obvious to a computer :) The - character means different things in different environments. When you know what command is needed, the manpage is usually the best reference. Save the search engines for when you _don't_ know which command to use -- and even then you probably should try man -k or apropos first. ___ 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