Re: /dev/cuaa gone in 6.0?? /dev/console doesn't work...

2006-03-08 Thread Kris Kennaway
On Wed, Mar 08, 2006 at 08:30:12PM -0800, Mark Jayson Alvarez wrote:
 Hi,
  I'm trying to secure our cisco router by hooking its console to a freebsd 
 6.0 box. I was reading this document: 
 http://www.onlamp.com/pub/a/bsd/2001/10/11/FreeBSD_Basics.html
  
  
   It seems like /dev/cuaaN has been replaced by /dev/console.

No, they're different.  Anyway, /dev/cuaaN was replaced by /dev/cuadN.

Kris


pgpQ1MXxzUBfP.pgp
Description: PGP signature


deleting files not releasing space

2006-03-08 Thread Steel City Phantom
i just deleted 100 megs of files out of my temp dir and df -h doesn't 
show the space freed yet.  it has done this in the past and a reboot 
will always give me my space back, but why doesn't it do it immediatly?

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


Re: deleting files not releasing space

2006-03-08 Thread Philip Hallstrom
i just deleted 100 megs of files out of my temp dir and df -h doesn't show 
the space freed yet.  it has done this in the past and a reboot will always 
give me my space back, but why doesn't it do it immediatly?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/cuaa gone in 6.0?? /dev/console doesn't work...

2006-03-08 Thread Mark Jayson Alvarez


Kris Kennaway [EMAIL PROTECTED] wrote:
No, they're different.  Anyway, /dev/cuaaN was replaced by /dev/cuadN.

Kris
 
 Ok, its working now.. How about multiple console connections using just a 
single console cable?? sort of like pseudo terminal used by ssh.
 


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/cuaa gone in 6.0?? /dev/console doesn't work...

2006-03-08 Thread Kris Kennaway
On Wed, Mar 08, 2006 at 09:13:51PM -0800, Mark Jayson Alvarez wrote:
 
 
 Kris Kennaway [EMAIL PROTECTED] wrote:
 No, they're different.  Anyway, /dev/cuaaN was replaced by /dev/cuadN.
 
 Kris
  
  Ok, its working now.. How about multiple console connections using just a 
 single console cable?? sort of like pseudo terminal used by ssh.

No idea, perhaps the conserver port.

Kris


pgpjbSHk7N9xW.pgp
Description: PGP signature


Re: /dev/cuaa gone in 6.0?? /dev/console doesn't work...

2006-03-08 Thread Mark Jayson Alvarez


Kris Kennaway [EMAIL PROTECTED] wrote: On Wed, Mar 08, 2006 at 09:13:51PM 
-0800, Mark Jayson Alvarez wrote:
 
 
 Kris Kennaway  wrote:
 No, they're different.  Anyway, /dev/cuaaN was replaced by /dev/cuadN.
 
 Kris
  
 Ok, its working now.. How about multiple console connections using just a 
 single console cable?? sort of like pseudo terminal used by ssh.

No idea, perhaps the conserver port.

 I also thinks so, I'm reading this one now:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/console-server/article.html
 
 
  Kris
 


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 

-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: coming back up after power failure (UPS)

2006-03-08 Thread Peter

--- Derek Ragona [EMAIL PROTECTED] wrote:

 Peter,
 
 Look in the bios in the power management section, for something like
 after 
 loss of power, there set the action to power on, as opposed to stay
 off, or 
 anything else.
 
 You can test this just power on the unit and pull the plug during the
 bios 
 post.  If it comes back on when you plug it back in, you have it
 right.
 
 I have NUT set to power down on low battery, so if you need help, let
 me know.
 
  -Derek
 
 
 At 05:39 PM 3/8/2006, Peter wrote:
 
 --- Philip Hallstrom [EMAIL PROTECTED] wrote:
 
On an updated 5.4 box I am using Network UPS Tools (NUT) with
 an
   APC
Smart-UPS.
   
All is going very well but I cannot bring my box back up after
simulating a power failure.  At the end of the shutdown the
 screen
shows:
   
Press any key to reboot
   
Obviously this is not the desired outcome.
   
How can I get my system to go down completely?  Beyond this I
understand there may be some BIOS adjustments to be made.
  
   man shutdown...
  
 -p  The system is halted and the power is turned off
   (hardware
 support required) at the specified time.
  
   for starters... but yeah, you might need some BIOS changes...
  
 
 Well I tried the -p switch and, indeed, the system came down
 completely.  But now it just
 sits there.  This is after I enabled this setting in my BIOS:
 
 PME Event Wake UP
 
 I figured that would do the trick but evidently not.  Anything else
 I
 should be looking at?  How long should the system wait before coming
 back up?  I waited only a minute.

I did it!

I was almost resigned to the fact that this would not work.  One last
rummage around the BIOS and I see this setting:

AC Back Function

Doesn't exactly draw much attention does it?  But that was it.  Damn.

--
Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What process is LOISTENingon a given port

2006-03-08 Thread Olivier Nicole
Hi,

In 5.4, who to know what process is LISTENing on a given TCP or UDP
port?

Bestregards,

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


ATA Raid (Adaptec 1200A) on Freebsd 6.0

2006-03-08 Thread Demian

Hello all,

I have just recently setup a RAID 1 system running FreeBSD 6.0-RELEASE 
on an Adpatec 1200A card. Getting the system installed and working seems 
to have been the easy part. What I am trying to do now is find a simple 
and reliable way to monitor the array. So far I have tried to get 
raidutil. acccli, and hptraidconf (Highpoint software) working. The only 
thing that works is atacontrol. Here is what I have come to discover 
(please tell me if I'm wrong) ..


raidutil is for asr systems (I'm have ar0)
acccli is for aac systems (again, ar0)
hptraidconf requires the highpoint driver which I don't seem to need in 
6.0. However, the software does work with some minor tweaking of 
symlinks in /usr/lib.


So, here's my question. It is reasonable to setup a cron job to monitor 
the output of atacontrol status ar0 and if I see anything other than 
READY, send an alert? I would then use the cards bios to handle the 
rebuild of the array with the new drive.


The other option that I can think of is to load the Highpoint Rocketraid 
driver but I don't know if that's a good idea or not. I'm assuming the 
hptraidconf software will detach the controllers if I'm using their 
driver. However, all I did to get the system installed as to create the 
array using the cards bios and put the 6.0 disc in. The installer found 
ar0 and I installed to it.


Any help would be greatly appreciated. I've looked and looked all over 
google and the this mailing list but most posts are about different 
cards using asr.


Thanks much,
Demian

p.s. Here is some info that my prove useful

FreeBSD godzilla 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Wed Mar  8 21:40:38 
PST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GODZILLA  i386


[EMAIL PROTECTED] /usr/home/demian# dmesg | egrep 'HighPoint|ar0'
atapci1: HighPoint HPT370 UDMA100 controller port 
0xac00-0xac07,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbcff 
irq 18 at device 9.0 on pci0

ar0: 58644MB HighPoint v2 RocketRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master

I have three drives connected to the 1200A. FreeBSD is installed on ad4 
and mirrored to ad6. ad5 is a stand alone drive.


[EMAIL PROTECTED] /usr/home/demian# atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad6 status: READY

[EMAIL PROTECTED] /usr/home/demian# atacontrol list
ATA channel 0:
   Master:  no device present
   Slave:   no device present
ATA channel 1:
   Master: acd0 AOpen 12X DVD-ROM/ASH 01112001/R22 Slave:   
no device present

ATA channel 2:
   Master:  ad4 Maxtor 6Y060L0/YAR41VW0 ATA/ATAPI revision 7
   Slave:   ad5 Maxtor 6Y160P0/YAR41BW0 ATA/ATAPI revision 7
ATA channel 3:
   Master:  ad6 Maxtor 6Y060L0/YAR41VW0 ATA/ATAPI revision 7
   Slave:   no device present


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


Re: What process is LOISTENingon a given port

2006-03-08 Thread Kris Kennaway
On Thu, Mar 09, 2006 at 01:22:33PM +0700, Olivier Nicole wrote:
 Hi,
 
 In 5.4, who to know what process is LISTENing on a given TCP or UDP
 port?

sockstat

Kris


pgpibEePlVVUq.pgp
Description: PGP signature


How to keep the options with potupgrade

2006-03-08 Thread Olivier Nicole
Hi,

I usually build my Apache server with the option
WITH_APACHE_SUEXEC=yes defined.

How/where/what to configure to make sure that a portupgrade -R
apache13-modssl will use the same option when rebuilding?

Best regards,

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


Re: How to keep the options with potupgrade

2006-03-08 Thread Peter

--- Olivier Nicole [EMAIL PROTECTED] wrote:

 Hi,
 
 I usually build my Apache server with the option
 WITH_APACHE_SUEXEC=yes defined.
 
 How/where/what to configure to make sure that a portupgrade -R
 apache13-modssl will use the same option when rebuilding?

You can use pkgtools.conf.  Look for the MAKE_ARGS section.

--
Peter

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to keep the options with potupgrade

2006-03-08 Thread Yuan Jue
On Thursday 09 March 2006 15:26, Olivier Nicole wrote:
 Hi,

 I usually build my Apache server with the option
 WITH_APACHE_SUEXEC=yes defined.

 How/where/what to configure to make sure that a portupgrade -R
 apache13-modssl will use the same option when rebuilding?

I don't know the standard way to do it, but you may try to put 
'WITH_APACHE_SUEXEC=yes' in /etc/make.conf

Good luck

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


Re: How to keep the options with potupgrade

2006-03-08 Thread Mihai Tanasescu
I think this can be achieved using pkgtools.conf and specifying that for 
the apache13-modssl port.


from pkgtools.conf examples:
 #   MAKE_ARGS = {
 # # a) Separate them with the space
 # 'databases/mysql41-*' = 'WITH_LINUXTHREADS=1 SKIP_DNS_CHECK=1',
 #
 # # b) Specify them using an array
 # 'databases/mysql41-*' = [
 #'WITH_LINUXTHREADS=1',
 #'SKIP_DNS_CHECK=1',
 # ],
 #   }

Olivier Nicole wrote:


Hi,

I usually build my Apache server with the option
WITH_APACHE_SUEXEC=yes defined.

How/where/what to configure to make sure that a portupgrade -R
apache13-modssl will use the same option when rebuilding?

Best regards,

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


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


<    1   2