Re: aac/fxp system instability

2005-03-29 Thread Andrew Lewis
Fixed this!

Resolved all my IRQ conflicts, didn't do it...

Compiled the fxp driver into the kernel (instead of having it as a module), 
*fixed it*!

-AL.

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


NIC Drivers in FreeBSD which support ALTQ?

2005-03-29 Thread Andrew Lewis
What are they?

I can't use Intel cards because they are crashing my Adaptec RAID...

-AL.

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


Re: FreeBSD installation with single / partition

2005-03-22 Thread Andrew Lewis
On Tue, 22 Mar 2005 14:00:25 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:

> You are definitely doing something wrong.  The root filesystem should be
> mounted as read-write *before* you run installworld.

Right you were, I was overlooking those extra instructions. ;) Working fine 
now. Thx for your help

-AL.

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


FreeBSD installation with single / partition

2005-03-22 Thread Andrew Lewis
Is this a serious no-no?

I see this breaks make installworld... :\ Complains about / being read-only, 
and naturally there is no way for me to remount it r/w with the system being 
up... :( And a rescue CD kinda defeats the object of rebuilding from source... 
:(

So, would I do best to reinstall this machine with a proper FS layout before 
putting it into production?

-AL.

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


Re: Fake Internal IP Address Ranges

2005-03-09 Thread Andrew Lewis
Hi all,

Sorry to bother with this... It was in fact a routing problem (on the Cisco 
router in front of the firewall, routing to a different address than the one I 
was using :p)

*Sigh* :\

-AL.

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


Fake Internal IP Address Ranges

2005-03-09 Thread Andrew Lewis
Hi,

Does FreeBSD refuse to route fake internal address ranges?

I have a setup as follows:
Ethernet0 (10.0.0.0 address, internet-facing)
Ethernet1 (196.funny address, LAN-facing)

We had broken our routing to accomodate the funny range, and it was working 
fine, until we put in the FreeBSD firewall. Tcpdump doesn't see packets for 
this range arriving anymore on the internet-facing interface... :(

Is it fBSD thats breaking it? And if so, how can I turn off this behaviour?

Thanks,
-AL.

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


Broken port: gettext

2005-03-03 Thread Andrew Lewis
Help! :( Spent all day @ a client trying to recover some data, then stayed up 
all night recovering it & now doing a fresh setup on FreeBSD 5.3-RELEASE, 
cvsupped with latest ports, and gettext port is broken (need for Samba3, PHP). 
Supposed to go back in about an hour to install new box. :(

Anyone picked this up yet? Can help me out?

/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe   -L/usr/local/lib -o 
libgettextsrc.la -rpath /usr/local/lib -release 0.14.1  ../lib/libgettextlib.la 
../intl/libintl.la -L/usr/local/lib -liconv -R/usr/local/lib -L/usr/local/lib 
-liconv -R/usr/local/lib -no-undefined message.lo read-po-abstract.lo po-lex.lo 
 po-gram-gen.lo po-hash-gen.lo po-charset.lo read-properties.lo  
read-stringtable.lo open-po.lo dir-list.lo str-list.lo read-po.lo  
write-properties.lo write-stringtable.lo write-po.lo  msgl-ascii.lo 
msgl-iconv.lo msgl-equal.lo msgl-cat.lo  msgl-english.lo file-list.lo 
msgl-charset.lo po-time.lo  plural.lo plural-table.lo format.lo format-c.lo 
format-sh.lo format-python.lo  format-lisp.lo format-elisp.lo format-librep.lo 
format-java.lo  format-csharp.lo format-awk.lo format-pascal.lo format-ycp.lo  
format-tcl.lo format-perl.lo format-perl-brace.lo  format-php.lo 
format-gcc-internal.lo format-qt.lo  
libtool15: link: `po-lex.lo' is not a valid libtool object
*** Error code 1

Stop in /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-tools/src.
*** Error code 1

Best,
-AL.

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


Antivirus on web proxy

2005-03-01 Thread Andrew Lewis
Hi,

I'm having a hard time getting antivirus plugged into a web proxy...

I've tried Viralator and Squivi without luck; didn't seem to work right... I'm 
not very happy with the approach taken by these packages though I'm willing to 
try anything that works...

Middleman seemed a good fit, but I kept getting errors with launching the 
filter program, never figured out why...

HTTP::Proxy would be fine if the store-and-forward body filter was finished 
yet...

So, my question is

Has anybody done this successfully on fBSD? And what did you use?

Best,
-AL.

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


Re: PF Broken

2005-02-28 Thread Andrew Lewis
On Mon, 28 Feb 2005 14:42:57 +0100
Dominique Goncalves <[EMAIL PROTECTED]> wrote:

> man altq ;-)

Oh... Ok... So I set the relevant options in the kernel, rebuilt & it looks 
good - thankyou. :) :) :)

Excuse my nonsense AheaHeaHe aHeooHAeHAaHa Thanku, Thanku...

-AL.

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


Re: PF Broken

2005-02-28 Thread Andrew Lewis
So here's another question:

pfctl says:
No ALTQ support in kernel
ALTQ related functions disabled

^- I remember reading something about there being early support available for 
this under fBSD? Where do I find the patches to make this work?

I'm intending on using PF for shaping *only* so this is what I need. :)

-AL.

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


Re: PF Broken

2005-02-28 Thread Andrew Lewis
On Mon, 28 Feb 2005 15:34:09 +0200
Andrew Lewis <[EMAIL PROTECTED]> wrote:

> How do I make it work? ;)

Forgot to run make installkernel. :(

It's funny laugh

-AL.

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


PF Broken

2005-02-28 Thread Andrew Lewis
Hi,

I'm struggling with PF on FreeBSD 5.3-RELEASE...

I've got a custom kernel configuration; including:
device pf
device pflog

In rc.conf I've set:
pf_enable="YES"
pf_rules="/etc/pf.conf"
pf_flags=""
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
pflog_flags=""

dmesg -a shows:
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
link_elf: symbol in6_cksum undefined
kldload: 
can't load pf
: 
No such file or directory
/etc/rc: ERROR: pflog module failed to load.
link_elf: symbol in6_cksum undefined
kldload: 
can't load pf
: 
No such file or directory
/etc/rc: ERROR: pf module failed to load.

pfctl -sa says:
pfctl: /dev/pf: No such file or directory

How do I make it work? ;)

Best,
-AL.

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


Re: ping -f differences in pinging windows 2003 and FreeBSD

2005-02-13 Thread Andrew Lewis
Hi,

On Sun, 13 Feb 2005 22:45:28 +0100 (CET)
"Gelsema, Patrick" <[EMAIL PROTECTED]> wrote:

> I've got the following kit running; FreeBsd 5.3Release-p5,
> 4.10-RELEASE-p2, Windows XP SP2, Syslinux and Windows 2003 SP1.
> 
> They all are connected to a 3com 100mbit Hub. All machines 100Mbit
> HalfDuplex.
> 
> When I execute the ping -f command from 5.3 to 4.10 I am getting a ~18%
> packetloss, the same when I execute the command from 4.10 to 5.3.
> 
> However when I ping -f the Windows 2003 server, the Syslinux Firewall or
> Windows XP I am lucky if at least 10 packets are dropped.

You may find reach some different results using a different value for the 
net.inet.icmp.icmplim sysctl (number of ICMP packets per second).

-AL.

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


Status of USB MIDI support in FreeBSD 5.3?

2005-02-10 Thread Andrew Lewis
I'm interested in using an Evolution MK-361C MIDI Keyboard with Csound under 
FreeBSD. Is MIDI working under FreeBSD yet? If not, does anyone know when it's 
expected to?

Perhaps I should give NetBSD a whirl for this one...?

-AL.

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


Re: Perl modules

2005-02-08 Thread Andrew Lewis
On Wed, 9 Feb 2005 14:13:30 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> Are you aware of any magical formula that would list the Perl modules
> installed in a configuration?

And an alternative approach:
http://tek-tips.com/viewthread.cfm?qid=898931

-AL.

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


Re: Perl modules

2005-02-08 Thread Andrew Lewis
On Wed, 9 Feb 2005 14:13:30 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> Are you aware of any magical formula that would list the Perl modules
> installed in a configuration?

Your question interested me so I took it upon myself to Google for it. :p

This should do it for you:
http://mail.pm.org/pipermail/vienna-pm/2002-August/001022.html

-AL.

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


Re: FreeBSD 3.2

2005-02-03 Thread Andrew Lewis
On Thu, 03 Feb 2005 12:28:56 +
[EMAIL PROTECTED] wrote:

> At this momment I am not allowed to up date from FreeBSD 3.2 to > another 
> version, this machine sits at a school and there policies are > slow

Time to suggest a change of policy. ;)

Suggest that they need to keep the server current; that you need to do a full 
upgrade on another drive; pop that drive into the existing server; resurrect 
the bits you need & keep that installation current!

No-one's going to make you, but long-term this is a more sensible policy. ;)

-AL.

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


Setting up RAID1 with gmirror

2005-01-27 Thread Andrew Lewis
Got a live system I'm trying to setup RAID1 on, using gmirror. This is my first 
attempt at such a thing.

Two hard-disks: ad0 has a UFS2+softupdates formatted / partition and a swap 
partition. ad2 is a clean disk.

I've been following the instructions @:
http://people.freebsd.org/~rse/mirror/

I used 'Approach 1' from the instructions @ the URL above:

dd if=/dev/zero of=/dev/ad2 bs=512 count=79
gmirror label -v -n -b round-robin gm0 /dev/ad2
gmirror load
fdisk -v -B -I /dev/mirror/gm0
bsdlabel -w -B /dev/mirror/gm0s1
bsdlabel -e /dev/mirror/gm0s1
newfs -U /dev/mirror/gm0s1a
mount /dev/mirror/gm0s1a /mnt
dump -L -0 -f- / | (cd /mnt; restore -r -v -f-)
cp -p /mnt/etc/fstab /mnt/etc/fstab.orig
sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab
echo 'swapoff="YES"' >>/mnt/etc/rc.conf
echo 'geom_mirror_load="YES"' >>/mnt/boot/loader.conf
echo "2:ad(2,a)/boot/loader" >/boot.config

reboot.

Machine no longer boots with F1, booted with F5 (Second disk) fine; I neglected 
to look @ what it was complaining about. Assuming this wasn't supposed to 
happen?

Seems GEOM is working, so now I continue with the instructions for joining the 
first disk to the mirror.

dd if=/dev/zero of=/dev/ad0 bs=512 count=79
gmirror configure -a gm0

-bash-2.05b# gmirror insert gm0 /dev/ad0
Provider ad0 too small.

^- Oops.

Where did I go wrong? And what should I do now to get it working properly 
without killing everything? :) Seems I nuked swap, which is fine, because this 
machine can handle without it...

*sigh* :)

Thanks for the help in advance.

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


Breaking password on FreeBSD 5.2.1 box

2004-11-27 Thread Andrew Lewis
Hi list,

We have a client running a fBSD 5.2.1 box that needed its root password
hacked.

I couldn't boot into single user mode w/o the root password, so I
installed fBSD 5.3 on another machine, and slaved the drive from the
5.2.1 box in mine.

Then I tried editting its master.passwd file and removing the root
password: didn't work.

So then I tried setting it to the hash of a password I knew: didn't
work.

So then I editted /etc/ttys and set 'secure', booted up in single user
mode, ran 'passwd' and it came back with some failure in pam_chauthtok -
I forget the exact message, but it wasn't any more specific than what
I've described.

What to do now? Did I do something very wrong? :( Please CC your
response to me (non-subscriber)...

Thanks...

Best,
-AL.

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