RE: How do I do a COLD Reboot on FreeBSD?

2005-01-31 Thread Niy
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart Silverstrim
Sent: Monday, January 31, 2005 3:30 PM
To: Billy Newsom
Cc: freebsd-questions@freebsd.org
Subject: Re: How do I do a COLD Reboot on FreeBSD?


On Jan 31, 2005, at 1:53 PM, Billy Newsom wrote:

 Jerry McAllister wrote:
 Well, I guess I completely do not understand what you are asking.
 From anything I can get from what you write here, its behavior is
 normal and expected.   What is the problem and what are you trying to 
 fix or to get it to do?
 A cold boot - which is what you ask about in your original post - is 
 a boot all the way up from a powered off machine as far as I know.
 So, all I did was explain how to get what you asked for in the post.

 No, I said a cold reboot.  That's the term for a reboot which runs the 
 entire POST, counts memory, etc.  The screen looks identical to a cold 
 start or cold boot.  We all know what the warm reboot means -- that's 
 when many parts of the POST are skipped.  Windows uses a cold reboot, 
 for example, when you click Restart on the Shutdown menu.  FreeBSD 
 does a warm reboot using the reboot command.  The warm reboot may save 
 thirty to sixty seconds over the cold reboot.  A warm reboot typically 
 skips the memory check and does a cursory check of hard drive 
 parameters, etc. to save time.

 If you use a PC DOCTOR disk and tell it to reboot, it will do a cold 
 reboot.  When you flash your BIOS from DOS, it will usually do a cold 
 reboot when it exits.  When you save changes and reboot from the BIOS 
 setup screen, it will do a cold reboot.  Many other examples are 
 possible.

 What I tried to explain is that this PC crashes on the subsequent boot 
 if a warm reboot is performed by FreeBSD.  But if I could perform a 
 cold reboot every time, this would solve the issue.  A cold reboot is 
 not the act of shutting the power off and turning it back on.  That 
 is called a power cycle and it is obviously manual.  A cold reboot is 
 done by a special software command.

I was always told a cold reboot comes from powering down the system;
minimal power to the logic board and wiping any and all traces 
possible (short of unplugging it) of random crap in the capacitors and
memory.  
Literally cold boot because usually it happened after powering it down and
it would cool off until the user came back to work on their computer for
awhile.

Warm boots basically just cycle the computer to restart the OS.  It's just
restarting it, and power to the components has been 
maintained the whole time so as far as the computer hardware is concerned
nothing really happened, just a chunk of memory access and the processor
mode getting kicked around a bit.

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


Okay, you're all mostly correct. For more info, see this page: 

http://ironbark.bendigo.latrobe.edu.au/subjects/int11ct/2004/L17/lecture.htm
l

Now, as for how to get FreeBSD to set this area in memory (:0472h) set
with the something other than 1234h, I'd imagine a simple assembler job
could do it. Seems right up assemblers alley. It's been a while since I've
done anything outside of C, but I'll see what I can whip up.

- Niy
 

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


RE: Sendmail: host name lookup failure

2005-01-20 Thread Niy
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Kraft
Sent: Thursday, January 20, 2005 4:29 PM
To: freebsd-questions@freebsd.org
Subject: Re: Sendmail: host name lookup failure

Paul A. Hoadley wrote:
 On Mon, Dec 20, 2004 at 10:54:42PM +1030, Paul A. Hoadley wrote:
 
 I am told it's running Windows 2000 DNS Server.  Presumably that's 
 Microsoft's own DNS implementation built into Windows 2000.
 

 (By 'sometimes' I don't mean it's non-deterministic.  Every time 
 sendmail asks for the  record of an unqualified hostname, the 
 nameserver responds with SERVFAIL.)
 
 The consequence of this is that sendmail repeatedly defers delivery 
 until the mail expires.
 
 
Curiously, sendmail's WorkAroundBroken option did not help, and I 
don't know why.  Daryl Tester suggested using a mailertable entry, and 
this worked.
 
 
 I still don't know why WorkAroundBroken isn't working in this 
 case.
 
 
   I'm running into the exact same problem.  My dns is a Win2k server, the
mail server is FBSD5.3 called kara.home.local.  The dig to kara.home.local
 works fine, but to kara fails.

have you found out any more about why it's not working?  I'm also curious
about the entry in mailertable because my feeble attempt didn't work.

I appreciate any info you can pass on.

Thanks,
Joe.

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


Just a quick thought, I had a similar problem on my LAN. I set up /etc/hosts
files, and that did the trick for me. I could then dig both the fqdn and the
host name just fine. For example, for a machine on my internal lan with the
fqdn of empathy.whatever.net, I set up on the machines that had to reach it:

192.168.0.10empathy empathy

In the /etc/hosts file. Man hosts for more info. :)


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


RE: NIC failover

2005-01-14 Thread Niy
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Khavkine
Sent: Friday, January 14, 2005 12:09 PM
To: freebsd-questions@freebsd.org
Subject: NIC failover



Hi Folks.

Is there a way to configure 2 NIC's in a failover fasion connected to 2
different switches with FreeBSD 5.3R ?

Thanx
Paul


Paul Khavkine
Networks/Systems Planning and Engineering DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
+1-514-877-5505 x 263
http://www.distributel.net


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

You could set up a script to check the connection of nic0, and if no
connection, ifconfig nic1.

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


RE: USB Bidirectional printer

2005-01-04 Thread Niy
My printer works fine on USB, in both 4.10 and 5.3. I have an HP Photosmart
1215, but a lot of HPs will work, along with many other printers.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of regis rampnoux
Sent: Tuesday, January 04, 2005 2:15 AM
To: freebsd-questions@freebsd.org
Subject: USB Bidirectional printer

Hi,

Could you confirm that the use of bidirectional printer feature is not yet
implemented? 
Now I need it because the new printers have no parallel port! 


--
regis
___
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: Native 5.3 port of OpenOffice?

2005-01-04 Thread Niy
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RW
Sent: Tuesday, January 04, 2005 8:37 AM
To: Stijn Hoop; Dave Horsfall; freebsd-questions@freebsd.org
Subject: Re: Native 5.3 port of OpenOffice?

On Tuesday 04 January 2005 12:58, Stijn Hoop wrote:
 On Tue, Jan 04, 2005 at 11:46:48PM +1100, Dave Horsfall wrote:
  On Tue, 4 Jan 2005, Peter N. M. Hansteen wrote:
   direction of http://download.openoffice.org/1.1.4/index.html
 
  And if you follow the ports route instead, just how many more bloody 
  hoops do we have to jump through?

 You really do not want to compile OpenOffice if you're not willing to 
 jump through hoops. It is the biggest beast in the ports tree afaik.

 That said, there is a WITHOUT_JAVA knob for it. Try that and see if 
 you need to jump through this particular hoop again.

Try it, but I suspect it wont help. jdk is optional for running OO, but I
think building it requires a java-based build tool. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

I was able to build Open Office just fine without java.

Can't recall for the live of me how I did it, but I did, so it's doable. ;)

- Tim

(Just as a side note, if you try to type OOO with the trailing 'O' lowercase
in Outlook, it will change the middle 'O' to lower case as well. Just..
Weird.)

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


RE: USB Bidirectional printer

2005-01-04 Thread Niy
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of regis rampnoux
Sent: Tuesday, January 04, 2005 12:55 PM
To: Niy
Subject: RE: USB Bidirectional printer

Thanks for your reply,

On 04-Jan-2005 Niy wrote:
My printer works fine on USB, in both 4.10 and 5.3. I have an HP
Photosmart 1215, but a lot of HPs will work, along with many other
printers.

|But do you read on the USB port?The problem is for utilities, not for
printing.
|I don't know what is the software for HP but escputil does not work. It
should be used to clean the head, identify the model, make head alignement,
|reports ink levels ...
|
|
|--
|regis


To be honest, I've never tried. I'm not even sure if there is a utility for
HP printers that will do that. I'll do a little research and try tonight,
and let you know.

- Tim

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


Problems with dual head in X.

2004-11-17 Thread NiY
Greets! I've been having a problem running either XFree86 (4.3 or 4.4)
or X.org  (6.7 or 6.8), in a dual head configuration. I have used a
total of four different video cards in different combinations on these
varying versions of X, and the problem is always the same. I've used
FBSD 5.2.1 and FBSD 5.3, as well.
What happens: 
I get X configured fine, and am able to run X a few times, with both
video cards working fine. After a day or so, or a reboot or three, X
stops launching. I don't use X to log into, I run it from console. It
gets to a certain point (I believe it's where it loads the video card
drivers), and just hangs. I have to cold boot, I can't reboot out of
it. I can't ssh into the machine when it hangs, I can't change virtual
terminals.. can't Ctrl-C. All of the video cards are listed as being
supported  by X.org and XFree86. Also, nothing shows up in the
/var/log/Xorg.0.log file... It's just blank. Any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DNS Cache Server

2004-11-09 Thread NiY
Noticed the tread on a caching DNS server, and that brought up a
couple of questions   I had.
I have a DNS server set up in my home. I have a FreeBSD 5.2.1 box
acting as my gateway, running ipfw and natd. It routes my one static
IP address from my DSL provider to a set of internal, unroutable IPs.
That part is working fine. Also on that box is a caching DNS server.
The internal IP for the gateway is 192.168.0.1. My problems are two
fold, and may or may not be related.

1) I cannot, from either the gateway or any of the internal machines,
get DNS query responses from 192.168.0.1. I can get query responses
from 127.0.0.1 and the external IP address from the gateway, and I can
get query responses from the external IP from any of the internal
machines (well, partially. See below).

2) When I do set up my FBSD 5.3 box inside the network with the
external IP of the gateway in resolv.conf, I can ping and nslookup DNS
names just fine. However, when I go to use Mozilla (Or any browser for
that matter), they hang on Resolving host:. nslookup tells me it is
using my gateway as the DNS server, and never tells me it's switching
to another server for queries.

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


Re: DNS Cache Server

2004-11-09 Thread NiY
On 11/9/2004 4:01 PM NiY wrote:

 Noticed the tread on a caching DNS server, and that brought up a
 couple of questions   I had.
 I have a DNS server set up in my home. I have a FreeBSD 5.2.1 box
 acting as my gateway, running ipfw and natd. It routes my one static
 IP address from my DSL provider to a set of internal, unroutable IPs.
 That part is working fine. Also on that box is a caching DNS server.
 The internal IP for the gateway is 192.168.0.1. My problems are two
 fold, and may or may not be related.

 1) I cannot, from either the gateway or any of the internal machines,
 get DNS query responses from 192.168.0.1. I can get query responses
 from 127.0.0.1 and the external IP address from the gateway, and I can
 get query responses from the external IP from any of the internal
 machines (well, partially. See below).

 2) When I do set up my FBSD 5.3 box inside the network with the
 external IP of the gateway in resolv.conf, I can ping and nslookup DNS
 names just fine. However, when I go to use Mozilla (Or any browser for
 that matter), they hang on Resolving host:. nslookup tells me it is
 using my gateway as the DNS server, and never tells me it's switching
 to another server for queries.

 Any ideas?

Are you running some sort of packet filter?  If you are, I'd try
turning it off and then see if you still have problems.  If you do,
then you know that you need to modify your rules to allow the traffic
through the internal interface.

HTH,


-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com 
--

I am using ipfw, and am not deying anything on the internal network. I
do some filtering on traffic coming into the gateway from the external
IP, but nothing on any of the internal IPs. What I'm denying inbound
shouldn't have anything to do with DNS, either. Just to be sure, I did
set the default type to open and used a blank ipfw config, but that
didn't help any.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using dd to clone windows XP drives

2004-11-05 Thread NiY
Has anyone succesfully cloned a windows XP hard drive with dd? I heard
there were problems specifically with XP drives, that they required a
drive ID number to be changed or something silly like that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ATI, OpenGl, and the like.

2004-11-05 Thread NiY
Greetings! I've been a FreeBSD user for a few years now, off and on.
After my last harddrive dumped on me, I decided to stick with FreeBSD
as my main OS. I work as an PC/Net technician/admin and know the
console and server ends of FreeBSD rather well at this point. I've
never been much into graphics and games, but a little while ago I
stumbled, through happenstance, upon an ATI AIW Raden 9600 w/ 128 Megs
ram. I sold my old graphics card for cigarrette and pizza money, so
going back to it is no longer an option. My first thought was to get
the dual head function working under X11. No go. I googled the hell
out of it, tried all the stuff I could find, wouldn't work for me. Not
a big deal, I'll pic up an old pci video card at some point and give
it another shot. If anyone happens to have an XF86Config or Xorg.conf
file with this setup running, however, please feel free to send it my
way.
In my travels around the web I found a lot of irate FreeBSD users with
ATI graphics cards, specifically dealing with getting OpenGL to work.
I am running X.org 6.8.1 on FreeBSD 5.2.1. I have dual P3 1.0Ghzs and
512 megs RAM. Should be more than enough to play a silly little game
on. The game in question is Cube. It looks nice, figured it might help
me kill some time between on call rotations. Problem is, the darn
thing runs slow enough to pace mollasses in january. I get 10 fps
average. Can anyone point me in the right direction here? How can I
tell if OpenGL is running properly? Where can I find info on
configuring OpenGL for my card? I've tried setting the FPS range in
the game, doesn't help.

Oh, and if anyone knows what the deal is with these graphics cards and
FreeBSD (well, I guess X on FreeBSD more specifically) is.. status of
drivers and what not, point me in the right direction. Nothing major,
just a little frustrating. All in all, I love FreeBSD. If this card
isn't going to work for me, can anyone recommend a dual head video
card that runs decently with OpenGL and has a built in TV tuner?
Preferably a tv tuner that will actually work? (still holding my
breath for the Gatos team to catch up some day.)

If you need any of my config information, lemme know. Sorry for the
message length, wasn't quite sure how to trim it down.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]