Re: Deleting Packages

2004-12-01 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 02 December 2004 01:21, Kevin D. Kinsey, DaleCo, S.P. wrote:
> Gerard Seibert wrote:
> > I have a large number of files in the '/usr/ports/packages/All'
> > directory. Since I could use the disk space that they are taking up, I
> > wonder if it is permissible to just delete them. I  clean out the
> > '/usr/ports/distfiles' directory on a regular schedule without incident.
> >
> > Thanks in advance!
>
> Check the manpage for portsclean(1), if it's on your system.

AFAIK portsclean requires that the sysutils/portupgrade port has been 
installed. 

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBrmPx09WjGjvKU74RAlJ0AJ4g4s772f7JUAPndiGUml+us2nAKgCePGkp
SqgVlVeW+ikxaqIs747WSJM=
=U7QY
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exim and FBSD 5.3

2004-12-01 Thread Nelis Lamprecht
On Wed, 1 Dec 2004 21:19:19 +0100, Kees Plonsz
<[EMAIL PROTECTED]> wrote:

> I am running freebsd 5.3 release
> I compiled it from the original source, not from the ports tree.
> It gives me a lot of extra compiling options wich was not
> available otherwise. ( Like running as user "mailnull" ).

Actually the default user/group for the port install is mailnull:mail
There are many configuration options(if not all) which can be
added/tweaked simply by editing the Makefile in the port directory(or
via the command line). The best part is it sets up all the directory
permissions user/group etc for you and generally just works. Trust in
the ports, it will save you a lot of headaches in the long run
especially when it comes to upgrading.

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


Re: How to capture "make installworld" error during migration from 5.1 to 5-Stable?

2004-12-01 Thread Stacey Roberts
Hi Christian,
   Sorry I didn't get back to you earlier.., 

- Original Message -
From: "Christian Hiris <[EMAIL PROTECTED]>"
To: To [EMAIL PROTECTED]
Date: Wed, 01 Dec, 2004 13:07 GMT
Subject: Re: How to capture "make installworld" error during migration from 5.1 
to 5-Stable?

> On Wednesday 01 December 2004 07:05, Stacey Roberts wrote:
> > Hello Christain,
> >
> > - Original Message -
> > From: "Christian Hiris <[EMAIL PROTECTED]>"
> > To: To [EMAIL PROTECTED]
> > Date: Wed, 01 Dec, 2004 05:40 GMT
> > Subject: Re: How to capture "make installworld" error during migration from
> > 5.1 to 5-Stable?
> >
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > On Wednesday 01 December 2004 02:12, Stacey Roberts wrote:
> > > > Okay.., I've just scripted the output from "make installworld" at step
> > > > 15 of the migration guide, and its failed as before.
> > > >
> > > > I've got the output redirected to a file: /var/tmp/installworld.log,
> > > > however, I'm in single-user mode, and nothing works: ls, mount, etc..,
> > > > how do I get this file off this system so that I can post it to the
> > > > list for assistance?
> > > >
> > > > At this point, I can (manually) show the last bit of the failed attempt
> > > > for make installworld:
> > > >
> > > > ===> bin/test
> > > > install -s -o root -g wheel -m 555  test /bin
> > > > install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1
> > > > pid 45090 (sh), uid 0: exited on signal 10 (core dumped)
> > > > *** Signal 10
> > > > Stop in /usr/src/bin/test.
> > > > *** Error code 1
> > > > Stop in /usr/src.
> > > > *** Error code 1
> >
> > I've managed to get the log file off the machine. I've attached it here in
> > gzipped format for anyone that is able (including yourself, if you like) to
> > be able to look at it in its entirety.
> >
> > > This eventually points out a problem in your memory or harddisk
> > > subsystem, I had such errors on incompatible disk controllers starting at
> > > 5.1. This kind of errors silently destroyed the data on my system
> > > (happened with HPT onboard controllers on an Via-KT600 board). Double,
> > > better, triple fsck your filesystems and check CFLAGS and COPTFLAGS
> > > settings in /etc/make.conf.
> >
> > I've found that I can reboot the system into multiuser mode, however there
> > *are* lots of programs core-dumping all over the place (sendmail, exited on
> > signal 11 - for instance)..,
> 
> This happens because you install target fails and there are a lot of old 
> binaries installed on your system. 
> 
> >
> > > Did you set your kernel timezone with "adjkerntz -i"?
> >
> > Yes.., followed the migration guide to the letter, save for scripting step
> > 15 as I originally asked about here..,
> >
> > I'm actually preparing to head off-site here at present, but will get back
> > to this later on today.., hopefully there'd be more information on the
> > situation after examination of the log file output by a kind soul..,
> 
> The only thing I can find, is that the install of the test man page fails. I 
> can't tell you why this happens. Maybe there is a problem with removing your 
> old test.1.gz (ie. disk access error). 
> First I would try to manually remove the test man-page by the command  
> "/bin/rm  /usr/share/man/man1/test.1.gz" and run the install target again.

What I've been doing is swapping hardware around on this box in order to get 
5.3-REL CD-Sets to boot on this machine.., What I found is that swapping out 
the Tekram card for an Adaptec-29160 enabled (for whatever reason) to be able 
to boot and install off the 5.3-REL CD's.

After (using the 29160 SCSI disk utility) formatting both SCSI disks, the 
installation went fine, until the first reboot - I get the following:

No /boot/loader

FreeBSD/i386 boot
Default: 0:da(0,a)/kernel
No /kernel

FreeBSD/i386 boot
Default: 0:da(0,a)/kernel
boot:

I've tried (following another format on both disks) reinstalling with another 
set of 5.3-REL cd's, and get the same error..,

I'm thinking that I should now try to swap the disks as well.., but the last 
thing I tried was to install Fedora Core-3 again, and , it installs and 
boots into Fedora fine! Again, using the same disks and SCSI cards..,

Thanks again for the time and patience on this.., Let me know what you think, 
please..,

Regards,

Stacey


> 
> If the install target still fails with test.1.gz, have a closer look 
> on /usr/obj/usr/src/bin/test/test.1.gz. I attached 5.3 version of it as of 
> Nov, 26th.
> 
> # cd /usr/obj/usr/src/bin/test
> # ls -l
> total 24
> -rw-r--r--  1 root  wheel  1800 Nov 26 16:14 .depend
> -rwxr-xr-x  1 root  wheel  9839 Nov 26 16:21 test
> -rw-r--r--  1 root  wheel  2654 Nov 26 16:21 test.1.gz
> -rw-r--r--  1 root  wheel  6708 Nov 26 16:21 test.o
> #
> 
> -- 
> Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
> OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu

> ___
> [EMA

Re: Can 10M Buffer Ceiling be lowere?

2004-12-01 Thread Rob DeMarco
On Wednesday 01 December 2004 07:34 am, Brian Bobowski wrote:
> Kris Kennaway wrote:
> >On Wed, Dec 01, 2004 at 03:27:11AM +, [EMAIL PROTECTED] wrote:
> >> A technical question:
> >>
> >> I have an old NEC computer (c. 1997) running 5.3-RELEASE with
> >>48M of RAM.  Getting a new computer isn't an option right now, but
> >>I would like to get as much out of my memory as possible.
> >> My /boot/kernel/kernel file is about 3M, and from the initial
> >>boot:
> >>  real memory  = 50331648 (48 MB)
> >>  avail memory = 43896832 (41 MB)
> >>it appears this kernel takes up about 7M of memory with one screen saver
> >>kld loaded.  With a few unneeded services (cron, sendmail) disabled, I
> >>start off with about 26M free after a fresh reboot with just root logged
> >> in, running `top'.  Looking at top, I noticed:
> >>
> >>Mem: 4320K Active, 15M Inact, 12M Wired, 10M Buf, 11M
> >> Free ^^^
> >>
> >> From TOP(1):
> >>
> >>Buf: number of pages used for BIO-level disk caching
> >>
> >> Actually, the 10M is after some disk usage (it starts ~6M).
> >>It never gets above 10M.  Is there anyway to adjust this, to
> >>(say) a maximum of 5M?  Yes, a new 256 MB RAM system would be nice,
> >>but until then, I would like to avoid serious paging running xclock :)
> >>Thanks,
> >
> >There's no point, that memory will be used if demanded.  Note that you
> >still have 11M free in your example, so throwing away 6MB that is used
> >for caching would only *reduce* performance.
> >
> >Kris
>
> Stated otherwise, I recall reading that FreeBSD considers unused memory
> to be wasted memory. If you had other stuff taking up memory, it might
> not use that much for caching; as it is, though, it's only taking
> advantage of memory which is otherwise just sucking up power to keep
> ready. Its activity, based on this, is causing you no harm. (I don't
> know if my 32MB machine, which reports 440K free from top, is suffering
> as a result, but I've certainly not noticed any difficulty when loading
> web pages that couldn't be as adequately explained by the relatively
> slow 166MHz CPU.)

 Yeah, as I told Kris, I'm not so good at interpreting
the `top' output.  It just seemed strange to me that even when
I had a lot of processes running (and presumably needed some
of that "Buf" cache) it was still reporting 10M (I would have thought
`top' would show it freeing up some to accommodate them).

>
> Also note that cron is responsible for such things as the routine system
> checks; if you really insist on disabling cron, you might need to audit
> your system a bit more aggressively.
>
  Duly noted, though my requirements are modest.  I'm just
using this machine for my own personal use and thus have fewer
usage and security concerns than others on this list. (I think I
have pretty much disabled all of the internet services -- including
sendmail -- and I can always update my locate db anytime I
need to)

  Regards,

  -Rob

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


gcc violates const-ness of variable?

2004-12-01 Thread Rob
Hi,
This should probably be discussed in the GNU gcc mailinglist.
But I'm more familiar here, and I first want to share it here
with other FreeBSD users.
I'm surprised about this piece of code:
 #include
 int main()
 {
  const int n = 0;
  scanf("%d", &n);
  printf("%d\n", n);
  return 0;
 }
With gcc compiler, the constant variable 'n' will be overwritten
by the scanf statement. With g++ it (silently) is not.
So, I get following:
$ gcc -W -Wall code.c
code.c: In function `main':
code.c:5: warning: writing into constant object (arg 2)
$ ./a.out
9
9
$ g++ -W -Wall code.c
code.c: In function `int main()':
code.c:5: warning: writing into constant object (arg 2)
$ ./a.out
9
0
Is this a bug in gcc, or a feature?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Time sync with NTP Question

2004-12-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, December 01, 2004 10:10 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: Time sync with NTP Question
> 
> 
> He said, she said
> On my network I have a machine in my DMZ I wish to use NTP to 
> synchronize to a public server for it's time.  I then want to have 
> another machine in my private network synchronize time to this box in 
> the DMZ.  From there I want to have all my other machines in my private 
> network to sync in to it.
> 
> 
> I have my DMZ box connecting to public NTP servers through my firewall 
> now.  That part works great.  Able to ntpdate and run ntpd.
> 
> My private server is able to both ntpdate and ntpd to a public server. 
> What I can't seem to get going here is to have the private server 
> synchronize to the DMZ server with NTP. 

Where is the address translator in this scenario?

The way I've always done it when using a BSD box as the address translator
is to run ntp on the translator.

If your not using a BSD box as the translator but instead some pe-o-yit
little DSL router, bear in mind some of those cannot translate the ntp
protocol.

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


RE: blacklisting failed ssh attempts

2004-12-01 Thread Ted Mittelstaedt
Charles,

  This shouldn't bother you unless your in the habit of using
guessible passwords.

  However if you can't let it go I suggest you run sshd with the
-i option, out of inetd.  Of course you need a fast machine so
that the server key is generated in a second or so (or lower your
key length)  Then replace inetd with xinetd and
setup all the DoS stuff on that.

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Charles Ulrich
> Sent: Wednesday, December 01, 2004 9:42 AM
> To: [EMAIL PROTECTED]
> Subject: blacklisting failed ssh attempts
> 
> 
> 
> This morning I noticed that an attacker spent over a full hour trying to
> brute-force accounts and passwords via ssh on one of our 
> machines. These kinds
> of attacks are becoming more frequent.
> 
> I was wondering: does anyone know of a way to blacklist a certain 
> IP (ideally,
> just for a certain time period) after a certain number of failed login
> attempts via ssh? I could change the port that sshd listens on, 
> but I'd rather
> find a better solution, one that isn't just another layer of obscurity.
> 
> Thanks!
> 
> -- 
> Charles Ulrich
> Ideal Solution, LLC - http://www.idealso.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: Time sync with NTP Question

2004-12-01 Thread freebsduser
He said, she said
On my network I have a machine in my DMZ I wish to use NTP to 
synchronize to a public server for it's time.  I then want to have 
another machine in my private network synchronize time to this box in 
the DMZ.  From there I want to have all my other machines in my private 
network to sync in to it.

Boy I hope that makes sense.  Just in case, a fun filled ASCII diagram

Public NTP Server
 |
 DMZ Server
 |
   Private Server
 |
All the rest of my servers

All my boxes are running 5.3-STABLE.

I have my DMZ box connecting to public NTP servers through my firewall 
now.  That part works great.  Able to ntpdate and run ntpd.

My private server is able to both ntpdate and ntpd to a public server. 
What I can't seem to get going here is to have the private server 
synchronize to the DMZ server with NTP.  Also can't get other machines 
sync in with what I want to be my primary NTP server on the private 
network.  Heck, I can't seem to get any two FreeBSD boxes to sync with 
eachother.

I've also been trying to get this to play with two boxes on the same 
subnet.  I can get one box to sync to another using timed, but I can't 
seem to get ntp to work.  I conistently get...

"no server suitable for synchronization found"

The client side can query what I'd like to be the ntp server with ntpq, 
but ntpdate or ntp -q always fail.  The client IS able to ntpdate to a 
public server.

The server has the following rc.conf flags...

ntpdate_enable="YES"
ntpdate_flags="ntp.ucsd.edu"
ntpd_enable="YES"
ntpd_flags="-A -c /etc/ntp.conf -p /var/run/ntpd.pid -f /etc/ntp/ntpd.drift"


/etc/ntp.conf looks very similar too...

server ntp.somedomain.com
restrict ntp.somedomain.com mask 255.255.255.255 nomodify notrap noquery
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
restrict 127.0.0.1
driftfile /etc/ntp/ntp.drift

There's actually 5 public NTP servers configured in my real ntp.conf and 
they all seem to work.  192.168.1.0 is, of course, where my clients 
would query this server.

So what am I missing here to make a working NTP server for my network??

Thanks,
-- 
"In theory, there is no difference between theory and practice.
In practice, there is."
- Yogi Berra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
---

You might have to tight of restrictions.
http://cfm.gs.washington.edu/network/ntp/ntp/ntp.conf

Take a gander at that sample, if you notice it says at the top...
# Sample Genome Sciences ntp.conf for client systems running ntpd.
# Other machines will not be able to syncronize with this host, which
# reduces the chance ntpd will be exploited by an attacker.

Most likely your ntp is saying, GO AWAY! I don't WANT YOU! get rid of all 
restrictions and see if that helps, then work on tightening it up.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't mount windows partition

2004-12-01 Thread Kevin Smith
Rizal Ferdiyan wrote:
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
write"mount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node " but it don't work. Please help me and sorry for my
bad english.
thank you.
 

Rizal,
You can set all this up very easily in your fstab file instead of typing 
the command to mount the file systems (unless you just want access it 
temporarily).

Here are the entries that I have in my /etc/fstab:
/dev/ad0s1 /windows/C ntfs ro 2 0
/dev/ad0s3 /windows/E msdosfs rw 0 0
(You don't need the "2", it can be "0")
You need to create the directories for the mount points (/windows/C and 
/windows/E). The partition in /dev/ad0s3 is my FAT32 partition which is 
the writable one - you don't want the ntfs filesystem to be 
writable.if you want the FAT32 (msdosfs) parition to be writeable, 
then /windows/E must be a writable mount directory. You of course, 
should use your own device (/dev/ad0s*) names as they are going to be 
different from mine.

Once you have these in your /etc/fstab they will automatically mount on 
boot (as configured this way). If you don't want to reboot after editing 
the file, you can always just do a :

> mount /windows/E
To manually mount...or
> umount /windows/E to umount it.
The configuration I have just described is how I wanted to set it up on 
my system, but others may have different opinions/setups.

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


Answers: Keeping FreeBSD Up-To-Date

2004-12-01 Thread Richard Bejtlich
Here's (hopefully) some answers for once, rather than more questions!

I am happy to announce the publication at TaoSecurity.com of 'Keeping
FreeBSD Up-To-Date':

http://www.taosecurity.com/keeping_freebsd_up-to-date.html

I wrote this article to answer questions I've received over the past
few months on how to apply security fixes to a FreeBSD system. While
the official Handbook is excellent, I thought a case-study approach
would be enlightening for some readers.

I thought it would be interesting to see a box begin life as FreeBSD
5.2.1 RELEASE, and then progress through a variety of security fixes
applied in different ways. The article's sections include:

- Introduction
- FreeBSD Versions
- Learning About Security Issues
- Starting with the Installation
- Binary OS and Userland Updates with FreeBSD Update
- Applying Kernel Patches Manually
- Applying Userland Patches Manually, Part 1
- Applying Userland Patches Manually, Part 2
- CVSup to 5_2 Security Branch
- Beyond the Security Branch
- STABLE: The End of the Line
- The "Next" STABLE
- Conclusion
- Acknowledgements
- References

Sections show commands to run, explanations of what they do, sample
output, uname versions, and pros and cons of each upgrade method.
Please send feedback to taosecurity at gmail dot com.

Thank you,

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


can't mount windows partition

2004-12-01 Thread Rizal Ferdiyan
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
write"mount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node " but it don't work. Please help me and sorry for my
bad english.

thank you.

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


Re: can't mount windows filesystem

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Rizal Ferdiyan wrote:
why my partition windows can be mount in bsd?
i have been try to write :
mount -f -t msdosfs /dev/ad0s2  /mnt/win1
but appear message "msodsfs:/dev/ad0s2:Invalid Argumen "
 

What version of FreeBSD?  Also, how big a disk?
Finally, why is Erik's email in your cc: field? ;-)
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your mail

2004-12-01 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 04:41:44AM +, Rob DeMarco wrote:

> Thanks for the info.  The thing that got my attention was how,
> after enough processes were spawned and (presumably, some of the cache
> could have been used before needing to page) the 10M remained for use for
> the "Buf" only -- or at least it seemed like it according to `top'.
> But maybe I'm misreading that (I seemed to remember reading that
> the "Wired" info always included the "Buf")  But then I am
> definitely way out of my league here.  I can't even make sense out
> of the SIZE / RES columns, neither which seem to add up to the actual
> memory/swap used.

It's just a count of the amount of memory currently in use, not a
fixed amount assigned to different uses.

Kris


pgpbGusORFzU1.pgp
Description: PGP signature


[no subject]

2004-12-01 Thread Rob DeMarco
From: "Rob DeMarco" <[EMAIL PROTECTED]>
To: Kris Kennaway <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Bcc: 
Subject: Re: Can 10M Buffer Ceiling be lowere?
Reply-To: 
In-Reply-To: <[EMAIL PROTECTED]>

On Tue, Nov 30, 2004 at 07:53:16PM -0800, Kris Kennaway wrote:
> On Wed, Dec 01, 2004 at 03:27:11AM +, [EMAIL PROTECTED] wrote:
> >  A technical question:
> > 
> >  I have an old NEC computer (c. 1997) running 5.3-RELEASE with
> > 48M of RAM.  Getting a new computer isn't an option right now, but
> > I would like to get as much out of my memory as possible.
> >  My /boot/kernel/kernel file is about 3M, and from the initial
> > boot: 
> > real memory  = 50331648 (48 MB)
> > avail memory = 43896832 (41 MB)
> > it appears this kernel takes up about 7M of memory with one screen saver
> > kld loaded.  With a few unneeded services (cron, sendmail) disabled, I
> > start off with about 26M free after a fresh reboot with just root logged in,
> > running `top'.  Looking at top, I noticed:
> > 
> > Mem: 4320K Active, 15M Inact, 12M Wired, 10M Buf, 11M Free
> >  ^^^
> > 
> >  From TOP(1):
> > 
> > Buf: number of pages used for BIO-level disk caching
> > 
> >  Actually, the 10M is after some disk usage (it starts ~6M).
> > It never gets above 10M.  Is there anyway to adjust this, to
> > (say) a maximum of 5M?  Yes, a new 256 MB RAM system would be nice,
> > but until then, I would like to avoid serious paging running xclock :)
> > Thanks,
> 
> There's no point, that memory will be used if demanded.  Note that you
> still have 11M free in your example, so throwing away 6MB that is used
> for caching would only *reduce* performance.
> 
> Kris

Thanks for the info.  The thing that got my attention was how,
after enough processes were spawned and (presumably, some of the cache
could have been used before needing to page) the 10M remained for use for
the "Buf" only -- or at least it seemed like it according to `top'.
But maybe I'm misreading that (I seemed to remember reading that
the "Wired" info always included the "Buf")  But then I am
definitely way out of my league here.  I can't even make sense out
of the SIZE / RES columns, neither which seem to add up to the actual
memory/swap used.

 Oh, well.  Regards,

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


Re: How can I start a programm after installation??

2004-12-01 Thread Brian Bobowski
Laszlo Antal wrote:
Hi,
I have FreeBSD 4.10 with KDE.
I installed Gimp from /usr/ports/graphics/.
I typed make prefix=/usr/local/gimp
It took a while and dowloaded a lot of other programms and installed 
them.
After that I typed
make prefix=/usr/local/gimp install
Again everything looked good no warning or error.

But /usr/local/gimp is empty !!
In /usr/ports/graphics/gimp there is now a folder called work and in 
that folder gimp2.0.6 folder.

Do I need to run ./configure from that folder
And make and than make install ???
I could not find any gimp.sh file to start the programm.
Thank you for all the help
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Try bringing up a command line with ALT-F2 in KDE and running "gimp"?
Generally speaking, .sh shell scripts aren't called to run installed 
programs. Instead, a link is tossed into /usr/bin or /usr/local/bin 
which points to(or, for a hard link, references the exact same data as) 
the installed program executable, wherever that may be. There are of 
course exceptions, but I very, very rarely need to call a .sh to get 
done what I need.

The work directory in /usr/ports/graphics/gimp2.0.6 is the working 
directory for the compile process. In graphics/gimp2.0.6 you may as well 
"make clean" to reclaim the space if you can get the installed program 
working. (If not, then don't do the make clean quite yet - you may need 
to, you might not, to fix the problem. And if you don't, then 
recompiling would be a waste of time.)

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


How can I start a programm after installation??

2004-12-01 Thread Laszlo Antal
Hi,
I have FreeBSD 4.10 with KDE.
I installed Gimp from /usr/ports/graphics/.
I typed make prefix=/usr/local/gimp
It took a while and dowloaded a lot of other programms and installed 
them.
After that I typed
make prefix=/usr/local/gimp install
Again everything looked good no warning or error.

But /usr/local/gimp is empty !!
In /usr/ports/graphics/gimp there is now a folder called work and in 
that folder gimp2.0.6 folder.

Do I need to run ./configure from that folder
And make and than make install ???
I could not find any gimp.sh file to start the programm.
Thank you for all the help
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to edit file in single user mode

2004-12-01 Thread Tillman Hodgson
On Wed, Dec 01, 2004 at 06:03:05PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote:
> There was some discussion on the lists (IIRC) a while back
> on the idea of building a small editor binary that you like
> (trying to remember some of the possibilities: zed, ved, led,
> sted, (but not ted), ee (already in the base system), pico, nano,
> nah, can't really remember :-< ) and cp'ing it to /bin in preparation
> for just such an emergency.  With root partitions {generally}
> being a tad larger these days than in the elder times, it might
> be a feasible idea...I'm pretty sure *someone* out there has
> tried it.  Come to think of it, I may. :-)

On i386 platforms, I build a copy of e3vi from ports and cp it to
/root/bin. It's 12.8k (!) and, as long as you don't get too fancy, it's
a reasonable vi clone.

Saved my bacon a few times already.

-T


-- 
If you can spend a perfectly useless afternoon in a perfectly useless manner,
you have learned how to live.
Lin Yu-T'ang
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


warning -Xorg.0.log

2004-12-01 Thread Hugh Ekeberg
Friends

At the end of /var/Xorg.0.log, I get the following output.  Can anyone let me 
know how to fix the problem causing the warning?

Thanks

Warning: font renderer for ".ttf" already registered at priority 0
Warning: font renderer for ".TTF" already registered at priority 0
Warning: font renderer for ".ttc" already registered at priority 0
Warning: font renderer for ".TTC" already registered at priority 0
Warning: font renderer for ".otf" already registered at priority 0
Warning: font renderer for ".OTF" already registered at priority 0
Warning: font renderer for ".otc" already registered at priority 0
Warning: font renderer for ".OTC" already registered at priority 0
Warning: font renderer for ".pfa" already registered at priority 0
Warning: font renderer for ".PFA" already registered at priority 0
Warning: font renderer for ".pfb" already registered at priority 0
Warning: font renderer for ".PFB" already registered at priority 0
Warning: font renderer for ".BDF" already registered at priority -10
Warning: font renderer for ".PCF" already registered at priority -10
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


KDE error message

2004-12-01 Thread Hugh Ekeberg
Friends

When I log out of KDE, I get the following message once I'm but at the command 
prompt;


X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  6
  Minor opcode:  0
  Resource id:  0x1a000e1
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  7
  Minor opcode:  0
  Resource id:  0x1e00019
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  6
  Minor opcode:  0
  Resource id:  0x1e00019
startkde: Shutting down...
klauncher: Exiting on signal 1


Can anyone let me know how to fix this?
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to edit file in single user mode

2004-12-01 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Kevin D. Kinsey, DaleCo, S.P. thusly...
>
> >>On Sun, 28 Nov 2004, Trey Sizemore wrote:
> >>
> >>>I made a typo in rc.conf and now am able to boot only into single user
> >>>mode.  I thought vi would be available to edit the file, but cannot
> >>>execute it (vi not found).
> 
> What if you can't mount /usr ?  then you've even more trouble.
> You can learn to use ed(1), but that's like going back thirty
> years.

Key is to learn some ed before the actual need arises.  Else,
frustration lies the other way.


> There was some discussion ... on the idea of building a small
> editor binary that you like ... and cp'ing it to /bin in
> preparation

Remember to link your favourite editor statically before even bother
to copy.  Currently, ee is linked here (4.10-p4) to ...

  libncurses.so.5 => /usr/lib/libncurses.so.5 (0x28073000)
  libc.so.4 => /usr/lib/libc.so.4 (0x280b5000)


Whatever happens to the editor, it needs to be self
contained/sufficient by being small, statically compiled, and be
usable w/o the facility of curses.


That reminds me of my old C++ class editor project.  My version of the
editor -- ed like commands, no regex support, menu driven --
statically compiled w/ GCC 3.4 & stripped takes 403 kB (-O1) or 389 kB
(-O2).  (It has yet to go through a thorough review though.  Anybody
care to take a look?)  I suppose i could/should save a copy just in
case.


  - Parv

-- 

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


Re: Why can't I do "mknod /dev/cdev c 32 0"

2004-12-01 Thread Brian Bobowski
cm c wrote:

> The output of 'uname -a' is:
> FreeBSD .itc.inventec 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5
> 02:55:42 GMT 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
>  i386
> It's 5.x, but if the node is created automatically, how do I use open?
> I mean, under linux, user space processes need do 'open("/dev/cdev")
> before do other things, can /dev/cdev be created automatically? I
> don't think so.

The man page for open(2) says it can look at existing files as well as
make new ones. I'm probably missing something crucial and should thus
yield the floor to those knowledgeable at such things.

The only other thing I can suggest is to look at the man pages for
devfs(8), the utility that helps control the system, and for devfs(5)
itself.

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


Re: Why can't I do "mknod /dev/cdev c 32 0"

2004-12-01 Thread Kris Kennaway
On Thu, Dec 02, 2004 at 10:42:10AM +0800, cm c wrote:
> The output of 'uname -a' is:
> FreeBSD .itc.inventec 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 
> 02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>  
> It's 5.x, but if the node is created automatically, how do I use
> open? I mean, under linux, user space processes need do
> 'open("/dev/cdev") before do other things, can /dev/cdev be created
> automatically? I don't think so.

Yes, it can, if the driver supports that.

You should update to 5.3 though, becuase you're probably hitting a bug
that was fixed ages ago.

Also, please wrap your lines at 70 characters so that your emails may
be easily read.

Kris


pgpzxMNiV2ijP.pgp
Description: PGP signature


Re: Why can't I do "mknod /dev/cdev c 32 0"

2004-12-01 Thread cm c
The output of 'uname -a' is:
FreeBSD .itc.inventec 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5 
02:55:42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
It's 5.x, but if the node is created automatically, how do I use open? I mean, 
under linux, user space processes need do 'open("/dev/cdev") before do other 
things, can /dev/cdev be created automatically? I don't think so.

Brian Bobowski <[EMAIL PROTECTED]> wrote:
cm c wrote:

>I'm a newbie to freebsd. I'm trying to port a simple driver to freebsd, but 
>something stopped me. I tried to use the /usr/share/examples to have a test, 
>but mknod failed :
> mknod /dev/cdev c 32 0
>even the make_dev call will cause system rebooting!
> 
>I don't know why.
>Who can help me?
>thanks.
> 
>
If you are using FreeBSD 5.x, the devfs makes mknod irrelevant; device
nodes are created automatically. That's all I know on the subject.

The gurus(which I am not) will probably need more information to help
you at all; the output of "uname -a" is standard. Information about what
you're trying to port will likely be key as well.

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



-
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why can't I do "mknod /dev/cdev c 32 0"

2004-12-01 Thread Brian Bobowski
cm c wrote:

>I'm a newbie to freebsd. I'm trying to port a simple driver to freebsd, but 
>something stopped me. I tried to use the /usr/share/examples to have a test, 
>but mknod failed :
>  mknod /dev/cdev c 32 0
>even the make_dev call will cause system rebooting!
> 
>I don't know why.
>Who can help me?
>thanks.
>  
>
If you are using FreeBSD 5.x, the devfs makes mknod irrelevant; device
nodes are created automatically. That's all I know on the subject.

The gurus(which I am not) will probably need more information to help
you at all; the output of "uname -a" is standard. Information about what
you're trying to port will likely be key as well.

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


Why can't I do "mknod /dev/cdev c 32 0"

2004-12-01 Thread cm c
I'm a newbie to freebsd. I'm trying to port a simple driver to freebsd, but 
something stopped me. I tried to use the /usr/share/examples to have a test, 
but mknod failed :
  mknod /dev/cdev c 32 0
even the make_dev call will cause system rebooting!
 
I don't know why.
Who can help me?
thanks.



-
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exim and FBSD 5.3

2004-12-01 Thread Chris
I am running exim fine on FreeBSD 5.3-STABLE however mine is
precompiled from the directadmin build but I don't think that will
make too much difference.  It should be compatible with 5.3


On Wed, 1 Dec 2004 21:19:19 +0100, Kees Plonsz
<[EMAIL PROTECTED]> wrote:
> On Wednesday 01 December 2004 21:07, Joe Altman wrote:
> 
> 
> > On Wed, Dec 01, 2004 at 08:17:48PM +0100, Kees Plonsz wrote:
> > > You guessed right, of course I am running exim without those errors:
> > >
> > > #exim d
> > >
> > > Exim version 4.42 uid=1001 gid=1001 pid=4084 D=fbb95cfd
> > > Probably Berkeley DB version 1.8x (native mode)
> >
> > I notice that the FBSD version is not displayed here; so: this is for
> > FBSD 5.3?
> >
> > > What else is there to know ?
> >
> > Did your initial installation come from source, or from the CD
> > package?
> 
> I am running freebsd 5.3 release
> I compiled it from the original source, not from the ports tree.
> It gives me a lot of extra compiling options wich was not
> available otherwise. ( Like running as user "mailnull" ).
> 
> 
> 
> 
> ___
> [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]"


plans for 4.x

2004-12-01 Thread rob_spellberg
i just reread the release info on 4.10 and 4.11.
is it still the plan for 4.11 to be the last of the 4.x series?
tia
rob spellberg
woodstock, illinois
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


%cpu in system - squid performance in FreeBSD 5.3

2004-12-01 Thread Jeff Behl
howdy,
I've got a dual proc AMD64 (2gHz) FreeBSD 5.3R system running two squid
processes (to take advantage of both CPUs).  Each process is doing
around 195 req/s, and the total bandwidth is ~40Mb/s (gig nic via bge
driver).  Squid is being used exclusively as a reverse proxy, with all 
content being served out of memory (very little disk activity).

Top shows:
CPU states: 16.0% user,  0.0% nice, 42.7% system,  7.6% interrupt, 33.6%
idle
Mem: 898M Active, 569M Inact, 179M Wired, 214M Buf, 171M Free
Swap: 4069M Total, 4069M Free
 PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
14598 squid1080   463M   459M select 0  39.2H 59.96% 59.96% squid
14605 squid1050   421M   416M CPU0   1  38.4H 49.95% 49.95% squid
but the % system time can fluctuate up to 60 at times.  My question is
if this is about the type of performance I could expect, or if people
have seen better.  I was expecting to see much better performance,
seeing how everything is being served out of memory, but maybe I'm
asking too much?  400 reqs/s from RAM doesn't seem like much.  Is this a 
FreeBSD issue (anybody else with similar experience)?  A majority of the 
cpu time being spent in system would seem to indictate such.  What is 
all the system load?  How can i tell?

Any help/pointers/remarks appreciated
thanks,
jeff
FreeBSD www1.cdn.sjc 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Mon Nov  8 
20:25:59 PST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  amd64

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


Re[2]: Deleting Packages

2004-12-01 Thread Gerard Seibert
On Wednesday, December 01, 2004 7:21:39 PM "Kevin D. Kinsey, DaleCo, S.P." 
<[EMAIL PROTECTED]> wrote:

|>Gerard Seibert wrote:
|>
|>> I have a large number of files in the '/usr/ports/packages/All' 
|>> directory. Since I could use the disk space that they are taking up, I 
|>> wonder if it is permissible to just delete them. I  clean out the 
|>> '/usr/ports/distfiles' directory on a regular schedule without incident.
|>>
|>> Thanks in advance!
|>>
|>>
|>
|>Check the manpage for portsclean(1), if it's on your system.
|>
|>> Gerard Seibert
|>> [EMAIL PROTECTED]
|>>
|>> Murphy's Seventh Law: Left to themselves, things tend to go from bad 
|>> to worse.
|>
|>
|>Oh, don't they, though? ;-)
|>
|>Kevin Kinsey


** Reply Separator **
Wednesday, December 01, 2004 7:28:33 PM

Actually, I all ready did that. I ran 'portsclean -CDDLP', and it did
remove a few packages. However, most are still there. It is not a big
thing, I was just wondering if it would cause a problem if I did remove
them.

Thanks for your assistance.

Gerard Seibert
[EMAIL PROTECTED]


Murphy's First Law: Nothing is as easy as it looks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Deleting Packages

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Gerard Seibert wrote:
I have a large number of files in the '/usr/ports/packages/All' 
directory. Since I could use the disk space that they are taking up, I 
wonder if it is permissible to just delete them. I  clean out the 
'/usr/ports/distfiles' directory on a regular schedule without incident.

Thanks in advance!

Check the manpage for portsclean(1), if it's on your system.
Gerard Seibert
[EMAIL PROTECTED]
Murphy's Seventh Law: Left to themselves, things tend to go from bad 
to worse.

Oh, don't they, though? ;-)
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't mount windows filesystem

2004-12-01 Thread Rizal Ferdiyan

why my partition windows can be mount in bsd?
i have been try to write :
mount -f -t msdosfs /dev/ad0s2  /mnt/win1

but appear message "msodsfs:/dev/ad0s2:Invalid Argumen "

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


Deleting Packages

2004-12-01 Thread Gerard Seibert
I have a large number of files in the '/usr/ports/packages/All' directory. 
Since I could use the disk space that they are taking up, I wonder if it 
is permissible to just delete them. I  clean out the 
'/usr/ports/distfiles' directory on a regular schedule without incident.

Thanks in advance!
Gerard Seibert
[EMAIL PROTECTED]
Murphy's Seventh Law: Left to themselves, things tend to go from bad to 
worse.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to edit file in single user mode

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Trey Sizemore wrote:
Fernando Gleiser wrote:
On Sun, 28 Nov 2004, Trey Sizemore wrote:
 

I made a typo in rc.conf and now am able to boot only into single user
mode.  I thought vi would be available to edit the file, but cannot
execute it (vi not found).  How can I edit my rc.conf at this point/
  

After you drop into single user, say the magic words:
# mount -a
that will mount all the filesystems and then vi will be available.
Fer
 

D'ohsorry.  Dumb question, but thanks for answering anyway! 

{Sorry to come into this so late...}
Not necessarily a dumb question.  What if you can't mount
/usr ?  then you've even more trouble.  You can learn to
use ed(1), but that's like going back thirty years.  Not that
we hate anyone who was using computers back then ...
There was some discussion on the lists (IIRC) a while back
on the idea of building a small editor binary that you like
(trying to remember some of the possibilities: zed, ved, led,
sted, (but not ted), ee (already in the base system), pico, nano,
nah, can't really remember :-< ) and cp'ing it to /bin in preparation
for just such an emergency.  With root partitions {generally}
being a tad larger these days than in the elder times, it might
be a feasible idea...I'm pretty sure *someone* out there has
tried it.  Come to think of it, I may. :-)
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: convert from scsi to IDE

2004-12-01 Thread David Kelly
On Dec 1, 2004, at 2:07 PM, J.D. Bronson wrote:
At 02:02 PM 12/1/2004, you wrote:
OK, but I think you are missing something in what I wrote. Once your 
tape
backup is finished shutdown and install the IDE drives. Let it 
continue to
boot your SCSI, which I presume also has the FreeBSD boot blocks
installed. Use sysinstall on your current system to partition, 
format, and
write boot blocks on the IDE drive(s). Mount the IDE drive(s) 
somewhere.
Then you can use dump(8) piped into restore(8) directly from HD to HD.
This is cool, but my machine NEEDS to boot off of IDE. There is no way 
around this - even in the bios. :(

So If I install IDE+SCSI, IDE will always win the boot. Even if its 
blank then I get MISSING OPERATING SYSTEM

and it will NOT seek other devices.
Alright, somehow I got that twisted around. But you still haven't said 
anything about what kind of motherboard, BIOS, and SCSI interface you 
are using. The more generic the MB/BIOS the more likely there is a hook 
for making it boot the way you wish.

The better SCSI cards have BIOS of their own and are able to "jump to 
the head of the BIOS drive list" if needed. Most all MB BIOS's provide 
control over the boot order of devices. One can force the so-called C: 
drive to always win. One can place the floppy at the tail of the list. 
Normally the order is 1) floppy, 2) CDROM, 3) C: drive, 4) and finally 
"BIOS INT 13H Device" or something similar to that. Move this #4 ahead 
of the C: device and your SCSI should boot.

If you boot the FreeBSD Install CDROM and only write the partition 
table, boot blocks, and format your new partitions, then the FreeBSD 
boot blocks are able to "chain" boot from one HD to the other. Your 
BIOS may boot the IDE but its boot blocks can transfer the boot to 
another drive, such as your existing SCSI drive.

No matter what you do you will have to create the FreeBSD partitions on 
the new drives. Can't do this from tape. But once the boot blocks are 
installed on the IDE drive you will be able to boot the SCSI drive. 
Just select F5 at the boot block's prompt.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-questions Digest, Vol 81, Issue 24

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Brian Bobowski wrote:
Graham Bentley wrote:
Hi All,
As an experiment (and to gain some expereince) I would like to test 
out locally various CMS software.

I have a 5.3 release disc here and can get a minimal install up and 
running and on the net quite quickly now.

What I am struggling with is the following :-
What is the best order (options/versions) to install these packages
Mysql, Apache, PHP - which I need to test out the CMS software
Just recently I installed Apache2, then PHP 3.9.2 and MySQL 4.0
only to find I had not got support for MySQL compiled into PHP.
There must be some logical methods to ensure that each package
has the dependancies it requires ?
For eample do I need /usr/ports/www/mod_php4 as well
as /usr/ports/lang/php4 ?
Any advice appreciated :)
 

mod_php4 is the Apache mod and is probably a Very Good
Thing(but you got PHP 3.9.2...?).
Since PHP and MySQL exist independently and neither
needs the other to run(except with one another), that's likely why it 
doesn't default...

I would do MySQL and Apache first, in whatever order,
then lang/php4, then www/mod_php4. SQL and the web server
are, I believe, quite independent; since PHP is, among other things,
the glue that's holding them together, that's best installed when you
already have the other two(which don't care about PHP beyond Apache
loading libphp4.so as produced, I think, by www/mod_php4).
HTH,
-BB

lang/php4 and www/mod_php4 will both install the SO for
Apache; use www/mod_php4 if you only want Apache support
and want no PHP CLI.
It's probable that the OP's problems with PHP "playing along"
with MySQL were due to failure to install /lang/php4-extensions
as someone else pointed out; see note in /usr/ports/UPDATING
from July ...
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moregroupware not working because of PHP

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
Justin L. Boss wrote:
Ya, I seen something about the in my research. But doesn't it need to be 
enabled? If not how can I pass the option to configure when using the ports 
collection?

On Wednesday 01 December 2004 03:43 pm, csnyder wrote:
 

From the PHP manual:
"Session support is enabled in PHP by default. If you would not like
to build your PHP with session support, you should specify the
--disable-session  option to configure."
Sounds like a config-time problem rather than something missing from
your php.ini.
   

 

Sorry to give an "RTFM" answer, but you've apparently been
out of the loop since July

20040719:
 AFFECTS: users of PHP
 AUTHOR: [EMAIL PROTECTED]
 The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP,
 PEAR, and shared extensions to allow more flexibility and add new 
features.
 Upgrading your current PHP installation will result in a 'base' PHP
 installation (no PEAR and no extensions).
 PEAR can be found in the new devel/php4-pear and devel/php5-pear 
ports, while
 the set of PHP extensions to install can be choosen via the meta-ports
 lang/php4-extensions and lang/php5-extensions, or installing singular 
 extensions individually.
 If you have a previous php.ini configuration file, be sure to comment out
 the extension_dir parameter, since the correct path is statically compiled
 into the PHP binary.
 For an overview of the modules used with the old PHP binary, use
 the command "php -m".
---

# cd /usr/ports/lang/php4-extensions[or php5-extensions]
# make install clean
Should take care of it.
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-questions Digest, Vol 81, Issue 24

2004-12-01 Thread Brian Bobowski
Graham Bentley wrote:
Hi All,
As an experiment (and to gain some expereince) I would like 
to test out locally various CMS software.

I have a 5.3 release disc here and can get a minimal install 
up and running and on the net quite quickly now.

What I am struggling with is the following :-
What is the best order (options/versions) to install these packages
Mysql, Apache, PHP - which I need to test out the CMS software
Just recently I installed Apache2, then PHP 3.9.2 and MySQL 4.0
only to find I had not got support for MySQL compiled into PHP.
There must be some logical methods to ensure that each package
has the dependancies it requires ?
For eample do I need /usr/ports/www/mod_php4 as well
as /usr/ports/lang/php4 ?
Any advice appreciated :)
 

mod_php4 is the Apache mod and is probably a Very Good Thing(but you got 
PHP 3.9.2...?).

Since PHP and MySQL exist independently and neither needs the other to 
run(except with one another), that's likely why it doesn't default...

I would do MySQL and Apache first, in whatever order, then lang/php4, 
then www/mod_php4. SQL and the web server are, I believe, quite 
independent; since PHP is, among other things, the glue that's holding 
them together, that's best installed when you already have the other 
two(which don't care about PHP beyond Apache loading libphp4.so as 
produced, I think, by www/mod_php4).

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


Re: moregroupware not working because of PHP

2004-12-01 Thread Justin L. Boss
Ya, I seen something about the in my research. But doesn't it need to be 
enabled? If not how can I pass the option to configure when using the ports 
collection?


On Wednesday 01 December 2004 03:43 pm, csnyder wrote:
> >From the PHP manual:
>
> "Session support is enabled in PHP by default. If you would not like
> to build your PHP with session support, you should specify the
> --disable-session  option to configure."
>
> Sounds like a config-time problem rather than something missing from
> your php.ini.

-- 
  ,,
 /()`
 \ \___   / |
 /- _  `-/  '
(/\/ \ \   /\
/ /   | `\
O O   ) /|
`-^--'`< '
   (_.)  _  )   /
`.___/`/
  `-' /
 <. __ / __   \
 <|O)))==) \) /
 <'`--' `.__,' \
  ||
   \   /   /\
  __( (_  / \__/
,'  ,-'   |
`--{__)"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: convert from scsi to IDE

2004-12-01 Thread Jerry McAllister
> 
> At 02:02 PM 12/1/2004, you wrote:
> >OK, but I think you are missing something in what I wrote. Once your tape
> >backup is finished shutdown and install the IDE drives. Let it continue to
> >boot your SCSI, which I presume also has the FreeBSD boot blocks
> >installed. Use sysinstall on your current system to partition, format, and
> >write boot blocks on the IDE drive(s). Mount the IDE drive(s) somewhere.
> >Then you can use dump(8) piped into restore(8) directly from HD to HD.
> 
> This is cool, but my machine NEEDS to boot off of IDE. There is no way 
> around this - even in the bios. :(
> 
> So If I install IDE+SCSI, IDE will always win the boot. Even if its blank 
> then I get MISSING OPERATING SYSTEM
> 
> and it will NOT seek other devices.

He is telling you to use your current scsi system to build the system
on the IDE and then move your stuff from it.   After that you can
boot from the IDE and ignore/remove the SCSI.

> 
> I can however boot off floppy and/or IDE CDROM at least :)

OK, do that. and then go from there.

jerry
> 
> -- 
> J.D. Bronson
> Aurora Health Care // Information Services // Milwaukee, WI USA
> Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
> ___
> [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: freebsd-questions Digest, Vol 81, Issue 24

2004-12-01 Thread CHris Rich

> 
> Mysql, Apache, PHP - which I need to test out the CMS software
> 
> Just recently I installed Apache2, then PHP 3.9.2 and MySQL 4.0
> only to find I had not got support for MySQL compiled into PHP.
> 
> There must be some logical methods to ensure that each package
> has the dependancies it requires ?
> 
> For eample do I need /usr/ports/www/mod_php4 as well
> as /usr/ports/lang/php4 ?
> 
Not sure of the best order to install everything, but to ensure that
you get the support in php that you need, i would recommend installing
the port /usr/ports/lang/php4-extensions. Using that port will give
you an option as to what all support you want such mysql and others.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: moregroupware not working because of PHP

2004-12-01 Thread Nico Meijer
Hi Justin,

Lemme get 'rough' on you... ;-)

> When I log on to my web server where running moregroupware 
> ( www.webserver.com/webmail/setup/index.php ) I get :
> "Fatal error: Call to undefined function: session_id() 
> in /usr/local/www/moregroupware/include/log.inc.php on line 70"

What FreeBSD version? What web server software? If apache, which
version? Which version of moregroupware? How did you install
moregroupware? How did you install php? Which version? Any extensions?
If so, which? Catch my drift? ;-)

Assuming an up-to-date FreeBSD 4.x or 5.x and apache-1.3.x from ports
and php4-4.3.x from ports, I'd say you missed php4-session.

What does `pkg_info |grep php4` tell you? One of my boxen says:
php4-4.3.9  PHP Scripting Language (Apache Module and CLI)
php4-mysql-4.3.9The mysql shared extension for php
php4-pcre-4.3.9 The pcre shared extension for php
php4-pear-4.3.9 PEAR framework for PHP
php4-session-4.3.9  The session shared extension for php
php4-xml-4.3.9  The xml shared extension for php

> I think it has something to do with the /usr/local/etc/php.conf or
> php.ini I know this is not a moregroupware problem because I get the
> same error with squirrelmail. 

I think you got this part right. ;-)

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


Re: moregroupware not working because of PHP

2004-12-01 Thread csnyder
>From the PHP manual:
"Session support is enabled in PHP by default. If you would not like
to build your PHP with session support, you should specify the
--disable-session  option to configure."

Sounds like a config-time problem rather than something missing from
your php.ini.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


moregroupware not working because of PHP

2004-12-01 Thread Justin L. Boss
When I log on to my web server where running moregroupware 
( www.webserver.com/webmail/setup/index.php ) I get :
"Fatal error: Call to undefined function: session_id() 
in /usr/local/www/moregroupware/include/log.inc.php on line 70"

I think it has something to do with the /usr/local/etc/php.conf or php.ini
I know this is not a moregroupware problem because I get the same error with 
squirrelmail. 

Thanks for your help in advance.
   
Justin
-- 
  ,,
 /()`
 \ \___   / |
 /- _  `-/  '
(/\/ \ \   /\
/ /   | `\
O O   ) /|
`-^--'`< '
   (_.)  _  )   /
`.___/`/
  `-' /
 <. __ / __   \
 <|O)))==) \) /
 <'`--' `.__,' \
  ||
   \   /   /\
  __( (_  / \__/
,'  ,-'   |
`--{__)"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exim and FBSD 5.3

2004-12-01 Thread Joe Altman
On Wed, Dec 01, 2004 at 09:19:19PM +0100, Kees Plonsz wrote:
> > Did your initial installation come from source, or from the CD
> > package?
> 
> I am running freebsd 5.3 release
> I compiled it from the original source, not from the ports tree.
> It gives me a lot of extra compiling options wich was not
> available otherwise. ( Like running as user "mailnull" ).

Thanks for your help, Kees. I am guessing, at this point, that my
issues must have something to do with installing the package, and then
upgrading via the ports tree.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exim and FBSD 5.3

2004-12-01 Thread Kees Plonsz
On Wednesday 01 December 2004 21:07, Joe Altman wrote:
> On Wed, Dec 01, 2004 at 08:17:48PM +0100, Kees Plonsz wrote:
> > You guessed right, of course I am running exim without those errors:
> >
> > #exim d
> >
> > Exim version 4.42 uid=1001 gid=1001 pid=4084 D=fbb95cfd
> > Probably Berkeley DB version 1.8x (native mode)
>
> I notice that the FBSD version is not displayed here; so: this is for
> FBSD 5.3?
>
> > What else is there to know ?
>
> Did your initial installation come from source, or from the CD
> package?

I am running freebsd 5.3 release
I compiled it from the original source, not from the ports tree.
It gives me a lot of extra compiling options wich was not
available otherwise. ( Like running as user "mailnull" ).


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


Re: convert from scsi to IDE

2004-12-01 Thread J.D. Bronson
At 02:02 PM 12/1/2004, you wrote:
OK, but I think you are missing something in what I wrote. Once your tape
backup is finished shutdown and install the IDE drives. Let it continue to
boot your SCSI, which I presume also has the FreeBSD boot blocks
installed. Use sysinstall on your current system to partition, format, and
write boot blocks on the IDE drive(s). Mount the IDE drive(s) somewhere.
Then you can use dump(8) piped into restore(8) directly from HD to HD.
This is cool, but my machine NEEDS to boot off of IDE. There is no way 
around this - even in the bios. :(

So If I install IDE+SCSI, IDE will always win the boot. Even if its blank 
then I get MISSING OPERATING SYSTEM

and it will NOT seek other devices.
I can however boot off floppy and/or IDE CDROM at least :)


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Exim and FBSD 5.3

2004-12-01 Thread Joe Altman
On Wed, Dec 01, 2004 at 08:17:48PM +0100, Kees Plonsz wrote:
> You guessed right, of course I am running exim without those errors:
> 
> #exim d
> 
> Exim version 4.42 uid=1001 gid=1001 pid=4084 D=fbb95cfd
> Probably Berkeley DB version 1.8x (native mode)

I notice that the FBSD version is not displayed here; so: this is for
FBSD 5.3?

> What else is there to know ?

Did your initial installation come from source, or from the CD
package?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: convert from scsi to IDE

2004-12-01 Thread David Kelly
> At 10:58 AM 12/01/2004, David Kelly wrote:
...
>>With the FreeBSD boot manager on the IDE drive you can painlessly
>> reboot to either your new IDE or old SCSI installation. At most
>> /etc/fstab needs touchup on each.
>
> Thanks for the tips. I have a full fresh 5.3 install with all my tweaks
> and  personality installed on the scsi. I am dumping to tape tonight.
> What I might do is toss 2 IDE drives in there...do an install (mini) on
> the  1...get it up and running and then run /stand/sysinstall on the 2nd
> drive  and set it up, format it and then mount it. Then I can restore
> from tape  onto the 2nd drive too.

OK, but I think you are missing something in what I wrote. Once your tape
backup is finished shutdown and install the IDE drives. Let it continue to
boot your SCSI, which I presume also has the FreeBSD boot blocks
installed. Use sysinstall on your current system to partition, format, and
write boot blocks on the IDE drive(s). Mount the IDE drive(s) somewhere.
Then you can use dump(8) piped into restore(8) directly from HD to HD.

Once you think everything is on the IDE drive you can reboot and use F5
when the SCSI disk "boots" to transfer the boot to the next drive in the
BIOS chain. In this way the IDE drive should be able to "boot" off the
SCSI drive. And once you have done this it will automatically do it again
the next time. Only thing different is an extra 10 seconds or so waiting
on the boot blocks on the SCSI drive to time out an "boot" the IDE drive
where those boot blocks take another 10 seconds before transfering to
either the next disk or to the selected OS.

Once everything is working you can remove the SCSI drive but by chaining
the boot process off the SCSI drive you don't have to remove it until you
are good and ready.




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


Re: Exim and FBSD 5.3

2004-12-01 Thread Kees Plonsz
You guessed right, of course I am running exim without those errors:

Tidying Exim hints databases:

Tidying Exim hints database /var/spool/exim/db/retry
Tidying complete

Tidying Exim hints database /var/spool/exim/db/wait-remote_smtp
Tidying complete

#exim d

Exim version 4.42 uid=1001 gid=1001 pid=4084 D=fbb95cfd
Probably Berkeley DB version 1.8x (native mode)
Support for: iconv() IPv6 OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb 
dsearch
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
  uid=0 gid=1001 pid=4084
  auxiliary group list: 1001
configuration file is /usr/local/etc/exim/configure
log selectors = 0ffc 00014400
exim: debugging permission denied

#ls -la  /var/spool/exim/
total 6
drwxr-x---  2 mailnull  mail  512 Nov 17 20:23 db
drwxr-x---  2 mailnull  mail  512 Dec  1 15:30 input
drwxr-x---  2 mailnull  mail  512 Dec  1 15:30 msglog


What else is there to know ?



On Wednesday 01 December 2004 18:24, Joe Altman wrote:
> I know it's an FAQ, and I know that strictly, it's likely to be a
> DB/Exim issue, but I've tried the proposed solution[1] to no avail.
>
> So:
>
> I have a toy; it runs FBSD 5.3 and I would like to use Exim for local
> and remote delivery.
>
> In my system mail, I am seeing this error:
>
> Tidying Exim hints databases:
>
> Tidying Exim hints database /var/spool/exim/db/retry
> ** Failed to open DBM file /var/spool/exim/db/retry for writing:
>No such file or directory (or Berkeley DB error while opening)
>
> I have this MTA running on a 4.x personal machine, and all is
> well. However, it only does localhost delivery. I'd like to use the
> 5.3 box for internet mail for my domain.
>
> Running the MTA with the debug flag:
>
> exim -d
> Exim version 4.43 (FreeBSD 5.3) uid=0 gid=0 pid=95010 D=fbb95cfd
> Probably Berkeley DB version 1.8x (native mode)
>
> So it sees _something_ about the db. This output is what I see on the
> 4.x box WRT the db version.
>
> The only thing I can think of that might have caused this is that
> during the original installation, I installed Exim from a package on
> CD, rather than building from source. But: "...that shouldn't
> matter...", right?
>
> My query: does anyone have exim on FBSD 5.3 running successfully, that
> is, without the error I see? My guess is that the answer from someone
> will be: "...of course." but I feel a need to ask.
>
> Thanks in advance for any clues.
>
> [1] Empty the /var/spool/exim/db/ dir; and let exim recreate the
> relevant files.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-questions Digest, Vol 81, Issue 24

2004-12-01 Thread Graham Bentley

Hi All,

As an experiment (and to gain some expereince) I would like 
to test out locally various CMS software.

I have a 5.3 release disc here and can get a minimal install 
up and running and on the net quite quickly now.

What I am struggling with is the following :-

What is the best order (options/versions) to install these packages

Mysql, Apache, PHP - which I need to test out the CMS software

Just recently I installed Apache2, then PHP 3.9.2 and MySQL 4.0
only to find I had not got support for MySQL compiled into PHP.

There must be some logical methods to ensure that each package
has the dependancies it requires ?

For eample do I need /usr/ports/www/mod_php4 as well
as /usr/ports/lang/php4 ?

Any advice appreciated :)










Custom PC North West
Open Source Solutions
http://www.cpcnw.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: blacklisting failed ssh attempts

2004-12-01 Thread Doug Hardie
On Dec 1, 2004, at 09:41, Charles Ulrich wrote:
This morning I noticed that an attacker spent over a full hour trying 
to
brute-force accounts and passwords via ssh on one of our machines. 
These kinds
of attacks are becoming more frequent.

I was wondering: does anyone know of a way to blacklist a certain IP 
(ideally,
just for a certain time period) after a certain number of failed login
attempts via ssh? I could change the port that sshd listens on, but 
I'd rather
find a better solution, one that isn't just another layer of obscurity.
I tried null routing their addresses and that stops that address.  
However, a day or so later they are back from a different address.  
After a couple months of this I changed the ports.  Its a real pain.

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


Re: blacklisting failed ssh attempts

2004-12-01 Thread Josh Paetzel
On Wednesday 01 December 2004 17:41, you wrote:
> This morning I noticed that an attacker spent over a full hour
> trying to brute-force accounts and passwords via ssh on one of our
> machines. These kinds of attacks are becoming more frequent.
>
> I was wondering: does anyone know of a way to blacklist a certain
> IP (ideally, just for a certain time period) after a certain number
> of failed login attempts via ssh? I could change the port that sshd
> listens on, but I'd rather find a better solution, one that isn't
> just another layer of obscurity.
>
> Thanks!

This may or may not help you, but I generally firewall ssh so that 
only known addresses can get in.  (whitelisting as opposed to 
blacklisting)

-- 
Thanks,

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


blacklisting failed ssh attempts

2004-12-01 Thread Charles Ulrich

This morning I noticed that an attacker spent over a full hour trying to
brute-force accounts and passwords via ssh on one of our machines. These kinds
of attacks are becoming more frequent.

I was wondering: does anyone know of a way to blacklist a certain IP (ideally,
just for a certain time period) after a certain number of failed login
attempts via ssh? I could change the port that sshd listens on, but I'd rather
find a better solution, one that isn't just another layer of obscurity.

Thanks!

-- 
Charles Ulrich
Ideal Solution, LLC - http://www.idealso.com

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


Re: Internet Streaming

2004-12-01 Thread Huw Wynn-Jones
On Wednesday 01 December 2004 17:05, Kevin Smith wrote:
> I tried building the port for Amarok on 5.3-Release and when I run
> it all I get is the startup logo and no UI.  This happens on either
> KDE or Gnome desktops.  Do you have this running on 5.3 ?
>
> -K
>

Have you got the little blue speaker system tray icon next to the 
clock in the kicker in KDE?

If so then click on that and it will bring up the UI.

If you haven't got it then I'm sorry I'm a bit lost. I know that if 
you run amarok under other window managers it can be difficult to get 
going because often this tray icon is the only thing started up and 
some don't show this icon.

Run it in Kde and check for the speaker icon I reckon it'll be there,  
it looks a lot like a volume control so maybe you have just not 
noticed it. I'm running 5.3 and amarok runs fine.

Cheers

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


RE: I can not install FreeBSD 5.3 in an old Pentium 100 MHz

2004-12-01 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ramiro Aceves
> Sent: Wednesday, December 01, 2004 2:18 AM
> To: Ted Mittelstaedt
>
> You are right Ted, when I had Linux installed on that pentium machine it
> worked even slower than a 486 machine that I also have.
> Tonight, I downloaded FreeBSD 4.10 mininst cdrom and I successfuly
> installed in the dog-slow-pentium. I seems to work but it is slow as you
> said.
>

Can you post the output of dmesg?  Just curious.


> > 4) Disable the onboard IDE controller and install a SCSI controller and
> > disk, or even one of the caching IDE controllers.
> >
> > By the way - if you are willing to pay shipping, many of us
> have basements
> > full of junk computers that we don't use anymore that are undoubtedly
> > better than your P100.
>
> Thank you dear Ted for your offer. If I need it I will tell you in the
> future. This dog-pentium is a Fujitsu model that I hate, cause it is on
> a "landscape" shaped box (I do not know the english word, it is for
> staying on a table, and the monitor on top of it)

Usually referred to as a "low profile desktop" case.  If it's a case like
yours that won't take a standard motherboard, it's a "low profile
proprietary manufacturers case"

Generally you don't see these much because the newer ATX form factor,
requires too much room for the standard low-profile desktop
case to fit.  Also, nowadays at least in the US, the threat of workers
compensation lawsuits has pretty much got most larger companies to
throw away their older non-ergonomic office furniture.  The new office
furniture is designed for a keyboard and monitor to sit flat on the desk
and be at the correct height.  From a big companies point of view
they don't want the low-profile desktop cases because then the screen is
too high, and it can become a liability issue for repetitive stress
syndrome injury claims.

> and graphic card is
> buit-in on the motherboard. It is very difficult to work inside (there
> is no room)and make changes. It was a computer that a friend did not use
> and gave to me, to experiment. Another friend, is going to give me an
> old pentium 75 MHz soon, so I am praying for it not having a CMD 640
> controller :-)
> As you can see, I am collecting old machines just to play. I do the same
> with valve black and white TV sets. I have got my first TV with 35 years
> old working in a room at my house in the countryside :-)
>

:-)  I threw away the last black and white valve (tube) tv I had about 20
years
ago when I was in college.  And even then that TV was about 30 years old.

Ted

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


Re: new freebsd users list (unofficial)

2004-12-01 Thread Brian Bobowski
Chris Conn wrote:
Hi, I've started a small informal FreeBSD user's
list on yahoogroups. This list is not one of the
official FreeBSD lists, I just started it myself.
If you're interested you can subscribe here:
http://groups.yahoo.com/groups/freebsd-users
or send me mail and I'll add you.
Why yahoogroups: because that's all I've got :-).
If somebody can set up a better list for me (like
a majordomo or listserv list) I'd be interested.
I get tired of the ads, but they seem to have 
pretty good spam protection. 

Some background: I've been running FreeBSD at 
home for about 7 years, have been working at
AIX Technical Support in Austin,TX for about
the same amount of time, have been a listowner
of various running and technical lists for 14
years. FreeBSD is a hobby and educational thing
for me, and it is complimentary to my professional
life. I've been involved with Unix for most of
my adult life.

The idea of a small informal list may appeal to 
some, not to others. That's cool, send me mail 
if you're interested.
 

Not to knock your idea, but what's the perk of your particular list 
rather than, say, here or the -chat list? Give people something to look 
forward to. :)

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


Re: convert from scsi to IDE

2004-12-01 Thread J.D. Bronson
At 10:58 AM 12/01/2004, David Kelly wrote:
> umm..I have a freebsd install on a SCSI drive
> and I need to convert this to IDE.
>
> I have an issue with the fact that no matter what I do, if I install and
> IDE drive - the BIOS will always try to boot off of the IDE drive.
Ah! The "wonders" of the committee-designed PC architecture.
You say nothing of your motherboard BIOS or SCSI interface. The key as to
which drive is booted lies there. Then again there are ways around it.
Boot a FreeBSD Install CD and prepare the IDE drive. Most importantly
partition and install the bootmanager. Flush the work out to the drive.
Then on reboot item F5 should transfer the boot to the next drive. If the
next drive has the same FreeBSD boot manager it too will have an F5, and
so on until one gets back to the first where the loop continues. Each
drive remembers the prior use so after 5 or 10 seconds the first will
transfer to the next on your next reboot.
I suggest that you take this opportunity to clean up your system,
document, and update. Install a fresh 4.10 or 5.3 on the IDE drive. Take
notes while you do so. Once the FreeBSD things have been dealt with on the
IDE drive, mount the SCSI (if not already) and start copying your known
important stuff. Use the old drive as a reference for which ports need to
be installed. Take notes. The old drive is always there for things you
missed, and you *will* miss some things. Thats why you are taking notes.
At some point in the future you may have to rebuild the machine and not
have the original drive as a reference.
With the FreeBSD boot manager on the IDE drive you can painlessly reboot
to either your new IDE or old SCSI installation. At most /etc/fstab needs
touchup on each.
Thanks for the tips. I have a full fresh 5.3 install with all my tweaks and 
personality installed on the scsi. I am dumping to tape tonight.
What I might do is toss 2 IDE drives in there...do an install (mini) on the 
1...get it up and running and then run /stand/sysinstall on the 2nd drive 
and set it up, format it and then mount it. Then I can restore from tape 
onto the 2nd drive too.

I did that last year when I lost a hard drive :)
thanks again.

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The Adventures in Travel Expo - Winter Sports Pavillion

2004-12-01 Thread cwayne
Join us in January at the best places in the U.S. to meet winter sports 
enthusiasts ready to book on the spot - Adventures in Travel Expo (ATE)! 

ATE will attract 10-15,000 adventure fans at each location: Chicago, New York 
and Washington, DC. I am writing to you because I believe your company would 
benefit greatly from participating in these events. You will be in great 
company too! 

Skiers and snow sports enthusiasts in these high income, high population, high 
education metro areas like to hit the slopes year-round, so don’t think, 
because it is January, my selling season is over! The world’s most successful 
resort areas are already signed on to pick up incremental late winter/early 
spring business. Southern hemisphere resorts will be here booking year-round 
skiers who love to participate in their favorite sport all summer.  

What’s really exciting is that our on-site market research indicated that 
7,000+, over 30% of the consumer attendees who attended our January 04 expo 
were looking for a winter sports vacation within the year. At each January 05 
location, we have a fantastic Winter Sports Pavilion with dozens of 
ski/snowboarding destinations already represented, but don’t be left out. Just 
a few booths remain in each city.

Helping promote ATE are our partners who include National Geographic Adventure, 
CBS television, Chicago Tribune, New York Post and The Washington Post. This 
coalition of media giants share excitement at being part of the most successful 
travel shows in the USA and together will provide the power that you can use to 
crack this lucrative market.

Please drop me a line so we can discuss your participation in any or all of the 
great events. I’m looking forward to working with you soon.

All the best,

Chris Wayne
Sales Director
Adventures in Travel Expo

203-878-2577 x101
[EMAIL PROTECTED]

Chicago, January 7-9, 2005, Donald E. Stephens (Rosemont) Convention Center
New York, January 14-16, 2005, Jacob K. Javits Center
Washington, DC, January 28-30, 2005, Washington Convention Center

 


To be removed from this list, please send an email to [EMAIL PROTECTED]; use 
unsubscribe as the subject


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


Exim and FBSD 5.3

2004-12-01 Thread Joe Altman
I know it's an FAQ, and I know that strictly, it's likely to be a
DB/Exim issue, but I've tried the proposed solution[1] to no avail.

So:

I have a toy; it runs FBSD 5.3 and I would like to use Exim for local
and remote delivery.

In my system mail, I am seeing this error:

Tidying Exim hints databases:
   
Tidying Exim hints database /var/spool/exim/db/retry
** Failed to open DBM file /var/spool/exim/db/retry for writing:
   No such file or directory (or Berkeley DB error while opening)

I have this MTA running on a 4.x personal machine, and all is
well. However, it only does localhost delivery. I'd like to use the
5.3 box for internet mail for my domain. 

Running the MTA with the debug flag:

exim -d
Exim version 4.43 (FreeBSD 5.3) uid=0 gid=0 pid=95010 D=fbb95cfd
Probably Berkeley DB version 1.8x (native mode)

So it sees _something_ about the db. This output is what I see on the
4.x box WRT the db version.

The only thing I can think of that might have caused this is that
during the original installation, I installed Exim from a package on
CD, rather than building from source. But: "...that shouldn't
matter...", right?

My query: does anyone have exim on FBSD 5.3 running successfully, that
is, without the error I see? My guess is that the answer from someone
will be: "...of course." but I feel a need to ask.

Thanks in advance for any clues.

[1] Empty the /var/spool/exim/db/ dir; and let exim recreate the
relevant files.

-- 
The boys I mean are not refined they go with girls who buck and bite
who masturbate with dynamite; they do not give a shit for wit they
kill like you would take a piss...they shake the mountains when they
dance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can boot but not install from CDRom

2004-12-01 Thread Brock Gordon
Any thoughts?
 
I have acquired an on Toshiba Portege 3110. I caan boot 5.3-release on an 
external cdrom, go through the installation screens, but when I attempt to 
select installation media I get notification that no CDRom is found.
 
TIA,
 
-bg


-
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NVidia driver not using AGP?

2004-12-01 Thread Kenneth Culver
Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
On 12/01/04 10:44 AM, Kenneth Culver sat at the `puter and typed:
Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
 I wonder what the people who actually have this working are 
doing differently
from those of us who can't seem to get it to work.
I wish I knew.  I can't imagine it's hardware related beyond the NVidia
card itself.
One thing I didn't mention is my loader.conf settings:
linux_load="YES"
nvidia_load="YES"
That's it.
I don't think I really went to herculean lengths to get it right, I just
did what I assumed needed to be done based on a quick scan of the
readily available docs, aside from initially getting that AGP setting
wrong in the Xorg config of course.
When I initially built the drivers with AGP enabled, I was having
problems with the display.  One screen would look like it was having a
psychotic break, while the other stayed blank.  That may have been a
conflict between the two AGP drivers though.
Now that I'm a little more enlightened about it - being optomistic of
course - I think it would be ok to rebuild the drivers with the AGPGART
enabled, so long as I have the xorg config right.  The pain in the neck
comes with rebuilding the kernel without the FreeBSD agp.ko.
I can't just put a line in loader.conf to tell the kernel to leave agp
off, can I?  Something like 'agp_load="NO"'?  It does have to be a
rebuild kernel doesn't it?
Well I just updated to the latest stable today, and set everything to use the
nvidia agp driver, and it decided to start working. I'm just going to throw my
hands up and be glad it's working now.
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: convert from scsi to IDE

2004-12-01 Thread David Kelly
> umm..I have a freebsd install on a SCSI drive
> and I need to convert this to IDE.
>
> I have an issue with the fact that no matter what I do, if I install and
> IDE drive - the BIOS will always try to boot off of the IDE drive.

Ah! The "wonders" of the committee-designed PC architecture.

You say nothing of your motherboard BIOS or SCSI interface. The key as to
which drive is booted lies there. Then again there are ways around it.

Boot a FreeBSD Install CD and prepare the IDE drive. Most importantly
partition and install the bootmanager. Flush the work out to the drive.
Then on reboot item F5 should transfer the boot to the next drive. If the
next drive has the same FreeBSD boot manager it too will have an F5, and
so on until one gets back to the first where the loop continues. Each
drive remembers the prior use so after 5 or 10 seconds the first will
transfer to the next on your next reboot.

I suggest that you take this opportunity to clean up your system,
document, and update. Install a fresh 4.10 or 5.3 on the IDE drive. Take
notes while you do so. Once the FreeBSD things have been dealt with on the
IDE drive, mount the SCSI (if not already) and start copying your known
important stuff. Use the old drive as a reference for which ports need to
be installed. Take notes. The old drive is always there for things you
missed, and you *will* miss some things. Thats why you are taking notes.
At some point in the future you may have to rebuild the machine and not
have the original drive as a reference.

With the FreeBSD boot manager on the IDE drive you can painlessly reboot
to either your new IDE or old SCSI installation. At most /etc/fstab needs
touchup on each.



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


Re: NVidia driver not using AGP?

2004-12-01 Thread Louis LeBlanc
On 12/01/04 10:44 AM, Kenneth Culver sat at the `puter and typed:
> Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
>  
> 
> I wonder what the people who actually have this working are doing differently
> from those of us who can't seem to get it to work.

I wish I knew.  I can't imagine it's hardware related beyond the NVidia
card itself.

One thing I didn't mention is my loader.conf settings:
linux_load="YES"
nvidia_load="YES"

That's it.

I don't think I really went to herculean lengths to get it right, I just
did what I assumed needed to be done based on a quick scan of the
readily available docs, aside from initially getting that AGP setting
wrong in the Xorg config of course.

When I initially built the drivers with AGP enabled, I was having
problems with the display.  One screen would look like it was having a
psychotic break, while the other stayed blank.  That may have been a
conflict between the two AGP drivers though.

Now that I'm a little more enlightened about it - being optomistic of
course - I think it would be ok to rebuild the drivers with the AGPGART
enabled, so long as I have the xorg config right.  The pain in the neck
comes with rebuilding the kernel without the FreeBSD agp.ko.

I can't just put a line in loader.conf to tell the kernel to leave agp
off, can I?  Something like 'agp_load="NO"'?  It does have to be a
rebuild kernel doesn't it?

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Rune's Rule:
  If you don't care where you are, you ain't lost.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Proxy questions, etc

2004-12-01 Thread messmate
On Wed, 1 Dec 2004 09:54:20 -0600
"Darryl Hoar" <[EMAIL PROTECTED]> wrote:

>Greetings,
>I have a couple freebsd servers on my network.  I'm trying to solve the
>following
>problem:   Some users (don't know which) are accessing pornographic
>stuff. In addition, porno pop-ups are appearing on machines.
>
>Is it pratical to use a proxy server (squid ?) to try and prevent
>access to pornographic websites ?   From my reading on proxy's, it
>doesn't seem practical.
>
>How are others handling this issue ?
>
>thanks,
>Darryl
>
>
Add the squidguard package + squid.
You can also disabling the pop-ups in your browser.

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


convert from scsi to IDE

2004-12-01 Thread J.D. Bronson
umm..I have a freebsd install on a SCSI drive
and I need to convert this to IDE.
I have an issue with the fact that no matter what I do, if I install
and IDE drive - the BIOS will always try to boot off of the IDE drive.
Hence my issue.
So any thoughts on how I can boot on my SCSI drive and then setup and 
transfer over the data to the IDE drive?

I have done this perfectly in the reverse (IDE -> SCSI) - but not this way.
thanks-

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sio0/sio1 swap

2004-12-01 Thread Richard Williamson
I'm top posting because no one answered the original post
(included below).  I guess this means I'm starting over.

Ok, so I 

set console=vidconsole
boot -h

in my /boot/loader.rc .  This prevents the console messages
from being dumped to the 16x2 LCD.  But I've now lost any
output to the LCD, including the status messages that I 
send specifically (like, "The box is up" for example).

Not optimum.

Also, I've got our cli going to com2 as it should, which is
great.  It outputs a 'FreeBSD blurb' before giving me the
cli login prompt.  Similar to "FreeBSD/i386 (FP2) (ttyp0)"
which is what is dumped if you telnet in.  How do I get
rid of those? Is this what im in the gettytab is for
(initial banner messages).  Assumption made, will test
on next iteration.  

But I'm still in the dark about how to get the LCD screen
to output anything.  Attempts similar to

echo "blah" > /dev/ttyd0 

have no effect.  Calling the ap that is specifically written
to out the control codes for controlling the LCD followed
by the data to be written (this:  /bin/ttyd0_lcd blah snarf 
to output blah on the first line and snarf on the second) has
no effect on the LCD.  (It doesn't appear on com2 either). 
Suggestions?

Regards,
Richard


At 10:54 30/11/2004, you wrote:
>Hello,
>
>I've got a network box.  The motherboard (adlink 2000) has three
>"com" ports (that is what the screen print on the board says:
>com1, com2, com3.
>
>The box I was given for development has com1 wired up to the
>9pin port on the back of the housing, helpfully screen printed
>with 'COM1'.  com2 is wired to a Densan 16x2 LCD front panel
>display.   
>
>Development happened.
>
>Comes time for testing, and it turns out that the box I have
>is "miswired" vis-a-vis the sio ports.  Every other box by
>this manufacturer is wired com1 -> LCD, com2 -> COM1.
>
>My kernel configuration had this:
>
>a) device   sio0at isa? port IO_COM1 flags 0x10 irq 4
>a) device   sio1at isa? port IO_COM2 irq 3
>a) device   sio2at isa? disable port IO_COM3 irq 5
>a) device   sio3at isa? disable port IO_COM4 irq 9
>
>So now I'm trying to swap the ports at the kernel level so that
>the LCD control characters and data which went to the mb port 
>com2 (sio1) go to com2 (sio0), and the console output moves 
>from com1 (sio0) to com1 (sio1).
>
>I've tried
>
>b) device   sio0at isa? port IO_COM2 irq 3
>b) device   sio1at isa? port IO_COM1 flags 0x10 irq 4
>b) device   sio2at isa? port IO_COM3 irq 5
>b) device   sio3at isa? disable port IO_COM4 irq 9
>
>and 
>
>c) device   sio0at isa? port IO_COM2 irq 3
>c) device   sio1at isa? port IO_COM1 flags 0x30 irq 4
>c) device   sio2at isa? port IO_COM3 irq 5
>c) device   sio3at isa? disable port IO_COM4 irq 9
>
>The b) lines resulted in no console output (bad), but serial login on 
>the 9pin COM1 housing port (good) but no LCD output (bad)
>
>the c) lines resulted in no console output, no serial login on
>COM1, and no LCD output (bad, bad, bad).
>
>Is this going to require more changes, elsewhere? And shouldn't
>the b (or c) lines do what I want (console output, serial login and
>LCD output)?  Help?
>
>TIA,
>rip
>
>
>___
>[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: Internet Streaming

2004-12-01 Thread Kevin Smith
I tried building the port for Amarok on 5.3-Release and when I run it 
all I get is the startup logo and no UI.  This happens on either KDE or 
Gnome desktops.  Do you have this running on 5.3 ?

-K
Huw Wynn-Jones wrote:
On Tuesday 30 November 2004 21:49, Rem Roberti wrote:
 

Forgive me if that has been asked before (I forgot how to access
the archives), but I would appreciated advice on finding a program
for listening to audio streaming over the internet.  Streaming
video is not important.
Thank you.
Rem
   

Try Amarok. It's a music player for KDE and it'll play all your music 
files and any internet streams you want.

It's a great piece of software. I don't think you will find any 
better.

cheers
Huw
___
[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: DSL Disconnects

2004-12-01 Thread Scott Mitchell
On Wed, Dec 01, 2004 at 07:34:29AM -0800, bryan cassidy wrote:
> Hello. My ISP is through Bellsouth FastAccess DSL and
> I am trying to get my connection to stay up without
> disconnected and having to run /etc/netstart everytime
> it disconnects. I am very confused about how
> connections are in general. I think it is a PPPoE. I
> have to use a user name and password to connect. I
> have a static IP address if that matters. This is what
[...]
> And this in rc.conf
> 
> gateway_enable="YES"
> hostname="localhost.localdomain"
> portmap_enable="NO"
> network_interfaces="auto"
> rwhod_enable="YES"
> ppp_enable="YES"
> ppp_profile="pppoe"
> ppp_mode="direct"
> pccard_ifconfig="DHCP"
> dhcp_program="/sbin/dhclient"

It's been a long time since I used PPP, and I've never had to deal with
PPPoE, but if you want to reconnect automatically when the link goes down
you probably want to run ppp in 'ddial' mode, ie:

ppp_mode="ddial"

This will bring the link up the first time you try to send any data over it
and try to bring it back up again if it ever drops.

Hopefully someone else can help you stop the connection from dropping in
the first place :-)

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


new freebsd users list (unofficial)

2004-12-01 Thread Chris Conn
Hi, I've started a small informal FreeBSD user's
list on yahoogroups. This list is not one of the
official FreeBSD lists, I just started it myself.

If you're interested you can subscribe here:

http://groups.yahoo.com/groups/freebsd-users

or send me mail and I'll add you.

Why yahoogroups: because that's all I've got :-).
If somebody can set up a better list for me (like
a majordomo or listserv list) I'd be interested.
I get tired of the ads, but they seem to have 
pretty good spam protection. 

Some background: I've been running FreeBSD at 
home for about 7 years, have been working at
AIX Technical Support in Austin,TX for about
the same amount of time, have been a listowner
of various running and technical lists for 14
years. FreeBSD is a hobby and educational thing
for me, and it is complimentary to my professional
life. I've been involved with Unix for most of
my adult life.

The idea of a small informal list may appeal to 
some, not to others. That's cool, send me mail 
if you're interested.


=




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Proxy questions, etc

2004-12-01 Thread Darryl Hoar
Greetings,
I have a couple freebsd servers on my network.  I'm trying to solve the
following
problem:   Some users (don't know which) are accessing pornographic stuff.
In addition, porno pop-ups are appearing on machines.

Is it pratical to use a proxy server (squid ?) to try and prevent access to
pornographic websites ?   From my reading on proxy's, it doesn't seem
practical.

How are others handling this issue ?

thanks,
Darryl


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


Re: DSL Disconnects

2004-12-01 Thread Ed Budd
bryan cassidy wrote:
Hello. My ISP is through Bellsouth FastAccess DSL and
I am trying to get my connection to stay up without
disconnected and having to run /etc/netstart everytime
it disconnects. I am very confused about how
connections are in general. I think it is a PPPoE. I
have to use a user name and password to connect. I
have a static IP address if that matters. This is what
I have in /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 15 28800
 set reconnect 15 28800
pppoe:
 set device PPPoE:xl0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set authname [EMAIL PROTECTED]
 set authkey password
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
 add default HISADDR# Add a
(sticky) default route
 enable dns
And this in rc.conf
gateway_enable="YES"
hostname="localhost.localdomain"
portmap_enable="NO"
network_interfaces="auto"
rwhod_enable="YES"
ppp_enable="YES"
ppp_profile="pppoe"
ppp_mode="direct"
pccard_ifconfig="DHCP"
dhcp_program="/sbin/dhclient"
Not sure what should be added and/or removed.
Try disabling lqr (i.e. 'disable lqr') and/or lowering the mtu setting 
(e.g. 1448) and removing the mru line and see if that helps. I've read 
somewhere (sorry can't remember where - try google) that some Telco 
equipment acts flaky with lqr enabled and the mtu set to max 1492.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NVidia driver not using AGP?

2004-12-01 Thread Kirk Strauser
On Wednesday 01 December 2004 00:02, Louis LeBlanc wrote:

> There are still the EnableVia4x, EnableALiAGP, EnableAGPSBA, and
> EnableAGPFW settings that appear to be off (0).  Not sure what these
> are yet; I wonder if they're mentioned in the Linux doc.

Yep - they're all described in detail there.  Some of the settings could 
potentially make your card quite a bit faster, but they're not universally 
compatible so they're off by default.
-- 
Kirk Strauser


pgpschbTPwZC9.pgp
Description: PGP signature


Re: NVidia driver not using AGP?

2004-12-01 Thread Kenneth Culver
Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
On 11/30/04 01:22 PM, Kenneth Culver sat at the `puter and typed:
Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
> On 11/30/04 11:27 AM, Kenneth Culver sat at the `puter and typed:
>> Quoting Louis LeBlanc <[EMAIL PROTECTED]>:
>>
>> > 
> I'll post the result tonight.
>
> Thanks for straightening me out there!
>
No problem. Sorry if I seemed rude.
Not at all!  I'm sure I have better things to do than get overly
sensitive when someone brings a firm hand to straighten me out -
especially when I really *am* wrong and just can't seem to interpret
the data in front of my nose.  It's not like you were being insulting,
so no worries :)
Anyway, as promised, I changed the xorg.conf setting in my card setup
as follows (Sorry it's so late):
Option "NvAGP" "2"
and restarted Xorg.  Now, I have this:
# sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0x1f000e1b:0x1f004302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: freebsd (agp.ko)
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module  1.0-6113 
Mon Aug  2 16:08:32 PDT 2004
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.cards.0.model: GeForce FX 5200
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 04.34.20.22.bf
hw.nvidia.cards.0.type: AGP

Correct me if I'm wrong, but it looks like I really AM using AGP now,
and at the full 8x acceleration.
You know, it does look like Firefox is rendering images a little
faster now - ever so slightly.  Switching Fvwm pages seems to render
windows a good bit faster.  Most noticeable when switching from an
empty page (no windows) into one with Firefox running.
Switching Fvwm desktops doesn't seem much faster than before - don't
get me wrong, it beats the pixels off my old system, but not much
faster than before turning agp on.  Of course, it's rendering a
1560x1024 wallpaper, so . . .
There are still the EnableVia4x, EnableALiAGP, EnableAGPSBA, and
EnableAGPFW settings that appear to be off (0).  Not sure what these
are yet; I wonder if they're mentioned in the Linux doc.  I wonder if
the nvidia-settings port will tweak these or if I have to have the NV
AGPGART working to get them on - assuming I want them on . . .
On top of that, I noticed that the agp.card.fw is "supported" but the
status is "disabled".  I wonder what's up with that?
It's probably not important, but I also noticed the FlatPanelMode
setting is 0, even though both my monitors are flat panels - probably
because they're both VGA plugs, and "FlatPanel" actually means Digital
Video Interface (DVI).
Looks like the agp.ko support does work for some NVIDIA boards, just
not all of them.
Well, it'll be the weekend before I can give the NVidia AGPGART driver
a go because I'll have to rebuild the kernel without the agp device,
and then only if the boss (the weekend boss) gives me time to play -
honeydo list is getting long.  If I can get to it, I'll post those
results too.
Thanks again Kenneth, for setting me right with this.
Lou
I wonder what the people who actually have this working are doing 
differently
from those of us who can't seem to get it to work.
Ken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: limiting ssh login attempts by ip

2004-12-01 Thread Kevin D. Kinsey, DaleCo, S.P.
csnyder wrote:
I've noticed a marked increase in dictionary attacks against sshd
lately -- tens or even hundreds of connection attempts from the same
IP address within a short timespan.
I wrote a script that creates firewall rules to drop packets from IPs
with more than n login failures over the last 10 minutes, but it's a
half-measure -- in the minute it takes for cron to get to it, an
attacking script can try a lot of different passwords, even with
MaxStartups set low.
How do you protect your servers from this kind of attack? Especially
on where you can't enforce a strict password policy or make everyone
use keys?

I have mentioned before that I use tcpwrappers
(somewhat against the comment in /etc/hosts.allow)
to only allow sshd to accept connections from
known IP addresses on all my servers save
one.
If for some reason I'm on a "foreign" network
and need to get in, I have to go through the
open box to get to the others.  (I can see that
this might not work so well if you have dozens
of people who need sshd access)
But, like Lowell says, this doesn't seem to be
the most effective attack, as it generally is
trying a few combinations for "admin", a few
for "root", etc., and then moving on ... I'm
not sure how much effort you need to expend
on it; although if you're running a lot of shell
services to the outside, I can feel some of your
pain
HTH,
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nvidia drivers do not want to work Sony-Vaio PCG-GRT100 FreeBSD 5.3 Release

2004-12-01 Thread dkouroun
Dear FreeBSD users,
 I tried and tried and tried again to make Nvidia Drivers
 work on my Laptop(Sony-Vaio PCG-GRT100), with Release 5.3.
 I followed all the instrunctions in the README.
 I am sending you my 
 /boot/loader.conf
 /boot/defaults/loader.conf
 kernel-config: SONY-VAIO-NVIDIA
 my xorg.conf,
 my Xorg.0.log
 my kldstat output.
 
 you can find averything in the attached tarball!
 Any ideas?

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


DSL Disconnects

2004-12-01 Thread bryan cassidy
Hello. My ISP is through Bellsouth FastAccess DSL and
I am trying to get my connection to stay up without
disconnected and having to run /etc/netstart everytime
it disconnects. I am very confused about how
connections are in general. I think it is a PPPoE. I
have to use a user name and password to connect. I
have a static IP address if that matters. This is what
I have in /etc/ppp/ppp.conf

default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 15 28800
 set reconnect 15 28800

pppoe:
 set device PPPoE:xl0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set authname [EMAIL PROTECTED]
 set authkey password
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
 add default HISADDR# Add a
(sticky) default route
 enable dns

And this in rc.conf

gateway_enable="YES"
hostname="localhost.localdomain"
portmap_enable="NO"
network_interfaces="auto"
rwhod_enable="YES"
ppp_enable="YES"
ppp_profile="pppoe"
ppp_mode="direct"
pccard_ifconfig="DHCP"
dhcp_program="/sbin/dhclient"


Not sure what should be added and/or removed.



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gvinum stale

2004-12-01 Thread Uroš Gruber
Hello!
I just setup RAID1 mirroring with gvinum on FreeBSD 5.3 release.
This is my message
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk swap.p0.s0 is up
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk root.p0.s0 is up
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk var.p0.s0 is up
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk usr.p0.s0 is up
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk swap.p1.s0 is stale
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk root.p1.s0 is stale
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk var.p1.s0 is stale
Dec  1 16:11:38 morana kernel: GEOM_VINUM: subdisk usr.p1.s0 is stale
When I was adding second disk and use start all subdisk was up and I 
also check it with fsck, but after shutdown -r now, second disk goes in 
stale state. If I try to start again it fails with error

gvinum -> start var.p1.s0
gvinum: can't start: cannot start 'var.p1.s0'
What can be done here. On some other machine same setup steps works ok.
regards,
Uros
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Qpopper errors

2004-12-01 Thread Gene
Diver wrote:
So, anybody don't know what is this? :(
 

A Posting...(Finally - one I can answer !!!)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Qpopper errors

2004-12-01 Thread Gene
Diver wrote:
So, anybody don't know what is this? :(
 

Ah...Uhh... a list posting?
Ah suspects sometin' is misin' !
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error Message on Boot

2004-12-01 Thread Tom Connolly
Hello List,
Does anyone know why I'm getting the following message?
 
sm-mta[441]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0:
server SMTP socket wedge: exiting
 
I started getting this message after installing gonome-hacker-tools so I
uninstalled it but I'm still getting this message.
 
Thanks,
Tom
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: The results of your email commands

2004-12-01 Thread Daniel Bye
Gah!  Sorry, folks.  Plum fingers, or something...  ~blush

On Wed, Dec 01, 2004 at 06:23:05AM -0800, [EMAIL PROTECTED] wrote:
> The results of your email command are provided below. Attached is your
> original message.

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpWyAO9tBG4f.pgp
Description: PGP signature


Re: limiting ssh login attempts by ip

2004-12-01 Thread Lowell Gilbert
csnyder <[EMAIL PROTECTED]> writes:

> I've noticed a marked increase in dictionary attacks against sshd
> lately -- tens or even hundreds of connection attempts from the same
> IP address within a short timespan.

That's not enough attempts to qualify as a dictionary attack.  Based
on what I've seen on my own machine, it seems to be trying "default"
passwords from some particular Linux distribution.  I keep an eye on
them, and make sure that the targeted accounts don't have valid
passwords at all, but mostly I ignore them.

> I wrote a script that creates firewall rules to drop packets from IPs
> with more than n login failures over the last 10 minutes, but it's a
> half-measure -- in the minute it takes for cron to get to it, an
> attacking script can try a lot of different passwords, even with
> MaxStartups set low.

And on the other hand, you're opening up the possibility of an attack
where somebody deliberately makes your system inaccessible from some
other system which they can either access or spoof.

> How do you protect your servers from this kind of attack? Especially
> on where you can't enforce a strict password policy or make everyone
> use keys?

I don't worry about it too much.  Most of the attempts are against
system accounts which can't log in from the network on my machine
anyway.  If my legitimate user accounts were getting hit that way, 
I would do more about it, but these are clearly not focused attacks 
on my machine.

Be well.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MYSQL connection problem (SOLVED)

2004-12-01 Thread Daniel Bye
On Wed, Dec 01, 2004 at 10:40:14AM -0300, [EMAIL PROTECTED] wrote:
> YSS !!! IT WORKED !!
> 
> Thanks a million Daniel.
> 
> What exactly does with-liwrap do?

It causes the MySQL package to be linked against the libwrap library -
which is used for host access control through the /etc/hosts.allow
mechanism.  For this reason, now you have MySQL built without it, you
should use some other means of controlling where connections are allowed
from.

Check out hosts_access in section 3 of the manual for more details.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpue9QFd7nmA.pgp
Description: PGP signature


Re: mergemaster -i

2004-12-01 Thread csnyder
Gert Cuykens wrote:

>can someone make a options i install everything so you don't have to
>push 58 times i enter i enter i enter i enter :) drives me nuts

An improvement to this process is hinted at in Gentoo's etc-update
script -- it shows you a big list of files, and each has a number.
>From the readline that follows, you can discard or manually merge
numbers 2, 5, 26, and 230, and then have the rest of the list merge
automatically, without being prompted.

It's practically civilised.


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


You have been unsubscribed from the freebsd-announce mailing list

2004-12-01 Thread owner-freebsd-announce

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


Re: Mp3, Ogg Players on 5.3

2004-12-01 Thread Seahawk


You might want to also take a look at the Neuros (www.neurosaudio.com),
I haven't had any problems playing ogg files on mine and some people have
posted to the sites forums about having gotten it to work under Linux and
FreeBSD, though I haven't gotten around to trying to set mine up yet.



On Tue, 30 Nov 2004, Huw Wynn-Jones wrote:

> Hello,
>
> I'm thinking about buying a portable ogg player for xmas but i can't
> seem to get clear info from the various shop sites.
>
> Does anyone know a player which works with FreeBSD 5.3? Can I just buy
> anyone I want and then transfer files across as if it were usb
> storage or do these players have special transfer software? I've seen
> that most of the players only come with windows software, so I don't
> want to be stuck with a player that won't talk to my os.
>
> Thanks
>
> Huw
> ___
> [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]"


cvsup & http proxy problems

2004-12-01 Thread v . demartino2
On a pentium box with FreeBSD 5.3 stable behind a proxy which needs 
authentication
I'm able to download the ports I need & compile them. To do so, you correctly
suggested in this ML to put the following lines in /etc/make.conf

FETCH_ENV= FTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080
FETCH_ENV= HTTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080
FETCH_ENV= FTP_PASSIVE_MODE=http://myuser:[EMAIL PROTECTED]:8080

Well they work.

Unfortunately, when I issue the following command the anwer is as below

VicBSD# cvsup -g -L 2 /root/ports-supfile
Parsing supfile "/root/ports-supfile"
Unknown host "cvsup.it.FreeBSD.org"

(BTW, in /etc/resolv.conf there are the right DNS IPs)
I have read the docs which say that cvsup uses the same definition for proxies
of fetch.

What should I do?
Thanks
Vittorio



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


RE: FreeBSD bridge + filtering, BIG problem

2004-12-01 Thread Clément MOULIN

Pyun YongHyeon wrote:
>Both pf and ipf can't create *states* in bridge mode. That restriction
comes from bridge(4). Since pf/ipf couldn't create states it will drop the
packet when it thinks the packet is in out of TCP window.
>
>If you want to use pf/ipf in bridge mode, don't use stateful inspection.
>One more note: filtering works only for inbound traffics in bridge mode.


If you're right, it SHOULD really be specified in bridge(4), but I'm not
very sure about this, since I see states with pfctl and no packets are
dropped in my case (except maybe in scp from internet to sr01) !

Finally, I have found the main problem. Both for ipf/pf, I have to set
sysctl "net.link.ether.bridge.ipf" to 1... That does'nt exists on FreeBSD
4X. After that, incoming traffic is filtered (accounting works, blocking
rules too).
We REALLY need to specify this in FreeBSD handbook (sections 14.9 -
firewalls and 24.5.4 - bridging) and Migration Guide of 5X, since it could
be a big security hole.

My last problem is that scping from sr01 to internet that stalled after
144KB exactly (internet to sr01 works) ! This is a pf issue, since it occurs
only when pf is enabled.


--
Clement Moulin
SimpleRezo - Simplifiez-vous le reseau !
Web: http://www.simplerezo.com/


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


Re: How to capture "make installworld" error during migration from 5.1 to 5-Stable?

2004-12-01 Thread Christian Hiris
On Wednesday 01 December 2004 07:05, Stacey Roberts wrote:
> Hello Christain,
>
> - Original Message -
> From: "Christian Hiris <[EMAIL PROTECTED]>"
> To: To [EMAIL PROTECTED]
> Date: Wed, 01 Dec, 2004 05:40 GMT
> Subject: Re: How to capture "make installworld" error during migration from
> 5.1 to 5-Stable?
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Wednesday 01 December 2004 02:12, Stacey Roberts wrote:
> > > Okay.., I've just scripted the output from "make installworld" at step
> > > 15 of the migration guide, and its failed as before.
> > >
> > > I've got the output redirected to a file: /var/tmp/installworld.log,
> > > however, I'm in single-user mode, and nothing works: ls, mount, etc..,
> > > how do I get this file off this system so that I can post it to the
> > > list for assistance?
> > >
> > > At this point, I can (manually) show the last bit of the failed attempt
> > > for make installworld:
> > >
> > > ===> bin/test
> > > install -s -o root -g wheel -m 555  test /bin
> > > install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1
> > > pid 45090 (sh), uid 0: exited on signal 10 (core dumped)
> > > *** Signal 10
> > > Stop in /usr/src/bin/test.
> > > *** Error code 1
> > > Stop in /usr/src.
> > > *** Error code 1
>
> I've managed to get the log file off the machine. I've attached it here in
> gzipped format for anyone that is able (including yourself, if you like) to
> be able to look at it in its entirety.
>
> > This eventually points out a problem in your memory or harddisk
> > subsystem, I had such errors on incompatible disk controllers starting at
> > 5.1. This kind of errors silently destroyed the data on my system
> > (happened with HPT onboard controllers on an Via-KT600 board). Double,
> > better, triple fsck your filesystems and check CFLAGS and COPTFLAGS
> > settings in /etc/make.conf.
>
> I've found that I can reboot the system into multiuser mode, however there
> *are* lots of programs core-dumping all over the place (sendmail, exited on
> signal 11 - for instance)..,

This happens because you install target fails and there are a lot of old 
binaries installed on your system. 

>
> > Did you set your kernel timezone with "adjkerntz -i"?
>
> Yes.., followed the migration guide to the letter, save for scripting step
> 15 as I originally asked about here..,
>
> I'm actually preparing to head off-site here at present, but will get back
> to this later on today.., hopefully there'd be more information on the
> situation after examination of the log file output by a kind soul..,

The only thing I can find, is that the install of the test man page fails. I 
can't tell you why this happens. Maybe there is a problem with removing your 
old test.1.gz (ie. disk access error). 
First I would try to manually remove the test man-page by the command  
"/bin/rm  /usr/share/man/man1/test.1.gz" and run the install target again.

If the install target still fails with test.1.gz, have a closer look 
on /usr/obj/usr/src/bin/test/test.1.gz. I attached 5.3 version of it as of 
Nov, 26th.

# cd /usr/obj/usr/src/bin/test
# ls -l
total 24
-rw-r--r--  1 root  wheel  1800 Nov 26 16:14 .depend
-rwxr-xr-x  1 root  wheel  9839 Nov 26 16:21 test
-rw-r--r--  1 root  wheel  2654 Nov 26 16:21 test.1.gz
-rw-r--r--  1 root  wheel  6708 Nov 26 16:21 test.o
#

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MYSQL connection problem

2004-12-01 Thread Daniel Bye
On Wed, Dec 01, 2004 at 08:23:51AM -0300, [EMAIL PROTECTED] wrote:
> Hello Everyone;
> 
> I have two machines:
> 
> 1) Free 4.10 / mysql (5.0.0) listening on port 5006
> 
> 2) Free 5.3 Release / mysql (5.0.0) listening on port 5007
> 
> On both, no firewalls, blocks or anything of that sort. Both machines
> have the same configuration.  Both mysql were compiled from the ports
> with the same options. The only difference between the two machines is
> the Free version and port mysql is listening on.

[---snip---]

> I can only connect on machine 2) if I use a mysql.sock file. Any attempt
> to connect via TCP/IP doesn?t work !! command line client, java
> connectors (all possible versions) none work.
> 
> I?ve been into every single link google returned to me on the ERROR 2013
> above for 2 days now and none of them had any info to get this working.
>  Believe me, I tried every hint of suggestion there was.

I had similar problems recently.  Edit the port's Makefile, removing the
line:

--with-libwrap \

and rebuild the port.

This worked for me - but there is probably a better way to deal with it.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpBBSrDpkmNi.pgp
Description: PGP signature


Re: mustek scanner Bearpaw 1200TA : Operation not supported

2004-12-01 Thread Brian Bobowski
Lin Tzu-yau wrote:
I have tried for days ,but still not working
1. dmesg message
uscanner0: Mustek Systems USB Scanner, rev 1.10/1.00,
addr 2
2. proper firmware
/usr/local/share/sane/gt68xx
-rwxr-xr-x  1 root  wheel  8118 12  1 11:46 A1fw.usb
3. test scannerscanimage -L
device `gt68xx:/dev/uscanner0' is a Mustek BearPaw
1200 TA flatbed scanner
4. not working?
scanimage > /tmp/test
scanimage: open of device gt68xx:/dev/uscanner0
failed: Operation not supported
Can someone give me any advice for make it work?
Thanks for your reply first
 

This may be overly basic, but do you as the user have permissions to 
access the scanner device?

I am not an expert here(couldn't get my own Compaq to work during the 
brief time I fiddled with it), and I'm not even sure what permissions 
you'd need, but you might need write permission to actually send the 
scanner commands, which if you're running as other than root you don't 
have. If you're in wheel, try setting group write permissions on the 
device(chmod 755 /dev/uscanner0 for a test? and in the device hints file 
to have it remembered for the future).

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


Re: Can 10M Buffer Ceiling be lowere?

2004-12-01 Thread Brian Bobowski
Kris Kennaway wrote:
On Wed, Dec 01, 2004 at 03:27:11AM +, [EMAIL PROTECTED] wrote:
 

A technical question:
I have an old NEC computer (c. 1997) running 5.3-RELEASE with
48M of RAM.  Getting a new computer isn't an option right now, but
I would like to get as much out of my memory as possible.
My /boot/kernel/kernel file is about 3M, and from the initial
boot: 
		real memory  = 50331648 (48 MB)
		avail memory = 43896832 (41 MB)
it appears this kernel takes up about 7M of memory with one screen saver
kld loaded.  With a few unneeded services (cron, sendmail) disabled, I
start off with about 26M free after a fresh reboot with just root logged in,
running `top'.  Looking at top, I noticed:

   Mem: 4320K Active, 15M Inact, 12M Wired, 10M Buf, 11M Free
^^^
From TOP(1):
   Buf: number of pages used for BIO-level disk caching
Actually, the 10M is after some disk usage (it starts ~6M).
It never gets above 10M.  Is there anyway to adjust this, to
(say) a maximum of 5M?  Yes, a new 256 MB RAM system would be nice,
but until then, I would like to avoid serious paging running xclock :)
Thanks,
   

There's no point, that memory will be used if demanded.  Note that you
still have 11M free in your example, so throwing away 6MB that is used
for caching would only *reduce* performance.
Kris
 

Stated otherwise, I recall reading that FreeBSD considers unused memory 
to be wasted memory. If you had other stuff taking up memory, it might 
not use that much for caching; as it is, though, it's only taking 
advantage of memory which is otherwise just sucking up power to keep 
ready. Its activity, based on this, is causing you no harm. (I don't 
know if my 32MB machine, which reports 440K free from top, is suffering 
as a result, but I've certainly not noticed any difficulty when loading 
web pages that couldn't be as adequately explained by the relatively 
slow 166MHz CPU.)

Also note that cron is responsible for such things as the routine system 
checks; if you really insist on disabling cron, you might need to audit 
your system a bit more aggressively.

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


Re: MYSQL connection problem (added info)

2004-12-01 Thread David Jenkins
On Wed, 1 December, 2004 12:16, [EMAIL PROTECTED] said:
> Adding the tcpdump output after changing mysqld to port 5004 (just a
> try :(( ) and issuing:
>
> [~]>mysql --port=5004 --host=127.0.0.1 --user=xxx database -p
>
>
> [~]>tcpdump -vv -i lo0 port 5004
> tcpdump: listening on lo0, link-type NULL (BSD loopback), capture size
> 96 bytes
>
> 08:57:04.755597 IP (tos 0x0, ttl  64, id 5384, offset 0, flags [DF],
> length: 64) localhost.58972 >
> localhost.5004: S [tcp sum ok] 1832068379:1832068379(0) win 65535  16344,nop,nop,sackOK,nop,wscale 1,nop,nop,timestamp 77449669 0>
>
> 08:57:04.755654 IP (tos 0x0, ttl  64, id 5385, offset 0, flags [DF],
> length: 64) localhost.5004 >
> localhost.58972: S [tcp sum ok] 87927240:87927240(0) ack 1832068380
> win 65535  1,nop,nop,timestamp 77449669 77449669,nop,nop,sackOK>
>
> 08:57:04.755685 IP (tos 0x0, ttl  64, id 5386, offset 0, flags [DF],
> length: 52) localhost.58972 >
> localhost.5004: . [tcp sum ok] 1:1(0) ack 1 win 35840
> 
>
> 08:57:04.756399 IP (tos 0x0, ttl  64, id 5387, offset 0, flags [DF],
> length: 52) localhost.5004 >
> localhost.58972: F [tcp sum ok] 1:1(0) ack 1 win 35840
> 
>
> 08:57:04.760855 IP (tos 0x8, ttl  64, id 5388, offset 0, flags [DF],
> length: 52) localhost.58972 >
> localhost.5004: . [tcp sum ok] 1:1(0) ack 2 win 35840
> 
>
> 08:57:04.761035 IP (tos 0x8, ttl  64, id 5389, offset 0, flags [DF],
> length: 52) localhost.58972 >
> localhost.5004: F [tcp sum ok] 1:1(0) ack 2 win 35840
> 
>
> 08:57:04.761067 IP (tos 0x0, ttl  64, id 5390, offset 0, flags [DF],
> length: 52) localhost.5004 >
> localhost.58972: . [tcp sum ok] 2:2(0) ack 2 win 35839
> 
>
> 7 packets captured
> 7 packets received by filter
> 0 packets dropped by kernel
>
>
> I hope this helps,
>
> --
>//|  //||
>   // | // ||
> -//--//---|| ARIO LOBO
> //  //||
> -
> [EMAIL PROTECTED]
> http://www.ipad.com.br
>
>
>
> -- First post /*
>
> =I have two machines:
>
> 1) Free 4.10 / mysql (5.0.0) listening on port 5006
>
> 2) Free 5.3 Release / mysql (5.0.0) listening on port 5007
>
> On both, no firewalls, blocks or anything of that sort. Both machines
> have the same configuration.
> Both mysql were compiled from the ports with the same options. The
> only difference between the two
> machines is the Free version and port mysql is listening on.
>
> Here are the outputs of the following commands on machine 1):
>
>>telnet localhost 5006
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 9
> 5.0.0-alpha}l'zRjBG,!js%Zxl6f"p3
> (after a few seconds...)
> Connection closed by foreign host.
>
> -
>
>>mysql -u root -P 5006 -h 127.0.0.1 -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 8 to server version: 5.0.0-alpha
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
>
> **
> Now, here are the outputs of the same commands on machine 2):
>
> ]>telnet localhost 5007
> Trying ::1...
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host. (no wait for this line to show!)
>
>>mysql -u root -P 5007 -h 127.0.0.1 -p
> Enter password:
> ERROR 2013 (HY000): Lost connection to MySQL server during query
> (no wait for the above line to show either!)
>
> **
>
> I can only connect on machine 2) if I use a mysql.sock file. Any
> attempt to connect via TCP/IP
> doesn´t work !! command line client, java connectors (all possible
> versions) none work.
>
> I´ve been into every single link google returned to me on the ERROR
> 2013 above for 2 days now and
> none of them had any info to get this working. Believe me, I tried
> every hint of suggestion there
> was.
>
> I really hope someone here has any clues to what is going on.
>
> I´ve posted this to hackers but no clues so far.

I may (and probably am!) be way off on this but could you post the
contents of /etc/hosts and /etc/resolv.conf for both machines please.

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


Re: mergemaster -i

2004-12-01 Thread Ruben de Groot
On Wed, Dec 01, 2004 at 12:06:28PM +0100, Gert Cuykens typed:

> > /usr/src/UPDATING (you *do* read that before updating, don't you?).  :-)

> /usr/src/UPDATING i would if it had more pictures in it :)
> 
> can we have a mergemaster -d then who deletes everything.

write a small shell-script to do this for you:

#!/bin/sh
for file in `find /usr/src/etc -type f`; do
  delete=`echo $file | sed 's/\/usr\/src//'`
  rm -f $delete
done

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


Re: ndis driver adapter layer for FreeBSD?

2004-12-01 Thread Brian Bobowski
stan wrote:
On Tue, Nov 30, 2004 at 05:29:52PM -0600, Dan Nelson wrote:
 

man ndis, ndiscvt
   

Hmm, 

$ man ndis
No manual entry for ndis
[EMAIL PROTECTED]:/home/stan
$ man ndiscvt
No manual entry for ndiscvt
Must be a 5.x feature?
In any case, thnaks for the pointer. I guess it's time to build a 5.x
machine. Is 5.x ready for laptop type hardware? The last time I tried
that branch it was not ready for prime time, but that was a few months
back.
If you don't have something installed you might not have the man page 
for it installed either, especially if ports are concerned; try 
searching the manual at http://www.freebsd.org/cgi/man.cgi
However, in this case, it seems you're correct; I searched under 
4.9-RELEASE and 4.10-RELEASE(you didn't say what version you have) and 
didn't find it, then discovered under 5.3-RELEASE, in the HISTORY 
section, that 5.3 is the first release to include it.

Nevertheless, thought I'd mention that the website man pages are useful 
for looking up software you don't have installed; it can help identify 
whether it is available, and if so, whether it can do what you want.

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


MYSQL connection problem (added info)

2004-12-01 Thread mario . lobo
Adding the tcpdump output after changing mysqld to port 5004 (just a try :(( ) 
and issuing:

[~]>mysql --port=5004 --host=127.0.0.1 --user=xxx database -p


[~]>tcpdump -vv -i lo0 port 5004
tcpdump: listening on lo0, link-type NULL (BSD loopback), capture size 96 bytes

08:57:04.755597 IP (tos 0x0, ttl  64, id 5384, offset 0, flags [DF], length: 
64) localhost.58972 >
localhost.5004: S [tcp sum ok] 1832068379:1832068379(0) win 65535 

08:57:04.755654 IP (tos 0x0, ttl  64, id 5385, offset 0, flags [DF], length: 
64) localhost.5004 >
localhost.58972: S [tcp sum ok] 87927240:87927240(0) ack 1832068380 win 65535 


08:57:04.755685 IP (tos 0x0, ttl  64, id 5386, offset 0, flags [DF], length: 
52) localhost.58972 >
localhost.5004: . [tcp sum ok] 1:1(0) ack 1 win 35840 

08:57:04.756399 IP (tos 0x0, ttl  64, id 5387, offset 0, flags [DF], length: 
52) localhost.5004 >
localhost.58972: F [tcp sum ok] 1:1(0) ack 1 win 35840 

08:57:04.760855 IP (tos 0x8, ttl  64, id 5388, offset 0, flags [DF], length: 
52) localhost.58972 >
localhost.5004: . [tcp sum ok] 1:1(0) ack 2 win 35840 

08:57:04.761035 IP (tos 0x8, ttl  64, id 5389, offset 0, flags [DF], length: 
52) localhost.58972 >
localhost.5004: F [tcp sum ok] 1:1(0) ack 2 win 35840 

08:57:04.761067 IP (tos 0x0, ttl  64, id 5390, offset 0, flags [DF], length: 
52) localhost.5004 >
localhost.58972: . [tcp sum ok] 2:2(0) ack 2 win 35839 

7 packets captured
7 packets received by filter
0 packets dropped by kernel


I hope this helps,

--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br



-- First post /*

===

I have two machines:

1) Free 4.10 / mysql (5.0.0) listening on port 5006

2) Free 5.3 Release / mysql (5.0.0) listening on port 5007

On both, no firewalls, blocks or anything of that sort. Both machines have the 
same configuration.
Both mysql were compiled from the ports with the same options. The only 
difference between the two
machines is the Free version and port mysql is listening on.

Here are the outputs of the following commands on machine 1):

>telnet localhost 5006
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
9
5.0.0-alpha}l'zRjBG,!js%Zxl6f"p3
(after a few seconds...)
Connection closed by foreign host.

-

>mysql -u root -P 5006 -h 127.0.0.1 -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 5.0.0-alpha

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

**
Now, here are the outputs of the same commands on machine 2):

]>telnet localhost 5007
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host. (no wait for this line to show!)

>mysql -u root -P 5007 -h 127.0.0.1 -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server during query
(no wait for the above line to show either!)

**

I can only connect on machine 2) if I use a mysql.sock file. Any attempt to 
connect via TCP/IP
doesn´t work !! command line client, java connectors (all possible versions) 
none work.

I´ve been into every single link google returned to me on the ERROR 2013 above 
for 2 days now and
none of them had any info to get this working. Believe me, I tried every hint 
of suggestion there
was.

I really hope someone here has any clues to what is going on.

I´ve posted this to hackers but no clues so far.

thanks,

--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

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


Re: a little problem!!!!!!

2004-12-01 Thread Alexandr
On Wed, Dec 01, 2004 at 01:37:10PM +0200, MarC wrote:
> hello, my name is marc and i'm from Romania.
> I have a little problem: i just bought a laptop Compaq Presario 1200, old 
> laptop, and my operating system is FreeBSD. I wanted to format it and i 
> don't know how. In Bios this feature insn't. Please tell me a list of 
> commands in FreeBSD how do I format my hard-diskand even other 
> sugestions.ok? 
> 
> Thx for all that and good bye
> mar-c
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

You need newfs utility.
For more info : man newfs

for example 
format floppy:
newffs /dev/fd0

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


a little problem!!!!!!

2004-12-01 Thread MarC
hello, my name is marc and i'm from Romania.
I have a little problem: i just bought a laptop Compaq Presario 1200, old 
laptop, and my operating system is FreeBSD. I wanted to format it and i 
don't know how. In Bios this feature insn't. Please tell me a list of 
commands in FreeBSD how do I format my hard-diskand even other 
sugestions.ok? 

Thx for all that and good bye
mar-c
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ServRAID 5i and DLT

2004-12-01 Thread Alexandre Vasconcelos
Peter Risdon wrote:
[cut]
But it don't recognize any tapes, there's no "nsa?" output on dmesg,

There wouldn't be, AFAIK that's normal, the nsa* devices are no-rewind 
versions of the sa* devices. Is an sa0 device shown? I'd try a:

cat /var/run/dmesg.boot | grep sa0
Shame on me, I've tried that, it was a typo :)

although that will show up some stuff you're not interested in, such as 
isa devices.

If there's no sa0 device, you've got a problem, I guess. If there is, 
then nsa0 should show up in /dev but not in your dmesg. You don't say 
whether you have any sa or nsa devices in /dev but that would be 
interesting.
I've posted this on freebsd-scsi and Scott Long said that this adapter 
doesn't have support to DLT tapes, so I got another adaptec card to make 
it work, everything is fine now.

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


MYSQL connection problem

2004-12-01 Thread mario . lobo
Hello Everyone;

I have two machines:

1) Free 4.10 / mysql (5.0.0) listening on port 5006

2) Free 5.3 Release / mysql (5.0.0) listening on port 5007

On both, no firewalls, blocks or anything of that sort. Both machines have the 
same configuration.
Both mysql were compiled from the ports with the same options. The only 
difference between the two
machines is the Free version and port mysql is listening on.

Here are the outputs of the following commands on machine 1):

>telnet localhost 5006
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
9
5.0.0-alpha}l'zRjBG,!js%Zxl6f"p3
(after a few seconds...)
Connection closed by foreign host.

-

>mysql -u root -P 5006 -h 127.0.0.1 -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 5.0.0-alpha

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

**
Now, here are the outputs of the same commands on machine 2):

]>telnet localhost 5007
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host. (no wait for this line to show!)

>mysql -u root -P 5007 -h 127.0.0.1 -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server during query
(no wait for the above line to show either!)

**

I can only connect on machine 2) if I use a mysql.sock file. Any attempt to 
connect via TCP/IP
doesn´t work !! command line client, java connectors (all possible versions) 
none work.

I´ve been into every single link google returned to me on the ERROR 2013 above 
for 2 days now and
none of them had any info to get this working. Believe me, I tried every hint 
of suggestion there
was.

I really hope someone here has any clues to what is going on.

I´ve posted this to hackers but no clues so far.

thanks,

--
   //|  //||
  // | // ||
-//--//---|| ARIO LOBO
//  //||
-
[EMAIL PROTECTED]
http://www.ipad.com.br

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


  1   2   >