Moving from -CURRENT to 5.2.1 Release

2004-08-17 Thread Glyn Tebbutt
Hi all

Just a quick question, as it was posted on the list
nvidia has released some new drivers, i've yet to try
these drivers but at the moment im having to use
-CURRENT to be able to get the previous release 
to work properly and they did very well. I rebuilt my
world/kernel with -CURRENT and then my software, xorg,
gnome 2.6 etc. My questions is, everything ive
compiled was with gcc 3.4.x thats in -CURRENT if i
downgrade to 5.2.1 Release will this cause any
problems with the software i compiled with the newer
gcc. Reasons being for changing as i dont like being
that much on the bleeding edge as im just a user not a
developer, saying that thou these new drivers might
not work out for me and i may end up going back to
-CURRENT, as i had the libpthread  libr_c problem and
had to map them with libmap.conf

Anyway any opinions please as im going to do this
tonight and if it means it will screw things up i
might just reinstall.

Thanks Again

Glyn

ps i have posted this before but i forgot the subject line, very sorry
about that.
-- 
*-*
| Glyn Tebbutt |[EMAIL PROTECTED] |
|--'  http://homepage.ntlworld.com/d3c3it |
|Lisa, if you dont like your job you dont strike, |
| You just go in everyday and do it really half-assed | 
|  Thats the American way. -Homer Simpson |
*-*

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: filesystem full on install

2004-08-17 Thread stheg olloydson
it was written:


However, when it starts to install, it fails saying the filesystem is
full. This can't be.  It's a 40Gb drive.  I started by overwriting my
hd using a utility called boot and nuke.  Then I allocated the whole
thing to freebsd and made that partition bootable.  Then in disklabel,
I hit a to do a default setup.  I've tried several different things
in disklabel and I wipe my disk clean between each try and nothing
seems to work.  Any help would be appreciated.  Thanks.

Hello,

This seems to be the nub of your problem. The message saying the
filesystem is full means the partition is full, not the harddrive.
Make sure the drive's geometry and that reported in disklabel agree. I
think you should start over and use the instructions at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
as a guide, particularly section 2.5.5.
As to the problem with the router and intermittent failures to connect,
that sounds like TCP/IP problem. The fact it seemingly goes away is
very odd. Make sure you're not using an IP address already assigned to
some other interface (and may as well that your subnet mask, hostname,
and DNS address are correct, too). Double check that you're using a
supported NIC.

HTH,

Stheg





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SATA drive bootable ???

2004-08-17 Thread Peter Ulrich Kruppa
Hi!
I just started playing around with my new SATA disk (with SATA 
150 TX2plus controller on -CURRENT). I can mount and format it 
all-right.

Is it generally posssible to boot from such a disk (different 
question would be if it made sense to do so)?
My SATA drive is recognized as ata2-master.

Thanks,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help me ObwanKnobi your my only hope.

2004-08-17 Thread Laust S. Jespersen
Vulpes Velox wrote:
On Mon, 16 Aug 2004 15:33:56 -0700
Brooks Davis [EMAIL PROTECTED] wrote:

On Mon, Aug 16, 2004 at 02:11:14PM -0700, [EMAIL PROTECTED] wrote:
I have spent many usless hours looking at Freebsd.org, google.com
and yahoo.com in an attempt to find a ftpd that I can cap / choke
the outgoing bandwith.
Do you know of any such animals?
dummynet(4) will probably do what you want unless you need to do it
per user.

Can be done if you use inetd. Just set up a rule limiting certian
users to certian pipes. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to [EMAIL PROTECTED]
You can do this with pure-ftpd's UserBandwidth and
AnonymousBandwidth directives.
Med venlig hilsen / Best Regards
Laust Jespersen
http://www.ust.dk
==
Viking Rule of Acquisition 1: Remember where you beached the long ship
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to start clean install again?

2004-08-17 Thread Jay O'Brien
 Jay O'Brien [EMAIL PROTECTED] wrote:
 
What's the best way to erase an installation of FreeBSD 
completely from a HD and start over? I'm installing 4.10 
from am ISO CD, and it installs fine. However, I would 
like to start over from scratch and it remembers some 
of what was on the HD from the last install. If I were 
in Windows/DOS I would just format C: but that doesn't 
seem to be an option here.
 

Bill Moran wrote: 
 During the reinstall, when it comes time to slice the disk with fdisk,
 simply delete the previous slice and recreate it.  That will blow away
 anything that existed before.
 

Andras Kende wrote:
 Boot from CD as usual 
 When displaying the hard disk with FreeBSD slice click on Delete key...
 Then just recreate the partition as before...
 

Bill, Andras:

Thanks, that does the job. Much appreciated.

Jay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Frequent crashes with Mozilla and Firefox

2004-08-17 Thread Karel J. Bosschaart
On Mon, Aug 16, 2004 at 08:59:07PM -0400, Jesse Sheidlower wrote:
 On Mon, Aug 16, 2004 at 12:51:36PM -0700, Your Name wrote:
  In the last few weeks ive started getting a number of
  crashes using either Mozilla or Firefox. im using the 
  newest version of each from Ports, on FreeBSD 4.9.
 
 Sorry for the me too post, but since people are reporting
 different results: I have two main computers, one running
 4.10 and one running 5.2-CURRENT, but with otherwise
 similar setups. GNOME in both cases.

So I'm not the only one!? I'm using Firefox on 4.10 and 5.2 with KDE
and found that it's quite OK on 5.2 but crashes often on 4.10, I think
mostly on webpages with flash content.
 
 The CURRENT machine is fine; I'm pretty sure I've never had a
 crash in several months of operation. The 4.10 machine is

Never? Wow. I can't say that here but I consider a weekly crash or so for
a browser nowadays an excellent achievement ;-).

 similar to the OP's report: I get relatively frequent but
 unpredictable crashes on complex Web pages, with both
 Mozilla and Firefox.

Can't say anything for Mozilla.
 
 It's annoying, and I'd love to know causes and solutions!

Because it's so difficult to reproduce it's also hard to find the cause :-(.
I plan to try linux-opera on 4.10. Should do flash and java... (being unable
to get java working was what made me switch from Opera to Firefox couple
of months ago)

Karel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel Hacking (symbol not Found)

2004-08-17 Thread Dennis George
Hi,
 
I am studying the kernel source of FreeBSD. I like to know the flow of packets from 
NIC to different modules of Kernel and then to the user-level. I studied the code and 
identified some of the functions through which the kernel handles network packets. 
But I want to check from where the control goes to that function... 
 
So I decided to debug the kernel since I have only one machine I am not checking 
for kgdb I decided to work with DDB so compiled the kernel with option DDB and 
with debugging enabled (-g option). After installing the new kernel I rebooted the 
system and in the boot prompt I gave -d option to  enter the debugging module. 
My problem is that I can't provide any breakpoints with this method... It gives me 
error saying symbol not found.  Can anybody tell me where is the 
problem
 
thanks
Joseph

stheg olloydson [EMAIL PROTECTED] wrote:
it was written:


However, when it starts to install, it fails saying the filesystem is
full. This can't be. It's a 40Gb drive. I started by overwriting my
hd using a utility called boot and nuke. Then I allocated the whole
thing to freebsd and made that partition bootable. Then in disklabel,
I hit a to do a default setup. I've tried several different things
in disklabel and I wipe my disk clean between each try and nothing
seems to work. Any help would be appreciated. Thanks.

Hello,

This seems to be the nub of your problem. The message saying the
filesystem is full means the partition is full, not the harddrive.
Make sure the drive's geometry and that reported in disklabel agree. I
think you should start over and use the instructions at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
as a guide, particularly section 2.5.5.
As to the problem with the router and intermittent failures to connect,
that sounds like TCP/IP problem. The fact it seemingly goes away is
very odd. Make sure you're not using an IP address already assigned to
some other interface (and may as well that your subnet mask, hostname,
and DNS address are correct, too). Double check that you're using a
supported NIC.

HTH,

Stheg





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X configuration problem

2004-08-17 Thread Jay O'Brien
Initial 4.10 installation. Trying to configure XFree86.
from /stand/sysinstall, select Configure | XFree86. 

I THINK I've tried every possible combination. I couldn't 
use the Fully graphical XFree86 configuration tool as 
the graphic was partially off-screen and the monitor was 
out of range. I used the textmode tool and the shell-
script tool, settling on the shell-script tool. After 
agreeing that it should write /etc/X11/XF86, and selecting 
a desktop to use, many different attempts all result in 
this error:

Error mounting /dev/acd0c on /dist: Input/output error (5)

And the next screen is:

An error occurred while adding the package(s) required by 
this desktop type. Please change installation media and/or 
select a different, perhaps simpler, desktop environment 
and try again.

I don't find a /etc/X11/ directory, much less a XF86 file.

Video card is ati XPERT 98, monitor is 1280x1024 LCD.

A suggestion for what to try next?

Jay O'Brien
Rio Linda, CA USA

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SONIC TIMEWORKS AUTOMATED REPLY

2004-08-17 Thread Nobody
This is an automated reply, no human has read or will read your message.

Due to the current increase in virus related mailing activity the email address you 
tried to reach, [EMAIL PROTECTED], has been deactivated. Instead, please mail molsen@

Thanks for your understanding.

Sonic Timeworks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Virus found in sent message something for you

2004-08-17 Thread Mail System Anti-Virus Administrator
Attention: [EMAIL PROTECTED]


A Virus was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching it's destination. 

The Virus was reported to be: 

 W32/[EMAIL PROTECTED]


Please update your virus scanner or contact your I.T support 
personnel as soon as possible as you have a virus on your system.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
Subject: something for you
Date:Tue, 17 Aug 2004 09:48:54 +0100



The original message is kept in:

  mail.fam.ulusiada.pt:/var/spool/qmailscan/quarantine

where the Mail System Anti-Virus Administrator can further diagnose it.

The Email scanner reported the following when it scanned that message:

--- 

---fprot results ---
Virus scanning report  -  17. August 2004   9:44

F-PROT 3.11b
SIGN.DEF created 17. August 2004
SIGN2.DEF created 17. August 2004
MACRO.DEF created 16. August 2004

Search: /var/spool/qmailscan/mail.fam.ulusiada.pt109273228040425817 
/var/spool/qmailscan/working/new/mail.fam.ulusiada.pt109273228040425817
Action: Report only
Files: Dumb scan of all files
Switches: /ARCHIVE /AI

/var/spool/qmailscan/mail.fam.ulusiada.pt109273228040425817/note.com  Infection: 
W32/[EMAIL PROTECTED]
/var/spool/qmailscan/working/new/mail.fam.ulusiada.pt109273228040425817-note.com  
Infection: W32/[EMAIL PROTECTED]

Results of virus scanning:

Files: 3
MBRs: 0
Boot sectors: 0
Objects scanned: 4
Infected: 2
Suspicious: 0
Disinfected: 0
Deleted: 0
Renamed: 0

Time: 0:00

---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X configuration problem

2004-08-17 Thread Luke Kearney

On Tue, 17 Aug 2004 01:31:30 -0700
Jay O'Brien [EMAIL PROTECTED] spake thus:

 Initial 4.10 installation. Trying to configure XFree86.
 from /stand/sysinstall, select Configure | XFree86. 
 
 I THINK I've tried every possible combination. I couldn't 
 use the Fully graphical XFree86 configuration tool as 
 the graphic was partially off-screen and the monitor was 
 out of range. I used the textmode tool and the shell-
 script tool, settling on the shell-script tool. After 
 agreeing that it should write /etc/X11/XF86, and selecting 
 a desktop to use, many different attempts all result in 
 this error:
 
 Error mounting /dev/acd0c on /dist: Input/output error (5)
 
 And the next screen is:
 
 An error occurred while adding the package(s) required by 
 this desktop type. Please change installation media and/or 
 select a different, perhaps simpler, desktop environment 
 and try again.
 
 I don't find a /etc/X11/ directory, much less a XF86 file.
 
 Video card is ati XPERT 98, monitor is 1280x1024 LCD.
 
 A suggestion for what to try next?
 
 Jay O'Brien
 Rio Linda, CA USA

Yes, download and burn yourself another install disk or change the media
source in the install screen and then make it download the sources from
the internet. Sounds like you've got bad media rather than a config that
can't be done. 

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is promiscuous mode bad?

2004-08-17 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
horio shoichi wrote:
| On Mon, 16 Aug 2004 14:24:00 +0200
| Ruben de Groot [EMAIL PROTECTED] wrote:
|
|On Sun, Aug 15, 2004 at 07:53:10PM -0700, Kevin Stevens typed:
|
|A lot of network scanners also trigger on NICS in promiscuous mode
|(there's a way to detect them, I forget the details at the moment)
|because admins want to know if any hosts are out there sniffing.
|
|How sure are you about that? AFAIK there's no way to detect a NIC in
|promiscuous mode *from the outside*. I would be very interested in a
network
|scanner that could.
|
|Ruben
|
|___
|[EMAIL PROTECTED] mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to
[EMAIL PROTECTED]
|
|
|
| Ping it with wrong mac.
|
Don't you have to be on the same broadcast domain to do a MAC ping? I
mean how would you do a MAC ping over the internet?
- --
Siddhartha Jain (CISSP)
Consulting Engineer
Netmagic Solutions Pvt Ltd
Bombay - 400063
Phone: +91-22-26850001 Ext.128
Fax  : +91-22-26850002
http://www.netmagicsolutions.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIdSMOGaxOP7knVwRAkUCAJ4m3u55mbVps9skAyr3OnMrMLxBBACffMDf
blzs3L+y384dbZna0ZqCEwA=
=dYSX
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ELF Kernel

2004-08-17 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis George wrote:
| What is elf kernel ?
|
ELF is a binary file format. Stands for Executable and Linking format.
The kernel must support this format so that files made in this format
can be loaded, read and executed by the kernel.
http://www.cs.ucdavis.edu/~haungs/paper/node10.html
Now the kernel itself is a big binary file. Under FreeBSD, the kernel
itself is a dynamically linked ELF binary. Goto / and issue file
kernel and see the results.
Ofcourse, there are unconfirmed rumours that Linus Torvarlds was just
the front man for Santa Claus and the Tooth fairy, who actually wrote
the Linux kernel alongwith elves and hence the name Elf Kernel ;)
HTH,
- --
Siddhartha Jain (CISSP)
Consulting Engineer
Netmagic Solutions Pvt Ltd
Bombay - 400063
Phone: +91-22-26850001 Ext.128
Fax  : +91-22-26850002
http://www.netmagicsolutions.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBId7WOGaxOP7knVwRAo6bAJ49Pp6U7rvmuSodd0RuaH3fwHgLAQCeMGVd
N5VXUzzI14VeoYhuqfxpKoA=
=umxi
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD scanners

2004-08-17 Thread Anton Alin-Adrian
Thank you all for all of the information.
I found this CANON Scanner Canon Lide30 USB available to be bought, nice 
price, nice performance, donno much about canon's reputation with scanners.

It has complete support by the plustek-sane backened.
The only problem is it is not listed in uscanner.c.
Do you think adding it to uscanner.c is all that takes to make it work? If 
yes, I am going to buy it (it is the only one with complete sane support, 
from what i can get my hands on).

There's also mustek 1200 ta, listed in uscanner, but only has good support 
in sane backeneds, and it cannot scan deeper than 16 bits of colour, in 
spite of the fact that it's capacity is 48 bit.

Ok, so what about canon? Will manually adding it to uscanner.c solve 
everything?

Thank you all.
Regards,
--
Alin-Adrian Anton
Spintech Systems
GPG keyID 0x1E2FFF2E (2963 0C11 1AF1 96F6 0030 6EE9 D323 639D 1E2F FF2E)
gpg --keyserver pgp.mit.edu --recv-keys 1E2FFF2E
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbies Question

2004-08-17 Thread Valéry
REF : documentation
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html
Hi,
i'm installing FreeBSD in order to change my NT5.1
with Apache  ftp server.
I'm comming from IBM OS/390 mainframe and don't know
anything on Unix like systems. I'm a C/C++ developper too.
My question beeing very simple, i think you don't need
technical information, but see on * lines below.
Q : how to launch the Kernel Configuration Menu script
as described on Ch 2.3.2 (fig. 2.1) ?
i don't have any option to do that on the Loader Menu (i tried all)
i tried to grep-find the script (or command) but fails.
* i'm using/booting from FreeBSD 5.2.1, disc-1
* boot0  boot1 are Ok
* Loader Ok
* Sysinstall running Ok
Note : a mini-install of 5.2.1 is currently installed on my HDD
and seem to work properly. I would like to configure more
accurately my Kernel now.
Great thanks, FreeBSD is exactly what i want,
--
Valéry Seys / Paris-France
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD scanners

2004-08-17 Thread Marc Fonvieille
On Tue, Aug 17, 2004 at 02:00:13PM +0300, Anton Alin-Adrian wrote:
 Thank you all for all of the information.
 
 I found this CANON Scanner Canon Lide30 USB available to be bought, nice 
 price, nice performance, donno much about canon's reputation with scanners.
 
 It has complete support by the plustek-sane backened.
 
 The only problem is it is not listed in uscanner.c.
 
 Do you think adding it to uscanner.c is all that takes to make it work? If 
 yes, I am going to buy it (it is the only one with complete sane support, 
 from what i can get my hands on).

[...]

It is supported under 4.10 and -CURRENT.  I use it :)  and I used it
during the write of the Handbook's scanners section.

Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbies Question

2004-08-17 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Valéry wrote:
| REF : documentation
|
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html
|
|
| Hi,
| i'm installing FreeBSD in order to change my NT5.1
| with Apache  ftp server.
| I'm comming from IBM OS/390 mainframe and don't know
| anything on Unix like systems. I'm a C/C++ developper too.
|
| My question beeing very simple, i think you don't need
| technical information, but see on * lines below.
|
| Q : how to launch the Kernel Configuration Menu script
| as described on Ch 2.3.2 (fig. 2.1) ?
|
| i don't have any option to do that on the Loader Menu (i tried all)
| i tried to grep-find the script (or command) but fails.
|
| * i'm using/booting from FreeBSD 5.2.1, disc-1
| * boot0  boot1 are Ok
| * Loader Ok
| * Sysinstall running Ok
| Note : a mini-install of 5.2.1 is currently installed on my HDD
| and seem to work properly. I would like to configure more
| accurately my Kernel now.
|
| Great thanks, FreeBSD is exactly what i want,
|
First you might want to move away from 5.2.1 to 4.10 because 5.2.1 isn't
stable release. 4.10 is the stable release or wait till 5.3 gets released.
Also, see this
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

- --
Siddhartha Jain (CISSP)
Consulting Engineer
Netmagic Solutions Pvt Ltd
Bombay - 400063
Phone: +91-22-26850001 Ext.128
Fax  : +91-22-26850002
http://www.netmagicsolutions.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIfmEOGaxOP7knVwRAhgvAJ0Ri6EdjVeGhg4Ej/uPl5xc4cfOBQCeOAXX
t3wpvYduXBAcsa9UARrlt0Y=
=p0C7
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


web-serving does not update a file's atime?

2004-08-17 Thread Mikhail Teterin
Hello!

I tried to use stat(1) to see the last time a file was downloaded
through Apache.

To my surprise, all three dates displayed by stat are long ago, even
though the web-server's log is showing downloads from a just a few hours
back.

The file-system used to be mounted noatime, but I turned that option off
some time ago. If I read one of those files (with head(1) or file(1),
for example), the atime is updated. But if Apache serves it out -- it is
not... There is no caching in Apache either.

Any ideas? Thanks!

-mi

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portmap starting by itself ?

2004-08-17 Thread Brent Bailey
Hello ..
I have a test box running Freebsd 4.9-RC2 , anyway this mornhign i check
my logs and saw this in a ps

13560  ??  Is 0:00.00 portmap 218.49.183.17

correct me if im wrong BUT this appears to be a portmap connection to the
said ip ??

how does somethign liek this just start up ??
has this box been compromised ?

by the way the box is runing basic ip filters w/ no nat  and one interface.


-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
[EMAIL PROTECTED]
207-247-8330



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vnconfig and a compact flash disk image

2004-08-17 Thread Richard P. Williamson
Hello,

4.10-RELEASE

I've got an image of a 32mb compact flash card that I created by

dd if=/dev/ad3 of=./sanDisk.32Mb.image

Now, I want to mount that image and check it for validity, edit
it, etc, and then get it back onto the flash card.  I've already
worked out how to get it back onto a compact flash card (dd, or
if it is gzipped, then zcat).

But how can I mount it?  The format is a 28Mb slice (a) and a 4Mb
slice (e).  I've tried 

vnconfig vn0 sanDisk.32Mb.image

and

vnconfig vn0a sanDisk.32Mb.image

but fdisk tells me 'invalid superblock' when pointed at /dev/vn0[a].

How can I mount the two slices on different mount points?  Can I
do this at all?

TIA,
rip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD scanners

2004-08-17 Thread Marc Fonvieille
On Tue, Aug 17, 2004 at 03:32:37PM +0300, Anton Alin-Adrian wrote:
 Marc Fonvieille wrote:
 
 I found this CANON Scanner Canon Lide30 USB available to be bought 
 
 It is supported under 4.10 and -CURRENT.  I use it :)  and I used it
 during the write of the Handbook's scanners section.
 
 Marc
 
 Ok can you please confirm to me again that this is the model you are using 
 and that it is working smoothly?
 
 Thanks and appologises for this reply, but I am going to buy it right away 
 if you answer me positively.
 

I just pluged it on my -CURRENT laptop and did 2 scans :)
I find it noisy like many USB scanners (I prefer my old SCSI Snapscan),
but it remains a decent scanner.

Here are some logs for this scanner:

# dmesg | grep scanner
 kernel: uscanner0: Canon CanoScan, rev 1.10/1.00, addr
# sane-find-scanner -q
found USB scanner (vendor=0x04a9, product=0x220e) at /dev/uscanner0
# scanimage -L
device `plustek:/dev/uscanner0' is a Canon N1240U/LiDE30 USB flatbed scanner

Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD scanners

2004-08-17 Thread Marc Fonvieille
On Tue, Aug 17, 2004 at 08:17:00AM -0400, Charles Ulrich wrote:
 [EMAIL PROTECTED] wrote:
  Please, if any of you has confident experience with any of the following
  scanners under FreeBSD, please let me know. I must find something available
  for buying and it must work smoothly in FreeBSD (otherwise there's no point
  of buying a new scanner, as I already have one which is not working in
  anything else but Windows..)
 
  EPSON perfection 1670
  EPSON perfection 1670 Photo
 
 A little tip: check out Epison's Clearance Center on their website if you're
 in the market for one of their scanners. I secured a Perfection 1660 Photo for
 half the price of a brand-new 1670. (Except for the chipset inside, the 1660
 and 1670 seem to be identical in every way.)
 
 Haven't quite gotten it working with FreeBSD and SANE but that's due more to a
 lack of time to figure out exactly why SANE can't see the scanner on the bus.


A quick read of
ttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html
will give you the answer :)

Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetchmail/Sendmail rejects

2004-08-17 Thread SD
On Sunday 15 August 2004 00:56, Malcolm Kay wrote:
 On Sunday 15 August 2004 04:34, you wrote:
  Malcolm Kay wrote:
   I run fetchmail in daemon mode to download
   POP3 mail from my ISP.
  
   Sendmail rejects many messages as for example:
   Aug 14 16:59:33 beta sm-mta[35000]: i7E7DYje035000:
 ruleset=check_mail, arg1=[EMAIL PROTECTED],
 relay=localhost.home [127.0.0.1], reject=451
 4.1.8 Domain of sender address
   [EMAIL PROTECTED] does not resolve
  
   I am quite happy to have these rejected but it seems they don't
   get deleted at the ISP end and clog up the mail box, I think
   eventually confusing fetchmail.
  
   Is there some reasonable way of disposing of these messages. I
   would prefer not to download these into my normal user mailbox
   but I would be quite happy to divert them to some pseudo user
   setup for the purpose. I would imagine sendmail can be coaxed
   into doing this, but how?
  
   Responding to 2 or 3 lists using a valid e-mail address means
   that I receive a lot of spam including much with unresolvable
   addresses.
 
  have a look at mail/filtermail

 I've just downloaded this port and find it quite interesting. However
 it seems not to offer very much in this particular case as the
 criteria used are similar to those used by my ISP to reject mail --
 I'm able to set the level. But I don't see a way of getting
 filtermail to reject based on domain name resolution.

 Others have pointed out that spam filtering in fetchmail can be used
 to delete mail based on the error code returned by sendmail. It seems
 it might also be reasonable to change sendmail.cf to issue a 553
 error in place of the 451 as the 553 invoking messages are deleted by
 fetchmail by default.

No need. Assuming you do want to reject (trash) the email you can 
specify multiple return codes to fetchmail.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with deffective RAM

2004-08-17 Thread SD
On Sunday 15 August 2004 21:31, Laurentiu Pancescu wrote:
 I was afraid this is what I'll be told, you're
 probably right.  I have two 128M modules, I'll try to
 find the faulty one, by running the tests just with
 one at a time. If it's one of them (could also be the
 processor, or the mainboard, right?), is it better to
 buy a replacement for the defective one, or just a
 single 256M module, to avoid mismatches between the
 chips?  MB is a Matsonic/Chaintech 7AJA0 (I know, it's
 cheap and not very good - that's what Compaq decided
 to put inside Presario), KT833-based, hosting an
 Athlon 1100MHz.

If 256Mb will fit in one slot instead of 2 slots with 128Mb then go for 
it. As others have stated, buy decent ram. Been there myself - add up 
your travel+time and it just isn't worth it. Fwiw, it's only once I got 
decent ram that I was able to diagnose defective L2 cache. Not that I 
want to worry you mind!

Remember that gcc and bzip are excellent torture tests. Set g++ off on 
something heavy and have bzip2 compress/decompress all night in 
tandem. If it's still alive in the morning, consider yourself 
reliable. ;-)


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


memory usage question

2004-08-17 Thread Mipam
Hi,

I have a question about usage of memory.
Despite the well documented articles about it some things are still
unclear. In top we see memory devided in several items:

Active, inactive, buffered, wired and free.
The active memory is clear, it's what is in use by programs now.
Wired mem is also clear, it's for the kernel data structs.
When a program ends, the mem is put in the inactive part right?
So when the program is run 10 minutes after it can be started very 
quickly, also because the data used from the disk of that program is still 
in the cache part right? However, suppose the program isnt run in 2 hours, 
will there be a timeout in the parts which are being put in inactive and 
in cache? Suppose the timeout has occured, will the mem be added to free 
mem or? What is the difference between buffered mem and cached mem? Both 
represent data which is recently being called from the disk, so that next 
time when the file is called again, no disk access, needs to be made in 
order to save time right?

However, suppose i have little mem free, say 7 mb and still 200 in 
inactive. Then a program needs to start which needs say 30 mb on mem, will 
also mem be taken from the inactive part and discard the cache?
Some ppl only look at how much free mem is available on their system and 
then sound the alarm, however, shouldnt they add inactive and free 
together in order to see how much mem can be used for newly used programs 
(which didnt run before?).
Bye,

Mipam. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PopTop (pptp) and DHCP Server

2004-08-17 Thread Michel Schwab
Hi,

I have a question and how a can sovled my problem.

Installed form the Port:
- POPTOP
- DHCP Server

Now, i have a external connection with PPTP (poptop) in the freebsd i
see tun0 active, that very good.
But now send the end of the tunnel hardware (a AccessPoint whith dhcp
relay) DHCP Request over the Tunnel, but nothing will be answerd.

For me it's clear, that the DHCP Server listing only on the Hardware
Interface but not on a virtuel Tunnel (tun0).
When i start dhcpd manuell with -  dhcpd tun0 will not work

Have everyone a quick/dirty solution for this?

Many thanks
Michel

PS: Sorry for my bad english

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: memory usage question

2004-08-17 Thread Matthew Seaman
On Tue, Aug 17, 2004 at 03:39:40PM +0200, Mipam wrote:

 I have a question about usage of memory.
 Despite the well documented articles about it some things are still
 unclear. In top we see memory devided in several items:


Try this article, buy the guy who wrote some very large chunks of the
VM system:

http://www.daemonnews.org/21/freebsd_vm.html

As for the meaning of the different labels top(1) shows attached to
memory sizes: those indicate a sequence of memory caches for different
age levels of pages.  Note that the system doesn't overwrite cached
pages on a timed basis, but rather picks the oldest unused memory to
recycle as and when some other application requests it.  Stuff can
stay in the memory caches for a very long time on a quiet system.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpJznDRYHpps.pgp
Description: PGP signature


additional fonts in x11

2004-08-17 Thread Dino Vliet
Can anyone tell me where I can find these fonts:
-adobe-helvetica-medium-o-normal--*-120-*-*
-adobe-helvetica-medium-r-normal--*-120-*-*
I need them because gnucash 1.8.8 won't start and
complaints about them.

Brgds
Dino Vliet



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


additional fonts in x11

2004-08-17 Thread Dino Vliet
Can anyone tell me where I can find these fonts:
-adobe-helvetica-medium-o-normal--*-120-*-*
-adobe-helvetica-medium-r-normal--*-120-*-*
I need them because gnucash 1.8.8 won't start and
complaints about them. I'm using freebsd version 4.10.


Brgds
Dino Vliet



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using ttys to restart a process

2004-08-17 Thread Richard P. Williamson
Hello,

4.10-RELEASE

According to ttys(5) and init(8), init will restart a process if it
is found in ttys.  I can not find, however, an example syntax for
doing just that.

Say I have a process called /usr/bin/sleeploop

# is this how it works?
sleeper /usr/bin/sleeploop -q 3000 none on insecure

?  Then, if I killall -s HUP sleeploop, it should 'magically reappear,
as if by magic', right?

Loath to have a go on this on the running system, on the off chance 
that I end up by breaking the boot sequence.

TIA,
rip

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum in -CURRENT (was: Vinum panic on boot)

2004-08-17 Thread Charles Ulrich
Greg 'groggy' Lehey said:
 The current status of Vinum in -CURRENT is that it is being
 rewritten.  The introduction of the GEOM layer has badly broken Vinum,
 and it has been decided better to rewrite it than to fix it.  It'll be
 a while before it's smooth again.

This would be a good note to put somewhere obvious such as the 5.x-RELEASE
errata. I too had been trying to get Vinum to work in -CURRENT. Vinum is an
important part of FreeBSD for some people and there's likely going to be a lot
of people trying to test it out as 5.x approaches STABLE.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Syslog-ng questions

2004-08-17 Thread Ronnie Clark
Hello all, 

I am trying to build a FreeBSD syslog server for
multiple systems to write to. I have loaded sysog-ng
from ports, and I noticed that in my /var/log/messages
I see the following:
Aug 17 09:34:15 rc-bsd syslog-ng[424]: io.c: do_write:
write() failed (errno 32), Broken pipe
Aug 17 09:34:15 rc-bsd syslog-ng[424]:
pkt_buffer::do_flush(): Error flushing data
Aug 17 09:34:15 rc-bsd syslog-ng[424]: Garbage
collecting while idle...
Aug 17 09:34:15 rc-bsd syslog-ng[424]: Objects alive:
200, garbage collected: 0

Is there an issue with this broken pipe? Anyone else
seeing this issue?

Thanks in advance,
Ron Clark


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hard links for directories ?

2004-08-17 Thread David Kelly
On Aug 17, 2004, at 12:24 AM, Greg 'groggy' Lehey wrote:
On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote:
This may be a stupid question, but is it possible to make hard links 
to
directories ??? I know you can with files, and normally, you would do 
a
soft link for directories, but is there any way to finagle this ?
Sure, there are ways.  But why would you want to?
A link to a directory makes it a subdirectory of the directory
containing the link.  If you have two links to a directory, where
should the directory's .. link point?  How would fsck know what to do?
Root is the only one allowed to make hard links to directories. As Greg 
says, How would fsck know which is the correct parent directory? 
Directories have only one parent. If a directory were to have two 
parents then you'd break the tree structure of the directory hierarchy. 
You would create a loop in the tree branches which would place 
utilities such as find in an infinite loop.

A symbolic link works just as well and is an obvious signpost to find, 
fsck, tar, etc...

--
David Kelly N4HHE, [EMAIL PROTECTED]

Top posters will not be shown the honor of a reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA drive bootable ???

2004-08-17 Thread K. Greenwood

--- Peter Ulrich Kruppa [EMAIL PROTECTED] wrote:

 Hi!
 
 I just started playing around with my new SATA disk
 (with SATA 
 150 TX2plus controller on -CURRENT). I can mount and
 format it 
 all-right.
 
 Is it generally posssible to boot from such a disk
 (different 
 question would be if it made sense to do so)?
 My SATA drive is recognized as ata2-master.

snipped

Well, I was kinda hoping someone else would come up
with an answer.  I kinda prefer to lurk (something
about opening one's mouth and removing doubt...).

In the past, I have forgotten to set external
controller's to be bootable.  Perhaps you need to set
either scsi or mass storage device bootable before
hd/cd/floppy/whatever.

Good luck.





__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to increase scrollback for FreeBSD-4.10

2004-08-17 Thread Mike
stheg olloydson wrote:
you said:

I have a FBSD-4.10 system that I log into using PuTTY (on a Win2K 
workstation).  I am able to set PuTTY's  scrollback to 1200 lines.

Hello,
Unfortunately, I do not have a solution to your problem. I just wanted
to pass along some information concerning PuTTY from a security news
letter to which I subscribe:

04.31.4 CVE: Not Available
Platform: Third Party Windows Apps
Title: PuTTY Remote Buffer Overflow
Description: PuTTY is a free Telnet and SSH client. It has been
reported that PuTTY is subject to a pre-authentication buffer overflow
that can allow malicious servers to execute code on a client machine
as it attempts to negotiate connection. PuTTY 0.54 and previous
versions are vulnerable.
Ref:
http://www.coresecurity.com/common/showdoc.php?idx=417idxseccion=10 

Note that the URL may have wrapped.
Regards,
Stheg
Stehg
Thanks for the security note/update on putty!  I'm using version 5.5 now.
Michael



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


logins

2004-08-17 Thread Mark
I've beend getting the sshd login attempts, like everyone else so I've been 
watching the logs close, this is the first time to see this item in /var/log/messages. 
Aug 14 04:15:00 chillico su: _secure_path: /nonexistent/.login_conf is not owned by 
uid 65534
I've looked in the passwd file and groups, there is not a uid of 65534 listed.
I installed rsync last week to backup some windows computers during the weekend, this 
would have been
during one of the backups, but the other five would have triggered the same msg, just 
thinking outloud here.

Any idea what would have made this entry?? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: logins

2004-08-17 Thread Lowell Gilbert
Mark [EMAIL PROTECTED] writes:

 I've beend getting the sshd login attempts, like everyone else so I've been 
 watching the logs close, this is the first time to see this item in 
 /var/log/messages. 
 Aug 14 04:15:00 chillico su: _secure_path: /nonexistent/.login_conf is not owned by 
 uid 65534

The machine doesn't have a '/nonexistent/' directory, does it?  
It is important security-wise that such a directory must *not* exist.

 I've looked in the passwd file and groups, there is not a uid of 65534 listed.

There *should* be; it's nobody.  And it shouldn't be in the wheel group.

 I installed rsync last week to backup some windows computers during the weekend, 
 this would have been
 during one of the backups, but the other five would have triggered the same msg, 
 just thinking outloud here.

Unless /nonexistent got created during the process...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: web-serving does not update a file's atime?

2004-08-17 Thread Nathan Kinkade
On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
 Hello!
 
 I tried to use stat(1) to see the last time a file was downloaded
 through Apache.
 
 To my surprise, all three dates displayed by stat are long ago, even
 though the web-server's log is showing downloads from a just a few
 hours back.
 
 The file-system used to be mounted noatime, but I turned that option
 off some time ago. If I read one of those files (with head(1) or
 file(1), for example), the atime is updated. But if Apache serves it
 out -- it is not... There is no caching in Apache either.
 
 Any ideas? Thanks!
 
   -mi

Is this all running on your local machine?  If not, is it possible that
there is a proxy server between you and the host running Apache?
Perhaps a transparent proxy?

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpZ4vt5sufpG.pgp
Description: PGP signature


hosts.allow Question

2004-08-17 Thread Long Story
Hello everyone,
   Because of the MASS failure tries to connect to my server using random 
passwords
   I decided to allow only my IP to access the server.

  I didnot do this before cuz i was worried this restriction will effect 
any services running..

   a question:
   If i change hosts.allow to accept only my ip adrs and next line is ALL : 
ALL : deny
   is this will effect any performance? such as webmail, smtp or other 
connections/services?
   After fixing those lines, I used the webMail to send mail, then an SMTP 
error came saying
   (access denied) hmm any hint?

   Example (The IP is an Example):
   ALL : 192.168.0. : allow
   ALL : ALL : deny
   One more stupid question.
   If i want to allow a whole class of ips, shall i write as
   ALL : 192.168.0.* : allow(using the star)
   OR
   ALL : 192.168.0. : allow  (leave it empty)
   Thanks for the help.
   Marwan.
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hosts.allow Question

2004-08-17 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Long Story wrote:
| Hello everyone,
|
|Because of the MASS failure tries to connect to my server using
| random passwords
|I decided to allow only my IP to access the server.
http://www.die.net/doc/linux/man/man5/hosts.allow.5.html
- --
Siddhartha Jain (CISSP)
Consulting Engineer
Netmagic Solutions Pvt Ltd
Bombay - 400063
Phone: +91-22-26850001 Ext.128
Fax  : +91-22-26850002
http://www.netmagicsolutions.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIiUDOGaxOP7knVwRAtiQAJsEwRrkHHHpP40dauJxv7eUPduKVQCgi/RZ
TGzrLReOco2hhbo4L52Pu78=
=UDqD
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hard links for directories ?

2004-08-17 Thread Tim Traver
Greg,
Well, specifically, I'm trying to link some directories inside a chrooted 
environment...

THe filesystem also happens to be an nfs mounted one, so I know the files 
to be linked would have to be on the same volume, and separate systems deal 
with the filesystem integrity (NetApp)...

So, how would you do this kind of thing ?
Tim.
At 10:24 PM 8/16/2004, Greg 'groggy' Lehey wrote:
On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote:
 Hi all,

 This may be a stupid question, but is it possible to make hard links to
 directories ??? I know you can with files, and normally, you would do a
 soft link for directories, but is there any way to finagle this ?
Sure, there are ways.  But why would you want to?
A link to a directory makes it a subdirectory of the directory
containing the link.  If you have two links to a directory, where
should the directory's .. link point?  How would fsck know what to do?
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.

SimpleNet's Back !
http://www.simplenet.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xtset or xtermset tricks?

2004-08-17 Thread Duane Winner
Hello,
Hey, does anybody know of any useful tricks for automating xtset or 
xtermset?

I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can 
keep track of my xterms littered all over my desktop (pretty frequent! :)

But it sure would be nice to have them updated whenever I 'cd' to 
another directory or 'su' to another user or 'ssh' to another host!

I'm sure there's got to be someway to make this a little more seamless 
then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough 
with shell programming to know how to do this.

The closest I came was writing a small bash script that does:
   for filename in /dev/ttyp*; do
  /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`  $filename
   done
And thought about cron'ing it (every minute), but the problem is that 
when I tested this, all my xterms get the same title/icon based on who 
is running the script and where at the time. No good :(
(And of course this would be useless to update the titles/icons for 
xterms that are remote shells (ssh).

Any thoughts?
Thanks!
Duane
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PCI ADSL Modems

2004-08-17 Thread Jason Taylor
On Mon, 16 Aug 2004 21:05:44 +0100, Gary Edwards
[EMAIL PROTECTED] wrote:
 I was wondering what PCI modems FreeBSD supports.  I have followed the
 hardware link on the web site but could not find a supplier to the UK.
 I was wondering if the ADSL PCI Conexant Chipset was supported.

An external standalone ethernet based ADSL router can be bought for
£30 or so and you will have no interoperability problems with FreeBSD
or any other operating system that supports ethernet.

Even for a single machine setup the ethernet option is usually
superior to USB or an internal card, having no driver problems and a
few additional security benefits.

Jason.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: logins

2004-08-17 Thread Mark
On Tue, Aug 17, 2004 at 11:17:46AM -0400, Lowell Gilbert wrote:
 Mark [EMAIL PROTECTED] writes:
 
  I've beend getting the sshd login attempts, like everyone else so I've been 
  watching the logs close, this is the first time to see this item in 
  /var/log/messages. 
  Aug 14 04:15:00 chillico su: _secure_path: /nonexistent/.login_conf is not owned 
  by uid 65534
 
 The machine doesn't have a '/nonexistent/' directory, does it?  
 It is important security-wise that such a directory must *not* exist.

 It was there but is now gone. 
 
  I've looked in the passwd file and groups, there is not a uid of 65534 listed.
 
 There *should* be; it's nobody.  And it shouldn't be in the wheel group.

 You are right nobody does have that uid and it's not in the wheel group.
 
  I installed rsync last week to backup some windows computers during the weekend, 
  this would have been
  during one of the backups, but the other five would have triggered the same msg, 
  just thinking outloud here.
 
 Unless /nonexistent got created during the process...

thanks, After deleteing the nonexistent dir, I thought about the creation date and 
time stamp. =( 



__
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Harddrive beginning to expire?

2004-08-17 Thread doug
Hello,

I'm seeing this entry in my /var/log/messages approx. every three hours:

Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold exceeded 
field replaceable unit: 1
Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold exceeded 
field replaceable unit: 1

This 4.9-STABLE box is running 7 SCSI drives in a vinum stripped array.
Question, is this the beginning of the end for drive da5?

-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| Hello,
|
| I'm seeing this entry in my /var/log/messages approx. every three hours:
|
| Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1
f9 a 0
| Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
| Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): Failure prediction
threshold exceeded field replaceable unit: 1
| Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1
f9 a 0
| Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
| Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): Failure prediction
threshold exceeded field replaceable unit: 1
|
| This 4.9-STABLE box is running 7 SCSI drives in a vinum stripped array.
| Question, is this the beginning of the end for drive da5?
|
If the setup has been working error free ealier and the errors have
started coming up recently then it looks like you have a disk that needs
replacement.
- --
Siddhartha Jain (CISSP)
Consulting Engineer
Netmagic Solutions Pvt Ltd
Bombay - 400063
Phone: +91-22-26850001 Ext.128
Fax  : +91-22-26850002
http://www.netmagicsolutions.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIizOOGaxOP7knVwRAnR1AJ4ictuNJr7WL86dbouCmSvY4dqgrACfSMy1
Cr8sSc2xp8A2WKSmjEZ5qes=
=QZT+
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread Dan Nelson
In the last episode (Aug 17), [EMAIL PROTECTED] said:
 I'm seeing this entry in my /var/log/messages approx. every three hours:
 
 Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
 Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
 Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
 exceeded field replaceable unit: 1
 Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
 Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
 Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
 exceeded field replaceable unit: 1
 
 This 4.9-STABLE box is running 7 SCSI drives in a vinum stripped array.
 Question, is this the beginning of the end for drive da5?

It probably still has some life left in it.  It looks like you don't
have automatic write reallocation enabled, since the block number is
the same on both requests.  You can enable it by running camcontrol
mode da5 -e -m 1 -P 3, and setting AWRE to 1.  That will let the drive
remap that disk block to a spare one.  You can monitor how many blocks
have been reallocated by viewing the grown defect list: camcontrol
defects da5 -f phys -G.  If you use -P instead of -G, you can see the
primary defect list, which is a list of all the bad blocks found when
the disk was shipped.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samsung Cordless Mouse

2004-08-17 Thread Sean Farley
On Tue, 17 Aug 2004, Greg 'groggy' Lehey wrote:
This mouse has five buttons: the normal three on top, and one on each
side.  I can't find a way to get the side buttons to work, and looking
on the web hasn't shown anything of interest.
I assume you mean in X as opposed to moused although moused appears to
support at least five buttons according to its man page.  This may help
with your X issues:  http://www.xfree86.org/current/mouse5.html#22
Sean
---
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA drive bootable ???

2004-08-17 Thread Benjamin Sobotta
Hi

I don't know about the controller but in general this should work. Just make 
proper adjustments in your BIOS. I'm booting FreeBSD from an SATA RAID0. 
Works perfectly fine.

Cheers,

Ben

On Tuesday 17 August 2004 07:53, Peter Ulrich Kruppa wrote:
 Hi!

 I just started playing around with my new SATA disk (with SATA
 150 TX2plus controller on -CURRENT). I can mount and format it
 all-right.

 Is it generally posssible to boot from such a disk (different
 question would be if it made sense to do so)?
 My SATA drive is recognized as ata2-master.

 Thanks,

 Uli.


   +---+

   |Peter Ulrich Kruppa|
   |
  | Wuppertal |
  |  Germany  |

  +---+
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xtset or xtermset tricks?

2004-08-17 Thread Duane Winner
Found a solution!
In ~/.bashrc, put this:
cd ()
{
   builtin cd $@
   /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
}

-Duane
Duane Winner wrote:
Hello,
Hey, does anybody know of any useful tricks for automating xtset or 
xtermset?

I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can 
keep track of my xterms littered all over my desktop (pretty frequent! :)

But it sure would be nice to have them updated whenever I 'cd' to 
another directory or 'su' to another user or 'ssh' to another host!

I'm sure there's got to be someway to make this a little more seamless 
then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough 
with shell programming to know how to do this.

The closest I came was writing a small bash script that does:
   for filename in /dev/ttyp*; do
  /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`  $filename
   done
And thought about cron'ing it (every minute), but the problem is that 
when I tested this, all my xterms get the same title/icon based on who 
is running the script and where at the time. No good :(
(And of course this would be useless to update the titles/icons for 
xterms that are remote shells (ssh).

Any thoughts?
Thanks!
Duane
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: web-serving does not update a file's atime?

2004-08-17 Thread Mikhail Teterin
Nathan Kinkade wrote:
On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
 

Hello!
I tried to use stat(1) to see the last time a file was downloaded
through Apache.
To my surprise, all three dates displayed by stat are long ago, even
though the web-server's log is showing downloads from a just a few
hours back.
The file-system used to be mounted noatime, but I turned that option
off some time ago. If I read one of those files (with head(1) or
file(1), for example), the atime is updated. But if Apache serves it
out -- it is not... There is no caching in Apache either.
   

Is this all running on your local machine?  If not, is it possible that
there is a proxy server between you and the host running Apache?
Perhaps a transparent proxy?
 

There are not other servers and no proxies. The locally running apache logs
successful requests for the files, but their atimes are not updated.
Just checked -- the file was last downloaded 13 minutes ago, but  all of
the three time-stamps (according to stat(1)) point to many hours back...
Thanks!
   -mi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread doug
On Tue, Aug 17, 2004 at 09:35:34PM +0530, Siddhartha Jain wrote:
 [EMAIL PROTECTED] wrote:
  
  I'm seeing this entry in my /var/log/messages approx. every three hours:
 
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1  f9 a 0
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
  exceeded field replaceable unit: 1
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
  exceeded field replaceable unit: 1
  
  This 4.9-STABLE box is running 7 SCSI drives in a vinum stripped array.
  Question, is this the beginning of the end for drive da5?
 
  
 If the setup has been working error free ealier and the errors have
 started coming up recently then it looks like you have a disk that needs
 replacement.
 
This system has been running since April 14, 2001 with one glitch in May
2004.  I'd have to dig up the logs to see what that was.  I started
getting these messages on August 10th.

-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread doug
On Tue, Aug 17, 2004 at 11:08:19AM -0500, Dan Nelson wrote:
 In the last episode (Aug 17), [EMAIL PROTECTED] said:
  I'm seeing this entry in my /var/log/messages approx. every three hours:
  
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
  Aug 17 06:09:07 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
  exceeded field replaceable unit: 1
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 0
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): RECOVERED ERROR asc:5d,0
  Aug 17 09:28:52 judea /kernel: (da5:ahc0:0:5:0): Failure prediction threshold 
  exceeded field replaceable unit: 1
  
  This 4.9-STABLE box is running 7 SCSI drives in a vinum stripped array.
  Question, is this the beginning of the end for drive da5?
 
 It probably still has some life left in it.  It looks like you don't
 have automatic write reallocation enabled, since the block number is
 the same on both requests.  You can enable it by running camcontrol
 mode da5 -e -m 1 -P 3, and setting AWRE to 1.  That will let the drive
 remap that disk block to a spare one.  You can monitor how many blocks
 have been reallocated by viewing the grown defect list: camcontrol
 defects da5 -f phys -G.  If you use -P instead of -G, you can see the
 primary defect list, which is a list of all the bad blocks found when
 the disk was shipped.
 
Great!  Am I correct in assuming that these commands should be
issued in single user mode with the vinum volume not mounted?


-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xtset or xtermset tricks?

2004-08-17 Thread Gary Kline
On Tue, Aug 17, 2004 at 12:41:02PM -0400, Duane Winner wrote:
 Found a solution!
 
 In ~/.bashrc, put this:
 
 cd ()
 {
builtin cd $@
/usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
 }
 
 
 
 -Duane
 
 
 Duane Winner wrote:
 Hello,
 
 Hey, does anybody know of any useful tricks for automating xtset or 
 xtermset?
 
 I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can 
 keep track of my xterms littered all over my desktop (pretty frequent! :)
 
 But it sure would be nice to have them updated whenever I 'cd' to 
 another directory or 'su' to another user or 'ssh' to another host!
 

[ ... ]


I've got a slight problem with having the host/directory/etc on the
title bar. It will help clear my zsh right-prompt, of course.
But how do you set the title bar *back* to the name of the xterm?
(My xterms are titled Mail, Net, Hacking, Scratch, and so
forth.)  Is there a way of using xtset/xtermset to retrieve the
-n Name??

thanks,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Prelude-IDS questions

2004-08-17 Thread Pratt, Benjamin E.
I've been wanting to get Prelude-IDS up and running for a while but just
haven't had/made the time to do so until now.  I was going through the
documentation at http://www.prelude-ids.org/article.php3?id_article=6
and they make a couple of references that I have some questions about...

1) They reference prelude-php-frontend but that doesn't exist in the
ports tree anywhere.  I can't find the package on their page either.
Does anyone have any experience with it??  If not I'll contact the
Prelude-IDS developers to get more info. 

2) They also reference a prelude-manager-db-create.sh script located in
the prelude-manager directory but I'm not seeing the script.  It looks
like the only thing it does (according to the documentation) is create a
DB in mySQL, create a user and give the user permissions but I'm
wondering if there is something else that is being done.

I'd appreciate any help from anyone with experience out there.

Also, the prelude-ids port is listed as maintained by [EMAIL PROTECTED]
and I was wondering what protocol is for contacting that address??  Do I
just e-mail the address or should I contact the list first??

Thanks,

Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread Dan Nelson
In the last episode (Aug 17), [EMAIL PROTECTED] said:
 On Tue, Aug 17, 2004 at 11:08:19AM -0500, Dan Nelson wrote:
  It probably still has some life left in it.  It looks like you
  don't have automatic write reallocation enabled, since the block
  number is the same on both requests.  You can enable it by running
  camcontrol mode da5 -e -m 1 -P 3, and setting AWRE to 1.  That
  will let the drive remap that disk block to a spare one.  You can
  monitor how many blocks have been reallocated by viewing the grown
  defect list: camcontrol defects da5 -f phys -G.  If you use -P
  instead of -G, you can see the primary defect list, which is a list
  of all the bad blocks found when the disk was shipped.

 Great!  Am I correct in assuming that these commands should be issued
 in single user mode with the vinum volume not mounted?

You can run them at any time.  The AWRE change should be immediate, and
the defects command is just a status inquiry and won't affect anything.

Some drives don't update the current settings until the drive is reset,
so if camcontrol mode da5 -m 1 -P 0 shows AWRE at 0 while -P 3
shows it at 1, you may need to reset the drive (camcontrol reset da5
with the vinum volume dismounted, or a power-cycle).

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xtset or xtermset tricks?

2004-08-17 Thread Duane Winner
This is a little better:
cd ()
{
# do the actual cd
builtin cd $@
# if in homedir, then make path '~', not full path
if [ $PWD == $HOME ]; then
XTDIR=~
else
XTDIR=$PWD
fi
# set xtset title and icon to [EMAIL PROTECTED]:path
/usr/local/bin/xtset [EMAIL PROTECTED]:`echo $XTDIR`
}
# force an xtset title at shell login:
cd
-Duane

Duane Winner wrote:
Found a solution!
In ~/.bashrc, put this:
cd ()
{
   builtin cd $@
   /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
}

-Duane
Duane Winner wrote:
Hello,
Hey, does anybody know of any useful tricks for automating xtset or 
xtermset?

I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I 
can keep track of my xterms littered all over my desktop (pretty 
frequent! :)

But it sure would be nice to have them updated whenever I 'cd' to 
another directory or 'su' to another user or 'ssh' to another host!

I'm sure there's got to be someway to make this a little more seamless 
then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good 
enough with shell programming to know how to do this.

The closest I came was writing a small bash script that does:
   for filename in /dev/ttyp*; do
  /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`  $filename
   done
And thought about cron'ing it (every minute), but the problem is that 
when I tested this, all my xterms get the same title/icon based on who 
is running the script and where at the time. No good :(
(And of course this would be useless to update the titles/icons for 
xterms that are remote shells (ssh).

Any thoughts?
Thanks!
Duane
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread doug
On Tue, Aug 17, 2004 at 12:04:15PM -0500, Dan Nelson wrote:
 
 You can run them at any time.  The AWRE change should be immediate, and
 the defects command is just a status inquiry and won't affect anything.
 
 Some drives don't update the current settings until the drive is reset,
 so if camcontrol mode da5 -m 1 -P 0 shows AWRE at 0 while -P 3
 shows it at 1, you may need to reset the drive (camcontrol reset da5
 with the vinum volume dismounted, or a power-cycle).
 
Very good.  Thank's for your help Dan.

-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X configuration problem

2004-08-17 Thread Jay O'Brien
Luke Kearney wrote:

 On Tue, 17 Aug 2004 01:31:30 -0700
 Jay O'Brien [EMAIL PROTECTED] spake thus:
 
 
Initial 4.10 installation. Trying to configure XFree86.
from /stand/sysinstall, select Configure | XFree86. 

I THINK I've tried every possible combination. I couldn't 
use the Fully graphical XFree86 configuration tool as 
the graphic was partially off-screen and the monitor was 
out of range. I used the textmode tool and the shell-
script tool, settling on the shell-script tool. After 
agreeing that it should write /etc/X11/XF86, and selecting 
a desktop to use, many different attempts all result in 
this error:

Error mounting /dev/acd0c on /dist: Input/output error (5)

And the next screen is:

An error occurred while adding the package(s) required by 
this desktop type. Please change installation media and/or 
select a different, perhaps simpler, desktop environment 
and try again.

I don't find a /etc/X11/ directory, much less a XF86 file.

Video card is ati XPERT 98, monitor is 1280x1024 LCD.

A suggestion for what to try next?

Jay O'Brien
Rio Linda, CA USA
 
 
 Yes, download and burn yourself another install disk or change the media
 source in the install screen and then make it download the sources from
 the internet. Sounds like you've got bad media rather than a config that
 can't be done. 
 
 HTH
 
 LukeK
 
Ok, I did as you suggested and I'm presently getting stuff via ftp. It 
looks like it will be downloading all day. I thought the ISO image CD 
would avoid this; what is all the stuff that is downloading? Isn't there 
a way to just replace the XF86 stuff that may be bad?  Where are all 
these files going, and why do I need to download them all? Once this is 
done, will I have to do it all over again when I rebuild again from 
scratch, or is there a way, like on the CD, that I can store just those 
files I need?  There's got to be a better way!

Jay




 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread doug
On Tue, Aug 17, 2004 at 12:04:15PM -0500, Dan Nelson wrote:
 You can run them at any time.  The AWRE change should be immediate, and
 the defects command is just a status inquiry and won't affect anything.
 
 Some drives don't update the current settings until the drive is reset,
 so if camcontrol mode da5 -m 1 -P 0 shows AWRE at 0 while -P 3
 shows it at 1, you may need to reset the drive (camcontrol reset da5
 with the vinum volume dismounted, or a power-cycle).
 
Curious, both camcontrol commands show:

AWRE (Auto Write Reallocation Enbld):  1

So it would appear that AWRE has been enabled all along.  Here's a
unique list (and count) of the errors since 10 Aug:

   1 (da5:ahc0:0:5:0): READ(06). CDB: 8 10 9a 99 70 
  43 (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 
   1 (da5:ahc0:0:5:0): WRITE(06). CDB: a 10 1b 39 10 
   1 (da5:ahc0:0:5:0): WRITE(10). CDB: 2a 0 0 21 7d 19 0 0 10 
   1 (da5:ahc0:0:5:0): WRITE(10). CDB: 2a 0 0 21 7d f9 0 0 20 
   1 (da5:ahc0:0:5:0): WRITE(10). CDB: 2a 0 0 21 7e 75 0 0 4 
   1 (da5:ahc0:0:5:0): WRITE(10). CDB: 2a 0 0 2f 87 e9 0 0 10 

Is that meaningful?

-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for commercial code gone open source

2004-08-17 Thread Chad Leigh -- Shire.Net LLC
Jonathon McKitrick wrote:
Does anyone know where there are any web-accessible examples of large 
or
medium sized commercial software products that have been open sourced?

I'd like to see some examples of code that were not written from the
beginning with the intention of being open source.
jm
Apple's Darwin OS probably qualifies...  Came from NextStep / OpenStep 
(commercial)...  While lots of it itself comes from opensource (BSD 
land etc), there were significant changes / updates in its commercial 
version (like netinfo etc)

Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 802.1x

2004-08-17 Thread Cubicool
I'm not trying to offend anyone by bumping this, but I'm actually pretty
desperate to know what the status is. Surely I'm not the only person to need
802.1x authentication over wireless on a FreeBSD box? :)

Anyways, again, sorry for the bumpage, but I have another complete day off
and if I can find out that FreeBSD doesn't support it yet, I'm going to try
and spend this time finding an alternative solution. If, however, support
will be added soon, I won't reformat and I'll just go without net access for
a while at school.

Regards...

(original message below, sent about 15hrs ago)

-

I will be attending college in a few weeks. The network at this uni requires
802.1x authentication over wireless connections. I've scoured google all
over and discovered Open1x--which has openly dropped all BSD support
--and a guy who has ported Open1x, but only on wired connections. I'm a
decent programmer in some regards, but not so much C/system code, so it's
not like I could just make the neccesary adjustments and recompile. :)

Is 802.1x supported on FreeBSD yet? I know I can build open1x on a Linux
box, but that is my ABSOLUTE LATE resort. I really want to keep using
FreeBSD, but if I can't access the school's network I won't be able to
continue doing so.

What's the status of this in FreeBSD, including the upcoming 5.3? Am I just
out of luck?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Prelude-IDS questions

2004-08-17 Thread Bob Tito
Pratt, Benjamin E. wrote:
I've been wanting to get Prelude-IDS up and running for a while but just
haven't had/made the time to do so until now.  I was going through the
documentation at http://www.prelude-ids.org/article.php3?id_article=6
and they make a couple of references that I have some questions about...
1) They reference prelude-php-frontend but that doesn't exist in the
ports tree anywhere.  I can't find the package on their page either.
Does anyone have any experience with it??  If not I'll contact the
Prelude-IDS developers to get more info. 
try looking for prelude PIWI, AFAIK that is the frontend...
Bob.
2) They also reference a prelude-manager-db-create.sh script located in
the prelude-manager directory but I'm not seeing the script.  It looks
like the only thing it does (according to the documentation) is create a
DB in mySQL, create a user and give the user permissions but I'm
wondering if there is something else that is being done.
I'd appreciate any help from anyone with experience out there.
Also, the prelude-ids port is listed as maintained by [EMAIL PROTECTED]
and I was wondering what protocol is for contacting that address??  Do I
just e-mail the address or should I contact the list first??
Thanks,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread Dan Nelson
In the last episode (Aug 17), [EMAIL PROTECTED] said:
 On Tue, Aug 17, 2004 at 12:04:15PM -0500, Dan Nelson wrote:
  You can run them at any time.  The AWRE change should be immediate, and
  the defects command is just a status inquiry and won't affect anything.
  
  Some drives don't update the current settings until the drive is reset,
  so if camcontrol mode da5 -m 1 -P 0 shows AWRE at 0 while -P 3
  shows it at 1, you may need to reset the drive (camcontrol reset da5
  with the vinum volume dismounted, or a power-cycle).
  
 Curious, both camcontrol commands show:
 
   AWRE (Auto Write Reallocation Enbld):  1
 
 So it would appear that AWRE has been enabled all along.  Here's a
 unique list (and count) of the errors since 10 Aug:

Strange.
 
   43 (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 

This is the block you have to be worried about.  It's definitely either
a file or metadata that gets modified a lot.  If the drive isn't
reallocating the block, it may be easier to just replace it.  SCSI
drives usually have a 5-year warranty, so check the vendor's site and
see if you can get them to replace it.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about natd and ipfw

2004-08-17 Thread tryout.chen
I got a problem about  4 net-interfaces : 3 are for DSL ISP services and one for my 
own local network, can i achieve that a local network user could make choice of which 
ISP providers he prefered to and needn't renew for his network configuration by using 
natd+ipfw or ipfilter or..??.
ps.all of the ISP services are existing together, not  like if one is down and one 
would be up.
Thanks so much for reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Harddrive beginning to expire?

2004-08-17 Thread doug
On Tue, Aug 17, 2004 at 01:06:33PM -0500, Dan Nelson wrote:
 In the last episode (Aug 17), [EMAIL PROTECTED] said:
  On Tue, Aug 17, 2004 at 12:04:15PM -0500, Dan Nelson wrote:
   You can run them at any time.  The AWRE change should be immediate, and
   the defects command is just a status inquiry and won't affect anything.
   
   Some drives don't update the current settings until the drive is reset,
   so if camcontrol mode da5 -m 1 -P 0 shows AWRE at 0 while -P 3
   shows it at 1, you may need to reset the drive (camcontrol reset da5
   with the vinum volume dismounted, or a power-cycle).
   
  Curious, both camcontrol commands show:
  
  AWRE (Auto Write Reallocation Enbld):  1
  
  So it would appear that AWRE has been enabled all along.  Here's a
  unique list (and count) of the errors since 10 Aug:
 
 Strange.
  
43 (da5:ahc0:0:5:0): WRITE(06). CDB: a 0 1 f9 a 
 
 This is the block you have to be worried about.  It's definitely either
 a file or metadata that gets modified a lot.  If the drive isn't
 reallocating the block, it may be easier to just replace it.  SCSI
 drives usually have a 5-year warranty, so check the vendor's site and
 see if you can get them to replace it.
 
Thanks Dan... I think the drives in this array are about 14 years old so
I doubt IBM will honor the warranty :)  Certainly have got my money's
worth, however.

-- 
Regards,
Doug
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: compile + distfiles

2004-08-17 Thread HYVERNAT Philippe
On Mon, Jul 26, 2004 at 01:51:50PM -0600, HYVERNAT Philippe wrote:
/ /
/ I  run on freebsd 4.10 and i want to install Java, but cos to the/
/ licence restriction i must download it and place into/
/ /usr/ports//distfiles/
/ /
/ I move it into this directory, but when i compile again, the make file/
/ doesn't find it in /usr/ports/distfiles it's the same spelling./
The JDK14 port actually requires more than one file to be moved into the
distfiles directory.  It will prompt you for them one at a time.  The
spelling looks very similar but is in fact different.  Verify that the
port is not actually asking you for a different file.
--
Danny MacMillan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Hello,
The problem is that the file in my distfiles and the file asked is exactly the same 
without different spelling, and i put the patch in distfiles but the error occure.
Please help me thanks a lot

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error after installing cyrus-sasl2-saslauthd

2004-08-17 Thread Alex Thomas
Trying to inststall cyrus-sasl2-saslauthd on Fresh 4.10-Release machine. 
Did make WITH_BDB_VER=42 install clean

After that gets done with no errors, console and syslog pop up with this 
error

saslpasswd2:error deleting entry from sasldb: DBNOTFOUND: No matching 
key/data pair found

Trying to get this working as part of following cdr(from bsdforums.org) 
Postfix/Cyrus-sasl-cyrus-imap howto.

Thanks for the help
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 802.1x

2004-08-17 Thread Jon Drews
Hello Cubicool:

 The only thing I can think of is this book on WiFi security:
http://www.oreilly.com/catalog/80211security/desc.html

You might want to look at /usr/ports/net-mgmt/bsd-airtools

The home page is here
http://www.dachb0den.com/projects/bsd-airtools.html


On Tue, 17 Aug 2004 01:55:10 -0700, Cubicool [EMAIL PROTECTED] wrote:
  Surely I'm not the only person to need
 802.1x authentication over wireless on a FreeBSD box? :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error after installing cyrus-sasl2-saslauthd

2004-08-17 Thread Paul Schmehl
--On Tuesday, August 17, 2004 03:03:51 PM -0500 Alex Thomas 
[EMAIL PROTECTED] wrote:

Trying to inststall cyrus-sasl2-saslauthd on Fresh 4.10-Release machine.
Did make WITH_BDB_VER=42 install clean
After that gets done with no errors, console and syslog pop up with this
error
saslpasswd2:error deleting entry from sasldb: DBNOTFOUND: No matching
key/data pair found
Were there any key/data pairs in the sasldb2 database?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BTX Halted from 5.2.1 CD, MS-9211 1U Rackmount Server

2004-08-17 Thread j snod
As soon as my machine boots off the CD, I get a memory dump of some sort 
followed by BTX Halted ...

Boot from CD: CD Loader 1.01
Building the boot loader arguments
Looking up /BOOT/LOADER... Found
Relocating the loader and the BTX
Starting the BTX loader
BTX loader 1.00 BTX version is 1.01
Console: internal video/keyboard
BIOS CD is cd0
int=000d  err=  efl=00030046  eip=9066
eax=00f8  ebx=2820  ecx=  edx=08ee
esi=9701  edi=1f98  ebp=00a0  esp=1800
cs=  ds=  es=fs=  gs=  ss=
cs:eip=0f 01 1e d6 96 0f 01 16-d0 96 0f 20 c0 66 83 c8
   01 0f 22 c0 ea 7f 90 08-00 31 c9 b1 10 8e d1 b1
ss:esp=0a 69 6e 74 3d 30 30 30-30 30 30 30 64 20 20 65
   72 72 3d 30 30 30 30 30-30 30 30 20 20 65 66 6c
BTX Halted
Sometimes this BTX Halt only happens once and hangs the system, other 
times it dumps this info to my screen over and over in an infinite loop. 
 Only a power down stops it.

I've come across TONS of articles/discussions with the same problem but 
none of their suggestions have worked.  I've verified that I have the 
latest BIOS for my motherboard, but it does not have a Virtual boot 
device to disable.  I forced my IDEs to use PIO as suggested in one 
discussion, no worky.  I've disabled all unneeded items in the BIOS, 
including unused IDE channels, USB, onboard LAN, still no fix.  I've 
verified that my RAID drivers work with 5.2.1 as seen in other 
dicussions.  I've verified the MD5 of this 5.2.1 disk before burning, 
and I've also used this very CD to install on another machine with no 
problems.

The 5.1 and 4.10 CDs boot just fine.
My system:
MSI P1-1000 1U Rackmount
http://www.msi.com.tw/program/products/server/svr/pro_svr_detail.php?UID=376
Motherboard says: MS-9129 Ver 1
BIOS Version: W9211MS v1.0 121002 19:07:50
RAID BIOS: MB FastTrack Lite 2.00.1030.27
256MB PC266 RAM
IDE1 Master: NONE
IDE1 Slave : NONE
IDE2 Master: CD-ROM (Mitsumi SR244W1)
IDE2 Slave : NONE
ATA Raid: (2) Hitachi Deskstar 7K250 40GB configured as RAID1 Mirror.
Please Help!  Any ideas?
Thanks,
-j
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


multi-homing and pf; removing user with uid 0

2004-08-17 Thread Marc Cabanatuan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is somewhat of a multipart question and unrelated question.
Figured I would ask here since the host I have the box on isn't much
help with anything, and when they do help they want to charge up the
ass for it. I understand they need to make money too, but they end up
breaking shit and not helping than anything...So here goes nothing.
Right now I've got a /27 and I am attemtpting to add 5 addresses of
that adress block (ipv4) to the box as either seperate addreses (not
aliases to the primary interface) or seperate addresses bound to
sub-interfaces. So far I have been unsuccessful and the host told me
to use aliases. I also wish for these settings to stay after (re)boot.
Not to mention they say my firewall is the problem and they couldn't
get out to the internet from root console (im using pf and have the
rule of 'pass out all'.
Next thing, a second account just 'showed up' on the box with uid 0.
toor:*:0:0:Bourne-again Superuser:/root: - from /etc/master.passwd
I suspect it was techs from the host, but I want it off the machine.
How do I do this?
thanks,
m
- --
Marc Cabanatuan [EMAIL PROTECTED]
Network and Systems Administrator
A+, Net+, Linux+, CCNA, MCP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBInn0QXmDWC9ByjIRAq/ZAJ49XJ37qihWUFFMO8Wf2e1AU1J7ygCgk7AP
SKIlYffqYO5a5ABNmJN9CPY=
=YHVK
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Chuck Swiger
Marc Cabanatuan wrote:
[ ... ]
Right now I've got a /27 and I am attemtpting to add 5 addresses of
that adress block (ipv4) to the box as either seperate addreses (not
aliases to the primary interface) or seperate addresses bound to
sub-interfaces. So far I have been unsuccessful and the host told me
to use aliases.
FreeBSD doesn't let you configure multiple IP addresses within the same 
subnet.  You will either have to use different netmasks, or else use aliases 
as recommended.

I also wish for these settings to stay after (re)boot.
See /etc/rc.conf, and add something like:
# Sample alias entry.
#ifconfig_lo0_alias0=inet 127.0.0.254 netmask 0x
Not to mention they say my firewall is the problem and they couldn't
get out to the internet from root console (im using pf and have the
rule of 'pass out all'.
Hmm.
Next thing, a second account just 'showed up' on the box with uid 0.
toor:*:0:0:Bourne-again Superuser:/root: - from /etc/master.passwd
I suspect it was techs from the host, but I want it off the machine.
How do I do this?
FreeBSD ships with a toor account available but disabled, which can be useful 
if someone breaks the shell used by the root account itself.  If you want to 
get rid of it, run vipw.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Marc Cabanatuan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alright as far as netmasks goes, am i allowed to add an ip with
netmask 255.255.255.255 for each IP?
Chuck Swiger wrote:
| Marc Cabanatuan wrote: [ ... ]
|
| Right now I've got a /27 and I am attemtpting to add 5 addresses
| of that adress block (ipv4) to the box as either seperate
| addreses (not aliases to the primary interface) or seperate
| addresses bound to sub-interfaces. So far I have been
| unsuccessful and the host told me to use aliases.
|
|
| FreeBSD doesn't let you configure multiple IP addresses within the
| same subnet.  You will either have to use different netmasks, or
| else use aliases as recommended.
|
| I also wish for these settings to stay after (re)boot.
|
|
| See /etc/rc.conf, and add something like:
|
| # Sample alias entry. #ifconfig_lo0_alias0=inet 127.0.0.254
| netmask 0x
|
| Not to mention they say my firewall is the problem and they
| couldn't get out to the internet from root console (im using pf
| and have the rule of 'pass out all'.
|
|
| Hmm.
|
| Next thing, a second account just 'showed up' on the box with uid
| 0.
|
| toor:*:0:0:Bourne-again Superuser:/root: - from
| /etc/master.passwd
|
| I suspect it was techs from the host, but I want it off the
| machine. How do I do this?
|
|
| FreeBSD ships with a toor account available but disabled, which can
|  be useful if someone breaks the shell used by the root account
| itself.  If you want to get rid of it, run vipw.
|
- --
Marc Cabanatuan [EMAIL PROTECTED]
Network and Systems Administrator
A+, Net+, Linux+, CCNA, MCP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIn6fQXmDWC9ByjIRAivrAKDcyJ62CuBDxZwLlt4FFqK483EiBgCbBkxk
ai4Q2sV0j9iK9DxEHeC/Tlk=
=jE6o
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Lowell Gilbert
Marc Cabanatuan [EMAIL PROTECTED] writes:

 This is somewhat of a multipart question and unrelated question.

Please try putting them in separate messages next time, then.

 Figured I would ask here since the host I have the box on isn't much
 help with anything, and when they do help they want to charge up the
 ass for it. I understand they need to make money too, but they end up
 breaking shit and not helping than anything...So here goes nothing.
 
 Right now I've got a /27 and I am attemtpting to add 5 addresses of
 that adress block (ipv4) to the box as either seperate addreses (not
 aliases to the primary interface) or seperate addresses bound to
 sub-interfaces. So far I have been unsuccessful and the host told me
 to use aliases. I also wish for these settings to stay after (re)boot.
 Not to mention they say my firewall is the problem and they couldn't
 get out to the internet from root console (im using pf and have the
 rule of 'pass out all'.

What actually *happened* when you tried this?  

Did you remember to use all-ones netmasks?
Ref. FAQ: How can I set up Ethernet aliases?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html#ETHERNET-ALIASES 

 Next thing, a second account just 'showed up' on the box with uid 0.
 
 toor:*:0:0:Bourne-again Superuser:/root: - from /etc/master.passwd
 
 I suspect it was techs from the host, but I want it off the machine.
 How do I do this?

It's completely standard, and while you can remove it like any other
account, there's no reason to.
Ref. FAQ: What is this UID 0 toor account? Have I been compromised?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/security.html#TOOR-ACCOUNT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


foomatic-db-engine port broke?

2004-08-17 Thread Steven Friedrich
I get this error:
[EMAIL PROTECTED](p0)/usr/ports/print/foomatic-db-engine 114% make
===  Vulnerability check disabled
===  Extracting for foomatic-db-engine-20031213_2
===  Patching for foomatic-db-engine-20031213_2
===  Applying FreeBSD patches for foomatic-db-engine-20031213_2
===   foomatic-db-engine-20031213_2 depends on executable: gmake - found
===   foomatic-db-engine-20031213_2 depends on 
file: /usr/local/bin/automake15 - found
===   foomatic-db-engine-20031213_2 depends on 
file: /usr/local/bin/autoconf253 - found
===   foomatic-db-engine-20031213_2 depends on shared library: xml2.5 - found
===   foomatic-db-engine-20031213_2 depends on shared library: curl.3 - found
===  Configuring for foomatic-db-engine-20031213_2
configure.in:20: error: possibly undefined macro: AM_PATH_XML2
configure.in:205: error: possibly undefined macro: AC_PATH_DIRS
*** Error code 1

Stop in /usr/ports/print/foomatic-db-engine.


Here's my uname output

[EMAIL PROTECTED](p0)/usr/ports/print/foomatic-db-engine 115% uname -a
FreeBSD lightning.StevenFriedrich.org 4.10-STABLE FreeBSD 4.10-STABLE #49: Tue 
Aug 10 23:10:38 EDT 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LIGHTNING  i386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Central SSL Certificate Store?

2004-08-17 Thread Ian D. Leroux

 So is there a standard location for trusted certificates? or does each
 application keep its own information?

Partial answer to my own question, for the archive:

the certificates are stored in /usr/src/crypto/openssl/certs

Which leads to the next question: why are the certs left in the src tree
and not installed?

Thanks,

Ian
-- 
  Ian D. Leroux
  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix+LDAP

2004-08-17 Thread Robert Fitzpatrick
Is the doc below still the way to go for LDAP support? I do a 'postconf
-m' and see ldap on the list. With that, I setup the alias_maps as shown
in the docs and used sample-ldap.cf to setup my main.cf file. I can't
see any attempts to the LDAP directory in the logs, should there be? And
in Webmin, it says 'It seems that LDAP is nonexistent in your Postfix
system'. I am running the FreeBSD port postfix-2.0.16...but thinking of
doing portupgrade to 2.1. BTW, I don't see any notes on this kind of
upgrade in /usr/ports/UPDATING. Any advice?

  http://www.postfix.org/LDAP_README.html

esmtp# cat /etc/ldap-aliases.cf
server_host = directory.webtent.net
search_base = dc=webtent, dc=net
esmtp# grep ldap main.cf
ldap_timeout = 10
ldap_search_base = dc=webtent,dc=net
ldap_server_host = localhost
ldap_server_port = 389
ldap_query_filter = (uid=%s)
ldap_result_filter = %s
ldap_result_attribute = mailRoutingAddress
ldap_scope = sub
ldap_bind = yes
ldap_bind_dn = cn=user,dc=webtent,dc=net
ldap_bind_pw = passwd
alias_maps = hash:/etc/aliases, ldap:/etc/ldap-aliases.cf

-- 
Robert

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting CUPS configured on FreeBSD

2004-08-17 Thread Steven Friedrich
I set up CUPS over a year ago and got it to work partially.

I've been wrestling it again and I've read all the CUPS docs and tutorials on 
varios Linux sites.

I have an HP560C (which needs LF to CR/LF translation) on parallel 
port /dev/lpt0.

If anyone has a HP manual on the 560C, I'd like to know the definitions for 
the two switch banks on the front of the printer.  I'm pretty sure one of 
those switches will enable auto LF to CR/LF translation.

Originally, I used only CUPS software and I can print from various X apps (I 
use mostly KDE apps).

I want to also be able to print from a shell, but all I get is some garbage.

Do I need to use cups-lpd?  I tried, but it didn't print anything intelligable 
(is that spelt right?).

I've manipulated/authored printcap entries before, but CUPS took over that 
file anyway.

A year ago, I noticed that CUPS web interface wouldn't let me choose a 
parallel port unless the printer was turned on before I booted.  Now it 
doesn't allow me to specify a parallel port at all.  But I CAN 
hand-edit /usr/local/etc/cups/printers.conf and set it to a valid parallel 
URI.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error after installing cyrus-sasl2-saslauthd

2004-08-17 Thread Alex Thomas
No. Had not added any. This popped up on console as soon as port was 
finished installing.

Paul Schmehl wrote:
--On Tuesday, August 17, 2004 03:03:51 PM -0500 Alex Thomas 
[EMAIL PROTECTED] wrote:

Trying to inststall cyrus-sasl2-saslauthd on Fresh 4.10-Release machine.
Did make WITH_BDB_VER=42 install clean
After that gets done with no errors, console and syslog pop up with this
error
saslpasswd2:error deleting entry from sasldb: DBNOTFOUND: No matching
key/data pair found
Were there any key/data pairs in the sasldb2 database?
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X configuration problem - new info

2004-08-17 Thread Jay O'Brien
Luke Kearney wrote:

 On Tue, 17 Aug 2004 01:31:30 -0700
 Jay O'Brien [EMAIL PROTECTED] spake thus:
 
 
Initial 4.10 installation. Trying to configure XFree86.
from /stand/sysinstall, select Configure | XFree86. 

I THINK I've tried every possible combination. I couldn't 
use the Fully graphical XFree86 configuration tool as 
the graphic was partially off-screen and the monitor was 
out of range. I used the textmode tool and the shell-
script tool, settling on the shell-script tool. After 
agreeing that it should write /etc/X11/XF86, and selecting 
a desktop to use, many different attempts all result in 
this error:

Error mounting /dev/acd0c on /dist: Input/output error (5)

And the next screen is:

An error occurred while adding the package(s) required by 
this desktop type. Please change installation media and/or 
select a different, perhaps simpler, desktop environment 
and try again.

I don't find a /etc/X11/ directory, much less a XF86 file.

Video card is ati XPERT 98, monitor is 1280x1024 LCD.

A suggestion for what to try next?

Jay O'Brien
Rio Linda, CA USA
 
 
 Yes, download and burn yourself another install disk or change the media
 source in the install screen and then make it download the sources from
 the internet. Sounds like you've got bad media rather than a config that
 can't be done. 
 
 HTH
 
 LukeK
 
Ok, I did as you suggested and I'm presently getting stuff via ftp. It 
looks like it will be downloading all day. I thought the ISO image CD 
would avoid this; what is all the stuff that is downloading? Isn't there 
a way to just replace the XF86 stuff that may be bad?  Where are all 
these files going, and why do I need to download them all? Once this is 
done, will I have to do it all over again when I rebuild again from 
scratch, or is there a way, like on the CD, that I can store just those 
files I need?  There's got to be a better way!

Jay

more

After over an hour and a half of downloading (and I have a 1.3MHz DSL) I 
tried again. Now I get different error messages, and I don't understand 
at all what this unwanted download has done to my computer. 
The errors are: 

   VGA(0): Virtual height (0) is too small for the hardware (min 1)
   Screen(s) found, but none have a usable configuration.

I'm going to wipe the HD clean again and start over, using my current ISO 
CD. This download, with many separate unrelated files, has me really 
concerned about what I unwittingly added to my HD. I don't even know 
where all the files I saw come in are now placed on the HD!

Is there any disadvantage to installing XFree86 with # pkg_add -r XFree86
as compared to using /stand/sysinstall, select Configure | XFree86 ?

Jay

PS.. I'm really frustrated, so obviously I'm learning...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Marc Cabanatuan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
so far ive got this along with the primary inet address with the /27
subnet mask in /etc/rc.conf
ifconfig_rl0_alias*=inet 0.0.0.0 netmask 255.255.255.255 (replacing
0's with ip address of course)
Chuck Swiger wrote:
| Marc Cabanatuan wrote: [ ... ]
|
| Right now I've got a /27 and I am attemtpting to add 5 addresses
| of that adress block (ipv4) to the box as either seperate
| addreses (not aliases to the primary interface) or seperate
| addresses bound to sub-interfaces. So far I have been
| unsuccessful and the host told me to use aliases.
|
|
| FreeBSD doesn't let you configure multiple IP addresses within the
| same subnet.  You will either have to use different netmasks, or
| else use aliases as recommended.
|
| I also wish for these settings to stay after (re)boot.
|
|
| See /etc/rc.conf, and add something like:
|
| # Sample alias entry. #ifconfig_lo0_alias0=inet 127.0.0.254
| netmask 0x
|
| Not to mention they say my firewall is the problem and they
| couldn't get out to the internet from root console (im using pf
| and have the rule of 'pass out all'.
|
|
| Hmm.
|
| Next thing, a second account just 'showed up' on the box with uid
| 0.
|
| toor:*:0:0:Bourne-again Superuser:/root: - from
| /etc/master.passwd
|
| I suspect it was techs from the host, but I want it off the
| machine. How do I do this?
|
|
| FreeBSD ships with a toor account available but disabled, which can
|  be useful if someone breaks the shell used by the root account
| itself.  If you want to get rid of it, run vipw.
|
- --
Marc Cabanatuan [EMAIL PROTECTED]
Network and Systems Administrator
A+, Net+, Linux+, CCNA, MCP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIotTQXmDWC9ByjIRAiRrAJ4sCx8m0/eaKHU4OcZS9EQAYrAlQwCg2+Cw
YXerOL9ouz07WCB7S8PohG8=
=OVE9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Marc Cabanatuan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh also, when i connect to a service bound to the primary IP (say its
a .2) and im connecting to a .6 to the SAME service (not bound to the
address) it goes right to .2
eg, i can ssh to .6 and it allows me to get to the box. i would really
like it to be completely seperate, or at least as seperate as possible.
Marc Cabanatuan wrote:
| so far ive got this along with the primary inet address with the
| /27 subnet mask in /etc/rc.conf
|
|
| ifconfig_rl0_alias*=inet 0.0.0.0 netmask 255.255.255.255
| (replacing 0's with ip address of course) Chuck Swiger wrote:
|
| | Marc Cabanatuan wrote: [ ... ] | | Right now I've got a /27 and
| I am attemtpting to add 5 addresses | of that adress block (ipv4)
| to the box as either seperate | addreses (not aliases to the
| primary interface) or seperate | addresses bound to
| sub-interfaces. So far I have been | unsuccessful and the host
| told me to use aliases. | | | FreeBSD doesn't let you configure
| multiple IP addresses within the | same subnet.  You will either
| have to use different netmasks, or | else use aliases as
| recommended. | | I also wish for these settings to stay after
| (re)boot. | | | See /etc/rc.conf, and add something like: | | #
| Sample alias entry. #ifconfig_lo0_alias0=inet 127.0.0.254 |
| netmask 0x | | Not to mention they say my firewall is the
| problem and they | couldn't get out to the internet from root
| console (im using pf | and have the rule of 'pass out all'. | | |
| Hmm. | | Next thing, a second account just 'showed up' on the box
| with uid | 0. | | toor:*:0:0:Bourne-again Superuser:/root: -
| from | /etc/master.passwd | | I suspect it was techs from the
| host, but I want it off the | machine. How do I do this? | | |
| FreeBSD ships with a toor account available but disabled, which can
|  |  be useful if someone breaks the shell used by the root account
| | itself.  If you want to get rid of it, run vipw. |
|
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
- --
Marc Cabanatuan [EMAIL PROTECTED]
Network and Systems Administrator
A+, Net+, Linux+, CCNA, MCP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBIozzQXmDWC9ByjIRAspSAKC4btPRPk9M7PECUPznYrK+hCcGpQCgtyeY
HBFN/sExTav5yPcF8lvWV9I=
=6Z6W
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 802.1x

2004-08-17 Thread Kevin D. Kinsey, DaleCo, S.P.
Cubicool wrote:
Anyways, again, sorry for the bumpage, but I have another complete day off
and if I can find out that FreeBSD doesn't support it yet, I'm going to try
and spend this time finding an alternative solution. If, however, support
will be added soon, I won't reformat and I'll just go without net access for
a while at school.
 

SNIP
I will be attending college in a few weeks. The network at this uni requires
802.1x authentication over wireless connections. 

Is 802.1x supported on FreeBSD yet? I know I can build open1x on a Linux
box, but that is my ABSOLUTE LATE resort. I really want to keep using
FreeBSD, but if I can't access the school's network I won't be able to
continue doing so.
What's the status of this in FreeBSD, including the upcoming 5.3? Am I just
out of luck?
 

It does seem to be a little hard to discover much about.  Have
you tried [EMAIL PROTECTED]
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hard links for directories ?

2004-08-17 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at  9:55:03 -0500, David Kelly wrote:

 On Aug 17, 2004, at 12:24 AM, Greg 'groggy' Lehey wrote:

 On Monday, 16 August 2004 at 22:02:11 -0700, Tim Traver wrote:

 This may be a stupid question, but is it possible to make hard links
 to
 directories ??? I know you can with files, and normally, you would do
 a
 soft link for directories, but is there any way to finagle this ?

 Sure, there are ways.  But why would you want to?

 A link to a directory makes it a subdirectory of the directory
 containing the link.  If you have two links to a directory, where
 should the directory's .. link point?  How would fsck know what to do?

 Root is the only one allowed to make hard links to directories.

This is not correct.  root has no special powers here.

 As Greg says, How would fsck know which is the correct parent
 directory?

To make it clearer: the term hard link is a misnomer.  It's just a
link, and there are lots of links to directories.  One is always
called ., and all the others are called ...  So when you create a
directory, it has a link count of 2.  Every time you create a
subdirectory of that directory, you add to the link count:

  $ mkdir new 
  $ ls -dl new
  drwxr-xr-x  2 grog  wheel  512 Aug 18 08:42 new
  $ mkdir new/subdir
  $ ls -dl new
  drwxr-xr-x  3 grog  wheel  512 Aug 18 08:43 new
  $ mkdir new/subdir2
  $ ls -dl new
  drwxr-xr-x  4 grog  wheel  512 Aug 18 08:43 new

 Directories have only one parent. If a directory were to have two
 parents then you'd break the tree structure of the directory
 hierarchy.  You would

could

 create a loop in the tree branches which would place
 utilities such as find in an infinite loop.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp3kuB9U3z0r.pgp
Description: PGP signature


Read from keyboard with redirected stdin

2004-08-17 Thread Daniela
Hi!

I'm writing a program which acts as a filter, so stdin and stdout will be 
redirected most of the time. However, in one case I have to read some input 
from the keyboard. Well, I have stderr for displaying the prompt, but what 
file can I read from to get keyboard input in any case?
Please don't point me to libraries doing the job, as I'm doing it in ASM.
It's a quite simplistic program and I don't want it to grow unnecessarily.

Regards,
Daniela

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at 11:13:17 -0500, Sean Farley wrote:
 On Tue, 17 Aug 2004, Greg 'groggy' Lehey wrote:

 This mouse has five buttons: the normal three on top, and one on each
 side.  I can't find a way to get the side buttons to work, and looking
 on the web hasn't shown anything of interest.

 I assume you mean in X as opposed to moused although moused appears to
 support at least five buttons according to its man page.

No, this is with moused.  It still needs to initialize the mouse.

 This may help with your X issues:
 http://www.xfree86.org/current/mouse5.html#22

Yes, been through all of that and more.  Nothing worked.

In the meantime I've connected it up anyway as a 3 button mouse and
decided I really don't like it; the buttons are far too heavy in their
action, and it's difficult to move it sideways without pressing one of
the side buttons.  So this is not much of an issue any more.

Can anybody recommend a good mouse?  My criteria are:

- Middle button easy to use.  The current crop of mice has the middle
  button integrated with the roller, and that makes the middle button
  either heavy or easy to confuse with the roller.
- Preferably cordless.  Cord mice tend to wander a little when you let
  go of them, and that's a real nuisance on a high-resolution display.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp6pMg5Xe8gC.pgp
Description: PGP signature


Re: web-serving does not update a file's atime?

2004-08-17 Thread Bill Moran
Mikhail Teterin [EMAIL PROTECTED] wrote:
 Nathan Kinkade wrote:
 
 On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
   
 Hello!
 
 I tried to use stat(1) to see the last time a file was downloaded
 through Apache.
 
 To my surprise, all three dates displayed by stat are long ago, even
 though the web-server's log is showing downloads from a just a few
 hours back.
 
 The file-system used to be mounted noatime, but I turned that option
 off some time ago. If I read one of those files (with head(1) or
 file(1), for example), the atime is updated. But if Apache serves it
 out -- it is not... There is no caching in Apache either.
 
 Is this all running on your local machine?  If not, is it possible that
 there is a proxy server between you and the host running Apache?
 Perhaps a transparent proxy?
   
 
 There are not other servers and no proxies. The locally running apache logs
 successful requests for the files, but their atimes are not updated.
 
 Just checked -- the file was last downloaded 13 minutes ago, but  all of
 the three time-stamps (according to stat(1)) point to many hours back...

My guess on this would be that Apache is caching the file and has only
actually loaded it from disk once.

Try stop/starting Apache and see if it has to reload the file to see if
my guess is correct.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrade FreeBSD

2004-08-17 Thread =?iso-8859-2?Q?Pawe=B3
Hey 
I have FreeBSD 4-9 RELEASE,and i wont upgrade it to
4.10 STABLE.I use for this operation CVSUP,and
when cvsup dawnload sources in /usr/src directory
,i write:
cd /usr/src
make buildworld
and system compiling the sources,while return my
error message.
With another time errors whas different,and I don know why.My compiuter is pentium 100 
with 32 MB ram
Please Healp  MY ???
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [BUGA] What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Brett Lymn
On Wed, Aug 18, 2004 at 08:58:16AM +0930, Greg 'groggy' Lehey wrote:
 
 - Middle button easy to use.  The current crop of mice has the middle
   button integrated with the roller, and that makes the middle button
   either heavy or easy to confuse with the roller.


I have a logitech wireless ball mouse.  It is a bit old now but the
thing functions fine.  I solved the problem of the middle button being
on the roller by buying a tiny push button switch from Dick Smith and
mounting that as a thumb button.  It was a relatively simple hardware
hack to get a thumb button - because I prefer to use the mouse in my
left hand my mousing options are rather limited.  It sucks to be one
of the superior minority ;)

-- 
Brett Lymn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Ralph Hempel
 Can anybody recommend a good mouse?  My criteria are:
 
 - Middle button easy to use.  The current crop of mice has the middle
   button integrated with the roller, and that makes the middle button
   either heavy or easy to confuse with the roller.
 - Preferably cordless.  Cord mice tend to wander a little when you let
   go of them, and that's a real nuisance on a high-resolution display.

Greg,

Have you tried a trackball? I'm using a Logitech Marble Mouse, it
has 4 buttons, I'm not sure if there's a three button version.

Nice thing about a trackball is it stays where you park it, and I've
felt much less writest strain lately...

Ralph


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Brian Astill
On Tue, 17 Aug 2004 07:28 pm, Greg 'groggy' Lehey wrote:

 Can anybody recommend a good mouse?  My criteria are:

 - Middle button easy to use.  The current crop of mice has the middle
   button integrated with the roller, and that makes the middle button
   either heavy or easy to confuse with the roller.
 - Preferably cordless.  Cord mice tend to wander a little when you
 let go of them, and that's a real nuisance on a high-resolution
 display.

if you want three buttons PLUS a wheel ... ??
Otherwise, Logitech provide a very nice three-button mouse in either 
wired or wireless form.

-- 
Regards,
Brian
sos-sa.org.au
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Sean Farley
On Wed, 18 Aug 2004, Brian Astill wrote:
On Tue, 17 Aug 2004 07:28 pm, Greg 'groggy' Lehey wrote:
Can anybody recommend a good mouse?  My criteria are:
- Middle button easy to use.  The current crop of mice has the middle
  button integrated with the roller, and that makes the middle button
  either heavy or easy to confuse with the roller.
- Preferably cordless.  Cord mice tend to wander a little when you
  let go of them, and that's a real nuisance on a high-resolution
  display.
if you want three buttons PLUS a wheel ... ??
Otherwise, Logitech provide a very nice three-button mouse in either
wired or wireless form.
I have two three-button mice without wheels (one Logitech MouseMan and a
Dell that is looks just like it) that I protect with my life.  :)  I
like three buttons, but I dislike wheels.  When I checked Logitech's
website, I could not find any three-button mice without wheels.  Did I
miss it, or are you speaking of the wheeled mice?
Sean
---
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade FreeBSD

2004-08-17 Thread epilogue
On Wed, 18 Aug 2004 01:37:27 +0200
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hey 
 I have FreeBSD 4-9 RELEASE,and i wont upgrade it to
 4.10 STABLE.I use for this operation CVSUP,and
 when cvsup dawnload sources in /usr/src directory
 ,i write:
 cd /usr/src
 make buildworld
 and system compiling the sources,while return my
 error message.

hello, P.  it is generally expected that you provide the error message you
are seeing.  trust me, you will get much better help, if you do.  without
it, we can only guess.  (btw, if you not yet familiar with 'script', try
reading its man page. it is a very handy way to capture this kind of
information.)

so, without more information about your error, my first guess would be that
you are not supping the right source.  for 4.10-release (+patches), your
cvsup file has to have this:
*default release=cvs tag=RELENG_4_10

_not_ this:
*default release=cvs tag=RELENG_4

now, if this isn't your problem, are you supping 'src-all' or have you
commented out any of the 'src-*' entries?  also, are you using a
'refuse' file?  if so, what are its contents?

please write back with more info.  in the meantime, i hope that this helps
to narrow down the cause.


cheers,
epi


 With another time errors whas different,and I don know why.My compiuter
 is pentium 100 with 32 MB ram Please Healp  MY ???


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openoffice : unable to set accelerator keys

2004-08-17 Thread epilogue

questions@ is probably the right forum for this...


Begin forwarded message:

Date: Wed, 11 Aug 2004 18:36:05 -0400
From: epilogue [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: unable to set accelerator keys


hello all,

i've got the english openoffice-1.1.2 package for 4.x installed.  i know
that it is supposed to be a fairly vanilla build, so i expect that the
problem i'm having also applies to builds from source.

before i send off a problem report to oo.o, i would appreciate it if
someone else could confirm that they also see the same behaviour...

1) open a .sxw text document (or make a new one)
2) tools  configure  menu
3) try to change any of the accelerator keys (ie. the tildes -- ~)

though i have been through the oo.o documentation more than once, i am
entirely unable to change these settings.


thanks!
epi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What mouse? (was: Samsung Cordless Mouse)

2004-08-17 Thread Sean Farley
On Wed, 18 Aug 2004, Greg 'groggy' Lehey wrote:
On Tuesday, 17 August 2004 at 11:13:17 -0500, Sean Farley wrote:
On Tue, 17 Aug 2004, Greg 'groggy' Lehey wrote:
This mouse has five buttons: the normal three on top, and one on
each side.  I can't find a way to get the side buttons to work, and
looking on the web hasn't shown anything of interest.
I assume you mean in X as opposed to moused although moused appears
to support at least five buttons according to its man page.
No, this is with moused.  It still needs to initialize the mouse.
Will you be using moused on the console?  It is not needed to run X.
snip
Can anybody recommend a good mouse?  My criteria are:
- Middle button easy to use.  The current crop of mice has the middle
 button integrated with the roller, and that makes the middle button
 either heavy or easy to confuse with the roller.
I am not aware of any makers of three-button mice without wheels.
However, I have always Logitech as a brand.
- Preferably cordless.  Cord mice tend to wander a little when you let
 go of them, and that's a real nuisance on a high-resolution display.
Maybe you can find a cord-to-cordless converter--there is bound to be an
engineer that has done this :)--if you find a mouse you like that just
happens to have a tail.
Sean
---
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OT] VPN issues with some windows users...

2004-08-17 Thread Eric Crist
Hello all,

I'm sorry this is a bit off-topic, but you're the only truly
knowledgable group I know. ;)  Some fellow users and I have been having
some issues connecting to a Cisco VPN system with the built-in windows
VPN software.  While successfully connected to the internet (at home,
for example), I connect to the remote VPN.  Instantly, my internet
connectivity seems to be lost, but I can use the VPN perfectly fine.  As
soon as I disconnect, my internet connectivity is completely restored.
I have a second VPN I connect to using V-One's SmartPass software, and I
have no issues (i.e. everything works perfectly, including my 'net
connection).

Anyone have any ideas?

Sorry about the OT question, and thanks for your help.

Eric F Crist
Best Access Systems
11300 Rupp Dr. Burnsville, MN 55337
Phone: 952.894.3830
Cell: 612.998.3588
Fax: 952-894-1990



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Parv
in message [EMAIL PROTECTED],
wrote Marc Cabanatuan thusly...

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Oh also, when i connect to a service bound to the primary IP (say
 its

Could you please not top post?


 Marc Cabanatuan wrote:
 
 | so far ive got this along with the primary inet address with the
 | /27 subnet mask in /etc/rc.conf
 |
 |
 | ifconfig_rl0_alias*=inet 0.0.0.0 netmask 255.255.255.255
 | (replacing 0's with ip address of course) Chuck Swiger wrote:
 |
 | | Marc Cabanatuan wrote: [ ... ] | | Right now I've got a /27 and
 | I am attemtpting to add 5 addresses | of that adress block (ipv4)

Additionaly, please properly quote only the relevant parts to your
reply.


Thanks much for your consideration.


  - Parv

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] VPN issues with some windows users...

2004-08-17 Thread Jonathan T. Sage

Eric Crist wrote:
Hello all,
I'm sorry this is a bit off-topic, but you're the only truly
knowledgable group I know. ;)  Some fellow users and I have been having
some issues connecting to a Cisco VPN system with the built-in windows
VPN software.  While successfully connected to the internet (at home,
for example), I connect to the remote VPN.  Instantly, my internet
connectivity seems to be lost, but I can use the VPN perfectly fine.  As
soon as I disconnect, my internet connectivity is completely restored.
I have a second VPN I connect to using V-One's SmartPass software, and I
have no issues (i.e. everything works perfectly, including my 'net
connection).
Anyone have any ideas?
probably (although not definatally) is related to a misconfigured router 
on the cisco VPN not allowing internet traffic out.  this might be 
intentional too.  I run a very small vpn, and in order to keep 
connection times down (my user base is um  well then) i have 
configured to not allow any traffic other than directly to the machine 
that hosts the vpn.

dunno if this helps much, but might give you a starting point.
~j
--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
He said he likes me, but he's not in-like with me.- Connie, King of 
the Hill

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


signature.asc
Description: OpenPGP digital signature


Re: xtset or xtermset tricks?

2004-08-17 Thread Duane Winner

Gary Kline wrote:
On Tue, Aug 17, 2004 at 12:41:02PM -0400, Duane Winner wrote:
Found a solution!
In ~/.bashrc, put this:
cd ()
{
  builtin cd $@
  /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
}

-Duane
Duane Winner wrote:
Hello,
Hey, does anybody know of any useful tricks for automating xtset or 
xtermset?

I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can 
keep track of my xterms littered all over my desktop (pretty frequent! :)

But it sure would be nice to have them updated whenever I 'cd' to 
another directory or 'su' to another user or 'ssh' to another host!


[ ... ]
I've got a slight problem with having the host/directory/etc on the
title bar. It will help clear my zsh right-prompt, of course.
But how do you set the title bar *back* to the name of the xterm?
(My xterms are titled Mail, Net, Hacking, Scratch, and so
forth.)  Is there a way of using xtset/xtermset to retrieve the
-n Name??
Hm, not sure. I just started with xtset myself this morning when I 
decided I was getting sick of having 10 xterm windows all over my lawn 
with the name 'xterm'. I never gave descriptive labels since I'm most 
often ssh'd into other boxes and am more interested in where I am.

Maybe, depending on how you start each xterm (icon/shortcut), you could 
set a variable name (XTNAME=Mail) for each one, then run:
# xtset `echo $XTNAME`

But now, since I hammered out that little cd() function for .bashrc, I 
found another little problem:

If I su to another user (for instance, su - root), the title changes 
as long as the other account has my the function in .bashrc, but when I 
exit, the title still has the old credentials (example: [EMAIL PROTECTED]:~) 
until I cd somewhere again. Sigh.

Cheers,
Duane

thanks,
gary

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >