Re: 1024x768 Resolution in console?

2004-04-24 Thread Lewis Thompson
On Fri, Apr 23, 2004 at 07:46:05PM -0500, Eric Crist wrote: This is for a Compaq Presario 2100 (laptop). My beef is that my console only takes up a small section of the screen (although X is full screen). I know some laptops have a 'stretch' capability, but, alas, I was a cheap bastard,

Re: Which version of freebsd..

2004-04-25 Thread Lewis Thompson
On Sun, Apr 25, 2004 at 12:54:56AM +0200, lists wrote: Currently were going to reinstall all servers we have from redhat 9 to freebsd because redhat 9 is EOL... But after reading a few mails here that 4.9 is most likely not supported for a long time.. what version should we take then? Looks

Re: firewall settings and dhcpd

2004-04-25 Thread Lewis Thompson
On Sun, Apr 25, 2004 at 01:33:22PM +0200, Christoph Kukulies wrote: I'm getting this in my log/messages: Apr 25 13:25:42 mybox dhcpd: send_packet: Permission denied Could it be that a certain firewall setting or something missing would be causing this? Possibly. It might be worth

Re: Upgrading a port....

2004-04-25 Thread Lewis Thompson
On Sun, Apr 25, 2004 at 01:03:52PM -0400, Ralph M. Los wrote: I currently have Samba 2.2.8a running. I'd like to get up to the 3.0.x.x version, as I've heard there are significant advances in that version. Can someone tell me if I do a 'make install' from the /usr/ports/net/samba-devel

Re: 3ware Escalade 7506-4LP in PCI-X 66MHz slot?

2004-06-16 Thread Lewis Thompson
On Wed, Jun 16, 2004 at 01:46:23PM +0200, freebsd_daemon wrote: I am planing to build a small DB-server and want to use a hot-swap capable Raid 5 array of IDE disks for the data. I am going to use FreeBSD 4.10R. I would like to use a 3ware Escalade 7506-4LP controller which is suppost to

Re: Firefox 0.9 Port

2004-06-17 Thread Lewis Thompson
On Thu, Jun 17, 2004 at 12:36:09PM -0500, Jamie Novak wrote: The install was successful, but as soon as I try to run the program, all I get is the same message repeating over and over again in my xterm: *** loading the extensions datasource The browser never actually starts and that

Python application in rc.d.

2004-06-20 Thread Lewis Thompson
Hi, I'm trying to create a port for a Python application that I want to start from local/etc/rc.d. The command is this: /usr/bin/su freevo -c /usr/local/bin/freevo -fs start /dev/null 21 Unfortunately when I boot up I get a message about Python not being configured/available at this time.

Re: Python application in rc.d.

2004-06-20 Thread Lewis Thompson
On Sun, Jun 20, 2004 at 03:01:54PM -0400, Chuck Swiger wrote: Lewis Thompson wrote: I'm trying to create a port for a Python application that I want to start from local/etc/rc.d. The command is this: /usr/bin/su freevo -c /usr/local/bin/freevo -fs start /dev/null 21 Unfortunately when

Re: Python application in rc.d.

2004-06-20 Thread Lewis Thompson
On Sun, Jun 20, 2004 at 03:56:43PM -0400, Chuck Swiger wrote: Lewis Thompson wrote: [ ... ] Does the script set $PATH to include the location where python is? If you don't list /usr/local/bin explicitly, this may be the problem... No, PATH doesn't get set but if I run it as /usr/local/bin

Repeated polling of CD/DVD-ROM.

2004-06-21 Thread Lewis Thompson
Hi, I have written some code that does some rather nasty stuff to determine whether or not there is media in the drive. It is basically this: open('/dev/dvd', 'rb') read(1) at which point if I get an exception (in Python) I know there is no media (or it is blank). If it throws no exception

ezm3 compilation problem.

2003-09-12 Thread Lewis Thompson
Hi, I'm trying to compile ezm3 (for cvsup) and I get the following error: new source - compiling ../src/float/IEEE/LongReal.i3 *** *** runtime error: ***Segmentation violation - possible attempt to dereference NIL *** *** runtime error: ***Subscript out of range ***file

Disk problem at install (Signal 11).

2003-09-13 Thread Lewis Thompson
Hi, I've just come to install FreeBSD 5.1-RELEASE on a new machine. It's got four disks in it, but right now I'm only working with one (ad0), which is a 30GB disk that's been lying about for a bit. I'm getting: DEBUG: Scanning disk ad0 for swap partitions ad0: hard error cmd=read fsbn 0

Re: nvidia kernel module ate my modem (!)

2003-09-13 Thread Lewis Thompson
Okay, most importantly. Hah hah! I love the topic. On Sat, Sep 13, 2003 at 10:28:04AM +0100, Richard Dymond wrote: Chapter 2: Investigation. Had a fiddle with /etc/rc.conf and /boot/loader.conf, and discovered that if I refrain from loading the nvidia module at boot time, ppp works fine and

Vinum for root.

2003-09-13 Thread Lewis Thompson
Hi, I'm looking to setup my new FreeBSD 5.1 server with a mirrored vinum volume. I've read through the necessary handbook entries but it doesn't seem to answer my question: I'm wanting to do this at install time -- is this possible? The ``Using Vinum for the Root Filesystem'' chapter doesn't

Re: Disk problem at install (Signal 11).

2003-09-13 Thread Lewis Thompson
On Sat, Sep 13, 2003 at 06:01:37PM -0700, Kris Kennaway wrote: On Sun, Sep 14, 2003 at 12:49:22AM +0100, Lewis Thompson wrote: DEBUG: Scanning disk ad0 for swap partitions ad0: hard error cmd=read fsbn 0 status=51 error=04 DEBUG: Signal 11 caught! That's bad! The disk is failing..pitch

dd to duplicate a disk.

2003-09-14 Thread Lewis Thompson
Hi, I'm trying to setup a vinum mirrored root fs. I've not got very far (although I have some excellent help once I get past this stage ;) -- I'm trying to duplicate my disk. Right now I have /dev/ad0s1(n) and I'd like an exactly copy of that slice on /dev/ad2s1. I've been trying to use dd

Re: OpenOffice

2003-09-14 Thread Lewis Thompson
On Sun, Sep 14, 2003 at 02:06:38PM -0400, Todd Stephens wrote: I am installing this from ports. Considering everything else that is getting installed along with it (gcc 3.2.3 among others), how long should I expect this to take? Anyone have any experience with this? Running a K6-2 500Mhz

Odd vmware / vnconfig (?) configuration.

2003-09-14 Thread Lewis Thompson
Hi, This is quite a complicated setup, I think. I've got a single 80GB disk in my machine, which currently has Windows XP and FreeBSD installed. Since I only use WinXP from time-to-time I would like to be able to boot it from VMware3 WS (which is installed and working). FreeBSD is

vinum root fs.

2003-09-15 Thread Lewis Thompson
Hi, I've been trying to setup vinum as my root fs for a couple of days (with some excellent help :). However, I want to have /, swap, /usr and /var mirrored. As I understand it I'm supposed to use something like this (/ shown only): drive vinumdrive0 device /dev/ad0s1h drive vinumdrive0

vinum root fs.

2003-09-15 Thread Lewis Thompson
[ apologies if this is a duplicate -- I think something went wrong sending ] Hi, I've been trying to setup vinum as my root fs for a couple of days (with some excellent help :). However, I want to have /, swap, /usr and /var mirrored. As I understand it I'm supposed to use something like

``Invalid partition table'' with two FreeBSD slices.

2003-09-16 Thread Lewis Thompson
Hi, I've tried to add a second slice to my disk and now the system won't boot. I get ``Invalid partition table'' just after the POST. I can't quite understand why, because before I did this I had ad0s1, which booted fine. After that there was lots of free space. I added ad0s2 from a

Large vinum volume -- only showing as the size of one subdisk.

2003-09-17 Thread Lewis Thompson
Hi, I'm trying to set up a large concatenated vinum volume. I want a volume called ``data'' that is ~200GB in size. Each subdisk is ~100GB (the same size). However, when I mount it it only shows up as ~100GB. Here is vinum list (edited to show the relevant details): purple# vinum list 2

Re: Large vinum volume -- only showing as the size of one subdisk.

2003-09-17 Thread Lewis Thompson
On Thu, Sep 18, 2003 at 06:50:58AM +0930, Greg 'groggy' Lehey wrote: On Wednesday, 17 September 2003 at 18:53:55 +0100, Lewis Thompson wrote: I'm hoping I've gotten the config right. Also, I tried (while the volume was not mounted) newfs /dev/vinum/data and I received: purple# newfs

unionfs and permissions.

2003-09-18 Thread Lewis Thompson
Hi, I'm struggling to setup a ``base'' jail that I can base other jails on. I did some reading about unionfs (the man page was quite helpful, especially the bit about the slippery dog ;) and decided this was for me. I am aware it's not supported (it's already panicked my machine twice (or more)

weird natd issue (maybe reinjection trouble?)

2003-09-30 Thread Lewis Thompson
# please cc me! I've just got to university and can't get all my mail # right now. It'd really help a lot. Thanks! Hi, I'm having trouble with natd on a dual-homed host. I've done my best to troubleshoot the problem but I'm no networking expert and I'm hoping it's something I've overlooked.

Crash under disk writes (vinum?)

2003-10-09 Thread Lewis Thompson
Hi, I'm running 5.1-RELEASE (latest patch version) on a machine with a couple of disks set up in a concatenated vinum-type config. Periodically if I do some ``heavy'' writes to the concatenated disk it causes the system to panic and reboot. I'm not sure it's because of vinum, but my guess is

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote: Content-Description: signed data I've got a 120GB drive in that system, so for me I don't really have a problem with space. Yeah, same here, but the way I figure it is it's surely better to conserve the disk space if at all possible

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 09:17:12PM -0300, Marc G. Fournier wrote: On Fri, 10 Oct 2003, Lewis Thompson wrote: Anyway, nullfs is great for remounting parts of the file system. Yeah, right now I'm using NFS mounts, which is a bit ugly, to say the least. Since I had troubles with union

Re: Jail FS questions.

2003-10-09 Thread Lewis Thompson
On Thu, Oct 09, 2003 at 09:31:05PM -0300, Marc G. Fournier wrote: On Fri, 10 Oct 2003, Lewis Thompson wrote: Just causing system reboots. Randomly. Also, for some reason it doesn't seem to propogate permissions, which is annoying for using them as the bases for jails. system reboots

burncd ``only wrote -1...'' coasting discs.

2003-10-19 Thread Lewis Thompson
Hi, I'm trying to use burncd to write an ISO to a blank disc. The discs are all fine, etc. and this is a new DVD drive (writes DVDs and CDs), so I'm guessing that is the problem. A simple output is as follows: [EMAIL PROTECTED] /mnt/packages/unix/isos/hurd sudo burncd -s max -f /dev/acd0

Re: burncd ``only wrote -1...'' coasting discs.

2003-10-20 Thread Lewis Thompson
On Mon, Oct 20, 2003 at 09:26:28AM -0400, Lowell Gilbert wrote: Lewis Thompson [EMAIL PROTECTED] writes: I'm trying to use burncd to write an ISO to a blank disc. The discs are all fine, etc. and this is a new DVD drive (writes DVDs and CDs), so I'm guessing that is the problem

Complicated ipfw/ipf forwarding.

2003-10-28 Thread Lewis Thompson
Hi, I have a public IP address and a couple of machines sitting behind a FreeBSD router doing NAT. I'm using ipnat and ipf right now (although I used to use natd/ipfw so I don't mind switching -- I started using ipf/ipnat because of an odd problem with 5.1-RELEASE but I'm switching back to 4.9

Re: Complicated ipfw/ipf forwarding.

2003-10-28 Thread 'Lewis Thompson'
On Tue, Oct 28, 2003 at 09:39:23AM -0500, Jason Lavigne wrote: Could I have red.foo.bar forwarded to 192.168.0.2, pink.foo.bar forwarded to 192.168.0.3 and say blue.foo.bar go to the local machine wouldn't you use DNS (bind) for this? How? I only have one external IP address (say 1.2.3.4)

Re: 4.9-RELEASE jails and named

2003-11-06 Thread Lewis Thompson
On Thu, Nov 06, 2003 at 06:46:51PM -0600, Chris wrote: At least pings from the outside world can get to the host server but once at the host server, how do I get that traffic routed to the correct jail/website (local IP address)? By the sounds of it you have one external IP address but

sftp mount?

2003-11-07 Thread Lewis Thompson
Hi, I'm wondering if there might be any way to mount an sftp ``filesystem''? At my university everything is firewalled and the only way I can transfer files to/from my account is to use sftp -- but that gets quite painful after a while. I was wondering if anybody knew a way I might achieve

Re: sftp mount?

2003-11-07 Thread Lewis Thompson
On Fri, Nov 07, 2003 at 05:56:43PM +0300, Odhiambo Washington wrote: * Lewis Thompson [EMAIL PROTECTED] [20031107 17:28]: wrote: At my university everything is firewalled and the only way I can transfer files to/from my account is to use sftp -- but that gets quite painful after a while

Re: sftp mount?

2003-11-07 Thread Lewis Thompson
On Sat, Nov 08, 2003 at 11:22:57AM +1030, Malcolm Kay wrote: On Sat, 8 Nov 2003 01:31, Lewis Thompson wrote: Yeah, it is fairly easy to use but it's still annoying to be doing it. In reality what I want is to edit the remote files directly. I don't want to be copying back/forth. It can't

Network timeout.

2004-01-14 Thread Lewis Thompson
Hi, I'm having problems with my network connection timing out during large transfers. It's connected to a 10Mbit hub so it's not topping out at the card's maximum throughput. Originally I had a Realtek 8139 card but yesterday I dumped that in favour of a Netgear FA311 (sis chipset) and this

Re: Big troubles running FreeBSD on a Shuttle nForce2

2004-01-20 Thread Lewis Thompson
On Tue, Jan 20, 2004 at 09:08:53PM +, anubis wrote: On Tue, 20 Jan 2004 02:26 am, Raphael Dinge wrote: I've installed a long ago FreeBSD 5.1 on my mother's computer which is a shuttle with nvidia nforce2 motherboard. The computer crashes for reasons I can't explain. Since 5.2 was out,

Wrong pixmaps directory (port problem).

2004-01-20 Thread Lewis Thompson
Hi, I'm trying to create a port and everything is working fine, except that the pixmaps get installed in /usr/X11R6/share/pixmaps/app instead of /usr/X11R6/share/gnome/pixmaps/app. Apart from these pixmaps there is just the application binary itself. Can anybody suggest how I can get it to

Apache2 mod_auth_ldap (FreeBSD-specific problem?)

2004-02-06 Thread Lewis Thompson
Hi, I've got a working Apache2 server that I've just recompiled to support mod_auth_ldap. The ldap stuff all works great (I'm using it via Samba). However, when I set up LDAP for authentication in my .htaccess file: AuthLDAPURL ldap://yellow.lewiz.org/ou=People,dc=lewiz,dc=org?uid require

X11 forwarding (with ``screen'' option)?

2004-02-07 Thread Lewis Thompson
Hi, I'm experimenting with X11 forwarding and I have it working so I can ssh to my server and fire up an application just great. This is forwarded to my laptop and works fine. However, I want to run something that is mostly going on in the background (non-interactive) but my Internet link is

Re: X11 forwarding (with ``screen'' option)?

2004-02-08 Thread Lewis Thompson
On Sat, Feb 07, 2004 at 02:43:05PM -0800, Kris Kennaway wrote: On Sat, Feb 07, 2004 at 12:16:00PM +, Lewis Thompson wrote: Is there any such thing as screen for X applications? There's xmove, but it's a bit buggy. It's a great idea though, I wish someone would make it work better

xmove over SSH.

2004-02-08 Thread Lewis Thompson
Hi, At Kris Kennaway's suggestion I have been trying out xmove, which allows me to suspend an X app, move it between X displays, etc. I've got this working great on one machine (actually a jail), where my sshd_config has: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no I start

Shell script containing passwords.

2004-02-09 Thread Lewis Thompson
Hi, I'm trying to write a script to use with the Apache auth plugin mod_auth_any. I have the whole setup working, bar the script that does the authentication. I am worried that because the script must be read/writeable by the Apache user (www) that anybody that can write a PHP script on my

Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 10:12:09AM -0500, Lowell Gilbert wrote: Lewis Thompson [EMAIL PROTECTED] writes: I am worried that because the script must be read/writeable by the Apache user (www) that anybody that can write a PHP script on my machine can read the auth script and read

Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 03:56:08PM +, Peter Risdon wrote: Lewis Thompson wrote: I am worried that because the script must be read/writeable by the Apache user (www) that anybody that can write a PHP script on my machine can read the auth script and read the passwords that would

Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 05:52:17PM +0100, Robert Barten wrote: No need for safe_mode, set php_admin_value open_basedir /www/dir/to/user/ in your vhost config, add if desired /tmp/phpupload/:/tmp/phpsession/ Yes, I've looked at this. However, I want to use userdir=public_html for serving PHP

Re: Shell script containing passwords.

2004-02-10 Thread Lewis Thompson
On Tue, Feb 10, 2004 at 09:41:22AM -0600, Eric F Crist wrote: Check the syntax for the .htaccess files in the httpd.conf file. This is a file that must be non-readable by regular users via php, but apache has a filter written within the httpd.conf file to disallow access. I know it's about

Re: framebuffer fro freebsd

2004-02-22 Thread Lewis Thompson
On Sat, Feb 21, 2004 at 04:58:53PM -0500, Lowell Gilbert wrote: Rahul Sawarkar [EMAIL PROTECTED] writes: is there a framebuffer port for freebsd? i want to run my console in 1024x768. Why would you want a framebuffer for that? Do you have frame grabber hardware or something? If all

Growing RAID5 (using RAID0).

2004-02-26 Thread Lewis Thompson
Hi, I've been thinking about this and I'm wondering if it is possible to do something like the following: I have an existing RAID5 volume, comprised of just 3 120GB disks. However, I've just bought three more 250GB disks that I also want to RAID5. I would still like a single volume,

Network File System (Coda, AFS) question.

2004-03-01 Thread Lewis Thompson
Hi, I'm interested in setting up a distributed file system across two 5.2.1 machines. I wanted this to work such that the two machines had /different/ data but through the use of some software they can be ``mounted'' to provide a single large volume (almost the same way that the RAID0 works).

vmware3 -CURRENT.

2004-03-05 Thread Lewis Thompson
Hi, I've just CVSupped to -CURRENT in an attempt to learn more about FreeBSD development in general. However, vmware3 no longer works. I get errors about vmnet1 not existing, yet I have the appropriate entries in /compat/linux/dev. However, I /do/ have a vmnet4097 when I run ifconfig. I

Re: Growing RAID5 (using RAID0).

2004-03-05 Thread Lewis Thompson
On Fri, Mar 05, 2004 at 11:28:17PM +1100, Tony Frank wrote: On Thu, Feb 26, 2004 at 02:15:14PM +, Lewis Thompson wrote: i.e. can I create a RAID0 volume from two RAID5 volumes? I understand this might sound a little odd but if it works it would be the ideal solution for me. I would

Re: cdroast

2004-03-07 Thread Lewis Thompson
On Sat, Mar 06, 2004 at 08:09:47PM -0800, Brian Henning wrote: how can i make it so cd roast burns files with plus signs in it. for example /usr/ports/distfiles/gtk+-1.2.10.tar.gz This should probably be aimed at the xcdroast people since it seems very specific. I'm not really sure but is

Re: mounting

2004-03-08 Thread Lewis Thompson
On Mon, Mar 08, 2004 at 03:11:14AM -0700, RYAN vAN GINNEKEN wrote: [snip] Also i have the same problems with my nfs mounts if a machine goes down somewhere now of my other machines will reboot. Have you tried mounting with the -s option? Check the man page for soft. -lewiz. -- I was so much

Re: Installation - More user friendly

2004-03-08 Thread Lewis Thompson
On Sun, Mar 07, 2004 at 11:28:03PM -0500, JJB wrote: Right at the beginning of sysinstall should be warning about what to set PC bios options to, like plugNplay off, power management off, boot time virus check disabled, PCI irq assignments set to auto, OS type set to non-windows, ect. Give

Re: Installation - More user friendly

2004-03-08 Thread Lewis Thompson
On Mon, Mar 08, 2004 at 09:53:15AM -0500, Jerry McAllister wrote: On Sun, Mar 07, 2004 at 11:28:03PM -0500, JJB wrote: Right at the beginning of sysinstall should be warning about what to set PC bios options to, like plugNplay off, power management off, boot time virus check

Data recovery.

2004-03-14 Thread Lewis Thompson
Hi, I've just had a disk (pretty much) fail on me. I'd been suspect of it for some time now, but finally confirmed it with a reinstall to 5.2.1 when GEOM started removing it for me ;) Some more tests with smartmontools (http://smartmontools.sourceforge.net/) indicate read failures at the same

Vinum, replaced disk -- fsck error.

2004-03-15 Thread Lewis Thompson
Hi, I had a failed disk in my RAID-0 Vinum array. This was a physical disk problem and in an attempt to recover as much data as possible I dd'ed it to another disk (dd if=ad3 of=ad1 bs=8192 conv=noerror). This has mostly gone fine (bar the I/O errors that were to be expected) and I can

Re: Vinum, replaced disk -- fsck error.

2004-03-15 Thread Lewis Thompson
On Tue, Mar 16, 2004 at 02:00:00AM +, Lewis Thompson wrote: This has mostly gone fine (bar the I/O errors that were to be expected) and I can actually start vinum and mount the RAID-0 array with no trouble (Vinum reports no errors I can see). I don't really know how I can test

Re: Vinum, replaced disk -- fsck error.

2004-03-16 Thread Lewis Thompson
On Tue, Mar 16, 2004 at 07:13:25PM +0800, Greg Lehey wrote: On Tuesday, 16 March 2004 at 2:00:00 +, Lewis Thompson wrote: I had a failed disk in my RAID-0 Vinum array. This was a physical disk problem and in an attempt to recover as much data as possible I dd'ed it to another disk (dd

gif tunnel problem.

2004-03-17 Thread Lewis Thompson
Hi, This is the first time I've looked at gif tunnels and I'm only trying to do something simple (by that I mean no IPsec, etc.) Diagrams are always useful for this, so here goes: (int) (ext) (ext) (int) xl0 192.168.0.1 xl1 a.b.c.d - 'net -

gif tunnel problem.

2004-03-17 Thread Lewis Thompson
Hi, This is the first time I've looked at gif tunnels and I'm only trying to do something simple (by that I mean no IPsec, etc.) Diagrams are always useful for this, so here goes: (int) (ext) (ext) (int) xl0 192.168.0.1 xl1 a.b.c.d - 'net -

Re: Vinum, replaced disk -- fsck error.

2004-03-18 Thread Lewis Thompson
On Thu, Mar 18, 2004 at 01:26:02PM +1030, Greg 'groggy' Lehey wrote: On Tuesday, 16 March 2004 at 17:25:26 +, Lewis Thompson wrote: I can't think of anything else. Originally I ran dd without the conv=noerror and it stopped at around 25GB (the disk is a 100GB). The destination disk

Re: Vinum, replaced disk -- fsck error.

2004-03-19 Thread Lewis Thompson
On Sat, Mar 20, 2004 at 08:57:38AM +1030, Greg 'groggy' Lehey wrote: On Friday, 19 March 2004 at 3:03:34 +, Lewis Thompson wrote: In a reply to my original question you stated that ``dd if=ad3 of=ad1 bs=8192 conv=noerror'' ``may or may not work, depending on details you haven't

Re: Top posting

2004-03-19 Thread Lewis Thompson
On Fri, Mar 19, 2004 at 05:24:59PM -0600, Tillman Hodgson wrote: On Fri, Mar 19, 2004 at 05:35:06PM -0500, Al Johnson wrote: My standard response to top-posting: A: Because it reverses the logical flow of conversation. Q: Why is putting a reply at the top of the message frowned upon? A:

Re: Vinum, replaced disk -- fsck error.

2004-03-20 Thread Lewis Thompson
On Sat, Mar 20, 2004 at 11:14:23AM +1030, Greg 'groggy' Lehey wrote: I still don't understand why you're using dd. To create as near-perfect copy of the disk as possible? I want to work on the failing disk as little as possible in case I cause further damage. Since the RAID0 volume is around

Re: problem with su

2004-03-20 Thread Lewis Thompson
On Sat, Mar 20, 2004 at 07:41:53PM +0200, Eric Yellin wrote: When I su -m and login as root, all I get in the prompt is a % sign. My normal user shell is tcsh and the prompt looks like this: [EMAIL PROTECTED]/home/eric(29): but this is not kept when I su -m. How can I change this? Look in

Re: I messed up my system, please help. library missing

2004-03-20 Thread Lewis Thompson
On Sat, Mar 20, 2004 at 01:46:14PM -0500, Shaun T. Erickson wrote: How do I get the old version reinstalled, and have the new version as well, for things that need it? Take a look at portupgrade. You can find it in sysutils/portupgrade. Once it's installed portupgrade expat should do the job.

Re: Vinum

2004-03-20 Thread Lewis Thompson
Hi, I might be lying to you with my answers. I'm hoping Greg Lehey or some other Vinum hacker will point anything I get wrong out though :) On Sat, Mar 20, 2004 at 01:23:53PM -0800, Evan Sayer wrote: I have a question about how vinum effects access to file systems. When i have a vinum

Re: making the partition larger

2004-03-21 Thread Lewis Thompson
On Sun, Mar 21, 2004 at 12:52:47PM +0300, CBuH. wrote: I have it of size X. And have 4 partitions marked, plus free unmarked 10Gb on that /dev/ad0. Want to make FreeBSD's partition bigger on those 10Gbs. It depends on where the free space is. If you mean growing the FreeBSD slice (which is

Re: Vinum, replaced disk -- fsck error.

2004-03-23 Thread Lewis Thompson
On Sat, Mar 20, 2004 at 12:23:11AM +, Lewis Thompson wrote: On Sat, Mar 20, 2004 at 08:57:38AM +1030, Greg 'groggy' Lehey wrote: On Friday, 19 March 2004 at 3:03:34 +, Lewis Thompson wrote: In a reply to my original question you stated that ``dd if=ad3 of=ad1 bs=8192 conv=noerror

natd + DUMMYNET ordering.

2004-03-24 Thread Lewis Thompson
Hi, I'm trying to set up some traffic shaping using IPFW2 and DUMMYNET. I also use natd and I'm a little stumped as to where to put my pipes so that they will work as I expect. ipfw add pipe 1 all from 192.168.0.4 to any via xl1 ipfw add divert natd all from any to any via xl1 ipfw add pipe 1

natd + DUMMYNET ordering.

2004-03-24 Thread Lewis Thompson
Hi, I'm trying to set up some traffic shaping using IPFW2 and DUMMYNET. I also use natd and I'm a little stumped as to where to put my pipes so that they will work as I expect. ipfw add pipe 1 all from 192.168.0.4 to any via xl1 ipfw add divert natd all from any to any via xl1 ipfw add pipe 1

Re: Sample server for Cyrus SASL

2004-03-26 Thread Lewis Thompson
On Fri, Mar 26, 2004 at 07:38:42AM -0500, WebTent Support wrote: I have Cyrus SASL 2.1.18 installed from ports on 5.2.1. Does it place the source somewhere? How can I test with the sample-server and sample-client? I don't think it gets installed. Look in the work directory. server and client

Re: hard disk recover

2004-03-28 Thread Lewis Thompson
On Sun, Mar 28, 2004 at 04:25:56PM -0700, [EMAIL PROTECTED] wrote: # dd if=/dev/ad1s1a bs=64k dd: /dev/ad1s1a: Input/output error Try: dd if=/dev/ad1s1a of=? conv=noerror,sync bs=64k I recently ``recovered'' a disk from this error. The sync is critical, trust me ;) (check the man page for

Re: Anti-virus

2004-03-30 Thread Lewis Thompson
On Mon, Mar 29, 2004 at 08:52:23PM -0600, Earl Larsen wrote: I was wondering what is a good, free ;) anti virus program for FreeBSD. Depending what you mean by free... maybe try security/f-prot. It's free for non-commercial use. -lewiz. -- I was so much older then, I'm younger than that now.

Ordering of dummynet and natd.

2004-03-30 Thread Lewis Thompson
Hi, Can anybody help me out with ipfw rules to do dummynet shaping before packets hit natd for translation. 192.168.0.4 should be able to upload at just 100KB/s. The default gateway and natd is done on 192.168.0.1 where I have the following rules: pipe 1 ip from 192.168.0.4 to any via xl1

Re: troubles with jdk-1.4.2p6_4

2004-03-30 Thread Lewis Thompson
On Tue, Mar 30, 2004 at 09:35:58AM -0500, Lowell Gilbert wrote: Nikita S. Sychevsky [EMAIL PROTECTED] writes: I can't build jdk-1.4.2p6_4 from the ports collection on jdk-1.4.2p6_4 system. Can anybody help please? Looks like a known problem; it's failing on the test cluster as well.

Re: A night with threads and gdb

2004-04-01 Thread Lewis Thompson
On Tue, Mar 30, 2004 at 05:42:41PM +0100, Andrea Venturoli wrote: To make it clear: with nss_ldap enabled, everything that accessed the user database would crash: so ls -l, id and so on (but not, e.g., ls without -l). I spoke to nectar@ about this. CVSup to that latest OpenLDAP21 and then

Re: console screensaver in X

2004-04-06 Thread Lewis Thompson
On Wed, Apr 07, 2004 at 07:27:09AM +1000, sAndri Kok wrote: I'm interested in using FreeBSD's daemon logo screensaver in X. Is that possible? If it is, how do I do it? any man that I can read? Thx heaps =) That's the one where the Beastie bounces about the screen, right? Best bet is

[OT] Porting help / cdio.h.

2004-04-08 Thread Lewis Thompson
Hi, I'm attempting to port some software (MythTV) to FreeBSD. My knowledge of this is fairly limited and I'm wondering how to convert from linux/cdrom.h to sys/cdio.h. I see I can determine the capabilities of the drive quite easily. However, what I want is to (for example) lock/unlock the

Re: very long boot sshd

2004-04-08 Thread Lewis Thompson
On Thu, Apr 08, 2004 at 09:17:14AM +0200, RazorOnFreeBSD wrote: Do you think I need to change my hardrive already ? It is just one year . :( Good news is that it's probably still under warranty :) -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964.

Sil0680 causes panic on 5.2.1-p5.

2004-04-22 Thread Lewis Thompson
Hi, I've just bought a Silicon Image Sil 0680 RAID controller. I will only be using it as an IDE controller (i.e. without any RAID functionality). This causes a panic on 5.2.1-p5 (GENERIC): atapci1: SiL 0680 UDMA 133 controller port 0xcc00-0xcc0f,0xd000-0xd003,0xd400-0xd407, 0xd800-0xd803,

Re: Missing Port

2004-04-22 Thread Lewis Thompson
On Thu, Apr 22, 2004 at 03:24:03PM -0700, [EMAIL PROTECTED] wrote: I am tring to install mrtg on my test FreeBSD 5.1 box. I change into my /usr/ports/net/mrtg directory and find that there is only a README.html How can I get this port back? I tried to cvsup it with ports-all but the files

Re: Is it possible to read BIOS setting?

2003-07-24 Thread Lewis Thompson
On Thu, Jul 24, 2003 at 04:26:47PM -0500, Pranav A. Desai wrote: If the hard disk fails (or becomes un-bootable) I would change the BIOS setting to boot from second disk or maybe from cdrom, repair or reimage the hard disk and reboot the box. I might be wrong here (and haven't been following

Re: Sharing among jails

2003-07-26 Thread Lewis Thompson
On Sat, Jul 26, 2003 at 11:29:06AM -0700, User KATRINA wrote: I was wondering if there's a way I can share my main /usr/ports directory with the jails I'm running. I thought this would save me a LOT of space. I just NFS export /usr/ports and then mount it either inside the jail, or on the

Kerberos / sshd

2003-07-27 Thread Lewis Thompson
Hi, I'm trying to get sshd to authenticate users via Kerberos. I want to do this using a forwardable ticket (I get this by doing kinit -f). I have the necessary host/[EMAIL PROTECTED] and rcmd/[EMAIL PROTECTED] entries in the krb5.keytab file in /etc. I have defined the following

Re: Kerberos / sshd

2003-07-27 Thread Lewis Thompson
On Sun, Jul 27, 2003 at 05:09:14PM +0100, Lewis Thompson wrote: I'm trying to get sshd to authenticate users via Kerberos. I want to do this using a forwardable ticket (I get this by doing kinit -f). I have the necessary host/[EMAIL PROTECTED] and rcmd/[EMAIL PROTECTED] entries in the krb5

Re: Java Installation

2003-07-31 Thread Lewis Thompson
On Mon, Jul 28, 2003 at 08:10:45AM -0400, Adam wrote: There are many females that use this list regularly. There are? I never recall seeing any names but now that you've told me, I'll be on the lookout! grin Best wishes, -lewiz. -- WARNING TO ALL PERSONNEL: Firings will continue

Re: samba authentication problems

2003-08-10 Thread Lewis Thompson
On Thu, Aug 07, 2003 at 11:11:58AM -0700, John DeStefano wrote: I'm using 2.2.8a. I've now done a 'make install' after 'make deinstall' twice, with the same results both times, so I can only assume the installation is autodetecting openldap, as you suspected above. I've had a look at the

Re: samba authentication problems

2003-08-12 Thread Lewis Thompson
On Thu, Aug 07, 2003 at 06:49:49AM -0700, John DeStefano wrote: AFAIK, I have not enabled ldap authentication. But how do I confirm? Well. If it's 2.2.8a then it's defined at compile time (i.e., you specify you want it, or it autodetects if openldap is installed). Otoh, if it's samba-devel

Jail FS questions.

2003-08-14 Thread Lewis Thompson
Hi, I currently have a bunch of jails running on my FreeBSD box. I've done this by making installworld a number of times, each time with a different DESTDIR (say /jail1, /jail2, /jail3). Clearly this is using a significant amount of space on the machine. I've been reading about unionfs and

Re: samba authentication problems

2003-08-14 Thread Lewis Thompson
On Mon, Aug 11, 2003 at 08:42:58AM -0700, John DeStefano wrote: [gandalf] ~# smbclient -L gandalf -U linuxbox added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 can't determine netmask for 192.168.1.1 Did you specifically specify the interfaces to bind to in the smb.conf?

Cups / Mozilla printing issues.

2003-08-18 Thread Lewis Thompson
Hi, I'm not sure if this isn't a bit off-topic but I hope somebody might know the answer anyway. I'm running 5.1-R and I've cups-lpr (and all the other necessary stuff installed). When I print from mozilla-firebird (mozilla-gtk2 it uses, afaik) it does actually work but it's printing is in

Cups / Mozilla printing issues.

2003-08-18 Thread Lewis Thompson
Hi, I'm not sure if this isn't a bit off-topic but I hope somebody might know the answer anyway. I'm running 5.1-R and I've cups-lpr (and all the other necessary stuff installed). When I print from mozilla-firebird (mozilla-gtk2 it uses, afaik) it does actually work but it's printing is in

Cups / Mozilla printing issues.

2003-08-18 Thread Lewis Thompson
Hi, I'm not sure if this isn't a bit off-topic but I hope somebody might know the answer anyway. I'm running 5.1-R and I've cups-lpr (and all the other necessary stuff installed). When I print from mozilla-firebird (mozilla-gtk2 it uses, afaik) it does actually work but it's printing is in

Re: mouse with scroll....

2003-08-18 Thread Lewis Thompson
On Sun, Aug 17, 2003 at 03:31:40AM +0400, Denis wrote: Does anybody know how in freebsd use mouse with 3 button and one scroll? There's a section in the FreeBSD Handbook that covers this. There was a also a thread recently on this mailing list concerning moused not working with scrolling.

Re: Cups / Mozilla printing issues.

2003-08-18 Thread Lewis Thompson
On Tue, Aug 19, 2003 at 07:40:26AM +0900, Rob Lahaye wrote: A few weeks ago, there was a troublesome version of ghostscript-gnu in the ports, which corrupted my output as you describe (I have an HP laser printer). I think it was version 7.07_1; I had to downgrade to 7.05 for getting rid of the

  1   2   >