Re: `call' function in `make'

2004-05-26 Thread N. Raghavendra
At 2004-05-25T15:44:51+01:00, Matthew Seaman wrote:

> > Is there an analogue in BSD `make' of the `call' function in `gmake':
> > $(call VARIABLE,PARAM,PARAM,...)?
> 
> Not as such.  You can however use the '!=' operator to assign a value
> to a variable based on the output of some external command:
> 
> RATIO  != sh -c 'echo $$(( $a / $b ))'

Hi Matthew,

Thanks for your reply.  After writing to the list yesterday, I read
make(1) carefully, and found what I wanted, namely the shell command
for creating `dir1' in this example `Makefile':

  ### Makefile
  
  ## Create directory FOO if it does not exist.
  create_dir = if test ! -d foo ; then  rm -f foo ; mkdir foo ; fi
  
  dir1: src1
$(create_dir:S/foo/$@/g)
  
  dir2: src2
$(create_dir:foo=$@)
  
  ### Makefile ends here

However, I don't understand something.  The command for `dir1' works
perfectly well:

% make dir1
if test ! -d dir1 ; then rm -f dir1 ; mkdir dir1 ; fi
(`dir1' created)

OTOH, the command for `dir2' does not work --- `make' is not expanding
the local variable `@':

% make dir2
if test ! -d $@ ; then rm -f $@ ; mkdir $@ ; fi
(`dir2' not created)

Can someone tell me why this is happening?

Thanks,
Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | See mail headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD ISDN Modem Support

2004-05-26 Thread Michael Hollmann
hi
does freebsd support this isdn-modem?
ELSA MicroLink ISDN/TLV34
is there a compatible page for isdn modems?
thank´s
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Promise ATA100 controller and 160G disks

2004-05-26 Thread Stijn Hoop
Hi,

does anyone know if the Promise ATA100 controller PCI card supports 160 G
disks on -STABLE?

Thanks,

--Stijn

-- 
Nostalgia ain't what it used to be.


pgpM1IBIPl6pf.pgp
Description: PGP signature


Re: portupgrade configuration

2004-05-26 Thread Nelis Lamprecht
On Wed, 2004-05-26 at 00:50, Robin Becker wrote:

> Is there a way to list all of my exceptional port settings? Can I make 
> these available to portupgrade automatically somehow?

portupgrade port settings can be set in the /usr/local/etc/pkgtools.conf
file.
See MAKE_ARGS in this file.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


Re: Strange pkg_info output

2004-05-26 Thread Jorn Argelo


> 
> On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these
> curious markings:
> > >pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
> > >pkg_info: package bsdpan-DBI-1.42 has no origin recorded
> > >pkg_info: package bsdpan-GD-1.19 has no origin recorded
> > 
> > >Should I be worried about this? Or, how do I fix this?
> 
> The messages are telling you that when you installed the package, 
BSDPAN
> did register it into the package database, but it (obviously) has no
> information about where from the ports tree you installed it; e.g., if
> you installed DBI from the ports tree, its origin would be
> databases/p5-DBI. Why you're installing packages that are in the ports
> tree without using the ports tree is beyond me. 

That's not true. The only packages I ever installed is portupgrade and 
cvsup. I used the ports tree for everything else. 
 
> > I would be interested in a fix for this as well, however.
> 
> The simplest solution would be to create a port out of the module in
> question. It's extremely simple; a typical Perl module's port makefile
> fits on one 80x25 console screen, and its pkg-plist would fit on an
> 80x10 screen :). I've done this myself a number of times. Just 
remember
> that if you put the port in the category Makefile (e.g.
> databases/Makefile), any subsequent cvsup / cvs update will remove 
your 
> changes.
>


> -- 
> I abhor a system designed for the "user", if that word is a coded
> pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
> -
> Unix is user friendly. However, it isn't idiot friendly.
> -
> Please CC me in all replies, even if I'm on the relevant list(s).
> 
> 


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


Re: Sound Capture/Editing under Freebsd

2004-05-26 Thread HOST user

look at ports for these

"rawrec"
"sox"
"lame"


On Thu, 20 May 2004, Dragoncrest wrote:

>   Went looking all over the internet for this and can't find anything.  I'm 
> looking for either a console based or graphically based (preferably the 
> second) sound capture and possibly a sound editing program.  What I'm doing 
> is converting all my old audio tapes to MP3 before the tapes die and the 
> only way to do this for me right now is to dust off my old windows box and 
> do it there, which I'd prefer not to do if possible.  I'd rather do it 
> under Freebsd if I could.  What I'd be doing is taking an audio feed from 
> the tape player to the Line-In jack on the sound card, then capturing the 
> video directly from there.  Anyone know of a tool under Freebsd that'll do 
> that?  Again, I looked and couldn't find anything.  I googled several times 
> too and got nothing.  So any pointers or help would be welcome.  Thanks.
> 
> ___
> [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]"


mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Joe Schmoe
Hello,

I have a simple goal - to convert realaudio files I
have saved to my drive into mp3s, on the fbsd command
line.

The answer, I have been told, is to install mplayer
with realaudio support, and then just:

mplayer file.ra -ao pcm

That sounds reasonable.  But I have two issues.

First, I see no mplayer+realaudio in the ports tree -
just mplayer.  How do I get realaudio support into
mplayer ?

Second, just what kind of install is mplayer (and
mplayer + realaudio, for that matter) ??  I want to
keep this system nice and clean - and I will be upset
if mplayer installs a million dependencies, or does
something lame like install X for me, when I don't
want it.  So can someone describe just what an mplayer
install is like ... and how to keep it from installing
X, etc., if that is what it does ?

thanks.




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-26 Thread Svein Halvor Halvorsen

[Jorn Argelo]
> Recently I came across something which kind of bothered me. Every time
> when pkg_info removes and/or registers a package it gives this output:
>
> pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
> pkg_info: package bsdpan-DBI-1.42 has no origin recorded
> pkg_info: package bsdpan-GD-1.19 has no origin recorded
>
> Should I be worried about this? Or, how do I fix this?

Do you get this output only when using pkg_info as a regular user?
If so, take a look at the permissions on the directory and files in
/var/db/pkg/bsdpan-DBD-mysql-2.9003 et.al. If your umask is set at 077
when installing ports, this directory gets the wrong permission bits set.

I get this problem once in a while put it's solved doing:

find /var/db/pkg -type f -print0 | xargs -0 chmod 755
find /var/db/pkg -type d -print0 | xargs -0 chmod 644


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


Re: StarOffice60 port help

2004-05-26 Thread Bjarne Wichmann Petersen
On Saturday 22 May 2004 09:11, Hermes Trismegistus wrote:
> Is there some documentation for installing port StarOffice60? I have
> looked on freebsd.org, dutifully did my google'ing, and read all files in
> "/usr/ports/editors/staroffice60". When I run "make" in the port
> directory, I just get this stdout:
>
> ===>  staroffice-6.0_2 is an interactive port.
>
> I have the staroffice install binary, and the tar patch. I just need a bit
> of direction. Hopefully, someone can point me in the right direction.

I don't use ports to install staroffice. I just use the linux installscript on 
the CD and install it in /usr/local/staroffice6.0. Then as a user I 
run /usr/local/startoffice/program/setup and make a local installation.

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


Help with a routing issue

2004-05-26 Thread Leon Botes
I have a freebsd 4.7 box at a client.
The box has an ip of 192.168.254.22
The default gateway is 192.168.254.1 which is the inside interface of the
gateway. The outside interface of the gateway is 196.25.37.18 and it also
has an alias of 196.25.37.19.

When i ping 196.25.37.18 from the clients box (192.168.254.22) i get this.
mmrserver# ping 196.25.37.18
PING 196.25.37.18 (196.25.37.18): 56 data bytes
36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
192.168.254.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 0054 08f4   0   40  01 c9ca 192.168.254.22  196.25.37.18

64 bytes from 196.25.37.18: icmp_seq=0 ttl=63 time=66.616 ms
36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
192.168.254.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 0054 08f8   0   40  01 c9c6 192.168.254.22  196.25.37.18

When i ping 196.25.37.19 i get this.
mmrserver# ping 196.25.37.19
PING 196.25.37.19 (196.25.37.19): 56 data bytes
64 bytes from 196.25.37.19: icmp_seq=0 ttl=64 time=5.445 ms
64 bytes from 196.25.37.19: icmp_seq=1 ttl=64 time=4.630 ms
64 bytes from 196.25.37.19: icmp_seq=2 ttl=64 time=5.226 ms

That is correct the way it should be.

My routes on the clients box look as follows:
mmrserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.254.1  UGSc7 1952dc0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.60 link#2 UC 110rl0
192.168.60.1   00:10:dc:f5:9c:9d  UHLW0   10rl0972
192.168.60.11  00:0d:61:1b:f0:fc  UHLW1  418rl0442
192.168.60.12  00:00:21:e2:8d:e1  UHLW02rl0642
192.168.60.15  00:90:f5:08:32:cb  UHLW0  435rl0256
192.168.60.16  00:50:22:8c:ee:51  UHLW01rl0790
192.168.60.18  00:50:bf:97:e8:8a  UHLW0  371rl0   1022
192.168.60.21  00:0c:76:25:74:fc  UHLW1 1422rl0858
192.168.60.22  00:50:bf:ec:27:a3  UHLW1   10rl0   1032
192.168.60.33  00:0d:61:4d:5b:9e  UHLW3   17rl0873
192.168.60.133 00:50:22:8d:ed:86  UHLW1   10rl0   1122
192.168.60.255 ff:ff:ff:ff:ff:ff  UHLWb   2   49rl0
192.168.254link#1 UC  20dc0
192.168.254.1  00:02:6f:32:24:90  UHLW8  268dc0   1149
192.168.254.255ff:ff:ff:ff:ff:ff  UHLWb   2   94dc0

Can anyone help me with why the 196.25.37.18 ip is being redirected via
192.168.254.24?
PLEASE

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


Re: mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Erik Trulsson
On Wed, May 26, 2004 at 01:09:14AM -0700, Joe Schmoe wrote:
> Hello,
> 
> I have a simple goal - to convert realaudio files I
> have saved to my drive into mp3s, on the fbsd command
> line.
> 
> The answer, I have been told, is to install mplayer
> with realaudio support, and then just:
> 
> mplayer file.ra -ao pcm
> 
> That sounds reasonable.  But I have two issues.
> 
> First, I see no mplayer+realaudio in the ports tree -
> just mplayer.  How do I get realaudio support into
> mplayer ?

cd /usr/ports/multimedia/mplayer
make WITH_REALPLAYER=yes install


It is very useful to read the Makefile for a port to find out various
options for it.

> 
> Second, just what kind of install is mplayer (and
> mplayer + realaudio, for that matter) ??  I want to
> keep this system nice and clean - and I will be upset
> if mplayer installs a million dependencies, or does
> something lame like install X for me, when I don't
> want it.  So can someone describe just what an mplayer
> install is like ... and how to keep it from installing
> X, etc., if that is what it does ?

mplayer does have about a gazillion dependencies (most of them
optional) including X (not optional), so if you don't want X installed
then mplayer isn't for you.
(It is a multimedia player after all, and to play video you need
graphics support.)


-- 

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


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread Frank Mueller
I have FBSD -STABLE running on a Promise Fasttrak 100 TX2 (latest BIOS) with 2 160GB 
HDDs as RAID1
and it is running fine.

Greetz,

Frank

> Hi,
>
> does anyone know if the Promise ATA100 controller PCI card supports 160 G
> disks on -STABLE?
>
> Thanks,
>
> --Stijn
>
> --
> Nostalgia ain't what it used to be.
>

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


miibus and fxp motherboard devices

2004-05-26 Thread Richard P. Williamson
Hello, 

I've got a pentium SBC with three on-board fxp lan devices.

In my 4.8 kernel config, I've got 
device   miibus
device   fxp

The dmesg has this to say about the devices:

fxp0:  port 0xd800-0xd83f mem 
0xe500-0xe50f,0xe530-0xe5300fff irq 12 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:01:86:ff, 10Mbps
fxp1:  port 0xdc00-0xdc3f mem 
0xe510-0xe51f,0xe5302000-0xe5302fff irq 10 at device 9.0 on pci0
fxp1: Ethernet address 00:30:64:01:94:00, 10Mbps
fxp2:  port 0xe000-0xe03f mem 
0xe520-0xe52f,0xe5301000-0xe5301fff irq 11 at device 10.0 on pci0
fxp2: Ethernet address 00:30:64:01:94:01, 10Mbps

Specifically, it has nothing to say about the miibus.  Compare this
to the dmesg on a pentium desktop with a dual-fxp PCI card (and
devices miibus and fxp in its config):

fxp0:  port 0xc000-0xc01f mem 
0xdf00-0xdf0f,0xe000-0xefff irq 12 at device 4.0 on pci2
fxp0: Ethernet address 00:03:47:3b:f3:f4
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1:  port 0xc400-0xc41f mem 
0xdf10-0xdf1f,0xe0001000-0xe0001fff irq 10 at device 5.0 on pci2
fxp1: Ethernet address 00:03:47:3b:f3:f5
inphy1:  on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

At the moment, I can not swap the SCB fxp devices out of 10Mb
mode and into any of the others that the devices (putatively) 
support.  

If I plug the dual-fxp PCI card into the SBC's pci bus, then 
I get fxp3 and fxp4, each of which are 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX and auto capable.

I'd welcome any suggestions about how to enable the additional
modes on the motherboard lan parts.  Even if it is specific
keywords to do a google on (the ones I've chosen insist on 
showing me other peoples' dmesgs).  

Am I missing something in my kernel config?

rip

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


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread Stijn Hoop
On Wed, May 26, 2004 at 11:15:02AM +0200, Frank Mueller wrote:
> I have FBSD -STABLE running on a Promise Fasttrak 100 TX2 (latest BIOS) with
> 2 160GB HDDs as RAID1 and it is running fine.

OK, but I have the older non-raid just ATA100 controller version, which is why
I suspect it might not work.

To be more precies, my cards (I have 3 in the machine) identify as

atapci0:  port 
0x7800-0x783f,0x7400-0x7403,0x7000-0x7007,0x6c00-0x6c03,0x6800-0x6807 mem 
0xe100-0xe101 irq 5 at device 8.0 on pci1
atapci1:  port 
0x8c00-0x8c3f,0x8800-0x8803,0x8400-0x8407,0x8000-0x8003,0x7c00-0x7c07 mem 
0xe102-0xe103 irq 10 at device 9.0 on pci1
atapci2:  port 
0xa000-0xa03f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 mem 
0xe104-0xe105 irq 11 at device 10.0 on pci1

Unfortunately I don't have any other model numbers right now, but based on the
Promise website I think it is an Ultra100 (non-TX2 version).

Anyway, I should have done some more research myself before asking this
question because the Ultra100 does have support with an updated BIOS (I missed
this the first time apparently):

http://www.promise.com/support/download/download2_eng.asp?productId=18&category=bios&os=100

Thanks for the response though, it caused me to search the Promise site again :)

--Stijn

-- 
Help Wanted: Telepath. You know where to apply.


pgp0YLeX4DEn5.pgp
Description: PGP signature


Re: Help with a routing issue

2004-05-26 Thread Olaf Hoyer
On Wed, 26 May 2004, Leon Botes wrote:

> I have a freebsd 4.7 box at a client.
> The box has an ip of 192.168.254.22
> The default gateway is 192.168.254.1 which is the inside interface of the
> gateway. The outside interface of the gateway is 196.25.37.18 and it also
> has an alias of 196.25.37.19.
>
> When i ping 196.25.37.18 from the clients box (192.168.254.22) i get this.
> mmrserver# ping 196.25.37.18
> PING 196.25.37.18 (196.25.37.18): 56 data bytes
> 36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
> 192.168.254.1)
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
>  4  5  00 0054 08f4   0   40  01 c9ca 192.168.254.22  196.25.37.18
>
> 64 bytes from 196.25.37.18: icmp_seq=0 ttl=63 time=66.616 ms
> 36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
> 192.168.254.1)
> Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
>  4  5  00 0054 08f8   0   40  01 c9c6 192.168.254.22  196.25.37.18
>
> When i ping 196.25.37.19 i get this.
> mmrserver# ping 196.25.37.19
> PING 196.25.37.19 (196.25.37.19): 56 data bytes
> 64 bytes from 196.25.37.19: icmp_seq=0 ttl=64 time=5.445 ms
> 64 bytes from 196.25.37.19: icmp_seq=1 ttl=64 time=4.630 ms
> 64 bytes from 196.25.37.19: icmp_seq=2 ttl=64 time=5.226 ms
>
> That is correct the way it should be.
>

Could you provide the output of ifconfig -a of the gateway box?

Should shed some more light about the issues, also the parts of
/etc/rc.conf, where the cards are configured, could be interesting.


Olaf
-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with a routing issue

2004-05-26 Thread Nelis Lamprecht
On Wed, 2004-05-26 at 10:55, Leon Botes wrote:
> I have a freebsd 4.7 box at a client.
> The box has an ip of 192.168.254.22
> The default gateway is 192.168.254.1 which is the inside interface of the
> gateway. The outside interface of the gateway is 196.25.37.18 and it also
> has an alias of 196.25.37.19.

Can you show us the routing on the server please rather than the client
? What is the subnet mask of the alias 196.25.37.19 ? It should have a
subnet of 255.255.255.255 as it's on the same network as 196.25.37.18.

Your /etc/rc.conf file should look something like this:

ifconfig_rl0="inet 196.25.37.18 netmask 255.255.255.0"
ifconfig_rl0_alias0="inet 196.25.37.19 netmask 255.255.255.255"

Your subnet in the above example may differ according to what block your
ISP has provided you.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


RE: Help with a routing issue

2004-05-26 Thread Leon Botes
Could you provide the output of ifconfig -a of the gateway box?

Should shed some more light about the issues, also the parts of
/etc/rc.conf, where the cards are configured, could be interesting.


Olaf
-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht
etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)

FROM THE GATEWAY:
ifconfig
fxp0: flags=8843 mtu 1500
inet 196.25.37.18 netmask 0xfff8 broadcast 196.25.37.23
inet 196.25.37.19 netmask 0x broadcast 196.25.37.19
ether 00:20:ed:11:00:e8
media: Ethernet autoselect (100baseTX )
status: active
fxp1: flags=8843 mtu 1500
inet 192.168.254.1 netmask 0xff00 broadcast 192.168.254.255
ether 00:20:ed:11:00:e9
media: Ethernet autoselect (100baseTX )
status: active
rc.conf
ifconfig_fxp0="inet 196.25.37.18  netmask 255.255.255.248"
ifconfig_fxp0_alias0="inet 196.25.37.19  netmask 255.255.255.255"
ifconfig_fxp1="inet 192.168.254.1  netmask 255.255.255.0"
natd_enable="YES"
natd_interface="fxp0"
natd_flags=""
gateway_enable="YES"
defaultrouter="196.25.37.17"
Ipfw show
00300  22467  1425741 fwd 196.25.37.20 tcp from any to any 80 out xmit fxp0
01000  64432 13724943 divert 8668 ip from any to any via fxp0
01100  11754  6690334 allow ip from any to any via lo0
01200  00 deny ip from any to 127.0.0.0/8
01300  00 deny ip from 127.0.0.0/8 to any
01400   5223   533128 fwd 196.25.37.22 tcp from any to any 443 out xmit fxp0
01500  00 fwd 196.25.37.22 tcp from any to any 3306 out xmit
fxp0
0160050027082 fwd 196.25.37.22 tcp from any to any 22 out xmit fxp0
01700193 9455 fwd 196.25.37.22 tcp from any to any 110 out xmit fxp0
01800  00 fwd 196.25.37.22 tcp from any to any 119 out xmit fxp0
01900  00 deny log logamount 2 tcp from any to any
445,2556,9996,5554 in recv fxp1
65000 171424 31989301 allow ip from any to any
65535  00 deny ip from any to any

FROM THE CLIENT BOX:
Ifconfig
dc0: flags=8843 mtu 1500
inet 192.168.254.22 netmask 0xff00 broadcast 192.168.254.255
ether 00:50:bf:97:e8:83
media: Ethernet autoselect (10baseT/UTP)
status: active
rl0: flags=8843 mtu 1500
inet 192.168.60.2 netmask 0xff00 broadcast 192.168.60.255
ether 00:50:bf:43:37:c1
media: Ethernet autoselect (100baseTX )
status: active
rc.conf
ifconfig_rl0="inet 192.168.60.2  netmask 255.255.255.0"
ifconfig_dc0="inet 192.168.254.22  netmask 255.255.255.0"
gateway_enable="YES"
defaultrouter="192.168.254.1"
nfs_client_enable="YES"
firewall_enable="YES"
firewall_type="open"
natd_enable="YES"
natd_interface="dc0"
natd_flags=""

Ipfw show
00050  8360  3676585 divert 8668 ip from any to any via dc0
00100 00 allow ip from any to any via lo0
00200 00 deny ip from any to 127.0.0.0/8
00300 00 deny ip from 127.0.0.0/8 to any
65000 44744 16464427 allow ip from any to any
65535 00 deny ip from any to any



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


RE: Help with a routing issue

2004-05-26 Thread Leon Botes
Can you show us the routing on the server please rather than the client ?
What is the subnet mask of the alias 196.25.37.19 ? It should have a subnet
of 255.255.255.255 as it's on the same network as 196.25.37.18.

Cheers,
--
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."

The below is only sections of the output. Most of the individual hosts have
been removed. Just a few examples left.
10.5/16192.168.254.29 UGSc0   11   fxp1
10.6/16192.168.254.12 UGSc00   fxp1
10.7/16192.168.254.12 UGSc00   fxp1
10.8/16192.168.254.12 UGSc00   fxp1
10.9/16192.168.254.27 UGSc00   fxp1
10.11/16   192.168.254.28 UGSc00   fxp1
10.12/16   192.168.254.33 UGSc00   fxp1
10.13/16   192.168.254.34 UGSc00   fxp1
10.14/16   192.168.252.23 UGSc00   fxp1
127.0.0.1  127.0.0.1  UH  0 2214lo0
192.168.0  192.168.254.23 UGSc00   fxp1
192.168.2  192.168.254.24 UGSc00   fxp1
192.168.7  192.168.254.31 UGSc00   fxp1
192.168.60 192.168.254.22 UGSc00   fxp1
192.168.252192.168.254.12 UGSc8  161   fxp1
192.168.253192.168.254.12 UGSc   13  212   fxp1
192.168.254link#2 UC 340   fxp1
192.168.254.1  00:20:ed:11:00:e9  UHLW2 1425lo0
192.168.254.22 00:02:6f:32:27:6b  UHLW1 1032   fxp1116
192.168.254.23 00:50:bf:97:e4:9d  UHLW1 2292   fxp1777
192.168.254.24 00:50:bf:43:2c:16  UHLW3 3476   fxp1421
192.168.254.25 00:a0:cc:db:03:75  UHLW1  836   fxp1   1117
192.168.254.27 00:02:6f:07:86:5b  UHLW1  224   fxp1878
192.168.254.28 link#2 UHLW10   fxp1
192.168.254.29 00:02:6f:07:86:57  UHLW1  139   fxp1924
192.168.254.30 00:02:6f:07:86:6a  UHLW0  779   fxp1741
192.168.254.31 00:02:6f:08:9f:a6  UHLW1  161   fxp1936
192.168.254.32 00:02:6f:04:7a:1e  UHLW0  165   fxp1 59
192.168.254.33 link#2 UHLW1   92   fxp1
192.168.255192.168.254.21 UGSc337107   fxp1
196.25.37.16/29link#1 UC  40   fxp0
196.25.37.17   00:e0:fc:0c:be:d9  UHLW   29  230   fxp0790
196.25.37.18   00:20:ed:11:00:e8  UHLW1 2127lo0
196.25.37.19   00:20:ed:11:00:e8  UHLW1  370lo0 =>
196.25.37.19/32link#1 UC  10   fxp0
196.25.37.20   00:0c:f1:ae:c6:99  UHLW144305   fxp0908
196.25.37.22   00:09:5b:3f:2f:63  UHLW111942   fxp0910

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


RE: Help with a routing issue

2004-05-26 Thread Nelis Lamprecht
On Wed, 2004-05-26 at 12:28, Leon Botes wrote:

> The below is only sections of the output. Most of the individual hosts have
> been removed. Just a few examples left.
> 10.5/16192.168.254.29 UGSc0   11   fxp1
> 10.6/16192.168.254.12 UGSc00   fxp1
> 10.7/16192.168.254.12 UGSc00   fxp1
> 10.8/16192.168.254.12 UGSc00   fxp1
> 10.9/16192.168.254.27 UGSc00   fxp1
> 10.11/16   192.168.254.28 UGSc00   fxp1
> 10.12/16   192.168.254.33 UGSc00   fxp1
> 10.13/16   192.168.254.34 UGSc00   fxp1
> 10.14/16   192.168.252.23 UGSc00   fxp1
> 127.0.0.1  127.0.0.1  UH  0 2214lo0
> 192.168.0  192.168.254.23 UGSc00   fxp1
> 192.168.2  192.168.254.24 UGSc00   fxp1
> 192.168.7  192.168.254.31 UGSc00   fxp1
> 192.168.60 192.168.254.22 UGSc00   fxp1
> 192.168.252192.168.254.12 UGSc8  161   fxp1
> 192.168.253192.168.254.12 UGSc   13  212   fxp1
> 192.168.254link#2 UC 340   fxp1
> 192.168.254.1  00:20:ed:11:00:e9  UHLW2 1425lo0
> 192.168.254.22 00:02:6f:32:27:6b  UHLW1 1032   fxp1116
> 192.168.254.23 00:50:bf:97:e4:9d  UHLW1 2292   fxp1777
> 192.168.254.24 00:50:bf:43:2c:16  UHLW3 3476   fxp1421
> 192.168.254.25 00:a0:cc:db:03:75  UHLW1  836   fxp1   1117
> 192.168.254.27 00:02:6f:07:86:5b  UHLW1  224   fxp1878
> 192.168.254.28 link#2 UHLW10   fxp1
> 192.168.254.29 00:02:6f:07:86:57  UHLW1  139   fxp1924
> 192.168.254.30 00:02:6f:07:86:6a  UHLW0  779   fxp1741
> 192.168.254.31 00:02:6f:08:9f:a6  UHLW1  161   fxp1936
> 192.168.254.32 00:02:6f:04:7a:1e  UHLW0  165   fxp1 59
> 192.168.254.33 link#2 UHLW1   92   fxp1
> 192.168.255192.168.254.21 UGSc337107   fxp1
> 196.25.37.16/29link#1 UC  40   fxp0
> 196.25.37.17   00:e0:fc:0c:be:d9  UHLW   29  230   fxp0790
> 196.25.37.18   00:20:ed:11:00:e8  UHLW1 2127lo0
> 196.25.37.19   00:20:ed:11:00:e8  UHLW1  370lo0 =>
> 196.25.37.19/32link#1 UC  10   fxp0
> 196.25.37.20   00:0c:f1:ae:c6:99  UHLW144305   fxp0908
> 196.25.37.22   00:09:5b:3f:2f:63  UHLW111942   fxp0910

Can't see any peculiarities. Try adding the following route on the
client machine:

route add -host 196.25.37.18 192.168.254.1 255.255.255.255

See if that helps.

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


RE: SMTP AUTH

2004-05-26 Thread Lee Dilkie
>On Tue, 25 May 2004, Noah wrote:
>
>> sendmail-8.12.11
>> freeBSD-4.9-STABLE
>>
>> I must be doing something wrong.  SMTP AUTH is not working 
>very well for me.
>> I have been trying to authenticate with user and password to port 25.
>>
>> I prefer to send all auth user and password information with 
>SSL encryption.
>> would like SSL Version 3 encryption.
>
>You've got "This server requires a secure connection (SSL)" 
>enabled for 
>the SMTP server in Outlook?

In my experience (outlook 2000, not tested on outlook express) this won't work. 
Outlook doesn't seem to understand that "use SSL" means "use STARTLS". What I did was 
to configure sendmail to also support "smtps" (SSL before SMTP) on the smtps port 
(465) and point outlook at that port with the "use ssl" checked. 

>
>> I have configured outgoing mail requiring authentication 
>then clicking both
>> with Secure Password Authenticaiton and without.
>
>That should be "without" for SPA.

Agreed, turn off SPA.

>

-lee

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


Re: `call' function in `make'

2004-05-26 Thread Matthew Seaman
On Wed, May 26, 2004 at 12:15:57PM +0530, N. Raghavendra wrote:
> At 2004-05-25T15:44:51+01:00, Matthew Seaman wrote:
> 
> > > Is there an analogue in BSD `make' of the `call' function in `gmake':
> > > $(call VARIABLE,PARAM,PARAM,...)?
> > 
> > Not as such.  You can however use the '!=' operator to assign a value
> > to a variable based on the output of some external command:
> > 
> > RATIO  != sh -c 'echo $$(( $a / $b ))'
> 
> Hi Matthew,
> 
> Thanks for your reply.  After writing to the list yesterday, I read
> make(1) carefully, and found what I wanted, namely the shell command
> for creating `dir1' in this example `Makefile':
> 
>   ### Makefile
>   
>   ## Create directory FOO if it does not exist.
>   create_dir = if test ! -d foo ; then  rm -f foo ; mkdir foo ; fi
>   
>   dir1: src1
>   $(create_dir:S/foo/$@/g)
>   
>   dir2: src2
>   $(create_dir:foo=$@)
>   
>   ### Makefile ends here
> 
> However, I don't understand something.  The command for `dir1' works
> perfectly well:
> 
> % make dir1
> if test ! -d dir1 ; then rm -f dir1 ; mkdir dir1 ; fi
> (`dir1' created)
> 
> OTOH, the command for `dir2' does not work --- `make' is not expanding
> the local variable `@':
> 
> % make dir2
> if test ! -d $@ ; then rm -f $@ ; mkdir $@ ; fi
> (`dir2' not created)
> 
> Can someone tell me why this is happening?

Err... because in the second form the result of the substitution is
not run through another round of variable expansion, and in the first
for it is?  You'ld have to ask the original authors of make(1) why
they did it that way.  Is there something wrong with the first form of
the rule that means you can't use it?

You have got a line:

.PHONY: dir1 dir2

to force those rules to be applied even if dir1 or dir2 are newer than
their sources?

Cheers,

Matthew

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


pgpm30kbde89O.pgp
Description: PGP signature


[no subject]

2004-05-26 Thread YUSIBANI elin
Dear Mr Jerry,


Introduce myself, my name is Elin, student from Tokyo Institute of Technology.

I have some difficulties in REDHAT and UNIX.
I have source code build in UNIX environtment, and I would like to install it in 
REDHAT.
Would you mind telling me what should I edit in 'makefile' file??

Thank you for your atention.

Regards,
Elin


YUSIBANI elin  [EMAIL PROTECTED]

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


RE: Help with a routing issue

2004-05-26 Thread Leon Botes
Set it to zero 
mmrserver# sysctl net | grep direct
net.inet.ip.redirect: 0
net.inet.icmp.drop_redirect: 0
net.inet.icmp.log_redirect: 0
Results are the same.

Also tried adding a fixed route as such:
Route add -host 196.25.37.18 192.168.254.1
No luck.

-Original Message-
From: Nelis Lamprecht [mailto:[EMAIL PROTECTED] 
Sent: 26 May 2004 13:55
To: [EMAIL PROTECTED]
Subject: RE: Help with a routing issue

One other thing you can try. There is a sysctl variable  

net.inet.ip.redirect: 1

Try turning that off by setting it to 0 on the client machine.

What happens ?

Nelis

On Wed, 2004-05-26 at 13:08, Leon Botes wrote:
> Tried that already - no luck. 
> 
> -Original Message-
> From: Nelis Lamprecht [mailto:[EMAIL PROTECTED]
> Sent: 26 May 2004 13:01
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: Help with a routing issue
> 
> On Wed, 2004-05-26 at 12:28, Leon Botes wrote:
> 
> > The below is only sections of the output. Most of the individual 
> > hosts have been removed. Just a few examples left.
> > 10.5/16192.168.254.29 UGSc0   11   fxp1
> > 10.6/16192.168.254.12 UGSc00   fxp1
> > 10.7/16192.168.254.12 UGSc00   fxp1
> > 10.8/16192.168.254.12 UGSc00   fxp1
> > 10.9/16192.168.254.27 UGSc00   fxp1
> > 10.11/16   192.168.254.28 UGSc00   fxp1
> > 10.12/16   192.168.254.33 UGSc00   fxp1
> > 10.13/16   192.168.254.34 UGSc00   fxp1
> > 10.14/16   192.168.252.23 UGSc00   fxp1
> > 127.0.0.1  127.0.0.1  UH  0 2214lo0
> > 192.168.0  192.168.254.23 UGSc00   fxp1
> > 192.168.2  192.168.254.24 UGSc00   fxp1
> > 192.168.7  192.168.254.31 UGSc00   fxp1
> > 192.168.60 192.168.254.22 UGSc00   fxp1
> > 192.168.252192.168.254.12 UGSc8  161   fxp1
> > 192.168.253192.168.254.12 UGSc   13  212   fxp1
> > 192.168.254link#2 UC 340   fxp1
> > 192.168.254.1  00:20:ed:11:00:e9  UHLW2 1425lo0
> > 192.168.254.22 00:02:6f:32:27:6b  UHLW1 1032   fxp1
116
> > 192.168.254.23 00:50:bf:97:e4:9d  UHLW1 2292   fxp1
777
> > 192.168.254.24 00:50:bf:43:2c:16  UHLW3 3476   fxp1
421
> > 192.168.254.25 00:a0:cc:db:03:75  UHLW1  836   fxp1
1117
> > 192.168.254.27 00:02:6f:07:86:5b  UHLW1  224   fxp1
878
> > 192.168.254.28 link#2 UHLW10   fxp1
> > 192.168.254.29 00:02:6f:07:86:57  UHLW1  139   fxp1
924
> > 192.168.254.30 00:02:6f:07:86:6a  UHLW0  779   fxp1
741
> > 192.168.254.31 00:02:6f:08:9f:a6  UHLW1  161   fxp1
936
> > 192.168.254.32 00:02:6f:04:7a:1e  UHLW0  165   fxp1
59
> > 192.168.254.33 link#2 UHLW1   92   fxp1
> > 192.168.255192.168.254.21 UGSc337107   fxp1
> > 196.25.37.16/29link#1 UC  40   fxp0
> > 196.25.37.17   00:e0:fc:0c:be:d9  UHLW   29  230   fxp0
790
> > 196.25.37.18   00:20:ed:11:00:e8  UHLW1 2127lo0
> > 196.25.37.19   00:20:ed:11:00:e8  UHLW1  370lo0 =>
> > 196.25.37.19/32link#1 UC  10   fxp0
> > 196.25.37.20   00:0c:f1:ae:c6:99  UHLW144305   fxp0
908
> > 196.25.37.22   00:09:5b:3f:2f:63  UHLW111942   fxp0
910
> 
> Can't see any peculiarities. Try adding the following route on the 
> client
> machine:
> 
> route add -host 196.25.37.18 192.168.254.1 255.255.255.255
> 
> See if that helps.
> 
> --
> Nelis Lamprecht
> PGP: http://www.8ball.co.za/pgpkey/nelis.asc
> "Unix IS user friendly.. It's just selective about who its friends are."
--
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."

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


Re: `call' function in `make'

2004-05-26 Thread N. Raghavendra
At 2004-05-26T12:41:57+01:00, Matthew Seaman wrote:

> On Wed, May 26, 2004 at 12:15:57PM +0530, N. Raghavendra wrote:
> >   ### Makefile
> >   
> >   ## Create directory FOO if it does not exist.
> >   create_dir = if test ! -d foo ; then  rm -f foo ; mkdir foo ; fi
> >   
> >   dir1: src1
> > $(create_dir:S/foo/$@/g)
> >   
> >   dir2: src2
> > $(create_dir:foo=$@)
> >   
> >   ### Makefile ends here
> 
> Is there something wrong with the first form of the rule that means
> you can't use it?

Hi Matthew,

Thanks for the help.

I would have liked to use the second substitution mechanism (foo=$@)
because it is part of the POSIX specification of `make'
(http://www.opengroup.org/onlinepubs/009695399/utilities/make.html),
whereas the first form (S/foo/$@/g) doesn't seem to be so.

> You have got a line:
> 
> .PHONY: dir1 dir2
> 
> to force those rules to be applied even if dir1 or dir2 are newer than
> their sources?

Yes, I had tried that too, but it doesn't make the second rule work.
The second rule does work with `gmake'.

Cheers,
Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | See mail headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread heikki soerum
It shouldn't be an problem as long as you upgrade the BIOS in the
atacontroller. I'm using an Promise Fasttrak 100 (without TX2) on two
200Gb drives. With the newest bios the controller can use drives over
120GB.

Heikki Soerum, Norway.

On Wed, 26 May 2004 11:53:24 +0200
Stijn Hoop <[EMAIL PROTECTED]> wrote:

>On Wed, May 26, 2004 at 11:15:02AM +0200, Frank Mueller wrote:
>> I have FBSD -STABLE running on a Promise Fasttrak 100 TX2 (latest
>BIOS) with> 2 160GB HDDs as RAID1 and it is running fine.
>
>OK, but I have the older non-raid just ATA100 controller version, which
>is why I suspect it might not work.
>
>To be more precies, my cards (I have 3 in the machine) identify as
>
>atapci0:  port
>0x7800-0x783f,0x7400-0x7403,0x7000-0x7007,0x6c00-0x6c03,0x6800-0x6807
>mem 0xe100-0xe101 irq 5 at device 8.0 on pci1 atapci1: ATA100 controller> port
>0x8c00-0x8c3f,0x8800-0x8803,0x8400-0x8407,0x8000-0x8003,0x7c00-0x7c07
>mem 0xe102-0xe103 irq 10 at device 9.0 on pci1 atapci2:
> port
>0xa000-0xa03f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007
>mem 0xe104-0xe105 irq 11 at device 10.0 on pci1
>
>Unfortunately I don't have any other model numbers right now, but based
>on the Promise website I think it is an Ultra100 (non-TX2 version).
>
>Anyway, I should have done some more research myself before asking this
>question because the Ultra100 does have support with an updated BIOS (I
>missed this the first time apparently):
>
>http://www.promise.com/support/download/download2_eng.asp?productId=18
>&category=bios&os=100
>
>Thanks for the response though, it caused me to search the Promise site
>again :)
>
>--Stijn
>
>-- 
>Help Wanted: Telepath. You know where to apply.
>


-- 
"Throughout history it has been the inaction of those who could
have acted,  the indifference  of those  who should  have known
better,  the silence of the  voice of justice  when it mattered
most, that has made it possible for evil to triumph."
   - Haile Selassie
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: SMTP AUTH

2004-05-26 Thread Robert Covell
I have configured both sendmail and cyrus to use SSL (Not SPA) with SMTP
auth on FreeBSD with Outlook clients.  Can't remember the name of the
application but it was something like "stunnel" or similar.  Basically I
kept sendmail and cyrus as is and used this application to listen on the SSL
ports.  It just accepted the SSL connection and passed the data off to the
either sendmail and cyrus.  The client had to install a certificate that was
signed and generated in house.  Very straight forward (if I could remember
the name of it)...

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Lee Dilkie
> Sent: Wednesday, May 26, 2004 6:22 AM
> To: 'Richard Stevenson'; 'Noah'
> Cc: [EMAIL PROTECTED]
> Subject: RE: SMTP AUTH
>
>
> >On Tue, 25 May 2004, Noah wrote:
> >
> >> sendmail-8.12.11
> >> freeBSD-4.9-STABLE
> >>
> >> I must be doing something wrong.  SMTP AUTH is not working
> >very well for me.
> >> I have been trying to authenticate with user and password to port 25.
> >>
> >> I prefer to send all auth user and password information with
> >SSL encryption.
> >> would like SSL Version 3 encryption.
> >
> >You've got "This server requires a secure connection (SSL)"
> >enabled for
> >the SMTP server in Outlook?
>
> In my experience (outlook 2000, not tested on outlook express)
> this won't work. Outlook doesn't seem to understand that "use
> SSL" means "use STARTLS". What I did was to configure sendmail to
> also support "smtps" (SSL before SMTP) on the smtps port (465)
> and point outlook at that port with the "use ssl" checked.
>
> >
> >> I have configured outgoing mail requiring authentication
> >then clicking both
> >> with Secure Password Authenticaiton and without.
> >
> >That should be "without" for SPA.
>
> Agreed, turn off SPA.
>
> >
>
> -lee
>
> ___
> [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: Repeated connections to port 25 with firewall

2004-05-26 Thread Jonathon McKitrick
: When local processes want to mail, they fork n exec a sendmail binary 
: themselves.
: 
: You shouldn't need a sendmail server running for that.

Here is what I have/had in rc.conf

#sendmail_enable="no"
#sendmail_submit_enable="no"
#sendmail_outbound_enable="no"
#sendmail_msp_queue_enable="no"

And as soon as I restarted after commenting out these lines, root's mailbox
got filled with megs of mail from cron.  I want the minimum I need to get
system mail without leaving an instance of sendmail vulnerable to attack or
eating up resources.

p.s.  What mail reader is good for root mail?  Is there anything better at
managing system mail than mutt?



jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re:

2004-05-26 Thread albi
On Wed, 26 May 2004 20:54:49 +0900
YUSIBANI elin <[EMAIL PROTECTED]> wrote:

hi,

> I have some difficulties in REDHAT and UNIX.
> I have source code build in UNIX environtment, and I would like to
> install it in REDHAT. Would you mind telling me what should I edit in
> 'makefile' file??
> 

this is a FreeBSD-mailinglist, FreeBSD != Linux

try : http://www.redhat.com/mailman/listinfo

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


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread Bill Moran
Stijn Hoop wrote:
Hi,
does anyone know if the Promise ATA100 controller PCI card supports 160 G
disks on -STABLE?
I'm not 100% sure that the Promise controller is the problem here:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/046070.html
Earlier this week, I thought I'd solved the problem: I partitioned the drive
in a different computer, and it seemed to be OK in one of the machines where
it previously wouldn't work.
I then partitioned a second drive and sent them both off with the client to
be installed in the server at the colo site.  Apon installation, the system
hung (as described in the email) ... I don't know what the hell is going on
at this point, and it's incredibly frustrating because I'm not even sure how
to proceed with fixing it.
I guess my point is that it might be worthwhile to try to isolate whether the
problem is with the Promise controller, or with 160G drives.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PPPD connection

2004-05-26 Thread Vetrov Maxim
Hi,
I can't establish connection with my ISP using pppd. I attached several files:
dir - /etc/ppp/ directory layout
system - output of uname -a
chap-secrets   |
chat.vmtc  | -> config files for pppd
options.vmtc   |
I start pppd as root 'pppd file /etc/options/options.vmtc'. Then it connects to modem, dial out the 
number, makes connection to a peer and then after half a minute or so closes connection. There is no 
 log information in the /var/log/ppp.log (there is a reference to ppp in a /etc/syslog.conf). So I 
do not know what's going on and why the connection is broken. I checked login and password in 
chap-secrets file - these are correct. What do I do wrong?

Maxim
# Dialout format:   
#
AFFV01586 * xx
ABORT   ERROR
ABORT   'NO DIALTONE'
TIMEOUT 2
OK-''-'' ATZ OK-+++ATHZ-OK ATDP408200
ABORT 'BUSY'
TIMEOUT 70
CONNECT ""
total 12
drwxr-xr-x   2 root  wheel   512 May 26 22:01 .
drwxr-xr-x  16 root  wheel  2048 May 23 00:00 ..
-rw-r--r--   1 root  wheel84 May 25 22:27 chap-secrets
-rwxr-xr-x   1 root  wheel   115 May 26 21:45 chat.vmtc
-rwxr-xr-x   1 root  wheel   157 May 26 21:45 options.vmtc
-rw---   1 root  wheel  1169 Oct  9  2002 ppp.conf
/dev/cuaa1
115200
modem
crtscts
asyncmap 0
debug
connect '/usr/bin/chat -v -f /etc/ppp/chat.vmtc'
defaultroute
noipdefault
persist
holdoff 2
mtu 250
mru 250
FreeBSD router 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Tue May 25 21:47:44 GMT 2004 
[EMAIL PROTECTED]:/usr/src/sys/compile/ROUTER  i386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[no subject]

2004-05-26 Thread joel.criqui
subscription

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


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread Stijn Hoop
On Wed, May 26, 2004 at 09:28:09AM -0400, Bill Moran wrote:
> Stijn Hoop wrote:
> > does anyone know if the Promise ATA100 controller PCI card supports 160 G
> > disks on -STABLE?
> 
> I'm not 100% sure that the Promise controller is the problem here:
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/046070.html

Hmm, not good.

However, I have misworded my question I guess -- I wanted to know whether
those drives _could_ work in that configuration; I did not want to buy
non-working drives (I'd have gone for 120G if they didn't work, however I'm
reasonably sure now that it'll work).

Based on your problems I'll stay away from buying a Samsung drive right now,
even though it might not be the real problem. Thanks for the feedback.

> Earlier this week, I thought I'd solved the problem: I partitioned the drive
> in a different computer, and it seemed to be OK in one of the machines where
> it previously wouldn't work.
> 
> I then partitioned a second drive and sent them both off with the client to
> be installed in the server at the colo site.  Apon installation, the system
> hung (as described in the email) ... I don't know what the hell is going on
> at this point, and it's incredibly frustrating because I'm not even sure how
> to proceed with fixing it.

We had a Linux machine here a few weeks ago that wouldn't boot; turned out the
memory had gone faulty but we only discovered that after running memtest86 for
over 24 hours (having passed lots of tests it suddenly reported failures).  It
wasn't a case of overheating because it consistently failed to boot; it just
took memtest lots and lots of repeats to get the problem to show.

Anyway I don't know if it's related to your problem but my point is that you
never suspect the right component in the case of hardware failures :(

--Stijn

-- 
Nostalgia ain't what it used to be.


pgpYsx53jXC99.pgp
Description: PGP signature


File encryption: bdes or gpg

2004-05-26 Thread Simon Bates
Dear all,
I am fairly new to FreeBSD and this is my first post to 
freebsd-questions. I hope I am asking my question in the correct forum. 
Apologies if not.

I am hoping someone can give me advice on file encryption. I would like 
to encrypt a file and store it on my filesystem. I would like to encrypt 
the file so that my data is not readable by someone who gains root 
access or physical access to my computer. I do not intend to share the 
data with anyone else so a public/private key system is optional.

I did some Googling and some reading of man pages and I have come up 
with 3 options thus far:

1. bdes(1)
2. gpg -c (/usr/ports/security/gnupg)
3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
plus a passphrase

I would really appreciate any pointers to discussions of the relative 
merits of these approaches or pointers to better options if available.

Thank you all very much for your time. Best wishes,
Simon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with xscreensaver-gnome port

2004-05-26 Thread Jesse Sheidlower

I recently tried to update my xscreensaver-gnome port from 
4.15_2 to 4.16. After the usual amount of churning, it
died with the following error:

---
In file included from phosphor.c:34:
/usr/local/include/util.h:95: error: syntax error before '/' token
In file included from phosphor.c:34:
/usr/local/include/util.h:21:1: unterminated #ifndef
phosphor.c:33:1: unterminated #ifdef
phosphor.c:29:1: unterminated #ifdef
gmake[1]: *** [phosphor.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/x11/xscreensaver-gnome/work/xscreensaver-4.16/hacks'
gmake: *** [all] Error 5
*** Error code 2

Stop in /usr/ports/x11/xscreensaver-gnome.
---

Then I got a notice about the upgrade dying with a C++ error,
which for some reason I didn't save.

Any ideas? I couldn't find anything in a quick search, and
it's holding up the builds of other Gnome ports. I'm using
FreeBSD 5.2-CURRENT, but I'd think that an error like this is
one that would be likely to show up pretty readily.

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


Re: Running FreeBSD 4.9 Jails on a FreeBSD 5.2.1 system

2004-05-26 Thread Kirk Strauser
At 2004-05-25T20:38:50Z, "Kung Foo Ham[p]?ster" <[EMAIL PROTECTED]> writes:

> When I install FreeBSD 5 on my system can I run those FreeBSD 4 Jails on
> it and then upgrade them individually without much pressure.

Not very likely, unfortunately.  The ties between userspace and the kernel
are pretty tight on FreeBSD systems.

Side note: I've built Linux-native jails, starting with extracting a Gentoo
"stage 1" tarball into an empty directory.  It's kind of nice to be able to
offer support virtual Linux systems that are 99% compatible with the real
thing.
-- 
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."


pgpOU5EpF8rar.pgp
Description: PGP signature


patch

2004-05-26 Thread joel.criqui
Hi,

I have a source ( in fact it's many sources) divided in many directories; and I have 
to patch it with a diff file. But when I perform the patch command, the computers 
wants to know which file I want to patch; but there are a lot of sources, and many of 
them have to be patched. So is there any option which can specify that all sources 
must be modified ? 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Odd one: my root account disappears into hyperspace.

2004-05-26 Thread Andy Holyer
Here's a really odd one.
I ssh into my server as myself, and then su to root. At which point 
something odd happens:

a) the output of some shell commands seems to be redirected somewhere 
other then my xterm;
b) when I try to run emacs or vi, I get: "emacs: standard input is not 
a tty"

This doesn't happen when I log in as another user and try it. I've 
tried comparing the contents of our two home directories, and there 
appears no difference.

Anyone seen this before?
---
Andy Holyer, Technical stuff
Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB
08451 260895 x 241
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Promise ATA100 controller and 160G disks

2004-05-26 Thread Bill Moran
Stijn Hoop wrote:
On Wed, May 26, 2004 at 09:28:09AM -0400, Bill Moran wrote:
Stijn Hoop wrote:
does anyone know if the Promise ATA100 controller PCI card supports 160 G
disks on -STABLE?
I'm not 100% sure that the Promise controller is the problem here:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/046070.html
Hmm, not good.
However, I have misworded my question I guess -- I wanted to know whether
those drives _could_ work in that configuration; I did not want to buy
non-working drives (I'd have gone for 120G if they didn't work, however I'm
reasonably sure now that it'll work).
Based on your problems I'll stay away from buying a Samsung drive right now,
even though it might not be the real problem. Thanks for the feedback.
Don't know if that's the problem or not, but I guess it's as good as I can do
with advice right now.
I'm pretty damn frustrated with the current problem, myself.
Earlier this week, I thought I'd solved the problem: I partitioned the drive
in a different computer, and it seemed to be OK in one of the machines where
it previously wouldn't work.
I then partitioned a second drive and sent them both off with the client to
be installed in the server at the colo site.  Apon installation, the system
hung (as described in the email) ... I don't know what the hell is going on
at this point, and it's incredibly frustrating because I'm not even sure how
to proceed with fixing it.
We had a Linux machine here a few weeks ago that wouldn't boot; turned out the
memory had gone faulty but we only discovered that after running memtest86 for
over 24 hours (having passed lots of tests it suddenly reported failures).  It
wasn't a case of overheating because it consistently failed to boot; it just
took memtest lots and lots of repeats to get the problem to show.
Anyway I don't know if it's related to your problem but my point is that you
never suspect the right component in the case of hardware failures :(
Good point.  If I were fixing the correct problem, it still wouldn't be a
problem.
I still think it's related to the HDDs though, as the machine had 60+ days
uptime without the drives, then wouldn't boot with them, and is now back up
and running without them.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Repeated connections to port 25 with firewall

2004-05-26 Thread Nelis Lamprecht
On Wed, 2004-05-26 at 14:27, Jonathon McKitrick wrote:
> : When local processes want to mail, they fork n exec a sendmail binary 
> : themselves.
> : 
> : You shouldn't need a sendmail server running for that.
> 
> Here is what I have/had in rc.conf
> 
> #sendmail_enable="no"
> #sendmail_submit_enable="no"
> #sendmail_outbound_enable="no"
> #sendmail_msp_queue_enable="no"
> 
> And as soon as I restarted after commenting out these lines, root's mailbox
> got filled with megs of mail from cron.  I want the minimum I need to get
> system mail without leaving an instance of sendmail vulnerable to attack or
> eating up resources.
> 

You can replace all of the above with sendmail_enable="NONE"

Not sure if it has already been pointed out to you but you can change
the behaviour of periodic jobs on your system. By default all the jobs
are mailed to root but you can have those jobs logged to a file instead.
Simply copy the periodic.conf file from /etc/defaults to /etc and change
it to your liking eg. instead of having daily_output="root" which sends
a mail to root you can have it log to a file
daily_output="/var/log/daily.log" Same apply's for weekly and monthly
jobs.

Personally I find it annoying when it sends out a mail for each job so I
change it to log to a file instead which I can check periodically (
excuse the pun ;)

As a side note if you don't want your cron jobs to output anything add
a  > /dev/null 2>&1 at the end of them.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


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


boot0cfg

2004-05-26 Thread Me
Hi,
I'm sure this has been asked before, but I cant find
any good info.
I'm having problems reinstalling the bootloader, i'm
running 5.2.1, I made it to the fixit console but when
i type boot0cfg -d da0, i get: I/O error.
Any Ideas?

Br,

Joe




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help with a routing issue

2004-05-26 Thread Malcolm Kay
On Wednesday 26 May 2004 18:25, Leon Botes wrote:
> I have a freebsd 4.7 box at a client.
> The box has an ip of 192.168.254.22
> The default gateway is 192.168.254.1 which is the inside interface of the
> gateway. The outside interface of the gateway is 196.25.37.18 and it also
> has an alias of 196.25.37.19.
>
> When i ping 196.25.37.18 from the clients box (192.168.254.22) i get this.
> mmrserver# ping 196.25.37.18
> PING 196.25.37.18 (196.25.37.18): 56 data bytes
> 36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
> 192.168.254.1)

I don't know whether it has any relevance to your problem; but I find the 
symbolic address 'brandford.trusc.net' is being reported on the public 
network:

  beta:209> host brandford.trusc.net
  brandford.trusc.net has address 192.168.254.24

Which I don't believe should be the case.
A misconfigured DNS ?

Malcolm

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


Re: Repeated connections to port 25 with firewall

2004-05-26 Thread Randy Pratt
On Wed, 26 May 2004 13:27:07 +0100
Jonathon McKitrick <[EMAIL PROTECTED]> wrote:

> : When local processes want to mail, they fork n exec a sendmail binary 
> : themselves.
> : 
> : You shouldn't need a sendmail server running for that.
> 
> Here is what I have/had in rc.conf
> 
> #sendmail_enable="no"
> #sendmail_submit_enable="no"
> #sendmail_outbound_enable="no"
> #sendmail_msp_queue_enable="no"
> 
> And as soon as I restarted after commenting out these lines, root's mailbox
> got filled with megs of mail from cron.  I want the minimum I need to get
> system mail without leaving an instance of sendmail vulnerable to attack or
> eating up resources.

This archive post may help you:

http://docs.freebsd.org/cgi/mid.cgi?20031220102637.GB6942

Another document that may be of interest is 

/etc/mail/README

> p.s.  What mail reader is good for root mail?  Is there anything better at
> managing system mail than mutt?

You can use any mail client.  You can also read root's mail as any
user by adding an entry to /etc/aliases, for example:

# Pretty much everything else in this file points to "root", so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

# root: [EMAIL PROTECTED]
root: joeuser

All the mail that would have went to root will be forwarded to
"joeuser".

HTH,

Randy

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


Re: which kinds of AMD work withh FBSD?

2004-05-26 Thread Lucas Holt
On this server (i815), the video uses the system SDRAM and
since I'm not a gamer whatever chip-set this has is adequate.
Anyboy know what kind of on-board video comes with the
AMD mobo's?  (Am I going to be pulling my hair trying to get
it working? in other words.)
gary

Intel chipset boards for pentiums almost always use an intel graphics 
chipset.  On amd based boards, it varies greatly what you get.  I would 
assume an nforce chipset with onboard would probably use a nvidia 
chipsest.  Via and sis boards are bound to have different video 
chipsets.  Short answer:  it depends on the motherboard.

I bought an asus board without onboard video for this reason and got a 
lowend nvidia agp card to throw in since i knew it was supported by 
nvidia's drivers.  (nforce 2 motherboard chipset)  That worked out 
rather nicely.

One other thing to consider is online shopping.  My local computer 
store has a barebones for $250 but i can build the same system using 
newegg.com for $200 with better parts.  (i.e. asus board, name brand 
ram, etc)  I saw a case on there for 25 bucks the other day.  Locally 
the cheapest cases are 45 (both with power supply).  I'm sure there are 
other sites too.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Mmm... forbidden donut'
-- Homer Jay Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs export -P?

2004-05-26 Thread Edd

Hi there,
I wish to know how to export from cvs and prune empty directories. I know
a co can be done and pruned by:

cvs co -rSOMETAG -P module

but:

cvs export -rSOMETAG -P module

only show me the usage help even though I have read in may places that -P
does infact apply with export too.

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Cordula's Web
> I am hoping someone can give me advice on file encryption. I would like 
> to encrypt a file and store it on my filesystem. I would like to encrypt 
> the file so that my data is not readable by someone who gains root 
> access or physical access to my computer. I do not intend to share the 
> data with anyone else so a public/private key system is optional.
> 
> I did some Googling and some reading of man pages and I have come up 
> with 3 options thus far:
> 
> 1. bdes(1)
> 
> 2. gpg -c (/usr/ports/security/gnupg)
> 
> 3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
> plus a passphrase

4. gbde (on FreeBSD >= 5.X) encrypts a whole filesystem.
It is much easier to use than utilities that encrypt
single files.

5. bdes/idea/gpg/... on top of gbde (storing an encrypted file
on an encrypted filesystem).

IMHO, it's not really the encryption algorithm that is the weak
link, but:
  a. tempfiles (or shreds of temp files) that are not physically
 overwritten (including swap memory),
  b. poor passphrases (too short or not random enough)
  c. human error.

Many programs write to temporary files (including buffers), before
writing the final versions out to disk. If you use encrypted filesystems
(like gbde) everywhere a tempfile is likely to be dropped (don't forget
[/var]/tmp and swap), your data would be much safer.

-- 
Cordula's Web. http://www.cordula.ws/

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


Serial Console problem

2004-05-26 Thread Pavel Duda
I've just tried connect to my fbsd box with serial cable (serial 
console), it works fine but I get always after some time this :

> May 26 17:12:47 monty getty[585]: login_tty /dev/console: 
>Inappropriate ioctl for device
>May 26 17:12:47 monty getty[587]: login_tty /dev/console: 
Inappropriate >ioctl for device
>May 26 17:12:47 monty init: getty repeating too quickly on port 
>/dev/console, sleeping 30 secs
>May 26 17:12:47 monty getty[589]: login_tty /dev/console: 
Inappropriate >ioctl for device

I can work with serial console, but these messages are anoying. Any 
suggestion how to get rid od them ?

Some info :
--
System is FreeBSD 5.2.1
kernel with "options CONSPEED=115200"
--
/etc/make.conf (bootblocks recompiled)
BOOT_COMCONSOLE_PORT=0x3F8
BOOT_COMCONSOLE_SPEED=115200"
--
/etc/ttys
ttyd0   "/usr/libexec/getty std.115200" vt100 on secure
--
dmesg
...
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
...
--
Thanks, P.D.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD

2004-05-26 Thread Fox
Здравствуйте!

Я вот недавно купил установочный диск с FreeBSD 5.2, и не смог его
поставить.Напишите мне пожалуйста документацию по пошаговой установке
FreeBSD 5.2.

Заранее спасибо!



-- 
С уважением,
 Fox-Russia   mailto:[EMAIL PROTECTED]

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


Re: Strange pkg_info output

2004-05-26 Thread Garance A Drosihn
At 5:41 PM -0400 5/25/04, Chuck Swiger wrote:
Garance A Drosihn wrote:
At 4:49 PM -0400 5/25/04, Chuck Swiger wrote:
If you install perl from ports, you apparently get
bsdpan included.
Hmm.  How would I know if I had it?
I don't seem to have any port with the letters 'pan' in it.
and `locate bsdpan' does not find anything.  I guess I don't
really know what I should be looking for...
How about this:
22-sec% cat /usr/ports/lang/perl5.8/distinfo
MD5 (perl-5.8.2.tar.gz) = fa356b74f99166b63a68a322c3c68f91
SIZE (perl-5.8.2.tar.gz) = 11896287
MD5 (BSDPAN-5.8.0_1.tar.gz) = af9f075e073b14714cfeb8a7582013e7
SIZE (BSDPAN-5.8.0_1.tar.gz) = 6338
...?  :-)
Ugh.  When I tried grepping /var/db/pkg/*/*, I only looked for a
lowercase 'bsdpan'.  Yes, I do have it installed.  thanks.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fputs

2004-05-26 Thread Richard Burnett-Godfree
I am trying to port software currently running on hp-ux to freeBSD 4.9.

In the code the software use fputs to output chars to the terminal.

What seems to be happening is these are all buffered until the process
terminates and then they all come out rather than being sent to the terminal
during the program operation.  Do I need to change an environment setting ??
Should I swap to printf ??  What is the syntax ??

Regards
Richard

term = (char *) getenv("TERM");

if (strcmp(term, "wy50") == 0 || strcmp(term, "wy60") == 0)
   {fputs ("\033z(", stdout);
if (argc == 1) {
   fputs (trmess, stdout);
   if (strlen(trmess) != 78)
  fputs ("\015", stdout);
}
else {
   strcpy (trmess, argv[1]);
   fputs (argv[1], stdout);
   if (strlen(trmess) != 78)
  fputs ("\015", stdout);
}
   }


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


FreeBSD to Windows No Reboot

2004-05-26 Thread Bryan Maxwell
Is there a way I can go from FreeBSD to windows without rebooting? 
Also if I have an active serial line sl0, can i run hyper terminal in 
windows with that same line? And lastly, is there a  hyperterminal
 program in FreeBSD and do i have to turn off the SLIP sl0 for it to 
run properly? Basically I have a PIC 16F819, it will respond to a 
character and display an array. Im trying to collect the packet that 
is sent for an HTML request and display what the PIC itself received. 
I have already seen the tcpdump/tcpshow packets. This will help
 me decode the TCP and my C++ code in my PIC. Thanks in advance.
Bryan Maxwell


-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tinydns +MX

2004-05-26 Thread Darryl Hoar
Greetings,
I have djbdns installed and working.  I have been using DNS
on my LAN and having it resolve the names for my local machines.
It forwards any unresolved to my ISP's dns server.

Recently, I have installed qmail on my LAN for internal email.
I used the ./add-mx to add a mx record for my machine which
is running qmail.

the mx record in the data file looks like:
@osborneindustries.com:192.168.1.89:a::86400

If I send test mail to [EMAIL PROTECTED], it gets forwarded to
my ISP's email server.  If I send email to [EMAIL PROTECTED]
(name of my qmail server), it gets delivered just fine.

How do I get my mx record setup so that [EMAIL PROTECTED] gets
delivered to mail.osborneindustries.com ?

here are a couple of tests that I ran:

mail# host -t mx osborneindustries.com 192.168.1.1
Using domain server 192.168.1.1:

osborneindustries.com mail is handled (pri=0) by a.mx.osborneindustries.com

mail# host a.mx.osborneindustries.com 192.168.1.1
Using domain server 192.168.1.1:

a.mx.osborneindustries.com has address 192.168.1.89

thanks in advance,
Darryl


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


Re: FreeBSD

2004-05-26 Thread Remko Lodder
Hey Fox
Fox wrote:
Здравствуйте!
Я вот недавно купил установочный диск с FreeBSD 5.2, и не смог его
поставить.Напишите мне пожалуйста документацию по пошаговой установке
FreeBSD 5.2.
Заранее спасибо!
The language used on this list is English,
Could you please ask the question in English?
Thanks in advance (and for your advance 2 ;))


--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: patch

2004-05-26 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
I have a source ( in fact it's many sources) divided in many directories;
and I have to patch it with a diff file. But when I perform the patch command,
the computers wants to know which file I want to patch; but there are a lot of
sources, and many of them have to be patched. So is there any option which can
specify that all sources must be modified ?
If you create the diff recursively (the -r option), it will record the 
directory structure so that patch knows how to find each of the changed files. 
 Create the diff from the same relative position as the patch command will 
run and you should be fine, otherwise consider the -d and -p options to patch...

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


Re: fputs

2004-05-26 Thread Dan Nelson
In the last episode (May 26), Richard Burnett-Godfree said:
> I am trying to port software currently running on hp-ux to freeBSD
> 4.9.
> 
> In the code the software use fputs to output chars to the terminal.
> 
> What seems to be happening is these are all buffered until the
> process terminates and then they all come out rather than being sent
> to the terminal during the program operation.  Do I need to change an
> environment setting ?? Should I swap to printf ??  What is the syntax
> ??
> 
> Regards
> Richard
> 
> if (strcmp(term, "wy50") == 0 || strcmp(term, "wy60") == 0)
>{fputs ("\033z(", stdout);
...
>}

Try adding an fflush(stdout) at the end of that code block. 

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


Re: fputs

2004-05-26 Thread Chuck Swiger
Richard Burnett-Godfree wrote:
In the code the software use fputs to output chars to the terminal.
What seems to be happening is these are all buffered until the process
terminates and then they all come out rather than being sent to the terminal
during the program operation.  Do I need to change an environment setting ??
Should I swap to printf ??  What is the syntax ??
You ought to add a fflush(stdout) to the code when and where you want to be 
sure that the output buffer is written...

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


Re: tinydns +MX

2004-05-26 Thread Bill Moran
Darryl Hoar wrote:
Greetings,
I have djbdns installed and working.  I have been using DNS
on my LAN and having it resolve the names for my local machines.
It forwards any unresolved to my ISP's dns server.
Recently, I have installed qmail on my LAN for internal email.
I used the ./add-mx to add a mx record for my machine which
is running qmail.
the mx record in the data file looks like:
@osborneindustries.com:192.168.1.89:a::86400
If I send test mail to [EMAIL PROTECTED], it gets forwarded to
my ISP's email server.  If I send email to [EMAIL PROTECTED]
(name of my qmail server), it gets delivered just fine.
How do I get my mx record setup so that [EMAIL PROTECTED] gets
delivered to mail.osborneindustries.com ?
here are a couple of tests that I ran:
mail# host -t mx osborneindustries.com 192.168.1.1
Using domain server 192.168.1.1:
osborneindustries.com mail is handled (pri=0) by a.mx.osborneindustries.com
mail# host a.mx.osborneindustries.com 192.168.1.1
Using domain server 192.168.1.1:
a.mx.osborneindustries.com has address 192.168.1.89
qmail is getting it's DNS information from somewhere other than 192.168.1.1
Log into that machine and do "host -t mx osborneindustries.com" and see what
DNS server it's using.  Perhaps you can adjust /etc/resolv.conf on the mail
server.
mail.osborneindustries.com works because there is no MX for that domain, so
qmail sends it directly to the host instead.  I'll be willing to bet that
the correct IP for that hostname is in /etc/hosts, thus it sends to where
you'd expect.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Henrik W Lund
Erik Trulsson wrote:

mplayer does have about a gazillion dependencies (most of them
optional) including X (not optional), so if you don't want X installed
then mplayer isn't for you.
(It is a multimedia player after all, and to play video you need
graphics support.)
Actually, you can pass make WITHOUT_GUI=yes and it will not install X. 
Yes, it does display videos on the command line. No, it's not pretty.

Anyway, for just converting RealAudio into MP3, it should do the job nicely.
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ethernet card not coming up on reboot

2004-05-26 Thread hoe-waa

Subject: Re: ethernet card not coming up on reboot

> 
> On Tue, 25 May 2004 20:00:12 -1000
> [EMAIL PROTECTED] spake thus:
> 
> > Aloha Eric and Luke
> > 
> > I am aware that sysinstall will append to rc.conf.
> > I went ahead and deleted all of the appends and rebooted.
> > The ethernet did not come up on reboot. I had to use
> > sysinstall to get an ip. And yes, it did append to 
> > rc.conf again.
> > 
> > I will look into setting a static ip but I would like
> > to know why this is happening. I have 3 other boxes
> > that have FreeBSD on them and they don't have this problem.
> > 
> > Robert
> > 
> > - Original Message -


On Tuesday, May 25, 2004 8:15 pm
Luke Kearney <[EMAIL PROTECTED]> wrote:

> When you used /stand/sysinstall again did you reboot to get the IP or
> did you bring up the interface by hand? I am wondering if having only
> one config line in rc.conf gives you no IP upon boot whether or not
> having booted and go no address can you get one by using netstart 
> or not?
> eg
> 
> #sh /etc/netstart
> 
> This should re-read your rc.conf file and execute the network related
> cmds.

After "sh /etc/netstart" I get :

hw.bus.devctl_disable: 1-> 1
 (then the lo0 printou)
dhclient already running? (pid-221)

and ifconfig -a unchanged. have to use sysinsstall.

> 
> One more shot in the dark and believe me this is a shot in the 
> dark, try
> changing the line in rc.conf to ifconfig_sk0="UP" and then through
> rc.local run dhclient as a separate script. The net effect being that
> you start the interface before trying to get an IP as a separate 
> process. 

I tried this but it didn't change anything...if I did it right?
I edited rc.conf and changed the line
[ifconfig_sk0="DHCP"] to [ifconfig_sk0="UP"] and created
/usr/local/etc/rc.d/rc.local to read
ifconfig_sk0="DHCP"

When I did this I could never i initialize DHCP. Even sysinstall failed.

as a side note, during boot, the sequence delays for over a minute during
starting DHClient. It can't initialize sk0 but sysinstall can. Go figure?

> 
> 
> Just out of curiousity, your other three machines that don't have this
> problem, are they all identical to the machine that does? Somehow I
> think they are probably all unique in which case we can continue to
> focus on the machine at hand. 

You are absolutely right! My other boxes are all frankenputers.

Robert
> 
> HTH
> 
> LukeK
> 
> -- 
> Luke Kearney <[EMAIL PROTECTED]>

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Bill Moran
Another option that you didn't even bring up:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
If you're not using 5.x, then this isn't available to you yet.  But I thought
I'd bring it up in case you weren't aware of it.
Simon Bates wrote:
Dear all,
I am fairly new to FreeBSD and this is my first post to 
freebsd-questions. I hope I am asking my question in the correct forum. 
Apologies if not.

I am hoping someone can give me advice on file encryption. I would like 
to encrypt a file and store it on my filesystem. I would like to encrypt 
the file so that my data is not readable by someone who gains root 
access or physical access to my computer. I do not intend to share the 
data with anyone else so a public/private key system is optional.

I did some Googling and some reading of man pages and I have come up 
with 3 options thus far:

1. bdes(1)
2. gpg -c (/usr/ports/security/gnupg)
3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
plus a passphrase

I would really appreciate any pointers to discussions of the relative 
merits of these approaches or pointers to better options if available.

Thank you all very much for your time. Best wishes,
Simon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: File encryption: bdes or gpg

2004-05-26 Thread Simon Bates
Thank you very much for your reply and your advice.
Best wishes,
Simon
Nathan Kinkade wrote:
On Wed, May 26, 2004 at 10:02:26AM -0400, Simon Bates wrote:
I am hoping someone can give me advice on file encryption.
GPG would probably work well.  You can encryt files symmetrically and
put a passphrase on the file.  Public Key encryption could work also, as
long as you have a decent passphrase on your private key.  If your
private key is passphraseless and someone gets physical access to your
machine they'll have not much problem decrypting your file.  GPG also
had other useful applications, such as signing emails and various files.
Nathan

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Simon Bates
Thank you very much for your reply, for your comments on temp file 
usage, and your suggestion to use gbde. Right now I am using FreeBSD 4.9 
but moving to 5 is definitely an option. I'll have a look at gbde.

Thanks!
Simon
Cordula's Web wrote:
I am hoping someone can give me advice on file encryption. I would like 
to encrypt a file and store it on my filesystem. I would like to encrypt 
the file so that my data is not readable by someone who gains root 
access or physical access to my computer. I do not intend to share the 
data with anyone else so a public/private key system is optional.

I did some Googling and some reading of man pages and I have come up 
with 3 options thus far:

1. bdes(1)
2. gpg -c (/usr/ports/security/gnupg)
3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
plus a passphrase

4. gbde (on FreeBSD >= 5.X) encrypts a whole filesystem.
It is much easier to use than utilities that encrypt
single files.
5. bdes/idea/gpg/... on top of gbde (storing an encrypted file
on an encrypted filesystem).
IMHO, it's not really the encryption algorithm that is the weak
link, but:
  a. tempfiles (or shreds of temp files) that are not physically
 overwritten (including swap memory),
  b. poor passphrases (too short or not random enough)
  c. human error.
Many programs write to temporary files (including buffers), before
writing the final versions out to disk. If you use encrypted filesystems
(like gbde) everywhere a tempfile is likely to be dropped (don't forget
[/var]/tmp and swap), your data would be much safer.

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


Porting ALSA drivers to OSS may be easy, according to OSS ;)

2004-05-26 Thread Bruno
Hi,
I've tinkered a bit with Linux and FreeBSD, but still consider myself as 
newbie.

I'm probably going for FreeBSD since I can see the best strenghts that 
Linux experts point in their distros already exist on FreeBSD, mostly 
coherent file structure, init scripts and package management. And a great 
plus in FreeBSD is the documentation, never seen anything like that in a 
Linux distro before (Debian seems the closest to me).

I know FreeBSD is mainly conceived as a performance server OS and lacks in 
the multimedia field when compared with Linux which is much more generic.

But in terms of sound I think the scenario could change easily: you don't 
have ALSA drivers but according to this post it's possible to convert ALSA 
drivers into free OSS drivers:

http://www.4front-tech.com/forum/viewtopic.php?p=48#48
This could mean reduced need for commercial OSS driver support :)
And of course there may be licensing issues.
Not really my problem since I have a SB Live!, but this could easily 
improve FreeBSD image on the multimedia *NIX field :)

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


Re: tinydns +MX

2004-05-26 Thread Joan Picanyol i Puig
On Wed, 26 May 2004 12:18:36 -0500, Darryl Hoar wrote:
> I have djbdns installed and working.  I have been using DNS
> on my LAN and having it resolve the names for my local machines.
> It forwards any unresolved to my ISP's dns server.

Detail your setup further.

> Recently, I have installed qmail on my LAN for internal email.
> I used the ./add-mx to add a mx record for my machine which
> is running qmail.
> 
> the mx record in the data file looks like:
> @osborneindustries.com:192.168.1.89:a::86400
> 
> If I send test mail to [EMAIL PROTECTED], it gets forwarded to
> my ISP's email server.  If I send email to [EMAIL PROTECTED]
> (name of my qmail server), it gets delivered just fine.
> 
> How do I get my mx record setup so that [EMAIL PROTECTED] gets
> delivered to mail.osborneindustries.com ?

qmail is going to the root servers to look for you mx, and thus finds your
isp's. You have to use a split-horizon setup for that.

 
> here are a couple of tests that I ran:
[...]

please run from inside your lan

dnsqr mx osborneindustries.com

qvb
-- 
pica


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


Re: mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Erik Trulsson
On Wed, May 26, 2004 at 07:32:50PM +0200, Henrik W Lund wrote:
> Erik Trulsson wrote:
> 
> 
> 
> >
> >mplayer does have about a gazillion dependencies (most of them
> >optional) including X (not optional), so if you don't want X installed
> >then mplayer isn't for you.
> >(It is a multimedia player after all, and to play video you need
> >graphics support.)
> >
> 
> Actually, you can pass make WITHOUT_GUI=yes and it will not install X. 
> Yes, it does display videos on the command line. No, it's not pretty.

Wrong.  Mplayer depends on X if you define WITHOUT_GUI.
WITHOUT_GUI causes it not to have a GUI (available if mplayer is
invoked as gmplayer) and to not depend on GTK.


> 
> Anyway, for just converting RealAudio into MP3, it should do the job nicely.
> 
> -Henrik W Lund
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 

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


Re: FreeBSD

2004-05-26 Thread platanthera
On Wednesday 26 May 2004 17:24, Fox wrote:
> Здравствуйте!

добро пожаловать.

> Я вот недавно купил установочный диск с FreeBSD 5.2, и не смог его
> поставить.Напишите мне пожалуйста документацию по пошаговой установке
> FreeBSD 5.2.
>
> Заранее спасибо!

My Russian is quite poor, but if I did understand you correctly, you are 
looking for help with the installation of FreeBSD. There is a Russian 
version of the FreeBSD handbook available online at
http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ 
Hope that helps.

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Simon Bates
Bill Moran wrote:
Another option that you didn't even bring up:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html 
Right now I am running 4.9 but upgrading to 5 is definitely a 
possibility. Thanks a lot for the pointer.

Best wishes,
Simon
If you're not using 5.x, then this isn't available to you yet.  But I 
thought
I'd bring it up in case you weren't aware of it.

Simon Bates wrote:
I am hoping someone can give me advice on file encryption. I would 
like to encrypt a file and store it on my filesystem. I would like to 
encrypt the file so that my data is not readable by someone who gains 
root access or physical access to my computer. I do not intend to 
share the data with anyone else so a public/private key system is 
optional.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bochs ethernet card

2004-05-26 Thread Brian Henning
Greetings:

Can someone explain what this line does?
device ed0 at isa? disable port 0x280 irq 10 iomem 0x8000

>From what I understand.
The 'disable' portion of the above config keeps ed0 'not found' errors from
showing up.
The ed0 device is loaded for an isa device on irq 10 with port address 0x280.

Is "device ed0 at isa? disable port 0x280 irq 10 iomem 0x8000"  part of the
default kernel for 4.10RC3?

I just noticed that pico bsd recognizes the ed0 device from boch emulator for
ne2000, but the release version of the 4.10RC3 doesn't recognize it.
Any thoughts?

Thanks,

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


Re: boot0cfg

2004-05-26 Thread Nathan Kinkade
On Wed, May 26, 2004 at 07:27:17AM -0700, Me wrote:
> Hi,
> I'm sure this has been asked before, but I cant find
> any good info.
> I'm having problems reinstalling the bootloader, i'm
> running 5.2.1, I made it to the fixit console but when
> i type boot0cfg -d da0, i get: I/O error.
> Any Ideas?
> 
> Br,
> 
> Joe

You appear to have the commands arguments confused.  Take another look
at the man page.  The -d option specifies a BIOS drive number - you can
usually leave this blank and it will defaul to the first BIOS drive,
which is generally correct for most setups.  You probably want a command
more like:

# boot0cfg -Bv da0

There are other useful options, such as setting the delay and setting
the default partition/disk to boot.  I myself usually use the command:

# boot0cfg -Bv -o noupdate -t 50 

Nathan


pgpQzbQGUscCB.pgp
Description: PGP signature


[Fwd: Re: FreeBSD to Windows No Reboot]

2004-05-26 Thread arden

--- Begin Message ---
On Wed, 2004-05-26 at 17:20, Bryan Maxwell wrote:
> Is there a way I can go from FreeBSD to windows without rebooting? 
> Also if I have an active serial line sl0, can i run hyper terminal in 
> windows with that same line? And lastly, is there a  hyperterminal
>  program in FreeBSD and do i have to turn off the SLIP sl0 for it to 
> run properly? Basically I have a PIC 16F819, it will respond to a 
> character and display an array. Im trying to collect the packet that 
> is sent for an HTML request and display what the PIC itself received. 
> I have already seen the tcpdump/tcpshow packets. This will help
>  me decode the TCP and my C++ code in my PIC. Thanks in advance.
> Bryan Maxwel

im not sure if i fully understand what it is you are doing  but 
how about running windows inside a virtual machine like vmware ?
arden
> 
>   
> -
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
--- End Message ---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NDIS problem under 5.2.1

2004-05-26 Thread Peter Risdon
I used ndiscvt to convert windows drivers for a netgear WG311v2, 
recompiled the kernel and get the following in my dmesg output:

ndis0:  mem 0xfeac000, 
0xfead, 0xfeafe000-0xfea irq22 at device 1.0 on pci2
ndis0: Reserved 0x2 bytes for rid 0x14 type3 at 0xfeac
ndis0: Reserved 0x2000 bytes for ris 0x10 type3 at 0xfeafe000
ndis: [GIANT-LOCKED]
cab't re-use a leaf (dot11BesiredBSS Type)!
no match for srand
ndis0: NDIS 01 version: 5.1
ndis0: init handler failed
device-probe-and-attach: ndis0 attach returned 6

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


Updating OpenSSL ...

2004-05-26 Thread Shaun T. Erickson
I'd like to install the OpenSSL port, and stay current with it in the 
future. It isn't clear to me what I have to do to have the system use 
the port, instead of what's in the base, and what I'll need to rebuild 
after installing the port.

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Cordula's Web
> >>1. bdes(1)
> >>
> >>2. gpg -c (/usr/ports/security/gnupg)
> >>
> >>3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
> >>plus a passphrase
> > 
> > 
> > 4. gbde (on FreeBSD >= 5.X) encrypts a whole filesystem.
> > It is much easier to use than utilities that encrypt
> > single files.
> > 
> > 5. bdes/idea/gpg/... on top of gbde (storing an encrypted file
> > on an encrypted filesystem).

The openssl(1) binary can also be used to encrypt individual files
using a lot of possible ciphers. But you need to be careful with it,
because you can very easily shoot yourself in the foot ;-)

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: config is out of sinc

2004-05-26 Thread Earl Larsen
On Tuesday 25 May 2004 06:35 pm, Kris Kennaway wrote:
> On Tue, May 25, 2004 at 01:40:36PM -0500, Earl Larsen wrote:
> > I installed FreeBSD 4.9-stabel, and used cvs to update everything. And
> > when I tried to build my personel Kernel by using. Make build
> > KERNCONF... it came up with the fallowing :
>
> It looks like you've accidentally updated your sources to 5.2-CURRENT.
> Check your cvsupfile against the sample files provided, and post it
> here if you need more help.
>
> Kris
No I have 4.9 for the source. Hear is my cvsupfile:

 *default host=cvsup12.us.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default tag=RELENG_4_9_RELEASE
*default release=cvs delete use-rel-suffix
*default compress
src-all tag=.
ports-all tag=.
doc-all tag=.
cvsroot-all tag=.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mplayer + realaudio ... what to expect when installing ...

2004-05-26 Thread Lars Eighner
On Wed, 26 May 2004, Erik Trulsson wrote:

> On Wed, May 26, 2004 at 07:32:50PM +0200, Henrik W Lund wrote:
> > Erik Trulsson wrote:
> >
> > 
> >
> > >
> > >mplayer does have about a gazillion dependencies (most of them
> > >optional) including X (not optional), so if you don't want X installed
> > >then mplayer isn't for you.
> > >(It is a multimedia player after all, and to play video you need
> > >graphics support.)
> > >
> >
> > Actually, you can pass make WITHOUT_GUI=yes and it will not install X.
> > Yes, it does display videos on the command line. No, it's not pretty.
>
> Wrong.  Mplayer depends on X if you define WITHOUT_GUI.
> WITHOUT_GUI causes it not to have a GUI (available if mplayer is
> invoked as gmplayer) and to not depend on GTK.

mplayer -vo sgva

works fine without X - whether you can build it without X, I
don't know and I rather doubt.

It makes a fine viewer for lynx, although you have to suid.  Since
it will no longer work with X if you suid it, I just copy and rename
the binary which I suid.


-- 
Lars Eighner
[EMAIL PROTECTED] -finger for geek code-
http://www.io.com/~eighner/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: Porting ALSA drivers to OSS may be easy, according to OSS ;)

2004-05-26 Thread Dan Nelson
In the last episode (May 26), Bruno said:
> I know FreeBSD is mainly conceived as a performance server OS and
> lacks in the multimedia field when compared with Linux which is much
> more generic.
> 
> But in terms of sound I think the scenario could change easily: you
> don't have ALSA drivers but according to this post it's possible to
> convert ALSA drivers into free OSS drivers:
> 
> http://www.4front-tech.com/forum/viewtopic.php?p=48#48
> 
> This could mean reduced need for commercial OSS driver support :) And
> of course there may be licensing issues.
> 
> Not really my problem since I have a SB Live!, but this could easily
> improve FreeBSD image on the multimedia *NIX field :)

Are there very many cards not supported by FreeBSD?  Note that OSS can
mean two things: drivers provided by 4front, or a userland API for
playing sound.  FreeBSD's sound system provides an OSS API, but is not
OSS internally.  Porting a Linux ALSA driver to FreeBSD is probably
about as easy as porting a Linux OSS driver.

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


difference between 4.2 and 5.2.1

2004-05-26 Thread Amir Vetry
Hi team,
I have couple of questions.  Would you please answer it.

Beside supporting more types of NIC card, what other differences are there
between 
FreeBSD 4.2 (or 4.0 series) and 5.2.1 (5.0 Series)?
Also, is multicasting supported on 5.2.1?

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


DHCPIS DOWN..

2004-05-26 Thread Gary Kline

well, severe troubles on my primary server.. dhcp
won't start.  it looks  like troble with bpf...
at least when i try to start dhcp by hand, it complains
that it can't find a bfp and quit.

can anybody help me here?  --i am currently rebuilding
my kernel with more bfp's in my KERNCONF file--

gary

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


Re: FreeBSD ISDN Modem Support

2004-05-26 Thread Uwe Laverenz
Michael Hollmann wrote:
does freebsd support this isdn-modem?
ELSA MicroLink ISDN/TLV34
Yes, of course it will work, because it is an external modem/TA that is 
connected to a serial port. There is no need for a special hardware support.

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


disk controller

2004-05-26 Thread Nick McCoy
Hi,
I have an Intel 82801EB Ultra ATA disk controller.  For FreeBSD 4.9, I see
that this is not supported and on installation I don't know if it freezes or
its trying to search for my disk controller.  It's searching for it and i've
spent over an hour waiting for it to find it.  Can you tell me if this will
be supported or if there is a work around, because i can not install.

I'm using an Intel 865PE chip set with 2.4ghz P4.

Thanks,

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


perl and berkeley

2004-05-26 Thread Len Conrad
Freebsd 4.8
1. installed a perl mod that decided it needed Perl 5.8.  that went ok, but 
now I've got

/usr/bin/perl  5.0
/usr/local/bin/perl   5.8
What is the command to get the sytstem to switch to defaulting to 5.8?
2. "pkg_add -r db3"  also went ok, but
perl -MCPAN -e 'install BerkeleyDB'
bombs out with:
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 
/usr/libdata/perl/5.00503/ExtUtils/xsubpp -noprototypes -typemap 
/usr/libdata/perl/5.00503/ExtUtils/typemap -typemap typemap 
BerkeleyDB.xs >xstmp.c && mv xstmp.c BerkeleyDB.c
cc -c 
-I./libraries/4.2.41/include   -DVERSION=\"0.25\" 
-DXS_VERSION=\"0.25\" -DPIC -fpic 
-I/usr/libdata/perl/5.00503/mach/CORE  BerkeleyDB.c
BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least 
Berkeley DB 2.6.4
*** Error code 1

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


RE: SMTP AUTH

2004-05-26 Thread Richard Stevenson
On Wed, 26 May 2004, Lee Dilkie wrote:
You've got "This server requires a secure connection (SSL)"
enabled for
the SMTP server in Outlook?
In my experience (outlook 2000, not tested on outlook express) this 
won't work. Outlook doesn't seem to understand that "use SSL" means "use 
STARTLS". What I did was to configure sendmail to also support "smtps" 
(SSL before SMTP) on the smtps port (465) and point outlook at that port 
with the "use ssl" checked.
Outlook 2002 (from Office XP) will try STARTTLS if SMTP-over-SSL doesn't 
work for any port other than 25, apparently, but as I said, it's still a 
bit hairy.  I've got clients in .us, .uk, and .nz doing this with my 
server in .nz.  FWIW, I believe Microsoft are still working on this - I'm 
told they might default to trying STARTTLS first for port 587.  These 
things take time; the MSA standard is only about five years old, after 
all...

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


Re: FreeBSD to Windows No Reboot

2004-05-26 Thread Toni Schmidbauer
On Wed, May 26, 2004 at 09:20:07AM -0700, Bryan Maxwell wrote:
> Is there a way I can go from FreeBSD to windows without rebooting? 

no, that's not possible.

> Also if I have an active serial line sl0, can i run hyper terminal in 
> windows with that same line? 

don't know exactly what you mean, sorry.

> And lastly, is there a  hyperterminal
> program in FreeBSD 

tip(1) (comes with the base os) or /usr/ports/comms/minicom

> and do i have to turn off the SLIP sl0 for it to 
> run properly? Basically I have a PIC 16F819, it will respond to a 

don't know exactly what you mean, sorry.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpnfEoGdsXQO.pgp
Description: PGP signature


Measuring the stack usage of a program

2004-05-26 Thread Michael Sig Birkmose
Hi everyone!

Does anyone know, if it is possible to meassure the maximum stack usage of
a C program throughout it's entire execution?

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


Re: Odd one: my root account disappears into hyperspace.

2004-05-26 Thread Toni Schmidbauer
On Wed, May 26, 2004 at 03:06:52PM +0100, Andy Holyer wrote:
> I ssh into my server as myself, and then su to root. At which point 
> something odd happens:
> 
> a) the output of some shell commands seems to be redirected somewhere 
> other then my xterm;
> b) when I try to run emacs or vi, I get: "emacs: standard input is not 
> a tty"
> 
> This doesn't happen when I log in as another user and try it. I've 
> tried comparing the contents of our two home directories, and there 
> appears no difference.

show us exactly what commands you are using. 

look for io redirections (< or > in bash) in your .profile, 
.bashrc, root's .profile and .bashrc and finally /etc/profile and 
any scripts that are called from within the mentioned files.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |


pgpVUcDxtMgUF.pgp
Description: PGP signature


[no subject]

2004-05-26 Thread Richard Stevenson
Hi all
I've got a quick question about the most recent security advisory, 
FreeBSD-SA-04:11.msync.  I'm trying to figure out how big an issue it is 
(whether or not I need to stop everyone's access to the file server until 
it's patched), given that we've got no "untrusted" users on our systems. 
Does anyone know if it's possible for a user to trigger this problem 
unintentionally or accidentally?

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


RE: ethernet card not coming up on reboot

2004-05-26 Thread Eric Crist
Before you run the netstart command, you need to kill all processes
named dhclient.  You can accomplish this with a:

#killall -9 dhclient

And then, #sh /etc/netstart

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 12:45 PM
To: Luke Kearney
Cc: Eric Crist; [EMAIL PROTECTED]
Subject: Re: ethernet card not coming up on reboot



Subject: Re: ethernet card not coming up on reboot

>
> On Tue, 25 May 2004 20:00:12 -1000
> [EMAIL PROTECTED] spake thus:
>
> > Aloha Eric and Luke
> >
> > I am aware that sysinstall will append to rc.conf.
> > I went ahead and deleted all of the appends and rebooted. The
> > ethernet did not come up on reboot. I had to use sysinstall to get
> > an ip. And yes, it did append to rc.conf again.
> >
> > I will look into setting a static ip but I would like
> > to know why this is happening. I have 3 other boxes
> > that have FreeBSD on them and they don't have this problem.
> >
> > Robert
> >
> > - Original Message -


On Tuesday, May 25, 2004 8:15 pm
Luke Kearney <[EMAIL PROTECTED]> wrote:

> When you used /stand/sysinstall again did you reboot to get the IP or
> did you bring up the interface by hand? I am wondering if having only
> one config line in rc.conf gives you no IP upon boot whether or not
> having booted and go no address can you get one by using netstart or
> not? eg
>
> #sh /etc/netstart
>
> This should re-read your rc.conf file and execute the network related
> cmds.

After "sh /etc/netstart" I get :

hw.bus.devctl_disable: 1-> 1
 (then the lo0 printou)
dhclient already running? (pid-221)

and ifconfig -a unchanged. have to use sysinsstall.

>
> One more shot in the dark and believe me this is a shot in the
> dark, try
> changing the line in rc.conf to ifconfig_sk0="UP" and then through
> rc.local run dhclient as a separate script. The net effect being that
> you start the interface before trying to get an IP as a separate
> process.

I tried this but it didn't change anything...if I did it right? I edited
rc.conf and changed the line [ifconfig_sk0="DHCP"] to
[ifconfig_sk0="UP"] and created /usr/local/etc/rc.d/rc.local to read
ifconfig_sk0="DHCP"

When I did this I could never i initialize DHCP. Even sysinstall failed.

as a side note, during boot, the sequence delays for over a minute
during starting DHClient. It can't initialize sk0 but sysinstall can. Go
figure?

>
>
> Just out of curiousity, your other three machines that don't have this

> problem, are they all identical to the machine that does? Somehow I
> think they are probably all unique in which case we can continue to
> focus on the machine at hand.

You are absolutely right! My other boxes are all frankenputers.

Robert
>
> HTH
>
> LukeK
>
> --
> Luke Kearney <[EMAIL PROTECTED]>


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


Re: perl and berkeley

2004-05-26 Thread Peter
Please try:

which perl

This will show which perl executable you are actually calling.

I guess typing:

/usr/local/bin/perl -MCPAN -e 'install BerkeleyDB'

will fix the problem. I guess /usr/bin/perl is in front of
/usr/local/bin/perl in your $PATH.

Peter
- Original Message - 
From: "Len Conrad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 12:18 AM
Subject: perl and berkeley


> Freebsd 4.8
>
> 1. installed a perl mod that decided it needed Perl 5.8.  that went ok,
but
> now I've got
>
> /usr/bin/perl  5.0
> /usr/local/bin/perl   5.8
>
> What is the command to get the sytstem to switch to defaulting to 5.8?
>
>
> 2. "pkg_add -r db3"  also went ok, but
>
> perl -MCPAN -e 'install BerkeleyDB'
>
> bombs out with:
>
> /usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503
> /usr/libdata/perl/5.00503/ExtUtils/xsubpp -noprototypes -typemap
> /usr/libdata/perl/5.00503/ExtUtils/typemap -typemap typemap
> BerkeleyDB.xs >xstmp.c && mv xstmp.c BerkeleyDB.c
> cc -c
> -I./libraries/4.2.41/include   -DVERSION=\"0.25\"
> -DXS_VERSION=\"0.25\" -DPIC -fpic
> -I/usr/libdata/perl/5.00503/mach/CORE  BerkeleyDB.c
> BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least
> Berkeley DB 2.6.4
> *** Error code 1
>
> thanks
> Len
>
> ___
> [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: perl and berkeley

2004-05-26 Thread David J. Weller-Fahy
* Len Conrad <[EMAIL PROTECTED]> [2004-05-26 14:18 -0800]:
> 1. installed a perl mod that decided it needed Perl 5.8.  that went
> ok, but now I've got
>
> /usr/bin/perl  5.0
> /usr/local/bin/perl   5.8
>
> What is the command to get the sytstem to switch to defaulting to 5.8?

According to /usr/ports/lang/perl5.8/pkg-message:

#v+
If you want this version of Perl to be used by default, please type

  use.perl port
#v-

Check out the rest of that file for more information.

> 2. "pkg_add -r db3"  also went ok, but

No idea on this one. ;]

HTH,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: config is out of sinc

2004-05-26 Thread Kris Kennaway
On Wed, May 26, 2004 at 02:41:21PM -0500, Earl Larsen wrote:
> On Tuesday 25 May 2004 06:35 pm, Kris Kennaway wrote:
> > On Tue, May 25, 2004 at 01:40:36PM -0500, Earl Larsen wrote:
> > > I installed FreeBSD 4.9-stabel, and used cvs to update everything. And
> > > when I tried to build my personel Kernel by using. Make build
> > > KERNCONF... it came up with the fallowing :
> >
> > It looks like you've accidentally updated your sources to 5.2-CURRENT.
> > Check your cvsupfile against the sample files provided, and post it
> > here if you need more help.
> >
> > Kris
> No I have 4.9 for the source. Hear is my cvsupfile:
> 
>  *default host=cvsup12.us.FreeBSD.org
> *default base=/usr/local/etc/cvsup
> *default prefix=/usr
> *default tag=RELENG_4_9_RELEASE
> *default release=cvs delete use-rel-suffix
> *default compress
> src-all tag=.
> ports-all tag=.
> doc-all tag=.
> cvsroot-all tag=.

Read the documentation to find out what the "tag=." does ;-)

Kris


pgpEv12PCf2hG.pgp
Description: PGP signature


Re: RE: ethernet card not coming up on reboot

2004-05-26 Thread hoe-waa
Aloha and Mahalo
Okay, that works. I dropped out of gnome and  logged 
ina s root. I deleted all the append data in rc.conf 
and I deleted /usr/local/etc/rc.d/rc.local.
I then rebooted. When I came back up ifconfig showed  
no ip address. I then did the "killall -9 dhclient" 
and the "sh /etc/netstart". After that completed ifconfig
showed the ip address.
So, what's happening? Is there a sequence problem or 
do I need to have a script run to kill dhclient and 
then run netstart?

Thanks for your time helping with this problem.
Robert

- Original Message -
From: Eric Crist <[EMAIL PROTECTED]>
Date: Wednesday, May 26, 2004 12:53 pm
Subject: RE: ethernet card not coming up on reboot

> Before you run the netstart command, you need to kill all processes
> named dhclient.  You can accomplish this with a:
> 
> #killall -9 dhclient
> 
> And then, #sh /etc/netstart
> 
> Eric F Crist
> President
> AdTech Integrated Systems, Inc
> (612) 998-3588
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 12:45 PM
> To: Luke Kearney
> Cc: Eric Crist; [EMAIL PROTECTED]
> Subject: Re: ethernet card not coming up on reboot
> 
> 
> 
> Subject: Re: ethernet card not coming up on reboot
> 
> >
> > On Tue, 25 May 2004 20:00:12 -1000
> > [EMAIL PROTECTED] spake thus:
> >
> > > Aloha Eric and Luke
> > >
> > > I am aware that sysinstall will append to rc.conf.
> > > I went ahead and deleted all of the appends and rebooted. The
> > > ethernet did not come up on reboot. I had to use sysinstall to get
> > > an ip. And yes, it did append to rc.conf again.
> > >
> > > I will look into setting a static ip but I would like
> > > to know why this is happening. I have 3 other boxes
> > > that have FreeBSD on them and they don't have this problem.
> > >
> > > Robert
> > >
> > > - Original Message -
> 
> 
> On Tuesday, May 25, 2004 8:15 pm
> Luke Kearney <[EMAIL PROTECTED]> wrote:
> 
> > When you used /stand/sysinstall again did you reboot to get the 
> IP or
> > did you bring up the interface by hand? I am wondering if having 
> only> one config line in rc.conf gives you no IP upon boot whether 
> or not
> > having booted and go no address can you get one by using netstart or
> > not? eg
> >
> > #sh /etc/netstart
> >
> > This should re-read your rc.conf file and execute the network 
> related> cmds.
> 
> After "sh /etc/netstart" I get :
> 
> hw.bus.devctl_disable: 1-> 1
> (then the lo0 printou)
> dhclient already running? (pid-221)
> 
> and ifconfig -a unchanged. have to use sysinsstall.
> 
> >
> > One more shot in the dark and believe me this is a shot in the
> > dark, try
> > changing the line in rc.conf to ifconfig_sk0="UP" and then through
> > rc.local run dhclient as a separate script. The net effect being 
> that> you start the interface before trying to get an IP as a separate
> > process.
> 
> I tried this but it didn't change anything...if I did it right? I 
> editedrc.conf and changed the line [ifconfig_sk0="DHCP"] to
> [ifconfig_sk0="UP"] and created /usr/local/etc/rc.d/rc.local to read
> ifconfig_sk0="DHCP"
> 
> When I did this I could never i initialize DHCP. Even sysinstall 
> failed.
> as a side note, during boot, the sequence delays for over a minute
> during starting DHClient. It can't initialize sk0 but sysinstall 
> can. Go
> figure?
> 
> >
> >
> > Just out of curiousity, your other three machines that don't have 
> this
> > problem, are they all identical to the machine that does? Somehow I
> > think they are probably all unique in which case we can continue to
> > focus on the machine at hand.
> 
> You are absolutely right! My other boxes are all frankenputers.
> 
> Robert
> >
> > HTH
> >
> > LukeK
> >
> > --
> > Luke Kearney <[EMAIL PROTECTED]>
> 
> 
> 

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


Re: File encryption: bdes or gpg

2004-05-26 Thread Nathan Kinkade
On Wed, May 26, 2004 at 10:02:26AM -0400, Simon Bates wrote:
> Dear all,
> 
> I am fairly new to FreeBSD and this is my first post to 
> freebsd-questions. I hope I am asking my question in the correct forum. 
> Apologies if not.
> 
> I am hoping someone can give me advice on file encryption. I would like 
> to encrypt a file and store it on my filesystem. I would like to encrypt 
> the file so that my data is not readable by someone who gains root 
> access or physical access to my computer. I do not intend to share the 
> data with anyone else so a public/private key system is optional.
> 
> I did some Googling and some reading of man pages and I have come up 
> with 3 options thus far:
> 
> 1. bdes(1)
> 
> 2. gpg -c (/usr/ports/security/gnupg)
> 
> 3. gpg (/usr/ports/security/gnupg) with a public/private key pair for me 
> plus a passphrase
> 
> I would really appreciate any pointers to discussions of the relative 
> merits of these approaches or pointers to better options if available.
> 
> Thank you all very much for your time. Best wishes,
> Simon

GPG would probably work well.  You can encryt files symmetrically and
put a passphrase on the file.  Public Key encryption could work also, as
long as you have a decent passphrase on your private key.  If your
private key is passphraseless and someone gets physical access to your
machine they'll have not much problem decrypting your file.  GPG also
had other useful applications, such as signing emails and various files.

Nathan


pgpXN0ud9uvvo.pgp
Description: PGP signature


Re: difference between 4.2 and 5.2.1

2004-05-26 Thread Kris Kennaway
On Wed, May 26, 2004 at 01:32:24PM -0700, Amir Vetry wrote:
> Hi team,
> I have couple of questions.  Would you please answer it.
> 
> Beside supporting more types of NIC card, what other differences are there
> between 
> FreeBSD 4.2 (or 4.0 series) and 5.2.1 (5.0 Series)?

There are literally thousands of differences, big and small.  The best
place to start is to read the release notes for all the intervening
releases to find out what has changed.

> Also, is multicasting supported on 5.2.1?

Yes, as on 4.x.

Kris


pgpkwXZQqXHO6.pgp
Description: PGP signature


Re: DHCP is down..

2004-05-26 Thread Gary Kline
On Wed, May 26, 2004 at 01:51:46PM -0700, Gary Kline wrote:
> 
>   well, severe troubles on my primary server.. dhcp
>   won't start.  it looks  like troble with bpf...
>   at least when i try to start dhcp by hand, it complains
>   that it can't find a bfp and quit.
> 
>   can anybody help me here?  --i am currently rebuilding
>   my kernel with more bfp's in my KERNCONF file--
> 

People,

Well, sorry if it is bad-form to reply to my eaelier post.
MAKEDEV'ing bfp16 may have beenn part of it.  I have a 
more important question; does anybody have any insights 
into *why* when I typed

# sh /usr/local/etc/rc.d/isc-dhcpd.sh status|stop|start

did I get a truckload of errors from named[`pid`]??!!
Nothing I did got the daemon working... .

I am uusing bind-9 which is installed in /usr/local/sbin/.
The default bind stuff is in /usr/sbin.  Was part of the
isc-dhcp* stuff called the contrib named?

I blew away 5+ hours with my network down I sure hope
someone can de-idiotize me.  

gary

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


RE: DHCP is down..

2004-05-26 Thread Eric Crist
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline
> Sent: Wednesday, May 26, 2004 8:09 PM
> To: Gary Kline
> Cc: FreeBSD Mailing List
> Subject: Re: DHCP is down..
>
>
> On Wed, May 26, 2004 at 01:51:46PM -0700, Gary Kline wrote:
> >
> > well, severe troubles on my primary server.. dhcp
> > won't start.  it looks  like troble with bpf...
> > at least when i try to start dhcp by hand, it complains
> > that it can't find a bfp and quit.
> >
> > can anybody help me here?  --i am currently rebuilding
> > my kernel with more bfp's in my KERNCONF file--
> >
>
>   People,
>
>   Well, sorry if it is bad-form to reply to my eaelier post.
>   MAKEDEV'ing bfp16 may have beenn part of it.  I have a
>   more important question; does anybody have any insights
>   into *why* when I typed
>
>   # sh /usr/local/etc/rc.d/isc-dhcpd.sh status|stop|start
>
>   did I get a truckload of errors from named[`pid`]??!!
>   Nothing I did got the daemon working... .
>
>   I am uusing bind-9 which is installed in /usr/local/sbin/.
>   The default bind stuff is in /usr/sbin.  Was part of the
>   isc-dhcp* stuff called the contrib named?
>
>   I blew away 5+ hours with my network down I sure hope
>   someone can de-idiotize me.
>
>   gary

Gary,

Please tell me you didn't type the following, verbatim:

# sh /usr/local/etc/rc.d/isc-dhcpd.sh status|stop|start

If this _is_ indeed the case, you need to try:

#sh /usr/local/etc/rc.d/isc-dhcpd.sh start

If that completes without errors, try:

#sh /usr/local/etc/rc.d/isc-dhcpd.sh status

Once you do this, please respond to the list so we know how it turned
out.

HTH

Eric F Crist


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


error compiling XFree86-4-libraries

2004-05-26 Thread Norhisham Khalil


Hi 

I'm upgrading my XFree86 libraries from  XFree86-libraries-4.3.0_6 to 
XFree86-libraries-4.3.0_7
my box is FreeBSD 5.2.1-RELEASE p6

compiling Xfree86-4-libraries it stopped at

rm -f AuRead.c
ln -s /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib/Xau/AuRead.c
AuRead.c
rm -f ks_tables.h makekeys makekeys.o
cc -o makekeys -O -pipe -mcpu=pentiumpro  -ansi -Dasm=__asm 
GccWarningOptions-I/home/usr/ports/x11/XFree86-4-libraries/work/xc
-I/home/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include  
-DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_THREAD_SAFE
-DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI-DMALLOC_0_RETURNS_NULL 
-DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\"  
util/makekeys.c -L/usr/X11R6/lib -lc_r   -Wl,-rpath,/usr/X11R6/lib
cc: GccWarningOptions: No such file or directory
*** Error code 1 (ignored)
./makekeys <
/home/usr/ports/x11/XFree86-4-libraries/work/xc/exports/include/X11/keysymdef.h
> ks_tables_h
./makekeys: not found
*** Error code 127

Stop in /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11.
*** Error code 1

Stop in /home/usr/ports/x11/XFree86-4-libraries/work/xc/lib.
*** Error code 1

Stop in /home/usr/ports/x11/XFree86-4-libraries.

without resolving this issue i can't upgrade other ports, or install new
packages that depend on XFree86-libraries

I had makeworld twice since i got this problem. 
Anything i could do to solve my problem?

thanks
sham khalil

This e-mail has been sent via JARING webmail at http://www.jaring.my
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: config is out of sinc

2004-05-26 Thread Earl Larsen
On Wednesday 26 May 2004 06:41 pm, Kris Kennaway wrote:
> On Wed, May 26, 2004 at 02:41:21PM -0500, Earl Larsen wrote:
> > On Tuesday 25 May 2004 06:35 pm, Kris Kennaway wrote:
> > > On Tue, May 25, 2004 at 01:40:36PM -0500, Earl Larsen wrote:
> > > > I installed FreeBSD 4.9-stabel, and used cvs to update everything.
> > > > And when I tried to build my personel Kernel by using. Make build
> > > > KERNCONF... it came up with the fallowing :
> > >
> > > It looks like you've accidentally updated your sources to 5.2-CURRENT.
> > > Check your cvsupfile against the sample files provided, and post it
> > > here if you need more help.
> > >
> > > Kris
> >
> > No I have 4.9 for the source. Hear is my cvsupfile:
> >
> >  *default host=cvsup12.us.FreeBSD.org
> > *default base=/usr/local/etc/cvsup
> > *default prefix=/usr
> > *default tag=RELENG_4_9_RELEASE
> > *default release=cvs delete use-rel-suffix
> > *default compress
> > src-all tag=.
> > ports-all tag=.
> > doc-all tag=.
> > cvsroot-all tag=.
>
> Read the documentation to find out what the "tag=." does ;-)
>
> Kris
So I should edit my cvsupfile to read as the fallowing:

*default host=cvsup12.us.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default tag=RELENG_4_9_RELEASE
*default date=2003.10.28
*default release=cvs delete use-rel-suffix
*default compress
src-all date=.
ports-all tag=.
doc-all tag=.
cvsroot-all date=.

And it will update all of 4.9 as 4.9? To update my system corectly. Should I 
run mergmaster, after cvsed the system. Since I ran mergmaster with the 
incorrect files. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl and berkeley

2004-05-26 Thread Len Conrad

which perl
This will show which perl executable you are actually calling.
the system perl:
# which perl
/usr/bin/perl

I guess typing:
/usr/local/bin/perl -MCPAN -e 'install BerkeleyDB'
that fails, too, same error
Len
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: config is out of sinc

2004-05-26 Thread Earl Larsen
On Wednesday 26 May 2004 10:59 pm, Kris Kennaway wrote:
> On Wed, May 26, 2004 at 10:23:03PM -0500, Earl Larsen wrote:
> > > Read the documentation to find out what the "tag=." does ;-)
> > >
> > > Kris
> >
> > So I should edit my cvsupfile to read as the fallowing:
> >
> > *default host=cvsup12.us.FreeBSD.org
> > *default base=/usr/local/etc/cvsup
> > *default prefix=/usr
> > *default tag=RELENG_4_9_RELEASE
> > *default date=2003.10.28
> > *default release=cvs delete use-rel-suffix
> > *default compress
> > src-all date=.
> > ports-all tag=.
> > doc-all tag=.
> > cvsroot-all date=.
> >
> > And it will update all of 4.9 as 4.9? To update my system corectly.
> > Should I run mergmaster, after cvsed the system. Since I ran mergmaster
> > with the incorrect files.
>
> No, you're way off.  See the sample configuration files, and read the
> documentation on cvsup in the handbook.
>
> Kris
Where is the sample config files located?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FW: DHCP is down..

2004-05-26 Thread Eric Crist
-Original Message-
From: Thomas Farrell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 9:34 PM
To: Eric Crist
Subject: Re: DHCP is down..


Do you have this in  the begining of dhcpd.conf

ddns-update-style none;

?
If you don't put it in at the top of config


 Please read above 

Apparently, you sent this to wrong person, or didn't reply to the entire
list.


Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588





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


Problem after running portupgrade (continue)

2004-05-26 Thread Stephen Liu
Hi folks,

I found following files on

# ls -lh /tmp/
srwxrwxrwx  1 wnn  wheel   0B Mar 28 23:22
cd_sockV4
srwxr-xr-x  1 satimis  wheel   0B May 25 19:33
file1XG2EX
srwxr-xr-x  1 satimis  wheel   0B May 25 22:37
file38j0wR
srwxr-xr-x  1 satimis  wheel   0B May 23 23:41
file4Umjgt
srwxr-xr-x  1 satimis  wheel   0B May 24 23:03
fileBSC8C0
srwxr-xr-x  1 satimis  wheel   0B May 24 23:41
fileQJVrqc
srwxr-xr-x  1 satimis  wheel   0B May 23 20:04
fileZZ7EKb
srwxr-xr-x  1 satimis  wheel   0B May 23 00:27
fileZzv73Y
srwxr-xr-x  1 satimis  wheel   0B May 27 09:01
filedInBFW
srwxr-xr-x  1 satimis  wheel   0B May 25 15:40
filehXKshb
srwxr-xr-x  1 satimis  wheel   0B May 26 23:47
filel6qaBo
srwxr-xr-x  1 satimis  wheel   0B May 23 00:29
filelVIjRu
srwxr-xr-x  1 satimis  wheel   0B May 25 23:37
fileq1kqeJ
srwxr-xr-x  1 satimis  wheel   0B May 23 19:57
fileqqmG1v
srwxr-xr-x  1 satimis  wheel   0B May 25 13:08
filercSbq1
srwxr-xr-x  1 satimis  wheel   0B May 23 08:15
fileshMHVV
srwxr-xr-x  1 satimis  wheel   0B May 26 00:09
filewt72dp

But they can't be moved to /urs/tmp

Any advise?  What are they for and how they were
created.  Can I delete them all

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >