Lunching Telnet and Ftp servers

2003-05-31 Thread Fehmi
How to lunch and configure a telnet and a ftp servers
on Freebsd 4.5
Thanks everybody

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pam-pgsql + saslauthd[cyrus-sasl2]

2003-05-31 Thread Andrew A. Khlebutin
Hi,

Does anyone use pam-pgsql + saslauthd? I did everything according to
the given instructions in pam-pqsql readme file but it doesn't work
anyway. This is what is writes in auth.log file:
==
May 29 14:10:15 auth.err hm saslauthd[69967]: in openpam_load_module(): no 
/usr/lib/pam_pgsql.so found
May 29 14:10:15 auth.info hm saslauthd[69967]: do_auth : auth failure: [user=andrew] 
[service=pop] [realm=] [mech=pam]
==

$ls -l /usr/lib/pam_pgsql.so
-r--r--r--  1 root  wheel  14052 26  12:30 /usr/lib/pam_pgsql.so

I switched on the debug option in PostgreSQL but it says that noone
tried to connect ... :(.

I've read all those short manuals but I can't understand what's wrong.
Has anyone solved the similar problem or do you have any ideas of how
to localize this problem solution?

P.S: FreeBSD 5.0-p7, pam-pgsql-0.5.2_7, cyrus-sasl-2.1.13_2.

cat /etc/pam_pgsql.conf==
host = 127.0.0.1
database = mail
user = cyrus
password = mycoolpasword
table = accounts
user_column = name
pwd_column = password
expired_column = acc_expired
newtok_column = acc_new_pwreq
pw_type = clear
debug
cat /etc/pam_pgsql.conf==

cat /etc/pam.d/pop==
authrequired/usr/lib/pam_pgsql.so   debug
account required/usr/lib/pam_pgsql.so   debug
passwordrequired/usr/lib/pam_pgsql.so   debug
cat /etc/pam.d/pop3==

-- 
Best regards,
Andrew A. Khlebutin

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


Re: sleep for specified time

2003-05-31 Thread Lowell Gilbert
  someone please tell me how to make a kld sleep for specified number of 
  microseconds
  
  its urgent.
 
 nanosleep (microseconds*1000);

In the kernel?  Surely not.

I think you'd need to explicitly run the scheduler, and probably use a
timer event to resume later.  There are established techniques for
these things, but the BSD kernel details aren't my specialty...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About reading and writing to files

2003-05-31 Thread Lowell Gilbert
Rich Morin [EMAIL PROTECTED] writes:

 At 3:04 AM -0500 5/30/03, Bingrui Foo wrote:
 I'm wondering in freeBSD, if I have a directory with 10,000 files, or
 maybe even 100,000 files, each about 5 kb long. Wondering will reading and
 writing to any one of these files in C be affected by the sheer number of
 these files? Will the access time be affected significantly?
 
 Just wondering because not sure whether I should put these data in a
 database or just use files with unique names.
 
 Also will separating the files into many directories help?
 
 Looking up .../x/12/34/56 can be done in logarithmic time (i.e., look up
 .../x/12, then .../x/12/34, then .../x/12/34/56); looking up
 .../y/123456 (unless some optimization has been added) will require a
 linear scan
 through the directory.  In short, don't go there...

An optimization *has* been added.  If you have 
 optionsUFS_DIRHASH #Improve performance on big directories
in your kernel (it's been in GENERIC for at least several months) then
you should get (in the limit) logarithmic time on *each* lookup.  And
there's a large extra term in the denominator, as well.

The size of the files doesn't matter, and the number of files
shouldn't matter in the range of 10,000 files.  Whether it matters on
100,000 I can't guess offhand, but obviously it will depend on 
how often the application is doing a lookup.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LPD permission

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 May 2003 13:29, Konrad Heuer wrote:
 What about the following shell script? Should work for you, if you
 replace 192.168.1 by your real network address:

Yes, I though about a shell script, I think I'll do that.
The thing is it would be so much easier if we could enter NIS network 
groups as some other Unices allow it.
But thanks for the script :)

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+11tEY3Hnhkr+5cQRAo3rAJ0XpzrL3dsRg/jVa8iZlNZdYZUYPwCfWYX+
935gpRUczQOaSiK/qtmWRBs=
=3Ew/
-END PGP SIGNATURE-

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


umass0

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi !

How can I rescan the USB bus so that when I plug my external USB hard 
drive, it gets recognize as umass0 ?
It works great when I boot up with the HDD plug-in, but when my box is 
already on, if I plug the HDD, nothing happens and I can't mount it, I 
get:
mount: /dev/da0s1e: Device not configured
I then have to reboot :(

Thanks in advance.

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
gpg key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+11vbY3Hnhkr+5cQRAmW7AJ9knzcdhbBGmDMP3xL+pLoHl3A8VQCfTDp9
kpCmV4Ebhk5HPXh1njqGRN4=
=4F2j
-END PGP SIGNATURE-

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


Re: Spammers forged my address - help unbury me from bounces?

2003-05-31 Thread Warren Block
On Thu, 29 May 2003, Eduardo Viruena Silva wrote:

 On Thu, 29 May 2003, Warren Block wrote:

[after adding entries to /etc/mail/access]

  make maps
 
  is easier.  See /etc/mail/Makefile.

 dont you have to restart sendmail?

Not for changes to access.  'make maps' is enough.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lunching Telnet and Ftp servers

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, Fehmi wrote:

 How to lunch and configure a telnet and a ftp servers
 on Freebsd 4.5
 Thanks everybody

uncomment the proper lines in /etc/inetd.conf

#
#ftpstream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
#ftpstream  tcp6nowait  root/usr/libexec/ftpd   ftpd -l
#telnet stream  tcp nowait  root/usr/libexec/telnetdtelnetd
#telnet stream  tcp6nowait  root/usr/libexec/telnetdtelnetd
#

save it, and restart inetd if it is running:   killall -HUP inetd

if it is not, start it:

/usr/sbin/inetd -wW

and, to make sure it will start the next time you reboot your computer,
add:

inetd_enable=YES

in your /etc/rc.conf




 ___
 Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
 Yahoo! Mail : http://fr.mail.yahoo.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LPD permission

2003-05-31 Thread Warren Block
On Fri, 30 May 2003, Antoine Jacoutot wrote:

 The thing is it would be so much easier if we could enter NIS network
 groups as some other Unices allow it.
 But thanks for the script :)

Garance Drosihn was talking about adding that ability to lpd a while
back and asking for suggestions; I'm not sure about the present status.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass0

2003-05-31 Thread Warren Block
On Fri, 30 May 2003, Antoine Jacoutot wrote:

 How can I rescan the USB bus so that when I plug my external USB hard
 drive, it gets recognize as umass0 ?

Add

usbd_enable=YES

to your /etc/rc.conf and reboot.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LPD permission

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, Antoine Jacoutot wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi !

 How can I set permissions on LPD spooler. I would like an entire network
 to be able to print while another must not.
 Obviously, the hosts.lpd file does not accept network range nor NIS
 netgroups...
 I don't feel like entering hundreds of @ip by hands.

 Any ideas ?

are the print request sent though port 35 ?

you can allow/deny access to this port to the specific networks
in /etc/hosts.allow and /etc/hosts.deny.

check man 5 hosts_access.



 Thanks :)

 - --
 Antoine Jacoutot
 [EMAIL PROTECTED]
 http://www.lphp.org
 gpg key: http://www.lphp.org/ressources/ajacoutot.asc
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (FreeBSD)

 iD8DBQE+1zjGY3Hnhkr+5cQRAlsIAJ4ng3bU0tHkP20mGwzhp3Bk0wA+8wCeOTAt
 QNV/gT0Nlqw3jUX9I08VmMI=
 =fhTy
 -END PGP SIGNATURE-

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


- __ _
*   /   /###\   / \   __
 /\  /\ *  /  ./ \ * \__|_/  |  |
/  \/  \   |   b#|   *_ |   __   |  |  __
=.. \  \ \_\#/   / \|  /  \  |  | /\_\/
=  \_|* \___\###/   *\_/\_/\__/\__\/_/\__/
 =   \__/   _
  | |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RBEM10/100+56k at 32-bit cardBus

2003-05-31 Thread Lowell Gilbert
Victor Bratsev [EMAIL PROTECTED] writes:

 Can anybody help me to solve this -
 I've got RBEM10/100+56k PCMCIA card and I can't get it work.
 Because my cardBus - it's 32-bit, and driver is 16-bit.
 I've got a message at startup pcmcia: 32-bit cardbus is unsupported

This message means exactly what it says.  Cardbus is not supported on
4.x.  You can either run 5.x (which isn't ready for full production
use yet, but works great for lots of people) or get a 16-bit PCMCIA
card. 

 and as result if_xe.ko is unloaded with strange fhdjklsah - if I try to
 kldload if_xe it says that it can't load module because it is already
 loaded, but kldstat says that there is NO if_xe loaded.
 FreeBSD is RELEASE-4.7 with custom kernel with device xe included.

There is no if_xe module loaded because it's already compiled into the
kernel.  That's fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umass0

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 May 2003 15:46, Warren Block wrote:
 usbd_enable=YES

 to your /etc/rc.conf and reboot.

It is enabled since when I boot with the USB HDD it works :)
What I'm asking is how do I make this work when I don't boot up with the 
USB HDD (and plug-in after boot up).
I tried camcontrol rescan all but it does not work, I also did a 
killall -HUP usbd but it doesn't work either :(

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+12XSY3Hnhkr+5cQRAomxAJ9qD+8sVQV0tybacOsxk7+GZXenXQCeKOES
99LIkAL0vIrM95c6g7ZVsjk=
=eIJq
-END PGP SIGNATURE-

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


Re: LPD permission

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 May 2003 15:57, Eduardo Viruena Silva wrote:
 are the print request sent though port 35 ?

 you can allow/deny access to this port to the specific networks
 in /etc/hosts.allow and /etc/hosts.deny.

 check man 5 hosts_access.

Hum, this is an idea.
Thanks :)

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+12YPY3Hnhkr+5cQRAqBuAJ9BiPFYUfrF+M2vyF7+k25KpYFDVwCfU9L9
rjObXYrOMTqVN/xNoCnsIao=
=f9wv
-END PGP SIGNATURE-

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


Is it possible to disable 6-channel sound on VIA8235 with AD1980?

2003-05-31 Thread Oleg Sharoiko
Hello!

Are there any chances for me to switch VIA8235 with AD1980 codec into
2-channel mode? This can be done in windows, but I don't see how to do this in
FreeBSD.

-- 
Oleg Sharoiko.
Software and Network Engineer
Computer Center of Rostov State University.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problem: ata0: resetting devices

2003-05-31 Thread Kent Stewart
On Friday 30 May 2003 02:45 am, Rich Morin wrote:
 At 2:05 AM -0700 5/30/03, Kent Stewart wrote:
 Did you try doing it in /boot/loader.conf.

 The man page indicates that I can set assorted variables in this file,
 so perhaps I could put in a line such as:

hw.ata.ata_dma=0

 If so, the sysctl.conf(5) man page should be amended to indicate the
 fact.  Nonetheless, as I already have a kernel which has the variable
 turned off, this wouldn't buy me anything.

 What I'm really looking for is a way to use a different ATA controller.

I use the Promise TX2 and Maxtor pci cards in several systems. I just dropped 
them in and they worked. You would have to boot scsi.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


During Boot - error after mounting root

2003-05-31 Thread JOHN HOOVER
guys,

I can't figure out how to get the mailing list search engine to take
this so I'm asking it here.

We had power outage and machine went down, now during boot and after
mounting the root partition the character string '^[[0' appears alot.
The machine still runs and seems ok, but since I can't seem to get a
search engine to take the string anyone got an idea what this is and
if it's fixable without a complete reformat?

Also, would someone please check the MX record and reverse dns for 
ns1.gaiserco.com  207.191.77.178
The FreeBSD lists are refusing to accept mail from here claming that
my hostname can't be found. 

Thanks,
John
---
John Hoover
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: umass0

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 30 May 2003 16:08, Antoine Jacoutot wrote:
 On Friday 30 May 2003 15:46, Warren Block wrote:
  usbd_enable=YES
 
  to your /etc/rc.conf and reboot.

More info about my problem.
Once again, this happens only if:
- - I boot up without the USB HDD pluged-in then plug-in after boot-up
- - I boot up with the USB HDD, then unplug it and replug it

Here is my messages log about it:

May 30 16:30:08 sta01 /kernel: umass0: BBB reset failed, IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-in clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-out clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB reset failed, IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-in clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-out clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB reset failed, IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-in clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-out clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB reset failed, IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-in clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-out clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB reset failed, IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-in clear stall failed, 
IOERROR
May 30 16:30:08 sta01 /kernel: umass0: BBB bulk-out clear stall failed, 
IOERROR
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+12xVY3Hnhkr+5cQRAqisAKCDMU77Gb//Dvxrzgb9HpgRoy492wCcDPKY
eF/2wkTbc92J2klT+Xq5xR8=
=1CWd
-END PGP SIGNATURE-

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


Re: During Boot - error after mounting root

2003-05-31 Thread Eduardo Viruena Silva
On Fri, 30 May 2003, JOHN HOOVER wrote:

 guys,

 I can't figure out how to get the mailing list search engine to take
 this so I'm asking it here.

 We had power outage and machine went down, now during boot and after
 mounting the root partition the character string '^[[0' appears alot.
 The machine still runs and seems ok, but since I can't seem to get a
 search engine to take the string anyone got an idea what this is and
 if it's fixable without a complete reformat?

this happend to some of my users as a consequence of a virus attack.
he was running window, the mbr and partition table were destroyed...

is your partition table still alive?
is your master boot record still alive?


 Also, would someone please check the MX record and reverse dns for
 ns1.gaiserco.com  207.191.77.178


From Mexico City.

The reverse register does not work:

Isabeau:/home/mrspock host ns1.gaiserco.com
s1.gaiserco.com has address 207.191.77.178
Isabeau:/home/mrspock host 207.191.77.178
Host not found.


 The FreeBSD lists are refusing to accept mail from here claming that
 my hostname can't be found.

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


Re: During Boot - error after mounting root

2003-05-31 Thread Viktor Lazlo


On Fri, 30 May 2003, JOHN HOOVER wrote:

 We had power outage and machine went down, now during boot and after
 mounting the root partition the character string '^[[0' appears alot.
 The machine still runs and seems ok, but since I can't seem to get a
 search engine to take the string anyone got an idea what this is and
 if it's fixable without a complete reformat?

Appears where, as an error message, in files?

 Also, would someone please check the MX record and reverse dns for
 ns1.gaiserco.com  207.191.77.178
 The FreeBSD lists are refusing to accept mail from here claming that
 my hostname can't be found.

nslookup
Default Server:  helium.bc.tac.net
Address:  209.53.4.130
 ns1.gaiserco.com
Non-authoritative answer:
Name:ns1.gaiserco.com
Address:  207.191.77.178

 207.191.77.178
*** helium.bc.tac.net can't find 207.191.77.178: Non-existent host/domain

Looks like there is no reverse DNS set up for the IP.

Cheers,

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


Re: Vinum performance

2003-05-31 Thread Chuck Swiger
Per olof Ljungmark wrote:
[ ... ]
The bottleneck is write performance, reading from the documentation this 
is normally a weak point in Vinum/raid5 setups.
It's not vinum; RAID-5 write performance is going to be relatively slow even 
with hardware parity/XOR support.

The volume will be used for storing temporary files with sizes in the 
1-4MB range, a few hundreds at a time. Reads are fine but writes a bit 
slow.
What ratio of reads to writes do you expect?

Copying 170 files total 319MB TO the Vinum volume takes about 2m45s.
Copying same files FROM the Vinum volume to another volume on a hardware 
raid5 controller takes 43s.
A 3-1 ratio in speeds for software RAID-5 versus hardware doesn't strike me as 
being very wrong

This machine is not in production yet so I can still make changes to the 
configuration. The current block size is 16384 and the stripe size 419k. 
I assume it would be a good idea to change that to for example 491,520?
...or try a few stripe sizes, such as 64K or 128K.

-Chuck

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


RE: During Boot - error after mounting root

2003-05-31 Thread JOHN HOOVER

The machine is running just fine (best I can tell).
It's a Samba server with internal email, no one's complained about
it not working from the client side.

It did take three or four attempts to get it to boot successfully
after the power outage. But now it boots without any fuss except for
the strings of [O^[[O^[[O^[[O^[[O^[[ after mounting the partitions.

the error is on the console, there not in /var/log/messages or dmesg.

thanks for checking the DNS, it looks fine from here. I'll have another 
look at the files. 

John.
---
John Hoover
[EMAIL PROTECTED]



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


Speaker problem

2003-05-31 Thread Konrad Scorciapino
Hello,

I've noticed some sound output on my speakers when I do something like 
moving the mouse. However it seems to stop when I run some high load 
application such as `yes` on a terminal or when compiling a port.

Is it normal?

Thanks

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


RE: ipfw and statefull rules

2003-05-31 Thread Vince Hoffman
Damm does this mean that net.link.ether.bridge_ipf is only useful in 5.X ? 
After i found http://ezine.daemonnews.org/200211/ipfilter-bridge.html
I was intending to try using ipf on my Freebsd wlan-AP.

 -Original Message-
 From: Olivier Nicole [mailto:[EMAIL PROTECTED]
 Sent: 30 May 2003 05:28
 To: [EMAIL PROTECTED]
 Subject: Re: ipfw and statefull rules
 
 
   For the max in firewall
  protection you should use IPFILTER/IPNAT the other Firewall that is
  included with FBSD. IPFW2 is over bloated with functions which are
  so special purpose that no one uses. I know the FBSD manual kind of
  infers that ipfw is the preferred firewall but it really is not,
  those in the know use IPFILTER/IPNAT because it is so much easier to
  get stateful protection for your lan machines.
 
 OK, I have been a good boy, read the ipf documentation, until I found
 out that FreeBSD+ipf+bridge does not work.
 
 So...
 
 Olivier
 ___
 [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: Vinum performance

2003-05-31 Thread Per olof Ljungmark
What ratio of reads to writes do you expect?
Had no expectations really, I'm new to Vinum.

Copying 170 files total 319MB TO the Vinum volume takes about 2m45s.
Copying same files FROM the Vinum volume to another volume on a 
hardware raid5 controller takes 43s.


A 3-1 ratio in speeds for software RAID-5 versus hardware doesn't strike 
me as being very wrong

This machine is not in production yet so I can still make changes to 
the configuration. The current block size is 16384 and the stripe size 
419k. I assume it would be a good idea to change that to for example 
491,520?


...or try a few stripe sizes, such as 64K or 128K.

Chuck,

Thanks for your comments, I felt it was a good idea just to check before 
we start to use this piece seriously then I will not be able to touch it 
for changing configuration. Will try different stripe sizes as per your 
advice.

/per olof

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


Re: Apache problem

2003-05-31 Thread Rob O'Donnell
At 03:41 01/05/2003 -0700, Darren Pilgrim wrote:

[Redirected to -questions]

Nucking Futs [EMAIL PROTECTED] wrote:

   I have installed the apache 1.3.27-fp port in my FBSD 4.8 
system.  Apache
will not start automatically when the system boots.  I receive an error
120: Syntax error: Unterminated quoted string  I tried chmod 755 the
apache.sh in /usr/local/etc/rc.d but this didn't help either.  Have I done
something wrong, is this a known problem?  Any suggestions as to what I can
do to fix this would be appreciated.  Thanks

What was the exact command you issued that returned the error?


I have just installed FreeBSD 4.8, and this same port, and got the same error.

There appears to be a problem in apache.sh - running `apachectl start` 
manually works
fine.  I also had another copy of this file appear as 
\usr\local\etc\rc.d\srm.conf  !

My own problem is that despite installing apache_fp, I don't seem to be 
able to
access the frontpage extensions!  Fp2000 elsewhere on the network refuses to
admit that the server has FP extensions installed.  The access.log shows 
404 errors
trying to access an .exe file in _vti_bin.  I understand that these files 
don't really
exist, but that the patches to apache itself should redirect requests to 
the real files.
Is there anything I can do to verify that the relevant patches to apache 
have been
applied properly?  Alternatively, is there a good how-to about on 
installing apache
and adding the extensions manually, rather than use this port?  Do the 
version 5
FP extensions still support Frontpage 2000 ?

Thanks in advance

Rob

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


VPN from one Win2k host to a FreeBSD network?

2003-05-31 Thread David Kelly
This has been covered many times before, I'm sure, just I just can't
find it now I have need.

A consultant with one Win2k system behind a home-office NAT firewall
needs to speak Microsoft protocols to an NT4 server inside my FreeBSD
NAT firewall. Also connect to the Oracle database.

I currently have an IPsec VPN to yet another site with an identical
FreeBSD firewall as I have here. Microsoft protocols flow over that link
as well.

The fact her remote Win2k system is already behind NAT suggests to me
using Win2k built-in IPsec isn't going to work with racoon?

She can ssh to my FreeBSD system. I have not disabled sshd port
forwarding. An attractive low threshold of pain might be to use PuTTY on
Win2k and port forward to here. Research suggests she would have to
disable filesharing, or possibly remove that module, in order to free
ports 137-139 so this would work. Might work but isn't low threshold of
pain.

Simple ssh port forwarding should work fine for Oracle.

Next thought would be to tunnel PPP thru SSH. Have found plenty of
examples of how to do this Unix to Unix but not from inferior OS's.

Yet another thought was to use PPPoE. Win2k should have a PPPoE client.
Is there a tool on FreeBSD to receive such connections? Would it appear
on the Win2k system as another network interface or would it be her sole
interface while it is up? Encryption for PPPoE?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problem: ata0: resetting devices

2003-05-31 Thread Rich Morin
At 7:29 AM -0700 5/30/03, Kent Stewart wrote:
I use the Promise TX2 and Maxtor pci cards in several systems. I
just dropped them in and they worked. You would have to boot scsi.
   

So, you're saying that I can't boot from an ATA drive on a PCI-based
controller card?  What is the background for this limitation?
Also, I'm curious about the effects of turning off hw.ata.ata_dma;
outside of using some CPU time, what are the likely effects of this.
For instance, is this likely to slow down disk transfers, assuming
that the system is mostly idle?
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm- my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problem: ata0: resetting devices

2003-05-31 Thread Kent Stewart
On Friday 30 May 2003 09:50 am, Rich Morin wrote:
 At 7:29 AM -0700 5/30/03, Kent Stewart wrote:
 I use the Promise TX2 and Maxtor pci cards in several systems. I
 just dropped them in and they worked. You would have to boot scsi.

 

 So, you're saying that I can't boot from an ATA drive on a PCI-based
 controller card?  What is the background for this limitation?

No, you didn't understand. The ATA cards appear like a scsi to the bios. To 
boot from an add in ATA card, you have to choose scsi boot.


 Also, I'm curious about the effects of turning off hw.ata.ata_dma;
 outside of using some CPU time, what are the likely effects of this.
 For instance, is this likely to slow down disk transfers, assuming
 that the system is mostly idle?

You lose a lot of speed. My new ATA cards are all UDMA-133. Dma transfers are 
always faster. PIO is set at something like 16MB/s. You only get so many 
milliseconds of time for a each transfer block and dma is always faster.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


df -h reporting weird numbers (FreeBSD 4.8)

2003-05-31 Thread Joel V
/dev/ad0s1g   108G   5.2G95G 5%/usr
/dev/ad2s1e55G   428M50G 1%/mnt/backups
 
Okey, 55GB minus 0.5GB should be 54.5GB according to my math. I wont
even mention /usr. Where are the missing gigabytes?
Btw, drive is 60GB WD special edition, works perfectly, checked the
drive with Data Lifeguard etc. Filesystem is UFS.
This is the entry in fstab:
 
/dev/ad0s1g /usrufs rw,userquota2
2
/dev/ad2s1e /mnt/backupsufs rw  2
3
 
 
 
Cheers.
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problem: ata0: resetting devices

2003-05-31 Thread Rich Morin
At 10:04 AM -0700 5/30/03, Kent Stewart wrote:
No, you didn't understand. The ATA cards appear like a scsi to the bios.
To boot from an add in ATA card, you have to choose scsi boot.
I'll look into this.  However, I haven't seen any way to request this
in the SETUP screens.  Anything I should look for?
You lose a lot of speed. My new ATA cards are all UDMA-133. Dma transfers are
always faster. PIO is set at something like 16MB/s. You only get so many
milliseconds of time for a each transfer block and dma is always faster.
So, it's definitely worth pursuing.

-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm- my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ecrix VXA-1 tape drive and FreeBSD 4.5

2003-05-31 Thread Martyn Hill
Hi

I've never yet managed to get a solution to the following problem, but
thought I'd try one last time before ditching the Ecrix tape we bought last
year...

We run FreeBSD 4.5 RELENG on our fileserver (sjserver) and I have installed
an Ecrix VXA-1 tape drive (IDE) on the secondary on-board IDE controller.
The system has an additional E-IDE controller. The following message snip
appears in /var/log/messages:

Nov 25 20:53:01 sjserver /kernel: ad0: 19623MB IC35L020AVER07-0
[39870/16/63] at ata0-master UDMA33
Nov 25 20:53:01 sjserver /kernel: ad4: 39266MB IC35L040AVVN07-0
[79780/16/63] at ata2-master UDMA100
Nov 25 20:53:01 sjserver /kernel: ad6: 39266MB IC35L040AVVN07-0
[79780/16/63] at ata3-master UDMA100
Nov 25 20:53:01 sjserver /kernel: (null): MODE_SENSE - UNIT ATTENTION asc=29
ascq=00 error=04
Nov 25 20:53:01 sjserver /kernel: (null): MODE_SENSE - ILLEGAL REQUEST
asc=24 ascq=00 sks=40 00 02 error=04
Nov 25 20:53:01 sjserver last message repeated 3 times
Nov 25 20:53:01 sjserver /kernel: ata1-master: ECRIX VXA-1a/V22B7B tape
device - NO DRIVER!
Nov 25 20:53:01 sjserver /kernel: acd0: CDROM CRD-8320B at ata1-slave
using PIO4
N

The kernel has been compiled with a config file that has what I believe to
be the appropriate drivers:

# ATA and ATAPI devices
device  ata
device  atadisk   # ATA disk drives
device  atapicd   # ATAPI CDROM drives
device  atapist   # ATAPI tape drives
options  ATA_STATIC_ID  # Static device numbering

Q1: With reference to the line above that end NO DRIVER! - what exactly
does this signify? I wasn't aware that a particular driver was required for
an IDE drive.

Q2: Has any one used this IDE device successfully and could forward their
solution?

Q3: What dev number would be required/used for this device (ad2,
ata1-master)

Q4: Is it the combination of Tape-drive and CD-ROM on the same controller
likely to be the cause difficulty?

As always - any assistance would be very welcome!

Martyn Hill
Network Administrator
St James Independent School
London

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


Re: Fw: Help:FW Harddisk has no space!

2003-05-31 Thread J Leung
Dear Stanley,

good to hear what you found using fsck. I still don't
have a sidewinder machine next to me until now... so
I'm not quite sure what the option -y will do. I
searched the Internet, (I never had problem on file
system until now, so I never use those option before.)
-y will assume all the interative question to yes. Why
don't you use it Interatively, it sounds more save to
me. Anyway, the command looks okay for me, but do the
following:

1) make a copy (backup) of all the files in /home
before the operation. In the case of data lose in
/home after the operation.
2) reboot the system after the command. (because you
will do the operation on a mounted file system, and it
will damage the file system in some way. the best
method is unmount it before the operation, then you
will be save. The problem is I'm not sure how to
unmount /home partition. So, backup and reboot.)

if possible, I would like to have the log for fsck
command (before and after the operation) you've got
for reference, thanks.

Good luck.
Jackson

--- Stanley Wong [EMAIL PROTECTED] wrote:
 Dear Jackson,
 
 I have take a look in the function fsck, and run it
 already. Luckly, it
 shows me a inode error found in the /home partition
 and i think i should use
 fsck./home -y. Do you thank it is ok?
 
 Please mail back me asap, i plan to run it tomorrow
 , thank you!
 
 Stanley
 - Original Message -
 From: J Leung [EMAIL PROTECTED]
 To: Stanley Wong [EMAIL PROTECTED]
 Sent: Friday, May 30, 2003 3:49 PM
 Subject: Re: Fw: Help:FW Harddisk has no space!
 
 
  Dear Stanley,
 
  yes, 'sync' only can ensure that all disk access
 is
  finished. what I think may happen is the file
 table
  not updated cause by this case. if the partition
 is
  some kind of corrupt, you need to use 'fsck' to
 fix
  the problem. Of course, you won't know fsck will
  produce a positive or negative result
  In the case of /home not have enough disk space, I
  can't be sure that reboot will fix the problem. Of
  course the OS will fix some of the filesystem
 error
  during start up. (13MB data won't eat 200+MB
 space).
  In the worst situation, you may need to restore
 the
  whole system by tape.
  As you know it is not a normal case, you may try
  'sync', 'fsck' or reboot. See which method can fix
 the
  problem.
 
  Jackson
 
  --- Stanley Wong [EMAIL PROTECTED]
  wrote:
   Jackson,
  
   I read the man of sync, which you mentioned. It
   shows it is only a program
   to insure that all disk writes have been
 completed
   before the processor is
   halted in a way not suitably done by reboot(8) 
   halt(8).Do u think it can
   recover the problem? And, do u think we just
 reboot
   the system and the
   problem will be fixed? Can you ensure the sytem
 can
   be running properly
   after the reboot even under the - amount of free
   space of partition /home?
  
   Regards,
   Stanley
  
   - Original Message -
   From: J Leung [EMAIL PROTECTED]
   To: Stanley Wong
 [EMAIL PROTECTED]
   Sent: Friday, May 30, 2003 9:53 AM
   Subject: Re: Fw: Help:FW Harddisk has no space!
  
  
Dear Stanley,
   
1) seems like those function is not available
 in
   your
Sidewinder, please man the function df and du,
 as
   you
know I don't have a sidewinder machine at the
   moment.
2) you may notice that after running du, the
 /home
partition only have 13MB, I think it may cause
 by
   the
error report of file system.
3) moreover, if this is the case of
 synchronize
between FAT and physical file system. Run the
 sync
command will correct the mismatch.
   
Regards,
Jackson
   
   
   
--- Stanley Wong
 [EMAIL PROTECTED]
wrote:
 Fm Stanley
 - Original Message -
 From: J Leung [EMAIL PROTECTED]
 To: Stanley Wong
   [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, May 29, 2003 10:02 AM
 Subject: Re: Fw: Help:FW Harddisk has no
 space!


  Dear Stanley,
 
  I'm not quite sure for this case, still
 trying
   to
 get
  more information from SideWinder. You may
 try
   this
 in
  the mean time.
 
  try this now to see the disk usage for
 /home
   (the
 last
  statement:
 df -h
 du /home -h
 
  and send me the result.
 
  try this in lunch time period because it
   invoke
 sync
  operation:
 
 df --sync -h
 
  Please send me the result afterward.
 
  Thanks and Regards,
  Jackson
  (ASL-HK)
 
 
 
  __
  Do you Yahoo!?
  Yahoo! Calendar - Free online calendar
 with
   sync
 to Outlook(TM).
  http://calendar.yahoo.com login: admin
 Password:
 Last login: Wed May 28 17:26:23 from
 10.0.1.48
 Copyright 1992, 1993, 1994, 1995, 1996, 1997
 Berkeley Software Design, Inc.
 Copyright (c) 1980, 1983, 1986, 1988, 1990,
   1991,
 1993, 1994
 

Re: Boot problem: ata0: resetting devices

2003-05-31 Thread Kent Stewart
On Friday 30 May 2003 10:25 am, Rich Morin wrote:
 At 10:04 AM -0700 5/30/03, Kent Stewart wrote:
 No, you didn't understand. The ATA cards appear like a scsi to the bios.
 To boot from an add in ATA card, you have to choose scsi boot.

 I'll look into this.  However, I haven't seen any way to request this
 in the SETUP screens.  Anything I should look for?

No, idea. The older machines could all boot from scsi but my in memory boot 
experience is only with P-II or IIIs and AMD Athlon's or better. These 
systems have scsi as a defined boot parameter. 

I had something like a KT7A that was part of the flawed Southbridge set and I 
had it using an ATA addin card. The mobo eventually died. My systems 
typically have one HD per controller. They have 2 hooked up to the mobo and 2 
to an addin. My buildworld speeds vary as much as 50% or more depending on 
the setup.


 You lose a lot of speed. My new ATA cards are all UDMA-133. Dma transfers
  are always faster. PIO is set at something like 16MB/s. You only get so
  many milliseconds of time for a each transfer block and dma is always
  faster.

 So, it's definitely worth pursuing.


My definition of speed is a concept based on how long it takes for the prompt 
to return after I press the enter key. A fast HD helps. This would be 
especially true if you were following something other than a release because 
a buildworld can take place much faster. Installing from a UDMA rated CD-ROM 
is also much faster but that is also another parameter that you have to add 
to /boot/loader.conf.. BNW, the parameter name is the same as the depricated 
sysctl variables but the value has to be quoted (). 

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: how to stop resolv.conf from being updated

2003-05-31 Thread T Kellers
A sledgehammer approach to make it work:

Comment out the following lines from /sbin/dhclient-script

make_resolv_conf() {
  if [ x$new_domain_name_servers != x ]; then
if [ x$new_domain_name != x ]; then
  echo search $new_domain_name /etc/resolv.conf
else
  rm /etc/resolv.conf
fi
for nameserver in $new_domain_name_servers; do
  echo nameserver $nameserver /etc/resolv.conf
done
  fi
}

This will prevent dhcp from making a new /etc/resolv.conf file (on boot, 
re-boot).  Whatever nameserver you enter in /etc/resolv.conf will stay put.

(I had to take this approach some years ago when I was using an apple airport 
basestation as my gateway, and the dhcp server software kept assigning 
10.0.1.1 as my nameserver in /etc/resolv.conf.)

Check the dhclient.conf man page, too, for less drastic measures.

Tim Kellers
CPE/NJIT






On Friday 30 May 2003 02:22 pm, John Straiton wrote:
You could always use chflags to make the file un-writeable... Tho' there
is probably a better solution

#chflags schg /etc/resolv.conf

John Straiton
[EMAIL PROTECTED]
Clickcom, Inc
704-365-9970x101

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Laszlo Vagner
 Sent: Friday, May 30, 2003 2:09 PM
 To: [EMAIL PROTECTED]
 Subject: how to stop resolv.conf from being updated


 I am using DHCP on a cable modem and my
 providers nameserver really sucks
 but changing my resolv.conf repairs
 the lookups for a little while then it gets
 set back to them upon bootup.

 how do i make it stay the way i set it.


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/free bsd-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]

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


Re: how to stop resolv.conf from being updated

2003-05-31 Thread Robert Westendorp
You can use the prepend statement in your dhclient.conf file. That way you
can put your server first and leave the others in there for backup.

Here's the line you need to add

prepend domain-name-servers dns server ip;

- Original Message -
From: Laszlo Vagner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 11:09 AM
Subject: how to stop resolv.conf from being updated


 I am using DHCP on a cable modem and my
 providers nameserver really sucks
 but changing my resolv.conf repairs
 the lookups for a little while then it gets
 set back to them upon bootup.

 how do i make it stay the way i set it.


 ___
 [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]


newbie: cant create stunnel.pid file

2003-05-31 Thread admin

Hi,

okay well I am wanting to Get stunnel working.
it is complaining that the stunnel.pid file cannot be created.
what am I doing wrong?

--- from logs 
2003.05.30 11:43:56 LOG3[44790:134598656]: Cannot create pid file /var/run/stunn
el/stunnel.pid
2003.05.30 11:43:56 LOG3[44790:134598656]: create: No such file or directory (2)

-- from configuration ---
# Comment it out on Win32
cert = /usr/local/etc/stunnel/mail.pem
chroot = /var/tmp/stunnel
# PID is created inside chroot jail
pid = /var/run/stunnel/stunnel.pid
setuid = stunnel
setgid = stunnel

--- the dir exists
typhoon# ls -ld /var/run/stunnel/
drwxr-xr-x  2 stunnel  stunnel  512 May 30 11:43 /var/run/stunnel/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to stop resolv.conf from being updated

2003-05-31 Thread Lowell Gilbert
T Kellers [EMAIL PROTECTED] writes:

 A sledgehammer approach to make it work:
 
 Comment out the following lines from /sbin/dhclient-script
 
 make_resolv_conf() {
   if [ x$new_domain_name_servers != x ]; then
 if [ x$new_domain_name != x ]; then
   echo search $new_domain_name /etc/resolv.conf
 else
   rm /etc/resolv.conf
 fi
 for nameserver in $new_domain_name_servers; do
   echo nameserver $nameserver /etc/resolv.conf
 done
   fi
 }

Less of a sledgehammer for a similar effect:

 prepend domain-name-servers 127.0.0.1;
[or wherever your nameserver should be]
As an option in dhclient.conf(5)

You can use supersede instead, if you *really* don't want to go to the
ISP's servers, even if yours fails.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: secure pop server

2003-05-31 Thread Alfonso Romero
You can use imap-uw with SSL only, and if you´re gonna use sendmail as the
MTA, it´s the easiest choice I´ve seen. Just install the cclient port and
the imap-uw port, enable inetd and add the required lines to inetd.conf:

pop3s   stream  tcp nowait  root/usr/local/libexec/ipop3d
ipop3d
imaps   stream  tcp nowait  root/usr/local/libexec/imapd
imapd

you need a certificate to use SSL, so use 'make cert' at the
/usr/ports/mail/imap-uw directory.

I think that´s all.

Alfonso Romero

- Original Message -
From: admin [EMAIL PROTECTED]
To: Bryan Vyhmeister [EMAIL PROTECTED]; admin [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 2:28 AM
Subject: Re: secure pop server


 On Thu, 29 May 2003 23:34:41 -0700, Bryan Vyhmeister wrote
  On Thursday, May 29, 2003, at 11:23 PM, admin wrote:
 
   I am looking to set up a secure pop server on one of my FreeBSD 4.8
   Stable
   boxes.  Can somebody send me in the right direction?  Recommend
   software and
   provide links?
 
  A POP3 server like cucipop works very nicely. It is found in
  /usr/ports/mail/cucipop. By secure I am assuming you mean SSL
  support. The best way to add SSL support to cucipop is using
  stunnel. It is found in /usr/ports/security/stunnel. Cucipop works
  great on a small scale but I use courier-imap
  (/usr/ports/mail/courier-imap) along with stunnel for my main
  server. (In case you are wondering, courier-imap includes a POP3
  server as well as an IMAP server.) Courier-imap only supports
  maildir while cucipop only supports mbox. It really depends on what
  your requirements are. You did not give much information about what
  your goal is. Hope that helps.
 

 yeah lets get some details in there.  the users of this application are
 windows outlook users wanting to download their email while they travel -
so I
 think my options are to go for mbox support, no?


 - Noah



  Bryan


 ___
 [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: Vinum performance

2003-05-31 Thread Drew Tomlinson
- Original Message - 
From: Per olof Ljungmark [EMAIL PROTECTED]
To: Chuck Swiger [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:41 AM


  What ratio of reads to writes do you expect?

 Had no expectations really, I'm new to Vinum.

  Copying 170 files total 319MB TO the Vinum volume takes about 2m45s.
  Copying same files FROM the Vinum volume to another volume on a
  hardware raid5 controller takes 43s.
 
 
  A 3-1 ratio in speeds for software RAID-5 versus hardware doesn't strike
  me as being very wrong
 
  This machine is not in production yet so I can still make changes to
  the configuration. The current block size is 16384 and the stripe size
  419k. I assume it would be a good idea to change that to for example
  491,520?
 
 
  ...or try a few stripe sizes, such as 64K or 128K.

FWIW - The man page suggests avoiding powers of 2 and a minimum 128K strip
size.

Cheers,

Drew

 Thanks for your comments, I felt it was a good idea just to check before
 we start to use this piece seriously then I will not be able to touch it
 for changing configuration. Will try different stripe sizes as per your
 advice.

 /per olof

 ___
 [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: Boot problem: ata0: resetting devices

2003-05-31 Thread Rich Morin
At 10:52 AM -0700 5/30/03, Kent Stewart wrote:
My definition of speed is a concept based on how long it takes for the
prompt to return after I press the enter key.  A fast HD helps.  ...
The 300 MHz PII I've been running has been totally satisfactory, in terms
of speed, except that I have a Perl/Tk app that is quite demanding.  My
entire motivation for upgrading is to get this app to run faster.  The
current setup (PIO) is still faster than the old machine, but I suspect
strongly that getting DMA online would be a win...
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm- my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: !!X and Securelevel!!

2003-05-31 Thread clayton rollins


On Thu, 29 May 2003 20:02:05 Alejandro N??ez 
Sandoval[EMAIL PROTECTED] wrote


Hi,

I am tring to run my kdm in securelevel=2, put it is not working,
when i try with /etc/ttys the x not open, when i try with rc.local, the X
open but the console is block.
I read about aperture in netbsd, is there a port to freebsd?

Hi Alejandro,

There is an aperture patch, though I don't know how/where to apply it. (Or, 
which one. There's two patches...)

At any rate, a README is at: http://www.tu-bs.de/~y0015675/README.aperture

Patches are at: http://people.FreeBSD.org/~tmm/

Hope that gets you started,
Clayton
PS. try 
http://groups.google.com/groups?hl=enlr=lang_engroup=mailing.freebsd.questions 
in the future. It's a great resource. (It's where I found this 
information...)

_
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]


any recommended simple text editors?????

2003-05-31 Thread HG
Hi All,

I am looking for a simple text editor that i can use when 
i connect to the freebsd box with an ssh client (no x window) 
that supports vt100 or vt400 (called putty.exe) . 
Should also be able to connect to a linux box by recompiling
source for the linux computer. 

There are so many editors listed in the packages cd , can 
anyone recommend one in particular

Prefered is one that is menu driven with no keystrokes 
to remember other than the common keys on the pc
keyboard : delete , arrows , backspace etc. 

thanks 

Henri 


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


Re: any recommended simple text editors?????

2003-05-31 Thread Bryan Vyhmeister
On Friday, May 30, 2003, at 12:16 PM, HG wrote:

Hi All,

I am looking for a simple text editor that i can use when
i connect to the freebsd box with an ssh client (no x window)
that supports vt100 or vt400 (called putty.exe) .
Should also be able to connect to a linux box by recompiling
source for the linux computer.
There are so many editors listed in the packages cd , can
anyone recommend one in particular
Prefered is one that is menu driven with no keystrokes
to remember other than the common keys on the pc
keyboard : delete , arrows , backspace etc.
Pico is relatively simple. Pico is typically the editor for the pine 
email client. I used when I first started out in Linux. By the time I 
moved over to FreeBSD, vi or vim was my editor of choice and mutt was 
my email client. You probably won't want to use vi or vim because it is 
not necessarily intuitive. It is extremely efficient and great to work 
with after you get used to it though. It was one of the best things I 
learned to use. Hope that helps.

Bryan

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


RE: how to stop resolv.conf from being updated

2003-05-31 Thread John DeStefano
 I am using DHCP on a cable modem and my
 providers nameserver really sucks
 but changing my resolv.conf repairs
 the lookups for a little while then it gets
 set back to them upon bootup.
 
 how do i make it stay the way i set it.

Maybe this info from man dhclient.conf will be helpful?
 
The do-forward-updates statement
do-forward-updates [ flag ] ;
If you want to do DNS updates in the DHCP client script (see dhclient-
script(8))  rather  than  having the DHCP client do the update directly
(for example, if you want to use SIG(0) authentication,  which  is  not
supported  directly by the DHCP client, you can instruct the client not
to do the update using the do-forward-updates statement.   Flag  should
be  true if you want the DHCP client to do the update, and false if you
don't want the DHCP client to do the update.By  default,  the  DHCP
client will do the DNS update.
 
~John


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: any recommended simple text editors?????

2003-05-31 Thread T Kellers
The simplest is already built into freebsd; it's called ee.  It has some 
keystroke help built into the top of the editor display.   Another easy 
editor to use is joe (Joe's own editor).  It also has a displayed keystroke 
help section, and, while it's not vi, it is a fairly powerful (yet fairly) 
simple editor.

/usr/ports/editors/joe-devel 

Tim Kellers
CPE-NJIT

On Friday 30 May 2003 03:16 pm, HG wrote:
Hi All,

I am looking for a simple text editor that i can use when
i connect to the freebsd box with an ssh client (no x window)
that supports vt100 or vt400 (called putty.exe) .
Should also be able to connect to a linux box by recompiling
source for the linux computer.

There are so many editors listed in the packages cd , can
anyone recommend one in particular

Prefered is one that is menu driven with no keystrokes
to remember other than the common keys on the pc
keyboard : delete , arrows , backspace etc.

thanks

Henri


___
[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]


XFree config

2003-05-31 Thread Tyrel Richey
I just installed FreeBSD on my computer.
It is working fine and I can get to the shell and do everything execept
go to
the X window. I typed in syinstall and went to the graphical
configuaration
for the X window system and typed in all the moniter and graphics card
paramiters and every thing else but when I finished it said
The X Window configuration seems to have failed
would you like to try again
I have a GeForce4 MX 420 and a CTX moniter
Please send any ideas you have on what the problem is to
[EMAIL PROTECTED] thank you for your time and help

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


ymessenger dies?

2003-05-31 Thread James Pace
Hi.

I've been having this problem for too long now.  On one of my systems,
when I run ymessenger (Yahoo instant messenger client), it works.

On another, whenever I am supposed to get a message, it dies, and this
message appears:

rayon [jepace:~]  ymessenger

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **: ISO8859-1


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **: ISO8859-1

/usr/libexec/ld-elf.so.1: /usr/local/lib/ymessenger/libgtkhtml.so.21:
Undefined symbol iconv_open


Everything should be installed right:
iconv-2.0_3 =   up-to-date with port
libiconv-1.8_2  =   up-to-date with port
gtk-1.2.10_9=   up-to-date with port

Any ideas?

Thanks!

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


rotating motd

2003-05-31 Thread John DeStefano
A trivial question, but a question nonetheless!  My FreeBSD /etc/motd is a static and 
rather boring file.  I recall that when I used to login to my Slackware machine, it 
spruced things up a bit by offering some sort of rotating motd, which would spit out a 
random quote or joke instead of the same ol' static message.  Is there a way to 
simulate this in FreeBSD?  Unfortunately, 'man motd' does little more than state the 
obvious, and describe a method by which to surpress the motd altogether.
This, of course, occurs to me as I ssh into my home machine from work!
Thanks,
~John


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rotating motd

2003-05-31 Thread Adam Maas

- Original Message -
From: John DeStefano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 4:25 PM
Subject: rotating motd


 A trivial question, but a question nonetheless!  My FreeBSD /etc/motd is a
static and rather boring file.  I recall that when I used to login to my
Slackware machine, it spruced things up a bit by offering some sort of
rotating motd, which would spit out a random quote or joke instead of the
same ol' static message.  Is there a way to simulate this in FreeBSD?
Unfortunately, 'man motd' does little more than state the obvious, and
describe a method by which to surpress the motd altogether.
 This, of course, occurs to me as I ssh into my home machine from work!
 Thanks,
 ~John



Slackware actually just throws Fortune into the login scripts. Fortune being
a nifty app that gives out random quotes.

Adam

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


Re: how to stop resolv.conf from being updated

2003-05-31 Thread David Kelly
On Friday 30 May 2003 01:09 pm, Laszlo Vagner wrote:
 I am using DHCP on a cable modem and my
 providers nameserver really sucks
 but changing my resolv.conf repairs
 the lookups for a little while then it gets
 set back to them upon bootup.

 how do i make it stay the way i set it.

IMHO all the other suggestions are less good than mine. The 
recommendation to chmod /etc/resolv.conf simply does not work.

My suggestion is to create an /etc/dhclient-enter-hooks containing these 
3 lines. The advantage is this survives upgrades and mergemaster.

#/bin/sh
make_resolv_conf() {
}


-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/stand/sysinstall error

2003-05-31 Thread Matt Juszczak
Hello,

I'm experiencing the same problem that this person was experiencing 2
years ago:

http://www.faqchest.com/linux/freeBSD/fbsd-01/fbsd-0105/fbsd-010522/fbsd01050805_08260.html

My exact error when I run sysinstall is:

afd0: reading primary partition table: error reading fsbn 0

The machine seems to run fine, but I JUST installed BSD on it about 10
minutes before this started happening.  Is it just a bad drive?  The
machine seems to run fine without this error.

Any ideas would be appreciated.  Thanks!

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


Re: any recommended simple text editors?????

2003-05-31 Thread Adam
On Fri, 2003-05-30 at 15:16, HG wrote:
 Hi All,
 
 I am looking for a simple text editor that i can use when 
 i connect to the freebsd box with an ssh client (no x window) 
 that supports vt100 or vt400 (called putty.exe) . 
 Should also be able to connect to a linux box by recompiling
 source for the linux computer. 
 
 There are so many editors listed in the packages cd , can 
 anyone recommend one in particular
 
 Prefered is one that is menu driven with no keystrokes 
 to remember other than the common keys on the pc
 keyboard : delete , arrows , backspace etc. 

nano or ee

-- 
Adam [EMAIL PROTECTED]

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


Re: how to stop resolv.conf from being updated

2003-05-31 Thread Mark
- Original Message - 
From: Laszlo Vagner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:09 PM
Subject: how to stop resolv.conf from being updated


 I am using DHCP on a cable modem and my
 providers nameserver really sucks
 but changing my resolv.conf repairs
 the lookups for a little while then it gets
 set back to them upon bootup.

 how do i make it stay the way i set it.


Using brute force to prevent /etc/resolv.conf from being changed (with a
suggested chmod or chflags) is, imho, not the way. Play by the book, and put
something like this in /etc/resolv.conf:

prepend domain-name my.nameserver.net ;
prepend domain-name-servers 194.0.0.1;
supersede domain-name my.nameserver.net 

The trailing spaces ARE intentional. That worked like a charm for me, and
will survive a reboot. Substitute your own ISP, of course.

- Mark

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


Complicated routing/SSH-FTP tunneling problem

2003-05-31 Thread Daniela
Hi all!

I have the following problem:

I'm running a FreeBSD SSH server.
Some clients can't connect to it. They are on a local network, connected to 
the internet through another server. This second server used to allow SSH 
login, and users could then connect to my server from the second server.

On the second server, SSH login isn't allowed any more. It won't route any 
requests to the outside, except for mail. The FTP port is open, however. I 
heard it is possible to create a tunnel over FTP, so the clients could still 
get to my server.

How could we do this (if it is possible)? Are there other ways?

Greetings,
Daniela


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


Re: sleep for specified time

2003-05-31 Thread Joshua Oreman
On Fri, May 30, 2003 at 09:04:50AM -0400 or thereabouts, Lowell Gilbert seemed to 
write:
   someone please tell me how to make a kld sleep for specified number of 
   microseconds
   
   its urgent.
  
  nanosleep (microseconds*1000);
 
 In the kernel?  Surely not.
 
 I think you'd need to explicitly run the scheduler, and probably use a
 timer event to resume later.  There are established techniques for
 these things, but the BSD kernel details aren't my specialty...

Sorry, I really am not familliar with the kernel. I just figured, nanosleep
is a syscall, so it should work in kernel...

Sorry again,
-- Josh

 ___
 [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: df -h reporting weird numbers (FreeBSD 4.8)

2003-05-31 Thread Rob
On my (much smaller) disk, this is the output for root:

  /dev/ad0s1a   126M42M74M36%/

And 42M + 74M is only 166M - 10M missing?

Using dumpfs(8), I see that the value of minfree is 8%:

  magic   11954   timeTue May 27 07:38:32 2003
  [ ...snip... ]
  minfree 8%  optim   timemaxcontig 7 maxbpg  4096

And 8% of 126M is 10M, which works out just right. So df(1) is reporting
the space available to non-root users, not the actual free space on the
filesystem.

You can use tunefs(8) to change minfree - 8% is the default. The manpage
says that this isn't a good idea, but it may depend on the size of the
filesystem.

I've noticed that Solaris used to set the same default minfree for
everything, but recent versions make it much smaller (down to 1%) on
very large disks. This may or may not be a good idea for FreeBSD - I
don't know enough about filesystems.

- Original Message -
From: Joel V [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 2:48 AM
Subject: df -h reporting weird numbers (FreeBSD 4.8)


 /dev/ad0s1g   108G   5.2G95G 5%/usr
 /dev/ad2s1e55G   428M50G 1%/mnt/backups

 Okey, 55GB minus 0.5GB should be 54.5GB according to my math. I wont
 even mention /usr. Where are the missing gigabytes?
 Btw, drive is 60GB WD special edition, works perfectly, checked the
 drive with Data Lifeguard etc. Filesystem is UFS.
 This is the entry in fstab:

 /dev/ad0s1g /usrufs rw,userquota2
 2
 /dev/ad2s1e /mnt/backupsufs rw  2
 3



 Cheers.


 ___
 [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]


cucipop support mail list

2003-05-31 Thread admin


does anybody know of a cucipop questions mail list?

- Noah

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


Firebird broken?

2003-05-31 Thread Socketd
Hi all

When installing Firebird (1.0.2) on my FreeBSD 4.8 server I get:

source/interbase/bin/gbak -c misc/metadata.gbak
source/refDatabases/jrd/metadata.gdb
can't format message 12:256 -- message system code -4operating system
directive semget failed
can't format message 12:256 -- message system code -4No such file or
directory
can't format message 12:256 -- message system code -4can't format
message 12:33 -- message system code -4
can't format message 12:169 -- message system code -4can't format
message 12:83 -- message system code -4
*** Error code 1

Stop in /usr/ports/databases/firebird/work/firebird-1.0.2.908.
*** Error code 1

Hope someone can help.

Please cc to me as I am not on the list.

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


Re: Firebird broken?

2003-05-31 Thread Kris Kennaway
On Sat, May 31, 2003 at 01:39:55AM +0200, Socketd wrote:
 Hi all
 
 When installing Firebird (1.0.2) on my FreeBSD 4.8 server I get:
 
 source/interbase/bin/gbak -c misc/metadata.gbak
 source/refDatabases/jrd/metadata.gdb
 can't format message 12:256 -- message system code -4operating system
 directive semget failed

Looks like you don't have the SYSV IPC options in your kernel.

Kris


pgp0.pgp
Description: PGP signature


RE: During Boot - error after mounting root

2003-05-31 Thread Andy Farkas
On Fri, 30 May 2003, JOHN HOOVER wrote:

 The machine is running just fine (best I can tell).
 It's a Samba server with internal email, no one's complained about
 it not working from the client side.

 It did take three or four attempts to get it to boot successfully
 after the power outage. But now it boots without any fuss except for
 the strings of [O^[[O^[[O^[[O^[[O^[[ after mounting the partitions.

 the error is on the console, there not in /var/log/messages or dmesg.

Does the string appear continually or is it only one short string and then
ok? Does it happen if you switch to a different virtual screen?

I bet you have a broken keyboard (zapped during the power outage).

--

 :{ [EMAIL PROTECTED]

Andy Farkas
System Administrator
   Speednet Communications
 http://www.speednet.com.au/



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


Sendmail cyrus-sasl

2003-05-31 Thread Steve Devine
Sorry if this is off topic but I have Googled all day with no luck.
Using Freebsd 5.0

I installed Sendmail-sasl from ports and regardless of what I do I cant
get it to auth out of the /etc/passwd.
I am trying to use PLAIN LOGIN (with starttls)
Sendmail stuff in sendmail.cf :
C{TrustAuthMech}GSSAPI LOGIN DIGEST-MD5 PLAIN
O AuthMechanisms=GSSAPI LOGIN DIGEST-MD5 PLAIN


Sendmail.conf
#This works but I have to put every one into sasldb:
pwcheck_method: auxprop
auxprop_plugin: sasldb

# I want to do this ( could do it with sasl 1,xxx)
pwcheck_method: passwd

Any thoughts ?

Thanks
Steve Devine


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


Re: rotating motd

2003-05-31 Thread Jerry McAllister
 
 A trivial question, but a question nonetheless!  My FreeBSD /etc/motd is a static 
 and rather boring file.  I recall that when I used to login to my Slackware machine, 
 it spruced things up a bit by offering some sort of rotating motd, which would spit 
 out a random quote or joke instead of the same ol' static message.  Is there a way 
 to simulate this in FreeBSD?  Unfortunately, 'man motd' does little more than state 
 the obvious, and describe a method by which to surpress the motd altogether.
 This, of course, occurs to me as I ssh into my home machine from work!

Just run 'fortune' from within your .cshrc or whatever shell startup script.
That's what does it.

see  man fortune

jerry

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


Re: General DDOS curiousity

2003-05-31 Thread Todd Zimmermann
Lowell Gilbert wrote:
Todd Zimmermann [EMAIL PROTECTED] writes:


This isn't so much a question as a curiosity I noticed tonight.

I have a dialup account with att.net  get a dynamic ip in the 12.93
block.  While logging in tonight and initializing ipfilter, I noticed
7 blocked input packets right away.  No big deal, but I checked my
log. Each packet was from a diff ip, but all to port 41170 UDP...
Now I'm up to 501 blocked packets, unique ips but same port.  I've
logged into scans before, but nothing like this.

Sounds like one packet per second or less.  If that's supposed to be a
DDOS, it isn't much of one.  More likely, the previous holder of the
address was running some kind of server, maybe a node in a
peer-to-peer system.

Jeremy Faulkner wrote:

41170 is used by Piolet, a peer-to-peer file transfer program.
Yeah I guess DDOS wasn't the best choice of words. When I logged out and 
grabbed another ip it disappeared.

Thanks for answering my question.  I get too excited over log events 
sometimes :)

- Todd

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


Re: any recommended simple text editors?????

2003-05-31 Thread BSD baby
THANK YOU to whoever recommended ee!

I had never tried that little thing.  It's wonderful.
Though vi is good for me, I'm going to tell beginners
to use ee from now on.  Easiest one I've ever seen.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Doh ! Installed FBSD5.0 and no more dual boot

2003-05-31 Thread lukek
Hi,
(BI have done something pretty silly and not sure now how to recover. I
(Binstalled 5.0 release on my desktop which was primarily a Win2k machine and
(Bnow there is no option to dual boot. Well there is but when I choose the F1
(B??? option instead of booting win2k is give me a message telling me that
(BNTLDR cannot be found.
(B
(BCan anyone shed any light on a work around for this. I am truly stumped.
(B
(BThanks
(B
(BLukeK
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: rotating motd

2003-05-31 Thread Robert Storey

 A trivial question, but a question nonetheless!  My FreeBSD /etc/motd is
 a static and rather boring file.  I recall that when I used to login to
 my Slackware machine, it spruced things up a bit by offering some sort
 of rotating motd, which would spit out a random quote or joke instead of
 the same ol' static message.  Is there a way to simulate this in
 FreeBSD? Unfortunately, 'man motd' does little more than state the
 obvious, and describe a method by which to surpress the motd altogether.
 This, of course, occurs to me as I ssh into my home machine from work!
 Thanks,
 ~John

As Adam pointed out, fortune is what you want. I assume it's available
for FBSD (can't check right now as I'm at a Linux box). I don't think you
can run fortune from /etc/motd file. Install the one word command
fortune in the run command file for whatever shell you are using. Since
I use bash, that's file .bashrc. This will cause fortune to give you a
message every time you log in, including every time you open an Xterm. It
might drive you crazy after awhile.

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


Re: can't boot from 4.8-RELEASE distribution CD (and 5.1-BETA2)

2003-05-31 Thread Guy Middleton
I'm posting a follup to -current, since I get a similar but different problem
with the 5.1-BETA2 CD.

With 5.1-BETA2, the boot gets a far as the Probing devices, please wait
message, then hangs.  The last debug output on the console is:


DEBUG: Loading module if_sf.ko (Adaptec AIC-6915 PCI ethernet card)
module_register: module pci/sf already exists!
Module pci/sf failed to register: 17
module_register: module sf/miibus already exists!
Module sf/miibus failed to register: 17



On Fri, May 30, 2003 at 09:23:25PM -0400, Guy Middleton wrote:
 I have a FreeBSD 4.1 system, which I am trying to upgrade to 4.8-RELEASE.
 
 Unfortunately, it can't boot from the 4.8 distribution CD.  When the
 generic kernel boots, it hangs indefinitely after finding plip0.
 
 I have also tried the 4.3 and 4.7 CDs, the same thing happens with them.
 So something changed betweek 4.1 and 4.3 (I don't have a 4.2 CD to try).
 Anybody have any ideas?
 
 Here is dmesg output, on the system as booted with 4.1-RELEASE:
 
 
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000
 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC
 Timecounter i8254  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (451.03-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x672  Stepping = 2
   
 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM
 real memory  = 134205440 (131060K bytes)
 avail memory = 126386176 (123424K bytes)
 Preloaded elf kernel kernel at 0xc040d000.
 Pentium Pro MTRR support enabled
 md0: Malloc disk
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
 isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 ATA33 controller port 0xb800-0xb80f at device 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xb400-0xb41f at device 4.2 on 
 pci0
 uhci0: Invalid irq 255
 uhci0: Please switch on USB support and switch PNP-OS to 'No' in BIOS
 device_probe_and_attach: uhci0 attach returned 6
 chip1: Intel 82371AB Power management controller port 0xe800-0xe80f at device 4.3 
 on pci0
 ahc0: Adaptec aic7890/91 Ultra2 SCSI adapter port 0xb000-0xb0ff mem 
 0xdd80-0xdd800fff irq 9 at device 6.0 on pci0
 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
 fxp0: Intel Pro 10/100B/100+ Ethernet port 0xa800-0xa81f mem 
 0xdd00-0xdd0f,0xe100-0xe1000fff irq 5 at device 7.0 on pci0
 fxp0: Ethernet address 00:e0:18:98:3b:2f
 pci0: unknown card (vendor=0x1274, dev=0x5000) at 10.0 irq 5
 dc0: 82c169 PNIC 10/100BaseTX port 0xa000-0xa0ff mem 0xdc80-0xdc8000ff irq 10 
 at device 11.0 on pci0
 dc0: Ethernet address: 00:a0:cc:3b:f9:c4
 miibus0: MII bus on dc0
 ukphy0: Generic IEEE 802.3u media interface on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model MouseMan+, device ID 0
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/9 bytes threshold
 ppi0: Parallel I/O on ppbus0
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 plip0: PLIP network interface on ppbus0
 acd0: CDROM ASUS CD-S500/A at ata0-master using PIO4
 afd0: 239MB IOMEGA ZIP 250 ATAPI [239/64/32] at ata1-master using PIO3
 Waiting 15 seconds for SCSI devices to settle
 Mounting root from ufs:/dev/da0s2a
 cd0 at ahc0 bus 0 target 3 lun 0
 cd0: YAMAHA CRW4416S 1.0f Removable CD-ROM SCSI-2 device 
 cd0: 8.333MB/s transfers (8.333MHz, offset 31)
 cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
 da1 at ahc0 bus 0 target 5 lun 0
 da1: IBM DDRS-34560D DC1B Fixed Direct Access SCSI-2 device 
 da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
 da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
 da0 at ahc0 bus 0 target 4 lun 0
 da0: IBM DDRS-34560D DC1B Fixed 

Re: Doh ! Installed FBSD5.0 and no more dual boot

2003-05-31 Thread Adam
On Fri, 2003-05-30 at 22:34, lukek wrote:
 Hi,
 I have done something pretty silly and not sure now how to recover. I
 installed 5.0 release on my desktop which was primarily a Win2k machine and
 now there is no option to dual boot. Well there is but when I choose the F1
 ??? option instead of booting win2k is give me a message telling me that
 NTLDR cannot be found.
 
 Can anyone shed any light on a work around for this. I am truly stumped.

You can try installing GAG (http://gag.sf.net) to dual-boot. It's really
easy to use, and works great.

-- 
Adam [EMAIL PROTECTED]

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


Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
 Original Message 
Subject: Help..can I use DUMP? my drive is dying - VINUM ?
From: [EMAIL PROTECTED]
Date: Sat, May 31, 2003 1:38 pm
To: [EMAIL PROTECTED]

Hi all (second posting try)
I have a one and only drive dying on a server (OK - to use vinum is to
be smarter than I am). Anyways I have unsuccessfully tried to image the
drive using some util that is recommended (?) Can I dump the slices to a
remote machine, install 2 new drives follow the tute to bootstrap vinum
then restore the remote saved slices to the various slice/partitions?
In a bind(4) here! anyone clue me in please?
Thanks
Keith



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


Re: any recommended simple text editors?????

2003-05-31 Thread Kevin Kinsey, DaleCo, S.P.
- Original Message - 
From: BSD baby [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:17 PM
Subject: Re: any recommended simple text editors?


 THANK YOU to whoever recommended ee!
 
 I had never tried that little thing.  It's wonderful.
 Though vi is good for me, I'm going to tell beginners
 to use ee from now on.  Easiest one I've ever seen.

ee is good and mentioned in documentation/
handbook.  However, /usr/ports/editors/nano
is superior.  Pico is well known as 'easy editor'
and Nano is Pico with a turbocharged engine...

My .02

Kevin Kinsey

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


Re: Fw: More info--- Mouse on vacation?

2003-05-31 Thread Bob Perry


Antoine, David,

Thanks to you both for taking the time to respond.  I just
 

booted up again
   

and
the following messages appeared after those mentioned
 

below:
   

   :psmintr: reset the mouse
   psm0: the aux port is not functioning (255)
   the aux device has gone: (reinitialize)
Think I'd better find a mechanic.

Thanks again.

Bob

 

The extended message found at the command line mentioned
   

below was:
   

   psmintr: delay too long; resetting byte count
   psmintr: out of sync (00c0 !=).
   discard a byte (1).
   psmintr: delay too long; resetting byte count
BTW, I am running FreeBSD 4.7-RELEASE.
Any advice here is appreciated.  Thanks.
   

I was able to borrow a mouse from my job for testing purposes and it 
seems to work just fine.  Looks like a new mouse is the answer.



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


Actual error

2003-05-31 Thread Matt Juszczak
In a followup to my earlier email,
the actual error I am getting when I start /stand/sysinstall is:

May 30 21:13:25 frodo /kernel: afd0: reading primary partition table:
error reading fsbn 0

Thats out of my /var/log/messages.  I know its a software issue because
I've tried 3 different boxes (identical boxes, same hardware) and I'm
still getting the error.  Any ideas?

Thanks!

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


Re: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread Greg 'groggy' Lehey
On Saturday, 31 May 2003 at 13:39:49 +1000, [EMAIL PROTECTED] wrote:
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image the
 drive using some util that is recommended (?) Can I dump the slices to a
 remote machine, install 2 new drives follow the tute to bootstrap vinum
 then restore the remote saved slices to the various slice/partitions?
 In a bind(4) here! anyone clue me in please?

That depends on what's wrong with your disk and why your first some
util attempt failed.  Vinum isn't a disk recovery tool, nor is it
particularly for that purpose, so there's no particular reason to
assume it will work better than your some util.  Of course, if you
give some details, somebody may be able to help you.

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
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


gnome-applets-2.2.2 build fails

2003-05-31 Thread Jukka Huvinen


I'm still trying to portupgrade to the current XFree86 + gdm2 + gnome2.
Managed to complete XFree86 and gdm2 (at least portupgrade passed
through).

But gnome2 fails when building gnome-applets! (The package is not
available and forced to build from sources.)

It requires libc_r.so.5, but there is only libc_r.so.4 in /usr/lib
(See below...)

What should I do? Help!

- Jukka


--

cc -O -pipe -o multiload-applet-2 cpuload.o linux-proc.o load-graph.o
loadavg.o main.o memload.o netload.o properties.o swapload.o
-Wl,--export-dynamic -pthread  -L/usr/local/lib
../screen-exec/.libs/libscreen-exec.al -L/usr/X11R6/lib -lpanel-applet-2
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2
-lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXext
-lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lbonobo-2
-lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc
-lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lgtop-2.0 -lgtop_sysdeps-2.0
-lgtop_common-2.0 -lglib-2.0 -liconv
/usr/libexec/elf/ld: warning: libc_r.so.5, needed by
/usr/X11R6/lib/libpanel-applet-2.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libgtop_common-2.0.so: undefined reference to `statvfs'
gmake[2]: *** [multiload-applet-2] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2/multiload'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/x11/gnomeapplets2.
---  Skipping 'x11/gnome2' (gnome2-2.2.1_1) because 'x11/gnomeapplets2'
(gnomeapplets2-2.2.0_1) failed
! x11/gnomeapplets2 (gnomeapplets2-2.2.0_1) (new compiler error)
* x11/gnome2 (gnome2-2.2.1_1)

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


Re: gnome-applets-2.2.2 build fails

2003-05-31 Thread Joe Marcus Clarke
On Sat, 2003-05-31 at 02:55, Jukka Huvinen wrote:
 I'm still trying to portupgrade to the current XFree86 + gdm2 + gnome2.
 Managed to complete XFree86 and gdm2 (at least portupgrade passed
 through).
 
 But gnome2 fails when building gnome-applets! (The package is not
 available and forced to build from sources.)
 
 It requires libc_r.so.5, but there is only libc_r.so.4 in /usr/lib
 (See below...)
 
 What should I do? Help!

Looks like you're trying to build GNOME on 4.x with FreeBSD 5.x binaries
installed.  Try doing a portupgrade --rRf glib-2\*.  That should take
care of all your library problems.

Joe

 
 - Jukka
 
 
 --
 
 cc -O -pipe -o multiload-applet-2 cpuload.o linux-proc.o load-graph.o
 loadavg.o main.o memload.o netload.o properties.o swapload.o
 -Wl,--export-dynamic -pthread  -L/usr/local/lib
 ../screen-exec/.libs/libscreen-exec.al -L/usr/X11R6/lib -lpanel-applet-2
 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2
 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama
 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXext
 -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lbonobo-2
 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc
 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lgtop-2.0 -lgtop_sysdeps-2.0
 -lgtop_common-2.0 -lglib-2.0 -liconv
 /usr/libexec/elf/ld: warning: libc_r.so.5, needed by
 /usr/X11R6/lib/libpanel-applet-2.so, not found (try using -rpath or -rpath-link)
 /usr/local/lib/libgtop_common-2.0.so: undefined reference to `statvfs'
 gmake[2]: *** [multiload-applet-2] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2/multiload'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2'
 gmake: *** [all-recursive-am] Error 2
 *** Error code 2
 
 Stop in /usr/ports/x11/gnomeapplets2.
 ---  Skipping 'x11/gnome2' (gnome2-2.2.1_1) because 'x11/gnomeapplets2'
 (gnomeapplets2-2.2.0_1) failed
   ! x11/gnomeapplets2 (gnomeapplets2-2.2.0_1) (new compiler error)
   * x11/gnome2 (gnome2-2.2.1_1)
 
 --
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread Rob
If you have ssh(1) installed on both machines, do something like this

  dump 0f - /filesystem | ssh [EMAIL PROTECTED] 'gzip 
filesystem.dump.gz'

on the system to be backed up.

That should write a compressed dump to the remote machine, assuming that
* the local filesystem isn't changing (log updates etc)
* the remote system has enough diskspace

Then you can rebuild the sick machine, and when it's up  running do

  cd /filesystem
  ssh [EMAIL PROTECTED] 'gzcat filesystem.dump.gz' | restore rf -

to bring the files back. All these commands should be run as root.

I'm afraid someone else will need to help you with the vinum stuff

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 1:09 PM
Subject: Help..can I use DUMP? my drive is dying - VINUM ?


  Original Message 
 Subject: Help..can I use DUMP? my drive is dying - VINUM ?
 From: [EMAIL PROTECTED]
 Date: Sat, May 31, 2003 1:38 pm
 To: [EMAIL PROTECTED]

 Hi all (second posting try)
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image
the
 drive using some util that is recommended (?) Can I dump the slices to
a
 remote machine, install 2 new drives follow the tute to bootstrap
vinum
 then restore the remote saved slices to the various slice/partitions?
 In a bind(4) here! anyone clue me in please?
 Thanks
 Keith



 ___
 [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]


backslash in crontab

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi !

How can I have one big line in my crontab splitted in multiple lines ?
I tried the following:

0 2 * * * command A  \
command B  \
command C

But I get the following error message:

/tmp/crontab.48pe18LXs2: 10 lines, 1344 characters.
crontab: installing new crontab
/tmp/crontab.48pe18LXs2:9: bad hour
crontab: errors in crontab file, can't install
Do you want to retry the same edit?

Note that if my crontab is written as:

0 2 * * * command A  command B  command C
... then it works with no problem.

Thanks.

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
gpg key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+2GyiY3Hnhkr+5cQRAvsLAJ4zZ9QqXyGcbe+pa8DxLISN/b1bSwCeIGyO
SkytZ2OhVdCJtrl4+8PJuRw=
=3Uxf
-END PGP SIGNATURE-

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


VMware2 switch to full screen crash

2003-05-31 Thread Jer
Dear all

I just installed Vmware2 on a 4.8Rel box
works fine in a window but when you press full screen it hangs the entire 
system
 hard reset is the only recovery
X is on ttyv9 and there is ttyva for its full screen console
I am using the NVIDIA_FreeBSD-1.0-3203 as a driver

This is on XFree 4
Any ideas??
Thanks
Jer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/stand/sysinstall with upgraded 5.1-BETA

2003-05-31 Thread Vitalis
Hi!

I've searched the ML archives to no avail, so here's my questions:

* What's the difference between /stand/sysinstall and /usr/sbin/sysinstall?
* I've remade world from the latest cvs tree, and /stand/sysinstall was not updated. 
The handbook suggests to run a make all install from /usr/src/release/sysinstall, 
but this directory does not exist. Is it because the handbook was not updated 
accordingly to versions 5.x?
* So what do I have to do with /stand/sysinstall?

TIA


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


Re: backslash in crontab

2003-05-31 Thread Matthew Seaman
On Sat, May 31, 2003 at 10:49:34AM +0200, Antoine Jacoutot wrote:
 Hi !
 
 How can I have one big line in my crontab splitted in multiple lines ?
 I tried the following:
 
 0 2 * * * command A  \
 command B  \
 command C
 
 But I get the following error message:
 
 /tmp/crontab.48pe18LXs2: 10 lines, 1344 characters.
 crontab: installing new crontab
 /tmp/crontab.48pe18LXs2:9: bad hour
 crontab: errors in crontab file, can't install
 Do you want to retry the same edit?
 
 Note that if my crontab is written as:
 
 0 2 * * * command A  command B  command C
 ... then it works with no problem.

Yes -- the entry in the crontab file has to be all on one line, as
you've discovered.  If you absolutely have to reformat things, then
generally the way to go is to create a shell script containing your
complex command and run that out of cron instead:

crontab entry:

0 2 * * * myscript

% cat E_O_SCRIPT  myscript
#!/bin/sh

command A  \
command B  \
command C
E_O_SCRIPT

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


pgp0.pgp
Description: PGP signature


Re: /stand/sysinstall with upgraded 5.1-BETA

2003-05-31 Thread Matthew Seaman
On Sat, May 31, 2003 at 11:55:38AM +, Vitalis wrote:
 Hi!
 
 I've searched the ML archives to no avail, so here's my questions:
 
 * What's the difference between /stand/sysinstall and /usr/sbin/sysinstall?
 * I've remade world from the latest cvs tree, and /stand/sysinstall was not updated. 
 The handbook suggests to run a make all install from /usr/src/release/sysinstall, 
 but this directory does not exist. Is it because the handbook was not updated 
 accordingly to versions 5.x?
 * So what do I have to do with /stand/sysinstall?

/stand/sysinstall was moved to /usr/sbin/sysinstall in FreeBSD 5.x --
but otherwise, it's the same program.

As it's an official part of the regular system now, sysinstall will be
updated as part of the usual 'make {build,install}world' process.
Under FreeBSD 4.x, as you note, you have to separately update
sysinstall.

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


pgp0.pgp
Description: PGP signature


Thanks heaps...Re: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
Ok thanks for that,
How cool is Unix really! The wonderful world of pipes.
Bo have I got a lot to learn

 If you have ssh(1) installed on both machines, do something like this

   dump 0f - /filesystem | ssh [EMAIL PROTECTED] 'gzip 
 filesystem.dump.gz'

 on the system to be backed up.

 That should write a compressed dump to the remote machine, assuming that
 * the local filesystem isn't changing (log updates etc)
 * the remote system has enough diskspace

 Then you can rebuild the sick machine, and when it's up  running do

   cd /filesystem
   ssh [EMAIL PROTECTED] 'gzcat filesystem.dump.gz' | restore rf -

 to bring the files back. All these commands should be run as root.

 I'm afraid someone else will need to help you with the vinum stuff

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, May 31, 2003 1:09 PM
 Subject: Help..can I use DUMP? my drive is dying - VINUM ?


  Original Message 
 Subject: Help..can I use DUMP? my drive is dying - VINUM ?
 From: [EMAIL PROTECTED]
 Date: Sat, May 31, 2003 1:38 pm
 To: [EMAIL PROTECTED]

 Hi all (second posting try)
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image
 the
 drive using some util that is recommended (?) Can I dump the slices to
 a
 remote machine, install 2 new drives follow the tute to bootstrap
 vinum
 then restore the remote saved slices to the various slice/partitions?
 In a bind(4) here! anyone clue me in please?
 Thanks
 Keith



 ___
 [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: Help..can I use DUMP? my drive is dying - VINUM ?

2003-05-31 Thread keith
But Greg...you wrote VINUM - spriuk a bit I reckon!
Yeah look the name of some util escapes me but it copies blok by blok
off to an ftp server (German origin I think). I used fsck to check things
out but no errors are reported so I can't say why the some util 
wouldn't restore the /usr/local slice.
My main hassle is very poor disk slice design/forethought space wise.
I have a huge home partition that is not used because this mail server
uses qmail/vpop toaster(thanks Matt S) /var heaps. Don't ant to patch
symlinks all over the shop, and I am a no nothing on how to resize (if it
is possible) and swap reports getswapspacefailed a lot under load.
Hrrummph!
I figure a dump, rebuild (with vinum mirror bootstapped) and restore might
help but the mote I think hte more I think ???
Thanks Keith

 On Saturday, 31 May 2003 at 13:39:49 +1000, [EMAIL PROTECTED] wrote:
 I have a one and only drive dying on a server (OK - to use vinum is to
 be smarter than I am). Anyways I have unsuccessfully tried to image
 the drive using some util that is recommended (?) Can I dump the
 slices to a remote machine, install 2 new drives follow the tute to
 bootstrap vinum then restore the remote saved slices to the various
 slice/partitions? In a bind(4) here! anyone clue me in please?

 That depends on what's wrong with your disk and why your first some
 util attempt failed.  Vinum isn't a disk recovery tool, nor is it
 particularly for that purpose, so there's no particular reason to
 assume it will work better than your some util.  Of course, if you
 give some details, somebody may be able to help you.

 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
 See complete headers for address and phone numbers



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


Re: backslash in crontab

2003-05-31 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 31 May 2003 12:04, Matthew Seaman wrote:
 Yes -- the entry in the crontab file has to be all on one line, as
 you've discovered.  If you absolutely have to reformat things, then
 generally the way to go is to create a shell script containing your
 complex command and run that out of cron instead:

 crontab entry:

 0 2 * * * myscript

 % cat E_O_SCRIPT  myscript
 #!/bin/sh

 command A  \
 command B  \
 command C
 E_O_SCRIPT

Thanks :)

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+2IrFY3Hnhkr+5cQRAqx4AJ46FZYC+hc2P5CeiSiPQ3UkpXQfFgCffUwa
gICDT683Oz+1i3G6RajG3X8=
=oc4D
-END PGP SIGNATURE-

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


Problem with non-superuser X logons after moving/expanding /var

2003-05-31 Thread Tom Parquette
I installed an additional disk in a machine and expanded the space 
allocated to /var.
I run this desktop with XFree86 and GDM.
root can logon without complaints but if a non--superuser tries to 
logon, the session fails immediately.
The following appears in .xsession-errors.  I'm concluding I did 
something wrong when I moved /var but I'm not sure where to start with this.
TIA for any help.


/usr/X11R6/etc/gdm/PreSession//Default: Registering your session with wtmp and utmp
/usr/X11R6/etc/gdm/PreSession//Default: running: sessreg -a -w /var/log/wtmp -u 
/var/run/utmp -x /usr/X11R6/share/gnome/gdm/:0.Xservers -h  -l :0 Tom
You can permanently set environment variables for your shell by putting them
in a startup file for the shell.  The name of the startup file varies
depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
.profile.  When using bash, sh, ksh or zsh, don't forget to export the
variable.
mkdtemp: private socket dir: Permission denied
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openoffice port fails to build

2003-05-31 Thread Doug Poland
Hello,

I'm having a problem building the openoffice port.  The build fails
deep in the bowels of a mozilla build.  Since I have the 1.3.1 Mozilla
port installed on my 4-STABLE box, I'm wondering why it's attempting 
to install another mozilla.

As always, thanks for your help and support.


... snip ...

gmake[4]: Entering directory 
`/usr/ports/editors/openoffice/work/mozilla/work/mozilla/extensions/xmlterm/tests'
gcc32  -I/usr/X11R6/include  -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith 
-Wcast-align -Wno-long-long -O -pipe -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -o 
escape escape.o   -L../../../dist/bin -L../../../dist/lib  
-L/usr/ports/editors/openoffice/work/mozilla/work/mozilla/dist/lib -lplds4 -lplc4 
-lnspr4 -pthread  -lm
/usr/libexec/elf/ld: warning: libgcc_s.so.1, needed by ../../../dist/bin/libplds4.so, 
not found (try using -rpath or -rpath-link)
../../../dist/bin/libnspr4.so: undefined reference to [EMAIL PROTECTED]'
../../../dist/bin/libnspr4.so: undefined reference to [EMAIL PROTECTED]'
../../../dist/bin/libnspr4.so: undefined reference to [EMAIL PROTECTED]'
../../../dist/bin/libnspr4.so: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
gmake[4]: *** [escape] Error 1
gmake[4]: Leaving directory 
`/usr/ports/editors/openoffice/work/mozilla/work/mozilla/extensions/xmlterm/tests'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory 
`/usr/ports/editors/openoffice/work/mozilla/work/mozilla/extensions/xmlterm'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory 
`/usr/ports/editors/openoffice/work/mozilla/work/mozilla/extensions'
gmake[1]: *** [tier_94] Error 2
gmake[1]: Leaving directory `/usr/ports/editors/openoffice/work/mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/editors/openoffice/work/mozilla.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall79554.0 make 
reinstall
** Fix the installation problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
! editors/openoffice(install error)


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


Re: /stand/sysinstall with upgraded 5.1-BETA

2003-05-31 Thread Michael Nottebrock
On Saturday 31 May 2003 13:55, Vitalis wrote:
 * So what
 do I have to do with /stand/sysinstall?

It's probably safe to delete it, complete with the whole /stand directory.

-- 
| Michael Nottebrock|  KDE on FreeBSD   |   ,ww   |
| [EMAIL PROTECTED] |   --- |   ,wWWCybaWW_)  |
|  ---  |  http://freebsd.kde.org   | free   `WSheepW'|
| http://tigress.com/lofi   |   --- | node II  II |


pgp0.pgp
Description: signature


XFree86 4.3.0 anti-alias font problem

2003-05-31 Thread Doug Poland
Hi,

I'm on a 4.8-STABLE box with XFree86 4.3.0.  I'm going through the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html)
and adding anti-aliased fonts to my system.

The problem I'm having is adding TrueType and the bitstream-vera fonts
to my fontpath via xset.

Following the handbook, I've...

* Created the directory: /usr/X11R6/lib/X11/fonts/TrueType
* Copied .ttf fonts from my windows partition to above directory
* run the following command: ttmkfdir  fonts.dir

I do get a message from ttmkfdir which states:
unknown font foundry code SYRC

A look at the files in the directory reveals nothing remotely similar
to SYRC.  The fonts.dir file appears valid but admittedly I'm not sure
what I'm looking at.

To continue, when I run:

* xset fp+ /usr/X11R6/lib/X11/fonts/TrueType

I see:

xset:  bad font path element (#64), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

In my case, the directory does exist and has the same permissions as
the other font directories.  The fonts.dir file does exist.  And I'm
not sure what the 3rd possible cause is.

Curiously, I get the exact same error when I try to add the
bitstream-vera fonts (added via x11-fonts/bitstream-vera port) to the
fontpath.  

* xset fp+ /usr/X11R6/lib/X11/fonts/bitstream-vera/
  xset:  bad font path element (#64), possible causes are:
  Directory does not exist or has wrong permissions
  Directory missing fonts.dir
  Incorrect font server address or syntax

I must be missing something here.  Does anyone have any suggestions?


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