Re: Cron on qmail not sending me logs

2003-08-29 Thread Scott Ballantyne
Hi Ralph,
> 
> When I manually send mail to root from either inside the box or from 
> elsewhere, it is properly received by [EMAIL PROTECTED] (an external domain).
> 
> Any and all comments would be appreciated. Thank you in advance.
> 

It sounds like you have it setup properly. It works fine for me here
but I don't use mailwrapper. I'd suggest that taking a look at qmails
logfile to see what is going on would probably give you a
hint. 

sdb
-- 
[EMAIL PROTECTED]



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


scripting the buildworld/installworld process

2003-08-29 Thread Charles Howse
Hi,
I'm working on scripting the buildworld/installworld process.
This will keep me from messing up everything by doing it wrong or making
a typo.
I'll be glad to post the scripts for review if anyone's interested.

Right now, I have a couple of questions.

1. I realize that running buildworld/installworld manually might be
better than scripting it, as far as dealing with stops and/or errors,
but is it generally acceptable to script this process?  I can't think of
any reason not to, but I'd like some input.

2. After reading man mergemaster, I see that the -a flag will run
mergemaster automatically and leave any new files in /var/tmp/temproot.
I'd like to confirm that if I opt to run mergemaster -a, then I should
check/merge any files before leaving single user mode.  It seems like
the right thing to do...?



Thanks,
Charles


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


Re: Local procmail mailer, bypassing aliases?

2003-08-29 Thread Dan Nelson
In the last episode (Aug 29), Damian Gerow said:
> Thus spake Dan Nelson ([EMAIL PROTECTED]) [29/08/03 16:22]:
> > Try adding  
> > 
> > MODIFY_MAILER_FLAGS(`LOCAL', -A')
> > 
> > to your sendmail.mc and regenerating (assuming you're using
> > FEATURE(`local_procmail') ).
> 
> That will modify the local_procmail mailer to bypass local aliases,
> correct? 'Cept that we don't want to do that -- we want to provide
> /a/ mailer that will bypass local aliases.  So that in the end, we
> have procmail as the LDA, /and/ procmail as an LDA that ignores alias
> expansions.

Easy enough:

MAILER(`procmail')
MODIFY_MAILER_FLAGS(`PROCMAIL',`-A')
 
> It very well could actually be something in my sendmail configuration
> that I'm missing, and not the mailer itself.  But I can say without a
> doubt that our procmailnoalias mailer is indeed not ignoring
> /etc/mail/aliases.

Basically, make sure the the appropriate Mmailer line in sendmail.cf
doesn't have an 'A' in the F= flags list.

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


Re: allowing non root users to mount

2003-08-29 Thread Lowell Gilbert
Lowell Gilbert <[EMAIL PROTECTED]> writes:

> Desmond Lee <[EMAIL PROTECTED]> writes:
> 
> > I don't understand how editing /etc/fbtab will help me provide a
> > mounting point that is accessible to everyone. I believe that fbtab will
> > just set the permissions of the device to whatever is specified in that
> > file.
> 
> Yes, but it can also set the ownership of the directory.  Users can
> only mount onto directories that they own (this is mentioned a number
> of times in the FAQ entry, as well as in the manual page for
> mount_msdos(8)).  

I should also have mentioned that I prefer not to mess with user
mounting at all, but to use sudo to let a set of users execute the
mount command.  You can configure it to allow them to only use it for
one specific command.  And for floppies, I generally prefer mtools
anyway, because a corrupt mounted filesystem (and floppies go bad
annoyingly often) is so hazardous to the system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports Installed Are Newer Than Tree? -- SOLVED

2003-08-29 Thread Adam McLaurin
On Fri, 2003-08-29 at 18:30, Drew Tomlinson wrote:
> I'm sure my approach was drastic and would appreciate knowing how I
> could have fixed this instead of blowing everything away and starting
> over.

Don't beat yourself up too much because of this. Every once in a while
things like this happen, and removing /usr/ports and starting over is
the simplest way to fix things. I've had to do it a couple times since I
started using FreeBSD 1.5 years ago.

-- 
Adam McLaurin <[EMAIL PROTECTED]>


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


Re: allowing non root users to mount

2003-08-29 Thread Lowell Gilbert
Desmond Lee <[EMAIL PROTECTED]> writes:

> I don't understand how editing /etc/fbtab will help me provide a
> mounting point that is accessible to everyone. I believe that fbtab will
> just set the permissions of the device to whatever is specified in that
> file.

Yes, but it can also set the ownership of the directory.  Users can
only mount onto directories that they own (this is mentioned a number
of times in the FAQ entry, as well as in the manual page for
mount_msdos(8)).  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports Installed Are Newer Than Tree? -- SOLVED

2003-08-29 Thread Drew Tomlinson
- Original Message - 
From: "Drew Tomlinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 11:35 AM
Subject: Ports Installed Are Newer Than Tree?


> It seems that the ports I have installed on my system are newer than
the
> ones in the ports tree.  If I run portversion, I get output that looks
> like this:
>
> farmer# portversion -v -L=
> XFree86-Server-4.3.0_6  >  succeeds port (port has 4.3.0_5)
> cdrtools-2.0_1  >  succeeds port (port has 2.0)
> gconf-1.0.9_3   >  succeeds port (port has 1.0.9_2)
> gdm2-2.4.1.4>  succeeds port (port has 2.4.1.3_1)
> gnomegames2-2.2.1_1 >  succeeds port (port has 2.2.1)
>
> And the list goes on.  I've updated my ports tree using cvsup and it
> finishes successfully.  I've also run portsdb -uU to update the
indexes
> however the problem persists.
>
> I'm stumped and don't know what else to check.  Any ideas?  I'm
running
> 4.8.

Thanks for the responses.  I found that my INDEX was bad.  I tried
deleting the file and then running make index but that kept failing.
Finally I deleted my entire ports tree and the directory cvsup used to
keep track of updates.  Then I ran cvsup.  Finally I ran portsdb -uU to
make the new index files.  Everything looks good now.

I'm sure my approach was drastic and would appreciate knowing how I
could have fixed this instead of blowing everything away and starting
over.

Thanks,

Drew

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


Re: zmore for bzip2?

2003-08-29 Thread ES
For your bzip2 files, would the following command suffice?

bzcat  | less

This would be similar to handling a gzipped file with:

zcat  | less

...which is essentially what "zmore" does...

-bsdterm


On Wed, Aug 27, 2003 at 11:00:42AM -0500, David Kelly wrote:
> /etc/newsyslog.conf uses J in FreeBSD-5.1 to specify bzip2 format for 
> compression. zmore(1) doesn't know bzip format, is someone working on 
> it?
> 
> -- 
> 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]"
---end quoted text---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: allowing non root users to mount

2003-08-29 Thread Desmond Lee
Hello

Thank you for your reply.

I don't understand how editing /etc/fbtab will help me provide a
mounting point that is accessible to everyone. I believe that fbtab will
just set the permissions of the device to whatever is specified in that
file.

For example, if I have the following in the /etc/fbtab file:

/dev/ttyV0  0700/dev/fd0

then upon login, the floppy device (/dev/fd0) will have the permission:
rwx--

So, how does this relate to making a common mounting point? I want to
make the common mounting point /floppy and set the permissions to
rwxrwxrwx by doing a 'chmod 777 /floppy' but for some reason I still
cannot mount the floppy as a regular user. It keeps on telling me that
'operation not permitted' and I have to su as root to get this to work.
Why is this so? Shouldn't it be okay since I've set the permission of
/floppy to be accessible to anyone?

Thanks

Desmond

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert
Sent: Friday, August 29, 2003 12:01 PM
To: Desmond Lee
Cc: [EMAIL PROTECTED]
Subject: Re: allowing non root users to mount

Desmond Lee <[EMAIL PROTECTED]> writes:

> I followed the instructions on the FAQ section about making non-root
> users able to mount file systems and that worked fine, but it only
works
> if the target of the mounting point is accessible by that user.

Right.  You want that for security reasons.

> So, 'mount -t msdos /dev/fd0 ~/myFloppy'
> 
> would only work if ~/myFloppy was a directory that was accessible by
the
> user who executed the mount command. Thus, if you were a non-root user
> the stuff in the /etc/fstab would not be useful since the target of
the
> mount commands were only accessible by the root.

Make the common mount point accessible to the console user.  fbtab(5)
(or xdm's 'GiveConsole' script, etc.) will help here.
___
[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: Cron on qmail not sending me logs

2003-08-29 Thread gv-list-freebsdquestions
Hello Ralph,

Friday, August 29, 2003, 4:36:35 PM, you wrote:

RD> Thank you for your replies.

I am in the process of migrating from Linux and setting up my first
FreeBSD box, so I am unfamiliar with FreeBSD, but I do know qmail well.
Qmail normally logs to its own multilog, (far superior with busy servers),
when and if you installed daemontools... For a good working knowledge of
qmail, visit www.lifewithqmail.org

You also should have a local user on that box to handle all the dot-qmail
files and aliases.  Mail forwarding is accomplished from the .qmail files.

RD> When I manually send mail to root from either inside the box or from
RD> elsewhere, it is properly received by [EMAIL PROTECTED] (an external domain).

Normally, your /var/qmail/alias/ dir contains your aliases, e.g.
.qmail-root, .qmail-abuse, .qmail-postmaster, .qmail-hostmaster, etc..
these files contain just the name of the of the user that controls the
.qmail files.. Example... ralph would be in the .qmail-root file. Then you
can put in as many .qmail files in your home dir for what you wish...
example, your main .qmail file would contain [EMAIL PROTECTED] (don't need
the &, see man dot-qmail).. Just some thoughts. I suppose it works your way,
but you are limited on what you can do using that method.

-- 
Best regards,
 Gary   

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


Re: restoring mysql databases from mysqldump was Re: upgrading mysql

2003-08-29 Thread Michelle
I believe I succesfully restored the databases by running simply mysql 
> backup-file.sql.  However, I believe the permissions are not working 
properly.  Apache is unable to connect the sql server and I cannot 
shutdown the sql server with the user name and password I normally use.

On Friday, August 29, 2003, at 02:33 PM, Michelle wrote:

I ran mysqldump -A > backup-file.sql and then upgraded the mysql port, 
but now when I try to restore the backups using mysql "database name"  
< backup-file.sql, It states unknown database.  I also have a 
mysqlhotcopy backup of all my databases.  Am I doing something wrong 
when trying to recover multiple databases?  How can I recover them 
from the mysqlhotcopy rather then the dump if something went wrong 
with the dump?

On Friday, August 29, 2003, at 01:01 PM, Lucas Holt wrote:

That sounds correct.  I would recommend doing a binary backup as well 
in case something happens.  (i usually tar up the mysql directory 
with the service off)

If you want extra security, you could use the phpMyAdmin software to 
backup the databases as well.. so you have an extra copy.  I believe 
it actually runs mysqldump anyway though.

If you can eventually, I'd recommend the 4.x releases.  I have had 
great success with them.

On Friday, August 29, 2003, at 02:56  PM, Michelle wrote:

I would like to upgrade mysql from mysql-server-3.23.54 to 
mysql-server-3.23.57 and understand that I will need to do a dump 
before upgrading since the upgrade needs to overwrite the databases. 
 Since I have never done this before, I just want to make sure I 
have the correct steps after reading over the mysql site and the man 
>> pages.

First I will dump all of my databases:

mysqldump  -A > backup-file.sql

Then I will shutdown the mysql server and upgrade the mysql port 
with the environment variable OVERWRITE_DB defined when running make 
install.

To rebuild the databases do I simply use:

mysqldump --all-databases > backup-file.sql

and then restart the mysql server using mysqld_safe

Am I missing any steps?

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


Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)

___
[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: restoring mysql databases from mysqldump was Re: upgrading mysql

2003-08-29 Thread Alan Batie
On Fri, Aug 29, 2003 at 02:33:07PM -0700, Michelle wrote:
> I ran mysqldump -A > backup-file.sql and then upgraded the mysql port, 
> but now when I try to restore the backups using mysql "database name"  
> < backup-file.sql, It states unknown database.

I've never had a mysql upgrade trash my databases, but it sounds like
the simple solution is to 'mysqladmin create "database name"' first.
Though the -A does seem to put create database commands in the dump file.
You might look at the sql and find out what's broken...

I tried dumping all mine, and got a "client out of memory" error.  Weird.

-- 
Alan Batie   __alan.batie.orgMe
alan at batie.org\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!

To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-Theodore Roosevelt, 26th US President (1858-1919)


pgp0.pgp
Description: PGP signature


Re: Cron on qmail not sending me logs

2003-08-29 Thread Ralph Dratman
Thank you for your replies.

My /etc/mail/mailer.conf is as follows:
-
sendmail/var/qmail/bin/sendmail
send-mail   /var/qmail/bin/sendmail
mailq   /var/qmail/bin/qmail-qread
newaliases  /var/qmail/bin/newaliases
-
Also, my /var/qmail/.qmail-root is
-
&[EMAIL PROTECTED]
-
which is my regular email address.

As far as I can tell, other mail-related functions are working properly 
since the transition to qmail. For example, I can send messages from the 
command line (using the mail command) and from a web page; and popper works 
fine.

When I manually send mail to root from either inside the box or from 
elsewhere, it is properly received by [EMAIL PROTECTED] (an external domain).

Any and all comments would be appreciated. Thank you in advance.

Regards,

Ralph

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


restoring mysql databases from mysqldump was Re: upgrading mysql

2003-08-29 Thread Michelle
I ran mysqldump -A > backup-file.sql and then upgraded the mysql port, 
but now when I try to restore the backups using mysql "database name"  
< backup-file.sql, It states unknown database.  I also have a 
mysqlhotcopy backup of all my databases.  Am I doing something wrong 
when trying to recover multiple databases?  How can I recover them from 
the mysqlhotcopy rather then the dump if something went wrong with the 
dump?

On Friday, August 29, 2003, at 01:01 PM, Lucas Holt wrote:

That sounds correct.  I would recommend doing a binary backup as well 
in case something happens.  (i usually tar up the mysql directory with 
the service off)

If you want extra security, you could use the phpMyAdmin software to 
backup the databases as well.. so you have an extra copy.  I believe 
it actually runs mysqldump anyway though.

If you can eventually, I'd recommend the 4.x releases.  I have had 
great success with them.

On Friday, August 29, 2003, at 02:56  PM, Michelle wrote:

I would like to upgrade mysql from mysql-server-3.23.54 to 
mysql-server-3.23.57 and understand that I will need to do a dump 
before upgrading since the upgrade needs to overwrite the databases.  
Since I have never done this before, I just want to make sure I have 
the correct steps after reading over the mysql site and the man >> pages.

First I will dump all of my databases:

mysqldump  -A > backup-file.sql

Then I will shutdown the mysql server and upgrade the mysql port with 
the environment variable OVERWRITE_DB defined when running make 
install.

To rebuild the databases do I simply use:

mysqldump --all-databases > backup-file.sql

and then restart the mysql server using mysqld_safe

Am I missing any steps?

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


Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)

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


Re: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Ben Dover
I just don't understand what your talking about.  When I start mysql I get 
the following below error so I guess its not running enough to do what your 
talking about?  Could you please explain a little more in detail where I 
would type that command if it is a command. Thanks


From: "Aaron Wohl" <[EMAIL PROTECTED]>
To: "Ben Dover" <[EMAIL PROTECTED]>,[EMAIL PROTECTED]
Subject: Re: MYSQL Fresh Reinstall, How?
Date: Fri, 29 Aug 2003 02:22:08 -0600
Yeah I ran into that yesterday myself.  The mysql_install_db doesnt leave
you with a working mysql database lately.  What did to fix it was mysqld
-u mysql --skip-grant &
(Im assuming you have your mysql firewalled off, if not do that first ;)

At that point mysql is up enough to restore the mysql database.  I ran
msyql mysql < mysql.sql where mysql.sql was made from mysqldump of a
working mysql. Then mysqladmin shutdown.  Then your fine after that for
normal operations.
I am using innodb as the default table type.  I dont know if you are or
if that matters.
On Fri, 29 Aug 2003 02:52:56 -0400, "Ben Dover"
<[EMAIL PROTECTED]> said:
>I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to 
get
>it
> straightened out.  I think the best way to resolve this would be to do a
> fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and
> client and installed again from ports but I'm getting the same error
> messages.  Is there a way to just start out fresh like I never had MYSQL
> installed in the first place? The error I'm getting is:
> 030829  2:36:36  Fatal error: Can't open privilege tables: Can't find
> file:
> './mysql/host.frm' (errno: 13)
> 030829 02:36:36  mysqld ended
>
> This started out from something I did while trying to get Plesk6 to work
> on
> 5.1 (which I did) but without MYSQL working I uninstalled Plesk6. I 
think
> what I did was delete the database mysql and I guess it is essential.
> Any
> assistance would be appreciated but I'm leaning toward a fresh install 
if
> possible.
>
> _
> MSN 8: Get 6 months for $9.95/month.
> http://join.msn.com/?page=dept/dialup
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
_
Get MSN 8 and enjoy automatic e-mail virus protection.
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]"


natd: failed to write packet back

2003-08-29 Thread Steve Camp
Can someone tell me what the following message logged to /var/log/messages
means, and whether I ought to be concerned about it:

  Aug 29 13:41:29 server natd[180]: failed to write packet back (Permission denied)

natd is process 180:

  root 180  0.0  0.1   532  272  ??  Ss   Wed11AM   0:17.15 /sbin/natd -f 
/etc/natd.conf -n rl0

% sudo cat /etc/natd.conf
use_sockets yes
same_ports yes

% grep natd /etc/rc.conf
natd_enable="YES"
natd_interface="rl0"
natd_flags="-f /etc/natd.conf"

Thanks,

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


Re: Question on CVS Branches

2003-08-29 Thread Joshua Oreman
On Fri, Aug 29, 2003 at 09:46:36PM +0200 or thereabouts, [EMAIL PROTECTED] wrote:
> Quoting Chuck Swiger <[EMAIL PROTECTED]>:
> 
> > Heinrich Rebehn wrote:
> > [ ... ]
> > > Thank you. Yet another question: I would like to update my source tree 
> > > automatically each night. However the cvs login requires a password to 
> > > be typed in. Is there any way to automate this? Strangely, the cvs man 
> > > page does not even mention the login command.
> > 
> > The documentation for CVS is not especially well-known for being inclusive. 
> > Are 
> > you using CVS over SSH or in pserver mode?  The first case requires you to
> > set 
> > up password-less SSH authentication via ssh-keygen, the latter uses the "cvs
> > 
> > login" mechanism.
> > 
> > -- 
> > -Chuck
> > 
> > 
> > 
> 
> 
> I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
> Is it possible to specify the password on the command line with cvs login (it
> isn't secret anyhow)?
> How exactly do i set up password-less authentication over SSH ? I wont be able
> to create an SSH key and copy it over to the server??

Try CVSROOT=:pserver:anoncvs:[EMAIL PROTECTED]:/home/ncvs

Replace "password" with the password, of course.

-- Josh

> 
> - Heinrich
> 
> -
> This mail sent through IMP: http://horde.org/imp/
> ___
> [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: Local procmail mailer, bypassing aliases?

2003-08-29 Thread Damian Gerow
Thus spake Dan Nelson ([EMAIL PROTECTED]) [29/08/03 16:22]:
> Try adding  
> 
> MODIFY_MAILER_FLAGS(`LOCAL', -A')
> 
> to your sendmail.mc and regenerating (assuming you're using
> FEATURE(`local_procmail') ).

That will modify the local_procmail mailer to bypass local aliases, correct?
'Cept that we don't want to do that -- we want to provide /a/ mailer that
will bypass local aliases.  So that in the end, we have procmail as the LDA,
/and/ procmail as an LDA that ignores alias expansions.

It very well could actually be something in my sendmail configuration that
I'm missing, and not the mailer itself.  But I can say without a doubt that
our procmailnoalias mailer is indeed not ignoring /etc/mail/aliases.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Local procmail mailer, bypassing aliases?

2003-08-29 Thread Dan Nelson
In the last episode (Aug 29), Damian Gerow said:
> Does anyone have an m4 for a procmail mailer the completely bypasses
> the alias table?  I had one working about a month ago, but it seems
> to be broken, and I just can't figure out why...  I also don't know
> where to start looking for one.

Try adding  

MODIFY_MAILER_FLAGS(`LOCAL', -A')

to your sendmail.mc and regenerating (assuming you're using
FEATURE(`local_procmail') ).

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


Re: upgrading mysql

2003-08-29 Thread Jack L. Stone
At 11:56 AM 8.29.2003 -0700, Michelle wrote:
>I would like to upgrade mysql from mysql-server-3.23.54 to 
>mysql-server-3.23.57 and understand that I will need to do a dump 
>before upgrading since the upgrade needs to overwrite the databases.  
>Since I have never done this before, I just want to make sure I have 
>the correct steps after reading over the mysql site and the man pages.
>
>First I will dump all of my databases:
>
>mysqldump  -A > backup-file.sql
>
>Then I will shutdown the mysql server and upgrade the mysql port with 
>the environment variable OVERWRITE_DB defined when running make install.
>
>To rebuild the databases do I simply use:
>
>mysqldump --all-databases > backup-file.sql
>
>and then restart the mysql server using mysqld_safe
>
>Am I missing any steps?
>
>Thank you,
>Michelle

I posted this just a few hours ago.

Use portugrade and its easy. It is a simple one-line command on
FBSD-4.x:
# portupgrade -m '-DSKIP_INSTALL_DB' mysql-server-3.23.54




Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem installing FreeBSD from DVD drive (IBM laptop)

2003-08-29 Thread MeTaLmAn
Hi!
I tried (many many times) to install Freebsd in my IBM laptop and I had this problem: 
the laptop doesnt have a floppy drive, it only have one hd and one dvd drive. So, I 
configured the BIOS to boot from DVD drive, then HD. when I turned the laptop on with 
the BSD cd rom on it, it started the Free BSD install program. Then, the problem: it 
didnt recognize that the DVD rive was d: and tried to "guess" wich device to install 
from. It couldnt "guess" the right device, so, it tried to start installation from 
default "disk0", wich was (by mistake) recognized as A:.
I tried many different BIOs settings, but nothing changed.
One thing that I noticed is that Windows also "thinks" taht my laptop have a A: drive 
(it appears on windows GUI).
My laptop is a IBM 600E, with PII processor, 128MB RAM and 6.4GB HD. I does have a 
"special" IBM exclusive BIOS, and also smething like "Doctor DOS" (it showed up when I 
tried to install WinME in the empty HD).
So, I'm stuck with this now... Its really bad, because I bought the laptop 1 week ago 
only to use FreeBSD (I had to instal Windows so it's easier to use the University 
network).
I hope you guys can help me, I head good things about you!
Thanks in asvance, and sorry for my bad English.
Daniel 'Metalman"

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


Fwd: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Ben Dover
I appreciate the replies and suggestions that everyone has sent.  I'm less 
than a novice regarding MYSQL or I wouldn't have deleted the MYSQL database 
in the first place.  It took me some time to find where the databases were 
located as "locate" wouldn't produce them. I'm googleing for the error 
messages and some of your suggestions and trying to learn as I go along but 
I'm not having much luck so far.  I did install 5.1 and MYSQL 4.1.0 on 
another box and copy the database over but I'm getting the same error.  This 
makes me wonder if its some sort of a permissions problem as Plesk changes 
some default permissions on installation but I don't know where to start for 
this.  Webmin is a great tool for dummies like myself, you can use things 
like phpbb and postnuke and not understand MYSQL.  If you could explain in 
detail a little more how I am supposed to implement your suggestions it 
would help immensely.  Thanks again for your help in solving my situation.




From: "Ben Dover" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: MYSQL Fresh Reinstall, How?
Date: Fri, 29 Aug 2003 02:52:56 -0400
  I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get 
it straightened out.  I think the best way to resolve this would be to do a 
fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
client and installed again from ports but I'm getting the same error 
messages.  Is there a way to just start out fresh like I never had MYSQL 
installed in the first place? The error I'm getting is:
030829  2:36:36  Fatal error: Can't open privilege tables: Can't find file: 
'./mysql/host.frm' (errno: 13)
030829 02:36:36  mysqld ended

This started out from something I did while trying to get Plesk6 to work on 
5.1 (which I did) but without MYSQL working I uninstalled Plesk6. I think 
what I did was delete the database mysql and I guess it is essential.  Any 
assistance would be appreciated but I'm leaning toward a fresh install if 
possible.

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Get MSN 8 and help protect your children with advanced parental controls.  
http://join.msn.com/?page=features/parental

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


Re: Question on CVS Branches

2003-08-29 Thread rebehn
Quoting Chuck Swiger <[EMAIL PROTECTED]>:

> Heinrich Rebehn wrote:
> [ ... ]
> > Thank you. Yet another question: I would like to update my source tree 
> > automatically each night. However the cvs login requires a password to 
> > be typed in. Is there any way to automate this? Strangely, the cvs man 
> > page does not even mention the login command.
> 
> The documentation for CVS is not especially well-known for being inclusive. 
> Are 
> you using CVS over SSH or in pserver mode?  The first case requires you to
> set 
> up password-less SSH authentication via ssh-keygen, the latter uses the "cvs
> 
> login" mechanism.
> 
> -- 
> -Chuck
> 
> 
> 


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs login (it
isn't secret anyhow)?
How exactly do i set up password-less authentication over SSH ? I wont be able
to create an SSH key and copy it over to the server??

- Heinrich

-
This mail sent through IMP: http://horde.org/imp/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cron on qmail not sending me logs

2003-08-29 Thread Scott Ballantyne
Matthew Graybosch writes:
> 
> On 20:49 Thu 28 Aug , Scott Ballantyne wrote:
> 
> > You can always set the NO_MAILWRAPPER=true and NO_SENDMAIL=true flags
> > in /etc/make.conf.
> 
> I thought you were supposed to also set sendmail_enable="NONE" in
> /etc/rc.conf as well.
> 

Well, that makes it a lot less noisy on boots.

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


Re: read/write access

2003-08-29 Thread Lowell Gilbert
"Dan" <[EMAIL PROTECTED]> writes:

> i messed up my read/access by using chmod...will someone tell me the default
> umask for /var/ftp/incoming

There's no default, really, because that directory doesn't exist by
default.  What you want the permissions to be depends on, among other
things, who owns it.  See the ftpd(8) manual for instructions on
setting up an anonymous FTP directory.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HELP! "key_acquire2: invalid sequence number is passed" -- IPSECVPN down...

2003-08-29 Thread Steve Camp

Hi,

I need some help.  I am running a VPN between a FreeBSD 4.3 box and another FreeBSD 
4.7 box.
I am using the IPSEC / Racoon setup that comes with FreeBSD.  I have not compiled 
anything:
I inherited sysadmin duties for these boxen from another fellow.  They had been working
just fine when I first "acquired" them.  Since that time, my customer has had two 
moves when
they physically consolidated their two offices into one new office.  At that time, the 
VPN
was torn down, as there was only one box.

Now they have opened a new "branch" office (actually a "home" office) and have tasked 
me
with re-establishing the VPN to this separate location.  I took the second box and 
re-located
it.  The only changes made were to the /etc/hosts (new host name(s) and IP addresses), 
/etc/resolv.conf (new dns servers), and some tweaks to /etc/rc.conf, and IP 
re-configurations
in the /usr/local/etc/rc.d/ipsec.sh startup script.

The IPSEC VPN has been up and down, but frustratingly mostly down since this latest 
"move".
However, the VPN *was* working, and working well just two days ago.  Today I checked, 
and it
is again down, and the "primary" company server is logging lots and lots of these 
messages:

Aug 28 18:07:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:10:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:13:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:16:30 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:19:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:22:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.

   .
   .
   .

Aug 29 11:46:36 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:49:18 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:50:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:50:47 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:54:52 servername /kernel: key_acquire2: invalid sequence number is 
passed.

etc etc

Any pointers / links / help etc welcome in trying to figure this problem out.

Has anyone experienced this problem before?  How to resolve / fix it?

Could this behaviour be caused by an ISP restricting certain kinds of traffic?  More
specifically, the last time I checked a few days ago, I was able to ping the public
IP address of the remote (e.g. home office) box, but now I get ICMP error messages
about

ICMP Communication Administratively Prohibited from gateway machine.isp.net 
(xxx.xx.xxx.xxx)

Pointers to any other apropos Usenet newsgroups, mailing lists, support websites 
appreciated.

--
Steve Camp
[EMAIL PROTECTED]
Aug 28 18:19:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 28 18:22:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.

   .
   .
   .

Aug 29 11:46:36 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:49:18 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:50:00 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:50:47 servername /kernel: key_acquire2: invalid sequence number is 
passed.
Aug 29 11:54:52 servername /kernel: key_acquire2: invalid sequence number is 
passed.

etc etc

Any pointers / links / help etc welcome in trying to figure this problem out.

Has anyone experienced this problem before?  How to resolve / fix it?

Could this behaviour be caused by an ISP restricting certain kinds of traffic?  More
specifically, the last time I checked a few days ago, I was able to ping the public
IP address of the remote (e.g. home office) box, but now I get ICMP error messages
about:

  ICMP Communication Administratively Prohibited from gateway machine.isp.net 
(xxx.xx.xxx.xxx)

While I have posted this query to the comp.dcom.vpn, and comp.unix.*bsd*.misc 
newsgroups,
any pointers to any other apropos Usenet newsgroups, mailing lists, support websites 
appreciated.

--
Steve Camp
[EMAIL PROTECTED]


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


A ppp configuration question

2003-08-29 Thread stan
I'm trying to set up one of my FreeBSD STABLE machines to dial intot the
company ppp server using a 80-0 number. I'v already got a ppp.conf entry
that works for the local number, and the 800 number differs only in that
it's a diffferent phone number (obviously), and that the answer sequence
involves waiting, and then sending an extension number. This makes the
connection/dial dialog longer. 

Here is the entry for the local number:


#
#
#   PPP  Sample Configuration File
#
# Written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.3.4.3 1996/06/17 09:17:50 jkh Exp $
#
#
#
# Default setup. Executed always when PPP is invoked.
#
default:
 set server 6670 ppp_passwd
 set device /dev/cual0
 set speed 38400
 allow users *
 disable lqr
 deny lqr
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" \\dATZ OK ATX7 OK ATS37=11 OK 
ATS7=180 OK ATN0 OK ATDT\\T TIMEOUT 180 CONNECT"
#  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T 
TIMEOUT 120 CONNECT"
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\dATDT\\T TIMEOUT 120 
CONNECT"
 # set log Phase Chat Connect tun TCP/IP IPCP hdlc
 set log Phase Chat Connect LCP CCP 
 set redial 1
#
# Example with login script
#   o From PPP prompt,
#   ppp> dial awod
# will automatically dials and perform login procedure.
#
#   ppp> load awod
# will also load and execute commands, but don't dial.
#
#   o From shell, invoke as
#   % ppp awod
# will load commands associated with the label. Use,
#   ppp> dial
# to establish the connection.
#
#
awod_new:
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \dATDT\\T TIMEOUT 120 
CONNECT"
 set phone 9w3295900
 # set phone 3295900
 set login "TIMEOUT 5 name>-\\r-name> stanb word> 611_no_more(- tion: 2"
 deny chap
 accept pap
# enable pap
 set authname stanb
 set authkey  611_no_more(-
 set timeout 600
 # set ifaddr 127.1.1.1/0 127.1.1.2/0
 # add 0 0 127.1.1.2
 allow dns
 delete default
 add 0 0 HISADDR
#
awod:
 set phone 7692052
 set login "TIMEOUT 10 name>-\\r-name> stanb word> 611_no_more(- tion: 2\r"\""
 set timeout 600
 set ifaddr 127.1.1.1/0 127.1.1.2/0
 add 0 0 127.1.1.2
grizzly:
 set parity even
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T 
TIMEOUT 180 CONNECT"
 set timeout 180
 set phone "9w8864919"
# set phone "8864919"
 set parity even
 set login "TIMEOUT 80 gin:-\\r-gin: stan word: foo-bar tan spp"
 set timeout 6000
 deny chap
 deny deflate pred1
 disable deflate pred1
 enable lqr
 allow lqr
 set timeout 6
 set ifaddr 127.1.1.1/0 127.1.1.2/0
# add 0 0 127.1.1.2
ppp_grizzly:
 set parity even
 set timeout 120
 set phone "8864919"
 set parity even
 set login "TIMEOUT 10 gin:-\\r-gin: ppp word: ppp_test"
 set timeout 6000
 deny chap
 deny deflate pred1
 disable deflate pred1
 enable lqr
 allow lqr
 set timeout 6000
 delete all
 set ifaddr 127.1.1.1/0 127.1.1.2/0
 add 0 0 127.1.1.2
black:
 delete ALL
 deny chap
 accept pap
 set authname stan
 set authkey  foo-bar
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 120 \"\" \\\dATY0Z0 OK \dATDT\\T 
TIMEOUT 180 CONNECT"
 set timeout 180
 set phone "8864919"
# set phone "9w8864919"
 deny lqr
 set ifaddr 127.1.1.1/0 127.1.1.2/0
 add 0 0 127.1.1.2
 add 205.159.77.0 255.255.255.0 HISADDR
netcom:
 set openmode active
 set phone 9W5698740
 # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- stanb slirp"
 # set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- nnected \\r word: 
611_no_more(- stanb slirp"
 set login "TIMEOUT 125 gin:-\\r-gin: stanb word: 611_no_more(- word: 611_no_more(- 
stanb slirp"
 disable pred1
 deny pred1
 set timeout 180
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 # set ifaddr 127.1.1.1/0 127.1.1.2/0
 # set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 0.0.0.0/0
 delete default
 add 0 0 HISADDR
 # add! default HISADDR
 # delete default
 # add 0 0 HISADDR
#
# Multi-phone example
#
multiphone:
 set phone 12345678:12345679:12345670:12345671
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
#
# If peer requires to use CHAP, don't forget to supply authname and authkey.
#
# If you'd like to use CHAP to authentication peer, comment out the line
# ``enable chap'' below. You also need to prepare /etc/ppp.secret.
#
# If remote system sends its system name within CHAP packet and it is
# found in /etc/ppp.secret, then secret key is taken from the file and
# value of authkey is ignored.
#
chapsite:
 set phone 12345678
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 deny pap
 accept chap
# enable chap
 set authname MySystemName
 set authkey  OurSecretKey
#
# To speak PAP is just similar to CHAP
#
papsite:
 set phone 8530856
 set login "TIMEOUT 5 login:-\\r-login> ppp word> ppp"
 deny chap
 accept pap
# enable pap
 set authname stanb
 set authkey  611_no_more(-
#
# On demand dialup ex

Re: allowing non root users to mount

2003-08-29 Thread Lowell Gilbert
Desmond Lee <[EMAIL PROTECTED]> writes:

> I followed the instructions on the FAQ section about making non-root
> users able to mount file systems and that worked fine, but it only works
> if the target of the mounting point is accessible by that user.

Right.  You want that for security reasons.

> So, 'mount -t msdos /dev/fd0 ~/myFloppy'
> 
> would only work if ~/myFloppy was a directory that was accessible by the
> user who executed the mount command. Thus, if you were a non-root user
> the stuff in the /etc/fstab would not be useful since the target of the
> mount commands were only accessible by the root.

Make the common mount point accessible to the console user.  fbtab(5)
(or xdm's 'GiveConsole' script, etc.) will help here.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrading mysql

2003-08-29 Thread Michelle
I would like to upgrade mysql from mysql-server-3.23.54 to 
mysql-server-3.23.57 and understand that I will need to do a dump 
before upgrading since the upgrade needs to overwrite the databases.  
Since I have never done this before, I just want to make sure I have 
the correct steps after reading over the mysql site and the man pages.

First I will dump all of my databases:

mysqldump  -A > backup-file.sql

Then I will shutdown the mysql server and upgrade the mysql port with 
the environment variable OVERWRITE_DB defined when running make install.

To rebuild the databases do I simply use:

mysqldump --all-databases > backup-file.sql

and then restart the mysql server using mysqld_safe

Am I missing any steps?

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


Local procmail mailer, bypassing aliases?

2003-08-29 Thread Damian Gerow
Does anyone have an m4 for a procmail mailer the completely bypasses the
alias table?  I had one working about a month ago, but it seems to be
broken, and I just can't figure out why...  I also don't know where to start
looking for one.

(Please Cc: me in responses...  Thanks.)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Off Topic Regex Question

2003-08-29 Thread Mikko Työläjärvi
On Thu, 28 Aug 2003, Roger Williams wrote:

> I know thins is not the place but I know one of you know this one off the
> top of your head.
>
> I have:
>
> $list = "dog 1 1 1 cat 2 1 snake 111"
> and I want to end up with:
> dog 1 cat 2 snake 1
> I thought
> $list =~ s/ \d \d/ \d/g;
> would do the trick, but that gives me:
> dog d 1 1 cat d snake d 1

I'm not sure I understand your criteria, but try something like:

  $list =~ s/(\w+\s+\d\s?)[\d\s]*/$1/g;

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


some problems with automount

2003-08-29 Thread Desmond Lee
Hello

I'm trying to use amd or the automount so that removable media such as
floppies, zip disks and cdroms will be mounted when needed. My goal is
to put 'amd_enable="YES"' in the /etc/rc.conf file so that mounting is
taken care of when the OS is booted.

I've read the man pages for amd, amd.conf and also some stuff on the
web. I'm still have some problems and was hoping someone out there could
point out some mistakes.

So, my this is what my amd.conf file looks like:

# GLOBAL OPTIONS SECTION
[ global ]
normalize_hostnames =no
print_pid =  no
#pid_file =  /var/run/amd.pid
restart_mounts = yes
#unmount_on_exit =   yes
auto_dir =   /
log_file =   /var/log/amd
log_options =all
#debug_options = all
plock =  no
selectors_in_defaults =  yes
# config.guess picks up "sunos5" and I don't want to edit my maps yet
os = sos5
# if you print_version after setting up "os", it will show it.
print_version =  no
map_type =   file
search_path =/etc/amdmaps:/usr/lib/amd:/usr/local/AMD/lib
browsable_dirs = yes
fully_qualified_hosts =  no

# DEFINE AN AMD MOUNT POINT
[ /floppy ]
map_name =   amd.floppy
 
[ /zip ]
map_name =   amd.zip
 
[ /cdrom] 
map_name =   amd.cdrom



So, my first problem is that ' selectors_in_defaults =  yes ' should be
a valid global flag: http://www.am-utils.org/am-utils_11.html#SEC128. I
get the following message when executing the command 'bash-2.05$ amd -F
/etc/amd.conf'

conf: unknown global key: "selectors_in_defaults"
AMDCONF: syntax error on line 13 (section global) 



If I comment out the 'selectors_in defaults=yes' then I get the
following output when I execute ' bash-2.05$ amd -F /etc/amd.conf':

Aug 29 00:31:53 manchester amd[823]/info:  using configuration file
/etc/amd.conf

Aug 29 00:31:53 manchester amd[823]/user:  /var/log/amd: Can't open
logfile: Permission denied

Aug 29 00:31:53 manchester amd[823]/user:  Cannot switch logfile

Aug 29 00:31:53 manchester amd[823]/info:  AM-UTILS VERSION INFORMATION:

Aug 29 00:31:53 manchester amd[823]/info:  Copyright (c) 1997-1999 Erez
Zadok

Aug 29 00:31:53 manchester amd[823]/info:  Copyright (c) 1990 Jan-Simon
Pendry

Aug 29 00:31:53 manchester amd[823]/info:  Copyright (c) 1990 Imperial
College of Science, Technology & Medicine

Aug 29 00:31:53 manchester amd[823]/info:  Copyright (c) 1990 The
Regents of the University of California.

Aug 29 00:31:53 manchester amd[823]/info:  am-utils version 6.0.3s1
(build 480102).

Aug 29 00:31:53 manchester amd[823]/info:  Built by
[EMAIL PROTECTED] on date Sat Aug 23 15:03:51 PDT 2003.

Aug 29 00:31:53 manchester amd[823]/info:  cpu=i386 (little-endian),
arch=i386, karch=i386.

Aug 29 00:31:53 manchester amd[823]/info:  full_os=freebsd4.4-RELEASE,
os=sos5, osver=4.4-RELEASE, vendor=unknown.

Aug 29 00:31:53 manchester amd[823]/info:  Map support for: root,
passwd, union, nis, ndbm, file, error.

Aug 29 00:31:53 manchester amd[823]/info:  AMFS: nfs, link, nfsx, nfsl,
host, linkx, program, union, inherit, ufs,

Aug 29 00:31:53 manchester amd[823]/info:lofs, cdfs, pcfs, auto,
direct, toplvl, error.

Aug 29 00:31:53 manchester amd[823]/info:  FS: cd9660, lofs, mfs, nfs,
nfs3, null, msdos, ufs, umap, union.

Aug 29 00:31:53 manchester amd[823]/info:  Network: wire="192.168.1.0"
(netnumber=192.168.1).

Aug 29 00:31:53 manchester amd[823]/info:  My ip addr is 192.168.1.102

Aug 29 00:31:53 manchester amd[823]/fatal: Must be root to mount
filesystems (euid = 1001)

Aug 29 00:31:53 manchester amd[823]/info:  Finishing with status 1

Now, some of this output is weird, cause it says my OS is freeBSD 4.4
but I've upgraded to 4.8. Also, it says that only root can mount, but
I've changed the setup so that any one can do mounts now. 

Also, am I suppose to create the following directories: 
/etc/amdmaps
/usr/lib/amd
/usr/local/AMD/lib

Also, at the end of my amd.conf file I have:
# DEFINE AN AMD MOUNT POINT
[ /floppy ]
map_name =   amd.floppy
 
[ /zip ]
map_name =   amd.zip
 
[ /cdrom] 
map_name =   amd.cdrom


How do I go bout creating these amd.xxx files and where should I put
them. in the /etc/amdmaps directory. Right not I don't have any amd.map
files for the floppy, zip or cdrom so I'm guessing that's why nothing
gets mounted when I do an 'amd -F /etc/amd.conf'.

Thanks in advance

Desmond








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


Re: Driver for Onstream ADR2.60 IDE

2003-08-29 Thread Jerry McAllister
> 
> While we're on the subject - is there any good backup devices in the 60Gb
> range for FreeBSD that have a similar cost as the OnStream drive (what was
> it again, 300$? something like that?)?
> IIRC, my big beef with the OnStream drive (besides the weird format the
> driver used and slowness backing up/restoring) was the low quality and low
> lifespan of the tapes.
> I can pay around $500-$700 for a backup device, I've just never used a
> tape device that wasn't a quad-head 400+ tape capacity IBM drive so I'm
> not sure as to what would be good for general home backup use of around
> 60GB a week or so. TIA

You can get DLT and something called LTO (Linear Tape-Open) that can each
handle up to 100 GigaByte native (uncompressed) and whatever you can get 
over that compressed - the common practice is to assume 2:1 compression.
Both claim to be the most reliable tape formats out there.

I don't know what vendors or drivers are available for LTO, but the 
claim is that it is the fastest data transfer format.   If you can
get it in a 'standard' SCSI setup, you can probably make it work 
on FreeBSD.

The DLT comes in up to 100 GigaByte models too.  I know that you can 
get DLT in SCSI and that it works on FreeBSD because we have some Dell 
machines with the 40 GB version of DLT running and we didn't have to do 
anything but install GENERIC FreeBSD.

As for prices, the 40 GigaByte native versions of either fall in your
range.  The 100 GB versions are quite a bit higher.

You can also get something called AIT with which we have had good luck, 
but the capacity is about half the DLT or LTO drives.   Maybe they
also have newer, migher capacity models now too.  I haven't looked at 
them lately.

Do Google searches for DLT, LTO and AIT  and you will get lots of
hits with everything from white papers to vendors.   Unfortunately
there isn't a lot about FreeBSD drivers in those piles of info.

jerry

> 
> **
> Jeremy D. Pavleck
> [EMAIL PROTECTED]
> 
> 
> 
> On Fri, 29 Aug 2003, Peter Elsner wrote:
> 
> > Short answer: No
> > 
> > Long answer: No, because OnStream isn't using a standard ATAPI driver for 
> > their IDE drives.
> > 
> > The make use of accessing the drive using very special commands in their 
> > proprietary backup
> > software.  Without the software the drive won't work.  I have already 
> > contacted On Stream about
> > this many times, (my boss insisted I get it working with FreeBSD), and to 
> > no avail, they will not
> > help me unless I'm running Windows.
> > 
> > Peter Elsner
> > 
> > 
> > At 05:42 PM 8/28/2003 -0700, you wrote:
> > >I have an Onstream ADR2.60 IDE backup drive that I would like to start using
> > >with my FreeBSD 4.8 system.  At startup I get a message via dmesg that there
> > >is no driver for this device. 'kay.  An hour of searching Google yielded
> > >me no closer to a driver, so here I am
> > >
> > >Can I use this drive with my system or do I have to bag it?
> > >
> > >Peter
> > >
> > >___
> > >[EMAIL PROTECTED] mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 
> > Peter Elsner <[EMAIL PROTECTED]>
> > Vice President Of Customer Service (And System Administrator)
> > 1835 S. Carrier Parkway
> > Grand Prairie, Texas 75051
> > (972) 263-2080 - Voice
> > (972) 263-2082 - Fax
> > (972) 489-4838 - Cell Phone
> > 
> > ___
> > [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]"
> 

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning

--- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > 
> > Thanks, Sunil for the steps, but I have tried that already.
> > 
> > When I get to the # prompt in single user mode, I cannot use 
> > the passwd command. I get the error;;
> > 
> > passwd: error opening database: /etc/pwd.db: Permission denied
> > passwd: /etc/master.passwd: unchanged
> > 
> 
> Sort of sounds like you didn't remount root.  
> When you come up in single user, root is mounted without write permission.
> You need to remount it.mount -u /   will do it although
> supposedly doing a mount -a will effectively include that step as well.
> Still, we always do the extra step, maybe for old times.

While I believe the problem was in the permissions, -somewhere-
I don't think it was as you are suggesting, becuase I -did- have
enough permission to completely remove /etc and replace it with
a backup /etc directory I had.

I the end, I did a minimal install which over-wrote the basic
boot files, and that did it.

thanks for your comments -




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning

> Hmm.. Pretty long but only the last few screens are important. Problem's
> kinda weird,
> really. This is a *LAST DITCH EFFORT*, but try this. It may work. (Note:
> this assumes
> you've got system sources around).
> 
> OK boot -s
> # mkdir /var/oldpwd
> # mv /etc/master.passwd /etc/passwd /etc/group /etc/pwd.db /etc/spwd.db
> /etc/login.conf /var/oldpwd
> # cp /usr/src/etc/master.passwd /etc/
> # cp /usr/src/etc/group /etc/
> # cp /usr/src/etc/login.conf /etc/
> # pwd_mkdb /etc/master.passwd
> # passwd root
> # exit
> 
> And if it all fails, well, you've got your old passwd files in /var/oldpwd.
> If it works, great! Now you get to merge your accounts.

Nope. I actually had a backup /etc directory from a week ago. I replaced
the entire directory with the backup. No go. I then reinstalled via ftp
the basic user package and now all is well. On review I noticed
some /bin directories ownership had it's permissions changed to
one of my users. Then it came back to me that I had been changing
some permissions on user directories to deal with a mail permission
issue. I must have let an extra . or / slip somewhere in my chown'ing.

I wanted to -find- the problem as a matter of interest, but in the
end, I had to get things up and running as soon as possible, and
reinstalling was the fastest. It reinstalled the basics and left the
rest of my installation intact.

Thanks for your time to review the log, and your interest and comments.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfilter/natd for windows domain controllers

2003-08-29 Thread Chuck Swiger
Redmond Militante wrote:
[ ... ]
my question is - do i need to upgrade my hardware?
No.  You can filter T1 or 10Mbs ethernet level bandwidth with a Pentium-grade 
box with a fraction of the RAM your system has.  The only real hardware concern 
is to make sure you've got high-quality NICs in the box.

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


Re: Verio mover to FreeBSD

2003-08-29 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
Why if Verio has moved our sites to you, are they still charging us $6,000 
per annum for hosting?
$500 per month for rack space, power, a leased Intel box with, say 10 Mbs 
burstable traffic, nightly backups, and such?

Most of these are fixed costs which don't have much to do with which operating 
system is being used.  FreeBSD is going to be significantly less time-consuming 
to administer than, say, Windows.

What is the viability of this server?
You haven't told us what you're doing.  I've gotten the impression that FreeBSD 
isn't particularly viable as a voicemail solution, but it's pretty good at many 
other things, particularly traditional Unix server stuff.

With the CA economy in dire straits, how secure is your future?
An odd question for someone living in NY.  Anyway, FreeBSD is an open-source 
project and the people working on FreeBSD are pretty thoroughly distributed 
around the world.  The local economy isn't especially relevant to the success of 
the FreeBSD project.

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


Re: Verio mover to FreeBSD

2003-08-29 Thread Jeremy D. Pavleck
Very well put! Almost sounds like a greeting card from Hallmark :-p

**
Jeremy D. Pavleck
[EMAIL PROTECTED]



On Fri, 29 Aug 2003, Matthew Seaman wrote:

> On Fri, Aug 29, 2003 at 11:35:46AM -0400, [EMAIL PROTECTED] wrote:
> > Why if Verio has moved our sites to you, are they still charging us $6,000 
> > per annum for hosting?
> > What is the viability of this server?
> > With the CA economy in dire straits, how secure is your future?
> 
> FreeBSD isn't a for-profit corporation in the usual sense.  It's
> rather a world-wide collection of volunteers with a common aim: to
> produce the FreeBSD operating system.  As such it is much more
> resilient than any business.  Furthermore, as FreeBSD is an open
> source operating system, there's no possibility that the operating
> system itself will disappear, even if the current project membership
> does decide to give up and do something else.  There are hundreds of
> thousands of copies of the FreeBSD source code all round the Internet,
> and the BSD license terms specifically allow any usage of that code,
> commercial or otherwise so long as the appropriate copyright
> statements are maintained.
> 
> Neither is the project particularly centered in or dependent on
> California. True, there are quite a few FreeBSD committers resident in
> that state, and major parts of the FreeBSD web infrastructure are
> located there.  Not all, however.  For example, one of the servers
> that makes up ftp.freebsd.org is actually located in Denmark.  If
> California were to finally fall into the sea, the FreeBSD project
> would still go on.
> 
> Verio may have moved their hosting business to use FreeBSD, which will
> certainly have reduced their per-server licencing costs, yes.
> However, that would only have been a small part of their cost base
> before moving over.  The majority of the cost will be the running
> expenses of the hosting centers and the cost of bandwidth, both of
> which remain unchanged.  If you don't think you're getting value for
> money, then you can vote with your feet, or threaten to, and see if
> they'll negociate.
> 
>   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
> 

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


epson cx5200 printer

2003-08-29 Thread Ralph
Was wondering if anyone here has set up this printer i know the driver 
is the c82 in gimp-print but apsfilter wont work any ideas.

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


Re: Verio mover to FreeBSD

2003-08-29 Thread Matthew Seaman
On Fri, Aug 29, 2003 at 11:35:46AM -0400, [EMAIL PROTECTED] wrote:
> Why if Verio has moved our sites to you, are they still charging us $6,000 
> per annum for hosting?
> What is the viability of this server?
> With the CA economy in dire straits, how secure is your future?

FreeBSD isn't a for-profit corporation in the usual sense.  It's
rather a world-wide collection of volunteers with a common aim: to
produce the FreeBSD operating system.  As such it is much more
resilient than any business.  Furthermore, as FreeBSD is an open
source operating system, there's no possibility that the operating
system itself will disappear, even if the current project membership
does decide to give up and do something else.  There are hundreds of
thousands of copies of the FreeBSD source code all round the Internet,
and the BSD license terms specifically allow any usage of that code,
commercial or otherwise so long as the appropriate copyright
statements are maintained.

Neither is the project particularly centered in or dependent on
California. True, there are quite a few FreeBSD committers resident in
that state, and major parts of the FreeBSD web infrastructure are
located there.  Not all, however.  For example, one of the servers
that makes up ftp.freebsd.org is actually located in Denmark.  If
California were to finally fall into the sea, the FreeBSD project
would still go on.

Verio may have moved their hosting business to use FreeBSD, which will
certainly have reduced their per-server licencing costs, yes.
However, that would only have been a small part of their cost base
before moving over.  The majority of the cost will be the running
expenses of the hosting centers and the cost of bandwidth, both of
which remain unchanged.  If you don't think you're getting value for
money, then you can vote with your feet, or threaten to, and see if
they'll negociate.

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: Verio mover to FreeBSD

2003-08-29 Thread Micheal Patterson

- Original Message - 
From: "Dan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 10:50 AM
Subject: Re: Verio mover to FreeBSD


> Did I miss something?
>
> If they moved your server to FreeBSD, it just means the Operating System
on your server changed
>
>
> [EMAIL PROTECTED] extolled:
> > Why if Verio has moved our sites to you, are they still charging us
$6,000
> > per annum for hosting?
> > What is the viability of this server?
> > With the CA economy in dire straits, how secure is your future?
> >
> > J.A.Stone PhD (London)
> > Founder
> > [EMAIL PROTECTED]
> >
> > javari.com
> > P.O.Box 230551
> > Ansonia Station
> > New York NY 10023
> > USA
> >
> > The SAF Group  AIC
> > javari.com
> > javaribook.com
> > freudpsa.com
> >
> > a better customer-reader company
> > Live from Silicon Alley!
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
> -- 
> ___
> Dan
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

 You're not alone Dan. I was like, what does this have to do with the list?,
and then I came to the same conclusion as you did, that his provider changed
OS's for his host. If they were running IIS before, then they're in a much
more stable platform now anyway.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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


Re: Question on CVS Branches

2003-08-29 Thread Chuck Swiger
Heinrich Rebehn wrote:
[ ... ]
Thank you. Yet another question: I would like to update my source tree 
automatically each night. However the cvs login requires a password to 
be typed in. Is there any way to automate this? Strangely, the cvs man 
page does not even mention the login command.
The documentation for CVS is not especially well-known for being inclusive.  Are 
you using CVS over SSH or in pserver mode?  The first case requires you to set 
up password-less SSH authentication via ssh-keygen, the latter uses the "cvs 
login" mechanism.

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


Re: Driver for Onstream ADR2.60 IDE

2003-08-29 Thread Chuck Swiger
Jeremy D. Pavleck wrote:
While we're on the subject - is there any good backup devices in the 60Gb
range for FreeBSD that have a similar cost as the OnStream drive (what was
it again, 300$? something like that?)?
Something like a DLT 7000 or 8000, if you have SCSI available?  DLT does up to 
35/70 GB or 40/80 GB per tape.  I don't know tape backup products for IDE as 
well, but presumably you'd be looking at 4mm DDS or maybe Ultrium tape drives...

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


Re: Driver for Onstream ADR2.60 IDE

2003-08-29 Thread Jeremy D. Pavleck
While we're on the subject - is there any good backup devices in the 60Gb
range for FreeBSD that have a similar cost as the OnStream drive (what was
it again, 300$? something like that?)?
IIRC, my big beef with the OnStream drive (besides the weird format the
driver used and slowness backing up/restoring) was the low quality and low
lifespan of the tapes.
I can pay around $500-$700 for a backup device, I've just never used a
tape device that wasn't a quad-head 400+ tape capacity IBM drive so I'm
not sure as to what would be good for general home backup use of around
60GB a week or so. TIA

**
Jeremy D. Pavleck
[EMAIL PROTECTED]



On Fri, 29 Aug 2003, Peter Elsner wrote:

> Short answer: No
> 
> Long answer: No, because OnStream isn't using a standard ATAPI driver for 
> their IDE drives.
> 
> The make use of accessing the drive using very special commands in their 
> proprietary backup
> software.  Without the software the drive won't work.  I have already 
> contacted On Stream about
> this many times, (my boss insisted I get it working with FreeBSD), and to 
> no avail, they will not
> help me unless I'm running Windows.
> 
> Peter Elsner
> 
> 
> At 05:42 PM 8/28/2003 -0700, you wrote:
> >I have an Onstream ADR2.60 IDE backup drive that I would like to start using
> >with my FreeBSD 4.8 system.  At startup I get a message via dmesg that there
> >is no driver for this device. 'kay.  An hour of searching Google yielded
> >me no closer to a driver, so here I am
> >
> >Can I use this drive with my system or do I have to bag it?
> >
> >Peter
> >
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> Peter Elsner <[EMAIL PROTECTED]>
> Vice President Of Customer Service (And System Administrator)
> 1835 S. Carrier Parkway
> Grand Prairie, Texas 75051
> (972) 263-2080 - Voice
> (972) 263-2082 - Fax
> (972) 489-4838 - Cell Phone
> 
> ___
> [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: Driver for Onstream ADR2.60 IDE

2003-08-29 Thread Peter Elsner
Short answer: No

Long answer: No, because OnStream isn't using a standard ATAPI driver for 
their IDE drives.

The make use of accessing the drive using very special commands in their 
proprietary backup
software.  Without the software the drive won't work.  I have already 
contacted On Stream about
this many times, (my boss insisted I get it working with FreeBSD), and to 
no avail, they will not
help me unless I'm running Windows.

Peter Elsner

At 05:42 PM 8/28/2003 -0700, you wrote:
I have an Onstream ADR2.60 IDE backup drive that I would like to start using
with my FreeBSD 4.8 system.  At startup I get a message via dmesg that there
is no driver for this device. 'kay.  An hour of searching Google yielded
me no closer to a driver, so here I am
Can I use this drive with my system or do I have to bag it?

Peter

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


WDM problem

2003-08-29 Thread Monah Baki
Hi all,

I'm trying to execute wdm, I get :

error 13 binding socket address 177
Cannot open server authrization file /usr/X11R6/lib/X11/wdm/authdir/authfiles/A:0-
yooW24

I get the login screen but thats it, the background/beastie.jpg is missing and I can't 
login.

This only happens if I login as non root.


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


Re: Verio mover to FreeBSD

2003-08-29 Thread Dan
Did I miss something?

If they moved your server to FreeBSD, it just means the Operating System on your 
server changed


[EMAIL PROTECTED] extolled:
> Why if Verio has moved our sites to you, are they still charging us $6,000 
> per annum for hosting?
> What is the viability of this server?
> With the CA economy in dire straits, how secure is your future?
> 
> J.A.Stone PhD (London)
> Founder
> [EMAIL PROTECTED]
> 
> javari.com
> P.O.Box 230551
> Ansonia Station
> New York NY 10023
> USA
> 
> The SAF Group  AIC
> javari.com
> javaribook.com
> freudpsa.com
> 
> a better customer-reader company
> Live from Silicon Alley!
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Verio mover to FreeBSD

2003-08-29 Thread Jastonephd
Why if Verio has moved our sites to you, are they still charging us $6,000 
per annum for hosting?
What is the viability of this server?
With the CA economy in dire straits, how secure is your future?

J.A.Stone PhD (London)
Founder
[EMAIL PROTECTED]

javari.com
P.O.Box 230551
Ansonia Station
New York NY 10023
USA

The SAF Group  AIC
javari.com
javaribook.com
freudpsa.com

a better customer-reader company
Live from Silicon Alley!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Netgear FA511 driver

2003-08-29 Thread Ganael Laplanche
Hi all,

Has anybody managed to make an FA511 card work under FreeBSD ?

Many thanks,

Ganaël LAPLANCHE
[EMAIL PROTECTED]
Tel : (+33)6.84.03.57.24.

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


Re: dmesg output

2003-08-29 Thread Jerry McAllister
> 
> On Fri, 29 Aug 2003 23:51, Jerry McAllister wrote:
> > > I wanted to clear the dmesg -a output because i had this problem with
> > > a IDE disk, wich give this message all over
> > >
> > > ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn
> > > 133851519; cn 8331 tn 222 sn 18) status=59 error=40 ad0s1g: hard error
> > > reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331
> > > tn 222 sn 18) status=59 error=40 ad0s1g: hard error reading fsbn
> > > 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331 tn 222 sn 18)
> > > status=59 error=40 ... and so one
> > >
> > > i mirrored the disk and change with other, and now is dificult to see
> > > if that is ok...unless i clear the buffer to see if the messages keep on
> >
> > I don't understand.   Mirroring a failing disk will not stop it from
> > failing or eliminate/reduce disk errors from it.   Even if it suppresses
> > some of the error messages, the disk would still be failing.
> >
> 
> I don't believe he is talking about RAID.
> 
> I think he means he has copied the disk to another and then substituted the 
> copy for the original.
> 
> Malcolm

Oh.  You may be right.   Sorry.

jerry

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


PPP and radius.conf - shouldnt it be doing round-robin?

2003-08-29 Thread Sten Daniel Sørsdal

I use userland ppp with radius authentication against 2 radius 
servers, on a freebsd 4.8-stable box that i use as a router/gateway.

The two servers are on two different interfaces, it seems that 
when i unplug the first server (#1 in radius.conf)
from the switch the arp cache on the gateway will time out and 
a "Host is down" message is generated (or icmp host unreachable). 

All authentication requests are then automatically denied without 
consulting the second server.

If i then swap the order of the radius servers in radius.conf while
the first server is still down, i get authenticated.

If i arp -s the mac address of the unplugged server, and it's the 
first one in radius.conf, the authentication mechanism proceeds to
query the second server and i get authenticated.

Is this intended or is it one of those icmp unreach/host down issues
i've seen more and more often lately?

i read this in 'man radius.conf':
 Up to 10 RADIUS servers may be specified for each service type.  The
 servers are tried in round-robin fashion, until a valid response is
 received or the maximum number of tries has been reached for all servers.

uname -a:
FreeBSD fictious 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Aug
3 00:55:37 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WACCESS  i386

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


Re: dmesg output

2003-08-29 Thread Malcolm Kay
On Fri, 29 Aug 2003 23:51, Jerry McAllister wrote:
> > I wanted to clear the dmesg -a output because i had this problem with
> > a IDE disk, wich give this message all over
> >
> > ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn
> > 133851519; cn 8331 tn 222 sn 18) status=59 error=40 ad0s1g: hard error
> > reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331
> > tn 222 sn 18) status=59 error=40 ad0s1g: hard error reading fsbn
> > 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 8331 tn 222 sn 18)
> > status=59 error=40 ... and so one
> >
> > i mirrored the disk and change with other, and now is dificult to see
> > if that is ok...unless i clear the buffer to see if the messages keep on
>
> I don't understand.   Mirroring a failing disk will not stop it from
> failing or eliminate/reduce disk errors from it.   Even if it suppresses
> some of the error messages, the disk would still be failing.
>

I don't believe he is talking about RAID.

I think he means he has copied the disk to another and then substituted the 
copy for the original.

Malcolm


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


Re: dmesg output

2003-08-29 Thread Jerry McAllister
> 
> I wanted to clear the dmesg -a output because i had this problem with 
> a IDE disk, wich give this message all over
> 
> ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; 
> cn 8331 tn 222 sn 18) status=59 error=40
> ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; 
> cn 8331 tn 222 sn 18) status=59 error=40
> ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; 
> cn 8331 tn 222 sn 18) status=59 error=40
> ... and so one
> 
> i mirrored the disk and change with other, and now is dificult to see 
> if that is ok...unless i clear the buffer to see if the messages keep on 

I don't understand.   Mirroring a failing disk will not stop it from failing 
or eliminate/reduce disk errors from it.   Even if it suppresses some of
the error messages, the disk would still be failing.

jerry

> 
> by the way can i use fsck on a multi-user runing server?
> 
>   - Original Message - 
>   From: Lowell Gilbert 
>   To: Marco Gonçalves 
>   Cc: [EMAIL PROTECTED] 
>   Sent: Friday, August 29, 2003 1:58 AM
>   Subject: Re: dmesg output
> 
> 
>   =?Windows-1252?Q?Marco_Gon=E7alves?= <[EMAIL PROTECTED]> writes:
> 
>   > Email TemplateHow can i delete the 'dmesg -a' last output buffer
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfilter/natd for windows domain controllers

2003-08-29 Thread Redmond Militante
hi

i have an ipfilter/ipnat box, that i'm using to protect an apache webserver.
the machine is 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #1: Mon Aug 11 18:27:06 CDT 2003. 
 the machine is a dell optiplex gx260 Intel(R) Pentium(R) 4 CPU 2.40GHz 512 mb of ram. 
 it's been doing a fine job.

my boss asked me today whether he could stick his two windows 2000 domain controllers 
behind the ipf/ipnat box.  the domain controllers are pretty busy.  they get about 
4000-5000 authentication requests on a typical day.  while i was at it, i was thinking 
of putting my mysql server behind the firewall.

my question is - do i need to upgrade my hardware?  or is my setup sufficient to 
handle the 3 extra machines?

thanks
redmond


-- 
FreeBSD 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #0: Thu Aug 28 12:42:04 CDT 2003
 9:00AM  up 19:57, 2 users, load averages: 0.08, 0.15, 0.26
 
'I generally avoid temptation unless I can't resist it."
-- Mae West
 


pgp0.pgp
Description: PGP signature


Re: dmesg output

2003-08-29 Thread Marco Gonçalves
I wanted to clear the dmesg -a output because i had this problem with a IDE disk, wich 
give this message all over

ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 
8331 tn 222 sn 18) status=59 error=40
ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 
8331 tn 222 sn 18) status=59 error=40
ad0s1g: hard error reading fsbn 133851519 of 65253984-65254015 (ad0s1 bn 133851519; cn 
8331 tn 222 sn 18) status=59 error=40
... and so one

i mirrored the disk and change with other, and now is dificult to see if that is 
ok...unless i clear the buffer to see if the messages keep on 

by the way can i use fsck on a multi-user runing server?

  - Original Message - 
  From: Lowell Gilbert 
  To: Marco Gonçalves 
  Cc: [EMAIL PROTECTED] 
  Sent: Friday, August 29, 2003 1:58 AM
  Subject: Re: dmesg output


  =?Windows-1252?Q?Marco_Gon=E7alves?= <[EMAIL PROTECTED]> writes:

  > Email TemplateHow can i delete the 'dmesg -a' last output buffer

  Assuming I'm understanding you correctly (you want to clear the system
  message buffer?)  you shouldn't be able to do that while the system is
  running.  It's a security precaution.  Maybe if you explained why you
  wanted to do it, we'd be able to help.

  > /var/run/dmesg.boot - but it just shows the hardware boot

  It shows the contents of the system message buffer immediately after
  the kernel boots.

  > /var/log/dmesg.today - seems like a copy of /var/run/dmesg.boot

  It should be the contents of the system message buffer at the time of
  the daily periodic(8) run.

  > /var/log/dmesg.eyesterday - seems to me like the dmesg -a output before last 
reboot...

  It should be the previous day's dmesg.today file.

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


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread Jim Durham
On Friday 29 August 2003 01:14 am, paul beard wrote:
> James C. Durham wrote:
> > On Friday 29 August 2003 04:23 am, paul wrote:
> >>James C. Durham wrote:
> >>>It turned out that we had several Windows boxes in the building
> >>> that had been infected with the Nachi worm. This causes some
> >>> kind of DOS or ping probe out onto the internet and the local
> >>> LAN.
> >>>
> >>>Removing the inside interface's ethernet cable caused the ping
> >>> times on the outside interface to go back to the normal .4
> >>> milliseconds to the router.
> >>>
> >>>Apparently, the blast of packets coming from the infected boxes
> >>> managed to cause a "live lock" condition in the server. I
> >>> assume it was interrupt bound servicing the inside interface.
> >>> The packets were ICMP requests to various addresses.
> >>
> >>I could be way off here, but is there any way to isolate machines
> >>that send a sudden blast of packets, either by destination
> >> address (make a firewall rule that drops those packets) or
> >> working out their MAC addresses and dropping their connectivity?
> >> Or scan for open ports and block unsecured systems from
> >> connecting?
> >
> > What I did was go in the switch room and look for pulsing lights
> > on the switch ports and pull the cables. That fixed it, but after
> > much agony.
>
> well, that's a bit draconian, but effective ;-)
>
> >>>My questions is.. what, if any, is a technique for preventing
> >>> this condition? I know, fix the windows boxes, but  I can't
> >>> continually check the status of the virus software and patch
> >>> level of the Windows boxes. There are 250 plus of them and one
> >>> of me. Users won't install upgrades even when warned this worm
> >>> thing was coming. But, i'd like to prevent loss of service when
> >>> one of Bill's boxes goes nuts!
> >>
> >>Where I work, at the University of Washington, the network staff
> >>were dropping as many as 200 machines *per day* off the network.
> >>If a machine was found to have an open RPC port (we run an open
> >>network), that was enough to get your network access cut off.
> >>
> >>I realize these are political solutions more than technical ones,
> >>but they may be of some use.
> >
> > The trouble with that is that my users are largely untechnical
> > and wouldn't have a clue what RPC is and cutting them off is not
> > an option. Welcome to the world of corporate IT! It ain't a
> > pretty job, but it pays the bills...
>
> been there, done that, the bruises have gone down now . . .
>
> One guy to 250 users is a bad ratio.
>
> It seems like there should be some centralized, ie, rule-based
> controls you can put in place. And you should have some leverage
> to force autoupdates on those client machines.
>
> > I got the impression from some reading on Google Groups that
> > there may be a way to tell the xl driver to use polling. I just
> > don't know how.
>
> Well, this is the right place to ask.

The other thing is interrupt priority, maybe ?

-Jim




-- 
-Jim

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Jerry McAllister
> 
> Thanks, Sunil for the steps, but I have tried that already.
> 
> When I get to the # prompt in single user mode, I cannot use 
> the passwd command. I get the error;;
> 
> passwd: error opening database: /etc/pwd.db: Permission denied
> passwd: /etc/master.passwd: unchanged
> 

Sort of sounds like you didn't remount root.  
When you come up in single user, root is mounted without write permission.
You need to remount it.mount -u /   will do it although
supposedly doing a mount -a will effectively include that step as well.
Still, we always do the extra step, maybe for old times.

jerry

> and permissions are as follows;
> 
> # ls -tld /etc
> drwxr-xr-x  17  root  wheel  2560  Aug 28 09:16 /etc
> 
> # ls -tld /etc/pwd.db
> drw---r-- 1 root wheeel  40960 Aug 28 09:12 /etc/pwd.db
> 
> I -can- execute vipw and change passwords. It updates all the files
> master.passwd, spwd.db, passwd, and pwd.db without error.
> 
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> ___
> [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]"


USB printer HP LJ 1300

2003-08-29 Thread Sergey Zaikov
   Hello, [EMAIL PROTECTED]


I have Hewlett-Packard LaserJet 1300 printer and
uname -a
FreeBSD acc.acc.tula.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #3: Thu Aug 28 15:43:53
MSD 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/Z  i386

My kernel have this lines for USB support:

# USB support
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  ulpt# Printer

Command "dmesg" about USB says:
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

But the command "dmesg |grep hp" says:
ugen0: Hewlett-Packard hp LaserJet 1300, rev 1.10/1.00, addr 2

Why this printer detected as "ugen", NOT "ulpt"?

The command "usbdevs -v" says:
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, hp LaserJet 1300(0x1017),
Hewlett-Packard(0x03f0), rev 1.00


PS:

One man send me this answer:
FreeBSD don't recognized your printer as a printer

A usual reason is that this test is not true (/sys/dev/usb/ulpt.c)
(id->bInterfaceProtocol == UIPROTO_PRINTER_UNI ||
 id->bInterfaceProtocol == UIPROTO_PRINTER_BI))

The result of investigation is that a "new" printers return
id->bInterfaceProtocol equvivalent 3 (or 2  - I forget).


A global cause is that ulpt.c was create according
 Printer Class spec: http://www.usb.org/developers/data/usbprn10.pdf
that is outdate.

  Sergey.
... Знание - столь дpагоценная вещь, что его не зазоpно добывать из любого
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Resizing disk partitons?

2003-08-29 Thread Jerry McAllister
> 
> On Thu, 28 Aug 2003 15:21:28 -0400, stan <[EMAIL PROTECTED]> wrote:
> 
> > I've got a laptop with a single hard disk that is curently paritioned 
> > into
> > 3 partions. 1 for FreeBSD, 1 for linux Swap, and a 3rd for Linux.
> >
> > I've got an application that requires a M$ OS. Is there a way I can
> > repartion this drive without having to reinstall bith my other OS'es?
> 
> I don't know the answer, but have two possibilities to suggest for further 
> research: Partition Magic and gpart (with or without gui front ends).  I 
> don't know if the former mangles non-Win partitions when resizing, and 
> I've never used the latter.

Partition Magic and others can handle the resizing.  That is the 
easy part.  The hard part is moving the contents of the slices. 
They don't do that.   Generally I think you will have to back up
everything, recreate the slices and create boot records and then
restore everything.   If you can buy a nice [bigger] disk and add
it, and then build things on the new disk and then switch it in to
the boot position, that would probably be the easiest and cleanest
way to do it.

jerry

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


Re: sound

2003-08-29 Thread Dan
Maybe this will help?

http://glou.net/~thomas/pcg-fx301.html

Especially this part:


Sound support

The sound chip is known as AC97. In FreeBSD, recompiling a kernel with device pcm 
included or even (not sure) using the GENERIC kernel might get sound working. In 
Linux, you will have to recompile your kernel or use precompiled binaries, namely : 
sound support (CONFIG_SOUND), and the VIA AC97 audio option (CONFIG_SOUND_VIA82CXXX), 
as well as its MIDI interface (CONFIG_MIDI_VIA82CXXX). This should be enough. The 
module to load would be via82cxxx_audio.



Looks like you already did that though - Looking on my machine I hae handy right now 
(4.8) there are several midi options in the kernel config (looked at LINT) - did you 
check if there are any with 4.5?



Jendos extolled:
> Hello!
> 
> I'm sorry for my evil english!
> 
> I can't solve problem by myself(crooked hands :)
> I have a Microstar P4DCE+ motherboard and freeBSD 4.5
> To enable support my onboard AC'97, I include in my kernel:
> 
> device pcm
> options PNPBIOS
> 
> Compile it, reboot and then give a commands:
> 
> dmesg | grep pcm
> (pcm0...)
> cd /dev
> ./MAKEDEV snd0
> 
> Sound card start to work, but I have no MIDI
> (I need midi, because I want to use sequencer programs like:
> Muse, Rosegarden, etc)
> What can I do?
> Thanks for help!
> 
> 
> 
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: Syslogd dying often on different hardware - hackers?

2003-08-29 Thread Matthew Seaman
On Fri, Aug 29, 2003 at 02:36:01PM +0200, Sten Daniel Sørsdal wrote:
> 
> Many of my servers tend to have their syslogd die on them.
> In dmesg i could see the signal number on one of them; 11
> But kill -l doesnt reveal which that is:
> 
> pid 17263 (syslogd), uid 0: exited on signal 11
> pid 87264 (syslogd), uid 0: exited on signal 11

See /usr/include/sys/signal.h --- signal 11 is SIGSEGV, segmentation
violation.  Most of the time that it's mentioned on this list it's due
to memory hardware errors causing crashes.  However, in this case as
the problem is localized to syslogd then I think you've found a bug.

> /var/log has lots of space, newsyslog does it's job regularly.
> The versions vary from 4.7 to 4.9-prerelease. Lots of memory available.
> Hardware ranges from 1ghz celerons, 400mhz p3's, 1.6ghz p4's.
> 
> The command lines are either; -nccvvs -ccvvs (but mostly) -vvs
> 
> They log to remote host that is currently unavailable. 
> (router emites destination host unreachable).
> The reason i mention this is that many types of software misbehave 
> when they receive this message.
> 
> 
> When i ran syslogd -dvvs in 'screen' it started logging to remote 'loghost'. 
> For a -long- time it kept repeating "Host is down" and tried to log to 'loghost' 
> 'loghost' is a local alias.
> 
> I'm finding it hard to reproduce.

Did you compile the system with a higher optimization level than the
recommended -O?  If so, then a) try recompiling using the recommend
optimization levels, which should cure your crashing problem and b)
you've found a bug in the system C compiler, which may or may not get
fixed, seeing as gcc-2.95.4 is quite a lot older that the current
3.3.x version as seen in FreeBSD 5.x.

Does this happen often enough that you can tell if it's happening on
all your machines or not?  Perhaps you are using CPUTYPE specific
optimizations -- again, try compiling without and see if the problem
goes away.

If, on the other hand, you haven't used excessive levels of
optimization, then there's something special about your environment
that has tickled a bug in syslogd.  Is this the same bug as PR
bin/51253?

This should certainly be reported through send-pr(1), and all extra
information you can supply that may lead someone to be able to
reproduce the problem would be really useful.  Have you got a core
dump from syslogd?  If so, keep hold of it, and the corresponding
syslogd binary from /usr/obj (which should not have hat debug symbols
stripped out) as anyone working on this is likely to ask you for a
backtrace.

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


Boot Message: hints file version mismatch 36

2003-08-29 Thread Alexander Schmitz
Hi,

using FreeBSD 5.0-RELEASE on i386.

Cant't find any information about this Boot-Message:

--- snipp dmesg output ---
...
ad0: 38154MB  [77520/16/63] at ata0-master UDMA100
acd0: CD-RW  at ata0-slave PIO4
Mounting root from ufs:/dev/ad0s2a
hints file version mismatch 36
hints file version mismatch 36
hints file version mismatch 36
hints file version mismatch 36
hints file version mismatch 36
hints file version mismatch 36
hints file version mismatch 36
-schnapp dmesg end 
any suggestions to the right docu/man page  etc. would be nice.

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


Re: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Jack L. Stone
At 02:52 AM 8.29.2003 -0400, Ben Dover wrote:
>   I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get it 
>straightened out.  I think the best way to resolve this would be to do a 
>fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
>client and installed again from ports but I'm getting the same error 
>messages.  Is there a way to just start out fresh like I never had MYSQL 
>installed in the first place? The error I'm getting is:
>030829  2:36:36  Fatal error: Can't open privilege tables: Can't find file: 
>'./mysql/host.frm' (errno: 13)
>030829 02:36:36  mysqld ended
>
>This started out from something I did while trying to get Plesk6 to work on 
>5.1 (which I did) but without MYSQL working I uninstalled Plesk6. I think 
>what I did was delete the database mysql and I guess it is essential.  Any 
>assistance would be appreciated but I'm leaning toward a fresh install if 
>possible.
>

If you can use portugrade, it was always a simple one-line command on
FBSD-4.x:
# portupgrade -m '-DSKIP_INSTALL_DB' mysql-server-3.xx.xx

The above preserves the databases just fine. Haven't tried it on 5.1
though

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't login

2003-08-29 Thread Ray Bagby
Greetings!
I am unable to login as a user or as root.
I had been using KDM but I decided to go back to using startx.
I commented out the ttyv8 line in ttys then restarted.
Now when the box starts I see:

login: Aug 29 07:07:58 sleepy gdnc: 2003-08-29 12:07:58.490 gdnc[212] No
local time zone specified.
Aug 29 07:07:58 sleepy gdnc: 2003-08-29 12:07:58.491 gdnc[212] Using time
zone with absolute offset 0.
Aug 29 07:07:58 sleepy gdnc: 2003-08-29 12:07:58.471 gdnc[212] Unable to get
status of descriptor 0 -
Bad file descriptor
Aug 29 07:07:58 sleepy gdnc: 2003-08-29 12:07:58.492 gdnc[212] Unable to get
status of descriptor 1 -
Bad file descriptor
Aug 29 07:07:58 sleepy gdnc: 2003-08-29 12:07:58.471 gdnc[212] Unable to get
status of descriptor 2 -
Bad file descriptor

I can boot single and re-set the root passwd.
I also copied the original ttys file back over the one I modified.

Any thoughts or ideas would be appreciated.

Thank you,
Ray

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


Syslogd dying often on different hardware - hackers?

2003-08-29 Thread Sten Daniel Sørsdal

Many of my servers tend to have their syslogd die on them.
In dmesg i could see the signal number on one of them; 11
But kill -l doesnt reveal which that is:

pid 17263 (syslogd), uid 0: exited on signal 11
pid 87264 (syslogd), uid 0: exited on signal 11

/var/log has lots of space, newsyslog does it's job regularly.
The versions vary from 4.7 to 4.9-prerelease. Lots of memory available.
Hardware ranges from 1ghz celerons, 400mhz p3's, 1.6ghz p4's.

The command lines are either;   -nccvvs -ccvvs (but mostly) -vvs

They log to remote host that is currently unavailable. 
(router emites destination host unreachable).
The reason i mention this is that many types of software misbehave 
when they receive this message.


When i ran syslogd -dvvs in 'screen' it started logging to remote 'loghost'. 
For a -long- time it kept repeating "Host is down" and tried to log to 'loghost' 
'loghost' is a local alias.

I'm finding it hard to reproduce.

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


Re: Patching procedures

2003-08-29 Thread Guy Van Sanden
Hello Matthew

Thank you for your very complete answer.
I'm going to be experimenting with this for a while, and I'll do a lot
of reading.

Kind regards

Guy



On Thu, 2003-08-28 at 13:29, Matthew Seaman wrote:
> On Thu, Aug 28, 2003 at 10:09:35AM +0200, Guy Van Sanden wrote:
> > ** message didn't make it to the list - sending again **
> > 
> > 
> > I'm still relatively new to FreeBSD, and I was wondering what most of
> > you use as a patching procedure for FreeBSD (not the ports)
> > 
> > Up to now, I have always folowed the instructions in '2) To patch your
> > present system:'.
> > Yet somehow this seems like the long way to do it.
> > 
> > Therefor, I'm wondering how most of you keep your systems up to date.
> > 
> > For the moment, I'm only managing my home server (which is still
> > critical), but I would also like to know how to manage this in a
> > professional deployment (I used to manage Solaris networks, and we had
> > these patch-clusters which were rahter nice).
> 
> Unlike Solaris, FreeBSD generally operates by supplying patches to the
> system source code.  Colin Percival has a binary patch system under
> development, but it's not an official FreeBSD thing yet -- see
> http://www.daemonology.org/ for details.
> 
> The standard way to keep a system up to date is to maintain an up to
> date copy of the system sources -- either which ever one of the
> release branches you've chosen, or 4-STABLE or 5-CURRENT -- and
> compile and install from there.
> 
> For the release branches you can achieve that by starting with the
> sources as distributed on the CD Roms, and applying the patches as
> shown in any security advisories -- any changes to a release branche
> will be accompanied by an advisory notice, which is almost always a
> security advisory.  Technically it may be possible for a really
> crucial but not security related patch to be applied to a release
> branch, but it doesn't seem to happen much in practice.  The
> non-release branches (4-STABLE, 5-CURRENT) are under continuous
> development, so there's not going to be any specific points at which
> everyone will update, other than when large chunks of particularly
> awaited new functionality or big bugfixes go into the tree.  Or when
> (like now) a new release is in the offing.  Most private users
> tracking STABLE or CURRENT will just update every week or month or so,
> or when they get around to it.
> 
> Whatever the release branch you've chosen, and particularly if you're
> running 4-STABLE of 5-CURRENT, it's much more convenient to use
> cvsup(1) to keep your sources up to date, rather than by applying
> patches.  There are a few other mechanisms around -- see Appendix A of
> the handbook --
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html
> 
> but cvsup(1) is what the vast majority of the users use.
> 
> If you're using FreeBSD in a commercial setting, then you should
> certainly be tracking one of the release branches and be implementing
> a testing regime on a spare server before pushing out updates to your
> production servers.  Whilst the FreeBSD project generally does
> extremely well at keeping 4-STABLE and the RELEASE branches stable,
> they do rely on bug reports from users and developers rather than
> having the sort of comprehensive QC test cycles that Sun performs.
> 
> The test box function can be combined quite neatly with being a build
> server -- you can either make your own releases and cut them to CD-ROM
> for installation on your production machines, or just NFS mount the
> /usr/obj and /usr/src trees from the build box in order to install the
> upgrade.  With practice you can get an installkernel - reboot to
> single user - installworld - mergemaster - reboot cycle down to under
> 15mins downtime, which is a lot quicker than it takes to install some
> Solaris patches.
> 
> One other major difference between Solaris patches and FreeBSD updates
> is that FreeBSD doesn't offer you a specific mechanism to back out any
> changes you make.  Always make sure you have good backups from
> immediately before you start an upgrade cycle.
> 
>   Cheers,
> 
>   Matthew

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


Tape drive suggestion (IDE)

2003-08-29 Thread Noel Fitzpatrick
Hi,

I'm currently in the market for a reasonably inexpensive tape drive, I was
looking at the Seagate Hornet 40GB IDE drive? Does anyone have any experience
with this? Or any recommendation as regards a drive. 

I'm looking to spend less than 500 euros/dollars. I'm looking to back up 
30-40Gb per week. Obvious point it must work with FreeBSD and I'd prefer
to use IDE/ATAPI rather than scsi. Thanks in advance.

Regards,
Noel.


pgp0.pgp
Description: PGP signature


Re: How do I change the speed on ttyd0?

2003-08-29 Thread Malcolm Kay
On Fri, 29 Aug 2003 15:56, Marcelo Schmidt wrote:
> Hi,
>
> I need to read data from a temperature sensor (PIC12C509) that requires:
> serial data at 2400 baud, 8 bits, no parity, one or two stop bits.  I tried
> several things, tip, cu,
> Device-SerialPort-0.13, etc.  It seems to be the ttyd0 speed is locked in
> 9600:
>
> # stty -a -f /dev/ttyd0

Since you are calling out it is probably better to use /dev/cuaa0;
but must admit I don't fully understand the implications of cuaa0 vs ttyd0.

In any case you can set the default parameters on ttyd0 with ttyid0
or cuaa0 with cuaia0. This pseudo ports are for the sole purpose
of setting the defaults on ttyd0 and cuaa0.

So assuming you use /dev/cuaa0 then you want:
# stty -f /dev/cuaia0 speed 2400

You probably also want to set some other parameters such as:
# stty -f /dev/cuaia0 clocal

> speed 9600 baud; 0 rows; 0 columns;
> lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
> -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
> -nokerninfo -extproc
> iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
> -brkint -inpck -ignpar -parmrk
> oflags: -opost -onlcr -ocrnl -oxtabs -onocr -onlret
> cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
> -dtrflow -mdmbuf
> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ;
> eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
> lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
> status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
>
> My /etc/ttys:
> ttyd0   "/usr/libexec/getty std.2400"   unknown off secure  local
>
> I also got sometimes: /kernel: sio0: 26 more tty-level buffer overflows
> (total 8805).
>
> So how do I change the speed on ttyd0?
>

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


Re: Resizing disk partitons?

2003-08-29 Thread Jud
On Thu, 28 Aug 2003 15:21:28 -0400, stan <[EMAIL PROTECTED]> wrote:

I've got a laptop with a single hard disk that is curently paritioned 
into
3 partions. 1 for FreeBSD, 1 for linux Swap, and a 3rd for Linux.

I've got an application that requires a M$ OS. Is there a way I can
repartion this drive without having to reinstall bith my other OS'es?
I don't know the answer, but have two possibilities to suggest for further 
research: Partition Magic and gpart (with or without gui front ends).  I 
don't know if the former mangles non-Win partitions when resizing, and 
I've never used the latter.

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


sound

2003-08-29 Thread Jendos
Hello!

I'm sorry for my evil english!

I can't solve problem by myself(crooked hands :)
I have a Microstar P4DCE+ motherboard and freeBSD 4.5
To enable support my onboard AC'97, I include in my kernel:

device pcm
options PNPBIOS

Compile it, reboot and then give a commands:

dmesg | grep pcm
(pcm0...)
cd /dev
./MAKEDEV snd0

Sound card start to work, but I have no MIDI
(I need midi, because I want to use sequencer programs like:
Muse, Rosegarden, etc)
What can I do?
Thanks for help!






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


Re: Question on CVS Branches

2003-08-29 Thread Heinrich Rebehn
Simon Barner wrote:
Is RELENG_4 to be considered stable? I.e. can i use it for production?


Well, that depends. At the moment, -stable has (or had) some stability problems
since some enhancements for huge memory systems (> 4gb) where merged
from -current).
I think the best for production system is the latest security branch,
i.e. RELENG_4_8 which is the latest release (4.8-RELEASE) + all the
security fixes that have been released so far. -stable aka. RELENG_4
contains those fixes + other bug fixes + feature enhancements, that
might cause problems once in a while.

Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
From other OS's, i know that "Release" means "for production use".
But 5.x-RELEASE is said to be not for production.


The FreeBSD 5.x releases were made in order to provide a solid test
basis for the very latest branch of FreeBSD. Although it runs very
stable for a lot of people, more conservative users that do not need any
of the new features in FreeBSD 5.x are recommended stay with FreeBSD 4.x
at the present.
Regards,
 Simon
Thank you. Yet another question: I would like to update my source tree 
automatically each night. However the cvs login requires a password to be typed 
in. Is there any way to automate this? Strangely, the cvs man page does not even 
mention the login command.
I know that cvsup would be an alternative, i'm just used to using cvs from 
OpenBSD (where no login is required).

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


Re: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Jez Hancock
On Fri, Aug 29, 2003 at 03:04:07AM -0600, Aaron Wohl wrote:
> If you rm -rf /var/db/msyql then reinstall it doesnt work right now is
> the problem... at least on freebsd.  It gives the host.frm error the
> poster asked about. Ive only been able to get a new system going by
> restoring the mysql database (/var/db/mysql/mysql) from elsewhere.
You mean the port is broken?  Ick :(

Try and fix it and submit a patch? :)  I suppose that's the risk of
running unstable software (relatively speaking).

-- 
Jez

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


Re: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Aaron Wohl
If you rm -rf /var/db/msyql then reinstall it doesnt work right now is
the problem... at least on freebsd.  It gives the host.frm error the
poster asked about. Ive only been able to get a new system going by
restoring the mysql database (/var/db/mysql/mysql) from elsewhere.

On Fri, 29 Aug 2003 09:33:16 +0100, "Jez Hancock" <[EMAIL PROTECTED]>
said:
> On Fri, Aug 29, 2003 at 02:52:56AM -0400, Ben Dover wrote:
> >   I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get it 
> > straightened out.  I think the best way to resolve this would be to do a 
> > fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
> > client and installed again from ports but I'm getting the same error 
> > messages.  Is there a way to just start out fresh like I never had MYSQL 
> > installed in the first place? The error I'm getting is:
> > 030829  2:36:36  Fatal error: Can't open privilege tables: Can't find file: 
> > './mysql/host.frm' (errno: 13)
> > 030829 02:36:36  mysqld ended
> As the previous poster said you should first try restoring your mysql
> tables (the mysql database particularly '/var/db/mysql/' and it's
> children since it's the host.frm db file that's screwing up).
> 
> If you're not too bothered about losing the data in your mysql db then
> you can just simply move the mysql db files totally:
> 
> mv /var/db/mysql /var/db/mysql.bak
> 
> and then reinstall from scratch (deinstall first if you haven't already,
> it'll complain but should succeed).
> 
> You could then copy across the dbs from /var/db/mysql.bak back into
> /var/db/mysql after the reinstall and then recreate the mysql users with
> appropriate privs on the dbs.  I _think_ this could work, but would be a
> pain.
> 
> The best thing to do would be to just restore your mysql db from backup
> - you have those right!?  (This was about the time when _I_ started to 
> do backups regularly after having a similar problem:)
> 
> -- 
> Jez
> 
> http://www.munk.nu/
> ___
> [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: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Jez Hancock
On Fri, Aug 29, 2003 at 02:52:56AM -0400, Ben Dover wrote:
>   I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get it 
> straightened out.  I think the best way to resolve this would be to do a 
> fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
> client and installed again from ports but I'm getting the same error 
> messages.  Is there a way to just start out fresh like I never had MYSQL 
> installed in the first place? The error I'm getting is:
> 030829  2:36:36  Fatal error: Can't open privilege tables: Can't find file: 
> './mysql/host.frm' (errno: 13)
> 030829 02:36:36  mysqld ended
As the previous poster said you should first try restoring your mysql
tables (the mysql database particularly '/var/db/mysql/' and it's
children since it's the host.frm db file that's screwing up).

If you're not too bothered about losing the data in your mysql db then
you can just simply move the mysql db files totally:

mv /var/db/mysql /var/db/mysql.bak

and then reinstall from scratch (deinstall first if you haven't already,
it'll complain but should succeed).

You could then copy across the dbs from /var/db/mysql.bak back into
/var/db/mysql after the reinstall and then recreate the mysql users with
appropriate privs on the dbs.  I _think_ this could work, but would be a
pain.

The best thing to do would be to just restore your mysql db from backup
- you have those right!?  (This was about the time when _I_ started to 
do backups regularly after having a similar problem:)

-- 
Jez

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


Re: IPFW reset dead???

2003-08-29 Thread KONDOU, Kazuhiro

On Thu, 28 Aug 2003 18:25:52 +0200
"Info [swebase]" <[EMAIL PROTECTED]> wrote:

> would reset closed ports so a scanner not would see it open (filtered).
> How do i close a port so no portscanner sees it in freebsd 4.8 ??

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/NOTES#rev1.905
do you want this?


-- 
KONDOU, Kazuhiro @ Ancient library
site top URL : http://www.alib.jp/
mail address : [EMAIL PROTECTED]
fingerprint = 18CA 90A9 FDEE FBE1 F69A  D124 9F95 9289 E665 4D2B
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Which Radiusd to use?

2003-08-29 Thread Perica Veljanovski
Hi

I'm looking for a free radiusd, to handle a pre-paid dial-up system. It
should have different time zone charging, and every imaginable pre-paid
card limitation (expire date, hours limit, CLID filter, etc.). 

10x ahead...

-- 
http://www.perica.info

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


Re: MYSQL Fresh Reinstall, How?

2003-08-29 Thread Aaron Wohl
Yeah I ran into that yesterday myself.  The mysql_install_db doesnt leave
you with a working mysql database lately.  What did to fix it was mysqld
-u mysql --skip-grant &

(Im assuming you have your mysql firewalled off, if not do that first ;)

At that point mysql is up enough to restore the mysql database.  I ran
msyql mysql < mysql.sql where mysql.sql was made from mysqldump of a
working mysql. Then mysqladmin shutdown.  Then your fine after that for
normal operations.

I am using innodb as the default table type.  I dont know if you are or
if that matters.

On Fri, 29 Aug 2003 02:52:56 -0400, "Ben Dover"
<[EMAIL PROTECTED]> said:
>I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get
>it 
> straightened out.  I think the best way to resolve this would be to do a 
> fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
> client and installed again from ports but I'm getting the same error 
> messages.  Is there a way to just start out fresh like I never had MYSQL 
> installed in the first place? The error I'm getting is:
> 030829  2:36:36  Fatal error: Can't open privilege tables: Can't find
> file: 
> './mysql/host.frm' (errno: 13)
> 030829 02:36:36  mysqld ended
> 
> This started out from something I did while trying to get Plesk6 to work
> on 
> 5.1 (which I did) but without MYSQL working I uninstalled Plesk6. I think 
> what I did was delete the database mysql and I guess it is essential. 
> Any 
> assistance would be appreciated but I'm leaning toward a fresh install if 
> possible.
> 
> _
> MSN 8: Get 6 months for $9.95/month.
> http://join.msn.com/?page=dept/dialup
> 
> ___
> [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: can't login as anyone - not even as root!

2003-08-29 Thread horio shoichi
On Thu, 28 Aug 2003 21:40:20 -0700 (PDT)
Dave Banning <[EMAIL PROTECTED]> wrote:
> Thanks, Sunil for the steps, but I have tried that already.
> 
> When I get to the # prompt in single user mode, I cannot use 
> the passwd command. I get the error;;
> 
> passwd: error opening database: /etc/pwd.db: Permission denied
> passwd: /etc/master.passwd: unchanged
> 
> and permissions are as follows;
> 
> # ls -tld /etc
> drwxr-xr-x  17  root  wheel  2560  Aug 28 09:16 /etc
> 
> # ls -tld /etc/pwd.db
> drw---r-- 1 root wheeel  40960 Aug 28 09:12 /etc/pwd.db
> 
> I -can- execute vipw and change passwords. It updates all the files
> master.passwd, spwd.db, passwd, and pwd.db without error.
> 

I think the /etc/pwd.db line should contain at least two errors.
If they aren't transcription errors one of them can be disastrous.

1) is there wheeel group, really ?

2) pwd.db is, as the name suggests, a file. The line should start with '-'.
   If it is a directory, it would have at least one permission 'x'.
   
   Mine is like this: 

%ls -l /etc/pwd.db
-rw-r--r--  1 root  wheel  40960 Jun 24 15:11 /etc/pwd.db


If pwd.db is indeed like that try remove it and do pwd_mkdb.


horio shoichi

> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> ___
> [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: allowing non root users to mount

2003-08-29 Thread Desmond Lee

Thanks for your help Lowell and others who replied :)

I apologize for asking a question that was already posted on the FAQ
FreeBSD site. I should have looked at the obvious resource for that.

I followed the instructions on the FAQ section about making non-root
users able to mount file systems and that worked fine, but it only works
if the target of the mounting point is accessible by that user.

So, 'mount -t msdos /dev/fd0 ~/myFloppy'

would only work if ~/myFloppy was a directory that was accessible by the
user who executed the mount command. Thus, if you were a non-root user
the stuff in the /etc/fstab would not be useful since the target of the
mount commands were only accessible by the root.

Thanks for the help


Desmond


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert
Sent: Thursday, August 28, 2003 9:01 PM
To: [EMAIL PROTECTED]
Subject: Re: allowing non root users to mount

Desmond Lee <[EMAIL PROTECTED]> writes:

> However, can you do this on freeBSD? I mean, with RedHat it does it
for
> you so that you have a floppy and cdrom icon on your desktop. But can
> you do that w/ freeBSD? I don't think so cause if there is no
floppy/zip
> disk/ or cdRom in the drive when you mount, it will return you an
error.
> So trying to mount these on boot is not right... is this correct?

The usual approach for this is an automounter: see amd(8).

> Is there any way that I can get no root users to mount files systems
> like cdrom, zip and floppy?

Yes.  See the FreeBSD FAQ: "How do I let ordinary users mount
floppies, CDROMs and other removable media?"

> I tried to look this up and some people said to use the "user" option
in
> the /etc/fstab file, but this didn't work.

That advice is for Linux.  
___
[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: hard drive disk timeout

2003-08-29 Thread Luke Kearney

(B- Original Message -
(BFrom: "Nathan Wheeler" <[EMAIL PROTECTED]>
(BTo: <[EMAIL PROTECTED]>
(BSent: Friday, August 29, 2003 3:50 PM
(BSubject: hard drive disk timeout
(B
(B
(BHi,
(B
(BI asked this before, but no one answered. Just hoping someone might be able
(Bto.
(B
(BI'm trying to use 4.7. But when I try to boot to it, even with a CD, a hard
(Bdrive device timesout. When I take out that hard drive, I can boot fine.
(BHere is how my hard drives and cdrom is set up:
(B
(B
(BWinxp is on the primary master.
(B
(BThe problem hard drive is the primary slave.
(B
(BAnd the fbsd hard drive is on secondary master.
(B
(BThe CDROM is the secondary slave.
(B
(B
(BThe message I get when I boot is:
(B
(B
(Bad1: Read command timeout tag=0 serv=0 - resetting
(Bata0: resetting devices ..
(B
(B
(BThen the computer just freezes. I'm using an Asus A7N8X with Athlon XP
(B2800+.
(B
(BThanks,
(BNathan Wheeler
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B
(BTry disabling UDMA mode in your bios and that will let the system boot.
(B
(BHTH
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

MYSQL Fresh Reinstall, How?

2003-08-29 Thread Ben Dover
  I managed to mess up my MYSQL4.1 on my 5.1 box and I can't seem to get it 
straightened out.  I think the best way to resolve this would be to do a 
fresh install of MYSQL server.  I did a pkg_delete of MYSQL-server and 
client and installed again from ports but I'm getting the same error 
messages.  Is there a way to just start out fresh like I never had MYSQL 
installed in the first place? The error I'm getting is:
030829  2:36:36  Fatal error: Can't open privilege tables: Can't find file: 
'./mysql/host.frm' (errno: 13)
030829 02:36:36  mysqld ended

This started out from something I did while trying to get Plesk6 to work on 
5.1 (which I did) but without MYSQL working I uninstalled Plesk6. I think 
what I did was delete the database mysql and I guess it is essential.  Any 
assistance would be appreciated but I'm leaning toward a fresh install if 
possible.

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hard drive disk timeout

2003-08-29 Thread Nathan Wheeler
Hi, 

I asked this before, but no one answered. Just hoping someone might be able to.

I'm trying to use 4.7. But when I try to boot to it, even with a CD, a hard drive 
device timesout. When I take out that hard drive, I can boot fine. Here is how my hard 
drives and cdrom is set up: 


Winxp is on the primary master. 

The problem hard drive is the primary slave. 

And the fbsd hard drive is on secondary master. 

The CDROM is the secondary slave. 


The message I get when I boot is: 


ad1: Read command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. 


Then the computer just freezes. I'm using an Asus A7N8X with Athlon XP 2800+. 

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


Re: Necessary code or trash?

2003-08-29 Thread Jonathan Chen
On Thu, Aug 28, 2003 at 09:58:55PM -0500, Marc Wiz wrote:
> On Thu, Aug 28, 2003 at 02:43:14PM -0700, Alan Batie wrote:
> > On Thu, Aug 28, 2003 at 05:33:45PM -0400, Matthew Graybosch wrote:
> > > >  rm   - 410 268 bytes,
> > > >  mv   - 407 568 bytes,
> > > >  date - 423 748 bytes.
> > > 
> > > As others explained these commands and others are statically linked so that
> > > they do not depend on libraries that live in /usr.
> > 
> > Once upon a time, libraries were constructed so that only the modules
> > you were actually using got included, even static ones.  Or so I was given
> > to understand...  Since libc is 1.2Meg, there still seems to be a little
> > bit of that going on, but sheesh!
> 
> I remember that as well.   I'd sure like to know why that changed.

The reason why it's so big is because NIS support drags in a *lot* of
code.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How do I change the speed on ttyd0?

2003-08-29 Thread Marcelo Schmidt
Hi,

I need to read data from a temperature sensor (PIC12C509) that requires:
serial data at 2400 baud, 8 bits, no parity, one or two stop bits.  I tried
several things, tip, cu,
Device-SerialPort-0.13, etc.  It seems to be the ttyd0 speed is locked in
9600:

# stty -a -f /dev/ttyd0
speed 9600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
-echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
-nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
-brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ;
eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

My /etc/ttys:
ttyd0   "/usr/libexec/getty std.2400"   unknown off secure  local

I also got sometimes: /kernel: sio0: 26 more tty-level buffer overflows
(total 8805).

So how do I change the speed on ttyd0?

Thanks,


Marcelo R. Schmidt

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


Re: Mozilla and linebreaks

2003-08-29 Thread Hendrik Hasenbein
Dan Nelson wrote:
In the last episode (Aug 29), Hendrik Hasenbein said:

How do I force mozilla to break at 72 or 80 chars?


I guess you're talking about writing email messages? 

Edit->Preferences->Composition, Wrap plaintext messages at [ 72 ] characters

should be the default.
It is turned on on both systems, but it only wraps in the compose 
window. When the mail gets back via the list I get one-liner.

Hendrik

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


Re: Floppies

2003-08-29 Thread David
After downloading the *.flps in binary mode they work fine.

No specific reason for 5.1 other than trying to get the latest and greatest.
After reading "http://www.freebsd.org/releases/5.1R/early-adopter.html"; I've
decided to go with 4.8 STABLE.

Thank you for the help and the info.

David


- Original Message -
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "David" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 9:08 AM
Subject: Re: Floppies


> "David" <[EMAIL PROTECTED]> writes:
>
> > This is the error I get when trying to install FBSD using kern.flp and
mfsroot.flp for 5.1-RELEASE.
>
> Offhand, these look like problems with the floppies.
> Try other disks, and make sure you don't download the images in "text"
> mode.
>
> Also, you might want to stick with FreeBSD 4.x unless you have a
> specific reason for running 5.x; see
> http://www.freebsd.org/releases/5.1R/early-adopter.html
>

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
Hi,
If the problem still exists try
get master.passwd from /var/backups
run the command
# pwd_mkdb /etc/master.passwd
Regards
SSR
From: Dave Banning <[EMAIL PROTECTED]>
To: Sunil Sunder Raj <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: can't login as anyone - not even as root!
Date: Thu, 28 Aug 2003 21:40:20 -0700 (PDT)
Thanks, Sunil for the steps, but I have tried that already.

When I get to the # prompt in single user mode, I cannot use
the passwd command. I get the error;;
passwd: error opening database: /etc/pwd.db: Permission denied
passwd: /etc/master.passwd: unchanged
and permissions are as follows;

# ls -tld /etc
drwxr-xr-x  17  root  wheel  2560  Aug 28 09:16 /etc
# ls -tld /etc/pwd.db
drw---r-- 1 root wheeel  40960 Aug 28 09:12 /etc/pwd.db
I -can- execute vipw and change passwords. It updates all the files
master.passwd, spwd.db, passwd, and pwd.db without error.


__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_
Access Hotmail from your mobile now. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.

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


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread paul beard
James C. Durham wrote:
On Friday 29 August 2003 04:23 am, paul wrote:

James C. Durham wrote:

It turned out that we had several Windows boxes in the building that had
been infected with the Nachi worm. This causes some kind of DOS or ping
probe out onto the internet and the local LAN.
Removing the inside interface's ethernet cable caused the ping times on
the outside interface to go back to the normal .4 milliseconds to the
router.
Apparently, the blast of packets coming from the infected boxes managed
to cause a "live lock" condition in the server. I assume it was interrupt
bound servicing the inside interface. The packets were ICMP requests to
various addresses.
I could be way off here, but is there any way to isolate machines
that send a sudden blast of packets, either by destination address
(make a firewall rule that drops those packets) or working out
their MAC addresses and dropping their connectivity? Or scan for
open ports and block unsecured systems from connecting?


What I did was go in the switch room and look for pulsing lights on the switch 
ports and pull the cables. That fixed it, but after much agony.
well, that's a bit draconian, but effective ;-)

My questions is.. what, if any, is a technique for preventing this
condition? I know, fix the windows boxes, but  I can't continually check
the status of the virus software and patch level of the Windows boxes.
There are 250 plus of them and one of me. Users won't install upgrades
even when warned this worm thing was coming. But, i'd like to prevent
loss of service when one of Bill's boxes goes nuts!
Where I work, at the University of Washington, the network staff
were dropping as many as 200 machines *per day* off the network.
If a machine was found to have an open RPC port (we run an open
network), that was enough to get your network access cut off.
I realize these are political solutions more than technical ones,
but they may be of some use.


The trouble with that is that my users are largely untechnical and wouldn't 
have a clue what RPC is and cutting them off is not an option. Welcome to the 
world of corporate IT! It ain't a pretty job, but it pays the bills...
been there, done that, the bruises have gone down now . . .

One guy to 250 users is a bad ratio.

It seems like there should be some centralized, ie, rule-based 
controls you can put in place. And you should have some leverage 
to force autoupdates on those client machines.

I got the impression from some reading on Google Groups that there may be a 
way to tell the xl driver to use polling. I just don't know how.
Well, this is the right place to ask.

--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
Receiving a million dollars tax free will make you feel better than
being flat broke and having a stomach ache.
-- Dolph Sharp, "I'm O.K., You're Not So Hot"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread paul
Matthew Emmerton wrote:

They were doing the same thing at the IBM location where I work.  It's
brutal if you are in the middle of something, but it's the only way to keep
the latest breed of MS virii/worms/whatever from spreading.
agreed, but if a small subset of hosts can degrade the network -- 
the OP said three could saturate T1 -- I think it's a fair 
position to take.

--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
"Benson, you are so free of the ravages of intelligence"
-- Time Bandits
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning
Thanks, Sunil for the steps, but I have tried that already.

When I get to the # prompt in single user mode, I cannot use 
the passwd command. I get the error;;

passwd: error opening database: /etc/pwd.db: Permission denied
passwd: /etc/master.passwd: unchanged

and permissions are as follows;

# ls -tld /etc
drwxr-xr-x  17  root  wheel  2560  Aug 28 09:16 /etc

# ls -tld /etc/pwd.db
drw---r-- 1 root wheeel  40960 Aug 28 09:12 /etc/pwd.db

I -can- execute vipw and change passwords. It updates all the files
master.passwd, spwd.db, passwd, and pwd.db without error.



__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread Matthew Emmerton
> James C. Durham wrote:
>
> >
> > It turned out that we had several Windows boxes in the building that had
been
> > infected with the Nachi worm. This causes some kind of DOS or ping probe
out
> > onto the internet and the local LAN.
> >
> > Removing the inside interface's ethernet cable caused the ping times on
the
> > outside interface to go back to the normal .4 milliseconds to the
router.
> >
> > Apparently, the blast of packets coming from the infected boxes managed
to
> > cause a "live lock" condition in the server. I assume it was interrupt
bound
> > servicing the inside interface. The packets were ICMP requests to
various
> > addresses.
>
> I could be way off here, but is there any way to isolate machines
> that send a sudden blast of packets, either by destination address
> (make a firewall rule that drops those packets) or working out
> their MAC addresses and dropping their connectivity? Or scan for
> open ports and block unsecured systems from connecting?
> >
> > My questions is.. what, if any, is a technique for preventing this
condition?
> > I know, fix the windows boxes, but  I can't continually check the status
of
> > the virus software and patch level of the Windows boxes. There are 250
plus
> > of them and one of me. Users won't install upgrades even when warned
this
> > worm thing was coming. But, i'd like to prevent loss of service when one
of
> > Bill's boxes goes nuts!
>
> Where I work, at the University of Washington, the network staff
> were dropping as many as 200 machines *per day* off the network.
> If a machine was found to have an open RPC port (we run an open
> network), that was enough to get your network access cut off.
>
> I realize these are political solutions more than technical ones,
> but they may be of some use.

They were doing the same thing at the IBM location where I work.  It's
brutal if you are in the middle of something, but it's the only way to keep
the latest breed of MS virii/worms/whatever from spreading.

--
Matt Emmerton

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


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread paul
James C. Durham wrote:

It turned out that we had several Windows boxes in the building that had been 
infected with the Nachi worm. This causes some kind of DOS or ping probe out 
onto the internet and the local LAN.

Removing the inside interface's ethernet cable caused the ping times on the 
outside interface to go back to the normal .4 milliseconds to the router.

Apparently, the blast of packets coming from the infected boxes managed to 
cause a "live lock" condition in the server. I assume it was interrupt bound 
servicing the inside interface. The packets were ICMP requests to various 
addresses.
I could be way off here, but is there any way to isolate machines 
that send a sudden blast of packets, either by destination address 
(make a firewall rule that drops those packets) or working out 
their MAC addresses and dropping their connectivity? Or scan for 
open ports and block unsecured systems from connecting?
My questions is.. what, if any, is a technique for preventing this condition? 
I know, fix the windows boxes, but  I can't continually check the status of 
the virus software and patch level of the Windows boxes. There are 250 plus 
of them and one of me. Users won't install upgrades even when warned this 
worm thing was coming. But, i'd like to prevent loss of service when one of 
Bill's boxes goes nuts!
Where I work, at the University of Washington, the network staff 
were dropping as many as 200 machines *per day* off the network. 
If a machine was found to have an open RPC port (we run an open 
network), that was enough to get your network access cut off.

I realize these are political solutions more than technical ones, 
but they may be of some use.
--
Paul Beard

whois -h whois.networksolutions.com ha=pb202

Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help Required

2003-08-29 Thread Mark Terribile
>>
>> We are having presentations on different OS in
>> our class.. and i chose the Unix freeBSD for my
>> group to do a presentation on.. i would 
>> like some info - if possible - on this system, or
>> anything that could help me with that presentation.
>> ...

>Smells like homework.

>One tip, go to www.freebsd.org read everything.

Now, now, let's all be nice.  By the time he reads
everything on freeBSD.org, the semester will be over.
So will the next one and the one after that.

How does FreeBSD differ from other Unix-like systems?

Suggestion: Look up the man pages on the kqueue
machinery and understand why (and under what
circumstances) this can be many times more efficient
than poll() or select().  Why is this case especially
relevant to servers?  (I had an HTTP proxy server that
gained 30% in performance when poll() was replaced by
kqueue()/kevent(); this was exactly the intent behind
its design.)  (Yes, the other *BSD systems also have
kqueue()/kevent().)

If you need more, look at the new kernel threading
support coming in FreeBSD 5.x .

If you can explain these clearly and completely to
a class, you'll have learned something.

There's a man pages link right off www.freeBSD.org .
A quick Google search turns up
http://builder.com.com/5100-6372-1044098.html and
http://people.freebsd.org/~jlemon/papers/kqueue.pdf .

Good luck.
  ---Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help Required

2003-08-29 Thread paul beard
Ahmad Memon wrote:
   Hello..

   We are having presentations on different OS in our class.. and i chose
   the Unix freeBSD for my group to do a presentation on.. i would like
   some info - if possible - on this system, or anything that could help
   me with that presentation. So i thought maybe u could give me some
   tips or some websites where i could find some info that could give me
   an edge over the other students of my class.
Well, as other posters have suggested, install it and live with 
it: there's no better way.

It's a bit much to expect anyone on this mailing list to help you 
get an edge over your classmates. But doing an installation and 
learning how it really works will certainly teach you a lot.

When you have specific questions, come back and you'll get all the 
help you need (hint: this is one of the advantages of FreeBSD over 
the Leading Brand).



--
Paul Beard

whois -h whois.networksolutions.com ha=pb202
It may be that your whole purpose in life is simply to serve as a
warning to others.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: allowing non root users to mount

2003-08-29 Thread Lowell Gilbert
Desmond Lee <[EMAIL PROTECTED]> writes:

> However, can you do this on freeBSD? I mean, with RedHat it does it for
> you so that you have a floppy and cdrom icon on your desktop. But can
> you do that w/ freeBSD? I don't think so cause if there is no floppy/zip
> disk/ or cdRom in the drive when you mount, it will return you an error.
> So trying to mount these on boot is not right... is this correct?

The usual approach for this is an automounter: see amd(8).

> Is there any way that I can get no root users to mount files systems
> like cdrom, zip and floppy?

Yes.  See the FreeBSD FAQ: "How do I let ordinary users mount
floppies, CDROMs and other removable media?"

> I tried to look this up and some people said to use the "user" option in
> the /etc/fstab file, but this didn't work.

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


Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
Hi,

STEPS
=
As the os(FREEBSD) is starting it will display the following message:
Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [kernel ] in 10 seconds...

You should now ress the space bar, and you will see the following message:

Type '?' for a list of commands, or 'help' for more detailed help.

ok

now type boot -s and press the enter key to start FreeBSD in single user
mode. After the system boots, you should see the statement:
Enter fill pathname of shell or RETURN for /bin/sh:

Press the enter key and you will have a # prompt.

[Mount  the filesystems]

At the command prompt. issue the mount command. This command will mount
all the filesystems listed in your /etc/fstab file.
# mount -t ufs -a

[Change the root password]

Issue the passwd command and you will be prompted to enter a new password
for the root account.
#passwd

New password:
passwd: updating the database...
passwd: done
[Change the manage password]

#passwd manage

#exit
There is no need to reboot the operating system to go to multi-user
mode. The exit command will cause the system to return to multi-user miode
without a reboot.
===


From: Dave Banning <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: can't login as anyone - not even as root!
Date: Thu, 28 Aug 2003 09:20:47 -0700 (PDT)
All of a sudden, I can't login, even as root. I tried to set the
password of root to nil (because I happened to be logged in as root at
the time) and that didn't work either.
Then, thinking that the machine was acting up, I rebooted. Now I am in
deeper. I can't even access the machine.
Any idea why this would happen, or more important, how I can get out?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Got a wish? Make it come true. 
http://server1.msn.co.in/msnleads/citibankpersonalloan/citibankploanjuly03.asp?type=txt 
Best personal loans!

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


Re: allowing non root users to mount

2003-08-29 Thread Luke Kearney

(B- Original Message -
(BFrom: "Desmond Lee" <[EMAIL PROTECTED]>
(BTo: <[EMAIL PROTECTED]>
(BSent: Friday, August 29, 2003 12:49 PM
(BSubject: allowing non root users to mount
(B
(B
(B> Hello
(B>
(B> I'm trying to set up my system so that it can automatically mount some
(B> file systems on boot.
(B>
(B> However, can you do this on freeBSD? I mean, with RedHat it does it for
(B> you so that you have a floppy and cdrom icon on your desktop. But can
(B> you do that w/ freeBSD? I don't think so cause if there is no floppy/zip
(B> disk/ or cdRom in the drive when you mount, it will return you an error.
(B> So trying to mount these on boot is not right... is this correct?
(B>
(B> So far, I've just set up the /etc/fstab file so that the root can just
(B> type "mount /floppy" or "mount /zip" or whatever to mount the drives as
(B> needed. However, only root can do this and no other user is allowed to
(B> do mounts.
(B>
(B> # Device Mountpoint FStype Options Dump
(B> Pass#
(B> /dev/ad1s1b none swap sw
(B> 0 0
(B> /dev/ad1s1a / ufs rw
(B> 1 1
(B> /dev/ad1s1f /usr ufs rw
(B> 2 2
(B> /dev/ad1s1e /var ufs rw
(B> 2 2
(B> /dev/acd0c /cdrom cd9660 ro,noauto 0
(B> 0
(B> /dev/fd0 /floppy msdos   rw,noauto
(B> 0 0
(B> /dev/afd0s4 /zip msdos rw,noauto
(B> 0 0
(B> proc /proc procfs rw
(B> 0 0
(B>
(B> Is there any way that I can get no root users to mount files systems
(B> like cdrom, zip and floppy?
(B>
(B> I tried to look this up and some people said to use the "user" option in
(B> the /etc/fstab file, but this didn't work. Using the "nousid" option
(B> didn't work either.
(B>
(B> Thanks in advance.
(B>
(B> Regards
(B>
(B> Desmond
(B>
(B>
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to
(B"[EMAIL PROTECTED]"
(B
(B
(BHi,
(BHave you tried changing the permissions on the devices that you want non
(Broot users to be able to mount ? I seem to remember that the are only
(Bmountable by root as default but you might try changing to a more permissive
(Bsetup for those devices.
(B
(BHTH
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

allowing non root users to mount

2003-08-29 Thread Desmond Lee
Hello

I'm trying to set up my system so that it can automatically mount some
file systems on boot. 

However, can you do this on freeBSD? I mean, with RedHat it does it for
you so that you have a floppy and cdrom icon on your desktop. But can
you do that w/ freeBSD? I don't think so cause if there is no floppy/zip
disk/ or cdRom in the drive when you mount, it will return you an error.
So trying to mount these on boot is not right... is this correct?

So far, I've just set up the /etc/fstab file so that the root can just
type "mount /floppy" or "mount /zip" or whatever to mount the drives as
needed. However, only root can do this and no other user is allowed to
do mounts. 

# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad1s1b noneswapsw
0   0
/dev/ad1s1a /   ufs rw
1   1
/dev/ad1s1f /usrufs rw
2   2
/dev/ad1s1e /varufs rw
2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0
0
/dev/fd0/floppy msdos   rw,noauto
0   0
/dev/afd0s4 /zipmsdos   rw,noauto
0   0
proc/proc   procfs  rw
0   0

Is there any way that I can get no root users to mount files systems
like cdrom, zip and floppy?

I tried to look this up and some people said to use the "user" option in
the /etc/fstab file, but this didn't work. Using the "nousid" option
didn't work either.

Thanks in advance.

Regards

Desmond


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


Re: Nachi Worm apparently causes "Live Lock" on 4.7 server

2003-08-29 Thread K Anderson


James C. Durham wrote:
On 8/21, I noticed that internet connectity through our 4.7 FreeBSD gateway 
NAT box was getting REALLY slow. Checking with our T1 provider, there was 
only 128K of data stream (aprox) flowing out the T1. Ping times to the router 
on the external interface yielded times of up to 3 seconds!

This box is a Dell 2350 server with one 500mhz Pent 3 and 512 mg ram.

Running tcpdump on both the internal and external interfaces showed a very 
small number of ICMP packets flowing on either and virtually no IP.

My first conclusion...wrong..was that I had a bad ethernet card. Pulled 
server/gateway box off line and replaced the card. No difference.

It turned out that we had several Windows boxes in the building that had been 
infected with the Nachi worm. This causes some kind of DOS or ping probe out 
onto the internet and the local LAN.

Removing the inside interface's ethernet cable caused the ping times on the 
outside interface to go back to the normal .4 milliseconds to the router.

Apparently, the blast of packets coming from the infected boxes managed to 
cause a "live lock" condition in the server. I assume it was interrupt bound 
servicing the inside interface. The packets were ICMP requests to various 
addresses.

At one point, I substituted a Dell 2650 with 1 gig interfaces and 2 1800 mg 
Xeons at the gateway addresses and it bound up also. Speed seems not to be 
the answer 8-( .

My questions is.. what, if any, is a technique for preventing this condition? 
I know, fix the windows boxes, but  I can't continually check the status of 
the virus software and patch level of the Windows boxes. There are 250 plus 
of them and one of me. Users won't install upgrades even when warned this 
worm thing was coming. But, i'd like to prevent loss of service when one of 
Bill's boxes goes nuts!

The inside interface is the 'xl' driver on a 3Com 3C905. Can it be run in 
polling mode or given lower interrupt priority?

BTW, it seems to only take about 3 infected windows boxes to bring things to a 
halt.

-Jim

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Forget letting the users patch the systems you already pointed out their 
lack of concerne. Set Windows to automaticly retrive the updates (this 
might depend on the version of the OS) and install them. Next you can 
put personal firewalls (PF) on the systems preconfigured to only the 
applications you want to be able to get out on the internet.

If you don't want to go with the PF then watch for unusual activity over 
the network (let's say that anything after hours that causes things to 
get boggy and coming from a Windows machine) then create a rule that 
firewalls the activity so all doesn't get propagated to the wild. You 
can even have it email you this and then from there tunnel in to the 
network and shut down the machine(s) remotely.

As a side note. As the IT person become more proactive in the 
administration of systems. Those CDW commercials may be silly to watch 
but they are absolutely true.

Oh, a final solution...unless a system needs to have Windows then get 
'em off of it.

HTH

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


Re: Necessary code or trash?

2003-08-29 Thread Marc Wiz
On Thu, Aug 28, 2003 at 04:45:24PM -0500, Dan Nelson wrote:
> In the last episode (Aug 28), Marc Wiz said:
> > Sticking with /bin/sh is a good idea.  
> > 
> > What I have done is build a static version of bash and put it /bin
> > 
> > I changed root's shell to /bin/bash and run just fine.
> > 
> > Has anyone noticed what a pain it is to build bash statically and
> > install it in /bin?
> 
> I don't use bash, but the bash2 port Makefile looks like it builds a
> static binary by default:
> 
> CONFIGURE_ENV=  LDFLAGS=-static

Thank you!

I think I discovered that after I finally built bash2.

The other problem I remember having was getting the silly thing to 
install in /bin instead of /usr/local/bin.  I'll just have to RTFM
on ports the next time I try it.

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >