Re: UFS2 limits

2008-11-09 Thread Ian
On Sun, 9 Nov 2008 13:10:46 Jeremy Chadwick wrote:
 On Sun, Nov 09, 2008 at 01:40:51AM +, [EMAIL PROTECTED] wrote:
  Hi,
  I have a FreeBSD server that has about 10,500 subdirectories within a
  single directory.
  This number will keep rising and I assume UFS2 has a limit to the number
  of sub-directories in a single directory - can anyone tell me what it is?

 As far as I know, there is no such limit on the number of files/dirs
 inside of a directory.

 I don't want to change the topic of discussion, but I *highly* recommend
 you ***stop*** whatever it is you're doing that is creating such a
 directory structure.  Software which has to iterate through that
 directory using opendir() and readdir() will get slower and slower as
 time goes on.

 If this is something you've written or have control over or can work
 with engineers in regards to, I recommend you change your directory
 naming scheme to have separate subdirectories with the first 2 or 3
 letters of the directory you wish to create.  E.g.:

 /some/place/00/00ilikezeros/*
 /some/place/01/01binaryheaven/*
 /some/place/aa/aardvarks/*
 /some/place/ab/abuse/*
 /some/place/ac/actuary/*
 ...
 /some/place/xy/xylophones/*

 You get the point.

 Traversing this structure is much more efficient, and requires very
 little code change on your part.  Those who run nameservers that host
 many zones, for example, use this structure to ensure the daemon doesn't
 take 32498231 years to start up.

  What about ZFS?
 
  At some point I'll have to re-arrange things so that I have a deeper
  directory structure, just wondering when I'll hit the limit so I can plan
  in advance :-)

 What baffles me is why you're looking at this problem from a  how can
 the filesystem solve this engineering mistake I made for me standpoint,
 rather than how can I solve this engineering mistake I made so that it
 doesn't impact the filesystem.  Very strange.  Sometimes looking at
 things in a different light makes all the difference.

 Hope this helps.

 P.S. -- I hope this mail makes it to you, because your From line is
 [EMAIL PROTECTED] (I'll be surprised if your account name really is
 that!).


Thanks for that Jeremy. I didn't invent this structure, but I daresay I can 
either modify it or get the original writer to do that. I never really gave 
it a thought before now - it was the system I was given to work with and it's 
worked fine so far, except when I try to list the contents of the directory - 
that takes ages!
All the folders are 7 digit numbers and we are up to approx. 0010500 entries 
(ie subdirs) so far. 
I guess it will just be a matter of experimenting to find the optimum number 
of sub-sub-directories per sub-directory :-/

Oh, and yes, that email address does work - I use it for mailing lists and 
other stuff where I'm likely to get spammed - it's ironic really :-)

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Re: UFS2 limits

2008-11-09 Thread Ian
On Sun, 9 Nov 2008 22:46:18 Matthew Seaman wrote:
 Jeremy Chadwick wrote:
  I don't want to change the topic of discussion, but I *highly* recommend
  you ***stop*** whatever it is you're doing that is creating such a
  directory structure.  Software which has to iterate through that
  directory using opendir() and readdir() will get slower and slower as
  time goes on.

 With the implementation of UFS_DIRHASH the practical limit on the
 size of directories is now a great deal larger. In particular
 the slow down caused by linear search through the contents has been
 eliminated.  See ffs(7).  10,000 files or sub-directories, whist
 not a particularly elegant setup, is actually not unworkable
 nowadays.

Well that's certainly been my experience so far. Still, I now know we will run 
into problems when we hit the 32,768 limit, so I'll start designing something 
better.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


How to re-start freebsd-update?

2009-01-22 Thread Ian
Hi,
I've started upgrading a machine from 7.0 to 7.1 using freebsd-update. It's 
the first time I've upgraded to a new os version with it (always used cvsup/ 
make world  mergemaster before).

All was going well until it came to merging the new  old conf files. I wasn't 
quite sure what to do when asked to edit some of the files (it's not the same 
as mergemaster), so I did what I thought was best (having made a backup 
of /etc first!)

Anyway, once that was finished, it then showed me the resulting merged files 
and asked if each one looked reasonable. I answered yes to the first one, but 
with the second file wasn't right, so I answered no - assuming it would give 
me the chance to edit the file again (like mergemaster does). 

Instead it just dumped me back at the command prompt with no indication as to 
how to proceed from there.

I tried running the freebsd-update install command again, but it said no 
updates are available to install, run freebsd-update fetch first.

Is there some way I can resume the upgrade process? Or do I need to do a 
rollback and then fetch  update again?

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Re: How to re-start freebsd-update?

2009-01-23 Thread Ian
On Fri, 23 Jan 2009 12:32:39 Ian wrote:
 Hi,
 I've started upgrading a machine from 7.0 to 7.1 using freebsd-update. It's
 the first time I've upgraded to a new os version with it (always used
 cvsup/ make world  mergemaster before).

 All was going well until it came to merging the new  old conf files. I
 wasn't quite sure what to do when asked to edit some of the files (it's not
 the same as mergemaster), so I did what I thought was best (having made a
 backup of /etc first!)

 Anyway, once that was finished, it then showed me the resulting merged
 files and asked if each one looked reasonable. I answered yes to the first
 one, but with the second file wasn't right, so I answered no - assuming it
 would give me the chance to edit the file again (like mergemaster does).

 Instead it just dumped me back at the command prompt with no indication as
 to how to proceed from there.

 I tried running the freebsd-update install command again, but it said no
 updates are available to install, run freebsd-update fetch first.

 Is there some way I can resume the upgrade process? Or do I need to do a
 rollback and then fetch  update again?

 Cheers,

Well I ended up doing a rollback and then ran the update again. It didn't try 
to download all the updates again, just installed them again, so it wasn't so 
painful. Now I understand how to use the conf file merging part, it's all 
very easy and seems to have worked correctly - very nice!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


named startup problems upgrading from 7.1p4 to 7.1p5 or 7.1p6

2009-06-28 Thread Ian
Hi, I've been meaning to sort this out since the release of 7.1p5, but only 
just got around to it - I have an installation of 7.1 that runs bind and has 
been working fine up until I tried to update the system to 7.1p5 (using 
freebsd-update). As soon as I apply the update  reboot, named loads but the 
startup script hangs.

If I press Ctrl+C, the system continues to boot. If I then run /etc/rc.d/named 
start, named starts, but again the script hangs. I can do DNS lookups while 
named is running, so it seems to be functioning ok.
I tried adding various echo statements to /etc/rc.d/named and found that the 
script seems to run right through. The hang occurs where /etc/rc.subr echoes 
out Starting named after the named script has run and that's where things 
seem to stop! Nothing else that is started by the rc.d scripts hangs, so I'm 
guessing  /etc/rc.subr is ok.

I did a diff of /etc/rc.d/named before  after the upgrade from p4 to p5 (or 
p6 which has the same issue) and there are no changes to the file.
Nothing seems to be logged anywhere that shows a problem, so I really have no 
idea what to check next.

The only named entry in rc.conf is named_enable=YES. Doing a freebsd-update 
rollback restores normal operation and given that bind actually loads 7 seems 
to work apart fromthe hanging script, I suspect there's nothing wrong with my 
bind configuration. 

Any suggestions?

Cheers,
--
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Re: named startup problems upgrading from 7.1p4 to 7.1p5 or 7.1p6

2009-06-28 Thread Ian
On Sun, 28 Jun 2009 21:43:49 Matthew Seaman wrote:
 Ian wrote:
  Hi, I've been meaning to sort this out since the release of 7.1p5, but
  only just got around to it - I have an installation of 7.1 that runs bind
  and has been working fine up until I tried to update the system to 7.1p5
  (using freebsd-update). As soon as I apply the update  reboot, named
  loads but the startup script hangs.
 
  If I press Ctrl+C, the system continues to boot. If I then run
  /etc/rc.d/named start, named starts, but again the script hangs. I can do
  DNS lookups while named is running, so it seems to be functioning ok.
  I tried adding various echo statements to /etc/rc.d/named and found that
  the script seems to run right through. The hang occurs where /etc/rc.subr
  echoes out Starting named after the named script has run and that's
  where things seem to stop! Nothing else that is started by the rc.d
  scripts hangs, so I'm guessing  /etc/rc.subr is ok.
 
  I did a diff of /etc/rc.d/named before  after the upgrade from p4 to p5
  (or p6 which has the same issue) and there are no changes to the file.
  Nothing seems to be logged anywhere that shows a problem, so I really
  have no idea what to check next.
 
  The only named entry in rc.conf is named_enable=YES. Doing a
  freebsd-update rollback restores normal operation and given that bind
  actually loads 7 seems to work apart fromthe hanging script, I suspect
  there's nothing wrong with my bind configuration.
 
  Any suggestions?

 Are you sure it's not the thing which starts immediately *after* named that
 is hanging?  Try running:

# rcorder /etc/rc.d/* /usr/local/etc/rc.d/*

 and see what should come next.  Note this command shows the order in which
 all of the rc scripts in those directories would run, not just the ones you
 have enabled in rc.conf, so you may well have to skip a few lines until you
 get to something that is enabled.

   Cheers,

   Matthew

Well the fact that if I run  /etc/rc.d/named manually after the system has 
booted, the script also hangs suggests it's not the next process
I have just check however  ntpdate is the next one in the list to be started 
and that does start correctly - you can see it report the clock being 
adjusted. Also, when you do a Ctrl+C to break the named script on bootup, it 
says Script /etc/rc.d/named interrupted.

Something I've just realised is that named stays loaded even when you 'break' 
the script. on bootup and DNS lookups work (I didn't think that was the case 
originally, but it is).

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Re: named startup problems upgrading from 7.1p4 to 7.1p5 or 7.1p6

2009-07-13 Thread Ian
On Sun, 28 Jun 2009 20:54:26 Ian wrote:
 Hi, I've been meaning to sort this out since the release of 7.1p5, but only
 just got around to it - I have an installation of 7.1 that runs bind and
 has been working fine up until I tried to update the system to 7.1p5 (using
 freebsd-update). As soon as I apply the update  reboot, named loads but
 the startup script hangs.

 If I press Ctrl+C, the system continues to boot. If I then run
 /etc/rc.d/named start, named starts, but again the script hangs. I can do
 DNS lookups while named is running, so it seems to be functioning ok.
 I tried adding various echo statements to /etc/rc.d/named and found that
 the script seems to run right through. The hang occurs where /etc/rc.subr
 echoes out Starting named after the named script has run and that's where
 things seem to stop! Nothing else that is started by the rc.d scripts
 hangs, so I'm guessing  /etc/rc.subr is ok.

 I did a diff of /etc/rc.d/named before  after the upgrade from p4 to p5
 (or p6 which has the same issue) and there are no changes to the file.
 Nothing seems to be logged anywhere that shows a problem, so I really have
 no idea what to check next.

 The only named entry in rc.conf is named_enable=YES. Doing a
 freebsd-update rollback restores normal operation and given that bind
 actually loads 7 seems to work apart fromthe hanging script, I suspect
 there's nothing wrong with my bind configuration.

 Any suggestions?

 Cheers,
 --
 Ian
 gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc

I've never really solved this problem - even running with the default 
named.conf as a simple caching server didn't change anything.
Instead, I rolled back to 7.1p4  then upgraded to 7.2(p2) and bind works just 
fine.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


FreeBSD NFS server Linux clients

2007-12-04 Thread Ian
I'm trying to get some opensuse 10.3 clients to access nfs shares on a FreeBSD 
5.5 server. It works fine most of the time, but every so often when using big 
programs like openoffice  firefox, the program will stop responding for a 
couple of minutes.
After doing some googling, I enabled lockd  statd enabled on the FBSD 
server - before I did that, those apps wouldn't even start without massive 
delays. I still get these occasional lockup while using the apps however. 
Interestingly, other apps seem to be able to access the nfs shares even while 
the 'big' apps have stopped responding.

Just wondering if anyone has any idea how to fix or even troubleshoot this 
problem?

My rc.conf on the server looks like:
portmap_enable=YES
rpcbind_enable=YES
rpc_lockd_enable=yes
rpc_statd_enable=yes
nfs_server_enable=YES
nfs_client_enable=yes
mountd_flags=-r

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Error building net-snmp port

2009-09-09 Thread Ian
I've been building a new 7.2-RELEASE server, putting it into service on 
Friday. I did a portsnap  updated all the ports to the latest version, but 
was unable to upgrade /usr/ports/net-mgmt/net-snmp - see below for output:

===  Building for net-snmp-5.4.2.1_5
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers
making all 
in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup
/bin/sh ../../libtool --mode=compile 
cc -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib   
-O -pipe -Ufreebsd7 -Dfreebsd7=freebsd7  
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include  
-I/usr/local/lib/perl5/5.8.9/mach/CORE -c -o 
mibII/tcpTable.lo mibII/tcpTable.c
 
cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -O 
-pipe -Ufreebsd7 -Dfreebsd7=freebsd7 
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/local/lib/perl5/5.8.9/mach/CORE -c 
mibII/tcpTable.c  -fPIC -DPIC -o mibII/.libs/tcpTable.o
mibII/tcpTable.c: In function 'tcpTable_load':
mibII/tcpTable.c:748: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:750: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:750: error: invalid application of 'sizeof' to incomplete 
type 'struct xinpgen'
mibII/tcpTable.c:754: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:758: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:763: error: dereferencing pointer to incomplete type
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup.
*** Error code 1

I tried everything I could think of to fix it - removed CPUTYPE 
from /etc/make.conf, ran make config  de-selected IPV6 support, did a make 
dist clean and let it fetch the source file again, did a make deinstall but 
it still stopped at the same point.

It was installed as a dependency of nut.

Any idea how to fix this?

Cheers,
Ian


-- 
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Cron Mailing

2004-05-13 Thread Ian Barnes
Hi,

I am trying to find out if something is possible. On our servers we would
like all mail from cron not to come from [EMAIL PROTECTED] but rather from say
[EMAIL PROTECTED]

Is this possible? Am i making sense :P ??

Thanks

Ian

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


RE: Cron Mailing

2004-05-13 Thread Ian Barnes
Hi,

Thanks for the reply. Yes we want cron to be run as root. Okay, we are
running exim, so I will see what i can do.

Thanks

Ian

 -Original Message-
 From: Matthew Seaman [mailto:[EMAIL PROTECTED]
 Sent: 13 May 2004 01:16 PM
 To: Ian Barnes
 Cc: [EMAIL PROTECTED]
 Subject: Re: Cron Mailing


 On Thu, May 13, 2004 at 12:51:34PM +0200, Ian Barnes wrote:
  Hi,
 
  I am trying to find out if something is possible. On our
 servers we would
  like all mail from cron not to come from [EMAIL PROTECTED] but
 rather from say
  [EMAIL PROTECTED]

 I assume you still want the jobs to be run by root though, otherwise
 you could just use the 'ian' account's crontab file.

  Is this possible? Am i making sense :P ??

 Sure.  'root' always used to be special cased so that emails from
 there don't go through address rewriting.  But since sendmail-8.10
 that's no longer the case.  Just use the normal genericstable
 mechanisms to rewrite the sender address. Read through the bits of
 /usr/share/sendmail/cf/README that deal with genericstable first, but
 essentially what you need is:

 i) Make sure your /etc/mail/`hostname`.mc file contains:

 FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl

if not, add it to the .mc file and rebuild sendmail.cf and
restart sendmail in the usual way:

 # cd /etc/mail
 # vi `hostname`.mc
 # make all install restart-mta

ii) Edit the /etc/mail/genericstable file to set up the e-mail
address mappings you need.  That will be, minimally:

 rootian

and then process that into the .db hash format sendmail will
read:

 # make

   iii) That's all you need to do.  Send some e-mails as root to test.

 Nb. this rewrites all e-mail from [EMAIL PROTECTED], not just the stuff
 emitted by cron. If you want to do that, it's going to be much harder
 to achieve.

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


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


pppd auth-up

2004-05-21 Thread Ian Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
I've been using pppd on my 5.2 system. I setup a script to run ntpdate and a 
couple of oher things when I connect to my ISP in /etc/ppp/auth-up, but it 
doesn't appear to run.
Just in case it was a timing problem I added a sleep 20 line, but that doesn't 
make any difference.
A listing of the file looks like:

- -- -rwxr-xr--  1 root  wheel   265 May 21 17:30 auth-up
and it's contens are:
#!/bin/sh
#Perform these actions whenever ppp connects
/bin/sleep 20
#Synchronise to network time
/usr/sbin/ntpdate augean.eleceng.adelaide.edu.au
#Keep synchronised while online
/usr/sbin/ntpd

#Update the port vunerability database
/usr/local/bin/portaudit -F

ntpd never runs and there are no entries in /var/log/messages to show ntpdate 
being run either.
Does auth-up work for anyone else? Are my file permissions wrong perhaps?
The sript runs correctly if I run it as root.

Cheers,
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFArbxRfITqkXhImmIRAulhAJ9Rd9Oj5rbLDoZHctRbPilI8VoEVgCgkD0H
m+R2f+gX8n7QvNd0rO7OHcM=
=05hM
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compatibility Question's

2004-06-02 Thread Ian Watson
Hi

I have been more and more attentive to your product as I have had enormous trouble 
installing Linux and it all boils down to two compaitibilty questions.

I have tried all major brands of Linux and to date I can only get text interface 
Gentoo and Linspire to work (Linspire works but doesn't support my USB Broadband 
adapter)

Surprsingly Mandrake 10 fatal crashed so I thought to have a second look at your 
offering.

The bug bear seems to be my Hercules 3d Prophet 4000XT, it's a good card, uses less 
resources than other's but is less supported than other's.   I have the Kyro drivers 
for Linux but not working!

The second problem is my Speedtouch 330, I coded all the scripts for it and Linspire 
does not have GCC.

So, before I go too much into this, will FreeBSD work on my machine?

Ian

Pentium III 600E
384MB 100MHZ SD-RAM
Twin Fujitsu HDD's 10GB+6GB
Hercules AGP Prophet 4000XT
Crystal ISA Sound (will chnge to PCI)
Fast Ethernet PCI Card
Speedtouch 330 USB BB Modem (not router)

XP sitting on 6GB with 10GB in front nigh on empty.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sending a message to another computer on the network

2004-06-06 Thread Ian Smith
On Sat, 5 Jun 2004 [EMAIL PROTECTED] wrote:

  I'm on a FreeBSD 4.10-STABLE machine on 217.209.211.x ,
  and would like to send a message to Win-box ( on the same network, but not my 
  machine ) that's filling up my  httpd-access.log with junk.

Yes, these log-bombs are a pain, making it difficult (and slow) to scan
webserver logs with, say, less .. I had to write a script run hourly to
clean these out of our main apache and several vhost logs.

How can you be sure that they're coming from a Windows box, though?

  The only thing I know is his IP-adress.
  Is this possible ? If it is, how.
  Or do I have to block his IP ?

Not much use if it changes, as you say yourself later .. best just send
a few of these log entries, with your later list of times received, to
your/his ISP asking for some action to hassle the (l)user concerned.

  The junk I receive in my log looks like this :
  -
  httpd-error.log :
  snip [Sat Jun 05 14:13:43 2004] [error] [client 217.209.211.183] request 
  failed: URI too long (longer than 8190)

Yes, they're all around 8300 bytes here, obvious buffer-overflow fodder,
though I don't know which webserver/s are targetted. Some days we get
between 10-20 per day from a range of IPs in the north-east Asia region,
where it's almost never any use trying to contact the ISPs concerned.

  -
  httpd-access.log :
  snip
  217.209.211.183 - - [05/Jun/2004:14:11:28 +0200] SEARCH /\x90\x02\xb1\
  /snip
  and the last line ending with :
  \x90\x90\x90\x90 414 391 - -
  

Them's the ones.  You're in a much better position than we are to stop
these, being (at least apparently) from IPs of your own ISP.

I'm unsure whether these are real attack attempts by some worm, or are
just designed as log bombs.  Either way, they got me scriptin' .. email
me (anyone) if you could use my apache.logclean sh script.  It's a bit
heavy-duty (having to stop apache briefly to clean logs) but has made
maintenance easier here, and kept log sizes down by up to 150K per day.

Cheers, Ian

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


x windows

2003-09-13 Thread Ian Todd
I have a gforce 2 mx 400 and trying to run x windows. I have
downloaded and installed the latest drivers for it and i am still
getting the same error message before i installed it. what could the
problem be the error is:

Fatal server error:
no screens found

Im running freebsd in vmware.

Regards
___
Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: x windows

2003-09-13 Thread Ian Todd
after fbsd boots i install the vmware tools and it still doesnt help.
any other idea?

On 13 Sep 2003 11:59:59 +0200 sebastian ssmoller
([EMAIL PROTECTED]) wrote:

hi,

On Sat, 2003-09-13 at 11:46, Ian Todd wrote:
 I have a gforce 2 mx 400 and trying to run x windows. I have
 downloaded and installed the latest drivers for it and i am still
 getting the same error message before i installed it. what could
the
 problem be the error is:

 Fatal server error:
 no screens found

 Im running freebsd in vmware.

as far as i know vmware does not pass ur video card to the gast OS
but
simulates a different one.  so ur fbsd will not see any geforce but
the
vmware svga card.

i guess u will have to install the vmware tools which will create a
XF86Config template if i remember correctly (incl. correct card).

hope that helps
seb


 Regards

__
_
 Cool Connection, Cool Price, Internet Access for R59 monthly @
WebMail
 http://www.webmail.co.za/dialup/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]



___
Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple USB ethernet devices on one usb port (with hub)?

2003-09-24 Thread Ian Dowse
In message [EMAIL PROTECTED], Andrew Thomas 
writes:
I've got an older Dell Latitude (CPi) laptop that I'm trying to
setup as a router/firewall/??? machine.  I'm using 5.1-R with a
compiled kernel that I'm slowly reducing to the minimum I need.

I decided to try using usb ethernet adapters since they seemed
so easy.  However, the laptop only has one usb port.  So, I
picked up a cheap 4 port hub so I could connect my two adapters
(both netgear FA120 devices).

The boot log shows that both devices are recognized.  However,
only one gets configured properly (it gets an address and
actually works).  The other adapter can't be configured (at
boot time or on the command line).  This is whether the devices
are plugged in before booting or after.  If I try to remove
either of them after booting I usually get a kernel panic and
a reboot.

Am I trying to do something that can't be done (do I need two
physical ports on the machine for this to work)?  Is this
merely a bug in 5.1 that would be fixed if I go to 'CURRENT'?
Does anyone have any comments?  For completeness I'm appending
the relevant lines from my config.

Any help would be appreciated.

There is definitely one problem that stops you from using two
identical USB ethernet devices, but I don't know if it's the only
one: the axe driver uses a static (global) stucture for some
per-interface data, so it clobbers this state with two interfaces.

I had said to Bill Paul (cc'd) that I would suggest a patch to fix
this, but I never managed to get my two USB ethernet interfaces in
the same place at the same time to test them! Would you be able to
try out the following patch to see if it helps? Just apply it in
/usr/src and rebuild the kernel.

Thanks,

Ian

Index: sys/dev/usb/if_axe.c
===
RCS file: /dump/FreeBSD-CVS/src/sys/dev/usb/if_axe.c,v
retrieving revision 1.7
diff -u -r1.7 if_axe.c
--- sys/dev/usb/if_axe.c24 Aug 2003 17:55:54 -  1.7
+++ sys/dev/usb/if_axe.c24 Sep 2003 23:26:45 -
@@ -118,8 +118,6 @@
{ 0, 0 }
 };
 
-Static struct usb_qdat axe_qdat;
-
 Static int axe_match(device_ptr_t);
 Static int axe_attach(device_ptr_t);
 Static int axe_detach(device_ptr_t);
@@ -521,8 +519,8 @@
ifp-if_baudrate = 1000;
ifp-if_snd.ifq_maxlen = IFQ_MAXLEN;
 
-   axe_qdat.ifp = ifp;
-   axe_qdat.if_rxstart = axe_rxstart;
+   sc-axe_qdat.ifp = ifp;
+   sc-axe_qdat.if_rxstart = axe_rxstart;
 
if (mii_phy_probe(self, sc-axe_miibus,
axe_ifmedia_upd, axe_ifmedia_sts)) {
@@ -724,7 +722,7 @@
}
 
ifp-if_ipackets++;
-   m-m_pkthdr.rcvif = (struct ifnet *)axe_qdat;
+   m-m_pkthdr.rcvif = (struct ifnet *)sc-axe_qdat;
m-m_pkthdr.len = m-m_len = total_len;
 
/* Put the packet on the special USB input queue. */
Index: sys/dev/usb/if_axereg.h
===
RCS file: /dump/FreeBSD-CVS/src/sys/dev/usb/if_axereg.h,v
retrieving revision 1.2
diff -u -r1.2 if_axereg.h
--- sys/dev/usb/if_axereg.h 15 Jun 2003 21:45:43 -  1.2
+++ sys/dev/usb/if_axereg.h 24 Sep 2003 23:25:52 -
@@ -168,6 +168,7 @@
unsigned char   axe_ipgs[3];
unsigned char   axe_phyaddrs[2];
struct timeval  axe_rx_notice;
+   struct usb_qdat axe_qdat;
 };
 
 #if 0
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ADSL modem ip addresses

2003-10-10 Thread Ian Moore
Hi,
I'm organising an ADSL connection and I'm a bit confused about our options.

We need to provide web, ssh and mail access to our network for users from home 
across the Internet with an ADSL connection.
I figure the best way to do this is to setup a new machine to act as a 
firewall and run a web server  sendmail on this box. (or I have seen 
something about using socket to divert these services to our existing server 
which has a private address).
The firewall would have a NIC with a private IP address to connect to the rest 
of our network.

What's the best way then to connect it to the ADSL line?
Do we have a second NIC in the firewall machine with a real IP address 
connected to an ADSL modem and use ppp -natd on that interface? Does that 
mean we'd need 2 static IP addresses - one for the firewall  one for the 
modem? (We really don't want to pay for 2 addresses)

Or can we use a USB connection instead - are there FBSD drivers for ADSL 
modems? I can't see any in the supported hardware list.

Or do we use a combined modem/router device to do the nat  firewalling and 
have it redirect mail, web  ssh access to our main server? (is that possible 
or do such devices not allow access into the network from the 'net?)

Cheers,
Ian

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


Re: ADSL modem ip addresses

2003-10-10 Thread Ian Moore
On Sat, 11 Oct 2003 01:11, liquid wrote:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Ian Moore
  Sent: October 10, 2003 9:59 AM
  To: freebsd-questions
  Subject: ADSL modem  ip addresses
 
  Hi,
  I'm organising an ADSL connection and I'm a bit confused about our
  options.
 
  We need to provide web, ssh and mail access to our network for users
  from home
  across the Internet with an ADSL connection.
  I figure the best way to do this is to setup a new machine to act as a
  firewall and run a web server  sendmail on this box. (or I have seen
  something about using socket to divert these services to our existing
  server
  which has a private address).

 It's not a wise move to run the services on the same machine as your
 firewall.  You can setup an openbsd machine to serve as your firewall on
 a very inexpensive old machine, running it as a gateway as well.  You
 can then forward specific ports (80, 25, 110 in your case) to your
 services machine running either in a DMZ or behind the firewall.
 Regarding the whole diverting issue, I encourage you to google dual
 homed hosts  I had some pretty favourites on my windows machine but I
 lost them all when a hard drive died or I'd have some good ones for you.

Thanks, I'll check that out. I've got a firewall machine partly built, becasue 
I kind of figured it was the best way to go.

  The firewall would have a NIC with a private IP address to connect to
  the rest
  of our network.
 
  What's the best way then to connect it to the ADSL line?
  Do we have a second NIC in the firewall machine with a real IP address
  connected to an ADSL modem and use ppp -natd on that interface? Does
  that
  mean we'd need 2 static IP addresses - one for the firewall  one for
  the
  modem? (We really don't want to pay for 2 addresses)

 If you use pppoe, you can run ppp -ddial -quiet on startup by including
 that in rc.conf.  Checkout /etc/defaults/rc.conf.  I setup a machine to
 act as a gateway/firewall for 5 PC's on a 3mbit dsl line once... on a
 P1Since 20 and it ran flawlessly.

 You don't need two IP's.  Your modem *shouldn't* have to have an IP.  If
 it does, it's because it also acts as a router and hence does the pppoe
 auth.  I suppose you can use that as a router instead.. it's your
 network ;)  I like the flexibility my router provides me however.  It's
 remarkably easy to setup as well.  Again I don't have any links right
 now off-hand, but if you search for pppoe + freebsd + ipnat or something
 you'll find some very good tutorials.  There was this one for a cable
 connection I used as a guide the first time, and just followed the steps
 from other sources for setting up PPPoE.

Thanks, I've had a couple of replies to this effect, so I'll start doing some 
googling.

  Or can we use a USB connection instead - are there FBSD drivers for
  ADSL
  modems? I can't see any in the supported hardware list.

 AFAIK, there is no support (yet?) for a usb modem.  I don't like them
 anyway - I keep my apples with my apples, my oranges with... you guessed
 it, the oranges.  ADSL = network related stuff = runs on Ethernet.

Yeah, that's my feeling too. Seems like there is a usb driver (in the ports) 
of one modem, but like you, I would rather stick to ethernet.

  Or do we use a combined modem/router device to do the nat 
  firewalling and
  have it redirect mail, web  ssh access to our main server? (is that
  possible
  or do such devices not allow access into the network from the 'net?)

 by default they will not.  As I said they work, but I'm not sure the
 devices that are a modem + router built-in will also include
 firewalling.

I didn't really think those soho devices would be very powerful, much better 
to used FBSD  get as much power  flexibility as you need! I put that as an 
option just in case.

Thanks to everyone for your replies. I really wanted someone to say this is 
the way to go, since it's all a bit theoretical until we have the connection 
 modem installed  can actually start playing with it.
Now I'm happy to go ahead  set up my firewall machine and do lots of 
googling!

Cheers,
Ian

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


UNIX category

2004-02-12 Thread Ian Lenzen

Hello,

We're creating a directory focused on web site credibility. We included:
http://www.bsd.net.au/ in the UNIX section of the All.info directory.

Descriptive information provided by you and our editors helps our users
choose sites. Our editors have already selected starter keyterms and a
category for your web site.

To review their work, add information and gain editorial control over
your site's record in our system, please update your information here:

http://all.info/s?a=lz=1tv238w1fvbb40bycm7rb4

More information about All.info is available at: http://www.all.info

Thanks in advance.

Ian Lenzen Editor, All.info - the Directory of Topics


Note: If you are NOT the proper site contact or you would like to provide
a corrected site contact, please update it here:
http://all.info/s?a=nlz=1tv238w1fvbb40bycm7rb4x=questions%40freebsd.org

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


ipfilter

2004-03-11 Thread Ian Cornwall
Hello,

I am trying to enable ipfilter.  I am running FreeBSD 5.2.  I tried to just
load it with a module with these results:

[EMAIL PROTECTED] root]# kldload ipl
kldload: can't load ipl: No such file or directory

I tried loading it with the rc.conf but that did work either.  So finally I
tried to build it into the kernel.  I took the GENERIC file and added the
lines  for enabling IPFILTER and make fails.

Anyone else have problems like this?

--
Ian

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


newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers
I finally came to my senses and got a copy of FreeBSD about a week ago.  I'm very 
compitent in window$ and DOS, and wanted to start in on something new.  I've been 
toying with BSD for a while and I'm getting to know my way around.  

I'm having trouble upgrading to gnome 2.6.  I had gnome 2.4 installed and running just 
fine.  I cvsup'd with the ports-supfile, and ran the gnome_upgrade.sh file.  It 
pondered the meaning of life until well after I left for work.  When I came home, I 
saw it was at the login prompt.  There were some messages that I assume have to deal 
with renewing DHCP leases with my cable modem, but I logged in as normal.  there was 
nothing indicating a troubled install.  

Since running cvsup and the upgrade, I can't run startx like I used to.  It used to 
run regardless of what directory I was in, and now I have to be in /usr/X11R6/bin to 
run it.  when I run it, I get the same message as usual that says it can't contact 
some host server and I ned to add a line into my /etc/hosts file.  I've always gotten 
that one, even when 2.4 was running perfectly smoothly.  a terminal window comes up 
right away after that message when gnome starts as it begins loading it's components 
at the splash screen.  it hangs on window manager but eventually gets to the desktop 
with the terminal window still open.  I can't run any applications at all.  it says 
that the indicated file is nowhere to be found.  I can run the files, epiphany for 
example, from the terminal window and they run just fine as far as I can tell.  

I'm sure there's some painfully obvious thing I haven't done, but I can't tell what it 
is.  I've followed the upgrade instructions to the letter, but apaprently I'm not cool 
enough to pull it off.  sorry for the longwindedness.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers
I'll track down that logfile and check it out.  I didn't have X11 running at 
the time, since I figured it might have to upgrade some components that X11 
runs on.  It rebooted the machine, and when I scrolled up to check out all 
the startup text, everything looked in order.  Hopefully something will jump 
out in the logfile.


From: Lucas Holt [EMAIL PROTECTED]
To: 'Ian Bowers' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: newbie question:  Gnome 2.6 upgrade
Date: Thu, 22 Apr 2004 10:44:22 -0400
I would run portversion -v | grep  and make sure everything was upgraded
to start with.  If all the gnome and X11 related stuff appears to be
upgraded, it might be hard to track down which build was at fault.  I think
the gnome upgrade script made a logfile in tmp.  I would check to see if
there is one there and if so see what happened.  Did you have x11 running
when you tried the upgrade?  Did the machine reboot or simply logout?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

_
Watch LIVE baseball games on your computer with MLB.TV, included with MSN 
Premium! 
http://join.msn.com/?page=features/mlbpgmarket=en-us/go/onm00200439ave/direct/01/

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


Re: newbie question: Gnome 2.6 upgrade

2004-04-22 Thread Ian Bowers



From: Ewald Jenisch [EMAIL PROTECTED]
To: Ian Bowers [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: newbie question:  Gnome 2.6 upgrade
Date: Thu, 22 Apr 2004 17:16:14 +0200
On Thu, Apr 22, 2004 at 10:16:25AM -0400, Ian Bowers wrote:

 I'm having trouble upgrading to gnome 2.6.  I had gnome 2.4
 installed and running just fine.  I cvsup'd with the ports-supfile,
 and ran the gnome_upgrade.sh file.
Maybe dumb question: Did you upgrade ruby as instructed in
/usr/ports/UPDATING before upgrading Gnome? (I ran into that trap a
while ago)
Like a proper n00b, I didn't even know there was such a directory.  I 
followed the upgrade FAQ at freebsd.org on the assumption that it was a full 
set of instructions.  Thank you very much for this tidbit.  I'll upgrade 
ruby and check out that dir.

 Since running cvsup and the upgrade, I can't run startx like I used
 to.
Are your problems only related to X11 - or do you have the problems
when running in console-mode too?
Try switching virtual terminals with AltCtrlF-key (like
AltCtrlF2). First of all this switches you out to a
console-terminal leaving X running and thus gives to the ability to
track things down further.
-ewald



The problem only seems to be with X11.  I tried running several commands in 
console mode that I can normally run from any location and they all worked 
fine.  so far startx seems to be the only thing that won't run like it used 
to.  I read something about shells having to be rehashed to update the PATH 
lines?  I run in bash if that makes a difference.

Thank you very much for your help so far.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Perl Updates

2002-12-16 Thread Ian Watkinson
Having been surpised by not finding this in the archives, the handbook or google, I 
turn to the list.

I seem to recall that after updating perl to a new version, I need to edit some files 
and relink some 
libraries, however, I can't seem to find the info on how this is done.

TIA




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



4.7 Stable - Apache 2, Mod jk

2002-12-22 Thread Ian Watkinson
Hi List.

Trying to get Apache 2 and mod_jk to play together.

Getting the error 

/mod_jk.so: Undefined symbol pthread_mutex_unlock

When I try to load the module

Now, I've done the --no-verify. Remove from configure in mod_jk to get
it to compile 
on freebsd properly but I can't get it to load. Apache2 runs and loads
other modules fine, and tomcat 4.06 is running fine as well.

Google and google groups produce the same question as I have, but no
answers, except for...

Url:http://groups.google.com/groups?q=/mod_jk.so:+Undefined+symbol+%22pt
hread_mutex_unlock%22start=30hl=enlr=ie=UTF-8selm=p04330117b7d44145
59ce__192.0.1.73_%40ns.sol.netrnum=35filter=0

Which to summarise says 

 took a stab at trying to fix this problem, and I've managed to get 
it working by building mod_jk *WITHOUT* the -D_REENTRANT flag.

Except, I can't find that as an option within configure, and no-one has
answered the further question, is this a good thing.

Any help or pointers would be appreciated...

Thanks in advance, and seasons greetings to all.


-- 

Ian Watkinson
==


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



Re: 4.7 Stable - Apache 2, Mod jk

2002-12-23 Thread Ian Watkinson
On Mon, 2002-12-23 at 14:29, Martin Karlsson wrote:
 * Ian Watkinson [EMAIL PROTECTED] [2002-12-23 00.14 -]:
 
  Any help or pointers would be appreciated...
 Perhaps you've already seen this, but have a look at:

I have, this is what I found when I googled, however.
 
 URL:
 http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8safe=offq=%22pt
 hread_mutex_unlock%22+mod_jk.sobtnG=Google+Searchmeta=group%3Dmailing.free
 bsd.%2A

None of these have a resolution, there are some suggestions, that don't
really make sense, or just people reporting the problem.

 
 (Note: the above URL is most likely wrapped)
 

if you use url:httpbla

it won't wrap in all decent email/usenet clients/

 There seems to be threads about this in the archives.

None useful though, 

 Hope this helps.

Not really, thanks for trying though..:-)

-- 

Ian Watkinson
EHS Brann
Systems Administrator


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



My Cups doth not runnest over..

2002-12-24 Thread Ian Watkinson
Installed CUPS from ports, worked fine, printed fine.

Then I noticed the security hole in it, so I installed from src the latest version, 
everything still 
worked up to the point where I try and print a test page, where I then get a 403, 
permission denied.

Anyone with any pointers?

Thanks in advance.

Ian


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



My Cups doth not runnest over..

2002-12-30 Thread Ian Watkinson
Installed CUPS from ports, worked fine, printed fine.

Then I noticed the security hole in it, so I installed from src the latest version, 
everything still 
worked up to the point where I try and print a test page, where I then get a 403, 
permission denied.

Anyone else have this problem? Any fixes, any pointers to fixes?

Thanks in advance.

Ian


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



run once, .profile

2002-12-30 Thread Ian Watkinson
How does one set something to be only run once, so that if x is running somethign in 
.profile 
isn't run each time an xwindow is started up?

Thanks

Ian


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



Mozilla Crashing

2002-12-30 Thread Ian Watkinson
Has anyone else any experiance of Mozilla crashing with shockwave pages?

I can repeat is quite easily by visiting of all places, freebsddiary...

Pops up about shockwave, cancel, select search, pop up about shockwave, click cancel, 
boom
Mozilla dies.

Nothing in /var/adm/messages, does Mozz have it's own log file?

TIA

Ian


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



Re: Mozilla Crashing

2002-12-30 Thread Ian Watkinson
On Mon, 2002-12-30 at 16:56, Joe Marcus Clarke wrote:
 On Mon, 2002-12-30 at 11:47, Ian Watkinson wrote:
  Has anyone else any experiance of Mozilla crashing with shockwave pages?
 
 It used to crash all the time with the native Flash plugin.  However,
 with the recently committed flashpluginwrapper, Mozilla and Galeon have
 been great.
 
 Try installing /usr/ports/www/flashpluginwrapper, follow the
 post-install directions, and see if things improve.
 
 Joe

That works, thanks Joe.

And for anyone who's googling this to find a fix, the post-install
instrcutions whizz past during the install, so scr-lock and page up to
find them :-)


-- 

Ian Watkinson
EHS Brann
Systems Administrator


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



Gforge

2002-12-30 Thread Ian Watkinson
Has anyone on the list got gforge installed and working?

www.gforge.org

If you have, did you use a how-to, in which case which one?

Are there any gotchas? 

Many thanks in advance.

Ian


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



RE: flashpluginwrapper question

2002-12-31 Thread Ian Watkinson
On Tue, 2002-12-31 at 08:30, Wayne Lubin wrote:
 --- Ian Watkinson [EMAIL PROTECTED] wrote:
snip of flashpluginwrapper

 
 Do you think this pluggin requires 4.7 bacause I am
 using 4.6.

Well if it's in the ports tree, I'd guess it would work, if it doesn't the wonderful 
thing
about ports, is you just go 

sudo make deinstall clean, and viola, you're back to where you started.

If theres one thing I've learned from Freebsd is this.

If you don't have a really good reason not to, then always install from the ports tres.




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



Procmail and Exim - Freebsd

2003-01-02 Thread Ian Watkinson
Trying to get Fetmail - Procmail - Exim working.

From the Exim site for Version 4, it suggests

# transport
  procmail_pipe:
driver = pipe
command = /usr/local/bin/procmail -d $local_part
return_path_add
delivery_date_add
envelope_to_add
check_string = From 
escape_string = From 
user = $local_part
group = mail
 
  # router
  procmail:
driver = accept
check_local_user
transport = procmail_pipe
 

In the exim config file, however, when I start Exim, I get

 exim
2003-01-02 15:35:27 Exim configuration error in line 228:
  transport procmail: cannot find transport driver accept

Line 228 of the config file is the 
driver = accept
line.

Anyone got exim and procmail working together, 
and would care to share that part of the file with the
list.

Thanks in advance.

Ian







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



Re: Procmail and Exim - Freebsd

2003-01-02 Thread Ian Watkinson
On Thu, 2003-01-02 at 17:09, Nathan Kinkade wrote:
 On Thu, Jan 02, 2003 at 03:39:07PM +, Ian Watkinson wrote:
  Trying to get Fetmail - Procmail - Exim working.
  
  From the Exim site for Version 4, it suggests
  
  # transport
  snip

  
# router
 snip

   
  
  In the exim config file, however, when I start Exim, I get
  
   exim
  2003-01-02 15:35:27 Exim configuration error in line 228:
transport procmail: cannot find transport driver accept
  
  Line 228 of the config file is the 
  driver = accept
  line.
  
  Anyone got exim and procmail working together, 
  and would care to share that part of the file with the
  list.
  
  Thanks in advance.
  
  Ian
 
 Are you sure that sure that each of your transport and route
 declarations are in the correct sections of the config file?  Make sure
 that your router configuration ONLY comes after the the line 
 begin routers and that your transport config only comes after the line 
 begin transports.  The config file is not randomly parsed.  There are
 definite discrete sections that need to be observed.  It looks as if you
 have put your router definition in the transport section.
 
 Nathan

Hallelujah! Nathan said let there be light, and a bulb appeared above Ian's head!

That looks to be it, looking at the exim docs again, it's not clear anywhere that it 
needs to 
be inserted in certain sections.

Thanks very much for that.

Any idea if these replace any of the normal router/transports, or are pure additions?



 -- 
 
 Ian Watkinson
 EHS Brann
 Systems Administrator


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



Re: Procmail and Exim - Freebsd

2003-01-03 Thread Ian Watkinson
On Thu, 2003-01-02 at 23:39, Greg 'groggy' Lehey wrote:
 On Thursday,  2 January 2003 at 15:39:07 +, Ian Watkinson wrote:
  Trying to get Fetmail - Procmail - Exim working.
 
 Please don't reply to a thread with a completely different topic.

Thread? Threads are in usenet, this is a mailing list.




 This message is:
 
 In-Reply-To: [EMAIL PROTECTED]
 

That's not in my original headers looking at the full headers of the
message I posted.




 That is a thread about problems starting X applications.  It makes it

Er, no the subject makes it quite clear it's a post about Procmail and
Exim, on Freebsd.



 really difficult to follow to find a completely unrelated set of
 messages in the thread.  It also makes it much more difficult to
 filter with procmail, BTW.

What's wrong with filtering on Subject?

Can you tell me where the extra header is added, and where the posting
FAQ is for the list, as I seem to have missed the don't reply to the
list and change the subject bit..



 
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original recipients.
 For more information, see http://www.lemis.com/questions.html
 See complete headers for address and phone numbers
 

Your sig sep is broken btw...

 
 information in this email is confidential and is intended solely
 for the addressee(s) and access to this email by anyone else is
 unauthorised. If you are not the intended recipient then any
 disclosure, copying, distribution or any action taken or omitted to
 be taken in reliance on it, is prohibited and may be unlawful.
-- 

Ian Watkinson
EHS Brann
Systems Administrator


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



Filtering on In Reply-to Was RE: Procmail and Exim - Freebsd

2003-01-04 Thread Ian Watkinson
 -Original Message-
 From: Greg 'groggy' Lehey [mailto:[EMAIL PROTECTED]] 
 Sent: 03 January 2003 23:17
 To: Ian Watkinson
 Cc: [EMAIL PROTECTED]
 Subject: Re: Procmail and Exim - Freebsd
 
 
 On Friday,  3 January 2003 at 10:10:56 +, Ian Watkinson wrote:
  On Thu, 2003-01-02 at 23:39, Greg 'groggy' Lehey wrote:
  On Thursday,  2 January 2003 at 15:39:07 +, Ian 
 Watkinson wrote:
  Trying to get Fetmail - Procmail - Exim working.
 
  Please don't reply to a thread with a completely different topic.
 
  Thread? Threads are in usenet, this is a mailing list.
 
 Mail uses threads as well.  See RFC 2822.

Well you learn something new every day.

Care to explain why filtering on it, rather than subject is better in
your opinion, most list that I sub do, what I've just done, and go from
one
subject to another, with the subject changing as the contents do, your
filter, therefore would do nothing, as we're not talking about
X-windows, or Procmail, but 
Filtering now.


 
  This message is:
 
  In-Reply-To: [EMAIL PROTECTED]
 
 
  That's not in my original headers looking at the full 
 headers of the 
  message I posted.
 
 Yes, that's there.  That's where I got it from.

Strange, it must be a Evolution bug then, because even with full headers
on, I can't see it. 





  That is a thread about problems starting X applications.  
 It makes it
 
  Er, no the subject makes it quite clear it's a post about 
 Procmail and 
  Exim, on Freebsd.
 
 No, you replied to a thread on X.  You changed the subject, 
 but you left in the In-Reply-To: and Reference: headers.

But the subject still makes it clear what the message is about, again,
I've changed the subject here to match what
were talking about. Ignoring the original post, your filtering is still
out now in a valid case.




 
  really difficult to follow to find a completely unrelated set of 
  messages in the thread.  It also makes it much more difficult to 
  filter with procmail, BTW.
 
  What's wrong with filtering on Subject?
 
 It doesn't show the relationships between the messages.  Look 
 at the two attachments.

But it doesn't show the relationship between this message and the last,
and this is a valide case of 
a message thread changing topic.



Snip


The In-Reply_To: and References: headers were almost certainly added by
your MUA.

I suspected that they would have, I was surprised not to be able to see
it in same message header when I looked at it Ximian Evolution.



 and where the posting FAQ is for the list, as I seem to have missed 
 the don't reply to the list and change the subject bit..

Try http://www.lemis.com/questions.html.  But this isn't related only
to FreeBSD-questions.  It's a general issue.  Note also that it makes
people less likely to want to reply to them.

Heh, do I see a familiar looking screenshot?

Can I have a copy of your pine config that allows you to filter like
that then?




 information in this email is confidential and is intended solely for 
 the addressee(s) and access to this email by anyone else is 
 unauthorised. If you are not the intended recipient then any 
 disclosure, copying, distribution or any action taken or omitted to 
 be taken in reliance on it, is prohibited and may be unlawful.

Please note that all FreeBSD-questions mail is archived and available
on the Web.  You shouldn't be sending confidential mail to it.

Well 

1) It's a corporate thing, and 
2) As it's addressed to an open list, I guess that makes everyone it's
intended addressess(s)






Greg
--
When replying to this message, please copy the original recipients. If
you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

You're sig seperator is still broken btw, it needs to be --  not just
two dashes..



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



Re: question about /etc/rc.firewall

2003-01-07 Thread Ian Smith
Hi Serg,

On Mon, 6 Jan 2003, questions-digest V5 #1826 wrote:

  Date: Mon, 6 Jan 2003 16:07:20 +0300
  From: Serg Repalov [EMAIL PROTECTED]
  Subject: question about /etc/rc.firewall
  
  Hi.
  
Can anyone make clear for me one thing. In file /etc/rc.firewall
  we have two sections which stops RFC1918 and draft-manning-dsua-03.txt
  networks:
# Stop RFC1918 nets on the outside interface
[ ... ]
  
# Network Address Translation.  This rule is placed here deliberately
[ ... ]
case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n ${natd_interface} ]; then
   ${fwcmd} add divert natd all from any to any via ${natd_interface}
fi
;;
esac
  
# Stop RFC1918 nets on the outside interface
[ ... ]
  
  If we don't using NAT then we have _two_ sections of _same_ rules,

No, they're not the same rules - though their comments could a little
more explicit.  The below is quoted from a FreeBSD 4.5-RELEASE
/etc/rc.firewall, but I expect it's still much the same in 4.7. 

First section:

# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from any to 10.0.0.0/8 via ${oif}
${fwcmd} add deny all from any to 172.16.0.0/12 via ${oif}
${fwcmd} add deny all from any to 192.168.0.0/16 via ${oif}
[etc]

Then the NAT rules section you quoted, then:

# Stop RFC1918 nets on the outside interface
${fwcmd} add deny all from 10.0.0.0/8 to any via ${oif}
${fwcmd} add deny all from 172.16.0.0/12 to any via ${oif}
${fwcmd} add deny all from 192.168.0.0/16 to any via ${oif}
[etc]

The first section stops any incoming traffic from outside TO any RFC1918
addresess, and the second stops any traffic FROM our RFC1918 addresses
reaching the outside, ie it prevents us from spoofing these addresses
(or handles a failure of our NAT setup to properly map such addresses).

  Where the second section which stops RFC1918 and draft-manning-dsua-03.txt
  networks is applied only if we really using NAT ?

It's just as important, perhaps more, if we're not using NAT.

Cheers, Ian


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



Re: solaris firewall?

2003-01-10 Thread Ian Watkinson
On Fri, 2003-01-10 at 07:41, Shawn Henderson wrote:
 how well of a firwall can be created with Solaris 8
 I am playing with a couple different *nix flavors and wanted to test out
 setting up a Solaris firewall
 is it possible and how would I do it..any Ideas.
 

1/ This is nothing to do with FreeBSD, so why are you posting to so many
FreeBSD lists? Unix != FreeBSD != Solaris.

2/ There are two forms of Sun Firewall, from Sun. Sunscreen and Suncreen
lite. Neither are great unless you have access to Sun's course notes for
the software.

3/ If you want to compare Unix Firewalls, then try something like Ipcop
as a starter, then replicate what it does, with freensd, then see how
many of those packages then will work on solaris.


-- 

Ian Watkinson


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



MSDOS Install

2003-01-13 Thread Ian Watkinson
Trying to install 5.0 RC3

Because of the strange way that my sony vaio laptop sees it's CDROM, I
can't do a cdrom install, so was looking as the MSDOC partition install.

However, the readme, and the handbook both refer to a bin directory
which doesn't exist on the CDROM,or the ftp site. ftp.uk.freebsd.org for
example.

Anyone done this? Which direcotory to copy?
-- 

Ian Watkinson


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



Re: MSDOS Install

2003-01-14 Thread Ian Watkinson
On Mon, 2003-01-13 at 20:17, Thomas Spreng wrote:
 Hi,
snip

 sorry but i can't understand your question very well, but if you cannot
 boot from cd, just make the two installation floppy disks and boot from
 them. You can choose your cdrom as installation media even if you boot from
 a floopy disk.
 

The CDROM is a PCMCIA CDROM, so may not be supported by FBSD at all.

In the handbook it talks about copying Freebsd to a dos partition to
install.

However it talks about a /bin directory which doesn't seem to exist,
either on the CDROM, or the FTP site.

Is this a feature that was documented in the handbook that never
actually made it?
-- 

Ian Watkinson


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



5.0 - RC3 - CVSUP

2003-01-14 Thread Ian Watkinson
As I can't get a response from [EMAIL PROTECTED] presently, I though
I'd ask here.

cvsup on 5.0. Ports and src.



* release=cvs tag=

RELENG_5 ?

RELENG_CURRENT?

Help!

thanks in advance.

-- 

Ian Watkinson


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



Re: MSDOS Install

2003-01-14 Thread Ian Watkinson
On Mon, 2003-01-13 at 22:45, James Pole wrote:
 On Tue, 2003-01-14 at 07:41, Ian Watkinson wrote:
  However, the readme, and the handbook both refer to a bin directory
  which doesn't exist on the CDROM,or the ftp site. ftp.uk.freebsd.org for
  example.
 
 The bin directory seem been named to base in 5.0, unlike 4.x when
 it's named bin.
 
That was it, copied the whole CD, and it worked fine. Thanks.

-- 

Ian Watkinson
Systems Administrator
EHS Brann


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



Re: Dangerously dedicated vs. fully dedicated, etc.

2003-01-14 Thread Ian Dowse
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes:
Mike, I'll pay back your effort in replying to this long thing by
working up a patch for the disklabel manpage (at least) and, if you
want, I'll CC you so you can veto things you don't like.  I do worry

At the risk of adding to the confusion, here is a less wordy
description of the various disk layouts. The term `dangerously
dedicated' seems to be used to refer to either options (B) or (C),
so I will avoid using that term:

(A) Normal sliced disk (assuming sectors/track = 63)

  sector 0: boot0 and the DOS slice table
  sectors 1..62:unused

  start of slice 1
  start of 'a' partition
  sector 63:boot1
  sector 64:disklabel
  sectors 65-78:boot2
  sectors 79-92:'a' partition filesystem superblock

 Note that the disklabel, which contains a list of the partitions
 within a slice is actually contained within the space allocated to
 the first partition. To ensure that this does not get clobbered by
 the filesystem, the first 8k of every ffs filesystem is reserved for
 boot code and the disklabel.

(B) Dedicated format created by sysinstall

  start of slice 1
  start of 'a' partition
  sector 0: boot1 and the DOS slice table, where
the slice table contains one slice
(slice 1) covering the entire disk,
including sector 0.
  sector 1: disklabel
  sector 2-15:  boot2
  sectors 16-31:'a' partition filesystem superblock

 In this case, there is no boot0, and boot1 serves as the boot
 loader that is invoked by the BIOS. Here, all of the boot code
 is contained within the first slice and also within the first
 partition. Again, the 8k reserved at the start of every ffs
 filesystem protects the boot code. Sysinstall sets up fstab to
 refer to the partitions as e.g. /dev/ad0s1a (I think).

(C) Dedicated format using dummy slice

  start of slice 4
  start of 'a' partition
  sector 0: boot1 and the DOS slice table. The slice
table contains a single entry (slice 4)
that starts at sector 0 and has a size
of 5 sectors, whatever the real disk
size is.
  sector 1: disklabel
  sector 2-15:  boot2
  sectors 16-31:'a' partition filesystem superblock

 This is like (B) except that slice 4 instead of slice 1 is used, and
 the size of the slice in the slice table is bogus. The partitions
 on such a disk are usually accessed using the compatibility slice
 names such as /dev/ad0a.

Ian

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



Re: Dangerously dedicated vs. fully dedicated, etc.

2003-01-14 Thread Ian Dowse
In message [EMAIL PROTECTED], [EMAIL PROTECTED] writes:
/boot/boot0 has the FreeBSD bootloader.  The installer also offers
to use the standard /boot/mbr.

Roughly speaking.  /boot/boot2 is 15 sectors; I suppose the first
(all zeros) is replaced with the disklabel, loosely speaking.

One such as would be created by disklabel -B.  (/boot/boot1 seems to
have the fourth slice pre-defined.)  This differs from B only in the
slice table, right?  The disklabel manpage implies that this is a DD.

Exactly. Thanks for filling in the details I missed. The other magic
thing about the bogus 5-sector slice is that the kernel detects
this special case and then completely ignores the slice table and
makes the compatibility slice cover the whole disk (I'm not 100%
sure of the details here).

It seems that a DD disk is one which is similar to a single slice
starting at sector 0, regardless of what the slice table part of sector
0 contains.  With FreeBSD-standard boot code and some BIOSes, one disk
layout (ie, DD or sliced) will work better than the other.  (And for DD
disks, some slice table contents might work better than others.  I've
not read anything comparing your B and C or either with a slice
table full of zeros or random bits.)

I think to avoid warnings or errors, you need either a valid slice
entry (even if it is a sysinstall-style slice that starts at sector
0 and contains the whole disk), or else the exact special bogus
slice table, since the kernel code just does a bcmp() to check for
the special bogus table.

As to the issue of BIOSes disliking DD modes, there have been a few
different reasons suggested. For traditional BIOSes that just look
for the 0x55 0xaa signature and if found then execute the MBR code,
all of the various DD and non-DD schemes should work fine. However,
some BIOSes perform additional tests that may fail on DD disks. For
example (I'm just guessing here), they might check that the slice
starts after the MBR, or that the slice starts and ends on a cylinder
boundary. It sounds a silly thing to do, but I guess maybe it allows
the BIOS to automatically figure out what geometry the OS is
expecting or something.

The fact that boot1 always contains the bogus slice table even when
boot1 is not used as an MBR has been linked to other BIOS problems
too - some BIOSes apparently go further and check if the first
sector of each slice looks like it has an extended partition table
even if the slice type is not that of an extended partition. In
-CURRENT, the default bogus slice table was changed slightly to
stop some BIOSes crashing with a divide-by-zero error when they
tried to parse the bogus slice entry in boot1.

Ian

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



Re: Make World

2003-01-17 Thread Ian Watkinson
On Thu, 2003-01-16 at 23:28, Doron Shmaryahu wrote:
 Hi,
 
 I did a make world upgrade from 4.5 to 4.7 stable. I have done this a couple
 of times with no problems. This time there were no errors but when the
 machine rebooted it just says btx halted and a whole lot of other stuff. It
 sits there and does not boot. If I interrupt the boot process and load the
 kernel.GENERIC manually it boots fine. the only command's that seem to give
 errors are ps and top. The machine runs fine but I would obviously like to
 get rid of this problem.
 
 I have tried reinstalling the kernel, also the generic kernel. I tried doing
 a make world again still the same thing !! Any suggestions would help
 

You've done.

cvsup your-ports-cvsup-file
cvsup your=stable-cvsup-file

init 1

cd /usr/src
make buildworld.
make buildkernel KERNCONF=GENRIC
make installkernel KERNCONF=GENRIC
make installworld


and it still doesn't work.

I'd not do mergemaster, as it tends to be more of a hindrance than help,
although it does mean you need to read the release notes to see if the
format of anything has changed, which is no bad thing anyway.


-- 

Ian Watkinson


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



Re: Reboot...

2003-01-23 Thread Ian Watkinson
On Wed, 2003-01-22 at 19:58, John Bleichert wrote:
 On Wed, 22 Jan 2003, Wuzhen Zhang wrote:
  Subject: Reboot...
  
  Dear Sir,
  
  My computer came with win98. I intalled FreeBSD on the

snip

 yet when I tried to install
  win98, My computer did not allow me to reboot with
  win98 startup disk? Can you help me out?
  
  Sincerely,
  
  Wuzhen Zhang
  
 
 Exactly what error are you getting while trying to boot from the Win98 
 disk?

This computer has taste when it comes Operating Systems

:-)
-- 

Ian Watkinson


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



starting x at a high priority

2003-01-23 Thread Ian Morrison
hey fellows,

i'm trying to tune my laptop here (IBM T22 running 4.7-STABLE with X
4.2.1) and had heard that upping the priority would help increase
responsiveness under X.

because i use startx from a console when i want to use X, and don't
use XDM, i've been trying to work out which script to modify in order
to startx with a priority of -1, but without starting as root.

i've had a couple of failed attempts, so thought i'd ask here to see
if anyone had any clues.

also, does anyone have any other performance tips for a laptop?  i've 
got 256 meg of ram, so was wondering if putting /tmp on a mfs would   
help..  i've had a look through the tuning(7) manpage, and some other
docs, but they mostly seem to talk about tuning for a busy network
server.  is tuning actually possible for a workstation (ie, is FreeBSD
already optimised for these types of machines), and does it offer a
substantial difference?  i'm currently using the machine for general
tasks, web browsing with galeon, viewing media in mplayer, and 
endlessly compiling to feed my portupgrade fetish :)

any tips would be gratefully received.

stay frosty,


ian
-- 
:: darq.net /#/ :: live to kourier, kourier to live

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



XFree86 4.2.1 and freetype2 antialiasing

2003-01-31 Thread Ian Cartwright
Hello all,

I have XFree86 4.2.1 installed (via an install from FreeBSD-4.7RELEASE CD) and 
have also installed freetype2 from the ports collection (currently 2.1.3_1). 
I also have freetype-1.3.1_2 installed as a dependency for some other ports. 
After installing KDE 3.1 (also from the ports collection), I noticed that the 
only true type fonts that were anti-aliased were those included with XFree86 
(the BH Luxi family). All of the Microsoft fonts I copied from my Windows 
box are rendered, but none are anti-aliased, except in the KDE Font Installer 
preview window.

I have searched high and low for a solution to this, and all the information I 
have so far is this: 

- Compile qt-3.1 with antialias support. This is the default in the ports 
version of qt-3.1, which is what I have installed.
- Turn on anti-aliasing in the KDE Fonts Control Module. This I have done, 
which is why Luxi fonts work (though this does not affect the Font Installer 
preview).
- Some articles I have found on freetype.org and Google groups indicate that 
the freetype library that is included in the XFree86 code is outdated. They 
say the solution is to use /usr/local/lib/libfreetype.so instead of 
/usr/X11R6/lib/modules/fonts/libfreetype.a. I have tried to do this by adding 
'ModulePath   /usr/local/lib' to my XF86Config file (above thge stock 
ModulePath line). This gives an error in my XFree86.0.log: LoadModule: 
Module freetype does not have a freetypeModuleData data object. I cannot 
find any documentation that tells me what this means.

Does anyone out there have any experience with this?

BTW: All my ports have been installed using portupgrade (or portinstall) which 
I keep up to date. The only possible exception would be XFree86 which was 
installed from the FreeBSD-4.7 install CD.

Thanks!

Ian

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



Re: Nvidia support for FreeBSD 5 ?

2003-02-02 Thread Ian Barnes
On Sunday 02 February 2003 23:34, Alex Huth wrote:
 Hi!

  Hi all,
 
  The NVIDIA FreeBSD driver docs state that the driver does not work
  under -CURRENT. Does anyone know if there is a release in the pipeline
  that will support this and if so when we can expect to see it ?
 
  TIA,

 I´ve just setup a Notebook with a Geoforce 2 Go. Works fine for me!


 So long ,,,

 Alex Huth

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

Hi,

I was just wondering if anyone has an idea when the NVIDIA drivers are going 
to be supported in FreeBSD 5 ...

Ian
 
--
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]

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



xvidtune question

2003-02-03 Thread Ian Barnes
Hi,

If this is off topic please excuse me.

I am running BSD 5.0 Release. With XFree86 4.2.0. I am using KDE 3.0x as my
WM. Now all is set up and working fine. I use xvidtune to move the screen to 
the left, that all works fine. The problem, is that it doesnt save what i 
have done, and i have to re-run xvidtune every time i start X. Is there any 
reason why it isnt saving ? If my memory serves me correct, it should save 
your settings. 

I hope someone can provide some light on this for me.

Regards
Ian Barnes
--
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]

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



Re: Launch X at boot

2003-02-05 Thread Ian Barnes

- Original Message -
From: J. Seth Henry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 7:26 PM
Subject: Launch X at boot


 I know this is probably an obvious question, but so far my attempts at
 writing a script to do this have failed.

 I would like to launch X windows at boot, and have it query an xdm server.
 I attempted to put a script with:

 #/bin/sh
 /usr/X11R6/bin/X -query whitetower

 in my /usr/local/etc/rc.d directory. When I boot, though, I get nothing -
 not even error messages. I did check that the file permissions were set
 (700) - and it works if I run it from the command line (after logging in)

 Am I missing something?

 Thanks,
 Seth Henry


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


Hi,

In your /etc/ttys file.. make the last one :

ttyv(whatever your last one is)   /usr/X11R6/bin/xdm -nodaemon  xterm   on
secure

Reboot, and then it should start xdm... if you are running KDE, you could
use KDM, and i dont know about gnome and all the others, but im sure they
have loaders aswell.

Ian


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



installing packages

2003-07-26 Thread Ian Todd
Hi

How do u install .tbz packages from terminal. I am trying to install
samba off the freebsd cd samba-2.2.7a.tbz with out any luck.

Regards
Ian
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xclock grows and grows (Was Re: How can I check for swapspace?)

2003-08-09 Thread Ian Dowse
In message [EMAIL PROTECTED], Joh
n Mills writes:
'startx' still proceeds until it fills all available memory. In 
particular, 'top' shows the size of 'xclock' growing while other processes 
seem OK.
...
2) Does this [mis]behavior sound familiar to anyone?

I've seen this before when the fontconfig system got confused. Try
running

  fc-cache -fv

as root. If that doesn't fix it, try:

  echo *clock.render: false  /usr/X11R6/lib/X11/app-defaults/XClock

This second command disables the Xrender extensions in xclock, which
I have found necessary on some systems to make xclock work at all.

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


RE: Mail client (Virtual users/domains)

2003-08-10 Thread Ian Barnes
Hey,

I am running a virtual users setup using exim (http://www.exim.org) and
vm-pop3d. Works like a dream. For a webmail client, im using imp
(http://www.horde.org). Works very nicely aswell, with lots of nice addons.
If you use a different MTA then it will replace Sendmail. I dont know about
a Web Admin package for exim (?), but its easy enought to configure using
command line. I never touch my exim.conf file. I only edit a pop3-domains
file, which contains domains that i pop for, and an aliases file for each
domain that i host for mail forwarding etc.

The way it would work on my system would be:

remote pc -- exim -- mailbox -- vm-pop3d -- client (using virtual
login)

Your pop3 daemon should do the authentication for you, if you are not using
virtual users, then it will look at any users you have added to your system,
if you have virtual users, it will look into how you have set it up for
usernames and passwords.

HTH.

Ian



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dead Line
Sent: 08 August 2003 11:12 PM
To: [EMAIL PROTECTED]
Subject: Mail client (Virtual users/domains)


Hello everybody,


   Iam on FreeBSD 4.8-R, I have ubimiaw Web mail client installed, but its
usless,
   It cannot take virtual Users and read the Mail inbox/dir for it plus
diffrent bad effects.

   I want to have installed a web mail client which can read the virtual
domains/users.
   what should i do in steps please?

   If i install postfix? it replace sendmail rite?

   okay. what i should do next ? for enabling virtual users mails? shall i
install vpop?
   If yes, so what Web Mail client i should install ? (other than SqWebmail)
?
   If there a need for any athentication daemon?

   Is this in order? postfix - vpop - WebMail client - Athentication
daemon?

   Is there any Web Admin, for postfix? such (QmailAdmin) ?

  Iam lil bit missed by the steps, and what should go first.

   Sorry for such long questions, and sorry if this not a rite list.
   But Iam looking for advises.

   Marwan.

_
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

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


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


RE: KDM won't start KDE

2003-08-23 Thread Ian Barnes
Hi,

Remove the -nodaemon string.

Ian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 20 August 2003 04:12 PM
To: [EMAIL PROTECTED]
Subject: KDM won't start KDE


I just installed FreeBSD 4.8 on this machine and I set up kdm to run by
changing /etc/ttys to:

ttyv8 /usr/local/bin/kdm -nodaemon xterm on secure

When it boots I get:

login: ..time.. kdm[127]: Abnormal helper termination, code 0, signal
73

But KDM seems to start up fine and I get the login screen, but when I
login (as either root or a user) the login dialog disappears and I'm
left with the KDE background and the X cursor.  If I goto tty0 I now
have the message:

..time.. kdm[130]: no modules loaded for `kde' service

and in bot /var/log/XFree86.0.log and kdm.log it has this message
repeated about 4 times a second:

AUDIT: ..time..: 124 XFree86: client 2 rejected from local host

I searched on google for the above messages and found some discussion
about PAM problems.  I looked at pam.conf and noticed that xdm and gdm
were listed in there, but not kdm.  So I added an identical section for
kdm but it doesn't seem to have made any difference.

If I remove the kdm stuff from ttys and get a command line login I can
run startx and KDE comes up just fine.

Was there something else I needed to configure for KDM to run correctly?

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


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


Proc Size Mismatch

2003-08-25 Thread Ian Barnes
Hi,

I am running a 4.7 stable machine on a p1 120. With 16meg of ram. ITs
function is a secondary DNS server.

IT has been running very stable until this weekend. The machine froze for
some or other reason. Upon reboot, i was told it couldnt FSCK the drives and
I had to do it manually. Okay, cool, fine, no problem, did it manually, and
got it to boot. Now when i login and try and type something, these are the
errors im getting:

[EMAIL PROTECTED] ~ # ps -ax
ps: proc size mismatch (27664 total, 1056 chunks)
[EMAIL PROTECTED] ~ #

[EMAIL PROTECTED] ~ # killall -HUP named
proc size mismatch (27664 total, 1056 chunks)
userland out of sync with kernel, recompile libkvm etc
[EMAIL PROTECTED] ~ #

[EMAIL PROTECTED] ~ # uptime
 7:08PM up 4:46, 1 user, load averages: 0.00, 0.00, 0.00
[EMAIL PROTECTED] ~ #

[EMAIL PROTECTED] ~ # uname -a
FreeBSD dns.domainnamehere 4.8-STABLE FreeBSD 4.8-STABLE #4: Wed Aug 13
01:37
:17 SAST 2003[EMAIL PROTECTED]:/usr/src/sys/compile/DNS i386
[EMAIL PROTECTED] ~ #



Any ideas anyone ? Do i need to format and reload ? What can i do to help
this?

Ian

P.S. Oh, i was doing a buildworld when i froze!

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


Mysql

2003-05-30 Thread Ian Barnes
Hi,

I want to remove my mysql installation and re-install from scratch. Now the
problem. I have 6 active databases. How can i make sure that i dont loose
those. And that when i have re-installed, that they work immediatilly ??

I know this is a stupid question but i dont know this sort of thing.

Anyone maybee have a link to a tutorial or something.

Thanks alot.

Ian

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


PHP question

2003-05-30 Thread Ian Barnes
Hi,

I have just re-installed apache, then mod_php4.  I kept my old httpd.conf,
put it back, fired up apache, checked the website, and it displays all the
php code.

Any ideas as to what can be wrong.

Attached please find my httpd.conf

Thanks alot.

Ian


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


Webalizer

2003-06-08 Thread Ian Barnes
Hi,

I am having these installation issues with webalizer, being built from the
latest cvsup.


snip
graphs.o: In function `year_graph6x':
graphs.o(.text+0xd0f): undefined reference to `gdImagePng'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1a72): undefined reference to `gdImagePng'
graphs.o: In function `day_graph3':
graphs.o(.text+0x20c2): undefined reference to `gdImagePng'
graphs.o: In function `pie_chart':
graphs.o(.text+0x2688): undefined reference to `gdImagePng'
/usr/local/lib/libgd.so: undefined reference to `iconv_open'
/usr/local/lib/libgd.so: undefined reference to `iconv_close'
/usr/local/lib/libgd.so: undefined reference to `iconv'
*** Error code 1

Stop in /usr/ports/www/webalizer/work/webalizer-2.01-10.
*** Error code 1

Stop in /usr/ports/www/webalizer.
[EMAIL PROTECTED] /usr/ports/www/webalizer #

/snip

Hope someone can help.

Regards
Ian

P.S. Im running BSD 4.8, with latest apache.


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


Alternate websites

2003-06-09 Thread Ian Barnes
Hi,

I have an idea. I dont know if it is possible, but here goes.

First my server layout.

Server 1
---
* Primary DNS
* Mail
* Web Server

Server 2
---
* Secondary DNS


Right, what I would like is that if server one goes down, it will redirect
web trafic to Server 2, displaying a This site is temporarily offline
page.  Is this possible, and could someone help me to get it right. And
could Server 2 display an error page according to the specific website that
the user is visiting ?

Thanks for the help.

Ian Barnes

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


RE: Alternate websites

2003-06-09 Thread Ian Barnes


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Moritz Fromwald
 Sent: 09 June 2003 09:51 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Alternate websites




 From: Ian Barnes [EMAIL PROTECTED]
 To:   [EMAIL PROTECTED]
 Date sent:Mon, 9 Jun 2003 20:42:15 +0200
 Subject:  Alternate websites

  Hi,
 
  I have an idea. I dont know if it is possible, but here goes.
 
  First my server layout.
 
  Server 1
  ---
  * Primary DNS
  * Mail
  * Web Server
 
  Server 2
  ---
  * Secondary DNS
 
 
  Right, what I would like is that if server one goes down, it will
  redirect web trafic to Server 2, displaying a This site is
  temporarily offline page.  Is this possible, and could someone help
  me to get it right. And could Server 2 display an error page according
  to the specific website that the user is visiting ?
 Sure it is, look at mod_backhand for apache
 (http://www.backhand.org/mod_backhand/)
 pound (front webserver)
 Pen (TCP Balancing) (http://siag.nu/pen/)

 
  Thanks for the help.
 
  Ian Barnes

 Regards
 moritz fromwald

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



Hi,

thanks for the reply. I dont think i was clear enough in my previous
description, sorry bout that.

What i would like is not load balancing, but that when the main server goes
down (and only then), does it forward to an error page on the secondary
server, until the main server has come back up again.

Thanks for the help.

Ian

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


Re: USB keyboard and KVM

2003-06-10 Thread Ian Dowse
In message [EMAIL PROTECTED], Scott Saunders w
rites:
I have one issue I haven't been able to figure out yet. I'm using a USB 
keyboard with a USB KVM switch. When the machine boots, the keyboard is 
recognized and works fine. (The keyboard doesn't seem to have any 
effect at the Hit [enter] to boot immediately... line of startup, 
though.) However, if I switch the KVM to another computer and back, the 
machine doesn't respond to the keyboard. The monitor comes back fine, 
but the keyboard and mouse don't seem to do anything. I can log in via 
SSH, but I would like to turn SSH off and just use the KVM set up.
...
I added:
kbdcontrol -k /dev/kbd0  /dev/ttyv0  /dev/null
to the end of /etc/rc.i386 based on the FAQ.

The above command will only run once when the machine boots, so you
need to have something that repeats this when the keyboard is
(effectively) plugged back in after being removed. Try adding the
following lines near the end of /etc/usbd.conf instead:

device Keyboard
devname ukbd0
attach kbdcontrol -k /dev/kbd0  /dev/ttyv0

On a box that has both a PS/2 and a USB keyboard, I've used an entry
like the following to have FreeBSD switch to the USB one when it
is plugged in, though this isn't what you want if you only have a
USB keyboard.

device Keyboard
devname ukbd0
attach kbdcontrol -k /dev/kbd1 -r 250.50  /dev/console
detach kbdcontrol -k /dev/kbd0  /dev/console


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


Re: USB keyboard and KVM

2003-06-10 Thread Ian Dowse
In message [EMAIL PROTECTED], Scott Saunders w
rites:
 device Keyboard
  devname ukbd0
  attach kbdcontrol -k /dev/kbd0  /dev/ttyv0

I added this and tried it with and without the kbdcontrol line in 
/etc/rc.i386. Unfortunately, it doesn't seem to make any difference. It 
certainly looks to my inexperienced eyes like it should.

I can SSH in (and maybe this will be the permanent solution). If I run 
kbdcontrol -k /dev/kbd0  /dev/ttyv0 while it's 'locked up' I get:
kbdcontrol: cannot open /dev/kbd0: Device busy

So maybe it didn't close down the connection to the keyboard? If that's 
anything like how it actually works.

I tried plugging the keyboard directly into the machine (not through 
the KVM) while it was 'locked up', but that had no effect either.

Are you using a set up like this, Ian?

No, I've only used a setup that had both PS/2 and USB keyboards.
Just reading the kbdcontrol man page, the other thing you could try
is the -K option to detach the keyboard. e.g:

device Keyboard
devname ukbd0
attach kbdcontrol -k /dev/kbd0  /dev/ttyv0
detach kbdcontrol -K  /dev/ttyv0

(or experiment with kbdcontrol -K from ssh)

BTW, what are the last few lines of `dmesg' after the keyboard stops
working?

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


Trafic Counter

2003-06-13 Thread Ian Barnes
Hi,

I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one
ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT

What i would like to know, is how could i count the trafic through that
ethernet card, and that one only. And can i possibly set a limit as to the
amount of trafic they are allowed to use. Like say 200meg a month or
something?

Thanks for the help.

Ian

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


RE: mtab

2003-06-16 Thread Ian Barnes
Hi,

What you might be looking for is /etc/fstab ...

HTH
Ian

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Antoine
 Jacoutot
 Sent: 16 June 2003 11:43 AM
 To: Julien Gabel
 Cc: [EMAIL PROTECTED]
 Subject: Re: mtab
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Monday 16 June 2003 11:32, Julien Gabel wrote:
  With the mount(8) command?
  # mount [-v|-p]
 
 Yes, this is what I was thinking about, but I just wanted to know if an 
 mtab equivalent existed :)
 
 Thanks.
 
 - -- 
 Antoine Jacoutot
 [EMAIL PROTECTED]
 http://www.lphp.org
 pgp key: http://www.lphp.org/ressources/ajacoutot.asc
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE+7ZELY3Hnhkr+5cQRAlX9AJ9Nljd+qjTVj7SPIcdpXVc45FiHtACdHGFy
 +SE46/kAk5AUTh8dQRbH88A=
 =ud5b
 -END PGP SIGNATURE-
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


packages

2003-06-21 Thread Ian Todd
Hi

I am a newbie to freebsd. I am having trouble on installing packages.
i know about the pkg_add. I downloaded BichX and its
BitchX-1.0c19-FreeBSD4+Tcl1.5.tar.gz. How will i install that packages
seeing that its an tar.gz file. ive use tar to extract it then i get
stuck. Im just using this file for an example.I would like to know
whats the right way on installing packages.Help please.

regards
ian
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Packages

2003-06-21 Thread Ian Todd
Ive done what u told me and im still not getting it right. The
 following is what it says:

FREEBSD# pkg_add BitchX-1.0c19-FreeBSD4.tar.gz
 tar: +CONTENTS: Not found in archive
 tar: Error exit delayed from previous errors
 pkg_add: tar extract of /tmp/b/BitchX-1.0c19-FreeBSD4.tar.gz failed!
 pkg_add: unable to extract table of contents file from
 '/tmp/b/BitchX-1.0c19-FreeBSD4.tar.gz' - not a package?
 FREEBSD# gunzip BitchX-1.0c19-FreeBSD4.tar.gz
 FREEBSD# ls -a
 .   BitchX-1.0c19-FreeBSD4.tar
 ..  scr-bx
 BitchX  wserv
 FREEBSD# pkg_add BitchX-1.0c19-FreeBSD4.tar
 tar: +CONTENTS: Not found in archive
 tar: Error exit delayed from previous errors
 pkg_add: tar extract of /tmp/b/BitchX-1.0c19-FreeBSD4.tar failed!
 pkg_add: unable to extract table of contents file from
 '/tmp/b/BitchX-1.0c19-FreeBSD4.tar' - not a package?

when i try to use ./configure the following is what i get:

FREEBSD# ./configure
 ./configure: Command not found.

please help.

Regards
 ian

On Sat, 21 Jun 2003 15:26:44 -0300 Han Hwei Woo ([EMAIL PROTECTED])
 wrote:

Just pkg_add the tarballs, like in Slackware.
 
 Han Hwei Woo
 http://www.argosy.ca/~hhw
 
 - Original Message -
 From: Ian Todd [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, June 21, 2003 2:56 PM
 Subject: packages
 
 
  Hi
 
  I am a newbie to freebsd. I am having trouble on installing
 packages.
  i know about the pkg_add. I downloaded BichX and its
  BitchX-1.0c19-FreeBSD4+Tcl1.5.tar.gz. How will i install that
 packages
  seeing that its an tar.gz file. ive use tar to extract it then i
 get
  stuck. Im just using this file for an example.I would like to know
  whats the right way on installing packages.Help please.
 
  regards
  ian
 
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


socks

2003-06-22 Thread Ian Todd
Hi

I am wondering does freebsd support socks4? If so how do u enable it
or dont u need to enable it or do u need to install it? Cuse ive
installed xchat from the freebsd cd.Im running a proxy and ive set it
up but it doesnt want to work. my proxy server is correct cause i can
connect through it with mirc for windows.Help please.

regards
ian
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports

2003-06-22 Thread Ian Todd
How do u check what ports r open on my freebsd box? how do i close and
open them?

regards
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports

2003-06-22 Thread Ian Todd
How do u check what ports r open on my freebsd box? how do i close and
open them?

regards
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports / packages

2003-06-28 Thread Ian Todd
Hi

I would like to know when u install a port or a package how do u know
what is the executable file and where does it normaly store the
installation files of the port or package?

Regards
Ian
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVSupping 5

2003-07-03 Thread Ian Barnes
Hi,

Please forgive my stupidity.

What is the cvsup tag for the 5 branch? RELENG_5 doesnt work. I have
searched the archives, the site and I cant find anything that would help me.

I just installed a 5.1 box, and would like to cvsup and rebuild my kernel.

Thanks alot.

Ian

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


D-Link DGE-510T Gigabit Ethernet Card with FreeBSD 4.8

2003-07-11 Thread Ian Service
I just picked up two of these cards, but they're not supported and
aren't picked up by any of the other gigabit devices in LINT.  Any help
that you could give would be great, I'd really like to be able to use my
new hardware.  (I'm running FreeBSD4.8-STABLE on both machines.)
 
- Ian
 
Device Info:
 
[EMAIL PROTECTED]:10:0:class=0x02 card=0x40041186 chip=0x40001186
rev=0x0chdr=0x00
vendor   = 'D-Link System Inc'
device   = 'DL2000 Gigabit Ethernet Adapter'
class= network
subclass = ethernet
 
Some other guy who had the same problem: 
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/003657.h
tml
  _  


D-Link DGE-510T support

Eirik Nygaard
mailto:freebsd-questions%40freebsd.org?Subject=D-Link%20DGE-510T%20supp
ortIn-Reply-To= eirikn at bluezone.no 
Wed Apr 23 08:58:38 PDT 2003 


*   Previous message:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/003654.
html chroot stock ftp help ??? 

*   Next message:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/003668.
html D-Link DGE-510T support 

*   Messages sorted by:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/date.ht
ml#3657 [ date ]
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/thread.
html#3657 [ thread ]
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/subject
.html#3657 [ subject ]
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/author.
html#3657 [ author ] 

  _  

I just bought a D-Link DGE-510T NIC but FreeBSD will not detect it.

Nothing on google about it either. So I hoped someone have a patch
laying

around.



pciconf output:

 http://lists.freebsd.org/mailman/listinfo/freebsd-questions none1 at
pci0:12:0:class=0x02 card=0x40041186 chip=0x40001186
rev=0x0c hdr=0x00

vendor   = 'D-Link System Inc'

device   = 'DL2000 Gigabit Ethernet Adapter'

class= network

subclass = ethernet



If you need some more information I will gladly send it.


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


Apache Seg Faulting

2003-07-12 Thread Ian Barnes
Hi,

I am having problems getting my apache running.

I have run apache+mod_php4 for almost a year now. Today i recompiled php4
(which was running on the latest version allready), to add in GD, and some
other support. Now, if i try and start apache it core dumps. It creates a
httpd.core file which is 3 meg big. Now if i tell it not to load the php4
modules, by commenting out the 2 php4 modules, then apache starts perfectly.

Could i be the modules ?
This is very serious, as my sites all run of php, so now everyone is down.

Thanks for the help.

Ian

P.S. Im running latest php, apache version 1.3.26. Its running on a BSD
4.8Stable system

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


Squid ncsa based authentication on FBSD

2002-09-18 Thread Ian Moore

Hi,
This may be a squid question, but I *think* it's a FBSD specific issue.
I've been experimenting with user authentication on squid. The squid.conf 
says:
#   If you want to use the traditional proxy authentication,
#   jump over to the ../auth_modules/NCSA directory and
#   type:
#   % make
#   % make install
#
#   Then, set this line to something like
#
#   authenticate_program /usr/local/bin/ncsa_auth /usr/local/etc/passwd
 but locate ncsa gives:
/usr/compat/linux/usr/share/terminfo/n/ncsa
/usr/compat/linux/usr/share/terminfo/n/ncsa-m
/usr/compat/linux/usr/share/terminfo/n/ncsa-m-ns
/usr/compat/linux/usr/share/terminfo/n/ncsa-ns
/usr/compat/linux/usr/share/terminfo/n/ncsa-vt220
/usr/compat/linux/usr/share/terminfo/n/ncsa-vt220-8

so I'm wondering how to get ncsa (or any other authentication system) running 
with squid. All the squid documentation just seems to assume that ncsa_auth 
is available.
Hope someone can help :-)

Cheers,
Ian


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



Re: Squid ncsa based authentication on FBSD

2002-09-19 Thread Ian Moore

On Wed, 18 Sep 2002 22:54, Fernando Gleiser wrote:
 On Wed, 18 Sep 2002, Ian Moore wrote:
  so I'm wondering how to get ncsa (or any other authentication system)
  running with squid. All the squid documentation just seems to assume that
  ncsa_auth is available.

 It is in the auth_modules/NCSA subdir of the squid source distribution.
 The port does not install it by default. You can get it in the work/squid*
 dir of the port.

Ahh, I installed the package, not the port. Now I've deleted the package  
added the port, the auth_modules are there. Thanks for your help Fernando.
Cheers
Ian


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



VPN Tunnel Routing

2002-09-26 Thread Ian Cartwright

Greetings:

I am trying to construct a B2B mode VPN tunnel between my house and my
work using FreeBSD. My work uses Checkpoint VPN-1 and I have a FreeBSD
firewall that is running ipfilter to do firewall/NAT duties. I have so
far been successful in creating a tunnel between the FreeBSD box and my
work VPN server using /usr/ports/security/racoon, gif (4), and the IPSEC
kernel module. I am able to establish a tunnel and pass packets from my
FreeBSD firewall to my work network. I have not been able to pass
packets from the rest of my home network to my work over the VPN tunnel.
The packets seem to never make it into the tunnel, and also do not pass
out to the Internet via my firewall.

Here is my current configuration (IPs changed to protect the guilty):

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::2a0:c9ff:fe5c:c37b%fxp0 prefixlen 64 scopeid 0x1
inet 100.100.100.1 netmask 0xff00 broadcast 68.3.250.255
ether 00:a0:c9:5c:c3:7b
media: Ethernet autoselect (10baseT/UTP)
status: active
fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::2a0:c9ff:fe76:4764%fxp1 prefixlen 64 scopeid 0x2
ether 00:a0:c9:76:47:64
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280
tunnel inet 68.3.250.5 -- 199.64.13.20
inet6 fe80::2a0:c9ff:fe5c:c37b%gif0 prefixlen 64 scopeid 0x5
inet 192.168.0.1 -- 200.200.200.1 netmask 0xff00

fxp0 is my external network adapter, connected to the Internet and
assigned 100.100.100.1 by my ISP.
gif0 is the tunnel adapter and ties my network to my work's network. The
ip 200.200.200.1 is the inside interface of my work's VPN server.

The commands used to create the gif tunnel are as follows:
ifconfig gif0 create tunnel 100.100.100.1 200.200.201.1
ifconfig gif0 inet 192.168.0.1 200.200.200.1 netmask 255.255.255.0

100.100.100.1 is my external address again
200.200.201.1 is the external interface on my work's VPN server
200.200.200.1 is the internal interface on my works VPN server again

As you can see, I am using the same IP for my internal interface on my
firewall (fxp1) as I am for the local termination of the gif tunnel. I
have also tried using a different IP address with the same results. As
far as I can tell, the routing is set up correctly with all routes to my
work's netowrk pointing at the gif tunnel (either 192.168.0.1 or
192.168.0.2depending on my configuration).

I guess my main questions are: why aren't packets from my inside network
entering the gif tunnel? Why is it that only packets that originate on
the firewall itself seem to enter the gif tunnel? Is this fixable? If so
how?

Cheers,

Ian Cartwright


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



Suggestion re packages

2002-10-02 Thread Ian Moore

Hi,
As I was browsing thru the questions mailing list just now, I thought of 
something that might improve the ease of use of our ports/packages system.
It seems to me it would be helpful if packages included a quick summary of any 
options used to compile the package and anything else that isn't included in 
the packages, but is present in the port (or vice versa?). For example -  the 
authentication bits in Squid)
I've come across problems several times where I couldn't get something to work 
because I'd installed the package rather than the port and I've seen 
questions from others with the same problem.
What do you think?

Cheers,
Ian

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



Re: NIS/YP -NFS -DISKLESS problem, weird

2002-10-13 Thread Ian Dowse

In message [EMAIL PROTECTED], Hartmann, 
O. writes:
I can see the X-Terminals and other diskless systems booting but when
mounting / via NFS from the boot host, they get stuck. It seems that they
can not mount the NFS file system, but that is not the problem.

I exported then the root tree of the diskless systems to another system
and I saw that they can mount it without any problem. But now the
weird thing comes into play: I can travers via cd and ls __all__ directories
and can list all dir entries execept those of etc!

Hi,

Could you collect a tcpdump trace of the client as it becomes stuck?
Something like

tcpdump -nepX -s 1600 host your_client_ip and udp port 2049

run from the server should do the trick. I just need to see a few
retransmits of the failing request.

Ian

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



Re: accept() doesn't pass back sockaddr

2002-10-14 Thread Ian Dowse

In message [EMAIL PROTECTED], Christopher Weimann writes:
I am using on a web filter ( dansguardian.org ) and am having
problems on FreeBSD (4.5-STABLE).  The filter runs fine for
about 20 minutes or so then can't seem to come up with the
right ip addresses for any client machines.

After much reading of man pages, Stevens, and some banging 
of my head against the desk I decided that maybe it wasn't 
me :)  I found a PR that I think seems to relate (misc/34307) 
but this still confuses me.  I would think that if the 
situation this PR describes were to be the case all sorts 
of things wouldn't be working right.

Is the code in question correctly initialising the variable that
the `addrlen' parameter points to before calling accept?  It looks
as if this might be the problem in the PR you mention. I mean that
the code should look like

sin_len = sizeof(sin);
s = accept(servsock, (struct sockaddr *)sin, sin_len);

where `sin_len' is reset to the correct length before calling
accept() each time. I think sin_len may be reset to 0 when an error
occurs, but otherwise you would get away with not resetting it.

Ian

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



Re: devbuf state in top

2002-10-18 Thread Ian Dowse
In message [EMAIL PROTECTED], 
Chris Ptacek writes:
I had a process whose state under top was listed as devbuf.
This process seemed to be stuck and I was unable to kill it.
I ended up rebooting the box to reset it.

None of the man pages (TOP, PS) list the devbuf state.  
What is it and what was the process trying to do?  
I am guessing it had something to do with memory allocation.

It means that the kernel is trying to allocate memory with a type
code of M_DEVBUF, but the kernel limit for that type has been
reached. Hence the process is stuck waiting for something to free
M_DEVBUF memory for it to use. `vmstat -m' shows the current
amount of memory allocated by each malloc type.

As the name suggests M_DEVBUF is normally used for buffers in kernel
devices. Maybe you have created a very large number of devices or
configured a device in a way that requires a lot of memory (e.g set
a huge value for SC_HISTORY_SIZE), maybe there is a memory leak,
or possibly you just need to increase the value of MAXUSERS in the
kernel configuration file.

Ian


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



TX Under run

2002-10-25 Thread Ian Barnes
Hi,

I keep getting this in my log files, what does it mean ?

Oct 25 00:30:35 comrite-mdb /kernel: dc2: TX underrun -- increasing TX
threshold

thanks
Ian Barnes


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



HPFS filesystem

2002-11-12 Thread Ian Smith
Having tens of thousands of files collected over about seven years on
numerous HPFS volumes on a couple of OS/2 machines, and being tired of
shuffling between in .zip files, I'd love access to HPFS volumes (all
within extended DOS partitions) from the FreeBSD installs on those
boxes.  I'm well tuned to the WARNING, but readonly access will do ..

I'd looked over Semen Ustimenko [EMAIL PROTECTED]'s HPFS code, and
was about to ask here if it still worked on 4.5-RELEASE and since, when
a colleague noticed this code in the 4.5 source tree, but that it's not
installed by default, nor mentioned in LINT (/sys/{modules,fs}/hpfs) 

What do I have to do to add the filesystem?  I gather from skimming the
code that it is (or was?) hooked into mountd.  Is this a buildworld job
(after how enabling its inclusion?) or can I just make it (from where?)

Thanks in advance,

Ian


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



disabling root logins

2002-11-14 Thread Ian Barnes
Hi,

I would like to disable root logins, both at console and through ssh ...

where should I start ?

thanks for the help

Ian

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



Re: PCMCIA

2002-11-19 Thread Ian Watkinson
On Tue, 2002-11-19 at 14:36, John Bleichert wrote:
 On Tue, 19 Nov 2002, Brian Henning wrote:
 
  Date: Tue, 19 Nov 2002 08:38:19 -0600
  From: Brian Henning [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: PCMCIA
  
  Hello,
  
  Earlier i was asking about a D-Link DFE-670TXD PCMCIA NIC.  Is it ok to
 use
snip

eeBSD+4.7-RELEASEformat=html
 
 It sounds like you don't have support for your card in your kernel. Look 
 for your card in the LINT file and see what needs to be added. I can't 
 look myself (my Thinkpad is in the shop) or else I would. LINT is in the 
 same place as the GENERIC kernel config file.
 
 Also, look at the comments in GENERIC, your card may be listed.
 

You could try adding support for the dc cards, as this covers earlier
D-Link cards, however in Linux, it's under the tulip module, so perhaps
this gives you a pointer?

The files you are looking for are in /usr/src/sys/i386/conf

Ian Watkinson



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



VPN

2002-11-21 Thread Ian Watkinson
Been looking at a number of how-to's on the web for connecting Win2k
clients to Freebsd as a VPN.

However, despite carefully following them, I can't get any of them to
work.

Could someone on the list who has managed this, either point me in the
direction of a how-to that works, or share their config 
That works with the list?

Many thanks in advance.

-- 

Ian Watkinson
==

ICQ 2781385
Internet Pager[EMAIL PROTECTED]  
 


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



Re: Regarding one important issue

2002-11-29 Thread Ian Dowse
In message [EMAIL PROTECTED], Senthil writes:
Hi,
We are using FreeBSD in our organization as a NFS Server. Latest, we 
have developed a NFS client on Windows, we are facing some problem with 
NFSRead on Version 3. Basically we request for reading some size of 
bytes, (which is the read Maximum number of bytes returned by stat 
information(deliberately we are not asking read preferred number of 
bytes ). But FreeBSD NFS Server is retuning a error as garbled arguments.

I can have a look if you can get a complete tcpdump log of the
request and the response that you saw. Use tcpdump options that
capture the full packets such as:

tcpdump -nepX -s 1600 udp port 2049

Ian

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



Hostname failure

2002-12-02 Thread Ian Moore
Hi,
I'm having a frustrating time witht a recently built 4.7-RELEASE box.
It seems like it can't resolve it's own hostname!

hostname returns the hostname OK:
daemon:/home/imoore # hostname
daemon

but running cvsup gives:
daemon:/home/imoore # cvsup /usr/local/etc/cvsup/supfile
Cannot get IP address of my own host -- is its hostname correct?

Also, when apache starts:
 Local package initialization:httpd: Could not determine the server's fully 
qualified domain name, using 127.0.0.1 for ServerName

My rc.conf has:
hostname=daemon

and /ect/hosts looks like:
127.0.0.1   localhost deamon

This is a standalone machine with a dial-up ppp connection, so it's a pretty 
basic setup. I can't see what the difference is between it and other machines 
I've set up.
Any ideas?

Cheers,
Ian

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



Re: Hostname failure

2002-12-02 Thread Ian Moore
On Mon, 2 Dec 2002 21:33, Stijn Hoop wrote:
 On Mon, Dec 02, 2002 at 09:25:28PM +1030, Ian Moore wrote:
  and /ect/hosts looks like:
  127.0.0.1   localhost deamon

   ^^

 That's not spelt like 'daemon'. Typo?

 --Stijn

Oops! Yes, I is. I could have sworn I'd checked the spelling was the same 
everywhere. Thanks,
Ian

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



Re: Upgrading kde with ports

2002-12-05 Thread Ian Moore
On Tue, 3 Dec 2002 21:12, Marc Silver wrote:
 Hi there,

 You could use /usr/ports/sysytils/portupgrade to do this... and as far
 as I know it can use packages instead of source... :)

 Good luck,
 Marc

 On Tue, Dec 03, 2002 at 05:42:08PM +1030, Ian Moore wrote:
  If I want to upgrade kde 3.0.3 to 3.0.5 using the packages, rather
  than compiling from ports, what is the best way to do it?  I've
  cvsup'ed my ports tree last night and downloaded all the packages from
  ftp.kde Is there some way to upgrade to the new packages and all their
  dependencies in the same way that the ports system would upgrade
  dependencies automatically?

Thanks,
I did that  work liked like a dream - portupgrade is quite awesome!
I hadn't realised it could work with packages as well as ports.

Cheers,
Ian

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



Sound Card and Speakers

2003-02-11 Thread Ian Barnes
Hi,

I have a sound blaster live value, with Cambride Soundworks 5.1 Surround 
Speakers. I am running FreeBSD 5.0 Rel, in my kernel config i have device 
pcm, my sound works fine. The only thing that is bothering me, is that it the 
surround sound isnt working properly. I am using KDE as my window manager, 
wih xmms as my mp3 player. 

Has anyone managed to get this problem sorted out ? Am i alone ?

Thanks for the help

Ian Barnes
-- 
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]

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



external usb hard drive under 4.7-STABLE

2003-02-12 Thread Ian Morrison
hi peeps,

i picked up a cheap external usb drive case at a computer fair last
week, and put an old 4 gig 2.5inch drive in it.  i formatted the disk as
fat32 under windows 2000, and everything is fine;  i wondered though, if
anyone knew how to get one of these gadgets working under bsd.  it
doesn't need any drivers under win2k, for what its worth..

dmesg shows the following..

BRIDGE 020214 loaded
ad0: 19077MB IBM-DJSA-220 [41344/15/63] at ata0-master UDMA33
acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2302 at ata1-master PIO4
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR 

i'm not sure if the BRIDGE is relevant, but i'm guessing it is because
i've never seen it before, and i'd imagine that this box has some kind
of USB -- IDE bridge action occurring.

so, any ideas?  how can i find out what's inside?

cheers gang..

ian
-- 
:: darq.net /#/ :: such swoopy interwords | mnemonica

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



kGPG crash

2003-02-21 Thread Ian Barnes
Hi,

I sent an email to the author of the program, and he couldnt help me, so i was 
wondering if anyone here could help me. 

I am running FreeBSD 5.0rel, with gnupg-1.2.1, with kgpg-0.9.5, i installed 
both last night. So, once installed, i type kgpg, at the prompt, and i get 
the KDE crash handler, that tells me that kgpg crashed and caused a signal 11 
(SIGSEGV). Now in the backtrace window, this is what i get:

snip
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
[Switching to Process 30259, Thread 1]
0x28f4dab3 in poll () from /usr/lib/libc.so.5
#0  0x28f4dab3 in poll () from /usr/lib/libc.so.5
#1  0x28ef7111 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.5
#2  0x28ef6b10 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
/snip

At the prompt i get this:

snip
[root@ian] ~ # kgpg
Xlib:  extension GLX missing on display :0.0.
KCrash: crashing crashRecursionCounter = 2
KCrash: Application Name = kgpg path = unknown pid = 30259
ERROR: KUniqueApplication: DCOP communication error!
[root@ian] ~ # Xlib:  extension GLX missing on display :0.0.

/snip

Anyone got any ideas? Or got any other solutions to my problem. I want to use 
php, but with a GUI.

Thanks in advance.

Ian Barnes
--
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]

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



minibsd problems

2003-03-02 Thread Ian Gorrie
 for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue:
publickey,password,keyboard-interacti
ve
debug1: next auth method to try is publickey
debug1: try privkey: /root/.ssh/identity
debug1: try privkey: /root/.ssh/id_rsa
debug1: try privkey: /root/.ssh/id_dsa
debug1: next auth method to try is keyboard-interactive
Password:
debug1: authentications that can continue:
publickey,password,keyboard-interacti
ve
Password:
debug1: authentications that can continue:
publickey,password,kebboard-interacti
ve
Password:
debug1: authentications that can continue:
publickey,password,keyboard-interacti
ve
debug1: next auth method to try is password
[EMAIL PROTECTED]'s password:
debug1: authentications that can continue:
publickey,password,keyboard-interacti
ve
Permission denied, please try again.
[EMAIL PROTECTED]'s password:
debug1: authentications that can continue:
publickey,password,keyboard-interacti
ve
Permission denie,, please try again.
[EMAIL PROTECTED]'s password:
debug1: authentications that can continue:
publickey,password,keyboadd-interacti
ve
debug1: no more auth methods to try
Permission denied (publickey,password,keyboard-interactive).
debug1: Calling cleanup 0x804c1ec(0x0)
[and yes.  correct passwords were used]

If anyone has any suggestions or solutions, I would be very appreciative.

If the answer for now is using FreeBSD 4.7, I can do that too.

Thanks again (in advance)

-i

--
Ian Gorrie [EMAIL PROTECTED]
Think Business Solutions - http://www.thinkbiz.us
/***
 * Serial/tty logger
 * 09.Feb.2003 - Shyong Lam - [EMAIL PROTECTED]
 *
 * Serial port parameters should be configured using the #define lines below
 *
 * Some portions of this code are from _Serial Programming Guide for POSIX 
 * Operating Systems_ by Michael R. Sweet.  As far as I know, this uses only 
 * POSIX functions and should work under any POSIX-compliant OS.
 **/

#include stdio.h
#include stdlib.h
#include unistd.h
#include fcntl.h
#include errno.h
#include termios.h
#include time.h

/* SERIAL PORT CONFIGURATION */
/* see termios.h (or bits/termios.h) for all valid constants */

/* the TTY we should be reading from (should be readable by user!  :) */
/* #define MY_TTY /dev/tty00 */  // openbsd
#define MY_TTY /dev/cuaa0// freebsd
/* baud rate (B2400, B4800, etc) */
#define MY_BAUDRATE B19200
/* # of data bits (CS5, CS6, CS7, CS8) */
#define MY_BITS CS8
/* parity bit type specified as:  0 - no parity, 1 - odd, 2 - even */
#define MY_PARITY 0
/* number of stop bits (should be 1 or 2) */
#define MY_STOP_BITS 1
/* software flow control flag (0 to disable, 1 to enable) */
#define MY_SOFTWARE_FLOW 0
/* hardware flow control flag (0 to disable, 1 to enable) */
#define MY_HARDWARE_FLOW 1

/* prototypes... */
int open_port(void);
int configure_port(int);
void close_port(int);

/* the actual program... whoohoo! */
int main(int argc, char *argv[]) {
  int tty;
  char buf[1024];
  char data[32768];
  int n;

  /* open port... */
  if(-1 == (tty = open_port())) {
fprintf(stderr, Unable to open %s: , MY_TTY);
perror();
exit(-1);
  }

  /* ...configure it... */
  if(configure_port(tty)  0) {
fprintf(stderr, Unable to configure %s: , MY_TTY);
perror();
exit(-1);
  }

/*
  sprintf(buf, \11);
  if(write(tty, buf, 1)  1) {
fprintf(stderr, Unable to write to %s: , MY_TTY);
perror();
exit(-1);
  }
*/

  /* ...start logger loop */
  data[0] = '\0';
  while(1) {
char *eol;

n = read(tty, buf, 1024);

/* 0 means we've managed to reach EOF (how?) */
if(n == 0) {
  fprintf(stderr, EOF reached\n);
  break;
}
/* 0 means something unexpected happened; we'll ignore EINTR */
if(n  0  errno != EINTR  errno != EAGAIN) {
  perror(Fatal error: );
  break;
}

/* for now, just write the data to stdout until this is better tested */
/* fprintf(stderr, Got %d bytes\n, n); */
/* write((int) stderr, buf, n); */
strncat(data, buf, n);
while(eol = (char *) strchr(data, '\n')) {
  int len = (int) eol - (int) data + 1;
  char temp[32768];
  if(len  0) {
strncpy(temp, data, len);
temp[len] = '\0';
if(temp[0] == '$') {
  int now = time(NULL);
  if(!(now % 5))
fprintf(stdout, %d,%s, now, temp);
}
  }
  strncpy(temp, eol + 1, 32768);
  strncpy(data, temp, 32768);
}
  }
}

/* open serial port - returns the file descriptor on success or -1 on error */
int open_port(void) {
  int fd; /* File descriptor for the port */

  fd = open(MY_TTY, O_RDWR | O_NOCTTY | O_NDELAY);
  if (fd != -1)
fcntl(fd, F_SETFL, 0);

  return (fd);
}

/* configure serial port

Another Openoffice problem

2003-03-18 Thread Ian Barnes
Hello,

I am getting this error when trying to build openoffice cvsupped yesterday.

snip
|Index: share/tools/hprof/hprof_site.c
|===
|RCS file: /data/java/JDK2/javasrc/src/share/tools/hprof/hprof_site.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.4
|diff -u -r1.1.1.1 -r1.4
|--- share/tools/hprof/hprof_site.c 1999/04/24 14:26:51 1.1.1.1
|+++ share/tools/hprof/hprof_site.c 2001/09/11 05:45:28 1.4
--
Patching file tools/hprof/hprof_site.c using Plan A...
Hunk #1 succeeded at 12.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: share/tools/hprof/hprof_trace.c
|===
|RCS file: /data/java/JDK2/javasrc/src/share/tools/hprof/hprof_trace.c,v
|retrieving revision 1.1.1.1
|retrieving revision 1.4
|diff -u -r1.1.1.1 -r1.4
|--- share/tools/hprof/hprof_trace.c1999/04/24 14:26:51 1.1.1.1
|+++ share/tools/hprof/hprof_trace.c2001/09/11 05:45:28 1.4
--
Patching file tools/hprof/hprof_trace.c using Plan A...
Hunk #1 succeeded at 13.
Hunk #2 succeeded at 26.
Hunk #3 succeeded at 45.
Hunk #4 succeeded at 240.
Hunk #5 succeeded at 252.
done
*** Error code 1

Stop in /usr/ports/java/jdk12.
*** Error code 1

Stop in /usr/ports/devel/jakarta-ant.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
[EMAIL PROTECTED] /usr/ports/editors/openoffice #
/snip

anyone got any insight.

Thanks alot,

Ian Barnes
-- 
--
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]



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


Problem with apache

2003-03-18 Thread Ian Larsen
I've got two FreeBSD boxes on my home network.  They are both assigned local 
IP addresses through DHCP.

I've just installed Apache on both of them tonight, and I can access one 
machine just fine using its local IP address. (192.168)  The other, I 
can telnet to port 80 on it using:

$ telnet localhost 80
Trying ::1..
Connected to localhost.
Escape character is '^]'
But if I try using its IP address, even the loopback, the connection is 
refused:

$ telnet 127.0.0.1 80
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: unable to connect to remote host
I've set up the /etc/hosts file on each to reflect 127.0.0.1 as the domain 
names for each computer.  I tried a bunch of things with the ServerName 
directive before restoring the Apache defaults there when nothing worked.

Any ideas?

Thanks so much,
Ian Larsen
_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Openoffice build error

2003-03-16 Thread Ian Barnes
Hi,

I am trying to build the latest version of openoffice (cvsupped earlier). I 
get this error bellow, i am runing a 5.0 Rel system with X4, and KDE 3.1

snip
[EMAIL PROTECTED] /usr/ports/editors/openoffice # make install

REQUIREMENTS:

OO requires that the ENV variable LANG
is set to a proper value. Dependent on
which language port you use, OO does
automatically set LANG to a suitable
value. You can change this with:

USE_LANG=prefered language

and set a different language
like:

en_US.ISO8859-15 en_US.ISO8859-1
US-ASCII

Your current setting is:

USE_LANG=en_US.ISO8859-15


OPTIONS:

You can compile OO with different
gcc compiler versions:

Add USE_GCC=2.95 or USE_GCC=3.1
to compile openoffice with your
prefered compiler.

If you like to use the native BSD
JDK for the build system, you can use
WITH_BSD_JDK=TRUE to disable the
usage of the linux-JDK and linux dependency.


You can compile OO with debug symbols
if you call make with WITH_DEBUG=1

If you set WITH_DEBUG=2, you add internal
OO.org debug support.


You may set WITH_TTF_BYTECODE_ENABLED=YES
if you like to use the Freetype library to
render TTF fonts. Normally the TTF lib is
not used to render fonts.

If you have licensed the Apple patents
US05155805 US05159668 and US05325479
you can enable this option to get better
quality of glyphs at small bitmap sizes.


NOTICE:

To build Openoffice, you should have a lot
of free diskspace (~ 4GB).


===  Extracting for openoffice-1.0.2_1
 Checksum OK for openoffice/OOo_1.0.2_source.tar.bz2.
 Checksum OK for openoffice/gpc231.tar.Z.
 Checksum OK for openoffice/patch-openoffice-mozilla101-2002-10-14.
===  Extracting mozilla sub project
 libart_lgpl-1.0.2.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/marcus/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/marcus/libart_lgpl-1.0.2.tar.bz2:
 
Service not available, closing control connection
 Attempting to fetch from 
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/marcus/.
fetch: transfer timed out
 Attempting to fetch from 
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/marcus/.
Receiving libart_lgpl-1.0.2.tar.bz2 (97936 bytes): 100% (ETA 00:00)
97936 bytes transferred in 222.3 seconds (440.64 Bps)
===  Extracting for mozilla-1.0.2_1
 Checksum mismatch for mozilla-source-1.0.2.tar.bz2.
 Checksum OK for libart_lgpl-1.0.2.tar.bz2.
Make sure the Makefile and distinfo file 
(/usr/ports/editors/openoffice/work/mozilla/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args].
*** Error code 1

Stop in /usr/ports/editors/openoffice/work/mozilla.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
[EMAIL PROTECTED] /usr/ports/editors/openoffice #

/snip


Anyone have any ideas ?

Ian
-- 
--
BOFH - Mom's Pharmacies
Email: [EMAIL PROTECTED]



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


Re: Problem with apache

2003-03-19 Thread Ian Larsen
Thanks Andrey!

A sockstat on the non-working server showed this:

www  httpd  694   3  tcp6  *:80  *:*

while the working version shows:

www  httpd  694   3  tcp46  *:80  *:*

It appears the non-working server is only aware of tcp6 protocol.
Is this a problem with my ethernet config?  Other services are using tcp4.
Is there something in the apache configs that would cause this?
Thanks again,
-Ian Larsen


Original Message Follows
From: Andrey Simonenko [EMAIL PROTECTED]
To: Ian Larsen [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Problem with apache
Date: Wed, 19 Mar 2003 10:31:50 +0200 (EET)
On Wed, 19 Mar 2003 06:35:12 + (UTC) in lucky.freebsd.questions, Ian 
Larsen wrote:
 I've got two FreeBSD boxes on my home network.  They are both assigned 
local
 IP addresses through DHCP.

 I've just installed Apache on both of them tonight, and I can access one
 machine just fine using its local IP address. (192.168)  The other, I
 can telnet to port 80 on it using:

 $ telnet localhost 80
 Trying ::1..
 Connected to localhost.
 Escape character is '^]'

 But if I try using its IP address, even the loopback, the connection is
 refused:

 $ telnet 127.0.0.1 80
 Trying 127.0.0.1...
 telnet: connect to address 127.0.0.1: Connection refused
 telnet: unable to connect to remote host


Following checks should help:

1.  Check on which interfaces your Apache server works: sockstat -l.
2.  Check NICs IP addresses: ifconfig -a
3.  Check routing table: netstat -rn
4.  Check IPFW ipfw l (and/or IPF ipfstat -io) tables.
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


  1   2   3   4   5   6   7   8   9   10   >