Re: memory requirement

2006-01-05 Thread Giorgos Keramidas
On 2006-01-05 15:25, azri abdul majid [EMAIL PROTECTED] wrote:
 Hi there
 I am a linux user and I am very interested on trying FreeBSD.
 I just curious about one matter. Currently I have an old linux
 machine with 15GB Hdd, 64MB RAM, 266MHz Intel Celeron
 Processor. I just want to use FreeBSD for my academic
 research. Can FreeBSD running smoothly using my machine. What
 is your recommendation?.

It's not going to be blazingly fast, but yes you can run FreeBSD
on this system.  Installing some more physical memory won't hurt,
but that may not be an option with a relatively old system.

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


Re: memory requirement

2006-01-05 Thread Mark Kane
azri abdul majid wrote:
 Hi there
 
 I am a linux user and I am very interested on trying FreeBSD. I just
 curious about one matter. Currently I have an old linux machine with
 15GB Hdd, 64MB RAM, 266MHz Intel Celeron Processor. I just want to use
 FreeBSD for my academic research. Can FreeBSD running smoothly using
 my machine. What is your recommendation?.
 --
 Azri

Hi.

FreeBSD will run on that hardware just fine. I still have FreeBSD
installed on machines as slow as 166MHz/96MB RAM and they perform just
fine for lower load server applications. Keep in mind a few things though:

1) Compiling software will be quite slow. In your case, you may want to
consider using the binary packages system for installing most software
instead of compiling via ports.

2) I have not personally used X on anything less than a 500MHz machine.
You didn't say if you wanted a GUI or not, but I cannot say how that
experience would be with your hardware.

3) I recently found one of my old Cyrix 233MHz machines with 32MB RAM.
One thing that I know would help it's performance would be more RAM. It
boots and functions fine, but it does get a bit sluggish. Just make sure
to give it ample swap space and put in as much RAM as you can.

I'm not sure what type of research you were planning so I think that's
about all I can say for now.

Hope that helps.

-Mark

-- 
GnuPG Public Key:
http://www.mkproductions.org/mk_pubkey.asc

Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)


signature.asc
Description: OpenPGP digital signature


Re: memory requirement

2006-01-05 Thread Mac Mason
On Thu, Jan 05, 2006 at 03:25:37PM +0800, azri abdul majid wrote:
 I am a linux user and I am very interested on trying FreeBSD. I just
 curious about one matter. Currently I have an old linux machine with
 15GB Hdd, 64MB RAM, 266MHz Intel Celeron Processor. I just want to use
 FreeBSD for my academic research. Can FreeBSD running smoothly using
 my machine. What is your recommendation?.

I've put FreeBSD on a Pentium 200 with 32 megs of ram, and actually had
it doing some work (ftp, MySQL + phpBB, apache), but with _very light_
loads. Compiling software is going to take ages.

But it'll work just fine.

--Mac



pgpgZCLmy3hYv.pgp
Description: PGP signature


Re: Kernel Compilation...

2006-01-05 Thread Crispy Beef

Still sounds like a hardware problem. Maybe the laptop is overheating,
compiling software is always hard on a system. Also I don't think
Memtest86 will show you anything even if your ram is bad. The best way
to find out is to just change it out if you have extra somewhere or
remove part of it and/or shuffle it around.

Check for thermal issues, maybe build the kernel with the laptop in
the refrigerator or something :-). If you do something like that make
sure you don't get condensation buildup when you take it out of the
cold and into the warm... but the humidity is always low in the winter
so it shouldn't be to much of a problem.




One more thing. You said this was an older laptop (400ish MHz) right?
If so you better double check that ACPI is working and that the
thermal trip points are set correctly. I had a major problem with an
Armada 1750 ([EMAIL PROTECTED] i440BX) in that ACPI was totally broken.
FreeBSD 5.x would never trip the fans on. The system hit would 100C
(212F) and then FreeBSD would auto shutdown the system. I sold the
laptop after I found that out and bought a better one, an Omnibook
6000 ([EMAIL PROTECTED] with 440BX). I still had major problems with ACPI so
I decide to just install SuSE 9.3 Pro on it. SuSE worked perfect.


466MHz P2 Celeron with 128Mb RAM on an i440BX mobo.  The system won't boot 
unless it's with ACPI enabled, just panics during start-up.




FreeBSD's ACPI implementation and laptops with i440BX/MX or earlier
chipsets don't mix well. sysctl will help you with the thermal
settings and http://acpi.sourceforge.net/ will help if you need a new
DSDT. this will help some too:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html


Actually thinking about it now I've got this system running you could be 
right, since then I've had to get my PCMCIA network card running properly, 
whenever it gets plugged in the kernel panics, did some research and found 
that by putting debug.acpi.disabled=sysresource into the /boot/loader.conf 
file that it works just fine, so as you say there definitely seems to be some 
issues with ACPI.


You can hear the CPU fan wind up and down while the system is running, that's 
something I don't remember from having Gentoo compiling...that always worked 
just fine, so it could well be a heat issue.  The chipset on the laptop is an 
Intel i440BX jobbie.


Will look into the thermal thing now, cheers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Compilation...

2006-01-05 Thread Crispy Beef

Robert Huff wrote:

Nikolas Britton writes:



Still sounds like a hardware problem.



Maybe not.
A couple of years back - in the early days of 4.x - I had a
problem which I /think/ manifested in the manner originally
described.
It turned out to be the script I'd set up to automate this
process - an unnecessary make depends IIRC.  It was the same error
every time, but the exact location changed.  Drove me up the wall.
Unless you (generic) really really really know what you're
doing, follow the steps in the Handbook.  They're tested, and they
work.  Including reading /ysr/src/UPDATING.


I've not really done anything special with scripts, just altered make.conf the 
one time to include a few compiler options (-O2 -march=pentium2 -pipe).


The kernel has now compiled a few times with and without the above options.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


print to fax

2006-01-05 Thread arden
Hi all 

my project at home last month was a print server its now running

leading on from this ive been given an external modem im looking to add this to 
the 

print server and add a fax service 

google just turns up fax numbers of bsd vendors 

just wondered it anyone had any pointers as to where to look 

thanks 

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


Re: print to fax

2006-01-05 Thread Foo Ji-Haw
Try HylaFAX. It's free.

- Original Message - 
From: arden [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, January 05, 2006 5:33 PM
Subject: print to fax


 Hi all

 my project at home last month was a print server its now running

 leading on from this ive been given an external modem im looking to add
this to the

 print server and add a fax service

 google just turns up fax numbers of bsd vendors

 just wondered it anyone had any pointers as to where to look

 thanks

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

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


Re: how can I find out which md device I just used ? (mdconfig)

2006-01-05 Thread Malcolm Kay
On Thu, 5 Jan 2006 04:54 pm, user wrote:
 On Thu, 5 Jan 2006, Malcolm Kay wrote:
  On my system (5.4) mdconfig reports the created device to
  stdout: So:
  memdevice=`mdconfig -a -t malloc -s10M`
  sets the device name in $memdevice.

 Thank you very much - I have just verified that this works the
 same way on FreeBSD 6.0.  I appreciate your help.

 I am curious, I am doing two things at one here - setting the
 variable _and_ configging the md device.  What is the best
 way, in a shell script, to also test to make sure that the
 device configured properly ?

 If the device does not configure properly, all I see is that I
 get a empty variable ... would it be appropriate to `text -z`
 that variable to see if it is zero ?  Or is there a better way
 to approach that ?

I imagine that like most unix utilities it returns status 0 on 
success and non-zero on failure.
So imediately after:
memdevice=`mdconfig -a -t malloc -s10M`
Use:
if [ $? -ne 0 ] 
then
  echo mdconfig failed
  exit 1
fi

Malcolm Kay

 Basically I do not want to act unless I am sure that the
 mdconfig actually happened, and there really is a variable
 defined...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot build linux-gtk2 for FreeBSD 6.0 ...

2006-01-05 Thread Kiffin Gish
I am trying to build the latest linux-gtk2 for FreeBSD 6.0 but it fails
for some reason:

# pkg_add -r linux-gtk2
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/linux-gtk2.tbz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/linux-gtk2.tbz'
 by URL

# cd /usr/ports/x11-toolkits/linux-gtk2
# make install clean
===  Extracting for linux-gtk2-2.4.14_2
= MD5 Checksum mismatch for rpm/gtk2-2.4.14-4.fc3.i386.rpm.
= SHA256 Checksum mismatch for rpm/gtk2-2.4.14-4.fc3.i386.rpm.
===  Refetch for 1 more times files: rpm/gtk2-2.4.14-4.fc3.i386.rpm
rpm/gtk2-2.4.14-4.fc3.i386.rpm 
= gtk2-2.4.14-4.fc3.i386.rpm doesn't seem to exist
in /usr/ports/distfiles/rpm.
= Attempting to fetch from
ftp://limestone.uoregon.edu/fedora/updates/3/i386/.
fetch:
ftp://limestone.uoregon.edu/fedora/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm: 
File unavailable (e.g., file not found, no access)
= Attempting to fetch from
http://mirrors.kernel.org/fedora/core/updates/3/i386/.
fetch:
http://mirrors.kernel.org/fedora/core/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm:
 Not Found
= Attempting to fetch from
ftp://mirrors.kernel.org/fedora/core/updates/3/i386/.
fetch:
ftp://mirrors.kernel.org/fedora/core/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm: 
File unavailable (e.g., file not found, no access)
...

Any ideas what's going wrong?

-- 
Kiffin Gish [EMAIL PROTECTED]

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


Re: Cannot build linux-gtk2 for FreeBSD 6.0 ...

2006-01-05 Thread Riemer Palstra
On Thu, Jan 05, 2006 at 01:06:16PM +0100, Kiffin Gish wrote:
 = Attempting to fetch from
 ftp://limestone.uoregon.edu/fedora/updates/3/i386/.
 fetch:
 ftp://limestone.uoregon.edu/fedora/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm: 
 File unavailable (e.g., file not found, no access)
 = Attempting to fetch from
 http://mirrors.kernel.org/fedora/core/updates/3/i386/.
 fetch:
 http://mirrors.kernel.org/fedora/core/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm:
  Not Found
 = Attempting to fetch from
 ftp://mirrors.kernel.org/fedora/core/updates/3/i386/.
 fetch:
 ftp://mirrors.kernel.org/fedora/core/updates/3/i386/gtk2-2.4.14-4.fc3.i386.rpm:
  File unavailable (e.g., file not found, no access)

Having a quick glance over those links, there seems to be no such file,
only gtk2-2.4.14-4.fc3.3.i386.rpm (note the 3, afaik that's indeed the
way Fedora name their RPMs). I'm not sure if there used to be such a
file named as above, or this is just a type or oversight from the port
maintainer... As a quick fix, try downloading the available gtk2, rename
it and put it in /usr/ports/distfiles (you may even have to disable
CHECKSUM as it might not match).

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mapping [process|socket|...] to Filesystem

2006-01-05 Thread Richard Kästner
On Thursday 05 January 2006 12:12, Oliver Fromme wrote:

 Lou Kamenov [EMAIL PROTECTED] wrote:
   On 04/01/06, Oliver Fromme [EMAIL PROTECTED] wrote:
   [..]
  
It would be much easier to use HTTP instead of (ab)using
file system operations.  Just install an Apache web server
on your server machine and write a small CGI.  The Windows
clients can simply use a web browser to upload their data
to your CGI.  Then your CGI does whatever is necessary to
communicate with your black box, and sends the result back
to the client's web browser.
  
   representing different resources as files is not a new concept.. but
   rather an old one.  look at plan 9.

 Right.  Or look at devfs, procfs, fdescfs, portalfs etc.

 However, being able to represent resources or information
 via the file system does not necessarily mean that it is
 a particularly good idea to do so.  For example, I think
 that procfs does not really make much sense.  Especially
 Linux' procfs is a bad example of cramming too many things
 into the file system which do not belong there; it's just
 a big mess.  It might be cool, it might be easy to do,
 so lets do it, but it's horribly inefficient and does not
 make sense.

 Another important point is the common guideline that as few
 things as possible should be implemented in the kernel.
 The kernel should provide interfaces to the hardware and
 to essential kernel facilities, but everything else should
 happen in userland.  Richard is trying to implement a
 rather simple client-server mechanism to access a certain
 device on a server machine (I assume that there is already
 a driver for that device).  There is no sane reason to do
 that on file system level.  Handling it in userland is much
 more robust, easier to recover in case of problems, and
 easier to debug.

Again, it was one of my original questions: 'is my idea simply stupid ?'

And, yes, the communication via http is already working - nothing great.
It was simply the idea to go one step further: wrap some of functions into 
kind of 'file-transfer' from the client's point of view.

The idea (to me) still is tempting - but I will look at samba-vfs modules, 
possibly also fuse - which are clearly in userland.
(I fully agree with the common guideline: as few as possible in kernel !)

regards

Richard

-- 
Mit freundlichen Grüßen

Richard Kästner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..



[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


Thanks in advance,


--
-Frank Staals


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


FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Jean-Baptiste Potonnier
I'm a new FreeBSD user, just tested it on an old i386, and want to 
switch from Slackware linux to FreeBSD or NetBSD.
I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # 
1 boots, but a message tells me that no kernel can be loaded.
I get a command line wit boot, ls, 'load', etc. I tried some command 
to load a kernel but it didn't work.


I don't know if can install FreeBSD on this hardware with this CDROM.

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


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef


Jean-Baptiste Potonnier wrote:
I'm a new FreeBSD user, just tested it on an old i386, and want to 
switch from Slackware linux to FreeBSD or NetBSD.
I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # 
1 boots, but a message tells me that no kernel can be loaded.
I get a command line wit boot, ls, 'load', etc. I tried some command 
to load a kernel but it didn't work.


I don't know if can install FreeBSD on this hardware with this CDROM.


I would think you'll need to download the AMD64 ISO from here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/

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


RE: Serial Port Logging

2006-01-05 Thread Paul Hamilton
You might want to check out the minicom port:   ports/comms/minicom/

 
 
Regards,
 
Paul Hamilton
Busselton, 6280
Australia


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Thursday, 5 January 2006 10:17 AM
 To: freebsd-questions@freebsd.org
 Subject: Serial Port Logging
 
 
 Ladies and Gentlemen,
 
 The organization I work for has a need to log information 
 from the phone system.  The phone system has a serial port output.
 
 Since I already have a FreeBSD server in place at this 
 location, I was wondering if it is possible to send the 
 information from the phone system, to the FreeBSD server, 
 have the information saved via the serial port?
 
 I'm thinking something like cu -l /dev/cuua0  outputfile.txt
 
 Thanks,
 
 
 Jay
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

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


Re: make targets, was: Running qmail

2006-01-05 Thread JD Arnold

Michael P. Soulier wrote:

On 12/18/05, Shantanoo Mahajan [EMAIL PROTECTED] wrote:

Daemontools can be found out by:

cd /usr/ports  make search name=daemontools


Where are these make options in ports documented? I'd like to know all
of the options available in ports. I usually just cd /usr/ports  ls
-d */*daemontools*


1] There is a script for searching the ports too.  Check out 
/usr/ports/Tools/scripts
for the portsearch script, and it's man page, README.portsearch. Plenty of 
search options
in there.

2] I normally just use the freebsd.org ports web page to search for a port. It 
has the
best interface.

3] I talk about the ports Makefile here: 


http://freebsd.amazingdev.com/blog/archives/000140.html


A target that tells me what a port has in the way of options would be nice too.


For that, you just need to read the Makefile in the port folder.  It's usually 
pretty
self explanatory.  


--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


GTK2 build - error loading libXinerama.so.1 ...

2006-01-05 Thread Kiffin Gish
Tried to build gtk2 on FreeBSD 6.0 but get the following error:

# cd /usr/ports/x11-toolkits/linux-gtk2
# make install clean
...
===  Installing for linux-gtk2-2.4.14_3
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libglib-2.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libatk-1.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libjpeg.so.62 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libpng12.so.0 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libtiff.so.3 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/lib/libpango-1.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/etc/redhat-release - found
===   linux-gtk2-2.4.14_3 depends on
file: /compat/linux/usr/X11R6/lib/libXrender.so.1 - found
===   Generating temporary packing list
===  Checking if x11-toolkits/linux-gtk2 already installed
gtk2-2.4.14-4.fc3.3.i386.rpm
/usr/bin/gtk-query-immodules-2.0-32: error while loading shared
libraries: libXinerama.so.1: cannot open shared object file: No such
file or directory
*** Error code 127

Any ideas what's going wrong?

-- 
Kiffin Gish [EMAIL PROTECTED]

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


Re: Setting up a FreeBSD gateway

2006-01-05 Thread Teo De Las Heras
Thanks for the information!  I'm getting ready to set up BIND for the first
time and this will be very useful.

Teo


On 1/4/06, Reko Turja [EMAIL PROTECTED] wrote:


 - Original Message -
 From: Brian Bobowski [EMAIL PROTECTED]
 To: FreeBSD User Questions List freebsd-questions@freebsd.org
 Sent: Wednesday, January 04, 2006 7:44 PM
 Subject: Setting up a FreeBSD gateway

  However, I don't know how to set up DNS. Specifically, I want to
  either pass all DNS requests through the gateway, or have the gateway
  run a local DNS that queries my ISP's DNS in turn. Can anyone point me
  to some steps on how to set that up?

 If you're going to use BIND (which I recommend and which is included in
 the system) check at least the following parameters in named.conf:

 listen-on
 - set this to your internal IP
 forwarders
 - if you dont want to fetch every single record from the official DNS's
 and want to utilize your providers DNS cache, set this variable to point
 on your ISP's DNS servers.
 forward-only
 as you're going to have your own domain records set up be sure this is
 commented out.

 Basically BIND with this kind of configuration will forward queries to
 master or forwarder servers unless it has the master record itself or
 there is cached record, which is still valid.

 defining the localhost:
 If the machine names are set up right in your fbsd installation,
 easiest is to use the make-localhost in the /etc/namedb directory.

 Then you forward zone file for your domain as well as reverse zones
 for the ip-ranges in use. My files are:

 master/mydomain.org file:

 $TTL 3600
 @   IN  SOA xxx.xxx.org. root.xxx.org. (
 ; we define authority as well as the base domain (first xxx.org and
 ; the administrative contact - as bind has other uses for . the mail
 ; address is notes with dot between domain and username.
2005111301  ;serial
 ; good idea is to use the shown date notation, and ALWAYS bump the
 serial whatever
 ;you do to the zone files)
86400   ;refresh 24h
7200;retry 2h
192200  ;expire 2d
86400)  ;minimum 24h

IN  NS  moria.endor.swagman.org.
 ; we define name servers for the zone only one is usually needed for
 private dns use.
IN  MX  5   moria.endor.swagman.org.
 ; I define mail handler server just in case...
 moria   IN  A   192.168.10.1
 rivendell   IN  A   192.168.10.10
 lorien  IN  A   192.168.10.11
 muppet  IN  A   192.168.10.20
 ;and then add my workstations

 As the main forward zone is now set up, we need the reverse zones as
 well.

 My reverse zone for above setup is (master/rev.mydomain.org):
 $TTL 1d
 @   IN  SOA xxx.xxx.org.  root.swagman.org. (
2005111301  ;serial
1d  ;refresh
2h  ;retry
20d ;expire
2h );neg cache

IN  NS  moria.endor.swagman.org.

 1   IN  PTR moria.endor.swagman.org.
 10  IN  PTR rivendell.endor.swagman.org.
 11  IN  PTR lorien.endor.swagman.org.
 20  IN  PTR muppet.endor.swagman.org.


 With BIND the dots after the names are important, otherwise the names
 end up as name.my.domain.my.domain which usually isn't what you want :)

 After the zones are set up you can add them to named.conf as follows:

 zone xxx.xxx.org {
type master;
file master/mydomain.org;
 };

 zone 10.168.192.in-addr.arpa {
type master;
file master/rev.mydomain.org;
 };


 In the above note the naming of reverse zone. To get correct resolution
 of reverse names you need to name your zone with similar formatting.

 Hope this helps a bit (although I recommend getting Bind handbook
 8available from ISC as pdf, or some of the basic BSD books like Greg
 Lehey's, Or Michael Lucas's books on Freebsd - both have a good chapter
 on DNS setup with BIND. Of course nothing beats the O'Reilly Cricket
 book.)

 -Reko

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

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


Can someone please repost the fix for installing OpenOffice on FreeBSD 6.0

2006-01-05 Thread Tim Greening-Jackson
Hello there. I am trying to install Open Office on my new FreeBSD
workstation, and have downloaded the appropriate BZ2 file from
OpenOffice.org and unzipped it. 

Now when I ask pkg_add to add it I get the following:

  tordella# pkg_add OOo_SRC680_m146_FreeBSD60Intel_install_en-GB.tar
  pkg_add: could not find package openssl-beta-0.9.8a !

I recall exactly this topic being discussed on this list a few weeks
ago, but have long-since deleted the solution (IIRC, it involved some
way of forcing pkg_add to use a version of openssl other than beta
0.9.8a. Please can someone forward the original reply or otherwise
enlighten me.

Many thanks.

Tim.


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


FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Jean-Baptiste Potonnier



Jean-Baptiste Potonnier wrote:
/ I'm a new FreeBSD user, just tested it on an old i386, and want to 

// switch from Slackware linux to FreeBSD or NetBSD.
// I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 cdrom # 
// 1 boots, but a message tells me that no kernel can be loaded.
// I get a command line wit boot, ls, 'load', etc. I tried some command 
// to load a kernel but it didn't work.
// 
// I don't know if can install FreeBSD on this hardware with this CDROM.

/
I would think you'll need to download the AMD64 ISO from here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/

--
Paul



I Tried with these iso.

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


Re: Problem burning/mounting cd-rom

2006-01-05 Thread Leonidas Tsampros
On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:
 Hey,
 
 I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
 can burn cds and read DVD's and cd's. But when I tried to burn and mount 
 a datadisk this happend:
 
 [EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
 24.61% done, estimate finish Thu Jan  5 13:37:10 2006
 49.25% done, estimate finish Thu Jan  5 13:37:10 2006
 73.82% done, estimate finish Thu Jan  5 13:37:10 2006
 98.49% done, estimate finish Thu Jan  5 13:37:10 2006
 Total translation table size: 0
 Total rockridge attributes bytes: 0
 Total directory bytes: 0
 Path table size(bytes): 10
 Max brk space used 8724
 20320 extents written (39 MB)
 [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
 next writeable LBA 0
 writing from file tmp1.iso size 40640 KB
 written this track 40640 KB (100%) total 40640 KB
 fixating CD, please wait..
 
 
 [EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
 could not determine starting sector, using very first session
 mount_cd9660: /dev/acd0: Input/output error
 [EMAIL PROTECTED]
 
 I'm using a Philips CD-RW which I cleaned before use with:
 
 [EMAIL PROTECTED] burncd -f /dev/acd0 erase
 erasing CD - 99 % done
 
 I tried searching what I could do about it, but I couldn't realy find 
 something usefull. It seems that something goes wrong with burning the 
 CD I guess ( looking at the output when trying to mount it ) but I'm not 
 sure what I do wrong. Everything worked fine up until today. I hope 
 someone can point out what I can do about it.
 
 Thanks in advance,
 

The overall process seems to ended quite succesfully. Just try to
eject the cd before mounting the fresh cd that you burned. I had
similar issues very recently and this was the solution for me. 

If you are bored to death, try these:

# burncd -f /dev/acd0 (blabla)
 (wait to finish)

# cdcontrol -f /dev/acd0 eject
# cdcontrol -f /dev/acd0 close
# mount_cd9660 -v /dev/acd0 /mnt/dvd

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


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef

Jean-Baptiste Potonnier wrote:



Jean-Baptiste Potonnier wrote:

/ I'm a new FreeBSD user, just tested it on an old i386, and want to 


// switch from Slackware linux to FreeBSD or NetBSD.
// I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 
cdrom # // 1 boots, but a message tells me that no kernel can be loaded.
// I get a command line wit boot, ls, 'load', etc. I tried some 
command // to load a kernel but it didn't work.
// // I don't know if can install FreeBSD on this hardware with this 
CDROM.

/
I would think you'll need to download the AMD64 ISO from here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/

--
Paul



I Tried with these iso.



I have the SN85G4 Shuttle as my main system here, it's currently running Linux 
, but I have the AMD64 CD here sonmewhere, will see if it can boot at all.


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


Asterisk on fbsd 5.4

2006-01-05 Thread Richard Klingler

Hello...

Still trying to resolve some crash issues and unknown
log messages on asterisk-1.0.8 from fbsd 5.4 ports..

What versions are other people using here?

- Better to move to fbsd 6.0?
- compile latest asterisk-1.2.1 from sources?


I'm getting shitloads of:

Jan  5 15:47:43 WARNING[72778]: chan_sip.c:4972 register_verify: Failed 
to parse contact info
Jan  5 15:47:48 NOTICE[72778]: chan_sip.c:4511 parse_contact: '' is not 
a valid SIP contact (missing sip:) trying to use anyway
Jan  5 15:47:48 WARNING[72778]: chan_sip.c:4540 parse_contact: Invalid 
host ''
Jan  5 15:47:48 WARNING[72778]: chan_sip.c:4972 register_verify: Failed 
to parse contact info



and asterisk also crashes silencly when receiving a fax without
any log messages...after restarting fax reception is okay...


thanx in advance
rick


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


Re: Problem burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Leonidas Tsampros wrote:


On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:
 


Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..


[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


Thanks in advance,

   



The overall process seems to ended quite succesfully. Just try to
eject the cd before mounting the fresh cd that you burned. I had
similar issues very recently and this was the solution for me. 


If you are bored to death, try these:

# burncd -f /dev/acd0 (blabla)
(wait to finish)

# cdcontrol -f /dev/acd0 eject
# cdcontrol -f /dev/acd0 close
# mount_cd9660 -v /dev/acd0 /mnt/dvd


 


Hmm I got a little bit further indeed, but it still won't mount

burned the cd

[EMAIL PROTECTED] cdcontrol -f /dev/acd0 eject

manually pushed the cd-drive back ( since it is a laptop ) 

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]



--
-Frank Staals


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


Re: RTL8201BL PHY Gigabit ethernet

2006-01-05 Thread Lowell Gilbert
Mervin McDougall [EMAIL PROTECTED] writes:

 Hi, 
   I recently got my hands on an EPoX AMD 64
 motherboard which has an integrated ethernet card. The
 chipset of the card is RTL8201BL PHY. I have read
 through the release notes for freebsd 6.0 and found
 nothing on this chipset. I was wondering whether it
 would be possible to still make use of the card
 through NDIS wrappers.

A quick look at the specs makes me think that the RTL8201BL is *only*
a PHY.  Assuming I'm right, whether the board would be supported would
depend on the MAC.

But since you've already got it, the easy thing to do is try it and
see if it's recongized.

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


Re: Soekris Net4801 + sis DP83816A

2006-01-05 Thread Lowell Gilbert
Jacques Beigbeder [EMAIL PROTECTED] writes:

 Hardware: Sokeris Net4801
 I boot using PXE and it hangs at the end.
 Here some lines of the boot:
 
FreeBSD 5.4-RELEASE #0: Wed Jan  4 15:31:04 UTC 2006
[ ... ]
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xe100-0xe1ff mem 
 0xa000-0xafff irq 10 at device 6.0 on pci0
sis0: Silicon Revision: DP83816A
[ ... ]
Sending DHCP Discover packet from interface sis0 (00:00:24:c4:ee:c4)
...
DHCP/BOOTP timeout for server 255.255.255.255
 
 Here it hangs! Next step would be to mount / using NFS.
 
 Another element: as soon as my kernel recognizes sis0 ... DP83816A,
 the link on my Ethernet switch turns off.
 
 Is it a problem of the 'sis' driver?

Quite possible.  Does this happen under 6.0 also?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem burning/mounting cd-rom

2006-01-05 Thread Leonidas Tsampros
On Thu, Jan 05, 2006 at 04:05:23PM +0100, Frank Staals wrote:
 Leonidas Tsampros wrote:
 
 On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:
  
 
 Hey,
 
 I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
 can burn cds and read DVD's and cd's. But when I tried to burn and mount 
 a datadisk this happend:
 
 [EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
 24.61% done, estimate finish Thu Jan  5 13:37:10 2006
 49.25% done, estimate finish Thu Jan  5 13:37:10 2006
 73.82% done, estimate finish Thu Jan  5 13:37:10 2006
 98.49% done, estimate finish Thu Jan  5 13:37:10 2006
 Total translation table size: 0
 Total rockridge attributes bytes: 0
 Total directory bytes: 0
 Path table size(bytes): 10
 Max brk space used 8724
 20320 extents written (39 MB)
 [EMAIL PROTECTED]
 
 [EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
 next writeable LBA 0
 writing from file tmp1.iso size 40640 KB
 written this track 40640 KB (100%) total 40640 KB
 fixating CD, please wait..
 
 
 [EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
 could not determine starting sector, using very first session
 mount_cd9660: /dev/acd0: Input/output error
 [EMAIL PROTECTED]
 
 I'm using a Philips CD-RW which I cleaned before use with:
 
 [EMAIL PROTECTED] burncd -f /dev/acd0 erase
 erasing CD - 99 % done
 
 I tried searching what I could do about it, but I couldn't realy find 
 something usefull. It seems that something goes wrong with burning the 
 CD I guess ( looking at the output when trying to mount it ) but I'm not 
 sure what I do wrong. Everything worked fine up until today. I hope 
 someone can point out what I can do about it.
 
 Thanks in advance,
 

 
 
 The overall process seems to ended quite succesfully. Just try to
 eject the cd before mounting the fresh cd that you burned. I had
 similar issues very recently and this was the solution for me. 
 
 If you are bored to death, try these:
 
 # burncd -f /dev/acd0 (blabla)
 (wait to finish)
 
 # cdcontrol -f /dev/acd0 eject
 # cdcontrol -f /dev/acd0 close
 # mount_cd9660 -v /dev/acd0 /mnt/dvd
 
 
  
 
 Hmm I got a little bit further indeed, but it still won't mount
 
 burned the cd
 
 [EMAIL PROTECTED] cdcontrol -f /dev/acd0 eject
 
 manually pushed the cd-drive back ( since it is a laptop ) 
 
 [EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
 using starting sector 0
 mount_cd9660: /dev/acd0: Input/output error
 [EMAIL PROTECTED]
 
 

Have you checked dmesg for any useful messages ? If there are any, post
them in case they shed some light on your scenario. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef

Jean-Baptiste Potonnier wrote:



Jean-Baptiste Potonnier wrote:

/ I'm a new FreeBSD user, just tested it on an old i386, and want to 


// switch from Slackware linux to FreeBSD or NetBSD.
// I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 
cdrom # // 1 boots, but a message tells me that no kernel can be loaded.
// I get a command line wit boot, ls, 'load', etc. I tried some 
command // to load a kernel but it didn't work.
// // I don't know if can install FreeBSD on this hardware with this 
CDROM.

/
I would think you'll need to download the AMD64 ISO from here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/

--
Paul



I Tried with these iso.


Just booted my AMD64 system with the install CD from the link above and got 
into sysinstall no problem, booted the kernel (with ACPI) and could see all 
hardware being detected nicely.


I remember when I first had the system that I had to flash the BIOS as the USB 
2.0 stuff was causing issues with both Windows and Linux, maybe it's worth 
updating the BIOS, outside of that I don't really know what to suggest and 
will have to leave it for somebody with more FreeBSD experience to answer.


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


Re: About samba 3 options to compile?

2006-01-05 Thread perikillo
On 1/4/06, Daniel [EMAIL PROTECTED] wrote:
 This query should be redirected to the Samba team, try
 https://lists.samba.org/mailman/ for a list of mailing lists and howto
 subscribe to them.

 Please read The Official Samba Howto
 (http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/) before
 querying their mailing list. This howto truly is an excellent peice of
 documentation.

 Before you go on, just a couple things that I'm certain you will come across.
 1. Samba only has experimental support for active directory, it will
 not work properly.
 2. Samba will function fully as an NT4 style domain controller (I have
 XP/2000 clients joined to this domain without a problem).
 3. To have a backup domain controller, I believe, you must use LDAP

 On 1/5/06, perikillo [EMAIL PROTECTED] wrote:
Hi people.
  I was trying to install /usr/ports/net/samba3 on my freebsd 5.4-p8
  box, but he ask me some questions:
 
  LDAPWith LDAP support on \
  ADS With Active Directory support off \
  CUPSWith CUPS printing support on \
  WINBIND With WinBIND support on \
  ACL_SUPPORT With ACL support off \
  AIO_SUPPORT With experimental AIO support off \
  SYSLOG  With Syslog support off \
  QUOTAS  With Quota support off \
  UTMPWith UTMP support on \
  MSDFS   With MSDFS support off \
  SAM_XML With XML smbpasswd backend off \
  SAM_MYSQL   With MYSQL smbpasswd backend off \
  SAM_PGSQL   With PostgreSQL smbpasswd backend off \
  SAM_OLD_LDAPWith Samba2.x LDAP smbpasswd backend off \
  PAM_SMBPASS With SMB PAM module off \
  EXP_MODULES With experimental module(s) off \
  POPTWith installed POPT library on
 
  I have two situations:
 
  1; i want to try this on my home network runnning windows 2k advanced
  server on WORKGROUP.
 
  2; The other setup is on one domain running win2k3 standard edition
 -DNS
 -AD
 
 But for both situations, wich options i need to enable and disable
  went i run the make install command...?
 
  This is my first time i will run samba my own, and really i want
  to understand wich args i need for each enviroment, i prefer the ports
  over the packages.
 
  I read the samba page
  http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html#id2653989
 
  but you know, only linux stuff.
 
  *I already have running freebsd 5.4-p8/mysql5/cups/
 
  Any help will be apreciated, thanks for your time.
 
   Greattings all!!!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 


  Ok man i will check with them thanks.
   Greetings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Jean-Baptiste Potonnier

Crispy Beef wrote:


Jean-Baptiste Potonnier wrote:




Jean-Baptiste Potonnier wrote:

/ I'm a new FreeBSD user, just tested it on an old i386, and want to 



// switch from Slackware linux to FreeBSD or NetBSD.
// I wanted to install FreeBSD on my new Shuttle SN95G5: the AMD64 
cdrom # // 1 boots, but a message tells me that no kernel can be 
loaded.
// I get a command line wit boot, ls, 'load', etc. I tried some 
command // to load a kernel but it didn't work.
// // I don't know if can install FreeBSD on this hardware with 
this CDROM.

/
I would think you'll need to download the AMD64 ISO from here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.0/

--
Paul



I Tried with these iso.



Just booted my AMD64 system with the install CD from the link above 
and got into sysinstall no problem, booted the kernel (with ACPI) and 
could see all hardware being detected nicely.


I remember when I first had the system that I had to flash the BIOS as 
the USB 2.0 stuff was causing issues with both Windows and Linux, 
maybe it's worth updating the BIOS, outside of that I don't really 
know what to suggest and will have to leave it for somebody with more 
FreeBSD experience to answer.


--
Paul


Thank's a lot.
I precise that I've tried with ACPI disabled, just in case. I don't know 
how the installer decides that no kernel can be loaded,

but I suppose that some hardware is not supported.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: FreeBSD 6.0 and Shuttle AMD64]

2006-01-05 Thread Crispy Beef
Just booted my AMD64 system with the install CD from the link above 
and got into sysinstall no problem, booted the kernel (with ACPI) and 
could see all hardware being detected nicely.


I remember when I first had the system that I had to flash the BIOS as 
the USB 2.0 stuff was causing issues with both Windows and Linux, 
maybe it's worth updating the BIOS, outside of that I don't really 
know what to suggest and will have to leave it for somebody with more 
FreeBSD experience to answer.


Have you tried it with ACPI enabled?  I think it's option 2 on the menu.
You'll be needing that enabled for the system anyway.

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


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef
Just booted my AMD64 system with the install CD from the link above 
and got into sysinstall no problem, booted the kernel (with ACPI) and 
could see all hardware being detected nicely.


I remember when I first had the system that I had to flash the BIOS as 
the USB 2.0 stuff was causing issues with both Windows and Linux, 
maybe it's worth updating the BIOS, outside of that I don't really 
know what to suggest and will have to leave it for somebody with more 
FreeBSD experience to answer.


Have you tried it with ACPI enabled?  I think it's option 2 on the menu.
You'll be needing that enabled for the system anyway.

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


portsnap: corrupt snapshot?

2006-01-05 Thread Justin Meyer
Hi all,

I'm doing a portsnap fetch here, and getting the following error:

Fetching 130 new ports or files... /usr/sbin/portsnap: cannot open
7a8a3197e659d87ca60f358e3ff663b12d3d33d33b4f607741b2847a4a35e2f1.gz: No
such file or directory
snapshot is corrupt.

.. and indeed,
/var/db/portsnap/files/7a8a3197e659d87ca60f358e3ff663b12d3d33d33b4f607741b2847a4a35e2f1.gz
just plain doesn't exist.

Can anybody tell me what's going on here, or how to fix it?

Thanks!

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


how do you install wx-config in FreeBSD?

2006-01-05 Thread bob self

I'm running FreeBSD 6.0 and have installed
wxgtk2-2.6.2_1 and wxgtk2-common-2.6.2.

VLC runs fine so I know that wxwidges is installed correctly. But I want 
to install the wxsamples
and compile them. I copied wxsamples manually and try to compile using a 
script from an older
freebsd system but it wants wx-config and I can't find out how to get 
that installed using the

ports. Which port would include that?

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


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef

Jean-Baptiste Potonnier wrote:

Crispy Beef wrote:

Just booted my AMD64 system with the install CD from the link above 
and got into sysinstall no problem, booted the kernel (with ACPI) 
and could see all hardware being detected nicely.


I remember when I first had the system that I had to flash the BIOS 
as the USB 2.0 stuff was causing issues with both Windows and Linux, 
maybe it's worth updating the BIOS, outside of that I don't really 
know what to suggest and will have to leave it for somebody with 
more FreeBSD experience to answer.





Have you tried it with ACPI enabled?  I think it's option 2 on the 
menu. You'll be needing that enabled for the system anyway.


Do you talk about the BIOS menu? because I have no menu in the installer 
(if fact I think I'm not in the installer but in a mini-shell for 
loading a kernel)




When the install CD boots, you normally get presented with a menu (same on an 
installed FreeBSD system) which allows you to choose to boot the system with; 
1) ACPI Disabled 2) ACPI Enabled...a safe mode etc. etc.  If you are not 
getting to that then it sound like you might be at the loader console.

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


apache, profptd, nvidia....

2006-01-05 Thread Ronny Machado C.
Hi list, 

I've just installed my brand new freeBSD 6.0 (AMD64), I've been having the 
following problems: 

*   When I try to bring Apache21 up, I get the followiong message: [Thu Jan 
05 14:15:10 2006] [warn] (2)No such file or directory: Failed to enable the 
'httpready' Accept Filter
*   the same with proftpd:
*- getaddrinfo '' error: hostname nor servname provided, or not known
*- warning: unable to determine IP address of ''
*- error: no valid servers configured
*- Fatal: error processing configuration file 
'/usr/local/etc/proftpd.conf'
*   The above mentioned file exists: -rw-r--r--  1 root  wheel  2397 Jan  5 
10:33 /usr/local/etc/proftpd.conf

The other questions are: Can I have a proper driver for my nvidia g-forece 5200 
in AMD46 arch? and how can I enable my ca0106 sound card?



Greeting from .CL,

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


Kernel forces machdep.hlt_cpus, how to change?

2006-01-05 Thread Walter Hop
Hello all,

I'm  testing  out  FreeBSD  6.0R  on  a  Dual  Xeon. I want to do some
benchmarking  of hyperthreading before I put this machine into use, so
I am trying to turn off the HLTing of logical cpu's.

A  stock SMP kernel without any options gives the following sysctl's
on this machine:

machdep.hlt_cpus: 10
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 10

So  even though I have hlt_logical_cpus at 0, the kernel seems to have
decided  to HLT my cpu's 8 and 2, the 'logical' threads on each Xeon I
assume.

I've tried to get around this by setting the following:

test# cat /boot/loader.conf
machdep.hlt_cpus=0
machdep.hlt_logical_cpus=0

But still after booting I get the same result with the cpu's HLTed.

I'm  not sure if using them for user processes actually helps, but I'd
like to experiment with the setting. Any ideas how I should accomplish
this?

Cheers!
Walter Hop
Transip BV

-- 
  Transip BV | http://www.transip.nl/
  Hoogwaardige Innovatie | Aangename Zekerheid

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


Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Jean-Baptiste Potonnier

Crispy Beef wrote:


Jean-Baptiste Potonnier wrote:


Crispy Beef wrote:

Just booted my AMD64 system with the install CD from the link 
above and got into sysinstall no problem, booted the kernel (with 
ACPI) and could see all hardware being detected nicely.


I remember when I first had the system that I had to flash the 
BIOS as the USB 2.0 stuff was causing issues with both Windows and 
Linux, maybe it's worth updating the BIOS, outside of that I don't 
really know what to suggest and will have to leave it for somebody 
with more FreeBSD experience to answer.






Have you tried it with ACPI enabled?  I think it's option 2 on the 
menu. You'll be needing that enabled for the system anyway.


Do you talk about the BIOS menu? because I have no menu in the 
installer (if fact I think I'm not in the installer but in a 
mini-shell for loading a kernel)




When the install CD boots, you normally get presented with a menu 
(same on an installed FreeBSD system) which allows you to choose to 
boot the system with; 1) ACPI Disabled 2) ACPI Enabled...a safe mode 
etc. etc.  If you are not getting to that then it sound like you might 
be at the loader console



.


Ok,  I think so,
but it seems I can't load anything!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsnap: corrupt snapshot?

2006-01-05 Thread Colin Percival
Justin Meyer wrote:
 I'm doing a portsnap fetch here, and getting the following error:
 [snip]
 Can anybody tell me what's going on here, or how to fix it?

Some files didn't get uploaded from the machine which performs the
portsnap builds to the mirrors due to a network outage (note to
self: I need to handle problems like this better!)

I've manually copied the missing files into the appropriate places
and everything should be working again now.

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


Re: Kernel forces machdep.hlt_cpus, how to change?

2006-01-05 Thread Colin Percival
Walter Hop wrote:
 I'm  testing  out  FreeBSD  6.0R  on  a  Dual  Xeon. I want to do some
 benchmarking  of hyperthreading before I put this machine into use, so
 I am trying to turn off the HLTing of logical cpu's.

Read FreeBSD-SA-05:09.htt :

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc

and then, if you don't have any local untrusted users, consider setting
machdep.hyperthreading_allowed=1 in /boot/loader.conf.

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


format disk in bsd

2006-01-05 Thread Nguyen Danh Hieu
Hi everybody
I have about 20Gb unused space and  40Gb of  NTFS on my HDD an I want to
change them to ufs . But everytime when I tried with cfdisk-linux   or
sysinstall = configure = fdisk (as root )  it is said that I am not
allowed to write disk table (or something like disk read only )  But I am
root , why did it happen? someone show me solution plz?
Thank you.

--
===
Nguyen Danh Hieu

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

Re: FreeBSD 6.0 and Shuttle AMD64

2006-01-05 Thread Crispy Beef


When the install CD boots, you normally get presented with a menu 
(same on an installed FreeBSD system) which allows you to choose to 
boot the system with; 1) ACPI Disabled 2) ACPI Enabled...a safe mode 
etc. etc.  If you are not getting to that then it sound like you might 
be at the loader console




.



Ok,  I think so,
but it seems I can't load anything!



Try typing 'autoload' and then hitting return to see what that does, it should 
start to load a kernel.

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


Re: portsnap: corrupt snapshot?

2006-01-05 Thread Justin Meyer
Hi Colin!

On Thu, 05 Jan 2006, Colin Percival wrote:

 Justin Meyer wrote:
  I'm doing a portsnap fetch here, and getting the following error:
  [snip]
  Can anybody tell me what's going on here, or how to fix it?
 
 Some files didn't get uploaded from the machine which performs the
 portsnap builds to the mirrors due to a network outage (note to
 self: I need to handle problems like this better!)
 
 I've manually copied the missing files into the appropriate places
 and everything should be working again now.

Indeed, portsnap fetch just completed successfully for me. Thank you,
Colin, and especially thank you for the fast answer!

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


Re: portupgrade freezing

2006-01-05 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- Original Message - From: Tom Grove [EMAIL PROTECTED]
To: Dave [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, January 04, 2006 3:17 PM
Subject: Re: portupgrade freezing



Dave wrote:


Hello,
   Last portupgrade i did showed portupgrade itself was in need of 
updating. I ran portupgrade -arR and i got portupgrade v2.01,1, now when i 
run a portupgrade command the system just sits there. I don't get any 
output at all. I have uninstalled portupgrade and reinstalled it, no 
change. Any help welcome.

Thanks.
Dave.

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



Do you have to power off the system before it will be responsive again or 
just kill portupgrade? Have you looked through the logs for any messages?
portupgrade v2.01,1...are you sure; that doesn't seem to correspond with my 
versioning scheme? What does pkg_info say about portupgrade and it's 
version? What does portversion -l  say about portupgrade?


-Tom 


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



On Jan 4 Dave contributed the following:
Hi,
  I don't have to kill the system, just portupgrade. When i run portversion 
-l  it just hangs as well. A pkg_info shows portupgrade version 2.0.1,1.

Dave.




Been watching this thread. Ran my usual maintenance script which
ends up with portversion -l  and, if needed, portupgrade -arR
and portsclean -DP. It showed portupgrade needed upgrading again
from 2.0.0,1 to 2.0.1,1  upgraded it. Afterward, I had a couple
of stale dependencies, but not related to portupgrade. Fixed them.
Ran portversion again and, though it wasn't needed, portupgrade,
both with no problems. Since, at that point, nothing needed upgrading,
I still can't say for sure if the same problem described originally,
exists or not on my system, but I'm sure within a couple of days,
something will need upgrading. If portupgrade screws up, I'll reply
to this thread again. BTW, running FreeBSD_5_4 on an old HP Netserver.
I didn't see in this thread what version of FreeBSD the problem was
happening on. Wondering if it'd help on the system in question to run
portsdb -uUF and pkgdb -fu and try portversion and portupgrade again.
Hope some of this helps.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFDvWq6y0Ty5RZE55oRAoSeAKC/Z8c0yK/e2iHkr0IvYpPbJwlCUQCffk1l
x7DcHPCiOseg7TQNbDZ9W2I=
=lyvH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gmirror dump device does not exist?

2006-01-05 Thread Nick Pavlica
All,
  I have just set up a FBSD6.0 server configured with gmirror/raid1
using two SATA drives ad4  ad6 according to these instructions:

 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

  Everything is functioning properly with the exception of a boot
warning that indicates that a dump device does not exist.  I'm sure
that I just missed something simple during the setup procedure.  Does
anyone have the quick fix for this?

My fstab:

# Device  Mountpoint  FStypeOptions   
 DumpPass#
/dev/mirror/gm0s1b  none   swap   sw  
  0   0
/dev/mirror/gm0s1a  /  ufs  rw
1   1
/dev/mirror/gm0s1e  /tmp ufs rw   
  2   2
/dev/mirror/gm0s1f   /usr  ufs  rw
2   2
/dev/mirror/gm0s1d  /var ufs  rw  
  2   2
/dev/acd0   /cdrom cd9660  ro,noauto   0   0

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


Minimal 6.0 installed - need your recommendation to get services installed and up

2006-01-05 Thread JK Scheinberg
I want to setup, in the easiest and quickest possible way, a server  
for apache-ssl, php, mysql, and postfix/courier-imap.


I've installed FreeBSD 6.0.  A minimal install.   I don't care about  
anything else but those applications and services ( well, ssh so I  
can attach to the machine, but I have that working already )


I don't feel the need to work from sources, binaries would probably  
be fine. I connect via ssh and don't want X.  I'd rather not even  
install the development tools ( they are not on there yet)


I'd like to be able to keep the system up to date as patches etc come  
out


There are tons of references on how to do this on the net but I've  
tried a bunch of them and either they are not complete or they  
require hours of cvsup'ing and building from source etc.


I just want to get this up and working and not have to spend tons of  
time doing that or maintaining it


So,  how do you recommend I do this?

Thanks

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


PF ruleset NAT assistance

2006-01-05 Thread Leon Botes
I have a strange scenario that i am sure pf can cope with but i am not 
sure how to write the ruleset.


We have a gateway freebsd box with the following interfaces
ext_if1 (internet connection 1)
ext_if1_rt (router ip connected to the ext_if1)
ext_if1_ip (the ip of ext_if1)
ext_if1_ip2 (the 2nd ip of ext_if1)
ext_if2 (internet connection 2)
ext_if2_rt (router ip connected to the ext_if2)
ext_if2_ip (the ip of ext_if2)
ext_if2_ip2 (the 2nd ip of ext_if2)
ext_if3 (internet connection 3)
ext_if3_rt (router ip connected to the ext_if3)
ext_if3_ip (the ip of ext_if3)
ext_if3_ip2 (the 2nd ip of ext_if3)
dmz_if (DMZ server interface)
dmz_srv (DMZ server ip)
dmz_if_ip (DMZ interface ip)
lan_if (lan pc network interface)# network diagram
lan_if_ip (lan interface ip)
pri_net (entire subnet of the lan pc's)

The default gateway is the router ext_if_rt.
All external interfaces need to be natted.
The second ips on the interfaces are intended for binat use which is 
where the problem comes in.


I need to allow various ports in on all the ext_if's and be redirected 
to the dmz server. The returning packets must then be sent back out the 
same interface they arrived on.

These rules seem logical but dont seem to work (specific ports omitted)
Can anyone point out my fault?

nat on $ext_if1 from pri_net to any - $ext_if1_ip
binat on ext_if1 from dmz_srv to any - ext_if1_ip2
nat on $ext_if2 from pri_net to any - $ext_if2_ip
binat on ext_if2 from dmz_srv to any - ext_if2_ip2
nat on $ext_if3 from pri_net to any - $ext_if3_ip
binat on ext_if3 from dmz_srv to any - ext_if3_ip2

Can someone help me with these three binat rules plz.

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


Compiling Ports...

2006-01-05 Thread Crispy Beef
Am trying to get my head around the ports system, specifically custom options 
when compiling.  For example I would like to install apache 2.2 under it's own 
dir in /usr/local, say /usr/local/apache22.  If I was rolling my own version 
using the configure script I would do:


./configure prefix=/usr/local/apache22

With that everything would go into that dir, bin files, confs etc. etc.

I understand how to make use of the options stuff WITH_ WITHOUT etc. it's just 
the installation prefix that's bugging me.


Have I messed something simple here?

Cheers,

--
Paul


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


Re: Can someone please repost the fix for installing OpenOffice on FreeBSD 6.0

2006-01-05 Thread Robert Slade
 A. On Thu, 2006-01-05 at 14:36, Tim Greening-Jackson wrote:
 Hello there. I am trying to install Open Office on my new FreeBSD
 workstation, and have downloaded the appropriate BZ2 file from
 OpenOffice.org and unzipped it. 
 
 Now when I ask pkg_add to add it I get the following:
 
   tordella# pkg_add OOo_SRC680_m146_FreeBSD60Intel_install_en-GB.tar
   pkg_add: could not find package openssl-beta-0.9.8a !
 
 I recall exactly this topic being discussed on this list a few weeks
 ago, but have long-since deleted the solution (IIRC, it involved some
 way of forcing pkg_add to use a version of openssl other than beta
 0.9.8a. Please can someone forward the original reply or otherwise
 enlighten me.
 
 Many thanks.
 
 Tim.
 

Tim,

Searching the mail archives often helps:

Try this:

http://freebsd.rambler.ru/bsdmail/freebsd-questions_2005/msg36901.html

Rob

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


Re: Can't build mplayer-skins: checksum missing error

2006-01-05 Thread Chris Whitehouse

On Wed, 4 Jan 2006, Jesse Sheidlower wrote:


I wish it were possible to just ship mplayer with the default
skin only, and leave the others in the mplayer-skins port; I
always have problems with this port and I never use anything
but the default.  But that's another issue.



Not the answer to your main question but I noticed this in mplayer's 
Makefile the other day:


# WITHOUT_SKINS
# default: undefined
# removes the run dependency on the mplayer-skins port, _even if_ built with
# GUI. This is useful e.g. if you don't want the skins installed 
system-wide.

# Please note that 'gmplayer' *must* have at least one default skin to run.

I guess it could go in /etc/make.conf if it's what you want.

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


Re: memory requirement

2006-01-05 Thread Danial Thom


--- Mark Kane [EMAIL PROTECTED] wrote:

 azri abdul majid wrote:
  Hi there
  
  I am a linux user and I am very interested on
 trying FreeBSD. I just
  curious about one matter. Currently I have an
 old linux machine with
  15GB Hdd, 64MB RAM, 266MHz Intel Celeron
 Processor. I just want to use
  FreeBSD for my academic research. Can FreeBSD
 running smoothly using
  my machine. What is your recommendation?.
  --
  Azri
 
 Hi.
 
 FreeBSD will run on that hardware just fine. I
 still have FreeBSD
 installed on machines as slow as 166MHz/96MB
 RAM and they perform just
 fine for lower load server applications. Keep
 in mind a few things though:
 
 1) Compiling software will be quite slow. In
 your case, you may want to
 consider using the binary packages system for
 installing most software
 instead of compiling via ports.
 
 2) I have not personally used X on anything
 less than a 500MHz machine.
 You didn't say if you wanted a GUI or not, but
 I cannot say how that
 experience would be with your hardware.
 
 3) I recently found one of my old Cyrix 233MHz
 machines with 32MB RAM.
 One thing that I know would help it's
 performance would be more RAM. It
 boots and functions fine, but it does get a bit
 sluggish. Just make sure
 to give it ample swap space and put in as much
 RAM as you can.
 
 I'm not sure what type of research you were
 planning so I think that's
 about all I can say for now.
 
 Hope that helps.
 
 -Mark

The load is not the issue with memory, its the
number of processes. If you'll have many users or
many processes (such as httpd spawning processes
per session) then you'll need more memory. You
can certainly build a kernel for a single user
system with 64K as long as you don't have a large
database or try to compile large source modules.
For example I have a low end system that takes
about a week to compile one of the .cpp modules
in the mySQL distribution. It goes into swapping
hell.

DT



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


Re: Compiling Ports...

2006-01-05 Thread Michael P. Soulier
On 1/5/06, Crispy Beef [EMAIL PROTECTED] wrote:
 Am trying to get my head around the ports system, specifically custom options
 when compiling.  For example I would like to install apache 2.2 under it's own
 dir in /usr/local, say /usr/local/apache22.  If I was rolling my own version
 using the configure script I would do:

 ./configure prefix=/usr/local/apache22

I believe the default prefix can be changed, but I'm unclear as to why
you would want to change it. The port installs a package that you can
then remove easily with the pkg tools. Why would you want to do this?

Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling Ports...

2006-01-05 Thread Crispy Beef

Michael P. Soulier wrote:

On 1/5/06, Crispy Beef [EMAIL PROTECTED] wrote:


Am trying to get my head around the ports system, specifically custom options
when compiling.  For example I would like to install apache 2.2 under it's own
dir in /usr/local, say /usr/local/apache22.  If I was rolling my own version
using the configure script I would do:

./configure prefix=/usr/local/apache22



I believe the default prefix can be changed, but I'm unclear as to why
you would want to change it. The port installs a package that you can
then remove easily with the pkg tools. Why would you want to do this?


Mainly as having Apache in it's own directory with all of it's files together 
makes it nice and easy to administer, when I compile stuff from scratch I 
always like to keep things clean, for example:


/usr/local/php-5.1.1
/usr/local/mysql-5
/usr/local/apache13
/usr/local/apache22

I'm not too bothered having it all put in the default locations specified by 
the port, my Gentoo system does this in the same way, just wondered if there 
was a clean way to do it. :-)

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


Re: Compiling Ports...

2006-01-05 Thread JK

On Thu, 5 Jan 2006 14:41:50 -0500
 Michael P. Soulier [EMAIL PROTECTED] wrote:

On 1/5/06, Crispy Beef [EMAIL PROTECTED] wrote:
Am trying to get my head around the ports system, specifically 
custom options
when compiling.  For example I would like to install apache 2.2 
under it's own
dir in /usr/local, say /usr/local/apache22.  If I was rolling my own 
version

using the configure script I would do:

./configure prefix=/usr/local/apache22


I believe the default prefix can be changed, but I'm unclear as to 
why
you would want to change it. The port installs a package that you 
can
then remove easily with the pkg tools. Why would you want to do 
this?


But wait! I thought the pkg system maintained track of where things 
were installed even if directed somewhere else and a pkg_delete etc 
would still work.  No?

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


Rhapsody music service with FreeBSD+linux-firefox

2006-01-05 Thread Seamus Abshere

dear FreeBSDers,

I can report that Rhapsody music service (www.rhapsody.com) works with 
an old version of the linux-firefox port on FreeBSD 6.0.


concurrently on my system:
- linux-firefox-1.0.7, user profile music using Rhapsody
- firefox-1.5, user profile Seamus Abshere using the internet

*I assume you have the normal firefox port installed, currently 1.5_5*
If you do not, I don't know if this will work for you.

Obviously, *you also need linux compatibility.* A good way to test this 
(and get a useful app in the process) is the acroread7 port.


***Finally, most importantly*** be careful about running make  make 
install in an alternatively old/totally-updated version of the ports 
tree. I bet you would get some strange results if it started installing 
dependencies from late 2005.


So assuming linux compat, firefox-1.5, etc., try this:

0. UPDATE YOUR PORTS TREE

1. REVERT TO OLD ports-www
your ports-supfile probably contains this (excluding commented lines):


*default host=CHANGE_THIS.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all


now we're going to *temporarily* change it to:


*default host=CHANGE_THIS.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

*default date=2005.11.24.12.12.12

*default compress

#ports-all
ports-www


(so you should have commented out one line, uncommented one line, and 
added a date line.)


now use cvsup to get the old ports-www!!! --- important

2. UNDO CHANGES TO ports-supfile

3. MAKE  MAKE INSTALL CLEAN linux-firefox

4. CREATE A NEW PROFILE FOR linux-firefox
call it music or something

linux-firefox -P 


5. RUN firefox WITH YOUR OLD USER PROFILE

6. RUN linux-firefox WITH YOUR music USER PROFILE

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


RE: Cannot build linux-gtk2 for FreeBSD 6.0 ...

2006-01-05 Thread Kiffin Gish
Alright, I updated my ports and things seem to go better. However, here's
the next error:

--start---

# cd /usr/ports/x11-toolkits/linux-gtk2
# make install clean
===  Installing for linux-gtk2-2.4.14_3
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libglib-2.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libatk-1.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libjpeg.so.62 - found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libpng12.so.0 - found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libtiff.so.3 - found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/lib/libpango-1.0.so.0 - found
===   linux-gtk2-2.4.14_3 depends on file: /compat/linux/etc/redhat-release
- found
===   linux-gtk2-2.4.14_3 depends on file:
/compat/linux/usr/X11R6/lib/libXrender.so.1 - found
===   Generating temporary packing list
===  Checking if x11-toolkits/linux-gtk2 already installed
gtk2-2.4.14-4.fc3.3.i386.rpm
/usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries:
libXinerama.so.1: cannot open shared object file: No such file or directory
*** Error code 127

Stop in /usr/ports/x11-toolkits/linux-gtk2.

--end---

Something to do with the xorg stuff for linux perhaps?

-- 
Kiffin Rex Gish
Gouda, The Netherlands


 -Original Message-
 From: Adi Pircalabu [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 05, 2006 13:25
 To: Kiffin Gish
 Subject: Re: Cannot build linux-gtk2 for FreeBSD 6.0 ...
 
 
 On Thu, 05 Jan 2006 13:06:16 +0100
 Kiffin Gish [EMAIL PROTECTED] wrote:
 
  fetch:
  
 ftp://mirrors.kernel.org/fedora/core/updates/3/i386/gtk2-2.4.14-4.fc3.
  i386.rpm:
  File unavailable (e.g., file not found, no access) ...
  
  Any ideas what's going wrong?
 
 Update your ports tree and try again.
 
 -- 
 Adi Pircalabu (PGP Key ID 0x04329F5E)
 
 
 -- 
 This message was scanned for spam and viruses by BitDefender. 
 For more information please visit http://www.bitdefender.com/
 

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


Re: Compiling Ports...

2006-01-05 Thread Frank Laszlo
JK wrote:
 On Thu, 5 Jan 2006 14:41:50 -0500
  Michael P. Soulier [EMAIL PROTECTED] wrote:
 On 1/5/06, Crispy Beef [EMAIL PROTECTED] wrote:
 Am trying to get my head around the ports system, specifically
 custom options
 when compiling.  For example I would like to install apache 2.2
 under it's own
 dir in /usr/local, say /usr/local/apache22.  If I was rolling my own
 version
 using the configure script I would do:

 ./configure prefix=/usr/local/apache22

 I believe the default prefix can be changed, but I'm unclear as to why
 you would want to change it. The port installs a package that you can
 then remove easily with the pkg tools. Why would you want to do this?

 But wait! I thought the pkg system maintained track of where things
 were installed even if directed somewhere else and a pkg_delete etc
 would still work.  No?

the pkgdb will record the location of PREFIX, so pkg_delete will still
remove it even if its changed.

cd /usr/ports/www/apache22
make PREFIX=/usr/local/apache22 install clean

Enjoy


__
Frank Laszlo
System Administrator
The VonOstin Group
Email:  [EMAIL PROTECTED]
WWW:http://www.vonostingroup.com
Mobile: 248-863-7584


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


Re: Programming Book(s)

2006-01-05 Thread Martin Cracauer
Sean wrote on Mon, Jan 02, 2006 at 04:09:27PM -0500: 
 
 Looking for recommendations on any Unix programming books.
 I have been out of things for a while so I would put my skill level back 
 to the beginning.

W. Richard Steven's Advanced Programming in the Unix Environment,
along with his Unix Network Programming are still classics and from
what I have seen best by far.

Martin
-- 
%%%
Martin Cracauer cracauer@cons.org   http://www.cons.org/cracauer/
FreeBSD - where you want to go, today.  http://www.freebsd.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem burning/mounting cd-rom

2006-01-05 Thread Frank Staals

Leonidas Tsampros wrote:


On Thu, Jan 05, 2006 at 04:05:23PM +0100, Frank Staals wrote:
 


Leonidas Tsampros wrote:

   


On Thu, Jan 05, 2006 at 01:46:40PM +0100, Frank Staals wrote:


 


Hey,

I have an Acer Aspire 1356 LCi laptop with a CD-RW/DVD-drive in it so I 
can burn cds and read DVD's and cd's. But when I tried to burn and mount 
a datadisk this happend:


[EMAIL PROTECTED] mkisofs -o tmp1.iso VirtualDub-1.6.11.zip totaal.wmv
24.61% done, estimate finish Thu Jan  5 13:37:10 2006
49.25% done, estimate finish Thu Jan  5 13:37:10 2006
73.82% done, estimate finish Thu Jan  5 13:37:10 2006
98.49% done, estimate finish Thu Jan  5 13:37:10 2006
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 8724
20320 extents written (39 MB)
[EMAIL PROTECTED]

[EMAIL PROTECTED] burncd -f /dev/acd0 -s 12 data tmp1.iso fixate
next writeable LBA 0
writing from file tmp1.iso size 40640 KB
written this track 40640 KB (100%) total 40640 KB
fixating CD, please wait..


[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
could not determine starting sector, using very first session
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]

I'm using a Philips CD-RW which I cleaned before use with:

[EMAIL PROTECTED] burncd -f /dev/acd0 erase
erasing CD - 99 % done

I tried searching what I could do about it, but I couldn't realy find 
something usefull. It seems that something goes wrong with burning the 
CD I guess ( looking at the output when trying to mount it ) but I'm not 
sure what I do wrong. Everything worked fine up until today. I hope 
someone can point out what I can do about it.


Thanks in advance,

 

   


The overall process seems to ended quite succesfully. Just try to
eject the cd before mounting the fresh cd that you burned. I had
similar issues very recently and this was the solution for me. 


If you are bored to death, try these:

# burncd -f /dev/acd0 (blabla)
(wait to finish)

# cdcontrol -f /dev/acd0 eject
# cdcontrol -f /dev/acd0 close
# mount_cd9660 -v /dev/acd0 /mnt/dvd




 


Hmm I got a little bit further indeed, but it still won't mount

burned the cd

[EMAIL PROTECTED] cdcontrol -f /dev/acd0 eject

manually pushed the cd-drive back ( since it is a laptop ) 

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error
[EMAIL PROTECTED]


   



Have you checked dmesg for any useful messages ? If there are any, post
them in case they shed some light on your scenario. 



 


Oh good-one I looked over it since portupgrade was running. When I do a :

[EMAIL PROTECTED] mount_cd9660 -v /dev/acd0 /mnt/dvd/
using starting sector 0
mount_cd9660: /dev/acd0: Input/output error

this is in dmesg:

acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00 error=0
g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5



--
-Frank Staals


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


Postgresql 8.0 again

2006-01-05 Thread Mike Jeays
I just re-installed postgresql80-server from the ports, and get exactly
the same error as from the package.  This is on my 5.4 machine, were I
previously had a working copy.

I have tried changing max_connections in the sample config file (setting
it down to 1 just to see if even that would work). I also tried the
following kernel setting changes (without a reboot), with no
improvement.

sysctl -w kern.ipc.shmall=32768
sysctl -w kern.ipc.shmmax=134217728
sysctl -w kern.ipc.semmap=256

Error message from initdb

...
...
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
could not create semaphores: No space left on device
DETAIL:  Failed system call was semget(1, 17, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of semaphores
(SEMMNS), would be exceeded.  You need to raise the respective kernel
parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores
by reducing its max_connections parameter (currently 10).
The PostgreSQL documentation contains more information about
configuring your system for PostgreSQL.
child process exited with exit code 1
initdb: removing data directory /usr/local/pgsql/data

Any more help will be very welcome!


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


Re: Minimal 6.0 installed - need your recommendation to get services installed and up

2006-01-05 Thread Adam Nealis
--- JK Scheinberg [EMAIL PROTECTED] wrote:

 I want to setup, in the easiest and quickest possible way, a server  
 for apache-ssl, php, mysql, and postfix/courier-imap.
 
 I've installed FreeBSD 6.0.  A minimal install.   I don't care about  
 anything else but those applications and services ( well, ssh so I  
 can attach to the machine, but I have that working already )
 
 I don't feel the need to work from sources, binaries would probably  
 be fine. I connect via ssh and don't want X.  I'd rather not even  
 install the development tools ( they are not on there yet)
 
 I'd like to be able to keep the system up to date as patches etc come  
 out
 
 There are tons of references on how to do this on the net but I've  
 tried a bunch of them and either they are not complete or they  
 require hours of cvsup'ing and building from source etc.

You'll need to spend some time here:

rtfm://www.freebsd.org/projects/newbies.html

 I just want to get this up and working and not have to spend tons of  
 time doing that or maintaining it
 
 So,  how do you recommend I do this?

Well, you might need to RTFM just a little bit if you get stuck. And trust
me, it's worth it. Since you seem to be in a hurry, I'll assume you
installed 6.0-RELEASE (you can check this with uname -a). Also, I'd keep
a written log or an a text file on a separate machine of what you do and
what worked because you can easily bork a machine if you are in too much
of a hurry. So it helps to know how to recover quickly. Anyway,

As root, cd to /usr/ports/packages/All - if it doesn't exist, then do

mkdir -p /usr/ports/packages/All
cd /usr/ports/packages/All

Since you don't use X, use lynx or your favourite ftp client to browse
this little lot. You may, of course, use a more convenient mirror site.

ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/

The above contains hundreds of binary packages at the time of 6.0-RELEASE
going out. Now, if you were prepared to RTFM I'd recommend using

pkg_add -r package name

but that would require you first playing with /etc/make.conf, and so on as
sometimes remote fetching needs tweaking. Instead, I suggest you look over
the FTP site above and download to

/usr/ports/packages/All

the packages you require. Then use pkg_add to install them. I'm not
familiar with the precise packages mix you require, so you might have
dependency problems. In which case, try

man pkg_add

or

rtfm://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#APPLICATIONS
rtfm://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html

or this list.



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

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


Re: Programming Book(s)

2006-01-05 Thread lars

Martin Cracauer wrote:
Sean wrote on Mon, Jan 02, 2006 at 04:09:27PM -0500: 


Looking for recommendations on any Unix programming books.
I have been out of things for a while so I would put my skill level back 
to the beginning.



W. Richard Steven's Advanced Programming in the Unix Environment,
along with his Unix Network Programming are still classics and from
what I have seen best by far.

Martin

I also recommend The Art of UNIX Programming by Eric S. Raymond
for some cultural information on Unix programming.

It's also available whole online for free at his website.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Flash Disk

2006-01-05 Thread Teilhard Knight

Hello:

Can someone tell me, or point to me where I can find, how to mount a Flash
Disk in release 6.0? I have Googled, but I simply cannot find the right way.
An icon to mount and unmount on the desktop would be nice. Thanks.

Teilhard. 


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


format disk in bsd

2006-01-05 Thread Hieu Nguyen Danh
Hi everybody
I have about 20Gb unused space and  40Gb of  NTFS on my HDD an I want to
change them to ufs . But everytime when I tried with cfdisk-linux   or
sysinstall = configure = fdisk (as root )  it is said that I am not
allowed to write disk table (or something like disk read only )  But I am
root , why did it happen? someone show me solution plz?
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: format disk in bsd

2006-01-05 Thread Greg Barniskis

Hieu Nguyen Danh wrote:

Hi everybody
I have about 20Gb unused space and  40Gb of  NTFS on my HDD an I want to
change them to ufs . But everytime when I tried with cfdisk-linux   or
sysinstall = configure = fdisk (as root )  it is said that I am not
allowed to write disk table (or something like disk read only )  But I am
root , why did it happen? someone show me solution plz?


Are you booting FreeBSD from a 3rd partition on that same disk, and 
then trying to run these tools? I don't believe that is allowed. You 
need to boot from CD or floppy to do formatting and partitioning on 
the same drive that FreeBSD normally boots from.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Flash Disk

2006-01-05 Thread Giorgos Keramidas
On 2006-01-05 15:28, Teilhard Knight [EMAIL PROTECTED] wrote:
 Can someone tell me, or point to me where I can find, how to
 mount a Flash Disk in release 6.0? I have Googled, but I simply
 cannot find the right way.  An icon to mount and unmount on the
 desktop would be nice. Thanks.

When I plug my USB JetFlash disk, the following appears in
/var/log/messages (and the system console, but I mostly use X11
these days):

umass0: USB Flash Disk, rev 2.00/2.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)

When you plug the USB flash disk in, /dev/da0 (or another daX
device) is automatically created.  If the flash disk already has
partitions (they usually come with a single FAT partition),
you'll also see da0s1 or something similar:

# ls -l /dev/da*
crw-r-  1 root  operator  -   4,  44 Oct 16 17:38 /dev/da0

If you see only da0, it's possible that the 'raw disk' is
formatted using FAT, without a real BIOS-style partition, which
means that you should be able to 'mount' it with something like:

# /sbin/mount_msdosfs /dev/da0 /mnt

That's it.  Copy files to and from the /mnt directory.  When you
are done, make sure you unmount the flash disk before removing
it.  If you don't, chances are your kernel will panic when it
discovers the physical flash disk is gone.

# umount /mnt

Now, it's safe to pull the flash disk out.

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


Re: Reading roots mail when connected remotely

2006-01-05 Thread JD Arnold

Daniel A. wrote:

Stupid question, I know :(
How do I read the mail sent to root, if I can only access my server via SSH?
When I su, and type mail, it shows only mail to the user I connected with.


Yeah, I had the same problem.  I've been doing 'su -l', which simulates a
full login, so then I really am root.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


RE: Programming Book(s)

2006-01-05 Thread Gayn Winters

 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of lars
 Sent: Thursday, January 05, 2006 1:25 PM
 Cc: FreeBSD-Questions
 Subject: Re: Programming Book(s)
 
 
 Martin Cracauer wrote:
  Sean wrote on Mon, Jan 02, 2006 at 04:09:27PM -0500: 
  
 Looking for recommendations on any Unix programming books.
 I have been out of things for a while so I would put my 
 skill level back 
 to the beginning.
  
  
  W. Richard Steven's Advanced Programming in the Unix Environment,
  along with his Unix Network Programming are still 
 classics and from
  what I have seen best by far.
  
  Martin
 I also recommend The Art of UNIX Programming by Eric S. Raymond
 for some cultural information on Unix programming.
 
 It's also available whole online for free at his website.

http://www.catb.org/~esr/writings/taoup/

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com  


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


problems with mod_auth_pam

2006-01-05 Thread Derek Musselmann

Hello all,
I have a working version of Apache (1.3.34) and am trying to use  
mod_auth_pam to allow access to a directory.  The modules all load  
and I get no error messages.  When I try to authenticate using my  
username/password I get this in the Apache error logs:
Permission denied: access to /dspam/ failed for 192.168.1.100,  
reason: authentication error


It will absolutely not accept my password and I don't know if there  
are any logs someplace else telling me why.  I have tried different  
browsers (Mozilla, Firefox, IE, Safari) with the same result.


My /etc/pam.d/httpd:
auth   requiredpam_unix.so debug
accountrequired pam_unix.so debug

And my httpd.conf:
Directory /usr/local/www/vhosts/dspam
  Options +ExecCGI
  AuthPAM_Enabled on
  AuthName DSPAM
  AuthType Basic
  Require valid-user
/Directory

Any help is greatly appreciated!

Derek Musselmann



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


Re: Reading roots mail when connected remotely

2006-01-05 Thread [EMAIL PROTECTED]
On 1/5/06, JD Arnold [EMAIL PROTECTED] wrote:

 Daniel A. wrote:
  How do I read the mail sent to root, if I can only access my server via
 SSH?
  When I su, and type mail, it shows only mail to the user I connected
 with.

 Yeah, I had the same problem.  I've been doing 'su -l', which simulates a
 full login, so then I really am root.


edit /etc/aliases
to send root's mail to your usual login
remember to run /usr/bin/newaliases
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


palm tungsten t3 (m550) on freebsd 6 over usb

2006-01-05 Thread Kep Woof
hiya,

i've been trying unsucessfully to get my palm t3 to work with freebsd
using either coldsync or pilot-link.  it seems to be detected ok in
dmesg, and usbdevs -v:

ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2
ucom0: at uhub1 port 1 (addr 2) disconnected

Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, Palm
Handheld(0x0060), Palm, Inc.(0x0830), rev 1.00
 port 2 powered

i've got ucom compiled into my kernel and uvisor loaded as a module. 
i'm just generally confused - what port should i be using?  /dev/usb1,
/dev/ucom0, /dev/cuad1 and everything i try doesn't work.

can anyone give me some pointers to help me troubleshoot this problem?
even better, does anyone have a t3 working over usb?

thanks for any help!


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


PHP5 Error Message

2006-01-05 Thread Gerard Seibert
I seem to be having a problem with PHP5. Running the following command 
produces some rather strange output.


$ php -v
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'pcre' already loaded in Unknown on line 0
PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
PHP Warning:  Module 'gd' already loaded in Unknown on line 0
PHP Warning:  Module 'openssl' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20050922/pdf.so' - Cannot open 
quot;/usr/local/lib/php/20050922/pdf.soquot; in U

nknown on line 0
PHP Warning:  Module 'zlib' already loaded in Unknown on line 0
PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
PHP 5.1.1 (cli) (built: Jan  5 2006 18:44:48)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

It never produced this output before. What could be causing it and how do 
I correct it?


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


Re: Programming Book(s)

2006-01-05 Thread Chuck Robey

lars wrote:


Martin Cracauer wrote:


Sean wrote on Mon, Jan 02, 2006 at 04:09:27PM -0500:


Looking for recommendations on any Unix programming books.
I have been out of things for a while so I would put my skill level 
back to the beginning.




W. Richard Steven's Advanced Programming in the Unix Environment,
along with his Unix Network Programming are still classics and from
what I have seen best by far.

Martin


I also recommend The Art of UNIX Programming by Eric S. Raymond
for some cultural information on Unix programming.

It's also available whole online for free at his website.


Oddly, I think I wish this were not so ... I would say, everything I've 
ever gotten that was free, turned out to be worth the price, and I just 
would not want to devalue that man's tremendous contribution, in any 
method whatsoever.  Even if it means that teeners starting out have to 
beg a bit.



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



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


Re: format disk in bsd

2006-01-05 Thread Mike Jeays
On Thu, 2006-01-05 at 17:21 +, Nguyen Danh Hieu wrote:
 Hi everybody
 I have about 20Gb unused space and  40Gb of  NTFS on my HDD an I want to
 change them to ufs . But everytime when I tried with cfdisk-linux   or
 sysinstall = configure = fdisk (as root )  it is said that I am not
 allowed to write disk table (or something like disk read only )  But I am
 root , why did it happen? someone show me solution plz?
 Thank you.
 
 --
 ===
 Nguyen Danh Hieu
 
 Physics Faculty
 Moscow State University
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

There was a discussion about this the other day.  Someone reminded us
all that, by design, you can't change the slices and partitions on the
system disk.  You could do it by booting from Freesbie, or I believe
there is a flag you can turn off in single-user mode.  Check the
mailing-list archives for the last couple of months.

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


Re: libjpeg

2006-01-05 Thread Daniel O'Connor
[redirected to freebsd-questions, a more appropriate place]

On Fri, 6 Jan 2006 12:24, Beech Rintoul wrote:
 I'm trying to compile a program from source that needs libjpeg6b. I have
 searched and can't find it . I have jpeg6b installed. Can someone point me
 to the correct path?

Assuming you installed libjeg from ports (which you really really should have) 
it will be in /usr/local. So you need to add -I/usr/local/include to CFLAGS 
and -L/usr/local/lib to LDFLAGS in a Makefile.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpOuZMA5CRLW.pgp
Description: PGP signature


Help with getting KDE to work again

2006-01-05 Thread umagnum338
Hi,
 
A few nights ago, I was installing some packages and trying to get the 
OpenOffice 2.0 package to work.  I installed some packages for a mathematical 
graphing program and something else that I can't recall now.  In any event, I 
was using KDE at the time.  Now, whenever I type startx from the command line 
the X window system starts but then I get a message dialog box saying that 
kdeinit couldn't be started and to check my installation.
 
I can't see how adding the new packages could have blown up KDE (unless they 
quietly overwrote some shared object that KDE looks to).  Actually, my 
suspicion is that it has something to do with what I was trying to do to get 
OpenOffice working.  Every time I tried to start OpenOffice, I'd get an error 
on two shared objects.  I did a find and found that the objects were in the 
openoffice installation directories.  So, I read up on the ldconfig manual page 
and tried to reconfigure my ld.so.hints file (or ld-elf.so.hints, whatever it 
is).  It seemed to work, but I couldn't load OpenOffice.  So, once again I went 
to the ldconfig manual page and saw that I could specify files.  So, I 
specifically told ldconfig to add the files that OpenOffice was looking for.
 
However, when I did this ldconfig dumped a whole bunch of stuff to the screen 
and didn't seem to like the shared object file that OpenOffice wanted to have.  
I wished I could remember what the names of the .so 's were but I can recall at 
this time is that once of them had something to do with Java.
 
What could be the problem?  Beyond /var/log/X.org.log where would KDE log 
errors to?  There seems to be very little to go on, and I haven't located any 
decent documentation on kdeinit to help me with command line options that 
might, perhaps, aide in debugging this.  Any help is appreciated because at 
this point, I can't use my X system.
 
Oh, by the way, I joined this mailing list using the e-mail address on the 
message, so replying to the list instead of me directly is ok.
 
Andy
___
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What User Runs Startup Scripts?

2006-01-05 Thread Drew Tomlinson
I'm trying to figure out why the ntop.sh startup script that is 
installed from ports fails to start ntop successfully at boot up but 
works fine when I call it after boot up from root login.  I've included 
the complete console output.  The actual FATAL ERROR is Not root, 
ntop shutting down  OK, why isn't ntop root?  I thought startup 
scripts were called as root?  Suggestions?


Thanks,

Drew

--- BEGIN ---
Starting ntop.
Jan  5 19:51:30 blacksheep ntop[611]:   THREADMGMT[t134615040]: ntop 
RUNSTATE: PREINIT(1)
Jan  5 19:51:30 blacksheep ntop[611]:   THREADMGMT[t134615040]: ntop 
RUNSTATE: INIT(2)

  Processing file /usr/local/etc/ntop/config for parameters...
Thu Jan  5 19:51:30 2006  NOTE: Interface merge enabled by default
Thu Jan  5 19:51:31 2006  Initializing gdbm databases
WARNING: --use-syslog=unknown log facility(''), using default value
Jan  5 19:51:31 blacksheep ntop[611]:   ntop v.3.2 SourceForge .tgz
Jan  5 19:51:31 blacksheep ntop[611]:   Configured on Dec 20 2005 
16:01:25, built on Dec 20 2005 16:05:54.
Jan  5 19:51:31 blacksheep ntop[611]:   Copyright 1998-2005 by Luca Deri 
[EMAIL PROTECTED]
Jan  5 19:51:31 blacksheep ntop[611]:   Get the freshest ntop from 
http://www.ntop.org/
Jan  5 19:51:31 blacksheep ntop[611]:   NOTE: ntop is running from 
'/usr/local/bin'
Jan  5 19:51:31 blacksheep ntop[611]:   NOTE: (but see warning on man 
page for the --instance parameter)
Jan  5 19:51:31 blacksheep ntop[611]:   NOTE: ntop libraries are in 
'/usr/local/lib'

Jan  5 19:51:31 blacksheep ntop[611]:   Initializing ntop
Jan  5 19:51:31 blacksheep ntop[611]:   Checking dc0 for additional devices
Jan  5 19:51:31 blacksheep ntop[611]:   Resetting traffic statistics for 
device dc0
Jan  5 19:51:31 blacksheep ntop[611]:   DLT: Device 0 [dc0] is 1, mtu 
1514, header 14

Jan  5 19:51:31 blacksheep ntop[611]:   Checking dc1 for additional devices
Jan  5 19:51:31 blacksheep ntop[611]:   Resetting traffic statistics for 
device dc1
Jan  5 19:51:31 blacksheep ntop[611]:   DLT: Device 1 [dc1] is 1, mtu 
1514, header 14

Jan  5 19:51:31 blacksheep ntop[611]:   Checking rl0 for additional devices
Jan  5 19:51:31 blacksheep ntop[611]:   Resetting traffic statistics for 
device rl0
Jan  5 19:51:31 blacksheep ntop[611]:   DLT: Device 2 [rl0] is 1, mtu 
1514, header 14
Jan  5 19:51:31 blacksheep ntop[611]:   **ERROR** pcap_open_live(): 
'BIOCSETIF: tun0: Device not configured'
Jan  5 19:51:31 blacksheep ntop[611]:   Please correct the problem or 
select a different interface using the -i flag
Jan  5 19:51:31 blacksheep ntop[611]:   **FATAL_ERROR** Not root, ntop 
shutting down...
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP[t134615040]: ntop caught 
signal 2
Jan  5 19:51:31 blacksheep ntop[611]:   THREADMGMT[t134615040]: ntop 
RUNSTATE: SHUTDOWN(7)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP[t134615040] catching 
thread is MAIN

Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Running threads
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Locking purge mutex 
(may block for a little while)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Locked purge mutex, 
continuing shutdown

Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Continues
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: Start, 1 device(s)
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: End, freed 0
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: Start, 1 device(s)
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: End, freed 0
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: Start, 1 device(s)
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: End, freed 0
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: Start, 1 device(s)
Jan  5 19:51:31 blacksheep ntop[611]:   FREE_HOST: End, freed 0
Jan  5 19:51:31 blacksheep ntop[611]:   PLUGIN_TERM: Unloading plugins 
(if any)

Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Freeing device dc0 (idx=0)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Freeing device dc1 (idx=1)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Freeing device rl0 (idx=2)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Freeing device tun0 (idx=3)
Jan  5 19:51:31 blacksheep ntop[611]:   CLEANUP: Clean up complete
Jan  5 19:51:31 blacksheep ntop[611]:   THREADMGMT[t134615040]: ntop 
RUNSTATE: TERM(8)

Jan  5 19:51:31 blacksheep ntop[611]:   ===
Jan  5 19:51:31 blacksheep ntop[611]:   ntop is shutdown...
Jan  5 19:51:31 blacksheep ntop[611]:   ===


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


Need help switching between two FreeBSD boot drives

2006-01-05 Thread Darren David

hi all-

i've got one i've been tearing my hair out over here, and even after 
finding some information out there, i'm still totally lost. this may 
take a while to explain, so please bear with me.


I've got 2 80GB SATA drives in my FreeBSD machine, which are mapped as 
/dev/ad4 and /dev/ad6. I've got 5_STABLE installed on 1 drive, and my 
plan is to get a working install of 6_STABLE on the other drive, so i 
can take my time to work out the kinks with the upgrade on the 2nd drive 
(it hasn't been straighforward) and be able to switch back to my working 
5_STABLE machine as needed. That's the plan, anyway.


So I followed the general instructions here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#NEW-HUGE-DISK

to clone drive 1 over to drive 2. very cool, no problems, i can pick 
either drive in the bootloader and boot up there. so all is well and 
good until i boot into drive 2 and start the upgrade process. I realize 
the /dev/ad4 and /dev/ad6 are not exactly fixed. It seems almost 
arbitrary which drive ends up mapped as /dev/ad6 and /dev/ad4, and this 
caused me to nearly munge all of the data on the working 5_STABLE 
install before i caught myself. If i boot into drive 1 at boot time, 
everything ends up being mounted at /dev/ad6. If i mount into drive 2 at 
boot time, the same thing happens. Mind you, i /did/ check /etc/fstab to 
ensure that all was well, but i ended up with a weird situation where, 
say, / would be /dev/ad4s1a and all of the other mountpoints were at 
/dev/ad6*. ugh. confusing!


I found this page, which explains the problem /somewhat/:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

but to be completely honest, the concept didn't stick. What i need help 
with, since these drives are exactly the same size and make, is how i 
can do the following:


1) determine the relationship between Drive 1/Drive 2 and ad4/ad6
2) determine exactly which physical drive i am working on at any given 
time, since the /dev node mappings seem to be malleable
3) enable an environment where i can safely and surely boot into either 
drive and know for a fact that the right partitions are mounted ( all of 
the data on all of the partitions aside from / is mirrored, so it's 
practically impossible to tell which drive is which )

4) (bonus points) My bootloader shows the following on boot:

  F1: FreeBSD
  F2: FreeBSD
  F5: Drive 1

a) I've only got 1 FreeBSD install on this drive, so what is F2? It just 
beeps at me when i try it
b) I assume that F5: Drive 1 means that the drive i'm staring at the 
options for is Drive 2, adn that selecting F5 will toggle to Drive 1? 
Just clarifying!


i hope this is an easy one to solve. i look forward to any and all help!

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


Re: PHP5 Error Message

2006-01-05 Thread Matt Emmerton
 I seem to be having a problem with PHP5. Running the following command
 produces some rather strange output.

 $ php -v
 PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
 PHP Warning:  Module 'pcre' already loaded in Unknown on line 0
 PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
 PHP Warning:  Module 'gd' already loaded in Unknown on line 0
 PHP Warning:  Module 'openssl' already loaded in Unknown on line 0
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/local/lib/php/20050922/pdf.so' - Cannot open
 quot;/usr/local/lib/php/20050922/pdf.soquot; in U
 nknown on line 0
 PHP Warning:  Module 'zlib' already loaded in Unknown on line 0
 PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0
 PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
 PHP 5.1.1 (cli) (built: Jan  5 2006 18:44:48)
 Copyright (c) 1997-2005 The PHP Group
 Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

 It never produced this output before. What could be causing it and how do
 I correct it?

Take a look at $PREFIX/etc/php.ini and $PREFIX/etc/php/extensions.ini.  You
may have duplicate module entries.

--
Matt Emmerton

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


Re: Need help switching between two FreeBSD boot drives

2006-01-05 Thread Matt Emmerton
 hi all-

 i've got one i've been tearing my hair out over here, and even after
 finding some information out there, i'm still totally lost. this may
 take a while to explain, so please bear with me.

 I've got 2 80GB SATA drives in my FreeBSD machine, which are mapped as
 /dev/ad4 and /dev/ad6. I've got 5_STABLE installed on 1 drive, and my
 plan is to get a working install of 6_STABLE on the other drive, so i
 can take my time to work out the kinks with the upgrade on the 2nd drive
 (it hasn't been straighforward) and be able to switch back to my working
 5_STABLE machine as needed. That's the plan, anyway.

 So I followed the general instructions here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#NEW-HUGE-DISK

 to clone drive 1 over to drive 2. very cool, no problems, i can pick
 either drive in the bootloader and boot up there. so all is well and
 good until i boot into drive 2 and start the upgrade process. I realize
 the /dev/ad4 and /dev/ad6 are not exactly fixed. It seems almost
 arbitrary which drive ends up mapped as /dev/ad6 and /dev/ad4, and this
 caused me to nearly munge all of the data on the working 5_STABLE
 install before i caught myself. If i boot into drive 1 at boot time,
 everything ends up being mounted at /dev/ad6. If i mount into drive 2 at
 boot time, the same thing happens. Mind you, i /did/ check /etc/fstab to
 ensure that all was well, but i ended up with a weird situation where,
 say, / would be /dev/ad4s1a and all of the other mountpoints were at
 /dev/ad6*. ugh. confusing!

 I found this page, which explains the problem /somewhat/:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

 but to be completely honest, the concept didn't stick. What i need help
 with, since these drives are exactly the same size and make, is how i
 can do the following:

 1) determine the relationship between Drive 1/Drive 2 and ad4/ad6
 2) determine exactly which physical drive i am working on at any given
 time, since the /dev node mappings seem to be malleable

Drive 0/Drive 1 always refer to the same devices, as FreeBSD ignores the
BIOS mappings (which may change, as outlined in the above docs).  These
drive numbers are assigned based on physical controller/device numbering and
addressing, and thus won't change unless you physically change device IDs or
move cables around.

However, once booted, FreeBSD, however, may assign different controller/disk
IDs to the physical devices, depending on what order the devices are
detected.  Usually this is static, but in some cases, it is not.

 3) enable an environment where i can safely and surely boot into either
 drive and know for a fact that the right partitions are mounted ( all of
 the data on all of the partitions aside from / is mirrored, so it's
 practically impossible to tell which drive is which )

Compile custom kernels on both systems that contain options ATA_STATIC_ID.
This will force the FreeBSD device names to always map to the same physical
controller/drive number.

 4) (bonus points) My bootloader shows the following on boot:

F1: FreeBSD
F2: FreeBSD
F5: Drive 1

 a) I've only got 1 FreeBSD install on this drive, so what is F2? It just
 beeps at me when i try it

F2 represents a slice (in DOS terms, partition) on Drive 0 that is marked
bootable. The reason you get a beep is because there is no boot loader on
that slice.

 b) I assume that F5: Drive 1 means that the drive i'm staring at the
 options for is Drive 2, adn that selecting F5 will toggle to Drive 1?

Drivers are numbered from 0.  So F1/F2 refer to bootable slices on Drive 0.


Regards,
--
Matt Emmerton

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


how to tell aspell -c to ignore _, , , and other bytes

2006-01-05 Thread Gary Kline

People,

You may remember that I'm trying to scan  400 pages from a text.
Things work much better using he latest gocr and a greatly
enlarged JPEG image, tweaked with xv.  I'm almmost to the point
where I can use aspell -c to correct  misinterpreted text.  The
gotcha is that the sample jpg file I  have are filled with
improper non-characters, including _, ', , along with
punctuation, and random integers.  Is there any way to tell 
aspell to look at (say) S_wiss and guess Swiss, an6yle and guess 
angle, n:otio:1 and guess motion, and di.5tnnce and guess distance?

Because the delimiters are spaces, it is impossible to have
aspelll recgnize things like i f for if, and so on.  But gotta
say that version 0.40is vastly bettr than 0.37.

thanks much,

gary







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

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


wirless ap detection utility

2006-01-05 Thread Imran Imtiaz
which is the best wireless ap detection and signal strength utility cause i 
have installed bsd-aitool and used its utility dstumber which gives me the 
following error error: unable to ioctl device socket: Operation now in progress
 so is there any other utility for this??

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


internet on two lan cards

2006-01-05 Thread Imran Imtiaz
I have three lan cards on my system on which two lan cards have the alive ip 
now what i want is that how can i gave them different gateways cause i want 
some traffic to be passed from one lan card (one internet connection of isp) 
and some other traffic to be passed from other lan card (internet of other 
companies isp) how is it possibe this is some sort of load balancing ?

regards,
imran imtiaz

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


Re: libjpeg

2006-01-05 Thread Beech Rintoul
On Thursday 05 January 2006 06:18 pm, Daniel O'Connor wrote:
 [redirected to freebsd-questions, a more appropriate place]

 On Fri, 6 Jan 2006 12:24, Beech Rintoul wrote:
  I'm trying to compile a program from source that needs libjpeg6b. I have
  searched and can't find it . I have jpeg6b installed. Can someone point
  me to the correct path?

 Assuming you installed libjeg from ports (which you really really should
 have) it will be in /usr/local. So you need to add -I/usr/local/include to
 CFLAGS and -L/usr/local/lib to LDFLAGS in a Makefile.

Thank you, I found it. Think it's time for a break.

Beech

-- 

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://akparadise.byethost33.com
---













pgpXVPejUxhr2.pgp
Description: PGP signature


Re: Flash Disk

2006-01-05 Thread Teilhard Knight

On 2006-01-05 15:28, Teilhard Knight [EMAIL PROTECTED] wrote:

Can someone tell me, or point to me where I can find, how to
mount a Flash Disk in release 6.0? I have Googled, but I simply
cannot find the right way.  An icon to mount and unmount on the
desktop would be nice. Thanks.


When I plug my USB JetFlash disk, the following appears in
/var/log/messages (and the system console, but I mostly use X11
these days):

   umass0: USB Flash Disk, rev 2.00/2.00, addr 2
   da0 at umass-sim0 bus 0 target 0 lun 0
   da0:  Removable Direct Access SCSI-2 device
   da0: 1.000MB/s transfers
   da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)



I get something similar too. The Device Node is created all right.



When you plug the USB flash disk in, /dev/da0 (or another daX
device) is automatically created.  If the flash disk already has
partitions (they usually come with a single FAT partition),
you'll also see da0s1 or something similar:

   # ls -l /dev/da*
   crw-r-  1 root  operator  -   4,  44 Oct 16 17:38 /dev/da0



Yes, I also get something similar to this.



If you see only da0, it's possible that the 'raw disk' is
formatted using FAT, without a real BIOS-style partition, which
means that you should be able to 'mount' it with something like:

   # /sbin/mount_msdosfs /dev/da0 /mnt



I do not only see da0 above and this command results in: mount_msdosfs:
/dev/da0: Invalid argument



That's it.  Copy files to and from the /mnt directory.  When you
are done, make sure you unmount the flash disk before removing
it.  If you don't, chances are your kernel will panic when it
discovers the physical flash disk is gone.

   # umount /mnt

Now, it's safe to pull the flash disk out.


You told me how to mount my flash disk in case the command ls -l /dev/da0
results incomplete or I have the disk raw formatted. But what should I do if
I get all similar to what you get? In other words, how do you mount your
flash disk?

Thanks for your feedback.

Teilhard.

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


Ipf problem

2006-01-05 Thread Jacob S
Hello list,

I'm having a problem setting up ipf on a FreeBSD server and can't
figure out where I'm going wrong. I copied my ipf.rules file from
another server I have where ipf is working great. But after I
customized the rules to this server it is filling /var/log/messages
with lines like the following:

Jan  4 15:15:21 pikeman ipmon[222]: 15:15:21.465822 2x em0 @0:33 b
198.32.64.12,53 - 65.19.150.68,62097 PR udp len 20
314 IN Jan  4 15:15:21 pikeman ipmon[222]: 15:15:21.492578 em0 @0:33 b
216.200.145.35,25 - 65.19.150.68,57210 PR tcp len 20 60 -AS IN Jan  4
15:15:21 pikeman ipmon[222]: 15:15:21.505821 em0 @0:33 b
205.188.156.249,25 - 65.19.150.68,57209 PR tcp len 20 48 -AS IN 

The lines scroll by faster than I can read them, if I tail the logfile.
The blocked packets in this case are coming from standard ports to
non-standard ports. Doing a reverse lookup on the ips, it would seem
that my server has initiated the transfer and the other servers are
simply replying. (I deduce that from the blocked ips because they belong
to hostnames that I would not expect to be flooding my server. Namely,
the first ip is for l.root-servers.net.)

I've attached the ipf.rules file to this e-mail. A uname -r on the
server returns 5.4-RELEASE-p4. Can anybody see what I'm doing wrong? 

TIA,
Jacob


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

(no subject)

2006-01-05 Thread Imran Imtiaz





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


Fwd: 6.0-REL java panics

2006-01-05 Thread guru

Hi,

I've sent the attached msg to [EMAIL PROTECTED] with no luck,
maybe it is more a system problem and not only Java related?

matthias

- Forwarded message from [EMAIL PROTECTED] -

From: [EMAIL PROTECTED]
Date: Wed, 4 Jan 2006 16:09:55 +0100
To: [EMAIL PROTECTED]
Subject: 6.0-REL  java  panics


Hi,

I recently switched from 5.4-REL to 6.0-REL on a new notebook
http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=859
and all went fine; the nearly only thing to solve are some PANIC's
from time to time (not always) when I launch some application written
in Java, and originally for Linux and not for FreeBSD; the application
is the official dictionary of the Real Academía Española and brings
it's own Java engine with it; there is a foreground engine, called
'lanza' (English: starter) which is a normal a.out:

/usr/local/DRAE/lanza: ELF 32-bit LSB executable, Intel 80386, version 1 
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

this itself starts the dictionary as a Java application and establishes
a socket to receive Spanish words, send them over to the Java application
which display them in a X11 window; it seems that it launches many
threats for this:

$ ps -ax | fgrep java
31052  ??  I  0:01,25 [java]
31075  ??  S  0:00,04 [java]
31076  ??  S  0:01,74 [java]
31077  ??  S  0:04,91 [java]
31078  ??  S  0:08,44 [java]
31079  ??  S  0:13,52 [java]
31080  ??  I  0:00,00 [java]
31081  ??  I  0:00,00 [java]
31082  ??  I  0:00,09 [java]
31087  ??  I  0:00,20 [java]
31088  ??  I  0:00,02 [java]
31089  ??  S  0:00,86 [java]
31093  ??  I  0:00,00 [java]
31094  ??  S  0:52,19 [java]
31095  ??  I  0:00,01 [java]
31096  ??  I  0:00,00 [java]
34291  p5  R+ 0:00,00 fgrep java

and all of them have nearly the same opened files like the lsof example
I'm attaching below; so a Java expert will see what kind of Java engine
it is; a strings in /usr/local/DRAE/jrelinux/bin/i386/native_threads/java
shows that it is the version 'Blackdown-1.3.1-02b-FCS'

as I said, sometimes the launch of this crashes the system, not often
but it sucks; on the older notebook with 5.4-REL it was not so often
and I lived with it; btw: that an application crashes sometimes is normal
(should not, but it happens with our software as well), but that it
PANICs the system is not normal...

What can I do? Thx for an idea

matthias

PS: If someone wants to have a look into the software, I could provide
the iso image of the CD;

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL)
D-82041 Oberhaching, Gruenwalder Weg 28g
Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211
http://www.sisis.de/~guru/


COMMAND   PID USER   FD   TYPE DEVICE  SIZE/OFFNODE NAME
java31052 guru  cwd   VDIR  0,106  1024  311008 /usr/local/DRAE
java31052 guru  rtd   VDIR  0,101   512   2 /
java31052 guru  txt   VREG  0,106 21133  829927 
/usr/local/DRAE/jrelinux/bin/i386/native_threads/java
java31052 guru  txt   VREG  0,106 71928  329805 
/usr/compat/linux/lib/ld-2.3.2.so
java31052 guru  txt   VREG  0,106 11966 1367306 
/usr/compat/linux/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
java31052 guru  txt   VREG  0,106 70876  329860 
/usr/compat/linux/lib/libpthread-0.10.so
java31052 guru  txt   VREG  0,106 54036  829963 
/usr/local/DRAE/jrelinux/lib/i386/native_threads/libhpi.so
java31052 guru  txt   VREG  0,106   3596004  829967 
/usr/local/DRAE/jrelinux/lib/i386/client/libjvm.so
java31052 guru  txt   VREG  0,106  9184  329828 
/usr/compat/linux/lib/libdl-2.3.2.so
java31052 guru  txt   VREG  0,106   1212940  329818 
/usr/compat/linux/lib/libc-2.3.2.so
java31052 guru  txt   VREG  0,106  3416  329807 
/usr/compat/linux/lib/libBrokenLocale-2.3.2.so
java31052 guru  txt   VREG  0,106 70348  329834 
/usr/compat/linux/lib/libnsl-2.3.2.so
java31052 guru  txt   VREG  0,106132596  329832 
/usr/compat/linux/lib/libm-2.3.2.so
java31052 guru  txt   VREG  0,106 72287  829958 
/usr/local/DRAE/jrelinux/lib/i386/libverify.so
java31052 guru  txt   VREG  0,106168608  829971 
/usr/local/DRAE/jrelinux/lib/i386/libjava.so
java31052 guru  txt   VREG  0,106 87200  829961 
/usr/local/DRAE/jrelinux/lib/i386/libzip.so
java31052 guru  txt   VREG  0,106  13830259  829994 
/usr/local/DRAE/jrelinux/lib/rt.jar
java31052 guru  txt   VREG  0,106   2771727  829988 
/usr/local/DRAE/jrelinux/lib/i18n.jar
java31052 guru  txt   VREG  0,106 86267  829990 
/usr/local/DRAE/jrelinux/lib/sunrsasign.jar
java31052 guru  txt   VREG  0,106  5140  330130 
/usr/compat/linux/usr/lib/gconv/ISO8859-1.so
java31052 guru  txt   VREG  0,106  31202800  331447