Re: Handling automake and autoconf versions

2004-07-04 Thread Michael Nottebrock
On Monday 05 July 2004 08:30, Al.Aeefyu wrote:
> Hi there!
>
> How do I safely handle automake/autoconf versions built from ports??
> Recently, some of my port builds (x11/kde3 specifically) failed
> because automake and autoconf has been MOVED. Do I absolutely have to
> wait for the maintainers to update the ports' Makefiles?

There should be no ports left which reference the removed versions of autoconf 
and automake, perhaps you cvsup'd in the middle of the commit.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgplcr7uAjgVq.pgp
Description: signature


Handling automake and autoconf versions

2004-07-04 Thread Al.Aeefyu
Hi there!

How do I safely handle automake/autoconf versions built from ports??
Recently, some of my port builds (x11/kde3 specifically) failed
because automake and autoconf has been MOVED. Do I absolutely have to
wait for the maintainers to update the ports' Makefiles?

There are references to USE_AUTOCONF_VER=* and USE_AUTOMAKE_VER=*, but
unless I am mistaken, these are mainly useful for port maintainers
only.

Can I override them safely, say .. modifying the Makefiles myself?

A "pkg_info -R autoconf\*" lists many versions of autoconf in my
system. Can I simply delete the unused ones? Same goes for "pkg_info
-R automake\*"

--- output follows:

[EMAIL PROTECTED]: ports] # pkg_info -R autoconf\*
Information for autoconf-2.53_1:

Information for autoconf-2.57_1:
Required by:
automake-1.7.9_1
kde-3.2.3
kdevelop-3.0.4

[EMAIL PROTECTED]: ports] # pkg_info -R automake\*
Information for automake-1.5,1:

Information for automake-1.7.9_1:
Required by:
kde-3.2.3
kdevelop-3.0.4

Information for automake14-1.4.5_9:

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


Re: Postnuke install probs - any advice appreciated.

2004-07-04 Thread Graham Bentley

> On the phpinfo(); test page do you see the MySQL Support enabled ??
> "PHP Fatal error: Call to undefined function: mysql_connect()"
> Andras Kende
> http://kende.com

Only reference to mysql from the output of phptest.info i.e.



is :- sql.safe_mode Off Off

So I _guess_ mysql support wasnt compiled into php at build time ?

I wrongly assumed that by doing a make install in the postnuke
directory would pass those params ?

OK so now I read the makefile options for php and rebuild ?

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


Re: [Fwd: /etc/hosts and /etc/host.conf confusion]

2004-07-04 Thread Bill Schoolcraft
At Sun, 4 Jul 2004 it looks like David Fuchs composed:

>   Excellent, ping does resolve a new entry in /etc/hosts properly.  So as
> you said, `host' is doing it's own thing.  The manpage for host gives me
> some leads which I'll follow through on.

Hmm, in the Unix boxes I've seen, there is a file called /etc/nsswitch.conf
that will have a line called "hosts:" it will dictate the order by which names
are resolved.  If you have the following your system will look at the
/etc/hosts file first, then NISplus, then DNS. If you were to have "dns"
first, it would ignore your /etc/hosts file (first) and hit your dns looking
for answers.

/etc/nsswitch.conf

hosts:  files nisplus dns

--
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
"UNIX, A Way Of Life."_\_v

http://billschoolcraft.com

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


Weird memory detection problem on Compaq M700

2004-07-04 Thread Christopher Smith
Apologies for the cross-post - this is mainly a hardware problem, but I've
thrown it into -questions as well in case someone has already seen and fixed
this issue.

I have a Compaq Armada M700 that I used for a firewall.  I've recently
upgraded the memory in it to 320MB (64MB onboard + 256MB).  The machine
detects the memory fine.  The FreeBSD bootloader detects the memory fine.
However, when the kernel boots it only detects 64MB.

What's weird, is that if I stick in a 128MB memory module then the kernel
detects the full amount (192MB) fine.

I realise I can use "options MAXMEM" to manually specify the amount of RAM
in the machine, but it just struck me as rather strange that it detects
192MB fine but not 320MB (particularly since the bootloader sees it all).

This is with FreeBSD 5.2.1.  I've not tried it with 4.x.

Has anyone else encountered this problem (and maybe fixed it) ?

-- 
+~~+
| Chris Smith   | Flick Pest Control   |
| Systems Administrator | Suite G4, Zenith Data Centre |
| p: +61 2 9495 9633| 821-843 Pacific Highway  |
| f: +61 2 9495 9688| Chatswood, NSW 2067  |
| e: [EMAIL PROTECTED]   | Australia|
+--+ 

-- 
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg


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


Re: Swap size

2004-07-04 Thread Lowell Gilbert
Lists <[EMAIL PROTECTED]> writes:

> What swap size should i use having 768 Mb of memory?
> I've heard something about preformance degradation if
> swap size is bellow 2x of ram...

You don't *need* ANY swap.  Until you fill up your RAM, at which point
it's nice to have some swap space instead of having the kernel start
killing processes.  

In order to do a crash dump, you need an overwritable partition that's
at least slightly larger than your RAM.  The swap partition is often
given this job as well as serving as swap space.

If you have some idea of your worst-case virtual memory usage,
allocate that much swap (less about the amount of RAM you have).  If
you don't know, either set aside a huge amount of space or experiment
and see how much you need (and then allocate half again as much to be
safe).  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kde 3.2.3

2004-07-04 Thread Joshua Moore

   First off, remove all arts, qt, quanta, kde, and kdevelop packages.
   Set your package site envirmomental variable to a site that has the
   3.2.3 packages.  Then run pkg_add -r kde.  It should download and
   install and save you a ton of time trying to compile everything from
   source.
   Javier Ramirez wrote:

Hi 
I´m try to install kde 3.2.3 in my freebsd i386 5.2.1

the port to kde 3.2.3 only install kde 3.1.4
and this is a error,

I´m  try to install from *.tbz files, and get a list of dependency
error


so, 

how to install kde-3.2.3 in my computer? 

please!!!


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

References

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


kde 3.2.3

2004-07-04 Thread Javier Ramirez
Hi 
I´m try to install kde 3.2.3 in my freebsd i386 5.2.1

the port to kde 3.2.3 only install kde 3.1.4
and this is a error,

I´m  try to install from *.tbz files, and get a list of dependency
error


so, 

how to install kde-3.2.3 in my computer? 

please!!!


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


Re: Connecting a USB Zip drive -- whatever am I doing wrong?

2004-07-04 Thread epilogue
On Sun, 4 Jul 2004 20:04:06 -0700
Kent Stewart <[EMAIL PROTECTED]> wrote:

> On Sunday 04 July 2004 07:28 pm, epilogue wrote:
> > hello all,
> >
> > for many moons now, i'll occasionally dedicate a dark day to getting
> > my USB Zip drive to work.  i've been through the handbook, faq,
> > relevant man pages, mailing lists and across the colossal
> > googlesphere collecting bits and pieces, none of which seem to get me
> > the desired result.  i'm obviously missing something.
> >
> > i'm writing with the hope that, what i have managed to overlook will
> > be so obvious and straighforward, some kind reader will take 2
> > seconds to point it out, so that i may zip off on my merry way.
> >
> > ### uname -a
> > FreeBSD 4.10-RELEASE-p1 i386
> >
> > ### relevant lines from kernel
> > device  vpo
> > device  scbus
> > device  da
> > device  uhci# uhci related entries show up in dmesg
> > device  usb
> > device  ugen
> >
> What about
> device  umass   # Disks/Mass storage - Requires scbus and da

hello kent,

it's already in there.  sigh.  i just missed it, when i pasted all this
info together.  sorry for the oversight.


> Kent
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LVM ? (not vinum!)

2004-07-04 Thread Dan Nelson
In the last episode (Jul 04), Stephan van Beerschoten said:
> Is there an implementation of an LVM in FreeBSD ? Vinum is not
> sufficient. I am looking for a true LVM where creating and resizing
> volumes is a must. Something like Solaris Disksuite with
> softpartitioning is something I could live with already, but it just
> does not seem to exist.

Vinum lets you resize volumes by concatenating plexes, and then you can
run growfs to expand the filesystem into the new space.

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


Re: Connecting a USB Zip drive -- whatever am I doing wrong?

2004-07-04 Thread Kent Stewart
On Sunday 04 July 2004 07:28 pm, epilogue wrote:
> hello all,
>
> for many moons now, i'll occasionally dedicate a dark day to getting
> my USB Zip drive to work.  i've been through the handbook, faq,
> relevant man pages, mailing lists and across the colossal
> googlesphere collecting bits and pieces, none of which seem to get me
> the desired result.  i'm obviously missing something.
>
> i'm writing with the hope that, what i have managed to overlook will
> be so obvious and straighforward, some kind reader will take 2
> seconds to point it out, so that i may zip off on my merry way.
>
> ### uname -a
> FreeBSD 4.10-RELEASE-p1 i386
>
> ### relevant lines from kernel
> device  vpo
> device  scbus
> device  da
> device  uhci# uhci related entries show up in dmesg
> deviceusb
> deviceugen
>
What about
device  umass   # Disks/Mass storage - Requires scbus and da

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Swap size

2004-07-04 Thread Joshua Moore
I think for most cases if you have more then 512 MB of ram you can just 
have the swap size the same size as the amount of ram you have installed.
Lists wrote:

Hello all,
   What swap size should i use having 768 Mb of memory?
   I've heard something about preformance degradation if
   swap size is bellow 2x of ram...
   Thanks,
 Alexander.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Swap size

2004-07-04 Thread Lists
Hello all,

What swap size should i use having 768 Mb of memory?
I've heard something about preformance degradation if
swap size is bellow 2x of ram...

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


Connecting a USB Zip drive -- whatever am I doing wrong?

2004-07-04 Thread epilogue
hello all,

for many moons now, i'll occasionally dedicate a dark day to getting my USB
Zip drive to work.  i've been through the handbook, faq, relevant man
pages, mailing lists and across the colossal googlesphere collecting bits
and pieces, none of which seem to get me the desired result.  i'm obviously
missing something.

i'm writing with the hope that, what i have managed to overlook will be so
obvious and straighforward, some kind reader will take 2 seconds to
point it out, so that i may zip off on my merry way.

### uname -a
FreeBSD 4.10-RELEASE-p1 i386

### relevant lines from kernel
device  vpo
device  scbus
device  da
device  uhci# uhci related entries show up in dmesg
device  usb
device  ugen

i have also tried with the ohci device added, but it never generates any
dmesg entries.  from what i gather, uhci and ohci have an 'either - or'
kind of relationship.  i'm supposing that uhci is the right device for my
system.

now, when i boot with the zip device plugged in (whether or not there is a
disk loaded), the system will hang until i unplug the usb cable.

### dmesg

atapci0:  port 0x1050-0x105f at device
7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0x1060-0x107f irq 5
at device 7.2 on pci0 usb0:  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
##-- hangs about 30 seconds here, but chugs on happily after --##
chip0:  port 0x1040-0x104f at
device 7.3 on pci0 pcm0:  port 0x1400-0x14ff irq
5 at device 8.0 on pci0

pccard: card inserted, slot 1
ad0: 17301MB  [35152/16/63] at ata0-master UDMA33
acd0: CDROM  at ata1-master UDMA33
##-- hangs here *until* i pull the usb plug.  after i do, i get the
following error messages but the boot finishes nicely. --##
umass0: BBB reset failed, IOERROR
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
Mounting root from ufs:/dev/ad0s2a
umass0: at uhub0 port 1 (addr 2) disconnected
umass0: detached
ltmdm0:  port 0x1800-0x18ff,0x1080-0x1087 mem
0xfc00-0xfcff irq 5 at device 16.0 on pci0
ltmdm0: type Virtual 16550A
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: Get Max Lun not supported (STALLED)
umass0: BBB reset failed, IOERROR

### after booting.  i plug the usb cable back in and usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
port 1 addr 2: full speed, self powered, config 1, Zip 100(0x0001),
Iomega(0x059b), rev 1.00
port 2 powered

### ps auxw | grep -i usb
root 99  0.0  0.2   940  604  ?? Is 9:42PM 0:00.00 /usr/sbin/usbd
root  4  0.0  0.0 00  ??  DL5:42PM  0:00.00  (usbtask)
root  3  0.0  0.0 00  ??  DL5:42PM  0:00.00  (usb0)

looks good (i think).

### /var/log/messages
Jul  4 21:47:04 /kernel: umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
Jul  4 21:47:04 /kernel: umass0: Get Max Lun not supported (STALLED)
Jul  4 21:48:09 /kernel: umass0: BBB reset failed, IOERROR

### mounting
i'm not sure that i 'get' which device the zip maps to nor how to determine
this.  i have tried about 40 different combinations of mount (mostly
gleaned from my research), but i have yet to hit upon the right command. 

# mount -t msdos /dev/da* /mnt  # * = practically every single one
msdos: /dev/da0s4: Device not configured

of the many combinations tried, /dev/usb0 has provided the most promising
error message (i think).

# mount -t msdos /dev/usb0 /mnt
msdos: /dev/usb0: Block device required

### final notes
1) the Zip drive works on several other non-*nix systems
2) i *have* tried with more than just one disk.

i'm guessing that the problem is that i'm just not mounting correctly, but
hey, that's just a guess.   :)

--

my apologies for the lengthy message.  hopefully, it provided some
useful troubleshooting info.  please let me know if there are any further
details i can provide.


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


tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-04 Thread Patrick Dung
Hi
 
For FreeBSD-stable, I can change the permission of the
/dev/bpf*.
But for FreeBSD-current, the bpf device is created at
runtime.
There is no way to decided the user/group and
permission of the device created. (/etc/devfs.conf can
be used, but it had to be start after the device is
created, where it is not created at boot time).
 
Patrick
Regards


_
必殺技、飲歌、小星星...
浪漫鈴聲  情心連繫
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pattern replacement

2004-07-04 Thread Vulpes Velox
On Sun, 4 Jul 2004 17:51:22 -0500
Jon Drews <[EMAIL PROTECTED]> wrote:

> Hi:
> 
>  Sed is useful for this. Here are some good tutorials on it:
> 
> Common threads: Sed by example:
> http://www-106.ibm.com/developerworks/linux/library/l-sed1.html
> http://www-106.ibm.com/developerworks/linux/library/l-sed2.html
> http://www-106.ibm.com/developerworks/linux/library/l-sed3.html

Cool, thanks... I working on something with a fix using head, grep,
and cut :)

Basically grep -n for #include or whatehet, pipe it into
head -n 1 it, and then head -n (pervious number cut and minus one> the
file, then >> the include into it, and the this is where I am stuck...
I can't find a way to cat everything after a certian line number
out :/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how debug crash in -current?

2004-07-04 Thread Kris Kennaway
On Sun, Jul 04, 2004 at 06:32:53PM +0200, Per olof Ljungmark wrote:
> Hi all,
> 
> I have a problem booting a IBM T41 with the CDRW (see a previous post). 
> Now, how can I submit a proper report when it is impossible to write to 
> disc? What sort of info is really meaningful to the developers?
> 
> Also, I did search the PR database but saw nothing on this but maybe I 
> just missed it?

See the chapter on kernel debugging in the developers' handbook.

Kris


pgpcOwkKraMzm.pgp
Description: PGP signature


Re: Cant bring up network interface

2004-07-04 Thread John Murphy
Nikhil Kale <[EMAIL PROTECTED]> wrote:

>Hello,
>I dont think the problem is related to releasing the DHCP lease
>because I have Windows XP, SuSE linux and now FreeBSD installed
>on the computer. I havent had any problem with Windows/Linux.

Perhaps not, but I think it's related to DHCP.  Do you have a
lease in /var/db/dhclient.leases? If not - have you perhaps
enabled firewall functionality which could block 255.255.255.255?

>  Here's what I get in dmesg for my network interface:
>---
>
>sis0:  port 0x8c00-0x8cff mem 0xd0008000-0xd0008fff 
>irq 11 at device 18.0 on pci0
>
>sis0: Silicon Revision: DP83816A
>
>sis0: Ethernet address: 00:0d:9d:43:e5:b7
>
>miibus0:  on sis0
>
>sis0: watchdog timeout

Yep, all looks ok there: I have 3 of those all working fine.
(5.2.1) Haven't seen 'watchdog timeout' errors though.

>  As soon as this is logged while booting the Ethernet LED on my broadband modem goes 
> OFF. 
I've never found an LED state particularly informative.
Could you make your line length ~76.  The google archive seems
to quote long lines verbatim, causing horizontal scrolling :(

>I may be completely wrong, but I think some wrong module is getting
>loaded, which is causing this problem. Can you point out how I can
>debug more, and get this solved???

You could use parameters from a SuSe or XP lease to manually config
the BSD installation.  And then you could test connectivity to the
ISP DHCP server.  I'm not sure how to test the (main) broadcast
address though and that's the one which is used (magically ;))
when an interface has no clue (previous lease) to consult.

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


Re: -STABLE build appears broken after ipfilter 3.4.35 MFC

2004-07-04 Thread Rob
Kent Stewart wrote:
On Sunday 04 July 2004 09:55 am, Ruslan Ermilov wrote:
On Sun, Jul 04, 2004 at 07:07:47AM -0700, David Wolfskill wrote:
[I sent a copy of this information under separate cover to Darren
Reed a little while ago.  dhw]

Darren's 1741 UTC to ip_fil.h fix lets it build on my test system.
I cvsup'ed against cvsup.freebsd.org. The kernel build still fails:
[...]
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In function 
`send_ip':
/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325: void value 
not ignored as it ought to be
*** Error code 1

Reason for this seems:
In contrib/ipfilter/netinet/ip_fil.c:1325, there is
if (fr_makefrip(hlen, ip, &frn) == 0)
and in contrib/ipfilter/netinet/ip_fil.h:633, it has
extern  voidfr_makefrip __P((int, ip_t *, fr_info_t *));
A void-function cannot be tested against a return value!
Rob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LVM ? (not vinum!)

2004-07-04 Thread Greg 'groggy' Lehey
On Sunday,  4 July 2004 at 21:06:20 +0200, Stephan van Beerschoten wrote:
> Is there an implementation of an LVM in FreeBSD ?
> Vinum is not sufficient. I am looking for a true LVM where creating and
> resizing volumes is a must.

And what's missing in Vinum?

> Something like Solaris Disksuite with softpartitioning is something
> I could live with already, but it just does not seem to exist.

Sounds like Vinum to me.

> Am I correct?

I don't think so.

> I'd hate to have to consider Linux as the OS for this new platform
> because of the one flaw in FreeBSD I can't live with :(

I'd suggest that you read the documentation and come back with a list
of features which you would like to see.  The ones you mention above
have existed from day one.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgptOHD5TCm91.pgp
Description: PGP signature


Status of win32-codecs package?

2004-07-04 Thread Luke
"make" can't fetch /usr/ports/win32-codecs
I can't fetch it myself either.  None of the mirrors are hosting it.
If the package has moved, I can't find it.
Can somebody tell me what I need to do to install this package and perhaps 
where I should go looking for answers when I have problems like this in 
the future?
Thank you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compaq SP750 and FreeBSD

2004-07-04 Thread Matt Emmerton
We're looking at picking up a couple of Compaq SP750 machines and are
wondering if anyone has had any experience using these with FreeBSD.

I'm particularly concerned with the onboard disk controller -- I can't find
any useful details about the controller on Compaq's web site, and don't want
to get into the Perc/LSI problems that others have had to deal with.

Thanks,

--
Matt Emmerton

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


Re: pattern replacement

2004-07-04 Thread Jon Drews
Hi:

 Sed is useful for this. Here are some good tutorials on it:

Common threads: Sed by example:
http://www-106.ibm.com/developerworks/linux/library/l-sed1.html
http://www-106.ibm.com/developerworks/linux/library/l-sed2.html
http://www-106.ibm.com/developerworks/linux/library/l-sed3.html


On Sun, 4 Jul 2004 17:08:07 -0500, Vulpes Velox <[EMAIL PROTECTED]> wrote:
> If I wanted to replace every instance of a pattern in a file with
> something, what would I use?
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X.Org port broken?

2004-07-04 Thread Luke

I just installed FreeBSD 5.2.1-RELEASE on a computer and after failing
to get XFree86 4.3.1,1 going on my DVI LCD monitor and nVidia FX5200
card, I wanted to try my luck with X.Org's server, but the port simply
refuses to install.I tried to install it a couple of weeks ago and it
gave me tons of errors even then, this time, it gave me the following
error:

ndation"' -DXVENDORNAMESHORT='"X.Org"' -c xhost.c
xhost.c: In function `change_host':
xhost.c:423: error: syntax error before "siaddr"
xhost.c:434: error: `siaddr' undeclared (first use in this function)
xhost.c:434: error: (Each undeclared identifier is reported only once
xhost.c:434: error: for each function it appears in.)
xhost.c: In function `get_hostname':
xhost.c:883: error: `XServerInterpretedAddress' undeclared (first use in this fu
nction)
xhost.c:883: error: `sip' undeclared (first use in this function)
xhost.c:884: warning: ISO C89 forbids mixed declarations and code
xhost.c:888: error: syntax error before ')' token
*** Error code 1
Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients.
*** Error code 1
Stop in /usr/ports/x11/xorg.

I did the same thing for the same reason last week and got the same error. 
The problem was caused by stale files on my system.

Explicitly installing /usr/ports/x11/xorg-libraries before installing
/usr/ports/x11/xorg did the trick.
This error was just the first in a series of problems caused by stale 
files, but I fought my way through the installation process and now have 
xorg running with the latest nvidia drivers so now my video card works and 
I'm happy.  :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SoundBlaster Live problems

2004-07-04 Thread Louis LeBlanc
I'm having another hangup with 5.2.1.  This one is considerably less
critical though.

I have a SoundBlaster Live! (with 5.1 support, whatever this means).

Judging from the handbook, all I'm supposed to do is put the following
in the kernel config:
device pcm
device sbc

and put this in /boot/loader.conf:
snd_emu10k1_load="YES"

And everything should work.

Not really.

I'm not seeing any indication of an unrecognized card or any pcm or
sbc devices in the dmesg output (/var/run/dmesg.boot).

Anyone have any suggestions?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

I just got out of the hospital after a speed reading accident.
I hit a bookmark.
-- Steven Wright
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2.1 crashes during make buildworld

2004-07-04 Thread Louis LeBlanc
Hey folks.  I've been having some real problems with make buildworld
on 5.2.1.  I was trying to build RELENG_5_2_1 from the initial 5.2.1
install, done from the distribution ISOs.

Namely, the whole system was siezing.  Well, mostly.  It's really
wierd, because I could switch desks, desktops, play with windows,
everything redraws, but I couldn't get any response from the xterms,
bring up any new terms, or get Netscape to actually follow a link or
bookmark.  It was like the lights are on but nobodys home.

This happened 3 times, right in the big fat middle of buildworld.  All
three times I lost info in the root filesystem - files that had been
modified between 5 and 20 minutes before the actual hang.

I found only one reference to this kind of behavior in the archives,
but it suggested potential hardware problems.  Since this machine
rolled off the line less than two weeks ago, I wasn't willing to
accept that yet, so I looked at the soft updates feature.  There was
nothing in anything I found to indicate this could be the cause of the
hang, but it was pretty obvious (at first glance, not afterward) that
turning it off should at least prevent losing anymore data.

Now, I'm writing this solely in the interest of being helpful to the
next poor sap that runs into the problem, so if anyone thinks this is
a "Bad Thing", please respond with your reasoning so (1) I'll
understand what really happened, and (2) the next guy won't run into
the gaping maw of "Bad Things" I could be headed for.

After 3 tries failed in horrible agony, I simply turned off soft
updates and turned on noauto on all filesystems.  Now, I know very
well that noauto is a good thing, since I have no desire to find out
the last time I ran xpat2 to play freecell by looking at the last
access time of the executable, not to mention a hundred other reasons,
most of them better that that.  I also know very well that softupdates
is not on by default in the root filesystem, so how could it be the
cause of the lost data?  I dunno.

I also know this:  When I made those two changes and only those two,
make buildworld zipped through without a hitch, as did the rest of the
whole upgrade process.  I don't know why, but maybe someone else does?

As for softupdates, I don't really think I need the performance bad
enough to juggle the settings every time I upgrade, so I'm inclined to
keep it off.  In fact, I've left the option out of the custom kernel
altogether.

Any ideas on the "why" here would be welcome.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

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


pattern replacement

2004-07-04 Thread Vulpes Velox
If I wanted to replace every instance of a pattern in a file with
something, what would I use?

Sorta like doing a include in a html file and then something goes
threw and replaces that include with the file that include pointed it
at?

Sorta want something to make web admining easier and I am pretty sure
this all ready exists in some form...

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


Auth.log and Cyrus SASL

2004-07-04 Thread Eric Crist
Hey all,

The email from Mr. Gerhardt prompted me to take a look at auth.log, and
I noticed a couple things that concerned me.  I just set Cyrus-SASL up,
and I see these entries in my auth.log file:

Jun 28 18:31:48 grog saslauthd[187]: START: saslauthd 1.5.28
Jun 28 18:31:48 grog saslauthd[194]: daemon started, listening on
/var/state/saslauthd1/mux
Jun 29 21:59:05 grog saslauthd[194]: Caught signal 15. Cleaning up and
terminating.
Jun 29 22:00:30 grog saslpasswd: failed to set plaintext secret for
cyrus: generic failure
Jun 29 22:00:30 grog saslpasswd: failed to set APOP secret for cyrus:
generic failure
Jun 29 22:00:30 grog saslpasswd: PLAIN: failed to set secret for cyrus:
generic failure
Jun 29 22:00:30 grog saslpasswd: DIGEST-MD5: set secret for cyrus
Jun 29 22:00:30 grog saslpasswd: CRAM-MD5: set secret for cyrus
Jun 29 22:00:30 grog saslpasswd: failed to disable account for cyrus:
user not found
Jun 29 22:00:30 grog saslpasswd: failed to disable APOP account for
cyrus: user not found
Jun 29 22:00:30 grog saslpasswd: PLAIN: failed to set secret for cyrus:
user not found
Jun 29 22:00:30 grog saslpasswd: DIGEST-MD5: set secret for cyrus
Jun 29 22:00:30 grog saslpasswd: CRAM-MD5: set secret for cyrus
Jun 29 22:05:14 grog saslauthd[14304]: START: saslauthd 1.5.28
Jun 29 22:05:14 grog saslauthd[14309]: daemon started, listening on
/var/state/saslauthd1/mux

Any idea what these mean, and how I can go about fixing them?

Thanks.

Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


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


Auth.log

2004-07-04 Thread Scott Gerhardt
I'm running FreeBSD 4.7 and I noticed that /var/log/auth.log does not 
include year () in the log entries.  My daily cron jobs recently 
sent notice that there were some failed login attempts on July 3 to an 
account that was removed many months ago.  This raised concern, so I 
did a thorough check and determined that the failed login attempt 
occurred July 03 of 2003, _not_ 2004.

Shouldn't auth.log include the full -MM-DD date to avoid confusion 
in case auth.log doesn't rotate between years?  This should apply to 
all logs, especially security related logs...


Thanks,
--
Scott A. Gerhardt, P.Geo.
Gerhardt Information Technologies
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Postnuke install probs - any advice appreciated.

2004-07-04 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham Bentley
Sent: Sunday, July 04, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: Postnuke install probs - any advice appreciated.

Hello All,

I have 5.2.1 freshly installed and updated / built.

I have installed Postnuke (Rogue) using the ports system.
I have a running Apache which displays a PHP test page fine.
I have a running MySQL server in which I have created a root 
password for both localhost and the host/domain.

I have created a database called rogue and a user called rogue 
and a password for rogue.

I have imported the Rogue.sql schema e.g. 
3bsd# mysql -u rogue -p rogue < /usr/local/www/data-dist/postnuke
/sql/rogue.sql

When I come to run webconfig install.php I only get so far and then 
get a blank page. I enter language, the database name and user and 
password. I click proceed and what comes up next is a mostly blank 
page with red text the words "No database made"

If I tick the option to create the database I get a completely blank page.
I have also noticed that if I leave all these fields balnk I get exactly the

same results.

Here is a sample from my httpd-error log :-

[error] PHP Warning: main(pnadodb/adodb.inc.php): failed to open stream: 
Permission denied in /usr/local/www/data-dist/postnuke/html/install.php 
on line 48

[error] PHP Fatal error: main(): Failed opening required
'pnadodb/adodb.inc.php' (include_path='.:/usr/local/share/pear') in
/usr/local/www/data-dist/postnuke/
html/install.php on line 48

--- snip from install.php ---

48  require_once ("pnadodb/adodb.inc.php");

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/
www/data-dist/postnuke/html/install/newinstall.php on line 36

--- snip from newinstall.php  

30   *** This function creates the DB on new installs ***
31function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix,
$dbtype, 
$dbmake)
32   {
33global $dbconn;
34echo "";
35if ($dbmake) {
36mysql_pconnect($dbhost, $dbuname, $dbpass);

--- snip ---

[notice] Apache/1.3.31 (Unix) PHP/4.3.7 configured -- resuming normal
operations
[notice] Accept mutex: flock (Default: flock)
[error] PHP Fatal error: Call to undefined function: mysql_connect() in
/usr/local/www/
data-dist/postnuke/html/pnadodb/drivers/adodb-mysql.inc.php on line 108

--- snip from adodb-mysql.inc.php ---

108 $this->_connectionID = mysql_connect($argHostname,$argUsername,
$argPassword);

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/www/
data-dist/postnuke/html/install/newinstall.php on line 36

Wondering if calls to the database server are being denied or the DB server
is just 
unavailable for some reason.

Any help really appreciated.

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






Hello,

On the phpinfo(); test page do you see the MySQL Support enabled ??

"PHP Fatal error: Call to undefined function: mysql_connect()"



Andras Kende
http://kende.com


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


Re: Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread platanthera
On Sunday 04 July 2004 14:53, Stacey Roberts wrote:
> Hello Louis,
>   Thanks for the response.
>
> - Original Message -
> From: "Louis LeBlanc <[EMAIL PROTECTED]>"
> To: To [EMAIL PROTECTED]
> Date: Sun, 04 Jul, 2004 13:40 BST
> Subject: Re: Updating newly installed FreeBSD-5.2.1
>
> > On 07/04/04 01:26 PM, Stacey Roberts sat at the `puter and typed:
> > > Hello,
> > >  Forgive the simple question here, please.
> > >
> > > I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I
> > > wanted to do what I'd usually do with a new installation of
> > > FreeBSD-4.x, which is to update it to the latest "stable" of that
> > > version. Now I know that there is no "Stable" version of 5.x as
> > > yet, but I wondered what it is that the supfiles located at
> > > /usr/share/examples/cvsup should be for what I want to do.
> > >
> > > The standard-supfile that is currently on my 5.2.1 install has :
> > >
> > > *default release=cvs tag=.
> > >
> > > Isn't that going to get me CURRENT?
> > >
> > > I had a look for what I would have thought should be branch
> > > information for RELENG_5_2_1, but couldn't actually find
> > > anything. What should I use?
> >
> > I believe the tag you're looking for is RELENG_5_2, but you might
> > want to check here first:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.
> >html
>
> Thanks for that link.., I missed that.
>
> So should I change the *standard-supfile* to read:
> *default release=cvs tag=RELENG_5_2
>
> Or, should I make the amendments to *stable-supfile*? Or does it not
> matter in this case?

it doesn't matter. however, it might not be the best idea to edit/use 
one of the sample supfiles in /usr/share/examples/cvsup/ directly, 
since these files get overridden every time you install world. 
just copy one of them to a 'safe' location, apply your changes and (if 
you want to use 'make update' in /usr/src) adjust /etc/make.conf

have fun

> Thanks again for taking the time to respond.
>
> Regards,
>
> Stacey
>
> > HTH
> > Lou
> > --
> > Louis LeBlanc   [EMAIL PROTECTED]
> > Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> > http://www.keyslapper.org 
> >
> > Cheops' Law:
> >   Nothing ever gets built on schedule or within budget.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel build problem 5.2.1

2004-07-04 Thread Gene Bomgardner
Hi All:
  I'm trying to build a 5.2.1 kernel. I've used both the original method as 
well as the newer "make buildkernel...". I keep getting the error during the 
"make depend" phase:

src/i386/usr/include  /usr/src/sys/modules/syscons/logo/logo_saver.c 
/usr/src/sys/modules/syscons/logo/logo.c

The error is:
/usr/src/sys/modules/syscons/logo/logo_saver.c:47:18: logo.c: No such file 
or directory
mkdep: compile failed
*** Error code 1

However, the files exist. I can open them up and look at them.:
# pwd
/usr/src
# ls sys/modules/syscons/logo/logo_saver.c
sys/modules/syscons/logo/logo_saver.c
# ls sys/modules/syscons/logo/logo.c
sys/modules/syscons/logo/logo.c
Anyone have an idea what might be wrong?
thanx...
Gene
_
Get tips for maintaining your PC, notebook accessories and reviews in 
Technology 101. http://special.msn.com/tech/technology101.armx

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


Re: constant tun interface

2004-07-04 Thread Jeff Penn
Lev Klimin <[EMAIL PROTECTED]>:
> I have little trouble. I have 4.10-release with ppp ant ipnat. On
> startup ipnat reload it's rules with interface tun0 in statments which
> is ppp's device. But before running ppp, there is no tun device in
> system

pppctl(8) includes some examples of how to achieve this.  You will also
need to configure rc.conf(5) to run the ppp daemon at start up.

The solution is straightforward, I answered a similar question with more
details on the newsgroup comp.unix.bsd.freebsd.misc.

> Because of lack of tun interface, further ipnat rules don't work. I
> can reload ipnat then ppp starting, and it's OK. Can I build my
> kernel to make tun interface on startup sach as ppp interface? I build
> my kernel with option
> pseudo-device   tun1 #Tunnel driver (ppp(8),
nos-tun(8))
> but after reboot I don't see tun interface in ifconfig output.

Building tun0 into the kernel will have no effect.  I prefer to use the
module that is automatically loaded.

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


Re: postfix postmap, when to use

2004-07-04 Thread Jeff Penn
dave <[EMAIL PROTECTED]>:
> I've got a confusion issue, regarding postfix's postmap and when to use
> it. I've read some documentation that suggests you don't need to run it when
> making regexp or pcre map types such as in header_checks, yet the
> header_checks file supplied with postfix 2.1 suggests to run it. In addition
> hash and other types i'm similar confused. Has this changed from 2.0 to 2.1?

I believe you are correct, certainly pcre & possibly regexp do not
require postmap to be run.  Postfix has the tools to help you work this
out for yourself:

 believe you are correct, certainly pcre & possibly regexp do not
require postmap to be run.  Postfix has the tools to help you work this
out for yourself:

# cat /usr/local/etc/postfix/maps/helo_access.pcre
/^[0-9]+(\.[0-9]+){3}$/ REJECT Invalid hostname
# postmap -q 10.0.0.1 pcre:/usr/local/etc/postfix/maps/helo_access.pcre
REJECT Invalid hostname

# cat /usr/local/etc/postfix/maps/user_access
jeffOK
# postmap -q jeff hash:/usr/local/etc/postfix/maps/user_access
postmap: fatal: open database /usr/local/etc/postfix/maps/user_access.db
: No such file or directory
# postmap hash:/usr/local/etc/postfix/maps/user_access
# postmap -q jeff hash:/usr/local/etc/postfix/maps/user_access
OK

Use postconf -m to find out what databases your system supports.

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


Floppy drive with other memory device slots

2004-07-04 Thread Tom Parquette
I was wandering through Comp-USA this morning and I noticed a floppy 
drive on the shelf that had sockets for other memory devices.  e.g. 
secure digital cards.  I found it on their web site at: 
http://www.compusa.com/products/product_info.asp?product_code=311195&pfp=BROWSE

It appears to be made by a company called FMI.  I could not seem to find 
an operatble link to the vendor or guess correctly at a URL.  Google 
seems to bring me back to Comp-USA's web site.  I found some hardware 
requirements that make me think this plugs into the FDD cable and there 
may be a jumper that goes to a set of USB pins on the motherboard.

The FBSD 5.2.1 hardware notes page didn't seem to say anything about a 
device like this.  However, if my reading betwen the lines of the 
hardware requirements is accurate, it sounds like it could just drop 
right in and work with generic drivers.

I'm thinking about building a multiheaded X desktop in a small case to 
save desktop space.  This drive, since I would have to pick up a floppy 
drive anyway, appears to be a versitile option for a SFF machine.

Anybody have any information/experience with something like this?
TIA...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Fwd: /etc/hosts and /etc/host.conf confusion]

2004-07-04 Thread David Fuchs
Kevin Stevens wrote:
Try ping; even if the host isn't available you can see if it resolves.  
"host" does it's own thing, which is sometimes non-obvious (to me at 
least).  Look at the sections in man host about the variables it expects 
to be configured.

	Excellent, ping does resolve a new entry in /etc/hosts properly.  So as 
you said, `host' is doing it's own thing.  The manpage for host gives me 
some leads which I'll follow through on.

The latter.  For example, many workstations aren't configured to run 
named at all; they'll still reference their local hosts file.

	Perfect!  It's good to know this, as the manpage doesn't specifically 
state that the system checks for a running named process - at least I 
didn't see that anywhere.

Thanks for your help Kevin!
--
Thanks,
-David Fuchs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSUP Mirror

2004-07-04 Thread Tom Parquette
Lonnie Santella wrote:
This all checks out correctly. I'm basically using almost entirely 
defaults here. My supfile on my mirror server looks identical to yours.

This is driving me crazy.
The one thing I wonder is, how does my cvsup mirror server know how to 
"share" it's full ports tree?  None of the config files I see mention 
anything about "ports". During the initial "make" of the cvsup-mirror, I 
chose NOT to mirror the src, www, gnats - and nothing was mentioned 
about "ports". I'm confused.

Why is it, if this was built from ports, and I ran the full "make" and 
"make install" with no errors, that this thing won't work? I thought 
that was why we install from ports...

Did you have to configure something else specifically to allow your 
ports collection to be shared via the cvsupd daemon?


OK,
I'm trying to recreate what you have as I'm typing this reply.
This is the results of make in /usr/ports/net/cvsup-mirror:
Stargate# make
===>  Configuring for cvsup-mirror-1.3_2
I am going to ask you a few questions so that I can set up your
FreeBSD mirror configuration.  Every question has a [default]
answer.  To accept the default, just press ENTER.
At this point, I am just gathering information.  I will not touch
your system until you type "make install".
Master site for your updates [cvsup-master.freebsd.org]? 192.168.0.20
How many hours between updates of your files [1]?
Now you must decide which sets of files you wish to make available
from your mirror site.  You can choose any combination, and you
can put each set anywhere you want to on your disks.  Although each
set is optional, we strongly encourage every mirror site to carry
at least the main source repository.
Do you wish to mirror the main source repository [y]? n
Do you wish to mirror the installed World Wide Web data [y]? n
Do you wish to mirror the GNATS bug tracking database [y]? n
Do you wish to mirror the mailing list archive [y]? n
Now, a few questions so that I can set up your CVSup server properly.
For security reasons, both the CVSup client and server should run
under their own unique user and group IDs.  These IDs should have no
special access privileges.  Normally, the user:group "cvsupin:cvsupin"
is used for the client and "cvsup:cvsup" is used for the server, but
you can choose other names if you wish.  At "make install" time, I
will create the users and groups, if they don't already exist.
Use unique user and group IDs for these.  Do not use "nobody",
"nonroot", or "nogroup".
Unique unprivileged user ID for running the client [cvsupin]?
Unique unprivileged group ID for running the client [cvsupin]?
Unique unprivileged user ID for running the server [cvsup]?
Unique unprivileged group ID for running the server [cvsup]?
The CVSup server does its logging via syslog.  At "make install"
time, I will set up the logging for you, if necessary.  I will use
the "!program" feature of syslog to keep your CVSup log messages
separate from the messages of your other daemons.
Syslog facility for the server log [daemon]?
You can control the load on your machine by limiting the number of
clients that the CVSup server will serve at once.  CVSup won't load
your network especially heavily, but it is more CPU and disk
intensive than most other file server software.
Maximum simultaneous client connections [8]?
Building the "config.sh" file ... Done.
Building the "cvsupd.access" file ... Done.
Stargate#
I doubt this is a problem but we are being thurogo:
Stargate# more /usr/ports/net/cvsup-mirror/work/cvsupd.access
-0.0.0.0/0  8   # Limit total connections
-0.0.0.0/0/32   1   # Allow only 1 connection from each host
+0.0.0.0/0  # If we reach this rule, we let the client in
Stargate#
I'm a little more suspicious of the distribs= value here (because I do 
not completely understand how it works):
Stargate# more /usr/ports/net/cvsup-mirror/work/config.sh
user="cvsup"
group="cvsup"
cuser="cvsupin"
cgroup="cvsupin"
host="192.168.0.20"
interval="1"
maxclients="8"
facility="daemon"
distribs="distrib.self .. . FreeBSD.cvs SKIP . FreeBSD-www.current SKIP 
. FreeBSD-gnats.current SKIP gnats FreeBSD-mail.current SKIP ."
Stargate#

Here's my make install:
Stargate# make install
===>  Installing for cvsup-mirror-1.3_2
===>   cvsup-mirror-1.3_2 depends on file: /usr/local/sbin/cvsupd - found
===>   Generating temporary packing list
===>  Checking if net/cvsup-mirror already installed
Installing files
You need a group "cvsup".
Would you like me to create it [y]? y
Done.
You need a user "cvsup".
Would you like me to create it [y]? y
Done.
You need a group "cvsupin".
Would you like me to create it [y]? y
Done.
You need a user "cvsupin".
Would you like me to create it [y]? y
Done.
Fixing ownerships and modes in "/usr/local/etc/cvsup".
Setting up links and directories for distributions.
  Linking distrib.self -> ..
  Linking FreeBSD.cvs -> SKIP
  Linking FreeBSD-www.current -> SKIP
  Linking FreeBSD-gnats.current -> SKIP
  Linking FreeBSD-mail.curre

LVM ? (not vinum!)

2004-07-04 Thread Stephan van Beerschoten
Is there an implementation of an LVM in FreeBSD ?
Vinum is not sufficient. I am looking for a true LVM where creating and 
resizing volumes is a must. Something like Solaris Disksuite with 
softpartitioning is something I could live with already, but it just 
does not seem to exist.

Am I correct? I'd hate to have to consider Linux as the OS for this new 
platform because of the one flaw in FreeBSD I can't live with :(

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


Postnuke install probs - any advice appreciated.

2004-07-04 Thread Graham Bentley
Hello All,

I have 5.2.1 freshly installed and updated / built.

I have installed Postnuke (Rogue) using the ports system.
I have a running Apache which displays a PHP test page fine.
I have a running MySQL server in which I have created a root 
password for both localhost and the host/domain.

I have created a database called rogue and a user called rogue 
and a password for rogue.

I have imported the Rogue.sql schema e.g. 
3bsd# mysql -u rogue -p rogue < /usr/local/www/data-dist/postnuke
/sql/rogue.sql

When I come to run webconfig install.php I only get so far and then 
get a blank page. I enter language, the database name and user and 
password. I click proceed and what comes up next is a mostly blank 
page with red text the words "No database made"

If I tick the option to create the database I get a completely blank page.
I have also noticed that if I leave all these fields balnk I get exactly the 
same results.

Here is a sample from my httpd-error log :-

[error] PHP Warning: main(pnadodb/adodb.inc.php): failed to open stream: 
Permission denied in /usr/local/www/data-dist/postnuke/html/install.php 
on line 48

[error] PHP Fatal error: main(): Failed opening required
'pnadodb/adodb.inc.php' (include_path='.:/usr/local/share/pear') in
/usr/local/www/data-dist/postnuke/
html/install.php on line 48

--- snip from install.php ---

48  require_once ("pnadodb/adodb.inc.php");

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/
www/data-dist/postnuke/html/install/newinstall.php on line 36

--- snip from newinstall.php  

30   *** This function creates the DB on new installs ***
31function make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix, $dbtype, 
$dbmake)
32   {
33global $dbconn;
34echo "";
35if ($dbmake) {
36mysql_pconnect($dbhost, $dbuname, $dbpass);

--- snip ---

[notice] Apache/1.3.31 (Unix) PHP/4.3.7 configured -- resuming normal
operations
[notice] Accept mutex: flock (Default: flock)
[error] PHP Fatal error: Call to undefined function: mysql_connect() in
/usr/local/www/
data-dist/postnuke/html/pnadodb/drivers/adodb-mysql.inc.php on line 108

--- snip from adodb-mysql.inc.php ---

108 $this->_connectionID = mysql_connect($argHostname,$argUsername,
$argPassword);

--- snip ---

[error] PHP Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/www/
data-dist/postnuke/html/install/newinstall.php on line 36

Wondering if calls to the database server are being denied or the DB server
is just 
unavailable for some reason.

Any help really appreciated.

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


Re: Cant bring up network interface

2004-07-04 Thread Nikhil Kale
Hello,
  I dont think the problem is related to releasing the DHCP lease because I have 
Windows XP, SuSE linux and now FreeBSD installed on the computer. I havent had any 
problem with Windows/Linux.
  Here's what I get in dmesg for my network interface:
---

sis0:  port 0x8c00-0x8cff mem 0xd0008000-0xd0008fff 
irq 11 at device 18.0 on pci0

sis0: Silicon Revision: DP83816A

sis0: Ethernet address: 00:0d:9d:43:e5:b7

miibus0:  on sis0

sis0: watchdog timeout

---

  As soon as this is logged while booting the Ethernet LED on my broadband modem goes 
OFF. I tried loading module if_sis0.ko and apm.ko, and the Ethernet LED lights up, but 
when I loaded these modules at startup (/boot/loader.conf) the LED still goes off.
 
When I run dhclient -v I get the following output:
---

Internet Software Consortium DHCP Client V3.0.1rc12

Copyright 1995-2002 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/sis0/00:0d:9d:43:e5:b7

Sending on BPF/sis0/00:0d:9d:43:e5:b7

Listening on BPF/fwe0/02:0d:9d:43:60:7e

Sending on BPF/fwe0/02:0d:9d:43:60:7e

Listening on BPF/wi0/00:02:8a:a9:e1:7a

Sending on BPF/wi0/00:02:8a:a9:e1:7a

Sending on Socket/fallback

---

Ifconfig sis0 gives me



sis0: flags=8843 mtu 1500

inet6 fe80::20d:9dff:fe43:e5b7%sis0 prefixlen 64 scopeid 0x3 

inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255

ether 00:0d:9d:43:e5:b7

media: Ethernet autoselect (100baseTX )

status: active



I may be completely wrong, but I think some wrong module is getting loaded, which is 
causing this problem. Can you point out how I can debug more, and get this solved???

 

Thanks in advance,

--Nikhil.


 

John Murphy <[EMAIL PROTECTED]> wrote: 

Nikhil Kale wrote: 

>Hello, 
> I have just installed FreeBSD 5.2 on my system. My 
>network card is National Semiconductors DP 83815 which 
>is detected properly for interface sis0. But somehow I 
>cant bring the interface up using DHCP. My machine is 
>a dual boot, and the linux system gets the proper DHCP 
>address. 

man 8 dhclient says: 
The client normally doesn't release the current lease as it is not 
required by the DHCP protocol. Some cable ISPs require their clients 
to notify the server if they wish to release an assigned IP address. 
The -r flag explicitly releases the current lease, and once the lease 
has been released, the client exits. 

So you may need to do whatever is your Linux version of dhclient -r 

The DHCP server has already assigned a lease to Linux which FreeBSD 
knows nothing about. 


> I am new to FreeBSD and am not sure whats happening. 

Welcome. 
You should send technical questions to [EMAIL PROTECTED] 
Where I have CC'd this reply. 

-- 
John. 


  




-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: makeworld problems

2004-07-04 Thread Kent Stewart
On Sunday 04 July 2004 09:13 am, stan wrote:
> I'm cvsuping and updateing several machines this weekend.
>
> One of them is failing in maje buildworld as follows:
>
> /usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h
>:633: previous declaration of `fr_makefrip'
> *** Error code 1
>
> I've re cvsup'd, and removed the whole /usr/obj tree, but it's failed
> 3 times now.
>
> Anyone have a clue?

Darrenr@ just commited a fix to ip_fil.h. Give it 10 minutes or so for 
your mirror to finish updating and recvsup.

Kent
-- 
Kent Stewart
Richland, WA

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


Tablet-PC

2004-07-04 Thread Alexander Salokat
Hi!
Does BSD support Tablet-PCs?
With kind regards,
Alexander Salokat
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how debug crash in -current?

2004-07-04 Thread Per olof Ljungmark
Hi all,
I have a problem booting a IBM T41 with the CDRW (see a previous post). 
Now, how can I submit a proper report when it is impossible to write to 
disc? What sort of info is really meaningful to the developers?

Also, I did search the PR database but saw nothing on this but maybe I 
just missed it?

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


makeworld problems

2004-07-04 Thread stan
I'm cvsuping and updateing several machines this weekend.

One of them is failing in maje buildworld as follows:

/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet/ip_fil.h:633:
previous declaration of `fr_makefrip'
*** Error code 1

I've re cvsup'd, and removed the whole /usr/obj tree, but it's failed 3
times now.

Anyone have a clue?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NATD Port Forwarding question

2004-07-04 Thread andrew clarke
On Sun, Jul 04, 2004 at 06:57:16PM +1000, Jon Kurjakovich wrote:

> My problem: I am trying to use NATD to forward packets to machines on
> the internal network using the redirect_port command.

I don't have a solution to your problem with natd, however net/rinetd
(from ports) might be a good enough workaround if all else fails.

Port:   rinetd-0.62
Path:   /usr/ports/net/rinetd
Info:   A simple TCP port redirector
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cant bring up network interface

2004-07-04 Thread John Murphy
Nikhil Kale <[EMAIL PROTECTED]> wrote:

>Hello,
>  I have just installed FreeBSD 5.2 on my system. My
>network card is National Semiconductors DP 83815 which
>is detected properly for interface sis0. But somehow I
>cant bring the interface up using DHCP. My machine is
>a dual boot, and the linux system gets the proper DHCP
>address.

man 8 dhclient says:
The  client  normally  doesn't  release the current lease as it is not
required by the DHCP protocol.  Some cable ISPs require their  clients
to  notify  the server if they wish to release an assigned IP address.
The -r flag explicitly releases the current lease, and once the lease
has been released, the client exits.

So you may need to do whatever is your Linux version of dhclient -r

The DHCP server has already assigned a lease to Linux which FreeBSD
knows nothing about.


>  I am new to FreeBSD and am not sure whats happening.

Welcome.
You should send technical questions to [EMAIL PROTECTED]
Where I have CC'd this reply.

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


Re: postfix postmap, when to use

2004-07-04 Thread Lowell Gilbert
"dave" <[EMAIL PROTECTED]> writes:

> I've got a confusion issue, regarding postfix's postmap and when to use
> it. I've read some documentation that suggests you don't need to run it when
> making regexp or pcre map types such as in header_checks, yet the
> header_checks file supplied with postfix 2.1 suggests to run it. In addition
> hash and other types i'm similar confused. Has this changed from 2.0 to 2.1?

I don't actually understand the question, but I'll take a try at
answering anyway.

The postmap command is what creates the databases from the source
files that you create for the maps.  Regular expressions are normally
used in the source files as a syntax for the entries.

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


Re: slow serial console 5.2.1

2004-07-04 Thread J.D. Bronson
At 09:20 AM 7/4/2004, Skylar Thompson wrote:
On Sun, Jul 04, 2004 at 08:59:57AM -0500, J.D. Bronson wrote:
> This is really odd. I setup a 5.2.1 machine and used the serial port for
> console. I see it booting up just fine until it gets to the part where it
> checks the hard drive for fragmentationthen it SLOWS to a crawl
>
> it get's past the hard drive and then each part of the boot is word by 
word
> as if someone is typing it
>
> Once the machine is up, the network side of it FLIES and all is well...but
> the serial console cannot be used at all...nothing happens. Like it's
> jammed or stuck for example.
>
> This is on a compaq deskpro EN SFF with dual COM ports and I built a 
kernel
> that detects as much as I can on this machine.
>
> I have other FreeBSD machines that do not exhibit this and was 
wondering if
> anyone else came across this before and what they did?

Do the serial settings change at all on the port?
--
Not that I am aware of...9600N81 ...thats all I ever use. Its something 
specific to this machine, as if I take the hard drive and toss it into an 
IBM machine (just for a test) it boots right up.



--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: slow serial console 5.2.1

2004-07-04 Thread Skylar Thompson
On Sun, Jul 04, 2004 at 08:59:57AM -0500, J.D. Bronson wrote:
> This is really odd. I setup a 5.2.1 machine and used the serial port for 
> console. I see it booting up just fine until it gets to the part where it 
> checks the hard drive for fragmentationthen it SLOWS to a crawl
> 
> it get's past the hard drive and then each part of the boot is word by word 
> as if someone is typing it
> 
> Once the machine is up, the network side of it FLIES and all is well...but 
> the serial console cannot be used at all...nothing happens. Like it's 
> jammed or stuck for example.
> 
> This is on a compaq deskpro EN SFF with dual COM ports and I built a kernel 
> that detects as much as I can on this machine.
> 
> I have other FreeBSD machines that do not exhibit this and was wondering if 
> anyone else came across this before and what they did?

Do the serial settings change at all on the port?

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpwyZQ6d4Anr.pgp
Description: PGP signature


slow serial console 5.2.1

2004-07-04 Thread J.D. Bronson
This is really odd. I setup a 5.2.1 machine and used the serial port for 
console. I see it booting up just fine until it gets to the part where it 
checks the hard drive for fragmentationthen it SLOWS to a crawl

it get's past the hard drive and then each part of the boot is word by word 
as if someone is typing it

Once the machine is up, the network side of it FLIES and all is well...but 
the serial console cannot be used at all...nothing happens. Like it's 
jammed or stuck for example.

This is on a compaq deskpro EN SFF with dual COM ports and I built a kernel 
that detects as much as I can on this machine.

I have other FreeBSD machines that do not exhibit this and was wondering if 
anyone else came across this before and what they did?

Thanks.

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Install errors on old HP machine

2004-07-04 Thread David Fleck
On Sat, 3 Jul 2004, Danny MacMillan wrote:
> If you have another laptop, you can:
>
> 1. Put the hard drive in the other laptop.
> 2. Install a boot manager on it that will allow you to boot from CD.
> 3. Put the hard drive back in the HP.
> 4. Boot the HP from the FreeBSD and proceed as normally.
>
> That's what I did.  Here's the boot manager I used:
>
> http://btmgr.sourceforge.net/
>
> You can install the standard boot manager during FreeBSD installation if
> you want, or choose "None" to keep the fancy one.


Thanks for the information.  This machine is a low priority, but I'll try
your idea soon.


--
David Fleck
[EMAIL PROTECTED]

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


Re: allowing users to mount cdrom

2004-07-04 Thread jobse
hey!


On Sat, 2004-07-03 at 23:55, Mikko Työläjärvi wrote:
> On Sat, 3 Jul 2004, jobse wrote:
> 
> > Dear List,
> > When trying to mount the cdrom I get Operation not permitted.
> > sysctl: vfs.usermount=0(what does that mean and how can I *permanently*
> > change it to 1)
> > I'd rather not set the sticky bit on mount/umount if I mustn't.
> >
> > suggestions?
> > /jobse
> 
> vfs.usermount allows non-root users to perform a mount, provided that
> they have sufficient access to both device being mounted and the
> mountpoint.  Users won't be permitted to do other privileged
> operations, such as loading kernel modules, so in some cases the mount
> may still fail.
k!
> 
> To set vfs.usermount=1 on every boot, add it to /etc/sysctl.conf (see
> sysctl.conf(8)).
Did that.
> 
> One way to give access to assorted files and devices to the user
> currently logged in on the local console is to use /etc/fbtab (see
> fbtab(5)), thus:
> 
>/dev/ttyv0  0600/dev/acd0
>/dev/ttyv0  0755/cdrom

That was the trick!
thanx
> ... I dunno, I'm not using a GUI login thingy).
Me neither.

>$.02,
>/Mikko
> 

jobse

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


Re: Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread Stacey Roberts
Hi,
  Thanks for the response.

- Original Message -
From: "platanthera <[EMAIL PROTECTED]>"
To: To [EMAIL PROTECTED]
Date: Sun, 04 Jul, 2004 13:47 BST
Subject: Re: Updating newly installed FreeBSD-5.2.1

> On Sunday 04 July 2004 14:26, Stacey Roberts wrote:
> > Hello,
> >  Forgive the simple question here, please.
> >
> > I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I wanted
> > to do what I'd usually do with a new installation of FreeBSD-4.x,
> > which is to update it to the latest "stable" of that version. Now I
> > know that there is no "Stable" version of 5.x as yet, but I wondered
> > what it is that the supfiles located at /usr/share/examples/cvsup
> > should be for what I want to do.
> >
> > The standard-supfile that is currently on my 5.2.1 install has :
> >
> > *default release=cvs tag=.
> >
> > Isn't that going to get me CURRENT?
> >
> > I had a look for what I would have thought should be branch
> > information for RELENG_5_2_1, but couldn't actually find anything.
> > What should I use?
> 
> just use
> *default release=cvs tag=RELENG_5_2

Cheers for that.., You might have seen my reply to a previous responder who suggested 
the same as you. I just had a subsequent question on confirming that I should indeed 
be using the "standard-supfile" as I planned. Could I ask you to verify that this 
supfile is the one to use (as against stable-supfile, that is) in this case, please?

Thanks again.

Regards,

Stacey

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


Re: IPFIREWALL_VERBOSE_LIMIT ignored by recent kernel/world?

2004-07-04 Thread Rob
JJB wrote:
Adding an "logamount" option to each logging rules would be to "long
way work around".
Adding net.inet.ip.fw.verbose_limit=100 to /etc/sysctl.conf would be
the short way.
You're right with IPFW, but you missed Dan Pelleg's note that this seems
not to work with IPFW2; for some reason IPFW2 ignores the verbose_limit
setting in the kernel and defaults to "net.inet.ip.fw.verbose_limit=0"
when logamount is not there; so unlimited logging.
Adding logamount explicitly with each log rule, will work around this
bug for the moment.
NOTE: it only seems to affect IPFW2.
Rob.
Dan Pelleg wrote:
I have a patch for that in kern/46080. Note I haven't tested it in
a while
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/46080

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


Re: Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread Stacey Roberts
Hello Louis,
  Thanks for the response.

- Original Message -
From: "Louis LeBlanc <[EMAIL PROTECTED]>"
To: To [EMAIL PROTECTED]
Date: Sun, 04 Jul, 2004 13:40 BST
Subject: Re: Updating newly installed FreeBSD-5.2.1

> On 07/04/04 01:26 PM, Stacey Roberts sat at the `puter and typed:
> > Hello,
> >  Forgive the simple question here, please.
> > 
> > I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I wanted to do what 
> > I'd usually do with a new installation of FreeBSD-4.x, which is to update it to 
> > the latest "stable" of that version. Now I know that there is no "Stable" version 
> > of 5.x as yet, but I wondered what it is that the supfiles located at 
> > /usr/share/examples/cvsup should be for what I want to do.
> > 
> > The standard-supfile that is currently on my 5.2.1 install has :
> > 
> > *default release=cvs tag=.
> > 
> > Isn't that going to get me CURRENT?
> > 
> > I had a look for what I would have thought should be branch information for 
> > RELENG_5_2_1, but couldn't actually find anything. What should I use?
> 
> I believe the tag you're looking for is RELENG_5_2, but you might want
> to check here first:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

Thanks for that link.., I missed that.

So should I change the *standard-supfile* to read:
*default release=cvs tag=RELENG_5_2

Or, should I make the amendments to *stable-supfile*? Or does it not matter in this 
case?

Thanks again for taking the time to respond.

Regards,

Stacey

> 
> HTH
> Lou
> -- 
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org 
> 
> Cheops' Law:
>   Nothing ever gets built on schedule or within budget.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NFS and Backups

2004-07-04 Thread Grant Peel
Hmm, Perhaps a complete layout and network explanations is in order here

- I have a total of 5 servers, all running freebsd.
- All servers have two NICS, 1 LAN and 1 WAN, all are hardwired to my
switch. (No wireless involved.
- The switch IS configured to allow WAN access to WAN ports only, and LAN
access to LAN ports only.
- WAN is using serveral hundered IPS on serveral subnets. LAN is using a
single ssubnet of 254 (using the 192.168 scema).
-The servers are locked in a very secure cage, accesssable by me, my partner
(who never goes there), and a bonded network technician.
- Peerl 1 is the Colo provider (In the Toronto NOC).
- Two of my servers are our primary and secondary nameservers. The other
three use those nameservers excelusively.
- The hosts files include two names for each server, the fully qualified
domain i.e. "machine1.mydomain.com" and the LAN name which is just the local
machine name i.e. "machine1"
- The exports files use the local machine name only i.e.
"/backups -alldirs -maproot=0machine1 machine2 ..."
-Just to be clear, each machine is plugged directly into the main switch
shown below, no hubs or anything in between.
Here is the layout:

POP
|
|
|
Perr1 Router--- 
   |
__My Switch (Dell 3324)__
||||||||||
Lan  WanLan  WanLan  WanLan  WanLan  Wan
Machine1Machine2Machine3Machine4Machine5



- Original Message - 
From: "cpghost" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 03, 2004 9:12 PM
Subject: Re: NFS and Backups


> > > > I have recently decided to use some extra disk space on one of my
> > servers as
> > > > backup space. I have NFS client and Servers running OK, but was
> > wondering how
> > > > secure it really is.
> > >
> > > NFS is not secure at all.  If you don't trust the local subnet, don't
use
> > NFS
> > > there.  Certainly don't use NFS across the Internet, unless using a
secure
> > > tunnelling/VPN protocol
> >
> > So, If I set the exports so that it used 192.168.x.x, and, my managed
switch
> > is only set to alow members of my vlan to use those IPs, I should be OK
in
> > that case?
>
> Careful here! If you have a WLAN access point hooked to your switch,
> you're still vulnerable to war driving. Even if you don't use wireless
> LAN, you still have to be sure that the client can't be replaced
> with a rogue machine without you immediately knowing it (it happens
> in real life more frequently than you think, esp. in big offices
> with lots of computers). If you could avoid NFS for backups, then
> by all means, you should try. As said, building reliable backup/restore
> as well as ad hoc file swapping schemes on top of scp and ssh is a tried
> and quite secure method.
>
> -- 
> Cordula's Web. http://www.cordula.ws/
>
>


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


Re: Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread platanthera
On Sunday 04 July 2004 14:26, Stacey Roberts wrote:
> Hello,
>  Forgive the simple question here, please.
>
> I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I wanted
> to do what I'd usually do with a new installation of FreeBSD-4.x,
> which is to update it to the latest "stable" of that version. Now I
> know that there is no "Stable" version of 5.x as yet, but I wondered
> what it is that the supfiles located at /usr/share/examples/cvsup
> should be for what I want to do.
>
> The standard-supfile that is currently on my 5.2.1 install has :
>
> *default release=cvs tag=.
>
> Isn't that going to get me CURRENT?
>
> I had a look for what I would have thought should be branch
> information for RELENG_5_2_1, but couldn't actually find anything.
> What should I use?

just use
*default release=cvs tag=RELENG_5_2

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


Re: Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread Louis LeBlanc
On 07/04/04 01:26 PM, Stacey Roberts sat at the `puter and typed:
> Hello,
>  Forgive the simple question here, please.
> 
> I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I wanted to do what I'd 
> usually do with a new installation of FreeBSD-4.x, which is to update it to the 
> latest "stable" of that version. Now I know that there is no "Stable" version of 5.x 
> as yet, but I wondered what it is that the supfiles located at 
> /usr/share/examples/cvsup should be for what I want to do.
> 
> The standard-supfile that is currently on my 5.2.1 install has :
> 
> *default release=cvs tag=.
> 
> Isn't that going to get me CURRENT?
> 
> I had a look for what I would have thought should be branch information for 
> RELENG_5_2_1, but couldn't actually find anything. What should I use?

I believe the tag you're looking for is RELENG_5_2, but you might want
to check here first:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Cheops' Law:
  Nothing ever gets built on schedule or within budget.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and DVI LCD monitors

2004-07-04 Thread Louis LeBlanc
On 07/04/04 12:14 AM, 3BSD sat at the `puter and typed:
> I have been trying for several days to get XFree86 going with my LCD
> monitor, but to no luck.
> Hardware:
> GeForce FX 5200
> BenQ FP991 19" LCD monitor with DVI-S and HD-15 connectors.
> 
> I shelled out a little extra for this monitor *specifically* for its
> DVI port, but it just simply won't work with FreeBSD. Slackware Linux
> 10 runs fine on the monitor on the same computer using X.Org server.
> 
>  I read on google search results that DVI monitors need a Refresh rate
> of 60Hz. At first I did not know which one were they talking about,
> which happened to by Vertical Sync, so I set that to 60 and did a
> startx, nothing.
> 
> Monitor displays a "no input signal" messages and the light blinks.
> Then I installed nvidia drivers and tried, it got worse, I could not
> get my console back, while the system had not crashed, the display
> just would not come back, so I had to do a blind reboot.
> 
> I then read somewhere that with some monitors, there is a problem with
> DDC, they lie about their digital sync rates suitable for display on
> the DVI port and report the analog port settings instead. I found out
> that I had to add:
> 
> Option   "NoDDC"   "1" (or "true")
> 
> to XFree86. I added the line, typed startx and was dissapointed yet
> again. Same "no input signal" message on the monitor again.
> 
> I figured that if X.org server worked under Linux, then it should work
> with FreeBSD without problems, but I can't even try that since X.org
> port will refuse to install (already sent an e-mail in that regard to
> this group).
> 
> Can anyone show me a way out of this mess? Should I try an ATi
> graphics card? Is there some configuration blunder that I'm making?

The first thing to do is check /var/log/XFree86.log to see what the
problem really is.  It isn't always crystal clear, but it's usually
very useful.

I have the same card, 128MB DDR NVidia GeForce FX5200.  I just got
XFree86 up and working on a Dell E172FP monitor.  Not sure how similar
the monitor is, but my experience was that the screen section was at
least as important.  Just in case it helps, here's my Card0, Monitor0,
and Screen0 sections from XF86Config:

#**
# Monitor section
#**
Section "Monitor"
DisplaySize  330   240 # mm
Identifier   "Monitor0"
HorizSync31.5 - 79.0
VertRefresh  50.0 - 70.0
ModelName"DELL E172FP"
VendorName   "DELL"
# Option "DPMS"
EndSection

#**
# Graphics device section
#**
Section "Device"
Identifier  "Card0"
Driver  "nv"
# ChipSet "GeForce DDR"
Card"nv GeForce DDR"
VideoRam131072
VendorName  "NVIDIA"
BoardName   "GeForce2 Go"
EndSection

#**
# Screen section
#**
Section "Screen"
Identifier   "Screen0"
Device   "Card0"
Monitor  "Monitor0"
DefaultDepth 24

Subsection "Display"
Depth24
Modes"1280x1024" "1024x768"
ViewPort 0 0
EndSubsection
EndSection


This is working great so far.  I still want to get the monitor sync
rates tweaked out a bit, but the rates in that canned config were
within the specified tolerances for the monitor, so they went in to
start.

Get online and check the sync rates on your monitor.  Then just make
sure you choose a canned config that falls under those maximums.  That
will do to start, then you can (carefully) start to tweak your config
out.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

bug, n:
  An elusive creature living in a program that makes it incorrect.
  The activity of "debugging", or removing bugs from a program, ends
  when people get tired of doing it, not when the bugs are removed.
-- "Datamation", January 15, 1984
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: IPFIREWALL_VERBOSE_LIMIT ignored by recent kernel/world?

2004-07-04 Thread JJB
Adding an "logamount" option to each logging rules would be to "long
way work around".
Adding net.inet.ip.fw.verbose_limit=100 to /etc/sysctl.conf would be
the short way.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rob
Sent: Sunday, July 04, 2004 8:15 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: IPFIREWALL_VERBOSE_LIMIT ignored by recent
kernel/world?

Dan Pelleg wrote:
> I have a patch for that in kern/46080. Note I haven't tested it in
a while
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/46080
>

So what I observed (security logfile get floaded with ipfw2 logs) is
actually
a kind of bug. If so, I'd rather wait till the fix makes it into the
official
sources. If not, then I won't change my own sources.

Work around for now could be to add a "logamount" statement to each
of the
logging rules of ipfw2. Right?

Thanks!

Regards,
Rob.

PS: does this problem also occur in CURRENT, which uses by default
IPFW2 ?


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

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


Updating newly installed FreeBSD-5.2.1

2004-07-04 Thread Stacey Roberts
Hello,
 Forgive the simple question here, please.

I've just installed FreeBSD-5.2.1 from BSDMall's CD-Set, and I wanted to do what I'd 
usually do with a new installation of FreeBSD-4.x, which is to update it to the latest 
"stable" of that version. Now I know that there is no "Stable" version of 5.x as yet, 
but I wondered what it is that the supfiles located at /usr/share/examples/cvsup 
should be for what I want to do.

The standard-supfile that is currently on my 5.2.1 install has :

*default release=cvs tag=.

Isn't that going to get me CURRENT?

I had a look for what I would have thought should be branch information for 
RELENG_5_2_1, but couldn't actually find anything. What should I use?

Regards,

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


Re: IPFIREWALL_VERBOSE_LIMIT ignored by recent kernel/world?

2004-07-04 Thread Rob
Dan Pelleg wrote:
I have a patch for that in kern/46080. Note I haven't tested it in a while
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/46080
So what I observed (security logfile get floaded with ipfw2 logs) is actually
a kind of bug. If so, I'd rather wait till the fix makes it into the official
sources. If not, then I won't change my own sources.
Work around for now could be to add a "logamount" statement to each of the
logging rules of ipfw2. Right?
Thanks!
Regards,
Rob.
PS: does this problem also occur in CURRENT, which uses by default IPFW2 ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: IPFIREWALL_VERBOSE_LIMIT ignored by recent kernel/world?

2004-07-04 Thread JJB
Verbose limit is a sysctl knob now, you can display it to see
current setting or change it without a reboot. Check your
newsyslog.conf file to very the rotate trigger is the same as you
were using before.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rob
Sent: Sunday, July 04, 2004 12:37 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: IPFIREWALL_VERBOSE_LIMIT ignored by recent kernel/world?


Hello,

I have one PC with updated kernel/world from June 25th, and another
from June 10th,
all with sources for STABLE.

Both PCs have a firewall. Neither of the two seems to obey the
verbose limit of 100,
that I put in the kernel configuration file.

In the past, /var/log/secure used to rotate once a week or so, but
now it does in
less than 30 minutes due to the overwhelming amount of firewall
logs.

The kernel configuration has following lines, related to the
firewall:

   options IPDIVERT
   options IPFW2   # version 2 IPFW
   options IPFIREWALL  # firewall
   options IPFIREWALL_VERBOSE  # enable logging to
syslogd(8)
   options IPFIREWALL_VERBOSE_LIMIT=100# limit verbosity
   options IPFIREWALL_DEFAULT_TO_ACCEPT# allow everything by
default

and I have in /etc/make.conf:

   IPFW2=TRUE


Any idea what is going wrong here?

Thanks,
Rob.


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

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


RE: NATD Port Forwarding question

2004-07-04 Thread Jon Kurjakovich
Yes. It is a Windows 2000 Server machine that I can connect to both on
the local network and via an SSH tunnel. It is simply to do with natd's
port forwarding. I also cannot use port forwarding to access any other
services on the 2000 Server box such as telnet or ftp for example.

Any help is greatly appreciated.

Rgds,
Jon

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Micheal
Patterson
Sent: Sunday, 4 July 2004 8:12 PM
To: Jon Kurjakovich; [EMAIL PROTECTED]
Subject: Re: NATD Port Forwarding question


Is the system configured to accept remote desktop requests? Windows XP
has it disabled by default.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.


- Original Message - 
From: "Jon Kurjakovich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 04, 2004 3:57 AM
Subject: NATD Port Forwarding question


> Hi there,
>
> I am currently using FreeBSD 4.8-RELEASE. I do plan on upgrading to 
> 5.2-CURRENT shortly but I know people who are using 5.2-CURRENT and 
> are experiencing the same problem as me. If this email is not 
> appropriate in this mailing list, could you please forward me to the 
> correct one. Thank you.
>
> My problem: I am trying to use NATD to forward packets to machines on 
> the internal network using the redirect_port command. I am 
> specifically trying to connect to a Terminal Server on a Windows 2000 
> machine. It never seems to work for me. I am running natd using the 
> following
> command: natd -f /etc/natd.conf with the following options in my
> natd.conf file.
>
> interface tun0
> same_ports yes
> use_sockets yes
> unregistered_only
> redirect_port tcp 192.168.1.2:3389 3389
>
> When I create an SSH tunnel using putty, that works fine. It is only 
> when I try and use natd w/ port-forwarding that it doesn't work. I 
> configure an extremely open firewall to ensure it is not my firewall 
> causing the problems. The commands I use are:
>
> /sbin/ipfw -f flush
> /sbin/ipfw add 50 divert natd all from any to any via tun0 /sbin/ipfw 
> add pass all from any to any
>
> If anybody could shine any light on this problem for me - it'd be 
> greatly appreciated. I have been trying to resolve the problem 
> on-and-off for months now to no avail. I finally decided I should try 
> the mailing list.
>
> Thanks.
>
> Regards,
> Jon
>
>
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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



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


Re: NATD Port Forwarding question

2004-07-04 Thread Micheal Patterson
Is the system configured to accept remote desktop requests? Windows XP has
it disabled by default.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


- Original Message - 
From: "Jon Kurjakovich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 04, 2004 3:57 AM
Subject: NATD Port Forwarding question


> Hi there,
>
> I am currently using FreeBSD 4.8-RELEASE. I do plan on upgrading to
> 5.2-CURRENT shortly but I know people who are using 5.2-CURRENT and are
> experiencing the same problem as me. If this email is not appropriate in
> this mailing list, could you please forward me to the correct one. Thank
> you.
>
> My problem: I am trying to use NATD to forward packets to machines on
> the internal network using the redirect_port command. I am specifically
> trying to connect to a Terminal Server on a Windows 2000 machine. It
> never seems to work for me. I am running natd using the following
> command: natd -f /etc/natd.conf with the following options in my
> natd.conf file.
>
> interface tun0
> same_ports yes
> use_sockets yes
> unregistered_only
> redirect_port tcp 192.168.1.2:3389 3389
>
> When I create an SSH tunnel using putty, that works fine. It is only
> when I try and use natd w/ port-forwarding that it doesn't work. I
> configure an extremely open firewall to ensure it is not my firewall
> causing the problems. The commands I use are:
>
> /sbin/ipfw -f flush
> /sbin/ipfw add 50 divert natd all from any to any via tun0
> /sbin/ipfw add pass all from any to any
>
> If anybody could shine any light on this problem for me - it'd be
> greatly appreciated. I have been trying to resolve the problem
> on-and-off for months now to no avail. I finally decided I should try
> the mailing list.
>
> Thanks.
>
> Regards,
> Jon
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: X.Org port broken?

2004-07-04 Thread Matthew Seaman
On Sat, Jul 03, 2004 at 11:24:35PM -0700, 3BSD wrote:
 
> Is there a solution to this or is it simply broken and awaits the
> attention of the port maintainer?

Please.  Assume at least a minimal amount of competence on the part of
port maintainers.  Ports, especially of big and important software
systems like the X.Org server and clients, are not allowed to sit
around in an obviously broken and uncompilable state.  There would be
a great deal of traffic all over the freebsd-x11 and freebsd-ports
mailing lists if such breakage did occur.  Even if there was breakage
occuring that could not be fixed immediately, a 'BROKEN=' flag would
be set in the port Makefile, with a message explaining the problem.

No, the immediate conclusion has to be that you are doing something
wrong.  You don't give us any information that will allow us to say
precisely what, but I will hazard a guess that since you tried to
install XFree8604.x you have the imake-4 port installed.  That won't
work with the X.Org stuff, but it will fool the ports system into
thinking that everything is OK.

You need to de-install imake-4 and install imake-6 instead:

# portupgrade -o devel/imake-6 -f imake-\*

Then try the X.Org installation again.

Cheers,

Matthew


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


pgp3KnICySEqS.pgp
Description: PGP signature


Re: IBM T41 crash on boot when swapping drives

2004-07-04 Thread Per olof Ljungmark
Per olof Ljungmark wrote:
Hi list,
I wonder if you could help me analyze a problem using different storage 
devices in Ultrabay on a IBM Thinkpad T41?

Primary HD installed with FreeBSD -current, sources are from June 26th.
Secondary HD in Ultrabay Slim with Win XP
If I swap the secondary(XP) HD for a CDRW it's fine up until single user 
mode but as son as the system enters multiuser it stops. If this is a 
known problem, please let me know if there a a fix, or, what more 
information can I provide to amalyze it further?
I'm prepared to do whatever to help to solve this!

Hmmm, apparently there is a "freebsd-mobile" list where this topic 
already came up. Sorry for the littering...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NATD Port Forwarding question

2004-07-04 Thread Jon Kurjakovich
Hi there,

I am currently using FreeBSD 4.8-RELEASE. I do plan on upgrading to
5.2-CURRENT shortly but I know people who are using 5.2-CURRENT and are
experiencing the same problem as me. If this email is not appropriate in
this mailing list, could you please forward me to the correct one. Thank
you.

My problem: I am trying to use NATD to forward packets to machines on
the internal network using the redirect_port command. I am specifically
trying to connect to a Terminal Server on a Windows 2000 machine. It
never seems to work for me. I am running natd using the following
command: natd -f /etc/natd.conf with the following options in my
natd.conf file.

interface tun0
same_ports yes
use_sockets yes
unregistered_only
redirect_port tcp 192.168.1.2:3389 3389

When I create an SSH tunnel using putty, that works fine. It is only
when I try and use natd w/ port-forwarding that it doesn't work. I
configure an extremely open firewall to ensure it is not my firewall
causing the problems. The commands I use are:

/sbin/ipfw -f flush
/sbin/ipfw add 50 divert natd all from any to any via tun0
/sbin/ipfw add pass all from any to any

If anybody could shine any light on this problem for me - it'd be
greatly appreciated. I have been trying to resolve the problem
on-and-off for months now to no avail. I finally decided I should try
the mailing list.

Thanks.

Regards,
Jon


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


Everything went wrong installing 5.2.1

2004-07-04 Thread Franz Klaus
Hello. Today I installed 5.2.1 onto a desktop box, i810 chipset with 
Celerons 600MHz. And I installed 3 times with miniinstall CDROM but I never 
get rid of these problems:

<1> (almost) nothing compiles successful. Many applications in the port 
ends with a compile error like this one:

../gdk/.libs/libgdk-x11-2.0.so: undefined reference to 
`XML_SetElementHandler'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to 
`XML_SetDoctypeDeclHandle
r'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_ParserFree'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to 
`XML_SetCharacterDataHand
ler'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_ErrorString'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_ParseBuffer'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_ParserCreate'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_SetUserData'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_GetErrorCode'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XML_GetBuffer'
../gdk/.libs/libgdk-x11-2.0.so: undefined reference to 
`XML_GetCurrentLineNumber

These failed application include kde, gnome, lynx and several others. First 
I thought I must lack of some XML library, expat is all what I can think 
about, and it's already installed.

<2>pkg_add keep telling me "tar: cannot create symbolic link" or "tar: 
xxxfile: cannot stat: No such file or directory". This message shows up in 
almost every pkg_add

<3>installed application not runnable. each display different strange error 
message. sometimes they complain lack of particiliar library (and fix by 
manual make symbolic link), but some error are too strange and need several 
pages to describe.

I tried to install from FTP server rather than disco, or to choose 
different install type. I am pretty upset. Because I have been using 
FreeBSD for 3 years and never met such problems, begin to think this is a 
not-well-tested release. Now I'm already familiar with typing "make" and 
wait for error messages.

Any idea? Should I move to 5.2?
_
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  

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


Re: sound-card // dsp1

2004-07-04 Thread Geert Hendrickx
On Sat, Jul 03, 2004 at 11:48:24PM -, Hugo Silva wrote:
> Hi,
> 
> I need to create a dsp1 device. I'm running FreeBSD 5.2.1-RELEASE-p9
> 
> I've tried:
> [EMAIL PROTECTED]:/dev]# mknod /dev/dsp1 c 30 0x0013
> mknod: /dev/dsp1: No such file or directory
> 
> but no luck.. I need this device because I need to use two programs who
> will put dsp device in r/w. So the second will always fail. The only way I
> see to fix this is creating a dsp1 device, make the first program use
> /dev/dsp and the second use /dev/dsp1 ...
> 
> Increasing the vchans didn't work, this seems to work only for playback
> (can have xmms,teamspeak,mplayer.. but when I lauch Enemy Territory, it
> will be soundless, because it opens dsp in rw and TeamSpeak already has
> dsp in rw)
> 
> Someone suggested using artsdsp, but:
> /data/games/enemy-territory/et.x86: error while loading shared libraries:
> /usr/local/lib/libartsdsp.so.0: ELF file OS ABI invalid
> 
> ..
> 
> I've been trying to find a way around this for 4 hours now and still
> nothing :-) So, perhaps someone knows the answer to this one ?
> 
> Regards

The kernel can mix your sounds, if you use virtual sound channels such
as /dev/dsp0.x .  Check out the sysctl's hw.snd.pcm0.vchans and
hw.snd.maxautovchans.  

If your programs don't access the sound-devices directly, you could also
use something like Esound (ports/audio/esound). 

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


Re: Grub installation from the ports collection vs. Freebsd boot loader

2004-07-04 Thread Geert Hendrickx
On Sun, Jul 04, 2004 at 12:19:23AM -0400, Bruce Hunter wrote:
> Hey,
> 
> Thanks for you help. I figured out my problem. I was trying to install
> grub to (hd0) while running gnome. I read some more of the manual for
> grub and realized that I had to create a floppy disk to do the
> installation. So, I created the floppy and rebooted and ran the commands
> again and everything went well. 

Hm, then I think Grub cannot write to your HD when it is mounted.  Or
something like that.  Anyway, that step has to be performed just once.
You can always change your configfile, Grub will read it in at boot
time.  

> The only thing is. It doesn't use grub.conf, it uses menu.lst to
> create the menu.

Ok.  Then grub.conf was used in older versions.  I thought it was the
other way around, but I always just symlinked one to the other. 

> Would I be able to use the installation of RedHat Core 2's grub, to make
> my grub look pretty? I also, noticed that RedHat has a pretty little
> thing or gui when booting up. How would I integrate that to FreeBSD?

The difference is in their configfile, it probably uses colors and some
background.  Try "grub bootsplash" on Google and you'll find plenty of 
howto's. 

> Thanks man,
> Bruce

Happy to help you, 

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


vpn client (mpd)

2004-07-04 Thread Christoph Kukulies
I'm trying to get mpd working again. This is the log of the startup phase.
What could be the cause for the failure?



Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 68498, version 3.18 ([EMAIL PROTECTED] 09:32  4-Jul-2004)
[vpn] ppp node is "mpd68498-vpn"
mpd: bind: Can't assign requested address
mpd: can't get PPTP listening socket
[vpn] using interface ng0
[vpn] IFACE: Open event
[vpn] IPCP: Open event
[vpn] IPCP: state change Initial --> Starting
[vpn] IPCP: LayerStart
[vpn:vpn] [vpn] bundle: OPEN event in state CLOSED
[vpn] opening link "vpn"...
[vpn] link: OPEN event
[vpn] LCP: Open event
[vpn] LCP: state change Initial --> Starting
[vpn] LCP: LayerStart
[vpn] device: OPEN event in state DOWN
bind: Can't assign requested address
[vpn] PPTP call failed
[vpn] device is now in state OPENING
[vpn] device: DOWN event in state OPENING
[vpn] device is now in state DOWN
[vpn] link: DOWN event
[vpn] LCP: Down event
[vpn] device: OPEN event in state DOWN
[vpn] pausing 7 seconds before open
[vpn] device is now in state DOWN
[vpn] device: OPEN event in state DOWN
[vpn] pausing 1 seconds before open
[vpn] device is now in state DOWN
[vpn] device: OPEN event in state DOWN
bind: Can't assign requested address
[vpn] PPTP call failed
[vpn] device is now in state OPENING
[vpn] device: DOWN event in state OPENING
[vpn] device is now in state DOWN
[vpn] link: DOWN event
[vpn] LCP: Down event
[vpn] device: OPEN event in state DOWN
[vpn] pausing 9 seconds before open
[vpn] device is now in state DOWN
mpd: caught fatal signal int
mpd: fatal error, exiting
[vpn] IPCP: Down event
[vpn] IFACE: Close event
[vpn] IPCP: Close event
[vpn] IPCP: state change Starting --> Initial
[vpn] IPCP: LayerFinish
^C
mpd: process 68498 terminated


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


RE: the Donations Liaison Officer

2004-07-04 Thread Eric Crist
If there isn't one, I offer my expertise.  I've been running a Corp for
three ears and have a little free time now.

Eric F Crist

Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Sergey Matveychuk
> Sent: Saturday, July 03, 2004 10:25 PM
> To: Giorgos Keramidas
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: the Donations Liaison Officer
>
>
> Giorgos Keramidas wrote:
>
> > On 2004-07-04 06:25, Sergey Matveychuk <[EMAIL PROTECTED]> wrote:
> >
> >>Who is the Donations Liaison Officer? It's not clear from
> >>http://www.freebsd.org/donations/index.html
> >
> >
> > Originally, it was Michael Lucas who was the DLO, if my
> memory doesn't
> > fail me.  Unless this changed during the one year I've been
> away, he's
> > still the guy behind the donations@ mail alias.
> >
> > Is it very important to know the exact person though?  The
> mail alias
> > points to the right person at any time.
>
> Not really. I've just miss "Just contact us at [EMAIL PROTECTED]
> with your offer" phrase. It should be made as mailto: link there.
>
> I've Cc: this to www@ and doc@ as offer.
>
> --
> Sem.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
>
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


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


FreeBSD and DVI LCD monitors

2004-07-04 Thread 3BSD
I have been trying for several days to get XFree86 going with my LCD
monitor, but to no luck.
Hardware:
GeForce FX 5200
BenQ FP991 19" LCD monitor with DVI-S and HD-15 connectors.

I shelled out a little extra for this monitor *specifically* for its
DVI port, but it just simply won't work with FreeBSD. Slackware Linux
10 runs fine on the monitor on the same computer using X.Org server.

 I read on google search results that DVI monitors need a Refresh rate
of 60Hz. At first I did not know which one were they talking about,
which happened to by Vertical Sync, so I set that to 60 and did a
startx, nothing.

Monitor displays a "no input signal" messages and the light blinks.
Then I installed nvidia drivers and tried, it got worse, I could not
get my console back, while the system had not crashed, the display
just would not come back, so I had to do a blind reboot.

I then read somewhere that with some monitors, there is a problem with
DDC, they lie about their digital sync rates suitable for display on
the DVI port and report the analog port settings instead. I found out
that I had to add:

Option   "NoDDC"   "1" (or "true")

to XFree86. I added the line, typed startx and was dissapointed yet
again. Same "no input signal" message on the monitor again.

I figured that if X.org server worked under Linux, then it should work
with FreeBSD without problems, but I can't even try that since X.org
port will refuse to install (already sent an e-mail in that regard to
this group).

Can anyone show me a way out of this mess? Should I try an ATi
graphics card? Is there some configuration blunder that I'm making?

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


The FreeBSD Diary: 2004-06-13 - 2004-07-03

2004-07-04 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

These are the articles posted during this period:

23-Jun : USENIX'04 ATC
 I'll be there! 
 http://freebsddiary.org/usenix-atc-2004.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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