Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar

Wojciech Puchar wrote:

can older Xorg server be used with just updated drivers?
drivers are separate modules.



Never tried, but the way Xorg is going this looks kind of frightening ;)


that's why i'm asking. To do it that way in port system, because Xorg 
started to follow "linux way" and "kde/gnome way" i.e.


- adding hald as a "requirement" by default
- disabling CTRL-ALT-backspace by default - of course user should not 
leave X session, it's forbidden ;)


it's not funny, because while i don't use all these KDE/gnome things, i do 
need X.


Actually X11 isn't quite unix philosophy, it should be graphics support in 
console driver, but it's not possible to do it now with so many gfx cards.



I wonder how long it will take that we will have to build our own 
computer to be able to run unix normally. Maybe someone will do, using off 
the shelf CPUs, and quite simple gfx controller.
Actually not many unix users do need all these 3D functions. most just 
need framebuffer with 2D acceleration.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Wojciech Puchar wrote:
> can older Xorg server be used with just updated drivers?
> drivers are separate modules.
>

Never tried, but the way Xorg is going this looks kind of frightening ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Samuel Martín Moro
it may, dealing with portupgrade/portdowngrade
but setting AllowEmptyInput (ServerLayout) works.

hal is'nt well documented...
it'ld be a good idea to explain its configuration in the handbook


Samuel Martín Moro
CamTrace
{EPITECH.} tek3


On Sun, Jun 7, 2009 at 7:48 PM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:

> can older Xorg server be used with just updated drivers?
> drivers are separate modules.
>
>
> On Sun, 7 Jun 2009, Manolis Kiagias wrote:
>
>  Manolis Kiagias wrote:
>>
>>> Luke Dean wrote:
>>>
>>>  This is an answer to a question I started to post, but then decided to
 research instead.  I know many readers of this list use the feature I'm
 describing.

 When Xorg was upgraded to version 7.4, the historic ability to shut
 down X
 with Control+Alt+Backspace became a non-default option.  The solution to
 re-enabling this behavior was to add
Option "DontZap" "off"
 to the ServerLayout or ServerFlags section of xorg.conf as documented in
 a note in the Handbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

 A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the
 solution
 in the Handbook is no longer sufficient.

 The new solution that gets Control+Alt+Backspace working for me
 again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
 to the "InputDevice" section of xorg.conf.



>>> Thanks for mentioning this. I have not yet upgraded to the new version
>>> of xkeyboard-config, but will try this and update the Handbook
>>> accordingly.
>>>
>>>
>>>
>> This gets even more complicated - the setting in xorg.conf will only be
>> effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
>> false).  On systems that totally rely on HAL for device detection, the
>> setting has to be moved to an XML file like this:
>>
>> 
>> 
>>  
>>
>>  kbd
>>  pc105
>>  us
>>  xorg
>>  > type="string">terminate:ctrl_alt_bksp
>>
>>  
>> 
>>
>> which should be named i.e. keyboard.fdi and placed in
>> /usr/local/etc/hal/fdi/policy
>>
>> In light of the above, I feel we probably need to add a section on
>> "Configuring Additional Options Using HAL" to the Handbook.
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>>  ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Luke Dean



On Sun, 7 Jun 2009, Manolis Kiagias wrote:


Manolis Kiagias wrote:

Luke Dean wrote:


This is an answer to a question I started to post, but then decided to
research instead.  I know many readers of this list use the feature I'm
describing.

When Xorg was upgraded to version 7.4, the historic ability to shut
down X
with Control+Alt+Backspace became a non-default option.  The solution to
re-enabling this behavior was to add
Option "DontZap" "off"
to the ServerLayout or ServerFlags section of xorg.conf as documented in
a note in the Handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
in the Handbook is no longer sufficient.

The new solution that gets Control+Alt+Backspace working for me
again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
to the "InputDevice" section of xorg.conf.




Thanks for mentioning this. I have not yet upgraded to the new version
of xkeyboard-config, but will try this and update the Handbook accordingly.




This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:



  

  kbd
  pc105
  us
  xorg
  terminate:ctrl_alt_bksp

  


which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.


Oh, okay.  I'm not running HAL and I do have "AllowEmptyInput" and
"AutoAddDevices" off, so just modifying the xorg.conf was enough
for me.
So far I've avoided HAL because it seems complicated and scary,
and I don't know what the benefits of using it would be aside
from some automounting tricks that I can live without.  It does seem
to be the wave of the future however, so any documentation that might
help ease me into that transition would be appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Wojciech Puchar

can older Xorg server be used with just updated drivers?
drivers are separate modules.

On Sun, 7 Jun 2009, Manolis Kiagias wrote:


Manolis Kiagias wrote:

Luke Dean wrote:


This is an answer to a question I started to post, but then decided to
research instead.  I know many readers of this list use the feature I'm
describing.

When Xorg was upgraded to version 7.4, the historic ability to shut
down X
with Control+Alt+Backspace became a non-default option.  The solution to
re-enabling this behavior was to add
Option "DontZap" "off"
to the ServerLayout or ServerFlags section of xorg.conf as documented in
a note in the Handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
in the Handbook is no longer sufficient.

The new solution that gets Control+Alt+Backspace working for me
again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
to the "InputDevice" section of xorg.conf.




Thanks for mentioning this. I have not yet upgraded to the new version
of xkeyboard-config, but will try this and update the Handbook accordingly.




This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:



  

  kbd
  pc105
  us
  xorg
  terminate:ctrl_alt_bksp

  


which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-07 Thread Manolis Kiagias
Manolis Kiagias wrote:
> Luke Dean wrote:
>   
>> This is an answer to a question I started to post, but then decided to
>> research instead.  I know many readers of this list use the feature I'm
>> describing.
>>
>> When Xorg was upgraded to version 7.4, the historic ability to shut
>> down X
>> with Control+Alt+Backspace became a non-default option.  The solution to
>> re-enabling this behavior was to add
>> Option "DontZap" "off"
>> to the ServerLayout or ServerFlags section of xorg.conf as documented in
>> a note in the Handbook
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
>>
>> A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
>> in the Handbook is no longer sufficient.
>>
>> The new solution that gets Control+Alt+Backspace working for me
>> again is to add
>> Option  "XKbOptions" "terminate:ctrl_alt_bksp"
>> to the "InputDevice" section of xorg.conf.
>>
>> 
>
> Thanks for mentioning this. I have not yet upgraded to the new version
> of xkeyboard-config, but will try this and update the Handbook accordingly.
>
>   

This gets even more complicated - the setting in xorg.conf will only be
effective when "AutoAddDevices" is false (or "AllowEmptyInput" is
false).  On systems that totally rely on HAL for device detection, the
setting has to be moved to an XML file like this:


 
   
 
   kbd
   pc105
   us
   xorg
   terminate:ctrl_alt_bksp
 
   
 

which should be named i.e. keyboard.fdi and placed in
/usr/local/etc/hal/fdi/policy

In light of the above, I feel we probably need to add a section on
"Configuring Additional Options Using HAL" to the Handbook.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Shutting down X with control+alt+backspace

2009-06-06 Thread Manolis Kiagias
Luke Dean wrote:
>
> This is an answer to a question I started to post, but then decided to
> research instead.  I know many readers of this list use the feature I'm
> describing.
>
> When Xorg was upgraded to version 7.4, the historic ability to shut
> down X
> with Control+Alt+Backspace became a non-default option.  The solution to
> re-enabling this behavior was to add
> Option "DontZap" "off"
> to the ServerLayout or ServerFlags section of xorg.conf as documented in
> a note in the Handbook
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
>
> A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
> in the Handbook is no longer sufficient.
>
> The new solution that gets Control+Alt+Backspace working for me
> again is to add
> Option  "XKbOptions" "terminate:ctrl_alt_bksp"
> to the "InputDevice" section of xorg.conf.
>

Thanks for mentioning this. I have not yet upgraded to the new version
of xkeyboard-config, but will try this and update the Handbook accordingly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Shutting down X with control+alt+backspace

2009-06-05 Thread Luke Dean


This is an answer to a question I started to post, but then decided to
research instead.  I know many readers of this list use the feature I'm
describing.

When Xorg was upgraded to version 7.4, the historic ability to shut down X
with Control+Alt+Backspace became a non-default option.  The solution to
re-enabling this behavior was to add
Option "DontZap" "off"
to the ServerLayout or ServerFlags section of xorg.conf as documented in
a note in the Handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html


A few days ago, x11/xkeyboard-config was upgraded to 1.6 and the solution
in the Handbook is no longer sufficient.

The new solution that gets Control+Alt+Backspace working for me
again is to add
Option  "XKbOptions" "terminate:ctrl_alt_bksp"
to the "InputDevice" section of xorg.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Trouble Shutting down

2008-10-24 Thread Glen Barber
** Forgot to CC the list, in case anyone is actually watching this thread.**


>
> Theirs nothing in the /etc/X11 folder or a xorg.conf file, I think Xorg
> automatically did everything
>

Well, if you say you ran 'X -configure', it should've created an
xorg.conf file.  If you ran it as root (which you almost probably had
to), check in /root

>From what you've told me before, I can pretty well guess that you
don't have your necessary Xorg drivers installed for your graphics
card.  I suggest reading the manual on how to resolve this -- but
don't expect miracles as far as ATI goes.

If you don't know how to manage Xorg, I doubt you should be running -CURRENT.


--
Glen Barber



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


Re: Trouble Shutting down

2008-10-24 Thread Glen Barber
On Fri, Oct 24, 2008 at 6:25 AM, Juan Ortega <[EMAIL PROTECTED]> wrote:
>
> I'm not sure, when I first installed FreeBSD "X -configure" did everything
> in KInfoCenter the X-Server seems to be ok
> maybe since its snapshot version of FreeBSD the graphics drivers are
> in "testing"?
>

What driver does /etc/X11/xorg.conf have listed for your graphics driver?

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


Re: Trouble Shutting down

2008-10-24 Thread Glen Barber
On Fri, Oct 24, 2008 at 12:39 AM, Juan Ortega <[EMAIL PROTECTED]> wrote:
> On Thursday 23 October 2008 17:41:40 you wrote:
>> On Wed, Oct 22, 2008 at 1:42 AM, Juan Ortega <[EMAIL PROTECTED]>
> wrote:
>> > I'm using FreeBSD amd64  8-0-Current
>> >
>> > I set up window maker to start by "startx" command,
>> > but when I exit the window maker the screen just turns
>> > black nothing works so I'm force to unplug the power each
>> > time. This happens "sometimes" other times the terminal
>> > shows up and I can shutdown manually. Since I'm using
>> > a snapshot version of FreeBSD is this a bug?
>> >
>> > I'm not sure what logs to copy and paste here for more information.
>>
>> Do you have the drivers for your graphics card installed?  What type
>> of graphics card is this?
>
> My laptop is HP Pavilion tx2510us
> and uses the graphics card ATI Radeon(TM) HD 3200 Graphics
> everything works expect even when the terminal does come up
> it gives this error
> xauth: (argv):1: bad display name "replay.free-bsd.net:0" in "remove" command
>
> ideas?
>

Please don't only reply to me, if your initial question was towards
the list -- someone else may see something I'm missing.

You never answered my initial question.  Are the proper xorg drivers
for your graphics card installed?  I ask again, because I've seen
several situations where non-existent or incorrect graphics drivers
make X do bad/odd things when exiting -- I've experienced this
situation myself.

I know nothing about ATI, other than it doesn't play well with any of
the OSes I use, so I don't buy it.

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


Re: Shutting down help

2008-10-24 Thread Derek Ragona

At 02:48 PM 10/23/2008, Juan Ortega wrote:

I'm using FreeBSD amd64  8-0-Current

I set up window maker to start by "startx" command,
but when I exit the window maker the screen just turns
black nothing works so I'm force to unplug the power each
time. This happens "sometimes" other times the terminal
shows up and I can shutdown manually. Since I'm using
a snapshot version of FreeBSD is this a bug?

I'm not sure what logs to copy and paste here for more information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Use:
ctrl+alt+backspace to kill your x server.  I suspect you have the wrong 
program starting in your startx.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Trouble Shutting down

2008-10-23 Thread Glen Barber
On Wed, Oct 22, 2008 at 1:42 AM, Juan Ortega <[EMAIL PROTECTED]> wrote:
> I'm using FreeBSD amd64  8-0-Current
>
> I set up window maker to start by "startx" command,
> but when I exit the window maker the screen just turns
> black nothing works so I'm force to unplug the power each
> time. This happens "sometimes" other times the terminal
> shows up and I can shutdown manually. Since I'm using
> a snapshot version of FreeBSD is this a bug?
>
> I'm not sure what logs to copy and paste here for more information.
>

Do you have the drivers for your graphics card installed?  What type
of graphics card is this?


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


Trouble Shutting down

2008-10-23 Thread Juan Ortega
I'm using FreeBSD amd64  8-0-Current

I set up window maker to start by "startx" command,
but when I exit the window maker the screen just turns
black nothing works so I'm force to unplug the power each
time. This happens "sometimes" other times the terminal
shows up and I can shutdown manually. Since I'm using
a snapshot version of FreeBSD is this a bug?

I'm not sure what logs to copy and paste here for more information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shutting down help

2008-10-23 Thread Juan Ortega
I'm using FreeBSD amd64  8-0-Current

I set up window maker to start by "startx" command,
but when I exit the window maker the screen just turns
black nothing works so I'm force to unplug the power each
time. This happens "sometimes" other times the terminal
shows up and I can shutdown manually. Since I'm using
a snapshot version of FreeBSD is this a bug?

I'm not sure what logs to copy and paste here for more information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Xfce and shutting down...

2008-04-17 Thread Peter Harrison
Tuesday, 15 April 2008 at 22:53:55 +0100, Peter Harrison said:
> I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
> helps).
> 
> I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the 
> Xfce opanel shutdown button to poweroff the system (with the appropriate 
> entry in sudoers).
> 
> Following the upgrade, I simply get returned to the login screen, with the 
> following message repeated twice in /var/log/messages:
> 
> console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
> `hash_table != NULL' failed
> 
> Can anyone shed any light on what's changed to prevent Xfce from being able 
> to shut the system down? (Note, I can still poweroff by su-ing to root and 
> running 'shutdown -p now').
> 
> Can anyone shed any light?
> 
> Thanks for your help.


Answering my own question, but for the sake of the archives...

It seems that xfsm-shutdown-helper no longer uses sudo to gain the necessary 
privileges to shut the system down - instead it uses hal & policykit.

Unfortunately this changeover doesn't seem to be documented anywhere - either 
for freebsd or xfce. However, give the user the appropriate permissions in 
/usr/local/etc/PolicyKit/PolicyKit.conf (see the man page for details) and it 
all starts working again.



Peter Harrison



> 
> 
> Peter Harrison.
> ___
> 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]"


Xfce and shutting down...

2008-04-15 Thread Peter Harrison
I upgraded my ports a week or so ago (after the Gnome 2.20 upgrade if that 
helps).

I'm running Xfce on both 7.0 and 6.3. Before the upgrade, I could use the Xfce 
opanel shutdown button to poweroff the system (with the appropriate entry in 
sudoers).

Following the upgrade, I simply get returned to the login screen, with the 
following message repeated twice in /var/log/messages:

console-kit-daemon[839]: GLib-CRITICAL: g_hash_table_destroy: assertion 
`hash_table != NULL' failed

Can anyone shed any light on what's changed to prevent Xfce from being able to 
shut the system down? (Note, I can still poweroff by su-ing to root and running 
'shutdown -p now').

Can anyone shed any light?

Thanks for your help.


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


Re: Shutting down as user

2006-11-16 Thread Henry Lenzi

On 11/16/06, Parv <[EMAIL PROTECTED]> wrote:

in message <[EMAIL PROTECTED]>,
wrote Rem P Roberti thusly...
>
> I just installed 6.1 on an old laptop, and I am unable to shutdown
> as user.  I get a "permission denied" error message.

Other than already proposed solution, given that you are the only
person sitting near the machine & working power management, a press
of the power button should cleanly shut down the computer.


Yes, if you have acpi enabled, you can do that.
Otherwise, the OP may consider editing a sudoer list.

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


RE: Shutting down as user

2006-11-15 Thread Wood, Russell
I didn't the proposed solution so if it's the same, I apologize. You
could always add the user to the Operators group, which would then grant
them permissions to shutdown/reboot.

Regards,
Russell

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Parv
Sent: Thursday, 16 November 2006 1:02 PM
To: Rem P Roberti
Cc: FreeBSD
Subject: Re: Shutting down as user

in message <[EMAIL PROTECTED]>,
wrote Rem P Roberti thusly...
>
> I just installed 6.1 on an old laptop, and I am unable to shutdown
> as user.  I get a "permission denied" error message.

Other than already proposed solution, given that you are the only
person sitting near the machine & working power management, a press
of the power button should cleanly shut down the computer.

At least that is what happens on/with FreeBSD 6.x, with ACPI
enabled, on my IBM Thinkpad T42 when I am feeling lazy enough to
avoid typing "shutdown -p now".


  - Parv

-- 

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


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutting down as user

2006-11-15 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Rem P Roberti thusly...
>
> I just installed 6.1 on an old laptop, and I am unable to shutdown
> as user.  I get a "permission denied" error message.

Other than already proposed solution, given that you are the only
person sitting near the machine & working power management, a press
of the power button should cleanly shut down the computer.

At least that is what happens on/with FreeBSD 6.x, with ACPI
enabled, on my IBM Thinkpad T42 when I am feeling lazy enough to
avoid typing "shutdown -p now".


  - Parv

-- 

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


Re: Shutting down as user

2006-11-13 Thread David Kelly
On Mon, Nov 13, 2006 at 10:11:11AM -0800, Rem P Roberti wrote:
> >
> >Add yourself to the "operator" group. Just edit /etc/group.
> >
> >  
> Bingo!

Haven't checked recently but in the past any darn fool could
Control-Alt-Delete reboot from the console keyboard. Caused a bit of a
pain when a machine reboots as Microsoft has been teaching their uses
that this is now the login keystroke sequence.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutting down as user

2006-11-13 Thread Rem P Roberti



On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote:
  
Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
shutdown as user.  I get a "permission denied" error message.  I know 
that this is probably some simple permission's thing, as I don't have 
that problem on my desktop, but I'm pretty new to all of this and would 
appreciate a heads up on how to shut down as user.  Thanks.



Add yourself to the "operator" group. Just edit /etc/group.

  




I knew that the solution was a simple one, I just couldn't remember what 
it was.  Thanks, David.


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


Re: Shutting down as user

2006-11-13 Thread Rem P Roberti



On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote:
  
Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
shutdown as user.  I get a "permission denied" error message.  I know 
that this is probably some simple permission's thing, as I don't have 
that problem on my desktop, but I'm pretty new to all of this and would 
appreciate a heads up on how to shut down as user.  Thanks.



Add yourself to the "operator" group. Just edit /etc/group.

  

Bingo!

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


Re: Shutting down as user

2006-11-13 Thread Rem P Roberti



On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote:

  
Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
shutdown as user.  I get a "permission denied" error message.  I know 
that this is probably some simple permission's thing, as I don't have 
that problem on my desktop, but I'm pretty new to all of this and would 
appreciate a heads up on how to shut down as user.  Thanks.



In some way or other, shutdown must be done by root, or possibly by
someone in the operator group.

You can log in as root -- for which you will need the root password
You can 'su' to root from a regular account -- for which you will need
 the root password AND be in the wheel group.
You can create an alkternate root account (recommended) and log in as
 that id or su to it -- which requires creating the account
 with password.
You can put your account in the operator group -- 
You can install and set up 'sudo' to do the shutdown and allow your id

 access to it.

All of these ways require you to have root access to set them up.
They can also be done in 'single user' mode which runs with root priviledge.

All of this is well covered in the handbool and other documentation.

jerry

  


Right.  I now remember that putting the account in the operator group 
was probably how I achieved the affect on the desktop.  I'll check that 
out, and check the handbook.


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


Re: Shutting down as user

2006-11-13 Thread Joe Holden

Rem P Roberti wrote:

That is very true, and I understand why this is by design, but in this 
case the ONLY user of the machine is me.  It really is no big deal, but 
I am trying to understand just what is going on here.  As I said, on my 
desktop I am able to shut down as user, and can't remember how I set it 
up so that occurs.  Back to the handbook!


Do you have (as was mentioned) the shutdown script setuid or something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutting down as user

2006-11-13 Thread Rem P Roberti

Joe Holden wrote:

Rem P Roberti wrote:

I'm using the KDE window manager, but don't see how this would effect 
anything, as I am not able to shut down as user from the console.


This is the intended behaviour, you wouldn't want just anyone to 
shutdown your machines would you? ;)


That is very true, and I understand why this is by design, but in this 
case the ONLY user of the machine is me.  It really is no big deal, but 
I am trying to understand just what is going on here.  As I said, on my 
desktop I am able to shut down as user, and can't remember how I set it 
up so that occurs.  Back to the handbook!


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


Re: Shutting down as user

2006-11-13 Thread David Kelly
On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote:
> Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
> shutdown as user.  I get a "permission denied" error message.  I know 
> that this is probably some simple permission's thing, as I don't have 
> that problem on my desktop, but I'm pretty new to all of this and would 
> appreciate a heads up on how to shut down as user.  Thanks.

Add yourself to the "operator" group. Just edit /etc/group.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutting down as user

2006-11-13 Thread Joe Holden

Rem P Roberti wrote:

I'm using the KDE window manager, but don't see how this would effect 
anything, as I am not able to shut down as user from the console.


This is the intended behaviour, you wouldn't want just anyone to 
shutdown your machines would you? ;)

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


Re: Shutting down as user

2006-11-13 Thread Jerry McAllister
On Mon, Nov 13, 2006 at 09:03:28AM -0800, Rem P Roberti wrote:

> Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
> shutdown as user.  I get a "permission denied" error message.  I know 
> that this is probably some simple permission's thing, as I don't have 
> that problem on my desktop, but I'm pretty new to all of this and would 
> appreciate a heads up on how to shut down as user.  Thanks.

In some way or other, shutdown must be done by root, or possibly by
someone in the operator group.

You can log in as root -- for which you will need the root password
You can 'su' to root from a regular account -- for which you will need
 the root password AND be in the wheel group.
You can create an alkternate root account (recommended) and log in as
 that id or su to it -- which requires creating the account
 with password.
You can put your account in the operator group -- 
You can install and set up 'sudo' to do the shutdown and allow your id
 access to it.

All of these ways require you to have root access to set them up.
They can also be done in 'single user' mode which runs with root priviledge.

All of this is well covered in the handbool and other documentation.

jerry

> 
> Rem
> ___
> 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]"


Re: Shutting down as user

2006-11-13 Thread Rem P Roberti



Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to
shutdown as user.  I get a "permission denied" error message.


Whatever is shutting down the system would either need to be setuid
(chmod u+s), or would need to use sudo (if you have the sudo port and
your user is properly setup in sudoers to issue the shutdown command
or whatever is running).

Some details on which window manager or desktop environment you are
running would help, along with whether or not you are running a
display manager (GDM, KDM, XDM, etc).

Josh



I'm using the KDE window manager, but don't see how this would effect 
anything, as I am not able to shut down as user from the console.


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


Re: Shutting down as user

2006-11-13 Thread Josh Carroll

Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to
shutdown as user.  I get a "permission denied" error message.


Whatever is shutting down the system would either need to be setuid
(chmod u+s), or would need to use sudo (if you have the sudo port and
your user is properly setup in sudoers to issue the shutdown command
or whatever is running).

Some details on which window manager or desktop environment you are
running would help, along with whether or not you are running a
display manager (GDM, KDM, XDM, etc).

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


Shutting down as user

2006-11-13 Thread Rem P Roberti
Hi everyone.  I just installed 6.1 on an old laptop, and I am unable to 
shutdown as user.  I get a "permission denied" error message.  I know 
that this is probably some simple permission's thing, as I don't have 
that problem on my desktop, but I'm pretty new to all of this and would 
appreciate a heads up on how to shut down as user.  Thanks.


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


Re: FreeBSD 6.1 shutting down.

2006-09-14 Thread Kris Kennaway
On Thu, Sep 14, 2006 at 07:29:13PM +, Marwan Sultan wrote:
> hello Lowell,
> 
>   thank you for your reply, i wish you could find some solution for me
>   i tried to google the net, and found many results for atapci1: failed to 
> enable memory mapping!
>   but most with no solutions.

I doubt it's the cause of the problems; most likely you have some
other failing hardware component (bad memory, power supply, etc).
Check the archives for extensive discussion.

Kris

P.S. Don't top-post, it spoils the logical flow of the thread.


pgpvoBONOcdau.pgp
Description: PGP signature


Re: FreeBSD 6.1 shutting down.

2006-09-14 Thread Marwan Sultan
hillispot, MySql 4.1, apache2.
>  acting as NAT and hotspot login.
>
>  there is two diffrent servers with the same specifications.
>
>  Its was working fine starting from day 1 to day 5 uptime.
>  and the other box from day 1 to 3,
>  with almost 30 users as hotspot login.
>
>  On day 5, it had a sudden shutdown, some users called me reported
> there is no internet
>  when i checked the server i discovered the box is off power.
>
>  The second box after 3 days had the same problem.
>
>  when i started the power, for both...again it start to work in a 
goodway.

>
>  I was shocked.. checked messages, dmesg, and almost everything I
> couldnot find any clue
>  in logs.. so
>  question 1, How would i check what happened for this power shutting 
down?


Did the filesystems come up clean?  That would be a hint that the
kernel shut down on purpose.  [I wouldn't expect it, since you said
there were no hints in the logs, but it's worth checking.

Next step is probably to set up a serial console and see if anything
useful is showing up there when the shutdown occurs.  Also try to get
and track any information about system temperature, voltage, and so
on; these kinds of phantom powerdowns are usually power trouble in my
experience.

>  2)
>  in my dmesg and since i was settingup the box, the following error
> was always coming and on
>  single line
>
>  atapci1: failed to enable memory mapping!

I can't find that message in the -STABLE sources.  Admittedly, it was
a very quick search, but are you sure you copied it exactly?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


Re: FreeBSD 6.1 shutting down.

2006-09-10 Thread Lowell Gilbert
"Marwan Sultan" <[EMAIL PROTECTED]> writes:

> Hello everyone,
>
>  I'm On FreeBSD 6.1R, the box is intel945 extra Dlink NIC
>  P4.3 1G DDR2, 160GB sata.
>
>  running Freeradius, chillispot, MySql 4.1, apache2.
>  acting as NAT and hotspot login.
>
>  there is two diffrent servers with the same specifications.
>
>  Its was working fine starting from day 1 to day 5 uptime.
>  and the other box from day 1 to 3,
>  with almost 30 users as hotspot login.
>
>  On day 5, it had a sudden shutdown, some users called me reported
> there is no internet
>  when i checked the server i discovered the box is off power.
>
>  The second box after 3 days had the same problem.
>
>  when i started the power, for both...again it start to work in a goodway.
>
>  I was shocked.. checked messages, dmesg, and almost everything I
> couldnot find any clue
>  in logs.. so
>  question 1, How would i check what happened for this power shutting down?

Did the filesystems come up clean?  That would be a hint that the
kernel shut down on purpose.  [I wouldn't expect it, since you said
there were no hints in the logs, but it's worth checking.

Next step is probably to set up a serial console and see if anything
useful is showing up there when the shutdown occurs.  Also try to get
and track any information about system temperature, voltage, and so
on; these kinds of phantom powerdowns are usually power trouble in my
experience.  

>  2)
>  in my dmesg and since i was settingup the box, the following error
> was always coming and on
>  single line
>
>  atapci1: failed to enable memory mapping!

I can't find that message in the -STABLE sources.  Admittedly, it was
a very quick search, but are you sure you copied it exactly?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.1 shutting down.

2006-09-08 Thread Marwan Sultan

Hello everyone,

 I'm On FreeBSD 6.1R, the box is intel945 extra Dlink NIC
 P4.3 1G DDR2, 160GB sata.

 running Freeradius, chillispot, MySql 4.1, apache2.
 acting as NAT and hotspot login.

 there is two diffrent servers with the same specifications.

 Its was working fine starting from day 1 to day 5 uptime.
 and the other box from day 1 to 3,
 with almost 30 users as hotspot login.

 On day 5, it had a sudden shutdown, some users called me reported there is 
no internet

 when i checked the server i discovered the box is off power.

 The second box after 3 days had the same problem.

 when i started the power, for both...again it start to work in a goodway.

 I was shocked.. checked messages, dmesg, and almost everything I couldnot 
find any clue

 in logs.. so
 question 1, How would i check what happened for this power shutting down?

 2)
 in my dmesg and since i was settingup the box, the following error was 
always coming and on

 single line

 atapci1: failed to enable memory mapping!

 any help on this please?

 Marwan Sultan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: tempreture shutting down.

2006-07-19 Thread jan gestre

On 7/20/06, Marwan Sultan <[EMAIL PROTECTED]> wrote:


I Finally installed 6.1 on my HP Laptop dv5000 serios.

when i restarted for the first time, and During booting,
it gives the following error and it shuts down immediatly

Warning: System tempreture too high shutting down soon!
acpi_tz1: Warning current tempreture (0.0c) exceeds safe limits

I checked my bios setup for any tempreture options, there is nothing
there,

Any Advice, or help please.

i had a similar problem not with a laptop though but with an old compaq

pentium 200mhz, it keeps on saying that message but if i touch the box its
feels cold, what i did was just turn off the machine for 30 mins to 1 hour
then turn it back on, and whoalla i don't recieve that message anymore, if
this doesn't work for you then i think it has something to do with your cpu
fan not working or a motherboard problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tempreture shutting down.

2006-07-19 Thread Alex Zbyslaw

Alex Zbyslaw wrote:


Derek Ragona wrote:



At 11:28 AM 7/19/2006, Marwan Sultan wrote:


I Finally installed 6.1 on my HP Laptop dv5000 serios.

when i restarted for the first time, and During booting,
it gives the following error and it shuts down immediatly

Warning: System tempreture too high shutting down soon!
acpi_tz1: Warning current tempreture (0.0c) exceeds safe limits

I checked my bios setup for any tempreture options, there is nothing 
there,


Any Advice, or help please.

- Marwan



That is on your motherboard.  You probably have a fan that isn't 
running right.


-Derek



Or a duff ACPI config.  Try booting without acpi and see if that 
helps.  Or search acpi@ archives or try a question there.


Try "acpidump -d" and look for TZ or tz.  You can do that from single 
user mode, if the machine stays up long enough.  You could also try 
from "fixit" shell from the boot CD.


My theory is that the ACPI contains some duff builtin max temperature 
for a zone because a temp of 0.0c isn't really that hot for a PC!


In desperation you could also try upgrading/downgrading the BIOS - just 
make sure to keep a copy of the one you have!


--Alex



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


Re: tempreture shutting down.

2006-07-19 Thread Alex Zbyslaw

Derek Ragona wrote:



At 11:28 AM 7/19/2006, Marwan Sultan wrote:


I Finally installed 6.1 on my HP Laptop dv5000 serios.

when i restarted for the first time, and During booting,
it gives the following error and it shuts down immediatly

Warning: System tempreture too high shutting down soon!
acpi_tz1: Warning current tempreture (0.0c) exceeds safe limits

I checked my bios setup for any tempreture options, there is nothing 
there,


Any Advice, or help please.

- Marwan


That is on your motherboard.  You probably have a fan that isn't 
running right.


-Derek


Or a duff ACPI config.  Try booting without acpi and see if that helps.  
Or search acpi@ archives or try a question there.


Try "acpidump -d" and look for TZ or tz.  You can do that from single 
user mode, if the machine stays up long enough.  You could also try from 
"fixit" shell from the boot CD.


My theory is that the ACPI contains some duff builtin max temperature 
for a zone because a temp of 0.0c isn't really that hot for a PC!


--Alex


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


Re: tempreture shutting down.

2006-07-19 Thread Derek Ragona

That is on your motherboard.  You probably have a fan that isn't running right.

-Derek

At 11:28 AM 7/19/2006, Marwan Sultan wrote:

I Finally installed 6.1 on my HP Laptop dv5000 serios.

when i restarted for the first time, and During booting,
it gives the following error and it shuts down immediatly

Warning: System tempreture too high shutting down soon!
acpi_tz1: Warning current tempreture (0.0c) exceeds safe limits

I checked my bios setup for any tempreture options, there is nothing there,

Any Advice, or help please.

- Marwan

_
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


tempreture shutting down.

2006-07-19 Thread Marwan Sultan

I Finally installed 6.1 on my HP Laptop dv5000 serios.

when i restarted for the first time, and During booting,
it gives the following error and it shuts down immediatly

Warning: System tempreture too high shutting down soon!
acpi_tz1: Warning current tempreture (0.0c) exceeds safe limits

I checked my bios setup for any tempreture options, there is nothing there,

Any Advice, or help please.

- Marwan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/


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


Re: N00b: shutting down freebsd server

2006-05-07 Thread Hunter Fuller


On  07 May 2006, at 10:44 AM, dharam paul wrote:


Hello Seniors,
I think it supports ACPI. When I press the power
button it sends signal 15, then it stops the
processes. Then it shuts down the system.
Perfect, it's shutting down cleanly then. yeah, it's fine to hit the  
atx button to halt it then... but don't hold it down, or it'll die  
uncleanly.


Regards
--- Frank Steinborn <[EMAIL PROTECTED]> wrote:


dharam paul wrote:

Hello Seniors,
Is it ok to shutdown a freebsd server from atx

power

button?

regards


If your server supports ACPI and it's shutting down
clean, it's OK.
But if your power-button switches your system off
immediatly, use
shutdown -p now.
___
freebsd-questions@freebsd.org mailing list


http://lists.freebsd.org/mailman/listinfo/freebsd-questions

To unsubscribe, send any mail to
"[EMAIL PROTECTED]"






__
Yahoo! India Answers: Share what you know. Learn something new.
http://in.answers.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




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


Re: N00b: shutting down freebsd server

2006-05-07 Thread Frank Steinborn
dharam paul wrote:
> Hello Seniors,
> I think it supports ACPI. When I press the power
> button it sends signal 15, then it stops the
> processes. Then it shuts down the system.

It's absolutely okay to use the power button to shutdown the system
then.

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


Re: N00b: shutting down freebsd server

2006-05-07 Thread dharam paul
Hello Seniors,
I think it supports ACPI. When I press the power
button it sends signal 15, then it stops the
processes. Then it shuts down the system.

Regards
--- Frank Steinborn <[EMAIL PROTECTED]> wrote:

> dharam paul wrote:
> > Hello Seniors,
> > Is it ok to shutdown a freebsd server from atx
> power
> > button?
> > 
> > regards
> 
> If your server supports ACPI and it's shutting down
> clean, it's OK.
> But if your power-button switches your system off
> immediatly, use
> shutdown -p now.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 




__ 
Yahoo! India Answers: Share what you know. Learn something new. 
http://in.answers.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: N00b: shutting down freebsd server

2006-05-02 Thread Frank Steinborn
dharam paul wrote:
> Hello Seniors,
> Is it ok to shutdown a freebsd server from atx power
> button?
> 
> regards

If your server supports ACPI and it's shutting down clean, it's OK.
But if your power-button switches your system off immediatly, use
shutdown -p now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


N00b: shutting down freebsd server

2006-05-02 Thread dharam paul
Hello Seniors,
Is it ok to shutdown a freebsd server from atx power
button?

regards





__ 
Yahoo! India Answers: Share what you know. Learn something new. 
http://in.answers.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: problems with shutting down while installing

2006-03-09 Thread Jtkiefer

I forgot to mention, I am attempting to install STABLE.

-Jtkiefer

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


problems with shutting down while installing

2006-03-09 Thread Jtkiefer
While trying to install the AMD64 version the system I am running (specs 
listed below) keeps shutting down.  I have tried changing out power 
supplies which has not helped and I have had no problem running LiveCDs 
on the system so I don't think that's the issue.  Any help on this would 
be appreciated. Thanks.


-Jtkiefer

system specs
=

***Athenatech A202BB.L220 Black Steel MicroATX Desktop Computer Case 
220W Power Supply - Retail 
<http://www.newegg.com/Product/Product.asp?Item=N82E16811190049>


* *ASUS K8V-MX Socket 754 VIA K8M800 Micro ATX AMD Motherboard - Retail 
<http://www.newegg.com/Product/Product.asp?Item=N82E16813131549>


AMD Sempron 64 3400+ Palermo 800MHz HT Socket 754 Processor Model 
SDA3400BXBOX - Retail 
<http://www.newegg.com/Product/Product.asp?Item=N82E16819104231>


* *Kingston ValueRAM 2GB (2 x 1GB) 184-Pin DDR SDRAM DDR 400 (PC 3200) 
Unbuffered System Memory Model KVR400X64C3AK2/2G - Retail 
<http://www.newegg.com/Product/Product.asp?Item=N82E16820141308>


Seagate Barracuda 7200.8 ST3250823AS 250GB 7200 RPM Serial ATA150 
Hard Drive - OEM 
<http://www.newegg.com/Product/Product.asp?Item=N82E16822148065>


SONY Black IDE DVD-ROM Drive Model DDU1615/B2s - OEM 
<http://www.newegg.com/Product/Product.asp?Item=N82E16827101131>


MASSCOOL FD08025S1M4 80mm Sleeve Case Cooling Fan - Retail 
<http://www.newegg.com/Product/Product.asp?Item=N82E16835150007>*

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


Re: shutdown not shutting down :-(

2006-02-19 Thread Mehmet Fatih Akbulut
try
#shutdown -h now
or
#poweroff
;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: shutdown not shutting down :-(

2006-02-19 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Reiss wrote:
> Alex de Kruijff wrote:
>> On Sun, Feb 19, 2006 at 11:23:56AM +0100, Matias Surdi wrote:
>>> Hi, Linux-user, FreeBSD-newbie posting here.
>>>
>>> I've a recent installation of FreeBSD, and when I do
>>>
>>> # shutdown now
>>>
>>> It starts the shutdown process but it hangs promting for the shell path.
>>>
>>> I think that this could be something related to the order in which
>>> partitions are unmounted.
>>>
>>> Any idea?
>>>
>>> Thanks.
>>
>> Check if there is a new bios for you PC. I had this to with one of my
>> boxes. ACPI (thats what shuts you computer down) didn't work ride. I
>> needed to update my bios.
>>
> 
> Hey,
> 
> Try shutdown -p now.
> 
> -Christian
> 

If it doesn't work now, check and see if the kernel you have has acpi
support compiled in (if you have a generic kernel, this is probably not
the case).
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD+Tl66CkrZkzMC68RAmwkAJ4gfZ30PaNkBdm1IpB/1ydPbcqdJwCePQND
sSXc3yXAaNSk9kUis79q50Y=
=P8Au
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: shutdown not shutting down :-(

2006-02-19 Thread Christian Reiss

Alex de Kruijff wrote:

On Sun, Feb 19, 2006 at 11:23:56AM +0100, Matias Surdi wrote:

Hi, Linux-user, FreeBSD-newbie posting here.

I've a recent installation of FreeBSD, and when I do

# shutdown now

It starts the shutdown process but it hangs promting for the shell path.

I think that this could be something related to the order in which 
partitions are unmounted.


Any idea?

Thanks.


Check if there is a new bios for you PC. I had this to with one of my
boxes. ACPI (thats what shuts you computer down) didn't work ride. I
needed to update my bios.



Hey,

Try shutdown -p now.

-Christian

--
,-
| Christian Reiss
|-
| [EMAIL PROTECTED]  |PGP-Key ID   |
| [EMAIL PROTECTED]| 02FF71B2|   /"\  ASCII Ribbon
|  Public Key: http://demonlord.de/pgp.txt  |   \ /Campaign
|  Jabber: [EMAIL PROTECTED] |X   against HTML
|   |   / \   in eMails
|  "Don't give up. Lose interest."  |
`-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: shutdown not shutting down :-(

2006-02-19 Thread Alex de Kruijff
On Sun, Feb 19, 2006 at 11:23:56AM +0100, Matias Surdi wrote:
> Hi, Linux-user, FreeBSD-newbie posting here.
> 
> I've a recent installation of FreeBSD, and when I do
> 
> # shutdown now
> 
> It starts the shutdown process but it hangs promting for the shell path.
> 
> I think that this could be something related to the order in which 
> partitions are unmounted.
> 
> Any idea?
> 
> Thanks.

Check if there is a new bios for you PC. I had this to with one of my
boxes. ACPI (thats what shuts you computer down) didn't work ride. I
needed to update my bios.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: shutdown not shutting down :-(

2006-02-19 Thread Matias Surdi

Matias Surdi escribió:

Hi, Linux-user, FreeBSD-newbie posting here.

I've a recent installation of FreeBSD, and when I do

# shutdown now

It starts the shutdown process but it hangs promting for the shell path.

I think that this could be something related to the order in which 
partitions are unmounted.


Any idea?

Thanks.

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




Thanks for the help!!

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


Re: shutdown not shutting down :-(

2006-02-19 Thread Glenn Dawson

At 02:23 AM 2/19/2006, Matias Surdi wrote:

Hi, Linux-user, FreeBSD-newbie posting here.

I've a recent installation of FreeBSD, and when I do

# shutdown now

It starts the shutdown process but it hangs promting for the shell path.

I think that this could be something related to the order in which 
partitions are unmounted.


Any idea?


that's exactly what shutdown now is supposed to do.

If you want the machine to power off you can use
shutdown -p now
or if you just want it to halt but stay on you can use
shutdown -h now

the shutdown(8) man page has all the details.

-Glenn



Thanks.

___
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]"


Re: shutdown not shutting down :-(

2006-02-19 Thread Karol Kwiatkowski
Matias Surdi wrote:
> Hi, Linux-user, FreeBSD-newbie posting here.
> 
> I've a recent installation of FreeBSD, and when I do
> 
> # shutdown now
> 
> It starts the shutdown process but it hangs promting for the shell path.
> 
> I think that this could be something related to the order in which
> partitions are unmounted.
> 
> Any idea?

Hi Matias,

no, everything is OK. 'shutdown now' brings the system to 'single
user' state. If you want to restart or power down the machine have a
look at man 8 shutdown (especially '-p' or '-r' options).

Also:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-shutdown.html

Best regards,

Karol


-- 
Karol Kwiatkowski  
GPGKey: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


shutdown not shutting down :-(

2006-02-19 Thread Matias Surdi

Hi, Linux-user, FreeBSD-newbie posting here.

I've a recent installation of FreeBSD, and when I do

# shutdown now

It starts the shutdown process but it hangs promting for the shell path.

I think that this could be something related to the order in which 
partitions are unmounted.


Any idea?

Thanks.

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


Re: Shutting down [k|g]dm for a short while?

2005-05-16 Thread Raphael H. Becker
On Fri, May 13, 2005 at 01:08:50PM +0100, Xian wrote:
> You can edit /etc/ttys to turn off the appropriate tty, then SIGHUP init (pid 
> 1).
> You might have to kill [k|g]dm afterwards as well.

You need killall kdm 
Killing the X-Session using Ctrl-Alt-Backspace might not kill kdm.
 
> Then when your done, enable the tty, and SIGHUP init again.

Right. 

Using `init q´ is the more cleaner way. 

init(8):

SYNOPSIS
 init
 init [0 | 1 | 6 | c | q]
[...]
 Run-levelSignal Action
 0SIGUSR2Halt and turn the power off
 1SIGTERMGo to single-user mode
 6SIGINT Reboot the machine
 cSIGTSTPBlock further logins
 qSIGHUP Rescan the ttys(5) file
 
This should also be documented in /etc/ttys.

Regards
-- 
Raphael Beckerhttp://rabe.uugrn.org/
  http://schnitzelmitkartoffelsalat.und.rahmspin.at/
.|.|.|.|.|.|.|..


pgpYR8o02jVSr.pgp
Description: PGP signature


Re: Shutting down [k|g]dm for a short while?

2005-05-13 Thread Xian
On Friday 13 May 2005 07:52, Mac Mason wrote:
> I run kdm on ttyv8, as recommended by the handbook.
>
>   % grep kdm /etc/ttys
>   ttyv8   "/usr/local/bin/kdm -nodaemon"xterm   on secure
>
> I'm also using the closed-source nvidia drivers. To upgrade them requires
> that I unload nvidia.ko.
>
> Which I can't do with kdm running, because it needs that module.
>
> The only solution I can come up with it to edit /etc/ttys, reboot, upgrade
> the drivers, change /etc/ttys back, and boot again.
>
> Is there a cleaner way of doing this?
>
> Thanks!
>
> --Mac

You can edit /etc/ttys to turn off the appropriate tty, then SIGHUP init (pid 
1).
You might have to kill [k|g]dm afterwards as well.

Then when your done, enable the tty, and SIGHUP init again.

-- 
/Xian

"Failure is only the opportunity to begin again more inteligently"
Henry Ford
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shutting down [k|g]dm for a short while?

2005-05-12 Thread Mac Mason
I run kdm on ttyv8, as recommended by the handbook.

  % grep kdm /etc/ttys
  ttyv8   "/usr/local/bin/kdm -nodaemon"xterm   on secure

I'm also using the closed-source nvidia drivers. To upgrade them requires that
I unload nvidia.ko.

Which I can't do with kdm running, because it needs that module.

The only solution I can come up with it to edit /etc/ttys, reboot, upgrade the
drivers, change /etc/ttys back, and boot again.

Is there a cleaner way of doing this?

Thanks!

--Mac



pgpnTd4bmNXPf.pgp
Description: PGP signature


RE: FreeBSD-newbies shutting down? (was: no freebsd-beginners list?)

2005-04-16 Thread Brian Kinsey

Yes, that was my intention. I don't see many newbie questions on this board
so I was looking for one that would better match my skill level. But if the
only people on the newbies list were newbies, and there was no one to
correct the newbies when they gave inaccurate answers as you stated, then I
can see why that list would not be a good place for technical questions. 

I guess I was hoping that there would be some people who knew what they were
doing on that list that liked helping people learn. 

I will stay here if this list is for the newbie and the advanced user as
well. I can see the benefits of that. I just hope that along with the RTFM
posts, I get directed to where in TFM I need to R.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg 'groggy'
Lehey
Sent: Saturday, April 16, 2005 10:23 PM
To: Brian Kinsey
Cc: freebsd-questions@freebsd.org
Subject: FreeBSD-newbies shutting down? (was: no freebsd-beginners list?)

On Saturday, 16 April 2005 at 20:11:18 -0400, Brian Kinsey wrote:
> Your request to the freebsd-newbies mailing list
>
> Subscription request
>
> has been rejected by the list moderator.  The moderator gave the following
> reason for rejecting your request:
>
> "The freebsd-newbies list is being shut down.  Please use
freebsd-questions
> instead."
>
> Any questions or comments should be directed to the list administrator
> at:
>
> [EMAIL PROTECTED]

Background: the original charter for the list was a discussion place
for newbies.  It was being abused as a place to ask beginner's
technical questions.  It seems that this was your intention too:

On Sat, Apr 16, 2005 at 07:30:17PM -0400, Brian Kinsey wrote:
> I went to sign up for the freebsd beginners list and got a response
> that the list was closed and I should use freebsd-questions
> instead. It seems to me that a newbie list would be beneficial to
> many of us. I see a lot of very technical questions here and feel
> that my newbie questions would not be appreciated, especially since
> I have not read through the entire handbook yet ...

There are a number of problems with having two lists:

1.  To check if a question has been asked before, you need to check
two different archives.
2.  To lurk and see answers to other people's questions, you also need
to be on both lists.
3.  It's difficult for anybody to decide how complicated a question
is.  If you're a newbie, it's doubly so.
4.  -newbies was intended for, well, newbies.  Most of the people
 capable of *answering* even a moderately simple question aren't
 on the list, so many of the answers going past were wildly
 inaccurate.  You can get inaccurate answers on -questions too,
 but it's not as frequent.

In summary, it seems less of a problem for you to put up with the
occasional RFTM than to get just plain bad advice.

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.


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


FreeBSD-newbies shutting down? (was: no freebsd-beginners list?)

2005-04-16 Thread Greg 'groggy' Lehey
On Saturday, 16 April 2005 at 20:11:18 -0400, Brian Kinsey wrote:
> Your request to the freebsd-newbies mailing list
>
> Subscription request
>
> has been rejected by the list moderator.  The moderator gave the following
> reason for rejecting your request:
>
> "The freebsd-newbies list is being shut down.  Please use freebsd-questions
> instead."
>
> Any questions or comments should be directed to the list administrator
> at:
>
> [EMAIL PROTECTED]

Background: the original charter for the list was a discussion place
for newbies.  It was being abused as a place to ask beginner's
technical questions.  It seems that this was your intention too:

On Sat, Apr 16, 2005 at 07:30:17PM -0400, Brian Kinsey wrote:
> I went to sign up for the freebsd beginners list and got a response
> that the list was closed and I should use freebsd-questions
> instead. It seems to me that a newbie list would be beneficial to
> many of us. I see a lot of very technical questions here and feel
> that my newbie questions would not be appreciated, especially since
> I have not read through the entire handbook yet ...

There are a number of problems with having two lists:

1.  To check if a question has been asked before, you need to check
two different archives.
2.  To lurk and see answers to other people's questions, you also need
to be on both lists.
3.  It's difficult for anybody to decide how complicated a question
is.  If you're a newbie, it's doubly so.
4.  -newbies was intended for, well, newbies.  Most of the people
 capable of *answering* even a moderately simple question aren't
 on the list, so many of the answers going past were wildly
 inaccurate.  You can get inaccurate answers on -questions too,
 but it's not as frequent.

In summary, it seems less of a problem for you to put up with the
occasional RFTM than to get just plain bad advice.

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.


pgppQXQX2TSrN.pgp
Description: PGP signature


Re: Shutting down system

2004-02-17 Thread Alexey Kuzmenko
Dear all,

Tuesday, February 17, 2004, 2:44:39 AM, you wrote:

I have similar problem on my FreeBSD 5.2.

When I try to shutdown or reboot my server by
shutdown -r now  it hangs on

cpu_reset: Stopping other CPUs

What shal I do with this problem?


-- 
Alexey Kuzmenko
CCNA
System Administrator
UN House in Ukraine

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


Re[2]: Shutting down system

2004-02-17 Thread Gerard Seibert

>>I have version 5.2 RC#1 installed.
>>
>>I have not been able to get the shutdown command to power down my computer.
>>I used the following command:
>>
>>shutdown -p now
>>
>>It simple gets to a point where it says press any key to restart. I never
>>had any problem doing a power off shutdown using Windows XP. Can any one
>>give me any assistance?
>>
>>Thanks!
>>
>>Gerard E. Seibert
>>[EMAIL PROTECTED]
>>
** Reply Separator **>  
>
>Did you enable apm in /etc/rc.conf?
>
>What do you get when you execute the following?
>
>apm -s
>
>If you get a 0 (zero), then I don't think apm is enabled at bootup.  See if 
>this works:
>
>apm -e 1
>shutdown -p now
>
>If it worked, then apm is functioning; but you need to enable it prior to 
>shutdown.
>
>Best of luck,
>
>Andrew Gould
>
** Reply Separator **>

Just curious ... 5.X uses ACPI, not APM, right?

So does your advice still hold true?

"$apm -s" returns 0 on my system, but
shutdown -p works like a charm

Should we perhaps also check whether
or not "kldstat" returns "acpi.ko" ??

Kevin Kinsey

** Reply Separator **>

Tuesday, February 17, 2004 5:32:02 AM

apm -s returns: can't open /dev/apm: no such file or directory
apm -e 1 returns the same error message.

kldstat returns a list of five modules, none of which is acpi.ko

I am planning on reformatting my computer and installing the latest version of BSD 
when the next version comes out - hopefully the stable version. I would like to find 
out why this is not working now though if possible.

Gerard Seibert

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


Re: Shutting down system

2004-02-17 Thread Vladimir Yourtaev
On Tuesday 17 February 2004 02:44, Gerard Seibert wrote:
> I have version 5.2 RC#1 installed.
>
> I have not been able to get the shutdown command to power down my computer.
> I used the following command:
>
> shutdown -p now
>
> It simple gets to a point where it says press any key to restart. I never
> had any problem doing a power off shutdown using Windows XP. Can any one
> give me any assistance?
>
> Thanks!
>
> Gerard E. Seibert
> [EMAIL PROTECTED]
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

I just solved this problem by rebuild my kernel  with line 
device  apm0at nexus? flags 0x20 # Advanced Power Management. 
I'm reminding that by default this flag is disabled and if compile kernel 
without any flags ( only device apm0) my system FreeBSD 4.9 RELEASE 
just rebooted.
-- 

Vladimir Yourtaev <[EMAIL PROTECTED]>
ISD Configuration Management Team <[EMAIL PROTECTED]>

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


Re: Shutting down system

2004-02-17 Thread Andrew L. Gould
On Monday 16 February 2004 10:33 pm, Kevin D. Kinsey, DaleCo, S.P. wrote:
> Andrew L. Gould wrote:
> >On Monday 16 February 2004 06:44 pm, Gerard Seibert wrote:
> >>I have version 5.2 RC#1 installed.
> >>
> >>I have not been able to get the shutdown command to power down my
> >> computer. I used the following command:
> >>
> >>shutdown -p now
> >>
> >>It simple gets to a point where it says press any key to restart. I never
> >>had any problem doing a power off shutdown using Windows XP. Can any one
> >>give me any assistance?
> >>
> >>Thanks!
> >>
> >>Gerard E. Seibert
> >>[EMAIL PROTECTED]
> >
> >Did you enable apm in /etc/rc.conf?
> >
> >What do you get when you execute the following?
> >
> >apm -s
> >
> >If you get a 0 (zero), then I don't think apm is enabled at bootup.  See
> > if this works:
> >
> >apm -e 1
> >shutdown -p now
> >
> >If it worked, then apm is functioning; but you need to enable it prior to
> >shutdown.
> >
> >Best of luck,
> >
> >Andrew Gould
>
> Just curious ... 5.X uses ACPI, not APM, right?
>
> So does your advice still hold true?
>
> "$apm -s" returns 0 on my system, but
> shutdown -p works like a charm
>
> Should we perhaps also check whether
> or not "kldstat" returns "acpi.ko" ??
>
> Kevin Kinsey

oops -- my brain completely glossed over the version number.  You're correct 
that 5* uses ACPI by default; but if ACPI doesn't work on a specific 
computer, I think the kernel can be reconfigured to use APM.

If ACPI is working for you, that's great!  I recall many had problems with it 
in FreeBSD 5.1.  Have the problems been ironed out in 5.2?

Thanks,

Andrew Gould

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


Re: Shutting down system

2004-02-17 Thread Vladimir Yourtaev
On Tuesday 17 February 2004 02:44, Gerard Seibert wrote:
> I have version 5.2 RC#1 installed.
>
> I have not been able to get the shutdown command to power down my computer.
> I used the following command:
>
> shutdown -p now
>
> It simple gets to a point where it says press any key to restart. I never
> had any problem doing a power off shutdown using Windows XP. Can any one
> give me any assistance?
>
> Thanks!
>
> Gerard E. Seibert
> [EMAIL PROTECTED]
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hello all
The same question.
On my system FBSD 4.9 RELEASE after shutdown -p now
or halt -p system just rebooted, but i want that it power off.
How it can be released?
-- 

Vladimir Yourtaev <[EMAIL PROTECTED]>
ISD Configuration Management Team <[EMAIL PROTECTED]>

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


Re: Shutting down system

2004-02-16 Thread Kevin D. Kinsey, DaleCo, S.P.
Andrew L. Gould wrote:

On Monday 16 February 2004 06:44 pm, Gerard Seibert wrote:
 

I have version 5.2 RC#1 installed.

I have not been able to get the shutdown command to power down my computer.
I used the following command:
shutdown -p now

It simple gets to a point where it says press any key to restart. I never
had any problem doing a power off shutdown using Windows XP. Can any one
give me any assistance?
Thanks!

Gerard E. Seibert
[EMAIL PROTECTED]
   

Did you enable apm in /etc/rc.conf?

What do you get when you execute the following?

apm -s

If you get a 0 (zero), then I don't think apm is enabled at bootup.  See if 
this works:

apm -e 1
shutdown -p now
If it worked, then apm is functioning; but you need to enable it prior to 
shutdown.

Best of luck,

Andrew Gould

 

Just curious ... 5.X uses ACPI, not APM, right?

So does your advice still hold true?

"$apm -s" returns 0 on my system, but
shutdown -p works like a charm
Should we perhaps also check whether
or not "kldstat" returns "acpi.ko" ??
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shutting down system

2004-02-16 Thread Andrew L. Gould
On Monday 16 February 2004 06:44 pm, Gerard Seibert wrote:
> I have version 5.2 RC#1 installed.
>
> I have not been able to get the shutdown command to power down my computer.
> I used the following command:
>
> shutdown -p now
>
> It simple gets to a point where it says press any key to restart. I never
> had any problem doing a power off shutdown using Windows XP. Can any one
> give me any assistance?
>
> Thanks!
>
> Gerard E. Seibert
> [EMAIL PROTECTED]

Did you enable apm in /etc/rc.conf?

What do you get when you execute the following?

apm -s

If you get a 0 (zero), then I don't think apm is enabled at bootup.  See if 
this works:

apm -e 1
shutdown -p now

If it worked, then apm is functioning; but you need to enable it prior to 
shutdown.

Best of luck,

Andrew Gould

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


Shutting down system

2004-02-16 Thread Gerard Seibert
I have version 5.2 RC#1 installed.

I have not been able to get the shutdown command to power down my computer. I used the 
following command:

shutdown -p now

It simple gets to a point where it says press any key to restart. I never had any 
problem doing a power off shutdown using Windows XP. Can any one give me any 
assistance?

Thanks!

Gerard E. Seibert
[EMAIL PROTECTED]


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


Re: shutting down network interfaces

2003-12-18 Thread dave
At 08:02 PM 12/18/2003, you wrote:
I have two netcards and want to shut down one of them without
rebooting.


man ifconfig will tell you what to do.

the short answer:

ifconfig interface_card down

ie :

ifconfig ed0 down

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


Re: shutting down network interfaces

2003-12-18 Thread Jerry McAllister
> 
> I have two netcards and want to shut down one of them without
> rebooting.

You have been directed to the man page for ifconfig several
times now.   Probably it is about time to look it over.

Also, try setting your system clock correctly.

jerry

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


Re: shutting down network interfaces

2003-12-18 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 18 Dec 2003 17:02:48 -0800
flux <[EMAIL PROTECTED]> probably wrote:

> I have two netcards and want to shut down one of them without
> rebooting.
> 

What do you mean by shutting it down? Not sure, but may it be

# ifconfig down /dev/whatever
 
?

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


-- 
DoubleF
A tautology is a thing which is tautological.


pgp0.pgp
Description: PGP signature


Re: shutting down network interfaces

2003-12-18 Thread Kevin D. Kinsey, DaleCo, S.P.
flux wrote:

I have two netcards and want to shut down one of them without
rebooting.
 

As root:

#ifconfig xl1 down

where "xl1" is the name/number of the interface.

HTH,

Kevin Kinsey

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


shutting down network interfaces

2003-12-18 Thread flux
I have two netcards and want to shut down one of them without
rebooting.

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

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


Problem with shutting down/rebooting

2003-09-18 Thread Markus Svensson
Hi all!

I'm having a bit of a problem with my FreeBSD 5.1-R-p5 machine.
If I issue the command "shutdown -h now", the system starts it's
shutdown process. This is the output I get:

writing entropy file
saving firewall state tables
syslogd exiting on signal 15
waiting (max 60 sec) for system process vnlru to stopstopped

After this, the machine stops responding and just sits there forever,
never unmounting the filesystems and halting.

Anyone has any idea as to what's going on here?
Oh, and the problem first came up, IIRC, after switching the vga card in
the machine (from nVidia to ATi).

Thanks in advance!

MvH
Markus Svensson
[EMAIL PROTECTED]
--
"Britain and France had to choose between war and dishonor. They chose
dishonor." 
- Prime Minister Winston Churchill 


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


Re: shutting down

2003-08-17 Thread Shantanu Mahajan
+-- [EMAIL PROTECTED] [freebsd] [16-08-03 14:40 -0400]:
| I used
|  shutdown -h now
| but the comp I use won't let me power off no matter how many times i hit
| the power switch, what do I do?

try
# halt

what is the last message you see?
I do have a ATX mobo, and it works perfectly fine
with halt. will check 'shutdown -h now' and let you
know.

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


Re: shutting down

2003-08-16 Thread long cao
how about 

shutdown -p now




On Saturday 16 August 2003 11:43 am, Kent Stewart wrote:
> On Saturday 16 August 2003 11:40 am, [EMAIL PROTECTED] wrote:
> > I used
> >  shutdown -h now
> > but the comp I use won't let me power off no matter how many times i
> > hit the power switch, what do I do?
>
> Sounds like you have an ATX mobo. You have to press the off switch for
> several seconds to shut it down.
>
> Kent

-- 


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


Re: shutting down

2003-08-16 Thread Kent Stewart
On Saturday 16 August 2003 11:40 am, [EMAIL PROTECTED] wrote:
> I used
>  shutdown -h now
> but the comp I use won't let me power off no matter how many times i
> hit the power switch, what do I do?
>

Sounds like you have an ATX mobo. You have to press the off switch for 
several seconds to shut it down.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


shutting down

2003-08-16 Thread lilyslipper
I used
 shutdown -h now
but the comp I use won't let me power off no matter how many times i hit
the power switch, what do I do?


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