RE: FreeBSD mail forwarder and SPF

2007-12-10 Thread Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark D. Foster
Sent: dinsdag 11 december 2007 0:40
To: Dan Mahoney, System Admin
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD mail forwarder and SPF

> The solution is @ http://www.openspf.org/FAQ/Forwarding
> If garga@ isn't following the recommended practice of whitelisting
> freebsd.org's MX servers then breakage results. That said,
> mx2.freebsd.org is NOT LISTED as an MX of freebsd.org, so maybe that
> is contributing to the problem.

Like you said, if he wants to send mail through the FreeBSD server, using
his prime.gushi.org domain, he should add "ip4:69.147.83.53" to his SPF
records for that domain (or do some SRS forward rewriting).

But what's mx2.freebsd.org not being listed as an MX of freebsd.org got to
do with SPF?? There's no requirement, whatsoever, for mx2.freebsd.org to be
an official FreeBSD MX record. Who cares? FreeBSD includes
"ip4:69.147.83.53" in its SPF records (which is mx2.freebsd.org). That's all
SPF needs to know.

- Mark



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


Re: mysql can't finf shared library

2003-11-16 Thread Mark
- Original Message - 
From: "Gary Kline" <[EMAIL PROTECTED]>
To: "FreeBSD Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 1:07 AM
Subject: mysql can't finf shared library

> After upgrading to the latest mysql323-client and reinstalling
> my root password, here is what happens:
>
> mysqladmin -u root password 'fooobar1234'
> /usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.10" not found
> [EMAIL PROTECTED]:/etc# locate libmysql
> /usr/local/lib/mysql/libmysqlclient.a
> /usr/local/lib/mysql/libmysqlclient.so
> /usr/local/lib/mysql/libmysqlclient.so.10
>
> Anybody know what's going on here?  Is this a known bug?

I am sure it is not the official method, but when I had this happening too,
I made the following symlink:

/usr/local/lib/libmysqlclient.so.10 -> mysql/libmysqlclient.so.10

And that solved it for me.

- Mark

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


name server on alternate port

2003-11-22 Thread Mark
Hello,

If I want to install a second name server, on a different listening port,
how can I get the resolver libraries to consult the other port too? I want
to add rbldsnd, next to bind, for a large zone.

Thanks,

- Mark

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


Running rbldnsd

2003-11-23 Thread Mark
Perhaps a bit off-topic, but since dynablock.easynet.nl's untimely demise, I
have been running the dynablock zone in BIND. Works great, but takes a
whopping 117MB! So, I tried using rbldnsd, which is about 10 times more
memory-efficient (!). I created a zone, dynablock.my-domain.info, and added
the zone-data, and start rbldns as follows:

rbldnsd -u bind:bind -r /usr/rbldns -b 127.0.0.1 -P 53 -c 0 \
dynablock.my-domain.info:generic:zoneheader.dynablock.my-domain.info \
dynablock.my-domain.info:ip4set:dynablock.my-domain.info

The "zoneheader.dynablock.my-domain.info" contains the following:

$NS 86400 ns1.my-domain.info
$SOA 1w ns1.my-domain.info admin.my-domain.info 0 2h 2h 1w 1h
@ 86400 A 127.0.0.1
dsl-cable-dhcp-dialup.ip 86400 A 127.0.0.2
dsl-cable-dhcp-dialup.ip 86400 TXT Dynamic/Residential IP range

Rbldsnd starts fine, without error, and says it loaded all zones:

rbldnsd: ip4set:dynablock.my-domain.info: 20031123 174253: \
e32/24/16/8=372826/241350/1001/0
rbldnsd: generic:zoneheader.dynablock.my-domain.info: 20031123 183814: e=3
rbldnsd: version 0.96 (29 May 2003) started (listening on [127.0.0.1]:53)

Yet, I cannot get any query to resolve on it:

% nslookup 218.65.86.15.dynablock.my-domain.info
*** Can't find server name for address 127.0.0.1: Query refused

I guess I misconfigured the "zoneheader" somehow. But I do not see how. Is
there anyone out there with a working knowledge of rbldns who can tell me
what I am doing wrong? It manages load load the whole dynablock zone in less
than 8MB (!), so it is worth trying to get to work, I'd say.

Thanks,

- Mark

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


Re: name server on alternate port

2003-11-24 Thread Mark
- Original Message - 
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 22, 2003 3:20 PM
Subject: Re: name server on alternate port


On Sat, Nov 22, 2003 at 01:55:01PM +, Mark wrote:

> If I want to install a second name server, on a different listening
> port, how can I get the resolver libraries to consult the other port
> too? I want to add rbldsnd, next to bind, for a large zone.

> I don't think that's really going to work. You can configure a slave
> server to do domain transfers on alternate ports, but that's about it.
> Everything else expects DNS servers to answer on port 53. You'ld be
> better off adding an alias address to the server and making each server
> bind each to it's own address.  Don't know about rbldnsd(8), but for
> bind9 you can put entries like this within the options{} section of
> named.conf:
>
> listen-on {
> 127.0.0.1;
> 12.34.56.78;
> };
> query-sourceaddress 12.34.56.78 port 53;
> transfer-source 12.34.56.78 port 53;
> notify-source   12.34.56.78 port 53;


Thank you. :) Your idea to bind both nameservers on their own IP, with
rbldnsd on the alias, worked brilliantly well. Instead of configuring a
slave server, though, I went with forwarding, like so:

zone "dynablock.my-domain.info" IN {
 type forward;
 forward only;
 forwarders {
  127.0.0.4;
 };
}

And now everything works beautifully. :)

- Mark

P.S. Getting rbldnsd to work was worth the trouble. I have the entire
dynablock, blackholes, and proxies zones, from the soon to expire easynet.nl
RBLs, all loaded in under 22 MB! of memory (and rbldnsd keeps everything in
memory too, in case you wondered). The same cost BIND over 220 MB memory!

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


Explicit Congestion Notification

2003-12-06 Thread Mark
Hello,

Can someone tell me how to enable "Explicit Congestion Notification" (IPv4)
on FreeBSD 4.7R? Or do I have to recompile the kernel for that? (hope not).

Thanks,

- Mark

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


Still really looking...

2003-12-06 Thread Mark
Hello,

I am still really looking for a way to enable Explicit Congestion
Notification for TCP on FreeBSD 4.7R (IPv4). And google is really not very
helpful in that regard. Nor the FreeBSD site, for that matter. I found
"option TCP_ECN" for the kernel, but together with "option TCP_SACK". Do I
need that too? I still rather hope this can be controlled with a sysctl
maneouvre.

I mean, there's gotta be a doc somewhere that explains how to enable this,
right? I'm frankly surprised it is so hard to find any FreeBSD info on it.
And I really *DO* need it. I am communicating with a site that has ECN
enabled, and, hence, I get nothing but timeouts on it. There has to be
someone who did this before!

Thanks,

- Mark

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


Re: Powering off after shutdown...

2003-12-11 Thread Mark
- Original Message - 
From: "Alex (ander Sendzimir)" <[EMAIL PROTECTED]>
To: "Tijl Coosemans" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 12:50 AM
Subject: Re: Powering off after shutdown...

> >> # Power management support (see LINT for more options)
> >> device  apm0at nexus? disable flags 0x20 #
> >> Management

> Yup.  I've recompiled my kernel with device apm0 and
> added appropriately to rc.conf. So, far no luck. Perhaps the
> motherboard doesn't support it. I need to track down the
> board's manual.

If I remember correctly, remove everything after "nexus?". So that you will
keep only this:

device  apm0 at nexus?

That did the trick for me.

- Mark

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


auth.log

2003-12-17 Thread Mark
Is this a stuck key or an attack??
Dec 14 19:23:34 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:23:34 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[A^[[G^[[B^[[G^[[G^[
Dec 14 19:23:35 boxs login: 2 LOGIN FAILURES ON ttyv7
Dec 14 19:23:35 boxs login: 2 LOGIN FAILURES ON ttyv7, ^[[G^[[G
Dec 14 19:23:45 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:23:45 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[A^[[G^[[G^[[G^[[G
Dec 14 19:23:46 boxs login: 2 LOGIN FAILURES ON ttyv7
Dec 14 19:23:46 boxs login: 2 LOGIN FAILURES ON ttyv7, ^[[G^[[G
Dec 14 19:24:35 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:24:35 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G
Dec 14 19:26:05 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:26:05 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G
Dec 14 19:27:06 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:27:06 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G^[[G^[[G^[[B^[[G
Dec 14 19:27:11 boxs login: 6 LOGIN FAILURES ON ttyv7
Dec 14 19:27:11 boxs login: 6 LOGIN FAILURES ON ttyv7, ^[[G^[[G
Dec 14 19:27:17 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:27:17 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G^[[G^[[G^[[G
Dec 14 19:27:24 boxs login: 2 LOGIN FAILURES ON ttyv7
Dec 14 19:27:24 boxs login: 2 LOGIN FAILURES ON ttyv7, ^[[G7^[[G
Dec 14 19:27:28 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:27:28 boxs login: 2 LOGIN FAILURES ON ttyv6, ^N^[[G^E^[[G^[[G^[[G
Dec 14 19:27:35 boxs login: 2 LOGIN FAILURES ON ttyv7
Dec 14 19:27:35 boxs login: 2 LOGIN FAILURES ON ttyv7, ^N^[[G^E^[[G
Dec 14 19:28:19 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:28:19 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G
Dec 14 19:29:49 boxs login: 2 LOGIN FAILURES ON ttyv6
Dec 14 19:29:49 boxs login: 2 LOGIN FAILURES ON ttyv6, ^[[G^[[G^[[G^[[G

The motherboard beeper was sounding like morse code during this, but the box has 
performed without flaw after a reboot. fbsd 5.1 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Downloading RTSP stream?

2009-09-20 Thread Mark
I use mencoder to dump to a file on a ipcam security camera using rtsp.
a sample command line  
mencoder rtsp://user:p...@192.168.1.177 -ovc copy -o /str/cam7.avi > 
/var/log/cam7.log &

--- On Sun, 9/20/09, Christian Weisgerber  wrote:

> From: Christian Weisgerber 
> Subject: Downloading RTSP stream?
> To: freebsd-multime...@freebsd.org
> Date: Sunday, September 20, 2009, 12:56 PM
> Do we have something in the ports
> tree that can read an RTSP stream
> where mplayer fails?
> 
> $ mplayer
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4
> MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
> (Family: 15, Model: 67, Stepping: 3)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1
> SSE2: 1
> Compiled with runtime CPU detection.
> 
> Playing
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4.
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET6...
> Couldn't resolve name for AF_INET6:
> ondemand.quicktime.zdf.newmedia.nacamar.net
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET...
> Connecting to server
> ondemand.quicktime.zdf.newmedia.nacamar.net[62.27.26.6]:
> 554...
> A single media stream only is supported atm.
> rtsp_session: unsupported RTSP server. Server type is
> 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin
> Streaming Server; State/Development; )'.
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET6...
> Couldn't resolve name for AF_INET6:
> ondemand.quicktime.zdf.newmedia.nacamar.net
> Resolving ondemand.quicktime.zdf.newmedia.nacamar.net for
> AF_INET...
> Connecting to server
> ondemand.quicktime.zdf.newmedia.nacamar.net[62.27.26.6]:
> 80...
> Server returned 404: error
> No stream found to handle url
> rtsp://ondemand.quicktime.zdf.newmedia.nacamar.net/zdf/data/quicktime/zdf/09/09/090920_untergang_szent_istvan_tex_vh.mp4
> 
> -- 
> Christian "naddy" Weisgerber       
>                
>   na...@mips.inka.de
> 
> ___
> freebsd-multime...@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: I hate to bitch but bitch I must

2009-10-16 Thread Mark
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of PJ
Sent: zaterdag 17 oktober 2009 3:50
To: Steve Bertrand
Cc: Polytropon; freebsd-questions@freebsd.org
Subject: Re: I hate to bitch but bitch I must

>>>> but from man tunefs:
>>>> BUGS
>>>> This utility should work on active file systems.
>>>> What in hades does this mean--just above it says cannot be run on
>>>> active file systems. ???
>>>>
>>>>
>>> It "should". This means: Don't try that. :-)
>>>
>>> My printer isn't printing!
>>> But it should.
>>> No, it is not printing!
>>> Yes, but it should.
>>> :-)

Actually, this has got very little to do with being a native English
speaker or not. It's ere a matter of intonation (which, in writing, can
only be conveyed to a certain degree, of course). 'Should' can certainly
mean "Don't try that." As in:

Will the ice hold me?
Well, technically it should.

(Meaning: it probably will, but I'm not overly confident.)

>> Aha! Gotcha! Whoever wrote that has made an unintentionnal booboo. It
>> is a subtle difference and is indicative that whoever wrote it is not
>> a native english user... the meaning is clearly "should be executed,
>> done, carried out, performed"

The meaning of 'should' is not nearly as narrow as you suggest. Often it
also denotes reservation (as in the above example). To illustrate once
more:

Can I run dump on an active file system?
It *should* run on an active file system, provided (enumerations of
conditions which would need to be met; like preferably no disk-activity
when making the backup).

(Meaning: it can be done, but it's ill-advised, really.) And clearly it
does not mean "should be executed, done, carried out, performed."

Another one:

Will he run for President?
Well, he should be able to get enough votes.

(Meaning: if everything goes as planned, he might succeed, but it's by no
means guaranteed he'll actually get enough votes).

So, given the right intonation and context, "This utility should work on
active file systems." can certainly be understood to mean one could
technically do so, but that it's not recommended.

- Mark

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


MF626 3g modem

2009-12-18 Thread Mark
Hi,

I have been trying to get this device working as a 3g modem but it also has 
memory slot for MMC card.

When it is plugged in it only sees the memory card -

 port 6 addr 2: high speed, self powered, config 1, ZTE CDMA Technologies 
MSM(0x2000), ZTE, Incorporated(0x19d2), rev 0.00
   umass0

I have booted without umass loaded and i get ugen0. From posts on the internet 
the modem is meant to come up with 0x0031 device code. I have put the device 
into usbdevs and added it to ubsa.c.

But i think until i can get it to see the modem, it will always come up as a cd 
drive.

Any help appreciated.

pabx# uname -a
FreeBSD  6.4-RELEASE FreeBSD 6.4-RELEASE #6: Sat Dec 19 13:34:39 NZDT 2009 
:/usr/obj/usr/src/sys/noumass  i386

Thanks

Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: snd_hda peculiarities

2009-12-30 Thread Mark


--- On Wed, 12/30/09, Richard L. Mace  wrote:

> From: Richard L. Mace 
> Subject: snd_hda peculiarities
> To: freebsd-questions@freebsd.org
> Date: Wednesday, December 30, 2009, 8:45 AM
> I recently installed FreeBSD 8.0
> (amd64) on my laptop (HP 8510w) and most 
> things are working. However, a minor annoyance is that I
> only get sound if I 
> manually load snd_hda via:
> 
> # kldload snd_hda
> 
> i.e., after booting. If I place the following in
> /boot/loader.conf
> 
> snd_hda_load="YES"
> 
> I get no sound, even though the driver seems to load and
> cat /dev/sndstat 
> gives
> --
> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> Installed devices:
> pcm0:  at
> cad 0 nid 1 on hdac0 kld 
> snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
> pcm1:  at
> cad 0 nid 1 on hdac0 kld 
> snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
> 
> 
> Googling, I found this page: 
> 
> http://lists.freebsd.org/pipermail/freebsd-bugs/2009-June/035677.html
> 
> Which reports precisely the behaviour I am experiencing. No
> fix or workaround 
> is suggested.
> 
> Has anyone with similar hardware managed to get this driver
> working? Any 
> workarounds to my problem? My audio hardware is...
> 
> $pciconf -lv 
> 
> hd...@pci0:0:27:0:      class=0x040300
> card=0x30c5103c chip=0x284b8086 
> rev=0x03 hdr=0x00        
>     vendor     = 'Intel
> Corporation'             
>                
>                
>               
>     device     = 'Intel audio
> controller embedded with the 82801H chipset ( 
> ICH8 chipset ) (82801H)'         
>                
>                
>                
>                
>                
>   
>     class      = multimedia 
>                
>                
>                
>                
>    
>     subclass   = HDA 
> 
> And I am using
> $ uname -a
> FreeBSD belenos 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov
> 21 15:02:08 UTC 
> 2009     r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
> amd64
> 
> Many thanks
> -Richard
> 

Try adding sound_load="YES" to the loader.conf HTH

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


Missing characters in /var/log/messages - hardware fault?

2008-06-05 Thread Mark
Hi,
I'm seeing missing characters in /var/log/messages after kernel panics on a
brand new box with a fresh install of 7.0-RELEASE.  Typical lines are:

May 30 0:14:53 odin2008 savecore: rebot after panic: age fault
May 3 10:14:3 odin2008 savecore: wrting core to vmcore.0

Does this imply a hardware fault?  Fsck is not showing any problems with the
disks.

Any help appreciated - I need to know whether I should just send the box
back or not!

Yours,
Mark

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


RE: Query on kgdb output

2008-06-06 Thread Mark
Thanks for the response!

OK, I tried this again using a new vmcore and got something more useful:


Unread portion of the kernel message buffer:
sis0: discard frame w/o packet header


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xbfc04000
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0a31f3a
stack pointer   = 0x28:0xe3fbbbd4
frame pointer   = 0x28:0xe3fbbc14
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 34 (irq19: sis0)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 2h37m48s
Physical memory: 977 MB
Dumping 164 MB: 149 133 117 101 85 69 53 37 21 5

#0  doadump () at pcpu.h:195
195 __asm __volatile("movl %%fs:0,%0" : "=r" (td));



The network card is being detected as an SiS 900:
Jun  6 10:03:36 odin2008 kernel: sis0:  port
0x2000-0x20ff mem 0x4a10-0x4a100fff irq 19 at device 4.0 on pci0
Jun  6 10:03:36 odin2008 kernel: miibus0:  on sis0
Jun  6 10:03:36 odin2008 kernel: sis0: Ethernet address: 00:1c:c0:2e:ee:ad
Jun  6 10:03:36 odin2008 kernel: sis0: [ITHREAD]


Has anyone had any good experiences with this chipset?  I can find a few
people with similar problems dating back to 2002, but none recently.  It's
on the supported hardware list.  Any ideas as to a fix or workaround?


Thanks,
Mark


Backtrace:
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0757727 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc07579e9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a4c32c in trap_fatal (frame=0xe3fbbb94, eva=3217047552)
at /usr/src/sys/i386/i386/trap.c:899
#4  0xc0a4c5b0 in trap_pfault (frame=0xe3fbbb94, usermode=0, eva=3217047552)
at /usr/src/sys/i386/i386/trap.c:812
#5  0xc0a4cf5c in trap (frame=0xe3fbbb94) at
/usr/src/sys/i386/i386/trap.c:490
#6  0xc0a32edb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0a31f3a in bus_dmamap_load (dmat=0xc3fda280, map=0xc0bfe140,
buf=0x100, buflen=2048, callback=0xc0909410 ,
callback_arg=0xc3f6c378, flags=0) at pmap.h:218
#8  0xc09098ff in sis_newbuf (sc=0xc3fdd300, c=0xc3f6c378, m=0xc427)
at /usr/src/sys/pci/if_sis.c:1384
#9  0xc090b69d in sis_rxeof (sc=0xc3fdd300) at
/usr/src/sys/pci/if_sis.c:1438
#10 0xc090b993 in sis_intr (arg=0xc3fdd300) at
/usr/src/sys/pci/if_sis.c:1662
#11 0xc073a94b in ithread_loop (arg=0xc3fcd790)
at /usr/src/sys/kern/kern_intr.c:1036
#12 0xc0737749 in fork_exit (callout=0xc073a7a0 ,
arg=0xc3fcd790, frame=0xe3fbbd38) at /usr/src/sys/kern/kern_fork.c:781
#13 0xc0a32f50 in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:205
(kgdb)

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


Re: Enabling composite-out in a video card.

2011-05-03 Thread Mark

> From: Chris Rees 
> Subject: Enabling composite-out in a video card.
> To: freebsd-questions@freebsd.org
> Date: Tuesday, May 3, 2011, 2:06 PM
> OK, so in what can only be described
> as a ridiculous shot in the dark...
> 
> I've got my Macbook running as a server under my TV, and I
> was trying
> to connect the video-out to the TV.
> 
> However... my mini-DVI-VGA plugged into the VGA-composite
> adaptor
> isn't working (surprise surprise)
> 
> Is there a command can put in to force TV-out through VGA
> (through DVI?)?
> 
> Chris

read the man page for the Xorg driver, you may need to enable it in the 
xorg.conf. I guess you are running freeBSD??? 



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


Re: Hard drive detection

2011-05-12 Thread Mark

People sleep peaceably in their beds at night only because rough men stand 
ready to do violence on their behalf. 
George Orwell


--- On Thu, 5/12/11, Dillin Smith  wrote:

> From: Dillin Smith 
> Subject: Hard drive detection
> To: freebsd-questions@freebsd.org
> Date: Thursday, May 12, 2011, 2:17 PM
> Hi all,
> 
>   I'm having an issue getting my installation of
> FreeBSD to detect all the
> drives in the system. It has 48 total, 46 2TB, and 2 250GB.
> The system
> consists of six controllers, with eight drives on each. The
> two 250GB hard
> drives are the first drives on controllers 0 and 1.
> 
>   There are two of these machines with the exact same
> configurations, having
> the same problem. A very odd thing is that every time the
> systems are
> rebooted, the drives that go undetected vary. Also, when
> the systems were
> full of 250GB drives, all were detected. All drives are
> detected in the BIOS
> of the controllers, just not by FreeBSD.
> 
> Any and all help is greatly appreciated.
> (output of dmesg attached)
> 
Look in the output from pciconf -lv | more

Are all the controller cards listed??  If not then look to the controller 
driver man page for hints to get them to play nice together.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Critical issues with WD green drives

2011-06-02 Thread Mark

--- On Thu, 6/2/11, Reid Linnemann  wrote:

> From: Reid Linnemann 
> Subject: Re: Critical issues with WD green drives
> To: "Bruce Cran" 
> Cc: freebsd-questions@freebsd.org
> Date: Thursday, June 2, 2011, 11:02 AM
> On Thu, Jun 2, 2011 at 9:54 AM, Bruce
> Cran 
> wrote:
> > On Thu, 02 Jun 2011 14:16:01 +0200
> > Andrea Venturoli 
> wrote:
> >
> >> In a server of mine (7.3p4/i386) I replaced a 1TB
> Hitachi SATA drive
> >> (which worked perfectly), with two brand new
> Western Digital 2TB
> >> disks. Now I'm having critical problems, ranging
> from the disks
> >> getting stuck, to the box rebooting.
> >> Those are not the main disks in the box, so they
> are currently
> >> unmounted; I wasn't even able to run newfs on
> them, since every
> >> process that tries to use these disk will hang
> after a while (and
> >> can't be killed either).
> >
> > I'd guess this is probably due to their
> overly-aggressive power
> > management. If you can, run wdidle3.exe from a Windows
> environment to
> > turn off the default idle timer.
> >
> > --
> > Bruce Cran
> > ___
> > freebsd-questions@freebsd.org
> mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> >
> 
> I've gotten similar errors before with a failing power
> supply. After
> an electrical storm I started getting HD errors all over
> the place. I
> replaced drives, futzed with SATA cables, booted, rebooted,
> and when
> the machine got stable finally I just tried to leave it
> alone. Finally
> I bought a new atom board, thinking that some component on
> the
> mainboard had been killed by the storm. Problems persisted
> until my
> mini-itx case came in with a fresh (less powerful) power
> supply.

My "duh" moment not too long ago. 

I found that the sata power "adapters" had pins that were to small for a proper 
connection to the power supply. 
  

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


Re: mythtv 0.23.1 and the pvr250 driver - testing

2011-06-24 Thread Mark
> From: Torfinn Ingolfsen 
> Subject: Re: mythtv 0.23.1 and the pvr250 driver - testing
> To: freebsd-multime...@freebsd.org
> Date: Friday, June 24, 2011, 12:47 PM
> On Sun, 05 Jun 2011 22:27:51 +0200
> Torfinn Ingolfsen 
> wrote:
> 
> > Hello,
> > Today I tried to test MythTV 0.23.1 from ports (I used
> portdowngrade)
> > on my test machine[1], which has a PVR-350 card, and I
> use the pvr250 driver from ports. 
> > As before; the card and driver is tested with mplayer
> and works fine.
> > Details:
> > root@kg-quiet# uname -a
> > FreeBSD kg-quiet.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE
> #0: Sun Apr  3 19:49:05 CEST 2011 
>    r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/GENERIC 
> amd64
> > root@kg-quiet# pv | grep pvr
> > pvr250-20101010_1       
>    =  up-to-date with port 
> > root@kg-quiet# pv | grep mythtv
> > mythtv-0.23.1           
>    <  needs updating (port has
> 0.24.1_1) 
> > 
> > This time, it apperas that mythtv-setup has problems
> with upgrading the db schema.
> > (I deleted the database, since it was newer than 0.23,
> and ran mysql -uroot -p <
> /usr/local/share/mythtv/database/mc.sql first).
> > >From the shell where mythtv-setup is running:
> > 
> > 2011-06-05 22:07:51.171 Inserting MythTV initial
> database information.
> > 2011-06-05 22:07:51.171 New DB connection, total: 3
> > 2011-06-05 22:07:51.172 Connected to database
> 'mythconverg' at host: localhost
> > 2011-06-05 22:07:51.172 Upgrading to MythTV schema
> version 1226
> > 
> > and then mythtv-setup just sits there, nothing more
> happening.
> > Any hints on how to fix that?
> 
> Nobody has any hints?
> -- 
> Torfinn
> 

When you "drop database" it does not change the permissions on the database you 
dropped.  Check out "grant" if you have not used it.

I know just enough about mysql to get into trouble. =)

HTH 

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


SSL/TLS suddenly stopped working for postfix

2011-12-30 Thread Mark

My apologies for the cross-posting but I believe it is relevant.

I have been running postfix for 8+ months without problems.  
Recently ( a week or two) I had a user complain that he could no longer 
send.  It appears that postfix is no longer accepting SSL/TLS 
connections.  STARTTLS is working on port 587 (and possibly 25, still 
testing)  I am trying to figure out why the change.


If I try and open an openssl connection manually, this is what I get:

openssl s_client -connect mail.myServer.net:587
CONNECTED(0003)
44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478:


I recently installed a webmail client , roundcube.  Not sure if 
that could affect anything.


Any help is greatly appreciated.  I know I should send main.cf and 
master.cf but I have to filter out the proprietary info first...


Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


py-kaa-metadata build fails.

2012-01-25 Thread Mark
Anyone know of a fix for this error?

creating build/temp.freebsd-8.2-RELEASE-p3-i386-2.6/src/image
cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include 
-fno-strict-aliasing -fPIC -I/usr/local/include/python2.6 -c 
src/image/exiv2.cpp -o bu
ild/temp.freebsd-8.2-RELEASE-p3-i386-2.6/src/image/exiv2.o -Wall
src/image/exiv2.cpp: In function 'PyObject* parse(PyObject*, PyObject*)':
src/image/exiv2.cpp:50: error: 'class Exiv2::ExifData' has no member named 
'copyThumbnail'
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/multimedia/py-kaa-metadata.




People sleep peaceably in their beds at night only because rough men stand 
ready to do violence on their behalf. 
George Orwell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: [ZFS] recover destroyed zpool - what are the available options?

2013-04-04 Thread Mark

 
 Original Message 
From: Beeblebrox 
To: freebsd-questions@freebsd.org
Sent: Wed, April 3, 2013 10:50:55 AM
Subject: Re: [ZFS] recover destroyed zpool - what are the available options?

Volodymyr, thank you very much for answering.

A strange problem is that ZFS thinks the pool is on-line:
# zpool list
NAMESIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
bsdr   -  -  -  -  -  FAULTED  -

So when I try to import, it objects. I can think of 2 things to do:
a- export the pool first, then re-import
b- Disconnect the original hdd / create pool bsdr on another hdd@s small gpt
partition / re-connect the original hdd / somehow force the import or add
the original pool to the newly created bsdr pool, and maybe the original
data will come back on line??

What would you suggest?  Thanks again.


What does "gpart show" return?

Are all the pool members there and working?

My guess is that one member is missing or a mbr is bad.

I have used the zfs import function with good results.


--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801356.html

Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


Re: is there any books about network with FreeBSD

2013-05-10 Thread Mark
Michael Lucas has published some highly regarded books on Freebsd and 
Networking.  Here is a link to his site https://www.michaelwlucas.com/


Full Disclosure: I have known Michael for many, many years so I am 
somewhat biased but I do use his books and they answer over 95% of my 
questions / problems.


Mark Moellering

On 5/10/2013 1:32 AM, Aric wrote:

Hi
   all.
   is there some books about network, such as gateway,vpn,turnnel,bridge!
   the books is more about netwok, no server or the basic Unix telnologic  or 
only a little server and basic command
  
   thanks !

--

  ---Aric Liang
mail: leea...@126.com
MSN: leea...@live.cn

  
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



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


mpd3.18

2004-06-14 Thread Mark
I have a box that is having a 24th hour crash, I have narrowed it down to mpd 3.18 as 
the cause, kill mpd and the box will hum right along for days, restart mpd 24 hrs 
later it goes into kernel panic and reboots. Anyone else have this problem?? (side 
note - swap file full is one msg)
As you can tell, I am a basic noob when dealing with this type of problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel build error

2004-06-18 Thread Mark
I am trying to build a new kernel after csvuping a 4.10 box 
error -->config: line 69: fdc 0 not defined
*** Error code 1

lines from config file 
# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

I had built a new kernel on 4.10 with the same lines.
It has been working fine. any ideas?

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


Re: Squid, FreeBSD, Multilink PPP

2004-06-30 Thread Mark

Do you have a cache dns server running on your system, if not
start one add it to the resolve.conf pluse the upstream dns servers
then ## out the enable dns in the ppp.conf (you'll lose the ref to yours
in the resolv.conf each time you  reconnect if you don't).

SOunds to me squid is looking for a dns server that is not there, and waits for a time 
out.


On Wed, Jun 30, 2004 at 01:39:23PM +0100, Brian Somers wrote:
> On Wed, 30 Jun 2004 12:43:14 +0300, Gregory Edigarov <[EMAIL PROTECTED]> wrote:
> > Hello,
> > 
> > I have Squid-2.5 running on FreeBSD 5-Current. We have 2 ppp links,
> > and use them in multilink mode, through userlevel ppp.
> > If one or both links fail and then come up, say, if I just turn the
> > modem power off and on all the  web browsing becomes very slow
> > squid.
> > It takes forever for squid to show a page which, in a normal
> > conditions, would take only a few seconds. Pings to those sites I am
> > trying to open are just fine.
> > Taking squid down and then up have no effect. The only thing help is
> > rebooting
> > the whole system.
> > 
> > Is there anything I can do?
> 
> How does ppp deal with the link loss - does it notice immediately ?  I
> would expect very little latency if it does as it should be able to just
> trash the existing queued data and continue using the other link.
> 
> I guess other connections suffer the same problems -- it's not just squid ?
> 
> It might be interesting doing a ``show mp'' or ``show bundle'' to determine
> what sort of packet queuing and reassembly is happening after the link is
> lost.
> 
> If the queues are large, you might get slightly better performance by
> reducing the links mtu (set mtu max), but really, things should recover
> ok even with a ~1500 MTU.
> 
> -- 
> Brian <[EMAIL PROTECTED]><[EMAIL PROTECTED]>
>      <[EMAIL PROTECTED]>
> Don't _EVER_ lose your sense of humour !
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


where o where is it starting from

2004-07-07 Thread Mark
Howdy,
I replaced the sendmail with postfix.
However on boot up I get a error:
Starting Standard daemons : inetd cron sshd sendmail-submitsendmail: illegal
option --0
sendmail: fatal usage : sendmail [options]
Jul 7 18:38:40 spiderman postfix/sendmail[83]: fatal:usage: sendmail
[options}

sendmail-clientmqueue

I looked in rc.local , /usr/local/etc/rc.d and didn't find anything.

Not freebsd savy yet to figure it out more.
Any help appreciated.

THanks
Mark


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


Re: where o where is it starting from

2004-07-07 Thread Mark
Never mind. I found it.
/etc/defaults/rc.conf
I thought /etc/rc.conf  overrode the other. In /etc/rc.conf I put sendmail
and inetd to NO but they were still starting up.

Mark
- Original Message - 
From: "Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 6:32 PM
Subject: where o where is it starting from


> Howdy,
> I replaced the sendmail with postfix.
> However on boot up I get a error:
> Starting Standard daemons : inetd cron sshd sendmail-submitsendmail:
illegal
> option --0
> sendmail: fatal usage : sendmail [options]
> Jul 7 18:38:40 spiderman postfix/sendmail[83]: fatal:usage: sendmail
> [options}
>
> sendmail-clientmqueue
>
> I looked in rc.local , /usr/local/etc/rc.d and didn't find anything.
>
> Not freebsd savy yet to figure it out more.
> Any help appreciated.
>
> THanks
> Mark
>
>
> ___
> [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: Sendmail upgrade advice

2004-07-10 Thread Mark
epilogue wrote:

>> I have read through all the readme and install files and just can't
>> seem to get any further.
>> 
>> Any help really appreciated. I am upgrading from 8.11.6.
>> 
>> Rob.
> 
> hello rob,
> 
> would sendmail 8.12.11 be enough to satisfy your upgrading needs? if
> so, no need to hassle with a manual build, because you'll find it in
> the ports tree.

More appropriately, I'd say, is that someone ports 8.13.0 -- I have been waiting for 
it, too. And I'm sure I'm not the only one.

- Mark

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


Is it safe to keep /kernel.old?

2004-07-13 Thread Mark
Dear people,

I have been applying patches over time; and when I recompile the kernel (4.9R p4), it 
keeps the old one around. My question is, though, is it safe to keep /kernel.old? I 
always keep it around, in case the new kernel has a problem. And that always seemed 
like a sensible policy to me. But what if one of the patches contains an exploitable 
bug? I run in securelevel 2, so I am not sure whether users could actually use the old 
kernel (once in multi-user mode). Still, I wonder if this concern is valid at all. Or 
whether I should perhaps get rid of the old kernel.

I appreciate your help,

- Mark

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


Re: ADSL connection woes

2004-07-15 Thread Mark

I had a problem like this but found out it was the dsl modem losing sync.
After much frustration the cure turned out to be plug the modem into a 
ups, line spikes were causing it to lose sync. 

On Fri, Jul 16, 2004 at 12:01:49AM +1000, Anthony Carmody wrote:
> Hi,
> 
> i have an interesting problem i would like some insight into. i have a 
> freeBSD server acting as a proxy firewall for an ADSL connection into my 
> office. PPP is set in ddial mode, but every so often the link goes down and 
> a simple invocation of the ppp dialer script doesn't seem to help.
> 
> here is an except of the log file when it's having problems:
> 
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: carrier -> hangup
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: Connect time: 6 secs: 
> 0 octets in, 0 octets out
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: 167523 packets in, 
> 128206 packets out
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase:  total 0 bytes/sec, peak 0 
> bytes/sec on Thu Jul 15 08:31:37 2004
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: hangup -> opening
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: Enter pause (0) for 
> redialing.
> Jul 15 08:31:43 jenna ppp[236]: tun0: Chat: deflink: Redial timer expired.
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: Connected!
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: opening -> dial
> Jul 15 08:31:43 jenna ppp[236]: tun0: Phase: deflink: dial -> carrier
> Jul 15 08:31:48 jenna ppp[236]: tun0: Phase: deflink: Disconnected!
> 
> the modem i use is a billion 5100M.
> 
> here is the ppp.conf:
> 
> default:
> set log Phase Chat LCP IPCP CCP tun command
> set device PPPoE:rl1:pacific
> set speed sync
> set mru 1492
> set mtu 1492
> set ctsrts off
> enable lqr
> add! default HISADDR
> set timeout 0
> set redial 0 0
> 
> pacific:
>  set authname [EMAIL PROTECTED]
>  set authkey ***
> 
> 
> /ajc
> /[EMAIL PROTECTED]
> 
> _
> Need plastic Surgery? Apply for a Virgin Credit Card. Click here:  
> http://ad.doubleclick.net/clk;9466596;9687279;s?http://au.virginmoney.com/virgin/publish.nsf/Content/VM+HomePage?OpenDocument&source=P08
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread Mark
On Fri, Jul 16, 2004 at 06:37:08PM -0700, freebsder wrote:

Jumping in late, 

natd_enable="YES" # forward from inside
natd_interface="tun0"  # this being the connection to outside world 
natd_flags="-dynamic" # because the ip addy may change


I don't know what your trying to do here??
>natd_flags="redirect_port tcp 192.168.1.1:80 80"
I would remove this until you get everything else working.

> Hi Bill,
> 
> The interface creates tun0 when it dials but I tried
> both "tun0" and "ppp0" and neither seemed to do the
> trick.
> 
> Any other trouble shooting thoughts or ideas?
> 
> Nav
> 
> new RC.CONF :
> 
> ## Firewall
> 
>   [...]
>   natd_interface="tun0"
>   #natd_interface="ppp0"
>   #natd_interface="vr0"
>   natd_flags="redirect_port tcp 192.168.1.1:80 80"
>   rpc_statd_enable="YES"
>   tcp_extensions="YES"
> 
> ## Mail
>   sendmail_enable="YES"
> 
> IFCONFIG :
> 
> #ifconfig
> ed0:
> flags=8843 mtu
> 1500
> inet 192.168.1.1 netmask 0xff00 broadcast
> 192.168.1.255
> inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
> 64 scopeid 0x1
> ether 00:80:c8:de:c9:37
> vr0:
> flags=8843 mtu
> 1500
> inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
> 64 scopeid 0x2
> inet 192.168.0.1 netmask 0xff00 broadcast
> 192.168.0.255
> ether 00:0e:a6:9c:c8:1d
> media: Ethernet 10baseT/UTP
> status: active
> lp0: flags=8810 mtu
> 1500
> lo0: flags=8049 mtu
> 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
> inet 127.0.0.1 netmask 0xff00
> tun0: flags=8051 mtu
> 1492
> inet 6X.7X.5X.23X --> 6X.23X.25X.12X netmask
> 0x
> Opened by PID 215
> 
> 
> 
> ORIGINAL MESSAGE
> Subject:
>  Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE
> #2
> 
> 
> freebsder <[EMAIL PROTECTED]> wrote:
> > All my computers can ping each other!  BUT I can
> only
> > connect to the internet from the FreeBSD server. 
> All
> > requests made by the WinXP machines go unanswered!! 
> > Yet when I ping from them, they can connect to any
> > computer on the network BUT CANNOT ping OUTSIDE the
> > network nor fetch any information outside this
> > network.  
> > 
> > Any ideas why my FreeBSD machine is not routing
> these
> > requests and putting up a road block?
> > 
> > RC.CONF
> > 
> > font8x14="NO"
> >   font8x16="swiss-8x16"
> >   font8x8="swiss-8x8"
> >   inetd_enable="YES"
> >   linux_enable="YES"
> >   moused_enable="YES"
> >   moused_port="/dev/psm0"
> >   moused_type="auto"
> >   nfs_client_enable="YES"
> >   nfs_server_enable="YES"
> >   rpcbind_enable="YES"
> >   saver="rain"
> >   scrnmap="NO"
> >   usbd_enable="YES"
> >   ifconfig_vr0="DHCP"
> >   ifconfig_ed0="DHCP"
> > 
> > ##initialise NIC
> >   network_interfaces="vr0 ed0 lo0 tun0"
> >   ifconfig tun0
> > 
> >   #ifconfig vr0= "media 10baseT/UTP up"
> >   #ifconfig_ed0="inet 192.168.0.3  netmask
> 255.255.0.0"
> > 
> >   #Changes as suggested:
> >   ifconfig_ed0="inet 192.168.1.1/24"
> >   ifconfig_vr0="inet 192.168.0.1/24 media
> 10baseT/UTP
> > up"
> > 
> >   #ifconfig_vr0="inet 192.168.0.1  netmask
> 255.255.0.0"
> > 
> >   hostname="my.server.com"
> > 
> > ##User ppp configuration
> >   ppp_enable="YES"
> >   ppp_mode="ddial"
> >   ppp_nat="NO"
> >   ppp_profile="bellnet"
> >   #ppp_user="root"
> > 
> > 
> > ## Firewall
> >   gateway_enable="YES"
> >   firewall_enable="YES"
> >   firewall_type="OPEN"
> >   #firewall_quiet="NO"
> >   firewall_script="/etc/rc/firewall"
> >   natd_enable="YES"
> >   natd_interface="vr0"
> 
> I believe you'll want:
> natd_interface="ppp0"
> or is it "tun0"?  I don't remember (long time since
> I've used ppp) but 
> the
> upshot is that whatever interface ppp creates when it
> dials, that's 
> what you
> want natd_interface set to.
> 
> >   natd_flags="redirect_port tcp 192.168.1.1:80
> 80"
> >   rpc_statd_enable="YES"
> >   tcp_extensions="YES"
> > 
> > ## Mail
> >   sendmail_enable="YES"
> 
> 
>   
> __
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
> http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

Replacing hd

2004-07-17 Thread Mark
Hello,
I have a hd going bad. It is not the primary drive but is
ad2s1e
ad2s1f

it holds /usr and /tmp

How can I put in  a new drive and copy everything over and not miss a beat.
if possible.

THanks
Mark


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


[no subject]

2004-07-20 Thread mark
How do remove freebsd from my machine?  I want to format the drive to
install windows xp.

Thanks,
Mark Estes


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


Re: Streaming Audio

2004-07-23 Thread Mark

May not fit your needs but look into /usr/ports/audio/musicpd 

and  /usr/ports/audio/ncmpc , there is also a web based php script

but I forget the name, this type setup makes a nice remote control 

jukebox for the home stereo.


On Thu, Jul 22, 2004 at 04:46:55PM -0500, Justin W. Pauler wrote:
> Andrew,
> 
> No, everything is console based. For example, my setup consists of:
> 
>   1. Making a playlist: a text file listing each song
>   in my collection (locate *.ogg >> playlist)
> 
>   2. Starting IceCast
> 
>   3. Starting IceS
> 
>   4. Listening
> 
> IceS then reads the playlist file that is created and by configuration,
> either randomly picks a song or goes in sequential order, again, that is up
> to you. I generally like the system, not bad at all, the only thing I wish I
> could do was call up songs on a whim, which out of the box cannot be done,
> however, with a little php script on the webserver, I'm going to do just
> that (add the new song to the top of the playlist and send a SIGHUP).
> 
> But yes, everything is console based, and I used it for well over 8 hours
> today without a single dropout or audio problem.
> 
> --
> Justin W. Pauler 
> 
> > -Original Message-
> > From: Andrew L. Gould [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, July 22, 2004 4:34 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Streaming Audio
> > 
> > On Thursday 22 July 2004 09:29 am, Justin W. Pauler wrote:
> > > Alexander,
> > >
> > > Thanks to you and everyone else who provided insight on 
> > this problem.
> > > I actually got everything finished and working late last 
> > night using 
> > > IceS as the stream client and IceCast to stream out the music. It 
> > > works quite well, I've actually made a big playlist of all my songs 
> > > and it randomly plays all of them.
> > >
> > > Thanks again,
> > >
> > > --
> > > Justin W. Pauler
> > 
> > Does the client rely on a GUI?  If not, is it easy to select 
> > songs from the console?
> > 
> > I ask because I have an opportunity to trade some old parts 
> > for an old laptop (133Mhz, 16MB RAM, etc).
> > 
> > Thanks,
> > 
> > Andrew Gould
> > 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Re: BCM4401-B0 card error on FreeBSD 5.2.1

2004-07-26 Thread Mark

Try bge. 

On Mon, Jul 26, 2004 at 03:11:42PM +0200, Guillaume Goutaudier wrote:
> Hi all,
> 
> I'm trying to move from Linux to FreeBSD on my compaq nx5000 laptop.
> The FreeBSD version I installed is 5.2.1.
> 
> I have a problem with the integrated broadcom BCM4401-B0 NIC.
> 
> This is not a BCM4401 but a BCM4401-B0 card (PCI ID = 0x170c), and
> the bfe driver does not seem to work:
> 
> In the dmesg output, I don't have a single line with "bfe0: ...".
> Instead, all I have is:
> 
> pci1:  at device 14.0 (no driver attached)
> 
> When I try to install the bfe module manually, I get:
> 
> # kldload miibus.ko
> interface miibus.1 already present in the KLD 'kernel'!
> kldload: can't load miibus.ko: file exists
> # kldload if_bfe.ko
> module_register: module pci/bfe already exists!
> Module pci/bfe failed to register: 17
> module_register: module bfe/miibus already exists!
> Module bfe/miibus failed to register: 17
> 
> I'm not familiar at all with *BSD drivers stuff so any help will be
> REALLY appreciated ...
> 
> cheers,
> 
> 
> Guillaume
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Re: BCM4401-B0 card error on FreeBSD 5.2.1

2004-07-26 Thread Mark

You may have to build a kernel with the 
"device  bge" # gig cards
"device  bfe" # 10- 100 cards
entries to build the moduals, I would have thought they 
were with the base system. But I had to build a kernel
for the bfe modual to work.

Side note: The bfe entry is not in the GENERIC kernel 
on 4.10 but will build and work. The bge modual would not 
find my broadcom 4401.


On Mon, Jul 26, 2004 at 05:00:39PM +0200, Guillaume Goutaudier wrote:
> bge gives me exactly the same error message.
> And still nothing like "bge0: ..." in dmesg output.
> 
> 
> Try bge. 
> 
> On Mon, Jul 26, 2004 at 03:11:42PM +0200, Guillaume Goutaudier wrote:
> >/ Hi all,
> />/ 
> />/ I'm trying to move from Linux to FreeBSD on my compaq nx5000 laptop.
> />/ The FreeBSD version I installed is 5.2.1.
> />/ 
> />/ I have a problem with the integrated broadcom BCM4401-B0 NIC.
> />/ 
> />/ This is not a BCM4401 but a BCM4401-B0 card (PCI ID = 0x170c), and
> />/ the bfe driver does not seem to work:
> />/ 
> />/ In the dmesg output, I don't have a single line with "bfe0: ...".
> />/ Instead, all I have is:
> />/ 
> />/ pci1:  at device 14.0 (no driver attached)
> />/ 
> />/ When I try to install the bfe module manually, I get:
> />/ 
> />/ # kldload miibus.ko
> />/ interface miibus.1 already present in the KLD 'kernel'!
> />/ kldload: can't load miibus.ko: file exists
> />/ # kldload if_bfe.ko
> />/ module_register: module pci/bfe already exists!
> />/ Module pci/bfe failed to register: 17
> />/ module_register: module bfe/miibus already exists!
> />/ Module bfe/miibus failed to register: 17
> />/ 
> />/ I'm not familiar at all with *BSD drivers stuff so any help will be
> />/ REALLY appreciated ...
> />/ 
> />/ cheers,
> />/ 
> />/ 
> />/ Guillaume
> />/ /
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


ipfw: unknown argument ``not''

2004-08-02 Thread Mark
Dear list,

I try to do the following, as per the ipfw2 manual for FreeBSD 4.9R-p3:

ipfw add deny ip from any to any not verrevpath in

And I get the following error:

ipfw: unknown argument ``not''

What could be the cause of that?

Thanks,

- Mark

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


SOLVED! Re: unknown argument ``not''

2004-08-02 Thread Mark
What a wee RTFM can do. :)

Mark wrote:

> Dear list,
> 
> I try to do the following, as per the ipfw2 manual for FreeBSD 4.9R-p3:
> 
> ipfw add deny ip from any to any not verrevpath in
> 
> And I get the following error:
> 
> ipfw: unknown argument ``not''
> 
> What could be the cause of that?
> 
> Thanks,
> 
> - Mark

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


One OR MORE of source and destination addresses?

2004-08-02 Thread Mark
Color me confused. The ipfw manual says:

limit {src-addr | src-port | dst-addr | dst-port} N
The firewall will only allow N connections with the same set of
parameters as specified in the rule. One or more of source and
destination addresses and ports can be specified.

If "One or more of source and destination addresses and ports can be
specified", then I'd like to limit both the total amount of connections, as
well as per-src. Something like this:

ipfw check-state ipfw add allow tcp from any to me 25 setup limit dst-addr
32 src-addr 8

The error I get is:

"ipfw: only one of keep-state and limit is allowed"

So, how can I specify "One OR MORE of source and destination addresses" in
the rule to achieve this effect?

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-02 Thread Mark
Mark wrote:

> Color me confused. The ipfw manual says:
> 
> limit {src-addr | src-port | dst-addr | dst-port} N
> The firewall will only allow N connections with the same set of
> parameters as specified in the rule. One or more of source and
> destination addresses and ports can be specified.
> 
> If "One or more of source and destination addresses and ports can be
> specified", then I'd like to limit both the total amount of
> connections, as well as per-src. Something like this:
> 
> ipfw check-state ipfw add allow tcp from any to me 25 setup limit dst-addr
> 32 src-addr 8
> 
> The error I get is:
> 
> "ipfw: only one of keep-state and limit is allowed"
> 
> So, how can I specify "One OR MORE of source and destination
> addresses" in the rule to achieve this effect?

Thanks for your reply.

JJB wrote:

> Like the manual says, you can not code both options on single rule. You
> have to make 2 rules out of it.
> 
> state ipfw add allow tcp from any to me 25 setup limit dst-addr 32
> state ipfw add allow tcp from any to me 25 setup limit src-addr 8

Actually, that is what I had already done:

ipfw add 10 check-state ipfw add 11 allow tcp from any to me 25 setup limit
dst-addr 32 ipfw add 12 check-state ipfw add 13 allow tcp from any to me 25
setup limit src-addr 4

But it seems I never get to rule 12/13. All "ipfw show" shows, is activity
on rule 10/11. That is why I figured I made an error somewhere. Does not
rule 11, indeed, function as an 'early-out'? (undesired).

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-02 Thread Mark
[my apologies for the resent; my last reply had an unfortunate wrap]

Mark wrote:

> Color me confused. The ipfw manual says:
> 
> limit {src-addr | src-port | dst-addr | dst-port} N
> The firewall will only allow N connections with the same set of
> parameters as specified in the rule. One or more of source and
> destination addresses and ports can be specified.
> 
> If "One or more of source and destination addresses and ports can be
> specified", then I'd like to limit both the total amount of
> connections, as well as per-src. Something like this:
> 
> ipfw check-state ipfw add allow tcp from any to me 25 setup limit
> dst-addr 32 src-addr 8
> 
> The error I get is:
> 
> "ipfw: only one of keep-state and limit is allowed"
> 
> So, how can I specify "One OR MORE of source and destination
> addresses" in the rule to achieve this effect?

Thanks for your reply.

JJB wrote:

> Like the manual says, you can not code both options on single rule.
> You have to make 2 rules out of it.
> 
> state ipfw add allow tcp from any to me 25 setup limit dst-addr 32
> state ipfw add allow tcp from any to me 25 setup limit src-addr 8

Actually, that is what I had already done:

ipfw add 10 check-state
ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
ipfw add 12 check-state
ipfw add 13 allow tcp from any to me 25 setup limit src-addr 4

But it seems I never get to rule 12/13. All "ipfw show" shows, is activity
on rule 10/11. That is why I figured I made an error somewhere. Does not
rule 11, indeed, function as an 'early-out'? (undesired).

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-02 Thread Mark
JJB wrote:

> Your rules are all wrong. You really need to reread the ipfw manual
> page info. Only one check-state rule is used. Your other check-state
> rule is never matched.

Ok, I got a check-state too many.

> To get meaningful replies you have to post complete information
> about your system configuration with description of your overall
> firewall goals.

The goal is simple: I want to limit connections to port 25 to 32 in total,
targeted at "me". And of those 32, only 4 per source. Like so:

ipfw add 1 check-state
...
ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4

Please, tell me then how "all wrong" this is. Because I *still* get the
impression that rule 12 is never reached. And, so far, "ipfw show" does,
indeed, only show activity on rule 11.

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Mark wrote:

> The goal is simple: I want to limit connections to port 25 to 32 in
> total, targeted at "me". And of those 32, only 4 per source. Like so:
>
> ipfw add 1 check-state
> ...
> ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
> ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
>
> Please, tell me then how "all wrong" this is. Because I *still* get
> the impression that rule 12 is never reached. And, so far, "ipfw
> show" does, indeed, only show activity on rule 11.

If at all possible, I would still like to hear a suggestion as to how to
combine the two rules. From my pov, the first "allow" in rule 11 makes a
packet pass, provided there are less then 32 connections in total. Thus,
rule 12 never gets invoked (which, indeed, seems to be the case).

Someone suggested to me I was at fault for numbering the rules. Quite
frankly, that does not compute to me, as ipfw autonumbers anyway (in default
steps of 100, I believe). Seriously, I do not mind hearing how "all wrong"
my rules are; but, at the same time, I have not heard a proper way of doing
this.

I appreciate suggestions,

- Mark

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


SOLVED! Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

>> Mark wrote:
>> 
>>> The goal is simple: I want to limit connections to port 25 to 32 in
>>> total, targeted at "me". And of those 32, only 4 per source. Like
>>> so: 
>>> 
>>> ipfw add 1 check-state
>>> ...
>>> ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
>>> ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
>>> 
>>> Please, tell me then how "all wrong" this is. Because I *still* get
>>> the impression that rule 12 is never reached. And, so far, "ipfw
>>> show" does, indeed, only show activity on rule 11.
>> 
>> If at all possible, I would still like to hear a suggestion as to
>> how to combine the two rules. From my pov, the first "allow" in rule
>> 11 makes a packet pass, provided there are less then 32 connections
>> in total. Thus, rule 12 never gets invoked (which, indeed, seems to
>> be the case). 
> 
> How about using skipto instead of allow?  Thus, if it passes the
> first one, it can just skipto the next rule to be checked.  i.e.:
> 
> ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
> ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
> 
> Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
> reject as always. The end result is that a packet _must_ pass both
> rules to be allowed.

Thanks!! This does, indeed, exactly what I want. :)

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

> How about using skipto instead of allow?  Thus, if it passes the
> first one, it can just skipto the next rule to be checked.  i.e.:
> 
> ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
> ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
> 
> Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
> reject as always.  The end result is that a packet _must_ pass both
> rules to be allowed.

I spoke too soon. :( It seems this sort of rules evokes a bug:

http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-April/001084.html

My whole console is flooded with messages like these:

"ipfw: install_state: entry already present, done"

Is there a known patch?

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Mark wrote:

> Bill Moran wrote:
>
>> How about using skipto instead of allow?  Thus, if it passes the
>> first one, it can just skipto the next rule to be checked.  i.e.:
>>
>> ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
>> ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
>>
>> Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
>> reject as always.  The end result is that a packet _must_ pass both
>> rules to be allowed.
>
> I spoke too soon. :( It seems this sort of rules evokes a bug:
>
> http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-April/001084.html
>
> My whole console is flooded with messages like these:
>
> "ipfw: install_state: entry already present, done"
>
> Is there a known patch?

I just took a look at the code:

 if (q != NULL) { /* should never occur */
  if (last_log != time_second) {
   last_log = time_second;
   printf("ipfw: install_state: entry already present, done\n");
  }
  return 0;
 }

What if I just hack the "printf ..." line out of there? Would that 'solve'
it? I know it's dirty; but would things still work?

Thanks,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

>>> My whole console is flooded with messages like these:
>>>
>>> "ipfw: install_state: entry already present, done"
>>>
>>> Is there a known patch?
>>
>> I just took a look at the code:
>>
>>  if (q != NULL) { /* should never occur */
>>   if (last_log != time_second) {
>>last_log = time_second;
>>printf("ipfw: install_state: entry already present, done\n");
>>   }
>>   return 0;
>>  }
>>
>> What if I just hack the "printf ..." line out of there? Would that
>> 'solve' it? I know it's dirty; but would things still work?
>
> Theoretically, yes (note that I'm certainly no expert on this chunk of
> code)  My reason for saying yes is:
> 1) The error seems to be that IPFW is trying to add the same stateful
>rule twice ... which means it _did_ get successfully added once.
> 2) When that condition occurs, the function returns 0.  The comment at
>the top of the file states that the function returns 1 on failure,
>so it would appear that this condition is still considered
> successful.

Thank you for taking the time to look into this.

Yes, my reason for thinking "yes" was the same. It seems there are critical
errors, such as "Too many dynamic rules", returning 1, and, say, unexpected
errors, like when trying to create a rule that already exists, returning 0.

Since the rule actually seems to be working (limiting total connection to
32, and only 4 per source), just commenting out the printf statement seems
like a harmless, be it very dirty, "solution".

Indeed, this should probably be fixed; and I will file a PR tonight.

- Mark

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


Re: installation of FreeBSD 4.10 on Dell PowerEdge 650 fails after reboot with mountroot

2004-08-06 Thread Mark
I don't own a dell power edge but I seem to remember another thread with this same 
problem
and I think the problem seemed to be how the dell found the cdrom and harddrives, I 
think
if you look at how the ide/ata cables are run, this may be the problem, but my memory 
is flakky
hope this points you to the right fix.

On Fri, Aug 06, 2004 at 07:21:15PM -0500, Spumonti wrote:
> Just tried installing FreeBSD 4.10 on a Dell PowerEdge 650.   No
> problems with the install, tried creating a partition with
> "dangerously dedicated" and also, just using the entire disk with
> standard bootmanager.
> 
> Each time, after the initial reboot I get an error:
> 
> Mounting root from ufs:ad0s1a
> Root mount failed: 6
> Mounting root from ufs:ad0a
> Root mount failed: 6
> 
> Manual root filesystem specification:
> : Mount  using filesystem 
> eg. ufs:/dev/da0s1a
> ? List valid disk boot devices
>  Abort manual input
> 
> mountroot> 
> 
> I tried:
> 
> mountroot> ufs:/dev/ad4s1a
> 
> but that fails too.
> 
> 
> The disk is a Seagate 120GB and it's actually ad4, not ad0.  If I
> interrupt the boot process at:
> 
> >>FreeBSD/i386 BOOT
> Default: 0:ad(0,a)/kernel
> boot:
> 
> and enter:
> 
> >>FreeBSD/i386 BOOT
> Default: 0:ad(0,a)/kernel
> boot: 0:ad(4,a)/kernel
> 
> the machine will boot properly.   I've tried two things I found while
> checking on this:
> 
> 1.  Adding to loader.conf:
> rootdev="disk4s1a"
> root_disk_unit=0"
> 
> 2.  Rebuilding the kernel and adding:
> optionsROOTDEVNAME=\"ufs:ad4s1a\"
> 
> 
> Neither of which worked.Is there something I'm missing while doing
> the installation?   If I look in  /dev   the devices are there ad4,
> ad4s1, ad4s1a, ad4s1b, etc.
> 
> About at wit's end ... any help would be great.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Only WDMA2?

2004-08-09 Thread Mark
Dear Sirs:

In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system. However, it
only runs at "WDMA2":

Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB  [79656/16/63] at ata0-master WDMA2

WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133 MB/s. The
question is, is there a reason FreeBSD only uses WDMA2 for this device? (it
contains two MAXTOR 40G ATA133 disks, connected to an ATA133 IDE port as
single master).

Second question, subsidiary, can I force a higher mode than WDMA2? (like
UDMA 133).

Much obliged,

- Mark

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


Re: Only WDMA2?

2004-08-09 Thread Mark
> > In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system. However,
> > it only runs at "WDMA2":
> >
> > Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB  > 2.5> [79656/16/63] at ata0-master WDMA2
>
> > WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133 MB/s.
The
> > question is, is there a reason FreeBSD only uses WDMA2 for this device?
> > (it contains two MAXTOR 40G ATA133 disks, connected to an ATA133 IDE
port
> > as single master).
> >
> > Second question, subsidiary, can I force a higher mode than WDMA2? (like
> > UDMA 133).
> >
> > Much obliged,
>
> Check the cable..perhaps you only have a 40-pin cable instead of the
> 80-pin cable you need for higher speeds.

I used an 80-pin cable, alright; and I even switched it out; still, only
WDMA2.

I tried: "/sbin/atacontrol mode 0 UDMA6 XXX"

But to no avail. A speed-test confirms the disasterous throughput:

% dd if=/dev/ad0s1e of=/dev/null bs=64k count=100
100+0 records in
100+0 records out
6553600 bytes transferred in 0.638866 secs (10258177 bytes/sec)

Something is fishy.

- Mark

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


Re: Only WDMA2?

2004-08-09 Thread Mark
Mark wrote:

>>> In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system.
>>> However, it only runs at "WDMA2":
>>>
>>> Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB >> 1000 Rev 2.5> [79656/16/63] at ata0-master WDMA2
>>
>>> WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133
>>> MB/s. The question is, is there a reason FreeBSD only uses WDMA2
>>> for this device? (it contains two MAXTOR 40G ATA133 disks,
>>> connected to an ATA133 IDE port as single master).
>>>
>>> Second question, subsidiary, can I force a higher mode than WDMA2?
>>> (like UDMA 133).


Allow me to give some additional info:

/var/log/dmesg.today:ad0: 39205MB  [79656/16/63]
at ata0-master WDMA2
/var/log/dmesg.today:ad4: 78167MB  [158816/16/63] at
ata2-master UDMA133
/var/log/dmesg.today:acd0: CDROM  at ata1-master PIO4
/var/log/dmesg.today:atapci0:  port
0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem
0xfde0-0xfde03fff irq 10 at device 12.0 on pci0
/var/log/dmesg.today:ata2: at 0xb400 on atapci0
/var/log/dmesg.today:ata3: at 0xa800 on atapci0
/var/log/dmesg.today:atapci1:  port 0xfc00-0xfc0f
at device 15.1 on pci0
/var/log/dmesg.today:ata0: at 0x1f0 irq 14 on atapci1
/var/log/dmesg.today:ata1: at 0x170 irq 15 on atapci1

This is on a ASUS K8V Deluxe board.

Thanks,

- Mark

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


Fw: Only WDMA2?

2004-08-09 Thread Mark
> Mark wrote:
>
>>>> In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system.
>>>> However, it only runs at "WDMA2":
>>>>
>>>> Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB >>> 1000 Rev 2.5> [79656/16/63] at ata0-master WDMA2
>>>
>>>> WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133
>>>> MB/s. The question is, is there a reason FreeBSD only uses WDMA2
>>>> for this device? (it contains two MAXTOR 40G ATA133 disks,
>>>> connected to an ATA133 IDE port as single master).
>>>>
>>>> Second question, subsidiary, can I force a higher mode than WDMA2?
>>>> (like UDMA 133).
>
>
> Allow me to give some additional info:
>
> /var/log/dmesg.today:ad0: 39205MB 
> [79656/16/63] at ata0-master WDMA2
> /var/log/dmesg.today:ad4: 78167MB  [158816/16/63] at
> ata2-master UDMA133
> /var/log/dmesg.today:acd0: CDROM  at ata1-master PIO4
> /var/log/dmesg.today:atapci0:  port
> 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407
> mem 0xfde0-0xfde03fff irq 10 at device 12.0 on pci0
> /var/log/dmesg.today:ata2: at 0xb400 on atapci0
> /var/log/dmesg.today:ata3: at 0xa800 on atapci0
> /var/log/dmesg.today:atapci1:  port
> 0xfc00-0xfc0f at device 15.1 on pci0
> /var/log/dmesg.today:ata0: at 0x1f0 irq 14 on atapci1
> /var/log/dmesg.today:ata1: at 0x170 irq 15 on atapci1
>
> This is on a ASUS K8V Deluxe board.

It may be the case that FreeBSD 4.9R cannot use ATA 133 on the VIA 8237. I
saw 8.10 *does* support the via 8237. I'm unclear as to whether it also
supports the ATA 133 modes (hardware notes say: VIA 8237 SATA150).

Is there a way I can just upgrade the ata driver, without going all the way
to 8.10? I really cannot continue with using WDMA2 on 16 MB/s. That is about
ten times as slow as it can be!

I appreciate the help,

- Mark

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


"make/install buildworld" without Perl being reinstalled?

2004-08-10 Thread Mark
Dear Sirs:

Is there a way I can do a "make/install buildworld" without Perl being
reinstalled? Not that I want it gone, I just want it to remain totally
untouched.

I think I am going to give an upgrade to 8.10R a try (reluctantly), from
4.9R; but I cannot afford to have my rather comprehensive Perl modules
messed with/deleted/upgraded/whatever. In fact, I rather not do a
"make/install buildworld" at all. That is, I rather not have any userland
program touched, like sendmail, etc. Basically, I just want to upgrade the
kernel (and use the upgraded ata(4) driver, to have support for the VIA
8237).

I came up with the following supfile:

*default host=cvsup.uk.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4_10
*default delete use-rel-suffix
*default compress
src-all

Will this do what I want?

Thanks,

- Mark

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


linking

2004-08-10 Thread Mark
My /usr has grown short of room, so noobie question, will " ln -s /muz/newusr /usr" 
allow the system to use the new space or must I do something else?? This is a 5.2rc1 
box in need of updating. =) 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linking

2004-08-10 Thread Mark
Thanks for the help.

now for a buildworld. 

On Tue, Aug 10, 2004 at 02:37:10PM -0400, Gary Mulder wrote:
> 
> >
> >Say you want to move /usr/local to live in /muz, where you have scads of
> >space.   Do the following.
> >  (I have my own naming convention that helps me keep track of things
> >   you can name things as you like - but try to be mnemonic).
> 
> or alternatively do (and preferably from single user mode, with a "mount 
> -a" to mount all of the fs):
> 
> cd /usr
> tar cf - ./local | (cd /muz; tar xf -)
> find ./local -type f -exec cksum {} \; > /var/tmp/cksums_usr
> cd /muz
> find ./local -type f -exec cksum {} \; > /var/tmp/cksums_muz
> diff /var/tmp/cksums_*
> 
> (the cksum output files should be identical...)
> 
> rm -r /usr/local
> ln -s /muz/local /usr/local
> 
> Gary
> 
> 
> 
> --
> Gary Mulder   
> Info Tech, Inc.
> 5700 SW 34th Street, Suite 1235 Phone: (352) 381-4400
> Gainesville, FL 32608 Fax: (352) 381-

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


Re: sendmail- 8.13.1 installation failing from /usr/ports

2004-08-11 Thread Mark
Noah wrote:

> sendmail-8.13.1 installation failing
> freeBSD-4.9
>
> well I deinstalled postfix and now trying to reinstall the
> sendmail-sasl version on the box again and its failing.
>
> -- snip ---
> ../t-shm
> shminit failed: File exists
> 1..bad! t-shm.c:181 cnt <= MAX_CNT
> add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
> and start over.
> 1 of 2 tests completed successfully
> *** 1 error in test! ***
> 1..bad! t-shm.c:252 r == 0
> add -DSM_CONF_SHM=0 to confENVDEF in devtools/Site/site.config.m4
> and start over.
> 0 of 1 tests completed successfully
> *** 1 error in test! ***
> *** Error code 1
> --- snip ---
>
> any clues please?

Since sendmail 8.13.1 is essentially the same (installation-wise) as 8.13.0,
I just used the 8.13.0 port install to compile 8.13.1 (re-tarred the .tar.gz
file), as soon as 8.13.1 came out. Not ideal, perhaps, but it worked nicely.

- Mark

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


Re: How to disable UDMA for HDD?

2004-08-11 Thread Mark
Matt H wrote:

> On Tue, 10 Aug 2004 09:08:29 +0200, Stevan Tiefert
> <[EMAIL PROTECTED]> wrote:
> 
>> set hw.ata.ata_dma="0"
>>
>> Now it is possible to install FreeBSD!
>>
>> Thanks very much!
>>
>>
>> Mr.
>> Stevan Tiefert
>
> Is there a way to disable DMA for a single hard drive, instead of all
> IDE devices?

How about this: "/sbin/atacontrol mode 0 PIO4 XXX"? (if you want UDMA
disabled on the master at channel 0).

- Mark

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


system insists it's up to date (xpm woes)

2004-12-18 Thread Mark
Hi, I'm having a bit of trouble with ports and packages:

# cd /usr/ports/graphics/xpdf/
# make install clean distclean
===>   xpdf-3.00_4 depends on executable: freetype-config - found
===>   xpdf-3.00_4 depends on executable: gmake - found
===>   xpdf-3.00_4 depends on file: /usr/local/bin/autoconf259 - found
===>   xpdf-3.00_4 depends on shared library: t1.5 - found
===>   xpdf-3.00_4 depends on shared library: freetype.9 - found
===>   xpdf-3.00_4 depends on shared library: Xm.3 - not found
===>Verifying install for Xm.3 in /usr/ports/x11-toolkits/open-motif
===>  open-motif-2.2.3 has known vulnerabilities:
=> xpm -- image decoding vulnerabilities.
   Reference: 
<http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html>
=> Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1

Stop in /usr/ports/graphics/xpdf.

---

Right, ok, that's fair enough. So:

# cd /usr/ports/x11/libXpm/
# make install clean distclean


===>   libXpm-3.5.1_1 depends on file: /usr/X11R6/libdata/pkgconfig/xproto.pc - 
not found
===>Verifying install for /usr/X11R6/libdata/pkgconfig/xproto.pc in 
/usr/ports/x11/xproto
===>  Extracting for xproto-6.6.2
=> Checksum OK for xproto-6.6.2.tar.bz2.
===>  Patching for xproto-6.6.2
===>   xproto-6.6.2 depends on executable: gmake - found
===>  Configuring for xproto-6.6.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xproto.pc
===>  Installing for xproto-6.6.2

===>  xproto-6.6.2 conflicts with installed package(s): 
  xorg-libraries-6.7.0_3

They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/x11/xproto.
*** Error code 1

Stop in /usr/ports/x11/libXpm.

-

Ah. So basically libXpm is part of xorg? I didn't install Xorg via the
ports system but via sysinstall when I first installed FreeBSD...

# pkg_version http://www.FreeBSD.org/ports/INDEX-5

xorg-clients=
xorg-fonts-100dpi   =
xorg-fonts-75dpi=
xorg-fonts-cyrillic =
xorg-fonts-encodings=
xorg-fonts-miscbitmaps  =
xorg-fonts-truetype =
xorg-fonts-type1=
xorg-fontserver =
xorg-libraries  =
xorg-manpages   =
xorg-server =

Now please correct me if I'm in the wrong ballpark entirely, but my
system seems to think it's both current and not at the same time.

The last update of xorg apparently fixed the issue, and apparently that's
the version I'm using:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/xorg-libraries/

Could someone please dispel my confusion or at least slap me about a
bit until I get it?

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


Re: system insists it's up to date (xpm woes)

2004-12-18 Thread Mark
Just to clarify, the ports tree was cvsup'd about
fifteen minutes ago and the same goes for portupgrade/etc.

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


xpdf/openmotif/xpm

2004-12-21 Thread Mark
Has anyone managed to install xpdf from ports? I have cvsup'd my ports
tree and grabbed the latest portaudit database, however:

# cd /usr/ports/graphics/xpdf
# make install clean distclean
=> xpdf-3.00.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.foolabs.com/pub/xpdf/.
xpdf-3.00.tar.gz  100% of  522 kB   53 kBps
===>  Extracting for xpdf-3.00_4
=> Checksum OK for xpdf-3.00.tar.gz.
===>  Patching for xpdf-3.00_4
===>  Applying FreeBSD patches for xpdf-3.00_4
===>   xpdf-3.00_4 depends on executable: freetype-config - found
===>   xpdf-3.00_4 depends on executable: gmake - found
===>   xpdf-3.00_4 depends on file: /usr/local/bin/autoconf259 - found
===>   xpdf-3.00_4 depends on shared library: t1.5 - found
===>   xpdf-3.00_4 depends on shared library: freetype.9 - found
===>   xpdf-3.00_4 depends on shared library: Xm.3 - not found
===>Verifying install for Xm.3 in /usr/ports/x11-toolkits/open-motif
===>  open-motif-2.2.3 has known vulnerabilities:
=> xpm -- image decoding vulnerabilities.
   Reference: 
<http://www.FreeBSD.org/ports/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html>
=> Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1

Stop in /usr/ports/graphics/xpdf.

According to the appropriate pages at freebsd.org/ports, all problems
have been fixed. My system seems to think otherwise. Can anyone
suggest a course of action?

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


Re: xpdf/openmotif/xpm

2004-12-21 Thread Mark
On Tue, Dec 21, 2004 at 03:49:38PM -0800, Kris Kennaway wrote:
> What pages?  I don't see any evidence of a commit to openmotif that
> fixes this problem.  If this is the case, you need to talk to the
> openmotif developers to find out about the status of this
> vulnerability.

Ah, oops. Seems I was looking at the wrong openmotif (linux-openmotif).
I'll contact the developers directly.

Thanks,
mark

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


Xorg & xdm & securelevels

2004-12-22 Thread Mark
Hello.

I realise this may have been covered before and that this may not
be the correct list (freebsd-x11 seemed to be more about developement
rather than configuration) but anyway:

I would like to push my securelevel up to 1 in order to better enforce
my security policy (protecting chflags, kernel modules etc) but this
of course would break Xorg as it requires access to /dev/io. I've
heard that it's possible to run Xorg via xdm whilst the system is
booting at securelevel 0 and have the securelevel raised afterwards,
effectively allowing X to live in a securelevel > 0 environment.

How painful is this to implement? Am I likely to run into any
major problems?

I've also heard that it's possible to remove the SUID bit from X
by using xdm, but that's probably for another thread...

Any comments, advice, pointers to articles or screams of distaste
are welcomed.

Mark 

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


Re: FreeBSD's Visual Identity: Outdated?

2004-12-23 Thread Mark
I'd be willing to contribute. I've had quite a bit of
free time lately.

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


Re: WinTV Radio - CORRECTED

2004-12-23 Thread Mark
On Wed, Dec 22, 2004 at 11:43:42PM -0600, Robert Small wrote:
> My apologies, I was trying new mail software and had it misconfigured:
> 
> 
> I just purchased a WinTV Radio card, and I can't get the bktr driver to
> load.
> 
> My kernel:
> device  bktr
> device  iicbus
> device  iicbb
> device  smbus
> 
> I've even tried it with:
> options BKTR_NEW_MSP34XX_DRIVER
> 
> sysctl -a | grep bt shows:
> hw.bt848.card: -1
> hw.bt848.tuner: -1
> hw.bt848.reverse_mute: -1
> hw.bt848.format: -1
> hw.bt848.slow_msp_audio: -1
> hw.bt848.stereo_once: 0
> hw.bt848.amsound: 0
> hw.bt848.dolby: 0
> 
> pciconf -lv:
> [EMAIL PROTECTED]:7:0: class=0x04 card=0x34010070 chip=0x880014f1 rev=0x05
> hdr=0x00vendor   = 'Conexant Systems, Inc'
>device   = 'CX2388x TV Capture Card'
>class= multimedia
>subclass = video
> [EMAIL PROTECTED]:7:1: class=0x048000 card=0x34010070 chip=0x880114f1 rev=0x05
> hdr=0x00vendor   = 'Conexant Systems, Inc'
>device   = 'CX2388x TV Capture Card'
>class= multimedia
> 
> Any suggestions/advice?
> 
> Please cc me as I'm not subscribed to this list.
> 
> Thanks!!
> 
> Robert
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"

Try looking into this, I am in the same boat as you, same chipset, I'm not 
giving up yet!

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=40967+0+archive/2004/freebsd-multimedia/20040321.freebsd-multimedia

Good luck.


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


Re: FreeBSD's Visual Identity: Outdated?

2004-12-24 Thread Mark
> Who me?, no, I just use wiki's for my sites and edit the templates, I'm 
> to lazy to do it any other way as It's a pain in the ass to keep an html 
> site updated.

I've kept quiet up until now but I'm afraid I have to step in and
respectfully disagree here. If a site is hard to update, that indicates
poor design and lack of forethought rather than anything else.

XHTML, CSS and a little bit of PHP or Perl are all that is needed to
create a clean, beautiful and above all, maintainable site.

As a nice example, take a look at this site to see how minimal and 
readable XHTML can be if done properly (look at the source):

http://www.csszengarden.com/

Plain HTML is often mistakenly viewed as simpler and easier but that
couldn't be further from the truth. A combination of XHTML and CSS
allows you to seperate formatting from page arrangement and make
your life much easier. :)

Have a good christmas, list. :)
Mark

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


Freebsd non-profit stat OT

2004-12-25 Thread Mark
I was looking at the bsd site and noticed the Quarterly Report was out, and in 
this report
it states we are in danger of losing the non-profit status. Please read this 
report.

http://www.freebsdfoundation.org/press/20041221-newsletter.shtml

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


Re: linux-gtk2 fonts problem

2004-12-27 Thread Mark
> Hello all,
> I was wondering if anyone has a clue on how change the fonts behaviour
> in linux-gtk2 applications (in my case realplayer 10). I'm not able to
> affect this through .gtkrc-2.0 or /compat/linux/usr/share/themes/*
> changes!
> Thanx a lot!

I think you're probably looking for:

/usr/ports/x11/gtk-theme-switch
/usr/ports/x11/gtk2-theme-switch

Don't be mislead by the name, it also allows theme-independent font 
selection.

regards,
Mark 

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


Re: Cheap NAS using FreeBSD - practical considerations?

2004-12-29 Thread Mark
> That's something :-) I only built a separate FreeBSD file-server because 
> I have to run Windows on my PC and I can't trust M$ software with 700Gb+ 
> of data. However, some people store many terabytes with Windows Storage 
> Server - and look what happened in UK a few weeks ago :-)

What happened a few weeks ago?

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


Re: FreeBSD server(s) to backup multi-platform systems remotely

2004-12-30 Thread Mark
On Thu, Dec 30, 2004 at 11:55:18AM -0500, Danny wrote:
> On Thu, 30 Dec 2004 08:31:34 -0800 (PST), Dave McCammon
> <[EMAIL PROTECTED]> wrote:
> > I haven't caught all of this thread but I'll share
> > what I do.
> > I use rsync to sync file to a server for backup.
> > 6 FreeBSD and one Win2K which have been set up to
> > rsync at different times in the morning hours.
> 
> Any of this communcation/transfer encrypted or compressed? What type
> of backup would you compare your solution to -- incremental,
> differential, full, etc.?
> 
> How many GB's you transfer?
> 
> > On the Win2k machine, I have cygwin running that I use
> > to rsync the data over every night. I think there is
> > rsync for windows but I liked the command line
> > capabilities that cygwin gives me.
> > All use ssh in the rsync.
> [...]
> 
> How do you restore files?
> 
> 
> ...D
> ___


Thats the rub with windows, or I think so, you can back it up 
but getting it to reload is the big if.

I've restored a few programs from a backup, they run but they appear as
bastar* exe, not in the reg. but will run without errors.

If you load fresh you lose updated stuff, database index is not right for 
the updated program. Sorry just a personal rant.

No such thing as a perfect backup yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Music on Hold via FreeBSD Server

2004-12-30 Thread Mark
On Thu, Dec 30, 2004 at 03:41:38PM -0500, WMC wrote:
> Greetings,
> 
> I have an existing FreeBSD 5.x server I'm trying to use to feed music or 
> announcements on-hold into our phone system (yeah - I know the legalities 
> of using copyrighted stuff.)
> 
> I installed a sound card, wired it up, and hacked together a simple little 
> script to run the mpg123 package to continuously playback a few mp3 files.
> 
> Couple questions:
> * What command-line program would you suggest for playing uncompressed 
> audio files in this scenario?  There are hundreds of entries in Ports,  and 
> I'd rather not spend a month trying them all.
> 
> * Has anyone else done something similar to this, and would you care to 
> share a script to keep it running continuously?
> 
> -Thanks,
>  Wayne
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"

 I run a headless jukebox using musicpd and ncmpc, runs on older equipment, 
just ssh
into it for control and updates, nice random repete mode with fade into next 
song.
really makes a nice setup.

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


Re: Supermicro Hardware and FreeBSD

2005-01-05 Thread Mark
> I, for one, am humbled by the BSD teams... 

I have come out of hibernation early in order to agree
with all of the above points.

Back to bed for me, Good night.

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


Uptime?

2005-01-05 Thread Mark
I realise this may be the wrong list to post to, but it *is*
a question and it *is* about FreeBSD... :)

http://uptime.netcraft.com/up/today/top.avg.html

So, we know BSD is capable of stupidly high uptime, but what
I'd like to know is how? I mean, we all have to patch things
now and again, recompile kernels etc. Does this mean these
sites are running thousand-day-old unpatched kernels, or is
there some black magic going on that I don't know about?

I await your theories... :)

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


make installworld - permission denied

2005-01-05 Thread Mark
Urgh, it was all going so well. I suppose it had to happen:

I did as the hallowed handbook commanded:

#make buildworld
#make buildkernel KERNCONF=L004
#make installkernel

I rebooted into single user mode:

#mount -a
#cd /usr/src
#mergemaster -p
#make installworld
(setting of variables omitted, i'm typing from the screen!)
/tmp/install. make -f Makefile.inc1 reinstall
make: Permission denied

***Error code 126
Stop in /usr/src

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

Any ideas? AFAIK my permissions are still at their defaults.

Apologies for any major errors I may have unwittingly made,
this is my first buildworld. Please tell me my setup is NOT
ruined, it still had that two-week-old-fresh-install feel to
it and I had everything just how I like it.

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


Re: make installworld - permission denied

2005-01-05 Thread Mark
> > #make buildworld
> > #make buildkernel KERNCONF=L004
> > #make installkernel
> 
> This step should have been:
>   make installkernel KERNCONF=L004

Sorry, that was a typo on my part. I did in fact run the command you
suggested.

> Why don't you use "shutdown now" instead, that way your put into single 
> user mode with things already mounted. Just accept the standard 
> location of sh, cd into /usr/src and you can finish up.

Is it too late for that d'you think? I'm basically moving from
5.3 RELEASE-p2 to p3, will my userland be stable enough to start afresh?

> > #mount -a
> > #cd /usr/src
> > #mergemaster -p
> > #make installworld
> 
> 
> > (setting of variables omitted, i'm typing from the screen!)
> > /tmp/install. make -f Makefile.inc1 reinstall
> 
> This is something I don't think I've ever seen. Where does it say to do 
> this. I think this is a big problem and once more I would suggest 
> following /usr/src/UPDATING.

I think you may have misunderstood, the /tmp* line is output from the
makefile, not a command that I have typed.

I have rebooted to clear my head (and /tmp amongst other things) 
and mounted my partitions (as Joshua suggested) but I still get
the same 'permission denied' error.

Upon re-checking /usr/src/UPDATING, I've confirmed that it describes
the process I am performing to the letter.

I'm at a loss currently.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make installworld - permission denied

2005-01-05 Thread Mark
> kern.securelevel?

kern.securelevel = 0 

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


make installworld - permission denied

2005-01-06 Thread Mark

> Do you have /tmp setup so that it is "no exec"?

> cat /etc/fstab

I think you may have both stumbled onto the cause of the
problem. :)

/dev/ad3s1e  /tmpufs   rw,noexec,nosuid,nodev,nosymfollow

I didn't realise that non-exec /tmp was a no-no. I'll try
a rebuild tonight, the system seems stable enough for now,
I don't think anything was touched apart from the kernel.

Thanks for your help, and I'll see you in eight hours
when everything comes to a shuddering halt...  :)

Mark

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


Re: Freebsd 5.3 Performance

2005-01-09 Thread Mark
> FreeBSD will run for years without a boot in many cases.

Ah, this point fascinates me. Running for years? Do you ever have
to recompile your kernel? :)

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


RE: I quit

2005-01-09 Thread Mark
> The ISO images that you download over the Internet are for techies
> who WANT to learn how the system really works "underneith".  They
> LIKE IT when things break down because how do you learn anything
> if you don't have to fix a few problems?

I can definitely see this. I run five or six small servers at home
to provide a few services for the house and friends nearby. They
run a mixture of Open+FreeBSD. I spent a good week taking the system
apart, removing things, tweaking scripts etc. On the eigth day,
they were all running nicely and locked up tighter than a ducks
arse. I was left twiddling my thumbs. I contemplated logging into
a few of them and typing random commands as root so I might have
something to fix.

I suggest you run your machine with a precariously balanaced glass
of orange juice on it at all times. It will lessen the chances of
you being afflicted with this terrible, and above all, dull,
syndrome.

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


mod_ph4

2005-01-15 Thread Mark
I just recompiled mod_php4 (4.3.10) for Apache 1.3.x on
FreeBSD 4.10R. But all options are gone from the Makefile!
It used to be I got this nice menu, giving me every option
to compile extra stuff in; but that is completely gone now!
How do I get it back??

Thanks,

- Mark

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


RE: mod_ph4

2005-01-15 Thread Mark
> -Original Message-
> From: Mark [mailto:[EMAIL PROTECTED] 
> Sent: zaterdag 15 januari 2005 22:12
> To: freebsd-questions@freebsd.org
> Subject: mod_ph4
> 
> I just recompiled mod_php4 (4.3.10) for Apache 1.3.x on
> FreeBSD 4.10R. But all options are gone from the Makefile!
> It used to be I got this nice menu, giving me every option
> to compile extra stuff in; but that is completely gone now!
> How do I get it back??

Ok, I found /ports/lang/php4-extensions. Great! Except,
it will not compile anything! How do I get this meta thingy
to compile at all? Sigh. The old php4 install was working just fine;
now it is all messed up. :(

- Mark

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


RE: mod_ph4

2005-01-15 Thread Mark
> -Original Message-
> From: Daniel S. Haischt [mailto:[EMAIL PROTECTED] 
> Sent: zaterdag 15 januari 2005 23:27
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mod_ph4
> 
> did you type 'make config' just within the
> /ports/lang/php4-extensions directory?
> 
> You should get a menu where you can
> select/deselect various compile options ...

Yes, I did that. After I selected the options,
the make just exits, but does not start a compile. :(

- Mark

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


RE: mod_ph4

2005-01-15 Thread Mark
> -Original Message-
> From: Daniel S. Haischt [mailto:[EMAIL PROTECTED] 
> Sent: zaterdag 15 januari 2005 23:48
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mod_ph4
> 
> This is the complete sequence:
> 
> make config && make install (dist)clean
> 
> Did you type make install etc. after make config?

Yes, I did all those things; but I get errors all over the place:

-
% make install
===>  Installing for php4-extensions-1.0
===>   php4-extensions-1.0 depends on file:
/usr/local/include/php/main/php.h - found
===>   php4-extensions-1.0 depends on file:
/usr/local/lib/php/20020429/bz2.so - not found
===>Verifying install for /usr/local/lib/php/20020429/bz2.so in
/usr/ports/archivers/php4-bz2
===>  Vulnerability check disabled
===>  Extracting for php4-bz2-4.3.10_1
>> Checksum OK for php-4.3.10.tar.bz2.
===>  Patching for php4-bz2-4.3.10_1
===>   php4-bz2-4.3.10_1 depends on executable: phpize - found
===>   php4-bz2-4.3.10_1 depends on file: /usr/local/bin/automake - not
found
===>Verifying install for /usr/local/bin/automake in
/usr/ports/devel/automake
 >> No directory for /usr/local/bin/automake.  Skipping..
===>   php4-bz2-4.3.10_1 depends on file: /usr/local/bin/autoconf - not
found
===>Verifying install for /usr/local/bin/autoconf in
/usr/ports/devel/autoconf
 >> No directory for /usr/local/bin/autoconf.  Skipping..
===>   php4-bz2-4.3.10_1 depends on file:
/usr/local/libexec/libtool13/libtool - found
===>  PHPizing for php4-bz2-4.3.10_1
aclocal15: not found
*** Error code 1

Stop in /usr/ports/archivers/php4-bz2.
*** Error code 1
-

Thanks,

- Mark

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


RE: mod_ph4

2005-01-15 Thread Mark
> -Original Message-
> From: Daniel S. Haischt [mailto:[EMAIL PROTECTED] 
> Sent: zondag 16 januari 2005 0:10
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mod_ph4
> 
> btw, try to install the autoconf/automake
> ports first before php4.
> 
> Is this your first port that you are installing
> on your system? I am wondering because the auto
> tools are missing ...

Nope, installed zillion of packages. :) automake + autoconf indeed
seem to be missing. Or rather, they are in different locations
(like /usr/local/libexec/autoconf259/autoconf). Ok, so I made a few
symlinks, and now I get this:

% make install
===>  Vulnerability check disabled
===>  Found saved configuration for php4-extensions-1.0
===>  Extracting for php4-extensions-1.0
===>  Patching for php4-extensions-1.0
===>  Configuring for php4-extensions-1.0
===>  Installing for php4-extensions-1.0
===>   php4-extensions-1.0 depends on file:
/usr/local/include/php/main/php.h - found
===>   php4-extensions-1.0 depends on file:
/usr/local/lib/php/20020429/bz2.so - not found
===>Verifying install for /usr/local/lib/php/20020429/bz2.so in
/usr/ports/archivers/php4-bz2
===>  Vulnerability check disabled
===>  Extracting for php4-bz2-4.3.10_1
>> Checksum OK for php-4.3.10.tar.bz2.
===>  Patching for php4-bz2-4.3.10_1
===>   php4-bz2-4.3.10_1 depends on executable: phpize - found
===>   php4-bz2-4.3.10_1 depends on file: /usr/local/bin/automake - found
===>   php4-bz2-4.3.10_1 depends on file: /usr/local/bin/autoconf - found
===>   php4-bz2-4.3.10_1 depends on file:
/usr/local/libexec/libtool13/libtool - found
===>  PHPizing for php4-bz2-4.3.10_1
aclocal15: not found
*** Error code 1

Stop in /backup/ports/archivers/php4-bz2.
*** Error code 1

Stop in /backup/ports/lang/php4-extensions.

Thanks,

- Mark

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


SOLVED (was RE: mod_ph4)

2005-01-15 Thread Mark
> -Original Message-
> From: Daniel S. Haischt [mailto:[EMAIL PROTECTED] 
> Sent: zondag 16 januari 2005 0:10
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mod_ph4
> 
> btw, try to install the autoconf/automake
> ports first before php4.

All is well again. :) For some bizarre reason my bsd.port.mk
had become corrupted. No wonder nothing worked. Now
everything compiled smoothly again. :)

Thanks for the help,

- Mark

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


PHP 4.3.10 bug?

2005-01-18 Thread Mark
Dear people,

I recently saw PHP 4.3.10 bug:

http://bugs.php.net/bug.php?id=31332

That thread is closed, unfortunately. I would like to know,
though, how long execution of the mentioned reproduction
code is supposed to take? On my system, it took:
0.44177293777466 seconds. Does that mean I am affected too?

I run FreeBSD 4.10R, with PHP 4.3.10.

Thanks,

- Mark

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


RE: PHP 4.3.10 bug?

2005-01-19 Thread Mark
 -Original Message-
> From: Jorn Argelo [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 19 januari 2005 10:34
> To: Mark; freebsd-questions@freebsd.org
> Subject: Re: PHP 4.3.10 bug?
> 
> On Wed, 19 Jan 2005 02:21:10 GMT, Mark wrote
>
> > Dear people,
> > 
> > I recently saw PHP 4.3.10 bug:
> > 
> > http://bugs.php.net/bug.php?id=31332
> > 
> > That thread is closed, unfortunately. I would like to know,
> > though, how long execution of the mentioned reproduction
> > code is supposed to take? On my system, it took:
> > 0.44177293777466 seconds. Does that mean I am affected too?
> > 
> > I run FreeBSD 4.10R, with PHP 4.3.10.
> > 
> > Thanks,
> 
> Why don't you ask your question to the PHP folks?

Because I will need a FreeBSD port/patch. :)

I ran the test old an old Vmware box (PHP 4.3.9), and, indeed, I
have the bug; the query took:

0.0254358959198

seconds on my old PHP. :(

Since this unserialize bug makes PHP perform ~ 20x slower on unserialize,
I strongly urge the maintainer of PHP to either provide a port patch, or
a new port altogether. This really needs solving, fast!

- Mark

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


RE: PHP 4.3.10 bug?

2005-01-19 Thread Mark
> -Original Message-
> From: Alex Dupre [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 19 januari 2005 17:17
> To: Mark
> Cc: freebsd-questions@FreeBSD.org
> Subject: Re: PHP 4.3.10 bug?
> 
> Mark wrote:
> > Since this unserialize bug makes PHP perform ~ 20x slower 
> > on unserialize, I strongly urge the maintainer of PHP to either
> > provide a port patch, or a new port altogether.
> > This really needs solving, fast!
> 
> Fixed.

Thank you!! I really appreciate the speed at which you did this!

- Mark

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


RE: pdflib for php

2005-01-20 Thread Mark
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Thanos Tsouanas
> Sent: donderdag 20 januari 2005 11:31
> To: FreeBSD questions
> Subject: Re: pdflib for php
> 
> ===>   pecl-pdflib-2.0.4 depends on shared library: pdf.7 - not found
> ===>Verifying install for pdf.7 in /usr/ports/print/pdflib
> ===>  pdflib-6.0.1 is forbidden: 
> http://vuxml.freebsd.org/fc7e6a42-6012-11d9-a9e7-0001020eed82.html.
> 
> Yes this one:  just follow the link.  (pretty obvious ;))
> 
> If you insist in installing the port, 'un' break it manually.

I just installed PHP 4.3.10 myself (FreeBSD 4.10R), and it never
complained about pdflib-6.0.1 being forbidden. This is not good. :(

I just looked at my phpinfo output, and it says:

PDFlib GmbH Version 6.0.1
PECL Version 2.0.3

I only installed the entire new ports.tar.gz a few days ago. Why would
this occur?

Thanks,

- Mark

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


RE: pdflib for php

2005-01-20 Thread Mark
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Chris Hodgins
> Sent: donderdag 20 januari 2005 15:19
> To: Matthew Seaman
> Cc: freebsd-questions@freebsd.org
> Subject: Re: pdflib for php
> 
> Thanks.  That was very informative. :)

I still do not know how to upgrade to libpdf.7 yet.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/pdflib/

Does not contain an upgrade/fix yet. :(

- Mark

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


RE: pdflib for php

2005-01-20 Thread Mark
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Matthew Seaman
> Sent: donderdag 20 januari 2005 15:15
> To: Chris Hodgins
> Cc: freebsd-questions@freebsd.org
> Subject: Re: pdflib for php
> 
> Yes -- it's just waiting for the maintainer to provide an update.

There is a very simple patch for this, at:

http://www.idefense.com/application/poi/display?id=174&type=vulnerabilities&;
flashstatus=true

And I applied it, and it works great. No need to disable my
whole pdf functionality. :)

- Mark

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


RE: Setting hostname - fake and real

2005-03-09 Thread Mark

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ben Paley
> Sent: woensdag 9 maart 2005 9:41
> To: Luke Kearney
> Cc: FreeBSD Questions
> Subject: Re: Setting hostname - fake and real
> 
> 
> On Wednesday 09 March 2005 08:20, Luke Kearney wrote:
> 
> > Hello Ben
> > Sounds like you might need some DNS magic here. I am not 
> entirely sure I
> > understand why you would want to use fake dns names.
> 
> I don't especially want to use a fake name, I just don't have 
> a real one to use... the machine I'm talking about is my home
> machine with dynamic IP

Why not simply add an entry to /etc/hosts? Like I do to get a
pretty name for logins from my XP machine:

192.168.0.6my-xp-machine.org

- Mark

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


Auth.log date issue?

2005-03-09 Thread Mark

Running FreeBSD 4.10, today I saw this in my log:

asarian-host.net login failures:
Mar  8 22:11:20 asarian-host sshd[32810]: Failed password for asarian from
192.168.0.8 port 3535 ssh2
Mar  8 22:11:36 asarian-host sshd[32812]: Failed password for asarian from
192.168.0.8 port 3536 ssh2
Mar  8 22:11:39 asarian-host sshd[32814]: Failed password for asarian from
192.168.0.8 port 3537 ssh2

Which is curious, as the IP address no longer has a machine on it. Then I
checked, and after a while I suddenly noticed /var/log/auth.log was dated
March 8, 2004! Apparently, the security script just checks the date, but
not the year? Is it supposed to work this way? It gave me a good scare,
all for nothing. :)

Thanks,

- Mark

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


RE: Adaptec AAC raid support

2005-03-20 Thread Mark

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Charles Swiger
> Sent: zondag 20 maart 2005 17:18
> To: Adam
> Cc: [EMAIL PROTECTED]; freebsd list; Theo de Raadt
> Subject: Re: Adaptec AAC raid support
>
>
> I'd bet a dollar to a donut that LSI, Promise, 3ware, and other
> vendors of RAID hardware also have NDA agreements which would prevent
> those companies from making every single internal document available
> to the public.



Nobody ever asked they make 'every single internal document available to
the public'. That is your own strawman. People do ask, however, that
Adaptec makes enough documentation available to know when what commands
to set to the chipset, and when to expect what to be returned. Especially if
they
themselves have not solved all bugs

> Let's pretend you're right, just for the sake of argument.
> Let's say that Adaptec could release all of their docs.

Same deal; nobody ever asked they release 'all of their docs'. That is
just your own twist.

> Besides, I'm quite sure you're wrong: Adaptec wants me and other
> potential customers to buy their products, just as any other hardware
> vendor would.

In that case, Adaptec better get their act together. But I can assure
you, and your Adaptec buddies, that, having followed this crazy discussion
for too long, that I will never ever hereafter advise my boss to buy
Adaptec any more. Not that they will feel the pinch, as I am just a small
fish; but their attitude stinks up to high heaven. And yours too, I might
add.

> Children learn to accept "no" in the process of growing up.

News-flash: sometimes the customer says 'no' too; I hope they are grown-up
enough to deal with that reality, too. :)

> They learn
> to deal with the world not giving them anything and everything the
> child might demand, the moment it is demanded.

And if you want children to play with your toys, then you should tell them
how they work! Otherwise, pretty soon you'll be sitting there all alone,
with your big box of hardware, and all kids shunning you like the plague.



- Mark

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


Where is zlib-1.2.2 zlib.so?

2005-03-21 Thread Mark

Ok, I downloaded and installed zlib-1.2.2 (FreeBSD 4.10R):

-
asarian-host: {root} % make install
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.a /usr/local/lib
cd /usr/local/lib; chmod 755 libz.a
cd /usr/local/lib; if test -f libz.so.1.2.2; then  rm -f libz.so libz.so.1;
ln -s libz.so.1.2.2 libz.so;  ln -s libz.so.1.2.2 libz.so.1;  (ldconfig ||
true)  >/dev/null 2>&1;  fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3

asarian-host: {root} % find /usr/ -name "libz.*" | xargs ls -la
-r--r--r--  1 root  wheel  61898 Mar  7  2004 /usr/lib/libz.a
lrwxr-xr-x  1 root  wheel  9 Mar  7  2004 /usr/lib/libz.so -> libz.so.2
-r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2
-rwxr-xr-x  1 root  wheel  74486 Mar 21 21:01 /usr/local/lib/libz.a
-

So, where is the new shared library, libz.so? I only see libz.a installed.

Thanks,

- Mark

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


RE: Where is zlib-1.2.2 zlib.so?

2005-03-22 Thread Mark

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Abu Khaled
> Sent: dinsdag 22 maart 2005 5:56
> To: freebsd-questions@freebsd.org
> Subject: Re: Where is zlib-1.2.2 zlib.so?
> 
>
> On Mon, 21 Mar 2005 20:21:17 GMT, Mark <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I downloaded and installed zlib-1.2.2 (FreeBSD 4.10R):
> >
> > -
> > asarian-host: {root} % make install
> > cp zlib.h zconf.h /usr/local/include
> > chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
> > cp libz.a /usr/local/lib
> > cd /usr/local/lib; chmod 755 libz.a
> > cd /usr/local/lib; if test -f libz.so.1.2.2; then  rm -f
> > libz.so libz.so.1;
> > ln -s libz.so.1.2.2 libz.so;  ln -s libz.so.1.2.2 libz.so.1;
>^  ^
> command to make symbolic link
>
> (ldconfig || true)  >/dev/null 2>&1;  fi
> > cp zlib.3 /usr/local/share/man/man3
> > chmod 644 /usr/local/share/man/man3/zlib.3
> >
> > asarian-host: {root} % find /usr/ -name "libz.*" | xargs ls -la
> > -r--r--r--  1 root  wheel  61898 Mar  7  2004 /usr/lib/libz.a
> > lrwxr-xr-x  1 root  wheel  9 Mar  7  2004
>
> /usr/lib/libz.so -> libz.so.2
> ^
>   here it is !!!
>   symbolic link to libz.so.2

I read that entirely differently. :) I see a large conditional --
including the creation of symlinks -- based on the existence of
libz.so.1.2.2.

> > -r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2

Clearly, libz.so.2 is still very much the old file (and I know this for
certain, as I also have it elsewhere, in a jailed environment).

So, to reiterate, where is the new shared library, libz.so? Or
libz.so.1.2.2, for that matter. Even in the work directory of the
untarred libz 1.2.2 tar.gz, no libz.so.1.2.2, or libz.so, exists
after building.

Thanks,

- Mark

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


RE: Where is zlib-1.2.2 zlib.so?

2005-03-22 Thread Mark

> -Original Message-
> From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 22 maart 2005 15:22
> To: Mark
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Where is zlib-1.2.2 zlib.so?
> 
> On Tue, Mar 22, 2005 at 09:31:25AM +, Mark wrote:
> 
> > > > cd /usr/local/lib; if test -f libz.so.1.2.2; then  rm -f
> > > > libz.so libz.so.1;
> > > > ln -s libz.so.1.2.2 libz.so;  ln -s libz.so.1.2.2 libz.so.1;
> 
> > So, to reiterate, where is the new shared library, libz.so?
> 
> You were looking in /usr/lib, not /usr/local/lib.

No, honestly, I was looking in /usr/ as a whole:

asarian-host: {root} % find /usr/ -name "libz.*" | xargs ls -la
-r--r--r--  1 root  wheel  61898 Mar  7  2004 /usr/lib/libz.a
lrwxr-xr-x  1 root  wheel  9 Mar  7  2004 /usr/lib/libz.so -> libz.so.2
-r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2
-rwxr-xr-x  1 root  wheel  74486 Mar 21 21:01 /usr/local/lib/libz.a

It's not there.

Thanks,

- Mark

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


RE: Where is zlib-1.2.2 zlib.so?

2005-03-22 Thread Mark

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Logan
> Sent: dinsdag 22 maart 2005 18:23
> To: FreeBSD-Questions Questions
> Subject: Re: Where is zlib-1.2.2 zlib.so?
> 
> 
> 
> On Mon, 21 Mar 2005 20:21:17 GMT, Mark <[EMAIL PROTECTED]> wrote:
>  
> > Ok, I downloaded and installed zlib-1.2.2 (FreeBSD 4.10R):
> 
> When you ran configure, did you tell it to generate the 
> shared library?
> 
> ../configure --shared
> 
> The installation commands you listed are all based on the shared
> library existing.  If it's not there, the links go nowhere.

Hmm, no, I didn't do that. :) I just ran ./configure, with no parameters.
Doh! It is solved now.

Thanks!

- Mark

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


DRAC with BerkeleyDB 4.2

2005-03-29 Thread Mark

Hello,

I recently compiled sendmail 8.13.3 for BerkeleyDB 4.2; and everything
works fine, except that my pophash database (DRAC) is apparently no longer
read/honored by sendmail.

So, does anyone know how to compile drac-1.12_3 for use with BerkeleyDB
4.2? (FreeBSD 4.10-R). The Makefile offers no options for that.

Thanks,

- Mark

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


Sendmail 8.13.4?

2005-03-29 Thread Mark

Where is Sendmail 8.13.4? I cannot find it in the ports, and it isn't at:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/sendmail/

Either.

Thanks,

- Mark

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


  1   2   3   4   5   6   7   8   9   10   >