Re: Flashing BIOS/Making bootable DOS filsystem on USB stick

2006-05-26 Thread Svein Halvor Halvorsen
Warren Block wrote:
 mkisofs can be used to create bootable CDs with a DOS floppy image. The
 DOS system has to set up CD support, and the additional files end up
 being on that drive.  See

This is a problem, I think. The supplied FreeDOS boot floppies won't
support USB CD-ROM drives.


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: Intel Mac experiences

2006-05-26 Thread vayu


On May 25, 2006, at 9:13 PM, Ted Mittelstaedt wrote:



James, you missed the point.  If you have an Intel MAC it came
with MacOS X (tiger) and that is basically the same operating
system as FreeBSD.  Meaning, what are you trying to gain?  If
anything, your worse off with FreeBSD since MacOS X comes with
a gorgeous user interface that FreeBSD does not have.

Ted



I can understand the desire.  OS X does have a polished and beautiful  
desktop environment, but it is not FreeBSD.  If money were no object  
for me, I would want a Macbook Pro with a triple boot of OS X, Win XP  
and FreeBSD.


Back to the original topic: James, I'm curious that you had any  
results booting with any BSD or Linux.  The Intel Macs have no BIOS,   
I have read of hacks that got Linux (and Windows before Apple offered  
it) to work, but it didn't seem straight forward based on the  
accounts I read.








-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of James Earl
Sent: Thursday, May 25, 2006 12:48 PM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: Intel Mac experiences


I'm not joking.  This is a FreeBSD mailing list isn't it?

On 5/25/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:


Please tell me your joking, don't you know that MacOS X is
just a commercialized version of FreeBSD?

Ted

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


Biometric Fingertip Scan

2006-05-26 Thread Carlos Silva

Hi all,

Actually, can we use biometric fingertip scans on our systems to allow a 
root logon?

I'm interested in that technology ;)

Best Regards,

Carlos Silva, CSilva
Web: http://www.csilva.org/

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


Re: Biometric Fingertip Scan

2006-05-26 Thread Olivier Nicole
Hi Carlos,

 Actually, can we use biometric fingertip scans on our systems to allow a 
 root logon?
 I'm interested in that technology ;)

If you know a fingerprint scanner that work with FreeBSD and if you
add that to the system, why not :)

But I don't have the equipment to try and play with here.

I only do remote logon (via SSH) and get root priviledges via sudo.

Best regards,

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


Re: Intel Mac experiences

2006-05-26 Thread Scott Sipe


On May 26, 2006, at 1:36 AM, vayu wrote:



On May 25, 2006, at 9:13 PM, Ted Mittelstaedt wrote:



James, you missed the point.  If you have an Intel MAC it came
with MacOS X (tiger) and that is basically the same operating
system as FreeBSD.  Meaning, what are you trying to gain?  If
anything, your worse off with FreeBSD since MacOS X comes with
a gorgeous user interface that FreeBSD does not have.

Ted



I can understand the desire.  OS X does have a polished and  
beautiful desktop environment, but it is not FreeBSD.  If money  
were no object for me, I would want a Macbook Pro with a triple  
boot of OS X, Win XP and FreeBSD.


Back to the original topic: James, I'm curious that you had any  
results booting with any BSD or Linux.  The Intel Macs have no  
BIOS,  I have read of hacks that got Linux (and Windows before  
Apple offered it) to work, but it didn't seem straight forward  
based on the accounts I read.


This is not true--how do you think Bootcamp works? It provides BIOS  
emulation for booting windows, and whatever else.


Secondly, why do people keep saying that OSX and FreeBSD are  
basically the same operating system -- if by basically the same you  
mean have a unix base, then sure. OSX runs on a hybrid mach  
microkernel (and with all the performance baggage this comes with). A  
great deal of the userland utilities originate from NetBSD or even  
OpenBSD in addition to FreeBSD. There is no ports system (sure,  
darwinports is similiar, though far less extensive). Boot system is  
entirely different. There's no way to buildworld or buildkernel, etc.  
Directory services are done completely differently than in Freebsd  
(netinfo?). There's not even an /etc/fstab. One could go on...


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


RE: Port old 16-bit Win program to FreeBSD that needs access to core memory

2006-05-26 Thread Ted Mittelstaedt

Hi Sam,

  This isn't the best mailing list to ask this question, but here goes.

  You generally cannot directly access memory under UNIX, period.
You have to go through a device driver.  Keep in mind WIndows is
a single-user system, thus a Windows program can make a lot of
assumptions.  One of these is that the program I/O is going to go
to the screen, input will come from the keyboard, etc.  UNIX is a
multiuser
system and a program can be run from a terminal or SSH session
logged in over the network, a direct connection from the console,
etc.  Thus the program cannot make assumptions about where the
data is going to be going to.

  However, the good news is that it should be pretty easy to modify
a driver for your card.  For example take a look here:

http://www.dmst.aueb.gr/dds/sw/ifurnace/

  There's driver source up there and it sounds like that card is
similar to yours.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam Guyer
Sent: Thursday, May 25, 2006 3:51 PM
To: freebsd-questions@freebsd.org
Subject: Port old 16-bit Win program to FreeBSD that needs
access to core memory


I have an old 16-bit C++ program written for Win 3.1 that I would like
to be able to run on FreeBSD.  Before I try to port the application, I
wanted to know if it would be possible at all.  The program needs to
directly access the memory range D-D, and as I am new
to FreeBSD
I don't know if this is allowed by the kernel or if the range is
available.  The program is for a motor control board (ISA, not PCI) and
is designed to communicate with the card by writing directly to the core
memory region D-D.  It would be best described as an old ISA
video card for Windows 3.1/MS-DOS where there is no real driver.  The
only operation the
operating system need to perform separate of the program is to assign
the memory region to the ISA card.  Is this possible?  Thanks!

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006


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


Re: OT: Torn between SCSI and SATA for RAID

2006-05-26 Thread Nikolas Britton

On 5/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

I've been spending the last couple of days extensively looking at various
options for RAID and getting some storage system in place.  Performance is not
really a BIG issue, but I also don't want to have things hecticly slow either.
This will be a NAS type of implementation so speed would be bound by relatively
speaking slow network connections in any case...

Now first things first as well, I did look at Fiber Channels too - and the
tecnology is just to expensive and complex for a home type implementation that
I want this for.

Ideally, I'd like to start at 2TB of storage (yes, those movies must go
somewhere!), but I'd like to be able to grow this as times go by... I also
definately want redundancy on the data, as I just lost 80GB of precious data
when ironically, a 160GB SATA Seagate went out under me.

Now SCSI I know, is more expensive than SATA.  Whether it provides beter
performance than SATA I'm still uncertain off, but gut would tell me that due
to the cost factor, SCSI *should* run away as far as speed is concerned.  But
also as I said previously, speed and performance is not a priority for my
implementation and therefore it has very little weight.  This makes me look at
SATA then therefore.

My problem with SATA, is the whole 1 Port, 1 Drive scenario.  I've looked at the
Adaptec 16 Port SATA Controller.  The reviews I managed to get on that card on
the Internet, paints a very grim picture.  Buggered Firmware, the controller
destroys drives, and general sluggish performance.  Is anyone using this card
that can perhaps give me a better picture?


You want the Areca ARC-1160-ML (ML for Multi-Lane) card:
http://www.areca.com.tw/products/html/pcix-sata.htm
http://www.rackmountpro.com/productpage.php?prodid=2350

http://www.freebsd.org/cgi/man.cgi?query=arcmsrapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html



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


IBM Blade

2006-05-26 Thread Steele Burgess
When is Freebsd going to support the blades. Doesn't make any sense. 

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


Re: Intel Mac experiences

2006-05-26 Thread John Cruz

Scott Sipe wrote:
This is not true--how do you think Bootcamp works? It provides BIOS 
emulation for booting windows, and whatever else.


Secondly, why do people keep saying that OSX and FreeBSD are 
basically the same operating system -- if by basically the same you 
mean have a unix base, then sure. OSX runs on a hybrid mach 
microkernel (and with all the performance baggage this comes with). A 
great deal of the userland utilities originate from NetBSD or even 
OpenBSD in addition to FreeBSD. There is no ports system (sure, 
darwinports is similiar, though far less extensive). Boot system is 
entirely different. There's no way to buildworld or buildkernel, etc. 
Directory services are done completely differently than in Freebsd 
(netinfo?). There's not even an /etc/fstab. One could go on...


Scott
Bootcamp has nothing to do with it. Apple issues a firmware update that 
will allow for BIOS emulation, all bootcamp does is hold your hand 
through getting windows on there.


When it comes right down to it, the differences between freeBSD and 
MacOS X (darwin) are very minimal. No, you can't do a buildworld because 
you can't build the kernel source because the source is closed. But why 
would you need to? The kernel is already built and optomized for your 
Mac hardware. As you stated, the kernels are different anyways. No ports 
system, but when you have a plethora of point-click-install software the 
need isn't really there.But basic OS functioning is the same, they all 
(all the BSDs and MacOS) are basically the same at the os level, but not 
the kernel level. Also, i'm pretty sure that /etc/fstab/ exists on OS X


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


Re: fatal trap 12 page fault in kernel mode

2006-05-26 Thread Lowell Gilbert
rwarneford [EMAIL PROTECTED] writes:

 I am not having any success in installing FreeBSD 6.0 at all. When the
 default install boot starts, it hangs at some point after identifying ad0
 and acd0.

 If I go to the boot loader prompt, set hint.acpi.0.disabled=1, or use safe
 mode, install boot crashes very soon with the following output:




 $PIR : BIOS IRQ 10 for 0.11INTA does not match link 0x63 irq 5

 pci0 : PCI bus on pcib0




 fatal trap 12 : page code fault while in kernel mode

 fault virtual address = 0xeba60

 fault code = supervisor read, page not present

 instruction pointer = 0x20:0xc00eb961

 frame pointer = 0x28:0xc10209e4

 stack pointer = 0x28:0xc10209e4

 code segment = base 0x0, limit 0xf, type 0x1b

 DPL 0, pres 1, def 321, gran 1

 processor flags = interrupt enabled, resume, IOPL=0

 current process = 0 (swapper)

 trap number = 12



 Rob


Have you tried 6.1 as well?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd fails: Input output error

2006-05-26 Thread Lars Stokholm

On 5/25/06, Lars Stokholm [EMAIL PROTECTED] wrote:

For testing purpose I'm trying to remake and burn the FreeBSD 6.1 CD
#1 iso image. I've put the CD in drive 0 (acd0) and:

[...]

Input/output error


Using the ATAPI/CAM driver and cdrecord (as described in the
handbook), seems to work flawlessly. At least this proves that my
hardware is OK. Of course I prefer not adding this extra layer, so
don't hold back your suggestions. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Mac experiences

2006-05-26 Thread Lorin Lund

John Cruz wrote:


Scott Sipe wrote:
...



the same, they all (all the BSDs and MacOS) are basically the same at 
the os level, but not the kernel level. Also, i'm pretty sure that 
/etc/fstab/ exists on OS X


OS X on my iBook has an /etc/fstab so I would certainly expect the Intel 
version to have it too.
When I looked into it the fstab was all comments though.  Every line 
started with #.




~John
___
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]


good cyrus installation howto

2006-05-26 Thread Noah


Hi there,

might somebody send me to a good cyrus installation howto for a first timer.


CHeers,
Noah

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


remote file moves, over SSH, with wildcards ... help needed.

2006-05-26 Thread Ensel Sharon

(FreeBSD 6.0-RELEASE)

I cannot move a file, over ssh, with wildcards:

# ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
ssh: No match.

Ok, so I quote it:

# ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
Password:
mv: rename /dir/file*.wav to /dir2/*.wav: No such file or directory

I even tried single quoting both paths, and just double quoting the
file*.wav

Nothing works.

Is it possible to move with wildcards over ssh ?

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


Re: Strange messages in mail queue

2006-05-26 Thread Nagy László Zsolt

Charles Swiger írta:

On May 25, 2006, at 9:39 AM, Eric wrote:

what MTA are you using?  i'm wondering why your server accepted the
email in the first place.


Yes, well, that question implies the right direction for a solution: 
you want to reject spam before trying to deliver it, rather than 
accepting it and then being responsible for bouncing it back.
I'm using postfix (the most up to date version from the ports tree). I 
did not know that it is bouncing back automatically. :-)
How can I reject those emails before accepting them? I need to whole 
body of the message before I can classify it. Are there any other options?


I'm sorry, I know I'm a Lama.


  Laszlo

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


Re: remote file moves, over SSH, with wildcards ... help needed.

2006-05-26 Thread Karol Kwiatkowski
On 26/05/2006 16:53, Ensel Sharon wrote:
 (FreeBSD 6.0-RELEASE)
 
 I cannot move a file, over ssh, with wildcards:
 
 # ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
 ssh: No match.
 
 Ok, so I quote it:
 
 # ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
 Password:
 mv: rename /dir/file*.wav to /dir2/*.wav: No such file or directory
 
 I even tried single quoting both paths, and just double quoting the
 file*.wav
 
 Nothing works.
 
 Is it possible to move with wildcards over ssh ?

Your local shell gets the '*' first. Try escaping it with '\':

$ ssh [EMAIL PROTECTED] mv /dir/file\*.wav /dir2

HTH,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Strange messages in mail queue

2006-05-26 Thread Chuck Swiger

Nagy László Zsolt wrote:

Charles Swiger írta:
Yes, well, that question implies the right direction for a solution: 
you want to reject spam before trying to deliver it, rather than 
accepting it and then being responsible for bouncing it back.
I'm using postfix (the most up to date version from the ports tree). I 
did not know that it is bouncing back automatically. :-)  How can I 
reject those emails before accepting them? I need to whole body of the 
message before I can classify it. Are there any other options?


You can block a lot of spam before accepting by various changes to 
Postfix's main.cf file, as well as by installing the postgrey port, 
however, you're right that the standard content-filter mechanism (via 
content_filter or check_policy_service) needs to get the whole body of 
the message before it can be classified.


Perhaps the following snippets will give you some ideas:

[ ...main.cf... ]
# readme_directory: The location of the Postfix README files.
#
readme_directory = no

# amavisd filtering...
content_filter=scan:[127.0.0.1]:10024

# sasl config
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = codefab.com

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /usr/local/etc/postfix/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/smtpd.pem
smtpd_tls_CAfile = /usr/local/etc/postfix/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

smtpd_helo_required = yes
strict_rfc821_envelopes = yes
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
smtpd_recipient_restrictions = permit_sasl_authenticated,
   reject_invalid_hostname,
   reject_non_fqdn_hostname,
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   permit_mynetworks,
   reject_unauth_destination,
   check_helo_access hash:/usr/local/etc/postfix/helo_checks,
   check_recipient_access 
pcre:/usr/local/etc/postfix/recipient_checks.pcre,

   check_policy_service inet:127.0.0.1:10023,
   permit

smtpd_client_restrictions =
   check_client_access hash:/usr/local/etc/postfix/access

% cat helo_checks
localhost   REJECT You are not localhost.
199.103.21.227  REJECT You are not my IP, go away.
codefab.com REJECT You are not in my domain.
217.9.41.138REJECT 456 Stop bouncing forged spam mail to us!

% cat recipient_checks.pcre
# Note: You must have PCRE support support built in to Postfix at
# compile time to use this.  (Tho I've been told the following are
# valid POSIX RE's [regexp: map type], as well.)
#
# Postfix doesn't relay by default.  But it may *appear* to do so
# to some testers.  The first two statements below remove all
# doubt.

/^\@/   550 Invalid address format.
/[EMAIL PROTECTED]@/550 This server disallows weird address syntax.

# Let email to the following destinations bypass all the remaining
# reject and check tests.  We always want to let email for these
# recipients in.

/^postmaster\@/ OK
/^abuse\@/  OK

# Note: The OKs above, for postmaster, etc., will *not*
# bypass header and body checks.  There is currently no way
# to do so with Postfix :(
#
# Remember where I said, at the very beginning, about how
# order is important?  Whatever you do, do *not* place an
# access map like this one before the permit mynetworks
# and reject_unauth_destination statements.  Not unless
# you want to be an open relay, anyway.
[ ... ]

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


PF spamd : trouble with homemade blacklist

2006-05-26 Thread Alexis Dorais-Joncas

Hey all,

I have been running spamd from OpenBSD on :

FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 
09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  
i386


for a while now, and I just encountered a small problem.

I want to create a home-made blacklist so that all connexions made from 
any of the addresses to my port 25 are tarpitted. However, even if the 
address is added in the spamd table by spamd-setup, new connexions 
still show up as grey, instead of being spotted as being blacklisted 
and then tarpitted.


Here is the relevent configs, followed by evidence of the problem. Hope 
someone can point me to a solution !


-
spamd.conf: (comments trimmed out)
-
all:\
   spews1:beck:blackl
spews1:\
   :black:\
   :msg=SPAM. Your address %A is in the spews level 1 database\n\
   See http://www.spews.org/ask.cgi?x=%A for more details:\
   :method=http:\
   :file=www.openbsd.org/spamd/spews_list_level1.txt.gz:


# Provided by Bob Beck at the University of Alberta
beck:\
  :black:\
  :msg=SPAM. Your address %A appears in a list of known spammers:\
  :method=http:\
  :file=(location hidden):

blackl:\
   :black:\
   :msg=SPAM. Your address %A appears in my homemade list of known 
spammers:\

   :file=/var/mail/blacklist.txt:

-
pf.conf
-
[...]
table spamd persist
table spamd-white persist
table spamd-mywhite persist file /var/mail/whitelist.txt

rdr pass inet proto tcp from spamd-mywhite to any port smtp - 
127.0.0.1 port smtp
rdr pass inet proto tcp from spamd to any port smtp - 127.0.0.1 port 
spamd
rdr pass inet proto tcp from !spamd-white to any port smtp - 
127.0.0.1 port spamd

[...]

-
/var/mail/blacklist.txt
-
(only one single line, no empty line at the end)
83.100.146.104

-
spamd-setup output :
-
[EMAIL PROTECTED] sudo spamd-setup -d
Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
blacklist spews1 14939 entries
Getting http://www.[location hidden]
blacklist beck 17251 entries
blacklist blackl 1 entries
-

We see here that the IP address is effectively added to the spamd 
table, and the daemon should know that it is blacklisted :

[EMAIL PROTECTED] sudo pfctl -t spamd -vTshow|grep -A5 83.100.146.104
No ALTQ support in kernel
ALTQ related functions disabled
  83.100.146.104
   Cleared: Fri May 26 10:43:24 2006
   In/Block:[ Packets: 0  Bytes: 
0  ]
   In/Pass: [ Packets: 30 Bytes: 
1568   ]
   Out/Block:   [ Packets: 0  Bytes: 
0  ]
   Out/Pass:[ Packets: 30 Bytes: 
2280   ]

-

However, logs show that when an incoming connexion is made, instead of 
being tarpitted, it is treated as a normal one and is considered grey :

May 26 10:55:05 g-noc spamd[85889]: 83.100.146.104: connected (1/0)
May 26 10:55:06 g-noc spamd[85889]: (GREY) 83.100.146.104:  - 
[EMAIL PROTECTED]
May 26 10:55:06 g-noc spamd[85889]: 83.100.146.104: disconnected after 1 
seconds.


$ spamdb |grep 83.100.146.104
GREY|83.100.146.104||[EMAIL PROTECTED]|1148654694|1148669094|1148669094|4|0

So, my question is : how can I create a list that spamd will know about 
and will tarpit every connexion with a source address contained in the 
list and with destination port = 25 ? I'm sure I'm very close, but I 
have been trying for a while now and can't figure this one out.


Thanks for any help you guys can provide !

Alexis

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


Re: remote file moves, over SSH, with wildcards ... help needed.

2006-05-26 Thread Chuck Swiger

Ensel Sharon wrote:

(FreeBSD 6.0-RELEASE)

I cannot move a file, over ssh, with wildcards:

# ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
ssh: No match.

Ok, so I quote it:

# ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
Password:
mv: rename /dir/file*.wav to /dir2/*.wav: No such file or directory

I even tried single quoting both paths, and just double quoting the
file*.wav

Nothing works.

Is it possible to move with wildcards over ssh ?


Try:

   ssh [EMAIL PROTECTED] /bin/sh mv /dir/file*.wav /dir2

--
-Chuck

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


Re: Intel Mac experiences

2006-05-26 Thread James Earl

On 5/26/06, vayu [EMAIL PROTECTED] wrote:

I can understand the desire.  OS X does have a polished and beautiful
desktop environment, but it is not FreeBSD.  If money were no object
for me, I would want a Macbook Pro with a triple boot of OS X, Win XP
and FreeBSD.

Back to the original topic: James, I'm curious that you had any
results booting with any BSD or Linux.  The Intel Macs have no BIOS,
I have read of hacks that got Linux (and Windows before Apple offered
it) to work, but it didn't seem straight forward based on the
accounts I read.


Maybe I'm just experiencing withdrawls from not using FreeBSD!  ;)

To try to boot any of these install CD's all ya do is hold down the C
key to boot from the CD drive.  Gentoo Linux had no problems booting,
and GNOME actually felt quite fast (this is using the LiveCD).  I
think the hacks you read about are for getting an EFI compatible boot
loader setup, or for getting winxp running before Apple's Boot Camp
came out.

I got the Intel Mac Mini mainly for the hardware.  I like it's tiny
size, low power consumption, and silent operation.  I have another OS
X machine at home, so I always planned to install FreeBSD on this Mac
Mini when it was possible.  I can get my work done on any system.  So
I just like to run the system that I enjoy playing with the most!

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


Re: remote file moves, over SSH, with wildcards ... help needed.

2006-05-26 Thread Bill Moran
Ensel Sharon [EMAIL PROTECTED] wrote:

 
 (FreeBSD 6.0-RELEASE)
 
 I cannot move a file, over ssh, with wildcards:
 
 # ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
 ssh: No match.
 
 Ok, so I quote it:
 
 # ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2
 Password:
 mv: rename /dir/file*.wav to /dir2/*.wav: No such file or directory
 
 I even tried single quoting both paths, and just double quoting the
 file*.wav
 
 Nothing works.
 
 Is it possible to move with wildcards over ssh ?

It's definately possible.  Others have provided suggestions -- I've had
success quoting the entire command:

ssh [EMAIL PROTECTED] mv /dir/file*.wav /dir2

ssh is odd, because you first have the local shell trying to interpret
the metacharacters, then you have the remote shell trying to do it.
I've had cases where I had to double escape things, for example:

ssh [EMAIL PROTECTED] echo \cp * /backup\  log.txt

I wrote a whole remote control framework for a client once, and I believe
I had 4 \ at one point in the script.

-- 
Bill Moran

That's why I never kiss 'em on the mouth.

Jayne Cobb

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


Re: Strange messages in mail queue

2006-05-26 Thread Eric
Nagy László Zsolt wrote:
 Charles Swiger írta:
 On May 25, 2006, at 9:39 AM, Eric wrote:
 what MTA are you using?  i'm wondering why your server accepted the
 email in the first place.

 Yes, well, that question implies the right direction for a solution:
 you want to reject spam before trying to deliver it, rather than
 accepting it and then being responsible for bouncing it back.
 I'm using postfix (the most up to date version from the ports tree). I
 did not know that it is bouncing back automatically. :-)
 How can I reject those emails before accepting them? I need to whole
 body of the message before I can classify it. Are there any other options?
 
 I'm sorry, I know I'm a Lama.
 

this is a good resource to set up spam killin and antivirus. Its for
OpenBSD, but its easy enough to adjust for FreeBSD.

http://www.flakshack.com/anti-spam/wiki/index.php

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


cant' find port

2006-05-26 Thread Matias
Hi,

I've been googling about this but I can't find the answer:

Is there a port to install Yakuake (the quake-styled terminal for kde)?




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


Package management utility for KDE?

2006-05-26 Thread Matias
Hi, KDE fan ahead

Is there any visual FreeBSD package management tool for QT/KDE?


Thanks.


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


Re: cant' find port

2006-05-26 Thread Bill Moran
Matias [EMAIL PROTECTED] wrote:

 Hi,
 
 I've been googling about this but I can't find the answer:
 
 Is there a port to install Yakuake (the quake-styled terminal for kde)?

http://www.freshports.org

-- 
Bill Moran

We meddle.  People don't like to be meddled with.  We tell them what to do,
what to think.  Don't run, don't walk.  We're in their homes and in their
heads and we haven't the right.

River Tam

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


Re: cant' find port

2006-05-26 Thread Matias
Bill Moran wrote:

 Matias [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I've been googling about this but I can't find the answer:
 
 Is there a port to install Yakuake (the quake-styled terminal for kde)?
 
 http://www.freshports.org
 

I've already looked for there, but it isn't listed, so, the reply to my
original question is NO right?


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


textproc: Typesetting holy content

2006-05-26 Thread Kyrre Nygard


Hello!

I hope this is not too off topic.

I'm involved in some studies here, on the authority of holy scriptures.

I am trying to transcribe The Noble Qur'an, by some said to be the 
most elegant book

ever written, into LaTeX format. That way I can format it the way I wish,
and study it at my own premises.

I began to wget -m http://www.usc.edu/dept/MSA/quran/

Which gave me 001.qmt.html all the way up to 114.qmt.html.

Next, I ran this:

for i in `find -s . -name *.html`; do w3m -dump $i  
${i%.html}.txt; echo ${i%.html}.txt; done


And ended up with 001.qmt.txt all the way up to 114.qmt.txt.

Then, I took 001.qmt.txt, which looked like this:

--

USC
USC
Compendium of Muslim Texts

Fundamentals
Allah
Muhammad
Qur'an
Sunnah
Pillars

Special Topics
Economics
History
Human Relations
Law
Misconceptions About Islam
Politics

Tools
Qur'an Search
Hadeeth Search
Glossary

Translations of the Qur'an, Chapter 1:

AL-FATIHA (THE OPENING)

Total Verses: 7
Revealed At: MAKKA
Maududi's introduction

---

001.001
YUSUFALI: In the name of Allah, Most Gracious, Most Merciful.
PICKTHAL: In the name of Allah, the Beneficent, the Merciful.
SHAKIR: In the name of Allah, the Beneficent, the Merciful.

001.002
YUSUFALI: Praise be to Allah, the Cherisher and Sustainer of the worlds;
PICKTHAL: Praise be to Allah, Lord of the Worlds,
SHAKIR: All praise is due to Allah, the Lord of the Worlds.

001.003
YUSUFALI: Most Gracious, Most Merciful;
PICKTHAL: The Beneficent, the Merciful.
SHAKIR: The Beneficent, the Merciful.

001.004
YUSUFALI: Master of the Day of Judgment.
PICKTHAL: Master of the Day of Judgment,
SHAKIR: Master of the Day of Judgment.

001.005
YUSUFALI: Thee do we worship, and Thine aid we seek.
PICKTHAL: Thee (alone) we worship; Thee (alone) we ask for help.
SHAKIR: Thee do we serve and Thee do we beseech for help.

001.006
YUSUFALI: Show us the straight way,
PICKTHAL: Show us the straight path,
SHAKIR: Keep us on the right path.

001.007
YUSUFALI: The way of those on whom Thou hast bestowed Thy Grace, those whose
(portion) is not wrath, and who go not astray.
PICKTHAL: The path of those whom Thou hast favoured; Not the (path) of those
who earn Thine anger nor of those who go astray.
SHAKIR: The path of those upon whom Thou hast bestowed favors. Not (the path)
of those upon whom Thy wrath is brought down, nor of those who go astray.

Sponsored by the MSA.

--

And transformed it into LaTeX format:

--

\documentclass[11pt,a4paper,oneside,english]{book}
\begin{document}

\title{The Noble Qur'an}

\tableofcontents{}

\chapter{AL-FATIHA (THE OPENING)}

001.001 In the name of Allah, Most Gracious, Most Merciful.
001.002 Praise be to Allah, the Cherisher and Sustainer of the worlds;
001.003 Most Gracious, Most Merciful;
001.004 Master of the Day of Judgment.
001.005 Thee do we worship, and Thine aid we seek.
001.006 Show us the straight way,
001.007 The way of those on whom Thou hast bestowed Thy Grace, those 
whose (portion) is not wrath, and who go not astray.


--

Basically what I did manually on the first file is what I intend to 
do automatically
with all the other files. The format remains the same, however the 
quantity of text will differ.


The process, to be done on each of my now *.txt files, would look 
something like this:


1
Cut out everything before line 27.

2
Take line 27, and embody it. So if line 27 says HELLO, it will become:

\chapter{HELLO}

3
Cut out everything preceding line 27 until a NNN.NNN (verse 
indication) appears.


4
Join the NNN.NNN with the below line and cut out YUSUFALI:

5
Join all lines below the YUSUFALI: line ...

6
Until the PICKTHAL: line appears. Then, delete it and all below 
lines until the next NNN.NNN appears.


The reason is that the University of California compilation displays
three different english translations and I'd only be interested in 
the first one.


For instance, this:

--

004.054
YUSUFALI: Or do they envy mankind for what Allah hath given them of his bounty?
but We had already given the people of Abraham the Book and Wisdom, and
conferred upon them a great kingdom.
PICKTHAL: Or are they jealous of mankind because of that which Allah of His
bounty hath bestowed upon them? For We bestowed upon the house of Abraham (of
old) the Scripture and wisdom, and We bestowed on them a mighty kingdom.
SHAKIR: Or do they envy the people for what Allah has given them of His grace?
But indeed We have given to Ibrahim's children the Book and the wisdom, and We
have given them a grand kingdom.

--

Would simply become this, in one line:

--

004.054 Or do they envy mankind for what Allah hath given them of his 
bounty? but We had already given the people of Abraham the Book and 
Wisdom, and conferred upon them a great kingdom.


--

7
When the next NNN.NNN appears, treat it like the rest.

Thank you! Really! For bearing with me so far!

Indeed, this is what I wish to 

Re: Rebuilding /var/db/pkg

2006-05-26 Thread Robertsen A. Riehle
On Thursday 25 May 2006 19:03, John Nielsen wrote:
 Quoting Robert Huff [EMAIL PROTECTED]:
  Robertsen A. Riehle writes:
   Say that the /var/db/pkg directory had been recursively erased
   off of a workstation that had ~300 packages on it.  And, let's
   hypothetically say that this workstation's ports tree was up to
   date as of yesterday.  Is there any hope of rectifying this or is
   this workstation is a static ports state forever???
 
  1) Is there no back-up?
  2) Unless you clear it regularly, look in

 Also if you act before the weekly(?) periodic script rebuilds the
 locate database, you could use the output of locate /var/db/pkg to
 help you determine what was there.
This is really good idea except the locate database was already updated.  


  /usr/ports/distfiles.  On my system, I'd also check pkgtools.conf.
  Start with things with a lot of dependencies (OpenOffice, Mozilla,
  KDE/gnome, Java, Emacs, etc.) and reinstall by hand.
It appears that this is really the only way to solve the problem.  Except, if 
there is nothing in /var/db/pkg, make install does nothing.   So, I tried  
pkg_add -r gcc41 and the following result revealed a more substantial problem.

 su-2.05b# pkg_add -r gcc41  
(Before I compile all of KDE and find out that it didn't work, I decided to 
try something small...)

Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/gcc41.tbz...
/var: write failed, filesystem is full
info/gcc41/gccint.info: Write error: No space left on device
 Done.
^C
/var: write failed, filesystem is full
Signal 2 received, cleaning up..

But
su-2.05b# df -h /var
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s2d248M183M 45M80%/var

Surely, a gcc package doesn't take up 45M.  What is going on here?




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


Re: textproc: Typesetting holy content

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kyrre Nygard wrote:
 
 Hello!
 
 I hope this is not too off topic.
 
 I'm involved in some studies here, on the authority of holy scriptures.
 
 I am trying to transcribe The Noble Qur'an, by some said to be the most
 elegant book
 ever written, into LaTeX format. That way I can format it the way I wish,
 and study it at my own premises.
 
 I began to wget -m http://www.usc.edu/dept/MSA/quran/
 
 Which gave me 001.qmt.html all the way up to 114.qmt.html.
 
 Next, I ran this:
 
 for i in `find -s . -name *.html`; do w3m -dump $i 
 ${i%.html}.txt; echo ${i%.html}.txt; done
 
 And ended up with 001.qmt.txt all the way up to 114.qmt.txt.
 
 Then, I took 001.qmt.txt, which looked like this:
 
 -- 
 
 USC
 USC
 Compendium of Muslim Texts
 
 Fundamentals
 Allah
 Muhammad
 Qur'an
 Sunnah
 Pillars
 
 Special Topics
 Economics
 History
 Human Relations
 Law
 Misconceptions About Islam
 Politics
 
 Tools
 Qur'an Search
 Hadeeth Search
 Glossary
 
 Translations of the Qur'an, Chapter 1:
 
 AL-FATIHA (THE OPENING)
 
 Total Verses: 7
 Revealed At: MAKKA
 Maududi's introduction
 
 ---
 
 
 001.001
 YUSUFALI: In the name of Allah, Most Gracious, Most Merciful.
 PICKTHAL: In the name of Allah, the Beneficent, the Merciful.
 SHAKIR: In the name of Allah, the Beneficent, the Merciful.
 
 001.002
 YUSUFALI: Praise be to Allah, the Cherisher and Sustainer of the worlds;
 PICKTHAL: Praise be to Allah, Lord of the Worlds,
 SHAKIR: All praise is due to Allah, the Lord of the Worlds.
 
 001.003
 YUSUFALI: Most Gracious, Most Merciful;
 PICKTHAL: The Beneficent, the Merciful.
 SHAKIR: The Beneficent, the Merciful.
 
 001.004
 YUSUFALI: Master of the Day of Judgment.
 PICKTHAL: Master of the Day of Judgment,
 SHAKIR: Master of the Day of Judgment.
 
 001.005
 YUSUFALI: Thee do we worship, and Thine aid we seek.
 PICKTHAL: Thee (alone) we worship; Thee (alone) we ask for help.
 SHAKIR: Thee do we serve and Thee do we beseech for help.
 
 001.006
 YUSUFALI: Show us the straight way,
 PICKTHAL: Show us the straight path,
 SHAKIR: Keep us on the right path.
 
 001.007
 YUSUFALI: The way of those on whom Thou hast bestowed Thy Grace, those
 whose
 (portion) is not wrath, and who go not astray.
 PICKTHAL: The path of those whom Thou hast favoured; Not the (path) of
 those
 who earn Thine anger nor of those who go astray.
 SHAKIR: The path of those upon whom Thou hast bestowed favors. Not (the
 path)
 of those upon whom Thy wrath is brought down, nor of those who go astray.
 
 Sponsored by the MSA.
 
 -- 
 
 And transformed it into LaTeX format:
 
 -- 
 
 \documentclass[11pt,a4paper,oneside,english]{book}
 \begin{document}
 
 \title{The Noble Qur'an}
 
 \tableofcontents{}
 
 \chapter{AL-FATIHA (THE OPENING)}
 
 001.001 In the name of Allah, Most Gracious, Most Merciful.
 001.002 Praise be to Allah, the Cherisher and Sustainer of the worlds;
 001.003 Most Gracious, Most Merciful;
 001.004 Master of the Day of Judgment.
 001.005 Thee do we worship, and Thine aid we seek.
 001.006 Show us the straight way,
 001.007 The way of those on whom Thou hast bestowed Thy Grace, those
 whose (portion) is not wrath, and who go not astray.
 
 -- 
 
 Basically what I did manually on the first file is what I intend to do
 automatically
 with all the other files. The format remains the same, however the
 quantity of text will differ.
 
 The process, to be done on each of my now *.txt files, would look
 something like this:
 
 1
 Cut out everything before line 27.
 
 2
 Take line 27, and embody it. So if line 27 says HELLO, it will become:
 
 \chapter{HELLO}
 
 3
 Cut out everything preceding line 27 until a NNN.NNN (verse indication)
 appears.
 
 4
 Join the NNN.NNN with the below line and cut out YUSUFALI:
 
 5
 Join all lines below the YUSUFALI: line ...
 
 6
 Until the PICKTHAL: line appears. Then, delete it and all below lines
 until the next NNN.NNN appears.
 
 The reason is that the University of California compilation displays
 three different english translations and I'd only be interested in the
 first one.
 
 For instance, this:
 
 -- 
 
 004.054
 YUSUFALI: Or do they envy mankind for what Allah hath given them of his
 bounty?
 but We had already given the people of Abraham the Book and Wisdom, and
 conferred upon them a great kingdom.
 PICKTHAL: Or are they jealous of mankind because of that which Allah of His
 bounty hath bestowed upon them? For We bestowed upon the house of
 Abraham (of
 old) the Scripture and wisdom, and We bestowed on them a mighty kingdom.
 SHAKIR: Or do they envy the people for what Allah has given them of His
 grace?
 But indeed We have given to Ibrahim's children the Book and the wisdom,
 and We
 have given them a grand kingdom.
 
 -- 
 
 Would simply become this, in one line:
 
 -- 
 
 004.054 Or do they envy mankind for what Allah hath given them of his
 bounty? but We 

Re: cant' find port

2006-05-26 Thread Bill Moran
Matias [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
 
  Matias [EMAIL PROTECTED] wrote:
  
  Hi,
  
  I've been googling about this but I can't find the answer:
  
  Is there a port to install Yakuake (the quake-styled terminal for kde)?
  
  http://www.freshports.org
  
 
 I've already looked for there, but it isn't listed, so, the reply to my
 original question is NO right?

Yes.  I mean, no ... er ...

Freshport is authoritative - it gets its information directly from the
FreeBSD ports CVS tree.  If you can't find the port on freshports, it
either hasn't been ported or you aren't searching correctly.

-- 
Bill Moran

JAYNE: It ain't impossible! Saint Jayne, It's got a ring to it.
BOOK: I'm just trying to remember how many miracles you've performed.
JAYNE: I once hit a guy in the neck at five hundred yards with a bent scope,
   don't that count upstairs?
BOOK: Oh, it'll be taken into consideration...
JAYNE: Well you make that sound kinda ominous...

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


Re: Rebuilding /var/db/pkg

2006-05-26 Thread Robert Huff

Robertsen A. Riehle writes:

  Fetching 
  
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/gcc41.tbz...
  /var: write failed, filesystem is full
  info/gcc41/gccint.info: Write error: No space left on device
   Done.
  ^C
  /var: write failed, filesystem is full
  Signal 2 received, cleaning up..
  
  But
  su-2.05b# df -h /var
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/ad0s2d248M183M 45M80%/var
  
  Surely, a gcc package doesn't take up 45M.

Objection - fact not in evidence.  I don't _know_ how much room
gcc takes ... but if someone told me 45 megabytes I wouldn't
disagree.
Followup questions:
1) what is the output of du /var | sort -nr | head -n 40?
2) does lsof show any open files you don't recognize, or or
have no reason to be open?


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


How to get best results from FreeBSD-questions

2006-05-26 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-05-26 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: textproc: Typesetting holy content

2006-05-26 Thread Kirk Strauser
On Friday 26 May 2006 11:35, Kyrre Nygard wrote:

 I am trying to transcribe The Noble Qur'an, by some said to be the
 most elegant book ever written, into LaTeX format. That way I can format it
 the way I wish, and study it at my own premises.

I prefer Godel, Escher  Bach, but that's just me.  Anyway, didn't 
html2latex (/usr/ports/print/html2latex/pkg-descr) work?
-- 
Kirk Strauser


pgpj7NVYqGf5n.pgp
Description: PGP signature


Re: textproc: Typesetting holy content

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kirk Strauser wrote:
 On Friday 26 May 2006 11:35, Kyrre Nygard wrote:
 
 I am trying to transcribe The Noble Qur'an, by some said to be the
 most elegant book ever written, into LaTeX format. That way I can format it
 the way I wish, and study it at my own premises.
 
 I prefer Godel, Escher  Bach, but that's just me.  Anyway, didn't 
 html2latex (/usr/ports/print/html2latex/pkg-descr) work?

- From my understanding, html2latex wouldn't have cut the parts out that
he doesn't need, but would just convert the complete files. As such, it
would not accomplish his request.

Then again, I may well be wrong about html2latex's ability ...

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEdznp0JHtFv5fxW8RAuoFAKCXwcl/sFehWk0ujtO5RVg5l/W5kgCgm9hf
/Pm8VMXnDx5Y9u/b7XD48Cc=
=4lR1
-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: Intel Mac experiences

2006-05-26 Thread Chad Leigh -- Shire.Net LLC


On May 26, 2006, at 7:54 AM, John Cruz wrote:

When it comes right down to it, the differences between freeBSD and  
MacOS X (darwin) are very minimal. No, you can't do a buildworld  
because you can't build the kernel source because the source is  
closed. But why would you need to? The kernel is already built and  
optomized for your Mac hardware. As you stated, the kernels are  
different anyways. No ports system, but when you have a plethora of  
point-click-install software the need isn't really there.But basic  
OS functioning is the same, they all (all the BSDs and MacOS) are  
basically the same at the os level, but not the kernel level. Also,  
i'm pretty sure that /etc/fstab/ exists on OS X


This is not true.  There are very big differences on how you admin  
and run them.  I have been running FBSD for 10 years or longer and  
have been running OS X since the public beta and the NeXT OSes and  
the Apple/NeXT hybrids that came in between, before OS X.  OS X is  
much different from an  admin perspective, both client and server  
versions.   Things you would do in FreeBSD you don't do on OS X and  
vice versa.  As an example, lots of standard unix like config files  
seem to exist on OS X but when you look at them they are empty or  
full of comments only and you learn that the data is actually taken  
out of netinfo.


OS X has very little to do with FreeBSD (different kernel, different  
driver architecture, different admin style and setup and files,  
different file structure, even in most cases a different file system  
type) EXCEP that Apple implemented a kernel layer that makes it look  
like a FBSD kernel so that userland utilities could be easily ported  
for the BSD subsystem (which is optional on OS X) and they took the  
FreeBSD userland as a base for their BSD subsystem userland.  There  
are probably other minor sharings of code etc and some things have  
been shared for MSDOS and other FS compatibilities etc.


Ted (not in the post above) claimed that OS X is a commercialized  
FreeBSD.This is not true.  (Unless you want to say that  FreeBSD  
is a Linux distribution because they share the gnu compilers and many  
other gnu tools and programs.) And OS X is run much differently  
than FreeBSD.  OS X is a *nix-like OS and has a BSD subsystem so you  
can port normal non-X unix apps easily and if you install the  
optional Apple X11 then X apps can pretty easily be ported.  As a  
user at a shell prompt you won't find much difference (and you won't  
find that difference on OpenBSD, NetBSD, or even  Linux, and to a  
great extent with Solaris etc).  But from an admin perspective, from  
running the system, they are worlds, and I mean worlds, apart.


Luckily for simple things like running make files etc (once you have  
appropriate tools installed) they are close, like any unix is close.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Problems booting operating system and with root password

2006-05-26 Thread Polina Mnouskina
Hello.
   
  I am working for the company, that is using FreeBSD on the server mashins.  
At the moment we have two problems: First, one of the mashins give no kernael 
error on the boot. Second, we have lost our root password to the second one. Is 
there a way to fix any of this two problems without reinstaling the system. 
   
  Please, answer asap. Any help (free or paid) will be highly appriciated.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Andy Greenwood

I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.

On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:

Hello.

  I am working for the company, that is using FreeBSD on the server mashins.  
At the moment we have two problems: First, one of the mashins give no kernael 
error on the boot. Second, we have lost our root password to the second one. Is 
there a way to fix any of this two problems without reinstaling the system.

  Please, answer asap. Any help (free or paid) will be highly appriciated.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
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: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andy Greenwood wrote:
 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.
 
 On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:
 Hello.

   I am working for the company, that is using FreeBSD on the server
 mashins.  At the moment we have two problems: First, one of the
 mashins give no kernael error on the boot. Second, we have lost our
 root password to the second one. Is there a way to fix any of this two
 problems without reinstaling the system.

   Please, answer asap. Any help (free or paid) will be highly
 appriciated.


 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and
 save big.
 ___
 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]
 
 

Unless single user mode is set to insecure, in which case that wouldn't
recover the password.

You could always use a different bootCD and chroot into the FreeBSD
system, then change the password.

Or bootCD and remove the root password hash from /etc/passwd and /etc/shadow

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd1dC0JHtFv5fxW8RAnmQAJ9gLHzDBvXSQ1zvVa5I6Ci98dxOnACeNXPU
E2/n34T7MKwDsv8P8bmzrDg=
=2bpV
-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]


dvd+rw problems

2006-05-26 Thread Nick Pegg

I'm having some troubles reading and writing DVD+RW discs. I've
installed dvd+rw-tools and followed the instructions in the FreeBSD
Handbook and searched Google without much luck. Here's the specific
errors I'm getting:

Trying to mount the disc:
server# mount_cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Invalid argument

Trying to burn stuff to the disc:
server# growisofs -Z /dev/cd0 -J -R /root/dumps
:-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted


When trying the same operations with a DVD-R disc, I can successfully
mount and read the disc, however I get the same error when trying to
write to the disc. The drive can also mount and read CD media just
fine. I've double-checked the permissions in /dev and I'm running
everything as root, so that shouldn't be a problem.

Here's some additional info to help in figuring out what my problem could be:

server# camcontrol devlist
TDK DVDRW0404N 1.0A  at scbus1 target 1 lun 0 (cd0,pass0)

Here's some relevant stuff from dmesg:
acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at
ata1-master UDMA33
acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33
(probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:ata1:0:0:0): CAM Status: SCSI Status Error
(probe0:ata1:0:0:0): SCSI Status: Check Condition
(probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1
(probe0:ata1:0:0:0): Reserved ASC/ASCQ pair
(probe0:ata1:0:0:0): Unretryable error
cd0 at ata1 bus 0 target 1 lun 0
cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5
(cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:ata1:0:1:0): CAM Status: SCSI Status Error
(cd0:ata1:0:1:0): SCSI Status: Check Condition
(cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
(cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid
(cd0:ata1:0:1:0): Unretryable error
g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


Thanks for the help!

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


RE: Problems booting operating system and with root password

2006-05-26 Thread Sam Speranini
Thank you for the quick response and I will try booting up in single mode
for the root password issue.
One of our main boxes at boot up comes up with the error message below and
goes no further. It seems like the kernel is missing or got corrupted. The
box ran fine till yesterday morning when we noticed it was at this stage. Is
there anything that can be done to recover.


Press Ctrl-E for BMC Setup within 5 sec.
No /boot/loader

FreeBSD /i386 boot
Default: 0:da(0,a)/kernel
boot:
No /Kernel

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

Thanks 

Sam 

-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 3:41 PM
To: Polina Mnouskina
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems booting operating system and with root password


I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.

On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:
 Hello.

   I am working for the company, that is using FreeBSD on the server
mashins.  At the moment we have two problems: First, one of the mashins give
no kernael error on the boot. Second, we have lost our root password to the
second one. Is there a way to fix any of this two problems without
reinstaling the system.

   Please, answer asap. Any help (free or paid) will be highly appriciated.


 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and save
big.
 ___
 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: IBM Blade

2006-05-26 Thread Iantcho Vassilev

On 5/26/06, Steele Burgess [EMAIL PROTECTED] wrote:


When is Freebsd going to support the blades. Doesn't make any sense.

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





Aren`t the supported?

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


Re: Problems booting operating system and with root password

2006-05-26 Thread Miguel

Andy Greenwood wrote:


I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.



Hi, i have a similar problem, i forgot my root password and the server 
its in a remote colocation site, is there a way to recover the encrypted 
password and crackit some way, i have my normal account (which is in 
wheel group), i even know that the root's pass begings with 
MAG_something, but i really cant remember the complete root's pass, 
rebooting in single user mode is my best bet?


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


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel wrote:
 Andy Greenwood wrote:
 
 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.
 
 
 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?
 
 ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

It is easiest if the system's single user mode hasn't been locked down

If single user mode HAS been locked down (ie. needs the root password),
then you will need a boot disc so you can chroot to your FreeBSD system
from another, or so you can directly edit the /etc/passwd or /etc/shadow
 file.

The password hash *MIGHT* also be in one of those two files, depending
on your configuration.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd2Fs0JHtFv5fxW8RAgfhAJ0RQ3CA3PjofAjYERytNZ2JrGdmMQCcDflK
lcgQRMkKPW+wFU30WLeeyHw=
=dtu/
-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: Problems booting operating system and with root password

2006-05-26 Thread Atom Powers

On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

Hi, i have a similar problem, i forgot my root password and the server
its in a remote colocation site, is there a way to recover the encrypted
password and crackit some way, i have my normal account (which is in
wheel group), i even know that the root's pass begings with
MAG_something, but i really cant remember the complete root's pass,
rebooting in single user mode is my best bet?



If you are in wheel, then you should be able to sudo su to switch to
the root account and then passwd root to reset the password.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Pavone wrote:
 Miguel wrote:
 Andy Greenwood wrote:

 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?

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


 
 It is easiest if the system's single user mode hasn't been locked down
 
 If single user mode HAS been locked down (ie. needs the root password),
 then you will need a boot disc so you can chroot to your FreeBSD system
 from another, or so you can directly edit the /etc/passwd or /etc/shadow
  file.
 
 The password hash *MIGHT* also be in one of those two files, depending
 on your configuration.
 
 Regards,
 Adrian
 
 --
 This email address has expired. Please contact me for my new address.
 
 Please obtain my pgp public key from pgp.mit.edu before sending me any
 private mail, otherwise your email will likely be filtered incorrectly
 and possibly junked.

And I'll try that again with the correct timestamp.
__
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd2qc0JHtFv5fxW8RAqFHAKCKpl5td8WrAyIO09ef/0RfUZ/PigCeM+zR
Bx3V7fekw6qN61CUo/cSmfk=
=QHpz
-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: burncd fails: Input output error

2006-05-26 Thread Lars Stokholm

On 5/26/06, Lars Stokholm [EMAIL PROTECTED] wrote:

 For testing purpose I'm trying to remake and burn the FreeBSD 6.1 CD
 #1 iso image. I've put the CD in drive 0 (acd0) and:
[...]
 Input/output error

Using the ATAPI/CAM driver and cdrecord (as described in the
handbook), seems to work flawlessly. At least this proves that my
hardware is OK. Of course I prefer not adding this extra layer, so
don't hold back your suggestions. :)


Oops, I forgot to mention that burncd also doesn't work on my laptop.
It kinda makes it a little harder to accept.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Bill Moran
Adrian Pavone [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Miguel wrote:
  Andy Greenwood wrote:
  
  I don't know what you mean by kernel errors on boot, but you can
  recover your root password by booting into single user mode and then
  running passwd.
  
  Hi, i have a similar problem, i forgot my root password and the server
  its in a remote colocation site, is there a way to recover the encrypted
  password and crackit some way, i have my normal account (which is in
  wheel group), i even know that the root's pass begings with
  MAG_something, but i really cant remember the complete root's pass,
  rebooting in single user mode is my best bet?
 
 It is easiest if the system's single user mode hasn't been locked down

Yes, but that is generally not a good idea at a colo, unless you have some
kind of physical security on the box.

 If single user mode HAS been locked down (ie. needs the root password),
 then you will need a boot disc so you can chroot to your FreeBSD system
 from another, or so you can directly edit the /etc/passwd or /etc/shadow
  file.

FYI: secure single password mode is default: meaning that the system assumes
that anyone that can physically access the system should be able to use
single user mode without a password.

You have to make changes to /etc/ttys to get a paranoid console that asks for
a password.

 The password hash *MIGHT* also be in one of those two files, depending
 on your configuration.

Linux, Linux, Linux.

FreeBSD has no /etc/shadow.  There's /etc/passwd and /etc/master.passwd.

The password hash is readible by root only, so that doesn't help if you
only have a mortal account.

Unless you've specifically set up something else to work around this
problem, you _must_ get physical access to fix it.

In the future, try installing sudo or using PKI to protect yourself from
lost passwords.

-- 
Bill Moran

Be calm.

Morpheus

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


Re: Problems booting operating system and with root password

2006-05-26 Thread Bill Moran
Sam Speranini [EMAIL PROTECTED] wrote:

 Thank you for the quick response and I will try booting up in single mode
 for the root password issue.
 One of our main boxes at boot up comes up with the error message below and
 goes no further. It seems like the kernel is missing or got corrupted. The
 box ran fine till yesterday morning when we noticed it was at this stage. Is
 there anything that can be done to recover.

If this machine worked before, then _something_ has occurred to corrupt
data on disk.  Some possible reasons are breakin, operator error, or
hardware failure.

If you're not _sure_ this was caused by operator error, then you should
be afraid: either your box was compromised or your hard drives are
failing.

In either of those scenerios, you need to rebuild the box, possibly after
replacing hardware.  Hopefully you have backups, if not, you may be
forking out good money for a data recovery company to extract your
data off a damaged hard drive.  If it's a breakin, you might be able
to boot the system off a live CD (such as FreeSBIE) and get your data
off the drive before rebuilding.  If it's a hardware failure, you can
try the liveCD thing, but it's less likely to work.

Good luck.

 Press Ctrl-E for BMC Setup within 5 sec.
 No /boot/loader
 
 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:
 No /Kernel
 
 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:



-- 
Bill Moran

Two by two, hands of blue.

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


Trouble installing FreeBSD on a Dell Precision 210?

2006-05-26 Thread Jason Curole

Hello all,

I am a newbie to FreeBSD, though I currently use Mac OS X and am  
reasonably comfortable with the unix side.  I am trying to install  
FreeBSD on a Dell Precision 210 machine (scrounged it up recently and  
it has a huge hard drive, otherwise I don't know much about it).  I  
have tried installation with FreeBSD Release 6.0 and 6.1 (both the  
full cd and boot-only cd for 6.0; just the boot-only cd for 6.1).   
The machine boots and I get to the screen where I can select my boot  
option.  I select 5, (boot with detailed messaging) and the machine  
goes through some SMAP messages, a couple of Copyrights and a Free- 
BSD claimer with an email address.  It pauses here for a good  
10-15min.  Then I get messages regarding preloading of elf kernel,  
mfs_root and elf module, followed by tables 'FACP' and 'APIC',  
MADT: Found table at ..., APIC: Using the MADT enumerator, then:


MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
MADT: Found CPU APIC ID 1 ACPI ID 2: disabled

It has remained at this point for at least a half-hour (through  
lunch, etc.), no lights flashing and does not respond to the enter  
key.  Is this normal?  I should mention that between the attempt at  
installing 6.0 (about 4 weeks ago) and 6.1 I had installed OpenBSD  
and it appeared to install and work fine, so I think the machine is  
okay.


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


Re: Problems booting operating system and with root password

2006-05-26 Thread Miguel

Atom Powers wrote:


On 5/26/06, Miguel [EMAIL PROTECTED] wrote:


Hi, i have a similar problem, i forgot my root password and the server
its in a remote colocation site, is there a way to recover the encrypted
password and crackit some way, i have my normal account (which is in
wheel group), i even know that the root's pass begings with
MAG_something, but i really cant remember the complete root's pass,
rebooting in single user mode is my best bet?



If you are in wheel, then you should be able to sudo su to switch to
the root account and then passwd root to reset the password.


:-(
No luck, this is the error

 sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

   #1) Respect the privacy of others.
   #2) Think before you type.
   #3) With great power comes great responsibility.

Password:
mmiranda is not in the sudoers file.  This incident will be reported.
 sudo su
mmiranda is not in the sudoers file.  This incident will be reported.
 passwd root
passwd: permission denied


I entered my account's password...

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


TV Remote Control, Lirc under FreeBSD 6.1

2006-05-26 Thread Evgeny Solovyov

Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)

I have a Problems to use it:



# lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
lircd 0.7.2: lircd(irman) ready
..

# irw /var/lirc/lircd

..
lircd 0.7.2: accepted new client on /var/lirc/lircd
lircd 0.7.2: could not open /dev/ttyd0
lircd 0.7.2: irman_init(): Operation timed out
lircd 0.7.2: caught signal
Terminated
#


Does anyone have any ideas? Please help me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Atom Powers

On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

Atom Powers wrote:

 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?


 If you are in wheel, then you should be able to sudo su to switch to
 the root account and then passwd root to reset the password.

:-(
No luck, this is the error

  sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
mmiranda is not in the sudoers file.  This incident will be reported.
  sudo su
mmiranda is not in the sudoers file.  This incident will be reported.
  passwd root
passwd: permission denied
 

I entered my account's password...

Anything more?



Yes. Check your man pages; the format of the sudoers file is very specific.
Usually you can get away with a line like this:
--
%wheel  ALL=(ALL)   ALL
--


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel wrote:
 Atom Powers wrote:
 
 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?


 If you are in wheel, then you should be able to sudo su to switch to
 the root account and then passwd root to reset the password.

 :-(
 No luck, this is the error
 
 sudo su
 
 We trust you have received the usual lecture from the local System
 Administrator. It usually boils down to these three things:
 
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
 
 Password:
 mmiranda is not in the sudoers file.  This incident will be reported.
 sudo su
 mmiranda is not in the sudoers file.  This incident will be reported.
 passwd root
 passwd: permission denied

 
 I entered my account's password...
 
 Anything more?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

The previous person mistakenly thought that if you were in the wheel
group, you were also set up for wheel. Unforunately, root would have had
to set up the sudo configuration file so that mmiranda (your login)
could use the sudo command to run su. This was not set up, so that is
not an option in this case.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd3UL0JHtFv5fxW8RAqKxAJ4/nMaObhIIB0J/ShY3xQ4845qb6ACfVAkG
+9dYMSIw89sReJIjOBTlZws=
=IKD0
-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]


Custom termcap entries and installworld

2006-05-26 Thread Stephen Hurd
I've now shot myself in the foot at least three times in as many years with 
custom termcap entries... here's the deal:


1) I modify /etc/termcap and customize a termcap entry for some valid reason 
(I need 132x42 or whatever for my Link MC/5)
2) I update /etc/gettytab and /etc/ttys accordingly and happily use my dumb 
terminal on occasion (roughly once per week)

3) I upgrade via sources, being sure to run mergemaster and friends.
4) My terminal stops working.

I have now shot myself in the foot and need to recreate the termcap entry 
(which, silly me, I didn't back up)
Now, intellectually, I *know* that termcap is really stored in 
/usr/share/misc, and that mergemaster doesn't/can't touch those files since 
they're not configuration files... but every single time I run installworld, 
I need to take a manual step to keep things working the way they were 
before.  This is a POLA breaker but I've just ignored it every time it 
happened until now.  This time I opened a PR 
(http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/97407) wishing for 
mergemaster support which, of course, isn't the Right Thing.


So, I suppose my questions are these:
1) How do people cope with custom termcap entries?
2) Is there a *correct* way to cope with custom termcap entries?
3) Is there a good reason to not have /usr/share/misc/termcap be a symlink 
to /etc/termcap rather than the reverse which would allow mergemaster to 
Just Work?  that is... putting it in /etc fixes a problem... does moving it 
create one or more more serious problems?
4) Am I supposed to submit every custom termcap tweak for inclusion in the 
next release so I can keep using my terminals?


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


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Atom Powers wrote:
 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:
 Atom Powers wrote:

  On 5/26/06, Miguel [EMAIL PROTECTED] wrote:
 
  Hi, i have a similar problem, i forgot my root password and the server
  its in a remote colocation site, is there a way to recover the
 encrypted
  password and crackit some way, i have my normal account (which is in
  wheel group), i even know that the root's pass begings with
  MAG_something, but i really cant remember the complete root's pass,
  rebooting in single user mode is my best bet?
 
 
  If you are in wheel, then you should be able to sudo su to switch to
  the root account and then passwd root to reset the password.
 
 :-(
 No luck, this is the error

   sudo su

 We trust you have received the usual lecture from the local System
 Administrator. It usually boils down to these three things:

 #1) Respect the privacy of others.
 #2) Think before you type.
 #3) With great power comes great responsibility.

 Password:
 mmiranda is not in the sudoers file.  This incident will be reported.
   sudo su
 mmiranda is not in the sudoers file.  This incident will be reported.
   passwd root
 passwd: permission denied
  

 I entered my account's password...

 Anything more?

 
 Yes. Check your man pages; the format of the sudoers file is very specific.
 Usually you can get away with a line like this:
 -- 
 %wheelALL=(ALL)ALL
 -- 
 
 

Altough can't only root modify (write changes to) the sudoers file? As
he is trying to get access to root (without a root password), this is
not possible from what I can see.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd3df0JHtFv5fxW8RAp0cAKCi/heobdYqmxpzHKMtePDWIu/mNQCfcyv4
xVFzVVSEbi87KwN4M8nSOEI=
=hYYJ
-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: TV Remote Control, Lirc under FreeBSD 6.1

2006-05-26 Thread Garrett Cooper

Evgeny Solovyov wrote:

Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)

I have a Problems to use it:



# lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
lircd 0.7.2: lircd(irman) ready
..

# irw /var/lirc/lircd

..
lircd 0.7.2: accepted new client on /var/lirc/lircd
lircd 0.7.2: could not open /dev/ttyd0
lircd 0.7.2: irman_init(): Operation timed out
lircd 0.7.2: caught signal
Terminated
#


Does anyone have any ideas? Please help me.

What are the permissions for /dev/ttyd0? Also, what groups do you belong to?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble installing FreeBSD on a Dell Precision 210?

2006-05-26 Thread Derek Ragona
If you have nothing of value on the hard drive, I would suggest low-level 
formatting the drive, then verify the boot order is CD first.


-Derek


At 04:22 PM 5/26/2006, Jason Curole wrote:

Hello all,

I am a newbie to FreeBSD, though I currently use Mac OS X and am
reasonably comfortable with the unix side.  I am trying to install
FreeBSD on a Dell Precision 210 machine (scrounged it up recently and
it has a huge hard drive, otherwise I don't know much about it).  I
have tried installation with FreeBSD Release 6.0 and 6.1 (both the
full cd and boot-only cd for 6.0; just the boot-only cd for 6.1).
The machine boots and I get to the screen where I can select my boot
option.  I select 5, (boot with detailed messaging) and the machine
goes through some SMAP messages, a couple of Copyrights and a Free- BSD 
claimer with an email address.  It pauses here for a good

10-15min.  Then I get messages regarding preloading of elf kernel,
mfs_root and elf module, followed by tables 'FACP' and 'APIC',
MADT: Found table at ..., APIC: Using the MADT enumerator, then:

MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
MADT: Found CPU APIC ID 1 ACPI ID 2: disabled

It has remained at this point for at least a half-hour (through
lunch, etc.), no lights flashing and does not respond to the enter
key.  Is this normal?  I should mention that between the attempt at
installing 6.0 (about 4 weeks ago) and 6.1 I had installed OpenBSD
and it appeared to install and work fine, so I think the machine is
okay.

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


Re: TV Remote Control, Lirc under FreeBSD 6.1

2006-05-26 Thread Evgeny Solovyov

Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)

I have a Problems to use it:



# lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
lircd 0.7.2: lircd(irman) ready
..

# irw /var/lirc/lircd

..
lircd 0.7.2: accepted new client on /var/lirc/lircd
lircd 0.7.2: could not open /dev/ttyd0
lircd 0.7.2: irman_init(): Operation timed out
lircd 0.7.2: caught signal
Terminated
#


Does anyone have any ideas? Please help me.
What are the permissions for /dev/ttyd0? Also, what groups do you belong 
to?

-Garrett


with permissions is all Ok.

# ls -l /var/lirc/lircd
srw-r--r--  1 root  wheel  0 May 27 00:24 /var/lirc/lircd=


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


Re: 6.1-BETA2 AMD64 boot only CD freezes at module_register_init: MOD_LOAD (amr_linux, 0xffffffff805ebcc0, 0) error 6

2006-05-26 Thread Jeremy C. Reed
I saw your message from March.

Did you ever get any answer or fix for your problem?

I am also seeing:

module_register_init: MOD_LOAD (amr_linux, 0xff8062a300) error 6

 Jeremy C. Reed

p.s. I also saw error on the freebsd-stable list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble installing FreeBSD on a Dell Precision 210?

2006-05-26 Thread Gerard Seibert
Derek Ragona wrote:

 If you have nothing of value on the hard drive, I would suggest low-level 
 formatting the drive, then verify the boot order is CD first.
 
  -Derek
 
 
 At 04:22 PM 5/26/2006, Jason Curole wrote:
 Hello all,
 
 I am a newbie to FreeBSD, though I currently use Mac OS X and am
 reasonably comfortable with the unix side.  I am trying to install
 FreeBSD on a Dell Precision 210 machine (scrounged it up recently and
 it has a huge hard drive, otherwise I don't know much about it).  I
 have tried installation with FreeBSD Release 6.0 and 6.1 (both the
 full cd and boot-only cd for 6.0; just the boot-only cd for 6.1).
 The machine boots and I get to the screen where I can select my boot
 option.  I select 5, (boot with detailed messaging) and the machine
 goes through some SMAP messages, a couple of Copyrights and a Free- BSD 
 claimer with an email address.  It pauses here for a good
 10-15min.  Then I get messages regarding preloading of elf kernel,
 mfs_root and elf module, followed by tables 'FACP' and 'APIC',
 MADT: Found table at ..., APIC: Using the MADT enumerator, then:
 
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 MADT: Found CPU APIC ID 1 ACPI ID 2: disabled
 
 It has remained at this point for at least a half-hour (through
 lunch, etc.), no lights flashing and does not respond to the enter
 key.  Is this normal?  I should mention that between the attempt at
 installing 6.0 (about 4 weeks ago) and 6.1 I had installed OpenBSD
 and it appeared to install and work fine, so I think the machine is
 okay.
 
 Jason

I did not think it was possible to low level format a modern HD.


-- 
Gerard Seibert
[EMAIL PROTECTED]


Never underestimate the power of stupid people in large groups.

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


Re: TV Remote Control, Lirc under FreeBSD 6.1

2006-05-26 Thread Evgeny Solovyov

Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)

I have a Problems to use it:



# lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
lircd 0.7.2: lircd(irman) ready
..

# irw /var/lirc/lircd

..
lircd 0.7.2: accepted new client on /var/lirc/lircd
lircd 0.7.2: could not open /dev/ttyd0
lircd 0.7.2: irman_init(): Operation timed out
lircd 0.7.2: caught signal
Terminated
#


Does anyone have any ideas? Please help me.
What are the permissions for /dev/ttyd0? Also, what groups do you 
belong to?

-Garrett


with permissions is all Ok.

# ls -l /var/lirc/lircd
srw-r--r--  1 root  wheel  0 May 27 00:24 /var/lirc/lircd=


And i try it als root.



Sorry i was to fast  :)

# ls -l /dev/ttyd0
crw---  1 root  wheel0,  53 May 26 23:20 /dev/ttyd0
#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble installing FreeBSD on a Dell Precision 210?

2006-05-26 Thread Derek Ragona
You can low level format any hard drive.  Just go to the manufacturer's 
website and download the utility.


-Derek


At 05:30 PM 5/26/2006, Gerard Seibert wrote:

Derek Ragona wrote:

 If you have nothing of value on the hard drive, I would suggest low-level
 formatting the drive, then verify the boot order is CD first.

  -Derek


 At 04:22 PM 5/26/2006, Jason Curole wrote:
 Hello all,
 
 I am a newbie to FreeBSD, though I currently use Mac OS X and am
 reasonably comfortable with the unix side.  I am trying to install
 FreeBSD on a Dell Precision 210 machine (scrounged it up recently and
 it has a huge hard drive, otherwise I don't know much about it).  I
 have tried installation with FreeBSD Release 6.0 and 6.1 (both the
 full cd and boot-only cd for 6.0; just the boot-only cd for 6.1).
 The machine boots and I get to the screen where I can select my boot
 option.  I select 5, (boot with detailed messaging) and the machine
 goes through some SMAP messages, a couple of Copyrights and a Free- BSD
 claimer with an email address.  It pauses here for a good
 10-15min.  Then I get messages regarding preloading of elf kernel,
 mfs_root and elf module, followed by tables 'FACP' and 'APIC',
 MADT: Found table at ..., APIC: Using the MADT enumerator, then:
 
 MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
 MADT: Found CPU APIC ID 1 ACPI ID 2: disabled
 
 It has remained at this point for at least a half-hour (through
 lunch, etc.), no lights flashing and does not respond to the enter
 key.  Is this normal?  I should mention that between the attempt at
 installing 6.0 (about 4 weeks ago) and 6.1 I had installed OpenBSD
 and it appeared to install and work fine, so I think the machine is
 okay.
 
 Jason

I did not think it was possible to low level format a modern HD.


--
Gerard Seibert
[EMAIL PROTECTED]


Never underestimate the power of stupid people in large groups.

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


ejabberd problem....

2006-05-26 Thread Gary Kline
Folks,

This may explain my problems with jwchat:: ejabberd crashes.  
Or so it seems.  Does  anybody know what's going on here?

q4 14:08 sage [5001] ejabberdctl
{init terminating in
do_boot,{badarg,[{ets,match_object,[ejabberd_ctl_cmds,'_']},{ets,tab2list,1},{ejabberd_ctl,print_usage,0},{ejabberd_ctl,start,0},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
q4 14:08 sage [5002] 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: TV Remote Control, Lirc under FreeBSD 6.1

2006-05-26 Thread Garrett Cooper

Evgeny Solovyov wrote:

Anybody use lirc under FreeBSD 6.x? (/usr/ports/comms/lirc)

I have a Problems to use it:



# lircd -n --device=/dev/ttyd0 /tmp/lirc.conf
lircd 0.7.2: lircd(irman) ready
..

# irw /var/lirc/lircd

..
lircd 0.7.2: accepted new client on /var/lirc/lircd
lircd 0.7.2: could not open /dev/ttyd0
lircd 0.7.2: irman_init(): Operation timed out
lircd 0.7.2: caught signal
Terminated
#


Does anyone have any ideas? Please help me.
What are the permissions for /dev/ttyd0? Also, what groups do you 
belong to?

-Garrett


with permissions is all Ok.

# ls -l /var/lirc/lircd
srw-r--r--  1 root  wheel  0 May 27 00:24 /var/lirc/lircd=


And i try it als root.



Sorry i was to fast  :)

# ls -l /dev/ttyd0
crw---  1 root  wheel0,  53 May 26 23:20 /dev/ttyd0
#
Are you sure you're accessing that as root? Try adding world read 
permissions (and maybe world write permissions if the read permissions 
don't solve your problem) for the device because maybe lirc is being run 
by a secondary daemon user.

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


Re: dvd+rw problems

2006-05-26 Thread Nick Pegg

On 5/26/06, Nick Pegg [EMAIL PROTECTED] wrote:

I'm having some troubles reading and writing DVD+RW discs. I've
installed dvd+rw-tools and followed the instructions in the FreeBSD
Handbook and searched Google without much luck. Here's the specific
errors I'm getting:

Trying to mount the disc:
server# mount_cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Invalid argument

Trying to burn stuff to the disc:
server# growisofs -Z /dev/cd0 -J -R /root/dumps
:-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted


When trying the same operations with a DVD-R disc, I can successfully
mount and read the disc, however I get the same error when trying to
write to the disc. The drive can also mount and read CD media just
fine. I've double-checked the permissions in /dev and I'm running
everything as root, so that shouldn't be a problem.

Here's some additional info to help in figuring out what my problem could be:

server# camcontrol devlist
TDK DVDRW0404N 1.0A  at scbus1 target 1 lun 0 (cd0,pass0)

Here's some relevant stuff from dmesg:
acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at
ata1-master UDMA33
acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33
(probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:ata1:0:0:0): CAM Status: SCSI Status Error
(probe0:ata1:0:0:0): SCSI Status: Check Condition
(probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1
(probe0:ata1:0:0:0): Reserved ASC/ASCQ pair
(probe0:ata1:0:0:0): Unretryable error
cd0 at ata1 bus 0 target 1 lun 0
cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5
(cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0 0 0 4 0
(cd0:ata1:0:1:0): CAM Status: SCSI Status Error
(cd0:ata1:0:1:0): SCSI Status: Check Condition
(cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
(cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid
(cd0:ata1:0:1:0): Unretryable error
g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


Thanks for the help!

-Nick



I've got an update to my problem. I can actually read the disc just
fine at securelevel 3, but I need to drop down to securelevel 1 in
order to write to it (/dev/pass0 is a protected device node at
securelevel 2 and 3).

Is there a workaround to this, or will I have to drop into single-user
mode every time I want to write to a DVD?


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


System doesn't recognize boot device

2006-05-26 Thread Aaron VanAlstine
I¹m a newbie who assembled a PC. I successfully loaded FreeBSD 6.0 from CD
but at the end of install when the system reboots, it goes thru the start-up
process (the ASUS screen) and finally I get a message saying to use the
proper boot device or insert boot media and try again. I rechecked the BIOS
and sure enough, the striped HD is the first boot device. Any ideas? Thank
you.
 
My system consists of:
 
ASUS P5LD2 motherboard
Pentium D 820 2.8 GHz dual-core
2 x 512 Corsair 667 DDR2 RAM
2 x 80G Western Digital SATA HD configured in RAID 0
NEC ND-3550A DVD+/-RW
Antec case
Targus keyboard
Belkin 3-button optical mouse
 
-- Aaron


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


Re: Firewall with 3 NIC (1 wireless) problem

2006-05-26 Thread Dennis Olvany

Mark Moellering wrote:
	I am attempting to add a wireless capabilities to an existing network / 
firewall structure.  I added a wireless NIC card to the firewall (Netgear 
WPN311) and followed the wireless instructions.  I also added a similar card 
to an existing computer (Netgear WG311T).
	The Firewall's internal wired network is on 192.168.1.1 and the Wireless card 
is set to 192.168.2.1
	The client computer can find the wireless network and I can ping the wireless 
card (192.168.2.1)  However, I can get nowhere else.  I cannot get to the 
wired subnet nor outside access to the internet.  I tried adding a bridge 
from the wired to the wireless network interfaces but that did nothing.  I 
tried putting the wireless Nic to 192.168.1.249 but that made things worse.  
Any help would be greatly appreciated.
	Both client and firewall are running Freebsd 6.1  Relevant (that I can think 
of) files from the firewall are included...


The bridge is not necessary. If you're trying to make all the traffic 
traverse the wireless network, you'll have to change the default gateway 
on the client. Otherwise the traffic will traverse bge0 as indicated in 
the client routing table. Otherwise, I would examine the firewall. 
Change it to allow all traffic and see if that makes a difference. 
Verify that your nat configuration is correct.

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


Re: dvd+rw problems

2006-05-26 Thread Mikhail Goriachev
Nick Pegg wrote:
 On 5/26/06, Nick Pegg [EMAIL PROTECTED] wrote:
 I'm having some troubles reading and writing DVD+RW discs. I've
 installed dvd+rw-tools and followed the instructions in the FreeBSD
 Handbook and searched Google without much luck. Here's the specific
 errors I'm getting:

 Trying to mount the disc:
 server# mount_cd9660 /dev/cd0 /cdrom
 mount_cd9660: /dev/cd0: Invalid argument

 Trying to burn stuff to the disc:
 server# growisofs -Z /dev/cd0 -J -R /root/dumps
 :-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted


 When trying the same operations with a DVD-R disc, I can successfully
 mount and read the disc, however I get the same error when trying to
 write to the disc. The drive can also mount and read CD media just
 fine. I've double-checked the permissions in /dev and I'm running
 everything as root, so that shouldn't be a problem.

 Here's some additional info to help in figuring out what my problem
 could be:

 server# camcontrol devlist
 TDK DVDRW0404N 1.0A  at scbus1 target 1 lun 0 (cd0,pass0)

 Here's some relevant stuff from dmesg:
 acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at
 ata1-master UDMA33
 acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33
 (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error
 (probe0:ata1:0:0:0): SCSI Status: Check Condition
 (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1
 (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair
 (probe0:ata1:0:0:0): Unretryable error
 cd0 at ata1 bus 0 target 1 lun 0
 cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device
 cd0: 33.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5
 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
 g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5
 (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0
 0 0 4 0
 (cd0:ata1:0:1:0): CAM Status: SCSI Status Error
 (cd0:ata1:0:1:0): SCSI Status: Check Condition
 (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
 (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid
 (cd0:ata1:0:1:0): Unretryable error
 g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


 Thanks for the help!

 -Nick

 
 I've got an update to my problem. I can actually read the disc just
 fine at securelevel 3, but I need to drop down to securelevel 1 in
 order to write to it (/dev/pass0 is a protected device node at
 securelevel 2 and 3).
 
 Is there a workaround to this, or will I have to drop into single-user
 mode every time I want to write to a DVD?


Hi,

I ran into the same problem years ago. This might help you:

http://www.freebsd.org/gnome/docs/faq2.html#q15

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B

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


Re: dvd+rw problems

2006-05-26 Thread Nick Pegg

On 5/26/06, Mikhail Goriachev [EMAIL PROTECTED] wrote:

Nick Pegg wrote:
 On 5/26/06, Nick Pegg [EMAIL PROTECTED] wrote:
 I'm having some troubles reading and writing DVD+RW discs. I've
 installed dvd+rw-tools and followed the instructions in the FreeBSD
 Handbook and searched Google without much luck. Here's the specific
 errors I'm getting:

 Trying to mount the disc:
 server# mount_cd9660 /dev/cd0 /cdrom
 mount_cd9660: /dev/cd0: Invalid argument

 Trying to burn stuff to the disc:
 server# growisofs -Z /dev/cd0 -J -R /root/dumps
 :-( unable to cam_open_pass(/dev/pass0,O_RDWR): Operation not permitted


 When trying the same operations with a DVD-R disc, I can successfully
 mount and read the disc, however I get the same error when trying to
 write to the disc. The drive can also mount and read CD media just
 fine. I've double-checked the permissions in /dev and I'm running
 everything as root, so that shouldn't be a problem.

 Here's some additional info to help in figuring out what my problem
 could be:

 server# camcontrol devlist
 TDK DVDRW0404N 1.0A  at scbus1 target 1 lun 0 (cd0,pass0)

 Here's some relevant stuff from dmesg:
 acd0: CDR CD-ROM! Erive/G6E ! ! ! ! ! ! ! ! ! ! !/M1/31 ! at
 ata1-master UDMA33
 acd1: DVDR TDK DVDRW0404N/1.0A at ata1-slave UDMA33
 (probe0:ata1:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
 (probe0:ata1:0:0:0): CAM Status: SCSI Status Error
 (probe0:ata1:0:0:0): SCSI Status: Check Condition
 (probe0:ata1:0:0:0): ILLEGAL REQUEST info?:1000100 csi:0,1,0,1 asc:24,1
 (probe0:ata1:0:0:0): Reserved ASC/ASCQ pair
 (probe0:ata1:0:0:0): Unretryable error
 cd0 at ata1 bus 0 target 1 lun 0
 cd0: TDK DVDRW0404N 1.0A Removable CD-ROM SCSI-0 device
 cd0: 33.000MB/s transfers
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 g_vfs_done():acd0[READ(offset=65536, length=8192)]error = 5
 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5
 g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 5
 (cd0:ata1:0:1:0): READ TOC/PMA/ATIP {MMC Proposed}. CDB: 43 0 0 0 0 0
 0 0 4 0
 (cd0:ata1:0:1:0): CAM Status: SCSI Status Error
 (cd0:ata1:0:1:0): SCSI Status: Check Condition
 (cd0:ata1:0:1:0): ILLEGAL REQUEST asc:24,0
 (cd0:ata1:0:1:0): Invalid field in CDB: Command byte 6 is invalid
 (cd0:ata1:0:1:0): Unretryable error
 g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 5


 Thanks for the help!

 -Nick


 I've got an update to my problem. I can actually read the disc just
 fine at securelevel 3, but I need to drop down to securelevel 1 in
 order to write to it (/dev/pass0 is a protected device node at
 securelevel 2 and 3).

 Is there a workaround to this, or will I have to drop into single-user
 mode every time I want to write to a DVD?


Hi,

I ran into the same problem years ago. This might help you:

http://www.freebsd.org/gnome/docs/faq2.html#q15

Cheers,
Mikhail.



Looks like that wasn't much help, since the FAQ talks about changing
the permissions on the devices. I've done the instructions and only
/dev/xpt0 was effected since /dev/cd0 and /dev/pass0 being protected
by securelevel 2 and above. Even if I start up in securelevel 1,
change the permissions, then go to securelevel 3, I still get the
Operation not permitted error when trying to use growisofs.


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


Strange pauses and cpu usage - FreeBSD 6.1

2006-05-26 Thread Shawn
I'm having a strange problem with cpu usage with my Athlon XP. Every so
often there seems to be a pause where the system comes under heavy
load for no apparent reason. If xmms was playing then I get a buzz sound
and the mouse pointer stops just for a split second, the same with
mplayer and vlc. Using Opera or firefox also seems to have a strange
effect where the mouse pointer freezes while pages load, and if there
is an animated gif on the page the cpu usage goes to 100%.

The jabber client Gajim also makes the cpu get stuck at 100%. When I
used gnome, nautilus did the same thing until i stopped and started the
process in the system monitor. I have searched around and found this
tip from the handbook but it had no effect.

hint.apic.0.disabled=1 in /boot/loader.conf

This happens with the generic kernel and the one i compiled for myself.
It also lasts for a random amount of time, sometimes it is barely
noticeable and sometimes it happens for over a second. Running
neverwinter nights makes the system pause for 10-20 seconds seemingly
randomly.

Any tips or help would be greatly appreciated!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]