freebsd nis server with debian clients

2003-03-10 Thread Neeraj Arora
Hi Geeks, Girls and Guys,

...:^)

I am having a little problem setting up a debian client to derive login data from a 
freebsd nis server. There is no problem when the freebsd nis server interacts with 
freebsd clients, but there is a problem when it interacts with a debian gnu/linux 
client.

The authentication works when I force a password in the /etc/passwd file on the debian 
gnu/linux system. E.g.:
+login_whatever:$1$blahblahblah:/bin/bash
+::/bin/bash

But, it does not work when the password has to be sourced from the nis server (viz. a 
freebsd machine). I confirmed that both are communicating/operating on nis v2. And 
moreover, the password on the freebsd server are stored in md5 too.

So, I dont seem to understand what the problem may be.

Any help will be great...:)

Regards,
Neeraj

N.B.: I am a freebsd devotee and thus posting this to the freebsd-questions mailing 
list. I might try debian mailing lists too, but first here...:)


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


Re: freebsd nis server with debian clients

2003-03-10 Thread Konrad Heuer
On Mon, 10 Mar 2003, Neeraj Arora wrote:

 Hi Geeks, Girls and Guys,

 ...:^)

 I am having a little problem setting up a debian client to derive login data from a 
 freebsd nis server. There is no problem when the freebsd nis server interacts with 
 freebsd clients, but there is a problem when it interacts with a debian gnu/linux 
 client.

 The authentication works when I force a password in the /etc/passwd file on the 
 debian gnu/linux system. E.g.:
 +login_whatever:$1$blahblahblah:/bin/bash
 +::/bin/bash

 But, it does not work when the password has to be sourced from the nis server (viz. 
 a freebsd machine). I confirmed that both are communicating/operating on nis v2. And 
 moreover, the password on the freebsd server are stored in md5 too.

 So, I dont seem to understand what the problem may be.

 Any help will be great...:)

 Regards,
 Neeraj

 N.B.: I am a freebsd devotee and thus posting this to the
 freebsd-questions mailing list. I might try debian mailing lists too,
 but first here...:)

Look into /var/yp/Makefile for something looking like this:

# If you want to use a FreeBSD NIS server to serve non-FreeBSD clients
# (i.e. clients who expect the password field in the passwd maps to be
# valid) then uncomment this line. This will cause $YPDIR/passwd to
# be generated with valid password fields. This is insecure: FreeBSD
# normally only serves the master.passwd maps (which have real encrypted
# passwords in them) to the superuser on other FreeBSD machines, but
# non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX,
# etc...) will only work properly in 'unsecure' mode.
#
UNSECURE = True

You probably have to set UNSECURE equal to True and to rebuild the maps.

Regards

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




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


Re: (send)mailing from jail-host to jail

2003-03-10 Thread Matthew Seaman
On Sun, Mar 09, 2003 at 05:09:09PM -0800, Josh Brooks wrote:
 
 First off, thank you for your help.  Here is what I did:
 
 first, I edited /etc/mail/freebsd.mc and made it look like this:
 
 dnl Uncomment both of the following lines to listen on IPv6 as well as
 dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')
 dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6')
 FEATURE(no_default_msa)
 DAEMON_OPTIONS(`Name=IPv4, Addr=10.10.2.10, Family=inet')
 DAEMON_OPTIONS(`Name=IPv4, Addr=127.0.0.1, Family=inet')
 DAEMON_OPTIONS(`Name=MSA, Addr=10.10.2.10, Port=587, M=E')
 DAEMON_OPTIONS(`Name=MSA, Addr=127.0.0.1, Port=587, M=E')
 DAEMON_OPTIONS(`Name=IPv6, Addr=::1, Family=inet6')
 
 Then I did:
 
 cd /etc/mail
 make all
 make install
 
 And I verified that it went into sendmail.cf by looking at these lines
 that are now in sendmail.cf:
 
 # SMTP daemon options
 
 O DaemonPortOptions=Name=IPv4, Addr=10.10.2.10, Family=inet
 O DaemonPortOptions=Name=IPv4, Addr=127.0.0.1, Family=inet
 O DaemonPortOptions=Name=MSA, Addr=10.10.2.10, Port=587, M=E
 O DaemonPortOptions=Name=MSA, Addr=127.0.0.1, Port=587, M=E
 O DaemonPortOptions=Name=IPv6, Addr=::1, Family=inet6
 
 Then I:
 
 /bin/sh /etc/rc.sendmail restart
 
 
 And there was no change in the behavior.  When I send mail from the
 jail-host to the jail, I get a return mail saying MX record for jail
 points back to jail-host (which by the way, is patently WRONG - the mx
 record for jail resolves to X, and X is NOT jail-host...)

Hmmm... The point with the DAEMON_OPTIONS stuff is to make sendmail
bind to just the IP numbers for the host system and not to the
jails. What do you get from running:

% sockstat | grep sendmail

I've got a jailed setup much like the one you want to set up, and I get:

% sockstat | grep sendmail
root sendmail 173304 tcp4   81.2.69.218:25*:*
root sendmail 173305 tcp4   127.0.0.1:25  *:*
root sendmail 173306 tcp4   81.2.69.218:587   *:*
root sendmail 173307 tcp4   127.0.0.1:587 *:*
root sendmail 173308 tcp6   ::1:25*:*
smmspsendmail 628973 dgram  syslogd[62885]:3
root sendmail 173303 dgram  syslogd[98]:3
smmspsendmail 173293 dgram  syslogd[98]:3

Where PID 62897 is the sendmail MSP queue runner in the jail.  Note
that in this setup, nothing binds to and listens on any network ports
from within the jail.

 Also, I noticed in /var/log/maillog that when sendmail starts, it does
 a reverse lookup on all the IPs on the system, and it fails on one of them
 - leaving me a:
 
 Mar  9 16:44:25 www sm-mta[10541]: gethostbyaddr(10.10.2.12) failed: 1
 
 And this shows that sendmail is not doing what I tell it to in freebsd.mc-
 because if it was, it would NOT CARE AT ALL about that other IP on the
 system and whether or not it can reverse it, since as far as sendmail
 should be concerned, that IP does not exist.

Hmmm... I also have:

define(`confDOMAIN_NAME', `smtp.infracaninophile.co.uk')dnl

in my .mc file: that may stop sendmail trying to reverse lookup all
it's interfaces in an attempt to work out what its FQDN is.  

 But, as you can see, it is continuing to care about other IPs on the box,
 such that it complains about an unrelated IP not being reversible, and
 continues to complain that the mx list for jail points back to jail-host
 (presumably because what jail _does_ resolve to is an IP it sees itself as
 owning...)

That can be because sendmail finds itself unexpectedly receiving the
message it thinks it is sending off to the next hop for further
processing.  It usually means that the /etc/mail/local_host_names file
needs to be adjusted, but that may not be the case here.
 
 So ... is there any way to get this to work ?The only way I can find is to
 unconfig the network interface for the IP of `jail` and then start
 sendmail, and then reconfig the jail IP. That works, but it is incredibly
 lame.

Well, it works for me.  I'd be interested to find out if the
confDOMAIN_NAME thing is significant.  If so, then it seems that I
must have lucked out to have stumbled on that accidentally.

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


/usr/libexec/ld-elf.so.1: Shared object libGLU.so.14 not found

2003-03-10 Thread robert t g tan
My system fails to build kde and reports:

/usr/libexec/ld-elf.so.1: Shared object libGLU.so.14 not found

Tnx, 
-- 
Robert Tan 

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


missing file libmytinfo.so.2

2003-03-10 Thread michael green
I recently placed a message asking for help in getting
the SCO version of MS FoxPro Unix running under FBSD
4.7. Peter Elsner (thank you Peter) was kind enough to
send me a shell script which sets things up
automatically. However I ran into a problem with the
version of tic he included. The version of tic
compained about a missing library, the error messsage
was:
/usr/libexec/ld-elf.so.1: Shared object
libmytinfo.so.2 not found
I compiled ncurses and used the version of tic from
that but the results on the console were very
unsatisfactory.

Can anyone shed any light on the missing 'shared
object'. Thanks in advance. Regards, Michael Green

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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


Re: python interpreter in vim6 port

2003-03-10 Thread Martin Karlsson

* Matt Navarre [EMAIL PROTECTED] [2003-03-08 20.46 -0800]:
 hello,
 Does anyone know how to get python (and perl for that matter) support compiled 
 into the vim port? The Makefile has a line that says WITH_PYTHON=yes but 
 looking at the output of configure the --enable-pythoninterp argument is not 
 getting passed to configure. Is there some magic incantation of make to get 
 python in there?

Doing make WITH_PYTHON=yes does it for me (that is, I don't see it
in the output of configure, but issuing :version from within Vim shows 
+python).

Hope this helps.
Best regards, mek

 Also, merely out of curiosity why does script have ^Ms on the end of lines 
 when viewed with vi? 
 
 ok,
 MCN
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Martin Karlsson

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


Printing from FBSD to W2K

2003-03-10 Thread robert t g tan
Ive got an HP printer connected to a W2K box. 

How do I print a document from my FreeBSD box 
over the network on that W2K box? 

Tnx,

-- 
Robert Tan

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


Re: freebsd nis server with debian clients

2003-03-10 Thread Dan Pelleg
Neeraj Arora [EMAIL PROTECTED] writes:


 Hi Geeks, Girls and Guys,
 
 ...:^)
 
 I am having a little problem setting up a debian client to derive login data from a 
 freebsd nis server. There is no problem when the freebsd nis server interacts with 
 freebsd clients, but there is a problem when it interacts with a debian gnu/linux 
 client.
 
 The authentication works when I force a password in the /etc/passwd file on the 
 debian gnu/linux system. E.g.:
 +login_whatever:$1$blahblahblah:/bin/bash
 +::/bin/bash
 
 But, it does not work when the password has to be sourced from the nis server (viz. 
 a freebsd machine). I confirmed that both are communicating/operating on nis v2. And 
 moreover, the password on the freebsd server are stored in md5 too.
 
 So, I dont seem to understand what the problem may be.
 
 Any help will be great...:)
 
 Regards,
 Neeraj
 
 N.B.: I am a freebsd devotee and thus posting this to the freebsd-questions mailing 
 list. I might try debian mailing lists too, but first here...:)
 
 

Can your client see the passwords with a ypcat -k passwd?

If it does, I would triple-check the password encoding (section 19.8.11 of
the handbook). Remember that you need to *change* the password after making
a change to encode it in the right method.

Next - what does /etc/nsswitch.conf on the client look like?

-- 

  Dan Pelleg

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


Re: Printing from FBSD to W2K

2003-03-10 Thread Stacey Roberts
Hello,

On Mon, 2003-03-10 at 11:38, robert t g tan wrote:
 Ive got an HP printer connected to a W2K box. 
 
 How do I print a document from my FreeBSD box 
 over the network on that W2K box? 

You can use apsfilter (http://www.apsfilter.org/index.html) with samba
to do this quite effectively.

Verify the model of printer against the list of support printers, and
(accordingly) it'll be fine.

Regards,

Stacey

 
 Tnx,
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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


CRON and error message 'EOF in bacquote substitution'

2003-03-10 Thread Bigbrother

Hi friends,

Recently I put into my crontab the following line

4 0 */10 * * /usr/bin/tar -cyf /backup/lab.`date +%d%m%Y`.tar.bz /lab

But although I can execute the command into my shell, crond refuses to
execute and send me an email saying:

Syntax error: EOF in backquote substitution


What am I doing wrong? I suspect that my problem relies on having a tcsh
as my default shell, but crontab perhaps is running a different shell.

Thanks in advance!



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


how to restart a frozen getty

2003-03-10 Thread Per olof Ljungmark
Hi all,
I have experienced situations where the HylaFAX faxgetty process hangs 
beyond all efforts to restart it. Usually a kill -HUP 1 PID would 
suffice but sometimes it freezes completely.

How can I fix this without rebooting which is rather difficult as same 
machine is our smb-server?

4.7-RELEASE, hylafax 4.1.5, /usr/local/sbin/faxgetty /dev/cuaa0

Thanks,

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


Re: CRON and error message 'EOF in bacquote substitution'

2003-03-10 Thread Matthew Seaman
On Mon, Mar 10, 2003 at 02:52:34PM +0200, Bigbrother wrote:
 
 Hi friends,
 
 Recently I put into my crontab the following line
 
 4 0 */10 * * /usr/bin/tar -cyf /backup/lab.`date +%d%m%Y`.tar.bz /lab
 
 But although I can execute the command into my shell, crond refuses to
 execute and send me an email saying:
 
 Syntax error: EOF in backquote substitution
 
 
 What am I doing wrong? I suspect that my problem relies on having a tcsh
 as my default shell, but crontab perhaps is running a different shell.

Crontab treats '%' characters specially --- see crontab(5).  It will
automatically replace a '%' character with a newline, as a method of
being able to include multiline shell input into the crontab file.

To get a literal '%', type '\%'.

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: Mucked up partitions, can't boot [REPOST]

2003-03-10 Thread Scott I. Remick
[orig question included again at end]

--- Mike Meyer [EMAIL PROTECTED] wrote:
 You really should split swap up in that kind of situation. I.e. - put
 var and half of swap on da1, and tmp and the rest of swap on da2. The
 kernel will interleave swap usage across both spindles for better
 performance if you do that.

Good tip, thanks... I didn't know that.

 Well, you didn't describe a problem, and you didn't ask a
 question. It's hard to provide guidance without some indication of
 where you are and are trying to go.

Sorry, guess my problem/question didn't communicate well. Upon boot, I get:

Invalid partition
Invalid partition
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/kernel
Boot:
Invalid partition
No /kernel

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

The rest of my email then applies, so I'm including it here for anyone new
jumping in:

Doing another experimental 5.0-REL install where I mucked things up due to
partitioning by-hand. This is now becoming a learning experience on fixit et
al, so although this is just for fun I'd like to carry it through the
hard way vs just reinstalling.

Anyhow, this system has 4 SCSI disks da0 through da3. I put / on da0, swap
on da1, split da2 50/50 with /var and /tmp, then /usr is on da3. For each
disk I chose A during slice setup to use entire disk but then partitioned
manually once that screen came up.

I think what I originally forgot to do was set da0 active as I normally have
always just chosen A during partition setup.

This system is old and can't boot off CD, but I do have the kern, mfsroot,
and fixit floppies. I already tried fdisk -a da0 as well as disklabel -w
B da0 but that only made me go from error 1 lba on boot to invalid
partition. I confess to not being familiar with these tools... this is my
first need to use them.

In /dev, I have da0, da0c, da1, da1s1, da1s1b, da1s1c, da2, da2s1, da2s1c,
da2s1d, da2s1e, da3, da3s1, da3s1c, da3s1d

If I do an fdisk da0 partitions 1-3 are UNUSED and everything is on
partition 4, but fdisk da1 through da3 it's partition 1 that has data, and
partitions 2-4 are UNUSED. All used partitions are flag 80 (active)
according to fdisk (I can't see how to make a partition UN-active, only
active).

Anyone willing to help me learn and guide me from here? Thanks


=
Scott I. Remick   --==--   ICQ: 450152 
Save the internet - Use a Mozilla-based browser: 
http://home.adelphia.net/~sremick/mozilla/
FreeBSD: Because making unix user-friendly is easier than debugging Windows.
Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel 
est invisible pour les yeux.

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


Re: Syslog problem

2003-03-10 Thread Chuck Rock
OK, this does make some sense reading it a few more times.

I did include the output of snort which clearly shows the packets coming
from port 514 (syslog) which this also says is the default accept port
from the source address. This should have worked anyway, shouldn't it?

I appreciate the help from everyone.

Thanks,
Chuck

On Sun, 9 Mar 2003, Dean Strik wrote:

 Chuck Rock wrote:
  On Sat, 8 Mar 2003, Michael K. Smith wrote:
   This might be your issue, because you haven't specified the service after
   you subnet.  Try the following:
  
   /usr/sbin/syslogd -a 207.206.185.1/27:* -a 209.83.132.1/27:*
 
  Accordifn to the man page, that just specifies what port to listen on. By
  default it's 514 syslog port.

 No, that's not what it says. I quote:

 ipaddr/masklen[:service]
 [...]
 If specified, _service_ is the name or number of an UDP service (see
 services(5)) the source packet must belong to.

 In other words, it's the port the remote syslog is sending from, not the
 port the local syslogd is listening on.

 --
 Dean C. Strik Eindhoven University of Technology
 [EMAIL PROTECTED]  |  [EMAIL PROTECTED]  |  http://www.ipnet6.org/
 This isn't right. This isn't even wrong. -- Wolfgang Pauli

 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: how to restart a frozen getty

2003-03-10 Thread Bill Moran
Per olof Ljungmark wrote:
Hi all,
I have experienced situations where the HylaFAX faxgetty process hangs 
beyond all efforts to restart it. Usually a kill -HUP 1 PID would 
suffice but sometimes it freezes completely.

How can I fix this without rebooting which is rather difficult as same 
machine is our smb-server?

4.7-RELEASE, hylafax 4.1.5, /usr/local/sbin/faxgetty /dev/cuaa0
Can you 'kill -KILL' the process?  init should restart it if it dies by
any means, but if it's hung bad enough to ignore a -HUP, you may have
to be more forceful.
I'm not sure if this will leave the modem hung ... but it shouldn't.
--
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: Printing from FBSD to W2K

2003-03-10 Thread Bill Moran
robert t g tan wrote:
Ive got an HP printer connected to a W2K box. 

How do I print a document from my FreeBSD box 
over the network on that W2K box? 
In addition to Samba ... you should be able to use cups
to print.  I can't give details as I'm only just starting
to experiment with cups.
--
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: combining partitions

2003-03-10 Thread Bill Moran
Brendan Kosowski wrote:
Is there a tool on the FreeBSD CD I can use to combine 2 partitions(BSD
and/or FAT).
I don't know of one directly.  But you can backup/recreate/restore.  Or,
if you have enough space on the first partition, you can copy everything
from the second to the first, delete the second and use growfs to enlarge
the first.
Make sure you back up before doing anything like this.
--
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: freebsd nis server with debian clients

2003-03-10 Thread Scott Mitchell
On Mon, Mar 10, 2003 at 07:09:04PM +1100, Neeraj Arora wrote:
 Hi Geeks, Girls and Guys,
 
 ...:^)
 
 I am having a little problem setting up a debian client to derive login
 data from a freebsd nis server. There is no problem when the freebsd nis
 server interacts with freebsd clients, but there is a problem when it
 interacts with a debian gnu/linux client.
 
 The authentication works when I force a password in the /etc/passwd file
 on the debian gnu/linux system. E.g.:
 +login_whatever:$1$blahblahblah:/bin/bash
 +::/bin/bash
 
 But, it does not work when the password has to be sourced from the nis
 server (viz. a freebsd machine). I confirmed that both are
 communicating/operating on nis v2. And moreover, the password on the
 freebsd server are stored in md5 too.

Hi Neeraj,

Not sure if this is the exact problem you have, but Linux NIS (at least the
version on the RedHat boxen I have to deal with) is a bit strange and
doesn't interoperate well with 'foreign' NIS servers.

Take a look at:
http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=utf-8selm=20020414104220.B293%40fishballoon.dyndns.org

This is my answer to a similar question last year, including the changes I
made to the FreeBSD NIS Makefile to generate a shadow password map that
Linux was happy with.  As I said, this was with RedHat 7.x, not Debian, but
they're quite likely using the same NFS code, so this might help you as
well.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon

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


Re: I'm think it's bug...or what???

2003-03-10 Thread Lowell Gilbert
|-| ! $ |-| |\\| ! | [EMAIL PROTECTED] writes:

   I have a problem.
   Today I have updated my sources of the system.
   (kernel out of sync with userland)
   I can't 'make buildworld', because of error in /usr/src//libgroff.
   don't know how to build color.cc...
 
   The kernel is 4.8-RC.
   Sometimes (3-4 times a day) I have kernel panic.
   I'm not so cool to debug my kernel, and I have no so much time.
   But I need this new kernel, because I need 'atapicam' driver.
   So I need to 'make build world'.
   What can you say me about that?
   It's real trouble for me :(((

Well, it's not a bug -- running mismatched world and kernel aren't
supported on FreeBSD, and, indeed, often don't work.

You should boot your previous kernel, until you get the buildworld
completed.  Update your sources again, clean out the object directory,
and try the buildworld again.

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


Re: mount msdos file system (4.7 release)

2003-03-10 Thread Lowell Gilbert
guillaume [EMAIL PROTECTED] writes:

 Mike Meyer a ecrit:
 
  Sounds like /sbin/mount_msdos - /sbin/mount_msdosfs on 5.0 - is
  broken.  You can rebuild the command from src in
  /usr/src/sbin/mount_msdos - or mount_msdosfs - and doing a make
  install. If you don't have the sources handy, you'll need to
  reinstall one of the distribution sets. Probably bin, but I'm not
  positive.
 
 (thanks for your answer)
 
 great, it works!
 (sysinstall is a great tool to select the sources)
 
 but i still can't mount my extented partitions (with 4.7 or 5.0). i
 wonder if it is possible.

Certainly.

http://www.freebsd-fr.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-DOS

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


xlockmore not compiling from ports

2003-03-10 Thread Matt Smith
I am trying to compile xlockmore, from ports, with Kerberos support.  I
know I had this working once before.  I am getting the following output
-- any thoughts?  Thanks!
-Matt

mybox# make
===  Building for xlockmore-5.06
c++ -O -pipe -march=pentiumpro -I/usr/local/include -o ../xlock/xlock
../xlock/xlock.o ../xlock/passwd.o ../xlock/resource.o
../xlock/parsecmd.o  ../xlock/util.o ../xlock/logout.o ../xlock/mode.o
../xlock/xlockimage.o ../xlock/ras.o ../xlock/xbm.o  ../xlock/vis.o
../xlock/visgl.o ../xlock/color.o ../xlock/random.o ../xlock/iostuff.o
../xlock/automata.o  ../xlock/spline.o ../xlock/sound.o ../xlock/erase.o
../xlock/magick.o  ../xlock/vtlock.o ../xlock/vtlock_proc.o  ant.o
apollonian.o ball.o bat.o blot.o  bouboule.o bounce.o braid.o bubble.o
bug.o  clock.o coral.o crystal.o  daisy.o dclock.o decay.o deco.o
demon.o  dilemma.o discrete.o dragon.o drift.o euler2d.o eyes.o 
fadeplot.o flag.o flame.o flow.o forest.o  galaxy.o goop.o grav.o 
helix.o hop.o hyper.o  ico.o ifs.o image.o juggle.o julia.o kaleid.o
kumppa.o  laser.o life.o life1d.o life3d.o  lightning.o lisa.o lissie.o
loop.o lyapunov.o  mandelbrot.o marquee.o matrix.o maze.o  mountain.o
munch.o nose.o  pacman.o penrose.o petal.o petri.o  polyominoes.o
puzzle.o pyro.o  qix.o roll.o rotor.o  scooter.o shape.o sierpinski.o
slip.o  space.o sphere.o spiral.o spline.o  star.o starfish.o strange.o
swarm.o swirl.o  t3d.o tetris.o thornbird.o tik_tak.o  triangle.o tube.o
turtle.o  vines.o voters.o  wator.o wire.o world.o worm.o xcl.o
xjack.o   solitare.o   glx/cage.o glx/gears.o  glx/moebius.o
glx/morph3d.o glx/noof.o  glx/rubik.o glx/sierpinski3d.o glx/stairs.o
glx/superquadrics.o bomb.o blank.o random.o  glx/xpm-ximage.o
glx/pipeobjs.o  glx/buildlwo.o glx/sproingiewrap.o glx/s1_b.o 
glx/s1_1.o glx/s1_2.o glx/s1_3.o glx/s1_4.o glx/s1_5.o glx/s1_6.o
glx/dolphin.o glx/shark.o glx/swim.o glx/whale.o glx/tunnel_draw.o 
glx/b_draw.o glx/b_sphere.o glx/b_lockglue.o glx/tube.o glx/sphere.o
glx/i_figureeight.o  glx/i_linkage.o glx/i_sphere.o glx/i_spline.o 
glx/i_threejet.o glx/i_threejetvec.o  glx/i_twojet.o glx/i_twojetvec.o
glx/fire.o glx/lament.o glx/sballs.o glx/molecule.o  glx/pipes.o
glx/sproingies.o glx/atlantis.o glx/atunnels.o  glx/bubble3d.o
glx/glplanet.o glx/invert.o
-Wl,-R/usr/lib:/usr/X11R6/lib:/usr/X11R6/lib:/usr/X11R6/lib:/usr/lib  
-L/usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib  -lSM
-lICE  -L/usr/local/lib  -pthread -lXpm -lGL -lGLU -lcrypt
-L/usr/local/lib -lkrb5 -lcrypto -lcom_err -lX11 -lXext -lm 
/usr/lib/libkrb5.so: undefined reference to `length_PA_ENC_TS_ENC'
/usr/lib/libkrb5.so: undefined reference to `length_KDC_REQ_BODY'
/usr/lib/libkrb5.so: undefined reference to `free_Principal'
/usr/lib/libkrb5.so: undefined reference to `bswap16'
/usr/lib/libkrb5.so: undefined reference to `length_EncKrbCredPart'
/usr/lib/libkrb5.so: undefined reference to `copy_Realm'
/usr/lib/libkrb5.so: undefined reference to `strlwr'
/usr/lib/libkrb5.so: undefined reference to `length_TGS_REQ'
/usr/lib/libkrb5.so: undefined reference to `decode_TGS_REP'
/usr/lib/libkrb5.so: undefined reference to `copy_PrincipalName'
/usr/lib/libkrb5.so: undefined reference to `decode_EncKrbCredPart'
/usr/lib/libkrb5.so: undefined reference to `length_EncryptedData'
/usr/lib/libkrb5.so: undefined reference to `net_write'
/usr/lib/libkrb5.so: undefined reference to `decode_Authenticator'
/usr/lib/libkrb5.so: undefined reference to `free_KRB_PRIV'
/usr/lib/libkrb5.so: undefined reference to `free_ETYPE_INFO'
/usr/lib/libkrb5.so: undefined reference to `encode_AP_REQ'
/usr/lib/libkrb5.so: undefined reference to `encode_EncKrbPrivPart'
/usr/lib/libkrb5.so: undefined reference to `copy_octet_string'
/usr/lib/libkrb5.so: undefined reference to `copy_HostAddress'
/usr/lib/libkrb5.so: undefined reference to `length_Ticket'
/usr/lib/libkrb5.so: undefined reference to `decode_AP_REQ'
/usr/lib/libkrb5.so: undefined reference to `length_AuthorizationData'
/usr/lib/libkrb5.so: undefined reference to `encode_TGS_REQ'
/usr/lib/libkrb5.so: undefined reference to `length_KRB_ERROR'
/usr/lib/libkrb5.so: undefined reference to `arg_printusage'
/usr/lib/libkrb5.so: undefined reference to `free_KRB_SAFE'
/usr/lib/libkrb5.so: undefined reference to `roken_gethostby_setup'
/usr/lib/libkrb5.so: undefined reference to `decode_KRB_ERROR'
/usr/lib/libkrb5.so: undefined reference to `length_AS_REQ'
/usr/lib/libkrb5.so: undefined reference to `length_KRB_SAFE'
/usr/lib/libkrb5.so: undefined reference to `encode_EncASRepPart'
/usr/lib/libkrb5.so: undefined reference to `copy_EncryptionKey'
/usr/lib/libkrb5.so: undefined reference to `length_EncKrbPrivPart'
/usr/lib/libkrb5.so: undefined reference to `copy_Principal'
/usr/lib/libkrb5.so: undefined reference to `encode_PA_ENC_TS_ENC'
/usr/lib/libkrb5.so: undefined reference to
`initialize_asn1_error_table_r'
/usr/lib/libkrb5.so: undefined reference to `copy_EncTicketPart'
/usr/lib/libkrb5.so: undefined reference to 

Re: Changing comment color in vim

2003-03-10 Thread Lee J Carmichael
Hello Wayne,

Here is what I add to make the comments change in vim. You need to add it
to the ~/.vimrc. 


hi Comment ctermfg=darkmagenta

You may want to first run the color tests to make sure that the color you
choose actually works in your current terminal.  The following will run a
color test to see the colors that work.

:e $VIMRUNTIME/syntax/colortest.vim 
:so %

I hope this helps.


Lee Carmichael  
Service Architect - WorkSpace

WAM!NET Inc.
655 Lone Oak Rd Building A
Eagan, MN 55121

ph# 651-256-5292 
email: [EMAIL PROTECTED]

On Sun, 9 Mar 2003, Wayne Pascoe wrote:

 Hi all,
 
 I use vim for my coding needs, and only have one problem with it. Unless
 I'm using gvim, my comments are a dark blue. This is almost unreadable
 in some light conditions.
 
 Does anyone have a quick hack to change comments to something easier to
 see (e.g. green / yellow) for perl and C ? 
 
 TIA,
 
 -- 
 Wayne Pascoe
 
 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: Sendmail config file

2003-03-10 Thread IAccounts
  # install -c -m freebsd.cf /etc/mail/sendmail.cf
  Install: Invalid file mode: freebsd.cf
  Has anyone else experienced this during their sendmail upgrade?


 Does the file /usr/share/mk/bsd.own.mk exist?

 If yes, does it contain a definition of SHAREMODE?

   % grep SHAREMODE /usr/share/mk/bsd.own.mk
   # SHAREMODE ASCII text file mode. [${NOBINMODE}]
   SHAREMODE?= ${NOBINMODE}

It certainly does. The entry is laid out exactly as you have it above.
The Makefile appears to be a binary, for reasons unknown to me, but that
is besides the point. Can I just copy a new makefile over from a different
box, or am I headed in the wrong direction with this?

Tks.



 - Giorgos

 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: how to restart a frozen getty

2003-03-10 Thread Peter Elsner
Try CTRL-J (3 times)
type: stty sane hit CTRL-J again...
DO NOT HIT ENTER on any of these..

That should release it...

At 01:56 PM 3/10/2003 +0100, you wrote:
Hi all,
I have experienced situations where the HylaFAX faxgetty process hangs 
beyond all efforts to restart it. Usually a kill -HUP 1 PID would 
suffice but sometimes it freezes completely.

How can I fix this without rebooting which is rather difficult as same 
machine is our smb-server?

4.7-RELEASE, hylafax 4.1.5, /usr/local/sbin/faxgetty /dev/cuaa0

Thanks,

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



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


Re: missing file libmytinfo.so.2

2003-03-10 Thread Peter Elsner
Michael, you need to install the compatibility libraries first...  These 
are required for tic to work

Peter

At 09:15 AM 3/10/2003 +, you wrote:
I recently placed a message asking for help in getting
the SCO version of MS FoxPro Unix running under FBSD
4.7. Peter Elsner (thank you Peter) was kind enough to
send me a shell script which sets things up
automatically. However I ran into a problem with the
version of tic he included. The version of tic
compained about a missing library, the error messsage
was:
/usr/libexec/ld-elf.so.1: Shared object
libmytinfo.so.2 not found
I compiled ncurses and used the version of tic from
that but the results on the console were very
unsatisfactory.
Can anyone shed any light on the missing 'shared
object'. Thanks in advance. Regards, Michael Green
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



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


Re: Why natd don't divert packets?

2003-03-10 Thread denb
From: denb [EMAIL PROTECTED]

Sent: Friday, March 07, 2003 5:22 AM
Subject: Re: Why natd don't divert packets?


   Bernd Walter [EMAIL PROTECTED]:
 
   On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote:
This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0
  (ipfw2).
Why?
  
   This is an issue triggered by compiling libalias with -O2.
   Recompile libalias without -O2 and recompile natd so it binds to
  the rebuild libalias.a
   The problem wasn't there a month ago.
   See -current list for firther details.
  
   --
   B.WalterCOSMO-Project http://www.cosmo-project.de
   [EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]
  
  I ran this on FreeBSD 5.0-RELEASE, not CURRENT. Any suggestions?
 

 5.0 REL was -CURRENT as of the date of the release.
 This makes you an early adopter ---congratulations!
 As you are running the the first release from that branch
 (-CURRENT), I'd think his explanation would be worth looking
 into...maybe he meant 'six weeks' instead of a 'month', which
 would put it well within the dates delineated by your -RELEASE
 version.

 Kevin Kinsey,
 DaleCo, S.P

Also this don't work on 5.0-CURRENT-20030226-JPSNAP

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


dump question

2003-03-10 Thread dick hoogendijk
Using dump to make a full level 0 backup of my system to another
harddisk in case of a crash. If needed I want to restore the dumps and
have a fully working system back.

Question: do I have to make the dumps *single* mode or can I just do it
from a running system?

If single, do I have to follow the next steps: ??
# boot -s
# fsck -p
# mount -u /
# mount -a
# swapon -a
# adjkerntz -i

If not, what are IS the right procedure?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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


test

2003-03-10 Thread R S
 
 

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


post install issues (Network card)

2003-03-10 Thread R S
I've recently installed FBSD on a Sony VAIO laptop.  I
have a Kingston Network pc card installed.  The
install goes fine, but can someone tell me why:

1. during the network interfaces configuration the
pc card is noticed as ed1 instead of ed0?  Shouldnt it
be ed0. or does it matter?

2. after the install is complete, and the system
reboots back to a login prompt... in the login field I
get a pccard[50] ed1 device started.  Why does it do
that?  Why does that message come up before I even
login?

   
Please help me :(


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: freebsd nis server with debian clients

2003-03-10 Thread Mike Galvez
On Mon, Mar 10, 2003 at 07:09:04PM +1100, Neeraj Arora wrote:
 Hi Geeks, Girls and Guys,
 
 ...:^)
 
 I am having a little problem setting up a debian client to derive login data from a 
 freebsd nis server. There is no problem when the freebsd nis server interacts with 
 freebsd clients, but there is a problem when it interacts with a debian gnu/linux 
 client.
 
 The authentication works when I force a password in the /etc/passwd file on the 
 debian gnu/linux system. E.g.:
 +login_whatever:$1$blahblahblah:/bin/bash
 +::/bin/bash
 
 But, it does not work when the password has to be sourced from the nis server (viz. 
 a freebsd machine). I confirmed that both are communicating/operating on nis v2. And 
 moreover, the password on the freebsd server are stored in md5 too.
 
 So, I dont seem to understand what the problem may be.
 
 Any help will be great...:)
 
 Regards,
 Neeraj
 
 N.B.: I am a freebsd devotee and thus posting this to the freebsd-questions mailing 
 list. I might try debian mailing lists too, but first here...:)
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

I think your Linux clients are looking for shadow.byname and shadow.byuid. I found 
this URL
while Googling for the same problem. After adding the shadow.byname and shadow.byuid 
lines
to my Makefile, the linux clients were able to log into the FreeBSD NIS server.

http://dbforums.com/t582766.html

Do pay special attention to hidden characters when editing the Makefile. If you're 
using
vi, you will want to use set list.

HTH

-Mike

-- 
Michael Galvez 
Information Technology Specialist III   E-Mail: [EMAIL PROTECTED]
University of Virginia  

If you are a fatalist, what can you do about it?
-- Ann Edwards-Duff

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


Re: how to restart a frozen getty

2003-03-10 Thread Per olof Ljungmark
Peter Elsner wrote:
Try CTRL-J (3 times)
type: stty sane hit CTRL-J again...
DO NOT HIT ENTER on any of these..

That should release it...
Would that be from the console or from any terminal?

I have experienced situations where the HylaFAX faxgetty process hangs 
beyond all efforts to restart it. Usually a kill -HUP 1 PID would 
suffice but sometimes it freezes completely.

How can I fix this without rebooting which is rather difficult as same 
machine is our smb-server?

4.7-RELEASE, hylafax 4.1.5, /usr/local/sbin/faxgetty /dev/cuaa0




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


Re: how to restart a frozen getty

2003-03-10 Thread Per olof Ljungmark
I have experienced situations where the HylaFAX faxgetty process hangs 
beyond all efforts to restart it. Usually a kill -HUP 1 PID would 
suffice but sometimes it freezes completely.

How can I fix this without rebooting which is rather difficult as same 
machine is our smb-server?

4.7-RELEASE, hylafax 4.1.5, /usr/local/sbin/faxgetty /dev/cuaa0


Can you 'kill -KILL' the process?  init should restart it if it dies by
any means, but if it's hung bad enough to ignore a -HUP, you may have
to be more forceful.
I'm not sure if this will leave the modem hung ... but it shouldn't.
No, 'kill -KILL' does nothing.

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


Mars NWE - need some help please

2003-03-10 Thread Troy
Hello,
I  have  the  following  set up and cannot see the freebsd box from the network.
Samba  works fine on this machine however mars_nwe just isn't working for me, of
course I am positive it is something that I am doing since this is the first time I
have set it up. Any help would be appreciated.

Thanks,

Troy

***
** Added to kernel
options IPX
options NCP

** rc.conf entries
ifconfig_xl0f0_ipx=ipx 010A
ifconfig_xl0f1_ipx=ipx 020A
ifconfig_xl0f2_ipx=ipx 030A
ifconfig_xl0f3_ipx=ipx 040A
ipxrouted_flags=/tmp/ipx.log

** loader.conf line
if_ef_load=YES

* nwserv.conf *

1   SYS /vola/sys   kr  711 600
1   VOL01   /vola/vol01 k   775 775
2   MASSH
3   auto1
4   0x0 *   AUTO 1
5   0x0
6   2   0x0
7   0
8   0x0
9   07510640
10  65534
11  65534
12  SUPERVISOR  trllc   passwd
13  IMAGE3  image3  passwd
13  GUEST   nobody  -   0x1
15   0 top-secret
16  1
17   0x0
18   0x0
#21 LP  -   lpr -
#21 LP_PS
#22 PS_NWE  LP_PS   1
#30 0x20000x2000
31  0x0
40  /var/spool/nwserv/.volcache
41  /var/spool/nwserv/.locks
42  /var/spool/nwserv
45  /var/nwserv/db
46  /var/nwserv/attrib
47  /var/nwserv/trustees
# 80  50  # max_dir_search_handles (namspace.c)
100 0   # debug IPX KERNEL (0 | 1)
101 1   # debug NWSERV
102 0   # debug NCPSERV
103 0   # debug NWCONN
104 0   # debug (start) NWCLIENT, should *always* be '0' !
105 0   # debug NWBIND
106 1   # debug NWROUTED
200 1   # 0 = no logfile and dont daemonize nwserv/nwrouted
201 /var/log/nw.log # filename of logfile
202 0x1 # flag in hex notation
210 10  # 1 .. 600  (default 10) seconds after server
211 60  # 10 .. 600 (default 60) broadcasts every x seconds
300 1   #  0 print routing info to file every x broadcasts.
301 /var/log/nw.routes #  filename of logfile
302 0x1 # flags will be interpreted as hex value.
310 7   # send wdog's only to device net  x ticks.
400  /etc/nwserv.stations  # for syntax see file in the examples directory.
401 0   # 0 = ignore entry 400, get nearest response always enabled.
402 0   # 0 = ignore entry 400, create connection always enabled.



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


Re: Pregunta URGENTE --Reply in spanish

2003-03-10 Thread eric
David:

solo como pregunta, despues del mensaje que sale:

-
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
-

Estas seguro de que no sale nada mas?, por lo general cuando aparece este 
problema FreeBSD automaticamente empieza a hacer un chequeo interno que 
dependiendo del disco duro puede tomar varios minutos!, se ejecuta el programa 
fsck y empieza a corregir los errores que va encontrando, repito esto puede 
tomar varios minutos en un disco duro grande, hata mas de 15 minutos en varios 
casos graves.

No indicas que tipo de servidor tienes (Penitum II, Pentium III, Pentium IV, 
cuanta RAM 256 MB 512 MB 1 GB o mas, tampoco indicas el tamaño de tu disco duro 
si es IDE o SCSI, en discos de 20 GB o mas puede tardar un poco el proceso 
automatico de correccion del sistema.
 
Espero que puedas proporcionar esta información, asi como cual versoin de 
FreeBSD estas usando, 4.0, 4.1, 4.5 o la ultimo 4.7 o la nueva experimental 
5.0, espero que puedas darnos mas datos de tu problema, otra solucion que te 
recomendaria es visites la siguiente pagina:


 http://freebsd.org.mx/
 http://www.bsd.org.mx/



Saludos, desde Merida, Yucatán, México.


Mensaje citado por taxman [EMAIL PROTECTED]:

 David,
 
 Lo siento para mi espanol peor
 Este es una lista en ingles.  Mira a:
 http://www.freebsd.org/es/support.html#mailing-list
 hay listas alli en espanol.
 Manda un email con no subjeto, y solo la palabra:
 lists
 a [EMAIL PROTECTED]  Este manda una lista de la listas en espanol.
 
 Y trata de mandar email no con html a estes listas.  Es una problema para 
 unos.
 
 buenas,
 Tim
 
 On Sunday 09 March 2003 06:56 pm, Kaliman _ wrote:
  htmldiv style='background-color:'DIV
  DIVEstimados Srs,/DIV
  DIVnecesito ayuda para resolver un problema,nbsp;explico: el cooler
 del
  servidor dejo de funcionar y se colgo la máquina, entonces no había forma
  de apagarlo, la unica forma es con el botoncito del CPU.nbsp; Después de
  cambiar el cooler, todo inicia hasta que se planta en las siguientes
  lineas:nbsp; STRONGMounting root from ufs:/dev/ad0s1a/STRONG, y
 abajo
  sigue :STRONG WARNING: / was not properly dismounted/STRONG. y ahi se
  queda, no da más, no funciona nada./DIV DIVPor favornbsp;a ver si lo
  chequean o si sabennbsp;como solucionarlo estare muy agradecido, estuve
  intentando y entre al inicio de sesión pero hay comandos internos del
  cargador. y la verdad que no habllo una solución./DIV DIVBueno,
 espero
  una prontanbsp;respuesta. y estoy agradecido por su atención./DIV
  DIVSaludos,/DIV
  DIVnbsp;/DIV
  DIVDavid Condori./DIV
  DIVnbsp;/DIV/DIV/divbr clear=allhr  /html
 
  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
 




---


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


Re: dump question

2003-03-10 Thread Matthew Seaman
On Mon, Mar 10, 2003 at 04:43:49PM +0100, dick hoogendijk wrote:
 Using dump to make a full level 0 backup of my system to another
 harddisk in case of a crash. If needed I want to restore the dumps and
 have a fully working system back.
 
 Question: do I have to make the dumps *single* mode or can I just do it
 from a running system?

No, you can dump while in multiuser mode, but you have to beware of
corruption in the dump caused by changes to the file system or even to
individual files while dump is running.  So long as the filesystem is
pretty much quiescent, you'll be OK.
 
 If single, do I have to follow the next steps: ??
 # boot -s
 # fsck -p
 # mount -u /
 # mount -a
 # swapon -a
 # adjkerntz -i

Hmmm... You don't need 'mount -u /' if you then immediately do 'mount
-a' as 'mount -a' will remount the root filesystem with the correct
options anyhow.  I'd put 'swapon -a' before 'mount -a', especially if
you've got mfs based filesystems.  'adjkerntz' should only be needed
on dual boot machines where the alternate OS needs the system clock to
be set to the wallclock time.  If your machine just runs FreeBSD, then
set the system clock to UTC and relax.

 If not, what are IS the right procedure?

boot -s
fsck -p
swapon -a
mount -a
adjkerntz -i

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: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 09:59, IAccounts [EMAIL PROTECTED] wrote:
   # install -c -m freebsd.cf /etc/mail/sendmail.cf
   Install: Invalid file mode: freebsd.cf
   Has anyone else experienced this during their sendmail upgrade?
 
  Does the file /usr/share/mk/bsd.own.mk exist?
 
  If yes, does it contain a definition of SHAREMODE?
 
  % grep SHAREMODE /usr/share/mk/bsd.own.mk
  # SHAREMODE ASCII text file mode. [${NOBINMODE}]
  SHAREMODE?= ${NOBINMODE}

 It certainly does. The entry is laid out exactly as you have it above.
 The Makefile appears to be a binary, for reasons unknown to me, but that
 is besides the point. Can I just copy a new makefile over from a different
 box, or am I headed in the wrong direction with this?

Have you upgraded recently?  Did you run mergemaster after installworld?

What is the output of the following command?

$ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile

- Giorgos


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


Re: Mars NWE - need some help please

2003-03-10 Thread Igor B. Bykhalo
[...]
 
 ***
 ** Added to kernel
 options IPX
 options NCP
 
 ** rc.conf entries
 ifconfig_xl0f0_ipx=ipx 010A
 ifconfig_xl0f1_ipx=ipx 020A
 ifconfig_xl0f2_ipx=ipx 030A
 ifconfig_xl0f3_ipx=ipx 040A

You forgot lo0?

ifconfig_lo0_ipx=ipx 0x.1

 ipxrouted_flags=/tmp/ipx.log

I have also -s flag for IPXrouted:

ipxrouted_flags=-s   # Flags for IPX routing daemon.

And i don't see lines

ipxgateway_enable=YES# Set to YES to enable IPX routing.
ipxrouted_enable=YES # Set to YES to run the IPX routing daemon.

in your rc.conf. Are they there?

 
 ** loader.conf line
 if_ef_load=YES
 
 * nwserv.conf *
 
 1   SYS /vola/sys   kr  711 600
 1   VOL01   /vola/vol01 k   775 775
 2   MASSH
 3   auto1

Why? Must match IPX network number on lo0

3   0x

 4   0x0 *   AUTO 1

You don't need this line... Read /usr/local/share/doc/mars_nwe/README.FREEBSD
Look also at Boris Popov's pages at

http://people.freebsd.org/~bp/

HTH,
Igor

[...]


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


Re: Sendmail config file

2003-03-10 Thread IAccounts
# install -c -m freebsd.cf /etc/mail/sendmail.cf
Install: Invalid file mode: freebsd.cf
Has anyone else experienced this during their sendmail upgrade?
  
   Does the file /usr/share/mk/bsd.own.mk exist?
  
   If yes, does it contain a definition of SHAREMODE?
  
 % grep SHAREMODE /usr/share/mk/bsd.own.mk
 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
 SHAREMODE?= ${NOBINMODE}
 
  It certainly does. The entry is laid out exactly as you have it above.
  The Makefile appears to be a binary, for reasons unknown to me, but that
  is besides the point. Can I just copy a new makefile over from a different
  box, or am I headed in the wrong direction with this?

 Have you upgraded recently?  Did you run mergemaster after installworld?

Yes I just upgraded last week. 4.3-RELENG_4.

I did do mergemaster, but only on the password file.
I will copy the latter file to /etc/mail and give it a test.

Thanks.


 What is the output of the following command?

   $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile




 - Giorgos


 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: Sendmail config file

2003-03-10 Thread IAccounts
# install -c -m freebsd.cf /etc/mail/sendmail.cf
Install: Invalid file mode: freebsd.cf
Has anyone else experienced this during their sendmail upgrade?
  
   Does the file /usr/share/mk/bsd.own.mk exist?
  
   If yes, does it contain a definition of SHAREMODE?
  
 % grep SHAREMODE /usr/share/mk/bsd.own.mk
 # SHAREMODE ASCII text file mode. [${NOBINMODE}]
 SHAREMODE?= ${NOBINMODE}
 
  It certainly does. The entry is laid out exactly as you have it above.
  The Makefile appears to be a binary, for reasons unknown to me, but that
  is besides the point. Can I just copy a new makefile over from a different
  box, or am I headed in the wrong direction with this?

 Have you upgraded recently?  Did you run mergemaster after installworld?

 What is the output of the following command?

   $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile

Sorry, the output is 'Binary files differ'. The /etc/mail Makefile is
binary, the former is not.

The copy of the new Makefile did not work, It states that it 'Do not know
how to make freebsd.submit.cf'. By driving through mergemaster, I can see
that I will destroy what is working of sendmail :o)

Is there any reason that I can't stay with the old config files? I can't
afford to break sendmail at this time. If it is not a security risk to
remain with old config files against the newest binary, I will just leave
it sit for now until I can dig up more info.

Tks.


 - Giorgos


 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: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:32, IAccounts [EMAIL PROTECTED] wrote:
 # install -c -m freebsd.cf /etc/mail/sendmail.cf
 Install: Invalid file mode: freebsd.cf
 Has anyone else experienced this during their sendmail upgrade?
   
Does the file /usr/share/mk/bsd.own.mk exist?
   
If yes, does it contain a definition of SHAREMODE?
   
% grep SHAREMODE /usr/share/mk/bsd.own.mk
# SHAREMODE ASCII text file mode. [${NOBINMODE}]
SHAREMODE?= ${NOBINMODE}
  
   It certainly does. The entry is laid out exactly as you have it above.
   The Makefile appears to be a binary, for reasons unknown to me, but that
   is besides the point. Can I just copy a new makefile over from a different
   box, or am I headed in the wrong direction with this?
 
  Have you upgraded recently?  Did you run mergemaster after installworld?
  What is the output of the following command?
 
  $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile

 Yes I just upgraded last week. 4.3-RELENG_4.

 I did do mergemaster, but only on the password file.
 I will copy the latter file to /etc/mail and give it a test.

 Thanks.

Nice :)

You should really run mergemaster and let it merge all the necessary
changes to /etc though.  Not just the password file.


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


Re: Sendmail config file

2003-03-10 Thread IAccounts
  # install -c -m freebsd.cf /etc/mail/sendmail.cf
  Install: Invalid file mode: freebsd.cf
  Has anyone else experienced this during their sendmail upgrade?

 Does the file /usr/share/mk/bsd.own.mk exist?

 If yes, does it contain a definition of SHAREMODE?

   % grep SHAREMODE /usr/share/mk/bsd.own.mk
   # SHAREMODE ASCII text file mode. [${NOBINMODE}]
   SHAREMODE?= ${NOBINMODE}
   
It certainly does. The entry is laid out exactly as you have it above.
The Makefile appears to be a binary, for reasons unknown to me, but that
is besides the point. Can I just copy a new makefile over from a different
box, or am I headed in the wrong direction with this?
  
   Have you upgraded recently?  Did you run mergemaster after installworld?
   What is the output of the following command?
  
 $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile
 
  Yes I just upgraded last week. 4.3-RELENG_4.
 
  I did do mergemaster, but only on the password file.
  I will copy the latter file to /etc/mail and give it a test.
 
  Thanks.


 Nice :)

 You should really run mergemaster and let it merge all the necessary
 changes to /etc though.  Not just the password file.

I will play with this on a test box, but not on production. Looks like it
is trying to merge some lines that I am not overly confident will produce
successful results.

Steve





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


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:45, IAccounts [EMAIL PROTECTED] wrote:
 # install -c -m freebsd.cf /etc/mail/sendmail.cf
 Install: Invalid file mode: freebsd.cf
 Has anyone else experienced this during their sendmail upgrade?
   
Does the file /usr/share/mk/bsd.own.mk exist?
   
If yes, does it contain a definition of SHAREMODE?
   
% grep SHAREMODE /usr/share/mk/bsd.own.mk
# SHAREMODE ASCII text file mode. [${NOBINMODE}]
SHAREMODE?= ${NOBINMODE}
  
   It certainly does. The entry is laid out exactly as you have it above.
   The Makefile appears to be a binary, for reasons unknown to me, but that
   is besides the point. Can I just copy a new makefile over from a different
   box, or am I headed in the wrong direction with this?
 
  Have you upgraded recently?  Did you run mergemaster after installworld?
 
  What is the output of the following command?
 
  $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile

 Sorry, the output is 'Binary files differ'. The /etc/mail Makefile is
 binary, the former is not.

 The copy of the new Makefile did not work, It states that it 'Do not know
 how to make freebsd.submit.cf'. By driving through mergemaster, I can see
 that I will destroy what is working of sendmail :o)

 Is there any reason that I can't stay with the old config files? I can't
 afford to break sendmail at this time. If it is not a security risk to
 remain with old config files against the newest binary, I will just leave
 it sit for now until I can dig up more info.

It depends on what the old version of Sendmail was.  What do you get
when you telnet to port 25?

: [EMAIL PROTECTED]:33]/home/giorgos$ telnet 0 25
: Trying 0.0.0.0...
: Connected to 0.
: Escape character is '^]'.
: 220 gothmog.gr ESMTP Sendmail 8.12.8/8.12.8; Mon, 10 Mar 2003 20:33:46 +0200 (EET)
: quit
: 221 2.0.0 gothmog.gr closing connection
: Connection closed by foreign host.
: [EMAIL PROTECTED]:33]/home/giorgos$

The two version numbers after ESMTP Sendmail above are, in order,
the version of the Sendmail executable and the version of the
sendmail.cf file.

- Giorgos

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


Re: Sendmail config file

2003-03-10 Thread Giorgos Keramidas
On 2003-03-10 12:51, IAccounts [EMAIL PROTECTED] wrote:
Have you upgraded recently?  Did you run mergemaster after installworld?
What is the output of the following command?
   
$ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile
  
   Yes I just upgraded last week. 4.3-RELENG_4.
  
   I did do mergemaster, but only on the password file.  I will
   copy the latter file to /etc/mail and give it a test.
  
   Thanks.
 
  Nice :)
 
  You should really run mergemaster and let it merge all the
  necessary changes to /etc though.  Not just the password file.

 I will play with this on a test box, but not on production. Looks
 like it is trying to merge some lines that I am not overly confident
 will produce successful results.

Fine with me.  I don't know what those diffs you're talking about are,
so I'll have to agree that being cautious to avoid breaking thing is
the best path to take.

:)


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


Re: Sendmail config file

2003-03-10 Thread IAccounts
  # install -c -m freebsd.cf /etc/mail/sendmail.cf
  Install: Invalid file mode: freebsd.cf
  Has anyone else experienced this during their sendmail upgrade?

 Does the file /usr/share/mk/bsd.own.mk exist?

 If yes, does it contain a definition of SHAREMODE?

   % grep SHAREMODE /usr/share/mk/bsd.own.mk
   # SHAREMODE ASCII text file mode. [${NOBINMODE}]
   SHAREMODE?= ${NOBINMODE}
   
It certainly does. The entry is laid out exactly as you have it above.
The Makefile appears to be a binary, for reasons unknown to me, but that
is besides the point. Can I just copy a new makefile over from a different
box, or am I headed in the wrong direction with this?
  
   Have you upgraded recently?  Did you run mergemaster after installworld?
  
   What is the output of the following command?
  
 $ diff -u /etc/mail/Makefile /usr/src/etc/mail/Makefile
 
  Sorry, the output is 'Binary files differ'. The /etc/mail Makefile is
  binary, the former is not.
 
  The copy of the new Makefile did not work, It states that it 'Do not know
  how to make freebsd.submit.cf'. By driving through mergemaster, I can see
  that I will destroy what is working of sendmail :o)
 
  Is there any reason that I can't stay with the old config files? I can't
  afford to break sendmail at this time. If it is not a security risk to
  remain with old config files against the newest binary, I will just leave
  it sit for now until I can dig up more info.

 It depends on what the old version of Sendmail was.  What do you get
 when you telnet to port 25?

8.12.8/8.11.1

As far as I can tell, there are no vulnerabilities by reusing the old
configs, so I will let you get back to more important things on the list
and play around and research independantly for the time being.

Thanks for everything!

Steve



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


Pricing offer for placing Ads on your website

2003-03-10 Thread adv


Hey.

I would like to get info about placing an ads on your website.
I own a few fashion, helath and sport websites, i got a new budget for advertinsg and 
i would
Like to get your price offer for a text links and banners adversitement on your 
website.

Thanks.



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


Pricing offer for placing Ads on your website

2003-03-10 Thread adv


Hey.

I would like to get info about placing an ads on your website.
I own a few fashion, helath and sport websites, i got a new budget for advertinsg and 
i would
Like to get your price offer for a text links and banners adversitement on your 
website.

Thanks.



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


Building KDE3 from ports in 5.0 fails on libmng

2003-03-10 Thread RexFelis
Hello, all:

I am not terribly familiar with FreeBSD, but I am
learning by getting my hands dirty.  To that end,
I have installed and updated via CVSup, kernel,
system and ports. (5.0-R to 5.0-R p4)

Shortly after that, X started crashing and
dumping me at the command prompt, and then KDE
began having difficulties which caused it to fail
starting programs and interprocess communications
failed as well.

Sensing an opportunity for more experience, I
performed a 'pkg_delete -a' and then a 'make
install for Xfree86-4.  Eight hours later, when
that was finished, I did a 'make install' for
KDE3 as well.

This has failed.  the script I have recorded
reveals that libmng is what is causing the
failure.  However, there are many error messages,
and I cannot figure out how to transport the
script from FreeBSD to Windows, Linux or a floppy
disk to include in this request for help.

The system I am using is a modified eMachine
running a Cyrix 6x86-266 MHz processor with the
original motherboard.  The RAM has been increased
to 192 megs, and the hard disk is 40 gigs, with a
total of 5 gigs being allocated automatically for
FreeBSD.  TOP revealed that only a bit over 1.6
megs of swap had been used out of a gigabyte of
it.

I have been having a good time learning about
FreeBSD this way, but now I am utterly lost, and
I don't have a GUI anymore with which to seek
help from within FreeBSD.  What do I do from
here?  All help is appreciated.  :)

Thanks,

Shannon

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


How Do I Specify -DIPFW2 In make.conf?

2003-03-10 Thread Drew Tomlinson
I would like to enable IPFW2 support in 4.7-STABLE.  The Handbook
(http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me to
add 'options IPFW2' to the kernel config file and I understand that.

Then it tells me to compile libalias and ipfw with the -DIPFW2 make option.
If I understand the purpose of /etc/make.conf correctly, I should be able to
specify -DIPFW2 there?  How do I accomplish this?

I'm sure this has been covered previously but my searches on Google are not
turning it up.  Thanks for a nudge to the appropriate docs!

Drew


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


Re: Intel i810e graphic

2003-03-10 Thread jimmie james

--- Miroslaw J. Wiechowski [EMAIL PROTECTED] wrote:
 Hi,
 
 Thanks a lot for your letter and detailed
 explanations.
 I am pretty new to FreeBSD and not yet well
 acquainted with
 all its pieces.

We are/were at one point. :) 

 (dmesg)
 agp0: Intel 82810E (i810E GMCH) SVGA controller
 mem
 0xffa8-0xffaf,0xf800-0xfbff irq 11
 at
 device 1.0 on pci0
 
 My hexaddresses differ and also I have irq 3 instead
 of irq 11.
 But probably this is machine-dependent.

Yeah, it will be different.  You may want to check
your BIOS to be sure it's on the right irq, and not
sitting with a com port(irq 3 is com2 by default),
maybe disabling com2 might help too. (not sure if that
will help, but it can't hurt)

 (XF86Config)
 Section Device
 Identifier i810
 Driver  i810
 Option AGPMode 1
 VideoRam 1
 EndSection
Subsection Display
 Depth   24
 Modes   1280x960
   ViewPort1280 1024
 EndSubsection
 
 It is weird that my i810 accepts only color depth =
 8, even
 in the lowest resolution (640x480) which works ok.
 This cannot
 possibly be dependent on the monitor I use.

I'm sorry, I forgot the Screen section to the
XF86Config... maybe you have DefaultDepth 8 set... 

Section Screen
Identifier Screen 1
Device  i810
Monitor monitor0
DefaultDepth 24

It's not, for the most part,  color depth is driven
the XF86Config,(afaik, that's it, unless your monitor
can't handle the H and V synch rates, make sure you
check on that, as I'm not sure),  make sure you've
read this chapter of the handbook,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
as well as, 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
which has a section on the i810 chipset at the bottom.
 
 (pciconf -vl)
 [EMAIL PROTECTED]:1:0:  class=0x03 card=0x43328086
 chip=0x71258086 rev=0x03 hdr=0x00
 vendor   = 'Intel Corporation'
 device   = '82810e 810e Chipset Graphics
 Controller'
 class= display
 subclass = VGA
 
 Ok, but the card number is different. Perhaps Intel
 issues 
 unique card numbers?

Yes, of course. 
 
 (kernel options)
 options USER_LDT
 device  agp
 
 Here I am not sure what you mean. I tried to find a
 command that
 displays kernel options but did not succeed.
 Could you explain?

These are kernel options, LDT  #allow user-level
control of i386 ldt (which is needed for X afaik) and 
agp # AGP GART support is i810 extention, afaik).  
If you haven't compiled a kernel with those options, 
I think LDT is in GENERIC,(or loaded the agp.ko
module)  you're going to have to.  

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

The handbook entry on compiling the kernel.

 
 Well, being a qualified programmer does not make you
 an expert
 on FreeBSD in three days ;-)

I'm sure it helps. :)
 
 Thanks for your help again
 Miroslaw J. Wiechowski

Not a problem, let's make sure this stays on the list,
 so others that have similar issues can use(if it
helps) the info here.

Jimmie James. 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: Why blinking cursor and paren highlighting are grayed in xemacs-devel-2.4.8.?

2003-03-10 Thread Gary Jennejohn
sergey dyshel writes:
 Recently I installed xemacs-devel-2.4.8 from binary
 package(STABLE) in my FreeBSD 4.7. But after starting
 it I discovered that some very important display
 options such as Blinking cursor and paren
 hightlighting are grayed and aren't accessible.
 What's going on?
 

I just installed it from the port and both options are there.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


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


Hot-Swapable Drives and FreeBSD

2003-03-10 Thread Martin McCormick
Is there a safe way short of rebooting to let FreeBSD
know that a hot-pluggable drive has been added?

I recently added one to a FreeBSD4.7 system.  When the
connector made contact, a console message that Channel A had just
reset popped up so the hardware knew it was there.  The system
continued to work properly as expected, but it only knew about
/dev/da0.

As soon as I rebooted, it then knew about both drives.

I wanted to add a new drive to a running system and keep
the reboots down to a minimum.  Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Center for Computing and Information Services Network Operations Group

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


Re: Hot-Swapable Drives and FreeBSD

2003-03-10 Thread Gary Jennejohn
Martin McCormick writes:
   Is there a safe way short of rebooting to let FreeBSD
 know that a hot-pluggable drive has been added?
 

man camcontrol

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


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


Linksys WMP11, ca. 2003.

2003-03-10 Thread Aaron Benner
I'm trying to coerce a new Linksys WMP11 802.11b card into working on a 
FreeBSD install of 4.7-RELEASE.   In looking through the freebsd-mobile 
lists I've seen some discussion on this (from around this time last 
year), but all of the resources included in that discussion 
(particularly the patches to the wi driver) are out of sync with the 
kernel sources I've got.  I just cvsup'd 4.x-STABLE and -current and 
didn't manage to find either the vendor ID or device ID reported in 
dmesg in the driver code there.  I was wondering if anyone out there 
could give me an update on support for this wireless card?  The posts 
from freebsd-mobile 
(http://www.riverside.org/archive/html/freebsd-mobile/2002-02/msg00038.html) 
that were most promising mentioned commiting the patches to -current, 
but I don't see any evidence of that in my kernel sources.

To top off my confusion when I boot I'm getting different dev/vendor 
id's from the card than are mentioned in the post referenced above.

Here's my dmesg output:

pcib0: Intel 82845 Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82845 PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 11
pcib2: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci3: PCI bus on pcib2
pci3: unknown card (vendor=0x14e4, dev=0x4301) at 2.0 irq 11
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xac00-0xac7f mem 
0xdfefdf80-0xdfefdfff irq 10
at device 5.0 on pci3
xl0: Ethernet address: 00:01:03:de:12:db
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

The linksys WMP11 is listed as pci3.  Note that the vendor/dev ids are 
different from those listed in the patch posted by Thomas Skibo 
[EMAIL PROTECTED] to freebsd-mobile (as referenced above) which shows 
the device as:

+ {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Linksys WMP11 PCI Prism2.5},

So, the qeustion is, can I make this (actually these 10) cards work with 
FreeBSD?  Any help or pointers on this would be greatly appreciated.

--Aaron



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


Re: mount msdos file system (4.7 release)

2003-03-10 Thread guillaume
Lowell Gilbert a ecrit:

 but i still can't mount my extented partitions (with 4.7 or 5.0). i
 wonder if it is possible.

 Certainly.

 http://www.freebsd-fr.org/doc/en_US.ISO8859-
 1/books/faq/disks.html#MOUNT-DOS

waaahhh! it was so simple. thank you.
i had read this but i had forgot.

now i'm going to search a Windows software to read FreeBSD partitions...
i hope it exists...


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


auth 97c40bf5 subscribe freebsd-questions ajk@mastigo4.demon.co.uk

2003-03-10 Thread Alan Knell
auth 97c40bf5 subscribe freebsd-questions [EMAIL PROTECTED]

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


Re: How Do I Specify -DIPFW2 In make.conf?

2003-03-10 Thread Ceri Davies
On Mon, Mar 10, 2003 at 11:20:40AM -0800, Drew Tomlinson wrote:
 I would like to enable IPFW2 support in 4.7-STABLE.  The Handbook
 (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me to
 add 'options IPFW2' to the kernel config file and I understand that.
 
 Then it tells me to compile libalias and ipfw with the -DIPFW2 make option.
 If I understand the purpose of /etc/make.conf correctly, I should be able to
 specify -DIPFW2 there?  How do I accomplish this?
 
 I'm sure this has been covered previously but my searches on Google are not
 turning it up.  Thanks for a nudge to the appropriate docs!

IPFW2=  true

Ceri

-- 

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


AMSN

2003-03-10 Thread Dick Hoogendijk
Don't know if the porter of AMSN reads this group, but I was very
happy to find out just today that the best MSN imitation (already
available for linux) now also exists for FreeBSD.

If you like (ms) msn than AMSN rulez.
It's beter than the original ;-))

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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


tmp directory

2003-03-10 Thread Dick Hoogendijk
Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
FreeBSD does not clean up. Lots of files stay in /tmp

Question: can I manually clean /tmp or is it better to leave things
alone..??

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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


Re: tmp directory

2003-03-10 Thread Peter Elsner
You can manually clean it, but FreeBSD can be set to do so...

man periodic.conf

Peter

At 10:24 PM 3/10/2003 +0100, you wrote:
Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
FreeBSD does not clean up. Lots of files stay in /tmp
Question: can I manually clean /tmp or is it better to leave things
alone..??
--
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



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


mjpegtools

2003-03-10 Thread Brian Henning
Has anyone built this port lately?
thanks,
brian

depmode=gcc /bin/sh ../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\lavt
ools\ -DLAVPLAY_VERSION=\1.6.1\-I/usr/X11R6/include -I
/usr/X11R6/include -I../utils -I/usr/local/include/avifile -I/usr/X11R6/include/
gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include   -D
_THREAD_SAFE  -O -pipe  -c -o lav2divx.o `test -f 'lav2divx.cpp' || echo
'./'`lav2divx.cpp
lav2divx.cpp:80: getopt.h: No such file or directory
In file included from libavifile.h:51,
 from lav2divx.cpp:92:
/usr/local/include/avifile/fourcc.h:4: warning: #warning Use #include
avm_fourcc.h instead
lav2divx.cpp: In function `int main(int, char **)':
lav2divx.cpp:368: elements of array `struct option long_options[]' have
incomplete type
lav2divx.cpp:370: `no_argument' undeclared (first use this function)
lav2divx.cpp:370: (Each undeclared identifier is reported only once
lav2divx.cpp:370: for each function it appears in.)
lav2divx.cpp:372: `required_argument' undeclared (first use this function)
lav2divx.cpp:395: implicit declaration of function `int getopt_long(...)'
lav2divx.cpp:407: invalid use of undefined type `struct option'
lav2divx.cpp:368: forward declaration of `struct option'
gmake[2]: *** [lav2divx.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1/lavtools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.6.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mjpegtools.

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


DHCP message that I don't understand

2003-03-10 Thread Tom Parquette
I'm setting up DHCP for the first time on 5.0-CURRENT.
In the end, I would like to get DDNS working.
I set up the dhcpd.conf and it appears to be issuing addresses correctly.
My old W98 laptop appears to have gotten the right information.
I do not have DNS set up yet and that may be part of my problem...
I'm getting the following message periodically (it appears to agree with 
the DHCP lease renewal.)
Can someone clue me in to what this is trying to say?

dhcpd:  Unable to add forward map from T410CDT.Tom.Parquette.name to 
192.168.2.100:  not a zone.

When I set up dhcp on the laptop, I gave it the hostname T410CDT and the 
domain of Tom.Parquette.name.
I also tried taking the domain name out.

TIA

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


Re: DHCP message that I don't understand

2003-03-10 Thread Nicholas Basila
On Monday 10 March 2003 04:59 pm, Tom Parquette wrote:
 I'm setting up DHCP for the first time on 5.0-CURRENT.
 In the end, I would like to get DDNS working.

 I set up the dhcpd.conf and it appears to be issuing addresses
 correctly. My old W98 laptop appears to have gotten the right
 information. I do not have DNS set up yet and that may be part of my
 problem...

Sounds like that's the problem. It's awfully hard for the dhcp server to 
update dns if the dns server isn't running.


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


Re: tmp directory

2003-03-10 Thread dick hoogendijk
On 10 Mar Peter Elsner wrote:
 You can manually clean it, but FreeBSD can be set to do so...
 man periodic.conf

Thanks. To the others too (the rc.conf answer)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

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


Reaching FTP on internal network behind NAT/router FreeBSD 4.7

2003-03-10 Thread Sanne Taaij
I run FreeBSD 4.7

My goal is to connect from the internet to my FTP which is running on my 
internal network at internal ip:. So I figured to use port redirection 
on my FreeBSD NAT/router.Which consists of 2 nic, rl0 public ip and rl1 
internal ip.

--
/etc/rc.conf
defaultrouter=public ip adress
firewall_type=open
natd_flags=-s -u -m redirect_port tcp internal ip:  redirect_port 
udp internal ip: 
--

Is this enough to let it work ?  I can't connect with an ftp client from one 
of the internal ip adresses to my public adress. The firewall is configured 
open.

Should I add a rule like this:

---
/etc/rc.firewall
$fwcmd add pass tcp from any  to any 
$fwcmd add pass udp from any  to any 
---

to let it work? Maybe add a keep-state rule...?


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


My Laptop (Sotec look-a-like) Experience.

2003-03-10 Thread William E Reid



(I blame) sis630 and lack of APM (AMI BIOS r1.07)

I have had real problems with this thing.  No APM incorrect signature
(0x0) in dmesg.
Under 4.7/8 I can't get pcmcia working.  USB will not reset.  Actually
there are many problems since It does not know it has been asleep I
guess.
The disk controller under 4.7 says there is a bad cable (or non-ATA66
cable) so it does not enable Ultra DMA.  Instead it falls back to
33mhz.  I have read other lists stating that the sis5591 ata controller
is new but backwards compatible (not) with the 5591.

Under 5.0 the only way to make it boot is to disable ACPI all together.
Otherwise while the disks are being probed it locks up.  So I have never
had fun with this thing.  Sis630 chipset.
pcmcia (02micro 6912 PCI-Cardbus Bridge) stuff seems to work a lot
better under 5.0.  It does not work under 4.8-stable.  I have not tested
the usb under 5.0 but under 4.8-stable it will work for a little while
and then stop.  You have to reboot to get it back.  I caught one panic
in dmesg but it was probably my program.   It talks to some sockets and
the network basically.  gpsd (GPS Daemon) does a terrible job listening
to ucom0.  I am using uplcom/ucom for serial communications.  I have to
run at 4800 baud.  I am not sure it is supported by either the device or
the driver but it works for a while.

Has anyone else had luck with this machine?  I actually got a hardened
version of it with 40gb disk (5400rpm), fire wire and integrated
802.11b.  But not worth the 1300 payed so far.  Is there anyone out
there that can help me out.  I am a little stupid.

Things seems a little more hopeful on the linux front.  But man I have
written some crappie mapping coordinate grabber that depends on bpf.

If this link works.  Here it is.
 
http://www.samsclub.com/eclub/main_shopping.jsp?mt=an=0BV_SessionID=_SC_0474681676.1047332546_CS_BV_EngineID=adchjmhdiejcfkfcfkjdgoodfkg.0coe=0oidPath=0%3a-23542%3a-23588%3a-24196%3a684722



So I was thinking about getting this instead.  But I am of course
worried about the sis650 chipset now.  My boss is trying to convert me
to using Debian and I just don't want it.  Any thoughts on the following
hardware or is it a total crap shoot?  I have looked at the Hardware
pages and cant find the sis650.

A really really cool machine  Includes built int camera, bluetooth,
802.11b, s-video out and serial port!
http://64.227.236.145/miva/merchant.mv?Screen=PRODStore_Code=RTProduct_Code=NP4020

I am not on this list so please respond to my email.

System Chip
SiS M650 / SiS 962 Chipset
   LCD Screen
  15 TFT SXGA+:
   IDT/ITSX95C
  Video Memory
8/16/32/64MB Share Memory
  Architecture (SMA)
Video Control Chip
 SIS M650 Ultra-AGPII
   Video-In Control Chip
None
Audio Control Chip
  Realtek ALC202
 I/O Control Chip
 National Semiconductor
   NS87393V
   Integrated LAN Chip
  Realtek RTL8100BL
 Integrated Modem
   Controller
Smartlink
  IEEE1394 Control Chip
   TI TSB 41AB1
  Wireless LAN
NeWeb U-300 802.11b (Mfg.
Optional)
Bluetooth Wireless
Billionton (Mfg. Optional)
  Infrared Chip
 National Semiconductor
   NS87393V
  PCMCIA Contorl Chip
  ENE CB-1410 A1
Touch Pad
ALPS
 Hard Disk Drive
Varied
  Floppy Drive
YE-DATA/YD-702J-6637J
   CD-ROM/DVD-ROM
 Drive
 Teac CD-224E CD-ROM
 (24X Max.), Teac DV-28E
 DVD (8X Max.), Toshiba
SR-C8102 (16x10x24 Max.),
  Teac DW-224E (8X
 DVD/16x10x24 CD-RW )
Combo
   Miscellanies
 Integrated Video Camera
  Camtel CMM-3130
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RC #25: Wed Mar  5 10:04:29 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/LAPTOP
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) III Mobile CPU  1000MHz (733.36-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 335478784 (327616K bytes)
config q
avail memory = 322600960 (315040K bytes)
Preloaded elf kernel kernel at 0xc0368000.
Preloaded userconfig_script /boot/kernel.conf at 0xc036809c.
Preloaded elf module uplcom.ko at 0xc03680ec.
Preloaded elf module ucom.ko at 0xc036818c.
Pentium Pro MTRR support enabled
Using $PIR table, 5 entries at 0xc00f8de0
apm: incorrect signature (0x0)
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI 

transparent ipfw

2003-03-10 Thread Dave [Hawk-Systems]
Been browsing for a bit (knowing I will get some rtfm responses from this) but
havnt come across a solid answer for this.  Most solutions involve NAT or some
other non-routable ip block type of solution.

Have the following (192.168.100.0/24 used in place of routable addresses)

- Internet connection coming into port 1 of Cisco switch(switch address
192.168.100.1).
- Other FreeBSD servers(192.168.100.2 - 192.168.100.252) connected to various
ports on the switch using the switch as the gateway device.
- Other networks(192.168.101.0/24 etc...) connected to the switch which is
bridging them over to the internet connection out of port 1.

Wish to place a FreeBSD server in front of the switch to count traffic to and
from various IP addresses for the entire network.

NIC1 on the FreeBSD box would go to the Internet Connection
NIC2 on the FreeBSD box would go to the switch.

All addresses used are routable(3 /24 blocks will be coming down to NIC1), and
all addresses/packets should be passed through without any NAT or other
readdressing taking place. Aside from telnetting into the box itself, it doesn't
need any IP addresses except for whatever is needed for the above setup.

Comments appreciated, this would be my first implementation of ipfw / fw rules
in general using a FreeBSD box.

Dave



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


Enabling APM in Freebsd 4.7

2003-03-10 Thread Mica Telodico
Hi, 

I've installed FreeBSD 4.7 and I'd like to get enabled
the APM support. I know that I can enable it by
compile it in the kernel, but I've read about another
system that consist in the writing of a line in the
/boot/loader.conf (enable apm0) but  at start the
loader says that there is a syntax error : enable apm0
   
^

Why? How I can enable it without recompiling the
kernel?

I've noticed also that in the GENERIC kernel config 
there is a disable flag in the line of the APM
device, I have to delete that to enable the APM
support?The line looks like this one:

device apm0 nexus? disable Flag 0x20

I've changed it into :

device apm0 nexus? Flag 0x20

is this right?

Thanks

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

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


Strange crash, possibly vinum-related

2003-03-10 Thread Scott Mitchell
Hi all,

I wonder if anyone out there can shed any light on this:

A drive failed on one of our Vinum-powered RAID-5 arrays over the weekend.
This morning, we swapped out the offending drive (hot-swappable SCSI
hardware), disklabel-ed it and restarted the offending subdisk.  Everything
seemed fine at this point, with vinum happily reviving the stale subdisk.

However, twenty minutes later, with the revive 29% complete, I got this in
/var/log/messages:

Mar 10 11:39:50 kokako vinum[12708]: can't revive raid.p0.s0: Invalid argument

'vinum list' was also showing an error message, which I foolishly didn't
capture, something along the lines of 'the revive process died'.  Lacking
any better ideas, I started the subdisk again.  The revival seemed to pick
up where it left off.

Half an hour later, the box rebooted :-(  I wasn't actually watching it at
the time, so I don't know if it finished reviving the subdisk or not.
There's no indication in the logs as to what happened, but the timing of
the reboot is consistent with it happening around the time the subdisk
would have come back to life.

Once the box came back up, I restarted the subdisk yet again (I had to
create the drive again first), with the RAID volume unmounted.  This time
the process finished without complaints and things seem to be working as
well as ever since then.

Any ideas as to why it might have just spontaneously rebooted?  I'm naively
assuming vinum is somehow involved, since the machine has always been
extremely stable, and this is the first disk failure we've had on it.  It's
just as likely to be my own stupid fault though -- it occurred to me later
that I should probably have done a 'camcontrol rescan' after swapping the
drive.  Nothing complained, but maybe I just got lucky because it was an
identical drive?  Also, one of my colleagues was hammering the volume
pretty hard while the revive was going on, copying a large number of
smallish files onto it - maybe the load triggered some bad behaviour?

Thanks in advance,

Scott


Here's the rest of the information requested by
http://www.vinumvm.org/vinum/how-to-debug.html:

The machine is a PIII-700 on an Intel 440GX board, 512MB RAM.  Adaptec
aic7896/97 U2 SCSI controller, all the disks are 36GB IBM DDYS units,
10Krpm, SCA connectors.

(501) ~ $ uname -a
FreeBSD kokako 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #0: Fri Jun 28 13:39:16 BST 2002  
   [EMAIL PROTECTED]:/scratch/obj/usr/src/sys/KOKAKO  i386


kokako# vinum list
5 drives:
D d0State: up   Device /dev/da0aAvail: 1/35003 MB (0%)
D d1State: up   Device /dev/da1aAvail: 1/35003 MB (0%)
D d2State: up   Device /dev/da2aAvail: 1/35003 MB (0%)
D d3State: up   Device /dev/da3aAvail: 1/35003 MB (0%)
D d4State: up   Device /dev/da4aAvail: 1/35003 MB (0%)

1 volumes:
V raid  State: up   Plexes:   1 Size:136 GB

1 plexes:
P raid.p0R5 State: up   Subdisks: 5 Size:136 GB

5 subdisks:
S raid.p0.s0State: up   PO:0  B Size: 34 GB
S raid.p0.s1State: up   PO: 2003 kB Size: 34 GB
S raid.p0.s2State: up   PO: 4006 kB Size: 34 GB
S raid.p0.s3State: up   PO: 6009 kB Size: 34 GB
S raid.p0.s4State: up   PO: 8012 kB Size: 34 GB


# Relevant bits of vinum_history:
# Why are some of these 'start' lines duplicated and out of order?
10 Mar 2003 11:22:09.337534 start raid.p0.s0 
10 Mar 2003 11:22:17.505487 l -r raid 
10 Mar 2003 11:23:05.442661 l -r raid 
[...]
10 Mar 2003 11:22:09.337534 start raid.p0.s0 
10 Mar 2003 11:45:29.401210 *** vinum started ***
10 Mar 2003 11:45:30.305911 l 
10 Mar 2003 11:46:42.610802 start raid.p0.s0 
10 Mar 2003 11:46:47.382081 l -r raid 
10 Mar 2003 11:47:00.815044 l -r raid 
[...]
[Reboot happened here]
10 Mar 2003 12:51:10.003180 *** vinum started ***
10 Mar 2003 12:51:13.544487 list -r raid 
10 Mar 2003 12:51:25.151100 start raid.p0.s0 
10 Mar 2003 12:51:30.581583 list 
10 Mar 2003 12:52:32.837161 quit 
10 Mar 2003 12:54:26.495344 *** vinum started ***
10 Mar 2003 12:54:26.495817 create temp.conf 
drive d0 device /dev/da0a
10 Mar 2003 12:54:26.512027 *** Created devices ***
10 Mar 2003 12:54:53.493176 *** vinum started ***
10 Mar 2003 12:54:55.385954 l 
10 Mar 2003 12:55:18.403984 start raid.p0.s0 
10 Mar 2003 12:55:22.774523 l -r raid 
10 Mar 2003 13:07:05.527444 l -r raid 
[...]
10 Mar 2003 12:55:18.403984 start raid.p0.s0 
10 Mar 2003 13:52:15.579181 l -r raid 
10 Mar 2003 13:52:17.925615 l 
10 Mar 2003 13:52:33.437222 l -v 
10 Mar 2003 13:53:19.637191 l 

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into 

SMTP-AUTH + SSL - Possible?

2003-03-10 Thread Steve Warwick
Hi All, 

I am looking at ways to provide my clients with more convenience. One of
those ways is to be able to send and receive email via my server. However, I
know this can be a huge security hole and not one I would like to open.

I feel that SMTP-AUTH without SSL is probably not that secure so --

1. Is SMTP-AUTH a pain in the butt to set up?
   [yes I have read the handbook but I want to make sure]

2. Does SMTP over SSL use a standard SSL cert and is that
   relatively easy to set up?

3. Has anyone managed to use a chained SSL cert for SMTP over SSL
   (yes, I'm cheap :)


All suggestions, URLs and docs gratefully received,

TIA


Steve


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


Re: Enabling APM in Freebsd 4.7

2003-03-10 Thread Kjell
 I've installed FreeBSD 4.7 and I'd like to get enabled
 the APM support. I know that I can enable it by
 compile it in the kernel, but I've read about another
 system that consist in the writing of a line in the
 /boot/loader.conf (enable apm0) but  at start the
 loader says that there is a syntax error : enable apm0

 ^
 
 Why? How I can enable it without recompiling the
 kernel?
 
 I've noticed also that in the GENERIC kernel config 
 there is a disable flag in the line of the APM
 device, I have to delete that to enable the APM
 support?The line looks like this one:
 
 device apm0 nexus? disable Flag 0x20
 
 I've changed it into :
 
 device apm0 nexus? Flag 0x20
 
 is this right?

In my 'GENERIC' I have only left this:
device apm0
Then I have insert into rc.conf:
apm_enable=YES
 
 Thanks
 
 Bye
 
 __
 Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
 http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html
 
 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: Enabling APM in Freebsd 4.7

2003-03-10 Thread Tijl Coosemans
On Tue, 11 Mar 2003 00:03:53 +0100 (CET), Mica Telodico wrote:

 Hi, 
 
 I've installed FreeBSD 4.7 and I'd like to get enabled
 the APM support. I know that I can enable it by
 compile it in the kernel, but I've read about another
 system that consist in the writing of a line in the
 /boot/loader.conf (enable apm0) but  at start the
 loader says that there is a syntax error : enable apm0

 ^
 
 Why? How I can enable it without recompiling the
 kernel?

You should modify /boot/kernel.conf to look like this:

  en apm0
  [some other kernel options]
  q

Then in your /boot/loader.conf make sure you have this:

  userconfig_script_load=YES

 I've noticed also that in the GENERIC kernel config 
 there is a disable flag in the line of the APM
 device, I have to delete that to enable the APM
 support?The line looks like this one:
 
 device apm0 nexus? disable Flag 0x20
 
 I've changed it into :
 
 device apm0 nexus? Flag 0x20
 
 is this right?

Yes, if your recompile your kernel now, apm should be enabled by
default.

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


Re: Reaching FTP on internal network behind NAT/router FreeBSD 4.7

2003-03-10 Thread James Long
On Mon, Mar 10, 2003 at 11:42:11PM +0100, Sanne Taaij wrote:
 
 My goal is to connect from the internet to my FTP which is running on my 
 internal network at internal ip:. So I figured to use port redirection 
 on my FreeBSD NAT/router.Which consists of 2 nic, rl0 public ip and rl1 
 internal ip.
 
 --
 /etc/rc.conf
 defaultrouter=public ip adress
 firewall_type=open
 natd_flags=-s -u -m redirect_port tcp internal ip:  redirect_port 
 udp internal ip: 
 --

Please forgive the obvious, but do you also have 

natd_enable=YES

to make the NAT daemon start?

 I can't connect with an ftp client from one 
 of the internal ip adresses to my public adress.

That will not work.  From the internal net, you will need to ftp to internal 
ip: directly.  NAT processes only those packets which travel via the 
external interface of your NAT/firewall box.  To test the NAT and firewall 
rules, you will have to test from a machine outside your firewall.  If you 
have access to a dial-up account, that will suffice, or perhaps you can ssh 
to a shell account on another machine, and then try to ftp back to your
public IP.

I would suggest you test first from the internal LAN to ensure that you can 
ftp on port  to the internal IP of your ftp server.  This will show
you whether the ftp server itself is working as you think it should.  Once 
you know the ftp works on the internal LAN, then you can test from a machine 
_outside the firewall_ to get the natd redirection happening.


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


Replicating a Production Machine for Testing

2003-03-10 Thread FreeBSD Questions Account
Hi Everyone,
I'm in a bit of a situation.  I have a production system that is to remain
up, it acts as a web server for several virtual domains, and has a web
based interface written in perl which integrates among other things Apache
with many modules, qMail (mySQL Powered), and BIND DNS.  The versions of
Apache and PHP are getting a little out of date so I would like to make a
replicated version of the server here in order to test out upgrading the
system to make sure I don't run in to a hitch on the production system.  I
have the list of ports installed in /var/db/pkg, but I don't think just
installing them would provide a real replication of the system, is there
any way I can just put the system files ( without the hosted sites for
space sake ) in a tarball and replicate the installation?

Is there anyone that might be able to fill me in on the best process I
should use to get a perfectly (or close enough) replication of the
production system? Thanks!




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


How Do I Build IPFW2 Only (Was Re: How Do I Specify -DIPFW2 In make.conf?)

2003-03-10 Thread Drew Tomlinson
- Original Message -
From: Ceri Davies [EMAIL PROTECTED]
To: Drew Tomlinson [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:55 PM

 On Mon, Mar 10, 2003 at 11:20:40AM -0800, Drew Tomlinson wrote:
  I would like to enable IPFW2 support in 4.7-STABLE.  The Handbook
  (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me
to
  add 'options IPFW2' to the kernel config file and I understand that.
 
  Then it tells me to compile libalias and ipfw with the -DIPFW2 make
option.
  If I understand the purpose of /etc/make.conf correctly, I should be
able to
  specify -DIPFW2 there?  How do I accomplish this?
 
  I'm sure this has been covered previously but my searches on Google are
not
  turning it up.  Thanks for a nudge to the appropriate docs!

 IPFW2= true

Thank you for your response.  I have added this to make.conf.

Prior to adding it, I ran 'make buildworld'.  How can I just rebuild IPFW so
it is IPFW2 instead without rebuilding my whole world?  I saw in the
Handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q21
.4.15.1 an example for building pieces.  Based on this example, I went to
/usr/src/sys/netinet and tried issuing make but without success.  I don't
really understand the make process very well but I'm sure it didn't work
because there was no Makefile.  Can I just build IPFW2 instead of rebuilding
the whole world?

Thanks for helping me through this.

Drew


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


Re: New Device inphy0??

2003-03-10 Thread Rod Person
On Sun, 9 Mar 2003 21:13:34 -0500
Matthew Emmerton [EMAIL PROTECTED] wrote:
 The inphy0 device is just one-half of a ethernet device, specifying the
 physical layer controller (which is often separate from the interface to the
 system).  You should have a network card identified just above this (such as
 fxp0, bge0, etc.)  It is this ethernet device which you should reference in
 your ppp.conf to enable your PPPoE DSL.


Oh, that explains it! I just switched from a 3Com card to an Intel card that is fxp0. 
It was the first time I really paid attention to my dmesg since I built world with 
4.8-prerealease and thought that might have something to do with it.

Thanks

Rod

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


Vinum root file systems (was: Difference between Vinum and atacontrol RAID?)

2003-03-10 Thread Greg 'groggy' Lehey
On Sunday,  9 March 2003 at 20:15:32 -0500, Chuck Swiger wrote:
 Pete wrote:

 Generally, one cannot boot from a vinum based-device, unless you are
 only doing RAID-1 mirroring.

You can have a Vinum root file system as long as at least one plex is
concatenated from a single subdisk.

 I'm familar with something called encapsulating the root partition
 under Solaris and Veritas; it's not for the faint-of-heart.  :-)

I suspect this is the same thing.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: Printing from FBSD to W2K

2003-03-10 Thread Warren Block
On Mon, 10 Mar 2003, robert t g tan wrote:

 Ive got an HP printer connected to a W2K box.

 How do I print a document from my FreeBSD box
 over the network on that W2K box?

The first thing that comes to mind is to install Printing Services For
Unix so your W2K system becomes an lpd server.  Then set up an entry in
/etc/printcap, and print.

-Warren Block * Rapid City, South Dakota USA

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


Re: Linksys WMP11, ca. 2003.

2003-03-10 Thread Matthew Emmerton

- Original Message -
From: Aaron Benner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 2:54 PM
Subject: Linksys WMP11, ca. 2003.


 I'm trying to coerce a new Linksys WMP11 802.11b card into working on a
 FreeBSD install of 4.7-RELEASE.   In looking through the freebsd-mobile
 lists I've seen some discussion on this (from around this time last
 year), but all of the resources included in that discussion
 (particularly the patches to the wi driver) are out of sync with the
 kernel sources I've got.  I just cvsup'd 4.x-STABLE and -current and
 didn't manage to find either the vendor ID or device ID reported in
 dmesg in the driver code there.  I was wondering if anyone out there
 could give me an update on support for this wireless card?  The posts
 from freebsd-mobile

(http://www.riverside.org/archive/html/freebsd-mobile/2002-02/msg00038.html)
 that were most promising mentioned commiting the patches to -current,
 but I don't see any evidence of that in my kernel sources.

 To top off my confusion when I boot I'm getting different dev/vendor
 id's from the card than are mentioned in the post referenced above.

 Here's my dmesg output:

 pcib0: Intel 82845 Host to PCI bridge on motherboard
 pci0: PCI bus on pcib0
 pcib1: Intel 82845 PCI-PCI (AGP) bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 11
 pcib2: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
 pci3: PCI bus on pcib2
 pci3: unknown card (vendor=0x14e4, dev=0x4301) at 2.0 irq 11
 xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xac00-0xac7f mem
 0xdfefdf80-0xdfefdfff irq 10
 at device 5.0 on pci3
 xl0: Ethernet address: 00:01:03:de:12:db
 miibus0: MII bus on xl0
 ukphy0: Generic IEEE 802.3u media interface on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

 The linksys WMP11 is listed as pci3.  Note that the vendor/dev ids are
 different from those listed in the patch posted by Thomas Skibo
 [EMAIL PROTECTED] to freebsd-mobile (as referenced above) which shows
 the device as:

 + {0x1260, 0x3873, WI_BUS_PCI_NATIVE, Linksys WMP11 PCI Prism2.5},

 So, the qeustion is, can I make this (actually these 10) cards work with
 FreeBSD?  Any help or pointers on this would be greatly appreciated.

 --Aaron

Looking up your PCI IDs (http://www.yourvote.com/pci), I see that the
unknown device on pci3 is really a Broadcom IEEE 802.11b WLAN client
chipset.

Not sure which device driver should be extended to support this chipset.

--
Matt Emmerton



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


difficulties with BIND going from 8.* to 9.*

2003-03-10 Thread Michael Sharp
I decided today it was time to install bind9 from ports and I am have
having some issues I need help with.  Under 8.* I started BIND with the -u
bind -g bind flags and a sockstat -4 showed named running as user bind.
However, in 9.* I understand the -u bind flag is enough, but the server
fails to start since it can open /var/run/named.pid. If I simply run the
server with no -u flag, the server starts fine ( except denote below ).
Although BIND is running in a jail() by itself, I'd still like for the
server to run non-root.

Also, I am getting these two warning in /var/log/messages even though the
server runs and answers queries:

1. Mar 10 20:32:13 darken named[796]: couldn't add command channel
127.0.0.1#953: not found

2. Mar 10 20:32:13 darken named[796]: dns_master_load:
/usr/local/etc/namedb/192.168.0.in-addr.arpa.conf:1: extra input text
Mar 10 20:32:13 darken named[796]: zone 0.168.192.in-addr.arpa/IN: loading
master file /usr/local/etc/namedb/192.168.0.in-addr.arpa.conf: extra input
text

It is also important to note that I am using the same named.conf  and zone
files I did under 8.*

Michael






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


Change default IPC limitations

2003-03-10 Thread Kung Ching-Yi
Hi, I have a need to change the following settings.
kern.ipc.msgmni
kern.ipc.semmns
kern.ipc.shmmni
I can't use sysctl to modify these since it returns read-only message.

I assume I need to rebuild the kernel but I don't know exactly which module 
(header, source code etc) I need to modify. Can anybody help?

Besides, do I need to build anything other than kernel to have it work 
correctly?

Thanks in advance.

Ching-Yi



_
MSN ¬Ûï´£¨Ñ±z³Ì²³æªº¤è¦¡¤À¨É¨Ã¦C¦L±zªº¬Û¤ù¡A½Ð²¾¦Ü : 
http://photos.msn.com.hk/support/worldwide.aspx 

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


unable to subscribe

2003-03-10 Thread Jason Cribbins
I am unable to subscribe to freebsd-security-notifications...but I was able to 
subscribe to about 6 other lists just fine

I send in the request to subscribe...I get back the confirmation email with 
the auth line...which I paste very carefully in another email to be sent 
back

but then instead of being subscribed I get another majordomo results email 
stating my request was successful but I still need to confirm and my email 
address is incorrect.
--

Basically I send this:

subscribe freebsd-security-notifications
--

I get this 

commands (exactly as shown) back to [EMAIL PROTECTED]:

auth 2cd8eff3 subscribe freebsd-security-notifications 
[EMAIL PROTECTED]

If you do not want this action to be taken, simply ignore this message
and the request will be disregarded.
--

Then I reply with this:
auth 2cd8eff3 subscribe freebsd-security-notifications [EMAIL PROTECTED]
--

And I get this:
 auth 2cd8eff3 subscribe freebsd-security-notifications 
[EMAIL PROTECTED]
 Your request to [EMAIL PROTECTED]:
 
subscribe freebsd-security-notifications [EMAIL PROTECTED]
 
 must be authenticated.  To accomplish this, another request must be
 sent in with an authorization key, which has been sent to:
[EMAIL PROTECTED]
--

And yes I am 100% certain I have not mistyped my own email address 7 times in 
a row.

Jason Cribbins


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


Another cvsup looping question

2003-03-10 Thread Todd Zimmermann
Hey,

Seen a few threads similiar to this, but I've got a twist that I can't 
figure out.  cvsup loops when updating the source collection, but not 
when updating the ports collection, both from the same server.  Its 
probably something in my ipfilter rules, but not seeing it dropping 
anything it shouldn't.

Web servers, FTP etc. can connect back to me no prob.

Any ideas besides logging everything? Thanks.

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


Fetchmail question

2003-03-10 Thread Dragoncrest
	Hi all.  Got a question about fetchmail again.  This one should be 
easy.  I'm looking for the easiest way to get fetchmail to purge a mailbox 
for me.  Here's what I'm after.  First off, when my mail downloads, fetch 
has been told (via a config I have in sendmail) to leave mail on the server 
if the user has an invalid domain name.  IE. From viruses, spam, etc.  What 
I want it to do is to try to download all of the messages on the server, 
then, regardless if they succeed or fail, I want fetchmail to just nuke 
them off the server.  Currently it only nukes mail that has been 
successfully delivered to the local computer.  I want it to dump all of 
them so that it doesn't end up leaving all the rejected mail messages to 
pile up on the server, yet at the same time I don't want it to wipe all of 
the messages till it's tried to download each message at least 
once.  Anyone got any good suggestions on how to setup fetch to do this?

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


Re: Difference between Vinum and atacontrol RAID?

2003-03-10 Thread Pete

On Sun, 09 Mar 2003, Chuck Swiger wrote:

 The ATA RAID support via atacontrol apparently requires hardware RAID
 controllers like the Promise or Highpoint devices.  

I don't think this is right.  The RAID-1 volume I'm using right now is
with two drives attached to a non-RAID card with a Promise chipset.  I
also get the impression -- though can't test it right now -- that the
atacrontrol-based RAID will work across cards.  Anyone know for sure
about this?

 Hardware based RAID is likely to be faster, particularly in the case
 of parity calculations for RAID-5.  (Not that many IDE controllers can
 do RAID-5, but...)

It would be, but the RAID on the Promise and Highpoint devices is not
true hardware RAID.  It's just software RAID with the drivers moved over
to an EPROM on the card.  I know from my own experience and that of
other people that the Linux software RAID outperforms the hardware
RAID of these devices.  I'm willing to bet that the FreeBSD RAID at
least comes close, if not betters the Linux performance.

Thanks,
pete

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


Re: Hot-Swapable Drives and FreeBSD

2003-03-10 Thread taxman
On Monday 10 March 2003 02:45 pm, Gary Jennejohn wrote:
 Martin McCormick writes:
  Is there a safe way short of rebooting to let FreeBSD
  know that a hot-pluggable drive has been added?

 man camcontrol

or atacontrol if you happen to have IDE hot pluggable drives

Tim

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


Re: Change default IPC limitations

2003-03-10 Thread taxman
On Monday 10 March 2003 08:49 pm, Kung Ching-Yi wrote:
 Hi, I have a need to change the following settings.
 kern.ipc.msgmni
 kern.ipc.semmns
 kern.ipc.shmmni

 I can't use sysctl to modify these since it returns read-only message.

 I assume I need to rebuild the kernel but I don't know exactly which module
 (header, source code etc) I need to modify. Can anybody help?

 Besides, do I need to build anything other than kernel to have it work
 correctly?

I don't know, and if you don't get any answers here after a couple days, try 
asking on -hackers.  Some of what you are looking for may be here if you 
haven't seen this yet:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html

and this is outdated, but may help you understand the roots of IPC on FreeBSD
http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/index.html

Tim



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


FreeBSD 5 install problems

2003-03-10 Thread Scott Graham
Trying to install FreeBSD 5.0 on an inspiron 2500.  I have 2.5GB of 
uninitialized space.  When I boot of the cdrom it begins to load everything 
for the installation and gets stuck at pci2:  PCI bus on pcib2 ...  I 
have looked at the instructions for installing this and cant figure out what 
I am doing wrong.  Has anyone installed FreeBSD before and run into a 
problem like this???  can they give me some guidance as to what is going 
wrong here???  Is there something wrong with the way I am attempting the 
installation???

Thanks
-Scott




_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: DHCP message that I don't understand

2003-03-10 Thread Tom Parquette
Nicholas Basila wrote:

On Monday 10 March 2003 04:59 pm, Tom Parquette wrote:
 

I'm setting up DHCP for the first time on 5.0-CURRENT.
In the end, I would like to get DDNS working.
I set up the dhcpd.conf and it appears to be issuing addresses
correctly. My old W98 laptop appears to have gotten the right
information. I do not have DNS set up yet and that may be part of my
problem...
   

Sounds like that's the problem. It's awfully hard for the dhcp server to 
update dns if the dns server isn't running.

 

OK...  
I deserved that one...
Allow me to clarify...
I have DNS running authoritative for my home network and caching for the 
outside world.
I have forward lookups running.  I'm having problems getting reverse 
lookups going.  I should have said reverse lookups were what was broken 
when I originally posted this.  (I'm back inth the DNS and Bind book 
from O'Reilly.)
Is it complaining because reverse lookups are not working right or 
should I be looking elsewhere in DNS?
Cheers...

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


Re: unable to subscribe

2003-03-10 Thread fil_foster
Jason Cribbins wrote:
 
 I am unable to subscribe to freebsd-security-notifications...but I was able to
 subscribe to about 6 other lists just fine
 
 I send in the request to subscribe...I get back the confirmation email with
 the auth line...which I paste very carefully in another email to be sent
 back
 
 but then instead of being subscribed I get another majordomo results email
 stating my request was successful but I still need to confirm and my email
 address is incorrect.
 --
 
 Basically I send this:
 
 subscribe freebsd-security-notifications
 --
 
 I get this
 
 commands (exactly as shown) back to [EMAIL PROTECTED]:
 
 auth 2cd8eff3 subscribe freebsd-security-notifications
 [EMAIL PROTECTED]
 
 If you do not want this action to be taken, simply ignore this message
 and the request will be disregarded.
 --
 
 Then I reply with this:
 auth 2cd8eff3 subscribe freebsd-security-notifications [EMAIL PROTECTED]
 --
 
 And I get this:
  auth 2cd8eff3 subscribe freebsd-security-notifications
 [EMAIL PROTECTED]
  Your request to [EMAIL PROTECTED]:
 
 subscribe freebsd-security-notifications [EMAIL PROTECTED]
 
  must be authenticated.  To accomplish this, another request must be
  sent in with an authorization key, which has been sent to:
 [EMAIL PROTECTED]
 --
 
 And yes I am 100% certain I have not mistyped my own email address 7 times in
 a row.
 
 Jason Cribbins
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

Check at the bottom of the email with the subject
Majordomo results: unsubscribe freebsd-security-notifications
that is returned when you send the authentication code.
You should find the following:
 
 Thanks!
 
 [EMAIL PROTECTED]
 auth 2cd8eff3 subscribe freebsd-security-notifications
Succeeded.

I don't know why it sends the next Confirmation for unsubscribe
freebsd-security-notifications email, but if Majordomo results:
show succeeded you have already unsubscribed from the list and just
need to ignore the Confirmation for unsubscribe email that 
follows.

Phil Foster

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


Re: Map backspace key to backspace, not delete

2003-03-10 Thread Odhiambo Washington
* Warren Block [EMAIL PROTECTED] [20030227 03:13]: wrote:
 On Tue, 25 Feb 2003, Odhiambo Washington wrote:
 
  I just installed KDE3.1 and although it looks good, I am annoyed with one
  thing I cannot figure out. When I ssh to a remote box from a terminal of
  my box, I get the backspace key doing DELETE instead of BACKSPACE.
  How do I fix this?
 
 This may help (no line wrap):
 
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1467030+0+archive/2003/freebsd-questions/20030202.freebsd-questions
 
 -Warren Block * Rapid City, South Dakota USA


Hi Warren,

Know what? I fumbled with all this documentation but just couldn't get konsole
to do what I wanted and so I dissed it and opted for an xterm, which I could
also so easily create a shortcut for on the Desktop. KDE is cool but not
their konsole. Noone want's to reconfigure their shells and other stuff every
time they install some new app, yes.

Thank you so much for the links.


Best,
Odhiambo Washington
Wananchi Online Ltd.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice__
Wananchi Head Office|*| Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*| Fax: +254 2 313 922
10286-GPO, NAIROBI, KE  |*| e-mail: wash at wananchi dot com
--
++

Microsoft is to operating systems  security 
  what McDonald's is to gourmet cooking
 


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


suid shell script

2003-03-10 Thread Paul Lathrop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I must admit I feel silly having to ask, but I've been banging my head 
against this for a couple days now and I am completely stumped.

I just recently switched from Slackware Linux 8.0 to FreeBSD. There are 
a couple of scripts I use for my own convenience that I ran setuid root 
on my Linux box. All that I had to do was make sure the scripts were 
owned by root, and then do a chmod 4711 on them to make it work in 
Linux. I just set up a script on FreeBSD - the first time I've actually 
done it since I switched. I followed the same procedure, but when I run 
the script as a normal user, it does not run with elevated priveleges.

I've scoured the web for info on this but all I have been able to find 
references to are difficulties with Perl scripts. I don't know Perl 
(yet). I took all the extraneous stuff out of my script and boiled it 
down to three simple commands that I know work - just to make sure my 
program logic wasn't the problem.

Here it is:

#!/bin/tcsh

mkdir $3
chown -R $1 $3
chgrp -R $2 $3
chmod -R 771 $3
So now it's down to a proof-of-concept script. If I can make this work 
with the elevated privileges, I can move on to the real script. Can 
anyone out there help me understand what I am doing wrong?

Thanks,
Paul D. Lathrop
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+bWgklos2supvBQwRAtZ8AJ48Xs+FIweasAck0/Iz47mnp2VeUACfZZXr
+QBNLYIcHErEwbaP6HDZBM0=
=/b6N
-END PGP SIGNATURE-
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: tmp directory

2003-03-10 Thread parv
in message [EMAIL PROTECTED],
wrote Dick Hoogendijk thusly...

 Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
 FreeBSD does not clean up. Lots of files stay in /tmp
 
 Question: can I manually clean /tmp or is it better to leave things
 alone..??

In addition to previous reply, you can always mount (w/ proper
planning of ourse) /tmp as memory file system; see newfs(8) or
mount_mfs(8) (FreeBSD 4.7).


  - parv

-- 


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


SSH to a box behind NAT

2003-03-10 Thread Ryan Thompson

Hi all,

I have a FreeBSD server behind NAT (on an RFC1918 address). The NAT
machine is actually an NT box on a network we don't have access to.
(So, it is not possible, for instance, to set up port based NAT for
inbound SSH, which is one of two things I'd normally do). The server
can, however, initiate arbitrary outbound connections.

So, I'm fishing for a tech workaround to this management problem. :-)

I need to be able to have an interactive SSH session on the server
(Server) from another host (Manager) on the Internet (for remote
management). That is, I need to connect to Server to do remote
management.

   --- NAT ---
[ Server ] --- [ NT Gateway ] --- { Internet } --- [ Manager ]
192.168.0.2192.168.0.1 207.1.1.1
 24.1.1.1

Manager is a highly available FreeBSD server (i.e., static public IP).

The first thing that comes to mind is some kind of pull technique to
have *Server* initiate the connection. Server already initiates cron'd
SSH connections to Manager to do automated backup/rsync tasks, but I
can't think of a way to actually start an interactive login in that
manner.

So far the best I've come up with is to configure a secure known path
on Manager for batch scripts (so, not really interactive, but close
enough for 90% of tasks) and have Server simply attempt to scp (pull)
the file at regular intervals, and execute its contents. Server can
capture the output and scp (push) that back to Manager. Manager never
actually initiates anything. Obviously, this will be a leading cause
of ass pain in troubleshooting scenarios, and will be a *real* pain
for anything that actually requires an interactive session.

Unfortunately, that idea has, so far, been the *last* thing to come to
mind. Any *other* ideas? :-)

Thanks,
- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America



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


Re: suid shell script

2003-03-10 Thread Paul Lathrop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday, March 11, 2003, at 12:28  AM, Jonathan Chen wrote:
Dunno about Linux, but every other modern UNIX out there doesn't allow
setuid scripts.
Thanks for your response. Now my question is - how does one automate 
tasks requiring root privileges?

Paul Lathrop
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+bXczlos2supvBQwRApNCAJ4hBh/IW04wPaNl/dYQ97elF2OzIwCfecdP
Twx+Q8robLPf47PCbCsn0HU=
=HKrj
-END PGP SIGNATURE-
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: suid shell script

2003-03-10 Thread Ryan Thompson
Paul Lathrop wrote to Jonathan Chen:

 Thanks for your response. Now my question is - how does one automate
 tasks requiring root privileges?

From /usr/ports/security/sudo/pkg-descr:

  Sudo is a program designed to allow a sysadmin to give limited root
  privileges to users and log root activity.  The basic philosophy is
  to give as few privileges as possible but still allow people to get
  their work done.

Sudo allows you to micro-manage as much as you like, so you can
assign specific privileges to specific users, without the need to hand
out root passwords. I can't imagine life without it. It's also easy to
set up.

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America


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


[no subject]

2003-03-10 Thread DoubleF
Hi,

 Thanks for your response. Now my question is - how does one automate
 tasks requiring root privileges?

When one does not know Perl, one uses C programs, I suppose.
They are real binaries, and can be suid. It works. Just mind
your security...

HTH,
DoubleF



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


Re: your mail

2003-03-10 Thread Ryan Thompson
DoubleF wrote to Paul Lathrop:

 Hi,

  Thanks for your response. Now my question is - how does one
  automate tasks requiring root privileges?

 When one does not know Perl, one uses C programs, I suppose. They
 are real binaries, and can be suid. It works.

 Just mind your security...

:-) I'll second that. I'm just shuddering at the thought a production
server somewhere with a whole platoon of 10- or 20-line quickly hacked
and poorly maintained C programs, all suid root. Not saying that shell
scripts can't be quickly hacked or poorly maintained either, but at
least their correctness is typically a little easier to verify, and
you don't normally have to worry about unfortunate things like buffer
overflows.

I'd also like to remind the original poster about the security risks
associated with suid binaries. There are many subtle ways in which
suid binaries can bite one in the ass... especially where other local
users are present.

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America


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


Re: SSH to a box behind NAT

2003-03-10 Thread Nathan Kinkade
On Mon, Mar 10, 2003 at 11:32:00PM -0600, Ryan Thompson wrote:
 
 Hi all,
 
 I have a FreeBSD server behind NAT (on an RFC1918 address). The NAT
 machine is actually an NT box on a network we don't have access to.
 (So, it is not possible, for instance, to set up port based NAT for
 inbound SSH, which is one of two things I'd normally do). The server
 can, however, initiate arbitrary outbound connections.
 
 So, I'm fishing for a tech workaround to this management problem. :-)
 
 I need to be able to have an interactive SSH session on the server
 (Server) from another host (Manager) on the Internet (for remote
 management). That is, I need to connect to Server to do remote
 management.
 
--- NAT ---
 [ Server ] --- [ NT Gateway ] --- { Internet } --- [ Manager ]
 192.168.0.2192.168.0.1 207.1.1.1
  24.1.1.1
 
 Manager is a highly available FreeBSD server (i.e., static public IP).
 
 The first thing that comes to mind is some kind of pull technique to
 have *Server* initiate the connection. Server already initiates cron'd
 SSH connections to Manager to do automated backup/rsync tasks, but I
 can't think of a way to actually start an interactive login in that
 manner.
 
 So far the best I've come up with is to configure a secure known path
 on Manager for batch scripts (so, not really interactive, but close
 enough for 90% of tasks) and have Server simply attempt to scp (pull)
 the file at regular intervals, and execute its contents. Server can
 capture the output and scp (push) that back to Manager. Manager never
 actually initiates anything. Obviously, this will be a leading cause
 of ass pain in troubleshooting scenarios, and will be a *real* pain
 for anything that actually requires an interactive session.
 
 Unfortunately, that idea has, so far, been the *last* thing to come to
 mind. Any *other* ideas? :-)
 
 Thanks,
 - Ryan

Could you have Server start an xterm, or similar, and have it send the
display to Manager - with something like 'xterm -display Manager:0' from
Server?  This is assuming that you are running X on Manager.

Nathan

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


pgp0.pgp
Description: PGP signature


Re: your mail

2003-03-10 Thread Paul Lathrop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday, March 11, 2003, at 01:36  AM, Ryan Thompson wrote:
When one does not know Perl, one uses C programs, I suppose. They
are real binaries, and can be suid. It works.

Just mind your security...
:-) I'll second that. I'm just shuddering at the thought a production
server somewhere with a whole platoon of 10- or 20-line quickly hacked
and poorly maintained C programs, all suid root. Not saying that shell
scripts can't be quickly hacked or poorly maintained either, but at
least their correctness is typically a little easier to verify, and
you don't normally have to worry about unfortunate things like buffer
overflows.
I'd also like to remind the original poster about the security risks
associated with suid binaries. There are many subtle ways in which
suid binaries can bite one in the ass... especially where other local
users are present.
Is just learning Perl an option here? Perl scripts aren't binaries - to 
my understanding at least. Will they also be denied by the OS? If Perl 
will solve the problem, I'll just learn it sooner than I had planned :-)

Thanks for all your help!

Paul D. Lathrop
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+bYaWlos2supvBQwRAgxhAJwOvyqtUgrkdVc6AQ6LYNQAf11VDgCdGQbW
aVPiBgV0+6AsQzzJf+kjUqM=
=qXzM
-END PGP SIGNATURE-
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: SSH to a box behind NAT

2003-03-10 Thread Ryan Thompson
Nathan Kinkade wrote to Ryan Thompson:

  Unfortunately, that idea has, so far, been the *last* thing to
  come to mind. Any *other* ideas? :-)
 
  Thanks, - Ryan

 Could you have Server start an xterm, or similar, and have it send
 the display to Manager - with something like 'xterm -display
 Manager:0' from Server?  This is assuming that you are running X on
 Manager.

That's a reasonable idea. Thanks.

Neither Manager nor Server have X installed (and, typically, Manager
itself is accessed remotely, too), but I suppose that isn't out of the
question.

Once it's deployed, Server will be a thousand kilometers away from
here in a locked office, sans head, sans in-house IT. Remote
managability is therefore somewhat of a necessity. :-)

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America




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


  1   2   >