Re: Installing IMP from ports

2005-03-29 Thread Wayne Pascoe
On Mon, Mar 28, 2005 at 09:38:28PM -0800, Ted Mittelstaedt wrote:
 [EMAIL PROTECTED] wrote:
  Hi all,
  
  I'm just trying to find out if it is currently possible to install IMP
  (Webmail part of the Horde project) from ports at the moment. If not,
  does anyone know when the dependent packages will be fixed ?
  
  Quite a few of the Pear packages seem to have been marked as BROKEN
  at the moment :( 
  
  If not from ports, what other ways of installing IMP / Horder are
  advised ? 
  
  TIA,
 
 did you upgrade your ports tree?
 
 Try it on a freshly installed system that you have run a portupgrade on.
 
 If that doesen't work I have notes that may help.

I did an update before trying this, yeah.

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


Installing IMP from ports

2005-03-28 Thread Wayne Pascoe
Hi all,

I'm just trying to find out if it is currently possible to install IMP
(Webmail part of the Horde project) from ports at the moment. If not,
does anyone know when the dependent packages will be fixed ?

Quite a few of the Pear packages seem to have been marked as BROKEN at
the moment :(

If not from ports, what other ways of installing IMP / Horder are
advised ? 

TIA,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)

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


Mail server questions (SMTP Auth, Imap and virtual domains)

2004-10-03 Thread Wayne Pascoe
Hi all,

I've got a mail setup doing virtualhosts as described at 
http://www.penguinpowered.org/documentation/exim_virtualhosting.html

My users can pull their mail down with POP, but have to use their ISP's
SMTP server for outgoing mail.

I'd like to do two things at this stage, and I'd appreciate any advice
on pointers to help me achieve these:

1. Setup SMTP Auth with Exim so that they can use my boxes for outgoing
SMTP. This would allow me to setup SPF on their domains as well, which
would be a plus.

2. Setup a webmail solution. I'm currently using Squirrelmail for users
that exist in /etc/passwd (not very many!), and am considering a
migration to Horde/IMP. Near as I can tell though it's not the webmail
client that matters, but the imap server. Does anyone know of an imap
server that will do 'virtual mailboxes' like vm-pop3d does ? 

Thanks in advance,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
A good sysadmin always carries around a few feet of
fiber. If he gets lost, he simply drops the fiber
on the ground, waits 10 minutes and asks the
backhoe operator for directions - Bill Bradford
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Filter on FreeBSD 5.2.1

2004-09-08 Thread Wayne Pascoe
On Tue, Sep 07, 2004 at 05:50:59PM -0400, Paul Mather wrote:
 20030925:
   Configuring a system to use IPFILTER now requires that PFIL_HOOKS
   also be explicitly configured.  Previously this dependency was
   magically handled through some cruft in net/pfil.h; but that has
   been removed.  Building a kernel with IPFILTER but not PFIL_HOOKS
   will fail with obtuse errors in ip_fil.c.
 
 
 (It's a good idea to look in /usr/src/UPDATING before updating your
 system.)

Fair enough - to a point. I only look for things that apply to my
system when reading UPDATING... things that have changed since my last
update. In september 2003, I wouldn't have read the ipfilter related
stuff, because I wasn't using ipfilter at that time.

When I do the update now, I just look for changes since my last update,
which won't go back to 2003, so again I won't see that ipfilter entry.
Then I go looking on the web for a HOWTO to install ipfilter on FreeBSD
5.2.1 - which I found, but it didn't mention this.

I'm sure someone won't mind including a single line in a howto because
that then turns it into a definitive reference, that doesn't require
referencing twoo locations.

Regards,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
It could be dangerous... A lot of killing...
and violence. You wanna come?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IP Filter on FreeBSD 5.2.1

2004-09-07 Thread Wayne Pascoe
Hi all,

I'm trying to get ipfilter working with FreeBSD 5.2.1. I did a cvsup 
using the tag RELENG_5_2 night before last.

Today I did make world (which succeeded) and then tried to build my
kernel.

Before doing the make kernel, I edited my kernel configuration file and
added the following lines:

# IPFilter stuf
options IPFILTER
options IPFILTER_LOG

I then did 
make kernel KERNCONF=MYKERNEL

After a while, that dies with the error at the bottom of this message.

Can anyone advise me what is going wrong and how I can fix this ? 

Thanks in advance,

 ERROR MESSAGE - LINES LONGER THAN 72 CHARS FOLLOW 
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Werror  
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper':
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared 
(first use in this function)
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier 
is reported only once
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it 
appears in.)
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6':
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared 
(first use in this function)
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplattach':
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6'
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: At top level:
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' 
defined but not used
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' 
defined but not used
*** Error code 1

Stop in /usr/obj/usr/src/sys/WTP.
*** Error code 1

 END OF ERROR MESSAGE 


-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Filter on FreeBSD 5.2.1

2004-09-07 Thread Wayne Pascoe
On Tue, Sep 07, 2004 at 08:07:34PM +0200, Remko Lodder wrote:
 
 I think you missed this option:
 
 options PFIL_HOOKS  # pfil(9) framework
 
 in your kernel config file..
 
 Try it and see it's magic ;)

Thanks a bunch - that did the trick. I've checked the doc I used to do
this, and it wasn't mentioned. I'll submit something to the maintainer
tomorrow.

Now I just have to find some useful sample rulesets. It's been about 18
months since I touched ipfilter, and things seem to have changed a
little :) 

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
If there's anything more important than my
ego around, I want it caught and shot now!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-02 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 11:36:40PM -0600, flowers wrote:
 From: Wayne Pascoe
  I've tried installing 5.2.1 on the machine and it still doesn't work.
  Now though, it's even worse, as the em0 device doesn't work either.
 
  I get something along these lines:
  em0: Link is up 10Mbps Half Duplex
  em0: watchdog timeout -- resetting
  em0: Link is up 10Mbps Half Duplex
  em0: watchdog timeout -- resetting
 
 I would check your cabling.  I recently had a similar problem that was
 caused by a lousy connection.

Nope, same cable, different card, worked fine. Also, the problem went
away after a recompile of the kernel. Very weird.

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
BSD is for people who love UNIX; Linux is for
people who hate Windows 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting ProFTPD to listen on just one IP address

2004-06-01 Thread Wayne Pascoe
Hi all,

Can anyone enlighten me as to how I get ProFTPD to just listen to one IP
address ? 

I've just installed from ports, so I've got proftpd-1.2.10.r1

I've added the following to my config file : 
DefaultAddress193.xx.xx.xx

I then start ProFTPD and get the following message:
- setting default address to 193.xx.xx.xx

However, netstat -an | grep 21 shows me this
tcp4   0  0  *.21   *.* LISTEN

So it's binding to both IP's on the machine. I've tested this and I can
definitely FTP to both IP addresses - which is NOT what I want. 

The reason I'm trying to get this working is that I need 2 different
config's on the same machine. 

Thanks in advance,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
Wageslaves - Who do you want to make rich
today?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
Hi all,

I just bought a server from DNUK . It claims to have the following
Ethernet card combination:

Intel PRO/1000 / 1000 Mbit / integrated
Intel PRO/100 / 100 Mbit / integrated

I've installed FreeBSD 4.10-RELEASE onto the box, and all I see is em0,
I don't see an fxp0 device.

I've tried installing SuSE Linux on the machine, and it detects both
cards. For the 100Mb, I see the following in dmesg after boot:

e100: selftest OK.
e100: eth1: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled
  cpu cycle saver enabled

I can then allocate it an IP address and it appears to work. 

Does anyone have any advice as to how I can get this working under
FreeBSD ? My supplier doesn't support FreeBSD but they do support Linux,
and they've said if it works under one, it should work under the other. 

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
God gave you the power - Preacher on the Simpsons
Hmm. You'd think he'd wanna...  limit my 
power - Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote:
 Well, I could imagine some special version of a 100Pro/VM integrated
 one, or some special (latest version) 82550 or so.
 
 Could you post a pciconf -lv from a FreeBSD system?
 Would help to identify the parts...

I'm going to go for a 5.2.1 install on this box now, so I'll send the
output of that when I'm done.

Regards,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
I have a very firm grasp on reality. I can
reach out and strangle it any time!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ProFTPD to listen on just one IP address

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:56:28PM +0200, David E. Meier wrote:
 Hi Wayne,
 
 I haven't tried this myself but it looks like what you are looking for:
 
 http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_Bind.html

Thanks, but it turned out it wasn't that...

It turns out that not only do you need the DefaultAddress option, you
also need to specify 
SocketBindTight on

It's like saying 
Use this IP address
No, Seriously! Use this effing IP Address!

Weird! 

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
If someone eventually manages to bag a B-2,
that's a cool US$1bn worth of scrap metal
- missiles, on the other hand, are cheap.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intel Ethernet card not being detected

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:52:21PM +0200, Olaf Hoyer wrote:
 Well, I could imagine some special version of a 100Pro/VM integrated
 one, or some special (latest version) 82550 or so.
 
 Could you post a pciconf -lv from a FreeBSD system?
 Would help to identify the parts...

I've tried installing 5.2.1 on the machine and it still doesn't work.
Now though, it's even worse, as the em0 device doesn't work either. 

I get something along these lines:
em0: Link is up 10Mbps Half Duplex
em0: watchdog timeout -- resetting 
em0: Link is up 10Mbps Half Duplex
em0: watchdog timeout -- resetting 

I can ping the card, but nothing else. This worked fine under
4.10-RELEASE

So I've had to slap an additional Intel Etherexpress pro in there to get
the pciconf off of the machine. That one works, but it's an old card
that I had lying around here.

I'm attaching pciconf.txt which is the output of my pciconf commands as
well as the dmesg from boot. Any enlightenment would be much
appreciated.

The motherboard is a Tyan S5102 Tomcat i875P according to my supplier

Thanks a lot for the help :)

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a35000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0a351f4.
ACPI APIC Table: IntelR AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2806.37-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 511766528 (488 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00fdea0
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82875P host to AGP bridge mem 0xe000-0xefff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 3.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.CSAB - AE_NOT_FOUND
pci2: ACPI PCI bus on pcib2
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.19 port 0xa000-0xa01f mem 
0xf300-0xf301 irq 10 at device 1.0 on pci2
em0:  Speed:N/A  Duplex:N/A
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xcc00-0xcc1f irq 16 at device 
29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xc000-0xc01f irq 19 at device 
29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xc400-0xc41f irq 18 at device 
29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xc800-0xc81f irq 16 at device 
29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
fxp0: Intel 82550 Pro/100 Ethernet port 0xb000-0xb03f mem 
0xf200-0xf201,0xf202-0xf2020fff irq 17 at device 1.0 on pci3
fxp0: Ethernet address 00:02:b3:4c:a4:6e
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci3: display, VGA at device 7.0 (no driver attached

Tape support with mtx

2004-05-25 Thread Wayne Pascoe
Hi all,

I've checked the mtx compatibility list, but I can't find any mention of
the tape drives that I'm considering as a replacement for my dead DAT
autochanger. I've e-mailed the mtx list as well, but I thought I'd take
a chance on mailing here as well.

If anyone is running any of the following, and using mtx to control it,
please could you let me know...

ADIC LTO FastStor HVD LTO Ultrium Drive
Tanberg LTO2 Autoloader Ultrium Tape Library - External
Certance CL3200 LTO Ultrium Tape Library - Rackmount
HP MSL5030 1 Drive LTO Ultrium 230 Rackmount Tape Library

Regards,

-- 
Wayne Pascoe
I'm from Iowa. I just work in space. Admiral
Kirk - Star Trek IV
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems building tk84 port

2004-05-09 Thread Wayne Pascoe
Hi all,

I'm having problems building /usr/ports/x11-toolkits/tk84. I am trying
to build this because I'm trying to build py-bittorrent.

After doing a make clean, a make produces the output of configure, and
then 
cc -pipe -c -O -pipe -march=i686 -march=pentiumpro -Wall -Wconversion
-Wno-implicit-int -fPIC
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../bitmaps
-I/tmp/a/ports/lang/tcl84/work/tcl8.4.4/generic -I/usr/X11R6/include
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1  -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic/tk3d.c

Then the errors start... From lines 71 - 1117 of my output file.

Some of the errors are as follows:
In file included from
In file included from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tkInt.h:21,
 from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.h:18,
 from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:16:
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk.h:70:20: tcl.h: No
such file or directory

It ends with

/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
(near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:83: error:
syntax error before Tcl_Interp
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: error:
syntax error before '*' token
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: warning:
data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:87: error:
syntax error before '{' token
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix.
*** Error code 1

Any ideas on what might be wrong here ? 

Thanks in advance,

-- 
Wayne Pascoe
Doing a linear scan over an associative array
is like trying to club someone to death with a 
loaded Uzi. - Larry Wall
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GD from ports on FreeBSD 4.9

2004-04-23 Thread Wayne Pascoe
On Thu, Apr 22, 2004 at 10:49:33AM -0500, Dan Nelson wrote:
 In the last episode (Apr 22), Wayne Pascoe said:
  I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears
  to want to update gd
  
  The gd update is failing with the following errors:
  
  cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
  -I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
  -I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
  -DHAVE_LIBZ   -c gdft.c -o gdft.o
  gdft.c: In function `fontFetch':
  gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
  function)
 
 Make sure your freetype is up-to-date (2.1.7_3 is the current version) also.

Thanks a bunch. That actually appears to be a bit broken, but I'll
contact the gd2 maintainer.

I was using portupgrade to update gd2, and I would have assumed that if
freetype was a dependency, portupgrade should have updated that as well.

Regards,

-- 
Wayne Pascoe
I have a very firm grasp on reality. I can
reach out and strangle it any time!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MRTG from ports

2004-04-23 Thread Wayne Pascoe
Hi all,

I've just installed mrtg from /usr/ports/net-mgmt/mrtg. I used to have
an older version of mrtg on the machine that I removed by doing 
pkg_delete mrtg*

Since the re-install, I've been getting this error:
SNMP_util version 0.97 required--this is only version 0.93 at
/usr/local/lib/perl5/5.8.0/Exporter/Heavy.pm line 116.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm line 20.
Compilation failed in require at /usr/local/bin/mrtg line 78.
BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 78

I also had this with MRTG_lib, which I rectified by doing a make in
/usr/ports/net-mgmt/mrtg and copying the resulting MRTG_lib.pm to
/usr/local/lib/perl5/site_perl/5.8.0/MRTG_lib.pm

However, I can't seem to find a more recent SNMP_util.pm in the mrtg
directory.

I've tried installing ucd-snmp-4.2.6_3 from Ports, but this didn't give
me a newer versoin either.

Can anyone please enlighten me as to the best way to build mrtg from
ports WITH all of its dependencies ? 

thanks,

-- 
Wayne Pascoe
I'm only in this job until an opening comes up 
in the fast food business...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GD from ports on FreeBSD 4.9

2004-04-22 Thread Wayne Pascoe
Hi all,

I'm trying to build mrtg from /usr/ports/net-mgmt/mrtg and it appears to
want to update gd

The gd update is failing with the following errors:

cc -O -pipe -march=pentiumpro -I/usr/ports/graphics/gd/work/gd-2.0.22
-I/usr/local/include/freetype2/freetype  -I/usr/local/include/freetype2
-I/usr/local/include  -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
-DHAVE_LIBZ   -c gdft.c -o gdft.o
gdft.c: In function `fontFetch':
gdft.c:485: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
gdft.c:485: (Each undeclared identifier is reported only once
gdft.c:485: for each function it appears in.)
gdft.c:486: `FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this
function)
gdft.c:486: `FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this
function)
gdft.c: In function `gdImageStringFTEx':
gdft.c:1050: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this
function)
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-2.0.22.
*** Error code 1

Stop in /usr/ports/graphics/gd.

Any idea how to fix it ? 

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache dies for the second night in a row at the same time.

2004-04-01 Thread Wayne Pascoe
On Thu, Apr 01, 2004 at 01:47:37AM -0600, Kevin Greenidge wrote:

 System: FreeBSD 4.9
 Current Perl Version: 5.8.2

What was your version of perl before the port upgrade ? You might just
be better off going back to whatever it was

 Can't locate Cwd.pm in @INC (@INC contains:
 /usr/local/lib/perl5/site_perl/5.8.0/mach
 /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
 /usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.

Try installing Cwd from CPAN. Then do a perl -c on whatever script is
running from cron at this time and find out what other modules it
requires.

HTH.

-- 
Wayne Pascoe
Bury me deep when there's no will to be
better than you! - Metallica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using IPFW/NAT with multiport PCI cards

2004-03-30 Thread Wayne Pascoe
On Tue, Mar 30, 2004 at 11:06:16AM +0300, Odhiambo Washington wrote:

 Now my only problem is that I have played a little with ipfw in a
 situation where I have just two interfaces, 1 external and 1 internal.
 My current requirement however involves one external interface and
 four (or more) internal interfaces (which should all be SEPARATE
 networks, invisible from each other).

 Is this doable? (I hope someone has done this before). I would say I am
 a total newbie on this one.

Not only is it doable, it's fairly trivial if you've done a 1 in, 1 out
ipfw firewall before. You just take that idea and grow it a little.

 2. Guides/Pointers on HOWTO configure this WRT to ipfw configuration.
Any minute gotchas/clues will be highly appreciated. URL links
pointing to people's experiences also welcome.

Just set the firewall to deny by default and add your rules really...
Here's an example that would allow FTP to one network and HTTP to
another...

${fwcmd} add allow tcp from any to 192.168.1.0/24 80 tcpflags syn keep-state in via 
xl0 
${fwcmd} add allow tcp from any to 192.168.2.0/24 21 tcpflags syn keep-state in via 
xl0 

You can also have rules between your networks as well... This one allows
all machines on one of the protected networks to ssh to all machines in
the other network.

${fwcmd} add allow tcp from 192.168.1.0/24 to 192.168.2.0/24 22 tcpflags syn 
keep-state in via xl1 

Note the following things about this rule...

1. I've specified a source range to allow. 
2. I've used a different interface. This guarantees that this traffic
   isn't coming in via the main external interface, but that it is
   coming in on one of the protected interfaces.

Of course, everywhere I've used an entire range here, you could use a
single IP range. Combining IP addresses with via interface statements
lets you be pretty flexible :)

Hope this helps some ? 

-- 
Wayne Pascoe
BSD is for people who love UNIX; Linux is for
people who hate Windows 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw state tables

2004-03-29 Thread Wayne Pascoe
Hi all,

We're using ipfw as a firewall solution on our network. We are using
stateful rules.

The problem I have though, is that when we reload our ipfw ruleset, all
existing connections to or through the particular machine are lost. This
means a lot of hung ssh sessions.

Is there any way to save the state tables before firewall restart and
then reload them once the new rules are in place ? 

Regards,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Alias in different subnet on card

2004-03-08 Thread Wayne Pascoe
Hi all,

I'm running a firewall at the moment using FreeBSD 5.2.1 and IPFW. I
have 3 interfaces in the machine. 

I need to be able to firewall a 4th range of IP's. I have tried to do
this by adding an alias to xl1, but this hasn't worked. If I add the
alias with a mask of 255.255.255.255, no other machine can ping the
alias. I also see the following in /var/log/messages
Mar  8 18:02:13 styx-tmp kernel: arplookup 19x.xxx.xxx.196 failed: host
is not on local network

The primary IP on xl 1 is currently 19x.xxx.xxx.1 and the mask on there is
255.255.255.128 (/25)

If I add the alias with a mask of 255.255.255.240 (/28) which is the
correct mask for this subnet, and the mask that all other machines use,
then I am able to ping this address. However, at this point, no
forwarding appears to take place for machines using this IP address as
their default route.

Is there any way to use an alias to do firewalling like this or do I
have to get another network card? The problem with another network card
is that will mean a whole new machine as I'm out of slots in this one.

Thanks in advance ?

-- 
Wayne Pascoe
Microsoft complaining about the source 
license used by Linux is like the event 
horizon calling the kettle black - adamba on k5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Alias in different subnet on card

2004-03-08 Thread Wayne Pascoe
On Mon, Mar 08, 2004 at 01:53:33PM -0600, Micheal Patterson wrote:
 You have 3 networks in a firewall, and since we don't know the full
 topology, I'll use these network ranges for my example: 192.168.1.0,
 192.168.2.0, and 192.168.3.0. You now want to add a 4th range, let's say,
 192.168.4.0.

Sorry about that... Let me be more specific about that... I will use
172.16.1.0 in place of my real IP range though. My real range is a /24
that has been subnetted for various companies that share our building. 

xl0 - Interface that my workstation network connects to and is natted 
  out from

xl1 - Interface that my servers all connect to, from both networks 
  (eventually, I hope :) )

xl2 - Connection to router

xl0 - 192.168.2.1 netmask 255.255.255.0   (/24)
xl1 - 172.16.1.1 netmask 255.255.255.128  (/25)
xl2 - 172.16.1.243 netmask 255.255.255.248 (/29)

I am now trying to the network 
172.16.1.192 netmask 255.255.255.240 (/28) to the firewall. The reserved
router IP address for this range is 172.16.1.193. This is the address I
was trying to add as an alias.

 ipconfig_xl1_alias0=inet 192.168.2.1 netmask 255.255.255.128

So in my case, the correct line will be
ifconfig_xl1_alias0=inet 172.16.1.193 netmask 255.255.255.240

This would be my first alias, as all the other networks have their own
card in the firewall... This is a temporary firewall though, and I've
now run out of slots for another network card. In the final
configuration, this network will have it's own network card.
 
 The only time you would use a netmask of 255.255.255.255 is if the aliased
 IP is a member of a subnet that is already assigned on the interface.

That's what I thought, but I got stumped when the machine wouldn't
forward packets coming in to this IP.

 Then you will need to add the appropriate firewall rules to allow those
 networks to either talk / no talk to the remaining network segments.

The machines in 172.16.1.192/28 can talk to the machines in
172.16.1.0/25 without any problems, and vice versa. They just don't talk
to machines beyond the firewall / on the internet.

-- 
Wayne Pascoe
I haven't lost my mind... It's backed
up on tape somewhere.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jikes from ports

2004-02-28 Thread Wayne Pascoe
Hi all,

I'm running FreeBSD 4.9-STABLE and I've got the following installed from
ports:

jdk-1.4.2p5
jdk-doc-1.4.2
linux-sun-jdk-1.4.2.02 
jikes-1.19_1

which java shows that I am using the native JDK: 
$ which java
/usr/local/jdk1.4.2/bin//java

When I do javac test.java, the file compiles fine and I am able to run
it by doing java test. When I try and use jikes, I get the following :

$ jikes test.java

Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Package java/lang could not be
found in: 
.

I tried setting my CLASSPATH to /usr/local/jdk1.4.2/jre/lib/ but it
continued to do the same. When I set my CLASSPATH to 
export CLASSPATH=/usr/local/jdk1.4.2/jre/lib/rt.jar then things compile,
with warnings and a .class file is output into the local directory, but
nothing runs any more.

Can anyone advise me what I should do to get jikes to work right, with
the native JDK ? 

-- 
Wayne Pascoe
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Different networks on same switch

2004-02-26 Thread Wayne Pascoe
Hi all,

I have a firewall with three network cards. There are two networks on
the inside of the firewall. One is private IP's and those are NATted by
the firewall. The other is public IP's being protected by the firewall.

The two internal networks used to be on separate switches. All of the
machines on that network connected to a switch, and that switch
connected to the firewall. 

I've had to move all of the connections to a single switch, and since
then, I've been seeing the following in my firewall logs:

Feb 26 11:30:40 styx-tmp kernel: arp: 192.168.2.1 is on lo0 but got
reply from 00:01:03:48:79:2d on xl1
Feb 26 11:31:18 styx-tmp kernel: arp: 193.xxx.xxx.1 is on lo0 but got
reply from 00:04:76:8c:95:db on xl0
Feb 26 11:36:00 styx-tmp kernel: arp: 192.168.2.1 is on lo0 but got
reply from 00:01:03:48:79:2d on xl1
Feb 26 11:40:17 styx-tmp kernel: arp: 193.xxx.xxx.1 is on lo0 but got
reply from 00:04:76:8c:95:db on xl0

I've tried the following:
- Deleting all arp entries (arp -da)
- Adding specific arp entries for the IP's as follows:
  arp -s 193.xxx.xxx.1 00:04:76:8c:95:db 
  and
  arp -s 193.xxx.xxx.1 00:04:76:8c:95:db only
  and done the same for the 192 IP and ether address.

Is there any way I can resolve this, or do I have to go back to multiple
switches ? Is this causing any problems ?

The reason I ask all of this is that people on the 192 network are
complaining about occasional lags.

Regards,


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


Re: Microsoft USB wireless mouse

2004-02-19 Thread Wayne Pascoe
On Wed, Feb 18, 2004 at 03:55:16PM -0500, Blain M Gatterdam wrote:
 I recently bought a micro innovations wireless USB mouse and it worked great
 with my FreeBSD. It didn't work too good with windows, so I bought a
 Microsoft wireless USB intelimouse. No matter how many times I try to
 connect the mouse and the receiver, it wont work. I tried going to the
 peripherals and see if I could fix it, but there's no options. I'm a
 beginner on FreeBSD and could use any help possible, THANKS!

Try unplugging the mouse and receiver at boot time, and then watching
the messagse log when you plug it in. See what appears in there and if
that might give any pointers.

To watch your messages log, do the following (as root) before plugging
in the mouse and the receiver:

tail -f /var/log/messages

When you plug the mouse and the receiver in, some more lines should
appear in this file.

Regards,

-- 
Wayne Pascoe
Give me enough medals, and I'll win any war.
- Napolean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Alcatel Speedtouch 330 using PPPOE, how can I do it on FreeBSD 4.9?

2004-02-19 Thread Wayne Pascoe
On Thu, Feb 19, 2004 at 12:01:29PM -, Godinho, Carla wrote:
 Hi,
 Is there anyone who has run with success the Modem Alcatel Speedtouch
 330 (USB) using the PPPOE, for FreeBSD 4.9?
 Where can I find Alcatel Speedtouch 330 drivers or (ports) for FreeBSD
 4.9 using the PPPOE?
 I'm trying to connect this kind of Modem in my system FreeBSD 4.9, but
 the only drivers I've found were for pppoa2 and pppoa3, and my ADSL
 Provider uses the pppoe.

I'm not sure if the 330 is supported, but have you tried
http://speedtouch.sourceforge.net/ ? 

Not sure if that's any good.

-- 
Wayne Pascoe
God gave you the power - Preacher on the Simpsons
Hmm. You'd think he'd wanna...  limit my 
power - Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Source IP confusion

2004-02-17 Thread Wayne Pascoe
Hi all,

I'm trying to setup firewalling for some machines, but I'm having some
problems with services on aliases. 

I'll use 192.168.1.2 as the primary address and 192.168.1.3 as the alias
for this example.

I have applications like exim and bind, listening on 192.168.1.3 (an
alias on a machine). They are only listening on the alias and on
127.0.0.1. They are NOT listening on 192.168.1.2 (the main IP Address).

The problem I'm having is forcing that application to use its alias for
outbound connections. Even though the local_interfaces in exim is set to
192.168.1.3, when it connects to a machine to deliver mail, that
connection comes from 192.168.1.2 . 

This makes firewalling a bit of a pain, because I can't say 'Only allow
port 25 traffic from the mail alias' - I have to allow it from the
machine primary IP. 

Can anyone explain why this is and also if there is a way (without
reverting to jails) of getting my applications to use an outgoing
connection ? 

Regards,

-- 
Wayne Pascoe
Bury me deep when there's no will to be
better than you! - Metallica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't connect to ftp server

2004-02-17 Thread Wayne Pascoe
On Tue, Feb 17, 2004 at 11:19:10AM -0500, Marty Landman wrote:
 I'm running 4.8 on a lan with sshd, httpd and no known problems except that 
 I can't connect to ftp from another box. The message I get on my ftp client 
 (filezilla) is 'unable to connect'.
 
 Inetd is running and /etc/inetd.conf has
 
 ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
 ftp stream  tcp6nowait  root/usr/libexec/ftpd   ftpd -l

Couple of things to check... 

1. Does /usr/libexec/ftpd exist 

2. Is there anything listening on port 21 
   (netstat -an | grep LISTEN | grep 21)

3. Check the contents of /var/log/messages

Hope that helps...

-- 
Wayne Pascoe
A good sysadmin always carries around a few feet of
fiber. If he gets lost, he simply drops the fiber
on the ground, waits 10 minutes and asks the
backhoe operator for directions - Bill Bradford
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hardware requirements for firewall

2004-01-08 Thread Wayne Pascoe
On Thu, Jan 08, 2004 at 09:49:19AM +, [EMAIL PROTECTED] wrote:

 Introducing a new machine has a certain level of risk. What is your
 contingency plan if the machine fails anyway?

The plan is to just remove the machine from the circuit. Instead of
having a cable to the machine from the first switch and then another
cable from the machine to the second switch, the plan is to just replace
that with a single cable between the two switches and revert to how we
are now.

 If there is so much at stake why not use the better machine then?

Budget . I have a very limited one, and if I lose this machine to the
firewall, I then have less resources available for hosting.

 Another alternative.. prepare both machines. Have the better machine ready
 to do an able to be connected/switched to at a moments notice. Put the
 slower machine on at the slowest day. Monitor it closely as traffic grows.

That's probably the way forward, yes. Thanks.

-- 
Wayne Pascoe
  There's optimism...
  and then there's stupidity!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hardware requirements for firewall

2004-01-07 Thread Wayne Pascoe
Hi all,

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

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

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

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

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

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

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

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

Regards,

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


Re: Hardware requirements for firewall

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

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

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

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


Problems with Perl's Image::EXIF on 4.9-STABLE

2003-12-27 Thread Wayne Pascoe
Hi all,

I'm trying to install perl's Image::EXIF module on FreeBSD 4.9-STABLE.
I'm using perl 5.8.2 installed from ports.

I've installed libexif from /usr/ports/graphics/libexif and tried to
install Image::EXIF from CPAN.

make test fails with 
# Using Test.pm version 1.24
Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
blib/arch/auto/Image/EXIF/EXIF.so: Undefined symbol gpstags at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at test.pl line 10
 Compilation failed in require at test.pl line 10.

Skipping the test and forcing the install leaves me with a non-working
module. Trying to use it, I get :

$ perl -e 'use Image::EXIF; print hello\n;'
Can't load
'/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so' for
module Image::EXIF:
/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so:
Undefined symbol gpstags at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at -e line 1
 Compilation failed in require at -e line 1

It looks like ld cannot use the EXIF.so file because of an undefined
symbol. I can't find any other dependencies listed for this module, and
I'm not exactly sure what this LD error message means.

Cany anyone advise me on a fix for this ? 

Thanks in advance,

-- 
Wayne Pascoe
Give me enough medals, and I'll win any war.
- Napolean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dual Headed display with ati driver

2003-12-03 Thread Wayne Pascoe
Hi all,

Has anyone here got a dual headed display working with the ati driver in
XFree86 ? I have a Radeon 9800pro and I'm using XFree86-Server-snap,
which I believe used the XFree86-4.3.99.15.tar.bz2 for it's install.

With just one monitor plugged in, I get 1024x768 @ 85Hz. As soon as I
plug the second monitor in, even before configuring it, and startx, both
monitors come up with the same display on each. However my CRT will only
work at 60Hz which is a bit of a problem.

I'm using an Iiyama Visionmaster pro 410 (CRT) as my primary monitory
and a Samsung Syncmaster S171 (LCD) as my secondary monitor.

Does anyone have any pointers as to how I could get this working
properly ? 

Thanks in advance,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Managing passwd files outside /etc

2003-11-26 Thread Wayne Pascoe
Hi all,

I'm trying to setup a virtual hosting mail environment. I want to
maintain passwd files for users in my virtual tree. Is it possible to do
this with the passwd utility ? For example, I want to manage
/etc/virtual/penguinpowered.org/passwd

I can't find a flag telling it to work with a file outside of /etc

Regards,

-- 
Wayne Pascoe
A good sysadmin always carries around a few feet of
fiber. If he gets lost, he simply drops the fiber
on the ground, waits 10 minutes and asks the
backhoe operator for directions - Bill Bradford
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mailing list archive

2003-11-18 Thread Wayne Pascoe
Hi all,

Does anyone know if there is a problem with the mailing list archives at 
http://www.freebsd.org/search/search.html#mailinglists ? 

I was searching for something and got no results, so I simplified my
search to just 
postfix
and still got no results.

Regards,

-- 
Wayne Pascoe
God gave you the power - Preacher on the Simpsons
Hmm. You'd think he'd wanna...  limit my 
power - Bart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: securelevel problems

2003-11-06 Thread Wayne Pascoe
On Wed, Nov 05, 2003 at 07:06:42PM +1300, Jonathan Chen wrote:
 On Tue, Nov 04, 2003 at 08:25:57PM +, Wayne Pascoe wrote:
 
 [...]
  however a make installworld is still failing with:
  
  Stop in /usr/src/include.
  *** Error code 1
 
 It's debatable whether this is a securelevel problem. I would remove
 /usr/obj/* and rebuild again.

I've tried this, and I'm now having a whole new range of problems... A
make buildworld no longer works. I've redone my cvsup, removed /usr/obj
and done make clean in /usr/src

I then run make buildworld, and after quite some time, I get:

cc -O -pipe -march=i686 -march=pentiumpro -I. -static -DIN_GCC \
-DHAVE_CONFIG_H -DPREFIX=\/usr\ \
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config \
-D__FBSDID=__RCSID -c \
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengenrtl.c \

cc -O -pipe -march=i686 -march=pentiumpro -I. -static -DIN_GCC \
-DHAVE_CONFIG_H -DPREFIX=\/usr\ \
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config \
-D__FBSDID=__RCSID  -o gengenrtl gengenrtl.o \

./gengenrtl genrtl.h genrtl.c
*** Signal 4

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

The above has been linewrapped for courtesy sake..

If I cd to /usr/src/gnu/usr.bin/cc/cc_tools and do make, it starts
building ok, but then I get 
./genattr /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
 insn-attr.h
Illegal instruction (core dumped)
*** Error code 132

(Apologies for no line wrapping, but I couldn't wrap it and keep context
clear)

The machine is a Pentium 166, and my make.conf has the following:
CPUTYPE=i586
CFLAGS= -O -pipe -march=i586
NO_BIND=true
NO_I4B= true 
NO_FORTRAN= true
NO_LPR= true
NO_SENDMAIL=true
NO_X=   true
NOGAMES=true
NOLIBC_R=   true
NOPROFILE=  true
NO_OBJC=true  
IPFW2=TRUE

I'm getting close to just migrating everything off of this machine and
re-installing from scratch, but as we've successfully upgraded every
other box in the farm to 4.9, I'd really like to try and fix this :(

Regards,

-- 
Wayne Pascoe
There are no stupid questions, only stupid
people.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


securelevel problems

2003-11-04 Thread Wayne Pascoe
Hi all,

I'm trying to upgrade a 4.7-RELEASE machine to 4.9. The make buildworld
has gone ok, but installworld failed.

At first, it appeared that this was because the machine was running in
securelevel 1. I had the following in /etc/rc.conf:
kern_securelevel_enable=YES
kern_securelevel=1

I changed that to
kern_securelevel_enable=NO
kern_securelevel=-1

and rebooted the machine. sysctl -a | grep secure shows
kern.securelevel: -1

however a make installworld is still failing with:

Stop in /usr/src/include.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I then tried touching my kernel, which also fails, with:
# touch kernel
touch: kernel: Operation not permitted

I'm at a bit of a loss as to how to proceed as the only thing I could
think to do was to disable securelevel in /etc/rc.conf :(

does anyone know what I may have missed or how I might rectify this
issue ? 

Thanks,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openssh in 4.9

2003-10-31 Thread Wayne Pascoe
On Thu, Oct 30, 2003 at 10:22:06AM -0800, Kris Kennaway wrote:
 Please read the security advisory.

I've read the advisory. It states a couple of workarounds (which I
enabled at the time anyway) and also states that the problem is
rectified in -STABLE beyond a certain date.

However, looking at the openssh advisory's, the only fix is to be
running a version 3.7.1p1 or later. So I'm confused. Have the FreeBSD
team backported these fixes into 3.5.1 ? 

One of my problems is that some of my clients occasionally have 3rd
parties perform penetration testing on our servers. I need an
explanation for when the 3rd party comes back and says that I am running
a vulnerable ssh.

Regards,

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openssh in 4.9

2003-10-30 Thread Wayne Pascoe
Hi all,

I just upgraded 2 servers to 4.9. On both of them, since the upgrade,
ssh's version is being reported as 

-bash-2.05b$ ssh -V
OpenSSH_3.5p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL
0x0090703f

I thought that anything prior to 3.7p1 was vulnerable ? Is this the
correct version that I should be expecting, or do I have a problem ? 

-- 
Wayne Pascoe
It could be dangerous... A lot of killing...
and violence. You wanna come?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PostgreSQL on FreeBSD

2003-10-28 Thread Wayne Pascoe
On Mon, Oct 27, 2003 at 04:04:28PM -0500, Lowell Gilbert wrote:
 Why does setting them in
  /etc/sysctl.conf or /etc/loader.conf not work ? 
 
 You're doing something wrong.  That's all I can say when the
 description of the failure is just not work.

Allow me to expand on that then... I put the options in /etc/sysctl.conf
as follows:
kern.ipc.somaxconn=512
kern.ipc.shmmax=268435456
kern.ipc.shmall=65536
kern.ipc.shmmni=128
kern.ipc.semmns=256

When I reboot, sysctl -a | grep kern.ipc.semmns returns
kern.ipc.semmns: 60

-- 
Wayne Pascoe
The time for action is passed. Now is the
time for senseless bickering.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PostgreSQL on FreeBSD

2003-10-27 Thread Wayne Pascoe
Hi all,

I'm trying to configure and tune postgresql on FreeBSD 4.9. We want to
allow at least 128 concurrent connections but preferably 256. 

Looking at the documentation, we should be okay if we set the following
in our kernel to achieve this:

kern.ipc.somaxconn = 512
kern.ipc.shmall = 65536
kern.ipc.shmmni = 128
kern.ipc.semmni = 8
kern.ipc.semmns = 256

Now, I have three questions...

1. Why do we have to set these in the kernel ? Why does setting them in
/etc/sysctl.conf or /etc/loader.conf not work ? 

2. Is there a recommended list of settings that we should use in our
kernel to allow 128 connections and 256 connections ? 

and lastly, 

3. What is the impact on the rest of the system likely to be by setting
aside this memory as shared memory ? Is it then no longer available to
other applications like Apache and Exim ? Are there any other
performance issues that we should be aware of ? 

Regards,

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


Setting up a cvsup server

2003-09-18 Thread Wayne Pascoe
Hi all, 

Can anyone give me any pointers to setting up a server for all my other
boxen to cvsup from ? 

What I'd like to do is have one box cvsup from the main freebsd cvsup
servers, but then for all my other boxen to be able to update both ports
and source from this central server.

The reason that I want to do this is that I've just upgraded openssh on
all of my machines twice this week. This has meant updating the ports
tree twice over 30 machines and this is a bit of a hit both on the
freebsd servers and my own pipes. 

If anyone can advice on this, I would be truly greatful.

Regards,

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


NAT without recompiling my kernel ?

2003-09-15 Thread Wayne Pascoe
Hi all,

I've got ipfw working and logging without recompiling my kernel. I've
now hit my next problem...

Is it possible to use NAT without recompiling ? I've kldloaded the
dummynet module, and included that in /boot/loader.conf, but when I
reboot, I get the following in my dmesg :

IP packet filtering initialized, divert disabled, rule-based forwarding
enabled, default to deny, logging disabled

Is there any way to set divert enabled without recompiling my kernel
with IPDIVERT included? 

For the record, the relevant section of my rc.conf is as follows:
firewall_enable=YES
firewall_type=open
firewall_quiet=NO
natd_enable=YES

When I try and add natd by doing
ipfw add 50 divert natd all from any to any via xl0
I get
ipfw: getsockopt(IP_FW_ADD): Invalid argument

and in /var/log/messages I get
Sep 15 20:54:27 marvin /kernel: ip_fw_ctl: invalid command

xl0 is my private network IP by the way

Regards,

-- 
Wayne Pascoe
I laugh in the face of danger... Then I
run and hide until it goes away!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Logging and IPFW

2003-09-09 Thread Wayne Pascoe
Hi all,

We're moving from ipfilter to ipfw. Since we no longer run multiple
platforms, the benefits that we used to derive from ipfilter are
declining. Add to this the problems we've had when running it as a
module on 5.x (as opposed to compiled into the kernel), and we've
decided to move to ipfw. 

I'm trying to setup logging with IPFW. I've not compiled IPFW into my
kernel, but am instead using the ipfw.ko module. 

I have the following sysctl variables set:
net.inet.ip.fw.verbose=1
net.inet.tcp.log_in_vain=1
net.inet.udp.log_in_vain=1

However, I am still not seeing anything in /var/log/messages when I
portscan the machine. The firewall appears to be working, as we receive
nothing back on the portscanning machine, but I would like logging
enabled. 

I have the following in /etc/rc.conf
firewall_enable=YES
firewall_script=/etc/rc.firewall 
firewall_type=CLIENT
firewall_quiet=NO   
firewall_logging=YES

The only place I can see firewall_logging being used is in /etc/rc.conf
and that is being used to set a sysctl variable :

echo 'Firewall logging=YES'
sysctl net.inet.ip.fw.verbose=1 /dev/null

any ideas on what I'm doing wrong here ? 

thanks in advance , 

-- 
Wayne Pascoe
Look buddy, doesn't work is a strong statement. 
Does it sit on the couch all day? Is it making faces
at you? Does it want more money? Please be specific!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Logging and IPFW

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 09:42:14PM +1000, John Birrell wrote:
 On Tue, Sep 09, 2003 at 12:34:47PM +0100, Wayne Pascoe wrote:
  However, I am still not seeing anything in /var/log/messages when I
  portscan the machine. The firewall appears to be working, as we receive
  nothing back on the portscanning machine, but I would like logging
  enabled. 
 
 Have you added the 'log' keyword to your rules?
 
 e.g:
 
 # RejectLog all setup of incoming connections from the outside
 ${fwcmd} add deny log tcp from any to any in via ${oif} setup
 
 The log entries will be written to /var/log/security.

I tried changing the rc.firewall script so that the last line in the
CLIENT section read
${fwcmd} add 65535 deny ip from any to any log
but ipfw list still just showd
65535 deny ip from any to any log

where should that rule with the log go in the list ? Before the last
line ? 

Should I add a rule before 65535 that logs things ? 

Thanks,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading self-installed X with Ports version?

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote:

 I suppose this is a really stupid question, but what do I 
 need to do to get the newer, Ports version of XFree86 to be
 the version run on the system? And is there anything I should
 be doing to get it configured properly after the change is
 made?

It's possible that the start script for XFree86 that the port installs,
is installed in a directory further down in the PATH variable. This
means that when you call startx, you're starting the older version, which
in turn calls the older version of X. 

Your best bet is to remove the port entirely, remove the existing X
server and re-install the port. This way you'll only have one version of
X on the box. 

The other way would be to get a list of all files that the port
installed and remove any other copies of those files in locations other
than where the port installed. This is risky though, because you might
delete something that is actually needed.

HTH,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Authenticated SMTP

2003-09-09 Thread Wayne Pascoe
Hi all,

I need to provide an SMTP service to someone who travels around thie
world. I can't do this with a specific IP address, as they use a variety
of ISP's in different locations.

To this end, I'd like to setup authenticated SMTP, preferably using
postfix. 

I've had a look in the postfix faq and it was a bit vague on this point.
In merely said that you need to force the user to authenticate against a
pop server first, that maintains a postfix compatible access table.

Can anyone point me to a document that explains what pop servers might
be suitable for this task and how to go about setting up this
authentication ? 

Regards,

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


Re: Authenticated SMTP

2003-09-09 Thread Wayne Pascoe
On Tue, Sep 09, 2003 at 11:05:57AM -0400, Damian Gerow wrote:

 When you install the Postfix port, enable SASL or SASL2 authentication
 (though I'd personally stick with SASL2).  Then take a read through
 README_FILES/SASL_README, found within the postfix source tree (i.e.
 /usr/ports/mail/postfix/work/postfix-2.0.14/README_FILES/SASL_README).
 
Thanks Damian and everyone else. I'm fairly sure with that much info
I'll be able to work it out :) 

-- 
Wayne Pascoe
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cyrus Imapd install

2003-09-05 Thread Wayne Pascoe
Hi all,

I'm having some problems configuring /usr/ports/mail/cyrus-imapd22
The port installs ok, but I can't seem to start it. Running
/usr/local/etc/rc.d/imapd.sh.sample produces  the following output:

.: Can't open %%RC_SUBR%%: No such file or directory

I am trying to do this on FreeBSD 4.9-PRERELEASE

The reason I am trying to install this is to run squirrelmail. Is there
possibly something better I could be using ? 

Regards,

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


MySQL from ports on FreeBSD 5.1

2003-08-21 Thread Wayne Pascoe
Hi all,

I'm having problems building MySQL from ports on FreeBSD 5.1-RELEASE-p2.
In /usr/ports/databases/mysql323-server I'm doing make install. After
quite a while, I get the following error:

checking if conversion of longlong to float works... Segmentation fault
(core dumped)
no
configure: error: Your compiler cannot convert a longlong value to a
float!  If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or
newer and try again

Anyone seen this ? Anyone have a workaround to allow building of MySQL
on FreeBSD 5 ? 

Thanks in advance,

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


dvd+rw-tools

2003-08-21 Thread Wayne Pascoe
Hi all,

Sorry for the load of posts this week, but I've got a new toybox and
they aren't working well...

I'm trying to use dvd+rw-tools port to burn DVD's. My first problem was
that after burning a DVD, I was unable to eject it. I had to reboot the
machine and only then could I get the disc out. Otherwise, it appears to
have burned ok.

Now I'm trying to erase the disc so I can try burning a larger volume.
I've tried using dvd+rw-format, as follows:

dvd+rw-format /dev/cd0
I then got
* DVD±RW format utility by [EMAIL PROTECTED], version 4.5.
* 4.7GB DVD-RW media in Sequential mode detected.
- media is not blank
- you have the option to re-run dvd+rw-format with:
  -force[=full] to enforce new format or mode transition
   and wipe the data;
  -blank[=full] to change to Sequential mode.

I've since tried dvd+rw-format -force=full /dev/cd0 and 
dvd+rw-format -blank=full and both returned the error:

* DVD±RW format utility by [EMAIL PROTECTED], version 4.5.
* 4.7GB DVD-RW media in Sequential mode detected.
- [unable to umount]: Bad file descriptor

Has anyone successfully written or erased DVD-RW media on FreeBSD 5.1
using this tool from ports ? 

Thanks in advance.

-- 
Wayne Pascoe
The thing is, I was POSITIVE that I wasn't
actually depressed, just that life  had no
meaning and I was tired of living.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL from ports on FreeBSD 5.1

2003-08-21 Thread Wayne Pascoe
On Thu, Aug 21, 2003 at 02:44:07PM +0100, Jez Hancock wrote:

 This is the PR:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/53252
 
 The actual patch is in PR:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/53561
 
 You should be able to fix this by running:
 
 cd /usr/ports
 fetch -o patch.53561 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/53561;
 patch  patch.53561
 rm patch.53561

Hmmm... had no clue about that trick. Thanks a bunch. Unfortunately,
even after running that, I still have the same problem with both
/usr/ports/databases/mysql323-client and
/usr/ports/databases/mysql323-server

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


Crucial Radeon 9800pro and XFree86

2003-08-20 Thread Wayne Pascoe
Hi all...

I've recently acquired a radeon 9800pro and am now trying to get it
working on XFree86 with no luck.

I'm using XFree86-4.3.0 on FreeBSD 4.8

I've added the following to my config file:
Section Device
Identifier Card0
Driver radeon
BusID PCI:1:0:0
EndSection

When I run startx I get the following error:
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1)
found

If I change the busid in the config to PCI:1:0:1 I then get an error
complaining that no Device section for PCI:1:0:0 is found

The card does have dual output but I'm only trying to use the main VGA
connector. Am I even using the right device for the 9800pro ? 

Any advice on this matter would be greatly aprreciated. 

Regards,

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


Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
Hi all,

Does anyone have any tips for installing FreeBSD onto a Sun ultra10? I
can boot from the CD-ROM and get to a screen asking me to pick a
terminal. I've tried ANSI, VT-100 and FreeBSD terminal (mono). I can't
use the arrow keys to select sysinstall options in any of these.

I could start a standard install in ANSI mode by pressing 2 and then
enter, however I couldn't do anything in the Disk menu.

Any advice would be greatfully received.

Regards,

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


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
 when I installed OpenBSD, terminal type was 'Sun' !!!
 
 not 100% certain it's the same for FreeBSD, but possibly worth a try 

You don't get to specify a terminal type, just choose from a list of 5
:(

-- 
Wayne Pascoe
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing on a Sun Ultra 10

2003-07-09 Thread Wayne Pascoe
On Wed, Jul 09, 2003 at 11:56:34AM -0600, Tillman wrote:
 On Wed, Jul 09, 2003 at 05:04:32PM +0100, Wayne Pascoe wrote:
  On Wed, Jul 09, 2003 at 04:42:57PM +0100, scott wrote:
   when I installed OpenBSD, terminal type was 'Sun' !!!
   
   not 100% certain it's the same for FreeBSD, but possibly worth a try 
  
  You don't get to specify a terminal type, just choose from a list of 5
  :(
 
 Try 'n' and 'p' instead of arrow keys.
 
 (I ran into this same problem when I installed on my Ultra 5)

Out of curiosity, which terminal did you use from the list ? VT100,
ANSI, FreeBSD Terminal (mono), FreeBSD Terminal (color) or Xterm ?

Thanks :)

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


Bcc field viewable in Mutt generated e-mails

2003-07-08 Thread Wayne Pascoe
Hi all,

If I send an e-mail in mutt and bcc some recipients, I seem to be able
to see the BCC headers in the received e-mails. Now to my mind, this
defeats the object of Bcc.

This e-mail was bcc'd to [EMAIL PROTECTED]

Can anyone tell me how to disable this? Is this a mutt issue or an exim
issue ? 

Regards,

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


Re: Bcc field viewable in Mutt generated e-mails

2003-07-08 Thread Wayne Pascoe
On Tue, Jul 08, 2003 at 02:04:47AM -0700, Kris Kennaway wrote:
 On Tue, Jul 08, 2003 at 09:45:27AM +0100, Wayne Pascoe wrote:
  Hi all,
  
  If I send an e-mail in mutt and bcc some recipients, I seem to be able
  to see the BCC headers in the received e-mails. Now to my mind, this
  defeats the object of Bcc.
  
  This e-mail was bcc'd to [EMAIL PROTECTED]
 
 I don't see any evidence of that in the message headers (check the
 message yourself on http://docs.freebsd.org).  What makes you think
 otherwise?

I send a message from my work machine running mutt to [EMAIL PROTECTED]

I also bcc that message to [EMAIL PROTECTED]

I then retrieve the message on my home machine using fetchmail, filter
it with procmail and open it in mutt

Viewing the headers, I can see 
Bcc: [EMAIL PROTECTED] 
and this is on the mydomain.com address.

I only noticed it because someone pointed out to me that my messages
were coming complete with Bcc fields.

I would guess that possibly the listmanager is removing the bcc field,
so I have included you in this reply and bcc'd it to
[EMAIL PROTECTED]

Regards,

-- 
Wayne Pascoe
Give me enough medals, and I'll win any war.
- Napolean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM and Metacity

2003-07-03 Thread Wayne Pascoe
Hi all,

I'm trying to get GDM and Metacity running on FreeBSD 4.8. 

The first time I ran GDM, I got a message saying no XDMCP running. I
then ran gdmsetup in an X session and set Enable XDMCP. Now I can run
gdm and it exits without errors, but nothing comes up on screen 9. 

I see gdm-binary running in a ps list. I've also tried changing
/etc/ttys entry for xdm to gdm, but it still does nothing.

My other question is with regards to metacity. I have changed my
.xinitrc file to just have metacity on a line by itself, and I think
metacity is running because CTRL-ALT-LEFT and CTRL-ALT-RIGHT appears to
be cycling desktops (window appears in the middle of my screen), but I'm
not getting a taskbar, dock, background or anything else of use. 

If anyone has any advice on these issues, I'd be greatful.

I have checked the archives, but they appear to be down. Any search
term, including FreeBSD returns
The archive freebsd-questions contains the following items relevant to
`freebsd':
and no results.

Regards,

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


Racoon with Raptor

2003-07-01 Thread Wayne Pascoe
Hi all,

I'm setting up a VPN between a FreeBSD box and a raptor box. I'm having
some issues with racoon not exchanging keys correctly though.

I'm getting the following error when I run racoon in the foreground:

2003-07-01 11:05:58: ERROR: isakmp.c:1776:isakmp_chkph1there(): phase2
negotiation failed due to time up waiting for phase1. ESP
213.xx.xx.226-213.xx.xx.135

226 is the Raptor machine and 135 is our FreeBSD machine.

The raptor admin has said to use md5 as the hash algorithym and des as
the encryption algo. I have the following in my config file:

proposal {
encryption_algorithm des;
hash_algorithm md5;
authentication_method pre_shared_key;
dh_group 2 ;
}

sainfo anonymous
{
pfs_group 1;
lifetime time 10 min;
encryption_algorithm des;
authentication_algorithm hmac_md5;
compression_algorithm deflate ;
}

I've tried aggressive, main and base as my exchange mode.

Anyone got any ideas about this ? 

Thanks,

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


Jail on FreeBSD5

2003-04-03 Thread Wayne Pascoe
Hi all,

I'm about to implement a jail on FreeBSD 5, but I don't see anything in
the man page about devfs.

The host environment is running FreeBSD 5.0-RELEASE-p7, with devfs. The
jail man page says

cd $D/dev
sh MAKEDEV jail

Should I still do this step on 5? If not, what should I do ? 

thanks,

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


Checking an out of date website

2003-03-19 Thread Wayne Pascoe
Hi all,

I'm wondering if someone can recommend a tool to help me do the
following : 

I have a very large website (2.4GB) of which much of the content is out
of date / no longer used.

What I want is a tool that will download a copy of the website, so that
I can see which bits are still linked to and part of the site heirachy. 

If I match the list of files from this tool against the list of files on
the server, the difference should be all files that are not linked to
from the site, and are not navigable to. In theory, I could then safely
delete these files.

I've found a couple of tools that can mostly do this. My problem comes
in from the fact that much of the navigation is done in flash though. So
most of the link checkers / spiders can't follow these links.

This could mean that what I end up with is not the whole of the site
that is still active.

Does anyone have any advice for a solution to this problem ?

Thanks in advance,

-- 
Wayne Pascoe

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


Apache 2 + Mod_jk

2003-03-18 Thread Wayne Pascoe
Hi all,

I'm trying to get mod_jk working with apache 2.0.44. I keep getting the
following error:

-su-2.05b# bin/httpd -t
Syntax error on line 38 of
/usr/local/httpd-2.0.44_lite/conf/modules.conf:
Cannot load /usr/local/httpd-2.0.44_lite/modules/mod_jk.so into server:
/usr/local/httpd-2.0.44_lite/modules/mod_jk.so: Undefined symbol
pthread_mutex_unlock

If I recompile apache and add --enable-threads to the apache configure
line, I don't get this error with mod_jk, but Apache doesn't seem to
start right. I see one httpd process, I cannot get a response by
telnetting to port 80 and /var/run/httpd.pid is never created.

Can anyone advise me on this ? 

Thanks,

-- 
Wayne Pascoe

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


Changing comment color in vim

2003-03-09 Thread Wayne Pascoe
Hi all,

I use vim for my coding needs, and only have one problem with it. Unless
I'm using gvim, my comments are a dark blue. This is almost unreadable
in some light conditions.

Does anyone have a quick hack to change comments to something easier to
see (e.g. green / yellow) for perl and C ? 

TIA,

-- 
Wayne Pascoe

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


How to tell what hardware in server ?

2003-03-06 Thread Wayne Pascoe
Hi all,

Is there any way to tell what hardware is in a server without rebooting
it and checking dmesg? 

I'm just looking for Processor type, memory, stuff like that. I know I
can get the number of processors with sysctl, but nothing else there :(

TIA,

-- 
Wayne Pascoe

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


Re: How to tell what hardware in server ?

2003-03-06 Thread Wayne Pascoe
On Thu, Mar 06, 2003 at 03:40:29AM -0800, Rus Foster wrote:
 On Thu, 6 Mar 2003, Wayne Pascoe wrote:
 
  Hi all,
 
  Is there any way to tell what hardware is in a server without rebooting
  it and checking dmesg?
 
  I'm just looking for Processor type, memory, stuff like that. I know I
  can get the number of processors with sysctl, but nothing else there :(
 
 
 DoH!!! Ignore my last message got confused which mailing list this was

hehehe :) I spotted those as Linuxy commands :) 

-- 
Wayne Pascoe

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


AMI Megaraid, failed array

2003-03-04 Thread Wayne Pascoe
Hi all,

A FreeBSD 4.7 machine with an AMI Megaraid controller and 3 disks in a
RAID 5 array failed on me this week. 

One of the disk drives went into offline state due to overheating and
the array, to the best of my knowledge should have continued in degraded
mode.

Two things concern me at this point.

1. There were no messages in /var/log/messages to indicate that a disk
had failed and the array was in degraded mode.

2. With 2 disks of the array still online, we were unable to read /
execute loads of data. Many text files were unreadable and system
binaries like tar unusable. 

When we got the disk back online and rebooted the box, we were able to
easily read data, and files that appeared to be corrupt turned out not
to be. 

Can anyone advise me on why I saw what I saw and how I can get around
this in the future.

Regards,

-- 
Wayne Pascoe

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


Re: How to tell if Port is blocked...

2003-02-22 Thread Wayne Pascoe
On Sat, Feb 22, 2003 at 07:15:13AM -0500, Rod Person wrote:
 I'm running FreeBSD 5.0, I think that my isp have recently block ports on me. I know 
 the block port 82. But is there a way I can test to see if other ports are blocked?

If you have access from a machine outside your network, telnet to your
home IP address on that port. Eg to test port 80
telnet my.ip.address.here 80

HTH

-- 
Wayne Pascoe

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


ipfilter on 5.0

2003-02-20 Thread Wayne Pascoe
Hi all,

Does anyone have ipfilter working on 5.0 ? ipf binary appears to be
here, but I can't find hide nor hair of the module.

I've tried recompiling the code in /usr/src/contrib/ipfilter, but doing
both make bsd and make freebsd4 fails.

Is this working yet or do I need to look into ipfw? 

Thanks,

-- 
Wayne Pascoe



msg19984/pgp0.pgp
Description: PGP signature


Classpath for linux-blackdown-jdk1.4.1

2003-02-16 Thread Wayne Pascoe
Hi all, 
 
I'm using the linux-blackdown-jdk1.4.1 port and I'd like to know where

all the classes installed are. I can't see them in a pkg_info -L 
 
The reason I need to know the classpath, is that I want to use jikes 
as my compiler instead of javac. 
 
TIA,

-- 
- Wayne Pascoe 
If someone eventually manages to bag a B-2,
that's a cool US$1bn worth of scrap metal
- missiles, on the other hand, are cheap.


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



Fonts in Mozilla

2003-02-03 Thread Wayne Pascoe
Hi all,

I've just installed Mozilla from ports (mozilla-1.2.1_1,2) and the
fonts are AWEFUL! I've then installed most everything in
/usr/ports/x11-fonts and added them to my Fontpath. 

I have the following section on XF86Config:

Section Files
FontPath /usr/X11R6/lib/X11/fonts/mozilla/
FontPath /usr/X11R6/lib/X11/fonts/webfonts/
FontPath /usr/X11R6/lib/X11/fonts/freefont/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/PEX/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/cyrillic/
FontPath /usr/X11R6/lib/X11/fonts/encodings/
FontPath /usr/X11R6/lib/X11/fonts/latin2/
FontPath /usr/X11R6/lib/X11/fonts/local/
FontPath /usr/X11R6/lib/X11/fonts/misc/
EndSection

I then quit X and restarted, but the fonts are still terrible. When I
go edit - preferences - appearance - Fonts, I have a very limited
set of fonts to choose from. In the Proportional box I can choose
between serife and sans serife. Under the other boxes, I can choose
between Bitstream Charter, Courier, Courier 10 pitch, Luxi Mono, Luxi
Serife and Utopia. I can't see any of the other fonts that I've
installed.

Any help in fixing this would be MUCH appreciated! 

Regards,

-- 
- Wayne Pascoe 
The time for action is passed. Now is the
time for senseless bickering.


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



Modeline for 100Hz Display

2003-02-03 Thread Wayne Pascoe
Hi all,

Does anyone have an XFree86 Modeline for a GeForce 2 GTS driving an
Iiyama Visionmaster 410 to do 100Hz ?

Thanks in advance,

-- 
- Wayne Pascoe 
Wageslaves - Who do you want to make rich
today?


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 Wayne Pascoe
Alex Huth [EMAIL PROTECTED] writes:

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

I think you'll find that you're not using the Nvidia driver and as a
result don't have access to all of the 3D functionality Unless I'm
very much mistaken? 

When you start X do you get an NVIDIA flash screen ?

-- 
- Wayne Pascoe 
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.


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



make.conf in FreeBSD 5.0-RELEASE

2003-01-21 Thread Wayne Pascoe
Hi all,

I'm prodding at FreeBSD 5.0 and making sure I can still do everything
I did in 4.x. I'm now trying to prep for a make world and I've run
into a problem.

/etc/defaults/make.conf doesn't seem to exist anymore. There is a
/usr/share/examples/make.conf but that doesn't contain any of the
lines that are present in /etc/make.conf

Do I still specify things like NO_BIND=YES the same way I used to in
this file ?

Also, in /etc/make.conf, I currently have
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

what the hell does yo mean? Yes or no ? 

TIA,

-- 
- Wayne Pascoe 
The thing is, I was POSITIVE that I wasn't
actually depressed, just that life  had no
meaning and I was tired of living.
-- daystar on k5


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



Re: ipfilter/ipmon log msgs

2003-01-13 Thread Wayne Pascoe
JoeB [EMAIL PROTECTED] writes:

 Man ipmon says than when option -s is selected to send ipfilter
 log messages to syslogd the day, month, year prefix is removed from
 the message before posting to syslogd.  This does not happen.

Firstly, ensure you're starting ipmon with the -Ds flags. This will
put it in daemon mode and log through syslogd. 

I've had a problem with logfile formats in the past and this was
because I was not running the correct version of ipmon. 

do 
sudo ipf -V

Check the version. Then do which ipf

Then check to see that the ipmon is running is in the same directory.

Otherwise, post a sample log line...

Regards, 

-- 
- Wayne Pascoe 
You know, it's simply not true that wars never
settle anything - James Burnham


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



Cisco Aironet PCI card - The Fix

2003-01-11 Thread Wayne Pascoe
Hi all,

Just a note for anyone wanting to try a Cisco Aironet PCI card under
FreeBSD. I had problems getting mine to work, but a firmware upgrade
to the latest Cisco firmware appears to have solved my problems. 

Regards,

-- 
- Wayne Pascoe 
You cannot apply a technological solution to
a sociological problem. (Edwards' Law) 


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



Cisco Aironet PCI card - Supported ?

2003-01-09 Thread Wayne Pascoe
Hi all,

Does anyone know if the Cisco Aironet 350 series PCI card works under
FreeBSD-STABLE ? 

From what I can see in GENERIC and LINT, it looks like the 4500/4800
is supported as device an. 

Anyone know for sure though? 

TIA,

-- 
- Wayne Pascoe 
Win if you can. Lose if you must. But
always cheat!


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



Cisco Aironet PCI card - Working but Flaky

2003-01-09 Thread Wayne Pascoe
Hi all,

I've tried the Cisco wireless card and it works to a point. I've used
ifconfig to configure the an0 device, and it manages to join the
network. 

However, I'm having problems with the speed.

When I first tried using the if_an.ko module, I got the following in
my messages file:

Jan  9 18:32:11 ford /kernel: an0: Cisco Aironet 350 Series port
0x9400-0x943f,0x9000-0x907f mem 0xde00-0xde7f irq 10 at device
13.0 on pci0
Jan  9 18:32:11 ford /kernel: an0: Ethernet address: 00:40:96:5a:17:97
Jan  9 18:32:11 ford /kernel: sio1: configured irq 3 not in bitmap of
probed irqs 0

The sio1 message happened every time I loaded the module, even though
I don't have a com2 port (disabled in bios).

I then compiled the an driver into the kernel and tried again. The
sio1 message went away, but I was still having horrifically slow ping
times to another machine on the network (anywhere from 400ms to
1000ms). I was also getting frequent an0: device timeout messages and
I would have to reinit the device before it would work again. I
checked IRQ's and it was sharing an IRQ with my USB device.

I then installed my ethernet card back into the system and now the
Aironet gets an IRQ of 12 (shared with sound card). Ping times and
packet loss are now _marginally_ better, but I'm still seeing anywhere
between 32 and 243 ms ping response times
64 bytes from 192.168.10.1: icmp_seq=4 ttl=64 time=61.749 ms
64 bytes from 192.168.10.1: icmp_seq=5 ttl=64 time=243.926 ms
64 bytes from 192.168.10.1: icmp_seq=6 ttl=64 time=16.505 ms
64 bytes from 192.168.10.1: icmp_seq=7 ttl=64 time=83.430 ms

I've moved these machines quite close together and abaout a room apart
yet it makes no difference.

Any advice on troubleshooting this would be _much_ appreciated.

Regards,

-- 
- Wayne Pascoe 
Wageslaves - Who do you want to make rich
today?


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



Re: CVS Logging

2002-12-13 Thread Wayne Pascoe
Giorgos Keramidas [EMAIL PROTECTED] writes:

 a FreeBSD machine (which I have to assume, since you posted on a
 FreeBSD list :-) you can always set things up in the same manner that

It is on a FreeBSD box, yes.

 FreeBSD's own CVS repository is configured.  One of the features of
 this particular setup is that all commits are logged to files, and
 mailed to an address.

We have that working. All commits and imports are logged and mailed to
our development team.

 The article ``Setting up a CVS repository - the FreeBSD way'' by Stijn
 Hoop can help a lot with setting up a repository like this, and can be
 found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

I've looked through that, and it only really covers logging of
incoming stuff, not of checkouts or updates.

We need to log who and when is retrieving code from our CVS servers. 

-- 
- Wayne Pascoe 
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.


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



CVS Logging

2002-12-12 Thread Wayne Pascoe
Hi all,

Does anyone know if there is a way to have CVS log all activity to a
log file. Basically, I'd like a log of all checkouts, updates, imports
and commits. I've already got it logging imports commits, but I can't
work out how to log the other stuff.

TIA,

-- 
- Wayne Pascoe 
I have a very firm grasp on reality. I can
reach out and strangle it any time!


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



Re: Path problem

2002-11-04 Thread Wayne Pascoe
Tom Vollmer [EMAIL PROTECTED] writes:

 Whomever-
 
 During the process of compiling my own kernel, I have an issue of the make
 utility not being able to find if_fxp.c and if_sis.c.  Both exist in the
 appropriate place in the file system.  The version of freeBSD I am using is
 4.6.  Any suggestions?

Couple of things... 

1. How are you compiling your kernel? By doing a make kernel in
/usr/src or config KERNNAME then cd ../../compile/KERNNAME and doing
make? If the latter, try a make depend first

2. Please post the exact error here and we'll see what we can do :)

-- 
- Wayne Pascoe 
Wageslaves - Who do you want to make rich
today?


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



Re: HTTP access

2002-11-04 Thread Wayne Pascoe
Walter [EMAIL PROTECTED] writes:

 At your suggestion that it was the ISP blocking  port 80, I found
 the configuration line to enable  Apache to listen on another port
 and added one,  which now allows my neighbor's computer to  access
 mine through http.  Thanks for the pointer.   I wonder if they'll
 eventually block this other port  number also.  I guess time will
 tell.
 

Do yourself a favour - Read your contract / AUP. If they have
something in there that says you can't run servers - Don't. You don't
want the hassle of termination and or lawsuits!

-- 
- Wayne Pascoe 
Mary had a crypto key, she kept it in
escrow, and everything that Mary said,
the Feds were sure to know.


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



Re: Path problem

2002-11-04 Thread Wayne Pascoe
Tom Vollmer [EMAIL PROTECTED] writes:

 is a CODE 1 and the other two error lines indicate that
 ../../dev/fxp/if_fxp.c and ../../sys/pci/if.sis.c do not exists.  When
 perform a Find to locate the files, they appear to be in the correct place
 in the file system.  Can a source file marked with inappropriate rights
 cause this?

As per my previous request, please send me the error exactly as it
appears. I need some context to investigate this.

-- 
- Wayne Pascoe 
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?


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



Re: problem building

2002-11-03 Thread Wayne Pascoe
Leo De Geer [EMAIL PROTECTED] writes:

 divice bw0 at isa ?
 
 is in the config file

Have you got the following line in your kernel config file anywhere?
If not, try adding it and see if this solves the problem:

device  isa

HTH

-- 
- Wayne Pascoe 
There are no stupid questions, only stupid
people.


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



VPN Not working

2002-10-31 Thread Wayne Pascoe
Hi all,

I'm trying to setup up Tunneling VPN between two FreeBSD boxes.
I have network A talking through gateway A to Network B via gateway B

Network A IP Range - 192.168.11.0/24
Network B IP Range - 192.168.12.0/24

Gateway A Internal IP Address - 192.168.11.1
Gateway A External IP Address - 192.168.10.1

Gateway B Internal IP Address - 192.168.12.1
Gateway B External IP Address - 192.168.10.2

I have ip forwarding setup and with the VPN down, a machine behind the
first gateway, 192.168.11.2 can ping a machine behind the second
gateway, 192.168.12.2. As soon as I start the VPN up though, they
can't talk at all any more. Not ssh, not ping, not anything.

I am using the following scripts on Gateway A and B respectively to
start my VPN

#!/bin/bash
setkey -c EOF
spadd 192.168.11.0/24 192.168.12.0/24 any -P out ipsec \
ah/tunnel/192.168.10.1-192.168.10.2/require ;
spadd 192.168.12.0/24 192.168.11.0/24 any -P in ipsec \
ah/tunnel/192.168.10.1-192.168.10.2/require ;
add 192.168.10.1 192.168.10.2 ah-old 0x10003 -m any \
-A keyed-md5 this is the test
add 192.168.10.2 192.168.10.1 ah-old 0x10004 -m any \
-A keyed-md5 this is the test

#!/bin/bash
setkey -c EOF
spadd 192.168.12.0/24 192.168.11.0/24 any -P out ipsec \
ah/tunnel/192.168.10.1-192.168.10.2/require ;
spadd 192.168.11.0/24 192.168.12.0/24 any -P in ipsec \
ah/tunnel/192.168.10.1-192.168.10.2/require ;
add 192.168.10.1 192.168.10.2 ah-old 0x10003 -m any \
-A keyed-md5 this is the test
add 192.168.10.2 192.168.10.1 ah-old 0x10004 -m any \
-A keyed-md5 this is the test

Anyone have any ideas ? 

TIA,

-- 
- Wayne Pascoe 
Yoohoo... I'll make you famous


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



IPSEC tunnel help

2002-10-31 Thread Wayne Pascoe
Hi all,

I'm struggling to setup a VPN. I'm now reading through
http://www.daemonnews.org/200101/ipsec-howto.html
and this is confusing me even more :( 

Reading this, I see:

However, if your goal is to set up a VPN, that is, link 2
widely-separated networks together over the Internet, then you'll
probably want to use ESP/tunnel mode.

The example then goes on to show
spdadd 10.10.10.0/24 10.20.20.0/24 any -P out ipsec
 esp/transport/1.2.3.4-5.6.7.8/require;

which is transport mode, no ? 

Can anyone point me at a decent howto to link 2 networks together? I'm
trying to setup 2 VPN gateways so that everything behind each of those
talks to everything behind the other one via a VPN. 

I'm also confused about the ifconfig instructions for the gif0
device. I've got 2 network cards going with one being the external
device
(172.16.0.1 and 172.16.0.2 respectively)
and the other for the internal network
(10.0.1.1 and 10.0.2.1 respectively)
What should my gifconfig and ifconfig lines be ? 

-- 
- Wayne Pascoe 
Microsoft complaining about the source 
license used by Linux is like the event 
horizon calling the kettle black - adamba on k5


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



Re: IPSEC tunnel help

2002-10-31 Thread Wayne Pascoe
Jim Durham [EMAIL PROTECTED] writes:

 I have this running. I made a couple .sh files, which I placed in 
 /usr/local/etc/rc.d . Here is what they look like. They should answer
 your questions, hopefully..   xxx.xxx.xxx.xxx is the IP of the host
 that is running this file, yyy.yyy.yyy.yyy is the host at the other end.
 The other end's file is the same, reversing the outside and inside IP's. You 
 will also need to do some routing perhaps, because the source ip of
 the machines on the other LAN will show up as 10. addresses.
 You don't need gif support compiled in, the module will load.

Thanks a stack for that ! :)

-- 
- Wayne Pascoe 
If you can't dazzle them with brilliance, riddle
them with bullets.


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



Re: building a 4.6-STABLE

2002-07-23 Thread Wayne Pascoe

Terry Todd [EMAIL PROTECTED] writes:

 I have been trying to build a 4.6-STABLE system for the past few days.
 
 I have downloaded a complete source tree and ran make world.  It completes
 with no errors.
 
 However, when I run cvsup and then run make world it fails as follows:
 /usr/local/bin/cvsup -g -L 2 -P - /etc/cvsupfile

Stupid suggestion, but it has worked for me in the past. In /usr/src
do a make clean before you do  the make world.

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
Give me enough medals, and I'll win any war.
- Napolean


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



Re: Mod_frontpage config error

2002-07-22 Thread Wayne Pascoe

Lord Raiden [EMAIL PROTECTED] writes:

   /usr/local/frontpage/version5.0/fp_install.sh on the server
   after installing mod_frontpage.  But when I run it, all goes
   fine until I get to this one point.  Here is an example of the
   output.

Is there any way to specify where your apache is installed to this
script ? Are you sure it is looking in the right place ?

   I do a find to see if that file exists, and I find the file in
   question located here /usr/local/etc/apache/srm.conf. so the

As I said, are you sure that the fp_install.sh script is looking in
that location for it ? 

   file obviously exists.  I know the permissions are correct.
   Here's the permissions on it, -rw-r--r--  1 root  wheel  357
   Jul  2 18:52 /usr/local/etc/apache/srm.conf.  I've even tried
   doing a chmod to 777 to see if it was a permissions issue, and
   it's not.

For the record, srm.conf is deprecated. Everything that used to be
stored in srm.conf is now in httpd.conf by default.

 -- The Raiden Knows
 
 Remember amateurs built the ark  -- professionals built the Titanic.
 -
 
 Unknown
 
 Just when you think you have life figured out and all is going well,
 watch your step, for you are about to fall. - Ancient Proverb

Please, I'm begging you - fix your sig. 

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
Things fall apart; the centre cannot hold;
Mere anarchy is loosed upon the world. 
- Yeats


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



Re: Sound Blaster Live Support ?

2002-07-22 Thread Wayne Pascoe

Rickard Hidefjäll [EMAIL PROTECTED] writes:

 Hi !
 
 I have a question about sound blaster live support. I'v a stabel
 version of FreeBSD. I have been looking around in different FreeBSD
 related sites including your own handbook. with out any success in
 finding any hint or howto.
 
 What shall i do if i have one of the moste common mordern sound cards
 and want to use it in FreeBSD? ( which I'm very found of)

You just need to recompile your kernel. Add the following line to your
kernel config file:
device  pcm

recompile, install the new kernel and reboot.

Regards,

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
Doing a linear scan over an associative array
is like trying to club someone to death with a 
loaded Uzi. - Larry Wall


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



Re: MySQL Installation

2002-07-22 Thread Wayne Pascoe

MET [EMAIL PROTECTED] writes:

 I was wondering if someone could be so kind as to write up
 directions for installing MySQL that makes sense.  I've read all of
 the documentation from their site that I can handle, and can take no
 more.  Simply put I'm a Unix newbie, and their directions are
 definitely for someone with more knowledge than I.  I've just
 installed FreeBSD 4.6, clean install, without any GUI interface, CLI
 strictly.  The purpose of MySQL is for nothing more than a mere web
 database (I've been doing PHP + MySQL for years and figured I'd give
 server technology a try).

cd /usr/ports/databases/mysql323-server/
make install

Hope that helps.

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
Everything to excess. To enjoy the flavour of 
life, take big bites. Moderation is for 
monks. - Robert Heinlein


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



Re: Thoughts on Web Site Design / Builder apps?

2002-07-17 Thread Wayne Pascoe

Stacey Roberts [EMAIL PROTECTED] writes:

 Hi,
   I'm a hands-up newbie at web design and html stuff, but would like to
 learn for my own amusement on my home system.
 
 Is anyone able to recommend a nice informative and straight-forward
 website design / building app from the ports collection?

If you're planning on learning for the sake of learning, I would
suggest that you learn about HTML as opposed to learning how to use a
single tool to produce HTML. 

Start at http://www.w3c.org and also take a look at web pages that
look like what you want to build. 

Any editor can be used to create HTML and if you understand it you
will be far better equipped to use wysiwyg tools. You'll also produce
better code :)

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
I'm only in this job until an opening comes up 
in the fast food business...


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



Re: scp and non-shell accounts.

2002-07-17 Thread Wayne Pascoe

Ken McGlothlen [EMAIL PROTECTED] writes:

 I want my users to be able to transfer files to the production
 webserver using scp or sftp, but not to have shell access on the
 production webserver.
 
 So on the production machine, each of these users has a home directory, and a
 shell of /sbin/nologin.
 
 The problem is, this seems to trounce scp and sftp.  I get
 
 wibble@staging:~(1)$ scp transfer.txt wibble@prod:~
 wibble@prod's password: [type password]
 
 This account is currently not available. [from /sbin/nologin]
 wibble@staging:~(2)$ sftp prod
 Connecting to prod...
 wibble@prod's password: [type password]
 Received message too long 173237622
 wibble@staging:~(3)$ _
 
 Do I really have to permit shell access for these accounts in order
 to use scp or sftp?

You do have to permit shell access, but you can use a nice restrictive
shell. I can't remember where I found it originally (Byron - If you're
reading this can you post the location), but there is a shell out
there called scponly.

Using this means that scp functions work ok but a user cannot actually
login to the machine. This I hope will suit your purpose?

If you can't find it on google, mail me and I'll hunt out the URL.

Regards,

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
I'm from Iowa. I just work in space. Admiral
Kirk - Star Trek IV


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



Re: Telnetd

2002-07-17 Thread Wayne Pascoe

Rafter Man [EMAIL PROTECTED] writes:

 Hi Subscribers
 
 If I have a server running telnetd and sshd, how can I denie a users
 telnet access (he must have ssh access also using passwords).

For starters, I would strongly deny telnet access by default. There
are very few good reasons to use telnet in this day and age, and the
horrible insecurity of it makes it worth binning.

Having done my 'Responsible adult' preaching, I think you might be
able to do what you want using PAM. Have a look through the PAM docs
and see if that helps you.

Regards, 

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
You have zero privacy anyway, get over it
- Scott McNealy


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



Re: Internet Fax and FreeBSD

2002-07-17 Thread Wayne Pascoe

Lord Raiden [EMAIL PROTECTED] writes:

 
   I could set this up using Winfax on one of our 2k server, but
   I'd rather do it on a Freebsd server since I have more of them
   and I am not a big fan of Winfax anyways.  :)  What port or
   program would I use to setup such a thing on one of our
   systems and what, if any service would we need to signup to in
   order to use this?  Would I be able to receive internet faxes
   from other people who are also setup to send them, or would I
   again need to go through an online fax service?

If you're just trying to do faxing from the desktop, or faxing over a
local network, then Hylafax may work for you. Using this your *nix and
Windows users can all fax through a single fax modem. I've not set it
up on FreeBSD but it was pretty easy to get going on GNU/Linux.

I'm not sure I get what you're saying about Internet Faxes. I use
e-mail for Internet communications ;)

 
 -- The Raiden Knows
 
 Remember amateurs built the ark  -- professionals built the Titanic.
 -
 
 Unknown
 
 Just when you think you have life figured out and all is going well,
 watch your step, for you are about to fall. - Ancient Proverb

Please can you fix your signature so that my mail client does not
quote it in reply's. Please see
http://www.uwasa.fi/~ts/http/signatur.html for more information on
signature netiquette

Regards,

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
I haven't lost my mind... It's backed
up on tape somewhere.


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



Re: cardbus 32-bit ethernet

2002-07-16 Thread Wayne Pascoe

Tobi S. [EMAIL PROTECTED] writes:

 Hello FreeBSD-questions-Team,
 
 I read on your Homepage that FreeBSD is currently not supporting 32bit
 pcmcia(cardbus?) ethernet devices. Is that right? Or is there a
 possibility to make it work?
 It's an ALLNET ALL0146 10/100 PCMCIA Card with Realtek 8139
 architecture.

Cardbus is not supported in FreeBSD-STABLE. It is however supported in
FreeBSD-CURRENT. CURRENT is a development version and as such is
subject to instability and problems, but many people are successfully
using it.

HTH,

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
Bury me deep when there's no will to be
better than you! - Metallica


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



Re: can't start installation on ASUS P2L97-S

2002-07-11 Thread Wayne Pascoe

Joe  Fhe Barbish [EMAIL PROTECTED] writes:

 Dear all,
 I can't start FreeBSD installation either from CD, nor from Floppy.
 System hangs at hw probe in a fashion that i can't interprete.
 BIOS upgrade, removing physical hw equipment, disabling devices at
 bios level didn't helped at all (Please, have a look at history below
 for details).

I haven't been following this so please ignore me if this has already
been suggested - Do you have assign IRQ for USB devices set in your
BIOS?

I had a similar problem and I had that option set to no. Setting it to
yes fixed the problem.

Just a thought :)

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
BSD is for people who love UNIX; Linux is for
people who hate Windows


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