Apache2 on FreeBSD 4.8-R returns garbage from nwfs-mountedfilesystem

2003-08-16 Thread Stephen Marquard
Hi,

I am running Apache 2.0.47 on FreeBSD 4.8-RELEASE (compiled from 
FreeBSD ports, default install), with a virtual website set up to 
access files mounted on a Netware filesystem.

The filesystem is mounted using mount_nwfs. The FreeBSD kernel has 
NCP and NWFS compiled in to support the Netware filesystem.

As a normal user or even as the www user which apache2 runs as, it is
possible to read the files on the Netware-mounted filesystem 
normally.

However, when the virtual website is accessed, apache2 returns 
garbage, no matter what the file accessed. The contents appear to be 
random parts of other files on the system (or could be from the 
server memory space, I'm not sure).

Apache2 is returning a file of the correct length however, just that 
the contents are completely different.

If I use a php page to include() a file on the netware-mounted 
filesystem, it works correctly.

Running the same setup under apache1 works as expected, i.e. does not
return garbage.

This appears to be a problem with apache2's handling of files read 
from nwfs-mounted filesystems, where the contents somehow become 
corrupt.

Does anyone have a solution to this, or should I submit it as an 
apache2 bug report ?

I'm happy to do any further diagnostic tests that anyone can suggest.

Regards
Stephen
---
Stephen Marquard
ICT Consultant
[EMAIL PROTECTED]
Cell: +27-83-500-5290


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


make buildworld stoppes with an error

2003-08-16 Thread ertank
Hello, 

I was trying to upgrade my 4.7-RELEASE system to FreeBSD 5.x-CURRENT. 

After make buildworld, the process comes until the stage 4 and there it 
gives me the below error which is a copy-paste from the output: 

--
stage 4: populating /usr/obj/usr/src/i386/usr/include
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac  
DESTDIR=/usr/obj/usr/src/i386  INSTALL=sh /usr/src/tools/install.sh  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/ 
bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/u 
sr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/ 
sbin:/usr/bin /usr/obj/usr/src/make.i386/make -f Makefile.inc1 
SHARED=symlinks par-includes
=== share/info
cd /usr/src/share/info; /usr/obj/usr/src/make.i386/make buildincludes; 
/usr/obj/usr/src/make.i386/make installincludes
=== include
cd /usr/src/include; /usr/obj/usr/src/make.i386/make buildincludes; 
/usr/obj/usr/src/make.i386/make installincludes
creating osreldate.h from newvers.sh
make: no target to make.
*** Error code 2 

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

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

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

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

Stop in /usr/src.
avcilar# 

My kernel is GENERIC kernel, and system is:
FreeBSD avcilar.ozlerplastik.com 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 
9 15:08:34 GMT 2002 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 

FreeBSD 5.x-CURRENT sources are cvsupped as of 15 August 2003. 

I tried to do a make buildworld with the FreeBSD 4.8-STABLE sources. I get 
an error with that sources, too. But I am not sure if it was the same error. 

Any one else has any idea about the problem? 

Best Regards, 

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


Re: Installing FreeBSD

2003-08-16 Thread Alastair G. Hogge
On Saturday, 16 August 2003 13:16, Per Christian wrote:
 Hello.

 I have downloaded a copy of FreeBSD 5.1-RELEASE and want to install it. But
 to be sure, I want to keep my existing Windows install, so that if I don't
 like it, I can switch back. But then, I can't find any describtion if any,
 on how to make the partitions with PartitionMagic, which is a good program
 I really like.
Can't you use ParititionMagix to resize your Windows file system?

And then during the FreeBSD install use the left over  space from the resize 
above for the BSD file system.

 And what filesystem does FreeBSD use?
I believe it's Berkeley Fast File System. or Unix File System 2(not sure 
someone might correct me)...or a combition of the two..?

 Is it possible to use ext2 which Linux uses?
Don't think so.

 - Per Christian
-Al
 ___
 [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: Installing FreeBSD

2003-08-16 Thread Rus Foster
  Is it possible to use ext2 which Linux uses?
 Don't think so.


If you put option EXT2 in the kernel conf and rebuild it you can mount
ext2 filesystems but its not in the GENERIC kernel AFAIK

Rgds
RUs
-- 
w: http://www.jvds.com  | Linux + FreeBSD VDS's from $15/mo
e: [EMAIL PROTECTED]| Totally Customizable Technology
t: 07919 373537 | General FreeBSD Forums:
msm: [EMAIL PROTECTED]   | http://forums.jvds.com/viewforum.php?f=7


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


kernel: table is full

2003-08-16 Thread Joachim Dagerot
My server stopped responding on web and ssh today.

I couldn't even login at the console, got an error stating something
about a missing *.so file in /usr/..somewhere

I ctrl-alt-del restarted and now everything is up again.


in /var/log I can read similar lines:

[date-time] kernel: table is full
[date-time] last message repeated 17371 times
[date-time] last message repeated 97223 times


I thought I was running out of disk, but a df states differently
But when I do a df everything looks good.

Any clue what this is about?

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


Re: kernel: table is full

2003-08-16 Thread Rus Foster

 I couldn't even login at the console, got an error stating something
 about a missing *.so file in /usr/..somewhere

 I ctrl-alt-del restarted and now everything is up again.



You need to increase the number of free file handles

Add kern.maxfiles=25000 to /etc/sysctl.conf and also ryn sysctl
kern.maxfiles=25000 to update the running system

Rgds

Rus
-- 
w: http://www.jvds.com  | Linux + FreeBSD VDS's from $15/mo
e: [EMAIL PROTECTED]| Totally Customizable Technology
t: 07919 373537 | General FreeBSD Forums:
msm: [EMAIL PROTECTED]   | http://forums.jvds.com/viewforum.php?f=7


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


Re: kernel: table is full

2003-08-16 Thread Kris Kennaway
On Sat, Aug 16, 2003 at 01:36:45AM -0700, Rus Foster wrote:
 
  I couldn't even login at the console, got an error stating something
  about a missing *.so file in /usr/..somewhere
 
  I ctrl-alt-del restarted and now everything is up again.
 
 
 
 You need to increase the number of free file handles

Or figure out what is using so many of them (e.g. fstat, etc).

Kris


pgp0.pgp
Description: PGP signature


dynamic IPSEC: Holy grail sighted

2003-08-16 Thread Kent Hauser
Hi,

Thanks to some pointers from Christian Kratzer, I am now able to join the 
office VPN from a random WiFi hotspot. With the configuration files changes 
detailed below, from a public WiFi hotspot I can now use this 3 step 
procedure to login to the office VPN.

1) While at hotspot, boot up my -STABLE laptop.
2) Insert wireless card.
3) rsh server

This procedure works for a DHCP assigned private address translated by NAT at 
the  hotspot to an unknown public address. The office VPN server is also 
behind a NAT firewall  uses private network addresses with a *dynamically* 
assigned public address. In other words, it's about as a complicated as you 
can get (I think).

Three pieces of software must be configured for this to work. First racoon 
is used to exchange keys and security policies. Second, DHCP is configured 
to install security policies  alias the remote's interface with the remote's 
VPN address. Finally, the office router is setup to use DDNS (see dyndns.org) 
so that the office dynamic IP address can be found from a  fixed DNS name.

First racoon configuration. The office router must be programmed to pass port 
500 to the server for racoon negotiation. The office server is set to 
listen and generate policy. This means that the policy proposed by the 
remote is inserted in the server's tables. There is a question of trust 
involved here I will not address. Also, my example uses shared private 
keys, but there are plenty of examples of cert-based racoon, etc. The mods 
for my remote racoon conf are merely timers.

Second, DHCP on the remote is configured using /etc/dhcp-exit-hooks and 
/etc/dhcp.conf. The file  /etc/dhcp-exit-hooks is executed by DHCP 
whenever an address is assigned. My dhcp-exit-hooks script (below) is a 
poorly written combination perl  sh script which translated DNS names to 
numbers  creates a security policy which is installed in the kernel by 
setkey. I did the perl part in perl so that I could translate DNS names to 
numbers for setkey (see above: my server public address has static name but 
dynamic number). The server definitions at the head of the script should 
probably go in /etc/rc.conf in a production environment.

Finally, DHCP is also configured to alias the private VPN address on the WiFi 
interface. This causes the kernel to use the correct source address on VPN 
packets. In a production environment, the dhcp-exit-hooks script should 
probably set up a GIF interface for this purpose to eliminate the need for 
the dhcp.conf file. 

After all this is done, setkey -PD on the remote shows packets from the 
remote's VPN address to the VPN network travelling thru a tunnel from the 
WiFi dynamic address to the office's public address. A setkey -PD on the 
server show packets from the VPN network to the remote passing thru a tunnel 
from the server's private address to the WiFi hotspot's public address 
(obviously racoon magic). AH  ESP are negotiated. I haven't checked if the 
server sets up a proxy arp for the remote -- but this is standard VPN fare.

One final thing. Everything's screwed up if the WiFi hotspot chooses the same 
private network address as the office VPN. FWIW, I would recommend VPNs use 
the reserved class-B addresses (172.16-171.31) instead of the more common 
192.168  10 (both of which I've seen in hotspots  hotels). I've never seen 
an address in the Class-B range assigned by a public server.

That's it. Comments appreciated. And if anyone knows perl  wants to clean up 
my mess, pls send me a copy.

Cheers. Kent
# $FreeBSD: src/etc/dhclient.conf,v 1.2.2.1 2001/12/14 11:44:31 rwatson Exp $
#
#   This file is required by the ISC DHCP client.
#   See ``man 5 dhclient.conf'' for details.
#
#   In most cases an empty file is sufficient for most people as the
#   defaults are usually fine.
#
alias {
interface wi0;
fixed-address 192.168.101.50;
}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


win codecs for Mplayer

2003-08-16 Thread Martin Vana
hi,
I've problem installing Mplayer on 5.1-RELEASE, requiered package
win32-codecs is missing on ftp sites even link from www.freebsd.org/ports
is broken. Is there any download lacation where I can find the port?
Thank you
Martin

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


dynamic IPSEC: Holy grail sighted

2003-08-16 Thread Kent Hauser
[This is a repost as attachments dont seem to work to the list]

Hi,

Thanks to some pointers from Christian Kratzer, I am now able to join the 
office VPN from a random WiFi hotspot. With the configuration files changes 
detailed below, from a public WiFi hotspot I can now use this 3 step 
procedure to login to the office VPN.

1) While at hotspot, boot up my -STABLE laptop.
2) Insert wireless card.
3) rsh server

This procedure works for a DHCP assigned private address translated by NAT at 
the  hotspot to an unknown public address. The office VPN server is also 
behind a NAT firewall  uses private network addresses with a *dynamically* 
assigned public address. In other words, it's about as a complicated as you 
can get (I think).

Three pieces of software must be configured for this to work. First racoon 
is used to exchange keys and security policies. Second, DHCP is configured 
to install security policies  alias the remote's interface with the remote's 
VPN address. Finally, the office router is setup to use DDNS (see dyndns.org) 
so that the office dynamic IP address can be found from a  fixed DNS name.

First racoon configuration. The office router must be programmed to pass port 
500 to the server for racoon negotiation. The office server is set to 
listen and generate policy. This means that the policy proposed by the 
remote is inserted in the server's tables. There is a question of trust 
involved here I will not address. Also, my example uses shared private 
keys, but there are plenty of examples of cert-based racoon, etc. The mods 
for my remote racoon conf are merely timers.

Second, DHCP on the remote is configured using /etc/dhcp-exit-hooks and 
/etc/dhcp.conf. The file  /etc/dhcp-exit-hooks is executed by DHCP 
whenever an address is assigned. My dhcp-exit-hooks script (below) is a 
poorly written combination perl  sh script which translated DNS names to 
numbers  creates a security policy which is installed in the kernel by 
setkey. I did the perl part in perl so that I could translate DNS names to 
numbers for setkey (see above: my server public address has static name but 
dynamic number). The server definitions at the head of the script should 
probably go in /etc/rc.conf in a production environment.

Finally, DHCP is also configured to alias the private VPN address on the WiFi 
interface. This causes the kernel to use the correct source address on VPN 
packets. In a production environment, the dhcp-exit-hooks script should 
probably set up a GIF interface for this purpose to eliminate the need for 
the dhcp.conf file. 

After all this is done, setkey -PD on the remote shows packets from the 
remote's VPN address to the VPN network travelling thru a tunnel from the 
WiFi dynamic address to the office's public address. A setkey -PD on the 
server show packets from the VPN network to the remote passing thru a tunnel 
from the server's private address to the WiFi hotspot's public address 
(obviously racoon magic). AH  ESP are negotiated. I haven't checked if the 
server sets up a proxy arp for the remote -- but this is standard VPN fare.

One final thing. Everything's screwed up if the WiFi hotspot chooses the same 
private network address as the office VPN. FWIW, I would recommend VPNs use 
the reserved class-B addresses (172.16-171.31) instead of the more common 
192.168  10 (both of which I've seen in hotspots  hotels). I've never seen 
an address in the Class-B range assigned by a public server.

That's it. Comments appreciated. And if anyone knows perl  wants to clean up 
my mess, pls send me a copy.

Cheers. Kent

=
/etc/dhlient-exit-hooks

#!/bin/sh
# script dhclient-exit-hooks 8/14/03 [EMAIL PROTECTED]

. /etc/rc.conf

#new_ip_address=192.168.3.50
#export new_ip_address

export SERVER_PUBLIC=my-server.dyndns.org
export SERVER_PRIVATE=my-server
export MOBILE_PRIVATE=$hostname
export MOBILE_PUBLIC=$new_ip_address
export MOBILE_NETSIZE=24

perl  -w EOF
#!/usr/bin/perl

sub get_addr {
my \$addr = gethostbyname shift (@_);
my (\$a,\$b,\$c,\$d) = unpack ('C4',\$addr);
return sprintf %d.%d.%d.%d,\$a,\$b,\$c,\$d;
}

\$SP = get_addr ($SERVER_PUBLIC);
\$SV = get_addr ($SERVER_PRIVATE);
\$MP = get_addr ($MOBILE_PUBLIC);
\$MV = get_addr ($MOBILE_PRIVATE);

if ($MOBILE_NETSIZE) {
\$SV = sprintf %s/%d, \$SV, $MOBILE_NETSIZE;
}

system setkey -FP;
system setkey -F;
; dont know why I can't pipe to process. Oh well.
;open (SETKEY, | /usr/sbin/setkey -c);

open (SETKEY, /tmp/spd);

printf SETKEY spdadd %s %s any -P out , \$MV, \$SV;
printf SETKEY ipsec esp/tunnel/%s-%s/use;\n, \$MP,\$SP;
printf SETKEY spdadd %s %s any -P in , \$SV, \$MV;
printf SETKEY ipsec esp/tunnel/%s-%s/use;\n, \$SP, \$MP;

close SETKEY;
exit 0;
__END__
EOF
/usr/sbin/setkey -f /tmp/spd
exit 0
=
/etc/dhclient.conf
# $FreeBSD: src/etc/dhclient.conf,v 1.2.2.1 2001/12/14 11:44:31 rwatson Exp $
#
#   This file is required by the ISC DHCP client.
#   See ``man 5 dhclient.conf'' for details.
#
#  

Re: windows better than freebsd?

2003-08-16 Thread Aaron Siegel
Hello

  If you have a connection to the internet you can install FreeBSD by 
retrieving the distribution through ftp interface.

If you can find a solution on this mailing try posting to 
[EMAIL PROTECTED]




Good Luck 




On Thursday 14 August 2003 07:43 pm, zteknofreak wrote:
 i've been trying to install freebsd on a sony vaio pcg-n505ve for a few
 hours now. i know that this is not the first time a problem like this
 has passed this list [google tells me so], but the solutions posted here
 are not working. on boot, btx sees disk0 as the internal hard drive, and
 disk1 as the cdrom. the kernel boots and sysinstall starts. i can do
 basic partition info, but when i ask it to load files from cd/dvd it
 tells me that no cd/dvd devices were found.

 so i google.

 google tells me that things will work if i add 'set
 hw.pcic.intr_path=3D1' and 'set hw.pcic.irq=3D0' too the boot
 loader. so i do this, and it doesn't work. the only other thing that
 google can tell me is to try: 'set hw.pcic.intr_path=1' and 'set
 hw.pcic.irq=0' this renders the system worse than before. when this
 configuration tries to boot, the system hangs after 'ata0: at 0x1f0 irq
 14 on atapci0'

 at this point i try xp just because. it works flawlessly. i'm so not
 happy with that.

 can anyone help?


 -

[EMAIL PROTECTED]

 unix: because rebooting is for adding new hardware.

 ___
 [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]


man 1 as

2003-08-16 Thread freebsd_deamon
dear list

yesterday evening i fliped through the developers handbook x86 assenbler
section.
it states that an assembler compile is part of the base system
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86-the-tools.html).
i can't find it on 5.1-R.

the FreeBSD web site doesn't have it either. Does it still exist?

TIA


-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

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


Re: Module exists error (miibus.ko and if_ed.ko)

2003-08-16 Thread K Anderson


Martin wrote:
On Fri, 2003-08-15 at 07:42, K Anderson wrote:


module_register: module miibus/ukphy already exists!
linker_file_sysinit miibus.ko failed to register! 17
module_register: module pci/ed already exists!
linker_file_sysinit if_ed.ko failed to register! 17


Happened to me, too, yesterday. I got a similar message 
message about if_tun.ko.

My PC:
K6-300,
FreeBSD 5.1-CURRENT #0: Tue Aug 12 08:18:44 CEST 2003
Martin
If you happen to get it to go away let me know what you did. I'm 
surprised that my diskless kernel stopped doing it and it's the same 
source I use to build my regular kernal with.

The one thing I noticed is that I don't see the kernel module for the rl 
interface. So something funky is going on. In the diskless kldstat I 
don't see any of the interface modules loaded. Once again, I used that 
diskless script to copy the information.

Oh well. Hopefully more of this comes up and somebody will have a solution.

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


Re: man 1 as

2003-08-16 Thread Daniela
On Saturday 16 August 2003 10:30, [EMAIL PROTECTED] wrote:
 dear list

 yesterday evening i fliped through the developers handbook x86 assenbler
 section.
 it states that an assembler compile is part of the base system
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86-t
he-tools.html). i can't find it on 5.1-R.

 the FreeBSD web site doesn't have it either. Does it still exist?

The command man 1 as also doesn't do anything on my system, but man as 
brings the first section of the manpage, as we would expect it.

I don't know what's going on, but the as command should also be there on 
your system.

Daniela


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


Re: man 1 as

2003-08-16 Thread Kris Kennaway
On Sat, Aug 16, 2003 at 12:30:08PM +0200, [EMAIL PROTECTED] wrote:
 dear list
 
 yesterday evening i fliped through the developers handbook x86 assenbler
 section.
 it states that an assembler compile is part of the base system
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86-the-tools.html).
 i can't find it on 5.1-R.
 
 the FreeBSD web site doesn't have it either. Does it still exist?


[EMAIL PROTECTED]:~ which as
/usr/bin/as

Kris


pgp0.pgp
Description: PGP signature


format new HDD.... how i can do it?

2003-08-16 Thread Denis
Hi everybody!

I have just bought new HDD 50 GB IDE but I don't know how to format it
I am boot from CD-RW: freebsd5.1.iso (it downloaded from ftp.freebsd.org) and when 
freebsd started installing:
/write failed, filesystem is full
Maybe it because hard disk not formatted?
And how i can do it?

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


Re: Make popa3d listen on specific interface

2003-08-16 Thread Lowell Gilbert
Charles Howse [EMAIL PROTECTED] writes:

 Let me throw this in:
 This is a home network, behind a Cable Modem and 4-port Cable/DSL router
 w/ firewall.
 Port 110 is closed on the firewall.  Ports 80,20 and 21 are open on
 another machine in the DMZ.
 That said ( and I'm no expert ) wouldn't it be acceptable for *my*
 situation to bind to an address?
 That way, anyone wanting to crack into the pop server on this machine
 would have to get past the firewall, and then discover the address the
 pop server on this machine is listening on...? Nmap woud certainly do
 that, *if* they got in.
 I run a pop server on the Redhat machine next to the FreeBSD machine, no
 problems ever there.
 I could be way off on my logic, and my understanding of tcp/ip, so
 correct me if I'm wrong.

Not at all; you're dead on.  
The only thing I'm trying to warn you about is that binding to a
specific address is having a fairly small effect on your security in
this case.  For belt-and-suspenders protection, you'd be somewhat 
better off with a more sophisticated POP server which can bind to 
the inside interface directly instead of just the address.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how-to run javascript on my server

2003-08-16 Thread Lowell Gilbert
David Banning [EMAIL PROTECTED] writes:

 I have some menu server java applets I would like to run on my fbsd server
 but I have no idea where to get started. Some initial inquiries on Google
 have not brought any luck.
 
 Is there any sites that deal with this, or does anyone have a suggestion?

To start with, your subject line mentions Javascript, while the
message itself seems to be about Java.  These are completely separate
topics, so you need to decide exactly what you mean before anybody
else can figure it out.

For server-side applications, Apache will just run them as CGI
regardless of what language they're written in.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Re: kernel: table is full]

2003-08-16 Thread Joachim Dagerot
  You need to increase the number of free file handles
 
 Or figure out what is using so many of them (e.g. fstat, etc).

Because of the time between the problem occurs it's not a valid way to
go by just using fstat.

I increased the number of file handles now, is there some
surveillance(sp?) system that's easy to setup and that can help me find
out what's happening. I think I had the same problem a few weeks ago
aswell, but I thought the computer schack got overheated which probably
was wrong.

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


New laptop install via wireless just isn't working

2003-08-16 Thread Kirk Strauser
I was given a little 486 laptop.  I bought a Microsoft MN-520 PCMCIA wlan
card and verified that it works perfectly under Linux on that laptop.  I'm
trying to replace Linux with FreeBSD on that machine, but I can't get
sysinstall to recognize the NIC.  To date, I've gone as far as patching the
pccarddevs files to add device IDs for the card, and using that patch to
compile my own custom release and boot floppies with the new-and-improved
driver.

None of this has worked.

During the boot process, I'm asked if I want to use the PCMCIA card as
installation media.  I say yes and enter the memory ranges and IRQs that
Linux had detected for the card.  sysinstall continues to the main menu, and
I launch a holographic shell.  At this point, should thewi0 network
interface be visible?  For me, it's not.  Do I have to run something else,
or is this an indication that the system still isn't recognizing the card?

Any wild theories would be appreciated.  I really want to make this little
laptop work, but I've spent way too much time on it already and have run out
of ideas.

Thanks,
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


NTFS filesystem in hard, but: @/:write failed, filesystem is full@

2003-08-16 Thread Denis
Hi!

Does anybody explain me why i can't install FreeBSD on new HDD?
I have just NTFS hard drive formatted, but when i start freebsd install i see next:
Probing devices (this can take a while)
And next:
/:write falied, filesystem is full
What is it?
What I must do next?

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


RE: Gateway problemas

2003-08-16 Thread geek
Ok, i put these rules:

pass in quick on ep0 all
pass out quick on ep0 all

pass in quick on ep1 all
pass out quick on ep1 all

pass in quick on lo0 all
pass out quick on lo0 all

and the firewall have now acess to the internet, so the problem is with my ipf.rules 
rules!!

my nat rules are:
map ep1 192.168.0.0/16 - 0/32 portmap tcp/udp 1025:65000
map ep1 192.168.0.0/16 - 0/32
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how-to run javascript on my server

2003-08-16 Thread Matthew Seaman
On Fri, Aug 15, 2003 at 08:33:13PM -0400, David Banning wrote:
 I have some menu server java applets I would like to run on my fbsd server
 but I have no idea where to get started. Some initial inquiries on Google
 have not brought any luck.
 
 Is there any sites that deal with this, or does anyone have a suggestion?

You appear to have become confused between Java and Javascript.  These
are very different things.  Javascript -- which probably should be
described as ECMAScript nowadays -- is a language superficially
similar to Java but that is interpreted within a web browser.
Unfortunately each different brand of browser has it's own idea of
what ECMAScript should be, and that makes it quite tricky to write a
web page that works reasonably in any browser. See
http://www.ecma-international.org/publications/standards/ECMA-262.HTM
for an attempt at providing a standard and
http://www-106.ibm.com/developerworks/unicode/library/wa-emca.html?dwzone=unicode
for an explanation of what it is.  Javascript is either incorporated
directly into a web page or is served up in a separate file
(traditionally with a .js suffix) referenced from the page in
question.  Or in other words, just slap it into the documents
directory of your webserver alongside the .html files.

Java on the other hand is a recent addition to the C-like language
group which has the distinction of running in a virtual machine.
This, together with the inherent object-orientation of the language
and Sun's fanatical dedication to preserving the language standards
means that *compiled* Java class files can be run unmodified on any
platform that supports Java.

Java is a general purpose language, and standalone Java applications
are certainly available.  However, most people will run into Java in
the contexts of applets.  This is a mini java application that can
be downloaded via a web browser and run in a limited sandbox context
on the local machine.  See for instance
http://gregegan.customer.netspace.net.au/APPLETS/Applets.html for an
interesting selection of mathematics oriented examples.

However, what I suspect you have are the converse of that: java
servlets.  These are mini-applications that run as part of a web
*server*.  These are conceptually similar to other dynamic web
languages, like PHP, ASP or some sorts of embedded mod_perl stuff, but
the scope is larger: as well as the dynamic .jsp pages (which are
internally converted to java code and compiled into Java servlets on
the fly) there are also pre-compiled Java classes of various types.
In order to serve such webapps to the net in general, you will need
a Java servlet container.  That's a webserver written in Java with all
the necessary internal wiring to be able to load up the webapp object
structure.  There are several available in ports: the various
jakarta-tomcat versions (www/jakarta-tomcat*)and Jetty (www/jetty).

But wait! There's more.  The webapp servlet stuff corresponds roughly
to the middle (logic) tier of a 3-tier application.  There's an
equivalent setup Enterprise Java Beans which (very roughly)
corresponds to the 3rd (data) layer in a 3-tier application -- the
'Java Bean' is often an object abstraction for accessing an underlying
RDBMS, but it's not limited to that.  [The web browser and any
associated Java applets or javascript would form the 1st
(presentation) layer in this concept].  See the java/jboss3 port for a
freely available EJB server -- an alternative to the default J2EE
stuff that Sun supplies, but which isn't actually available on FreeBSD
as far as I know.

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


pgp0.pgp
Description: PGP signature


Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Dragoncrest
	I'm slowly completing my move from windows to freebsd and I want to try to 
start moving over mail.  Right now I use Kmail on my Freebsd machine, which 
is ok, but lacks in many areas.  On windows I used Eudora 5.2 and loved 
it.  I'm looking for something similar to that on Freebsd.  I've looked 
around and found Evolution, but it's too much like *shudder* Outlook 
*shudder* for my liking.  xPine is kinda cool too but not what I'm looking 
for.  Does anyone have any other suggestions for a graphical mail client I 
can use in X that will run under KDE 3.1?  I'm open to suggestions.

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


Re: format new HDD.... how i can do it?

2003-08-16 Thread Mike Maltese
It should have been formatted (newfs'ed) before the actual install started.
Are you sure you sized your partitions appropriately?

- Original Message - 
From: Denis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 16, 2003 3:51 AM
Subject: format new HDD how i can do it?


Hi everybody!

I have just bought new HDD 50 GB IDE but I don't know how to format
it
I am boot from CD-RW: freebsd5.1.iso (it downloaded from ftp.freebsd.org)
and when freebsd started installing:
/write failed, filesystem is full
Maybe it because hard disk not formatted?
And how i can do it?

Best Regards, Denis.
___
[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: macromedia flash support in FreeBSD

2003-08-16 Thread Lowell Gilbert
Denis [EMAIL PROTECTED] writes:

 I want to install in my freebsd 5.1 macromedia-flash player support but i don't 
 know how i can do it
 Does anybody know how i can do it?

There is a port to do it...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to use 4 buttons mouse?

2003-08-16 Thread Denis
Hi all!!!

Does anybody know how i can use in freebsd mouse with 4 buttons?
Maybe i must do some changes in configuration files or ...??? I don't know...

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


Re: kernel: table is full

2003-08-16 Thread Joachim Dagerot
On Sat, 2003-08-16 at 10:42, Kris Kennaway wrote:
 On Sat, Aug 16, 2003 at 01:36:45AM -0700, Rus Foster wrote:
  
   I couldn't even login at the console, got an error stating something
   about a missing *.so file in /usr/..somewhere
  
   I ctrl-alt-del restarted and now everything is up again.
  
  
  
  You need to increase the number of free file handles
 
 Or figure out what is using so many of them (e.g. fstat, etc).

Because of the time between the problem occurs it's not a valid way to
go by just using fstat.

I increased the number of file handles now, is there some
surveillance(sp?) system that's easy to setup and that can help me find
out what's happening. I think I had the same problem a few weeks ago
aswell, but I thought the computer schack got overheated which probably
was wrong.

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


Re: how-to run javascript on my server

2003-08-16 Thread Alex de Kruijff
On Fri, Aug 15, 2003 at 08:33:13PM -0400, David Banning wrote:
 I have some menu server java applets I would like to run on my fbsd server
 but I have no idea where to get started. Some initial inquiries on Google
 have not brought any luck.
 
 Is there any sites that deal with this, or does anyone have a suggestion?
 

First of all.  Java and Java script are two different things. I take it 
you use Java. Your Java applets don't run on the server but on the 
client. The main problem from a server point of view is that you need 
to make sure that the class files can be handed out by the webserver.

You could check these thing:
- Does your client Java installed?
- Does your client the Java version installed that you use? (I.e you 
  use commands of version 2.0 and you client has 1.2)
- Does your client know how to get the class files?
- Does your server hand them corretly out? (You could check 
  /var/log/httpd-*.log if you use apache)

As far for websites: java.sun.com is the main site you want to look at. 
It has great tutorials, howtos and user support groups.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NTFS filesystem in hard, but: @/:write failed, filesystem isfull@

2003-08-16 Thread K Anderson


Denis wrote:
Hi!

Does anybody explain me why i can't install FreeBSD on new HDD?
I have just NTFS hard drive formatted, but when i start freebsd install i see next:
Probing devices (this can take a while)
And next:
/:write falied, filesystem is full
What is it?
What I must do next?
Thanks.
Denis.
Off the top of my head, I could be wrong here though.
If you haven't given up some space on that NTFS hard drive you are not 
going to get anywhere. By space I mean some unpartitioned area of the 
hard drive that will have enough free space to meet the demands of your 
freebsd install. You'll most likely need some sort of partioning utility 
to shrink a NTFS partition down.
The other possability is  you did make a partition (slice in FreeBSD 
parlance) and indeed ran out of space and all them bits were getting 
squished together and *poof* filled up your file system.
You'll need to make more room. I'm not sure how much space is required 
for a FreeBSD install, you can check the documentation for that, and 
then make a slice or slices the combined size you'll need. And don't 
forget about swap space.
HTH

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


Re: win codecs for Mplayer

2003-08-16 Thread K Anderson


Martin Vana wrote:
hi,
I've problem installing Mplayer on 5.1-RELEASE, requiered package
win32-codecs is missing on ftp sites even link from www.freebsd.org/ports
is broken. Is there any download lacation where I can find the port?
Thank you
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Got this from my ports collection of said codecs
MASTER_SITES= 
http://www1.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \

http://www2.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
http://www.mplayerhq.hu/MPlayer/releases/codecs/:w32codec \
http://ftp.lug.udel.edu/MPlayer/releases/codecs/:mplayer_extracodec,w32codec 
\

http://www1.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \

http://www2.mplayerhq.hu/MPlayer/releases/codecs/:mplayer_extracodec \
ftp://ftp.mplayerhq.hu/MPlayer/releases/codecs/:w32codec \
ftp://ftp.lug.udel.edu/MPlayer/releases/codecs/:mplayer_extracodec,w32codec
D
HTH :)

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


updating samba

2003-08-16 Thread Alex de Kruijff
I have a porblem with samba. Its works great but when every ones in a 
while i update it though the ports. At this time i usaly lose my user 
information. How do you update samba? (I googled for this but didn't 
find anything)

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Make popa3d listen on specific interface

2003-08-16 Thread Charles Howse
  I could be way off on my logic, and my understanding of tcp/ip, so
  correct me if I'm wrong.
 
 Not at all; you're dead on.  
 The only thing I'm trying to warn you about is that binding to a
 specific address is having a fairly small effect on your security in
 this case.  For belt-and-suspenders protection, you'd be somewhat 
 better off with a more sophisticated POP server which can bind to 
 the inside interface directly instead of just the address.

Well, I'm big on security, but not an expert.  On my XP Pro box, I run
Zone Alarm Pro for *outgoing* security, as well as being behind the
firewall.  On my Redhat 9 box, I have it configured for the security
suggestions in the Linux Benchmark v1.0.0 on the Center for Internet
Security. http://www.cisecurity.org/.  I also run Tripwire, and a custom
security report.

I'm not at all opposed to changing pop servers, I selected popa3d based
*only* on the 1-line description in the packages section of sysinstall.

Which one would you recommend?
Which is the *be-all, do-all, big-daddy* pop server in Packages? 


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


Re: Debugging symbols with nasm

2003-08-16 Thread Joshua Oreman
On Sat, Aug 16, 2003 at 09:14:30AM +0300 or thereabouts, Vladimir Ciobanu wrote:
   I'm not sure whether this is the best list to post to, but it's my 
 first guess. I'm using nasm to compile some code I wrote. The 
 developer-handbook suggests I use -f elf, so that's what I did. Then I 
 linked it with ld. The program works as expected, but I can't debug it 
 with gdb; it reports no debugging symbols found.
   I've tried to get the possible debugging formats nasm can output, and 
 I get null for both elf and aoutb ( ld can't even link aoutb .o files ).
   Is there a way I could debug my nasm-compiled assembler sources, 
 preferably with gdb ? I don't mind any binary format that can run on 
 FreeBSD, nor any other linker.
   Any suggestions are welcome.

GDB is just too good for debugging ASM stuff. I recommend ALD, the Assembly
Language Debugger. Install /usr/ports/devel/ald, and run `ald myprogram'.

It doesn't need debug symbols beyond what NASM already provides :-)

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


shutting down

2003-08-16 Thread lilyslipper
I used
 shutdown -h now
but the comp I use won't let me power off no matter how many times i hit
the power switch, what do I do?


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


Re: shutting down

2003-08-16 Thread Kent Stewart
On Saturday 16 August 2003 11:40 am, [EMAIL PROTECTED] wrote:
 I used
  shutdown -h now
 but the comp I use won't let me power off no matter how many times i
 hit the power switch, what do I do?


Sounds like you have an ATX mobo. You have to press the off switch for 
several seconds to shut it down.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: NTFS filesystem in hard, but: @/:write failed, filesystem isfull@

2003-08-16 Thread Matt Heath
Denis wrote:

!!!

Saturday, August 16, 2003, 9:40:38 PM,  :

m Denis wrote:

 

Hello Matt,

Saturday, August 16, 2003, 8:13:50 PM, you wrote:

MH delete the NTFS partition and start again

And what partition I must create?
Without partition I see it message again:(
Maybe I bought bad hard?
Maybe free does not support: seagate barracuda 60 GB ATA 7200
rpm.???


 

m The FreeBSD installation process will give you the opportunity to create 
m partitions.
m It has an Auto option to save you having scratch your head.

m There is a long explanation in the handbook

m http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

No!
When I boot from CD-RW will starting menu when I will choose 1...
I CAN'T START FDISK:
/:write failed, filesystem is full
I CAN'T START INSTALL. booting fail:(((
Denis.

that sounds bad

I shall CC: this to FreeBSD questions

Maybe it is trying to install to the CD-RW



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


Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Scott DF
 Date: Thu, 14 Aug 2003 10:49:42 -0400
 Dragoncrest asked:
 Does anyone have any other suggestions for a graphical mail client I
 can use in X that will run under KDE 3.1?
If you're using KDE, try KMail.

Scott DF

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


Re: Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Bill Campbell
On Sat, Aug 16, 2003, Scott DF wrote:
 Date: Thu, 14 Aug 2003 10:49:42 -0400
 Dragoncrest asked:
 Does anyone have any other suggestions for a graphical mail client I
 can use in X that will run under KDE 3.1?

If you're using KDE, try KMail.

Many people who like GUI mail clients recommend sylpheed or
sylpheed-claws.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If guns are outlawed, only the government will have guns. Only the police,
the secret police, the military, the hired servants of our rulers. Only the
government -- and a few outlaws. I intend to be among the outlaws.''
EDWARD ABBEY (1927-1989)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm just curious... what is KMail missing that you are looking for?

joey

On August 14, 2003 11:49, Dragoncrest wrote:
   I'm slowly completing my move from windows to freebsd and I want to try to
 start moving over mail.  Right now I use Kmail on my Freebsd machine, which
 is ok, but lacks in many areas.  On windows I used Eudora 5.2 and loved
 it.  I'm looking for something similar to that on Freebsd.  I've looked
 around and found Evolution, but it's too much like *shudder* Outlook
 *shudder* for my liking.  xPine is kinda cool too but not what I'm looking
 for.  Does anyone have any other suggestions for a graphical mail client I
 can use in X that will run under KDE 3.1?  I'm open to suggestions.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/PpGQ0NQPEWppBZsRApFZAJwJKgF+AhQeSMOIugh9aOWfTejuVgCglQyM
f3uMfotxX1gCUE7UV1cEC0U=
=1MdD
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shutting down

2003-08-16 Thread long cao
how about 

shutdown -p now




On Saturday 16 August 2003 11:43 am, Kent Stewart wrote:
 On Saturday 16 August 2003 11:40 am, [EMAIL PROTECTED] wrote:
  I used
   shutdown -h now
  but the comp I use won't let me power off no matter how many times i
  hit the power switch, what do I do?

 Sounds like you have an ATX mobo. You have to press the off switch for
 several seconds to shut it down.

 Kent

-- 
insert your favorite quote here

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


Definition of interfaces in ifconfig

2003-08-16 Thread Charles Howse
Hi,

When I do:
# ifconfig

I see the following interfaces listed:

tx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.254.3 netmask 0xff00 broadcast 192.168.254.255
inet6 fe80::2e0:29ff:fe11:ff8a%tx0 prefixlen 64 scopeid 0x1 
ether 00:e0:29:11:ff:8a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
inet 127.0.0.1 netmask 0xff00 
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500

I entered sysinstall/configure/network/network devices and found out
what they all are.
The faith0 device was listed as unknown.

I know tx0 is my one and only nic, we can keep it.
lp0 is the parallel port, don't need it, don't plan to do any printing
from this machine.
lo0 is the loopback interface, that's cool.
I know I don't need a PPP or SLIP interface, I have a LAN connection to
the Internet, no modem.

I was able to do:
# ifconfig faith0 destroy
And eliminate the faith0 unknown device.

When I try that with sl0 and ppp0 I get an error: ifconfig:
SIOCIFDESTROY: Invalid Argument.

I realize that tx0 and lo0 are the only ones that are UP...are the
others occupying space in memory?
Can I get rid of some of these guys?  How?



Thanks,
Charles


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


Re: NTFS filesystem in hard - FIXED

2003-08-16 Thread Matt Heath
Denis wrote:
Yeah!!!
I got it!
I just connect my second hard with WinXP and connect first 60gb which
i bought today.
And freebsd think that i will be install to second... and I don't see
errors message.
So, when I started FDisk I just create partition on 60 gb(my new hard!)
And I installed freebsd on my new hard on 60 gb
So I am bamboozle freebsd!

All of my errors will be in connect second hard:)

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


Re: Definition of interfaces in ifconfig

2003-08-16 Thread Matthew Seaman
On Sat, Aug 16, 2003 at 03:58:17PM -0500, Charles Howse wrote:
 Hi,
 
 When I do:
 # ifconfig
 
 I see the following interfaces listed:
 
 tx0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.254.3 netmask 0xff00 broadcast 192.168.254.255
   inet6 fe80::2e0:29ff:fe11:ff8a%tx0 prefixlen 64 scopeid 0x1 
   ether 00:e0:29:11:ff:8a
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
 faith0: flags=8002BROADCAST,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
   inet 127.0.0.1 netmask 0xff00 
 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
 
 I entered sysinstall/configure/network/network devices and found out
 what they all are.
 The faith0 device was listed as unknown.
 
 I know tx0 is my one and only nic, we can keep it.
 lp0 is the parallel port, don't need it, don't plan to do any printing
 from this machine.
 lo0 is the loopback interface, that's cool.
 I know I don't need a PPP or SLIP interface, I have a LAN connection to
 the Internet, no modem.
 
 I was able to do:
 # ifconfig faith0 destroy
 And eliminate the faith0 unknown device.
 
 When I try that with sl0 and ppp0 I get an error: ifconfig:
 SIOCIFDESTROY: Invalid Argument.
 
 I realize that tx0 and lo0 are the only ones that are UP...are the
 others occupying space in memory?
 Can I get rid of some of these guys?  How?

You can get rid of the superfluous interfaces by building yourself a
custom kernel with the drivers for those devices commented out.  Be
sure and check the man pages (eg sl(4), ppp(4), faith(4)) and in LINT
(4.x) or NOTES (5.x) to verify you aren't chopping out something
useful.  Nb. the ppp0 interface can only be generated by the kernel
pppd(8). The userland ppp(8) which is completely independent of the
kernel mode ppp uses tun0... interfaces that are dynamically generated
as required -- this daemon is what most people use for dial-up
purposes.

See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

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


pgp0.pgp
Description: PGP signature


Re: Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Vulpes Velox
sylpheed or sylpheed-claws

On Sat, 16 Aug 2003 14:13:06 -0500
Scott DF [EMAIL PROTECTED] wrote:

   Date: Thu, 14 Aug 2003 10:49:42 -0400
   Dragoncrest asked:
   Does anyone have any other suggestions for a graphical mail client I
   can use in X that will run under KDE 3.1?
 
 If you're using KDE, try KMail.
 
 Scott DF
 
 
 ___
 [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: win codecs for Mplayer

2003-08-16 Thread Vulpes Velox
Just grab them from the mplayer web site... or just install it by doing a make
in the correct dir in the ports tree.

On Sat, 16 Aug 2003 11:43:19 +0200
Martin Vana [EMAIL PROTECTED] wrote:

 hi,
 I've problem installing Mplayer on 5.1-RELEASE, requiered package
 win32-codecs is missing on ftp sites even link from www.freebsd.org/ports
 is broken. Is there any download lacation where I can find the port?
 Thank you
 Martin
 
 ___
 [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]


permission

2003-08-16 Thread GNorm
I have installed apache and got it to run, however when I tried to 
access a web address that I have set for virtual hosting I get the 
following message:

Forbidden
You don't have permission to access / on this server.
I assume this error is the results of the permission on the directory 
containing web content. I have looked at the permissions for the default 
web directory and tried those settings, the default site works, the 
virtual sites do not.
As always, any help will be appreciated.

Thanks Lowell, for your help I was able to get the invalid error cleared 
up.

Gregory Norman





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


A big favor..

2003-08-16 Thread unknown name
Hello,

I would like to try to tell you that i dream of having an email with 
FreeBSD.org =$, i know im it sounds crazy,
but i would like so much to have an email with FreeBSD.org, just a foward, 
not mailbox, just a simple forward...
hehehe i just tried to say it as best as i can...bye :o)

Thanks.

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


RE: Definition of interfaces in ifconfig

2003-08-16 Thread Charles Howse
  Can I get rid of some of these guys?  How?
 
 You can get rid of the superfluous interfaces by building yourself a
 custom kernel with the drivers for those devices commented out.  Be
 sure and check the man pages (eg sl(4), ppp(4), faith(4)) and in LINT
 (4.x) or NOTES (5.x) to verify you aren't chopping out something
 useful.  Nb. the ppp0 interface can only be generated by the kernel
 pppd(8). The userland ppp(8) which is completely independent of the
 kernel mode ppp uses tun0... interfaces that are dynamically generated
 as required -- this daemon is what most people use for dial-up
 purposes.

OK, I had read the kernel config part of the manual before, but I
re-read it to refresh my memory.
I'm currently running a custom kernel, with just the cpu specified and
maxusers = 0

I edited a new copy of that, took out quite a bit more that I don't need
- raid, scsi, wi-fi, pcmcia, etc.
I did:
# cd /usr/src/sys/i386/conf
# /usr/sbin/config CUSTOM1
# cd ../../compile/CUSTOM1
# make clean
# make depend
# make

FAILURE!

Last line of output:
Umass.o(.text+0x1c13): more undefined references to 'xpt_done' follow

*** Error Code 1
Stop in /usr/src/sys/compile/CUSTOM1


Assuming that the error is in my editing of the kernel config file, I
have added it below.
Any advice would be appreciated!


#
# CUSTOM1 -- Custom kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-c
onfig.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you
are
# in doubt as to the purpose or necessity of a line, check first in
LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25
23:35:15 jhb Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   CUSTOM1
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug
symbols

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big
directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS
required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660
required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing
SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time
extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in
debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in
debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor
Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

# To support HyperThreading, HTT is needed in addition to SMP and
APIC_IO
#optionsHTT # HyperThreading Technology

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device 

vinum config info stays intact during reinstall?

2003-08-16 Thread Hari Bhaskaran
Hi,

I reinstalled one of my machines that had vinum running
(wiped  installed 5.1) and vinum was able to pickup the 
drives/plexes etc right after I started vinum. Can I rely
on this feature? or should I use resetconfig  create
again?

If vinum stores its info somewhere hidden in the swap, I 
would have expected it to disappear after a reinstall 
( I didn't re-create slices or partitions, left them as
they are during the re-install).

this is not really a problem - I am just trying to figure
out if vinum is pointing to an area that may get claimed
by swap later. I wouldn't want it to fail later on.

Any help is appreciated.

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


Re: A big favor..

2003-08-16 Thread Jonathan Chen
On Sat, Aug 16, 2003 at 10:31:36PM +, unknown name wrote:
 Hello,
 
 I would like to try to tell you that i dream of having an email with 
 FreeBSD.org =$, i know im it sounds crazy,
 but i would like so much to have an email with FreeBSD.org, just a foward, 
 not mailbox, just a simple forward...

Submit lots of useful and usable code to the organization and you'll get
your wish.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum config info stays intact during reinstall?

2003-08-16 Thread Aaron Wohl
It doesnt use swap.  It uses an area at the front of each vinum partition
to list the config.  Thats so you can take all the disks out of the
machine and put them back in in any old oder and it works.

On Sat, 16 Aug 2003 17:51:14 -0500, Hari Bhaskaran
[EMAIL PROTECTED] said:
 Hi,
 
 I reinstalled one of my machines that had vinum running
 (wiped  installed 5.1) and vinum was able to pickup the 
 drives/plexes etc right after I started vinum. Can I rely
 on this feature? or should I use resetconfig  create
 again?
 
 If vinum stores its info somewhere hidden in the swap, I 
 would have expected it to disappear after a reinstall 
 ( I didn't re-create slices or partitions, left them as
 they are during the re-install).
 
 this is not really a problem - I am just trying to figure
 out if vinum is pointing to an area that may get claimed
 by swap later. I wouldn't want it to fail later on.
 
 Any help is appreciated.
 
 --
 Hari Bhaskaran
 ___
 [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]


umount after mount!

2003-08-16 Thread Denis
Hi All!!!

  I use it for mount my first hard:
  mount_msdosfs /dev/ad0s1 /mnt
  It works good!
  Question!
  Do I must do umount /mnt before i want to out from freebsd and
  reset and login in winxp?
  Or umount I do if I want?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


mouse with scroll....

2003-08-16 Thread Denis
Hi All!!!

  Does anybody know how in freebsd use mouse with 3 button and one
  scroll?

-- 
Best regards, Denis
[EMAIL PROTECTED]

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


Source update problems

2003-08-16 Thread geek
I have a problem to update my source!
This is my supfile:

SRCSUPFILE:
*default host=cvsup2.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all

and my procediment was that:

root# cvsup -g -L2 SRCSUPFILE
root# make buildworld
root# make buildkernel KERNCONF=MYKERNEL
root# make installkernel KERNCONF=MYKERNEL
root# make installworld
root# mergemaster
root# reboot

i do cvsup -g -L2 SRCSUPFILE right, but when i make make buildworld the answer was: 
make: don't know how to make buildworld. Stop!

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


RE: Gateway problemas

2003-08-16 Thread geek
Yes, i change my rc.conf already!! when i put my ipf.rules with pass in/out in all 
interfaces , i have internet ,but whith my rules i dont, so the problem have to be in 
dhcp traffic, this rule i put pass in quick on ep1 proto udp from any to any port = 
68 keep state keep frags will be sufficient for DHCP traffic to function?! something 
is wrong with DHCP (cable connection) :(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions for best graphical mail client for freebsd?

2003-08-16 Thread Dragoncrest
I've used Eudora on Windows for years and in moving all my mail 
over to fbsd I'm wanting a Eudora like email client.  Something I'm 
familiar with and comfortable with.

At 05:18 PM 8/16/03 -0300, Joey Mingrone wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm just curious... what is KMail missing that you are looking for?

joey

On August 14, 2003 11:49, Dragoncrest wrote:
   I'm slowly completing my move from windows to freebsd and I want 
to try to
 start moving over mail.  Right now I use Kmail on my Freebsd machine, which
 is ok, but lacks in many areas.  On windows I used Eudora 5.2 and loved
 it.  I'm looking for something similar to that on Freebsd.  I've looked
 around and found Evolution, but it's too much like *shudder* Outlook
 *shudder* for my liking.  xPine is kinda cool too but not what I'm looking
 for.  Does anyone have any other suggestions for a graphical mail client I
 can use in X that will run under KDE 3.1?  I'm open to suggestions.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/PpGQ0NQPEWppBZsRApFZAJwJKgF+AhQeSMOIugh9aOWfTejuVgCglQyM
f3uMfotxX1gCUE7UV1cEC0U=
=1MdD
-END PGP SIGNATURE-


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


Re: Definition of interfaces in ifconfig

2003-08-16 Thread Joshua Oreman
On Sat, Aug 16, 2003 at 05:57:18PM -0500 or thereabouts, Charles Howse wrote:
 I'm currently running a custom kernel, with just the cpu specified and
 maxusers = 0
 
 I edited a new copy of that, took out quite a bit more that I don't need
 - raid, scsi, wi-fi, pcmcia, etc.
 I did:
 # cd /usr/src/sys/i386/conf
 # /usr/sbin/config CUSTOM1
 # cd ../../compile/CUSTOM1
 # make clean
 # make depend
 # make
 
 FAILURE!
 
 Last line of output:
 Umass.o(.text+0x1c13): more undefined references to 'xpt_done' follow
 
 *** Error Code 1
 Stop in /usr/src/sys/compile/CUSTOM1
 
 
 Assuming that the error is in my editing of the kernel config file, I
 have added it below.
 Any advice would be appreciated!
 

Look at these comments carefully.

...snip...
 #device   scbus   # SCSI bus (required)
 #device   da  # Direct Access (disks)
...snip...
 deviceumass   # Disks/Mass storage - Requires scbus and da
   ^
-- Josh

 
 
 ___
 [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: mouse with scroll....

2003-08-16 Thread Joshua Oreman
On Sun, Aug 17, 2003 at 03:31:40AM +0400 or thereabouts, Denis wrote:
 Hi All!!!
 
   Does anybody know how in freebsd use mouse with 3 button and one
   scroll?

--snip /etc/XF86Config (or /etc/X11/XF86Config)--
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol ImPS/2
#   you need this
# ...
Option  Buttons 3
# and this  ^
Option  ZAxisMapping 4 5
# and this  
EndSection
--snip--

-- Josh

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


Re: Source update problems

2003-08-16 Thread Jud
On Sun, 17 Aug 2003 00:33:15 +0100, geek [EMAIL PROTECTED] wrote:

I have a problem to update my source!
This is my supfile
SRCSUPFILE:
*default host=cvsup2.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all
and my procediment was that:

root# cvsup -g -L2 SRCSUPFIL
root# make buildworld
root# make buildkernel KERNCONF=MYKERNEL
root# make installkernel KERNCONF=MYKERNEL
root# make installworld
root# mergemaster
root# reboot
i do cvsup -g -L2 SRCSUPFILE right, but when i make make buildworld 
the answer was: make: don't know how to make buildworld. Stop!

What can be ?
After cvsup and before make buildworld:

root# cd /usr/src

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


RE: umount after mount!

2003-08-16 Thread Charles Howse
 Hi All!!!
 
   I use it for mount my first hard:
   mount_msdosfs /dev/ad0s1 /mnt
   It works good!
   Question!
   Do I must do umount /mnt before i want to out from freebsd and
   reset and login in winxp?
   Or umount I do if I want?

It's not necessary to umount before you reboot.
FreeBSD will umount all mounted filesystems as it shuts down.


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


Sendmail address rewriting

2003-08-16 Thread Doug Hardie
I have what is most likely a simple misunderstanding of the sendmail.cf 
file configuration.  But, nothing I have tried works.  Basically I have 
one machine (zoon) which is the mail host for all received mail.  All 
user mailboxes are on that machine and it is the host identified in the 
MX records.  I have the send mail server on zoot.  When a message is 
sent out without a domain in the to address, zoot is filling it in with 
zoot.lafn.org which makes the reply functions useless.  Zoot does not 
accept incoming mail.  How do I get zoot's sendmail to use the domain 
lafn.org in these cases?

Here is zoot's mc file

VERSIONID(`$Id: ZOOT.mc,v 1.1 2000/05/31 22:21:02 gshapiro Exp $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
MASQUERADE_AS(`lafn.org')dnl
MASQUERADE_DOMAIN(`lafn.org')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`relay_entire_domain')dnl
FEATURE(`access_db', `hash -TTMPF /etc/mail/access')dnl
FEATURE(`virtusertable', `hash -TTMPF /etc/mail/virtusers')dnl
FEATURE(`delay_checks', `friend')dnl
FEATURE(`no_default_msa')dnl
FEATURE(`use_ct_file')dnl
define(`confBIND_OPTS', `WorkAroundBroken')dnl
define(`confTO_QUEUERETURN',`3d')dnl
define(`confTO_QUEUEWARN',`5d')dnl
define(`LOCAL_RELAY',`mail.lafn.org')dnl
LOCAL_USER(`root')dnl
MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl

MAILER(local)dnl
MAILER(smtp)dnl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Definition of interfaces in ifconfig

2003-08-16 Thread Charles Howse
 Look at these comments carefully.
 
 ...snip...
  #device scbus   # SCSI bus (required)
  #device da  # Direct Access (disks)
 ...snip...
  device  umass   # Disks/Mass storage - 
 Requires scbus and da
   
  ^
 -- Josh

Thank you!  Haste makes waste!  Look before you leap!  RTFM!  :-)


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


Re: vinum config info stays intact during reinstall?

2003-08-16 Thread Greg 'groggy' Lehey
On Saturday, 16 August 2003 at 17:51:14 -0500, Hari Bhaskaran wrote:
 Hi,

 I reinstalled one of my machines that had vinum running
 (wiped  installed 5.1) and vinum was able to pickup the
 drives/plexes etc right after I started vinum. Can I rely
 on this feature?

You should be able to.  Having backups does no harm, though.

 or should I use resetconfig  create again?

NO!  To quote the man page:

 The resetconfig command completely obliterates the vinum configu-
 ration on a system.  Use this command only when you want to com-
 pletely delete the configuration.

From the tutorial at http://www.vinumvm.org/cfbsd/vinum.pdf:

o Do not use the resetconfig command unless you genuinely don't want to see any
  of your configuration again.  There are other alternatives, such as rm, which
  removes individual objects or groups of objects.

 If vinum stores its info somewhere hidden in the swap, I would have
 expected it to disappear after a reinstall ( I didn't re-create
 slices or partitions, left them as they are during the re-install).

It doesn't use swap.  Again, from the tutorial:

Configuring Vinum
-

Vinum maintains a configuration database that describes the objects known to an
individual  system.   You  create  the  configuration database from one or more
configuration files with the aid of the vinum utility program.  Vinum stores  a
copy  of  its  configuration  database  on  each Vinum drive.  This database is
updated on each state change, so that a restart accurately restores  the  state
of each Vinum object.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


FreeBSD v4.8: mount w/ 'input/output error

2003-08-16 Thread Keith Young
I apologize for what is probably a very simple question, but I have not 
been able to mount my cd so as to transfer a file from it to my 
system.  Looking at the /etc/fstab I can see /dev/acd0c, 
mountpoint=/cdrom, fstype=cd9660, options=ro, noauto, dump=0, 
pass#=0.  From what I could determine these are all defaults.  I have tried 
the following commands: mount cd9660 /dev/acd0c /cdrom; mount -t cd9660 
/dev/acd0c /cdrom; mount cd9660; mount_cd9660 /dev/acd0c /cdrom.  The 
result is always a message Input/Output error.

I purchased v4.8 on cd's, and had no trouble loading it onto my systems.  I 
booted from floppies (couldn't get bios to boot from cd) and then inserted 
cd to finish installation.  I have tried changing the fstab, eliminating 
the option of noauto, so that the system would mount the cd on startup, but 
I got the same message.  Any help would be greatly appreciated.

Btw, on a previous posting I saw instructions to ls -l /dev/acd* and then 
to cd /dev  rm /dev/acd*  ./MAKEDEV acd0.  Would this have any 
bearing on this situation?

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


xterm: colors and keys

2003-08-16 Thread fallenbr
Hello,

1 - How can I set color on xterm? I've tried creating a .Xdefaults with 
XTerm*termName: xterm-color on it, but nothing really changed.

2 - I'm not being able to use the Page down and Page up keys when browsing the man 
pages. All I get is a beep and ESC[ output. This is strange, because I don't recall 
having this problem before. What could be wrong?

Thanks in advance


---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br

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


Re: xterm: colors and keys

2003-08-16 Thread Lowell Gilbert
fallenbr [EMAIL PROTECTED] writes:

 1 - How can I set color on xterm? I've tried creating a .Xdefaults with 
 XTerm*termName: xterm-color on it, but nothing really changed.

What's supposed to change?
Try ls -G for example, and see if you get colored output when you
ask for it.

 2 - I'm not being able to use the Page down and Page up keys when browsing the 
 man pages. All I get is a beep and ESC[ output. This is strange, because I don't 
 recall having this problem before. What could be wrong?

It's working for me, on the latest -STABLE and the latest XFree86-4
ports, with no relevant configuration.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: man 1 as

2003-08-16 Thread Malcolm Kay
On Sat, 16 Aug 2003 22:19, Daniela wrote:
 On Saturday 16 August 2003 10:30, [EMAIL PROTECTED] wrote:
  dear list
 
  yesterday evening i fliped through the developers handbook x86 assenbler
  section.
  it states that an assembler compile is part of the base system
  (http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x86
 -t he-tools.html). i can't find it on 5.1-R.
 
  the FreeBSD web site doesn't have it either. Does it still exist?

 The command man 1 as also doesn't do anything on my system, but man as
 brings the first section of the manpage, as we would expect it.

 I don't know what's going on, but the as command should also be there on
 your system.

It seems 'as' is in a special man section; viz: 1aout.
So it is not: man 1 as
but: man 1aout as

Why? I'm not sure but the other entries appear to be a few classical a.out 
utilities rather than elf specific.

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


Re: xterm: colors and keys

2003-08-16 Thread fallenbr

 What's supposed to change?
 Try ls -G for example, and see if you get colored output when you
 ask for it.

Well, I get no colored output with it.


---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br

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


Re: xterm: colors and keys

2003-08-16 Thread fallenbr

 What's supposed to change?
 Try ls -G for example, and see if you get colored output when you
 ask for it.

Well, I get no colored output with it.


---
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br

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


Re: how to use 4 buttons mouse?

2003-08-16 Thread Malcolm Kay
On Sat, 16 Aug 2003 22:44, Denis wrote:
 Hi all!!!

 Does anybody know how i can use in freebsd mouse with 4 buttons?
 Maybe i must do some changes in configuration files or ...??? I don't
 know...

What sort of mouse? 
Console or X?

Assuming you have a ps/2 mouse then make sure you are running 'moused'.
Adding:
  moused_enable=YES
  moused_port=/dev/psm0
  moused_type=auto
to /etc/rc.conf should accomplish this on start up.

Now, to have X recognise the 4th button you'll need:
Option Protocolauto
Option Device  /dev/sysmouse
Option Buttons 4
in the options section of XF86Config.

You may need to add actions to X application resource files
to get any effect from the 4th button.

If it is not a ps/2 mouse take a look at: man moused
and the README.mouse file in the X documentation.

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


/etc/daily.local : old and for backwards compatibility ? What isnew way ?

2003-08-16 Thread Rob Lahaye


Hi,

I want to run my own script in the periodic/daily procedure
(e.g. synchronize time with ntpdate and update ports with cvsup).
I had a look at /etc/periodic/daily/999.local, which says:

   # Run the old /etc/daily.local script.  This is really for backwards
   # compatibility more than anything else.
Using /etc/daily.local makes things indeed very easy and straight forward.
But since this is mainly for backwards compatibility, I wonder what is the
new way of doing what I want to do.
Appending my script to /etc/periodic/daily/999.local ?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xterm: colors and keys

2003-08-16 Thread Viktor Lazlo


On Sun, 17 Aug 2003, fallenbr wrote:


  What's supposed to change?
  Try ls -G for example, and see if you get colored output when you
  ask for it.

 Well, I get no colored output with it.

Have you verified with echo $TERM that it is in fact getting set to
xterm-color?

Cheers,

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


Re: /etc/daily.local : old and for backwards compatibility ? Whatis new way ?

2003-08-16 Thread Rob
If you create the directory /usr/local/etc/periodic/daily, scripts
placed there will be executed during the daily run.

- Original Message -
From: Rob Lahaye [EMAIL PROTECTED]
Subject: /etc/daily.local : old and for backwards compatibility ? What
is new way ?




 Hi,

 I want to run my own script in the periodic/daily procedure
 (e.g. synchronize time with ntpdate and update ports with cvsup).

 I had a look at /etc/periodic/daily/999.local, which says:

 # Run the old /etc/daily.local script.  This is really for
backwards
 # compatibility more than anything else.

 Using /etc/daily.local makes things indeed very easy and straight
forward.
 But since this is mainly for backwards compatibility, I wonder what is
the
 new way of doing what I want to do.
 Appending my script to /etc/periodic/daily/999.local ?

 Thanks,
 Rob.

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


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