Re: Problems after CVSUP

2004-05-29 Thread Conrad Sabatier

On 29-May-2004 Edward Carmody wrote:
 Not quite a newbie, but not very good either, apparently. :(  I did a cvsup
 last night, following instructions from the handbook, and hosed up my box.
 
 =
 [EMAIL PROTECTED] /home/ecarmody] $ uname -a
 FreeBSD oberon.hudsonvalleynetworks.com 5.2.1-RELEASE-p7 FreeBSD
 5.2.1-RELEASE-p7 #0: Thu May 27 19:57:55 EDT 2004
 root@:/usr/obj/usr/src/sys/GENERIC  i386
 [EMAIL PROTECTED] /home/ecarmody] $
 =
 
 I should not be running 5.2.1-RELEASE due to my inexperience, I know, but
 need to in order to support my IDE controller.  I was using the box for www,
 sendmail, tacacs, ntp, syslog, samba, for my home network, and just trying
 to learn UNIX a la FreeBSD.  
 
 My immediate issues are these:
 At boot, ntpd hangs, holding up the rest of the startup process.  If I kill
 it with a ctrl-c, sendmail then does some funky things, and also hangs.  
 
 ===
 /var/log/ntp shows:
 [EMAIL PROTECTED] /var/log] # cat ntp.log 
 28 May 23:53:37 ntpd[609]: ntpd exiting on signal 15
 28 May 23:56:37 ntpd[409]: ntpd exiting on signal 2
 [EMAIL PROTECTED] /var/log] #
 
 which I think is from me killing it via ctrl-c
 ===
 
 So, to workaround temporarily, I commented out ntpd_enable=YES in rc.conf.
 Ntpd obviously doesn't hold up my boot anymore but sendmail does.  
 
 ===
 Starting sendmail.
 safefile(etc/mail/services.switch, uid=0, gid=0, flags=6480, mode=400):
 safedirpath(/etc/mail, uid=0, gid=0 flags =6580, level=0, offset=0):
   [dir /etc/mail] OK
   No such file or directory
 
 Then I get similar lines for /etc/mail/submit.cf, etc/mail/relay-domains,
 The last line is:
 Recipient names must be specified
 
 I can't seem to find the output I'm seeing in /var/log/messages or
 /var/log/maillog, so I've hand-typed in the bit above.
 
 /var/log/maillog has lots of:
 May 29 00:00:05 oberon sm-msp-queue[436]: i4S2ug7P087593: to=root,
 ctladdr=root (0/0), delay=1+01:03:23, xdelay=00:00:00, mailer=relay,
 pri=4980184, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused
 by [127.0.0.1]
 
 which also started after my cvsup last night.  
 ===
 
 
 Not sure what else to provide.  Any direction on how to 'shoot and fix this
 wins a free beer next time you're in NYC.  Thanks...

Did you forget to run mergemaster?

When updating via cvsup, you should *always* do the following:

1) cvsup
2) make buildworld
3) make buildkernel
4) make installkernel
5) reboot in single-user mode
6) run mergemaster -p
7) make installworld
8) run mergemaster

Then, double-check /etc/rc.conf against /etc/defaults/rc.conf to see if there
are any important changes in startup functionality.  Then, and only then,
should it be safe to reboot.

If you've merged in any changes under /etc/mail, you should also cd /etc/mail
and make all install before rebooting as well.

HTH

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas

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


Re: Zyxel Prestige 630

2004-05-29 Thread Matthew Seaman
On Sat, May 29, 2004 at 01:41:08AM +0100, Jon Mercer wrote:
 Without double checking, the 630 is just an ADSL router running a
 connection to FreeBSD over ethernet. In short, so long as the ADSL
 parameters are configured on the 630 it should all work just fine.
 
 Hope this helps. I'm running a 600 series myself.

Not quite.  The Prestige 630 connects to the PC by USB.  The 640 and
higher models have a built in 10/100 Ethernet port, if not built in
ethernet switches or WiFi.


http://www.zyxel.com/product/model.php?indexcate=1022046269indexcate1=1021877946indexFlagvalue=1021873638

Unfortunately I have no idea if the 630 will work with FreeBSD.  The
643 and 645 models work fine as ADSL routers connecting via Ethernet.
The firewalling capability on the 645 is not brilliant -- I think that
has been much improved in the 650 and above models.

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


pgp9j2U5juGfX.pgp
Description: PGP signature


Ive really broken my cvs repository!

2004-05-29 Thread Edd

Hi there,
One day I was playing with branches to see how they worked etc. I was
going to delete the branches afterwards, but forgot. Many commits later
(to default branch). I realise that I forgot to delete them. And
stupidly did a cvs tag -dB on them. Next day I do a cvs up:

-bash-2.05b$ cvs up
cvs update: Updating .
cvs update: LICENCE.TXT is no longer in the repository
cvs update: README is no longer in the repository
cvs update: index.php is no longer in the repository
cvs update: loader.php is no longer in the repository
cvs update: login.php is no longer in the repository
cvs update: Updating classes
cvs update: classes/arax.php is no longer in the repository
cvs update: classes/auth.php is no longer in the repository
cvs update: Updating conf
cvs update: conf/mysql.php-dist is no longer in the repository
cvs update: Updating css
cvs update: css/dbm.css is no longer in the repository
cvs update: Updating images
cvs update: Updating modules
cvs update: modules/changePass.php is no longer in the repository
cvs update: modules/denied.php is no longer in the repository
cvs update: modules/gigAdmin.php is no longer in the repository
cvs update: modules/groupAdmin.php is no longer in the repository
cvs update: modules/imageView.php is no longer in the repository
cvs update: modules/linkAdmin.php is no longer in the repository
cvs update: modules/logout.php is no longer in the repository
cvs update: modules/mailShot.php is no longer in the repository
cvs update: modules/menu.php is no longer in the repository
cvs update: modules/newsAdmin.php is no longer in the repository
cvs update: modules/settings.php is no longer in the repository
cvs update: Updating share
cvs update: share/dump.sql is no longer in the repository

interesting. So i think no its okay. i can do a cvs up -f. Which I did
and all of my other files did return to my sandbox, but I just can not
commit them. Due to up-to-date check. I have tried forcing with -f, but
still it wont have it.

Please could someone help me out of this sticky situation?

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


Re: Ive really broken my cvs repository!

2004-05-29 Thread Edd

This looks bad

cvs status: share/dump.sql is no longer in the repository
===
File: dump.sql  Status: Entry Invalid

   Working revision:1.10Wed May  5 20:42:40 2004
   Repository revision: No revision control file
   Sticky Tag:  base - MISSING from RCS file!
   Sticky Date: (none)
   Sticky Options:  (none)

I tagged all of the files base, and all seems well. I think. Has this don
any harm does anyone know?


On 5/29/2004, Edd [EMAIL PROTECTED] wrote:


Hi there,
One day I was playing with branches to see how they worked etc. I was
going to delete the branches afterwards, but forgot. Many commits later
(to default branch). I realise that I forgot to delete them. And
stupidly did a cvs tag -dB on them. Next day I do a cvs up:

-bash-2.05b$ cvs up
cvs update: Updating .
cvs update: LICENCE.TXT is no longer in the repository
cvs update: README is no longer in the repository
cvs update: index.php is no longer in the repository
cvs update: loader.php is no longer in the repository
cvs update: login.php is no longer in the repository
cvs update: Updating classes
cvs update: classes/arax.php is no longer in the repository
cvs update: classes/auth.php is no longer in the repository
cvs update: Updating conf
cvs update: conf/mysql.php-dist is no longer in the repository
cvs update: Updating css
cvs update: css/dbm.css is no longer in the repository
cvs update: Updating images
cvs update: Updating modules
cvs update: modules/changePass.php is no longer in the repository
cvs update: modules/denied.php is no longer in the repository
cvs update: modules/gigAdmin.php is no longer in the repository
cvs update: modules/groupAdmin.php is no longer in the repository
cvs update: modules/imageView.php is no longer in the repository
cvs update: modules/linkAdmin.php is no longer in the repository
cvs update: modules/logout.php is no longer in the repository
cvs update: modules/mailShot.php is no longer in the repository
cvs update: modules/menu.php is no longer in the repository
cvs update: modules/newsAdmin.php is no longer in the repository
cvs update: modules/settings.php is no longer in the repository
cvs update: Updating share
cvs update: share/dump.sql is no longer in the repository

interesting. So i think no its okay. i can do a cvs up -f. Which I did
and all of my other files did return to my sandbox, but I just can not
commit them. Due to up-to-date check. I have tried forcing with -f, but
still it wont have it.

Please could someone help me out of this sticky situation?

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


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


Re: Zyxel Prestige 630

2004-05-29 Thread Jon Mercer
Oops! Sorry for the bum steer!

Jon

On Sat, 2004-05-29 at 10:11, Matthew Seaman wrote:
 On Sat, May 29, 2004 at 01:41:08AM +0100, Jon Mercer wrote:
  Without double checking, the 630 is just an ADSL router running a
  connection to FreeBSD over ethernet. In short, so long as the ADSL
  parameters are configured on the 630 it should all work just fine.
  
  Hope this helps. I'm running a 600 series myself.
 
 Not quite.  The Prestige 630 connects to the PC by USB.  The 640 and
 higher models have a built in 10/100 Ethernet port, if not built in
 ethernet switches or WiFi.
 
 
 http://www.zyxel.com/product/model.php?indexcate=1022046269indexcate1=1021877946indexFlagvalue=1021873638
 
 Unfortunately I have no idea if the 630 will work with FreeBSD.  The
 643 and 645 models work fine as ADSL routers connecting via Ethernet.
 The firewalling capability on the 645 is not brilliant -- I think that
 has been much improved in the 650 and above models.
 
   Cheers,
 
   Matthew
-- 
++
| ___  ___   |
|/   ||  /   |
|   / /| |/ /|
|  / / | | _ / /     ___ |
| / /__| |/ ___ \   / /__/ __ \/ _  |   |  /__   |
|/   |   / /  /_/  / ___ \  / /_/ /   / / | |   / ___ \  |
|   / /| |  / /   __  / /   \ \ | ___/__ / /  / /  / /   \ \ |
|  / / | |  | |__/ / / // / | \__/ / | |_| |  / // / |
| /__\/___\ \_/ /__|   /__| \_/  \__/|_| /__|   /__| |
||
| www.achean.com |
| == |
| Jon Mercer   [EMAIL PROTECTED] |
++ 


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


FreeBSD 4.10 and terminal woes

2004-05-29 Thread Odhiambo Washington
I decided to upgrade the box that I read my mail on (using mutt) to
FreeBSD 4.10-STABLE. It has been running 4.9-STABLE since those days ;)

Now all too suddenly, I have a mad terminal, display getting messed up
when I read my mail, edit a file, almost anything. The only change was
the upgrade. To give a little more details I can gather, when I ssh to
the box from another Unix terminal, this madness is not there at all.
But before I upgraded, I was using Microshit windows for a couple of
days, connecting to this box using Telneat (aka ShellGuard) and there
was no problem.
IIRC, there was no change at all to /etc/termcap during mergemaster.

I'll appreciate any clues.

Not that I desperately need to run on Windows, but just so that I can
know what happened and how to fix it. In my .bash_profile, I init my
terminal as cons25.

I checked UPDATING to see if anything is mentioned, but no. 


Thank you in adv.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
It is impossible to make anything foolproof because fools are so
ingenious.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tool to rotate AVIs?

2004-05-29 Thread David Gerard
I have a shiny new digital camera, a Casio EX-S20. Haven't got it
talking to the FreeBSD box yet (though it claims to do umass), but
that's another story.
It does video clips as AVIs. The AVIs are viewable in KDE3 aKtion!,
so that's fine. But I'm after a tool to rotate them from landscape
to portrait, losslessly. I know this can be done with JPEGs using
jpegtran to manipulate the file - is a similar trick possible with
AVIs? Or only with certain formats of AVI? How do I tell? etc.
- d.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3Ware Escalade problem

2004-05-29 Thread Artem Kuchin
I have the same problem on Asus p2bds. But i am just ignoring it and
it has been discussed several time in the past. AFAIK the problem is
that asus p2b is PCI 2.1 and this 3ware controller needs fully
working PCI 2.2. So, you can either patch twe.c to disable the error
message or change your motherboard to something newer. I chose
to patch the twe.c and not see this error ever.

Artem

- Original Message -
From: Frank Mueller [EMAIL PROTECTED]
To: hal [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 28, 2004 10:24 PM
Subject: Re: 3Ware Escalade problem


 Hi,

 that sounds very familiar to me. I had exactly the same problems using
3ware Escalade Controllers
 on several older Mainboards. Try using a newer Board with an actual
Chipset and I bet it will
 work fine! I think it's a problem with PCI-Version.

 Greetz,

 Frank


  Here is what my system is telling me.
 
  twe0: unexpected status bit(s) 80PCIPERR
  twe0: PCI parity error: Reseat card, move card or buggy device present.
 
  Here is what I am running.
 
  FreeBSD 4.7 p25
  boot disk IDE
  SCSI tape drive
  twe0 is an Escalade 7500-4
  twe1 is an Escalade 7000-2
 
  I have tried two different 7500-4 cards.
  I have changed slots.
  I have tried 3 different motherboards.
  2 ASUS P2BS
  1 MSI K7 Master-S
 
  What I suspect.
 
  The Escalade 7500-4 is a 64 bit card.  I am using it on
  a 32 bit bus.  The manual doesn't say you can't but I am
  suspicous.  Both 7500-4 cards worked just fine on Linux
  and Windows on both 32 and 64 bit motherboards IIRC.
 
  Is it possible we have a driver issue here?
 
  The machine is a backup server so reliability is important. :^)
  So far I haven't lost any data but..
 
  If you can help great. If you need more info let me know.
 
  hal
 
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 

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


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


documentation on sysctl vm.defer_swapspace_pageouts?

2004-05-29 Thread Geert Hendrickx
Hi, 

where can I find documentation on the vm.defer_swapspace_pageouts
sysctl?  LINT only mentions it, without explaining, man sysctl doesn't 
mention it at all, and even Google yields very few useful results...  

I was looking for a way to tune swap-usage a bit, I heard Linux has a
swappiness setting (telling the kernel how easy it should go with 
paging out), and I hoped FreeBSD would have something similar.
vm.defer_swapspace_pageouts might do the trick, but so it seems to be 
poorly documented...  

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


Re: documentation on sysctl vm.defer_swapspace_pageouts?

2004-05-29 Thread Bill Moran
Geert Hendrickx wrote:
Hi, 

where can I find documentation on the vm.defer_swapspace_pageouts
sysctl?  LINT only mentions it, without explaining, man sysctl doesn't 
mention it at all, and even Google yields very few useful results...  
All I found in the source was this:
Give preference to dirty pages in mem
in src/sys/vm/vm_pageout.c, this is the description available from
sysctl -d
I was looking for a way to tune swap-usage a bit, I heard Linux has a
swappiness setting (telling the kernel how easy it should go with 
paging out), and I hoped FreeBSD would have something similar.
vm.defer_swapspace_pageouts might do the trick, but so it seems to be 
poorly documented...  
Seems so.  This might be a question better suited for hackers@ ... and
then passed on to doc@ ... I believe there's an effort currently going
on to document all sysctls ...
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP DJ 3550

2004-05-29 Thread Mikhail TSaplin

---BeginMessage---
HI ALL

I have hp deskjet 3550 usb printer, and freebsd 5.1
ulpt determine this:
ulpt0: hp deskjet 3500, rev 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
But when i issue lptest  /dev/ulpt0 or lptest  /dev/unlpt0,
nothing happens. 

Must i send HP-oriented special text to device?
And is there anybody who have this printer working properly on freebsd?
---End Message---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)

2004-05-29 Thread Marco Beishuizen
Hi,
I just installed FreeBSD 4.10-RELEASE on my PWS 600au and it comes with 
Xfree86-4.3.0. I can't seem to start X while Xfree-3.3.6 worked fine.
My PWS has a Matrox G450 PCI videocard. I tried both the generic Matrox driver 
and the G400 driver in xf86config, but get the same errors.

The errors I get when trying to start X are:
...
(WW) MGA: No matching Device section for instance (BusID PCI:1:0:0) found
(EE) No devices detected.
Fatal server error:
no screens found
...
X connection to :0.0 broken (explicit kill or server shutdown).
xauth: (argv):1: bad display name tsunami.bsd:0 in remove command
Does anyone know what the problem is and how to solve this?
Thanks,
Marco
--
Faith is the quality that enables you to eat blackberry jam on a picnic
without looking to see whether the seeds move.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


unable to install from floppies

2004-05-29 Thread SWIT
Hello,
I am tyring to install from the floppies.
I get to the point were I choose the ftp server to d/l from.
then it says can't resolve the ftp.freebsd.org or any of the servers.
I tried a static ip and a dhcp ip and neither would work but other computers
on my network will find ftp.freebsd.org (all windows units).

I am behind a sonicwall and then a linksys router and have no trouble going
to any site on the net so not sure why I can't get a resolve.
I tried several different namservers and none made a difference.

THanks
Mark


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


Re: unable to install from floppies

2004-05-29 Thread Bill Moran
SWIT wrote:
Hello,
I am tyring to install from the floppies.
I get to the point were I choose the ftp server to d/l from.
then it says can't resolve the ftp.freebsd.org or any of the servers.
I tried a static ip and a dhcp ip and neither would work but other computers
on my network will find ftp.freebsd.org (all windows units).
I am behind a sonicwall and then a linksys router and have no trouble going
to any site on the net so not sure why I can't get a resolve.
I tried several different namservers and none made a difference.
Not sure what's wrong, but a workaround would be to find out the IP address
of the FTP server you want to use, and use that instead:
bash-2.05b$ host ftp.freebsd.org
ftp.freebsd.org has address 62.243.72.50
ftp.freebsd.org has address 204.152.184.73
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2004-05-29 Thread jdusek
Hi All,

I am installing 5.2.1 on a Compaq Presario R3000. I made the CDs with Roxio
Classic Creator on the Windows side.

The machine gets to the boot select screen okay, but no matter what boot option
I go with the machine powers down. I've tried option 2 (FreeBSD without ACPI)
several times.

So, what do I do now? This machine is hardly my first choice, but it's a gift
and I'm stuck with it. It's got nice hardware, but there just seems to be no way
around the Compaq curse...

- Jason



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


Re: FreeBSD on Compaq hardware

2004-05-29 Thread Geert Hendrickx
 So, what do I do now? This machine is hardly my first choice, but it's a gift
 and I'm stuck with it. It's got nice hardware, but there just seems to be no way
 around the Compaq curse...

I have FreeBSD 4.9 running on an old Compaq (don't know what model
though), and I never had any problem with it.  Nothing unusual.  

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


Re: FreeBSD 4.10 and terminal woes

2004-05-29 Thread Geert Hendrickx
On Sat, May 29, 2004 at 03:04:36PM +0300, Odhiambo Washington wrote:
 I decided to upgrade the box that I read my mail on (using mutt) to
 FreeBSD 4.10-STABLE. It has been running 4.9-STABLE since those days ;)
 
 Now all too suddenly, I have a mad terminal, display getting messed up
 when I read my mail, edit a file, almost anything. The only change was
 the upgrade. To give a little more details I can gather, when I ssh to
 the box from another Unix terminal, this madness is not there at all.
 But before I upgraded, I was using Microshit windows for a couple of
 days, connecting to this box using Telneat (aka ShellGuard) and there
 was no problem.
 IIRC, there was no change at all to /etc/termcap during mergemaster.
 
 I'll appreciate any clues.
 
 Not that I desperately need to run on Windows, but just so that I can
 know what happened and how to fix it. In my .bash_profile, I init my
 terminal as cons25.
 
 I checked UPDATING to see if anything is mentioned, but no. 
 
 
 Thank you in adv.
 
 
 -Wash

Check your $TERM variable.  Make it cons25.  

For /bin/sh or bash: 
TERM=cons25; export TERM
You can make this permanent putting it in /etc/profile

For csh: 
setenv TERM cons25
You can make this permanent putting it in /etc/csh.cshrc

Probably the upgrade replaced one of these files so you lost your TERM.
By default, it's set to dumb and then you can't use vi, mutt, ...

Having no problems with ssh means that your client automatically uses
vt100 or xterm as $TERM, which works fine for those programs.  

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


Re: SMTP AUTH

2004-05-29 Thread Charles Swiger
On May 27, 2004, at 12:39 PM, Noah wrote:
how do I configure sendmail to support smtps (SSL before SMTP)  I want 
to
configure this.  any links out there show how to do this please?
Doing STARTTLS is better than SMTPS, because it is backwards compatible 
with traditional SMTP.

In any event, to answer your question, install 
/usr/ports/security/stunnel, and read the manpage-- which is very well 
written, and has examples of doing SMTP and IMAP over SSL, I believe...

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


UDMA ICRC error

2004-05-29 Thread white vamp
i keep getting this in my securty run mailings and in my logs
what dose this mean ? my HD going bad or what ...
ad0s1b: UDMA ICRC error writing fsbn 1418815 of 197376-197503 (ad0s1 bn 
1418815; cn 88 tn 80 sn 55) retrying
ohh ond its different every time aswell

vampextream# uname -a
FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 
17:51:09 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

and thx inadvance for any help on this ..
David D.
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: unable to install from floppies

2004-05-29 Thread Bill Moran
SWIT wrote:
Hello,
thanks for the help. However I see no were to put in the IP address for the
ftp server. Its already there in the list of all the ftp servers to d/l the
files from.
On the screen where you select the FTP server, use the URL option and enter
the IP address.
Mark
- Original Message - 
From: Bill Moran [EMAIL PROTECTED]
To: SWIT [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Saturday, May 29, 2004 12:15 PM
Subject: Re: unable to install from floppies


SWIT wrote:
Hello,
I am tyring to install from the floppies.
I get to the point were I choose the ftp server to d/l from.
then it says can't resolve the ftp.freebsd.org or any of the servers.
I tried a static ip and a dhcp ip and neither would work but other
computers
on my network will find ftp.freebsd.org (all windows units).
I am behind a sonicwall and then a linksys router and have no trouble
going
to any site on the net so not sure why I can't get a resolve.
I tried several different namservers and none made a difference.
Not sure what's wrong, but a workaround would be to find out the IP
address
of the FTP server you want to use, and use that instead:
bash-2.05b$ host ftp.freebsd.org
ftp.freebsd.org has address 62.243.72.50
ftp.freebsd.org has address 204.152.184.73

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to install from floppies

2004-05-29 Thread SWIT
Hello,
thanks for the help. However I see no were to put in the IP address for the
ftp server. Its already there in the list of all the ftp servers to d/l the
files from.
Mark
- Original Message - 
From: Bill Moran [EMAIL PROTECTED]
To: SWIT [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Saturday, May 29, 2004 12:15 PM
Subject: Re: unable to install from floppies


 SWIT wrote:
  Hello,
  I am tyring to install from the floppies.
  I get to the point were I choose the ftp server to d/l from.
  then it says can't resolve the ftp.freebsd.org or any of the servers.
  I tried a static ip and a dhcp ip and neither would work but other
computers
  on my network will find ftp.freebsd.org (all windows units).
 
  I am behind a sonicwall and then a linksys router and have no trouble
going
  to any site on the net so not sure why I can't get a resolve.
  I tried several different namservers and none made a difference.

 Not sure what's wrong, but a workaround would be to find out the IP
address
 of the FTP server you want to use, and use that instead:

 bash-2.05b$ host ftp.freebsd.org
 ftp.freebsd.org has address 62.243.72.50
 ftp.freebsd.org has address 204.152.184.73

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



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


Re: UDMA ICRC error

2004-05-29 Thread SWIT
I got this on several hds.
was told once it was cuz the hd was like ata 100 and the cable or controller
didnt't match .
however sometime later (months) the drives died.
tyring to redo a machine that had these errors that the drive died in.
MD
- Original Message - 
From: white vamp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 29, 2004 3:53 PM
Subject: UDMA ICRC error


 i keep getting this in my securty run mailings and in my logs
 what dose this mean ? my HD going bad or what ...
 ad0s1b: UDMA ICRC error writing fsbn 1418815 of 197376-197503 (ad0s1 bn
 1418815; cn 88 tn 80 sn 55) retrying
 ohh ond its different every time aswell

 vampextream# uname -a
 FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27
 17:51:09 GMT 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 and thx inadvance for any help on this ..

 David D.

 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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



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


Re: iso information

2004-05-29 Thread Randy Pratt
On Thu, 27 May 2004 18:19:57 -0400
Charles G. Kerns [EMAIL PROTECTED] wrote:

 How do I find out what's in the iso images and how the CD's are 
 organized without dowloading and burning them?
 
 Charles Kerns

I looked around the website for a list of disc contents but couldn't
seem to locate one.  I was almost positive that it was going to be
included as part of this release since it was discussed during the
last release.

In any event, I had downloaded the discs for advocacy purposes and
did an ls -RFla of each disc:

The full installation disc:
http://myfreebsd.homeunix.net/4.10-R-i386-disc1-contents.txt

The recovery (live-filesystem) disc:
http://myfreebsd.homeunix.net/4.10-R-i386-disc2-contents.txt

The mini-installation (no 3rd party packages) disc:
http://myfreebsd.homeunix.net/4.10-R-i386-miniinst-contents.txt

Note that the mini-installation disc only contains the base
operating system; ie, no XFree86, no window managers, no packages.

The recovery disc (disc2) is not needed during the installation
and does not contain any packages.

If you have need to ask further questions about the discs, the
[EMAIL PROTECTED] mailing list would be the best place
to ask.

Best regards,

Randy


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


Re: UDMA ICRC error

2004-05-29 Thread Marshall Pierce
I occasionally get those errors as well. When I'd boot, the drive would 
try and
do ATA-100, fail, and revert to PIO-4. (I blame the cheap PCI IDE card, 
it came free
with a hard drive, and I have to use it, since the nforce2 chipset on 
my mobo
won't see anything but primary master and secondary master under FBSD.) 
I can
make it work by setting the drive to ATA-33, though. (The command, for 
me, is
# atacontrol mode 2 UDMA33 xxx
but check the manpage to see what options you should use.) I've been 
using the
hard drive for about 7 months now, and it works fine. I don't put 
anything I
care about much on it, though.
--
Marshall Pierce
Harvey Mudd College '06
[EMAIL PROTECTED]

On May 29, 2004, at 1:13 PM, SWIT wrote:
I got this on several hds.
was told once it was cuz the hd was like ata 100 and the cable or 
controller
didnt't match .
however sometime later (months) the drives died.
tyring to redo a machine that had these errors that the drive died in.
MD
- Original Message -
From: white vamp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 29, 2004 3:53 PM
Subject: UDMA ICRC error


i keep getting this in my securty run mailings and in my logs
what dose this mean ? my HD going bad or what ...
ad0s1b: UDMA ICRC error writing fsbn 1418815 of 197376-197503 (ad0s1 
bn
1418815; cn 88 tn 80 sn 55) retrying
ohh ond its different every time aswell

vampextream# uname -a
FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27
17:51:09 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
and thx inadvance for any help on this ..
David D.
_
Is your PC infected? Get a FREE online computer virus scan from 
McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


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



pure-ftpd with SFTP and PureDB Authentication (fwd)

2004-05-29 Thread Noah


FreeBSD 4.9-STABLE
pure-ftpd version 1.0.18

I am unable to login via SFTP using accounts that exist in the PureDB.
The password is denied according to the client and there are no log
messages collected in the server's log files.

When I set the server's TLS option to disable SSL/TLS encryption layer
( TLS 0 ) - I  am able to log in with clear text passwords to accounts
located in the PureDB.

I have PureDB authentication method uncommented in the  pure-ftpd.conf
configuration file - attached below.

so what am I doing wrong.  how can I have SSL/TLS forced logins and allow
those with PureDB accounts to get authenticated please?

cheers,

noah

here is the /usr/local/etc/pure-ftpd.conf file --- I am running pureftpd
without any switches other than to define the following configuration
file.

--- snip ---


#  #
# Configuration file for pure-ftpd wrappers#
#  #


# If you want to run Pure-FTPd with this configuration
# instead of command-line options, please run the
# following command :
#
# /usr/local/sbin/pure-config.pl /usr/local/etc/pure-ftpd.conf
#
# Please don't forget to have a look at documentation at
# http://www.pureftpd.org/documentation.html for a complete list of
# options.

# Cage in every user in his home directory

ChrootEveryone  yes

# If the previous option is set to no, members of the following group
# won't be caged. Others will be. If you don't want chroot()ing anyone,
# just comment out ChrootEveryone and TrustedGID.

# TrustedGID100

# Turn on compatibility hacks for broken clients

BrokenClientsCompatibility  no

# Maximum number of simultaneous users

MaxClientsNumber50

# Fork in background

Daemonize   yes

# Maximum number of sim clients with the same IP address

MaxClientsPerIP 8

# If you want to log all client commands, set this to yes.
# This directive can be duplicated to also log server responses.

VerboseLog  no

# List dot-files even when the client doesn't send -a.

DisplayDotFiles yes

# Don't allow authenticated users - have a public anonymous FTP only.

AnonymousOnly   no

# Disallow anonymous connections. Only allow authenticated users.

NoAnonymous no

# Syslog facility (auth, authpriv, daemon, ftp, security, user, local*)
# The default facility is ftp. none disables logging.

SyslogFacility  ftp

# Display fortune cookies

# FortunesFile  /usr/share/fortune/zippy

# Don't resolve host names in log files. Logs are less verbose, but
# it uses less bandwidth. Set this to yes on very busy servers or
# if you don't have a working DNS.

DontResolve no

# Maximum idle time in minutes (default = 15 minutes)

MaxIdleTime 15

# LDAP configuration file (see README.LDAP)

# LDAPConfigFile/etc/pureftpd-ldap.conf

# MySQL configuration file (see README.MySQL)

# MySQLConfigFile   /etc/pureftpd-mysql.conf

# Postgres configuration file (see README.PGSQL)

# PGSQLConfigFile   /etc/pureftpd-pgsql.conf

# PureDB user database (see README.Virtual-Users)

PureDB/usr/local/etc/pureftpd.pdb

# Path to pure-authd socket (see README.Authentication-Modules)

# ExtAuth   /var/run/ftpd.sock

# If you want to enable PAM authentication, uncomment the following line

#  PAMAuthentication yes

# If you want simple Unix (/etc/passwd) authentication, uncomment this

#  UnixAuthenticationyes

# Please note that LDAPConfigFile, MySQLConfigFile, PAMAuthentication and
# UnixAuthentication can be used only once, but they can be combined
# together. For instance, if you use MySQLConfigFile, then UnixAuthentication,
# the SQL server will be asked. If the SQL authentication fails because the
# user wasn't found, another try # will be done with /etc/passwd and
# /etc/shadow. If the SQL authentication fails because the password was wrong,
# the authentication chain stops here. Authentication methods are chained in
# the order they are given.

# 'ls' recursion limits. The first argument is the maximum number of
# files to be displayed. The second one is the max subdirectories depth

LimitRecursion  2000 8

# Are anonymous users allowed to create new directories ?

AnonymousCanCreateDirs  no

# If the system is more loaded than the following value,
# anonymous users aren't allowed to download.

MaxLoad 4

# Port range for passive connections replies. - for firewalling.

# PassivePortRange  3 5

# Force an IP address in PASV/EPSV/SPSV replies. - for NAT.
# Symbolic host names are also accepted for gateways with dynamic IP
# 

FTP default permissions

2004-05-29 Thread Kevin A. Pieckiel
I want to have default file and directory permissions for just
a specific path to be set to something differently than what
they are.  I'm using FreeBSD 5.2.1-RELEASE-p7 with the default
ftp daemon installed with the system.  Any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vipw: pw_edit(): No such file or directory

2004-05-29 Thread Kevin A. Pieckiel
A server (that someone else has set up as a development box) gets
the following error whenever I run vipw:

vipw: pw_edit(): No such file or directory

Where do I even begin to look to fix this?

It's running FreeBSD 5.2-RC2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vipw: pw_edit(): No such file or directory

2004-05-29 Thread Chuck Swiger
Kevin A. Pieckiel wrote:
A server (that someone else has set up as a development box) gets
the following error whenever I run vipw:
vipw: pw_edit(): No such file or directory
Where do I even begin to look to fix this?
I would check what $EDITOR is set to, and verify whether that program is 
available on the machine.

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


Re: vipw: pw_edit(): No such file or directory

2004-05-29 Thread Kevin A. Pieckiel
On Sat, May 29, 2004 at 06:00:53PM -0400, Chuck Swiger wrote:
 Kevin A. Pieckiel wrote:
 A server (that someone else has set up as a development box) gets
 the following error whenever I run vipw:
 
 vipw: pw_edit(): No such file or directory
 
 Where do I even begin to look to fix this?
 
 I would check what $EDITOR is set to, and verify whether that program is 
 available on the machine.

Sure enough, that's it.  Thanks!

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


Re: ipfw, 2 scripts

2004-05-29 Thread Saint Aardvark the Carpeted
Gregory Edigarov disturbed my sleep to write:
 bellow you will find 2 ipfw scripts, first one working, and second
 is a very good looking, but not working.
 what am I missing in the second script?

Hm...one thing missing in script 2 is something to allow traffic via
localhost.

Another difference I can see is that in script 2, you're denying
all from 10.0.0.0/8 to 195.5.17.86 -- in script one, it says deny
to tun0.  Is it possible this is denying all packets from the
10.100.105.0/24 network you mentioned?

That said, I'm guessing.  It'd help if you could tell me what
interfaces you have, their IP addresses, and what exactly is failing.

--
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Policy filtering with postfix

2004-05-29 Thread Lefteris Tsintjelis
Hi,

I am trying to setup policy but I keep on getting all these  in my log files.

postfix/policy-spf[15755]: : testing: stripped [EMAIL PROTECTED], stripped [EMAIL 
PROTECTED]
postfix/policy-spf[15755]: : SPF :
smtp_comment=,
header_comment=
 
postfix/policy-spf[15755]: decided action=DUNNO 

Are all these  normal to show up in the maillog? Anyone has any idea what they 
are? I suspect it maybe an IPv6 problem. Can anyone please confirm it?

Thank you,
Lefteris


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


Re: unable to install from floppies

2004-05-29 Thread SWIT
Will the moran please stand up. !!! (stolen from m n m).
Okay thats me.
I have been going nuts on why I could not d/l the freebsd onto my system.
Well as I looked thru the sonicwall logs I noticed a message that said ftp
dropped rule 8.
rule 8 said no no to ftp.
no clue on how that got there. don't recall doing it. Don't recall '85 and
parts of '87 either so who knows :-)
Anyhow its working after pulling head out of anus .
Appreciate the efforts.
sigh I hate when I am the stupid one.
THanks
Mark
- Original Message - 
From: Bill Moran [EMAIL PROTECTED]
To: SWIT [EMAIL PROTECTED]
Cc: freebsd [EMAIL PROTECTED]
Sent: Saturday, May 29, 2004 3:57 PM
Subject: Re: unable to install from floppies


 SWIT wrote:
  Hello,
  thanks for the help. However I see no were to put in the IP address for
the
  ftp server. Its already there in the list of all the ftp servers to d/l
the
  files from.

 On the screen where you select the FTP server, use the URL option and
enter
 the IP address.

  Mark
  - Original Message - 
  From: Bill Moran [EMAIL PROTECTED]
  To: SWIT [EMAIL PROTECTED]
  Cc: freebsd [EMAIL PROTECTED]
  Sent: Saturday, May 29, 2004 12:15 PM
  Subject: Re: unable to install from floppies
 
 
 
 SWIT wrote:
 
 Hello,
 I am tyring to install from the floppies.
 I get to the point were I choose the ftp server to d/l from.
 then it says can't resolve the ftp.freebsd.org or any of the servers.
 I tried a static ip and a dhcp ip and neither would work but other
 
  computers
 
 on my network will find ftp.freebsd.org (all windows units).
 
 I am behind a sonicwall and then a linksys router and have no trouble
 
  going
 
 to any site on the net so not sure why I can't get a resolve.
 I tried several different namservers and none made a difference.
 
 Not sure what's wrong, but a workaround would be to find out the IP
 
  address
 
 of the FTP server you want to use, and use that instead:
 
 bash-2.05b$ host ftp.freebsd.org
 ftp.freebsd.org has address 62.243.72.50
 ftp.freebsd.org has address 204.152.184.73



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


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


Perl metacharacters

2004-05-29 Thread JJB
I have problems with 2 different if statements that use
metacharacters.

if (/([EMAIL PROTECTED] )/)
 {
  $abuse_email = ${1};
 }

The data line it's reading looks like this,

remarks:  Please report all problems to [EMAIL PROTECTED] for
probes, port scans etc.

print($abuse_email) shows that it contains

[EMAIL PROTECTED] for probes, port scans etc.

The x.xxx can be any size, and any characters

How do I change the if statement so I only get the [EMAIL PROTECTED]
string?



Problem 2.

If (/(Net-.??-.??-.??-0-1)/)
 {
  $net_block = ${1};
 }


The data is (Net-xxx-xxx-xxx-0-1)
Each xxx group will all ways by 1 to 3 digits long and different
combinations every time.

When matched I want $net_block just to hold  Net-xxx-xxx-xxx-0-1

What is the correct syntax?

Thanks


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


Re: pure-ftpd with SFTP and PureDB Authentication (fwd)

2004-05-29 Thread Geert Hendrickx
On Sat, May 29, 2004 at 01:40:06PM -0800, Noah wrote:
 
 
 FreeBSD 4.9-STABLE
 pure-ftpd version 1.0.18
 
 I am unable to login via SFTP using accounts that exist in the PureDB.
 The password is denied according to the client and there are no log
 messages collected in the server's log files.
 
 When I set the server's TLS option to disable SSL/TLS encryption layer
 ( TLS 0 ) - I  am able to log in with clear text passwords to accounts
 located in the PureDB.
 
 I have PureDB authentication method uncommented in the  pure-ftpd.conf
 configuration file - attached below.
 
 so what am I doing wrong.  how can I have SSL/TLS forced logins and allow
 those with PureDB accounts to get authenticated please?
 
 cheers,
 
 noah

sftp connects to sshd, not ftpd.  So use ssh-login/pw for encrypted
logins and sessions.  

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


Re: Perl metacharacters

2004-05-29 Thread Saint Aardvark the Carpeted
JJB disturbed my sleep to write:
 if (/([EMAIL PROTECTED] )/)
  {
   $abuse_email = ${1};
  }
[snip] 
 print($abuse_email) shows that it contains
 [EMAIL PROTECTED] for probes, port scans etc.
 How do I change the if statement so I only get the [EMAIL PROTECTED]
 string?

You want to minimize how much the bracket grabs.  Right now you're
telling it to grab as much as it can (.*); a better solution would
be

(/([EMAIL PROTECTED] )/)

which tells it to grab the smallest amount it can before the space.
Even better would be:

(/([EMAIL PROTECTED])\s/)

which grabs any word character, period, hyphen or underscore up to
a space.  Check your local listings to make sure I'm not leaving
out any characters legal for domain names.

 
 If (/(Net-.??-.??-.??-0-1)/)
  {
   $net_block = ${1};
  }
 
 The data is (Net-xxx-xxx-xxx-0-1)
 Each xxx group will all ways by 1 to 3 digits long and different
 combinations every time.
 When matched I want $net_block just to hold  Net-xxx-xxx-xxx-0-1
 What is the correct syntax?

Something like:

(/(Net-\d{1,3}-\d{1,3}-\d{1,3}-0-1)/

BTW, you'd be better off emailing Perl questions to a Perl-related
mailing list or newsgroup, or posting them to Perlmonks.org.

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RAID-5 Failure And Booting

2004-05-29 Thread Rishi Chopra
My RAID-5 array seems to have died this weekend.  After coming back from
a motorcycle-riding class, I noticed my internet connection was down.  I
hooked up a monitor and a keyboard to my FreeBSD box, and noticed that
the OS was no longer running, that the computer had rebooted, and that
the BIOS message was Insert Bootable Media In The Appropriate Drive.
I'm unfamiliar with this particular message; can anyone explain what
might have happened?  My understanding is that, since the computer is
running a RAID5 array (Adaptec 2400A card + (4) WD2000JB drives) even if
one drive fails, the computer will continue running.  I checked the 
drives and all 4 are fine; the RAID BIOS also says the array is intact. 
 Unfortunately, Partition Magic and the FreeBSD install program both 
indicate that there is no partition table.

How big is the partition table?  Does it fit on one 8K stripe, or is it 
larger than 8K?  I have a partion table editing program at my disposal; 
can anyone suggest how I might go about editing the partition table to 
reclaim the array?

--
   ._  .
   |\_|/__/|
 .--. / / \/ \  \
 | Rishi Chopra |/__| oo |__ \
 | http://www.ocf.berkeley.edu/~rchopra |   |/_ \_/\_/ _\ |
 `--'   | | () | ||
  \  \/\___/\__/  //
  \  (_/ ||
 |  ||
 |  ||\
  \   .//_/
   \__//
  __|| __||
 (()

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


NIS - FreeBSD server and Linux clients

2004-05-29 Thread Tom Munro Glass
I want to use my FreeBSD 4.9 server for authenticating logons to my Gentoo 
clients. I've set up NIS server as described in the handbook, and if I run 
ypcat on the Linux client, it is obtaining information from the server. 
However, it is faiing to authenticate users defined on the FreeBSD machine. 

Should this work, or is there a problem with the differences between how 
FreeBSD/Linux use the passwd file?

Any advice would be much appreciated.

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


5.2.1 on Presario R3000

2004-05-29 Thread Jason Dusek
I'm sorry, I forgot the subject line last time.
Hi All,
I am installing 5.2.1 on a Compaq Presario R3000. I made the CDs with 
Roxio
Classic Creator on the Windows side.

The machine gets to the boot select screen okay, but no matter what 
boot option
I go with the machine powers down. I've tried option 2 (FreeBSD without 
ACPI)
several times.

So, what do I do now? This machine is hardly my first choice, but it's 
a gift
and I'm stuck with it. It's got nice hardware, but there just seems to 
be no way
around the Compaq curse...

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


huge xfree86 problems with an acer on freebsd 5.2.1

2004-05-29 Thread stefan
Hi, i already posted this on x11 but hey i really need help so please don't hold it 
against me...

I have an acer aspire 1350LC with a via chipset for the graphics. I got x working once 
on 4.9, same laptop when i had been messing around with 4.4.0 and ports so after a 
while it was a really broken install but suddenly it started working using the auto 
configure thing, first thing i tried to do was to write my own conf file which failed 
over and over again. I can't use the auto configure thing since it produced a very low 
resolution, even if i could figure out how to use auto configure with xfree and 
increase the res i doubt i'd be able to reproduce last time on 5.2.1 now because it 
was all a large mess of ports and bloody xfree86 guts all over the place.

Anyways the situation now is that i get no errors to stdout. Checking the logfile i 
see that everything is going just fine until it reads the hsync value, this is what it 
looks like:

(--) via(0): No DDC signal
(II) via(0): Monitor0: Using hsync value of 31.50 kHz
(II) via(0): Monitor0: Using vrefresh range of 50.00-90.00 Hz
(II) via(0): Clock range:  20.00 to 230.00 MHz
(II) via(0): Not using default mode 640x350 (hsync out of range)
(II) via(0): Not using default mode 320x175 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x400 (hsync out of range)
(II) via(0): Not using default mode 320x200 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 720x400 (hsync out of range)
(II) via(0): Not using default mode 360x200 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 640x480 (hsync out of range)
(II) via(0): Not using default mode 320x240 (bad mode clock/interlace/doublescan)
[...]
(II) via(0): Not using default mode 1600x1024 (hsync out of range)
(II) via(0): Not using default mode 800x512 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1920x1440 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 960x720 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 2048x1536 (bad mode clock/interlace/doublescan)
(II) via(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan)
(II) via(0): Not using mode 1024x768 (no mode of this name)
(--) via(0): Virtual size is 640x480 (pitch 640)
(**) via(0): *Default mode 640x480: 25.2 MHz (scaled from -1206751.2 MHz), 31.5 kHz, 
60.0 Hz
(II) via(0): Modeline 640x480   25.20  640 656 752 800  480 490 492 525 -hsync -vsync

After this it goes on with loading a few modules, showing me some resource ranges 
after preInit, mapping frambuffer and exits after a few of these messages.

(II) via(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 0x
(==) via(0): Write-combining range (0xa,0x1) was already clear






Med vänliga hälsningar

Stefan Midjich, Swebase AB
Tel: 042-20 15 00
Fax: 042-20 15 03
E-post: [EMAIL PROTECTED]
Webb: http://swebase.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS - FreeBSD server and Linux clients

2004-05-29 Thread Saint Aardvark the Carpeted
Tom Munro Glass disturbed my sleep to write:
 I've set up NIS server as described in the handbook, and if I run 
 ypcat on the Linux client, it is obtaining information from the server. 
 However, it is faiing to authenticate users defined on the FreeBSD machine. 
 Should this work, or is there a problem with the differences between how 
 FreeBSD/Linux use the passwd file?

This should work; I've got a Linux machine at work succesfully
authenticating NIS accounts against a FreeBSD server.  I believe
that the differences in passwd files are strictly in the master.passwd
(FreeBSD) and shadow (Linux) files; the files /etc/passwd have the 
same format in both OS'.

I'd suspect problems in the way the clients have been configured.
Check that the password and group files have been set up correctly
(I screw up the sequence of plus signs and colons regularly), and
that the NIS domain has been set.

Hope that helps!

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Policy filtering with postfix

2004-05-29 Thread Robert Storey
I'm not an expert on Postfix or any other MTA, but it might be that your
logs are displaying headers or attachments with high-order ASCII text
used by non-Roman scripts (Chinese, Korean and Japanese would be good
examples).

I have some files from Chinese Windows (Word docs and html) and when I
list the filesnames at the console in FreeBSD, this is how they display:


.doc
.htm
1?1.doc
??.doc
??? .doc
?  ??.doc
?? ?.doc
??.htm
.doc
??.doc
??? ?.doc
??? ??.doc
???.doc
?.doc
??.doc
.doc

So maybe this is your problem.

best regards,
Robert

On Sun, 30 May 2004 01:43:54 +0300
Lefteris Tsintjelis [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to setup policy but I keep on getting all these  in
 my log files.
 
 postfix/policy-spf[15755]: : testing: stripped
 [EMAIL PROTECTED], stripped [EMAIL PROTECTED]
 postfix/policy-spf[15755]: : SPF :
 smtp_comment=
 ,
 header_comment=??
 ?? postfix/policy-spf[15755]:
 decided action=DUNNO 
 
 Are all these  normal to show up in the maillog? Anyone has any
 idea what they are? I suspect it maybe an IPv6 problem. Can anyone
 please confirm it?
 
 Thank you,
 Lefteris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


socket resource / vm.zone question?

2004-05-29 Thread Henrik Hudson
Hey List-

I just installed Bind9 from ports (9.2.3) and I'm running into, I'm guessing, 
a resource issue.

i'm setting up a slave server for a master of about 770 zones. When I pull in 
all the zones for the init of the slave I start getting socket.c errors and 
48/Address already in use and failed setting up socket.

Checking the Bind9 list I found one guy who was having issues and thought it 
was a TCP_WAIT issue and he was running out of sockets. His solution was to 
lower the MSL. (sysctl shows 3 on my box..which is 30seconds???)

Now, I'm guessing I'm just running out of resources, but I can't figure out 
what one. Here is the output and some info of stuff I think is relevant :)

I'm not seeing any errors on the master.

Box: 4.10 rel with 1GB RAM connecting to the master via a cable modem 
internet.

kernel config:
maxusers 512
NMBCLUSTERS=81920

netstat -am:
67/368/327680 mbufs in use (current/peak/max):
65 mbufs allocated to data
2 mbufs allocated to packet headers
64/160/81920 mbuf clusters in use (current/peak/max)
412 Kbytes allocated to network (0% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

netstat -an | grep TIME_WAIT | wc -l:
first error at  70
max: 266

sysctl vm.zone:
ITEMSIZE LIMITUSEDFREE  REQUESTS

PIPE:160,0,  6, 96, 8444
SWAPMETA:160,   126419,  0,  0,0
unpcb:   160,0,  9, 41, 1386
ripcb:   192,81920,  0, 42,   24
syncache:160,15359,  0, 51,   63
tcpcb:   576,81920,279, 19, 7395
udpcb:   192,81920,  7, 35,  158
socket:  224,81920,295, 34, 8965
KNOTE:64,0,  1,127,   62
DIRHASH:1024,0,222,  6,  244
NFSNODE: 352,0,  0,  0,0
NFSMOUNT:544,0,  0,  0,0
VNODE:   192,0,  17855, 59,17855
NAMEI:  1024,0,  0, 16,   304455
VMSPACE: 192,0, 28,100,11434
PROC:416,0, 34, 64,11455
DP fakepg:64,0,  0,  0,0
PV ENTRY: 28,  2158060,  13370, 244460,  2488400
MAP ENTRY:48,0,514,294,   251353
KMAP ENTRY:   48,64580,140,158,12462
MAP: 108,0,  7,  3,7
VM OBJECT:92,0,   9252,   2268,   156118


The socket line is about the only one I can see that seems to approach 0 free. 

/etc/sysctl.conf:
#maxfiles open
kern.maxfiles=32768
kern.maxfilesperproc=32768

#number of listening network conns (default 128)
kern.ipc.somaxconn=1024

#keeps connections open and checks them for disconnects
net.inet.tcp.always_keepalive=1  note: i tried 0 here too)

#last open port to be used by the system
net.inet.ip.portrange.last=1  (note: tried this too)


I'm kind of stumped :)

Thanks for any pointers or ideas.


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

RTFM: Not just an acronym, it's the LAW!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS - FreeBSD server and Linux clients

2004-05-29 Thread Tom Munro Glass
 This should work; I've got a Linux machine at work succesfully
 authenticating NIS accounts against a FreeBSD server.  I believe
 that the differences in passwd files are strictly in the master.passwd
 (FreeBSD) and shadow (Linux) files; the files /etc/passwd have the
 same format in both OS'.

 I'd suspect problems in the way the clients have been configured.
 Check that the password and group files have been set up correctly
 (I screw up the sequence of plus signs and colons regularly), and
 that the NIS domain has been set.


So how does Linux authenticate the password? 'ypwhich -m' shows passwd.byname, 
passwd.byuid, master.passwd.byname, master.passwd.byuid but of course there 
is no shadow.byname or shadow.byuid.

I believe that I have the passwd and group files set up correctly on the Linux 
machines, and I don't really know where to look next.

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