Re: pop-before-smtp

2003-01-13 Thread Antoine Jacoutot
On Mon, 2003-01-13 at 01:26, Alex wrote:
> 
> Dear/Beste Antoine,
> 
> Monday, January 13, 2003, 12:41:32 AM, you wrote:
> 
> > I've been looking all around but I don't find any pop-before-smtp
> > solution within FreeBSD (no package, no ports, at least I didn't find
> > any).
> > Do you know if such a solution exists.
> 
> What do you mean with: pop-before-smtp. You use STMP to send you mail
> from one server to another. And you use POP(3) to receive you mail
> from the 2nd server. I use qpopper for my pop3 services.

pop-before-smtp is a solution to use smtp from mobile locations without
using an smtp-auth technique.
Basically, you authenticate through pop, if the authentication is
successfull, then your IP is marked as "ok for relaying" during a
periiod of time.
Very usefull when your users connect from different places as they have
dynamic IPs.

Antoine



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: pop-before-smtp

2003-01-13 Thread Antoine Jacoutot
On Mon, 2003-01-13 at 01:37, pan wrote:

> http://popbsmtp.sourceforge.net/
> 

Thanks, I was just hoping such a solution was included in FreeBSD (in
ports or in the distribution).

Antoine



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: pop-before-smtp

2003-01-13 Thread Antoine Jacoutot
On Mon, 2003-01-13 at 02:41, Mark wrote:

> 
> I use DRAC + SASL (for sendmail). Admitted, you have to recompile a few
> items; but it works like a charm. :)
> 

Looks interesting, thank you... I'll try that.

Antoine



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Cannot find lgiconv building libwmf

2003-01-13 Thread Glenn Todd
Currently running FreeBSD 4.7-STABLE #15 and cvsup'd the ports tree in 
late December.

Have installed gnome2 and was trying to build libwmf and got the 
following error.  What is wrong?  I have two libxml libs in 
/usr/local/lib, is this an issue?

Glenn

---part listing of /usr/local/lib
-rw-r--r--  1 root  wheel  523878  6 Jan 22:58 libxml.a
lrwxr-xr-x  1 root  wheel  11  6 Jan 22:58 libxml.so -> libxml.so.5
-rwxr-xr-x  1 root  wheel  495225  6 Jan 22:58 libxml.so.5
-rw-r--r--  1 root  wheel  878164 13 Jan 06:52 libxml2.a
-rwxr-xr-x  1 root  wheel 673 12 Sep  2001 libxml2.la
lrwxr-xr-x  1 root  wheel  12 13 Jan 06:52 libxml2.so -> 
libxml2.so.5
-rwxr-xr-x  1 root  wheel  810023 13 Jan 06:52 libxml2.so.5


-build error

Building for libwmf-0.2.7
make  all-recursive
Making all in .
Making all in src
Making all in extra
Making all in trio
Making all in gd
Making all in ipa
Making all in .
Making all in convert
/bin/sh ../../libtool --mode=link cc  -O -pipe  
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/X11R6/include  -I/usr/local/include/libxml2 
-I/usr/local/include  -I/usr/local/include -I/usr/local/include 
-L../../src/.libs   -L/usr/local/lib -lfreetype  -L/usr/X11R6/lib  -lSM 
-lICE -lX11  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm 
-L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lm 
-o wmf2eps  wmf2eps.o ../libwmf.la ../libwmflite.la cc -O -pipe 
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -o .libs/wmf2eps wmf2eps.o  
-L/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs 
-L/usr/local/lib -L/usr/X11R6/lib ../.libs/libwmf.so 
/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs/libwmflite.so 
-lfreetype -lSM -lICE -lX11 /usr/local/lib/libxml2.so -lgiconv -liconv 
-ljpeg -lpng -lz ../.libs/libwmflite.so -lm -Wl,--rpath 
-Wl,/usr/local/lib
/usr/libexec/elf/ld: cannot find -lgiconv
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/convert.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Cannot find lgiconv when building libwmf

2003-01-13 Thread Glenn Todd
Currently running FreeBSD 4.7-STABLE #15 and cvsup'd the ports tree in 
late December.

Have installed gnome2 and was trying to build libwmf and got the 
following error.  What is wrong?  I have two libxml libs in 
/usr/local/lib, is this an issue?

Glenn

---part listing of /usr/local/lib
-rw-r--r--  1 root  wheel  523878  6 Jan 22:58 libxml.a
lrwxr-xr-x  1 root  wheel  11  6 Jan 22:58 libxml.so -> libxml.so.5
-rwxr-xr-x  1 root  wheel  495225  6 Jan 22:58 libxml.so.5
-rw-r--r--  1 root  wheel  878164 13 Jan 06:52 libxml2.a
-rwxr-xr-x  1 root  wheel 673 12 Sep  2001 libxml2.la
lrwxr-xr-x  1 root  wheel  12 13 Jan 06:52 libxml2.so -> 
libxml2.so.5
-rwxr-xr-x  1 root  wheel  810023 13 Jan 06:52 libxml2.so.5


-build error

Building for libwmf-0.2.7
make  all-recursive
Making all in .
Making all in src
Making all in extra
Making all in trio
Making all in gd
Making all in ipa
Making all in .
Making all in convert
/bin/sh ../../libtool --mode=link cc  -O -pipe  
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/X11R6/include  -I/usr/local/include/libxml2 
-I/usr/local/include  -I/usr/local/include -I/usr/local/include 
-L../../src/.libs   -L/usr/local/lib -lfreetype  -L/usr/X11R6/lib  -lSM 
-lICE -lX11  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm 
-L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lm 
-o wmf2eps  wmf2eps.o ../libwmf.la ../libwmflite.la cc -O -pipe 
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -o .libs/wmf2eps wmf2eps.o  
-L/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs 
-L/usr/local/lib -L/usr/X11R6/lib ../.libs/libwmf.so 
/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs/libwmflite.so 
-lfreetype -lSM -lICE -lX11 /usr/local/lib/libxml2.so -lgiconv -liconv 
-ljpeg -lpng -lz ../.libs/libwmflite.so -lm -Wl,--rpath 
-Wl,/usr/local/lib
/usr/libexec/elf/ld: cannot find -lgiconv
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/convert.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: ftpd and Internet Explorer 6

2003-01-13 Thread James Pole
On Mon, 2003-01-13 at 15:27, Drew Tomlinson wrote:
> I was attempting to allow a user to get some files via ftp from my FreeBSD
> 4.7 box using the ftp client built into MS Internet Explorer 6 (IE).  I
> created a guest account and set the shell to /sbin/nologin.  That appears to
> work fine.  Then I created a symlink to the directory that contains the
> files for the user but the symlink doesn't appear in the files list in IE.
> All of the .files that were created by the adduser script do show.  My
> directory looks like this:

Why not just use Apache and get the user to get the file via HTTP. MSIE
is a web browser and not a FTP client, after all...

- James

-- 
James Pole

ICQ: 21721828
AIM: kiwijames1986
MSN: [EMAIL PROTECTED]
SMS: +64-210-455-139


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: pop-before-smtp

2003-01-13 Thread Antoine Jacoutot
On Mon, 2003-01-13 at 05:55, Dirk Meyer wrote:

> $ cd /usr/ports/mail/popa3d && make SMTP_AFTER_POP3=yes install
> $ less /usr/local/share/doc/popa3d/POPAUTH

Wow, thanks so much this is exactly the kind of solution I was looking
for.

Best regards.

Antoine



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Zope does not start on boot-up

2003-01-13 Thread Hanspeter Roth
  On Jan 13 at 05:31, P. U. Kruppa spoke:

>   File /usr/local/www/Zope/z2.py, line 690, in ?
> IOError: [Errno 13] Permission denied: '/usr/local/www/Zope/var/Z2.pid'


Hi Uli,

maybe zope switches to a specific user which has no write permission
on /usr/local/www/Zope/var ?
Maybe `-u www' tells zope to switch to www?
You might try to change the owner of /usr/local/www/Zope/var to www.

When you start it manually (/usr/local/www/Zope/start) do you use
root or some dedicated user?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Bios not recognizing correct HD size

2003-01-13 Thread Paul Everlund
On Fri, 10 Jan 2003, Jud wrote:

> On Fri, 10 Jan 2003 15:50:45 -0600
> "Mike Loiterman" <[EMAIL PROTECTED]> wrote:
>
> [snip]
> > > Also make sure the jumpers are correctly set on the drive. Sometimes
> > > the jumpers can be set to fake the disk size reported to the BIOS.
> [snip]
>
> Perhaps you've answered this and I didn't catch it: How are your
> jumpers set?

Hmmm... That one I've forgotten. It was quite a long itme I tried
to do this. Anyway, as the BIOS is only used when booting they
probably should be set to report the disk as smaller than it actually
is. After booting the BIOS isn't involved so that restriction should
not apply. But I'm not sure. You could maybe make some trial-and-error
investigation on what works and what does not?

As Mike (I think it was him) wrote, you could also buy an ATA board
with BIOS. That I've done that several times and it works great!

Good luck!

Best regards,
Paul


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linked twice against libintl.so

2003-01-13 Thread Hanspeter Roth
  On Jan 12 at 17:46, Dan Nelson spoke:

> You definitely don't want to do this.  Shared libraries get version
> bumps when the APIs change, so all you would do is coredump.

Is gettext's application programming interface changing so often?
(Without staying compatible.)

> Run "ldd -a" on your electriceyes binary instead of "ldd".  This will

My ldd doesn't have -a. I have 4.7-RELEASE-p3. So I've created a script.

> print out which libs pull in which libs.  Then upgrade whatever port
> provided the lib that depends on libintl.so.2.

/usr/X11R6/lib/libgnomeui.so.5 also is linked against libintl.so.2.
libgnomeui belongs to the package gnomelibs. I'll upgrade this
later.
Thank you.

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Postfix vs. Sendmail

2003-01-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-13 09:38:58 +1000:
> On Fri, 2003-01-10 at 23:03, Roman Neuhauser wrote:
> > # [EMAIL PROTECTED] / 2003-01-07 09:52:44 +1000:
> > > 
> > > um ... what's wrong with doing this in /etc/make.conf?
> > > 
> > > NO_BIND = true
> > > NO_OPENSSL = true
> > > NO_SENDMAIL = true
> > > 
> > > and so on.
> > > 
> > > Seems to be exactly what you want to do
> > 
> > No it's not.
> > 
> > The issue is more complex: Sendmail + DJB's dnscache
> > + nameserver 127.0.0.1 in /etc/resolv.conf + default means of
> > starting up the software = broken system:
> 
> This sounds like a different issue - my suggestion was for how to avoid
> putting sendmail into the system when you build it.

not really a different issue. the OP wanted to be able to [not]
install Sendmail, Bind etc. during the initial system setup. that's
impossible ATM. plus, replacing part of the base with a port might
break your system.

Neither makes your suggestion "exactly what you want".
 
> Admittedly, after a default install it's already there and you have to
> go and remove it, so yes, there should be an installer option for it.

and yes, that's what the OP wanted.
 
> > 1) Sendmail gets started (/etc/rc.sendmail)
> > 2) Sendmail looks up it's name (queries 127.0.0.1:53)
> > 3) Sendmail gets upset
> > 4) dnscache gets started (/usr/local/etc/rc.d/000.svscan.sh)
> > 5) too late
> 
> If you need to start sendmail after DJB dnscache, you can disable it in
> /etc/rc.conf and start it from a local script, no?

yes. that means you must do more than you said originally, and what
you said originally is not "exactly what you want".

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: 4.7-Release Won't Boot

2003-01-13 Thread Roman Neuhauser
please hit enter every now and then while typing. lines as long as
1040 characters are a bit excessive.

# [EMAIL PROTECTED] / 2003-01-12 21:52:55 -0400:
> I am attempting an installation of 4.7 Release made from ISO a few
> days ago on the following system: AMD Athlon 1400 Aopen AK77-333 MB
> Western Digital Caviar 20GB Hard Disk
> 
> The system boots from CD A OK, and runs through the install without
> any problems, upon reboot after the install is complete the system
> reports a disk error and FreeBSD will not boot from the hard drive, it
> does not begin loading FreeBSD or anything at all.

hard to tell what could be the cause without you providing the exact
error message.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Metin de Dwaas

Hey hey!

When I install BSD on a colo machine (actually 2 machines)
And after the installation I reboot the machine..
It hangs on the startup:

"Starting Daemons: sshd sendmail sendmail-mclient" something like
that.. when i disable it in rc.conf and start sendmail manually with
"sendmail -bd" it wont come up.. shouldnt the mailserver come up with
the default settings also?

I was using the mini-iso from 4.7-STABLE (which actually seems to be
4.7-RELEASE)


Anyone?

gr,
dwaas

-- 
Gr,
dwaasje
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Daxbert
>When I install BSD on a colo machine (actually 2 machines)
>And after the installation I reboot the machine..
>It hangs on the startup:

I've had problems like this when name resolution was broken.
Confirm name resolution is 'happy'. Check the following...

/etc/hosts
/etc/resolv.conf
no firewall issues blocking 53

You should be able to perform forward and reverse queries on
your hostname.

Dax


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re[2]: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Metin de Dwaas
Hello Daxbert,

Monday, January 13, 2003, 12:09:04, you wrote:

>>When I install BSD on a colo machine (actually 2 machines)
>>And after the installation I reboot the machine..
>>It hangs on the startup:

> I've had problems like this when name resolution was broken.
> Confirm name resolution is 'happy'. Check the following...

> /etc/hosts
> /etc/resolv.conf
> no firewall issues blocking 53

> You should be able to perform forward and reverse queries on
> your hostname.

> Dax


> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

Ok thx! forgot that :/ I'm gonna check it.. I'll let you know..

-- 
Gr,
dwaasje
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 12:02:26PM +0100, Metin de Dwaas wrote:

> When I install BSD on a colo machine (actually 2 machines)
> And after the installation I reboot the machine..
> It hangs on the startup:
> 
> "Starting Daemons: sshd sendmail sendmail-mclient" something like
> that.. when i disable it in rc.conf and start sendmail manually with
> "sendmail -bd" it wont come up.. shouldnt the mailserver come up with
> the default settings also?

Sendmail hanging on startup usually indicates a DNS problem ---
sendmail puts a lot of effort into looking up the local host and the
addresses of it's interfaces in the DNS in order to work out what it's
FQDN should be and so forth.  If there's a problem doing that, it will
hang for what seems like a very long time indeed waiting for answers
from the DNS.  Actually it's only about 30s per query per nameserver
listed in /etc/resolv.conf.

Check /var/log/maillog --- there will be sufficient error messages
logged in there to enable you to diagnose what exactly is broken and
presumably how to fix it.  Or let us see relevant portions of the log
files if you need more help.
 
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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re[3]: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Metin de Dwaas
Hello Metin,

Monday, January 13, 2003, 12:12:19, you wrote:

> Hello Daxbert,

> Monday, January 13, 2003, 12:09:04, you wrote:

>>>When I install BSD on a colo machine (actually 2 machines)
>>>And after the installation I reboot the machine..
>>>It hangs on the startup:

>> I've had problems like this when name resolution was broken.
>> Confirm name resolution is 'happy'. Check the following...

>> /etc/hosts
>> /etc/resolv.conf
>> no firewall issues blocking 53

>> You should be able to perform forward and reverse queries on
>> your hostname.

>> Dax


>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message

> Ok thx! forgot that :/ I'm gonna check it.. I'll let you know..


And it works! Forgot to make the host resolvable.. So you're right..
Thx dude! :)

-- 
Gr,
dwaasje
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



downloading problems from FreeBSD 4.7 STABLE

2003-01-13 Thread Metin de Dwaas
what i dont understand is..
that when i download from a machine on a 100Mbit connection i get
like 115kb/s at home.

but when i download from my own colocated machine i get like 3kb/s to
0.20kb/ LOL hahaha.. ok.. BUT the strange part is... that i asked a
few friends of mine to download from that machine also... and they get
their full 115kb/s.. so i think..

1. it isnt my connection because i can download with 115kb/s from
another 100mbit machine..
2. it isnt the colo server because my friends CAN download with
115kb/s..

what can possibly be the problem? anyone?
oh yes... i have already tried to reinstall proftpd (well ok i know it
sounds stupid... but hey.. i had to try something right? :-P)


gr,
Metin de Dwaas

-- 
Gr,
dwaasje
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Security Report

2003-01-13 Thread Rus Foster
Hi,
Is it my imagination or should FreeBSD automatically make run a cron job
to generate a security report? If so does anyone have the cron line?

Rgds

Rus

--
http://www.fsck.me.uk - My blog
http://www.65535.net - $120 for a lifetime UNIX shell account


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Security Report

2003-01-13 Thread Yonatan Bokovza
> -Original Message-
> From: Rus Foster [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 13:17
> To: [EMAIL PROTECTED]
> Subject: Security Report
> 
> 
> Hi,
> Is it my imagination or should FreeBSD automatically make run 
> a cron job
> to generate a security report? If so does anyone have the cron line?

daily_status_security_enable="YES" is the default, from
/etc/defaults/periodic.conf. If you didn't change that in
/etc/periodic.conf it should run as a part of the "periodic daily".
The "periodic daily" line in /etc/crontab is (by default):
1   3   *   *   *   rootperiodic daily

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Security Report

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 11:16:50AM +, Rus Foster wrote:

> Is it my imagination or should FreeBSD automatically make run a cron job
> to generate a security report? If so does anyone have the cron line?

No, you're not imagining things.  See /etc/crontab for the invocation
of the periodic(8) script.  The security report is generated as part
of the daily periodic job.

If you aren't receiving the reports, check that a) they aren't piling
up in some mail queue somewhere:

# mailq -v
# mailq -Ac -v

or b) that the default settings in /etc/periodic.conf haven't been set
to redirect the report output somewhere else.  Look for the
'daily_status_security_enable', 'daily_status_security_inline' and
'daily_status_security_output' settings.  If you haven't got a
/etc/periodic.conf file that's OK, as you'll just end up using the
default settings from /etc/defaults/periodic.conf

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Security Report

2003-01-13 Thread Rus Foster
On Mon, 13 Jan 2003, Matthew Seaman wrote:

> On Mon, Jan 13, 2003 at 11:16:50AM +, Rus Foster wrote:
>
> > Is it my imagination or should FreeBSD automatically make run a cron job
> > to generate a security report? If so does anyone have the cron line?
>
> No, you're not imagining things.  See /etc/crontab for the invocation
> of the periodic(8) script.  The security report is generated as part
> of the daily periodic job.
>

Thanks. Don;t suppose there is a tool to harden FreeBSD as well is there?
I couldn't see anything in ports

Rus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Big directory size

2003-01-13 Thread Varshavchick Alexander
Hello,

I had a directory with a lot of files (about 100 000), and naturally, the
size of the directory entry itself was big enough (about 1M). Now I've
split all these files to different subdirectories, to increase the system
performance. The major directory entry size didn't change, however such a
big value is not needed now.

Now here is a question - can an unnessesary big value of a directory
entry size harm the system performance? I guess it does not, is it
correct?

Thanks


Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Multiple network cards with IP addresses in the same network

2003-01-13 Thread Anand Buddhdev
I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
card). I configured the em0 with address 192.168.0.1/24. I then wanted
to configure fxp0 with the address 192.168.0.2/24, and also connect it
to the switch so that I can connect to the server via both addresses.
However, FreeBSD's ifconfig command fails, and won't let me add the second
address to the fxp0 interface. I read the manual page about ifconfig,
and read about aliases, where it said that for aliases, I must use the
netmask /32. When I do try to add the second address with a netmask of
/32, it works, but it doesn't make sense to me. How is that interface
going to to know that it is part of a /24 network if I use a /32 netmask?

Would anyone be kind enough to explain why:

1. For aliases, I need the /32 mask

2. Adding a second IP to a *different* network card in the same server
does not work if the second IP is within the network of the first one.

-- 
Anand Buddhdev
http://anand.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Hardware - IBM PD-1 LF-1195

2003-01-13 Thread Zbyněk Burget
Hi,
I use PD-drive (in dmesg IBM PD-1 LF-1195). But under FreeBDS I can use this
as CD-ROM only. I can't find/mount optical disk. Unde Win2k drive work
correctly. Can you help me?

Regards

Zbynek Burget



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Security Report

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 11:32:00AM +, Rus Foster wrote:
> On Mon, 13 Jan 2003, Matthew Seaman wrote:
> 
> > On Mon, Jan 13, 2003 at 11:16:50AM +, Rus Foster wrote:
> >
> > > Is it my imagination or should FreeBSD automatically make run a cron job
> > > to generate a security report? If so does anyone have the cron line?
> >
> > No, you're not imagining things.  See /etc/crontab for the invocation
> > of the periodic(8) script.  The security report is generated as part
> > of the daily periodic job.
> >
> 
> Thanks. Don;t suppose there is a tool to harden FreeBSD as well is there?
> I couldn't see anything in ports

There are any number of tools to help you eliminate vulnerabilities
and generally harden up your system.  With FreeBSD you're starting
from a pretty good base already, and just applying common sense will
go a long way towards keeping you clear.  However, these are
untrusting times and there are a number of extra measures that you can
certainly take.

i) Read the security(7) man page.

ii) Eliminate any services, network daemons etc. that you may have
enabled, but that you aren't using.  Make sure that you can
account for all of the entries in the output of 'netstat -a'.
Install 'nmap' from ports and scan your host at regular intervals.
Even better, if you can swing it, is to get a friend to scan your
host from a remote location.  For those network services you need
to supply, configure them on the basis of 'least privilege' ---
ie. deny all access by default and only open up sufficient for
authorised uses.  Run servers as unprivileged users and use
chroot(8) and jail(8) to limit your exposure even if a server is
compromised.  Choose software packages with a good reputation for
security.  Learn about ipfw(8) or ipf(8) and hosts_options(5) as
well as any server specific configuration options.  It's a good
idea to defend in depth -- configure your servers strictly even if
you also have a firewall ruleset that does an equivalent job.
After all, mistakes happen and this way, you should be several
steps away from disaster.

iii) If you're giving out or selling login accounts (including to
things like web sites or ftp accounts) to other users, sit down
and write an acceptable usage policy detailing what is, and is not
permissible to do from your machine and the penalties incurred for
infraction.  Get all your users to agree and sign off on this
policy.  Then enforce it strictly.  Make sure that login messages
(like /etc/issue (see gettytab(5)), /etc/motd, etc/ftpwelcome)
can't be construed as an invitation to hack into your machine.
 
iv) Proper, on-going maintainance of the system is vital for
ensuring security.  It's just not possible to spend a few days
securing a machine and then have it be 'secure' for ever after.
Keep up to date with security advisories.  Update machines
regularly.  Clean out old software installations or user accounts
that are now surplus to requirements.

v) Your best defense is useless if the black hats can sneak in
under your guard and do nefarious things without your noticing.
Develop a nasty, suspicious character.  Make sure that any and all
activities of a potentially sensitive nature result in log file
entries or some other form of audit trail. Paranoia is good.
Think about using intrusion detection systems such as snort.
Monitor your filesystems for suspicious changes --- tools like
tripwire are invaluable for detecting trojans and root kits.
System logs make good bedtime reading.

vi) Eschew plaintext.  ssh(1) is your friend.  Avoid plain telnet
or rsh.  Remember that remote X sessions are easy to snoop as
well: employ ssh's ability to pass X protocol data through an
encrypted tunnel.

vii) Remember that there is no such thing as absolute security.  A
clever enough and sufficiently determined attacker will always be
able to beat you.  (What would you do if a couple of thugs broke
into your house and began breaking your fingers until you told
them the root password?)  Be measured in the policies you adopt.
Weigh up the value of what you are trying to protect and the cost
--- not just financial, but in terms of aggravation to legitimate
users --- of the security measures you impose.

viii) And finally, take good backups and keep them in a secure,
off-site location.  Sleep well at night.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: mounting a dos file system

2003-01-13 Thread Shantanu Mahajan
+++ P. U. Kruppa [freebsd] [11-01-03 06:28 +]:
| On Fri, 10 Jan 2003, chip wiegand wrote:
| 
| > On Fri, 10 Jan 2003 19:13:49 -0500
| > Adam Stroud <[EMAIL PROTECTED]> wrote:
| >
| > > Instal Samba.  I have a silimar situation, and Samba works great foe
| > > me.
| >
| > Samba is for sharing FBSD shares on the windows network. There is a port
| > for Sharity-Light which makes it real easy to mount your windoze shares.
| >
| > shlight //computer_name/share_point /mount_dir
| Would this work with Win2000 Professional? - Can Sharity-Light
| read and write NTFS, don't you need a server edition?
| 
| Uli.
writing is done by the windows itself. FBSD, rather
samba tells what to written on the shared drive with help of SMB
protocol. it doesn't matter to samba what file system is
used by windows.

Regards,
Shantanu

-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 




msg15300/pgp0.pgp
Description: PGP signature


Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread Lowell Gilbert
Anand Buddhdev <[EMAIL PROTECTED]> writes:

> I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
> are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
> card). I configured the em0 with address 192.168.0.1/24. I then wanted
> to configure fxp0 with the address 192.168.0.2/24, and also connect it
> to the switch so that I can connect to the server via both addresses.
> However, FreeBSD's ifconfig command fails, and won't let me add the second
> address to the fxp0 interface. I read the manual page about ifconfig,
> and read about aliases, where it said that for aliases, I must use the
> netmask /32. When I do try to add the second address with a netmask of
> /32, it works, but it doesn't make sense to me. How is that interface
> going to to know that it is part of a /24 network if I use a /32 netmask?
> 
> Would anyone be kind enough to explain why:
> 
> 1. For aliases, I need the /32 mask

You don't, *unless* the address is inside of a subnet for which you
already have a route.  In that case, you obviously need to avoid
ambiguity.

> 2. Adding a second IP to a *different* network card in the same server
> does not work if the second IP is within the network of the first one.

Because when a packet comes in for that network, there's no way to
tell which card it should go to.

I think you need to rethink your network design a bit.  If you have
different Ethernet links, you should either bridge or route between
them.  If you want to route between them, they almost always should
have distinct subnet ranges.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



iPaq news

2003-01-13 Thread Joshua Coombs
The onboard modem, despite not looking like an lt winmodem when looking
at the chip itself, does infact work with the ltmdn port.  Just need to
add it's pci vendor/id combo to the src before compiling.

0x11c1 0x0441

Still have one pci device coming up that I haven't id'd yet, nor have I
gotten apm (using 4.7) to work.  If anyone's got experience enabling apm
with a VIA MVP4 based system let me know.  Enabling it in the kernel
(and removing the disable flag) does not result in any form of apm being
detected, yet I know this machine is capible of it.  (It uses strictly
soft power control, it's a pain having to shut it off by yanking the
power cord.)

The iPaq has also survived approx 24 hours of constant compiling from
ports and kernels swapping to a vn file backed swap drive powered by a
umass device with out a hiccup.  If someone can walk me through what
needs to be done I'd like to help diag why you can't swap directly to
the umass drive.

Joshua Coombs

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Zope does not start on boot-up

2003-01-13 Thread P. U. Kruppa
Hi Hanspeter!

On Mon, 13 Jan 2003, Hanspeter Roth wrote:

>   On Jan 13 at 05:31, P. U. Kruppa spoke:
>
> >   File /usr/local/www/Zope/z2.py, line 690, in ?
> > IOError: [Errno 13] Permission denied: '/usr/local/www/Zope/var/Z2.pid'
>
>
> Hi Uli,
>
> maybe zope switches to a specific user which has no write permission
> on /usr/local/www/Zope/var ?
> Maybe `-u www' tells zope to switch to www?
> You might try to change the owner of /usr/local/www/Zope/var to www.
>
> When you start it manually (/usr/local/www/Zope/start) do you use
> root or some dedicated user?
Yeah, that was it.
I changed -R owner and goup of /usr/local/www/Zope/var/ to
www and wheel .
Now I can start and stop it from bootup and manually.

Thanks a lot!

Uli.

>
> -Hanspeter
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Re[2]: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Adam Maas
Note that it doesn't actually hang if Name resolution is broken, just atkes
about 5 minutes to start the Daemons. Found this out last night the hard
way.

--Adam

- Original Message -
From: "Metin de Dwaas" <[EMAIL PROTECTED]>
To: "Daxbert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 6:12 AM
Subject: Re[2]: 4.7 Release hangs upon Sendmail startup.


> Hello Daxbert,
>
> Monday, January 13, 2003, 12:09:04, you wrote:
>
> >>When I install BSD on a colo machine (actually 2 machines)
> >>And after the installation I reboot the machine..
> >>It hangs on the startup:
>
> > I've had problems like this when name resolution was broken.
> > Confirm name resolution is 'happy'. Check the following...
>
> > /etc/hosts
> > /etc/resolv.conf
> > no firewall issues blocking 53
>
> > You should be able to perform forward and reverse queries on
> > your hostname.
>
> > Dax
>
>
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
>
> Ok thx! forgot that :/ I'm gonna check it.. I'll let you know..
>
> --
> Gr,
> dwaasje
> [EMAIL PROTECTED]
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread Bill Moran
Anand Buddhdev wrote:

I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
card). I configured the em0 with address 192.168.0.1/24. I then wanted
to configure fxp0 with the address 192.168.0.2/24, and also connect it
to the switch so that I can connect to the server via both addresses.
However, FreeBSD's ifconfig command fails, and won't let me add the second
address to the fxp0 interface. I read the manual page about ifconfig,
and read about aliases, where it said that for aliases, I must use the
netmask /32. When I do try to add the second address with a netmask of
/32, it works, but it doesn't make sense to me. How is that interface
going to to know that it is part of a /24 network if I use a /32 netmask?

Would anyone be kind enough to explain why:

1. For aliases, I need the /32 mask


I didn't know that you did.  I've certainly had aliases that weren't /32


2. Adding a second IP to a *different* network card in the same server
does not work if the second IP is within the network of the first one.


Because it breaks routing and the basic concept of IP addys and netmasks.
If you have two NICs on the same network, how is the kernel supposed to
route packets?

If you want this setup as a failover solution, there are other ways.
There's a program in the ports (I can't remember the name, you'll have to
do some research) that will monitor an interface, and if it becomes non-
responsive, run a script of your choosing.  Thus, you can have it start
up the other network card if the first fails.

If failover isn't what you're looking for, then I'd reconsider your
network topology.  It doesn't really make sense to have 2 NICs with the
same network number in one machine.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread Anand Buddhdev
On Mon, Jan 13, 2003 at 07:53:08AM -0500, Bill Moran wrote:

> >I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
> >are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
> >card). I configured the em0 with address 192.168.0.1/24. I then wanted
> >to configure fxp0 with the address 192.168.0.2/24, and also connect it
> >to the switch so that I can connect to the server via both addresses.
> >However, FreeBSD's ifconfig command fails, and won't let me add the second
> >address to the fxp0 interface. I read the manual page about ifconfig,
> >and read about aliases, where it said that for aliases, I must use the
> >netmask /32. When I do try to add the second address with a netmask of
> >/32, it works, but it doesn't make sense to me. How is that interface
> >going to to know that it is part of a /24 network if I use a /32 netmask?
> >
> >Would anyone be kind enough to explain why:
> >
> >1. For aliases, I need the /32 mask
> 
> I didn't know that you did.  I've certainly had aliases that weren't /32

I have been using linux for about 2 years now. Let me explain why I
don't understand.

I have addresses 192.168.0.1 and 192.168.0.2. I want to run different
services on the 2 different IP addresses. In a linux system, I do:

ifconfig eth0 192.168.0.1 netmask 255.255.255.0
ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0

So that I have 2 different addresses bound to the same interface.

On FreeBSD, if I do:

ifconfig fxp0 192.168.0.1 netmask 255.255.255.0
ifconfig fxp0 192.168.0.2 netmask 255.255.255.0 alias

That fails.

The ifconfig manpage states that a nonconflicting netmaks must be used
for the alias, and suggests to use 0x. I don't understand why,
because I don't see why one network interface cannot have more than one
address bound to it within the same network. If I use a /32 netmask for
the alias address, how will the kernel respond to arp requests for that
alias address?

> >2. Adding a second IP to a *different* network card in the same server
> >does not work if the second IP is within the network of the first one.
> 
> Because it breaks routing and the basic concept of IP addys and netmasks.
> If you have two NICs on the same network, how is the kernel supposed to
> route packets?

I still don't understand. In a linux system I can do:

route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth0
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth1

This adds 2 default routes in the linux kernel, telling it to route
packets to the outside world using either network interface, where eth0
has address 192.168.0.1/24 and eth1 has address 192.168.0.2/24. What's
wrong with that?

> If you want this setup as a failover solution, there are other ways.
> There's a program in the ports (I can't remember the name, you'll have to
> do some research) that will monitor an interface, and if it becomes non-
> responsive, run a script of your choosing.  Thus, you can have it start
> up the other network card if the first fails.

Ok, I understand that, and it may be a very useful program, *if* you
want to bring up the other interface with perhaps the same IP address.

All I want to do is to have 2 different IP addresses on each of the
different interfaces in the server, where the addresses are in the
same network. I can do it in linux. Why can't I do it in FreeBSD?

> If failover isn't what you're looking for, then I'd reconsider your
> network topology.  It doesn't really make sense to have 2 NICs with the
> same network number in one machine.

Why not? I haven't seen any such warning in my IP networking books
or courses.

-- 
Anand Buddhdev
http://anand.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Can't telnet or FTP

2003-01-13 Thread Jeff LaMarche
I just did a clean install of 4.7 (I was running 4.0 previously) on a 
machine that I'm using as primarily as a network gateway and firewall 
and also as a file server. It installed fine and is working natd & ipfw 
are working beautifully. However, I am unable to telnet or ftp into the 
box using either adaptor's ip address - I get a "connection refused" 
message. I did set up anonymous ftp access during the install.

I'm assuming that I did something wrong in the setup to make it disable 
remote access. Can anyone tell me what I might have done and how I can 
re-enable remote access to this box?

Thanks
Jeff LaMarche


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Can't telnet or FTP

2003-01-13 Thread Rus Foster
On Mon, 13 Jan 2003, Jeff LaMarche wrote:

> I just did a clean install of 4.7 (I was running 4.0 previously) on a
> machine that I'm using as primarily as a network gateway and firewall
> and also as a file server. It installed fine and is working natd & ipfw
> are working beautifully. However, I am unable to telnet or ftp into the
> box using either adaptor's ip address - I get a "connection refused"
> message. I did set up anonymous ftp access during the install.
>

Do ps -ef | grep inetd to see if you have inetd running as this provides
the telnet and ftp service. If not have a look at /etc/rc.conf and see if
you have inetd_enable

Hope this helps
Rus
--
http://www.65535.net - $100 for a lifetime UNIX shell account - Limited offer
MSN: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/usr/ports/devel/apr fails to compile

2003-01-13 Thread Joan Picanyol i Puig
Hi,

Trying to install subversion, I can't get apr to build:

Making all in .
/bin/sh
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/libtool
--silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT
-D_THREAD_SAFE
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include/private
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/include
-I/usr/local/include  -c apr_dbm_berkeleydb.c && touch
apr_dbm_berkeleydb.lo
apr_dbm_berkeleydb.c: In function `vt_db_open':
apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function
from incompatible pointer type
apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function
makes pointer from integer without a cast
apr_dbm_berkeleydb.c:200: too few arguments to function
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1.
*** Error code 1

Stop in /fs/bulk/mount/FreeBSD/ports/devel/apr.

Are there any know workarounds?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Adam Maas
vi /etc/inetd.conf and uncomment the telnet and ftp lines. then kill -HUP
inetd

--Adam

- Original Message -
From: "Jeff LaMarche" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 10:06 AM
Subject: Can't telnet or FTP


> I just did a clean install of 4.7 (I was running 4.0 previously) on a
> machine that I'm using as primarily as a network gateway and firewall
> and also as a file server. It installed fine and is working natd & ipfw
> are working beautifully. However, I am unable to telnet or ftp into the
> box using either adaptor's ip address - I get a "connection refused"
> message. I did set up anonymous ftp access during the install.
>
> I'm assuming that I did something wrong in the setup to make it disable
> remote access. Can anyone tell me what I might have done and how I can
> re-enable remote access to this box?
>
> Thanks
> Jeff LaMarche
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Can't telnet or FTP

2003-01-13 Thread Barry Byrne

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff LaMarche

> I just did a clean install of 4.7 (I was running 4.0 previously) on a
> machine that I'm using as primarily as a network gateway and firewall
> and also as a file server. It installed fine and is working natd & ipfw
> are working beautifully. However, I am unable to telnet or ftp into the
> box using either adaptor's ip address - I get a "connection refused"
> message. I did set up anonymous ftp access during the install.
>
> I'm assuming that I did something wrong in the setup to make it disable
> remote access. Can anyone tell me what I might have done and how I can
> re-enable remote access to this box?

Jeff:

You need to uncomment the relevant entries in /etc/inetd.conf and the
restart inetd.

BTW: you might want to consider using ssh in place of telnet. ssh is enabled
by default
and provides an encrypted session.

Cheers,

Barry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Jack L. Stone
At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
>I just did a clean install of 4.7 (I was running 4.0 previously) on a 
>machine that I'm using as primarily as a network gateway and firewall 
>and also as a file server. It installed fine and is working natd & ipfw 
>are working beautifully. However, I am unable to telnet or ftp into the 
>box using either adaptor's ip address - I get a "connection refused" 
>message. I did set up anonymous ftp access during the install.
>
>I'm assuming that I did something wrong in the setup to make it disable 
>remote access. Can anyone tell me what I might have done and how I can 
>re-enable remote access to this box?
>
>Thanks
>Jeff LaMarche
>

You probably need to enable the services lines for ftp and ftp in
/etc/inetd.conf and restart inetd.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Jack L. Stone
At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
>I just did a clean install of 4.7 (I was running 4.0 previously) on a 
>machine that I'm using as primarily as a network gateway and firewall 
>and also as a file server. It installed fine and is working natd & ipfw 
>are working beautifully. However, I am unable to telnet or ftp into the 
>box using either adaptor's ip address - I get a "connection refused" 
>message. I did set up anonymous ftp access during the install.
>
>I'm assuming that I did something wrong in the setup to make it disable 
>remote access. Can anyone tell me what I might have done and how I can 
>re-enable remote access to this box?
>
>Thanks
>Jeff LaMarche
>

Whoops! I meant "ftp and telnet" not "ftp and ftp" although you've
probably know this by now.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: ipfw and dhcp.

2003-01-13 Thread JoeB
Your first problem is you are confused about what you are talking
about.
You state you are using IPFW but you give firewall rule for
IPFILTER.
IPFW & IPFILTER are 2 different firewall software applications.
Verify what you really have installed and post the contents of your
/etc/rc.conf file for us to see.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gary D
Kline
Sent: Monday, January 13, 2003 12:24 AM
To: FreeBSD Mailing List
Subject: ipfw and dhcp.


When I installed ipfw recently, my wife complained that she
couldn't reach outside.  --She has a DOS/Win laptop that is
plugged into my hub.  It works fine without enabling the
DHCP line in my ipf firewall.

If I translate this line into ipfw, should dhcp bgin working
for an arbitrary line::

# use next line if ISP uses DHCP
# pass in quick on dc0 proto udp from X.X.X.X/32 to any port = 68
keep state

??

My other systems are presently hard-wired.

Any ideas, pointers, thoughts, guesses very welcome.

thanks in advance, everybody,


gary


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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Samba and Win2k

2003-01-13 Thread lattera
I just got a samba server running on a FreeBSD box. Whenever trying to 
change the perm bits on a file from Win2k (Read-Only, Hidden, Archive), then 
click on the desktop, "Explorer.exe" crashes. Does anyone know why? 

Thanks, 

lattera

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: FreeBSD 4.7-Release Won't Boot (Non-MIME)

2003-01-13 Thread Gary W. Swearingen
Matt <[EMAIL PROTECTED]> writes:

> problems, upon reboot after the install is complete the system reports a
> disk error and FreeBSD will not boot from the hard drive, it does not
> begin loading FreeBSD or anything at all.  Other OS's have worked on the

Since you have it running, use "boot0cfg" to make a boot floppy and try
booting from that.  Might as will run boot0cfg on the MBR and try that
too.

Guessing further, you might have a disk geometry setting that the
FreeBSD OS itself is happy with for installation, etc, but which your
BIOS doesn't like to support booting.  The "boot0" boot loader uses the
BIOS to load the OS.  For one thing, your "a" (/) partition might have
to be in the first 1024 cylinders.  The boot0cfg man page says it can
boot past that with BIOS support (if you use the "packet" option), but
the installer probably doesn't use that for some reason (and I tried it
on a fairly modern OS with LBA disk addressing and it couldn't boot
past 1024 anyway).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: freebsd ports index (perl) searcher & browser

2003-01-13 Thread parv
in message <[EMAIL PROTECTED]>, wrote parv
thusly...
>
> ...a perl program which allows one to search & browse the ports index
> (w/o using make & going into the /usr/ports)
...
>   main program...
> 
> http://www103.pair.com/parv/comp/src/perl/parse-index.perl
> 
>   module required (needs to be more thoroughly documented)...
...

ok, below is the version which does not my own Util.pm module only
standard Perl (copied all the needed functions from Util inside the
program)...

  http://www103.pair.com/parv/comp/src/perl/parse-index-u.perl


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



make not finding symbols when linking

2003-01-13 Thread óÅÒÇÅÊ
Hi! Please HELP!!

We have just put a "user" install of FreeBSD 4.7 (from
CD) onto a server,
and when
trying to install certain ports get the below.

Are there some libraries missing from the install
because we did not choose
the right
installation type?

How is it possible to install the required
packages/libraries? Are they
downloadable
from somewhere?

Many thanks in advance!


netpfc# pwd
/usr/ports/net/cvsup-without-gui
netpfc# make
===>  Extracting for cvsup-without-gui-16.1f
>> Checksum OK for cvsup-snap-16.1f.tar.gz.
===>   cvsup-without-gui-16.1f depends on file:
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a - not
found
===>Verifying install for
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a
in /usr/ports/lang/ezm3
===>  Extracting for ezm3-1.0
>> Checksum OK for
ezm3/ezm3-1.0-FreeBSD4-boot.tar.bz2.
>> Checksum OK for ezm3/ezm3-1.0-src.tar.bz2.
===>   ezm3-1.0 depends on executable: gmake - not
found
===>Verifying install for gmake in
/usr/ports/devel/gmake
===>  Building for gmake-3.79.1_3
make  all-recursive
Making all in glob
Making all in i18n
cc  -O -pipe -L/usr/local/lib -o make  ar.o arscan.o
commands.o dir.o
expand.o file.o  function.o getopt.o implicit.o job.o
main.o misc.o read.o
remake.o  rule.o signame.o variable.o vpath.o
default.o remote-stub.o
version.o getopt1.o gettext.o  glob/libglob.a -lutil
-lkvm
file.o: In function `print_file':
file.o(.text+0x17e3): undefined reference to
`print_commands'
job.o: In function `reap_children':
job.o(.text+0x744): undefined reference to
`handling_fatal_signal'
job.o(.text+0x79e): undefined reference to
`delete_child_targets'
job.o(.text+0x7b3): undefined reference to
`handling_fatal_signal'
job.o(.text+0x8ca): undefined reference to
`handling_fatal_signal'
job.o: In function `free_child':
job.o(.text+0xa1c): undefined reference to
`handling_fatal_signal'
job.o: In function `new_job':
job.o(.text+0x1197): undefined reference to
`chop_commands'
main.o: In function `main':
main.o(.text+0x2e4): undefined reference to
`fatal_error_signal'
main.o(.text+0x31e): undefined reference to
`fatal_error_signal'
main.o(.text+0x356): undefined reference to
`fatal_error_signal'
main.o(.text+0x38e): undefined reference to
`fatal_error_signal'
main.o(.text+0x3c6): undefined reference to
`fatal_error_signal'
main.o(.text+0x3fe): more undefined references to
`fatal_error_signal'
follow
remake.o: In function `remake_file':
remake.o(.text+0x1ffb): undefined reference to
`chop_commands'
remake.o(.text+0x2019): undefined reference to
`execute_file_commands'
rule.o: In function `print_rule':
rule.o(.text+0xdaf): undefined reference to
`print_commands'
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/lang/ezm3.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui.




netpfc# pwd
/usr/ports/net/cvsup
netpfc# ls -l
total 16
-rw-r--r--  1 root  wheel  1766 Jan 12  2002 Makefile
-rw-r--r--  1 root  wheel65 Jan  2  2002 distinfo
-rw-r--r--  1 root  wheel73 Jan 12  2002
pkg-comment
-rw-r--r--  1 root  wheel77 Jan 12  2002
pkg-comment.nogui
-rw-r--r--  1 root  wheel   718 Aug 30 20:45 pkg-descr
-rw-r--r--  1 root  wheel   703 Aug 30 20:50
pkg-descr.nogui
-rw-r--r--  1 root  wheel74 Sep 22  2001 pkg-plist
drwxr-xr-x  2 root  wheel   512 Jan 11 11:34 scripts
netpfc# make
*
* To build CVSup without X11 (and without the GUI), *
* use the "net/cvsup-without-gui" port. *
*
===>  Extracting for cvsup-16.1f
>> Checksum OK for cvsup-snap-16.1f.tar.gz.
===>   cvsup-16.1f depends on file:
/usr/local/lib/m3/pkg/formsvbt/FreeBSD4/libm3formsvbt.a
- not found
===>Verifying install for
/usr/local/lib/m3/pkg/formsvbt/FreeBSD4/libm3formsvbt.a
in
/usr/ports/lang/ezm3
===>  Extracting for ezm3-1.0
>> Checksum OK for
ezm3/ezm3-1.0-FreeBSD4-boot.tar.bz2.
>> Checksum OK for ezm3/ezm3-1.0-src.tar.bz2.
===>   ezm3-1.0 depends on executable: gmake - not
found
===>Verifying install for gmake in
/usr/ports/devel/gmake
===>  Building for gmake-3.79.1_3
make  all-recursive
Making all in glob
Making all in i18n
cc  -O -pipe -L/usr/local/lib -o make  ar.o arscan.o
commands.o dir.o
expand.o file.o  function.o getopt.o implicit.o job.o
main.o misc.o read.o
remake.o  rule.o signame.o variable.o vpath.o
default.o remote-stub.o
version.o getopt1.o gettext.o  glob/libglob.a -lutil
-lkvm
file.o: In function `print_file':
file.o(.text+0x17e3): undefined reference to
`print_commands'
job.o: In function `reap_children':
job.o(.text+0x744): undefined reference to
`handling_fatal_signal'
job.o(.text+0x79e): undefined reference to
`delete_child_targets'
job.o(.text+0x7b3): undefined reference to
`handling_fatal_signal'
job.o(.

make not finding symbols when linking

2003-01-13 Thread juz
poshli na freebsd-questions:


Subj: make not finding symbols when linking

Hi! Please HELP!!

We have just put a "user" install of FreeBSD 4.7 (from CD) onto a 
server,
and when
trying to install certain ports get the below.

Are there some libraries missing from the install because we did not 
choose
the right
installation type?

How is it possible to install the required packages/libraries? Are 
they
downloadable
from somewhere?

Many thanks in advance!


netpfc# pwd
/usr/ports/net/cvsup-without-gui
netpfc# make
===>  Extracting for cvsup-without-gui-16.1f
>> Checksum OK for cvsup-snap-16.1f.tar.gz.
===>   cvsup-without-gui-16.1f depends on file:
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a - not found
===>Verifying install 
for /usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a
in /usr/ports/lang/ezm3
===>  Extracting for ezm3-1.0
>> Checksum OK for ezm3/ezm3-1.0-FreeBSD4-boot.tar.bz2.
>> Checksum OK for ezm3/ezm3-1.0-src.tar.bz2.
===>   ezm3-1.0 depends on executable: gmake - not found
===>Verifying install for gmake in /usr/ports/devel/gmake
===>  Building for gmake-3.79.1_3
make  all-recursive
Making all in glob
Making all in i18n
cc  -O -pipe -L/usr/local/lib -o make  ar.o arscan.o commands.o dir.o
expand.o file.o  function.o getopt.o implicit.o job.o main.o misc.o 
read.o
remake.o  rule.o signame.o variable.o vpath.o default.o remote-stub.o
version.o getopt1.o gettext.o  glob/libglob.a -lutil -lkvm
file.o: In function `print_file':
file.o(.text+0x17e3): undefined reference to `print_commands'
job.o: In function `reap_children':
job.o(.text+0x744): undefined reference to `handling_fatal_signal'
job.o(.text+0x79e): undefined reference to `delete_child_targets'
job.o(.text+0x7b3): undefined reference to `handling_fatal_signal'
job.o(.text+0x8ca): undefined reference to `handling_fatal_signal'
job.o: In function `free_child':
job.o(.text+0xa1c): undefined reference to `handling_fatal_signal'
job.o: In function `new_job':
job.o(.text+0x1197): undefined reference to `chop_commands'
main.o: In function `main':
main.o(.text+0x2e4): undefined reference to `fatal_error_signal'
main.o(.text+0x31e): undefined reference to `fatal_error_signal'
main.o(.text+0x356): undefined reference to `fatal_error_signal'
main.o(.text+0x38e): undefined reference to `fatal_error_signal'
main.o(.text+0x3c6): undefined reference to `fatal_error_signal'
main.o(.text+0x3fe): more undefined references to `fatal_error_signal'
follow
remake.o: In function `remake_file':
remake.o(.text+0x1ffb): undefined reference to `chop_commands'
remake.o(.text+0x2019): undefined reference to `execute_file_commands'
rule.o: In function `print_rule':
rule.o(.text+0xdaf): undefined reference to `print_commands'
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.79.1.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/lang/ezm3.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui.




netpfc# pwd
/usr/ports/net/cvsup
netpfc# ls -l
total 16
-rw-r--r--  1 root  wheel  1766 Jan 12  2002 Makefile
-rw-r--r--  1 root  wheel65 Jan  2  2002 distinfo
-rw-r--r--  1 root  wheel73 Jan 12  2002 pkg-comment
-rw-r--r--  1 root  wheel77 Jan 12  2002 pkg-comment.nogui
-rw-r--r--  1 root  wheel   718 Aug 30 20:45 pkg-descr
-rw-r--r--  1 root  wheel   703 Aug 30 20:50 pkg-descr.nogui
-rw-r--r--  1 root  wheel74 Sep 22  2001 pkg-plist
drwxr-xr-x  2 root  wheel   512 Jan 11 11:34 scripts
netpfc# make
*
* To build CVSup without X11 (and without the GUI), *
* use the "net/cvsup-without-gui" port. *
*
===>  Extracting for cvsup-16.1f
>> Checksum OK for cvsup-snap-16.1f.tar.gz.
===>   cvsup-16.1f depends on file:
/usr/local/lib/m3/pkg/formsvbt/FreeBSD4/libm3formsvbt.a - not found
===>Verifying install for
/usr/local/lib/m3/pkg/formsvbt/FreeBSD4/libm3formsvbt.a in
/usr/ports/lang/ezm3
===>  Extracting for ezm3-1.0
>> Checksum OK for ezm3/ezm3-1.0-FreeBSD4-boot.tar.bz2.
>> Checksum OK for ezm3/ezm3-1.0-src.tar.bz2.
===>   ezm3-1.0 depends on executable: gmake - not found
===>Verifying install for gmake in /usr/ports/devel/gmake
===>  Building for gmake-3.79.1_3
make  all-recursive
Making all in glob
Making all in i18n
cc  -O -pipe -L/usr/local/lib -o make  ar.o arscan.o commands.o dir.o
expand.o file.o  function.o getopt.o implicit.o job.o main.o misc.o 
read.o
remake.o  rule.o signame.o variable.o vpath.o default.o remote-stub.o
version.o getopt1.o gettext.o  glob/libglob.a -lutil -lkvm
file.o: In function `print_file':
file.o(.text+0x17e3): undefined reference to `print_commands'
job.o: In function `reap_children':
job.o(.text+0x744): undefined reference to `handling_fatal_signal'
job.o(.text+0x79e): undefined 

Re: Can't telnet or FTP

2003-01-13 Thread Giorgos Keramidas
On 2003-01-13 09:37, [EMAIL PROTECTED] (Jack L. Stone) wrote:
> At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
> >I just did a clean install of 4.7 (I was running 4.0 previously) on
> >a machine that I'm using as primarily as a network gateway and
> >firewall and also as a file server. It installed fine and is
> >working natd & ipfw are working beautifully. However, I am unable
> >to telnet or ftp into the box using either adaptor's ip address - I
> >get a "connection refused" message. I did set up anonymous ftp
> >access during the install.
>
> Whoops! I meant "ftp and telnet" not "ftp and ftp" although you've
> probably know this by now.

1. Check your ipfw rules to make sure that the firewall setup will not
   block incoming telnet or ftp connections.
2. Edit /etc/rc.conf and enable inetd (if it isn't enabled already).
3. Edit /etc/inetd.conf and uncomment ftp & telnet services.
4. Start (or restart, if it's already running) inetd.

Done :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Cannot find lgiconv building libwmf

2003-01-13 Thread Glenn Todd
Currently running FreeBSD 4.7-STABLE #15 and cvsup'd the ports tree in 
late December.

Have installed gnome2 and was trying to build libwmf and got the 
following error.  What is wrong?  Of note I cannot find giconv.h in my 
include files, I think that this is the missing component how do I 
build that?

Glenn

-build error

Building for libwmf-0.2.7
make  all-recursive
Making all in .
Making all in src
Making all in extra
Making all in trio
Making all in gd
Making all in ipa
Making all in .
Making all in convert
/bin/sh ../../libtool --mode=link cc  -O -pipe  
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/X11R6/include  -I/usr/local/include/libxml2 
-I/usr/local/include  -I/usr/local/include -I/usr/local/include 
-L../../src/.libs   -L/usr/local/lib -lfreetype  -L/usr/X11R6/lib  -lSM 
-lICE -lX11  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm 
-L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lm 
-o wmf2eps  wmf2eps.o ../libwmf.la ../libwmflite.la cc -O -pipe 
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -o .libs/wmf2eps wmf2eps.o  
-L/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs 
-L/usr/local/lib -L/usr/X11R6/lib ../.libs/libwmf.so 
/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs/libwmflite.so 
-lfreetype -lSM -lICE -lX11 /usr/local/lib/libxml2.so -lgiconv -liconv 
-ljpeg -lpng -lz ../.libs/libwmflite.so -lm -Wl,--rpath 
-Wl,/usr/local/lib
/usr/libexec/elf/ld: cannot find -lgiconv
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/convert.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


MPD/VPN

2003-01-13 Thread Scott Pilz

I'm open to suggestions on this one. I have tried everything :(
I'm hoping that someone else ran into this problem and knows how to fix
it.

MPD/FREEBSD as a VPN server.

Multiple clients (windows and unix).

Windows 98: Works great, connects, tiny performance drop in speed, hardly
noticeable.

Windows 2000: Works just as well as Windows 98 if not better.

Windows XP: I can connect, ping through the VPN, even load tiny web pages
and telnet out - but anything large stalls completely.

I've tried multiple XP machines, they all do the same thing.

It is my understanding that this is a MTU issue - but I find it very hard
to believe that Microsoft products need configuration before they work,
such as a MTU change.

Heres mpd.conf for what it's worth (I've excluded the clients):

client_standard:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 86400
set bundle disable multilink
set link yes acfcomp protocomp
set link disable pap
set link enable chap
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp dns 66.170.64.1 66.170.64.13
set bundle enable compression
set bundle enable crypt-reqd
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless


One other thing - I notice that the two clients that do work (any
Windows 98 or 2000 box) has a MTU of 1496 on the server:

ng0: flags=88d1 mtu 1496

The ones that don't vary but are NOT 1496.

Any input would be helpful at this point.



Scott



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread Dax Eckenberg
> I have addresses 192.168.0.1 and 192.168.0.2. I want to run different
> services on the 2 different IP addresses. In a linux system, I do:
>
> ifconfig eth0 192.168.0.1 netmask 255.255.255.0
> ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0
>
> So that I have 2 different addresses bound to the same interface.
>
> On FreeBSD, if I do:
>
> ifconfig fxp0 192.168.0.1 netmask 255.255.255.0
> ifconfig fxp0 192.168.0.2 netmask 255.255.255.0 alias
>
> That fails.

It should fail, you should enter:

# ifconfig fxp0 192.168.0.2 netmask 255.255.255.255 alias

In this situation you can ignore the /32 netmask, it will act as /24.

> The ifconfig manpage states that a nonconflicting netmaks must be used
> for the alias, and suggests to use 0x. I don't understand why,
> because I don't see why one network interface cannot have more than one
> address bound to it within the same network. If I use a /32 netmask for
> the alias address, how will the kernel respond to arp requests for that
> alias address?

arp requests for .2 will be handled properly by the kernel as if it were /24.

> > >2. Adding a second IP to a *different* network card in the same server
> > >does not work if the second IP is within the network of the first one.
> >
> > Because it breaks routing and the basic concept of IP addys and netmasks.
> > If you have two NICs on the same network, how is the kernel supposed to
> > route packets?
>
> I still don't understand. In a linux system I can do:
>
> route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth0
> route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth1

To my knowledge, this is a Linux feature.  Solaris, *BSD, and others don't let you 
specify the network interface when you add a
route.  I know for a fact under Solaris that when you have 2 interfaces which live in 
the same subnet, the interface with the lowest
numbered IP will be the interface used for outbound traffic.

> All I want to do is to have 2 different IP addresses on each of the
> different interfaces in the server, where the addresses are in the
> same network. I can do it in linux. Why can't I do it in FreeBSD?
>

Good question.  I'd defer this anwser to someone a bit more intimate with FreeBSD's IP 
stack and routing.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ftpd and Internet Explorer 6

2003-01-13 Thread Drew Tomlinson
- Original Message -
From: "James Pole" <[EMAIL PROTECTED]>
To: "Drew Tomlinson" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 12:39 AM


> On Mon, 2003-01-13 at 15:27, Drew Tomlinson wrote:
> > I was attempting to allow a user to get some files via ftp from my
FreeBSD
> > 4.7 box using the ftp client built into MS Internet Explorer 6 (IE).  I
> > created a guest account and set the shell to /sbin/nologin.  That
appears to
> > work fine.  Then I created a symlink to the directory that contains the
> > files for the user but the symlink doesn't appear in the files list in
IE.
> > All of the .files that were created by the adduser script do show.  My
> > directory looks like this:
>
> Why not just use Apache and get the user to get the file via HTTP. MSIE
> is a web browser and not a FTP client, after all...

Your idea is good for a ongoing permanent solution.  However my situation is
more of a "one time" thing.  As such, I just copied the files into the guest
account and the user was able to get them.  But I still wonder if there is a
way...  :)

Thanks,

Drew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread Bill Moran
Anand Buddhdev wrote:

On Mon, Jan 13, 2003 at 07:53:08AM -0500, Bill Moran wrote:


I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
card). I configured the em0 with address 192.168.0.1/24. I then wanted
to configure fxp0 with the address 192.168.0.2/24, and also connect it
to the switch so that I can connect to the server via both addresses.
However, FreeBSD's ifconfig command fails, and won't let me add the second
address to the fxp0 interface. I read the manual page about ifconfig,
and read about aliases, where it said that for aliases, I must use the
netmask /32. When I do try to add the second address with a netmask of
/32, it works, but it doesn't make sense to me. How is that interface
going to to know that it is part of a /24 network if I use a /32 netmask?

Would anyone be kind enough to explain why:

1. For aliases, I need the /32 mask


I didn't know that you did.  I've certainly had aliases that weren't /32


I have been using linux for about 2 years now. Let me explain why I
don't understand.


Well, first off, I misunderstood your original question.


I have addresses 192.168.0.1 and 192.168.0.2. I want to run different
services on the 2 different IP addresses. In a linux system, I do:

ifconfig eth0 192.168.0.1 netmask 255.255.255.0
ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0

So that I have 2 different addresses bound to the same interface.

On FreeBSD, if I do:

ifconfig fxp0 192.168.0.1 netmask 255.255.255.0
ifconfig fxp0 192.168.0.2 netmask 255.255.255.0 alias

That fails.


It should, it creates an ambiguous network situation.
Also, I don't understand why you would want to do this.


The ifconfig manpage states that a nonconflicting netmaks must be used
for the alias, and suggests to use 0x. I don't understand why,
because I don't see why one network interface cannot have more than one
address bound to it within the same network. If I use a /32 netmask for
the alias address, how will the kernel respond to arp requests for that
alias address?


What would you expect it to do that would be unusual?
If you really want two IPs on the same subnet on the same NIC, then use
a /32 subnet for one.  What's it going to hurt?


2. Adding a second IP to a *different* network card in the same server
does not work if the second IP is within the network of the first one.


Because it breaks routing and the basic concept of IP addys and netmasks.
If you have two NICs on the same network, how is the kernel supposed to
route packets?


I still don't understand. In a linux system I can do:

route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth0
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.254 dev eth1


Just because you can do it on a Linux system doesn't mean it's right.


This adds 2 default routes in the linux kernel, telling it to route
packets to the outside world using either network interface, where eth0
has address 192.168.0.1/24 and eth1 has address 192.168.0.2/24. What's
wrong with that?


It's ambiguous.  Where does the kernel route to when there are two possible
routes?  There's really no reason for such a thing.


If you want this setup as a failover solution, there are other ways.
There's a program in the ports (I can't remember the name, you'll have to
do some research) that will monitor an interface, and if it becomes non-
responsive, run a script of your choosing.  Thus, you can have it start
up the other network card if the first fails.


Ok, I understand that, and it may be a very useful program, *if* you
want to bring up the other interface with perhaps the same IP address.


Well, it's useful for other reasons as well, but it doesn't apply to your
situation.  I suggested it because I didn't understand what you were
asking before.


All I want to do is to have 2 different IP addresses on each of the
different interfaces in the server, where the addresses are in the
same network. I can do it in linux. Why can't I do it in FreeBSD?


Because you shouldn't do it.


If failover isn't what you're looking for, then I'd reconsider your
network topology.  It doesn't really make sense to have 2 NICs with the
same network number in one machine.



Why not? I haven't seen any such warning in my IP networking books
or courses.


My answer to your question is:
1. Why would you WANT to do that?  I don't care if Linux, Windows and everyone
   but FreeBSD _allows_ you to, the reason for it escapes me.
2. If you reall _do_ want to do that, use a /32 netmask as required.  If that
   doesn't work for you for some reason, then the answer to your question is
   beyond my expertise.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/usr/src/UPDATING

2003-01-13 Thread JoeB
I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
selected standard
install with "user" distribution which does not install any source.
This install config does not install  /usr/src/UPDATING  directory.
Where else can I find this info??




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ipfilter/ipmon log msgs

2003-01-13 Thread JoeB


I have read both the Freebsd.org online man page
and the man page installed on my FBSD 4.7 system for man ipmon
and the man page info does not match the syntax of the
ipfilter.log messages.

Man ipmon says than when option -s is selected to send ipfilter
log messages to syslogd the day, month, year prefix is removed from
the message before posting to syslogd.  This does not happen.

I also see that the message posted in the syslogd contains the pid
(running task number of ipmon)
in the posted message. This is not documented in man ipmon.

FBSD 4.7 contains a updated release of ipfilter. Is it possible that
the FBSD man page info was not updated to the new release?





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/src/UPDATING

2003-01-13 Thread Thomas Spreng
Hi,

On Mon, Jan 13, 2003 at 11:42:27AM -0500, JoeB wrote:
> I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
> selected standard
> install with "user" distribution which does not install any source.
> This install config does not install  /usr/src/UPDATING  directory.
> Where else can I find this info??

get the source either via /stand/sysinstall or via cvsup (prefered).
This will get you /usr/src/UPDATING.

cheers,
Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/src/UPDATING

2003-01-13 Thread Giorgos Keramidas
On 2003-01-13 11:42, [EMAIL PROTECTED] (JoeB) wrote:
> I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
> selected standard install with "user" distribution which does not
> install any source.  This install config does not install
> /usr/src/UPDATING  directory.  Where else can I find this info??

Select 'custom' install and make sure you install the `source'
distributions.  You could also install everything manually by mounting
the CDROM under /cdrom and then running as root:

# cd /cdrom/src
# sh install.sh all

That should be easy and faster than searching through the menus for
the right options :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: /usr/src/UPDATING

2003-01-13 Thread JoeB
You misunderstand me.  I am not interested in loading the complete
FBSD source just to get /usr/src/UPDATING
Can it be downloaded  standalone of the source or is this info
retrievable from Freebsd.org someplace?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas
Spreng
Sent: Monday, January 13, 2003 11:50 AM
To: FBSDQ
Subject: Re: /usr/src/UPDATING

Hi,

On Mon, Jan 13, 2003 at 11:42:27AM -0500, JoeB wrote:
> I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
> selected standard
> install with "user" distribution which does not install any
source.
> This install config does not install  /usr/src/UPDATING
directory.
> Where else can I find this info??

get the source either via /stand/sysinstall or via cvsup (prefered).
This will get you /usr/src/UPDATING.

cheers,
Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/src/UPDATING

2003-01-13 Thread Giorgos Keramidas
On 2003-01-13 12:05, [EMAIL PROTECTED] (JoeB) wrote:
> You misunderstand me.  I am not interested in loading the complete
> FBSD source just to get /usr/src/UPDATING Can it be downloaded
> standalone of the source or is this info retrievable from
> Freebsd.org someplace?

Ahh... I see!

Then you can find any version of the file over the Web at:
http://cvsweb.freebsd.org/src/UPDATING


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/src/UPDATING

2003-01-13 Thread Dirk-Willem van Gulik


On Mon, 13 Jan 2003, Giorgos Keramidas wrote:

> On 2003-01-13 11:42, [EMAIL PROTECTED] (JoeB) wrote:
> > I have installed FBSD 4.7 using cdrom and /stand/sysinstall,
> > selected standard install with "user" distribution which does not
> > install any source.  This install config does not install
> > /usr/src/UPDATING  directory.  Where else can I find this info??
>
> Select 'custom' install and make sure you install the `source'
> distributions.  You could also install everything manually by mounting
> the CDROM under /cdrom and then running as root:
>
>   # cd /cdrom/src
>   # sh install.sh all
>
> That should be easy and faster than searching through the menus for
> the right options :)

or use the command sysinstall (or /stand/sysinstall) choose

Config  Do post-install configuration of FreeBSD

Then choose:

 DistributionsInstall additional distribution sets

and select

[ ]  src   Sources for everything

and take things from there.

Dw.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Big directory size

2003-01-13 Thread Daniel Bye
On Mon, Jan 13, 2003 at 02:45:16PM +0300, Varshavchick Alexander wrote:
> Hello,
> 
> I had a directory with a lot of files (about 100 000), and naturally, the
> size of the directory entry itself was big enough (about 1M). Now I've
> split all these files to different subdirectories, to increase the system
> performance. The major directory entry size didn't change, however such a
> big value is not needed now.
> 
> Now here is a question - can an unnessesary big value of a directory
> entry size harm the system performance? I guess it does not, is it
> correct?

This is just speculation, but I would imagine the key factor affecting
performance would be more to do with the number of inode entries in a 
given directory, than with the size of the directory's contents.  However, 
I am no file system expert, this is just my gut feeling...

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



misc/gnomemimedata: sed: illegal option -- i

2003-01-13 Thread Anatoliy Dmytriyev
Hello, everybody!

I'd like to install the port misc/gnomemimedata and after "make" command
I have the error message:

root@david misc/gnomemimedata# make
===>  Extracting for gnomemimedata-2.0.1_1
>> Checksum OK for gnome/gnome-mime-data-2.0.1.tar.bz2.
===>   gnomemimedata-2.0.1_1 depends on shared library: intl.4 - found
===>   gnomemimedata-2.0.1_1 depends on shared library: X11.6 - found
===>  Patching for gnomemimedata-2.0.1_1
sed: illegal option -- i
usage: sed script [-Ean] [file ...]
   sed [-an] [-e script] ... [-f script_file] ... [file ...]
*** Error code 1

Maybe somebody have any ideas and can help me?

Best regards,
Anatoliy Dmytriyev

-- 
Anatoliy Dmytriyev <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linked twice against libintl.so

2003-01-13 Thread Dan Nelson
In the last episode (Jan 13), Hanspeter Roth said:
> On Jan 12 at 17:46, Dan Nelson spoke:
> > You definitely don't want to do this.  Shared libraries get version
> > bumps when the APIs change, so all you would do is coredump.
> 
> Is gettext's application programming interface changing so often?
> (Without staying compatible.)

Apparently so.  If the API doesn't change there's no reason to bump the
version number.  Actually I should say ABI (API is the C-level
interface, ABI is the object-level interface).  If some internal
gettext structure changes, the ABI may change without the API changing.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: misc/gnomemimedata: sed: illegal option -- i

2003-01-13 Thread Joe Marcus Clarke
On Mon, 2003-01-13 at 12:38, Anatoliy Dmytriyev wrote:
> Hello, everybody!
> 
> I'd like to install the port misc/gnomemimedata and after "make" command
> I have the error message:
> 
> root@david misc/gnomemimedata# make
> ===>  Extracting for gnomemimedata-2.0.1_1
> >> Checksum OK for gnome/gnome-mime-data-2.0.1.tar.bz2.
> ===>   gnomemimedata-2.0.1_1 depends on shared library: intl.4 - found
> ===>   gnomemimedata-2.0.1_1 depends on shared library: X11.6 - found
> ===>  Patching for gnomemimedata-2.0.1_1
> sed: illegal option -- i
> usage: sed script [-Ean] [file ...]
>sed [-an] [-e script] ... [-f script_file] ... [file ...]
> *** Error code 1
> 
> Maybe somebody have any ideas and can help me?

You need to make sure your world is in sync with your kernel, and that
you're cvsup'ing either ports-all or ports-base.  If you're trying to
build the ports tree manually, make sure to always get the latest copy
of /usr/ports/Mk.

Joe

> 
> Best regards,
> Anatoliy Dmytriyev
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: misc/gnomemimedata: sed: illegal option -- i

2003-01-13 Thread Anatoliy Dmytriyev
On Mon, Jan 13, 2003 at 06:38:31PM +0100, Anatoliy Dmytriyev wrote:
> Hello, everybody!
> 
> I'd like to install the port misc/gnomemimedata and after "make" command
> I have the error message:
> 
> root@david misc/gnomemimedata# make
> ===>  Extracting for gnomemimedata-2.0.1_1
> >> Checksum OK for gnome/gnome-mime-data-2.0.1.tar.bz2.
> ===>   gnomemimedata-2.0.1_1 depends on shared library: intl.4 - found
> ===>   gnomemimedata-2.0.1_1 depends on shared library: X11.6 - found
> ===>  Patching for gnomemimedata-2.0.1_1
> sed: illegal option -- i
> usage: sed script [-Ean] [file ...]
>sed [-an] [-e script] ... [-f script_file] ... [file ...]
> *** Error code 1
> 
> Maybe somebody have any ideas and can help me?
> 
> Best regards,
> Anatoliy Dmytriyev
> 

The system is 4.7-RELEASE-p2

-- 
Anatoliy Dmytriyev <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: misc/gnomemimedata: sed: illegal option -- i

2003-01-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-13 18:38:31 +0100:
> Hello, everybody!
> 
> I'd like to install the port misc/gnomemimedata and after "make" command
> I have the error message:
> 
> root@david misc/gnomemimedata# make
> ===>  Extracting for gnomemimedata-2.0.1_1
> >> Checksum OK for gnome/gnome-mime-data-2.0.1.tar.bz2.
> ===>   gnomemimedata-2.0.1_1 depends on shared library: intl.4 - found
> ===>   gnomemimedata-2.0.1_1 depends on shared library: X11.6 - found
> ===>  Patching for gnomemimedata-2.0.1_1
> sed: illegal option -- i
> usage: sed script [-Ean] [file ...]
>sed [-an] [-e script] ... [-f script_file] ... [file ...]
> *** Error code 1
> 
> Maybe somebody have any ideas and can help me?

you have two options: either cvsup and make world (your ports system
is too new for your sed), or define REINPLACE_CMD in /etc/make.conf
to something that will achieve the same results as `sed -i`.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



timezone issue

2003-01-13 Thread Noah Garrett Wallach


timezone issue.

all the documentation I have seen out there appears to be getting the
timezone set correctly.  I have it set to PST.

It is 2 hours off from the actual time.  can somebody explain how to fix
this?  I have NTPD running as well.

Thanks in advance.

- Noah


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Can't find ethernet (MAC) address

2003-01-13 Thread James C. Li
Hi,

My NIC (Linksys LNE100 TX) has worked fine within a Cable modem LAN (with a
Linksys router), but since I've moved in to my college dorm, I can't find the
MAC address.  With ifconfig, I get something like (I can't reproduce it; typing
this from a public computer):

% ifconfig
  . . .
ether: ff:ff:ff:ff:ff:ff
  . . .

Apparently, the school requires students to register their ethernet (MAC)
addresses before their DHCP server leases an IP address.  Is there any way for
me to get the ethernet address through FreeBSD?

BTW: the machine is FreeBSD-4.7 RELEASE

Also, could the MAC address by on the card somewhere (if anybody has a similar
card)?  All I see is some string of numbers like a scan code.

Thanks,

James

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Kernel build returns Error code 1

2003-01-13 Thread Scottman
Hello helpful spirit,

I'm trying to add sound support to my FreeBSD Release
4.6.2 kernel but it will not build successfully. Here
is the error output I get (tail of make output):

<<
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh PATKERNEL 
cc -c -O -pipe  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -c
linking kernel
if.o: In function `if_setlladdr':
if.o(.text+0x1bc4): undefined reference to
`arp_ifinit'
*** Error code 1

Stop in /usr/src/sys/compile/PATKERNEL.
>>>

I'm only one month old in the Unix/FreeBSD environment
and don't really know what should be done to fix this.
I have included my kernel at the end of this message
for reference. I just know that I get some warnings
about some NET, INET and INET6 files... Could this be
related to these options?

options INET#InterNETworking
options INET6  #IPv6 communications protocols

Thank you for your help, it is much appreciated,
Scottman

Here is the content of my kernel:

<<<
machine i386
cpu I586_CPU

ident   PATKERNEL
maxusers0

options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660
required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time
extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in
/dev

device  isa
device  eisa
device  pci

# Sound card device
device  pcm   # Sound Blaster compatible 
device  sbc # Plug n Play ISA sound card support

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2
mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12

device  vga0at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an
SCO console
device  sc0 at isa? flags 0x100

# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  sio2at isa? disable port IO_COM3 irq 5
device  sio3at isa? disable port IO_COM4 irq 9

# Parallel port
device  ppc0at isa? irq 7
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device

# Pseudo devices - the number indicates how many units
to allocate.
pseudo-device   loop# Network loopback
pseudo-device   ppp 1   # Kernel PPP
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory "disks"
pseudo-device   gif # IPv6 and IPv4 tunneling
pseudo-device   faith   1   # IPv6-to-IPv4 relaying
(translation)
>>>

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Can't find ethernet (MAC) address

2003-01-13 Thread Nathan Kinkade
On Mon, Jan 13, 2003 at 10:04:31AM -0800, James C. Li wrote:
> Hi,
> 
> My NIC (Linksys LNE100 TX) has worked fine within a Cable modem LAN (with a
> Linksys router), but since I've moved in to my college dorm, I can't find the
> MAC address.  With ifconfig, I get something like (I can't reproduce it; typing
> this from a public computer):
> 
> % ifconfig
>   . . .
> ether: ff:ff:ff:ff:ff:ff
>   . . .
> 
> Apparently, the school requires students to register their ethernet (MAC)
> addresses before their DHCP server leases an IP address.  Is there any way for
> me to get the ethernet address through FreeBSD?
> 
> BTW: the machine is FreeBSD-4.7 RELEASE
> 
> Also, could the MAC address by on the card somewhere (if anybody has a similar
> card)?  All I see is some string of numbers like a scan code.
> 
> Thanks,
> 
> James

Your ethernet MAC address should be accessible from `ifconfig` on the
line below your particular driver labeled "ether".  You may also try to
find it using the command `arp -a` which should have an entry for your
local adapter.

Nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg15342/pgp0.pgp
Description: PGP signature


Re: timezone issue

2003-01-13 Thread Nathan Kinkade
On Mon, Jan 13, 2003 at 11:56:21AM -0800, Noah Garrett Wallach wrote:
> 
> 
> timezone issue.
> 
> all the documentation I have seen out there appears to be getting the
> timezone set correctly.  I have it set to PST.
> 
> It is 2 hours off from the actual time.  can somebody explain how to fix
> this?  I have NTPD running as well.
> 
> Thanks in advance.
> 
> - Noah

To what time is your CMOS clock set?  PST might simply tell the system
the offset from UTC - which itself is calculated by the utility `adjkerntz`
based on your local time - found in your CMOS clock (assuming your CMOS
clock is set to local time and not UTC).  Also, if you just
setup your system, ntpd might not choose to rapidly swing the system
clock by 2 hours, as this could be confusing to the system.  See the
folling bits from the ntpd manpage:

"In case there is no TOY chip or for some reason its time is more than
1000s from the server time, ntpd assumes something must be terribly
wrong and the only reliable action is for the operator to intervene and
set the clock by hand.  This causes ntpd to exit with a panic message to
the system log.  The -g option overrides this check and the clock will
be set to the server time regardless of the chip time.  
...
Under ordinary conditions, ntpd adjusts the clock in small steps so that
the timescale is effectively continuous and without discontinuities."

Basically, I'm guessing that your CMOS clock is off??

Hope this helps,
Nathan

--
GPG Public Key ID: 0x4250A04C 
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg15343/pgp0.pgp
Description: PGP signature


ICQ?

2003-01-13 Thread Brian T. Schellenberger

I tried a couple of FreeBSD ICQ clients but they wanted me to tell them 
my ICQ ID.

Well, I don't have one yet..

How do you get one in the first place?

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ICQ?

2003-01-13 Thread Adam Maas
Sign up at www.mirabilis.com

--Adam

- Original Message - 
From: "Brian T. Schellenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 2:44 PM
Subject: ICQ?


> 
> I tried a couple of FreeBSD ICQ clients but they wanted me to tell them 
> my ICQ ID.
> 
> Well, I don't have one yet..
> 
> How do you get one in the first place?
> 
> -- 
> Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



USB portable storage drive

2003-01-13 Thread Void

Hello,

I recently bought a archos jukebox recorder 15 mp3 player, which can act 
as a portable storage drive, and have sucessfully booted with it 
attached on FreeBSD 4.7-STABLE, and mounted it.  I have this enabled in my kernel.

device  uhci# UHCI PCI->USB interface 
device  ohci# OHCI PCI->USB interface
device  usb # USB Bus (required)
device  umass   # Disks/Mass storage - Requires scbus and da
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  pass# Passthrough device (direct SCSI access)

When booting with it attached the kernel finds it
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
umass0: ARCHOS   ARCHOS USB2.0 (P4a), rev 2.00/11.01, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device 
da0: 650KB/s transfers
da0: 14403MB (29498112 512 byte sectors: 64H 32S/T 14403C)

but if I try to remove it by unhooking it from the USB port and 
reattaching it I get this as an error

umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

I also tried to use camcontrol to find it when booting without it attached 
and it can't find it.  Any help would be appreciated.


Matthew Luberto
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



upgrade 3.5 to 4.x

2003-01-13 Thread anak freebsd


i want to upgrade my freebsd 3.5 to 4.x with cvsup RELENG_4 but i always 
fail when i run make buildworld.
is there anyway that i can upgrade my box?
thanks




_
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: /usr/src/UPDATING

2003-01-13 Thread JoeB
Thanks this is what I was looking for, But after viewing
the URL you posted I see info for all the releases of FBSD.
I thought the /usr/src/UPDATING file that was on the
install CD for FBSD 4.7 only contained the detail info
on the updates to create FBSD 4.7 since the FBSD 4.6 release
was frozen?

How or where can I find the UPDATING detail info just
for selected FBSD version without having to load
the complete FBSD sources from CD?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Giorgos
Keramidas
Sent: Monday, January 13, 2003 12:09 PM
To: JoeB
Cc: [EMAIL PROTECTED]
Subject: Re: /usr/src/UPDATING

On 2003-01-13 12:05, [EMAIL PROTECTED] (JoeB) wrote:
> You misunderstand me.  I am not interested in loading the complete
> FBSD source just to get /usr/src/UPDATING Can it be downloaded
> standalone of the source or is this info retrievable from
> Freebsd.org someplace?

Ahh... I see!

Then you can find any version of the file over the Web at:
http://cvsweb.freebsd.org/src/UPDATING


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



MSDOS Install

2003-01-13 Thread Ian Watkinson
Trying to install 5.0 RC3

Because of the strange way that my sony vaio laptop sees it's CDROM, I
can't do a cdrom install, so was looking as the MSDOC partition install.

However, the readme, and the handbook both refer to a "bin" directory
which doesn't exist on the CDROM,or the ftp site. ftp.uk.freebsd.org for
example.

Anyone done this? Which direcotory to copy?
-- 

Ian Watkinson


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



execution sequance of IPFW/IPFILTER when used together

2003-01-13 Thread JoeB
Informational post for the archives

>From  [EMAIL PROTECTED]  who wrote
We actually found it goes:

Internal private Net -> NIC -> IPF+NAT -> IPFW -> Public internet
World

Public internet World -> IPF+NAT -> IPFW -> NIC -> Internal Private
net


Suffice to say, IPF+NAT always sees the packets first

This is way to use ipfilter to perform the nat function and ipfw
dummynet



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/src/UPDATING

2003-01-13 Thread Thomas Spreng
Hi,
On Mon, Jan 13, 2003 at 01:00:20PM -0500, JoeB wrote:
> Thanks this is what I was looking for, But after viewing
> the URL you posted I see info for all the releases of FBSD.
> I thought the /usr/src/UPDATING file that was on the
> install CD for FBSD 4.7 only contained the detail info
> on the updates to create FBSD 4.7 since the FBSD 4.6 release
> was frozen?

/usr/src/UPDATING contains all updating information since it was
created, as you might have seen. If your interested in the changes
from 4.6 to stable just read from that section to the top.
For the updating procedure read the following paragraph:
"To update from 4.0-RELEASE or later to the most current
4.x-STABLE"

> How or where can I find the UPDATING detail info just
> for selected FBSD version without having to load
> the complete FBSD sources from CD?

I'm not sure what if its exactly what you meant, maybe you could
tell us what exactly you're looking for.

cheers, 
Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: MSDOS Install

2003-01-13 Thread Thomas Spreng
Hi,
On Mon, Jan 13, 2003 at 06:41:02PM +, Ian Watkinson wrote:
> Trying to install 5.0 RC3
> 
> Because of the strange way that my sony vaio laptop sees it's CDROM, I
> can't do a cdrom install, so was looking as the MSDOC partition install.
> 
> However, the readme, and the handbook both refer to a "bin" directory
> which doesn't exist on the CDROM,or the ftp site. ftp.uk.freebsd.org for
> example.
> 
> Anyone done this? Which direcotory to copy?

sorry but i can't understand your question very well, but if you cannot
boot from cd, just make the two installation floppy disks and boot from
them. You can choose your cdrom as installation media even if you boot from
a floopy disk.

cheers,
Tom

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



permissions for /tmp?

2003-01-13 Thread How Can ThisBe
In of those very special moments I did rm -rfv /tmp/ (thinking it would 
delete the contents of /tmp not /tmp as well) Anyway, I've re-created /tmp 
but I have forgoten what the default owner:group and permission are. Could 
someone enlighten me? (laugh as well, I did :])

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: /usr/src/UPDATING

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 01:00:20PM -0500, JoeB wrote:
> Thanks this is what I was looking for, But after viewing
> the URL you posted I see info for all the releases of FBSD.
> I thought the /usr/src/UPDATING file that was on the
> install CD for FBSD 4.7 only contained the detail info
> on the updates to create FBSD 4.7 since the FBSD 4.6 release
> was frozen?

The UPDATING file dates back to before 4.0-RELEASE, and contains notes
of various modifications to the source that may cause problems to
people updating their systems, as well as various other notes useful
in that situation.

Did you perhaps mean the release notes:
http://www.freebsd.org/releases/4.7R/relnotes-i386.html which list the
changes made to the system since the previous release?

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ICQ?

2003-01-13 Thread Quinn Ellis
At 02:47 PM 13/01/2003 -0500, you wrote:

Sign up at www.mirabilis.com


My favourite icq client is Kxicq2.  Has a good list of functions, i think 
it has the option to sign up for an account, and also allows you to send 
and receive sms.

Quinn 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: How to activate the SPDIF output on sblive?

2003-01-13 Thread Bill McMilleon
I still haven't heard from anyone on this.
Is it not possible?  I find that hard to believe.
Anyone?

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Bill McMilleon
>Sent: Wednesday, January 08, 2003 10:22 PM
>To: [EMAIL PROTECTED]
>Subject: How to activate the SPDIF output on sblive?
>
>
>
>Subject line says it all.  Is this possible?  I have the 
>sblive running under 4.7-RELEASE in my VIA EPIA-5000 
>mini-itx mainboard and would love to enable the spdif 
>output.
>
>Bill McMilleon
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: load over 14 from "make -j4"

2003-01-13 Thread Dr. Richard E. Hawkins
On Sat, Jan 11, 2003 at 10:33:02PM -0600, Kirk Strauser wrote:
> 
> At 2003-01-11T19:28:57Z, "Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> writes:

> > ...a "portupgrade -arF" was running...

> ...is probably your answer.

I've never seen that go above two on it's own; I don't un it with -j as
two many ports (typically those relieng on gmake) faile to build.

hawk


-- 
Richard E. Hawkins, Asst. Prof. of Economics/"\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



is someone running bind in a jail?

2003-01-13 Thread Wiroth Didier
Hey,

I have considerably problem setting up bind 8.3.3 in a
jail! I'm sure a lot of person have setup bind in a jail. 
May be these persons could sent me the files mentionned
below from their jail:
If you don't want me to know your real ip's may be you
could simple replace them with 192.168 ip addresses but
please leave me some ip address hints in those files!

1) named.conf (the options and logging sections etc..
remove your sensitive data (the zones you're managing))
from the jail
2) resolv.conf from the jail
3) host.conf from the jail
4) hosts from the jail

Thanks a lot
Didier

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: upgrading a port which has had a name change

2003-01-13 Thread Lowell Gilbert
chip wiegand <[EMAIL PROTECTED]> writes:

> I have xmms installed - in port_info it is shown as
> xmms-esound-1.2.7_2
> but when I ran portupgrade xmms-esound it failed because it is no longer
> called xmms-esound, it has changed to xmms-1.2.7_3. How do I do a
> portupgrade in this situation? Do I have to uninstall the old version
> and install the new version?

Isn't that what the '-o' option for portupgrade is for?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: is someone running bind in a jail?

2003-01-13 Thread Ceri Davies
On Mon, Jan 13, 2003 at 10:17:05PM +0100, Wiroth Didier wrote:
> Hey,
> 
> I have considerably problem setting up bind 8.3.3 in a
> jail! I'm sure a lot of person have setup bind in a jail. 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html#NAMED-SANDBOX

If you have problems with the above document, please let me know where the
issues are so that we can improve the handbook.

Thanks,

Ceri
-- 
Some don't prefer the pursuit of happiness to the happiness of pursuit.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Big directory size

2003-01-13 Thread Lowell Gilbert
Varshavchick Alexander <[EMAIL PROTECTED]> writes:

> I had a directory with a lot of files (about 100 000), and naturally, the
> size of the directory entry itself was big enough (about 1M). Now I've
> split all these files to different subdirectories, to increase the system
> performance. The major directory entry size didn't change, however such a
> big value is not needed now.
> 
> Now here is a question - can an unnessesary big value of a directory
> entry size harm the system performance? I guess it does not, is it
> correct?

If the files were created without the dirhash code in your kernel, it
certainly could.  It still could with the dirhash, but shouldn't be
noticeable at the 100,000-file level.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: linked twice against libintl.so

2003-01-13 Thread Hanspeter Roth
  On Jan 13 at 11:41, Dan Nelson spoke:

> In the last episode (Jan 13), Hanspeter Roth said:
> > Is gettext's application programming interface changing so often?
> > (Without staying compatible.)
> 
> Apparently so.  If the API doesn't change there's no reason to bump the
> version number.  Actually I should say ABI (API is the C-level
> interface, ABI is the object-level interface).  If some internal

What does ABI mean?

> gettext structure changes, the ABI may change without the API changing.

Is this new stuff in gettext really so useful?
Wouldn't it be enough to insert a new version of gettext into the
ports once a year?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Multiple network cards with IP addresses in the same network

2003-01-13 Thread John
I'm going to jump in here, because this question was my reason for having
joined the Freebsd-questions list in the first place.  Of all the time I've
been running FreeBSD, this is my first post to this list... :P

I have a similar situation.  Firewall/NAT machine with 3 nics.  Only rather
than using the two external interfaces for different services, I would like
to use two nic's on the external subnet (using the FreeBSD machine as a
NAT/Firewall) for the following purpose:
--I would like one interface to be used for external IPF/NAT connectivity
for my network computers, allowing my network connectivity to my ISP.
--I would like a second interface to acquire a SECOND ip address to be set
up as bimap in NAT, to allow a second machine (my workstation) to be the
only machine to utilize the second external IP.  Similar to being in a DMZ,
but it would still use an internal address, as well as be subject to the
firewall rules in IPF.

Again, I have read that this is available on Linux.  My searches have shown
that there are ways to do this on RedHat w/ ipchains (etc.).. ... but I
digress...

I have tried putting two nics in and having dhclient obtain addresses for
both on the same subnet.  dhclient will get both addresses (shown in
dhclient.leases), but fails to assign an ip to the second interface, failing
with the error "file already exists".  I'm sure this is a different (but
related) issue.
In my situation, another solution might be to use an alias on a single
external interface.. only I'm not sure how to get dhclient to obtain the
second IP address and assign it to the alias, nor how to get IPF to
recognize the alias'd interface properly.
Bridging also comes to mind, but I'm not certain that if I bridge the
interface to my workstation computer it would correctly handle having an
internal as well as external address (other software application
complications would arise as well, I'm sure).  That's not my intent anyway,
so I have not and likely will not persue bridging as an option.

Maybe I should have posted this on a diff. thread?  :P  But I believe the
resolution to this issue is the same as the originally posted issue.
Hopefully something will come out of it.

Thanks,
John
Addtn'l info:  I have a FreeBSD 4.7 Stable #2 (updated yesterday).

- Original Message -
From: "Bill Moran" <[EMAIL PROTECTED]>
To: "Anand Buddhdev" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 8:31 AM
Subject: Re: Multiple network cards with IP addresses in the same network


> Anand Buddhdev wrote:
> > On Mon, Jan 13, 2003 at 07:53:08AM -0500, Bill Moran wrote:
> >
> >>>I have a FreeBSD 4.7 system, with 3 ethernet cards. The first two
> >>>are recognised as fxp0 and fxp1 and the second as em0 (intel gigabit
> >>>card). I configured the em0 with address 192.168.0.1/24. I then wanted
> >>>to configure fxp0 with the address 192.168.0.2/24, and also connect it
> >>>to the switch so that I can connect to the server via both addresses.
> >>>However, FreeBSD's ifconfig command fails, and won't let me add the
second
> >>>address to the fxp0 interface. I read the manual page about ifconfig,
> >>>and read about aliases, where it said that for aliases, I must use the
> >>>netmask /32. When I do try to add the second address with a netmask of
> >>>/32, it works, but it doesn't make sense to me. How is that interface
> >>>going to to know that it is part of a /24 network if I use a /32
netmask?
> >>>
> >>>Would anyone be kind enough to explain why:
> >>>
> >>>1. For aliases, I need the /32 mask
> >>
> >>I didn't know that you did.  I've certainly had aliases that weren't /32
> >
> > I have been using linux for about 2 years now. Let me explain why I
> > don't understand.
>
> Well, first off, I misunderstood your original question.
>
> > I have addresses 192.168.0.1 and 192.168.0.2. I want to run different
> > services on the 2 different IP addresses. In a linux system, I do:
> >
> > ifconfig eth0 192.168.0.1 netmask 255.255.255.0
> > ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0
> >
> > So that I have 2 different addresses bound to the same interface.
> >
> > On FreeBSD, if I do:
> >
> > ifconfig fxp0 192.168.0.1 netmask 255.255.255.0
> > ifconfig fxp0 192.168.0.2 netmask 255.255.255.0 alias
> >
> > That fails.
>
> It should, it creates an ambiguous network situation.
> Also, I don't understand why you would want to do this.
>
> > The ifconfig manpage states that a nonconflicting netmaks must be used
> > for the alias, and suggests to use 0x. I don't understand why,
> > because I don't see why one network interface cannot have more than one
> > address bound to it within the same network. If I use a /32 netmask for
> > the alias address, how will the kernel respond to arp requests for that
> > alias address?
>
> What would you expect it to do that would be unusual?
> If you really want two IPs on the same subnet on the same NIC, then use
> a /32 subnet for one.  What's it going to hurt?
>
> >>>2. 

Re: ICQ?

2003-01-13 Thread Doug Reynolds
On Mon, 13 Jan 2003 14:44:12 -0500, Brian T. Schellenberger wrote:

>
>I tried a couple of FreeBSD ICQ clients but they wanted me to tell them 
>my ICQ ID.
>
>Well, I don't have one yet..
>
>How do you get one in the first place?

you probably can't unless you use the windows client.  However, I am
pretty sure you can obtain one if you goto http://www.icq.com/

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Apache_fp Port install problem

2003-01-13 Thread G D McKee
Hi

I have just cvsupped today and get the error - are you saying to add the
COMPT3 into make.conf cd /usr/src make clean and rm -rf /usr/obj to get it
to work?

Is there not a few files I can copy to get it working?

Many thanks

Gordon
- Original Message -
From: "JoeB" <[EMAIL PROTECTED]>
To: "Jack L. Stone" <[EMAIL PROTECTED]>; "Matthew Seaman"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 5:02 PM
Subject: RE: Apache_fp Port install problem


> At 12:03 PM 1.12.2003 +, Matthew Seaman wrote:
> >On Sat, Jan 11, 2003 at 12:01:44PM -0600, Jack L. Stone wrote:
> >> At 05:44 PM 1.11.2003 +, Matthew Seaman wrote:
> >> >On Sat, Jan 11, 2003 at 11:31:22AM -0600, Jack L. Stone wrote:
> >> >> I just updated from FBSD-4.5 to 4.7 on a server running
> apache_fp.1.26. The
> >> >> update somehow has broken the FP extensions (ugh!). I have
> tried a
> number
> >> >> of fixes, including portupgrade, but get a checksum error
> there. Have
> tried
> >> >> to rerun the present install of FP using fp_install.sh, but
> get this
> error:
> >> >> Who should own web root web on port 80 [www]:
> >> >> What should the group for web root web on port 80 be [www]:
> >> >> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol
> "__stderrp"
> >> >> ERROR: Unable to chown web root web in port 80
> >> >> Hit enter to continue
> >> >>
> >> >> I'm also seeing the "__stderrp" error in my httpd-error.log
> whenever
> I try
> >> >> to login to FP. So, something has changed in the FBSD-4.5-4.7
> update and
> >> >> I've never seen this error, so don't know what needs to be
> fixed. I have
> >> >> another server running apache_fp.1.27 on FBSD.4.7 just fine.
> >> >>
> >> >> It's looking like an uninstall/reinstall completely for
> apache+fp
> >> >> didn't want to have to do that on a box with a bunch of
> virtual
> hosts.
> >> >>
> >> >> Has anyone seen the above problem on similar installs...???
> >> >
> >> >/usr/src/UPDATING says:
> >> >
> >> >20021110:
> >> >The definitions of the standard file streams (stdio,
> stdout, and
> >> >stderr) have changed so that they are no longer
> compile-time
> >> >constants.  Some older binaries may require updated 3.X
> >> >compatability libraries (for example, by setting
> COMPAT3X=yes
> >> >for a buildworld/installworld).
> >> >
> >> >Alternatively to doing a buildworld with COMPAT3X=yes, you could
> >> >install the misc/compat3x port.
> >
> >
> >> Good grief! I read the UPDATING as always, but this one did NOT
> sink
> >> in! Thank you so much for pointing me in the right direction
> before I
> >> shot myself in the foot
> >>
> >> If I go the misc/compat3x port route, I assume I need to redo the
> >> buildword?? If so, then I might as well include the
> COMPAT3X=yes in the
> >> make.conf.
> >
> >All that setting COMPAT3X=yes does is cause the buildworld process
> to
> >uudecode and install some precompiled copies of FreeBSD-3.x shared
> >libraries --- see /usr/src/lib/compat/compat3x.i386 for what's
> >available.  Those libraries were originally just copied off a 3.x
> >machine, but since then kernel changes in 4.x or 5.0 have meant
> that
> >certain changes have had to be back ported to RELENG_3 in order to
> >maintain compatibility between the 3.x shlibs and the kernel.
> >
> >Supplying those libraries by installing the port achieves exactly
> the
> >same effect, but quicker.  However, the choice is entirely up to
> you.
> >In the long run, putting COMPAT3X into /etc/make.conf would be my
> >choice, as my regular schedule of buildworlds would ensure
> everything
> >was up to date.
> >
> >Once the 3.x shlibs are in place, the binary frontpage binary
> supplied
> >with the apache-fp port should pick them up OK.  The interface
> between
> >the 3.x shlibs and any applications linked to them should remain
> >exactly the same.
> >
> >   Cheers,
> >
> >   Matthew
> >
>
> Matthew, thanks again for the reply. However, I've tried both
> methods of
> the compat3x on a test server, including and whole new
> build/installworld
> and the latest 4.7-STABLE still hoses FrontPage. I even deleted and
> started
> from scratch on Apache+FP-1.27, but the FP install stops dead at
> trying to
> chown the uid:gid on the root web and gives the same error:
>
> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol
> "__stderrp"
> ERROR: Unable to chown web root web in port 80
>
> This caught me by surprise because I'd had FP running fine with
> FBSD-4.7
> (RELEASE and STABLE) on other servers, but it was the installs JUST
> prior
> to the change date of 20021110. In fact they where only 5 days
> earlier. FP
> still doesn't understand what's going on apparently.
>
> Backing down to the installs prior to 20021110 makes FP happy again.
> Unfortunately, until I figure out the cure, I can't track
> 4.7-STABLE. As
> much as it is a pain, I must run FP for the users.
>
> No doubt others running FP must have see

RE: Apache_fp Port install problem

2003-01-13 Thread JoeB
I installed apache-fp on newly install FBSD 4.7 system that was
installed from cd without any compt selected from /stand/sysinstall
process and apache-fp was the first port installed on this system
and in went in with no problem. You must have an older version of
compt3 on your FBSD system that is causing the problem. If you
installed compatibility from the /stand/sysinstall process during
the original install then I believe the ports/make environment does
not know about it and the only solution is to reinstall FSBD from
cd.  The other problem area is that you may have a old version of
compt3 on your ports installed environment and if so, you will have
to find which of your installed ports has compt3 as a pre-rec,
deinstall all the ports using it, delete compt3 from
/usr/ports/distfiles, and then make the ports again.  Or install
portupgrade and let it do all the detail work for you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of G D McKee
Sent: Monday, January 13, 2003 5:20 PM
To: [EMAIL PROTECTED]; Jack L. Stone; Matthew Seaman;
[EMAIL PROTECTED]
Subject: Re: Apache_fp Port install problem

Hi

I have just cvsupped today and get the error - are you saying to add
the
COMPT3 into make.conf cd /usr/src make clean and rm -rf /usr/obj to
get it
to work?

Is there not a few files I can copy to get it working?

Many thanks

Gordon
- Original Message -
From: "JoeB" <[EMAIL PROTECTED]>
To: "Jack L. Stone" <[EMAIL PROTECTED]>; "Matthew Seaman"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, January 12, 2003 5:02 PM
Subject: RE: Apache_fp Port install problem


> At 12:03 PM 1.12.2003 +, Matthew Seaman wrote:
> >On Sat, Jan 11, 2003 at 12:01:44PM -0600, Jack L. Stone wrote:
> >> At 05:44 PM 1.11.2003 +, Matthew Seaman wrote:
> >> >On Sat, Jan 11, 2003 at 11:31:22AM -0600, Jack L. Stone wrote:
> >> >> I just updated from FBSD-4.5 to 4.7 on a server running
> apache_fp.1.26. The
> >> >> update somehow has broken the FP extensions (ugh!). I have
> tried a
> number
> >> >> of fixes, including portupgrade, but get a checksum error
> there. Have
> tried
> >> >> to rerun the present install of FP using fp_install.sh, but
> get this
> error:
> >> >> Who should own web root web on port 80 [www]:
> >> >> What should the group for web root web on port 80 be [www]:
> >> >> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined
symbol
> "__stderrp"
> >> >> ERROR: Unable to chown web root web in port 80
> >> >> Hit enter to continue
> >> >>
> >> >> I'm also seeing the "__stderrp" error in my httpd-error.log
> whenever
> I try
> >> >> to login to FP. So, something has changed in the
FBSD-4.5-4.7
> update and
> >> >> I've never seen this error, so don't know what needs to be
> fixed. I have
> >> >> another server running apache_fp.1.27 on FBSD.4.7 just fine.
> >> >>
> >> >> It's looking like an uninstall/reinstall completely for
> apache+fp
> >> >> didn't want to have to do that on a box with a bunch of
> virtual
> hosts.
> >> >>
> >> >> Has anyone seen the above problem on similar installs...???
> >> >
> >> >/usr/src/UPDATING says:
> >> >
> >> >20021110:
> >> >The definitions of the standard file streams (stdio,
> stdout, and
> >> >stderr) have changed so that they are no longer
> compile-time
> >> >constants.  Some older binaries may require updated
3.X
> >> >compatability libraries (for example, by setting
> COMPAT3X=yes
> >> >for a buildworld/installworld).
> >> >
> >> >Alternatively to doing a buildworld with COMPAT3X=yes, you
could
> >> >install the misc/compat3x port.
> >
> >
> >> Good grief! I read the UPDATING as always, but this one did NOT
> sink
> >> in! Thank you so much for pointing me in the right
direction
> before I
> >> shot myself in the foot
> >>
> >> If I go the misc/compat3x port route, I assume I need to redo
the
> >> buildword?? If so, then I might as well include the
> COMPAT3X=yes in the
> >> make.conf.
> >
> >All that setting COMPAT3X=yes does is cause the buildworld
process
> to
> >uudecode and install some precompiled copies of FreeBSD-3.x
shared
> >libraries --- see /usr/src/lib/compat/compat3x.i386 for what's
> >available.  Those libraries were originally just copied off a 3.x
> >machine, but since then kernel changes in 4.x or 5.0 have meant
> that
> >certain changes have had to be back ported to RELENG_3 in order
to
> >maintain compatibility between the 3.x shlibs and the kernel.
> >
> >Supplying those libraries by installing the port achieves exactly
> the
> >same effect, but quicker.  However, the choice is entirely up to
> you.
> >In the long run, putting COMPAT3X into /etc/make.conf would be my
> >choice, as my regular schedule of buildworlds would ensure
> everything
> >was up to date.
> >
> >Once the 3.x shlibs are in place, the binary frontpage binary
> supplied
> >with the apache-fp port should pick them up OK.  The interface
> between
> >the 3.x shlibs and any app

ipfw question (was: Re[2]: Question)

2003-01-13 Thread Alex

Dear/Beste Steve,

Monday, January 13, 2003, 3:07:53 AM, you wrote:

>>Dear/Beste Steve,
>>
>>Monday, January 13, 2003, 12:23:09 AM, you wrote:
>>
>>> Hey people,
>>
>>> I'm having trouble limiting users to certain services on my LAN.
>>
>>> Here's what im trying to do.
>>
>>> Based on group membership, allow or deny certain users access to certain
>>> outgoing services (www, telnet, ftp, ssh, ping, traceroute, etc). Again
> this
>>> is not IP based, but based on group membership. Everyone can log into any
> PC
>>> on the LAN. I've seen something like this done in Novell, where based on
> a
>>> users group context, their access is limited to certain services.
>>
> Can it be done based on groups? These people don't have static ips

Yes but you use the account on the server machine. Just check out the
'man ipfw'. I'm not an expert on this; just try it out.


-- 
Best regards/Met vriendelijke groet,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Apache_fp Port install problem

2003-01-13 Thread Jack L. Stone
At 05:48 PM 1.13.2003 -0500, JoeB wrote:
>I installed apache-fp on newly install FBSD 4.7 system that was
>installed from cd without any compt selected from /stand/sysinstall
>process and apache-fp was the first port installed on this system
>and in went in with no problem. You must have an older version of
>compt3 on your FBSD system that is causing the problem. If you
>installed compatibility from the /stand/sysinstall process during
>the original install then I believe the ports/make environment does
>not know about it and the only solution is to reinstall FSBD from
>cd.  The other problem area is that you may have a old version of
>compt3 on your ports installed environment and if so, you will have
>to find which of your installed ports has compt3 as a pre-rec,
>deinstall all the ports using it, delete compt3 from
>/usr/ports/distfiles, and then make the ports again.  Or install
>portupgrade and let it do all the detail work for you.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of G D McKee
>Sent: Monday, January 13, 2003 5:20 PM
>To: [EMAIL PROTECTED]; Jack L. Stone; Matthew Seaman;
>[EMAIL PROTECTED]
>Subject: Re: Apache_fp Port install problem
>
>Hi
>
>I have just cvsupped today and get the error - are you saying to add
>the
>COMPT3 into make.conf cd /usr/src make clean and rm -rf /usr/obj to
>get it
>to work?
>
>Is there not a few files I can copy to get it working?
>
>Many thanks
>
>Gordon



Joe, installed from a CD??? If that is from the ISO 4.7-RELEASE,
then it predates the compatX3 change we are talking about here. I have
4.7-STABLE installed from Cvsups that further updated after the RELEASE all
the way up to November 5. But, on November 11, the compatX3 ocurred and any
install after November 11, FP is affected and does not cooperate.

Does your /usr/src/UPDATING show the 20021110 change?? It's the last
release note. If not, then your 4.7 is not compatX3 "challenged" as far as
FP is concerned. When was your last CVSup...???

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



splash_bmp_load problems.

2003-01-13 Thread lewiz
Hi,

  This might seem a bit of a silly question to be asking.  It's a bit
pointless really but I can't figure out why it shouldn't work.

  I tried setting a 800x600 256 color bitmap as my splash bmp.  The same
bitmap works just fine on another machine (that isn't a laptop).
Basically, while the modules are all loaded nicely I get a squashed and
repeated image in the upper section of the screen.  It's no more than
1/5th of the screen's height and it's repeated horizontally about four
or five times.  Any idea what might cause this?

  My /boot/loader.conf reads:

bitmap_load="NO"
bitmap_name="/boot/splash.pcx"
splash_pcx_load="NO"

  I have the VESA compiled into my kernel for the 800x600 mode (I also
had the same problem with a smaller bitmap.  PCX files result in the
same problem also).

  Many thanks,

-lewiz.

-- 
However, never daunted, I will cope with adversity in my traditional
manner ... sulking and nausea.
-- Tom K. Ryan

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg15369/pgp0.pgp
Description: PGP signature


uscanner and ppbus0 webcam (Please CC me)

2003-01-13 Thread Peter Leftwich
>From `dmesg | egrep -e '(uscanner|ppbus)'` I see:

Preloaded elf module "uscanner.ko" at 0xc0560680.
uscanner0: Canon CanoScan, rev 1.00/1.00, addr 2
ppbus0: IEEE1284 device found /PS2/ECP/EPP
Probing for PnP devices on ppbus0:
ppbus0:  MEDIA CPIA_1-20
plip0:  on ppbus0
lpt0:  on ppbus0
ppi0:  on ppbus0

I would like to ship my Creative Webcam II parallel port cam and Canon
CanoScan N650U flatbed scanner to someone and PAY for drivers to be written.

Does anyone know the best way to find someone to accomplish this, and on
what basis the billing might occur (hourly or by the job? ballpark
estimate on the total? likelihood of success?)

Thank you kindly,

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: upgrade 3.5 to 4.x

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 05:50:55PM +, anak freebsd wrote:

> i want to upgrade my freebsd 3.5 to 4.x with cvsup RELENG_4 but i always 
> fail when i run make buildworld.
> is there anyway that i can upgrade my box?

If you want to upgrade via buildworld, I'm afraid you're going to have
to do that large a jump in several stages:

3.5 -> RELENG_3 (latest version of 3.x-STABLE, I think 3.5.1)

RELENG_3 -> RELENG_4_0_0_RELEASE (4.0-RELEASE. (This update is
fairly tricky, and you'll need to pay special attention to the
notes in UPDATING))

RELENG_4_0_0_RELEASE -> RELENG_4

You might even need to put in yet another step between 4.0-RELEASE and
4.x-STABLE.

On the other hand, it's probably going to be a lot easier and more
productive to back up all your important data and configuration
changes and then just install 4.7-RELEASE over your 3.5 machine, then
use cvsup to get to 4.7-STABLE, and restore or recreate the important
bits from your 3.5 system.

Note that which ever way you do the update, you're going to run into
various gotchas, like the change from DES to MD5 password hashes.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions for /tmp?

2003-01-13 Thread Matthew Seaman
On Mon, Jan 13, 2003 at 08:13:05PM +, How Can ThisBe wrote:
> In of those very special moments I did rm -rfv /tmp/ (thinking it would 
> delete the contents of /tmp not /tmp as well) Anyway, I've re-created /tmp 
> but I have forgoten what the default owner:group and permission are. Could 
> someone enlighten me? (laugh as well, I did :])

chown root:wheel /tmp
chmod 1777 /tmp

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ipfilter/ipmon log msgs

2003-01-13 Thread Wayne Pascoe
"JoeB" <[EMAIL PROTECTED]> writes:

> Man ipmon says than when option -s is selected to send ipfilter
> log messages to syslogd the day, month, year prefix is removed from
> the message before posting to syslogd.  This does not happen.

Firstly, ensure you're starting ipmon with the -Ds flags. This will
put it in daemon mode and log through syslogd. 

I've had a problem with logfile formats in the past and this was
because I was not running the correct version of ipmon. 

do 
sudo ipf -V

Check the version. Then do which ipf

Then check to see that the ipmon is running is in the same directory.

Otherwise, post a sample log line...

Regards, 

-- 
- Wayne Pascoe 
You know, it's simply not true that wars never
settle anything - James Burnham


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



  1   2   >