Re: freebsd-questions Digest, Vol 217, Issue 4
Mark Ovens writes: The advantage of building a custom kernel is ... There are others. If I understand correctly, space for the kernel (code and data) is allocated once at initial system load. Smaller code portion = more space for data. Second, fewer components = fewer interactions = fewer possible points of failure. And, _anecdotally_, smaller kernels are faster. I haven't tested in a few years, but it used to be enough faster you could tell it with the naked eye. Robert Huff Not to mention added security. -Camilo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd and snort
On 5/27/08, gahn [EMAIL PROTECTED] wrote: Hello all: I tried to install snort under /usr/ports/security and have some problems. with make all, I checked every item on the menu but I got error messages: // laptop# make all === snort-2.8.1_1 is marked as broken: FLEXRESP2 patch file does not incorporate cleanly. *** Error code 1 Stop in /usr/ports/security/snort. /// tried make distclean and it didn't seem to help to clear the problem. Looked at the timestamps on the files and I don't see any files modified by the command make all could anyone help me on this? Use make config to bring up the Options screen, and check FLEXRESP and uncheck FLEXRESP2. Scot Or do: vi Makefile. Then edit anything that has FLEXRESP2 on it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh - connect to directory outside of /user/home - permission denied
You could just use: scp [EMAIL PROTECTED]:/home/directory [EMAIL PROTECTED]:/user/home Hope that helps, Turner Litigation Services wrote: How do you allow ssh to permit connections to a folder outside of the /home folder of the user loggin in to ssh? For example, i want to sync two folders (using unison) on different machines and need to ssh to the remote folder .. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: logo
It was started by a question posted about wanting help for a certain project. See below. Camilo Bono Vince Malum Message: 4 Date: Mon, 2 Jun 2008 19:44:35 -0300 From: Gonzalo Nemmi Subject: Re: logo To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On Monday 02 June 2008 18:48:56 Frank Shute wrote: On Mon, Jun 02, 2008 at 06:57:00PM +, Pollywog wrote: On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote: I agree completely, it's what got me over to BSD ! I am a little confused. I just see a sphere with horns on it that reminds me of the BSD daemon's head, only made to look less demonic. Is it supposed to be something else? It's the FreeBSD equivalent of the Rorschach inkblot test. Some people see a daemon's head and other's see a sex toy. If it is one of those toys is that what FreeBSD folks really want to project as an image? The image is only in the beholder's eye. It would likely have sent Mary Whitehouse* apoplectic if she'd seen it ;) * http://en.wikipedia.org/wiki/Mary_Whitehouse Regards, May I ask where was it that this thread started? I'd pretty much like to get the whole picture of what is being discussed .. I did dig the list archives but couldn't find the first mail of this thread .. So .. any pointers will be greatly appreciated Thanks =) -- Blessings Gonzalo Nemmi Message: 30 Date: Tue, 3 Jun 2008 01:03:40 -0700 From: Ted Mittelstaedt Subject: RE: Looking for gurus willing to help write Freebsd tutorials To: Pollywog , Message-ID: Content-Type: text/plain; charset=iso-8859-1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pollywog Sent: Monday, June 02, 2008 11:57 AM To: freebsd-questions@freebsd.org Subject: Re: Looking for gurus willing to help write Freebsd tutorials On Monday 02 June 2008 15:58:55 [EMAIL PROTECTED] wrote: I agree completely, it's what got me over to BSD ! I am a little confused. I just see a sphere with horns on it that reminds me of the BSD daemon's head, only made to look less demonic. Is it supposed to be something else? No, that is what it's supposed to be. The sex toy issue is that you saw the sphere with horns AFTER you saw Beastie. So you had a frame of reference, and naturally assume it's Beastie's head. The problem is, think about people who have NEVER seen Beastie before seeing the sex toy logo for the first time. Since they have no frame of reference they can easily assume that it means anything at all. Such as the business end of a French tickler, which it kind of resembles. When those of us in the know call it a sex toy, we are making a little inside joke, as we are basically saying the logo design is terrible because it does not indicate to anyone looking at it what it is supposed to represent. The Linux penguin is no different - someone seeing a Penguin isn't going to know it has to do with an operating system, either. Many corporate logos also suffer from the same problem. The difference between the corporate logos and Linux and us, is that those organizations have the marketing muscle to take their rediculous logo designs and pound them into the public conciousness through endless advertising. See a blue oval? Most people think Ford Not because a blue oval has anything to do with cars. It's because Ford has dumped trillions of dollars in advertising over the years pounding that association into the public mind. The designer of the FreeBSD logo approached it from the usual corporate arrogance of we can create anything we want, then just pay money for the association. The only problem is that the FreeBSD project has no money to spend to create this association. As a result the logo completely fails in it's job. Arguably, there is also no public association between Beastie and the FreeBSD operating system either, so in the long run we aren't any worse off than we were. (aside from the arrogant setting aside of 20 some years of BSD Unix history) Ted -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] End of freebsd-questions Digest, Vol 218, Issue 5 * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 218, Issue 8
Simply upgrade your kernel. I believe there is an upgrade guide on the release notes: http://freebsd.org/releases/6.3R/announce.html Camilo Bono Vince Malum -- Message: 23 Date: Wed, 04 Jun 2008 09:28:29 +0100 From: Vince Hoffman Subject: Re: any news? 3945 ABG driver! To: Long Story Cc: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=windows-1252 Long Story wrote: Hi Vince! The (rtfm) advice it might exist in 7.0R which I didnot install or upgrade to Yet, Im using PC-BSD which is 6.3-R and I think i need to do the driver manualy, any info ? or i _have_ to go for 7.0-R for this driver to work ? As its not in 6.3 (sorry didnt think to check if it was before answering,) you could give it a go manually. http://www.clearchain.com/wiki/Wpi is the maintainers website for it but as its down at the moment, I'm not sure what the status of it on 6.x In 7.x its in the distro though. Vince Thanks. Marwan. Date: Tue, 3 Jun 2008 16:42:40 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: any news? 3945 ABG driver! Long Story wrote: Hello Gurus,Well, any good news or working drivers for wireless 3945ABG ? for 7.0-R or 6.3-R ? Can anyone kindly provide any useful information ?man wpi ;) (sorry to rtfm you but the man page explains it better than I could) Vince THANK YOU Marwan. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Instantly invite friends from Facebook and other social networks to join you on Windows Live™ Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: list files in FreeBSD ports tree package
The best way to do searches on a BSD system is to use good old 'locate,' or even 'find / -name package.' This will give you a result based on the ports package which you can then add using 'pkg_add -r package name.' Camilo Bono Vince Malum -- Message: 6 Date: Thu, 5 Jun 2008 15:35:01 +0200 From: Simon Jolle Subject: list files in FreeBSD ports tree package To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=UTF-8 Hi FreeBSD users I am searching for something similar to Red Hat's rpm -q -l package and Debian's dpkg -L package. cheers Simon -- XMPP: [EMAIL PROTECTED] -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading Kernel on a Remote Server
I don't have much experience with this other than once I ran a server from home and remotely ssh'ed to it to do maintenance. One of the things I learned from that experience was that you can easily patch your services any time there is a new threat, all you have to do is patch your code, recompile, and restart service. If you are not sure it will ever come back up when you restart, you can leave it patched and restart it when you are more comfortable. When it comes to the kernel, don't upgrade it unless it's ABSOLUTELY necessary because you have to reboot each time; unless of course, some genius out there has figured out a way to do it without a reboot. Just my two cents, Camilo Bono Vince Malum Date: Thu, 5 Jun 2008 12:35:43 -0400 From: Sean Cavanaugh Subject: RE: Upgrading Kernel on a Remote Server To: Message-ID: Content-Type: text/plain; charset=iso-8859-1 Date: Thu, 5 Jun 2008 12:15:44 -0400 From: [EMAIL PROTECTED] To: Freebsd-questions@freebsd.org CC: Subject: Upgrading Kernel on a Remote Server Hey, I recently ordered a FreeBSD server from a hosting company. This would be the first time I do not have physical access to a FreeBSD system. I'm looking for any hints/tricks/suggestions for managing and upgrading it safely (as in, not locking myself out or having boot errors). The host does not offer KVM/IP or serial port access. The host is installing 6.3-RELEASE. I'd like to upgrade to 7.0-RELEASE, as well as compile in some kernel options for various things. What's the best way to do this on a remote system, minimizing compiling a bad kernel and causing it not to boot? I wouldn't have access to single user mode or anything. Thanks for any suggestions/help/etc, ~Steve do you have control of the whole box? most places I know that have online hosting like that run you inside a jail as a VPS style system. to answer your original comments, I would say to contact their tech support department and see if you can coordinate with them to have it upgraded to 7.0. If they dont support it, then you are going to be on your own with the install and may have to have them reimage it if you get a bad install. Some places will be willing to do a local base install for your or at least help get over any hurdles with upgrading. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Flashplugin
Well, there is a site that does BSD usage statistics (they recently did a post on this list). I recommend people use their script to raise the stats. http://www.bsdstats.org/ Camilo Bono Vince Malum Date: Sat, 7 Jun 2008 17:09:08 -0700 From: Tobias Hoellrich Subject: RE: Flashplugin To: Message-ID: Content-Type: text/plain; charset=us-ascii My offer stands: if anybody can provide the numbers above, I'm going to forward them to the right people and work things from my end. Don't beat me up, I'm for the support - even if I'm not using FreeBSD as a desktop OS. Thanks and happy weekend - Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Java Dilemma
I am running a FreeBSD 7.0 system and I'm having the hardest time trying to get java to work (I'm sure this has been brought up before - but a google search did not reveal anything). My problem is that I can't find the JDK US DST Timezone Update Tool - 1.3.0 that it mentions on the build (/usr/ports/java/diablo-jre15). I've looked on the Java Sun website, and they don't have the correct version, it seems they have a newer one. Would this still work?? Thanks, Camilo Bono Vince Malum ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 219, Issue 6
The easiest way to deal with this is to disable IPv6 on your kernel. There is a good guide here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html. Simply comment out the 'options INET6' line from your config file. Also, you could give more information on what application is generating those logs. For example, what services are you running? Is this setup as a server? And things of that sort. Camilo Bono Vince Malum Date: Tue, 10 Jun 2008 17:18:25 +0200 (CEST) From: Wojciech Puchar [EMAIL PROTECTED] Subject: OT: lots of IPv6 DNS requests To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed i'm getting lots of things like this in logs: Jun 10 17:13:50 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:241#60282: query (cache) 'wojtek.tensor.gdynia.pl/MX/IN' denied Jun 10 17:13:52 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:265#60123: query (cache) 'dns2.tensor.gdynia.pl/A/IN' denied Jun 10 17:13:52 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:265#60123: query (cache) 'dns.tensor.gdynia.pl/A/IN' denied Jun 10 17:13:52 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:265#60123: query (cache) 'dns.tensor.gdynia.pl//IN' denied Jun 10 17:13:52 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:265#60123: query (cache) 'dns2.tensor.gdynia.pl//IN' denied Jun 10 17:13:53 wojtek named[909]: client 2610:130:101:100:214:22ff:fe12:265#60123: query (cache) 'wojtek.tensor.gdynia.pl/MX/IN' denied Jun 10 17:14:08 wojtek named[909]: client 2a01:170:102f::2#53539: query (cache) 'wojtek.tensor.gdynia.pl//IN' denied Jun 10 17:14:12 wojtek named[909]: client 2001:648:2000:de::220#49152: query (cache) 'wojtek.tensor.gdynia.pl//IN' denied Jun 10 17:14:13 wojtek named[909]: client 2001:6b0:b:2::10#63014: query (cache) 'dns.tensor.gdynia.pl/A/IN' denied Jun 10 17:14:13 wojtek named[909]: client 2001:6b0:b:2::10#63014: query (cache) 'dns.tensor.gdynia.pl//IN' denied Jun 10 17:14:13 wojtek named[909]: client 2001:6b0:b:2::10#63014: query (cache) 'dns2.tensor.gdynia.pl/A/IN' denied Jun 10 17:14:13 wojtek named[909]: client 2001:6b0:b:2::10#63014: query (cache) 'dns2.tensor.gdynia.pl//IN' denied Jun 10 17:14:22 wojtek named[909]: client 2001:470:1f08:251::2#46902: query (cache) 'wojtek.tensor.gdynia.pl//IN' denied Jun 10 17:14:22 wojtek named[909]: client 2001:418:c01::5#53208: query (cache) 'wojtek.tensor.gdynia.pl//IN' denied Jun 10 17:14:32 wojtek named[909]: client 2001:4830:167d:5237::3:1#59882: query (cache) 'wojtek.tensor.gdynia.pl//IN' denied Jun 10 17:14:32 wojtek named[909]: client 2001:4830:167d:5237::3:1#59882: query (cache) 'wojtek.tensor.gdynia.pl/ANY/IN' denied my computer is NOT set up as DNS server for any domain. why they are asking? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: lots of IPv6 DNS requests Was: Re:
Nothing impersonal; just trying to help. I'm a big advocate of getting rid of things you don't need to keep things simple. Sorry that wasn't the answer you were looking for... Camilo Bono Vince Malum Date: Wed, 11 Jun 2008 10:13:47 -0400 From: Jon Radel [EMAIL PROTECTED] Subject: Re: OT: lots of IPv6 DNS requests Was: Re: freebsd-questions Digest, Vol 219, Issue 6 To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Camilo Reyes wrote: The easiest way to deal with this is to disable IPv6 on your kernel. There is a good guide here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html. Simply comment out the 'options INET6' line from your config file. Also, you could give more information on what application is generating those logs. For example, what services are you running? Is this setup as a server? And things of that sort. Disabling things so the log messages stop and you can pretend all the brokenness has magically gone away is indeed the easiest solution sometimes. It's rarely a good one, particularly for the long term. Anyway, the OP actually uses IPv6 on his network, so this is pretty much akin to suggesting that he turn off his computer to keep people from bothering it. The log messages are from his DNS server; he uses it for resolving and some local stuff; the log entries are the result of queries from random machines being rejected; random machines are doing that since at least one of his parent nameservers is handing out the IPv6 address of his server against his wishes; eventually he'll realize this is actually the case; and maybe he'll be able to convince whomever runs the parent nameserver(s) to update the records for his zone. (Just to cover the rest of your questions. :-) --Jon Radel -- next part -- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080611/86e3c1cf/smime-0001.bin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java Dilemma
Unfortunately after updating my portsnap; it did not work. Here is the error I get: $ firefox INTERNAL ERROR on Browser End: SendRequest: Read of ack failed: 0 System error?:: Unknown error: 0 $ firefox INTERNAL ERROR on Browser End: SendRequest: Read of ack failed: 0 System error?:: Unknown error: 0 It's interesting to note that you don't have to download the tzupdater tool from Java (which requires you to create an account with their site). In order to avoid getting that file just edit the Makefile prior to running make. This may be necesarry for java to work, but it gave me the same error with and without that TZ package. Anyway, which firefox version are your running? I'm using firefox 2.0.0.12. --- On Tue, 6/10/08, Manolis Kiagias [EMAIL PROTECTED] wrote: From: Manolis Kiagias [EMAIL PROTECTED] Subject: Re: Java Dilemma To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Tuesday, June 10, 2008, 11:03 AM Camilo Reyes wrote: I am running a FreeBSD 7.0 system and I'm having the hardest time trying to get java to work (I'm sure this has been brought up before - but a google search did not reveal anything). My problem is that I can't find the JDK US DST Timezone Update Tool - 1.3.0 that it mentions on the build (/usr/ports/java/diablo-jre15). I've looked on the Java Sun website, and they don't have the correct version, it seems they have a newer one. Would this still work?? Thanks, Camilo Bono Vince Malum I've installed the diablo-jre15 port two days ago (on the 8th). I downloaded this: tzupdater-1_3_5-2008b.zip And the version of the port is: diablo-jre-1.5.0.07.01_10 Have you used csup/portsnap to update your ports tree? You might be trying to compile an older version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dell wireless
Do a lookup on what pciconf -lv says...then do a search on Google to find the chipset driver. Bono Vince Malum -Camilo I didn't find nothing about this card on web!!! Is there any generic driver? What's the chipset? Maybe Intel? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error
I think your best bet (if you want to use OO) is to use PC-BSD. There is a PBI package already available for it. Just my two cents, Bono Vince Malum -- -Camilo Date: Sun, 15 Jun 2008 11:44:55 + From: O. Hartmann [EMAIL PROTECTED] Subject: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ral0 keeps going UP and DOWN
Hey All, I'm experiencing something rather odd. My wireless adapter keeps dropping the connection at random; it has actually disconnected my box a couple of times today. Are there any bugs associated with this behavior? I did a quick search couldn't find anything. Thnx, Here are my logs: Jun 18 10:00:38 Christi kernel: ral0: link state changed to DOWN Jun 18 10:00:38 Christi kernel: ral0: link state changed to UP Jun 18 10:00:40 Christi dhclient: New IP Address (ral0): 10.0.0.5 Jun 18 10:00:40 Christi dhclient: New IP Address (ral0): 10.0.0.5 Jun 18 10:00:40 Christi dhclient: New Subnet Mask (ral0): 255.255.255.0 Jun 18 10:00:40 Christi dhclient: New Subnet Mask (ral0): 255.255.255.0 Jun 18 10:00:40 Christi dhclient: New Broadcast Address (ral0): 10.0.0.255 Jun 18 10:00:40 Christi dhclient: New Broadcast Address (ral0): 10.0.0.255 Jun 18 10:00:40 Christi dhclient: New Routers (ral0): 10.0.0.1 Jun 18 10:00:40 Christi dhclient: New Routers (ral0): 10.0.0.1 Jun 18 10:01:46 Christi kernel: ral0: link state changed to DOWN ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP ral0: link state changed to DOWN ral0: link state changed to UP Bono Vince Malum -- -Camilo ___ 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
You can use /var/log/messages to check for the existence of an external drive through a series of grep commands. Here is my log output when I insert/remove a USB drive: Jun 22 11:44:49 Christi kernel: umass0: SanDisk Corporation Cruzer Mini, class 0/0, rev 2.00/0.10, addr 2 on uhub4 Jun 22 11:44:49 Christi root: Unknown USB device: vendor 0x0781 product 0x5150 b us uhub4 Jun 22 11:44:49 Christi kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 22 11:44:49 Christi kernel: da0: SanDisk Cruzer Mini 0.1 Removable Direct Access SCSI-2 device Jun 22 11:44:49 Christi kernel: da0: 40.000MB/s transfers Jun 22 11:44:49 Christi kernel: da0: 122MB (250879 512 byte sectors: 64H 32S/T 1 22C) Jun 22 11:44:49 Christi kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/ . Jun 22 11:44:56 Christi kernel: umass0: at uhub4 port 2 (addr 2) disconnected Jun 22 11:44:56 Christi kernel: (da0:umass-sim0:0:0:0): lost device Jun 22 11:44:56 Christi kernel: (da0:umass-sim0:0:0:0): removing device entry Jun 22 11:44:56 Christi kernel: GEOM_LABEL: Label msdosfs/ removed. Jun 22 11:44:56 Christi kernel: umass0: detached I'm sure you can come up with creative ways to write a script that checks for when the disk is detached. Bono Vince Malum -- -Camilo Date: Sat, 21 Jun 2008 21:44:09 + From: Helge Rohde [EMAIL PROTECTED] Subject: shellscript conditional to check for external disk To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii 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? Helge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Opera's javascript time is off
All, for some reason when javascript posts the current system time inside of Opera, it reports it as being off by one hour. For example, when I use gmail chat; the time is off by one hour. Any reason that could be causing this odd behaviour? I've looked around the Opera site and there is nothing mentioned there; it's as if the javascript was using the wrong time zone. Bono Vince Malum -- -Camilo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]