jails; sharing parts of file system; mounting pieces of file system in other positions, etc.

2004-01-07 Thread Chad Leigh -- Shire.Net LLC
On linux you can do a

% mount -bind olddir newdir

to remount a piece of the FS somewhere else.  The NullFS on FBSD seems 
to allow similar things.  However, as much as I could find on NullFS in 
Google seems to indicate that it is pretty much broken and shouldn't be 
used.

What I want to do is run several jails that would share the read only 
pieces of a system like / /bin /sbin /usr/bin /usr/sbin and stuff like 
that.  Each jail would have their own /etc and other places that would 
need to be different and writable.  This way I only have to update the 
system once when I upgrade and not do all my various jails one at a 
time. Of course, some things would need to be done for each jail (etc 
updates etc) but this would minimize it...

Is this a possible thing to do under FBSD?  How are others doing it?

Thanks for your input

Chad

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


would Promise SX6000 controller work under 5.1?

2004-01-07 Thread alex
Hi ppl!

I've a FreeBSD box with Promise TX2000 UATA controller and RAID0 array 
on it.
It works good.
But not long ago I've lost some importaint data because of disk failure. 
(Jesus last years HDDs are getting worse and worse)
So I decided to change for SX6000 that can handle RAID5 in IDE array but 
didn't find it in official hardware compatibility list.
I have no idea if Promise uses some kind of generic command set like 
Nvidia for TNT or GeForce and hence I need no worring or not.
So can anyone estimate if it works or not ?

Alex

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


Re: jails; sharing parts of file system; mounting pieces of file system in other positions, etc.

2004-01-07 Thread Rob
Chad Leigh asked on Wednesday January 07, 2004:



 On linux you can do a

 % mount -bind olddir newdir

 to remount a piece of the FS somewhere else.  The NullFS on FBSD seems
 to allow similar things.  However, as much as I could find on NullFS
in
 Google seems to indicate that it is pretty much broken and shouldn't
be
 used.

 What I want to do is run several jails that would share the read
only
 pieces of a system like / /bin /sbin /usr/bin /usr/sbin and stuff like
 that.  Each jail would have their own /etc and other places that would
 need to be different and writable.  This way I only have to update the
 system once when I upgrade and not do all my various jails one at a
 time. Of course, some things would need to be done for each jail (etc
 updates etc) but this would minimize it...

 Is this a possible thing to do under FBSD?  How are others doing it?

 Thanks for your input

 Chad


I'm currently setting up my 4.9-RELEASE webserver to do something
similar - each jail gets a root filesystem, but /usr is shared readonly
by all of them. The exception is /usr/local/etc, which is symlinked to
/etc/local (in the jail).

My impression, though I don't have much to back this up with, is that
nullfs is reliable enough in read-only mode. Other folks may have a
different opinion.

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


Re: growfs problem [was Re: Adding a drive in vinum]

2004-01-07 Thread Mathieu Arnold
+-Le 07/01/2004 13:30 +1030, Greg 'groggy' Lehey écrivait :
| On Tuesday,  6 January 2004 at 19:18:06 +0100, Mathieu Arnold wrote:
| Ok, I could not wait, so I did :
| a create with :
| drive vinumdrive1 device /dev/ad3e
| sd name data.p0.s1 drive vinumdrive1 len 0
| 
| then :
| attach data.p0.s1 data.p0
| 
| That worked well, I had a 115GB volume, I now have a 301GB one, I'm
| happy :)
| 
| Now, growfs, so, I launch it :
| 
| ...
| new file systemsize is: 78997019 frags
| growfs: wtfs: write error: 631976157: Inappropriate ioctl for device
| 
| Can you check the state of the volume and its plexes and subdisks?  If
| they're all OK,, can you run this with ktrace?  I'd be interested to
| see what the ioctl is.

Damn, I would have sworn all subdisks were up, but, the new one was
stale. I'm now running growfs again (and praying a bit too).
It has just borked with :

new file systemsize is: 78997019 frags
Warning: 4312 sector(s) cannot be allocated.
growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size 4096
using 417 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
with soft updates
super-block backups (for fsck -b #) at:
(...)
619847872, 621363392,growfs: wtfs: write error: 622884032: Inappropriate
ioctl for device

because of I guess :
ad3: TIMEOUT - WRITE_DMA retrying (2 retries left)
ata1: resetting devices ..
done
ad3: FAILURE - already active DMA on this device
ad3: setting up DMA failed
vinum: data.p0.s1 is stale by force
vinum: data.p0 is corrupt
fatal :data.p0.s1 write error, block 380115538 for 32768 bytes
data.p0.s1: user buffer block 621369728 for 32768 bytes

I've redone it twice, and twice it did it at the same place.
Should I guess that my disk has a problem ?

for info, here are my vinum list and printconfig
3 drives:
D vinumdrive0   State: up   /dev/ad2e   A: 0/117800 MB (0%)
D vinumdrive1   State: up   /dev/ad3e   A: 0/190782 MB (0%)

1 volumes:
V data  State: up   Plexes:   1 Size:301 GB

1 plexes:
P data.p0 C State: up   Subdisks: 2 Size:301 GB

2 subdisks:
S data.p0.s0State: up   D: vinumdrive0  Size:115 GB
S data.p0.s1State: up   D: vinumdrive1  Size:186 GB

drive vinumdrive0 device /dev/ad2e
drive vinumdrive1 device /dev/ad3e
volume data
plex name data.p0 org concat vol data
sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 241254455s
driveoffset 265s plexoffset 0s
sd name data.p0.s1 drive vinumdrive1 plex data.p0 len 390721703s
driveoffset 265s plexoffset 241254455s


One strange thing lies in the 3 drived up there where there are only 2. I'm
wondering why there is written 3.

-- 
Mathieu Arnold

pgp0.pgp
Description: PGP signature


Re: How do I read digital camera on USB port with hppsmtools?

2004-01-07 Thread Gautam Gopalakrishnan
On Tue, Jan 06, 2004 at 09:11:02AM -0500, Ken Seggerman wrote:
 Thanks for your reply.
 
   I plug the camera into the USB port, turn on the camera, it beeps and says
   it is connected to a computer.
 
  At this stage I think you could mount the camera with the /dev/da0s1
  device with msdosfs. Works for me with 5.1
 
 I added this to my /etc/fstab:
 /dev/da0s1   /camera msdos   r,notauto,longnames  0  0
 
 created a /camera directory and did MAKEDEV da0s1 but when I try to
 mount /camera:
 
 # mount /camera
 fstab: /etc/fstab:9: Inappropriate file type or format
 fstab: /etc/fstab:9: Inappropriate file type or format
 mount: /camera: unknown special file or file system
 
 when I try putting this line in /etc/fstab:
 
 /dev/usb0  /usb  msdos   rw,noauto,longnames  0 0
 and
 # mount /usb
 
 I get:
 fstab: /etc/fstab:9: Inappropriate file type or format
 msdos: /dev/usb0: Block device required

This is what works for me:
/dev/da0s1/flashmsdos   rw,noauto   0   0

I don't know if you need 'longnames', and 'noauto', not 'notauto'.
Also please make sure you have created the mount point :-)

Gautam

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


Problems after KDE upgrade with particular users only

2004-01-07 Thread Guenther Schmidt
Hi all,

I couldn't find the answer elswhere.

I upgrade to KDE 3.1.4 all fine and good in my account. No crashes no
problems.
Another user tries to run Kopete and it crashes, in my account no problem.
Could this be caused by some files/sockets that need to be erased in
that users directory after an upgrade of KDE?
Or somewhere in the /tmp?
I had this before applications doing fine in one account and not at all
in another, can't remember how I fixed it then.
Please help

Guenther

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


Re: ps: warning: /var/run/dev.db: No such file or directory

2004-01-07 Thread Rob
David Landgren asked on Wednesday January 07, 2004:



 I watched the server boot, and I saw nothing that resembled a shell
 error. Is there a way to tee the output of /etc/rc to a file, so that
I
 could scan it afterwards?


If you uncomment the 'console.info' line in /etc/syslog.conf, and touch
/var/log/console.log, you should have a copy of all console messages
next time you reboot. This appears to include the output of /etc/rc.

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


Re: jails; sharing parts of file system; mounting pieces of file system in other positions, etc.

2004-01-07 Thread Martin Brecher
Chad, Rob, -
On linux you can do a

% mount -bind olddir newdir

to remount a piece of the FS somewhere else.  The NullFS on FBSD seems
to allow similar things.  However, as much as I could find on NullFS

[...]
I'm currently setting up my 4.9-RELEASE webserver to do something
similar - each jail gets a root filesystem, but /usr is shared readonly
by all of them. The exception is /usr/local/etc, which is symlinked to
/etc/local (in the jail).
My impression, though I don't have much to back this up with, is that
nullfs is reliable enough in read-only mode. Other folks may have a
different opinion.
Personally, I use (localhost) nfs-mounts to remount parts of the file 
system somewhere else. Works quite well.

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


Re: fixit

2004-01-07 Thread Tijl Coosemans
On Tue, 6 Jan 2004 22:55:29 -0500 (EST), Peter Leftwich wrote:

 I like how you say that - a place to stand.  It's a good lead-in for
 my question: The problem is this... the fixit shell is started and it
 doesn't really show you WHAT it is technically doing.  Is it started
 in RAM(/ramdisk/) or does it mount the FreeBSD partition on the HDD? 
 Or what.

It's been a while since I've had to use it, but as far as I can remember
it has a basic directory structure in / and another one, the fixit
media, in /mnt2. Some tools and device nodes are in the first,
some in the second one.

 The problem is that root on my HDD has to be mounted before I can use
 /bin or /sbin tools - and isn't mount /sbin/mount ???

Try running fsck on the root partition before you mount it. Both fsck
and mount should be available in the fixit shell.

To mount a root filesystem on ad0s1a:

# fsck -p /mnt2/dev/ad0s1a
# mount -t ufs /mnt2/dev/ad0s1a /mnt

I hope I got all the paths right, if not, search arround a bit, they
should be there somewhere.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports confusion - are they configurable like I want?

2004-01-07 Thread August Simonelli
 hi,

 I build my apache from source and it runs wonderful on fbsd 5.1.
 Now I tried to do the same with the fbsd apache-port but I
 have no idea how to install the port with the same(exact) configuration
 arguments I used for my source build:

 ./configure --enable-layout=xyz --enable-file-cache --enable-cache
 --enable-deflate \
 --enable-proxy --enable-bucketeer --enable-module=so --with-mpm=worker \
 --enable-mods-shared=all --enable-logio --enable-ssl=shared
 --with-ssl-dir=/usr/local/ssl

 I realized the knobs an CONFIGURE_ARGS in Makefile but I still don't
 know how
 to proceed... I found many hints about this but nobody shows any
 samples.

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


Hi Zoran,

I've just asked a similar question on this list and got some great
answers; have a look at the thread here:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-January/031152.html

hope this helps,

august

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


Size of /var worries me

2004-01-07 Thread Dino Vliet
Hi there,

I've installed freebsd 4.9 and am currently busy with
installing third party apps through the ports
collection.
What worries me however is the size of my /var
directory.
Take a look at my disk geometry..
I also had to get rid of a pkg.db file in the
/var/db/pkg directory because it took a lot of space.

q1) Do I have to worry about my /vardirectory
q2) How can I get rid of files I don't need (like
XFree86.0.log..)
Other suggestions are welcome...

Brgds

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Size of /var worries me

2004-01-07 Thread Dino Vliet
Hi there,

I've installed freebsd 4.9 and am currently busy with
installing third party apps through the ports
collection.
What worries me however is the size of my /var
directory.
Take a look at my disk geometry (below)

I also had to get rid of a pkg.db file in the
/var/db/pkg directory because it took a lot of space.

q1) Do I have to worry about my /vardirectory
q2) How can I get rid of files I don't need (like
XFree86.0.log..)
Other suggestions are welcome...


Filesystem Size Used Avail Capacity Mounted on

/dev/ad0s2a 126M 35M 81M 30% /

/dev/ad0s2f 98M 10.0K 91M 0% /tmp

/dev/ad0s2g 6.6G 1.5G 4.5G 25% /usr

/dev/ad0s2e 74M 67M 978K 99% /var

procfs 4.0K 4.0K 0B 100% /proc


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of /var worries me

2004-01-07 Thread Jez Hancock
On Wed, Jan 07, 2004 at 01:38:35AM -0800, Dino Vliet wrote:
 Hi there,
 
 I've installed freebsd 4.9 and am currently busy with
 installing third party apps through the ports
 collection.
 What worries me however is the size of my /var
 directory.
You might consider symlinking /var to /usr/var perhaps - unless you have
any other spare space that you can allocate to the /var fs - 67MB is
quite small, especially if you intend to use any databases at any point
in time.

The best way to go about symlinking /var to somewhere else is to go into
single user mode at boot time (or kill all processes that use anything
under /var), move /var to /usr/var and then symlink /var to /usr/var.

This isn't really the best solution in terms of performance (although
you wouldn't notice on a low load system), but unless you have extra
free disk space you can allocate to /var or are prepared to reinstall -
allocating more space to /var in the installation - then the symlinking
option is viable.

 I also had to get rid of a pkg.db file in the
 /var/db/pkg directory because it took a lot of space.
As a note, the pkg.db file is quite important - port installations
register themselves in the /var/db/pkg/pkg.db database and this is used
to check on dependencies etc, a little bit like the windows registry is
used (only a little!).  Generally deleting files from under /var isn't
the best solution :P

 q1) Do I have to worry about my /vardirectory
Yes, FreeBSD uses the /var filesystem to log things to (/var/log), to
keep check on the state of daemons (/var/state, /var/run), to lock files
(/var/lock) and numerous other things.  Not to mention that databases
are by default installed into /var/db/mysql for example in the case of
mysql.

Generally the /var filesystem is very important for the day-to-day
running of a FreeBSD system.

 q2) How can I get rid of files I don't need (like
 XFree86.0.log..)
As mentioned above it's generally not a good idea to delete files from
/var/ on an ad-hoc basis.  A better plan:

organize a logfile rotation policy so that old logfiles are rotated out
of /var/log into a backup location which has enough space.  See the
manpage on newsyslog for info on this.

configure daemons so that they only log what is absolutely necessary for
your needs.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Size of /var worries me

2004-01-07 Thread parv
in message [EMAIL PROTECTED],
wrote Dino Vliet thusly...

 I've installed freebsd 4.9 and am currently busy with installing third
 party apps through the ports collection.  What worries me however is
 the size of my /var directory.  Take a look at my disk geometry
 (below)
 
 I also had to get rid of a pkg.db file in the /var/db/pkg directory
 because it took a lot of space.

Unless that file os part of the core pkg* facilities, you have shot your
foot.


 q2) How can I get rid of files I don't need (like
 XFree86.0.log..)
 Other suggestions are welcome...

See syslogd(8), syslog(3), syslog.conf(5)  newsyslog(8).


 Filesystem Size Used Avail Capacity Mounted on
 
 /dev/ad0s2a 126M 35M 81M 30% /
 
 /dev/ad0s2f 98M 10.0K 91M 0% /tmp
 
 /dev/ad0s2g 6.6G 1.5G 4.5G 25% /usr
 
 /dev/ad0s2e 74M 67M 978K 99% /var

How do you feel about merging /tmp w/ /var and mounting /tmp on swap
partition, that you did not list, as memory file system?

Mind that core '/usr', here, occupies ~263 MB, minus perl, sendmail,
and fortran part of the base compiler suite.  You could divide your
current '/usr' to be ~400MB slice for only core components, move
'/var' to rest of the '/usr' slice, say '/usr2'.  That will left you
w/...

  swap at least as much as RAM (/tmp on swap)
  /~100 MB
  /usr ~400 MB
  /usr2 rest MB (/var symlinked to /usr2/var)


...but that is just one way to organize.  Your pattern of usage
will/should control if /tmp can be mounted on swap, and if to keep
/var as a directory not a slice.

Some would say just to keep separate / and combine everything else,
resulting in three slices: swap, /, /usr.

Also, newfs'ing procedure might itself constrain the space allocated
to a slice.

== xx ==

Here is my current layout...

  Filesystem  1K-blocksUsed   Avail Capacity  Mounted on
  /dev/ad0s2a128990   82322   3635069%/
  /dev/ad0s2e516062  453968   2081096%/usr
  /dev/ad0s2g   3106182 2569086  28860290%/usr2
  /dev/ad0s3f984654  859182   4670095%/usr3
  /dev/ad0s3e   1753902  466558 114703229%/cdrw
  mfs:15 372846   6  343014 0%/tmp

  Device  1K-blocks UsedAvail Capacity  Type
  /dev/ad0s2b37730451740   32556414%Interleaved


...only thing that i desire(d) is/was to give / much less than 128MB,
but couldn't (during the space slicing).

That and to combine /usr2  /usr3 now.  But default inode space
allocation of 8%/slice will kill me anyway.  I really have to remember
about the newfs options next time.

Here is the holding pattern of each slice...

  /- usual stuff

  /usr - large ports -- erlang, gcc,  java -- related files besides
  core components as listed above

  /usr2 - 'home', 'local'  'X11R6', and some ports related files

  /usr3 -  'sup' tree for cvsup  ports tree.

  /cdrw - keeps 'src' tree  used for world building; works as port
  building space now that space on /usr3 is diminishing

  /tmp  - mounted on swap; rarely gets heavy use.


  - Parv

-- 

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


.bin executable

2004-01-07 Thread gffds fsdff
How would I go about executing hlds_l_1120_full.bin (STEAM) in order to 
extract it. I have also tried non-steam hlds_l_3110_full.bin with no 
success, however due to STEAM taking impact on modifications I must now use 
STEAM.

_
Expand your wine savvy — and get some great new recipes — at MSN Wine. 
http://wine.msn.com

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


Re: changing configure options when using a port

2004-01-07 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 12:52:21PM +, Matthew Seaman wrote:

 To apply these options without having to remember to type them in on
 the command line all the time, you can create a 'Makefile.inc' in the
 port directory which just contains the 'WITH_FOO=bar' variable
 assignments, or you can use portupgrade(1) and record these
 customizations in it's pkgtools.conf configuration file.

Oops. Slight correction here.  You should create 'Makefile.local'
rather than 'Makefile.inc' -- in the vast majority of cases it will
work either way, but 'Makefile.inc' is reserved for automatically
generated Makefiles produced as part of the configuration process, as
seen in eg. the net/samba port.  'Makefile.local' is guarranteed not
to be unconditionally overwritten by the internal workings of the
ports system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


raid: dell perc 4/dc support amr queries

2004-01-07 Thread colm ennis
hi,

i'm considering purchasing raid controllers bundled with some dell 1750's.

the current raid controller's offered by dell with these devices are:
perc 4/di
perc 4/dc

the perc 4/di seems to be an embedded megaraid device which is supported
by the amr driver:
http://www.freebsd.org/releases/4.9R/hardware-i386.html

i found a mail to mlist.freebsd.scsi on google which states that the perc
4/dc is a megaraid 518 series and that its been supported since version
4.7.

are both these raid controller's megaraid devices? are both supported in
recent versions of freebsd?

if so, why is the perc 4/dc not listed in the hardware list?

also, with regard to amr devices:
will all controller problems result in a syslog being generated?

is there a management utility to perform rebuilds from the os etc.?

btw do people have an opinion on the raid controller with best freebsd
support(fully functional driver/mgmt utilities)?

thanks for your help,

colm ennis

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


Re: rationale for /var/spool/mqueue permissions with 5.1R

2004-01-07 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 09:59:31PM -0500, Ed Budd wrote:

 I've been working my way through the sendmail bat book (not
 *ALWAYS* the most exciting read but informative nonetheless) and
 have come across a recommendation to ensure that /var/spool/mqueue is
 set as root-owned with mode of 0700. 
 
 However, it appears that by default the permissions on 5.1R are thus (at
 least on my two boxes):
 
 root:daemon 
 drwxr-xr-x
 
 My question is: why are these permissions set this way or, perhaps more
 to the point, what (if anything) am I likely to break if I change them
 to the recommendations in the book?

It's the same in all recent version of FreeBSD.  Having
/var/spool/mqueue as mode 755 means that anyone can use the 'mailq'
command to see how many messages are queued up.  Of course, the queue
files themselves are generated mode 600 so you need to be root in
order to get any more information out of them, like who the message is
to and why it is sitting in the queue.  Other commands like 'hoststat'
will be similarly affected.

Changing the /var/spool/mqueue directory permissions to 700 shouldn't
have any bad consequences for sendmail(8) itself though.  The same is
not true of /var/spool/clientmqueue, which has to be at least mode 770
and owned by smmsp:smmsp

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
Markus wrote:


Hello all,

I´m running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?


When you install the postfix port you are given instructions on how to
do just that. If you've already installed postfix, but missed those
instructions try cat /usr/ports/mail/postfix/pkg-messeges.


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


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:

Markus wrote:


Hello all,

I´m running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?


When you install the postfix port you are given instructions on how to
do just that. If you've already installed postfix, but missed those
instructions try cat /usr/ports/mail/postfix/pkg-messeges.


messages, not messeges, of course.


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


How to use LDAP passwd at 4.9 ?

2004-01-07 Thread Frank
Hi

I have a centralized mail server that actually use
NIS to access users's passwd, as we use a LDAP server
to authenticate all users I had to setup a YP -- LDAP
gateway to let our mail server access to the LDAP.

The YP -- LDAP software is from HPUX 11.11
but it suffers of some bugs and sometime
the NIS client on the mail server cannot contact
the pseudo NIS server that runs on YP/LDAP gateway.

The problem is the mail server runs 4.9-R that cannot
support nss_ldap and it is not possible to upgrade
to 5.xx for now due to other softwares that run
on it.

My question ( at last ... ) is there a possibility
to dump the LDAP database from the mail server 
and format it ( thru a shell script ) into 
a /etc/passwd file format , then integrate it
to the LOCAL passwd file ?

at last is it possible to modify the /etc/master.passwd
file with a shell script to add some entries in it the
modify the passwd database WITHOUT using vipw ?

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


Re: .bin executable

2004-01-07 Thread Jez Hancock
On Wed, Jan 07, 2004 at 11:03:22AM +, gffds fsdff wrote:
 How would I go about executing hlds_l_1120_full.bin (STEAM) in order to 
 extract it. I have also tried non-steam hlds_l_3110_full.bin with no 
 success, however due to STEAM taking impact on modifications I must now use 
 STEAM.
From the commandline:

sh hlds_l_1120_full.bin

Alternatively you could make the file executable:

chmod +x hlds_l_1120_full.bin

and then run it:

./hlds_l_1120_full.bin

although this depends on the shebang line (first line in the .bin file)
being set correctly to reflect the interpreter to use to execute the
file. IIRC that .bin file for hlds is just a shar archive (shell executable
archive).

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from sendmail to postfix

2004-01-07 Thread Ernst de Haan
On woensdag 7 januari 2004 13:07, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:

Nice mail client you have :-)

Ernst

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


Re: switching from sendmail to postfix

2004-01-07 Thread Bernard El-Hagin
Ernst wrote:

On woensdag 7 januari 2004 13:07, Bernard El-Hagin wrote:
 [EMAIL PROTECTED] wrote:

Nice mail client you have :-)


Unfortunately, at work (where I am right now) I have to use what they
tell me to use. I also have to do what they tell me to do, which is much
worse. ;-)


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


5.2-RC Install Issue

2004-01-07 Thread Thomas Moyer
Well the BIOS is not that old (less than 6 monthes) and as far as I know
nothing special is enabled.  I succesfully installed 5.0 and 5.1 on it
when they came out but when trying to install 5.2-RC2 it fails with
messages below.

Hi Thomas,
What's the age of the BIOS which is there on the mother board? I would
recommend update it. Also disable fancy things like BIOS memory
cacheable and memory shadowing in the BIOS

Regards
Subhro

Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas Moyer
Sent: Wednesday, January 07, 2004 8:11 AM
To: [EMAIL PROTECTED]
Subject:

When I try to boot the install CD I get a huge list of error messages
before it even gets to sysinstall.

ata2-master: WARNING - SETFEATURES recovered from missing interrupt
ata2-master: WARNING - SETFEATURES recovered from missing interrupt
ad4: WARNING - SETFEATURES recovered from missing interrupt
ad4: WARNING - SETFEATURES recovered from missing interrupt
ad4: SET_MULTI recovered from missing interrupt
acd0: WARNING - READ_BIG read data overrun 460
acd0: TIMEOUT - READ_BIG retrying (2 retries left)
ata1: resetting devices ..
acd0: WARNING - removed from configuration
acd1: WARNING - removed from configuration
done
ata1-master: FAILURE - READ_BIG device lockup/removed
ata1-master: timeout sending command=a0
ata1-master: error issuing ATA PACKET command
ata1-master: error issuing ATA PACKET command
ata1-master: error issuing ATA PACKET command

Then the computer locks up completely and I have to power it off I've
tried both with and without ACPI enabled and also tried the FTP install
but that fails as well.



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

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


Re: p5-DBD-Oracle-1.14 with 9i

2004-01-07 Thread Vitalis
Lukas Ertl wrote:

On Tue, 6 Jan 2004, Vitalis wrote:

 Should this driver also work for Oracle 9i?

 I get the following error at connection, though I don't think there is a
 real memory problem:

 DBI connect('MYBASE','mylogin',...) failed:  at ./connect.pl line 4
 ORA-01019: unable to allocate memory in the user side (DBD: login
 failed, probably a symptom of a deeper problem) at ./connect.pl line 4.

 I'm running freebsd 5.1 SMP enabled, Oracle 9i, oracle7-client-0.02,
 p5-DBI-137-1.37 and p5-DBD-Oracle-1.14, all on the same box.

Unfortunately, you can't connect to Oracle 9i with an Oracle 7 client. :-/

Hi Lukas. Thanks for your answer but this is not true =)
I finally managed to make it working.

After many tests, I figured out that the problem was with the first database
I was trying to connect to. Oracle 7 client does not seem to work with a 9i 
database with the WE8ISO8859P15 character set! With WE8ISO8859P1, it works well.

So you weren't completely wrong...


For the archiving purpose, here are the other errors I got with the 
WE8ISO8859P15 database when tracking down this issue:

Error while trying to retrieve text for error ORA-03113 (DBD: login failed) at 
./connect.pl line 4.

In the alert.log file:
ORA-07445: exception encountered: core dump [08D941EB] [SIGSEGV] [unknown code] [0x38] 
[] []
ORA-00600: internal error code, arguments: [12333], [10], [0], [115], [], [], [], []

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


Install With Serial Console Troubled Using Hyperterminal (FreeBSD 5.2 RC2 I386)

2004-01-07 Thread Sabahattin Gucukoglu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi people,

I am having real problems installing FreeBSd on a (in practice) headless 
box (which is actually a FIC 5200-CD Birch notebook with the lid closed up 
and sealed forming a nice little box with peripherals showing :-) ) using 
M$ HyperTerminal from Windblows 2000 on an accessible machine with screen 
reader (bit of software that talks, basically).  My intent, as I am 
totally blind and so cannot install FreeBSD directly from keyboard and 
screen on the laptop, was to get an install full enough done over the 
serial console that would include means that would allow me to get remote 
access to the box over the network (TelnetD/SSHD, etc) from the Windows 
machine, from whence the full power of FreeBSD could (hopefully) be 
enjoyed (this is to act as my services box), perhaps by installing 
screen/BRLTTY or YASR or other accessibility aid I can free the real 
console.  I had to spend money on a network card (PCMCIA) so Linux would 
work, but my old card is listed as working with FreeBSD (and it certainly 
doesn't work with Linux), plus FreeBSD is just more Me anyway and better 
for the job ... so I'd *really* like to run it.

Trouble is, if I follow these steps:

1.  Set up HyperTerminal, Com1 at 9600, no parity, 8 data bits, 1 stop 
bit, no hardware control.

2.  Put kern.flp from FreeBSD 5.2 RC2 in floppy drive.  Boot up until I 
hear the initial bootstrap start (what gets displayed there, BTW, and what 
is this prompt asking me for?  What is this bootstrap, the bootloader?), 
then type -h and press enter.

3.  Listen to a whole lot of messages come from the console running 
Hyperterminal.  Insert mfsroot, press enter on terminal, as expected it 
goes on.

4.  Type 1 for ANSI, press enter.  Least graphics/7-bit ASCII which is 
great.  Only thing I can't see is highlighting, but that's alright because 
initial letters work in menus.

5.  Press N, gets me the main menu.

Now, as soon as I press down arrow cursor, the Do you really want to 
exit dialog pops up.  This stopped becoming a problem when Standard Jis 
was selected as input from terminal input translation, but it doesn't look 
like the cursor keys are behaving.  Also in the usage and keymap 
selections, I couldn't use cursors or pageup/down, nothing seemed to move. 
 I don't believe my cursors are working at all, or properly.  I've tried a 
multitude of combinations of terminal types from the initial selection 
(the 1-5 prompt), and selections in Hyperterminal to match.  Nothing. :-(

I'll try testing this on earlier versions, going back to 4.9, where I have 
a nasty suspicion from what I've read somewhere that it will, in fact, 
work there.  It does without saying though that I would like to use the 
5.2 release, because of its nice features (for me the notable GCC 3, for 
starters).

Can *anyone* who might have *any* answer (apart from RTFM), please let me 
know?  (I'm not on list, so if you could CC me when you reply to list or 
vice versa - thanks)

Your help much appreciated!

Cheers,
Sabahattin
- -- 
Thought for the day:
Intuition (n): an uncanny sixth sense which tells people 
that they are right, whether they are or not.

Latest PGP Public key blocks?  Send any mail to:
[EMAIL PROTECTED]

Sabahattin Gucukoglu
Phone: +44 (0)20 7,502-1615
Mobile: +44 (0)7986 053399
http://www.sabahattin-gucukoglu.com/
Email/MSN: [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: PGP 8.0 -- QDPGP 2.70 
Comment: Previous key for [EMAIL PROTECTED] revoked due to invalidated primary 
address.

iQA/AwUBP/wKBSNEOmEWtR2TEQI7OQCgyxj+fDCvtM+VQaj58/+8US0305UAoL8Q
U02RgBf1OoFfl+LcM2IfL5cg
=Qnp3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADMtek USB To LAN Converter and HomePNA

2004-01-07 Thread Dinesh Nair

hey,

i have one of the above. it's a usb device which connects to a HomePNA
network, with a 10/100Mbps ethernet port as well as a couple of RJ11s for
the HomePNA connection.

my problem is i am unable to utilize this device to connect to the HomePNA
network. upon plugging it in, the console says:

aue0: ADMtek USB To LAN Converter, rev 1.10/1.01, addr 2
aue0: Ethernet address: 00:08:54:d0:5d:2e
miibus1: MII bus on aue0
pnaphy0: Am79c978 HomePNA PHY on miibus1
pnaphy0:  HomePNA

ifconfig aue0 response is:
aue0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:08:54:d0:5d:2e
media: Ethernet homePNA (none)

i run 'ifconfig aue0 10.1.105.26 netmask 0x media homepna' and the
device then gets to the following:

aue0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.1.105.26 netmask 0x broadcast 10.1.255.255
ether 00:08:54:d0:5d:2e
media: Ethernet homePNA
status: active

however, i am unable to ping any ip address other than the interface's
address. obviously, no firewalls (ipfw/ipchains/ipf) are being run and
this is on FreeBSD 4.9-STABLE built as of a couple of weeks back.

i've played around with disabling the ethernet PHY on the device with the
following diff to /usr/src/sys/dev/usb/if_aue.c:

--- CUT HERE ---
--- if_aue.c.orgWed Jan  7 20:02:51 2004
+++ if_aue.cWed Jan  7 21:04:06 2004
@@ -434,6 +434,28 @@
 #endif
}

+   /*
+* The Am79C978 HomePNA PHY actually contains
+* two transceivers: a 1Mbps HomePNA PHY and a
+* 10Mbps full/half duplex ethernet PHY with
+* NWAY autoneg. However, the HomePNA PHY is
+* not recognized, but the 10/100Mbps PHY is
+* though. This skips over the 10/100Mbps PHY
+* and only activates the 1Mbps HomePNA PHY
+*
+* Modified by Dinesh Nair [EMAIL PROTECTED]
+* Wed Jan  7 20:36:34 MYT 2004
+*
+*/
+   if (sc-aue_info-aue_vid == USB_VENDOR_ADMTEK 
+   sc-aue_info-aue_did == USB_PRODUCT_ADMTEK_PEGASUSII) {
+   if (phy == 1)
+   return(0);
+   }
+   /*
+* End of modifications by Dinesh Nair
+*/
+
csr_write_1(sc, AUE_PHY_ADDR, phy);
csr_write_1(sc, AUE_PHY_CTL, reg|AUE_PHYCTL_READ);
--- CUT HERE ---

but to no avail. i've discovered that the ethernet PHY is phy==1, while
the two RJ11 PHYs are 2 and 3.

the ethernet PHY works fine and dandy, and i am able to connect it to my
local switch fine. however, i need to use it for a HomePNA application,
and thus need to HomePNA portion of this to work.

any ideas from anyone who's tried something like this before with some
measure of success ? any media types or mediaopts i should be passing to
ifconfig ?

this setup is used by a broadband provider in kuala lumpur, malaysia and
to date this has been the one barrier which prevents freebsd users from
utilizing their service.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: p5-DBD-Oracle-1.14 with 9i

2004-01-07 Thread Lukas Ertl
On Wed, 7 Jan 2004, Vitalis wrote:

 Lukas Ertl wrote:
 
 Unfortunately, you can't connect to Oracle 9i with an Oracle 7 client. :-/

 Hi Lukas. Thanks for your answer but this is not true =)
 I finally managed to make it working.

This would be a real relief.

 After many tests, I figured out that the problem was with the first database
 I was trying to connect to. Oracle 7 client does not seem to work with a 9i
 database with the WE8ISO8859P15 character set! With WE8ISO8859P1, it works well.

Interesting, we might test that.

 For the archiving purpose, here are the other errors I got with the
 WE8ISO8859P15 database when tracking down this issue:

 Error while trying to retrieve text for error ORA-03113 (DBD: login failed) at 
 ./connect.pl line 4.

 In the alert.log file:
 ORA-07445: exception encountered: core dump [08D941EB] [SIGSEGV] [unknown code] 
 [0x38] [] []
 ORA-00600: internal error code, arguments: [12333], [10], [0], [115], [], [], [], []

Yes, we saw something similar here.

Thanks for the report.

regards,
le

-- 
Lukas Ertl eMail: [EMAIL PROTECTED]
UNIX Systemadministrator   Tel.:  (+43 1) 4277-14073
Vienna University Computer Center  Fax.:  (+43 1) 4277-9140
University of Vienna   http://mailbox.univie.ac.at/~le/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Plan 9 style backup utility for FreeBSD?

2004-01-07 Thread Martin Brecher
Scott Mitchell wrote:
[...]
Is there some standard tool for doing this on FreeBSD?  You can't just
do a direct copy cause this results in major disk space wastage so I'm
imagining you need to use hard links or something to keep the size down.


Check out rsync and the --link-dest=DIR option.  This will hardlink
unchanged files to the previous copy in the link-dest directory, rather
than copying the data again.
I just saw a project named rsnapshot on freshmeat.net:

rsnapshot is a filesystem snapshot utility based on rsync. It
makes it easy to make periodic snapshots of local machines, and
remote machines over ssh. It uses hard links whenever possible,
to greatly reduce the disk space required.
Homepage is http://www.rsnapshot.org/. Does not seem to be in the 
ports collection, though.

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


Re: Commercial Distribution?

2004-01-07 Thread Giorgos Keramidas
On 2004-01-06 22:39, Scott W [EMAIL PROTECTED] wrote:
 If I'm not entirely wrong (which is certainly possible) I thought
 Alan Cox of Linux kernel fame has also done some work on the BSD
 kernel(s?)?

I hope you're not confusing Alan Cox of Linux fame with our own,
different, Alan Cox who happens to work on the VM subsystem :-)

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


RE: Commercial Distribution?

2004-01-07 Thread David D.W. Downey

I think you're missing the point here. There were 2 questions asked in the
original thread. First was are there any commercial distributions and
second, are there any companies that provide a for-fee support chain.
Linux was brought up as a well known example of the types of services being
requested by the poster. He gets a Linux is a kernel not an operating
system comment instead, which while factually true, proves to the case of
missing the forest for the trees. Get him his help if you know it, otherwise
debate finer points in classrooms.

To the original poster: Just to end the Linux/FreeBSD stupidity, as these
knuckleheads have stated, yes, Linux is a kernel, however as happens in
human language, Linux has come to mean more than just the kernel, it's come
to mean the entire distribution of applications with it as well. None of the
applications will run without a kernel, nor would the kernel be much use if
there was no shell interpreter or other application. Yes, the word Linux
itself refers to the kernel, but for them to suggest to you that Linux is
not an operating system but simply a collection of software packages stuck
around a kernel is laughable at best. This is usually a sign of some
operating system here purists trying to wrangle details in a way that
somehow makes their operating system name here better than XYZ. Please
read http://www.webopedia.com/TERM/o/operating_system.html to understand
what an operating system is. An operating system IS the kernel. Any
additional software that comes with it reside in the application layer which
is NOT part of the operating system. FreeBSD is entirely no different in
that regard.

The point still remains, that if I understood your question correctly you
were wondering if there were any commercial FreeBSD distributions that also
provided technical support ranging from kernels to individual applications.
An example of the difference would be Red Hat which is a commercialized
distribution and Debian which is a GPL'd project that has no technical
support, other than it's mailing lists and IRC chat channels.

Check out this list of companies willing to provide support for the FreeBSD
distribution. Some are of higher caliber than others of course, so check
them all.

http://www.unixporting.com/freebsd-support.html

http://www.bsdmall.com/fbsdsupport.html (I'd check this one for sure)

http://www.freebsdmall.com/cgi-bin/fm/support.html (Same as abve)

http://www.freebsdsystems.com/support.html (iNet system specific)

http://www.freebsd.org/commercial/consulting.html (DEFINITELY READ THIS)

http://www.bsdsearch.com/dir/support/commercial/consulting.php (Nice list)

http://bim.bsn.com/~jhs/freebsd/consultants.html

Check these out. I have a few clients I work with that also offer technical
support on Solaris, Linux, OpenBSD, NetBSD and FreeBSD.




You name it. These are all different operating systems arround a linux
kernel. 
FreeBSD is the operating system, linux isn't. That's the whole difference.

-Harry

P.S: Lot's of tools are developed by *BSD developers and included instead of

GNU versions (ls e.g.)


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


Re: raid: dell perc 4/dc support amr queries

2004-01-07 Thread Olaf Hoyer
On Wed, 7 Jan 2004, colm ennis wrote:

 hi,

 i'm considering purchasing raid controllers bundled with some dell 1750's.

 the current raid controller's offered by dell with these devices are:
   perc 4/di
   perc 4/dc

 the perc 4/di seems to be an embedded megaraid device which is supported
 by the amr driver:
   http://www.freebsd.org/releases/4.9R/hardware-i386.html

Hi!

Well, just had these days a stock 1750 to play with for one day, and
FreeBSD 4.9-pre installed without hassle, the RAID was recognized fine.
(After it, it went to our linux guys for final deployment...)

Yes, the 4/Di is onboard on the 1U machine.

Don't know about management utils, for the 3/Di there should have been
some adaptec stuff around...

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to create .iso file image of cdrom (atapi)?

2004-01-07 Thread Lowell Gilbert
Sergey 'DoubleF' Zaharchenko [EMAIL PROTECTED] writes:

 Ah, I see, first mount the cdrom, then make an iso from its filesystem -
 then that's OK, but is seems a little of an overkill, as the cdrom
 already `contains' the iso. If created your way, the image will not
 be completely identical to the one on the cd (for example, the boot
 sectors, if any, will be missing). 

The canonical answer from the handbook is 

 Duplicating Data CDs

You can copy a data CD to a image file that is functionally
equivalent to the image file created with sysutils/mkisofs, and
you can use it to duplicate any data CD. The example given here
assumes that your CDROM device is acd0. Substitute your correct
CDROM device. A c must be appended to the end of the device name
to indicate the entire partition or, in the case of CDROMs, the
entire disc.

# dd if=/dev/acd0c of=file.iso bs=2048

Now that you have an image, you can burn it to CD as described above.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#IMAGING-CD

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Commercial Distribution?

2004-01-07 Thread David D.W. Downey
Personally I see nothing wrong with top posting since if you have any
involvement with the thread you've been reading, along with the fact that
timestamps make chronological ordering easier. However, so as to not offend
the Tikki god, or the resident Stick Wavers, I shall endeavor to bottom
post.

But, if I should slip and forget, roast me if you wish, then deal with it :)
(Anyone remember killfiles? ::grin::)

David


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


swap_pager: out of swap space -- doxygen installation fails

2004-01-07 Thread thelen
Hi list,

I suppose, that the repeated messages on ttyv0 swap_pager_getswapspace:
failed, swap_pager: out of swap space, /kernel: pid  7184 (cc1plus),
uid 0, was killed: out of swap space and the error code of the failed
compilation of doxygen c++: Internal compiler error: program cc1plus got
fatal signal 9 exactly mean, what they say. :-)

In fact, it really is a little FreeBSD 4.8 box with P1-133, 64 meg RAM and
112 meg swap space. Not the racing machine, I know. But I had FreeBSD 4.7
before that 4.8-system on the same machine and never had this error, even
regarding the same port (gdal-1.1.8). This port installs a lot of
dependencies, one is doxygen.


-

gmake -f Makefile.libdoxycfg PERL=/usr/bin/perl all
gmake[2]: Entering directory
`/usr/ports/devel/doxygen/work/doxygen-1.3.3/src'
flex -PconfigYY -t config.l config.cpp
c++ -c -O -pipe -D_THREAD_SAFE -Wall -W -I../qtools -o ../objects/config.o
confi
g.cpp
c++: Internal compiler error: program cc1plus got fatal signal 9
gmake[2]: *** [../objects/config.o] Error 1
{standard input}: Assembler messages:
{standard input}:14050: Warning: end of file not at end of a line; newline
inser
ted
gmake[2]: Leaving directory `/usr/ports/devel/doxygen/work/doxygen-1.3.3/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/doxygen/work/doxygen-1.3.3/src'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/doxygen
-





I then tried to install doxygen as package via sysinstall. That failed,
too and sysinstall tried to install an older version of doxygen (1.2.x)
than the port tree offers (1.3.3). See the follwing error message:

Add of package freetype2-2.1.3_1 aborted, error code 1 Please check the
debug screen for more info.


freetype2 ist alread installed, but version 2.1.5_1!?


So, as it is three month ago, I installed that box and never did a cvsup
again (or something else), I decided to update the ports tree. Even that
failed, too:

Checkout port/www/p5-libapreq/pkg-descr
Updater failed: Cannot install
/usr/ports/www/p5-libapreq/#cvs.cvxup-7326.13959 to
/usr/ports/www/p5-libapreq/pkg-descr: Is a directory

Well, I also made make index, but of course there are a lot of messages
that the dependency list (is) incomplete. I shouldn't have done that,
should I?


That is where I am now. Can somebody give me some advice?!

Is it really to less swap space? I really never had that before on that
machine. How do I get doxygen installed? Is my port tree now broken? How
can I fix this?


Thanks in advance and sorry for the chaos,
Benjamin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Commercial Distribution?

2004-01-07 Thread Jerry McAllister
 
 Personally I see nothing wrong with top posting since if you have any
 involvement with the thread you've been reading, along with the fact that
 timestamps make chronological ordering easier. However, so as to not offend
 the Tikki god, or the resident Stick Wavers, I shall endeavor to bottom
 post.

It has nothing to do with your mythical religious dogmas.
Top-posting is quite irritating in any situation where the 
question is at all complex - has more than one sentence.
It makes the thread more difficult to follow and tends to
lead to the thread getting lost and the discussion drifting
on to unrelated things and even flames rather thanhandling
the problem.

jerry

 
 But, if I should slip and forget, roast me if you wish, then deal with it :)
 (Anyone remember killfiles? ::grin::)
 
 David
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Cd rom device naming - thanks for helping

2004-01-07 Thread Lowell Gilbert
Craig Lloyd [EMAIL PROTECTED] writes:

 -Just an info on something I could found nowhere
 (searched the device namings section of FreeBSD handbook, 
 books, other forums..etc) 
 
 I know that IDE ATAPI cdrom drive is 
 acd - 
 acd0 = 1st IDE ATAPI cdrom 
 acd1 = 2nd IDE ATAPI cdrom 
 acd2 = 3rd IDE ATAPI cdrom 
 ..etc
 My question: why is there mention in FreeBSD manuals
 and technicals of acd0a, acd0b..etc Why that letter
 at the end (which normaly designates a partition --but 
 there's no partitions on a Cd rom!!!)
 
 OS that I have - FreeBSD 5.1

Historical reasons.  Those devices are the ones in use on 4.x.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install With Serial Console Troubled Using Hyperterminal (FreeBSD 5.2 RC2 I386)

2004-01-07 Thread Sabahattin Gucukoglu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7 Jan 2004 at 13:30, I spoke, thus:

[...]
 I'll try testing this on earlier versions, going back to 4.9, where I
 have a nasty suspicion from what I've read somewhere that it will, in
 fact, work there.  It does without saying though that I would like to
 use the 5.2 release, because of its nice features (for me the notable
 GCC 3, for starters). 

I've now done this, and - behold - it all works fine (cursors, delete key 
if you press it as backspace, pageup/pagedn) but *before* sysinstall - 
afterward, inside sysinstall, if I select the ANSI terminal option (1), it 
reverts to its previous behaviour.  It is worth noting, though, that 
hyperTerminal was set up as an ANSI terminal during the hole time!

Does this help?  Any ideas with this extra info?

Cheers,
Sabahattin
- -- 
Thought for the day:
Book (n): a utensil used to pass time while waiting
for the TV repairman.

Latest PGP Public key blocks?  Send any mail to:
[EMAIL PROTECTED]

Sabahattin Gucukoglu
Phone: +44 (0)20 7,502-1615
Mobile: +44 (0)7986 053399
http://www.sabahattin-gucukoglu.com/
Email/MSN: [EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: PGP 8.0 -- QDPGP 2.70 
Comment: Previous key for [EMAIL PROTECTED] revoked due to invalidated primary 
address.

iQA/AwUBP/wgFiNEOmEWtR2TEQILEwCgoCT2YqeJ7XlHhga5qaSvVGQq9cMAn2X+
2Q2C/BcKCihsPCVO1bOQUhuT
=YesH
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Run away CPU FreeBSD 4.9 Release #0

2004-01-07 Thread Simon1
[snip]

  Some processes run away with the CPU.  Screen is one of the worst offenders
  along with python..
  The CPU starts out at about 15% and slowly ramps up to 100%.
  As the % ramps up, the priority increases up to about 60
  If more than one screen is launched, then the will share the CPU but the
  priority still sits about 60.

[..]

 What's the actual problem?  Are important programs failing to get cycles?

I don't know the reason for the issue, but I too have had many problems
with screen. (4.8 or 4.9 box?) It works, it just uses up all the CPU
available. (Starting at 0.x percent going up to 100 percent) The fix was
to build the screen port, and the problem(s) went away.

I don't remember specifically on which releases this issue occurs, I do
know that it's been more than just a single one. I've had the same issue
on several different systems as well.

Just build screen from ports and the issue will go away. I haven't
(directly) used python before, but it's always been built from ports as a
dependency of another port. That might have something to do with it.

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


mass word find/replace

2004-01-07 Thread M.D. DeWar
I am trying to find a way to replace one word in a file
with another word, like windows wordpad find/replace.

I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh

thanks
Mark

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


Re: Commercial Distribution?

2004-01-07 Thread Shantanoo
+++ Scott W [freebsd] [06-01-04 22:39 -0500]:
| I know this one may be seen as sacrilege to some, but think about this:
| 
| 1.  *BSD uses a fairly significant amount of GNU and GPL licensed 
| (opposed to the BSD license) code in it.  gcc, Perl, XFree86, Apache, 
| GNU Make, autoconf, mysql, PostgreSQL, etc etc.  While it can be argued 
| many/most of these are not part of the core OS, what about:  gcc, 
| objective c, libreadline, cvs, diff, tar, sort, patch and friends?  
| (from /usr/src/gnu and /usr/src/usr.bin )

I think PostgreSQL is released under BSD license.
I can't find a line in tar's man page that it is GNU's tar.
Apache's testing platform is FreeBSD. So probably it is release under
BSD license. Will have to check it out though.

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


Re: Commercial Distribution?

2004-01-07 Thread Udo Schrter (Trionic Technologies)
 FreeBSD is different, because the complete OS is developed and
 managed by the project, including ports. There is basically no
 need for a distro maker, because FreeBSD _is_ the distro itself
 (call it the _canonical_ distro, because nothing prevents you
 from changing stuff and forking off a commercial version, let's
 call it non-canonical distro).

I understand basically FreeBSD has better consistency and quality because it
is a single project where everything comes together. This fits the general
feel I have experienced while working with it. I was just wondering why
Linux (+GNU stuff) got so much attention with commercial vendors while
FreeBSD might provide a better starting point instead. The question came to
me when my company was initially thinking about that customized distro, I
started wondering things like (why) are we the only ones thinking about
that?

 A Linux distro vendor basically collects components from disparate
 sources (kernel, gnu, libraries etc...) and assembles a OS. There is
 no central entity which provides an integrated view of a Linux OS, so
 there is a need for distro makers.

Hm... granted, collecting and connecting the components is one thing that is
not necessary with FreeBSD. BUT it comes across more as an operating
environment made by IT experts *for* IT experts. The reason why we wanted to
create a distro instead of just burning the ISOs from FTP was mainly
because there was a lot that needed to be done with configuration stuff in
order to become usable for our customers. (Then again, we have very special
and controlled requirements, so it was acceptable to reduce on the general
purpose side.)

When I started wondering about commercial distros for *end users* I had this
image of those friendly Linux installers in mind that enable even Windows
users to make the switch. On the other side, you might argue that FreeBSD is
not intended for this user group. But then again, why not? FreeBSD has so
far worked on any system I installed it on, it worked with any USB devices
that I could find, it has so far been a really cool experience. I cannot say
that of Linux, even the friendly distros like SuSE occasionally just crash
and reboot when I connect my USB camera. So why not...

 Ports are great, because you could even include diffs to the
 kernel (you have a custom kernel?) and misc. config and
 infrastructure files that make up the system. Turn that port
 into a package, and have the package system handle the
 transmogrification of an official FreeBSD snapshot into
 your own custom version.

 Good luck!

Thanks again for the tons of advice, that was very very kind of you!

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


Re: Commercial Distribution?

2004-01-07 Thread Larry Rosenman


--On Wednesday, January 07, 2004 19:15:37 +0530 Shantanoo 
[EMAIL PROTECTED] wrote:

+++ Scott W [freebsd] [06-01-04 22:39 -0500]:
| I know this one may be seen as sacrilege to some, but think about this:
|
| 1.  *BSD uses a fairly significant amount of GNU and GPL licensed
| (opposed to the BSD license) code in it.  gcc, Perl, XFree86, Apache,
| GNU Make, autoconf, mysql, PostgreSQL, etc etc.  While it can be argued
| many/most of these are not part of the core OS, what about:  gcc,
| objective c, libreadline, cvs, diff, tar, sort, patch and friends?
| (from /usr/src/gnu and /usr/src/usr.bin )
I think PostgreSQL is released under BSD license.
It *IS* under the BSD license, and that won't change :-) (It's an
RWAR every time it's mentioned to put it GPL).
(I spend a lot of time on the PostgreSQL lists.).


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: mass word find/replace

2004-01-07 Thread Bernard El-Hagin
Mark wrote:

I am trying to find a way to replace one word in a file
with another word, like windows wordpad find/replace.

I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh


   perl -i.bak -pe 's/pn_/nuke_/g' /input/file(s)


The old file(s) will be saved with the extension .bak.


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


Re: mass word find/replace

2004-01-07 Thread Lance E. Lott
load it up in vi

and type:

:%s/pn_/nuke_/g

Lance



At 09:21 AM 1/7/2004, you wrote:

I am trying to find a way to replace one word in a file
with another word, like windows wordpad find/replace.
I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh

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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mass word find/replace

2004-01-07 Thread Björn Andersson
sed(1) should be able do the trick.

sed -e /pn_/s//nuke_/g *

The above command should replace all pn_ to nuke_ in all files in the directory you 
run the command.

/Björn

 I am trying to find a way to replace one word in a file
 with another word, like windows wordpad find/replace.
 
 I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh
 
 thanks
 Mark
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


windows killed my boot manager

2004-01-07 Thread Dan Dan
I needed to reinstall Windows after a FreeBSD 5.x
install. I knew that I could reinstall the boot
manager from the CD. However, looking at the FAQ
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
to answer my question, the answers don't work for me:

- if I try to run bootinst from within XP, it won't
let it access the MBR

- I don't have a floppy drive. When I go through this
process on the CD, there's no (W)rite command in the
partition editor (which should actually be called a
slice editor, right?) When I exit, it asks if I want
to install the boot loader, but it doesn't do it. When
I try to commit my changes, it wants new partition
label, and asks be what packages to install

- If I try to go to the fixit shell, I can't really
get a live filesystem. At least, not from the
installation CD. I know there's another FreeBSD live
CD project out there, but it's based on 4.x, and I'm
not sure if the boot loader has changed at all,
because I can't find a version history anywhere.

So... What's the current (5.x) answer to this dilemma?

Thanks,
Dan

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: windows killed my boot manager

2004-01-07 Thread Björn Andersson
Actually had the same problem myself last week.
The write option _is_ there but it isn't showing.
Simply pressing 'w' will ask if you want to write. :-)

Best luck, Björn.
 I needed to reinstall Windows after a FreeBSD 5.x
 install. I knew that I could reinstall the boot
 manager from the CD. However, looking at the FAQ
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
 to answer my question, the answers don't work for me:
 
 - if I try to run bootinst from within XP, it won't
 let it access the MBR
 
 - I don't have a floppy drive. When I go through this
 process on the CD, there's no (W)rite command in the
 partition editor (which should actually be called a
 slice editor, right?) When I exit, it asks if I want
 to install the boot loader, but it doesn't do it. When
 I try to commit my changes, it wants new partition
 label, and asks be what packages to install
 
 - If I try to go to the fixit shell, I can't really
 get a live filesystem. At least, not from the
 installation CD. I know there's another FreeBSD live
 CD project out there, but it's based on 4.x, and I'm
 not sure if the boot loader has changed at all,
 because I can't find a version history anywhere.
 
 So... What's the current (5.x) answer to this dilemma?
 
 Thanks,
 Dan
 
 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.com/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where is my KDE?

2004-01-07 Thread Mazen S. Alzogbi
Hi,

I installed kdebase along with other packages using pkg_add but I cannot
run start-kde. Why? Where is my KDE files that I installed are located?

TIA.

Mazen

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


Re: windows killed my boot manager

2004-01-07 Thread Andrew L. Gould
On Wednesday 07 January 2004 09:35 am, Dan Dan wrote:
 I needed to reinstall Windows after a FreeBSD 5.x
 install. I knew that I could reinstall the boot
 manager from the CD. However, looking at the FAQ
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAM
AGED-BOOT-MANAGER to answer my question, the answers don't work for me:

 - if I try to run bootinst from within XP, it won't
 let it access the MBR

 - I don't have a floppy drive. When I go through this
 process on the CD, there's no (W)rite command in the
 partition editor (which should actually be called a
 slice editor, right?) When I exit, it asks if I want
 to install the boot loader, but it doesn't do it. When
 I try to commit my changes, it wants new partition
 label, and asks be what packages to install

When you use the CD, don't start a new installation.  Look for the Index 
option and select it.  A list of tasks will appear for you to choose from.  
Select Partition.  You don't need to change partitions/slices; but make 
sure you mark the BSD and Windows slices as bootable.  Do not make any other 
changes. Then click on w to commit the changes.  (w may not appear as an 
option -- use it anyway.)  You will get a warning message that w should 
only be used for existing installations, which you have -- continue.  Once 
the changes have been commited, you should see the option to install the boot 
loader.  I think installing the boot loader will work at this point.


snip

 Thanks,
 Dan

Best of luck,

Andrew Gould

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


Re: Where is my KDE?

2004-01-07 Thread Ernst de Haan
 I installed kdebase along with other packages using pkg_add but I cannot
 run start-kde. Why? Where is my KDE files that I installed are located?

Did you try 'startkde' (without the hyphen) instead of 'start-kde' ?

Ernst

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


Re: Where is my KDE?

2004-01-07 Thread Andrew L. Gould
On Wednesday 07 January 2004 09:44 am, Mazen S. Alzogbi wrote:
 Hi,

 I installed kdebase along with other packages using pkg_add but I cannot
 run start-kde. Why? Where is my KDE files that I installed are located?

 TIA.

 Mazen

There is a meta-port kde3 that will install the desktop environment.  There 
is also a comparable package on the ftp sites.

Once KDE is properly installed, enter startkde (without quotation marks) 
into ~/.xinitrc and execute startx.

I hope this helps.

Andrew Gould

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


RE: ACPI and 4.9?

2004-01-07 Thread Lord Sith
It's not

device acpi.

It is:

device acpica

_
Take advantage of our limited-time introductory offer for dial-up Internet 
access. http://join.msn.com/?page=dept/dialup

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


Re: How to create .iso file image of cdrom (atapi)?

2004-01-07 Thread Francisco Reyes
On Wed, 7 Jan 2004, Sergey 'DoubleF' Zaharchenko wrote:

 Ah, I see, first mount the cdrom, then make an iso from its filesystem -
 then that's OK, but is seems a little of an overkill, as the cdrom
 already `contains' the iso. If created your way, the image will not
 be completely identical to the one on the cd (for example, the boot
 sectors, if any, will be missing).

Yes. I mentioned that, the mkisofs approach would not be a bootable image.
Thanks for pointing out the difference. I could never figure out how to
make an ISO of a bootable CD. :-)

Other than speed is there any consideration about the buffer size?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Application compatibility

2004-01-07 Thread Lee . Sweeney
Hi guys,

I am interested in running VMWare. It is available to run on Linux as your
host operating system, however I would like to use FreeBSD as the host
operating. I was wondering since so many linux apps and utilities run on BSD
would it be possible to run VMWare also? If not what possible options would
I have if any?

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


Fwd: scsi_target driver on FreeBSD 4.7

2004-01-07 Thread Chhavi Kansal


Note: forwarded message attached.


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes---BeginMessage---

   Hi all,
   I want to write a scsi target driver to send some vendor specific
   commands to the scsi disk. For that I have modified the scsi_target.c.
   But it doesn't seems to be loading properly. I've given printf's to
   all the functions. But it doesn't printing the printf for init()
   function itself.

   Do you have any idea, if I need to add anything in the existing
   scsi_target.c available in sys/cam/scsi dir.

   How can we register a scsi driver module to the cam interface.

   Is there any document where I can look to the flow of the driver
   calls. ?

   Any pointer would be of great help ...

   regards,
   Chhavi
 _

   Do you Yahoo!?
   Yahoo! Hotjobs: [1]Enter the Signing Bonus Sweepstakes

References

   1. 
http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus
---End Message---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.7: kernel routine for open, close, ioctl

2004-01-07 Thread Chhavi Kansal


Hi all,

 I want to open a /dev file from kernel module itself. Is there any interface to 
perfrom open, close and ioctl call ?

   I know that on linux filp_open calls exist. I'm looking for the same kind of 
interface.. 

   Any pointers would be of great help.

thanx and regards,

Chhavi


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is my KDE?

2004-01-07 Thread dave
At 10:58 AM 1/7/2004, you wrote:
[EMAIL PROTECTED]
On Wednesday 07 January 2004 09:44 am, Mazen S. Alzogbi wrote:

 I installed kdebase along with other packages using pkg_add but I cannot
 run start-kde. Why? Where is my KDE files that I installed are located?

 TIA.

 Mazen
There is a meta-port kde3 that will install the desktop 
environment.  There
is also a comparable package on the ftp sites.

Once KDE is properly installed, enter startkde (without quotation marks)
into ~/.xinitrc and execute startx.

Also make sure you have an Xserver that works.
This is how I do it:
X -configure  follow directions moving XF86Config.new to /etc/X11/XF86Config
install kde3 the metaport:
cd /usr/ports/x11/kde3  make install
create file .xinitrc with startkde in it
startx with whatever options you want to startx with
I use:
startx -- -depth 24
works for me.

dave



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


RE: Where is my KDE?

2004-01-07 Thread Mazen S. Alzogbi
Thanks to all of you guys. It worked like a charm :)

Cheers,

Mazen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dave
Sent: Wednesday, January 07, 2004 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Where is my KDE?


At 10:58 AM 1/7/2004, you wrote:
[EMAIL PROTECTED]

On Wednesday 07 January 2004 09:44 am, Mazen S. Alzogbi wrote: I
installed kdebase along with other packages using pkg_add but I cannot
 run start-kde. Why? Where is my KDE files that I installed are
located? TIA. Mazen

 There is a meta-port kde3 that will install the desktop 
environment.  There
 is also a comparable package on the ftp sites.
 
 Once KDE is properly installed, enter startkde (without quotation
marks)  into ~/.xinitrc and execute startx.

Also make sure you have an Xserver that works.
This is how I do it:
X -configure  follow directions moving XF86Config.new to
/etc/X11/XF86Config install kde3 the metaport: cd /usr/ports/x11/kde3 
make install create file .xinitrc with startkde in it startx with
whatever options you want to startx with I use: startx -- -depth 24

works for me.

dave



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

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


SCSI to IDE device bridges

2004-01-07 Thread Derek Marcotte
Hello,
I've checked the H/W compatibiltity list for 4.9 for any SCSI
to IDE bridges (IDE drive to SCSI bus), and I don't see any
mention of these type of devices.  I would think that they would
be supported though, because they should just appear as HDDs.  I
plan on at least to try one out, regardless of tainting the
ever pure SCSI bus with IDE devices.  A manufacturer and model
number that I'm looking is:

http://www.acard.com/eng/

AEC-7726H
(http://www.acard.com/eng/product/scside/aec-7726h.html)

I'm just wondering if any one has had any successes/failures with
these type of devices withing FreeBSD and can share their
experiences with me.  I'm not stuck on this vendor either, it's
just to give you an idea of what I'm looking for.  (Also if
anyone knows of a bridge that can support multiple IDE drives,
that would be pretty cool too)

As a side note, they mention FreeBSD in their compatibility list
on the ARS-2000FW, and ARS-2000HW products, but do not
specifically mention it under the AEC-7726H product line, but I
think it's because they've generalized their compatibility list.

Thanks Again!
Derek

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


SCO binary compatibilkity

2004-01-07 Thread FGA
What versions of FreeBSD have the SCO binary compatibility built into 
the kernel and install by default? If they don't install by default is 
it a relatively easy task to recompile a new kernel to enable 
compatibility? I'm considering moving my extensive POS to this platform 
if somebody would be kind enough to give me these answers.

Frank Anast

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


Re: Application compatibility

2004-01-07 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

Hi guys,

I am interested in running VMWare. It is available to run on Linux as your
host operating system, however I would like to use FreeBSD as the host
operating. I was wondering since so many linux apps and utilities run on BSD
would it be possible to run VMWare also? If not what possible options would
I have if any?
Regard,
Lee Sweeney
 

I haven't tried it yet, but I'd say
you are in luck  ?!!
$cd /usr/ports
$make search key=vmware
Port:   linux-vmware-toolbox-2.0.4.1142
Path:   /usr/ports/emulators/linux-vmware-toolbox2
Info:   VMware toolbox for guest OS (for VMware 2.x, Linux version)
Maint:  [EMAIL PROTECTED]
Index:  emulators linux
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 linux_base-7.1_5 perl-5.6.1_14 
pkgconfig-0.15.0

Port:   linux-vmware-toolbox-4.0.5.6030
Path:   /usr/ports/emulators/linux-vmware-toolbox4
Info:   VMware toolbox for guest OS (for VMware 4.x, Linux version)
Maint:  [EMAIL PROTECTED]
Index:  emulators linux
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 linux_base-7.1_5 perl-5.6.1_14 
pkgconfig-0.15.0

Port:   vmware-guestd-3.1.1.1790
Path:   /usr/ports/emulators/vmware-guestd3
Info:   VMware time synchronization daemon for FreeBSD guest OS (for 
VMware 3.x)
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps: compat3x-i386-5.0.20020925
R-deps: compat3x-i386-5.0.20020925

Port:   vmware-guestd-4.0.5.6030
Path:   /usr/ports/emulators/vmware-guestd4
Info:   VMware time synchronization daemon for FreeBSD guest OS (for 
VMware 4.x)
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps:
R-deps:

Port:   vmware-tools-2.0.4.307
Path:   /usr/ports/emulators/vmware-tools2
Info:   VMware tools for guest OS (for VMware 2.x, FreeBSD version)
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0

Port:   vmware-tools-3.1.1.1790
Path:   /usr/ports/emulators/vmware-tools3
Info:   VMware tools for guest OS (for VMware 3.x, FreeBSD version)
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps: XFree86-libraries-4.3.0_6 compat3x-i386-5.0.20020925 
expat-1.95.6_1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 
perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 compat3x-i386-5.0.20020925 
expat-1.95.6_1 fontconfig-2.2.90_3 freetype2-2.1.5_1 imake-4.3.0_1 
perl-5.6.1_14 pkgconfig-0.15.0
vmware-guestd-3.1.1.1790

Port:   vmware-tools-4.0.5.6030
Path:   /usr/ports/emulators/vmware-tools4
Info:   VMware tools for guest OS (for VMware 4.x, FreeBSD version)
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0 
vmware-guestd-4.0.5.6030

Port:   vmware2-2.0.4.1142
Path:   /usr/ports/emulators/vmware2
Info:   A virtual machine emulator - a full PC in a window
Maint:  [EMAIL PROTECTED]
Index:  emulators linux
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 linux_base-7.1_5 perl-5.6.1_14 
pkgconfig-0.15.0 rtc-2002.0
3.05.2_2

Port:   vmware3-3.2.1.2242_2,1
Path:   /usr/ports/emulators/vmware3
Info:   A virtual machine emulator - a full PC in a window
Maint:  [EMAIL PROTECTED]
Index:  emulators linux
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 linux_base-7.1_5 perl-5.6.1_14 
pkgconfig-0.15.0 rtc-2002.0
3.05.2_2

Port:   vmware_xf4mod-1.0
Path:   /usr/ports/emulators/vmware_xf4mod
Info:   A XFree86 4.x driver module for VMware guests
Maint:  [EMAIL PROTECTED]
Index:  emulators
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.6_1 fontconfig-2.2.90_3 
freetype2-2.1.5_1 imake-4.3.0_1 perl-5.6.1_14 pkgconfig-0.15.0
R-deps: XFree86-4.3.0,1 XFree86-FontServer-4.3.0_2 
XFree86-Server-4.3.0_12 XFree86-clients-4.3.0_5 XFree86-documents-4.3.0 
XFree86-font100dpi-4.3.0 XFree86-fon
t75dpi-4.3.0 XFree86-fontCyrillic-4.3.0 XFree86-fontDefaultBitmaps-4.3.0 
XFree86-fontEncodings-4.3.0 XFree86-fontScalable-4.3.0 
XFree86-libraries-4.3.0_6 

Re: How to create .iso file image of cdrom (atapi)?

2004-01-07 Thread Hendrik Hasenbein
Francisco Reyes wrote:
Other than speed is there any consideration about the buffer size?
I assume you are referring to the 'bs=2048' argument to dd.
The argument 'bs=2048' sets the block size to be used for the device.
You can't use another value for cdrom drives than 2048 except you are 
able to change the blocksize on the drive. Some can be jumpered for 512 
per block, but there is no need to do that. If you use another value for 
bs the operation will fail on a cdrom drive.

Hendrik

--
Ahhh there's only 10 types of people in the world,
those who understand binary and those who don't...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: switching from sendmail to postfix

2004-01-07 Thread Andrew Boothman
Gilad Rom wrote:

Markus Espenhain wrote:

Hello all,

Im running an FreeBSD 4.9 System and from scratch is an sendmail MTA 
installed and active.

I would use postfix as my MTA.
How should I switch to postfix at best?
Has someone a suggestion?

Thank you!

Greetings from Stuttgart, Germany

Markus

Check out www.postfix.org, and http://www.freebsddiary.org/postfix.php.
Also, make sure you read through 
http://www.securitysage.com/guides/postfix_uce.html, as it contains
valueable information about spam and virus filtering.
Also, changing your MTA is documented on 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html

Andrew

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


5.2-RC2 Install Problems

2004-01-07 Thread T. Green
I am trying to install FreeBSD verison. 5.2-RC2 on  a computer from
floppy 1  2 disks with the following hardware:

motherboard-Intel  D875PBZ
chipset---Intel 875P  Canterwood
processorIntel  Pentium 4 /with FSB @ 800mhz /
Hyper-Treading/  @ 3.30 ghz
BOIS-Release Number 18
SATA---Seagate serial harddrive @ 80GB


I get the following error:
disk # 1 load ok
disk # 2 load's but stop with error  contoller ICH5   SATA 150 and
reboot itself


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


Question on port usage

2004-01-07 Thread Jason Williams
Good morning everyone.

I wanted to ask a question about ports, the makefile and customizing port 
installation.

I was reading through 'Absolute BSD' last night and was reading up on the 
section on port's. I was unaware that with ports, you can actually edit the 
makefile to add certain options at installation time. Sorta like 
./configure when you install programs from source correct?

I have been working with cyrus-imapd as im going to roll out a mail server 
here pretty soon.
Looking at the make file, I see this:

.if defined(WITH_BDB_VER)
USE_BDB_VER=${WITH_BDB_VER}
.else
USE_BDB_VER=3
.endif
.if ${USE_BDB_VER} == 41
LIB_DEPENDS+=   db41.1:${PORTSDIR}/databases/db41
.elif ${USE_BDB_VER} == 4
LIB_DEPENDS+=   db4.0:${PORTSDIR}/databases/db4
.elif ${USE_BDB_VER} == 3
LIB_DEPENDS+=   db3.3:${PORTSDIR}/databases/db3
.else
BROKEN= WITH_BDB_VER must be 3, 4 or 41
.endif
CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${USE_BDB_VER} \
--with-bdb=db${USE_BDB_VER}
.if defined(WITH_SKIPLIST)
WITH_SKIPLIST_MBOX= YES
WITH_SKIPLIST_SEEN= YES
.endif
.if defined(WITH_SKIPLIST_MBOX)
CONFIGURE_ARGS+=--with-mboxlist-db=skiplist
.endif
.if defined(WITH_SKIPLIST_SEEN)
CONFIGURE_ARGS+=--with-seen-db=skiplist
.endif
.if defined(WITH_MURDER)

(There is more, but I cut it short to get to the point)

With what is listed above, you can actually specify what and how you want 
the software built?

For instance:
make WITH_BDB_VER=41 WITH_SKIPLIST=YES WITH_MURDER install clean
Would setup cyrus-imapd with Berkeley db41, with_skiplist and with murder 
correct? Or not?

Lastly, since there are quite a few options that you can use to compile 
with most programs, is it possible to specify them somehow at the command 
line when installing through the ports tree?

I'm pretty new to ports, but I really like the idea behind it. Just looking 
for some clarification here.

I appreciate the help.

Jason

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


Disk defragmentation

2004-01-07 Thread Mazen S. Alzogbi
Hi,

How can I defragment my HDD partitions in FreeBSD?

Cheers,

Mazen

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


Re: SCO binary compatibilkity

2004-01-07 Thread Lance E. Lott
Since about version 2.2.7.  :)

Seriously... I had SCO's FoxPro 2.6 running on as early as version 2.2.7.
at that time it was a bitch, but since about 4.0 came out, it's been easier 
and easier.

I have now been running SCO's FoxPro 2.6 on FreeBSD 4.0 - 4.9 without problems.

All you have to do to turn on SCO's compatibility is to include the line

ibcs2_enable=YES in your /etc/rc.conf line and either reboot, or type:
kldload ibcs2.ko
kldload ibcs2_coff.ko
Lance



At 05:41 PM 1/6/2004, you wrote:

What versions of FreeBSD have the SCO binary compatibility built into the 
kernel and install by default? If they don't install by default is it a 
relatively easy task to recompile a new kernel to enable compatibility? 
I'm considering moving my extensive POS to this platform if somebody would 
be kind enough to give me these answers.

Frank Anast

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




---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk defragmentation

2004-01-07 Thread Jerry McAllister
 
 Hi,
 
 How can I defragment my HDD partitions in FreeBSD?

You don't need to.   The FreeBSD file systems don't have a problem
with fragmentation.If you run fsck and see the word fragments, it
means something other than in the MS world.

But, if you insist on doing it, your best bet would be to use
dump(8) to make a complete backup of the filesystem.  Then
re-newfs(8) it and then restore(8) the backup in to it.

jerry

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


Re: Commercial Distribution?

2004-01-07 Thread Lucas Holt
Apache's testing platform is FreeBSD. So probably it is release under
BSD license. Will have to check it out though.

HTTPD might be tested on FreeBSD, but not all apache projects are.  
Tomcat is tested on sun and linux system I believe.

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


Hardware requirements for firewall

2004-01-07 Thread Wayne Pascoe
Hi all,

I'm trying to place a FreeBSD firewall into our network. It needs to be
able to filter traffic for up to 50 machines using a total of up to 128
IP addresses between them.

The daily average traffic inbound is 4276.3 kb/s with today's max being
7695.0 kb/s. We do need to be able to cope with up to 30 Mb/s for
extended periods of time though (months).

The network setup will be as follows:
- 2 Cisco 36xx's connected to ISP's backbone and a 100Mb switch
- FreeBSD machine with 2 interfaces, one connected to the same switch as
  the routers and the other connected to the switch that all the servers
  are connected to
- 100Mb Switch with all hosting servers connected to it, as well as the
  second interface on the FreeBSD firewall

I want to run the firewall in bridging mode, so there will be no IP's
assigned to the ethernet interfaces of that machine, and it will be
invisible on the network. I then want to use IPFW to filter all incoming
and outgoing traffic.

The machine I have in mind for this task is as follows:
Pentium III 667 Mhz with 512MB RAM
2 x Intel EtherExpress 100Mb cards

If this is not sufficient I have the following:
Intel Xeon 2.80GHz with 2GB RAM
1 x Intel PRO/1000 Network adaptor 
1 x Intel EtherExpress Pro/100(B)

I would prefer to avoid having to use the second machine if at all
possible as this has been designated as a server, but if the first
machine listed here is not sufficient then I would have to.

Would either of these machines be able to meet my firewall requirements
? 

Regards,

-- 
Wayne Pascoe
If there's anything more important than my
ego around, I want it caught and shot now!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Disk defragmentation

2004-01-07 Thread Mazen S. Alzogbi
Yeah, I just landed from MS Planet to FreeBSD and I am NOT leaving :)

Thanks for the explanation.

Cheers,

Mazen

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 9:27 PM
To: Mazen S. Alzogbi
Cc: [EMAIL PROTECTED]
Subject: Re: Disk defragmentation


 
 Hi,
 
 How can I defragment my HDD partitions in FreeBSD?

You don't need to.   The FreeBSD file systems don't have a problem
with fragmentation.If you run fsck and see the word fragments, it
means something other than in the MS world.

But, if you insist on doing it, your best bet would be to use
dump(8) to make a complete backup of the filesystem.  Then
re-newfs(8) it and then restore(8) the backup in to it.

jerry

 
 Cheers,
 
 Mazen
 

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


KDE damaged ...

2004-01-07 Thread Mazen S. Alzogbi
Hi,

With the help of the great people here I was able to install and run
KDE3 on my FreeBSD 4.9. After that, I was trying to change the theme to
the skin-less default one which made KDE freeze for a very long time. I
forced a restart (and maybe it was me who killed KDE).

Now KDE is showing nothing but the gray background and no components on
the desktop. To be precise, it's showing the panel toolbar at the buttom
on the screen and when I try to click on it, it disappear!!!

I cannot do anything after that but to reboot the system back to the
console prompt!

Please help. Thanks

Mazen S. Alzogbi

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


IPFW confusion

2004-01-07 Thread Ben Quick
Hello all,
I've been hunting around for information on IPFW, and how to set up the 
rules I require. I found a tutorial that seemed to fit my needs: 
http://www.mostgraveconcern.com/freebsd/ipfw.html

However, I can't get the config to work. I've commented out all the deny 
rules. In this instance, I can browse the web via SQUID that's installed 
on the IPFW box. I can't browse the web directly, though. That is the 
only external access I get. I can't ping any sites, DNS lookups fail 
(I've set the DNS servers on the client workstation to be that my ISP's. 
I also tried setting it to look at the IPFW box first, with no luck)

Can anyone offer help on this one? I'm getting stuck in a muddle of 
mis-understanding

My setup is as follows

Internal LAN is 192.168.0.x
IPFW machine has 2 NIC's:
rl0: 192.168.0.10
rl1: 172.16.200.10
rl1 connects directly to my DSL router (D-Link 504) which has an 
internal IP of 172.16.200.1 along with it's public IP on the DSL port

The ruleset I'd like is as follows

For client IP's of 192.168.0.1 - 192.168.0.20 allow the following
HTTP \ HTTPS - But not directly, force them to use SQUID (Listening on 
port 8080, and using squidGuard for content filtering)
POP3 - But, only so far as pop.myisp.com
IMAP - But, only so far as imap.myisp.com
SMTP - But, only so far as smtp.myisp.com
DNS lookups - But, only with ns1.myisp.com and ns2.myisp.com
NNTP - But, only so far as news.myisp.com
FTP - To anywhere

For client IP's of 192.168.0.21 - 192.168.0.254 no access to anything 
external to the 192.168.0.x network should be granted

I'd like the IPFW box and 192.168.0.1 to be able to SSH out to anywhere.

I'd like to allow SSH inbound from a specific IP to be directed at the 
IPFW box (The port forwarding can be done with the DSL router) - SSH 
isn't currently listening on that interface, I'll get to that later :)

Does this sound like a reasonable ruleset? Is anyone willing to help me 
generate it?

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


Re: ACPI and 4.9?

2004-01-07 Thread Eric F Crist
On Wednesday 07 January 2004 10:02 am, Lord Sith wrote:
 It's not

 device acpi.


 It is:

 device acpica

Do I have to remove device apm?  Also, once I compile with device acpica, is 
there a port I have to install for acpiconf and the other configuration 
programs?

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk defragmentation

2004-01-07 Thread Kevin D. Kinsey, DaleCo, S.P.
Mazen S. Alzogbi wrote:

Hi,

How can I defragment my HDD partitions in FreeBSD?

Cheers,

Mazen

 

FBSD partitions do not need degframenting.
The native UFS does a great job of allocating
space.
Kevin Kinsey

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


Re: Question on port usage

2004-01-07 Thread Mathieu Arnold
On Wed, Jan 07, 2004 at 09:32:23AM -0800, Jason Williams wrote:
 Hi Mathieu,
 
 Thanks for your reply. I do appreciate.
 You bring up a interesting point, regarding cyrus-sasl.
 Since cyrus-sasl is a dependency of cyrus-imapd, if I wanted to add some 
 additional options to have cyrus-sasl configured with, would it be best to 
 edit the Makefile for  that port? I would imagine you could not specify it 
 on the command line since you would be at a different port.

Well, you're lucky, security/cyrus-sasl2 also has a lot of config
variables, here's the output of grep define Makefile :

.if defined(WITH_BDB_VER)
.if defined(WITH_MYSQL_VER)
.if defined(WITH_MYSQL)
.if defined(WITH_PGSQL)
.if defined(WITH_MYSQL) || defined(WITH_PGSQL)
.if defined(WITH_DEV_URANDOM)
.if defined(WITH_ALWAYSTRUE)
.if defined(WITHOUT_OTP)
.if defined(WITHOUT_CRAM)
.if defined(WITHOUT_DIGEST)
.if defined(WITHOUT_NTLM)
.if !defined(WITHOUT_GSSAPI)  defined(KRB5_HOME)  
exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
.elif !defined(WITHOUT_GSSAPI)  defined(HEIMDAL_HOME)  
exists(${HEIMDAL_HOME}/lib/libgssapi.a)
.elif !defined(WITHOUT_GSSAPI)  ( defined(MAKE_KERBEROS5) || ${OSVERSION}  500105 ) 
 exists(/usr/lib/libkrb5.a)
.if defined(WITH_KERBEROS4)
.elif exists(/usr/lib/libkrb.a)  defined(MAKE_KERBEROS4)  
!defined(WITHOUT_KERBEROS4)
.elif !exists(/usr/lib/libkrb.a)  defined(WITH_KERBEROS4)
.if !defined(NOPORTDOCS)

As you can see, it already support most of the things you may ever need,
if you plan to use sasldb, you can just make cyrus-imapd with the
options you wrote before, and you'll have cyrus-sasl2 built with the
same db version (as you can see, it's the same variables names).

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


Re: Question on port usage

2004-01-07 Thread Jez Hancock
On Wed, Jan 07, 2004 at 09:13:24AM -0800, Jason Williams wrote:
 I was reading through 'Absolute BSD' last night and was reading up on the 
 section on port's. I was unaware that with ports, you can actually edit the 
 makefile to add certain options at installation time. Sorta like 
 ./configure when you install programs from source correct?
Pretty much - the port maintainer has to decide which of the configure
options he wants to allow the port user/admin to turn on/off and then
add code to the Makefile for the port to handle the case that certain
make environment variables are set.  See below...

 I have been working with cyrus-imapd as im going to roll out a mail server 
 here pretty soon.
 Looking at the make file, I see this:
 
 .if defined(WITH_BDB_VER)
 USE_BDB_VER=${WITH_BDB_VER}
 .else
 USE_BDB_VER=3
 .endif
 .if ${USE_BDB_VER} == 41
 LIB_DEPENDS+=   db41.1:${PORTSDIR}/databases/db41
 .elif ${USE_BDB_VER} == 4
 LIB_DEPENDS+=   db4.0:${PORTSDIR}/databases/db4
 .elif ${USE_BDB_VER} == 3
 LIB_DEPENDS+=   db3.3:${PORTSDIR}/databases/db3
 .else
 BROKEN= WITH_BDB_VER must be 3, 4 or 41
 .endif
 CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${USE_BDB_VER} \
 --with-bdb=db${USE_BDB_VER}
 
 .if defined(WITH_SKIPLIST)
 WITH_SKIPLIST_MBOX= YES
 WITH_SKIPLIST_SEEN= YES
 .endif
 .if defined(WITH_SKIPLIST_MBOX)
 CONFIGURE_ARGS+=--with-mboxlist-db=skiplist
 .endif
 .if defined(WITH_SKIPLIST_SEEN)
 CONFIGURE_ARGS+=--with-seen-db=skiplist
 .endif
 
 .if defined(WITH_MURDER)
 
 
 With what is listed above, you can actually specify what and how you want 
 the software built?
 
 For instance:
 make WITH_BDB_VER=41 WITH_SKIPLIST=YES WITH_MURDER install clean
 Would setup cyrus-imapd with Berkeley db41, with_skiplist and with murder 
 correct? Or not?
Almost - you would do:

make -DWITH_BDB_VER=41 -DWITH_SKIPLIST=YES -DWITH_MURDER install clean

 Lastly, since there are quite a few options that you can use to compile 
 with most programs, is it possible to specify them somehow at the command 
 line when installing through the ports tree?
Generally you can only set options as in the above example - that's to
say the port maintainer decides which options are going to be
overridable by the end user (ie the user that's installing the port).

In most cases this is sufficient though, most of the ports contain
enough options most users will ever need - you would probably only ever
need additional options at the point you need to tweak an application to
perform better - at which point you're probably ready to modify the
FreeBSD Makefiles yourself anyway! :P

If you search through your Makefile for 'if defined', you usually get an
idea of the options that you're allowed to set - as you can see in the
Makefile snippet you pasted above the options you can set include
WITH_SKIPLIST, WITH_SKIPLIST_MBOX, WITH_SKIPLIST_SEEN and so on.

Sometimes some ports can be a real pain to remember how you last
configured them - which is where it can be useful to use the portupgrade
tool (in /usr/ports/sysutils/portupgrade).  With portupgrade you can
upgrade ports easily when new versions are released and by setting
options in /usr/local/etc/pkgtools.conf you can let portupgrade know
what make options you want used with your ports when you upgrade.

There's an article/guide I wrote about portupgrade here:

http://jez.hancock-family.com/archives/15_Portupgrade_and_usrlocaletcpkgtoolsconf.html

For more info check out the man pages for ports, which contains lots of
useful info on what 'targets' the make command takes (ie the 'clean' and
'install' in 'make clean install' are both 'targets' to the make
command).  Of course there's also the freebsd handbook section about the
ports tree.  Also useful reading is the 'bleeding edge' section of the
handbook regarding cvsup, again detailed in the handbook.

Also the freebsd-questions list is full of questions about ports and
setting options for make.  A searchable archive is here:

http://freebsd.rambler.ru/

There's loads of info there about FreeBSD ports :P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


staying 'up-to-date' questions

2004-01-07 Thread Duane Winner
Hello,

I'm suffering from some confusion regarding keeping my FreeBSD systems
up-to-date. Does anybody have any 'best practices' advice?
I've been reading three books (Complete BSD, Absolute, Unleased) as well
the handbook, but I'm still not clear about how I should manage my
up-to-date practices.

I know how to use cvsup, and have done it.
I know how to customize and install a kernel, and have done that as
well.
I know how to do a 'make buildworld/installworld' and I have also used
pkg_version -v and portupgrade.

But I'm still not sure how to be certain my system(s) are up-to-date.

I've installed 4.9-RELEASE from the .ISO image.
I just want to be certain that I have all security patches now and in
the future.

If I have *default release=cvs tag=RELEASE_4_9 in my cvsup file, will
I get all the updates I need to be secure?

How do I know when to build a new kernel? How will I know when there is
a security patch for the kernel?
If I cronjob cvsup and rebuild the kernel once a week, will I be up to
date?
How do I know if my running kernel is up-to-date?

Sorry if I'm coming off as dense here, but it's strange -- I was always
told that FreeBSD is much more difficult to master than Linux. But for
the most part, I'm finding it much easier to get my arms around. It's
just this concept of staying current that is driving me batty.

For you folks who want to maintain stable, secure FreeBSD severs, what
practices do you follow?

Thanks for any advice.

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


Re: windows killed my boot manager

2004-01-07 Thread Dany
I use Smart Boot Manager to boot my Windows and FreeBSD. If fits on the 
MBR of the first disk and allow ID swap as well as hidding.

http://btmgr.sourceforge.net/



Dan Dan wrote:

I needed to reinstall Windows after a FreeBSD 5.x
install. I knew that I could reinstall the boot
manager from the CD. However, looking at the FAQ
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/install.html#WIN95-DAMAGED-BOOT-MANAGER
to answer my question, the answers don't work for me:
- if I try to run bootinst from within XP, it won't
let it access the MBR
- I don't have a floppy drive. When I go through this
process on the CD, there's no (W)rite command in the
partition editor (which should actually be called a
slice editor, right?) When I exit, it asks if I want
to install the boot loader, but it doesn't do it. When
I try to commit my changes, it wants new partition
label, and asks be what packages to install
- If I try to go to the fixit shell, I can't really
get a live filesystem. At least, not from the
installation CD. I know there's another FreeBSD live
CD project out there, but it's based on 4.x, and I'm
not sure if the boot loader has changed at all,
because I can't find a version history anywhere.
So... What's the current (5.x) answer to this dilemma?

Thanks,
Dan
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: 5.2-RC Install Issue

2004-01-07 Thread Dan Strick
On Wednesday, January 07, Thomas Moyer (?) wrote:

 When I try to boot the install CD I get a huge list of error messages
 before it even gets to sysinstall.

 ata2-master: WARNING - SETFEATURES recovered from missing interrupt
 ata2-master: WARNING - SETFEATURES recovered from missing interrupt
 ad4: WARNING - SETFEATURES recovered from missing interrupt
   ...

 Then the computer locks up completely and I have to power it off I've
 tried both with and without ACPI enabled and also tried the FTP install
 but that fails as well.


Is ata-2 a motherboard controller?
If so, what motherboard are you using?
Do you know which cpu support chipset it uses?
Which brand of BIOS does it use?
Do you know the BIOS release number?

My experience with 5.2-RC2 is similar to yours.  I get a huge number of
similar error messages if I boot 5.2-RC2 with ACPI disabled but there
seems to be no problem if I do a normal boot.

Perhaps you should take this problem to the freebsd-current mailing
list where more people working on 5.2-RCx would see your postings.
I gather that the people who might be in a position to fix this
problem do not fully understand exactly which ata controllers have
the problem.

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


Re: Disk defragmentation

2004-01-07 Thread Jerry McAllister
 
 Yeah, I just landed from MS Planet to FreeBSD and I am NOT leaving :)
 

You mean you just escaped from MS alter-world that is striving
to disolve the real world.   Congradulations!

jerry

 Thanks for the explanation.
 
 Cheers,
 
 Mazen
 
 -Original Message-
 From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 07, 2004 9:27 PM
 To: Mazen S. Alzogbi
 Cc: [EMAIL PROTECTED]
 Subject: Re: Disk defragmentation
 
 
  
  Hi,
  
  How can I defragment my HDD partitions in FreeBSD?
 
 You don't need to.   The FreeBSD file systems don't have a problem
 with fragmentation.If you run fsck and see the word fragments, it
 means something other than in the MS world.
 
 But, if you insist on doing it, your best bet would be to use
 dump(8) to make a complete backup of the filesystem.  Then
 re-newfs(8) it and then restore(8) the backup in to it.
 
 jerry
 
  
  Cheers,
  
  Mazen
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Hardware requirements for firewall

2004-01-07 Thread Francisco
On Wed, 7 Jan 2004, Wayne Pascoe wrote:

 Pentium III 667 Mhz with 512MB RAM
 2 x Intel EtherExpress 100Mb cards

 Would either of these machines be able to meet my firewall requirements


Why not just try it?
It should be fairly simple to move from one machine to the other if need
be.

If the only thing that the box will be doing is firewall I would think the
667Mhz machine should be fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Run away CPU FreeBSD 4.9 Release #0

2004-01-07 Thread Lowell Gilbert
  What's the actual problem?  Are important programs failing to get cycles?
 
 I don't know the reason for the issue, but I too have had many problems
 with screen. (4.8 or 4.9 box?) It works, it just uses up all the CPU
 available. (Starting at 0.x percent going up to 100 percent) The fix was
 to build the screen port, and the problem(s) went away.

So, again, why is this a problem?  screen is only taking those CPU
cycles when nothing else wants them, right?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI to IDE device bridges

2004-01-07 Thread Leif Neland

- Original Message - 
From: Derek Marcotte [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 5:39 PM
Subject: SCSI to IDE device bridges


 Hello,
 I've checked the H/W compatibiltity list for 4.9 for any SCSI
 to IDE bridges (IDE drive to SCSI bus), and I don't see any
 mention of these type of devices.
...
  (Also if
 anyone knows of a bridge that can support multiple IDE drives,
 that would be pretty cool too)

http://www.acard.com/eng/product/scside/ars-2120.html

supports two drives.

http://www.acard.com/eng/product/box/aec-8001.html appearently supports 4 or
8 drives.

Leif


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


Re: Weird stuff after moving to a new MB

2004-01-07 Thread Lowell Gilbert
Gary Lum [EMAIL PROTECTED] writes:

   I had FreeBSD 5.1 installed on an older Dual 440BX
 motherboard which was current with CVS.  I replaced
 the board with a 440GX dual. Basically, I took the HD
 out of the old system and put into the new since the
 boards are pretty similar.The system is working but
 there seems to be some quirks such as the Onboard NIC
 will not pick up a connection( IT is recognized by the
 System and uses the same driver (FXP)) and the floppy
 drive will not read a floppy at anytime (At boot too).
 I've rebuilt world and kernel and still have the same
 problems.
   I'm also noticing now that after reconfiguring X, my
 mouse is chunky. To be honest, it's chunky in the
 mouse setup in /stand/sysinstall too.
 
 I'm leaning towards a flakey board but have to admit
 my naivity in that it may be due to not reinstalling
 from CD. Suggestions, comments?

The floppy is one thing -- if it won't work at boot, then FreeBSD
probably isn't related to its problems.  The NIC may be a different
issue; you could try booting from the install CD and see if it works
from there.  The mouse I'm even less sure about; it sounds like it
could be an interrupt problem, but that's a sort of vague guess.

Then again, I'm still running 4.x (5.x won't boot at all on my spare
machine, thanks to the inclusion of AGP in the default kernels)...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pkg_create switches

2004-01-07 Thread Dru

Has anyone on the list used the -i, -I, -P or -r switches with pkg_create
in a real world situation? If so, could you contact me off list?

TIA,

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


Re: Hardware requirements for firewall

2004-01-07 Thread Wayne Pascoe
On Wed, Jan 07, 2004 at 01:36:25PM +, Francisco wrote:
 On Wed, 7 Jan 2004, Wayne Pascoe wrote:
 
  Pentium III 667 Mhz with 512MB RAM
  2 x Intel EtherExpress 100Mb cards
 
  Would either of these machines be able to meet my firewall requirements
 
 
 Why not just try it?

Because it's a commercial hosting operation pushing up to 20Mb/s with
SLA's to our clients. 

My biggest fear is not that this won't work, but that it will work but
with intermittant bugs. Any performance loss will cost us money and I'm
just trying to do a bit of research before leaping in :) 

-- 
Wayne Pascoe
You cannot apply a technological solution to
a sociological problem. (Edwards' Law) 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCO binary compatibilkity

2004-01-07 Thread Dan Nelson
In the last episode (Jan 07), Lance E. Lott said:
 Since about version 2.2.7.  :)
 
 Seriously... I had SCO's FoxPro 2.6 running on as early as version
 2.2.7. at that time it was a bitch, but since about 4.0 came out,
 it's been easier and easier.
 
 I have now been running SCO's FoxPro 2.6 on FreeBSD 4.0 - 4.9 without
 problems.
 
 All you have to do to turn on SCO's compatibility is to include the
 line
 
 ibcs2_enable=YES in your /etc/rc.conf line and either reboot, or type:
 kldload ibcs2.ko
 kldload ibcs2_coff.ko

Note that this is the older 3.2v4.2 compatibility, not Openserver 5.x. 
Most SCO software people want to use is 3.2v4.2, but check just to be
sure.  We ran MicroFocus Cobol under emulation for years with no
problems.

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


Re: staying 'up-to-date' questions

2004-01-07 Thread Lowell Gilbert
Duane Winner [EMAIL PROTECTED] writes:

 How do I know when to build a new kernel? How will I know when there is
 a security patch for the kernel?
 If I cronjob cvsup and rebuild the kernel once a week, will I be up to
 date?

Well, you'll never be more than a week out of date that way.

If you're using a security branch, there no point in updating unless
there's a security advisory (http://www.freebsd.org/security/#adv),
which would  be publicized on the FreeBSD Security Notifications
mailing list (http://www.freebsd.org/security/#ml).
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI to IDE device bridges

2004-01-07 Thread Dan Nelson
In the last episode (Jan 07), Derek Marcotte said:
 I've checked the H/W compatibiltity list for 4.9 for any SCSI to IDE
 bridges (IDE drive to SCSI bus), and I don't see any mention of these
 type of devices.  I would think that they would be supported though,
 because they should just appear as HDDs.  I plan on at least to try
 one out, regardless of tainting the ever pure SCSI bus with IDE
 devices.  A manufacturer and model number that I'm looking is:

I think it should just work.  The picture has a standard SCSI
adapter, so it should look like a regular disk to your SCSI card.  I
wouldn't expect it to be in the compatibility list any more than I
would expect to see a list of supported SCSI drives :)

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


Re: Weird stuff after moving to a new MB

2004-01-07 Thread Gary Lum
Yeah, it's kinda weird with the floppy, it'll make the
noises like it's trying to start and just sit there,
Same thing with the IDE drives.
   Have tried to boot from CD as well. The FreeBSD
will start and get hung after loading uhcio (??) and
I'll have to power cycle the system. Windows 2000
install hangs when it tries to start Windows 2000.

Sigh.. and it's such a nice board otherwise



--- Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Gary Lum [EMAIL PROTECTED] writes:
 
I had FreeBSD 5.1 installed on an older Dual
 440BX
  motherboard which was current with CVS.  I
 replaced
  the board with a 440GX dual. Basically, I took the
 HD
  out of the old system and put into the new since
 the
  boards are pretty similar.The system is working
 but
  there seems to be some quirks such as the Onboard
 NIC
  will not pick up a connection( IT is recognized by
 the
  System and uses the same driver (FXP)) and the
 floppy
  drive will not read a floppy at anytime (At boot
 too).
  I've rebuilt world and kernel and still have the
 same
  problems.
I'm also noticing now that after reconfiguring
 X, my
  mouse is chunky. To be honest, it's chunky in the
  mouse setup in /stand/sysinstall too.
  
  I'm leaning towards a flakey board but have to
 admit
  my naivity in that it may be due to not
 reinstalling
  from CD. Suggestions, comments?
 
 The floppy is one thing -- if it won't work at boot,
 then FreeBSD
 probably isn't related to its problems.  The NIC may
 be a different
 issue; you could try booting from the install CD and
 see if it works
 from there.  The mouse I'm even less sure about; it
 sounds like it
 could be an interrupt problem, but that's a sort of
 vague guess.
 
 Then again, I'm still running 4.x (5.x won't boot at
 all on my spare
 machine, thanks to the inclusion of AGP in the
 default kernels)...


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCO binary compatibilkity

2004-01-07 Thread Lance E. Lott
Actually, the FoxPro 2.6 I have runs fine under SCO Openserver 5.x and 
FreeBSD 4.x.

I have it running on about 50 sites nationwide...

Lance

At 01:08 PM 1/7/2004, you wrote:

In the last episode (Jan 07), Lance E. Lott said:
 Since about version 2.2.7.  :)

 Seriously... I had SCO's FoxPro 2.6 running on as early as version
 2.2.7. at that time it was a bitch, but since about 4.0 came out,
 it's been easier and easier.

 I have now been running SCO's FoxPro 2.6 on FreeBSD 4.0 - 4.9 without
 problems.

 All you have to do to turn on SCO's compatibility is to include the
 line

 ibcs2_enable=YES in your /etc/rc.conf line and either reboot, or type:
 kldload ibcs2.ko
 kldload ibcs2_coff.ko
Note that this is the older 3.2v4.2 compatibility, not Openserver 5.x.
Most SCO software people want to use is 3.2v4.2, but check just to be
sure.  We ran MicroFocus Cobol under emulation for years with no
problems.
--
Dan Nelson
[EMAIL PROTECTED]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free X terminals for a good home!

2004-01-07 Thread J. Seth Henry
Guys/Gals,
   In another attempt to reduce my inventory of gadgets, I've decided to to a 
bit more purging. This time, it's X terminals. Yes - I do have the server 
side software for all of them, so they won't end up as doorstops.

2x IBM Netstation 1000 terminals. Nice, fast - but limited to 256 colors. They 
also require an NFS server to mount the OS, as they don't have the PCMCIA 
slot for local storage. I have given up on attempting to run NetBSD on them, 
as I am no kernel hacker. They have an unbelievable amount of RAM (64 in one, 
32 in the other), but only about 12 is required for the X server.

2x NCD Explora 451 terminals. Also nice, though not as fast as the 
Netstations. These, unfortunately, have the faulty PCI bridge chip - limiting 
them to 256 colors. Trust me on that one, I learned the hard way... At 256 
colors, though, they are quite stable. These DO have 12MB PCMCIA flash cards, 
so they don't require an NFS server.

2x NCD Explora 701 terminals. Nice, fast - and they run in 16-bit color. One 
of them is a bit finicky about booting up, but I suspect the SIMM socket just 
needs a bit of cleaning. The other works fine. Not sure why, but the X server 
has some issues with certain X apps. Specifically xmms and mozilla. The 
good one has a 12Mb PCMCIA memory card.

The NCD terminals have a copy of NCDware 5.1.140 on their flash memory cards - 
and their NFS servers are enabled (so you can mount them remotely, and muck 
with the configuration). I have the Netstation server software, which I can 
put on a CD-R, or I can make it available on an FTP server.

These terminals are great for headless servers running in closets, or for 
application servers. In fact, my primary server doesn't even have a video 
card or keyboard. It literally has only a power cord, network cable, and SCSI 
cable. I use two NCD Explora 451's (with the good PCI bridge) as displays.

As a side note, they DO support NAS audio (it's called MWM audio on the 
Explora's, but it is compatable with NAS). However, the output is EXTREMELY 
noisy. You can hear the mouse move by listening to the static...

Lastly, these are full of old EDO SIMM's. Most are 16Mb modules, but some are 
32Mb modules. However, the RAM goes with the terminals. :)

They are available for the cost of shipping them to you. (Free if you happen 
to live near Ft. Meade or Baltimore MD)

Regards,
Seth Henry

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


Re: mass word find/replace

2004-01-07 Thread Matthew Seaman
On Wed, Jan 07, 2004 at 04:30:34PM +0100, Björn Andersson wrote:
 sed(1) should be able do the trick.
 
 sed -e /pn_/s//nuke_/g *
 
 The above command should replace all pn_ to nuke_ in all files in the directory you 
 run the command.

Except that will print the result to stdout -- I suspect that the OP
would find an in-place edit more useful, like so:

   sed -i.bak -e 's/pn_/nuke_/g' filenames

(Or any of the other responses in this thread.)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ACPI and 4.9?

2004-01-07 Thread Matthew Seaman
On Wed, Jan 07, 2004 at 11:37:01AM -0600, Eric F Crist wrote:
 On Wednesday 07 January 2004 10:02 am, Lord Sith wrote:

  device acpica
 
 Do I have to remove device apm?  Also, once I compile with device acpica, is 
 there a port I have to install for acpiconf and the other configuration 
 programs?

You don't *have* to remove it from your kernel, but you might as well,
because it won't work with acpica in there.

Note too that I've found acpica can cause some other devices not to
work as well:

% grep 'could not\|cannot' /var/run/dmesg.boot
viapropm0: could not allocate bus space
fdc0: cannot reserve I/O port range

The devel/acpicatools port gets you:

% pkg_info -L acpicatools\*
Information for acpicatools-20030523.0:

Files:
/usr/local/bin/acpicadb
/usr/local/bin/iasl
/usr/local/bin/acpidump
/usr/local/man/man8/acpidump.8.gz

And that's the only acpi related port available.  I guess you need 5.x
for acpiconf(8).  There's a bunch of acpi sysctls you could play with,
but I've no idea what could be done using them.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: IPFW confusion

2004-01-07 Thread Ben Quick
Hi Subhro,
Thanks for your reply
The reason I want the server to route between the internal network and 
the router is because I only want to allow specific clients out onto the 
internet, and I can't see how to do this with the router I've got. Plus, 
it's a good excuse to try to learn something new :-)

You say it's expected that I can't ping. It's things like this that 
confuse me, due to lack of understanding on my part, I've allowed all 
traffic through. Of so I thought...

I've had a quick skim of the HOWTO, and it seems informative. But, it's 
still the IPFW rules that get me all confused

Ben

Subhro wrote:

Hi Ben,

First of all I must say you explained your requirements very well. Not many
people can precisely say what they need. Bravo!
Let's get to the point now. First of all I d don't find a good reason why
you would like to introduce your system (192.168.0.10) (Lets call it server)
to work as a router although you have a dedicated router. You can be well
off adding routes in the D-Link and be off with it. If you really want to
live with your current setup, then you must decide whether you want to go
with NAT or with transparent proxy. With your current setup, it is perfectly
all right that you can't ping any external hosts. I would recommend that you
go with NAT guarded by ipfw at the server. But you may also go with
transparent proxy as it has its own advantages. Refer to the following page:
http://www.erudition.net/freebsd/NAT-HOWTO

This has a really good tutorial on setting up NAT

Regards
Subhro
Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Quick
Sent: Wednesday, January 07, 2004 11:05 PM
To: [EMAIL PROTECTED]
Subject: IPFW confusion
Hello all,
I've been hunting around for information on IPFW, and how to set up the
rules I require. I found a tutorial that seemed to fit my needs:
http://www.mostgraveconcern.com/freebsd/ipfw.html
However, I can't get the config to work. I've commented out all the deny
rules. In this instance, I can browse the web via SQUID that's installed
on the IPFW box. I can't browse the web directly, though. That is the
only external access I get. I can't ping any sites, DNS lookups fail
(I've set the DNS servers on the client workstation to be that my ISP's.
I also tried setting it to look at the IPFW box first, with no luck)
Can anyone offer help on this one? I'm getting stuck in a muddle of
mis-understanding
My setup is as follows

Internal LAN is 192.168.0.x
IPFW machine has 2 NIC's:
rl0: 192.168.0.10
rl1: 172.16.200.10
rl1 connects directly to my DSL router (D-Link 504) which has an
internal IP of 172.16.200.1 along with it's public IP on the DSL port
The ruleset I'd like is as follows

For client IP's of 192.168.0.1 - 192.168.0.20 allow the following
HTTP \ HTTPS - But not directly, force them to use SQUID (Listening on
port 8080, and using squidGuard for content filtering)
POP3 - But, only so far as pop.myisp.com
IMAP - But, only so far as imap.myisp.com
SMTP - But, only so far as smtp.myisp.com
DNS lookups - But, only with ns1.myisp.com and ns2.myisp.com
NNTP - But, only so far as news.myisp.com
FTP - To anywhere
For client IP's of 192.168.0.21 - 192.168.0.254 no access to anything
external to the 192.168.0.x network should be granted
I'd like the IPFW box and 192.168.0.1 to be able to SSH out to anywhere.

I'd like to allow SSH inbound from a specific IP to be directed at the
IPFW box (The port forwarding can be done with the DSL router) - SSH
isn't currently listening on that interface, I'll get to that later :)
Does this sound like a reasonable ruleset? Is anyone willing to help me
generate it?
Thanks
Ben
 

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


Re: How to create .iso file image of cdrom (atapi)?

2004-01-07 Thread Scott Mitchell
On Wed, Jan 07, 2004 at 06:05:47PM +0100, Hendrik Hasenbein wrote:
 Francisco Reyes wrote:
 Other than speed is there any consideration about the buffer size?
 I assume you are referring to the 'bs=2048' argument to dd.
 The argument 'bs=2048' sets the block size to be used for the device.
 You can't use another value for cdrom drives than 2048 except you are 
 able to change the blocksize on the drive. Some can be jumpered for 512 
 per block, but there is no need to do that. If you use another value for 
 bs the operation will fail on a cdrom drive.

Well, you can use a bs value that is a multiple of 2048 (like the 64k in my
previous example).  Using a larger block size will generally speed up the
transfer, up to a point.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm doesn't allow username input

2004-01-07 Thread Mark Zytkovicz
This is a strange one.

I've just finished a massive port upgrade on 5.0-release.
I logged out of gnome (probably shouldn't have even
been there, but whatever) and it noted that the versions
of gdm were different, restart gdm or reboot.  I figure
it was as good a time as any to reboot.

Well, gdm comes up and asks for the password - no username.
Nothing I type gets me anywhere.  I can go through the
menus and enter the root password to configure the login
manager, but I never get asked to enter the username, just
the password.

I've checked google, bsdforums and current, and haven't
seen any mention of it.  I have gdm2 as of Jan5, and can't
get into a server right now to cvsup.

Any thoughts?

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


  1   2   >