Re: setting the other end's TCP segment size

2008-07-31 Thread perryh
You can edit `/etc/hostname.foo0' in the Sun too, and add something like: 192.168.1.10/24 mtu 640 [getting OT for FreeBSD] Are you sure that works as far back as SunOS 4.1.1? /etc/hostname.le0 currently consists of the single word pluto and it looks as if this causes /etc/rc.boot to

undocumented tar --unlink switch

2008-08-02 Thread perryh
Around line 37 of /usr/src/usr.sbin/pkg_install/add/extract.c there's an invocation of /usr/bin/tar with a --unlink switch, which I don't see mentioned in the tar(1) manpage. Anyone happen to know what this does, or do I need to dig into the code? ___

Re: setting the other end's TCP segment size

2008-08-03 Thread perryh
Is there a simple way for a FreeBSD system to cause its peer to use a transmit segment size of, say, 640 bytes -- so that the peer will never try to send a packet larger than that? I'm trying to get around a network packet-size problem. In case it matters, the other end is

building only part of the world

2008-08-03 Thread perryh
How would I go about building, not the entire world, but only a small part of it? If I just cd to the desired subdirectory and type make -n -- intending to find out what it would try to do -- I get a warning about not having changed the object directory. I suppose I'm supposed to type something

Re: setting the other end's TCP segment size

2008-08-05 Thread perryh
1) create a static ARP entry, this will create an entry to the routing table i.e. arp -S IPADDR MACADDR 2) modify the mtu for that destination i.e. route change IPADDR -mtu MTU Seems to work fine :) One problem with this approach is that a hard-coded MAC address would break if the

Re: FreeBSD, Ubuntu and Win XP on one system

2008-08-11 Thread perryh
I recommend installing FreeBSD first, then Windows and then Ubuntu ... Unless something has changed since the last time I was messing with this sort of thing, one hazard of installing a Linux last is that there may by then be no space left for the /boot partition, which has to be below cylinder

Re: Xerox Phaser 6110 printer

2008-08-11 Thread perryh
Does anybody have a Xerox Phaser 6110 printer working with FreeBSD? I've never had any trouble with my 6120, but I guess the crucial difference is the PostScript support in the 6120. The 6130 just works -- it internally supports lpr/lpd, not even needing CUPS -- but it, too, is PostScript.

Re: Formatting dates to a specific pattern

2008-08-30 Thread perryh
I need to format the current date ... to the pattern m-d- ... date(1) seems to always put leading zeros. # date +%m-%d-%Y | sed 's/^0//g' 8-30-2008 Not quite. That fixes the month, but not the day: $ echo 02-04-2008 | sed 's/^0//g' 2-04-2008 (The g does nothing, because the ^ can

Re: FreeBSD 7.0-RELEASE getting terrible throughput using sk0 adapter

2008-08-31 Thread perryh
Try disabling usb and firewire in BIOS. You may need to have a tech there do it for you. Your box has the sk NIC and usb sharing an irq. The NIC driver is MPSAFE but the usb stack is still under the GIANT lock. Disable usb and the NIC driver should perform better. Alternatively, to avoid

Re: which gray is best for print?

2008-09-06 Thread perryh
So you're saying that the white on my [monster] CRT is not the same as on a future LCD Display? rats:) Not only that, but your monster CRT probably doesn't match a smaller CRT; and an old-ish CRT whose phosphors have aged (and whose focus may have gotten a bit fuzzy) probably doesn't match a

Re: Postfix issue

2008-09-09 Thread perryh
why are you not using your ISP to relay emails, using its mail gateway (which should have a static IP address)? ... I do not like the fact that a number of governments (including most european ones) now have the right to access all emails that pass through an ISP's server. They do not have

Re: rss-glx screen saver compilation fails?

2008-09-09 Thread perryh
spirographx.o(.text+0x30f): In function `getAll': : undefined reference to `sincosf' Per Google, it's a gnu-ism: http://linux.die.net/man/3/sincosf void sincosf(float x, float *sin, float *cos); Several applications need sine and cosine of the same angle x. This function computes

Re: Capturing tar output

2008-09-11 Thread perryh
redirect stderr with 2 operator Using the following command, # /usr/local/gtar/bin/tar -cvf - /home/hallja 2 /var/log/test.txt | /usr/local/bin/gpg --encrypt recipient | dd of=/dev/nsa0 obs=128k I receive an error meesage stating, Ambiguous output redirect. Wojtek correctly pointed out

Re: server is crashing constantly

2008-09-13 Thread perryh
Jonathan Horne [EMAIL PROTECTED] wrote: I have a new web server [which] is crashing 2-3 times a day ... That is what im getting in the /var/log/messages. Sep 13 20:09:25 rps savecore: reboot after panic: page fault Sep 13 20:09:25 rps savecore: writing core to vmcore.0 ... Any ideas or

Re: Realtek 8111C?

2008-09-20 Thread perryh
... I thought I'd try copying the driver from 7.1. The module (if_re.ko) appears to load successfully at boot time, however the NIC is still not shown in dmesg and unavailable as re0. I admit I don't know if this should even work (7.1-compiled module on 6.3 kernel) ... That would indeed not

Re: My unqualified host name

2008-09-23 Thread perryh
nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for retry ... sendmail expects your machine to have working DNS and for the machine to have a valid FQDN. Either set that up, or add sendmail_enable=NONE to /etc/rc.conf to disable sendmail ... There is another

Re: My unqualified host name

2008-09-25 Thread perryh
nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for retry ... sendmail expects your machine to have working DNS and for the machine to have a valid FQDN. Either set that up, or add sendmail_enable=NONE to /etc/rc.conf to disable sendmail ...

Re: My unqualified host name

2008-09-26 Thread perryh
If you look for My unqualified host name unknown; sleeping for retry you will get a lot of possible answers; some suggesting to add your unqualified host name in /etc/hosts. That line is already in /etc/hosts, both with and without a trailing period. I still get the ~3 messages about a minute

cc-mail file format

2008-10-13 Thread perryh
Is anyone aware of a program that can read cc-mail mailboxes, similar to readpst from mail/libpst for Outlook? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: non-ATA66 cable?

2006-10-23 Thread perryh
As for the cable on backwards, its keyed with a tab on the outside perimeter and inside with a blocked hole or two. Should be very hard to install incorrectly ... Backwards = drive end to motherboard, motherboard end to drive. Very easy to do if using only one drive, and the keying may not

Re: lpt0 printer slows system response significantly

2006-11-01 Thread perryh
PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 18 root1 -60 -179 0K 8K *Giant 15:09 77.05% irq7: lpt0 11 root1 171 52 0K 8K RUN 48.0H 11.13% idle The interrupt service for the parallel port is using over 3/4 of the CPU, and half

Re: lpt0 printer slows system response significantly

2006-11-01 Thread perryh
* Somehow tell the printer not to receive so quickly. how can I do this? I have no idea how to do it, or if it is even possible, which is why I said somehow. You could check the printer's manual to see if it has such a setting. ___

Re: Linux extended partition after FreeBSD slice

2006-11-05 Thread perryh
I want to install Linux in an extended partition after my FreeBSD slice so that I won't loose unecessary primary partitions to Linux because I want to install other OS:es too. Are there any problens with this do you think? This, I think rather old article, recommends to install FreeBSD

Re: Best laptop for Freebsd

2006-11-16 Thread perryh
I'd suggest you do NOT buy a Sony VAIO ... - I still have unresolved problems with ACPI ... - Battery does not hold what it says: I have never got more than 1:30 out of it - and they claim more than 3 hours - (I assume with power off) These are very likely related. It is quite

Re: Knowing if someone really stole someone else's code

2006-11-24 Thread perryh
Christian Walther [EMAIL PROTECTED] wrote: Sorry if I sound rude, but did you ever read the BSD license? http://www.freebsd.org/copyright/freebsd-license.html It says in the first sentence: Redistribution and use in source and binary forms, with or without modification, are permitted

Re: Mounting Freebsd partition on Linux

2006-11-26 Thread perryh
Well..also, how about mounting jfs/ext3/xfs/reiserfs partitions on FreeBSD? For ext3 and reiser, ports/sysutils/e2fsprogs and ports/sysutils/progsreiserfs. For xfs, I am guessing that one or both of ports/sysutils/xfsprogs and ports/sysutils/xfsm may be applicable. The only thing I find

Re: Lacky Doc @ 5.6.2 Using XDM

2006-11-26 Thread perryh
You have just about any right in single user mode. Type chmod 644 /etc/ttys If you edit the file using vi and it isn't writable you can force to write to it by typing :w! Not if his FS is mounted read-only. Sure, he can remount it read-write, if he knows how :) (Someone else already posted

Re: How I get tomcat5.5 admin package

2006-12-02 Thread perryh
B H [EMAIL PROTECTED] wrote: LimChang Guen skrev: My browser show the message : Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. How can I fix it? Download and install the admin package to use it. Just

equivalent to date -a

2006-12-03 Thread perryh
Does FreeBSD have an equivalent to the Solaris date -a command, i.e. a command-level interface to adjtime(2)? I didn't see any mention of a -a switch in the manpages for date(1) or gdate(1), nor anything applicable in apropos, and a grep for adjtime in likely-seeming parts of /usr/src didn't turn

extracting strings from terminfo

2006-12-07 Thread perryh
I have a C program which currently does not use any terminal control facilities. I don't want to make it into a full-screen application, or anything close, but I would like to extract the bold and sgr0 terminfo strings (or the md and me termcap strings, if on a system too ancient to have

Re: Example network protocol implementation

2006-12-09 Thread perryh
Vishal Patil [EMAIL PROTECTED] wrote: Could someone point me to an example that shows a SIMPLE network protocol implemented over TCP/IP inside the FreeBSD kernel. I think I could look at the NFS client driver but is there an example simpler than that. NFS normally runs over UDP, not TCP.

Re: How can I fix Cannot find file system superblock problem?

2006-12-09 Thread perryh
FK [EMAIL PROTECTED] wrote: If alternatives are all copies of the master, they must have the same contents. I checked and found they are equal. # dd if=/dev/da0s2a skip=160 bs=512 count=16 of=sb1 16+0 records in 16+0 records out 8192 bytes transferred in 0.013373 secs (612571 bytes/sec)

Re: Search Replace Issue

2006-12-24 Thread perryh
From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the lines. ... cat file.html | sed -e s|http://www.domain.com||g file.tmp.html

Re: Is there reference manual for sh?

2006-12-30 Thread perryh
I need any online complete manual on sh, not a brief as it is man sh. The last one doesn't describe many features both interactive (command line editing, using history interactively, and many others) and scripting (for example, conditional expressions). info bash might be a reasonably good

Re: how to mount an already freebsd paritioned external usb drive onto a new freebsd install

2006-12-30 Thread perryh
I was running FreebBSD 5.x until a few days ago at home on a little shuttle cube server with a celeron processor when my hard drive appeared to develop multiple problems and finally died. I had a western digital external usb hard drive attached to the server that I used for daily backups ...

Re: what is operator group for?

2006-12-31 Thread perryh
can anyone tell me what the operator group is for, or docs where I can read about it? I see that /sbin/shutdown and /sbin/mk_snap_ffs are both executable by members and various things in /dev/ are mountable by them. My understanding is that group operator is intended for those who deal with

Re: Easier way to install on 3ware 9550 card?

2007-01-03 Thread perryh
I have a new system with NO FLOPPY CONTROLLER and a 3ware 9550 card. It's a 1u system -- sticking extra things into PCI slots as a workaround is likely to be impossible. Any possibility of using a USB floppy drive? 3) Adding the kldload command to the emergency holographic shell (I was

Re: obtaining kernel.debug

2007-01-06 Thread perryh
I'm trying to debug some panics on my system, and the section in the handbook that goes over kernel debugging points to /usr/obj/usr/src/sys/KERNEL as the location of kernel.debug. But I don't have this file there. I only have 'kernel'. Just in case this was not obvious, KERNEL there is

Re: obtaining kernel.debug

2007-01-06 Thread perryh
Yours might be in GENERIC, MYKERNEL, etc. -- the same place where you built the currently-running kernel. If you're running the original CD-installed kernel, I suppose the corresponding place would be GENERIC (but I don't know offhand whether the standard install includes

Re: Connecting to a USB serial port

2007-01-07 Thread perryh
I have a Keyspan USB serial port on my FreeBSD 6.1 box and trying to connect from a Linux box to the machine. I'm using minicom and not sure of the settings that should be used. I see the following in dmesg... sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0

Vivitar USB camera support

2007-01-07 Thread perryh
Does anyone happen to know where I would find a how-to for downloading and displaying images from a Vivitar ViviCam 3825? I see several digital-camera utilities of one sort or another in the ports, but none whose index entry mentions Vivitar. ___

Re: FreeBSD File System, please help

2007-01-08 Thread perryh
2. How to see that how many Users are created on a FreeBSD System.. meaning how to get All Users/Groups list on a FreeBSD Server? The information is in /etc/passwd and /etc/group. You can get a count with the wc command. Such a report will be incomplete if the system in

Re: FreeBSD File System, please help

2007-01-09 Thread perryh
Kirk Strauser [EMAIL PROTECTED] wrote: On Monday 08 January 2007 12:04 pm, [EMAIL PROTECTED] wrote: Such a report will be incomplete if the system in question is an NIS client. For starters, see yp(8). Would getent passwd and getent group be more definitive? No idea. There is no

Re: libkrb5.so.8 - missing

2007-01-09 Thread perryh
Vizion [EMAIL PROTECTED] wrote: Can someone please tell me what package installs libkrb5.so.8 for FREEBSD-6.1-RELEASE #0? On my 6.1 system, /usr/ports/INDEX contains an entry for krb5-1.5_1 but my /usr/ports/security/krb5/pkg-plist lists lib/libkrb5.so.3 rather than libkrb5.so.8. To make

Re: is THIS why the 6.2 release seems stalled ?

2007-01-10 Thread perryh
Nikolas Britton [EMAIL PROTECTED] wrote: Maybe core needs to make it easier to direct are funds to the sub-projects of are choice and still qualify it as a deductible expense. For accounting/tax purposes, aren't salary and benefits just as deductible as contributions? Hire someone qualified

Re: is THIS why the 6.2 release seems stalled ?

2007-01-11 Thread perryh
Jerry McAllister [EMAIL PROTECTED] wrote: On Tue, Jan 09, 2007 at 10:59:20PM -0800, Jeff Mohler wrote: Not all of us can program..but let me ask this question. Linux is all volunteer, how did it get so far ahead? It isn't. People in the know like FreeBSD as a server which is where it

Re: perl substitution question

2007-01-13 Thread perryh
cat k | tr \200 \ | tr \235 \ k.new Or, skipping the unnecessary cat and invoking tr only once tr \200\235 \\ k k.new ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

md5sum is missing, but not entirely

2007-01-16 Thread perryh
Both the executable and the manpage for md5sum seem to be missing from this 6.1-RELEASE system, making it difficult to check the downloaded 6.2-RELEASE and FreeSBIE ISOs. Isn't md5sum supposed to be part of the base? Meanwhile, apropos md5 yields this line, among others gmd5sum(1), md5sum(1)

Re: List replies

2008-03-23 Thread perryh
There is a touching concern for newbies in all this, which is out of step with the somewhat edgy aspect of FreeBSD that most of you seem to embrace in other connections. And the bottom line is that most newbies end up elsewhere. If making FreeBSD more popular is a priority, there is long

Re: Mac osX drivers

2008-03-24 Thread perryh
I know I keep asking about drivers, but what about Mac drivers? I understand that Mac osX is based fairly well on BSD, so would the drivers be portable? Last I heard, MacOs X userland was based on FreeBSD but the MacOS X kernel was Mach. The part of a driver that deals with the hardware might

pkg_add goofiness in 7.0

2008-03-30 Thread perryh
The first time I tried to add linuxdoc-1.1_1.tbz to a new-from-CD 7.0 installation, it complained about a missing dependency that was on the other CD. OK, I switched CDs and installed that, then switched back and retried linuxdoc-1.1_1.tbz, and it gave me some sort of error about an unbalanced

Re: pkg_add goofiness in 7.0

2008-03-30 Thread perryh
[trying to install linuxdoc-1.1_1.tbz] it gave me some sort of error about an unbalanced add operation. (I didn't try to copy down all the details, figuring instead to retry with a script(1) active so as to capture them.) Upon that retry, it now tells me that the package is already

Re: pkg_add goofiness in 7.0

2008-03-30 Thread perryh
What you showed does not indicate a failure. If you are saying that the package wasn't actually installed completely, then pkg_delete it and retry. I am not saying that the package was installed incompletely, incorrectly, or something else because I don't know which of those applies. *The

Re: pkg_add goofiness in 7.0

2008-03-30 Thread perryh
I believe this is the same as the error message I saw originally (when I had not specified -v, so it wasn't buried among a pile of other stuff): xmlcatmgr: unbalanced arguments for `add' action # pkg_add -Kv linuxdoc* Requested space: 36624 bytes, free space: 774946816 bytes in

Re: pkg_add goofiness in 7.0

2008-03-31 Thread perryh
... extract: execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' xmlcatmgr: unbalanced arguments for `add' action pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed ... That looks

Re: Adobe Flash Player Petition

2008-04-10 Thread perryh
Where do such articles go for FreeBSD? ... I can make a website on my server for it, but it seems to be a kind of overkill, for just such installing sequence.. If you have things working for Flash 9, enough people /will/ be interested this is not overkill. My suggestion:

Re: wine: notepad OK, others not

2008-04-19 Thread perryh
I have installed wine-0.9.20 from ports, and there's a Win98 FAT32 slice mounted on /windoze deletia How do I fix this? I would start by upgrading and re-installing wine. You have 0.9.20; the current version is 0.9.55 and I believe there have been substantial

Re: wine: notepad OK, others not

2008-04-21 Thread perryh
... If you want to run applications under Wine either install them under Wine or (with simple applications) copy them over from a Windows install into ~/.wine/drive_c. And specifically I'd populate ~/.wine/drive_c/windows/fonts from a real windows installation. Which raises the

Re: wine: notepad OK, others not

2008-04-23 Thread perryh
that it installs from floppies, rather than from CD :) and I've set it up in .wine/dosdevices according to the manpage: $ ls -la .wine/dosdevices total 4 drwxr-xr-x 2 perryh staff 512 Apr 21 00:17 . drwxr-xr-x 4 perryh staff 512 Apr 22 21:07 .. lrwxr-xr-x 1 perryh staff8 Apr 21 00:17

Re: wine: notepad OK, others not

2008-04-23 Thread perryh
$ ls -la .wine/dosdevices total 4 drwxr-xr-x 2 perryh staff 512 Apr 21 00:17 . drwxr-xr-x 4 perryh staff 512 Apr 22 21:07 .. lrwxr-xr-x 1 perryh staff8 Apr 21 00:17 a:: - /dev/fd0 Is the second colon intentional Yes! That is exactly what the manpage

Re: wine: notepad OK, others not

2008-04-26 Thread perryh
It's really easier to try to install an app under Wine ... With, it seems, at least two exceptions: * Some apps -- such as Wordpad and Write -- are packaged and installed with Windows, rather than on separate media. Are there instructions somewhere for installing such an app under wine?

Re: wine: notepad OK, others not

2008-04-29 Thread perryh
Wine has its own simple version of Wordpad though. Just run wine wordpad. This version has its own notepad, but it doesn't appear to have wordpad. (There's no wordpad.exe that I can find, but there are two identical copies of notepad.exe -- one in .../windows and the other in

Re: wine: notepad OK, others not

2008-05-01 Thread perryh
You have to mount the floppy and then link a: to the mount point. So if you mount it under /mnt you'd need this: mount -t msdosfs /dev/fd0 /mnt ln -s /mnt ~/.wine/dosdevices/a: That got only a little bit farther. It did find the setup program, and the option dialogs seemed to work properly,

wine: app won't install from floppy

2008-05-03 Thread perryh
What is the correct way of installing something into wine from floppy? The obvious approach: $ wine 'a:\setup.exe' did not work with a (fairly old version of) Visio: the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box:

Re: wine: notepad OK, others not

2008-05-04 Thread perryh
... very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although

Re: wine: notepad OK, others not

2008-05-04 Thread perryh
Wine has its own simple version of Wordpad though. Just run wine wordpad. This version has its own notepad, but it doesn't appear to have wordpad. (There's no wordpad.exe that I can find, but there are two identical copies of notepad.exe -- one in .../windows and the other in

Re: time drift

2008-05-15 Thread perryh
FreeBSD 6.2 running on X86 hardware (FSC) shows a remarkable time drift running ntpdate every half hour shows that the system looses about 10-14 sec each time. 15 May 10:06:48 ntpdate[7200]: step time ... offset -13.799602 sec 15 May 10:36:48 ntpdate[7515]: step time ... offset -12.813941

Re: Belkin F5D9050 ver 4000

2008-05-15 Thread perryh
I checked the FreeBSD 7.0-RELEASE Hardware Notes before I bought this USB Ethernet device. It should be supported by the rum driver, but it gets picked up by ugen instead. The Hardware Notes mentions version 3 and the box says ver 4000, but I think it's probably actually ver 4. ... What am

Re: Belkin F5D9050 ver 4000

2008-05-15 Thread perryh
Doing a descriptor dump, and posting the results to freebsd-usb@, might find someone who knows how to get that particular device to work. Ok, I'll bite. How do you do a descriptor dump? One way is to use sysutils/udesc_dump, from ports, as recommended here:

non-RAID SATA

2008-05-25 Thread perryh
I am looking for a cost-effective way to add a SATA drive to an existing 7.0 system whose on-board controller is PATA, and am not getting very far at all in identifying an inexpensive controller which would be expected to work well. (I'd prefer PCI, since the USB in this box is probably 1.0 and

Re: Duplex printer advice

2008-06-01 Thread perryh
my own requirements list includes (color duplex printer scanner). I don't need it to be a laser, but I do need both color, multifunc, and duplex printing ... I begin to wonder if I could find one with the same specs ESCEPTING it was the cheaper technology of inkjet. ... please don't spend

Re: FreeBSD and User Security

2008-06-12 Thread perryh
How do you know that the bios has not been reflashed by a virus, trojan, or rootkit? For that matter, how do you know that the *original* bios was free of interesting non-essentials? It's been a few years since bios were delivered in socketed ROMs/EPROMs (readable by a standalone device,

Re: FreeBSD and User Security

2008-06-12 Thread perryh
It is my understanding that since 1995 all computers must have a hardware back door that permits undetectable access by the government to the computer. This capability can be implemented using System Monitor(Maintenance) Mode which is built into all x86 computers now. It would

Re: sendmail's outgoing IPs

2008-06-15 Thread perryh
i have 3 different links to ISP all are ADSL's so outgoing bandwidth is low, i would like to spread the load generated by outgoing mails. Pardon my lack of imagination, but how could anyone -- other than a spammer -- be generating enough outbound email traffic to *need* to load-balance it, and

Re: Windows Unix volunteers

2008-06-27 Thread perryh
... the changing of wallpaper is VERY window manager centric ... xsetroot(1) would not work for all? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL

Re: /etc/rc.d/named dilemma

2009-08-23 Thread perryh
Nerius Landys nlan...@gmail.com wrote: I am still bambuzzled by the network taking 30 seconds to come up. One thing I've run into recently is an Ethernet switch that needs to resolve spanning tree after a port reset. The physical link comes back up quickly, but it seems to take about 30

Re: hard disk failure - now what?

2009-08-25 Thread perryh
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Kelly Martin kellymar...@gmail.com writes: I just experienced a hard drive failure on one of my FreeBSD 7.2 production servers with no backup! ... First, try copying the entire disk, *without* mounting it. Yep. Use dd(1) to get

Re: SUID permission on Bash script

2009-08-29 Thread perryh
Michael David Crawford m...@prgmr.com wrote: It's not that setuid shell scripts are really more inherently insecure than programs written in C. Actually, absent some careful cooperation between the kernel and the interpreter to prevent a race condition that can cause the interpreter to run

Re: SUID permission on Bash script

2009-08-29 Thread perryh
RW rwmailli...@googlemail.com wrote: On Sat, 29 Aug 2009 00:06:29 -0700 per...@pluto.rain.com wrote: Actually, absent some careful cooperation between the kernel and the interpreter to prevent a race condition ... isn't that the same issue that Matthew Seaman was saying was fixed years

Re: SUID permission on Bash script

2009-08-30 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: It would do no good for the kernel to hand the interpreter an open descriptor if the interpreter did not somehow know to read the script from that open descriptor instead of opening the script file by name. Errr -- no. That's what

Re: Is there such thing as a 'soft checksum' tool?

2009-09-08 Thread perryh
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Monday 07 September 2009 05:09:53 Michael David Crawford wrote: M I'm looking for a pseudo-checksum tool for use with M cataloging images. One way you could approach it might be to use a blur filter ... Small differences

Re: rebinding keys to functions

2009-09-15 Thread perryh
Roland Smith rsm...@xs4all.nl wrote: Writing a driver to detect if headphones are connected sounds much more complicated to me than connecting a couple of switches! I mean, you'd have to measure something like the impedance of the jack. Surely that is more expensive than a simple switch? Or

Re: reporter on deadline seeks comment about reported security bug in FreeBSD

2009-09-16 Thread perryh
Jerry ges...@yahoo.com wrote: Waiting until someone is harmed is tantamount to being an accomplice to the act. And providing details of a currently-undefendable vulnerability to a black hat who did not previously know about it, thereby enabling the black hat to perpetrate harm that would

Re: X - after some time can't lauch new windows, Error: Can't open display

2009-09-24 Thread perryh
Anton Shterenlikht me...@bristol.ac.uk wrote: After some time I cannot open any new windows in X, I get No protocol specified Error: Can't open display: :0.0 This is on i386 9.0-current with ... xorg-7.4_2, xorg-server-1.6.1,1, xf86-video-intel-2.7.1 ... After logging into X

Re: / almost out of space just after installation

2009-10-08 Thread perryh
Oliver Fromme o...@lurza.secnetix.de wrote: Chris Stankevitz chrisstankev...@yahoo.com wrote: ... Q1: Is 26M free space on / after installing FreeBSD normal? It depends on the FreeBSD version, and whether you installed the kernel with debug symbols. 430 MB space used in the root file

Re: WD External Disc Drive

2009-10-27 Thread perryh
... If you are refering to a kind of hard disk, use disk with k. Think like diskette. If you are refering to optical media, use disc with c. Think like CD = compact disc. An arbitrary convention adopted by you and a few other people does not invalidate the dictionary spellings

Re: stuff and even more problems.... [ to mostly the hard core ]

2009-11-08 Thread perryh
Gary Kline kl...@thought.org wrote: the keybd isn't the problem ... problem is that on my KVM switch are only ps2 plugs. on the back of the dell are USB jacks. i need something to convert from the PS2 plug to fit into the USB Such things do exist:

Re: Problems with FreeBSD assembly

2009-11-12 Thread perryh
Mihai Don??u mihai.do...@gmail.com wrote: I don't think the kernel is the one that initializes the 0, 1 and 2 file descriptors (stdin, stdout and stderr). Correct so far. I think you have to open them yourself ... No, the shell does it. That's how it is able to set up pipes and redirection.

Re: BTX Loader crashes -- Help wanted

2009-11-21 Thread perryh
Ronald F. Guilmette r...@tristatelogic.com wrote: If one can't even install from the distribution CDs/DVDs on perfectly good hardware ... it's not like the whole SATA interface standard is exactly ``new'' or anything anymore.) ... Should I stick my neck out and label this PR either

Re: Sorting a device list

2009-11-29 Thread perryh
Oliver Mahmoudi olivermahmo...@gmail.com wrote: you can try to delete the /dev/ad10 entry with sed and then just append it to the end manually using the printf(1) utility like so: # ls /dev/ad* | sed s/\/dev\/ad10// | grep /dev/ad printf /dev/ad10\n Or strip the non-numerics from the

Re: editing a binary file

2009-12-18 Thread perryh
Greg Larkin glar...@freebsd.org wrote: ... truncate -4 myfile should get rid of the last four bytes. Maybe there's a similar efficient way to truncate the start of a file. This should do it: dd if=oldfile of=newfile bs=1 skip=4 Or, perhaps marginally more efficient: dd if=oldfile

Re: X is broken after upgrade

2010-05-02 Thread perryh
Jamie Griffin j...@fantomatic.co.uk wrote: When it crashes, i've noticed another error that shows on the console: /libexec/ld-elf.so.1: /usr/local/lib/xorg/modules/drivers/intel_drv.so: Undefinded symbol xf86LoaderReqSymLists ^^ ... not sure what that means exactly, any ideas?

Re: Strange diskspace loss

2010-05-04 Thread perryh
antoniok@gmail.com wrote: And the fsck: # fsck ... ** /dev/aacdu0s1e (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=23587 OWNER=root MODE=100644

Re: Small computer to run a GUI?

2010-05-08 Thread perryh
Robert Huff roberth...@rcn.com wrote: I seem to have lost the bookmark, but within the last 18 months or so I saw an article for something that might work here. It ran Linux, so hopefully it would run *BSD. It had a 1 ghz processor, and 512 mbytes of RAM. The package was a

Re: Very simple file sharing between FreeBSD server and windows client ?

2010-05-11 Thread perryh
Chip Camden sterl...@camdensoftware.com wrote: Does anyone have a recommendation for NAS that works well for both FreeBSD and Windows clients? IME, among commercial offerings, virtually all support SMB (via Samba) but only the high-end (large relatively costly) ones support NFS also. (A

Re: Help With pptpclient Setup

2010-05-20 Thread perryh
Drew Tomlinson d...@mykitchentable.net wrote: I'm using FBSD 8.0-STABLE and trying to connect to a Cisco VPN at work. Windows PCs connect with the basic Microsoft dial-up networking client. Thus I assume pptpclient is my answer for FBSD. I would think GRE would be the answer

Re: 'Serious' crypto?

2010-05-29 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: ... I don't think you could get support cover with a 4 hour on-site response from Soekris... OTOH, given the price difference, one could afford to keep a whole spare system on hand. ___

Re: text editor

2010-05-30 Thread perryh
Fbsd1 fb...@a1poweruser.com wrote: Been using ee and been happy. Now I have need for an editor with block commands. ... Is there any editors with a function like this? Either vi or emacs can do this general sort of thing. ___

Re: text editor

2010-06-02 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Young whippersnappers. *Eight* was the good old days, back before the web was invented. Dept of (in)famous last words: There is no reason for anyone to have a computer in their home. -- Gordon Bell, founder of DEC No one will ever

Re: text editor

2010-06-03 Thread perryh
mer...@stonehenge.com (Randal L. Schwartz) wrote: Robert Anybody else familiar with TECO? *EVIL* grin I wrote a screen-based editor in it, having heard of Emacs, wanting to do the same thing. Didn't Emacs start out as a reimplementation of TECO in Lisp?

<    1   2   3   4   5   6   >