Why natd don't divert packets?

2003-03-07 Thread denb
Why natd don't divert packets?

*screenshot***

#ipfw add divert  tcp from any to any 7
#ipfw add divert  tcp from any 7 to any
#natd  -v -p  -a 172.16.0.102 -redirect_port tcp 172.16.0.253:7 7

In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
   [TCP] 172.16.0.104:49169 - 172.16.0.253:7

In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
   [TCP] 172.16.0.104:49169 - 172.16.0.253:7

^C
*screenshot***

Where is Out[TCP]?

Rules after natd running (why second rule has 0 in packets number?):

*screenshot***
#ipfw show
0001  6  180 divert  tcp from any to any dst-port 7
0002  00 divert  tcp from any 7 to any
*screenshot***



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Why natd don't divert packets?

2003-03-07 Thread Clement Laforet
On Fri, 7 Mar 2003 11:02:06 +0300 (MSK)
denb [EMAIL PROTECTED] wrote:

 Why natd don't divert packets?
 
 *screenshot***
 
 #ipfw add divert  tcp from any to any 7
 #ipfw add divert  tcp from any 7 to any
 #natd  -v -p  -a 172.16.0.102 -redirect_port tcp 172.16.0.253:7 7
 
 In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
[TCP] 172.16.0.104:49169 - 172.16.0.253:7
 
 In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
[TCP] 172.16.0.104:49169 - 172.16.0.253:7
 
 ^C
 *screenshot***
 
 Where is Out[TCP]?
 
Your boxes seems to be on the same subnet, out packets are directly
sent to 172.16.0.104, not 172.16.0.102
nat'ing implies routing, so natd is inefficient in your case

clem

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Every subject twice ?

2003-03-07 Thread Anselme

 It's been working fine for me. Do you mean you receive 2 copies of the
 same message if you are CC'd? Does it happen to all the emails you
 receive? Do those mails bear the identical Message-ID?

Thank you for your help but I got the solution since : it was a bad
filter's configuration on my mail client, Evolution.

I would have think a bit before post this message ;)


-- 
Anselme [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Can't mount NFS on OS X

2003-03-07 Thread Andy Park
I can't mount an NFS volume on a Mac OS X client. (It had briefly 
worked previously)

On my server, I get the following entry on /var/log/messages:

Mar  7 02:54:49 chohoki /kernel: NFS request from unprivileged port 
(ip_address:49198)

I've RTFM'ed as best as I could, and have the following entries in 
/etc/rc.conf on my server:

portmap_enable=YES
nfs_server_enable=YES
mountd_flags=-r
nfs_server_flags=-u -t -n 4
weak_mountd_authentication=YES
As I am new to freebsd and nfs I am almost sure I am doing something 
wrong. Any help would be greatly appreciated.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Why natd don't divert packets?

2003-03-07 Thread denb
 Clement Laforet [EMAIL PROTECTED]:

 On Fri, 7 Mar 2003 11:02:06 +0300 (MSK)
 denb [EMAIL PROTECTED] wrote:

  Why natd don't divert packets?
 
  *screenshot***
 
  #ipfw add divert  tcp from any to any 7
  #ipfw add divert  tcp from any 7 to any
  #natd  -v -p  -a 172.16.0.102 -redirect_port tcp 
172.16.0.253:7 7
 
  In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
 [TCP] 172.16.0.104:49169 - 172.16.0.253:7
 
  In  [TCP]  [TCP] 172.16.0.104:49169 - 172.16.0.102:7 aliased to
 [TCP] 172.16.0.104:49169 - 172.16.0.253:7
 
  ^C
  *screenshot***
 
  Where is Out[TCP]?
 
 Your boxes seems to be on the same subnet, out packets are 
directly
 sent to 172.16.0.104, not 172.16.0.102
 nat'ing implies routing, so natd is inefficient in your case

 clem

 

This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0(ipfw2).
Why?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: send mail using alternate SMTP server

2003-03-07 Thread Giorgos Keramidas
Redirected to -questions from -hackers.  Please post general questions
about FreeBSD to freebsd-questions and not freebsd-hackers.

On 2003-03-06 23:40, [EMAIL PROTECTED] wrote:
 hi all

 is there a command or a way to send email from a shell (no X environment)
 specifying the SMTP server, so it don't uses the local SMTP?

 may be a hack to the mail command.

No need for hacks.  Read the description of the `msp' feature of
recent Sendmail versions in `/usr/share/sendmail/cf/README'.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: libc tests

2003-03-07 Thread Kris Kennaway
On Thu, Mar 06, 2003 at 02:12:06PM -0700, Quinlan, Gerald F wrote:
 We are looking to acquire or develop the capability to test for proper or
 expected results for each LIBC function.  Your help is appreciated.

FreeBSD doesn't include anything comprehensive, except for a few
regression tests for miscellaneous parts of the system in
/usr/src/tools/regression/.

The nearest thing to what you're asking for would be a compliance
testing suite for one of the UNIX standards (except FreeBSD may not
pass every test).

Good luck,

Kris


pgp0.pgp
Description: PGP signature


Re: Why natd don't divert packets?

2003-03-07 Thread Bernd Walter
On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote:
 This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0(ipfw2).
 Why?

This is an issue triggered by compiling libalias with -O2.
Recompile libalias without -O2 and recompile natd so it binds to the
rebuild libalias.a
The problem wasn't there a month ago.
See -current list for firther details.

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Mirroring/load-balance two servers

2003-03-07 Thread Roger 'Rocky' Vetterberg
Jonas Fornander wrote:
Does anyone know if there is a simple way to mirror two servers
without spending $ on hardware? I'm NOT talking about mirroring the
OS and the files, I'm talking about sending http requests to a second
server if the first server is down/un-reachable. This is sometimes
referred to as load-balancing. 

The second server doesn't have to be updated in realtime, it just needs
to have a fairly current version of the data files of the main server.
So, for example if the main server goes off line for any reason, then
web pages would be served up from the second server instead.
Can this be accomplished with DNS?

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530
Google for round-robin DNS, that should get you started.

--
R


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Why natd don't divert packets?

2003-03-07 Thread denb
 Bernd Walter [EMAIL PROTECTED]:

 On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote:
  This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0
(ipfw2).
  Why?

 This is an issue triggered by compiling libalias with -O2.
 Recompile libalias without -O2 and recompile natd so it binds to 
the
 rebuild libalias.a
 The problem wasn't there a month ago.
 See -current list for firther details.

 --
 B.Walter  COSMO-Project http://www.cosmo-
project.de
 [EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]

 

I ran this on FreeBSD 5.0-RELEASE, not CURRENT. Any suggestions?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Booting 5.0 from GRUB

2003-03-07 Thread Aaron Walker
I had FBSD 4.7 installed on my second hard drive, with linux on the
first and using GRUB as the boot loader.  With the following in my
/etc/grub.conf 

title   FreeBSD 4.7 
root(hd1,0,a) 
kernel /boot/loader 

this booted 4.7 fine, but fails when trying to boot 5.0 which I just did
a fresh install.. I get the following error:

Booting 'FreeBSD 5.0'

root(hd1,0,a)
  Filesystem type is ffs, partition type 0xa5
kernel /boot/loader

Error 15:  File not found

Any idea why /boot/loader wouldnt exist?  This is a fresh install of
5.0.. I haven't even booted it up yet, since I can't get this to work.  

Thanks,
Aaron



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Booting 5.0 from GRUB

2003-03-07 Thread Antoine Jacoutot
On Friday 07 March 2003 12:30, Aaron Walker wrote:
 Any idea why /boot/loader wouldnt exist?  This is a fresh install of
 5.0.. I haven't even booted it up yet, since I can't get this to work.  

I am having the exact same problem...
I think grub does not work well under FreeBSD 5.0.
I just installed it under 5.0 and it is impossible for me to put it on the mbr 
nor configure it to boot other systems which is very blocking.
It always tell me that the device does not exist.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ACPI + IO APIC ---- ACPI doesn't work

2003-03-07 Thread Mica Telodico
Hi all, I was tring an SMP kernel on my UP system that
support IOAPIC, the system starts correctly, but the
ACPI does not work anymore . Before the kernel update
I was able to shutdown the PC with the PowerButton ,
now the powerbutton does not work. The system doesn't
Power Off  too now. Appears the Message : The
operating system is halted press any key to reboot as
if ACPI isn't loaded.

I've noticed this problem on linux too, it was a
problem of IRQ redirection of ACPI that was placed on 
IOAPIC edge-triggered (instead of level-triggered ),
and this makes the malfunction. This problem on linux
is solved on linux by the lastest ACPI patch , is
possible to do something on FreeBSD too?

Thanks

Bye


__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


[no subject]

2003-03-07 Thread Mica Telodico
Hi, I've migrated from linux to freebsd few days ago,
but now I have an important problem. I use FREEBSD 5

The problem is:
In linux ,before deleting the partitions, I've stored
all my datas in an EXT3 partitions , in order to copy
these datas later on the UFS Slice. After the
installation of BSD I've recompiled the kernel and
added the options EXT2FS option . Now when I try to
mount the EXT3 partition appears the message
/dev/ad0s2 : Invalid argument ??? Why? In the
console appears (written in white) mount_ext2fs :
Unable to mount bla bla bla due to an unsupported
feature  I've thought immediatly that the unsupported
feature was the journal, can be it?

Thanks for help 

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Problem to mount an ext3 partition

2003-03-07 Thread Mica Telodico
Hi, I've migrated from linux to freebsd few days ago,
but now I have an important problem. I use FREEBSD 5

The problem is:
In linux ,before deleting the partitions, I've stored
all my datas in an EXT3 partitions , in order to copy
these datas later on the UFS Slice. After the
installation of BSD I've recompiled the kernel and
added the options EXT2FS option . Now when I try to
mount the EXT3 partition appears the message
/dev/ad0s2 : Invalid argument ??? Why? In the
console appears (written in white) mount_ext2fs :
Unable to mount bla bla bla due to an unsupported
feature  I've thought immediatly that the unsupported
feature was the journal, can be it?

Thanks for help 

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Simon Barner
 Now when I try to
 mount the EXT3 partition appears the message
 /dev/ad0s2 : Invalid argument ?

Maybe it's the wrong partition.  How was that ext3 partition called on Linux?

Simon


signature.asc
Description: Digital signature


Re: Problem to mount an ext3 partition

2003-03-07 Thread Mica Telodico
 --- Simon Barner [EMAIL PROTECTED] ha scritto:  
Now when I try to
  mount the EXT3 partition appears the message
  /dev/ad0s2 : Invalid argument ?
 
 Maybe it's the wrong partition.  How was that ext3
 partition called on Linux?
 
 Simon
 

 ATTACHMENT part 2 application/pgp-signature
name=signature.asc
 
I've controlled yet , the partition is the right
partition. I've controlled in /stand/sysinstall in the
partiotion utility , an it mark the ad0s2 partition
as an ext2fs partition. I don't know what to do :cry:
I need those datas , and I don't know how to reach
them. I've tried to do fsck_ext2fs /dev/ad0s2 and it
says BAD SUPERBLOCK: MAGIC NUMBER WRONG I've added
the line options EXT2FS to my kernel configuration
and than I've recompiled , It must work, why it
doesn't work? Problems of Freebsd 5X  and Ext
filesystems??

  

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Gary Jennejohn
=?iso-8859-1?q?Mica=20Telodico?= writes:
  
 I've controlled yet , the partition is the right
 partition. I've controlled in /stand/sysinstall in the
 partiotion utility , an it mark the ad0s2 partition
 as an ext2fs partition. I don't know what to do :cry:
 I need those datas , and I don't know how to reach
 them. I've tried to do fsck_ext2fs /dev/ad0s2 and it
 says BAD SUPERBLOCK: MAGIC NUMBER WRONG I've added
 the line options EXT2FS to my kernel configuration
 and than I've recompiled , It must work, why it
 doesn't work? Problems of Freebsd 5X  and Ext
 filesystems??
 

EXT2 != EXT3. Most likely EXT3 isn't supported under FreeBSD.
Sorry.

The only thing I can suggest is attaching the disk to a Linux system
and copying the data to tape or CD. Or reinstall Linux with an EXT2
partition and copy the data there.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Antoine Jacoutot
On Friday 07 March 2003 13:56, Mica Telodico wrote:
 I've controlled yet , the partition is the right
 partition. I've controlled in /stand/sysinstall in the
 partiotion utility , an it mark the ad0s2 partition
 as an ext2fs partition. I don't know what to do :cry:
 I need those datas , and I don't know how to reach
 them. 

If you can't find a solution to your problem, download knoppix (a Linux live 
system CD distribution) to access then tranfer your data somewhere (I think 
that Knoppix can even mount ufs file system... not sure though).
It is strange though, when I migrated from Linux to FreeBSD I never had a 
problem mounting ext3 partitions under FreeBSD (I mounted them as ext2 of 
course).

Antoine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Subhasish Ghosh
Hi, what Gary mentions (below) is absolutely
okayLinux Second Extended fs(ext2fs) is NOT equal
to Linux Third Extended fs(ext3fs).. though
theoritically, ext3fs = ext2fs + JFS(Journalling
Filesystem architecture features)...Okay??? 
I use FreeBSD 4.7-RELEASE + RedHat Linux
7.3(valhalla) as well as OpenBSD 3.2-RELEASE
configured on the same hard disk of my humble
computer and I have deliberately installed RedHat
Linux with an ext2fs and NOT ext3fs..cause I know
FreeBSD operating system supports ext2fs functionality
and NOT ext3fs..Okay??? 
So..what you should have done was to install Linux
as ext2fs and not ext3fs... :( Nothing can be done..
Sorry!!! anyway..this should act as a good lesson for
you... if you wanna migrate...totally from Linux to
FreeBSD as you have written you want to...make sure
you know the basics correctly and properly I use
Linux, FreeBSD and OpenBSD on the same computer
Take care..
Ghosh

--- Gary Jennejohn [EMAIL PROTECTED] wrote:
 EXT2 != EXT3. Most likely EXT3 isn't supported under
 FreeBSD.
 Sorry.
 
 The only thing I can suggest is attaching the disk
 to a Linux system and copying the data to tape or 
 CD. Or reinstall Linux with an EXT2
 partition and copy the data there.
 
 ---
 Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 4.3 - RELENG_4

2003-03-07 Thread IAccounts
Ok, everything went reasonably well with cvsup upgrade, buildworld,
buildkernel. After installkernel, everything appears to load perfectly,
until I try to send data to the box. IPFW barfs on a SIG 11.

Assuming that it is loading ok at boot, can I properly assume that this
will be repaired when I installworld?

What I don't understand is that the kernel I built was the exact same
kernel config I rebuilt the old way a month ago. It was then I added ipfw
support with:

forward
verbose
verbose_limit=xx

and everything was ok. Anyone know why IPFW would just crap out? What part
of the changes would affect the way IPFW operates. In your opinion, is it
safe to installworld, or should this be further investigated first?

Tks.

Steve Bertrand


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Jailed BIND not logging

2003-03-07 Thread IAccounts
I have lived with this for quite a while, but now that I would like to get
some of my bind logs, I had to ask.

Last summer, I managed to get BIND 9 running in a jail, (howto I generated
is here: http://ww3.northnetworks.ca/docs/named_jail).

It works perfectly fine, but there is no logging taking place. I have fed
syslogd the following in rc.conf:

#syslogd_flags=-s -l /chroot/named/dev/log

I did not make any changes to syslogd.conf.

but the file has never grown past 0 bytes in size. I do get
some named messages in the messages log, despite having the following in
my named.conf:

logging {
  channel default_syslog {
 syslog daemon;   # send to syslog's daemon facility
 severity notice;   # only send priority info and higher
  };


Again, I have lived with it like this so it is not critical, but it makes
it very difficult to debug testing on the server.

Tks.

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: HP ScanJet 4100C and FreeBSD

2003-03-07 Thread Robert Porl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 6 Mar 2003, xyz wrote:

  Can Anyone help me ? I am running 5.0-RELEASE on this box (recently
  cvsup'ed) and have compiled my own kernel with all necessary USB options.
  The behaviour was the same in 4.7-RELEASE, though... both with the
  respective GENERIC and my own kernels.
 
 See my 5.0 faq entry that I just emailed for a similiar question about 5.0.  

I think i may sound stupid, but where can i find that 5.0 faq ?

The FreeBSD homepage only links to a 4.x faq, and a google search
for faq 5.0 freebsd obviously yields way too many results ;-)

 Also USB is somewhat buggy and if the hadware maker chooses to release no 
 information about it's device to be able to write free drivers for it, then 
 no one can.  MS always gets the details to write the driver.

Well, actually the ScanJet 4100C is listed to be supported by uscanner(4).
There also exists a SANE backend for it, so i expected to get it to work
with kde and kooka and give my father a nice-to-use frontend.

Now, when there is a FreeBSD driver for this specific device, someone
MUST have been able to get it to work in the past, right ?

I'll post this answer to freebsd-questions, but i'll only BCC you because 
i think you might have wanted to protect your email address from spammers.

- -Robert

- --

They that can give up essential liberty
 to obtain a little temporary safety
 won't have, nor do they deserve, either one.

-Benjamin Franklin

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEUEARECAAYFAj5opEcACgkQbQeoBktF+reNSQCYib5Dc9JiaoqPZURq/6ohRIWX
xwCfc3pINOZK3veJ1128RxFbSdu4Xs8=
=XYoX
-END PGP SIGNATURE-



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Jailed BIND not logging

2003-03-07 Thread Ruben de Groot
On Fri, Mar 07, 2003 at 08:49:51AM -0500, IAccounts typed:
 I have lived with this for quite a while, but now that I would like to get
 some of my bind logs, I had to ask.
 
 Last summer, I managed to get BIND 9 running in a jail, (howto I generated
 is here: http://ww3.northnetworks.ca/docs/named_jail).
 
 It works perfectly fine, but there is no logging taking place. I have fed
 syslogd the following in rc.conf:
 
 #syslogd_flags=-s -l /chroot/named/dev/log

Try:

syslogd_flags=-s -l /chroot/named/var/run/log

 
 I did not make any changes to syslogd.conf.
 
 but the file has never grown past 0 bytes in size. I do get
 some named messages in the messages log, despite having the following in
 my named.conf:
 
 logging {
   channel default_syslog {
  syslog daemon;   # send to syslog's daemon facility
  severity notice;   # only send priority info and higher
   };
 
 
 Again, I have lived with it like this so it is not critical, but it makes
 it very difficult to debug testing on the server.
 
 Tks.
 
 Steve
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Jailed BIND not logging

2003-03-07 Thread IAccounts
  It works perfectly fine, but there is no logging taking place. I have fed
  syslogd the following in rc.conf:
 
  #syslogd_flags=-s -l /chroot/named/dev/log


 Try:

 syslogd_flags=-s -l /chroot/named/var/run/log

Same effect. No logging being done. Ironic part is, I can't check the logs
to see why it is not logging! :o)




 
  I did not make any changes to syslogd.conf.
 
  but the file has never grown past 0 bytes in size. I do get
  some named messages in the messages log, despite having the following in
  my named.conf:
 
  logging {
channel default_syslog {
   syslog daemon;   # send to syslog's daemon facility
   severity notice;   # only send priority info and higher
};
 
 
  Again, I have lived with it like this so it is not critical, but it makes
  it very difficult to debug testing on the server.
 
  Tks.
 
  Steve
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Jailed BIND not logging

2003-03-07 Thread IAccounts
   It works perfectly fine, but there is no logging taking place. I have fed
   syslogd the following in rc.conf:
  
   #syslogd_flags=-s -l /chroot/named/dev/log

 
  Try:
 
  syslogd_flags=-s -l /chroot/named/var/run/log

 Same effect. No logging being done. Ironic part is, I can't check the logs
 to see why it is not logging! :o)

I set up logging outside of the jail, and will wait it out for a bit. If
no luch, then I will reopen the issue.

Tks.

Steve





 
  
   I did not make any changes to syslogd.conf.
  
   but the file has never grown past 0 bytes in size. I do get
   some named messages in the messages log, despite having the following in
   my named.conf:
  
   logging {
 channel default_syslog {
syslog daemon;   # send to syslog's daemon facility
severity notice;   # only send priority info and higher
 };
  
  
   Again, I have lived with it like this so it is not critical, but it makes
   it very difficult to debug testing on the server.
  
   Tks.
  
   Steve
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
 


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Can't open /dev/fd0.720: Permission denied

2003-03-07 Thread robert t g tan
Im having problems accessing my floppy.
E.g. when using mtools Im getting the following
message:

Can't open /dv/fd0.720: Permission denied
Cannot initialize 'A:'


Also at boot I don't see any fd devices getting
detected.
This is my kernel config:

device  fdc0at isa? port IO_FD1 irq 9 drq 2
device  fd0 at fdc0 drive 0 

Tnx,

---
robert tan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 4.3 - RELENG_4

2003-03-07 Thread Bill Moran
ccounts wrote:
Ok, everything went reasonably well with cvsup upgrade, buildworld,
buildkernel. After installkernel, everything appears to load perfectly,
until I try to send data to the box. IPFW barfs on a SIG 11.
What exactly do you mean by this?  When you transmit files across the
network, you get a sig 11?  Or when you try to start the IPFW program
at the command line, it sig 11s?
The former would worry me.  The latter wouldn't.  The ipfw firewall code
is built into the kernel, but the ipfw command line program that is used
to create/manipulate ipfw rules is part of buildworld.  It's not unusual
for programs that interface directly with the kernel not to work when you're
mid-way through the process (i.e. new kernel but old world).
I'm guessing what's happening is that the ipfw program can't communicate
to ipfw in the kernel and when your startup scrips try to run it, it sig 11s.
Thus you end up with ipfw running with no rules, set to deny by default,
thus you get no network capbility.
Assuming that it is loading ok at boot, can I properly assume that this
will be repaired when I installworld?
If the scenerio I described above seems to fit, yes.  Sounds like things
are going well.  If you want to be REAL paranoid, you could try rebuilding
your kernel with IFPW_DEFAULT_ACCEPT (or whatever that option is) and make
sure you have network connectivity before continuing.
I wouldn't bother if it were me.  It sounds like things are going well.
The main thing you're looking for is that the new kernel actually BOOTs.
Drop to single-user mode and do the installworld.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Booting 5.0 from GRUB

2003-03-07 Thread Dan Nelson
In the last episode (Mar 07), Antoine Jacoutot said:
 On Friday 07 March 2003 12:30, Aaron Walker wrote:
  Any idea why /boot/loader wouldnt exist?  This is a fresh install
  of 5.0.. I haven't even booted it up yet, since I can't get this to
  work.
 
 I am having the exact same problem... I think grub does not work well
 under FreeBSD 5.0. I just installed it under 5.0 and it is impossible
 for me to put it on the mbr nor configure it to boot other systems
 which is very blocking. It always tell me that the device does not
 exist.

I don't have any problems booting w98, w2k, and FreeBSD 5.0 with grub
at home.  Go into grub's commandline mode, and use tab-completion to
verify that your path to /boot/loader is correct.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread synrat
that's nonsense. ext3 is completely 100% backward compatible.
you can mount it and use it as ext2 from any OS that supports ext2.


On Fri, 7 Mar 2003, Subhasish Ghosh wrote:

 Hi, what Gary mentions (below) is absolutely
 okayLinux Second Extended fs(ext2fs) is NOT equal
 to Linux Third Extended fs(ext3fs).. though
 theoritically, ext3fs = ext2fs + JFS(Journalling
 Filesystem architecture features)...Okay??? 
 I use FreeBSD 4.7-RELEASE + RedHat Linux
 7.3(valhalla) as well as OpenBSD 3.2-RELEASE
 configured on the same hard disk of my humble
 computer and I have deliberately installed RedHat
 Linux with an ext2fs and NOT ext3fs..cause I know
 FreeBSD operating system supports ext2fs functionality
 and NOT ext3fs..Okay??? 
 So..what you should have done was to install Linux
 as ext2fs and not ext3fs... :( Nothing can be done..
 Sorry!!! anyway..this should act as a good lesson for
 you... if you wanna migrate...totally from Linux to
 FreeBSD as you have written you want to...make sure
 you know the basics correctly and properly I use
 Linux, FreeBSD and OpenBSD on the same computer
 Take care..
 Ghosh
 
 --- Gary Jennejohn [EMAIL PROTECTED] wrote:
  EXT2 != EXT3. Most likely EXT3 isn't supported under
  FreeBSD.
  Sorry.
  
  The only thing I can suggest is attaching the disk
  to a Linux system and copying the data to tape or 
  CD. Or reinstall Linux with an EXT2
  partition and copy the data there.
  
  ---
  Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of
  the message
 
 
 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Booting 5.0 from GRUB

2003-03-07 Thread Antoine Jacoutot
On Friday 07 March 2003 16:06, Dan Nelson wrote:
 I don't have any problems booting w98, w2k, and FreeBSD 5.0 with grub
 at home.  Go into grub's commandline mode, and use tab-completion to
 verify that your path to /boot/loader is correct.

Here is what I get:

grub root (hd0,4,a)

Error 21: Selected disk does not exist


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


ad0 lockups

2003-03-07 Thread Brian Henning
Hello-
I am get lockup on my bsd machine. I took out a working bsd bootable HD
and put it in my new AMD XP 2100+ machine. It booted fine the first time
but after a while i got the following errors.

Errors
--
ad0: WRITE command timeout tag=0 serv=0 : resetting
ata0: resetting devices .. ata0-slave:
ATA identify retries exceeded


Hardware:
-
ASUS A7N8X, supports up to : ATA 133
AMD XP 2100+

WD300BB Hard drive, ad0
note: primary master, only drive on the chain, 30 gig drive, 7200 rpm


synopsis after reading the mailing list archives:
-
I may have DMA enabled on the drive when the drive does not support it.
is this a bios setting that i need to make or do i need the following change?

/boot/loader.conf
-
hw.ata.ata_dma=0

I may have a 40 conductor ribbon cable instead of an 80 pin cable.
is the conductor value printed on the ide cable?

is there anything else that i can do to avoid these errors?

thanks,
brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Booting 5.0 from GRUB

2003-03-07 Thread Antoine Jacoutot
Selon Dan Nelson [EMAIL PROTECTED]: 
 
 In the last episode (Mar 07), Antoine Jacoutot said: 
  On Friday 07 March 2003 16:06, Dan Nelson wrote: 
   I don't have any problems booting w98, w2k, and FreeBSD 5.0 with grub 
   at home.  Go into grub's commandline mode, and use tab-completion to 
   verify that your path to /boot/loader is correct. 
   
  Here is what I get: 
   
  grub root (hd0,4,a) 
   
  Error 21: Selected disk does not exist 
  
 Try root ( and hit tab from there. 
 
I get nothing but root ( whenever I hit the TAB key: 
grub root ( 
grub root ( 
grub root ( 
grub root ( 
grub root ( 
 
:-( 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Simon Barner
   mount the EXT3 partition appears the message
   /dev/ad0s2 : Invalid argument ?
  
  Maybe it's the wrong partition.  How was that ext3
  partition called on Linux?

Hmm, have a look at the diagramm shown in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html,
example 2-4.

I think your partition is called /dev/ad0s2[a-e]. You can just try it
without any risk, if you mount the partition readonly (which is recommended with
ext[2,3] file systems anyway):

mount_ext2fs -r /dev/ad0s2a /mnt

Simon


signature.asc
Description: Digital signature


Error Downloading the Developers book on PDF format

2003-03-07 Thread Jorge Mario G.
Hi
I've been tryint to download the FreeBSD develepers book(english) on PDF
format and the file seems to be broken I tried different mirrors and
differnt compression formats, Always the same

any ideas?



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 4.3 - RELENG_4

2003-03-07 Thread IAccounts
 If the scenerio I described above seems to fit, yes.  Sounds like things
 are going well.  If you want to be REAL paranoid, you could try rebuilding
 your kernel with IFPW_DEFAULT_ACCEPT (or whatever that option is) and make
 sure you have network connectivity before continuing.

 I wouldn't bother if it were me.  It sounds like things are going well.
 The main thing you're looking for is that the new kernel actually BOOTs.
 Drop to single-user mode and do the installworld.

I went ahead and did installworld. The IPFW problem dissapeared
immediatly. All I had to do was add the smmsp user as per UPDATING, and it
went slick from there.

Small issues were:

- a depricated line in sshd_config, which I manually commented out
- sig 11 on nmbd, for which I will upgrade samba (should fix it)

All in all, I am very exited as my amanda box now uname -a with
FreeBSD-4.8RC, and is back in full production.

I have began syncing source on my mission critical boxes, and plan on
starting the upgrade on them next week.

I did mergemaster on amanda box, but must of did something wrong as
afterwards, my /etc/master.passwd file was missing. Copied it back from
backup and all is well. mergemaster didn't seem to touch anything except
for it, so next time I will likely just do the manual thing.

Thanks for all of your help, which gave me the confidence to proceed in
this delicate manner.

However, I should of known that with the stability of Free that I really
had nothing to worry about from the beginning!

Steve




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




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Sendmail config file

2003-03-07 Thread IAccounts
This same question was asked yesterday (I think), but I accidently deleted
the thread, and it hasnt hit the archives yet.

I have upgraded from 4.3 to 4.8, and a telnet to sendmail states
8.12.8/8.11.3.

Someone had responded on how to upgrade just the .cf to reflect the new
binary version. Could someone please either post the response, or send it
to me personally?

Tks.

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Error Downloading the Developers book on PDF format

2003-03-07 Thread Bill Moran
Jorge Mario G. wrote:
Hi
I've been tryint to download the FreeBSD develepers book(english) on PDF
format and the file seems to be broken I tried different mirrors and
differnt compression formats, Always the same
I see the same problem.

any ideas?
I took a quick look at the file and it appears to be truncated.  The last
stream in the file doesn't have an endstream and there's no document
trailer.
(As a weird sidenote, when I opened the file in a text viewer, the first
thing that caught my eye was a compressed stream that started with the
letters fU, cent symbol, k ... what, exactly, are the chances of that?)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


A question about kernel modules

2003-03-07 Thread Damien Tougas
Is there any advantage/disadvantage to using kernel moduls vs. staticly 
linking stuff in the kernel? I would like to eliminate everything from my 
kernel config that can be loaded as a module, then load them at boot using 
loader.conf. Is there any reason I would not want to do that? It seems to me 
that it would make things much easier.

Why does FreeBSD not do this by default for the GENERIC kernel?

Thanks.

--
Damien Tougas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Vinum raid0 disk dies

2003-03-07 Thread Thomas von Hassel
So if one of your disks in a vinum raid´0 dies there is absolutly nothing
you can do right ? ...just checking before i zero the other drives ..

/thomas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail config file

2003-03-07 Thread IAccounts
 # cd /etc/mail
 # tar cf - *.cf | gzip -9c -  oldcf.tar.gz

 Then regenerate all the *.cf files:

 # make cf

 Install them as sendmail.cf and submit.cf:

 # make install


At this point it fails with:

# install -c -m freebsd.cf /etc/mail/sendmail.cf
Install: Invalid file mode: freebsd.cf

I have tried all manner of file permissions, as I am assuming that they
this is what is referred to by mode.

Has anyone else experienced this during their sendmail upgrade?

Steve

 Restart sendmail:

 # make restart

 and you should be set to go.

 : If anything seems to fail for you after this remake of the *.cf
 : files, just enter /etc/mail and restore from the backup copy:
 :
 :   # cd /etc/mail
 :   # zcat oldcf.tar.gz | tar xf -




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Vinum raid0 disk dies

2003-03-07 Thread Thomas von Hassel
 In the last episode (Mar 07), Thomas von Hassel said:
 So if one of your disks in a vinum raid'0 dies there is absolutly
 nothing you can do right ? ...just checking before i zero the other
 drives ..

 Raid 0 means Zero Redundancy :)

 If the disk is truly gone, the entire volume is unuseable.  If a cable
 came loose or something but the disk is still okay, you can simply force
 the drive back up manually and be on your way.


the drive is physically dead, i have tried everything i could think of,
differet cables, difrent jumper settings, even tried to put in a spare
machine to see if it woudl show up there, nada ... and yes raid0 is zero
redundancy and i have backup's in place for most of the critical data.
Someone sugested getting a drive of the same model and swaping the print
to see if the drive was ok otherwise but i dont know if it's worth the
effort.

(note, this is a 120GB IBM drive, not 6 months old ...grrr)

/thomas



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Vinum raid0 disk dies

2003-03-07 Thread Alexander Haderer
At 18:27 07.03.2003 +0100, Thomas von Hassel wrote:
So if one of your disks in a vinum raid´0 dies there is absolutly nothing
you can do right ? ...just checking before i zero the other drives ..
It depends how dead your disk is: If its completly gone away (disappeared 
in kernel boot message) your only chance I see is to start searching for 
the backup. If the disk only has some dead sectors, you can try to clone 
the data with dd to a new disk. This is slow and cumbersome, and as a 
result you have some blocks of invalid data on the new disk. The trick with 
dd is to skip the dead sectors and to use a blocksize of 512. See man dd 
for the options seek and skip. dd copy blocks until it detects a bad 
block. Here you have to start over with new seek/skip to jump over the dead 
sector.

So the job would be something like this:

- umount vinum fs
- stop vinum
- add new disk to system
- clone old disk with dd to new disk
- remove old disk and install new disk instead
- new disk: zero first 265 sectors of the slice
- disklabel new disk as was the old disk (Handbook: Adding disks)
- vinum create -f diskfile (see http://www.vinumvm.org replacing disks)
- start vinum
- vinum setstate of disks/plex/vol to up
- vinum saveconfig
- fsck vinum fs
- mount vinum fs
Changes are good to destroy all data with this steps shown above. Read 
manpages dd, vinum, disklabel, fdisk. Understand what you do. Think before 
hitting return. Expect the worst when using the wrong parameters. Use backups.

with best regards

Alexander

--
Alexander Haderer Charite Berlin - Germany
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Booting 5.0 from GRUB

2003-03-07 Thread Antoine Jacoutot
On Friday 07 March 2003 16:56, Dan Nelson wrote:
 Then grub can't see any disks at all.  If you just ran 'grub' from a
 shell prompt, try actually booting into grub itself; sometimes the Unix
 'grub' command can't find all the disks the real grub sees.

OK, I'll try that as soon as I have time to investigate.
Thanks a lot.

Antoine

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Thanks for the response...

2003-03-07 Thread scott mcclellan
Not sure how to reply to the threads on the freebsd lists, but will
probably post there with an update to all this soon.

I did do the ole' switch of jumpers (two times as I didn't know which
posts were designated for MASTER - trial and error I guess). So now the
system sees the CD-ROM as the Secondary Master (which is a good thing
I'm supposing)

And I did take another poster's advise in burning the ISO image at a
slower speed (4x is as low as I get), but I'm still at a point where the
system responds with:
Boot from ATAPI CD-ROM:  Failure...
No /boot/loader


I assume that ATAPI is the model of the CD-ROM the system found. But,
the 'Failure... has me stumped. Is it possible that although the system
(and FreeBSD) recognize the type of CD-Rom I have, but FreeBSD just
doesn't support it [Creative Infra1800]. I admit when looking at the
supported hardware, I didn't see Creative on the list - but then what's
up with ATAPI?

I apologize. A lot of my questions are rhetorical in that I just need to
'vent' (if I don't talk to myself, then I type to myself). And as
another poster put it 'Don't throw out the old machine, just have
patience' - as you've stated also. I have patience (and an occasional
temper). Although my hostility factor towards this so far is only at
about 3.

Thanks again, and if you have anything else to add (not to my misery
please), feel free.

Scott McClellan





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Getting started with FreeBSd on a notebook

2003-03-07 Thread Charlie Clark
Hi,

I'm a bit of a novice when it comes to BSD but I thought I'd install it on 
my notebook so that I can do my Zope + PostgreSQL development on it: BeOS 
doesn't yet have have select() and windows 2k + cygwin isn't so much fun 
either.

I've got FreeBSD 4.6, 4.7 and 5.0 nad have problems with all three. I've 
checked the FAQs and searched the web but haven't really round anything 
useful.

I was hoping 5.0 would have the best support for my notebook (Sony VAIO 
GR1114 EK) but I can't even boot properly as the boot hangs on the the 
cardbus driver. I've been told I can't comment out or bypass the driver as 
it's hard-coded in the kernel so I'd like to know what I can do. In BeOS we 
have somethign called failsafe mode which disables pretty much everything 
except VGA, keyboard and mouse and is quite useful when tracking hardware 
problems. Is there something similar for FreeBSD? Will I need to recompile 
the kernal and if yo how do I do this before I can install the OS?

I also received 4.6 and 4.7 and tried them. Both boot and install but 4.7 
seems to struggle with my Toshiba DVD meaning that it takes about one 
minute longer to boot each time than 4.6. So I decided just to install 4.6. 
I'm not after bells and whistles after all. The install runs fine apart 
from the fact I cannot find drivers for my graphics card (Radeon mobility) 
for XFree86. I've read somewhere that the ATI drivers didn't make it into 
the distribution so I tried just a VESA setup. But I get an error when 
trying to start X-Windows that no monitor can be found. I realise that this 
is an XFree86 error but having tried all the various approaches and 
crashing the system with the autoconfigure option I thought it was time 
to ask the experts.

By the way: this is a high traffic list. Is it possible to get it as digest?

Thanx very much

Charlie Clark

-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Port 3306 -- Solved!! Thanks

2003-03-07 Thread Ricardo Oliva
Hi Keith,

Since you are on the matter, I would also recommend using your firewall to 
stop unwanted requests to that port. For example, try instead of any, 
allowing your webserver (in case of webdriven websites) and only servers that 
need to have access to your database. You don't need anyone trying to play 
around with your database. :)

Cheers
Ricardo

On Thursday 06 March 2003 07:30 pm, [EMAIL PROTECTED] wrote:
  - Original Message -
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, March 06, 2003 7:12 PM
 
 
  Hi all,
  I have Found a rule in my ipf firewall rules file.
  it allows in my agetway machine running webmin
 etc etc. to port 3306 from  any.
 
  Now I may well have added this rule but I didn't
 comment it (Not like me!) Any clues as to what
 that port is for? Services file has no listing.
 
  Thanks
  Keith Spencer
 
 
  IIRC, that's MySQL.
 
  Kevin Kinsey
  DaleCo, S.P.
 
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 

-- 
Ricardo Oliva
Labs Systems Administrator
UBC - Zoology Department
Ph.: 604-822-3882
E-mail: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Thanks for the response...

2003-03-07 Thread IAccounts
 slower speed (4x is as low as I get), but I'm still at a point where the
 system responds with:
 Boot from ATAPI CD-ROM:  Failure...
 No /boot/loader

Did you try to download the floppies, boot from them, then direct /stand
to point to the CD as the install media?

Steve



 I assume that ATAPI is the model of the CD-ROM the system found. But,
 the 'Failure... has me stumped. Is it possible that although the system
 (and FreeBSD) recognize the type of CD-Rom I have, but FreeBSD just
 doesn't support it [Creative Infra1800]. I admit when looking at the
 supported hardware, I didn't see Creative on the list - but then what's
 up with ATAPI?

 I apologize. A lot of my questions are rhetorical in that I just need to
 'vent' (if I don't talk to myself, then I type to myself). And as
 another poster put it 'Don't throw out the old machine, just have
 patience' - as you've stated also. I have patience (and an occasional
 temper). Although my hostility factor towards this so far is only at
 about 3.

 Thanks again, and if you have anything else to add (not to my misery
 please), feel free.

 Scott McClellan





 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Thanks for the response...

2003-03-07 Thread Nigel Soon
This question may have already been asked but how are you exactly burning
the image. Just making sure your not just burning the file on the CD :)

On Fri, 07 Mar 2003, scott mcclellan wrote:

 Not sure how to reply to the threads on the freebsd lists, but will
 probably post there with an update to all this soon.
 
 I did do the ole' switch of jumpers (two times as I didn't know which
 posts were designated for MASTER - trial and error I guess). So now the
 system sees the CD-ROM as the Secondary Master (which is a good thing
 I'm supposing)
 
 And I did take another poster's advise in burning the ISO image at a
 slower speed (4x is as low as I get), but I'm still at a point where the
 system responds with:
 Boot from ATAPI CD-ROM:  Failure...
 No /boot/loader
 
 
 I assume that ATAPI is the model of the CD-ROM the system found. But,
 the 'Failure... has me stumped. Is it possible that although the system
 (and FreeBSD) recognize the type of CD-Rom I have, but FreeBSD just
 doesn't support it [Creative Infra1800]. I admit when looking at the
 supported hardware, I didn't see Creative on the list - but then what's
 up with ATAPI?
 
 I apologize. A lot of my questions are rhetorical in that I just need to
 'vent' (if I don't talk to myself, then I type to myself). And as
 another poster put it 'Don't throw out the old machine, just have
 patience' - as you've stated also. I have patience (and an occasional
 temper). Although my hostility factor towards this so far is only at
 about 3.
 
 Thanks again, and if you have anything else to add (not to my misery
 please), feel free.
 
 Scott McClellan
 
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: firewall

2003-03-07 Thread Lowell Gilbert
Brian Henning [EMAIL PROTECTED] writes:

 Hello-
 I am pretty new to natd and ipfw, so i would like to be able to describe what i
 want
 to be able to do with my new bsd router. This is to understand the nomenclature
 and how understand
 
 how other people use bsd as a router/firewall.
 So far i have manually done this to my router.
 
 sysctl net.inet.ip.forwarding=1  # gateway_enable=YES
 natd -interface rl1
 ipfw -f flush
 ipfw add divert natd all from any to any via rl1
 ipfw add pass all from any to any
 
 notes:
 r11 is my external network
 rl0 is my internal network
 
 here is what i would like to do in a more standard way. Please correct my
 wording
 if it is off or if it unclear.
 
 port forward: ssh from a local machine port 22 to the router port 22, open to
 the outside

Being able to connect out is easy, but I think you should have that
already.  Supporting incoming connections the same way doesn't make
sense, because the router won't know which local machine should get it.

 port forward: vpn port 5001 for all local machines, open to the outside

You need to work out your topology, and probably not run VPN software
on each local machine, but implement a tunnel that they can route to.

 block all servers on the router to the outside, but not the inside
 anyone on the local network has access to services on the router

That's pretty normal; you just put an allow-all clause on the inside interface.

 what else should i consider?

Reading Cheswick  Bellovin, perhaps?

 is port forwarding done with ip or with mac address?

IP.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problem to mount an ext3 partition

2003-03-07 Thread Fernando Gleiser
On Fri, 7 Mar 2003, Mica Telodico wrote:

  --- Simon Barner [EMAIL PROTECTED] ha scritto:  

 I've controlled yet , the partition is the right
 partition. I've controlled in /stand/sysinstall in the
 partiotion utility , an it mark the ad0s2 partition
 as an ext2fs partition. I don't know what to do :cry:
 I need those datas , and I don't know how to reach
 them. I've tried to do fsck_ext2fs /dev/ad0s2 and it
 says BAD SUPERBLOCK: MAGIC NUMBER WRONG I've added
 the line options EXT2FS to my kernel configuration
 and than I've recompiled , It must work, why it
 doesn't work? Problems of Freebsd 5X  and Ext
 filesystems??


It should work. how was the ext3 partition called on linux? There are
some tools which you can use to convert from ext2 to ext3 and back.
Take a look at the tune2fs man page on a linux box.


Fer



 __
 Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
 http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

 To Unsubscribe: send mail to [EMAIL PROTECTED]

 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread Bill Moran
Damien Tougas wrote:
Is there any advantage/disadvantage to using kernel moduls vs. staticly 
linking stuff in the kernel? I would like to eliminate everything from my 
kernel config that can be loaded as a module, then load them at boot using 
loader.conf. Is there any reason I would not want to do that? It seems to me 
that it would make things much easier.
I would guess there are a number of reasons ...
First would be historical.  BSD is historically a monolithic kernel.  The more
you rely on modules, the more the kernel acts like a microkernel.  I suspect
that some day, FreeBSD will be a microkernel, but I don't expect that to be
for many, many releases.  The change involves a lot.  For now, though,
FreeBSD is still a monolithic kernel, and people treat it that way even when
need does not require it.
The other reason I've heard is that KLDs don't run as fast and use more memory
than the same functionality compiled into the kernel.  I've never tested this,
but I'm guessing that the difference is negligible on modern hardware.
Why does FreeBSD not do this by default for the GENERIC kernel?
Not sure.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


No disks found!

2003-03-07 Thread y3v
Can you tell me if Controller IDE Bus Master Intel 82371AB/EB PCI is
supported by FreeBSD, please?
I have just tried to install 5.0, but after boot, at sysinstall's prompt,
when I go for Standard installation, he give me an error like

No disks found! Please verify that your disk controller is being
properly probed at boot time. See the Hardware Guide on the
Documentation menu for clues on diagnosis this type of problem.

At boot time he also find that my controller is Intel PIIX4 ATA33
Controller...

Where is the problem? Please, help me... :(

PS: I also tried to write  set hint.acpi.0.disabled=1  in the middle of
the boot, but I don't know what's the command to continue booting and if I
give reboot, then the PC reboots and I lose the variable assignment...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


mod_jk2 + Tomcat/4.1.18 404 error

2003-03-07 Thread Julian List
I ALMOST have mod_jk2 with Apache 1.3.27 working, so if you know the answer 
to this one, it would really help! Whenever I request a jsp page it invokes 
the connector, but I always get a Tomcat/4.1.18 404 error. I am running 
virtual hosts, part of my server.xml looks like this:

Host name=www.myserver.com
   Context path=/
docBase=/webapps/myserver.com
crossContext=false
debug=0
reloadable=true
   /Context
   /Host
It seems it could be mapping to the root Tomcat/4.1.18 server, because
whenever I request /examples it works.
Any ideas?

Thanks in advance,

Julian

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 5.0 and ACPI Errors

2003-03-07 Thread Martin Moeller
* Lord Sith [EMAIL PROTECTED] [03.03.03 09:27]:
 Does anyone have a clue what this error means?
 
 acpi0: ABIT   AWRDACPI on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
 Using $PIR table, 7 entries at 0xc00fdf00
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter ACPI-safe  frequency 3579545 Hz
 ACPI-1287: *** Error: Method execution failed, AE_AML_UNINITIALIZED_LOCAL
 can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_UNINITIALIZED_LOCAL
 
 Whatever it means, it prevents my system from setting up a device node for 
 my floppy drive:
 
 fdc0: cannot reserve I/O port range (1 ports)

I  had the  same  error. Turning  off  ACPI did  it  for me...  That's
probably bad style, but... it works.

Just add

hint.acpi.0.disabled=1

to your /boot/device.hints

-- 
Martin Möller mm at bsdsi.comhttp://www.bsdsi.com/
GnuPG/PGP DSA ID: 0x3C979285  ICQ # 82221572
I do not accept unsolicited commercial mail. Do not spam me!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Why natd don't divert packets?

2003-03-07 Thread Kevin Kinsey, DaleCo, S.P.

From: denb [EMAIL PROTECTED]

Sent: Friday, March 07, 2003 5:22 AM
Subject: Re: Why natd don't divert packets?


 Bernd Walter [EMAIL PROTECTED]:

  On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote:
   This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0
 (ipfw2).
   Why?
 
  This is an issue triggered by compiling libalias with -O2.
  Recompile libalias without -O2 and recompile natd so it binds to
 the rebuild libalias.a
  The problem wasn't there a month ago.
  See -current list for firther details.
 
  --
  B.WalterCOSMO-Project http://www.cosmo-project.de
  [EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]
 
 I ran this on FreeBSD 5.0-RELEASE, not CURRENT. Any suggestions?


5.0 REL was -CURRENT as of the date of the release.
This makes you an early adopter ---congratulations!
As you are running the the first release from that branch
(-CURRENT), I'd think his explanation would be worth looking
into...maybe he meant 'six weeks' instead of a 'month', which
would put it well within the dates delineated by your -RELEASE
version.

Kevin Kinsey,
DaleCo, S.P.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: firewall

2003-03-07 Thread Joe Sotham

Lowell Gilbert said:

 Brian Henning [EMAIL PROTECTED] writes:


If you're not familiar with ipfw rules and nat use the the simple
firewall in the rc.firewall script as a starting point. It's reasonably
well documented.



-- 
Joe Sotham

If the only prayer you say in your entire life is Thank You,
that will suffice.
- Meister Eckhart

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


core dump

2003-03-07 Thread Thomas Haug
Hi List members

Since a few weeks my box is core dumping when i'm doing a make 
buildworld with
one of the following error msgs (changing always :-)):

Mar  5 21:54:17 ns1 /kernel: pid 34726 (cc1), uid 0: exited on signal 4 
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5383 (cc1), uid 0: exited on signal 11 
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5384 (as), uid 0: exited on signal 5 (core
dumped)

This box is running since a year, so its pritty new and i never had 
problems
with it. Every appl is running fine, nothing is core dumping, just the make
buildworld does...

Any ideas ?

Thanks,
Thomas
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Multiple Apache Ports

2003-03-07 Thread John McClure
Greetings all.

Time for me to install another Apache in a different
location, so I can have two, differently configured,
Apache installs running side-by-side.

When I try to install the same port again, however,
with a different PREFIX, the pkg system complains that
I've already got an Apache installed. Should I force
this new install? Earlier, when I worried that this
would overwrite information in /var/db/pkg someone
kindly advised me not to worry about it, that it
wouldn't do this. But how should I handle the
exception that's showing?

Any advice is appreciated.

Peace.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: core dump

2003-03-07 Thread Bill Moran
Thomas Haug wrote:
Hi List members

Since a few weeks my box is core dumping when i'm doing a make 
buildworld with
one of the following error msgs (changing always :-)):

Mar  5 21:54:17 ns1 /kernel: pid 34726 (cc1), uid 0: exited on signal 4 
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5383 (cc1), uid 0: exited on signal 11 
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5384 (as), uid 0: exited on signal 5 (core
dumped)

This box is running since a year, so its pritty new and i never had 
problems
with it. Every appl is running fine, nothing is core dumping, just the make
buildworld does...
Sounds like hardware.  Install memtest and cpuburn and test the RAM and CPU.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: How to tell what hardware in server ?

2003-03-07 Thread Hugo Saro
more /var/run/dmesg.boot

--- Rus Foster [EMAIL PROTECTED] wrote:
 On Thu, 6 Mar 2003, Wayne Pascoe wrote:
 
  Hi all,
 
  Is there any way to tell what hardware is in a
 server without rebooting
  it and checking dmesg?
 
  I'm just looking for Processor type, memory, stuff
 like that. I know I
  can get the number of processors with sysctl, but
 nothing else there :(
 
  TIA,
 
 
 Try the following commands for each bit
 
 lspci List PCI devices
 cat /proc/cpuingo - Cpu info
 free - Memory Info
 fdisk -l - Disk info
 
 Hope that helps
 
 Rus
 --
 http://www.65535.net | MSN: [EMAIL PROTECTED] | e:
 [EMAIL PROTECTED]
   More bits for your bite
 Lifetime FreeBSD + Linux Hosting and Shell
 Accounts
  Please respect RFC1855 and don't top
 post
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Multiple Apache Ports

2003-03-07 Thread IAccounts
 Time for me to install another Apache in a different
 location, so I can have two, differently configured,
 Apache installs running side-by-side.

I have done this successfully by installing from source and running
configure with the following:

#./configure --prefix=/usr/local/apache_prod

and on the other:

#./configure --prefix=/usr/local/apache_test

Of course, you will have to decide what other options/modules you want to
configure with.

Steve


 When I try to install the same port again, however,
 with a different PREFIX, the pkg system complains that
 I've already got an Apache installed. Should I force
 this new install? Earlier, when I worried that this
 would overwrite information in /var/db/pkg someone
 kindly advised me not to worry about it, that it
 wouldn't do this. But how should I handle the
 exception that's showing?

 Any advice is appreciated.

 Peace.

 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


A huge THANK YOU!!!!!

2003-03-07 Thread scott mcclellan
Dear Nigel,

Right off the bat, I want to thank you for (humiliating me) solving my
problem. No I'm not humiliated, just ticked off that I hadn't thought of
what I was doing wrong first.

I'll be the first to admit that I'm one of those people who are too used
to having the computer (Windows) do everything for me. Once upon a time
(about 24 years ago) we had a TRS-80 and HAD to deal with DOS - how I
long for those days again, because unfortunately I became Windows
brainwashed.

I had no inkling as to what an ISO image was, or what it was for, or how
to use it. So yes, *cringe* I just burned the ISO image 'file' onto the
CD. Amazing what can happen when you know what you're doing.

Everything looks as if it is loading okay now. Oops, no not everything.
It's telling me that it can't get 'compat4X' and 'port distributions'
loaded because it has run out of room. Hmmm. I guess it's time for me to
putter around some more, but I'm huge steps ahead of where I was 2 hours
ago (and 3 days of banging my head). I don't mind puttering, heck I got
my CD-ROM connected properly now (darn computer store techies) after
reading through some of the FAQs and letters here. Yeah, it's
time-consuming, but I can honestly say I feel like I've learned a great
deal already - unfortunately, not about FreeBSD yet :) But hey, it all
counts. 

Was there anything about ISO imaging anywhere that I just missed or
slipped over without actually reading? I didn't notice anything on the
FreeBSD site or handbook.

Nigel, Staples will not be happy with you - they lost a sale of about 50
floppies :) I was just about to head out when I got your e-mail.

Again thank you, thank you, thank you. Time to use the rest of the
handbook now and start solving the next onslaught of issues.

And thanks to the rest that sent their thoughts, suggestions, and
condolences :) Just knowing someone else out there was in the same boat
at one time sometimes is a help.

Best regards,

Scott McClellan

p.s. 
to whomever suggested burning at a slower speed, I did try that (albeit
by 'burning' the file rather than 'opening' it), so needless to say -
but I'll say it anyway - it didn't work, only slower  :)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Mucked up partitions, can't boot

2003-03-07 Thread Scott I. Remick
Doing another experimental 5.0-REL install where I mucked things up due to
partitioning by-hand. This is now becoming a learning experience on fixit et
al, so although this is just for fun I'd like to carry it through the
hard way vs just reinstalling.

Anyhow, this system has 4 SCSI disks da0 through da3. I put / on da0, swap
on da1, split da2 50/50 with /var and /tmp, then /usr is on da3. For each
disk I chose A during slice setup to use entire disk but then partitioned
manually once that screen came up.

I think what I originally forgot to do was set da0 active as I normally have
always just chosen A during partition setup.

This system is old and can't boot off CD, but I do have the kern, mfsroot,
and fixit floppies. I already tried fdisk -a da0 as well as disklabel -w
B da0 but that only made me go from error 1 lba on boot to invalid
partition. I confess to not being familiar with these tools... this is my
first need to use them.

In /dev, I have da0, da0c, da1, da1s1, da1s1b, da1s1c, da2, da2s1, da2s1c,
da2s1d, da2s1e, da3, da3s1, da3s1c, da3s1d

If I do an fdisk da0 partitions 1-3 are UNUSED and everything is on
partition 4, but fdisk da1 through da3 it's partition 1 that has data, and
partitions 2-4 are UNUSED. All used partitions are flag 80 (active)
according to fdisk (I can't see how to make a partition UN-active, only
active).

Anyone willing to help me learn and guide me from here? Thanks

=
Scott I. Remick   --==--   ICQ: 450152 
Save the internet - Use a Mozilla-based browser: 
http://home.adelphia.net/~sremick/mozilla/
FreeBSD: Because making unix user-friendly is easier than debugging Windows.
Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel 
est invisible pour les yeux.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: core dump

2003-03-07 Thread taxman
On Friday 07 March 2003 04:00 pm, Thomas Haug wrote:
 Hi List members

 Since a few weeks my box is core dumping when i'm doing a make
 buildworld with
 one of the following error msgs (changing always :-)):

If it is changing the place in the compile that it bombs at each time, doing 
the same buildworld, with the same source, then you have a *high* likelihood 
of hardware error of some sort.  Try doing the exact same buildworld two or 
three times in a row, does it bomb every time?  Same spot or different?
You didn't show enough of the error to let us know that
try using script to record the output of the build then you can include more 
of the error in your mail if needed.

 Mar  5 21:54:17 ns1 /kernel: pid 34726 (cc1), uid 0: exited on signal 4
 (core
 dumped)
 Mar  5 22:10:21 ns1 /kernel: pid 5383 (cc1), uid 0: exited on signal 11
 (core
 dumped)
 Mar  5 22:10:21 ns1 /kernel: pid 5384 (as), uid 0: exited on signal 5 (core
 dumped)

 This box is running since a year, so its pritty new and i never had
 problems
 with it. Every appl is running fine, nothing is core dumping, just the make
 buildworld does...

That could easily be because buildworld stresses your system more and in 
different ways than most other apps.

Tim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


mbufs not being freed.

2003-03-07 Thread Prashant Sarma

Hello All,

I am facing a peculiar problem with the mbufs for the network traffic
not being freed on my FreeBSD 4.7-RELEASE-p7 machine. I used to run
FreeBSD 4.3 but after rebooting recently, the mbuf count (netstat -m)
would keep going up until there was no space left for the packets
arriving on the interfaces. I thought that this could be because of the
older version of FreeBSD and upgraded to 4.7, but still no luck.

Increasing the space for mbuf clusters (kern.ipc.nmbclusters)
and mbufs (kern.ipc.nmbufs) only postpones the problem.

When the mbufs are all used up, I get the following error:

xl0: no memory for rx list -- packet dropped!

and the machine stops responding to all network traffic including
pings.


SPECS:

The machine in question is a Dell PC with a 1.5 GHz processor and 512
MB RAM. It has 2 interfaces, a 3 Com builtin on the motherboard
and a PCI Netgear card. It runs a name server, web server and
MySQL server.

Here are a snippets of relevant information:

dmesg:

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE-p7 #0: Thu Mar  6 12:32:53 EST 2003

CPU: Pentium 4 (1495.16-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2

dc0: 82c169 PNIC 10/100BaseTX port 0xdc00-0xdcff mem
0xff7ffc00-0xff7ffcff irq 11 at device 7.0 on pci2
dc0: Ethernet address: 00:02:e3:09:10:bb
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xd880-0xd8ff mem
0xff7ff800-0xff7ff87f irq 11 at device 12.0 on pci2
xl0: Ethernet address: 00:06:5b:55:03:95

***

netstat -m:

5149/5168/65536 mbufs in use (current/peak/max):
  2607 mbufs allocated to data
2542 mbufs allocated to socket names and addresses
64/346/32768 mbuf clusters in use (current/peak/max)
1984 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

Any suggestions about what might be causing this and how to solve this?

Regards,

Prashant Sarma
Lexington, KY



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A huge THANK YOU!!!!!

2003-03-07 Thread Allen Kenner
Well this is tghe first time iv ever messaged this place, iv been a huge
Free BSD fan for a long time, (well not that long because iv only had a
computer for 3 years but i did learn fast) me personally, i have no problem
with Windows, to me an OS is as good as the person with root :) lol. but
honestly i like Windows, i also Like Linux, Free BSd and open BSd and BeOS,
i mean i have respect for every OS because even though i dont know how to
program i do understand how it works and to build ANY OS would be hard to
me, im not that great at Free BSD in particular but i can use Linux and i do
daily and i can use a command line and i know how to use shells and GUIs, i
bought Free BSD power pack back when 4.0 was a bit new, i still read that
book all the time, i can still say i love it though because i know how the
system goes and i have a huge amount of respect for Free BSD and the team
who makes it happen, i think its awesome (i dont mean to steal this post but
i saw he was talking about his computer life and i thought hey what the hell
i will to) im 20 years old and i go to college and work in a fast food
restaraunt. anyway good job to everyone from the BSD teams if you see this.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Can't open /dev/fd0.720: Permission denied

2003-03-07 Thread Lee Harr
Im having problems accessing my floppy.
E.g. when using mtools Im getting the following
message:
   Can't open /dv/fd0.720: Permission denied


I assume this is a typo, and the correct message is the
one from the subject:
Can't open /dev/fd0.720: Permission denied
What are the permissions on /dev/fd0.720 ?

ls -l /dev/fd0.720

I believe the default is
crw-r-  2 root  operator9,   7 Jul  5  2002 /dev/fd0.720
which user is using mtools?
which version of FreeBSD are you using?

   Cannot initialize 'A:'

Also at boot I don't see any fd devices getting
detected.
This is my kernel config:
   device  fdc0at isa? port IO_FD1 irq 9 drq 2
   device  fd0 at fdc0 drive 0


I would expect something more like
device not configured
if that were the problem.


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread taxman
On Friday 07 March 2003 11:55 am, Damien Tougas wrote:
 Is there any advantage/disadvantage to using kernel moduls vs. staticly
 linking stuff in the kernel? I would like to eliminate everything from my
 kernel config that can be loaded as a module, then load them at boot using
 loader.conf. 

Should be possible for a lot of things.  Though it seems many need to stay in 
the kernel, as it is currently written.  kld(4) and the pages it refers to 
should be at least somewhat instructive in figuring out what all can be put 
in a module.  
Try reading the developers handbook, it has some of what you're looking for.

 Is there any reason I would not want to do that? It seems to
 me that it would make things much easier.

 Why does FreeBSD not do this by default for the GENERIC kernel?

Only things I can think of as to why most things are compiled in are 
1) the costs of running a module, instead of compiled in.  I don't know how to 
quantify those.  And I didn't see anything in the developer's handbook to 
answer that.  Maybe checking there more carefully would yield some answers.
2) security.  In theory for max security you should minimize the interfaces to 
the kernel.  Any loadable module could be a trojan, packet filter, or 
compromise security in another way.  So optimal security would be have every 
needed component compiled in, and turn off the ability to load any modules.  
I have no idea if this can be done or how in FreeBSD.  kld manpage didn't 
seem to say anything about this.  Keep in mind this is extreme security which 
isn't terribly important till you get the practical stuff taken care of 
first.   
Here is the (in)famous article on it:
http://packetstorm.decepticons.org/papers/unix/bsdkern.htm

You may want to check the -hackers mailing list archives, as this has been 
discussed there. If this is really important for you to figure out, after 
reading the archives, ask there.

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread Simon Barner
 So optimal security would be have every 
 needed component compiled in, and turn off the ability to load any modules.  
 I have no idea if this can be done or how in FreeBSD.

This is what securelevel(8) is about:

[...]

1 Secure mode - the system immutable and system append-only flags may
   not be turned off; disks for mounted file systems, /dev/mem, and
   /dev/kmem may not be opened for writing; kernel modules (see
   kld(4)) may not be loaded or unloaded.

[...]



 http://packetstorm.decepticons.org/papers/unix/bsdkern.htm

Ah, interesting one! Thanks :-)

Simon


signature.asc
Description: Digital signature


Re: A question about kernel modules

2003-03-07 Thread Giorgos Keramidas
On 2003-03-07 15:06, Bill Moran [EMAIL PROTECTED] wrote:
Damien Tougas wrote:
Is there any advantage/disadvantage to using kernel moduls
vs. staticly linking stuff in the kernel? I would like to eliminate
everything from my kernel config that can be loaded as a module,
then load them at boot using loader.conf. Is there any reason I
would not want to do that? It seems to me that it would make things
much easier.

 I would guess there are a number of reasons ...  First would be
 historical.  BSD is historically a monolithic kernel.  The more you
 rely on modules, the more the kernel acts like a microkernel.  I
 suspect that some day, FreeBSD will be a microkernel, but I don't
 expect that to be for many, many releases.  The change involves a
 lot.  For now, though, FreeBSD is still a monolithic kernel, and
 people treat it that way even when need does not require it.  The
 other reason I've heard is that KLDs don't run as fast and use more
 memory than the same functionality compiled into the kernel.  I've
 never tested this, but I'm guessing that the difference is
 negligible on modern hardware.

 Why does FreeBSD not do this by default for the GENERIC kernel?

 Not sure.

The GENERIC kernel needs to support release CD-ROMs.  Looking at the
logs of GENERIC since day 1, it sems that there are various reasons
for putting things in GENERIC and not in modules.

a) Some things are put into GENERIC because it's hard to make them
   work as modules.

INET, device ether, etc.

b) Other things are absolutely necessary to be able to boot into the
   installation program.

FFS support, MD_ROOT, NFSCLIENT and NFS_ROOT, atapi, scsi and
usb device drivers (imagine the frustration of trying to
install with a USB keyboard, but without USB support).

If I'm wrong, I'm sure someone with better knowledge of the kernel
internals will correct me[?].

Bearing this in mind, in 5.X there is now a third floppy disk when
installing from floppies.  The 'drivers' floppy contains a lot of
drivers as modules... so, some effort is being done to modularise
things as much as possible :-)

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail config file

2003-03-07 Thread Giorgos Keramidas
On 2003-03-07 12:43, IAccounts [EMAIL PROTECTED] wrote:
  # cd /etc/mail
  # tar cf - *.cf | gzip -9c -  oldcf.tar.gz
 
  Then regenerate all the *.cf files:
 
  # make cf
 
  Install them as sendmail.cf and submit.cf:
 
  # make install
 

 At this point it fails with:

 # install -c -m freebsd.cf /etc/mail/sendmail.cf
 Install: Invalid file mode: freebsd.cf

 I have tried all manner of file permissions, as I am assuming that they
 this is what is referred to by mode.

 Has anyone else experienced this during their sendmail upgrade?

Does the file /usr/share/mk/bsd.own.mk exist?

If yes, does it contain a definition of SHAREMODE?

% grep SHAREMODE /usr/share/mk/bsd.own.mk
# SHAREMODE ASCII text file mode. [${NOBINMODE}]
SHAREMODE?= ${NOBINMODE}

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Installing FreeBSD on older machine on a 20GB Hard Drive

2003-03-07 Thread Jasvinder S. Bahra
Evenin' folks,

I have an old Pentium 120Hz machine that is acting as a firewall/gateway for my 
network.

Recently, the 4GB hard drive started to make strange noises and drive errors started 
popping up. So I replaced the hard drive with the smallest new hard drive I could get 
hold of - a 20GB.

Straight away, *strange* things started to happen. In the BIOS setup screens, I got it 
to auto-detect the new drive settings, and got a bit of a surprise. You see it only 
detected it as a 8GB hard drive. Whats more, when the system booted at the hard drive 
detection stage, the system locked. I also tried manually entering the correct hard 
drive settings, but the BIOS would not accept them.

Finally, in desperation, I tried entering the drive settings of the old hard drive. 
Surprisingly, it worked. Or at least, the boot process passed the drive detection 
stage. I successfully installed FreeBSD and I now have a fully working 
firewall/gateway machine again.

Theres just one problem. When FreeBSD boots, I get the following...
-8-
Disk error 0x1 (lba=0x14b09f)
No /boot/loader

 FreeBSD/i386 BOOT
Default: 0:ad(0,a)/kernel
-8-

After a few seconds, or when I press the enter key, FreeBSD boots as normal, with the 
following message...
-8-
WARNING: loader(8) metadata is missing
-8-

...followed with the usual config details that show up when you enter the 'dmesg' 
command.

Now I admit that this is fairly minor. The system does boot, and everything else seems 
to be working as normal, but I would like to get this sorted. From what I can find on 
the net, I suspect its to do with the boot information not being on the hard drive 
within the first 1024 cylinders.

Anyone know a way to *fix* this? Or if I reinstall fro scratch, will creating the 
/boot mount point, and setting it to a size of 1024 cylinders work?

Any help you folks could provide would be great! I dont really want to reinstall, but 
if its the only way. *shrugs*

Regards,

Jazz


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: Installing FreeBSD on older machine on a 20GB Hard Drive

2003-03-07 Thread Derrick Ryalls
 
 Evenin' folks,
 
 I have an old Pentium 120Hz machine that is acting as a 
 firewall/gateway for my network.
 
 Recently, the 4GB hard drive started to make strange noises 
 and drive errors started popping up. So I replaced the hard 
 drive with the smallest new hard drive I could get hold of - a 20GB.
 
 Straight away, *strange* things started to happen. In the 
 BIOS setup screens, I got it to auto-detect the new drive 
 settings, and got a bit of a surprise. You see it only 
 detected it as a 8GB hard drive. Whats more, when the system 
 booted at the hard drive detection stage, the system locked. 
 I also tried manually entering the correct hard drive 
 settings, but the BIOS would not accept them.

Probaby due to BIOS age.  Older BIOS won't recognize drives over 8gig
without firmware update (if possible).  If you don't have another drive
around, you might use the size limit switch on the drive (if IDE) and
limit it to 2gig.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread Matthias Buelow
Bill Moran writes:

First would be historical.  BSD is historically a monolithic kernel.  The 
more
you rely on modules, the more the kernel acts like a microkernel.  I suspect

The kernel will still not be a microkernel.. it doesn't really matter
at what time the stuff is linked; a microkernel generally uses message
passing between mostly independent server processes, which is not what
the BSD kernel does.

-- 
Matthias Buelow

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread taxman
On Friday 07 March 2003 06:18 pm, Simon Barner wrote:
  So optimal security would be have every
  needed component compiled in, and turn off the ability to load any
  modules. I have no idea if this can be done or how in FreeBSD.

 This is what securelevel(8) is about:

ahh yes, that seems pretty obvious in retrospect.  :) Thanks.
Another example of my incredible ability to understand the conceptual side of 
info sec., and not be able to implement much of it.  oh well, it helps when 
you have nothing terribly important to protect!  :) 

  http://packetstorm.decepticons.org/papers/unix/bsdkern.htm

 Ah, interesting one! Thanks :-)

np

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


How to get best results from FreeBSD-questions

2003-03-07 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update 28 January 2002, $Id: Howto-ask-questions,v 1.3 2003/01/28 00:26:41 grog 
Exp $

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 mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  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
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In 

The Complete FreeBSD, second edition: errata and addenda

2003-03-07 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

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 Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some updated 

The Complete FreeBSD, third edition: errata and addenda

2003-03-07 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

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 Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

ibss-master

2003-03-07 Thread Kan Cai

Hi, All:

  Just wonder what's the real function of ibss-master? It is only to
decide the SSID for all the peers, or ...?

  Defaultly, is it true that every Linux wireless station creates ibss
defaultly?

  Thanks a lot for any help.

Cheers,
Ken

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Kernel tunables with etherboot?

2003-03-07 Thread Nicholas Esborn
Hello,

I'm trying to figure out how to set the hw.ata.atapi_dma tunable on a 4.7-S
box which I boot using Etherboot.  Currently I have Etherboot download the
kernel, no loader or pxeboot (my machine doens't have PXE).

Does anyone know if it's possible to do this?

Thanks,

-nick

-- 
Nicholas Esborn
Unix Systems Administrator
Berkeley, California

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Multiple Apache Ports

2003-03-07 Thread Mike Meyer
In [EMAIL PROTECTED], John McClure [EMAIL PROTECTED] typed:
 When I try to install the same port again, however,
 with a different PREFIX, the pkg system complains that
 I've already got an Apache installed. Should I force
 this new install? Earlier, when I worried that this
 would overwrite information in /var/db/pkg someone
 kindly advised me not to worry about it, that it
 wouldn't do this. But how should I handle the
 exception that's showing?

I think that was me that told you that, and I had the impression you
were installing two different versions of Apache in the different
places, not just the same version in two different places. The latter
case is different, and the package database will get clobbered by
that.

I'd add a PORTREVISION to the port, setting it to 2. That will cause
the second apache package to have a different name (with an _2
appended) and avoid the problem.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Mucked up partitions, can't boot

2003-03-07 Thread Mike Meyer
In [EMAIL PROTECTED], Scott I. Remick [EMAIL PROTECTED] typed:
 Doing another experimental 5.0-REL install where I mucked things up due to
 partitioning by-hand. This is now becoming a learning experience on fixit et
 al, so although this is just for fun I'd like to carry it through the
 hard way vs just reinstalling.
 
 Anyhow, this system has 4 SCSI disks da0 through da3. I put / on da0, swap
 on da1, split da2 50/50 with /var and /tmp, then /usr is on da3. For each
 disk I chose A during slice setup to use entire disk but then partitioned
 manually once that screen came up.

You really should split swap up in that kind of situation. I.e. - put
var and half of swap on da1, and tmp and the rest of swap on da2. The
kernel will interleave swap usage across both spindles for better
performance if you do that.

 Anyone willing to help me learn and guide me from here? Thanks

Well, you didn't describe a problem, and you didn't ask a
question. It's hard to provide guidance without some indication of
where you are and are trying to go.

mike

-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread Bill Moran
Matthias Buelow wrote:
Bill Moran writes:

First would be historical.  BSD is historically a monolithic kernel.  The 
more
you rely on modules, the more the kernel acts like a microkernel.  I suspect
The kernel will still not be a microkernel.. it doesn't really matter
at what time the stuff is linked; a microkernel generally uses message
passing between mostly independent server processes, which is not what
the BSD kernel does.
I made two seperate comments here, and you stretched them into something
I didn't mean.
Comment 1: KLDs are more microkernlish than compiled-in modules
Comment 2: Looking into my crystal ball, I think that one day the FreeBSD
   kernel will be a microkernel.
This doesn't mean that I think making things into KLDs makes the kernel
a microkernel.  I understand that there are other characteristics of
microkernels that are seperate from the simple idea of loadable kernel
modules.
All I'm saying is that KLDs are a move away from the traditional
compiled-in monolithic kernel.  That move is in the direction of microkernel.
It's a long ways away yet, but it's pointing that direction.
Whether comment #2 ever becomes reality or not remains to be seen.

Besides, Windows claims to be a microkernel and it doesn't act like one at
all ... hell, any change you make requires a reboot.  And they get away with
calling it a microkernel.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A huge THANK YOU!!!!!

2003-03-07 Thread Bill Moran
scott mcclellan wrote:
Was there anything about ISO imaging anywhere that I just missed or
slipped over without actually reading? I didn't notice anything on the
FreeBSD site or handbook.
Unfortunately, I think this is one of those things that it's just
_assumed_ that everybody knows.  I've never seen a good explanation,
anywhere of what an iso is and how it should be handled.  Hell, some
burning software makes it REALLY hard to be sure that your doing it
right.
The concept of making it so easy anyone can do it also make the people
doing it ignorant of what they're actually doing.  I don't like software
designed that way.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: A question about kernel modules

2003-03-07 Thread Simon Barner
  http://packetstorm.decepticons.org/papers/unix/bsdkern.htm

Btw, the article about (nearly) Complete Linux Loadable Kernel Modules, which
is often being referred to by the BSD Kernel article can be found at

http://blacksun.box.sk/lkm.html.

(the URL given in the BSD article is no longer valid).


signature.asc
Description: Digital signature


Re: DHCP Server learning name servers since server itself is dhcp'd??

2003-03-07 Thread Lowell Gilbert
Philip Hallstrom [EMAIL PROTECTED] writes:

 Hi all -
   I'm setting up a server/gateway on a cable modem whose external
 interface has to use DHCP.  There will be several clients on the internal
 network and the gateway will be running isc-dhcp.
 
 I know I can setup a nameserver on the gateway and configure DHCP to send
 it's own IP as the nameserver to use, but I was wondering if there is a
 way to have the dhcp server get the name server values from say
 /etc/resolv.conf?

You should be able to do that by writing a dhclient hook (see the
manual for dhclient-script(8) for info), but I don't have a recipe at
hand, as I've long since gone to running my own nameserver for other
reasons.

 Alternatively is there a way to dynamically tell BIND to get it's
 forwarders list from /etc/resolv.conf?

This could be done pretty much the same way.  I thought I'd done it on
my system, but as I look at named.conf, I don't seem to have ever
finished the shell script to auto-generate the named.conf file.  
Bind 8 doesn't have a sufficiently powerful include mechanism to do
this neatly.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


FreeBSD (4.5-to-4.7) Binary Upgrade Mishap

2003-03-07 Thread Bob Perry
Recently tried to upgrade my 4.5 box using the 4.7 CDs and ran into a
problem which left me with a partially upgraded system.

I have a 14 GB hard disk so I chose to load all of the canned distributions.
During the early stages of the upgrade, I received a message indicating that
/usr/src was not loaded and should be upgraded using the CVSup instead.
OK.

The next set of messages were more problematic and appeared in the following
order:
Add of packages freetype2-2.1.1 aborted, error code 1
Loading of dependent package freetype2-2.1.2 failed
Loading of dependent package XFree86 -libraries -4.2.1-1 failed
Loading of dependent XFree86-FontServer -4.2.0 failed

The next message appeared after the program was ...making slices...:
Hmmm, couldn't even extract the bin distribution.  Start over.

So, I did...three times not realizing that my original kernel was being
trashed along with my config files.  I'm a newbie of sorts and I've spent
the last week fussing and fuming over the time wasted so far with, what I
thought, should have been a relatively simple process.  I'm over it and
ready to move on.  I ran the upgrade again, this time leaving out anything
to do with the X  System.  It ran successfully (?) however, I need to
restore/reinstall certain files this weekend to make it whole again.

What did I miss?  Does one have to become an expert to work with this OS?

BTW, I did back up my 4.5 system before attempting the upgrade.

Thanks.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


leafnode

2003-03-07 Thread Nicholas Wieland
Hi all,
I'm having troubles with leafnode: I've read all the files of pkg-message
but it seems to me that the leafnode server isn't running...
After the first fetchnews I've tried running slrn -f /home/foo/jnewsrc --create but
it can't access 127.0.0.1 and also if I telnet port 119 the only result is
connection refused... I've modified inetd.conf as explained in INSTALL and configured
the server, inetd is running
I'd really appreciate some suggestions, I'm quite new to freebsd :)
Using FreeBSD 5.0 on a dial-up connection

TIA,
Nicholas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: FreeBSD (4.5-to-4.7) Binary Upgrade Mishap

2003-03-07 Thread taxman
On Friday 07 March 2003 10:32 pm, Bob Perry wrote:
 Recently tried to upgrade my 4.5 box using the 4.7 CDs and ran into a
 problem which left me with a partially upgraded system.

 I have a 14 GB hard disk so I chose to load all of the canned
 distributions. During the early stages of the upgrade, I received a message
 indicating that /usr/src was not loaded and should be upgraded using the
 CVSup instead. OK.

That doesn't seem like a problem

 The next set of messages were more problematic and appeared in the
 following order:
 Add of packages freetype2-2.1.1 aborted, error code 1
 Loading of dependent package freetype2-2.1.2 failed
 Loading of dependent package XFree86 -libraries -4.2.1-1 failed
 Loading of dependent XFree86-FontServer -4.2.0 failed

no biggie, you can load all these packages later anyway.

 The next message appeared after the program was ...making slices...:
 Hmmm, couldn't even extract the bin distribution.  Start over.

 So, I did...three times not realizing that my original kernel was being
 trashed along with my config files.  I'm a newbie of sorts and I've spent
 the last week fussing and fuming over the time wasted so far with, what I
 thought, should have been a relatively simple process.  I'm over it and
 ready to move on.  I ran the upgrade again, this time leaving out anything
 to do with the X  System.  It ran successfully (?) however, I need to
 restore/reinstall certain files this weekend to make it whole again.

 What did I miss?  Does one have to become an expert to work with this OS?

Well even after reading the biggest hairiest warning that binary upgrade can 
trash your system and leave you with a completely unable to work system, you 
still did it?

 BTW, I did back up my 4.5 system before attempting the upgrade.

That seems the best choice you made.  Binary upgrade has never worked well 
that I know of.  I think because the source upgrade method works so well.

So i would either back up and reinstall (easiest), or do a source rebuild from 
where you are at.   But if your system is working then just go ahead and use 
it.  if not, upgrade.  I would expect you will have problems after a binary 
upgrade, but who knows.

If you want to do the source upgrade, see the chapter in the 
www.freebsd.org/handbook on cutting edge.  Even if you don't want to go to 
-current or -stable, the same method outlined there will work to rebuild your 
system.

have fun, and think of all you're learning!

Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: leafnode

2003-03-07 Thread Kris Kennaway
On Sat, Mar 08, 2003 at 03:48:44AM +, Nicholas Wieland wrote:
 Hi all,
   I'm having troubles with leafnode: I've read all the files of pkg-message
 but it seems to me that the leafnode server isn't running...
 After the first fetchnews I've tried running slrn -f /home/foo/jnewsrc --create but
 it can't access 127.0.0.1 and also if I telnet port 119 the only result is
 connection refused... I've modified inetd.conf as explained in INSTALL and configured
 the server, inetd is running

Post your inetd.conf.

Kris


pgp0.pgp
Description: PGP signature


Re: Screen Shots

2003-03-07 Thread Franklin Pierce
- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
Date: Fri, 7 Mar 2003 08:41:44 +0200
To: Gerard Samuel [EMAIL PROTECTED]
Subject: Re: Screen Shots

 On 2003-03-06 22:06, Gerard Samuel [EMAIL PROTECTED] wrote:
  For the life of me, I cannot remember the command line program to
  take screen shots.  Its been a while.  If someone could remind me
  with a man page would be great.
 
 There are quite a few ways.  ImageMagick that someone mentioned has an
 `import' command.  The netpbm collection of image conversion tools has
 xwdtopnm and pnmtopng:
 
   $ xwd -root | xwdtopnm | pnmtopng  desktop.png
 
 I have also used xv(1) from the graphics/xv port to grab, crop and
 convert parts of my desktop :)

xwd -root -out filename.whatever

both xv and gimp can display and manipulate and convert
these files at will, although an 8-bit greyscale of a
gnome app on a kde desktop, preferably last night's
mozilla (-fomit-frame-pointer -fmake-me-run-fast) . . .
I discounted an obvious reference to Hegel, but you
might get traction with something punkt-und-klikt.

It helps to have lots of transparent eterms, somehow
not as emacs as I'd envisioned, but if you use cat as
a pager, it could be right up your alley.

Love,
Franklin Pierce



It's a new idea, said Jai.
I'd better go and share it with the club before I become rigid and defensive about 
it, he added hastily.
   --Joanna Russ, _And Chaos Died_

   
-- 
___
http://www.operamail.com
Now with OperaMail Premium for only US$29.99/yr

Powered by Outblaze

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


mysql323-server -- can't connect remotely

2003-03-07 Thread Mark Edwards
I have /usr/ports/databases/mysql323-server installed, and it is up and 
running.  If I do:

 mysql -h localhost
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.23.55
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql

It works fine.  However, if I do:

 mysql -h lilbuddy.antsclimbtree.com
ERROR 2013: Lost connection to MySQL server during query
That's what I get.  lilbuddy.antsclimbtree.com is the hostname of the 
server machine, and I'm doing this from that machine.

Any idea what's wrong?  Thanks!

--
Mark Edwards
San Francisco, CA
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: mysql323-server -- can't connect remotely

2003-03-07 Thread Kjell
 I have /usr/ports/databases/mysql323-server installed, and it is up and 
 running.  If I do:
 
 
   mysql -h localhost
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 1 to server version: 3.23.55
 
 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
 mysql
 
 
 It works fine.  However, if I do:
 
 
   mysql -h lilbuddy.antsclimbtree.com
 ERROR 2013: Lost connection to MySQL server during query
 
Do you have an entry for 'lilbuddy.antsclimbtree.com' in the user and db 
tables in your mysql database?
 
 That's what I get.  lilbuddy.antsclimbtree.com is the hostname of the 
 server machine, and I'm doing this from that machine.
 
 Any idea what's wrong?  Thanks!
 
 --
 Mark Edwards
 San Francisco, CA




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


OSS SBLive driver causes kernel panic with 5.0 current

2003-03-07 Thread Jody Franklin
I'd been keeping up with current (world/kernel) every other week or so,
and until this week I had no real problems. But after the build I did on
March 3rd my soundcard driver (4Front's SBLive/Audigy driver) causes a
kernel panic on load. If I don't load the driver the system boots fine,
and runs with no other problems.
This is the message I get from the debugger when I load the driver:

panic: Invalid major (-1030904368) in make_dev

I've posted this info to their support forums also, their last responce
was to see what they broke.
Jody





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: mysql323-server -- can't connect remotely

2003-03-07 Thread massey
http://www.mysql.com/doc/en/Adding_users.html





 I have /usr/ports/databases/mysql323-server installed, and it is up
 and  running.  If I do:


   mysql -h localhost
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 1 to server version: 3.23.55

 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

 mysql


 It works fine.  However, if I do:


   mysql -h lilbuddy.antsclimbtree.com
 ERROR 2013: Lost connection to MySQL server during query

 Do you have an entry for 'lilbuddy.antsclimbtree.com' in the user and db
  tables in your mysql database?

 That's what I get.  lilbuddy.antsclimbtree.com is the hostname of the
 server machine, and I'm doing this from that machine.

 Any idea what's wrong?  Thanks!

 --
 Mark Edwards
 San Francisco, CA




 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: mysql323-server -- can't connect remotely

2003-03-07 Thread Mark Edwards
On Friday, March 7, 2003, at 02:34 PM, Kjell wrote:

I have /usr/ports/databases/mysql323-server installed, and it is up and
running.  If I do:

mysql -h localhost
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.23.55
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql

It works fine.  However, if I do:


mysql -h lilbuddy.antsclimbtree.com
ERROR 2013: Lost connection to MySQL server during query

Do you have an entry for 'lilbuddy.antsclimbtree.com' in the user and db
tables in your mysql database?
Yes, the test database and the anonymous user are accessible from any 
host.  In any case, I believe the error would be

ERROR 1130: Host 'lilbuddy.antsclimbtree.com' is not allowed to connect 
to this MySQL server

if that was the problem.

--
Mark Edwards
Engineer
Mr. Toad's
San Francisco, CA
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: mysql323-server -- can't connect remotely

2003-03-07 Thread Mark Edwards
I issued the necessary GRANT statements to add a new user, as described 
on that page, and I get:

 mysql -u marktest -p -h antsclimbtree.com
Enter password:
ERROR 2013: Lost connection to MySQL server during query
Same thing.  Again, shouldn't the error message be different if this is 
a permissions problem?

On Friday, March 7, 2003, at 03:18 PM, [EMAIL PROTECTED] wrote:

http://www.mysql.com/doc/en/Adding_users.html


I have /usr/ports/databases/mysql323-server installed, and it is up
and  running.  If I do:

mysql -h localhost
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.23.55
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql

It works fine.  However, if I do:


mysql -h lilbuddy.antsclimbtree.com
ERROR 2013: Lost connection to MySQL server during query

Do you have an entry for 'lilbuddy.antsclimbtree.com' in the user and 
db
 tables in your mysql database?
That's what I get.  lilbuddy.antsclimbtree.com is the hostname of the
server machine, and I'm doing this from that machine.
Any idea what's wrong?  Thanks!

--
Mark Edwards
San Francisco, CA




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message




--
Mark Edwards
Engineer
Mr. Toad's
San Francisco, CA
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: How to determine if cpu-cache is working?

2003-03-07 Thread Toomas Aas

 I am talking about a PII 300 MHz. The bios settings are OK for
 cpu-cache. The machine is slower than a PI 75 MHz. It does not look
 like hard disks. There is nothing in dmesg or messages that looks
 weird.
 
 So how can I see whether the cpu-cache memory is functioning? Could it
 be broken?

memtest86 (www.memtest86.com) should be able to answer this. Even though it's
main purpose is testing RAM, it also shows the information about L1 and L2 cache.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Shell to DOS... Come in DOS, do you copy? Shell to DOS...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Problems with mkisofs and Mac OS X

2003-03-07 Thread Bill Moran
taxman wrote:
On Thursday 06 March 2003 02:46 pm, Bill Moran wrote:

I know this doesn't belong on this list, but I can't find any information
about it at all, anywhere.  First off, if anyone can point me to
information in lieu of a direct answer, that would be just as helpful. 
I've searched Apple's site, google at large and the chaos at the mkisofs
homepage.


Well you help lots of us here, so I'll make a feeble attempt.  The only thing 
I can think of is some pretty generic advice.  Try simplifying the problem 
and breaking it up into it's components till you get to the cause.
	Then try new versions of the software you're running. What version of 
netatalk are you running? how about mkisofs?
That's something I didn't think of.  The Netatalk version is getting pretty
old.
I have tried a number of things already.  I tend to suspect OS X itself rather
heavily, as it's the only thing that changed (these folkes upgraded from OS 9
to OS X over the last few months).  But the guy at the office claimed the CDs
aren't correct on OS 9 now either.
Here's the problem:
FreeBSD server that serves files up for Windows and Mac OS X machines
(using Samba and Netatalk).  It has a CD burner in it that is used to
archive old projects.  I have a perl script written that presents a GUI
that a user can pick a directory and click a button to burn it to CD.
FreeBSD is 4.4, cdrtools is 2.0.
Here is the command I'm using to burn the CD:
output = `/usr/local/bin/mkisofs -J -r -apple --netatalk -allow-multidot
-allow-lowercase $target | /usr/local/bin/cdrecord speed=16 dev=4,0 -`
am I getting this right, you're pulling the data over the network using 
netatalk and then burning it on the freebsd server?
Try eliminating pulling it over netatalk if possible.
No.  The data is on the FreeBSD server and was put there by Netatalk (this
is their file server) and I'm burning it right off the server.
The result is a CD that works fine on FreeBSD and Windows, but on Mac OS X
it shows all the files and directorys just fine, but the data is corrupt.
It appears as though the resource fork is fine, as images have a viewable
thumbnail, but the data itself is unusable.
Have you tried mounting the iso using vnconfig and seeing if the data is 
readable that way?  On Mac OS?
No, haven't tried that.

How about making the ISO on the Mac and then burning it (on either the Mac 
machine or the FreeBSD machine.)
We're trying to avoid that.  The idea is to have the archiving done at the
server so it doesn't tie up a client machine.
Has anyone else seen this, or has any thoughts as to what I might be doing
wrong.  The biggest irritation is that it used to work just fine, and I
don't remember changing anything.
Hmm, that is a bummer.  I had weird problems when I used netatalk, but it was 
never important to me so I never tried hard to fix it.
Another thought, if you're using MacOS X, why not try NFS instead of netatalk?
It's something to try.  I think with the OS X machines they're actually connecting
through Samba now.
I have a workaround now.  If I disable all the Apple options when the disk is
burned, I end up with a pure Rockridge/Joliet CD that the Mac interprets fine.
They don't have fancy icons or resource forks, but at least the data is readable.
The client isn't up for spending any more money to research this, but I'm
interested to see what's wrong.  If anyone has any suggestions, I have a Mac
here, and I can burn CDs off FreeBSD to test things.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


  1   2   >