Sound oddity in FreeBSD 5.1

2003-07-02 Thread Kosh
Hello,
I've been using FreeBSD since 4.6 and I just recently upgraded to 5.1 
and got curious to see if  FreeBSD would support my sound
card (Sound Blaster 16)  I recompiled the kernel after adding in "device 
pcm" in the CUSTOM kernel I first created.  I will
get sound now if I play a CD, however, in KDE (Which is my GUI)  None of 
the system sounds will play.  
Anyone know if this is a KDE oddity or just a bad setting or two (KDE 
is KDE  3.1 all default settings, including autodetect
for the sound)

- Dave -

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


Re: vt/ansi codes

2003-07-02 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
the basis for this question was to determine if it was
feasible to write a portable FBSD application and/or library
without external dependencies.
You can write portable ANSI-C code using the STDIO routines, without external 
dependencies upon termcap, ncurses, or anything else but libc.

it is understood what "ncurses" and "SLang" are for - and initially ANSI
escape sequences seemed to provide a way to break through the burdens and
complications of ncurses and termcap entries.
Which are?  Precisely what are you trying to do?

Do you need color?  Are you using plain text-mode stuff, or do you need 
bitmapped graphics?  If text-mode, do you need cursor positioning?  Do you care 
whether your code runs on anything but an Intel box?

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


FreeBSD and GRUB?

2003-07-02 Thread Henrik Hudson
Hey List-

I installed Grub from ports (cvsup'ed from tonight) and can't quite get her 
working.

I am running 4.8rel.

I copied in the various *stage file into /boot/grub . I created a grub.conf 
and sym-linked menu.lst to it and made everything 444.

My grub.conf looks like this:

default 0
timeout 5
splashimage=(hd0,2,a)/boot/grub/splash.xpm.gz

title=FreeBSD
root (hd0,2,a)
kernel (hd0,2,a)/boot/loader

title=WinBlows_XP
rootnoverify (hd0,0)
makeactive
chainloader +1


I have run:
tcsh# grub
grub> root(hd0,2,a)
grub> setup(hd0)
grub> quit

It says it installed fine, etc However when I reboot I just get dropped to 
the   grub>   prompt. So it's in the MBR.

I can then manually type:
grub> root (hd0,2,a)
grub> kernel (hd0,2,a)/boot/loader
grub> boot

and it works all fine and dandy. However I would like the menu to come up :) 
Would the splashimage do that? In my experience, the Splash Image being 
screwed up just causes it to use it's default text layout.

Thanks for any hints.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

"`If there's anything more important than my ego
around, I want it caught and shot now.'" 
--Hitchhikers Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Racoon with Raptor

2003-07-02 Thread Peter Sandilands
On Tue, 1 Jul 2003 08:18 pm, Wayne Pascoe wrote:
> 2003-07-01 11:05:58: ERROR: isakmp.c:1776:isakmp_chkph1there(): phase2
> negotiation failed due to time up waiting for phase1. ESP

I have seen this error when setting up a VVPN between FBSD and a D-Link 804V

In my case it was the DLink expecting main mode and me trying aggressive

Qs

Do you get different behavour if you try to establish the VPn from each end?

Run ethereal on the outside lan segment - it tells you what happens at the 
beginning of the key negotiation - at least until they go to encrypted mode. 
That way you will see if the Rapto is doing main, aggressive etc

What do you setkeys -DP look like?

> proposal {
>   encryption_algorithm des;
>   hash_algorithm md5;
>   authentication_method pre_shared_key;
>   dh_group 2 ;
> }
>
> sainfo anonymous
> {
>   pfs_group 1;
>   lifetime time 10 min;
>   encryption_algorithm des;
>   authentication_algorithm hmac_md5;
>   compression_algorithm deflate ;
> }

Looks ok to me.  But what is the rest of the remote config?

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


Re: FreeBSD and GRUB?

2003-07-02 Thread Christian Laursen
Henrik Hudson <[EMAIL PROTECTED]> writes:

> I installed Grub from ports (cvsup'ed from tonight) and can't quite get her 
> working.
> 
> I am running 4.8rel.
> 
> I copied in the various *stage file into /boot/grub . I created a grub.conf 
> and sym-linked menu.lst to it and made everything 444.

Try having the real file be /boot/grub/menu.lst and make /etc/grub.conf a
symlink to that.

Personally I don't have any grub.conf and it works fine without it.

Grub has very little chance to follow a symlink to another partition in the
boot environment.

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


configuration NAT

2003-07-02 Thread Ruslan Sulemanov
Hello All!

I'm try configuration NAT (ipfw + natd),
how i need start natd ?

Kernel options:

options IPDIVERT
options IPFIREWALL



-- 
Best regards,
 Ruslan  mailto:[EMAIL PROTECTED]

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


About newsyslog behavior

2003-07-02 Thread Jim Xochellis
Hi list,

I am using the newsyslog utility to turn over my log files 
automatically. I have noticed that some processes have problem to 
continue using their log file after newsyslog has turned it over and 
need to receive the SINGHUP signal to re-start logging correctly. 
However sending SINGHUP  has uncomfortable consequences in some cases 
(for instance when sending signal to netatalk, or other file servers 
perhaps).

I suspected  that some processes are confused because a *new* log file 
is created and these processes are making the assumption that their log 
file will be always the same and perhaps they open it once and then 
work with the FILE pointer. (just a simple theory that explains some 
facts) I have confirmed that newsyslog actually creates a new log file 
(instead of copying it and then disposing its contents) by reading the 
source of the newsyslog.c file and particularly the dotrim() function. 
I have also tested that changing the contents of the log files by hand 
does not affect the logging of most processes (surely not the logging 
of netatalk).

Having the above in mind, isn't it worthwhile to add an option in 
newsyslog in order to avoid the creation of a new log file when it is 
inconvenient?
Isn't it feasible to dispose the contents of the old log file instead 
of creating a new one?
Anything that I am missing here? (giving the fact that I am not a unix 
guru, only a C programmer)

Thank you very much for your time

Jim Xochellis

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


Re: which FreeBSD?

2003-07-02 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-07-01 16:36:02 -0500:
> > Software:
> > postfix, courier-imap, bind
> 
> Consider cyrus-imapd2 or cyrus-imapd22 instead of courier-imap.  Very
> reliable, very fast, and offers you the ability to create a "black
> box" mail appliance that does not require the use of local user
> accounts, if you wish to go that route.

You seem to be implying that courier-imap requires user accounts in
/etc/passwd, but that's not the case--as evidenced by the (very
simple) postfix+courier-imap installation here.

Plus, you get to avoid that SASL ting (but not if you need SMTP
auth in Postfix, in which case you could go for Cyrus just as well).

Courier-IMAP has one disadvantage, though: it's GPL'd (Cyrus-IMAP is
BSDL'd).

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: configuration NAT

2003-07-02 Thread Konrad Heuer

On Wed, 2 Jul 2003, Ruslan Sulemanov wrote:

> I'm try configuration NAT (ipfw + natd),
> how i need start natd ?
>
> Kernel options:
>
> options IPDIVERT
> options IPFIREWALL

/etc/rc.conf:

firewall_enable="YES"   # Set to YES to enable firewall functionality
firewall_type="open"# Firewall type (see /etc/rc.firewall)
   ^
   Or whatever you want ...

natd_enable="YES"   # Enable natd (if firewall_enable == YES).
natd_interface="de0"# Public interface or IPaddress to use.
^
Fill in here the device name of your network adapater.

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: [SDBUG] Re: Monitor dimming

2003-07-02 Thread Matthew Seaman
On Tue, Jul 01, 2003 at 10:17:49PM -0400, Peter Leftwich wrote:
> On Wed, 18 Jun 2003, Matthew Seaman wrote:
 
> I just looked at my /var/log/XFree86.0.log file and it somehow knows how to
> find my /etc/XF86Config file.  Should I move it to the path you provide?

If you want -- it's entirely up to you.  X has an impressively long
list of places and variant filenames where it will search for the
XF86Config file: so much so that you should take some care about where
you leave copies lying around.  I believe that /etc/X11/XF86Config is
the preferred, if you like, "standard" location under FreeBSD.
 
> > Section "ServerFlags"
> > Option   "BlankTime" "10"
> > Option   "StandbyTime" "20"
> > Option   "SuspendTime" "30"
> > Option   "OffTime" "30"
> > EndSection
> > XF86Config(5) has the details.
> 
> None of these "ServerFlags" are mentioned in my XF86Config file.  Is the
> blanking, standing by and suspending controlled by the "ati" driver in my
> case, do you think?  Or is there a default of some sort that is "compiled"
> into the X server binary??

There's lots of stuff that might go into XF86Config which isn't
mentioned in the automatically generated config file, produced by
'XFree86 -configure'. In this case, these options will be applicable
if your monitor supports DPMS, irrespective of the make of your video
card.  Most monitors do, now-a-days.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


vmware3 not supported--why?

2003-07-02 Thread dick hoogendijk
Does anybody know why us users of FreeBSD-4.8 are left out of support of
vmware version-3? What can be the reason that _only_ fbsd5 and up is
supported? The latter *IS* a developers branch, so everybody w/
production machines can only use vmware-2.x, which is much slower than
the later version 3.x

I see the diffs on a daily basis, running vmware3 on linux and vmware2
on FreeBSD. Version 3 really is much faster and one of the reasons I
still run linux on that machine.
The other is support for the CodeWeavers plugins and Office on linux. I
surely hope they will support FreeBSD too one day.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vmware3 not supported--why?

2003-07-02 Thread Voicu Liviu
On Wed, 2 Jul 2003 11:40:32 +0200
dick hoogendijk <[EMAIL PROTECTED]> wrote:

> Does anybody know why us users of FreeBSD-4.8 are left out of support of
> vmware version-3? What can be the reason that _only_ fbsd5 and up is
> supported? The latter *IS* a developers branch, so everybody w/
> production machines can only use vmware-2.x, which is much slower than
> the later version 3.x
> 
> I see the diffs on a daily basis, running vmware3 on linux and vmware2
> on FreeBSD. Version 3 really is much faster and one of the reasons I
> still run linux on that machine.

how about vmware4 in freebsd?

> The other is support for the CodeWeavers plugins and Office on linux. I
> surely hope they will support FreeBSD too one day.
> 
> -- 
> dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
> ++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


-- 
Voicu Liviu
Rothberg International School
Computation center, Mount Scopus
Hebrew University of Jerusalem
Tel: 972(2)-5881253
E-mail: [EMAIL PROTECTED]

Click here to see my GPG signature:
--

http://search.keyserver.net:11371/pks/lookup?template=netensearch%2Cnetennomatch%2Cnetenerror&search=pacman%40mscc.huji.ac.il&op=vindex&fingerprint=on&submit=Get+List


pgp0.pgp
Description: PGP signature


How ti install /stand on new HDD

2003-07-02 Thread Sergey Akifyev
Hello!

When mass installing/reinstalling freebsd machines I use following
procedure:

1) make buildworld on my installer machine
2) insert new [target] HDD in my installer machine
3) fdisk / disklabel the HDD as desired and mount it at /some/where
4) cd /usr/src && make installworld DESTDIR=/some/where
5) cd sys/compile/SOMEKERNEL && make install DESTDIR=/some/where
6) cd /usr/src/etc && make distribution DESTDIR=/some/where
7) configure /some/where/etc as desired

All this works fine, but /stand doesn't get installed on the new HDD. I
didn't find place, where the Makefile for /stand lives. For now I copy
/stand on the new HDD from builder, which IMHO is not good. So, question
is: how to get /stand installed?
-- 
regards,
Sergey Akifyev <[EMAIL PROTECTED]>
JSC Gascom 
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


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


System wound boot

2003-07-02 Thread Alex de Kruijff
Hi,

I can not boot my system anymore after i did boot0cfg -B /dev/ad0c.
I have tried to reinstall FreeBSD 4.7 (had floppies for that one lying 
around.) and it seem to go ok. Except the ending is a bit unexpeted. 
It asked me if i wanted to look at things again and when i sad no it 
returned at the sysinstall util. I then booted and then it complained 
that it can't find the operating system before even loading the kernel.

I have no idee what to do next. I appricated it if any one can help 
me with this.

Alex

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


Re[2]: configuration NAT

2003-07-02 Thread Ruslan Sulemanov
KH> On Wed, 2 Jul 2003, Ruslan Sulemanov wrote:
>> I'm try configuration NAT (ipfw + natd),
>> how i need start natd ?
>>
>> Kernel options:
>>
>> options IPDIVERT
>> options IPFIREWALL
KH> /etc/rc.conf:
KH> firewall_enable="YES"   # Set to YES to enable firewall functionality
KH> firewall_type="open"# Firewall type (see /etc/rc.firewall)
KH>^
KH>Or whatever you want ...
KH> natd_enable="YES"   # Enable natd (if firewall_enable == YES).
KH> natd_interface="de0"# Public interface or IPaddress to use.
KH> ^
KH> Fill in here the device name of your network adapater.

I do it. How i can start natd?
in my /etc/rc.firewall this rules:
ipfw -f flush
ipfw add divert natd all from any to any via fxp0
ipfw add allow all from any to any
Thanks.


-- 
Best regards,
 Ruslanmailto:[EMAIL PROTECTED]

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


Re: How ti install /stand on new HDD

2003-07-02 Thread Sergey Akifyev
On Wed, 2003-07-02 at 10:34, Tarmo Äijö wrote:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
I tried this. But it is _upgrade_only_procedure_! It renews
/stand/sysinstall binary, assuming it's other names are _already_ linked
to it! But this is not true on freshly-installed HDD. BTW, this is also
buggy (doesn't respect DESTDIR) and I've sent a PR about this.
-- 
regards,
Sergey Akifyev <[EMAIL PROTECTED]>
JSC Gascom 
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


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


Pre-forking action (vm-pop3d 1.1.6)?

2003-07-02 Thread Marco Trentini
Hi, I have installed vm-pop3d 1.1.6 from FreeBSD port collection
with default options. Then I have ran daemon with -d option.
I have noted with ps command that there are eleven processes
vm-pop3d. Is this the Pre-forking feature?




Sorry for my poor english :)



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


Re: About newsyslog behavior

2003-07-02 Thread Matthew Seaman
On Wed, Jul 02, 2003 at 12:08:31PM +0300, Jim Xochellis wrote:

> I am using the newsyslog utility to turn over my log files 
> automatically. I have noticed that some processes have problem to 
> continue using their log file after newsyslog has turned it over and 
> need to receive the SINGHUP signal to re-start logging correctly. 
> However sending SINGHUP  has uncomfortable consequences in some cases 
> (for instance when sending signal to netatalk, or other file servers 
> perhaps).

That's 'SIGHUP', although I do like the idea of the kernel singing to
it's processes to keep them in line...

The use of the SIGHUP signal to tell a long-running process to
reconfigure itself, reopen all of it's file descriptors etc. is a very
useful convention, but unfortunately it is only a convention -- as
you've found out many processes don't follow it.

> I suspected  that some processes are confused because a *new* log file 
> is created and these processes are making the assumption that their log 
> file will be always the same and perhaps they open it once and then 
> work with the FILE pointer. (just a simple theory that explains some 
> facts) I have confirmed that newsyslog actually creates a new log file 
> (instead of copying it and then disposing its contents) by reading the 
> source of the newsyslog.c file and particularly the dotrim() function. 
> I have also tested that changing the contents of the log files by hand 
> does not affect the logging of most processes (surely not the logging 
> of netatalk).

Yes, this is certainly true.  You can confirm that the process in
question is holding an open file decriptor on the log file by use of
the fstat(1) command.

Now, it's entirely possible to cycle log files by essentially:

# cp log log.old
# cat /dev/null > log

(instead of what newsyslog does which is effectively:

# mv log log.old
# touch log
)

but this still has problems.  Somehow, you'ld need to tell the process
with the open file descriptor that the underlying file had shrunk in
size, and that it should do an fseek(stream, 0, SEEK_END) --- other
wise, it will write any new data at the same file offset as the former
end-of-file, leading to all sorts of weirdnesses.

> Having the above in mind, isn't it worthwhile to add an option in 
> newsyslog in order to avoid the creation of a new log file when it is 
> inconvenient?
> Isn't it feasible to dispose the contents of the old log file instead 
> of creating a new one?
> Anything that I am missing here? (giving the fact that I am not a unix 
> guru, only a C programmer)

One thing that might be of use if you're stuck with a program that
won't play ball with newsyslog is to use something like cronolog(1)
which is in ports as sysutils/cronolog --- see
http://www.ford-mason.co.uk/resources/cronolog/ However, this requires
that your program can write it's log output to a pipe rather than
directly to a file.  cronolog will manage switching to a new log file
according to the time and date.  Or you could code up a very simple
equivalent that reads log messages from it's stdin and writes to the
named log file, but that can handle a SIGHUP telling it to reopen the
log file.

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


Re: ssh keepalives

2003-07-02 Thread Steve Coile
On Tue, 1 Jul 2003, Philip J. Koenig wrote:
> I'm having a problem with premature termination of ssh sessions after 
> an idle period of a few minutes, getting a "connection reset by peer" 
> message.  I presume this is due to intermediate stateful firewalls 
> closing the connection when no traffic passes for a period of time.

Is this a common problem with firewalls?  We suffer from this problem
here, also, and I've thought it must be a misconfiguration with the
firewall or elsewhere in the netwrok.  But since you mentioend it,
I'm rethinking my assessment.

Can someone explain why these connections get dropped?

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


Re: vt/ansi codes

2003-07-02 Thread abc
> [EMAIL PROTECTED] wrote:
> [ ... ]
> > the basis for this question was to determine if it was
> > feasible to write a portable FBSD application and/or library
> > without external dependencies.
> 
> You can write portable ANSI-C code using the STDIO routines, without external
> dependencies upon termcap, ncurses, or anything else but libc.
> 
> > it is understood what "ncurses" and "SLang" are for - and initially ANSI
> > escape sequences seemed to provide a way to break through the burdens and
> > complications of ncurses and termcap entries.
> 
> Which are?  Precisely what are you trying to do?
> 
> Do you need color?  Are you using plain text-mode stuff, or do you need
> bitmapped graphics?  If text-mode, do you need cursor positioning?  Do you
> care whether your code runs on anything but an Intel box?
>
> -Chuck

over years of coding, i got fed up with some basic things.
after 1000's of pages of google-ing, i don't think i am alone.
namely, i am not happy with the current selection of text editors
(i find joe(1) to be very good, but it's got some problems and
is aging without good development), and i am not happy with the
current selection of terminal based browsers (i understand mc(1)
to be the only real choice).

these are critical to me as they things i use probably more than
anything else.  and i am tired of crazy configuration files.  so
i started out preliminary designs of an ANSI based terminal I/O
and rc configuration (key/display/macro bindings, etc) library.

and i am also tired of 'broken' terminal stuff like "window(1)"
and "talk(1)/ytalk(1)" - neither of which do color, and which
require special termcap tweaks that never seem to work right,
specifically when using editors and other terminal programs
(such as lynx) inside these terminal windows across serial
connections, and i don't think they are efficient over slow
(modem) serial connections where i do much of my work.

i think in 2003 i should be able to use basic terminal stuff
with color in a standard/efficient/basic way.  but i admit, i
could be dreaming.  i'd also like control a terminal from various
scripting languages (sh/awk/whatever) with ANSI escape
sequences - things that would be a real "pain/kludge"
to do any other way.

anyway i checked out SLang and ncurses, and while i see the good
aspects of these things, i see many things that i don't like,
off the top of my head:

a)  i don't like their size (near half a megabyte for libncurses.a).
things like a browser/editor need to be statically linked
to use in single user mode.  i prefer things to be useful
on old systems/embedded systems/boot+install floppies.

b)  i don't like their complexities/API.  i don't want to spend
more than a few days mastering a fairly complete terminal I/O API.
i think a person should be able to program competently within a day.
the learning curves are fairly steep and are a "deterrent" to many
wannabe programmers that don't have time in life to attain guru
status but nevertheless would otherwise make valuable contributions.

c)  i assume (with a degree of ignorance) they must be nightmares
to maintain, and based on what i've read - there's long histories
of bugginess other crazy stuff due to overbroad attempts at
compatibility (like SLangs regex's for example).

d)  neither SLang nor ncurses are available to scripts as ANSI
escape sequences are via simple echo/printf statements.

e)  i assume (with a degree of ignorance) they must be inefficient
over slow serial connection just based on the limited vtXXX
capabilities of the vt/pcvt and xterm drivers.  since they
can't interpret "scroll left/scroll right/scroll regions",
screenfuls of data are being sent just to move past a
leftmost/rightmost column or to scroll a tiny portion of
a display.  this is multiplied with use of color.  for example,
if i have a 80x60 color display, that's 4800 chars + 4800 * 10
(attribute and color escape sequence/char), or 52,800 characters
that must be transmitted - when at most - with ANSI 3.64 scroll
left/right sequences - this figure would be 60+60*10, or 660
characters - almost 100x faster updating.

in my semi-ignorant estimation, there is a big problem in
lack of terminal standardization and vtXXX deficiencies that
could be very nicely resolved if the "open source" community
would define and implement as fully functional and complete
set of ANSI escape sequences that could reliably be used
across all platforms/terminal drivers within a "raw"
terminal state.

for workstations using terminals that use proprietary ANSI command
sets - an optional library that re-interprets the I/O of a uniform
"ANSI superset" could be made available, one which could work
transparently via the ANSI "terminal ident" escape sequence.

it's just my semi-ignorant humble opinion that a new ANSI standard
needs to be developed to move UNIX terminals past circa 1977.
are my grandchildren going to be stuc

Re: IDE for C

2003-07-02 Thread Fernando Gleiser
On Tue, 1 Jul 2003, Martin Vana wrote:

> hi,
> I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/
> to DJGPP i used under WIN. I'm running 5.1 and Fluxbox over X. Any
> suggestions?

Yes. vim, a couple of xterms and ddd :)


Fer

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


Re: About newsyslog behavior

2003-07-02 Thread Jim Xochellis
Hi Matthew, hi list,

On Wednesday, July 2, 2003, at 02:01 PM, Matthew Seaman wrote:

On Wed, Jul 02, 2003 at 12:08:31PM +0300, Jim Xochellis wrote:

I am using the newsyslog utility to turn over my log files
automatically. I have noticed that some processes have problem to
continue using their log file after newsyslog has turned it over and
need to receive the SINGHUP signal to re-start logging correctly.
However sending SINGHUP  has uncomfortable consequences in some cases
(for instance when sending signal to netatalk, or other file servers
perhaps).
That's 'SIGHUP', although I do like the idea of the kernel singing to
it's processes to keep them in line...
Sorry about the typo...

The use of the SIGHUP signal to tell a long-running process to
reconfigure itself, reopen all of it's file descriptors etc. is a very
useful convention, but unfortunately it is only a convention -- as
you've found out many processes don't follow it.
I suspected  that some processes are confused because a *new* log file
is created and these processes are making the assumption that their 
log
file will be always the same and perhaps they open it once and then
work with the FILE pointer. (just a simple theory that explains some
facts) I have confirmed that newsyslog actually creates a new log file
(instead of copying it and then disposing its contents) by reading the
source of the newsyslog.c file and particularly the dotrim() function.
I have also tested that changing the contents of the log files by hand
does not affect the logging of most processes (surely not the logging
of netatalk).
Yes, this is certainly true.  You can confirm that the process in
question is holding an open file decriptor on the log file by use of
the fstat(1) command.
Now, it's entirely possible to cycle log files by essentially:

# cp log log.old
# cat /dev/null > log
(instead of what newsyslog does which is effectively:

# mv log log.old
# touch log
)
but this still has problems.  Somehow, you'ld need to tell the process
with the open file descriptor that the underlying file had shrunk in
size, and that it should do an fseek(stream, 0, SEEK_END) --- other
wise, it will write any new data at the same file offset as the former
end-of-file, leading to all sorts of weirdnesses.
I understand, but I also suspect that there is a very rare possibility 
to face this kind of problems. (please correct me if I am wrong at this)

1) Many servers (netatalk, samba, apache, etc) are creating many 
processes which are all using the same log files. Hence, these servers 
have already solved the above problems somehow.
2) When implementing logging we are always flushing the log file *very* 
frequently and I believe that this fact is reducing the possibility of 
facing the above problems.
3) I have done some tests my self and had no problems at all. (Of 
course that is not a proof, just an indication...)


Having the above in mind, isn't it worthwhile to add an option in
newsyslog in order to avoid the creation of a new log file when it is
inconvenient?
Isn't it feasible to dispose the contents of the old log file instead
of creating a new one?
Anything that I am missing here? (giving the fact that I am not a unix
guru, only a C programmer)
One thing that might be of use if you're stuck with a program that
won't play ball with newsyslog is to use something like cronolog(1)
which is in ports as sysutils/cronolog --- see
http://www.ford-mason.co.uk/resources/cronolog/ However, this requires
that your program can write it's log output to a pipe rather than
Interesting if applicable (not in my case I am afraid)

directly to a file.  cronolog will manage switching to a new log file
according to the time and date.  Or you could code up a very simple
equivalent that reads log messages from it's stdin and writes to the
named log file, but that can handle a SIGHUP telling it to reopen the
log file.
I am thinking about changing the newsyslog instead (adding an option) 
but I am such a newbie in Unix, makefiles and all this stuff (except c) 
;-)

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


Re: ssh keepalives

2003-07-02 Thread Michal F. Hanula
On Wed, Jul 02, 2003 at 07:17:19AM -0400, Steve Coile wrote:
> On Tue, 1 Jul 2003, Philip J. Koenig wrote:
> > I'm having a problem with premature termination of ssh sessions after 
> > an idle period of a few minutes, getting a "connection reset by peer" 
> > message.  I presume this is due to intermediate stateful firewalls 
> > closing the connection when no traffic passes for a period of time.
> 
> Is this a common problem with firewalls?  We suffer from this problem
> here, also, and I've thought it must be a misconfiguration with the
> firewall or elsewhere in the netwrok.  But since you mentioend it,
> I'm rethinking my assessment.
> 
> Can someone explain why these connections get dropped?
The firewall is tracking the state of TCP connections (among others).
The information about the state needs some memory, which means that the
firewall cannot keep state of an infinite number of connections. After
some time the state gets dropped.

A reasonable firewall (such as ipfilter) takes the state of the
connection (syn sent, ack sent, open, ...) into account when determining
the timeout (eg. with ipfilter the timeout for a partially open
connection is (by default) 480s, for an open connection it is 86400s (a
week). When a connection is closed, the state is dropped immediately).

Unreasonable firewalls don'tm which means that the time before the
connection is dropped has to be quite short to prevent the state table
from overflowing.

Finding the reason for this happenning with NAT is left as an exercise
for the reader ;-)

m&f

-- 
What do you care what other people think?


pgp0.pgp
Description: PGP signature


Re: ssh keepalives

2003-07-02 Thread Michal F. Hanula
On Wed, Jul 02, 2003 at 02:52:32PM +0200, Michal F. Hanula wrote:
> On Wed, Jul 02, 2003 at 07:17:19AM -0400, Steve Coile wrote:
> > On Tue, 1 Jul 2003, Philip J. Koenig wrote:
> > > I'm having a problem with premature termination of ssh sessions after 
> > > an idle period of a few minutes, getting a "connection reset by peer" 
> > > message.  I presume this is due to intermediate stateful firewalls 
> > > closing the connection when no traffic passes for a period of time.
> > 
> > Is this a common problem with firewalls?  We suffer from this problem
> > here, also, and I've thought it must be a misconfiguration with the
> > firewall or elsewhere in the netwrok.  But since you mentioend it,
> > I'm rethinking my assessment.
> > 
> > Can someone explain why these connections get dropped?
[...lots of nonsense...]
If you have IPfilter, try
sysctl -a | grep net.inet.ipf
m&f


-- 
What do you care what other people think?


pgp0.pgp
Description: PGP signature


Re: ssh keepalives

2003-07-02 Thread Christian Stigen Larsen
Quoting Steve Coile ([EMAIL PROTECTED]):
| On Tue, 1 Jul 2003, Philip J. Koenig wrote:
| > I'm having a problem with premature termination of ssh sessions [...]
| 
| Is this a common problem with firewalls?  We suffer from this problem
| here, also, and I've thought it must be a misconfiguration with the
| firewall or elsewhere in the netwrok.  But since you mentioend it,
| I'm rethinking my assessment.

As Michal F. Hanula, it might be due to the firewall dropping idle TCP
connections.

At work I use PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) for
my outbound ssh sessions, and it supports a useful option:

"Sending of null packets to keep session active"

Settings this to, say, 60 seconds effectively prevents my sessions from being
cut off.  Unfortunately I haven't found any similar feature in the OpenSSH
clients.  Do they support such a feature?

-- 
Christian Stigen Larsen -- http://csl.sublevel3.org -- mob: +47 98 22 02 15
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re[2]: configuration NAT

2003-07-02 Thread Daan Vreeken [PA4DAN]
On Wednesday 02 July 2003 12:58, Ruslan Sulemanov wrote:
> KH> On Wed, 2 Jul 2003, Ruslan Sulemanov wrote:
> >> I'm try configuration NAT (ipfw + natd),
> >> how i need start natd ?
> >>
> >> Kernel options:
> >>
> >> options IPDIVERT
> >> options IPFIREWALL
>
> KH> /etc/rc.conf:
> KH> firewall_enable="YES"   # Set to YES to enable firewall
> functionality KH> firewall_type="open"# Firewall type (see
> /etc/rc.firewall) KH>^
> KH>Or whatever you want ...
> KH> natd_enable="YES"   # Enable natd (if firewall_enable ==
> YES). KH> natd_interface="de0"# Public interface or IPaddress
> to use. KH> ^
> KH> Fill in here the device name of your network adapater.
>
> I do it. How i can start natd?
natd_enable="YES" in your /etc/rc.conf will tell FreeBSD to automatically 
start it when your system boots.
You can start it manually with :
natd -n de0
(assuming de0 is your outside-interface)

> in my /etc/rc.firewall this rules:
> ipfw -f flush
> ipfw add divert natd all from any to any via fxp0
> ipfw add allow all from any to any
That should get it working

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


gkrellm-xkb doesnt work

2003-07-02 Thread Tobias Roth
Hi

I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
there is no menu entry to configure it. The gkrellm install log says
it installed just fine. The krell where the flags should be just shows
a question mark.

Is there normally an entry under Configuration/Plugins where I can
adjust settings?
Is my Xfree86Config wrong?

Section "InputDevice"
Identifier  "Inspiron Keyboard"
Driver  "keyboard"
Option  "XkbRules" "xfree86"
Option  "XkbModel" "inspiron"
Option  "XkbLayout" "us"
EndSection

Is there anything else I might have missed? Who has got this thing
working?

Oh, and the checksums seem wrong. I had them overridden, maybe there
lies the problem?

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


Re: boot hangs after install 4.8

2003-07-02 Thread Lowell Gilbert
Rob Lahaye <[EMAIL PROTECTED]> writes:

> I have just installed FreeBSD 4.8 on a PC. Only FreeBSD, no other OS.
> The installation goes all well; I exit at the end and the PC boots.
> Immediately after the BIOS stuff, I get the first FreeBSD prompt:
> 
> 
> F1  FreeBSD
> 
> Default: F1
> 
> 
> What ever key I hit next, only produces a beep from the PC.
> Nothing happens, so it seems to hang at this point.
> 
> Any clue what is going wrong here?

Sounds like you've got a single slice.  The bootloader isn't managing
to find the FreeBSD boot blocks.  You may have failed to install them
for some reason, or maybe you've put the root partition too far in to
the disk for the BIOS to boot it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and GRUB?

2003-07-02 Thread Henrik Hudson
On Wednesday 02 July 2003 03:49, Christian Laursen wrote:
> Henrik Hudson <[EMAIL PROTECTED]> writes:
> > I installed Grub from ports (cvsup'ed from tonight) and can't quite get
> > her working.
> >
> > I am running 4.8rel.
> >
> > I copied in the various *stage file into /boot/grub . I created a
> > grub.conf and sym-linked menu.lst to it and made everything 444.
>
> Try having the real file be /boot/grub/menu.lst and make /etc/grub.conf a
> symlink to that.
>
> Personally I don't have any grub.conf and it works fine without it.
>
> Grub has very little chance to follow a symlink to another partition in the
> boot environment.

Yup. That worked. On my Gentoo box it has the symlink, so didn't think that 
would hurt here :) Thanks.

-- 
Henrik Hudson
[EMAIL PROTECTED]

"`If there's anything more important than my ego
around, I want it caught and shot now.'" 
--Hitchhikers Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Throttled ethernet connection

2003-07-02 Thread Moriarty
- Original Message - 
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "Moriarty" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 3:04 PM
Subject: Re: Throttled ethernet connection



Sounds like a duplex mismatch between the machine and the switch.


I have the ethernet card forced to 100mbit full duplex via rc.conf. The
switch is a Netgear FS108. How would i solve a duplex mismatch?


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


libc (?)

2003-07-02 Thread james
G'day

I've just installed gimp, via the 5.1 distfiles, and get the following error 
message;

[EMAIL PROTECTED]:~]
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found

How would I fix this? - what do I compile etc that will remove this error message?

I did a buildworld a while ago to 4.8 stable, and ever since then I've received 
this error message (ie, amavis doesn't work anymore :-(

Any suggestions, or pointers in the right direction would be greatly 
appreciated :-)

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


Re: crontab : exec, permission denied

2003-07-02 Thread Lowell Gilbert
ico <[EMAIL PROTECTED]> writes:

> >> I added to /etc/crontab this line:
> >> 
> >> */5 *   *   *   *   user1/usr/local/bin/getmail \
> >> -r /usr/home/user1/.getmail/getmailrc
> >> 
> >> 
> >> I wanted getmail to pick-up mail for user user1. Result is error:
> >> exec: :permission denied
> >> 
> >> $ls -l /usr/local/bin/getmail
> >> r-xr-xr-x  1 root  wheel  328 Jun 22 07:41 /usr/local/bin/getmail*
> >> 
> >> I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the
> >> same. What's wrong?
> >
> >Does it work from the command line?
> >The following works fine for me from my user crontab:
> >
> >6   6   *   *   1-7 /usr/local/bin/fetchmail -s
> >
> >
> 
> Yes it works, if i don't use crontab.

I think the problem is that /usr/local/bin isn't in the PATH for the
crontab.  The easiest fix is probably to add it, in the crontab file
itself (but make sure the change doesn't apply to any other entries,
for security reasons). 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Pav Lucistnik
V st, 02. 07. 2003 v 15:57, Tobias Roth napsal:

> I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
> Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
> there is no menu entry to configure it. The gkrellm install log says
> it installed just fine. The krell where the flags should be just shows
> a question mark.

This is problem with application, I can reproduce it here. I don't have
any Option entries in InputDevice section of my configuration file and
it works. If I use your settings, I too get grey question mark.

Write to <[EMAIL PROTECTED]> (author).

> Is there normally an entry under Configuration/Plugins where I can
> adjust settings?

This plugin have no configuration dialog, that's intended.

> Is my Xfree86Config wrong?
> 
> Section "InputDevice"
> Identifier  "Inspiron Keyboard"
> Driver  "keyboard"
> Option  "XkbRules" "xfree86"
> Option  "XkbModel" "inspiron"
> Option  "XkbLayout" "us"
> EndSection
> 
> Is there anything else I might have missed? Who has got this thing
> working?
> 
> Oh, and the checksums seem wrong. I had them overridden, maybe there
> lies the problem?

Maintainer changed the distfile, I'll send PR soon.

-- 
Pav Lucistnik <[EMAIL PROTECTED]>
What do we know about love? Love is like a pear. Pear is sweet and have
a specific shape. Try to exactly define the shape of a pear.
  -- Marigold: 50 Years Of Poetry

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


Re: Problem installing GIMP

2003-07-02 Thread Lowell Gilbert
Konrad Scorciapino <[EMAIL PROTECTED]> writes:

> > When you build the port, do you *have* a work/gimp-1.2.5/app/gimp-1.2
> > executable at all?
> 
> No

It's hard to guess how that could happen, but I'd start by looking at
the port skeleton itself; you've probably messed that up.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SMP kernel hanging after testing 8254 intr delivery (RELENG_4)

2003-07-02 Thread Lars Köller
--

Hello,

anything news concerning my SMP problem with the Fujitsu-Siemens RX300
system?

Would be nice to have SMP running at Friday evening, when I have to go 
into production.

Thanks and best regards

Lars

-- 
E-Mail: [EMAIL PROTECTED]\  Lars Köller
[EMAIL PROTECTED]  \  CC University of
PGP: http://www.uk.pgp.net/pgpnet/wwwkeys.html \  Bielefeld, Germany 
 Key-ID: A430D499   \  Tel: +49 521 106 4964
--- FreeBSD, what else?  http://www.freebsd.org -


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


Re: libc (?)

2003-07-02 Thread Miguel Mendez
On Wed, 2 Jul 2003 23:46:16 +0930
"james" <[EMAIL PROTECTED]> wrote:

Hi,

> [EMAIL PROTECTED]:~]
> /usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
> 
> How would I fix this? - what do I compile etc that will remove this
> error message?

Sounds like you've installed a 5.x package on a 4.x system. You cannot
do that.
 
> I did a buildworld a while ago to 4.8 stable, and ever since then I've
> received this error message (ie, amavis doesn't work anymore :-(

Are you installing packages for -CURRENT? Using ports? If a program is
asking for libc.so.5 it means it was compiled for 5.x.
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? -> http://www.trustic.com


pgp0.pgp
Description: PGP signature


urrent locale is not supported in X11, locale is set to CX

2003-07-02 Thread Jo Jo
 Hi,

   I just installed the linux-sun-jdk141 port which all seemed to go well 
but
when I try to run a Java program I get this odd error message (below).

   Please Help !

 Jo

[EMAIL PROTECTED]:~# java -jar TC2.jar
current locale is not supported in X11, locale is set to CX locale modifiers 
are not supported, using defaultException in thread "main" 
java.lang.NullPointerException
   at javax.swing.ImageIcon.(ImageIcon.java:138)
   at TC2.createImageIcon(TC2.java:268)
   at TC2.addToggleButtons(TC2.java:353)
   at TC2.init(TC2.java:123)
   at TC2.main(TC2.java:164)
[EMAIL PROTECTED]:~/TC2#

_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger

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


Re: libc (?)

2003-07-02 Thread james
G'day

Probably a really stupid question - but is there a compatability port of some 
sort for 4.x systems so we can run things compiled for 5.x ? :-)

regards
james

On Wed, 2 Jul 2003 16:40:30 +0200, Miguel Mendez wrote
> On Wed, 2 Jul 2003 23:46:16 +0930
> "james" <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> > [EMAIL PROTECTED]:~]
> > /usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found
> > 
> > How would I fix this? - what do I compile etc that will remove this
> > error message?
> 
> Sounds like you've installed a 5.x package on a 4.x system. You cannot
> do that.
>  
> > I did a buildworld a while ago to 4.8 stable, and ever since then I've
> > received this error message (ie, amavis doesn't work anymore :-(
> 
> Are you installing packages for -CURRENT? Using ports? If a program is
> asking for libc.so.5 it means it was compiled for 5.x.
>  
> Cheers,
> -- 
> Miguel Mendez - [EMAIL PROTECTED]
> EnergyHQ :: http://www.energyhq.tk
> Tired of Spam? -> http://www.trustic.com



--
Open WebMail Project (http://openwebmail.org)

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


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Tobias Roth
> > I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
> > Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
> > there is no menu entry to configure it. The gkrellm install log says
> > it installed just fine. The krell where the flags should be just shows
> > a question mark.

i figured it out. Besides removing the options in XF86Config, I also
had to remove the file
  /usr/X11R6/lib/X11/xkb/X0-config.keyboard
that was generated by xf86cfg.

> > Is there normally an entry under Configuration/Plugins where I can
> > adjust settings?
> 
> This plugin have no configuration dialog, that's intended.

hehe, I somehow expected to be able to change the keyboard layout with
a click. but the plugin does not intend that. looks like someone (me?)
will have to implement another plugin that has this capability.

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


Re: Sound oddity in FreeBSD 5.1

2003-07-02 Thread Val Smith
Not sure if this will actually help you but I recall thinking my sound wasn't working 
after a recent KDE install. Turned out that it was simply installing the desktop 
without explicit sound assignments for system events (so it merely seemed like sound 
wasn't working, yet no pop up errors when KDE first started - not what I was used to 
with default RH installs in times past). 

First verify that arts is being started automatically (under control center -> 
sounds/multimedia -> sound system) While there try the "test sound" button. Then if 
everything looks okay go to control center -> sounds/multimedia -> system 
notifications and assign/test specific sounds for whatever events you want.

Hope the answer to your problem is this simple :)

VS


On Wed, 02 Jul 2003 03:13:33 -0400
Kosh <[EMAIL PROTECTED]> wrote:

> Hello,
> I've been using FreeBSD since 4.6 and I just recently upgraded to 5.1 
> and got curious to see if  FreeBSD would support my sound
> card (Sound Blaster 16)  I recompiled the kernel after adding in "device 
> pcm" in the CUSTOM kernel I first created.  I will
> get sound now if I play a CD, however, in KDE (Which is my GUI)  None of 
> the system sounds will play.  
> Anyone know if this is a KDE oddity or just a bad setting or two (KDE 
>  is KDE  3.1 all default settings, including autodetect
> for the sound)
> 
> 
>  - Dave -
> 
> 
> ___
> [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: libc (?)

2003-07-02 Thread Kenneth Culver
> Probably a really stupid question - but is there a compatability port of
> some sort for 4.x systems so we can run things compiled for 5.x ? :-)

No, but you can go the other way around. You MIGHT be able to use the 5.x
libc directly on 4.x, but I wouldn't recommend it.

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


How take screenshot from MPlayer?

2003-07-02 Thread tigos2
Hi all.
I read all documentations of the MPlayer,
but not find this information.

FreeBSD 4.8, 
mplayer-gtk-esound-0.90.0.110_2

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


Re: libc (?)

2003-07-02 Thread Miguel Mendez
On Thu, 3 Jul 2003 00:16:59 +0930
"james" <[EMAIL PROTECTED]> wrote:

Hi,
 
> Probably a really stupid question - but is there a compatability port
> of some sort for 4.x systems so we can run things compiled for 5.x ?
> :-)

I fail to see how that could be useful, even if it worked. You can build
ports on your 4.x system, and you can use packages on it too. I
recommend you installing portupgrade if you haven't already. The you can
use cvsup and portupgrade with the -Pp options to use packages if you
don't feel compiling stuff yourself. Note that there's not a specific
4.x or 5.x ports tree, ports are ports are ports.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
EnergyHQ :: http://www.energyhq.tk
Tired of Spam? -> http://www.trustic.com


pgp0.pgp
Description: PGP signature


Re: Sound oddity in FreeBSD 5.1

2003-07-02 Thread Kenneth Culver
> Not sure if this will actually help you but I recall thinking my sound
> wasn't working after a recent KDE install. Turned out that it was simply
> installing the desktop without explicit sound assignments for system
> events (so it merely seemed like sound wasn't working, yet no pop up
> errors when KDE first started - not what I was used to with default RH
> installs in times past).

Yeah, I think that's because the bulk of the default notifications sounds
are really annoying :-P

>
> First verify that arts is being started automatically (under control
> center -> sounds/multimedia -> sound system) While there try the "test
> sound" button. Then if everything looks okay go to control center ->
> sounds/multimedia -> system notifications and assign/test specific
> sounds for whatever events you want.
>
> Hope the answer to your problem is this simple :)
>
> VS

Also make sure if you're going to use non-ARTS apps, you do 2 things:

sysctl hw.snd.pcm0.vchans=4

This allows 4 virtual pcm channels on your soundcard labled as /dev/dsp0.0
through /dev/dsp0.3

Next, set arts to use /dev/dsp0.3 by going to the kde Control Center, then
to "Sound and Multimedia" then to "Sound System." Click on the "Sound I/O"
tab, then click "Use custom sound device" (check the check-box), and then
fill in /dev/dsp0.3 in the blank. This will allow artsd to keep control of
the sound card for as long as it wants, but will still allow non-kde apps
that don't know about ARTS to use the soundcard.

Ken

> On Wed, 02 Jul 2003 03:13:33 -0400
> Kosh <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > I've been using FreeBSD since 4.6 and I just recently upgraded to 5.1
> > and got curious to see if  FreeBSD would support my sound
> > card (Sound Blaster 16)  I recompiled the kernel after adding in "device
> > pcm" in the CUSTOM kernel I first created.  I will
> > get sound now if I play a CD, however, in KDE (Which is my GUI)  None of
> > the system sounds will play.
> > Anyone know if this is a KDE oddity or just a bad setting or two (KDE
> >  is KDE  3.1 all default settings, including autodetect
> > for the sound)
> >
> >
> >  - Dave -
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compact utility

2003-07-02 Thread Luis Rueda
Hi,

I would like to know where I can download the "compact" utility for OpenBSD unix. The 
one that I am looking for is the compression utility that implements the adaptive 
Huffman coding.
Any help on this will be greatly appreciated!

Regards,

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


current locale is not supported in X11, locale is set to CX

2003-07-02 Thread Jo Jo
  Hi,

 I just installed the linux-sun-jdk141 port which all seemed to go well but
when I try to run a Java program I get this odd error message (below)
   Please Help !

 Jo

[EMAIL PROTECTED]:~# java -jar TC2.jar
current locale is not supported in X11, locale is set to CX locale modifiers 
are not supported, using defaultException in thread "main" 
java.lang.NullPointerException
   at javax.swing.ImageIcon.(ImageIcon.java:138)
   at TC2.createImageIcon(TC2.java:268)
   at TC2.addToggleButtons(TC2.java:353)
   at TC2.init(TC2.java:123)
   at TC2.main(TC2.java:164)
[EMAIL PROTECTED]:~/TC2#

_
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


$FreeBSD$

2003-07-02 Thread freebsd_deamon
Dear list,

 

When I looked at the source of the FreeBSD system I noticed the $FreeBSD$
tag (and $NetBSD$, $OpenBSD$, and $XFree$) which seem to expand relative to
$CVSROOT. How does one create/define own tags like this?

 

Thanks

 

Helge

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

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


Re: $FreeBSD$

2003-07-02 Thread Scott A. Moberly
> When I looked at the source of the FreeBSD system I noticed the $FreeBSD$
> tag (and $NetBSD$, $OpenBSD$, and $XFree$) which seem to expand relative
> to
> $CVSROOT. How does one create/define own tags like this?

See CVSROOT file `options`; specifically options tag and tagexpand.

-- 
Scott A. Moberly
smoberly at karamazov.org

Microsoft: "Where would you like to go to today"
Linux: "Where would you like to go tomorrow"
FreeBSD: "Hey,when are you guys going to catch up"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dial-up Modem Problems

2003-07-02 Thread RexFelis
I can't say that I know whether that modem is a
winmodem or not, and I do not have the time to
google it atm, but I can tell you that if you do
end up having to replace it, you should look for
a 'controller based' modem.  Almost all external
modems are controller based, as far as I can
tell.  Unfortunately, it has been my experience
that walking into one of these stores like
Staples or Office Max where they sell modems
locally (these are the only places we have where
I am) and asking to see their coltroller based
modems gets you a blank stare.  So you'll have to
study the box carefully.  Just make sure it says
it has it's own controller somewhere.

That's all the help I can offer.  Hope it helps. 
:)

Shannon

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: About newsyslog behavior

2003-07-02 Thread Matthew Seaman
On Wed, Jul 02, 2003 at 03:50:15PM +0300, Jim Xochellis wrote:

[ Dealing with processes that keep an open file descriptor on their
log files, and that don't understand the use of SIGHUP to reopen the
file]

> 1) Many servers (netatalk, samba, apache, etc) are creating many 
> processes which are all using the same log files. Hence, these servers 
> have already solved the above problems somehow.

I know very little about netatalk, but of the other two packages you
mention:

apache understands the HUP signal and will do a restart, including
reopening its log files as desired.  Even better, it understands
the USR1 signal (signal 30) as a "graceful restart" -- that means
that apache child processes that are actually serving out a
request at the time of the signal will be permitted to finish
before closing down.

See: http://httpd.apache.org/docs/stopping.html

You can use a line like this in /etc/newsyslog.conf to cycle the
httpd-access.log.  You'll need similar lines for httpd-error.log,
ssl_engine_log, ssl_request_log or any other log file your httpd
generates.

/var/log/httpd-access.log 644 20 100 * Z /var/run/httpd.pid 30

samba can also generate a lot of log files depending on
configuration.  However, it also can be configured to put out all
of it's logging information via syslog(3).  Samba is also capable
of recycling it's own log files.  See the 'max log size' entry in
smb.conf:

http://samba.mirror.ac.uk/samba/docs/man/smb.conf.5.html#MAXLOGSIZE

> 2) When implementing logging we are always flushing the log file *very* 
> frequently and I believe that this fact is reducing the possibility of 
> facing the above problems.

Yes -- a well behaved process will certainly not assume that it is the
only process that can write to any particular file.  The worse
programs in this respect are those where the log output is simply the
result of redirecting the stdout/stderr of the program.  Jakarta
Tomcat is pretty bad in that respect.

> 3) I have done some tests my self and had no problems at all. (Of 
> course that is not a proof, just an indication...)

[...]
 
> I am thinking about changing the newsyslog instead (adding an option) 
> but I am such a newbie in Unix, makefiles and all this stuff (except c) 

Go for it.  The ideal would probably be to add another flag to the
'flags' column to go with the BCGJNUWZ- flags it already understands,
so that you can apply the 'file descriptor friendly' method of
updating on a per-file basis.  Unless you're going to be adding whole
new files to the newsyslog sources, then you shouldn't need to modify
any Makefiles at all.

Once you're happy with your modifications, you can submit them back to
the project for review and maybe eventual adoption by using send-pr.
Don't forget to update the man page as well.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Notification To Email Sender - potential virus

2003-07-02 Thread Notifier Irving 2
07/02/2003, 11:15:07 AM Virus Scanner found the 
W32/[EMAIL PROTECTED] virus
   in the attached file: your_details.zi
 <[EMAIL PROTECTED]> your_details.zip Re: Movie
--- Begin Message ---
--- End Message ---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Tomas Styblo
* Pav Lucistnik <[EMAIL PROTECTED]> [Wed, 02 Jul 2003]:
> > I just installed gkrellm-xkb from the ports (1.00 on 5.1
> > release with Xfree86-4.3.0,1 and gkrellm2). I can enable it in
> > gkrellm config, but there is no menu entry to configure it.
> > The gkrellm install log says it installed just fine. The krell
> > where the flags should be just shows a question mark.
> 
> This is problem with application, I can reproduce it here. I
> don't have any Option entries in InputDevice section of my
> configuration file and it works. If I use your settings, I too
> get grey question mark.

You have to adjust the CoreKeyboard entry in the ServerLayout section
of XF86Config to match the Identifier of the keyboard you want to
monitor with gkrellm-xkb.

-- 
Tomas Styblo <[EMAIL PROTECTED]>
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Starting 2nd X server with startx?

2003-07-02 Thread stan
I can't seem to figure out the proper syntax to start a 2nd X server using
startx.

Could some kind soule enlighten me?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up ipfw

2003-07-02 Thread Jamie




On Tue, 1 Jul 2003, Kevin Kinsey, DaleCo, S.P. wrote:

> CORRECTION:
>
> That last rule I quoted is actually:
>
> 00050  allow tcp from any to my.ip.ad.res 22 setup
>  ^^
> Makes it work much better for SSH...
>


   Well, I finally met with success this morning. The box is up to the
point where I can start playing around with rulesets. I was able to get
things rolling with the config Kevin sent, but I had to add a couple of
udp entries for port 53 like David suggested as ssh has to resolve the IP
before it allows connections to port 22.

   Thanks for the help.


   - Jamie






> - Original Message -
> From: "Kevin Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]>
> To: "Jamie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, July 01, 2003 8:29 PM
> Subject: Re: setting up ipfw
>
>
> > From: "Jamie" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 01, 2003 8:01 PM
> > Subject: setting up ipfw
> >
> >
> > >I am having a very difficult time setting up ipfw on a 4.8
> > > installation. Was wondering if anyone might be able to shed some
> > light on
> > > this.
> > >
> > >I followed the directions in the handbook, and I compiled a
> new
> > kernel
> > > with these options, ( am going for a deny all by default, open
> > services
> > > as necessary philosophy):
> > >
> > > options IPFIREWALL
> > > options IPFIREWALL_VERBOSE
> > > options IPFIREWALL_VERBOSE_LIMIT=10
> > >
> > >Upon rebooting, I was unable to access the machine from
> > anywhere, which
> > > is fine, because I have console access.
> > >
> > >Output of ifconfig -a looks like this:
> > >
> > >  ifconfig -a
> > > fxp0: flags=8843 mtu 1500
> > > inet 200.88.54.93 netmask 0xff00 broadcast
> > 200.88.54.255
> > > inet6 fe80::203:47ff:fe77:8169%fxp0 prefixlen 64 scopeid
> > 0x1
> > > ether 00:03:47:77:81:69
> > > media: Ethernet autoselect (100baseTX )
> > > status: active
> > > lp0: flags=8810 mtu 1500
> > > lo0: flags=8049 mtu 16384
> > > inet6 ::1 prefixlen 128
> > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> > > inet 127.0.0.1 netmask 0xff00
> > > ppp0: flags=8010 mtu 1500
> > > sl0: flags=c010 mtu 552
> > > faith0: flags=8002 mtu 1500
> > >
> > >the name of the machine is power.bar.com
> > >
> > >
> > >I want to ssh in from another machine: foo.bar.com with IP
> > address
> > > 200.88.34.12.
> > >
> > >
> > >
> > >   This is the rule I am adding:
> > >
> > >
> > > ipfw add allow tcp from 200.88.34.12 to power.bar.com 22
> > >
> > >
> > >It tells me it can't resolve power.bar.com!
> > >
> > > So, I try:
> > >
> > > ipfw add allow tcp from 200.88.34.12 to 200.88.54.93 22
> > >
> > >It accepts the rule, but I still cannot connect from
> > foo.bar.com.
> > >
> > >Anyone have any ideas?
> >
> > Are you allowing ip OUT from 200.88.54.93?
> >
> > Please post output of "ipfw show" (not that it's
> > not implicit, I guess...) and describe your network
> > topography.
> >
> > FWIW, here's my top few rules:
> >
> > 00010 allow ip from my.ip.ad.dres to any out
> > 00020 deny log logamount 20 ip from any to any out
> > 00030  allow tcp from any to any established
> > 00040  allow ip from any to any frag
> > 00050  allow tcp from any to my.ip.ad.res setup
> >
> > 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]"
> >
>
>
>

"A friend is someone who lets you have total freedom to be yourself."

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


Re: Starting 2nd X server with startx?

2003-07-02 Thread Adam
On Wed, 2003-07-02 at 12:23, stan wrote:
> I can't seem to figure out the proper syntax to start a 2nd X server using
> startx.
> 
> Could some kind soule enlighten me?
> 

$ display=:1 startx

That should work.

-- 
Adam <[EMAIL PROTECTED]>

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


Re: System wound boot

2003-07-02 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 12:50:19PM +0200, Alex de Kruijff wrote:
> Hi,
> 
> I have no idee what to do next. I appricated it if any one can help 
> me with this.

Oke, in order to get my FreeBSD booting again, I installed Windows.
Its proberbly not the right way to do things, but it works.

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


Downloading FreeBSD 4.7

2003-07-02 Thread Nowman
Hello,
Will you please let me know any website to download the FreeBSD version 4.7. I really 
appreciate your response. I went to the freebsd.org to download but it asks for the 
password for ftp. I tried USA and UK sites.
 
Thanks,
 
Nowman
 
 


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting up ipfw

2003-07-02 Thread W. D.
At 11:35 7/2/2003, Jamie, wrote:
>
>
>
>
>On Tue, 1 Jul 2003, Kevin Kinsey, DaleCo, S.P. wrote:
>
>> CORRECTION:
>>
>> That last rule I quoted is actually:
>>
>> 00050  allow tcp from any to my.ip.ad.res 22 setup
>>  ^^
>> Makes it work much better for SSH...
>>
>
>
>   Well, I finally met with success this morning. The box is up to the
>point where I can start playing around with rulesets. I was able to get
>things rolling with the config Kevin sent, but I had to add a couple of
>udp entries for port 53 like David suggested as ssh has to resolve the IP
>before it allows connections to port 22.
>
>   Thanks for the help.
>
>
>   - Jamie

Is there some guide to translate IPFW rules to English so that they
are understandable?

Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/

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


Re: Using a RAID-card with FreeBSD

2003-07-02 Thread Johan Paul
Yes, the RAIDing is completely transparent to the OS. You don't even 
have to reboot the machine if the disks are hot-swappable. Just pull the 
dead one out, install the new one, and the controller will bring it up 
to speed. RAID-1 is much faster to rebuild than RAID-5 (just a casual 
observation; I'm not sure if that's a hard-and-fast rule).
I just wanted to let you all know that I succesfully installed FreeBSD 
4.8R with Promise FastTrak TX2 on a RAID1 using two IDE drives. Works 
like a charm all the way from installation! FreeBSD sees the RAID1 
arrays as "ar0" and tells me that the two disks are 'READY' :)

It's so nice to know that it actually works and one can be much more 
safe now than with software RAID... And the card wasn't even expensive. 
I just have to say that I had my doubts in the beginning, but luckely 
they were in vain!

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Jerry McAllister
> 
> Hello,
> Will you please let me know any website to download the FreeBSD version 4.7. 
> I really appreciate your response. I went to the freebsd.org to download 
> but it asks for the password for ftp. I tried USA and UK sites.

Have you ever used anonymous ftp before?
You log in with the name 'snonymous' and then put your Email address as
the password.

jerry

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Henrik Hudson
On Wednesday 02 July 2003 11:55, Nowman wrote:
> Hello,
> Will you please let me know any website to download the FreeBSD version
> 4.7. I really appreciate your response. I went to the freebsd.org to
> download but it asks for the password for ftp. I tried USA and UK sites.

Any reason you aren't using 4.8? That's the current release.

What are you using for an FTP client?  ftp.freebsd.orgshould let you in
using the anonymous user.  You can also order a CD set if you want from
www.freebsdmall.com


Henrik
--
Henrik Hudson
[EMAIL PROTECTED]

"`If there's anything more important than my ego
around, I want it caught and shot now.'"
--Hitchhikers Guide to the Galaxy


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


Re: setting up ipfw

2003-07-02 Thread Chuck Swiger
W. D. wrote:
[ ... ]
>>> 00050  allow tcp from any to my.ip.ad.res 22 setup
>
> Is there some guide to translate IPFW rules to English so that they
> are understandable?
Well, the above could be written:

	allow tcp from any to me ssh setup

...is that better?

[ If you don't understand TCP/IP, service names/port numbers, and such, well, 
you'll need to know about such things or else you won't have necessary 
background to understand firewalls. ]

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


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Tomas Styblo
* Pav Lucistnik <[EMAIL PROTECTED]> [Wed, 02 Jul 2003]:
> V st, 02. 07. 2003 v 15:57, Tobias Roth napsal:
> 
> > I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
> > Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
> > there is no menu entry to configure it. The gkrellm install log says
> > it installed just fine. The krell where the flags should be just shows
> > a question mark.

> > Is my Xfree86Config wrong?
> > 
> > Section "InputDevice"
> > Identifier  "Inspiron Keyboard"
> > Driver  "keyboard"
> > Option  "XkbRules" "xfree86"
> > Option  "XkbModel" "inspiron"
> > Option  "XkbLayout" "us"
> > EndSection

I've also just noticed that this keyboard model defines its own Group
name. So it's possible that your CoreKeyboard option is set correctly
but gkrellm still is not able to determine what country flag to use.

~~
partial alphanumeric_keys
xkb_symbols "inspiron" {
name[Group1]= "Laptop/notebook Dell Inspiron 8xxx";

~~

Unfortunately this Group name apparently overrides the Group name of
the "us" layout. I don't know about any work-around.

However, I've found by experimentation that with the following 
configuration the Group names are visible to gkrellm-xkb at least 
in case when the "cz" or "de" layout is active:

 Section "InputDevice"
 Identifier  "Inspiron Keyboard"
 Driver  "keyboard"
 Option  "XkbRules" "xfree86"
 Option  "XkbModel" "inspiron"
 Option  "XkbLayout" "us,de,cz"
 EndSection

Maybe someone with better knowledge of the XKB extension could
provide some help.

-- 
Tomas Styblo <[EMAIL PROTECTED]>
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using a RAID-card with FreeBSD

2003-07-02 Thread Micheal Patterson

- Original Message - 
From: "Johan Paul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 12:17 PM
Subject: Re: Using a RAID-card with FreeBSD


> > Yes, the RAIDing is completely transparent to the OS. You don't even
> > have to reboot the machine if the disks are hot-swappable. Just pull the
> > dead one out, install the new one, and the controller will bring it up
> > to speed. RAID-1 is much faster to rebuild than RAID-5 (just a casual
> > observation; I'm not sure if that's a hard-and-fast rule).
>
> I just wanted to let you all know that I succesfully installed FreeBSD
> 4.8R with Promise FastTrak TX2 on a RAID1 using two IDE drives. Works
> like a charm all the way from installation! FreeBSD sees the RAID1
> arrays as "ar0" and tells me that the two disks are 'READY' :)
>
> It's so nice to know that it actually works and one can be much more
> safe now than with software RAID... And the card wasn't even expensive.
> I just have to say that I had my doubts in the beginning, but luckely
> they were in vain!

It works equally well with Adaptec hardware raid with 5 SCSI drives in a
Raid 5 configuration. Gotta love FreeBSD. Although, not everyone needs raid
5, but it's nice to know that it works and works well.

--

Micheal Patterson
TSG Network Administration
405-917-0600

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


LSI Logic Megaraid ultra320 raid controller under freebsd5.1?

2003-07-02 Thread Chad Leigh -- Shire.Net LLC
Hi

The hardware notes do not list this under LSI Logic SCSI Raid 
controllers.  However, the LSI Logic Fiber Controllers support says

"LSI Logic Fusion/MP architecture Fiber Channel   controllers 
(mpt driver)
LSI FC909, FC929
LSI 53c1020, 53c1030
"

The marketing stuff (courtesy of googlegear.com) for the SCSI board 
(LSI Logic MegaRAID SCSI 320-1 Single-Channel Ultra320 RAID Storage 
Adapter) says:

"Designed around LSI Logics next-generation I/O technology - 
Fusion-MPT- the MegaRAID SCSI 320-1 leverages a streamlined 
firmware-level programming interface and advanced hardware designs to 
offer unequalled I/O efficiency and performance. The MegaRAID SCSI 
320-1 also incorporates a space-saving MD2 (low-profile PCI) form 
factor, increasing available space, even in the most limited server and 
workstation enclosures."

AND

"One single-channel LSI53C1020 Ultra320 SCSI controller
IA-64 ready
Intel GC80302 integrated I/O processor
64-bit, 66 MHz PCI
PCI 2.2 compliant
Integrated 64 MB ECC SDRAM cache memory
Advanced management and configuration utilities
Supports up to 40 logical drives per controller
Auto resume during array rebuild or reconstruction
Background initialization for Quick RAID 5 setup
FlexRAID®:
 Online capacity expansion
 Online RAID level migration
"
The keywords that match the Fiber Channel controllers  "Logic 
Fusion/MP" matching "Fusion-MPT" and the controller chip "LSI 53c1020" 
matching "LSI53C1020".  That makes it appear that the Fiber Controllers 
came out first using this new Fusion stuff and then they came out with 
some new Ultra320 controllers later on.  The controller chip is the 
same on both so I would guess it would work.

Anyone have any experience with this or sister boards in the same 
family under FreeBSD 5?

I am configuring a system that will eventually replace our FreeBSD 4 
system.  They have to run in tandem for awhile and so I cannot just 
reuse the stuff in the 4 server

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


sata versus ultra160 using 10k enterprise type drives

2003-07-02 Thread Chad Leigh -- Shire.Net LLC
I currently use an Adaptec 2100S and some Fujitsu 10K U160 drives.  I 
am going to a new server (FBSD5) to run in parallel and eventually 
replace my FBSD4 server using the adaptec.

I am looking at either a highpoint or promise SATA 4 channel raid 
controller and the 36gb western digital raptor 10K enterprise sata 
drives (not typical ata/sata type mechanisms).  It is much cheaper and 
the drives have a similar performance and MTBF rating to the normal 10K 
U160 drives.

I was wondering if anyone had any sort of comparison on performance in 
a raid 1 or a raid 5 (4 drives) type configuration comparing a typical 
U160 setup to the enterprise level SATA setup.

Server use is for web and email serving etc.

thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
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: Using a RAID-card with FreeBSD

2003-07-02 Thread Alexander Haderer
At 12:39 02.07.2003 -0500, Micheal Patterson wrote:

[...]
It works equally well with Adaptec hardware raid with 5 SCSI drives in a
Raid 5 configuration. Gotta love FreeBSD. Although, not everyone needs raid
5, but it's nice to know that it works and works well.
hello Michael,

please could you tell us which Adaptec hardware you are using at which 
FreeBSD version.

How do you manage the raid on the running system? Is there a console 
application to do things like configuration, drive-shutdown etc...

with best regards,

Alexander

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


Increasing memory on a FreeBSD 4.3

2003-07-02 Thread Sorin Chiorean
I have increased memory on my FreeBSD from 128 Mb to 384 Mb.
 
I have a MAXMEM option in the Kernel configuration file :
# Machine Information
machine "i386"
cpu "I686_CPU"
ident   "test"
maxusers32
options MAXMEM=""131072"


How can I avoid to rebuild the kernel and to use all memory ?

 

Thanks.
Sorin 

 



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


Re: IDE for C

2003-07-02 Thread Joshua Oreman
On Wed, Jul 02, 2003 at 09:43:01AM -0300 or thereabouts, Fernando Gleiser wrote:
> On Tue, 1 Jul 2003, Martin Vana wrote:
> 
> > hi,
> > I'm quite new to Freebsd and I'm searching for IDE similar /or better :-]/
> > to DJGPP i used under WIN. I'm running 5.1 and Fluxbox over X. Any
> > suggestions?
> 
> Yes. vim, a couple of xterms and ddd :)

s/vim, a couple of xterms/(xemacs|emacs)/g
:-)

-- Josh

> 
> 
>   Fer
> 
> ___
> [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: Starting 2nd X server with startx?

2003-07-02 Thread Joshua Oreman
On Wed, Jul 02, 2003 at 12:29:26PM -0400 or thereabouts, Adam wrote:
> On Wed, 2003-07-02 at 12:23, stan wrote:
> > I can't seem to figure out the proper syntax to start a 2nd X server using
> > startx.
> > 
> > Could some kind soule enlighten me?
> > 
> 
> $ display=:1 startx

a) It's DISPLAY, not display -- all caps is important.

The way I do this is:
$ startx -- :1

-- Josh

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


Re: Increasing memory on a FreeBSD 4.3

2003-07-02 Thread Dan Nelson
In the last episode (Jul 02), Sorin Chiorean said:
> I have increased memory on my FreeBSD from 128 Mb to 384 Mb.
>  
> I have a MAXMEM option in the Kernel configuration file :
> # Machine Information
> machine "i386"
> cpu "I686_CPU"
> ident   "test"
> maxusers32
> options MAXMEM=""131072"
> 
> How can I avoid to rebuild the kernel and to use all memory ?

Edit /boot/loader.conf and add a line like this:

hw.physmem="384M"

That will override the kernel MAXMEM value.

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


Re: Starting 2nd X server with startx?

2003-07-02 Thread Adam
On Wed, 2003-07-02 at 14:19, Joshua Oreman wrote:
> > $ display=:1 startx
> 
> a) It's DISPLAY, not display -- all caps is important.

Respectfully, you are mistaken. My example works; you're does not.


> The way I do this is:
> $ startx -- :1

This works too.


-- 
Adam <[EMAIL PROTECTED]>

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


xfree86 set up problems

2003-07-02 Thread Jon-Paul Gonzalez
Im having a problem setting up xfree86. Im using 4.8 release. this is the 
output I get:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.8 i386 [ELF]
Build Date: 23 March 2003
	Before reporting problems, check http://www.XFree86.Org/
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul  2 13:43:26 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "monitor M782"
(**) |   |-->Device "GeForce4"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in 
"/usr/X11R6/lib/X11/fonts/local/".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [EMAIL PROTECTED]
can anybody help?

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: vt/ansi codes

2003-07-02 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
[ ... ]
Do you need color?  Are you using plain text-mode stuff, or do you need
bitmapped graphics?  If text-mode, do you need cursor positioning?  Do you
care whether your code runs on anything but an Intel box?
over years of coding, i got fed up with some basic things.
after 1000's of pages of google-ing, i don't think i am alone.
You don't think you're alone because you've Googled a lot?

namely, i am not happy with the current selection of text editors
(i find joe(1) to be very good, but it's got some problems and
is aging without good development),
136-sec# ls /usr/ports/editors | wc -l
 200
I don't think FreeBSD particularly needs another editor, but you could write 
another one if you really wanted to.  'ee' is probably about as small and 
lightweight as anything you'll find, since 'vi' has gotten fat-- 'pico' and 'vi' 
are both ~250K compared to 50K for 'ee'.

and i am not happy with the current selection of terminal based browsers (i
understand mc(1) to be the only real choice).
lynx is a terminal-based browser.

mc appears to be a clone of a product called Norton Commander, which I would 
describe as a terminal-based "file manager", not a "browser".  I wouldn't blame 
you for not being happy with mc, my only question would be why would you want to 
use such a thing in the first place?

these are critical to me as they things i use probably more than
anything else.  and i am tired of crazy configuration files.
You're tired of using the shift key to produce capital letters at the beginning 
of your sentences, too.

and i am also tired of 'broken' terminal stuff like "window(1)"
and "talk(1)/ytalk(1)" - neither of which do color, and which
require special termcap tweaks that never seem to work right,
About fifteen years ago, talk/ntalk/ytalk was replaced at CMU by a program 
called zephyr, which was written at MIT: it provided both command-line and 
X-windows based functionality, a list of friends, channels, on/off/hidden 
status, and so forth.  In short, it did everything one might want from "instant 
messaging", unless one prefers to be fed ads while using a program.

[ In which case, AIM, Windows Messenger, etc, await. ]

I've never used window, but screen might do a little better.

i think in 2003 i should be able to use basic terminal stuff
with color in a standard/efficient/basic way.  but i admit, i
could be dreaming.  i'd also like control a terminal from various
scripting languages (sh/awk/whatever) with ANSI escape
sequences - things that would be a real "pain/kludge"
to do any other way.
ZSH has the echotc/echoti commands.  And there's tput:

	tput -T vt100 cl

anyway i checked out SLang and ncurses, and while i see the good
aspects of these things, i see many things that i don't like,
off the top of my head:
a)  i don't like their size (near half a megabyte for libncurses.a).
things like a browser/editor need to be statically linked
to use in single user mode.  i prefer things to be useful
on old systems/embedded systems/boot+install floppies.
So staticly link your preferred editor.  For something like vi, you can even 
tell it not to link against termcap or curses.

b)  i don't like their complexities/API.  i don't want to spend
more than a few days mastering a fairly complete terminal I/O API.
i think a person should be able to program competently within a day.
I've never used SLANG, but it doesn't take very long to learn to use curses.

d)  neither SLang nor ncurses are available to scripts as ANSI
escape sequences are via simple echo/printf statements.
Ncurses (and presumably SLANG) are libraries which are used by C programs to 
link to.  You don't link a shell script, nor do you need to.  Perhaps something 
like dialog might help?

e)  i assume (with a degree of ignorance) they must be inefficient
over slow serial connection just based on the limited vtXXX
capabilities of the vt/pcvt and xterm drivers.
Why remain ignorant when you can measure it?  Curses supports a tracelog.

since they
can't interpret "scroll left/scroll right/scroll regions",
screenfuls of data are being sent just to move past a
leftmost/rightmost column or to scroll a tiny portion of
a display.  this is multiplied with use of color.  for example,
if i have a 80x60 color display, that's 4800 chars + 4800 * 10
(attribute and color escape sequence/char), or 52,800 characters
that must be transmitted - when at most - with ANSI 3.64 scroll
left/right sequences - this figure would be 60+60*10, or 660
characters - almost 100x faster updating.
Dude, it's possible to misconfigure TERM so that curses has to resend an entire 
screen full of data, but normally curses will take advantage of terminal 
scrolling capabilities.

But don't let that stop you: if you can write a program which does something 
useful and requires two orders of magnitude less bandwidth than curses does to 
accomplish the same thing, go for it.  My bet i

tmda problems - anyone using it?

2003-07-02 Thread David Banning
I installed tmda from the ports. It is not working, and as I am 
looking into why, I found a number of peculiar things.

It doesn't work with sendmail so well becuase certain variables have
to be passed on to tmda. They suggest procmail can be used to do this and
they provide a script for that purpose.

Part of that script is ;
SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`

which in my case does _not_ get the sender address. I had to modify
that script somewhat to work. Once that is fixed, the program still does
not seem to run. It will not send mail back for confirmations, at least.
There are no errors in the logs, and tdma does acknowlege receiving the
mail and keeping it, presumably waiting for confirmation before putting it
in my box.

I have detailed my logs and problems to the tmda list and have received
no reply. I don't know how busy that list is, but at this point I am 
just wondering how many fbsd'ers are using tmda.   

If anyone has an alternative suggestion it would be great. I notice we 
have qconfirm in the ports but on looking at the installation instructions
it appears that it only works with qmail.

-- 

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


Which filesystem can I use to access a shared Rackstorage (RaidArray)

2003-07-02 Thread Etienne Ledoux
Greetings,

I finally got my netservers up and running. I can mount the rackstorage 
(shared Raid Array) from both. But as expected if I add/delete something on 
the one server the other one doesn't see it untill I reboot it and remount 
the share. Just an umount/remount doesn't pick up the change either.

This being a nice setup I would like to be able to access (add/delete) at the 
same time from both servers. Which filesystem available for FreeBSD can I use 
to do this ?

Alternitavily, how can a remount the parition without having to reboot to be 
able to see all the new data. This will enable me to sort off use the second 
server as a standby.

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


Re: setting up ipfw

2003-07-02 Thread David Kelly
On Wednesday 02 July 2003 11:00 am, W. D. wrote:
>
> Is there some guide to translate IPFW rules to English so that they
> are understandable?

They already are. Each arglist to ipfw(8) is a sentence. ipfw(8) is only 
an interpreter of those instructions which writes the instructions in a 
form ipfw(4) can understand. Or reads them back in a form you can 
understand.

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


Which server-side programming should i choose.

2003-07-02 Thread sanketh sangam
I have a Apache webserver on FreeBSD machine. I think
mySQL is also installed(I do not know how to check if
mySQl is installed on that sytem).
I am planning to put a user authentication to access
my webpages in the server. For that i need to write
server-side programming. Since there are any
server-side softwares(PHP, ASP, JSP, Perl) ,I
am confused as to which one would be better for Apache
and freeBSD.
Instead of going for those server-side programming,
should I go for HTTP authentication method. I am
confused. Any kind of help would be appreciated.


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which server-side programming should i choose.

2003-07-02 Thread Bill Campbell
On Wed, Jul 02, 2003 at 01:19:29PM -0700, sanketh sangam wrote:
>I have a Apache webserver on FreeBSD machine. I think
>mySQL is also installed(I do not know how to check if
>mySQl is installed on that sytem).
>I am planning to put a user authentication to access
>my webpages in the server. For that i need to write
>server-side programming. Since there are any
>server-side softwares(PHP, ASP, JSP, Perl) ,I
>am confused as to which one would be better for Apache
>and freeBSD.
>Instead of going for those server-side programming,
>should I go for HTTP authentication method. I am
>confused. Any kind of help would be appreciated.

You can do this a variety of ways.  We use mod_auth_mysql in conjuction
with .htaccess files as well as php authentication which can use a variety
of back-end databases.  LDAP is also widely used.

The biggest factor is doing something that fits with your other needs, and
what's most convenient to maintain the information.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``We maintain that the very foundation of our way of life is what we call
free enterprise,'' said Cash McCall, "but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself."
-- Cameron Hawley
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which filesystem can I use to access a shared Rackstorage (RaidArray)

2003-07-02 Thread Dan Nelson
In the last episode (Jul 02), Etienne Ledoux said:
> I finally got my netservers up and running. I can mount the
> rackstorage (shared Raid Array) from both. But as expected if I
> add/delete something on the one server the other one doesn't see it
> untill I reboot it and remount the share. Just an umount/remount
> doesn't pick up the change either.

I would have expected a kernel panic myself :)
 
> This being a nice setup I would like to be able to access
> (add/delete) at the same time from both servers. Which filesystem
> available for FreeBSD can I use to do this ?

There are no shared-storage filesystems for FreeBSD.

> Alternitavily, how can a remount the parition without having to
> reboot to be able to see all the new data. This will enable me to
> sort off use the second server as a standby.

NFS mount the filesystem from one machine to the other.  If you really
need fast access, buy a pair of $50 gigabit NICs, put one in each
machine, and hook them up with a crossover cable.

With a bit of work, you can probably even do a failover setup where if
the primary fails, the secondary will fsck and mount the filesystem
itself.

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


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Tomas Styblo
* Tobias Roth <[EMAIL PROTECTED]> [Wed, 02 Jul 2003]:
> hehe, I somehow expected to be able to change the keyboard layout with
> a click. but the plugin does not intend that. looks like someone (me?)
> will have to implement another plugin that has this capability.

By the way, why do you want to be able to change the layout by
clicking ? Most people use a hot-key combination because they have
found it's faster and more comfortable. That way you are not
forced to put your hands off the keyboard while typing.

If you use, for example, the following configuration:

Option  "XkbLayout" "cz_prog,cz,de,ru" 
Option  "XKbOptions" "grp:ctrl_shift_toggle"

then you'll be able to use CTRL+SHIFT to cycle through all
the specified layouts.

-- 
Tomas Styblo <[EMAIL PROTECTED]>
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6

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


hints? ACK!

2003-07-02 Thread Mistress
how do i turn those hints off upon login!?  there's nothing /etc/motd about 
hints!! EEP!

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


Re: hints? ACK!

2003-07-02 Thread Ugen
At the first look at subject i thought this is going to
be some sort of sex spam again. Argh...
[EMAIL PROTECTED] wrote:

how do i turn those hints off upon login!?  there's nothing /etc/motd about 
hints!! EEP!

-Ami Hughes
___
[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: hints? ACK!

2003-07-02 Thread Peter Elsner
Look in one (or all) of these files in your home directory.

.profile
.cshrc
.login
Comment out the line that looks like this:

[ -x /usr/games/fortune ] && /usr/games/fortune -s

Peter

At 04:36 PM 7/2/2003 -0400, you wrote:
how do i turn those hints off upon login!?  there's nothing /etc/motd about
hints!! EEP!
-Ami Hughes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Using a RAID-card with FreeBSD

2003-07-02 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:
> Subject: Re: Using a RAID-card with FreeBSD
>
>
> At 12:39 02.07.2003 -0500, Micheal Patterson wrote:
>
>> [...]
>> It works equally well with Adaptec hardware raid with 5 SCSI drives
>> in a Raid 5 configuration. Gotta love FreeBSD. Although, not
>> everyone needs raid 5, but it's nice to know that it works and works
>> well.
>
> hello Michael,
>
> please could you tell us which Adaptec hardware you are using at which
> FreeBSD version.

Just for information!

For simple RAID0 or RAID1 purposes with very low budget I can highly
recommend the Dawicontrol DC-100 (HPT372 chip, ~45?) and the DC-133
(SiliconImage 0680 Chipset, ~55?).
They both work like a charm. I just installed 5.1-release on both
without any problem (ar0!)
I can remember some c't (famous german computer magazine) tests where
the adaptec controller were much weaker that e.g. the Dawicontrols.

Best regards,

-Harry

>
> How do you manage the raid on the running system? Is there a console
> application to do things like configuration, drive-shutdown etc...
>
> with best regards,
>
> Alexander


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


Re: Which server-side programming should i choose.

2003-07-02 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 01:19:29PM -0700, sanketh sangam wrote:
> I have a Apache webserver on FreeBSD machine. I think
> mySQL is also installed(I do not know how to check if
> mySQl is installed on that sytem).
> I am planning to put a user authentication to access
> my webpages in the server. For that i need to write
> server-side programming. Since there are any
> server-side softwares(PHP, ASP, JSP, Perl) ,I
> am confused as to which one would be better for Apache
> and freeBSD.
> Instead of going for those server-side programming,
> should I go for HTTP authentication method. I am
> confused. Any kind of help would be appreciated.
> 
First of all HTTP authentication doesn't rule out server
side programming. Your first choice is if you want to use
server-side-pages or CGI programming. The server-side pages
you can use are PHP or JSP (ASP is posible but not the 
natural choice for apache). If you choice for CGI then 
the more tradional programman languages come to order. 
Personly, i like the server side varient better. If this,
is also the road for you then you are left with the choice
betwain PHP en JSP, or may be a combination. I feel that
JSP is better for the large design and PHP for the 
smaller pages. PHP is a bit easer to setup but JSP is more
efficent and more power for the larger design.

HTTP authentication is something you use to let you users
login. Both JSP and PHP can do this. You have to be worned
that there are two forms. The first is the easies to setup
but it send the password as _plain text_ for *everybody* to
read. There's an advances version that you can use in 
combination with SSL to make it more secure, but i forgot 
the name.

Alex

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


Re: Samba passwords

2003-07-02 Thread Bob Hall
On Tue, Jul 01, 2003 at 10:29:42AM +0100, Scott Mitchell wrote:
> On Mon, Jun 30, 2003 at 08:25:57PM -0400, Bob Hall wrote:
> > samba-2.2.8a
> > FreeBSD 4.8

I have Samba working with encrypted passwords. In the earlier 
versions of Samba, the default location for the smbpasswd file 
was 
/usr/local/samba/private
It now appears to be
/usr/local/private
As near as I can tell, you create the password file with 
# smbpasswd -a 
This seems to create /usr/local/private/smbpasswd will all users 
in /etc/passwd, and with a hashed password for the user specified 
in the command. Passwords can be added for any further users with 
the usual command:
# smbpasswd 

The crucial step was running smbpasswd with the -a option. After 
that, the instructions in the documentation worked.

Thanks to everyone who responded. Even though I didn't use any of 
the suggestions, they prodded me in the right direction. 

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


Re: asfrecorder

2003-07-02 Thread Bob Hall
On Mon, Jun 30, 2003 at 08:25:43PM -0400, Bob Hall wrote:
> Has anyone gotten asfrecorder to work from a command line? 
> I get the "200 - OK" message and no download. The developer's 
> instructions for getting around this on Windows don't work on 
> a FBSD commandline.

My apologies for reposting this, but I'm hoping that someone 
who didn't see it the first time will see it this time and 
be able to tell me what to do. I've also tried mssclient and 
had no luck. I'd be grateful if someone has used either of 
these or something else and can tell me how to proceed.

I'm trying to download nrk radio news broadcasts so that I 
can use them to improve my comprehension of Norwegian. This 
means listening to the audio broadcast repeatedly for several 
days, so I have to save it to a file. Nrk obviously changes 
their news broadcasts every day.

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


Re: Samba, FBSD, & kernel oplocks

2003-07-02 Thread Bob Hall
In old documentation I see references to FreeBSD supporting kernel 
oplocks "soon". I don't see any recent references to this. Does 
FBSD support kernel oplocks, or is that not going to happen?

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


Re: Pam Question

2003-07-02 Thread Lowell Gilbert
Monah Baki <[EMAIL PROTECTED]> writes:

> I'm trying to setup a freebsd 4.8 server with openldap for
> authentication. I installed pam  from the ports tree, and verified
> /etc/pam.conf does exist.
> 
> How does freebsd know when to use pam

You could always start with the documentation at:
http://www.padl.com/Contents/Documentation.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dhclient

2003-07-02 Thread Bob Hall
I'm getting the following message:
dhclient: send_packet: Permission denied
I thought this was being caused by my firewall, but I made 
some changes and I'm still getting the message. Being 
wholly ignorant about this message, I'm assuming that 
dhclient is trying to send a packet to my ISP's DHCP server, 
and something is blocking it. I'm further assuming that 
my firewall is doing the blocking, and my ignorance is 
preventing me from finding a solution. Can someone tell me 
if my assumptions are correct, or correct them? 

The firewall is ipfw with the SIMPLE option. The modifications 
to the firewall script for DHCP were
# Accept bootps (dhcp):
${fwcmd} add allow udp from ${oip}/32 68 to 0.0.0.0/0 67 out
${fwcmd} add allow udp from 0.0.0.0/0 67 to ${oip}/32 68 in
 
I don't know enough about DHCP to know what other info to provide. 
The following seems to be the default. I'll provide any other 
info if it will help.
 uname -a
FreeBSD kongemord 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Jun 18 15:48:26 EDT 2003
 [EMAIL PROTECTED]:/usr/src/sys/compile/KONGEMORD0  i386

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Nowman
Thanks for your help. I was able to get in. Will you be able to tell me how to get the 
complete install CD downloaded. I tried to look around but could not find any place to 
download the whole install CD from the web.
 
Any help is highly appreciated.
 
Thanks,
 
Nowman
 


Jerry McAllister <[EMAIL PROTECTED]> wrote:
> 
> Hello,
> Will you please let me know any website to download the FreeBSD version 4.7. 
> I really appreciate your response. I went to the freebsd.org to download 
> but it asks for the password for ftp. I tried USA and UK sites.

Have you ever used anonymous ftp before?
You log in with the name 'snonymous' and then put your Email address as
the password.

jerry

> 
> Thanks,
> 
> Nowman

-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xfree86 set up problems

2003-07-02 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 02:54:03PM -0400, Jon-Paul Gonzalez wrote:
> Im having a problem setting up xfree86. Im using 4.8 release. this is the 
> output I get:
> 
> XFree86 Version 4.3.0
> Release Date: 27 February 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: FreeBSD 4.8 i386 [ELF]
> Build Date: 23 March 2003
>   Before reporting problems, check http://www.XFree86.Org/
>   to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul  2 13:43:26 2003
> (==) Using config file: "/etc/X11/XF86Config"
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen 1" (0)
> (**) |   |-->Monitor "monitor M782"
> (**) |   |-->Device "GeForce4"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Option "AutoRepeat" "500 30"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "pc101"
> (**) XKB: model: "pc101"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (==) Keyboard: CustomKeycode disabled
> (WW) `fonts.dir' not found (or not valid) in 
> "/usr/X11R6/lib/X11/fonts/local/".
>   Entry deleted from font path.
>   (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
> (**) FontPath set to 
> "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
> (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (WW) checkDevMem: failed to open /dev/mem (Operation not permitted)
> (--) Using syscons driver with X support (version 2.0)
> (--) using VT number 9
> 
> 
> Fatal server error:
> xf86EnableIO: Failed to open /dev/io for extended I/O
>
> can anybody help?
> 

Please try to do 'cd /dev; sh MAKEDEV io' and try again. If that 
doesn't work try to load the GENERIC kernel. If that doesn't work
try the following

I don't know what situation you are in (i.e. fresh FreeBSD install or 
updated the source with CVS) but i'm asumming you _dont_ installed the 
world just a few days ago.

I've had similair problemens in the past. I've updated my source tree
and used 'portupgrade' (its in the port collection) to update out 
only cetain packages, when i sould have done all related packages of
XFree86-4 and/or KDE, GNOME, ect. I found this often solves problem 
for me.

To do this you could give the command: 'portupgrade -Rf XFree86-4' or 
any other port. If you don't have this port insalled look in 
/usr/ports/sysutils/portupgrade.

Alex

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Joshua Oreman
On Wed, Jul 02, 2003 at 03:14:32PM -0700 or thereabouts, Nowman wrote:
> Thanks for your help. I was able to get in. Will you be able to tell
> me how to get the complete install CD downloaded. I tried to look
> around but could not find any place to download the whole install CD
> from the web.

ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.7/4.7-mini.iso
-- is the smallest install image. You can download the others
   in that directory for more packages. But *DON'T* download
   both the mini.iso and the disc1.iso! (the disc1.iso contains mini.iso).

However, FreeBSD 4.8 came out a little while back; don't you want that?
The address is:
ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.8/4.8-RELEASE-i386-mini.iso
(or 4.8-RELEASE-i386-disc1.iso)

-- Josh

>  
> Any help is highly appreciated.
>  
> Thanks,
>  
> Nowman
>  
> 
> 
> Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > 
> > Hello,
> > Will you please let me know any website to download the FreeBSD version 4.7. 
> > I really appreciate your response. I went to the freebsd.org to download 
> > but it asks for the password for ftp. I tried USA and UK sites.
> 
> Have you ever used anonymous ftp before?
> You log in with the name 'snonymous' and then put your Email address as
> the password.
> 
> jerry
> 
> > 
> > Thanks,
> > 
> > Nowman
> 
> -
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> ___
> [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]"


Questions about x-windows, startx (Extremely long and probablymost blahblah)

2003-07-02 Thread Joachim Dagerot
I have managed to get everything up and running now, including my NVIDIA
card with tv-out on my FreeBSD 5.1. THANKS FOLKS.


Now come the fun part, I have managed to, in .xinitrc have a specific
program running when I run startx. That's lovely.

Now I would like to start and close additional programs, aswell as
maximize, bring to front and back etc. BUT FROM OUTSIDE THE X
ENVIRONMENT.

Why? You ask. Let me tell you the story of my life :-)

[BACKGROUND]

I have a freeBSD running as a file, web and servcice server. It is
located in a closet and there's no such thing as keyboard or monitor
attached to it.

It is however connected (since a few days back) to a TV-set.

In the same room as the TV is also a small device called SLIMP3 located.
(www.slimp3.com) along other thing this device sends all IR-signals
flooding the room to the server. At the server I can do whatever I want
with the signal.

So I have created an ImageViewer application written in JAVA. It's
controlled by different HTML-requests (http://server/ail?next,
http://server/ail?prev etc) and those requests comes from the service
that serves the SLIMP3 device.

All above is still in alpha stage but it's working great so far.

[END BACKGROUND]


Now to my problems:

I would like to start/stop different programs (such as the java-program
mentioned above). I would also like to have many programs running, but
only see one at a time (bring to front, maximize).

I understand this is certainly not a yes/no question, but if someone can
hint me on a window manager that's accessible from outside X, or some
other remote controlled software that might be of interest I would be
glad.


Finally, I will ofcourse post all sources as soon as I have commented
them, and, perhaps, made them a bit more general than they are today,
please feel free to contact me for further details. 



 

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 01:18:35PM -0400, Jerry McAllister wrote:
> > 
> > Hello,
> > Will you please let me know any website to download the FreeBSD version 4.7. 
> > I really appreciate your response. I went to the freebsd.org to download 
> > but it asks for the password for ftp. I tried USA and UK sites.
> 
> Have you ever used anonymous ftp before?
> You log in with the name 'anonymous' and then put your Email address as
> the password.
> 
You may replace 'anonymous' with 'ftp' and can type anything in the 
pasword field.

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


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Bill Campbell
On Thu, Jul 03, 2003 at 12:22:13AM +0200, Alex de Kruijff wrote:
...
>You may replace 'anonymous' with 'ftp' and can type anything in the 
>pasword field.

Custom says to use your e-mail address as the password.  Some anonymous ftp
servers are configured to reject connections with totally bogus passwords
(e.g. mozilla, and the various defaults for Internet Exploder).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``It will be of little avail to the people that the laws are made by men of
their own choice if the laws be so voluminous that they cannot be read, or
so incoherent that they cannot be understood.''
-James Madison, Federalist Paper #62
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which server-side programming should i choose.

2003-07-02 Thread Kevin Kinsey, DaleCo, S.P.
From: "sanketh sangam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 3:19 PM
Subject: Which server-side programming should i choose.


> I have a Apache webserver on FreeBSD machine. I think
> mySQL is also installed(I do not know how to check if
> mySQl is installed on that sytem).
> I am planning to put a user authentication to access
> my webpages in the server. For that i need to write
> server-side programming. Since there are any
> server-side softwares(PHP, ASP, JSP, Perl) ,I
> am confused as to which one would be better for Apache
> and freeBSD.
> Instead of going for those server-side programming,
> should I go for HTTP authentication method. I am
> confused. Any kind of help would be appreciated.
> 
Not much to do with FBSD, but .

PHP!!  All the way...easiest, free, likely to be more
secure than Perl if used as Apache module than CGI.

Beautiful C-like syntax (/usr/src/* might even make
more sense to you after learning it...) great user
community.

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: Downloading FreeBSD 4.7

2003-07-02 Thread Jerry McAllister
> 
> Thanks for your help. I was able to get in. Will you be able to tell me 
> how to get the complete install CD downloaded. I tried to look around 
> but could not find any place to download the whole install CD from the web.

First, something you can do to help make your messages more useful and
make it easier for many of us to respond:   Please break your lines
at around 72 characters.   Some Email readers can be configured to
do that.   If yours cannot, then please hit a RETURN/ENTER (however yours
is labeled) at around 70 or characters to start a new line.


Now,  I never use the web interface to get the ISO-s.   I just go in
with ftp to ftp.freebsd.org.   But, the location will be the same.

When you get in, you need to cd to pub/FreeBSD/ISO-IMAGES-i386/4.8

(It is recommended that you start with V-4.8 and not any of the V-5.X)

In that directory will see 3 ISO files and one CHECKSUM.MD5 file.
Download the file called  4.8-RELEASE-i386-mini-iso
Make sure you are using a binary transfer for that file.
If you are using regular ftp, type the command  'binary'  minus the quotes.
Then, you can also download the file called CHECKSUM.MD5.
If you are doing the ftp from a Microsloth system, then that file
should be downloaded in ASCII text mode (type  'ascii'  while in ftp)
because it is just a text file with the MD5 checksum numbers to use
to verify a good download.   If you accidently download the checksum
file in binary it is no big problem.  It will just have extra CR-s in it.
But, you mush download the ISO in binary mode or it will be junk.

If you are where you can run md5 on the ownloaded ISO, then do it and
compare the number it gives with the one for that file in the checksum
file.  If they are the same the ISO download should be good.

Then, burn the ISO directly as is on to a CD. 

If you are using the whole disk for FreeBSD, you can just proceed.  If
you are trying to dual boot it with Win-something or Linux along with
the FreeBSD, then you will have to slice the drive.   If it already has
the Win-something on it, the easiest thing is to use a program that 
will shrink the Win slice and make room for a FreeBSD slice.  I have
successfully used a utility called Partition Magic.   It is available
for around $50 in most electronics mass market stores like Best Buy, etc.
There are freeware ones, but generally they don't work for XP and NTFS
type file systems, but do just fine with old FAT stuff with Win95-98, etc.

Although you will see lots of warnings about boot sectors needing to 
be in no higher than a certain cylinder on the disk, most modern BIOSes
don't have that problem.   But, if you get things all installed and it
won't boot because it can't find your bootable filesystem, then you 
may have to rethink your disk divisions and put a smaller MS-Win slice
low, then a FreeBSD slice and then the rest of the space for the 
remainder of your MS stuff, or something.   If you enjoy juggling
such thing, you will be in paradise, but I prefer to just have a more
current BIOS.   Some systems have downloadable upgrades available that
will fix the problem.   This is all below the FreeBSd level and must
be decided and fixed before installing FreeBSD.

Of course, the easiest thing is to just blow off the MS-Win stuff and make
the whole machine a FreeBSD machine.  Then, there is no problem.  Just
make one FreeBSD slice covering the whole disk.   You can do all that
during install and choose to make it bootable, etc.

When you get your disk use issues all settled

Pop the CD in to the machine where you want to install FreeBSD and boot 
it off the CD.  You may have to tinker with the BIOS boot order to get 
it to boot from the CD.  It must have the CD before the hard disk in 
the boot order list.

The mini-iso disk is the only one you really need.   It has the entire
installation stuff and knows how to get the rest via ftp.After you 
finish doing the config stuff and carve up the disk, you just select 
installing via FTP and it will download everything you ever need and 
want.  Of course, if you have a slow connection, it will take a while, 
but not really any longer than downloading those other two ISO-s.   

If your connection is too slow to install over, then you should just 
buy the CD set from BSD Mall or one ot the other contributing vendors 
that package a CD set and sell them for a nonimal cost and contribute 
a bit of the revenue to the FreeBSD foundation.

jerry

>  
> Any help is highly appreciated.
>  
> Thanks,
>  
> Nowman
> 
> Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > 
> > Hello,
> > Will you please let me know any website to download the FreeBSD version 4.7. 
> > I really appreciate your response. I went to the freebsd.org to download 
> > but it asks for the password for ftp. I tried USA and UK sites.
> 
> Have you ever used anonymous ftp before?
> You log in with the name 'snonymous' and then put your Email address as
> the password.
> 
> jerry
> 
> > 
> > Thanks,
> > 
> 

Re: Which server-side programming should i choose.

2003-07-02 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 02:14:01PM -0700, sanketh sangam wrote:
> Hey Alex,
> Thanks for your response. The advance HTTP
> authentication is called DIGEST Authentication.

Yes that the one.

> Now about PHP and JSP, as for now i am starting out
> with a small application. So, i guess i can go for
> PHP. But later if the project gets larger can i
> migrate from PHP to JSP, I mean can it be accomplished
> easily.

Its an entairly different programming language. Every php
page have to be rewritten. So no, not realy. If i whould 
be plaing on something big, i would start with JSP evendou
the project wasn't big jet.

> Do u know about "mod_auth_mysql" along with
> ".htaccess" (they are provided my apache). It seems
> that module can be used for user authentication. 

I have no experience with that port, but i beleave it
to allow acces to certain directory and getting the 
information from a database. Wether or not to use it
proberbly depend on you detailed plans. I don't think
i can help you with it.

> I am
> not sure if that module is running on my system. Do u
> know how i can find out if that module has been
> installed on my system or not.

pkg_info wil list it if its on you system. But that's 
another discussion and thus doesn't realy belong in this
mail.

> Thank you very  much for your time.
> -Babu

I feel the following things are helpfull sending to 
these list:
1. Do send mail like this with a cc to the orginal list.
   Others can learn from our exange of information.
2. Don't top-post. This makes it hard for other to read it.
3. Cut you text. Text that has no more relevancy only 
   confueses people.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >