ipfw ruleset

2002-10-04 Thread Nelis Lamprecht

Hi People,

I'm trying to setup my firewall using ipfw on 4.6 Stable. I have read 
through the man pages and also several howto's but now I need your advice. 
I would like to setup a DNS server that will respond to queries and my 
current ruleset does not seem to permit this. Please tell me what I am 
doing wrong.

My Ruleset: ( ip's omitted )

add 00301 check-state
add 00302 allow tcp from any to any established
add 00303 allow tcp from any to any out setup keep-state
add 00304 allow tcp from any to $lan 22,25,80,443 setup
add 00400 allow udp from any to any out
add 00401 allow udp from $lan to any 53
add 00402 allow udp from any 53 to $lan in recv rl0
#allow some icmp types (codes not supported)
##allow path-mtu in both directions
add 00600 allow icmp from any to any icmptypes 3
##allow source quench in and out
add 00601 allow icmp from any to any icmptypes 4
##allow me to ping out and receive response back
add 00602 allow icmp from any to any icmptypes 8 out
add 00603 allow icmp from any to any icmptypes 0 in
##allow me to run traceroute
add 00604 allow icmp from any to any icmptypes 11 in
#allow ident requests
add 00700 allow tcp from any to any 113 keep-state setup
#deny syn and fin bits used for OS finger printing using nmap
add 00701 deny log tcp from any to any in tcpflags syn,fin
#log anything that falls through
add 09000 deny log ip from any to any

Kind Regards,
Nelis 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ipfw ruleset

2002-10-04 Thread Nelis Lamprecht

whoops, never mind people I have just realized blocking all udp except for 
on port 53 does not allow other DNS servers to do queries to my host ( even 
though I can query them ). would help if I actually bothered to read my 
logs once in awhile :O)

Hi People,

I'm trying to setup my firewall using ipfw on 4.6 Stable. I have read 
through the man pages and also several howto's but now I need your advice. 
I would like to setup a DNS server that will respond to queries and my 
current ruleset does not seem to permit this. Please tell me what I am 
doing wrong.

My Ruleset: ( ip's omitted )

add 00301 check-state
add 00302 allow tcp from any to any established
add 00303 allow tcp from any to any out setup keep-state
add 00304 allow tcp from any to $lan 22,25,80,443 setup
add 00400 allow udp from any to any out
add 00401 allow udp from $lan to any 53
add 00402 allow udp from any 53 to $lan in recv rl0
#allow some icmp types (codes not supported)
##allow path-mtu in both directions
add 00600 allow icmp from any to any icmptypes 3
##allow source quench in and out
add 00601 allow icmp from any to any icmptypes 4
##allow me to ping out and receive response back
add 00602 allow icmp from any to any icmptypes 8 out
add 00603 allow icmp from any to any icmptypes 0 in
##allow me to run traceroute
add 00604 allow icmp from any to any icmptypes 11 in
#allow ident requests
add 00700 allow tcp from any to any 113 keep-state setup
#deny syn and fin bits used for OS finger printing using nmap
add 00701 deny log tcp from any to any in tcpflags syn,fin
#log anything that falls through
add 09000 deny log ip from any to any

Kind Regards,
Nelis


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ipfw ruleset

2002-10-04 Thread Matthew Seaman

On Fri, Oct 04, 2002 at 08:58:50AM +0200, Nelis Lamprecht wrote:
 Hi People,
 
 I'm trying to setup my firewall using ipfw on 4.6 Stable. I have read 
 through the man pages and also several howto's but now I need your advice. 
 I would like to setup a DNS server that will respond to queries and my 
 current ruleset does not seem to permit this. Please tell me what I am 
 doing wrong.
 
 My Ruleset: ( ip's omitted )
 
 add 00301 check-state
 add 00302 allow tcp from any to any established

Um... This rule is probably not what you want.  Essentially it makes
all the later tcp rules pointless...  Try:

add 00302 deny log tcp from any to any established

The idea is that the 'setup' packet for a tcp connection will generate
a specific dynamic rule via keep-state, and that will match at rule
00301.  Any other tcp packets should be denied.

 add 00303 allow tcp from any to any out setup keep-state
 add 00304 allow tcp from any to $lan 22,25,80,443 setup

Modify this to say:

   add 00304 allow tcp from any to $lan 22,25,53,80,443 setup

DNS uses tcp connections for zone transfers and also it will fall back
to tcp if the response generated is too big for a single UDP packet.

 add 00400 allow udp from any to any out
 add 00401 allow udp from $lan to any 53
 add 00402 allow udp from any 53 to $lan in recv rl0

If DNS is the only UDP service you use (which is quite possible), then
drop your rule 00400.  Otherwise, move it to after the DNS specific
rules.

You need to allow your server to perform recursive lookups on your
behalf:

add 00401 allow udp from $lan to any 53 keep-state out via rl0

and to let other people query your server:

add 00402 allow udp from any to $lan 53 keep-state in via rl0

Using dynamic rules for a DNS server like this gives a good level of
security and is OK for a low traffic site, but it would probably
overwhelm IPFW's dynamic rule capacity if there was any significant
DNS traffic.  If you want to use static rules only, you need something
like

add 00401 add allow udp from $lan to any 53 out via rl0
add 00402 add allow udp from any 53 to $lan in via rl0

add 00403 add allow udp from any to $lan 53 in via rl0
add 00404 add allow udp from $lan 53 to any out via rl0

Unfortunately if going the static rule way, rule 00402 will expose all
of your UDP ports to a sufficiently wily cracker.  This section in the
default /etc/namedb/named.conf may prove illuminating:

/*
 * If there is a firewall between you and nameservers you want
 * to talk to, you might need to uncomment the query-source
 * directive below.  Previous versions of BIND always asked
 * questions using port 53, but BIND 8.1 uses an unprivileged
 * port by default.
 */
// query-source address * port 53;

That will let you lock down both source and destination ports in rules
00401 and 00402.

 #allow some icmp types (codes not supported)
 ##allow path-mtu in both directions
 add 00600 allow icmp from any to any icmptypes 3
 ##allow source quench in and out
 add 00601 allow icmp from any to any icmptypes 4
 ##allow me to ping out and receive response back
 add 00602 allow icmp from any to any icmptypes 8 out
 add 00603 allow icmp from any to any icmptypes 0 in
 ##allow me to run traceroute
 add 00604 allow icmp from any to any icmptypes 11 in
 #allow ident requests
 add 00700 allow tcp from any to any 113 keep-state setup
 #deny syn and fin bits used for OS finger printing using nmap
 add 00701 deny log tcp from any to any in tcpflags syn,fin
 #log anything that falls through
 add 09000 deny log ip from any to any

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



failure installing procmail from ports

2002-10-04 Thread Nigel Soon

Hello,

I'm can't seem to get procmail to install from the ports. I am running 
4.6-RELEASE and am trying to install procmail-3.22. 

I have included below the error I am getting when I do 'make install':

---
.
.
.
Initiating fcntl()/kernel-locking-support tests

Proceeding with kernel-locking-support tests in the background
Testing for const
Testing for volatile
Testing for enum

Your system appears to not (correctly) support at least one of:
const, volatile, function prototypes, and enum types.  Future
versions of procmail will probably require support for all of them,
so you should either upgrade your compiler to one that's compliant
with the ISO C standard (the standard's over 10 years old, for
goodness sake), or send email to [EMAIL PROTECTED] explaining why
you need procmail to continue to support KR C.

Checking for POSIX and ANSI/ISO system include files
Checking for network/comsat/biff support
Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t  gid_t
Checking realloc implementation
Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS()  WSIGTERM()
Testing for various struct passwd members
Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr,
rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync,
ftruncate, strtod, strncasecmp, strerror, strlcat,
memset, bzero, and _exit
Determining the maximum number of 16 byte arguments execv() takes
Whoeaaa!  This actually can't happen.
You have a look and see if you detect anything uncanny:
***
In file included from includes.h:74,
 from sublib.c:13,
 from _autotst.c:3:
/usr/include/string.h:54: warning: conflicting types for built-in function `mem
cmp'
/usr/include/string.h:55: warning: conflicting types for built-in function `mem
cpy'
/usr/include/string.h:60: warning: conflicting types for built-in function `str
cmp'
/usr/include/string.h:62: warning: conflicting types for built-in function `str
cpy'
/usr/libexec/elf/ld: cannot find -lgcc
***
I suggest you take a look at the definition of LDFLAGS*
in the Makefile before you try make again.
*** Error code 1

Stop in /usr/ports/mail/procmail/work/procmail-3.22/src.
*** Error code 1

Stop in /usr/ports/mail/procmail/work/procmail-3.22.
*** Error code 1

Stop in /usr/ports/mail/procmail.

---

I'm a little bit lost here and apreciate any help.

Thanks,

Nigel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Modem

2002-10-04 Thread grzybek


Hi,

I have Pentagram Omen internal modem and FreeBSD-4.7-RC

I'd like to know how to set up kernel configuration to use it
So far I got:

pci0: unknown card (vendor=0x11d4, dev=0x1805) at 6.0 irq 10

I've found that /usr/src/share/misc/pci_vendors file contains
that kind of modem:

11D4Analog Devices
1805Motorola SM56 PCI Speakerphone Modem

but don't know what to do with kernel configuration


Second question? Does /usr/src/share/misc/pci_vendors contain list of all
supported devices or not?

Thanks

Grzybowski Rafal



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Suggestion re packages

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-03 12:02:34 -0700:
 On Thu, Oct 03, 2002 at 01:06:17PM +0930, Ian Moore wrote:
  Hi,
  As I was browsing thru the questions mailing list just now, I
  thought of something that might improve the ease of use of our
  ports/packages system.  It seems to me it would be helpful if
  packages included a quick summary of any options used to compile the
  package and anything else that isn't included in the packages, but
  is present in the port (or vice versa?). For example -  the
  authentication bits in Squid)
 
 Packages are only ever built with the default options (i.e. no special
 options enabled/disabled).

Not true.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/vim/Makefile?rev=1.204content-type=text/x-cvsweb-markup

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
10:59AM up 16 days, 18:14, 19 users, load averages: 0.00, 0.04, 0.05
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Resin on FreeBSD?

2002-10-04 Thread Andreas Wideroe Andersen

Hi,
Got a few questions regarding Resin, a servlet and jsp engine 
(http://www.caucho.com/resin/index.xtp):

- Anyone got it running on FreeBSD?
- If so, how does it work/scale compared to Ie. Red Hat Linux?

I'm installing a system for a customer that requires Apache, MySQL, 
PHP and Resin and I'd like it to run on FreeBSD

Thanks for any information!

/Andreas


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



non-rewinding, non-compressing tape device

2002-10-04 Thread Per olof Ljungmark

Is there a non-rewinding, non-compressing tape device on FreeBSD?

Also, is there a place where the stuff in /dev is documented?

Sorry if the above are stupid questions but I have tried to RTFM here...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: non-rewinding, non-compressing tape device

2002-10-04 Thread Matthew Seaman

On Fri, Oct 04, 2002 at 02:10:00PM +0200, Per olof Ljungmark wrote:
 Is there a non-rewinding, non-compressing tape device on FreeBSD?

From the sa(4) man page:

FILES
 /dev/[n][e]sa[0-9]  general form:
 /dev/sa0Rewind on close
 /dev/nsa0   No rewind on close
 /dev/esa0   Eject on close (if capable)
 /dev/sa0.ctlControl mode device (to examine state while another
 program is accessing the device, e.g.).

BUGS
 [...]

 Fine grained density and compression mode support that is bound to spe-
 cific device names needs to be added.


 Also, is there a place where the stuff in /dev is documented?

Devices are documented in secion 4 of the man pages. Generally there
will be a man page for pretty much any device under /dev: just strip
off any unit numbers or other extra characters.  Sometimes the man
page is listed under the kernel option required to enable it.

eg:

/dev/zero-- zero(4)
/dev/sa0 -- sa(4)
/dev/nsa0-- sa(4)
/dev/da0s1a  -- da(4)
/dev/dsp0.0  -- snd(4) a.k.a. pcm(4)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Trouble mounting the root filesystem

2002-10-04 Thread Ruben de Groot

On Thu, Oct 03, 2002 at 11:02:24PM -0700, Nick Tonkin typed:
   
 
 Hello,
 
 Seems my new FreeBSD system can't mount from my RAID controller.
 
 Just installed FreeBSD 4.6.2 on a shiny new box with a Promise Fasttrack
 100 onboard ATA RAID controller.
 
 The OS seems to recognize the array no problem:
 
 ar0: 38166MB ,ATA RAID1 array. [4865/255/63] status: READY subdisks:
  0 READY ad4: 38166MB WDC WD400BB-00DEA0 [77545/16/63] at ata2-master ~
 UDMA 100
  0 READY ad6: 38166MB WDC WD400BB-00DEA0 [77545/16/63] at ata3-master ~
 UDMA 100
 
 But when I boot the system I just get the old:
 
 Manual root filesystem specification:
   fstype:device  Mount device using filesystem fstype
  eg. ufs:da0s1a
   ?List valid disk boot devices
   empty line Abort manual input
 
 mountroot
 
 
 So I do what it says:
 
 mountrootufs:/dev/ar0s1a  --- I can use ar0, ar0s1, ar0s1a: same effect
 Oct 3 23:00:17 init: login_getclass: unknown class 'daemon'
 /etc/rc: Can't open /etc/rc: No such file or directory
 Oct 3 23:00:17 init: /etc/spwd.db: No such file or directory
 Enter full pathname of shell or RETURN for /bin/sh:

You can not just put /etc on another filesystem. Many scripts and files
(/etc/rc, /etc/fstab to name two) are needed early in the boot proces, when
only root is mounted. This has nothing to do with your raid controller.

 
 
 So it looks like only the / fs mounted. So I mount the rest by hand:
 
 # mount /dev/ar0s1e /var
 # mount /dev/ar0s1f /etc
 # mount /dev/ar0s1g /usr
 
 But then when I check to see what happened:
 # mount
 /dev/ar0s1a on / (ufs, local, read-only)
 /dev/ar0s1e on /var (ufs, local, soft-updates)
 /dev/ar0s1f on /etc (ufs, local, soft-updates)
 /dev/ar0s1g on /usr (ufs, local, soft-updates)
 
 So it only mounts / read-only ... what's up with that?
 
 Any advice on how to get the system to automatically mount the filesystems
 we defined greatly appreciated.
 
 Thanks,
 
 - nick
 
    
 Nick Tonkin   {|8^)
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: non-rewinding, non-compressing tape device

2002-10-04 Thread Per olof Ljungmark

At 14:12 10/4/2002 +0100, Matthew Seaman wrote:
On Fri, Oct 04, 2002 at 02:10:00PM +0200, Per olof Ljungmark wrote:
  Is there a non-rewinding, non-compressing tape device on FreeBSD?

 From the sa(4) man page:

FILES
  /dev/[n][e]sa[0-9]  general form:
  /dev/sa0Rewind on close
  /dev/nsa0   No rewind on close
  /dev/esa0   Eject on close (if capable)
  /dev/sa0.ctlControl mode device (to examine state while another
  program is accessing the device, e.g.).

BUGS
  [...]

  Fine grained density and compression mode support that is bound to spe-
  cific device names needs to be added.


  Also, is there a place where the stuff in /dev is documented?

Devices are documented in secion 4 of the man pages. Generally there
will be a man page for pretty much any device under /dev: just strip
off any unit numbers or other extra characters.  Sometimes the man
page is listed under the kernel option required to enable it.

eg:

 /dev/zero-- zero(4)
 /dev/sa0 -- sa(4)
 /dev/nsa0-- sa(4)
 /dev/da0s1a  -- da(4)
 /dev/dsp0.0  -- snd(4) a.k.a. pcm(4)

 Cheers,

 Matthew

--
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
   Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

Thanks Matthew, I read sa(8), maybe I'll learn sometime..


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Public Relations

2002-10-04 Thread Harrison Grundy

  I'd like to know who to talk to about Public Relations activities. The 
list of staff currently lists this position as open. If there currently 
isn't anyone avalible to do that, I'd also be interested in helping in any 
way I can.

Harrison Grundy

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Public Relations

2002-10-04 Thread Ceri Davies

On Fri, Oct 04, 2002 at 01:42:25PM +, Harrison Grundy wrote:
  I'd like to know who to talk to about Public Relations activities. The 
 list of staff currently lists this position as open. If there currently 
 isn't anyone avalible to do that, I'd also be interested in helping in any 
 way I can.

Try [EMAIL PROTECTED]  They love it.

Ceri
-- 
you can't see when light's so strong
you can't see when light is gone

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



USB printing or failure therof

2002-10-04 Thread Cliff Sarginson

I have just upgraded my system to the latest stable release
and my Epson printer connected and configured as a USB printer
has gone peculiar on me. It will not print, forcing a page throw
gives me a blank piece of paper, and the job disappears from
the printer queue.
Also the environment variable PRINTER seems to be ignored now
by lpr.

Any suggestions anyone ?
It used to work !

-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Block Zeroing Tool

2002-10-04 Thread Jacob S. Barrett

Is there a tool for FreeBSD that zeros the unallocated blocks on a 
filesystem?

The company I work for has an image on demand system for our lab 
machines.  This system relies on ghost which only supports file by file 
imaging on certain file systems.  I want to take disk images of certain 
FreeBSD installations.  Ghost will only take sector by sector images of 
FreeBSD partitions.  Since it is doing this it stores all the junk 
unused blocks as well.  This makes for a very large image even with high 
compression.  If I can zero out the unused blocks before taking the 
image with high compression the image size should be much smaller.

So, is there utility to zero out those blocks?  Does this make sense? 
Is there a better way to take images of FreeBSD machines?

-Jake

-- 
Jacob S. Barrett
[EMAIL PROTECTED]
www.amduat.net

I don't suffer from insanity, I enjoy every minute of it.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: killing an application through code

2002-10-04 Thread Oliver Fromme

Mike Hogsett [EMAIL PROTECTED] wrote:
  
   Can anyone tell me how i can kill an application
   process through a piece of C code?
  
  man killall

He was asking for C code.  Well, in C, the easiest way
is probably to go through the procfs(5) filesystem to
find the PID and then use the kill(2) system call.  This
isn't portable, though, but I don't think that there is
a portable way to do it.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: killing an application through code

2002-10-04 Thread Cliff Sarginson

On Fri, Oct 04, 2002 at 04:31:49PM +0200, Oliver Fromme wrote:
 Mike Hogsett [EMAIL PROTECTED] wrote:
   
Can anyone tell me how i can kill an application
process through a piece of C code?
   
   man killall
 
 He was asking for C code.  Well, in C, the easiest way
 is probably to go through the procfs(5) filesystem to
 find the PID and then use the kill(2) system call.  This
 isn't portable, though, but I don't think that there is
 a portable way to do it.
 
 Regards
Oliver
 
Well if he has control over the application he could make it record it's
pid somewhere as many system programs do, and use that. He should bear
in mind of course he will only be able to kill them stone dead if he
owns them or is root. This is definitely portable !

-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: killing an application through code

2002-10-04 Thread Oliver Fromme

Cliff Sarginson [EMAIL PROTECTED] wrote:
  On Fri, Oct 04, 2002 at 04:31:49PM +0200, Oliver Fromme wrote:
   He was asking for C code.  Well, in C, the easiest way
   is probably to go through the procfs(5) filesystem to
   find the PID and then use the kill(2) system call.  This
   isn't portable, though, but I don't think that there is
   a portable way to do it.
  
  Well if he has control over the application he could make it record it's
  pid somewhere as many system programs do, and use that.

Sure, but he was talking about Realplayer.  I doubt he has
control over that one.  :-)

Well, okay, he could write a wrapper script that runs the
application (Realplayer or whatever) in the background and
records the PID somewhere.  But that's not always possible.

Regards
   Oliver

PS:  Please respect the Reply-To header.

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Trouble mounting the root filesystem

2002-10-04 Thread Nick Tonkin


On Fri, 4 Oct 2002, Ruben de Groot wrote:

 On Thu, Oct 03, 2002 at 11:02:24PM -0700, Nick Tonkin typed:
  
  Just installed FreeBSD 4.6.2 on a shiny new box with a Promise Fasttrack
  100 onboard ATA RAID controller.

[ snip ]

  Oct 3 23:00:17 init: /etc/spwd.db: No such file or directory
  Enter full pathname of shell or RETURN for /bin/sh:
 
 You can not just put /etc on another filesystem. Many scripts and files
 (/etc/rc, /etc/fstab to name two) are needed early in the boot proces, when
 only root is mounted. This has nothing to do with your raid controller.


That sounds like exactly it! I created a slice for /etc since I thought
the default size for the / slice (256Mb) was too small. Thanks a
million. Off to rebuild! Wonder of there's a way to change the slices
around without re-installing everything.

- nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Software

2002-10-04 Thread Bloomquist, Brigitte (US)

Can you please let me know how to return software?  I just received the current 
release and no longer wish to be on the auto delivery system.

Please inform me how to do so.

Thank you!!!

Brigitte

(The software is being shipped to Jeffrey Stormshak, we are in the same household).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Public Relations

2002-10-04 Thread Giorgos Keramidas

On 2002-10-04 13:42, Harrison Grundy [EMAIL PROTECTED] wrote:
 I'd like to know who to talk to about Public Relations activities.
 The list of staff currently lists this position as open. If there
 currently isn't anyone avalible to do that, I'd also be interested
 in helping in any way I can.

I think you want to chat with Michael Lucas [EMAIL PROTECTED], who
has been very active in the area of public relations lately.

-- 
[EMAIL PROTECTED] -==- FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



$B!y$?$^$2$?%K%e!<%9!y(J

2002-10-04 Thread watanabe@bb.knet.ne.jp



EBEKEBEKEBEKEBEKEBEKEBEKEBEKEB
@@  
@@@@@@@@@@@™@‚½‚Ü‚°‚½ƒjƒ…[ƒX@™

@@@@— ƒrƒfƒI”Ì”„E“ÁŽêƒ_ƒbƒ`ƒƒCƒtE‚r‚lƒNƒ‰ƒu
@@‚`‚u’j—D•åWE‰‡•ŒðÛE‚Žû“üŠmŽÀuo’£ƒzƒXƒgv•åW
@@@@@@@@¦¦¦@‚»‚Ì‘¼— î•ñ–žÚ@¦¦¦

@EBEKEBEKEBEKEBEKEBEKEBEKEBEKEB

@@@@@@
@@@@@@‚¨\ž‚݁E‚²’•¶E¤•iÚ×“™‚́@@@@
@@@@@@‰º‹L‚t‚q‚k‚ðƒNƒŠƒbƒN‚µ‚Ä‚²——‚­‚¾‚³‚¢B
@@@@@@



¡@ƒAƒƒr‚ª‘å‹™‚ō¢‚Á‚Ä‚¢‚Ü‚·@¡

ƒƒŠ[ƒ^ƒrƒfƒIi‚c‚u‚cjê–å
‚¢‚‚܂ʼnc‹Æ‚Å‚«‚é‚©‚í‚©‚è‚Ü‚¹‚ñB
ƒ}ƒjƒA‚̃€ƒgƒE“X’·‚¾‚©‚ç‚Å‚«‚é•i‘µ‚¦‚̐”XI
Šˆ‚«‚Ì‚¢‚¢‚¤‚¿‚ÉŽ©‘î‚Ö’¼‘—’v‚µ‚Ü‚·B
–ž‘«“x‚P‚Q‚O“‚Ì‚²’•¶‚Í‚¨‘‚߂ɁI
ôì•i—áô@­—“`àE–¼ŒÃ‰®’c’n9E­—‚Ì“¹‘
‚È‚Ç‚È‚Ç‚P‚R‚Qì•i‚ªD•]”­”„’†I

http://video333.com/
@@@@@@@@@@@@@@@@@@@@(@.@)/~ƒƒŠƒƒŠ•“¡

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@“X•Ü”Ì”„‚Å‚È‚¢‚¨lŒ`‚³‚ñ@¡

•ø‚«‚µ‚ß‚½‚­‚È‚é‚悤‚È‚¨lŒ`‚³‚ñ‚ªì‚ê‚Ü‚µ‚½B
‚»‚ê‚à“™g‘å‚Ȃ̂ŁA”š”­“I‘åƒqƒbƒg¤•iI
”‚ɐ§ŒÀ‚ª‚ ‚邽‚߁A‚¨\‚µž‚Ý‚Í‚¨‘‚߂ɁI
ô‚‚¢‚ɐV»•i“oêô
¬Ž­‚̂悤‚ȉ˜‚ê‚È‚«—öl
™‹Ç•”‚Ü‚Å–{•¨‚»‚Á‚­‚è‚ɐ§ì‚µ‚½‚½‚߁A“X“ª”Ì”„‚Å‚«‚Ü‚¹‚ñB

http://a-speed.net/
@@@@@@@@@@@@@@ƒƒfƒBƒJƒ‹ƒAƒsƒAlŒ`H–[ƒfƒUƒCƒ“

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@‹t‰‡•ŒðÛ‚­‚ç‚ԁ@¡

‘f“G‚È’j«‚Æ’©‚Ü‚Å“ñlEEEB
‘f“G‚È’j«‚ð¡‚·‚®‹M—‚ÌŒ³‚ÖŒü‚©‚킹‚Ü‚·B
‘S‘ƒlƒbƒgƒ[ƒN‚Å‚·‚®‚ɏЉî‚n‚jB
Žá‚¢—«‚à‰“—¶‚µ‚È‚¢‚Å—V‚Ñ‚Ü‚­‚낤I
‚P‰ñŒÀ‚èA’·ŠúA‰½‚Å‚à‚ ‚èB
ô—«‚É—D‚µ‚­‚Å‚«‚é’j«ƒXƒ^ƒbƒt‚à“¯Žž•åW’†ô

http://new-pm.com/
@@@@@@@@@@@@@@@@@@@@@@@@@‹t‰‡•‰ï

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@‚r‚d‚wƒtƒŒƒ“ƒh•åW@¡

^Œ•‚ÉSEXƒtƒŒƒ“ƒh‚ð’T‚µ‚Ä‚¢‚él‚¾‚¯W‡B
‘S‘‚Ç‚±‚Å‚à‹ß‚­‚̐l‚ðƒvƒƒtƒB[ƒ‹•t‚Å‚·‚®Ð‰îB
Žá‚¢l‚©‚çn”N‚Ü‚Å‚¢‚Á‚Ï‚¢‚¢‚é‚æB
ƒ_ƒ“ƒi‚É“à‚Ì‚g‚ðŠy‚µ‚à‚¤I

http://www.japan.pinkserver.com/sfriend/
@@@@@@@@@@@@@@@@@@@@@@@ƒŒƒ‚ƒ“ƒNƒ‰ƒu

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@‹M•wl‹äŠy•”@¡

‘f“G‚È’j«‚ðÐ‰î‚µ‚Ü‚·B
ƒ}ƒbƒT[ƒWƒR[ƒX‚àŠJÝB
y‘f“G‚È–é‚ð–ñ‘©‚µ‚Ü‚·z
ô’j«•åWô
ƒŠƒbƒ`‚ȍ‚‹‰•wl‚Æ‚ÌŒðÛ‚ŁAƒAƒiƒ^‚Ì–²‚ðŽÀŒ»B
ŽáŽÒ‚©‚ç’†‚”N‚Ü‚ÅŒ’N‚È’j«‹à–¬El–¬‚Ì‚Ù‚µ‚¢’j«‚ɍœKB
—«‚ÍŒoÏ“I‚ÉŒb‚܂ꂽŽÐ’·•wlEŽÀ‹Æ‰ÆE‘½”...B

http://drop.cc
@@@@@@@@@@@@@@@@@@@@@@@‹M•wlƒNƒ‰ƒu

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@Œg‘єԍ†‹³‚¦‚Ü‚·@¡

‘S‘Še’n‚̏—‚ÌŽq‚ÌŒg‘єԍ†‹³‚¦‚¿‚Ⴄ‚æI
¡ATŠ§Ž‚Řb‘蕦“«I
–{‹C‚ŏo‰ï‚¢‚ð‹‚ß‚Ä‚é—«‚̔ԍ†‚¾‚¯B
ƒTƒNƒ‰A‚â‚点ˆêØ–³‚µB
Œg‘єԍ†‹³‚¦‚éƒVƒXƒeƒ€‚Í“–“X‚ªŒ³‘c‚Å‚·B

http://goo-goo.net/
@@@@@@@@@@@@@@@@@@@@@ƒ}[ƒxƒ‰ƒXƒNƒ‰ƒu

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@ƒ}ƒŠƒtƒ@ƒi‚f‚n‚f‚n@¡

‚±‚̃y[ƒW‚͈êTŠÔ‚ŏÁ–Å‚µ‚Ü‚·B
ƒ}ƒŠƒtƒ@ƒi‚ª‚½‚Ü‚ç‚È‚­D‚«‚ȐlA‚Ç‚¤‚¼A‚±‚±‚ցB
‚ ‚Ô‚È‚¢‚­‚·‚è‚̏î•ñ‚àŽè‚É“ü‚é‚æI
uâ‘΂Ɉ«—p‚µ‚È‚¢‚Å‚­‚¾‚³‚¢Bv

http://www.egao.com/areaegao/0/
@@@@@@@@@@@@@@@@@@@@@@@@@X@³’j

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@¶’Eƒpƒ“ƒeƒB@¡

‚ ‚́AŽg—pÏ‰º’…ê–å“Xu‚Ï‚ñ‚Ä‚¡‚Í‚¤‚·v‚ª‹‚É“oêI
—‚ÌŽq‚ÌŠçŽÊ^‚ðŒ©‚Ä—ŽŽDI
ƒpƒ“ƒeƒBEƒuƒ‹ƒ}[EƒXƒgƒbƒLƒ“ƒOEŒC‰º ‚ðŠ®‘S–§••‚Å‚¨“Í‚¯B
`‚¢‚¢“õ‚¢I`
‘ü¡i-mode‰“oê‹L”OƒI[ƒ‹3000‰~‚Å—ŽŽD‚Å‚«‚é‚æ!

http://love77.to
@@@@@@@@@@@@@@@@@@@@@@ƒpƒ“ƒeƒBƒnƒEƒX

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@V‘•ŠJ“XIŒƒˆÀƒZ[ƒ‹@¡

AV.DVDŒƒˆÀƒZ[ƒ‹
‘¼“X‚Å‚ÍŽè‚É“ü‚ç‚È‚¢‚à‚̂΂©‚µ¥¥
‚â‚Þ‚ð‚¦‚¸‚µ‚΂炭‹x‹Æ‚µ‚Ä‚¢‚Ü‚µ‚½‚ªA
ˆê”N‚Ô‚è‚̉c‹ÆÄŠJ‚Æ‚È‚è‚Ü‚µ‚½B
ˆÈ‘O‚̂悤‚ɁA‚æ‚낵‚­‚¨Šè‚¢‚µ‚Ü‚·B
‘¼“X‚É•‰‚¯‚¸ŒƒˆÀ—¿‹à‚ʼnc‹Æ‚ðÄŠJ’†B

http://cf-boss.to/
@@@@@@@@@@@@@@@@@@@@@@@ƒsƒ“ƒNƒnƒEƒX

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@‘ÛŒð—¬‚ð[‚ß‚éƒ`ƒƒƒ“ƒX@¡

‘Ûo‰ï‚¢‚̍Lê™
¢ŠEŠe‘‚ÌLady‚Æ’m‚荇‚¤ƒ`ƒƒƒ“ƒX!!
‚ ‚È‚½‚àƒXƒeƒL‚È—ö‚µ‚Ü‚¹‚ñ‚©H
“ú–{l’j«‚Æ•t‚«‡‚¢‚½‚¢ŠO‘l—«‚ð•åW‚µ‚½Œ‹‰ÊA
‚È‚ñ‚Æ2516lW‚Ü‚è‚Ü‚µ‚½I
‹CŒy‚ÈŒðÛŠó–]‚Ì•ûA^Œ•‚ɍ‘ÛŒ‹¥‚ðl‚¦‚Ä‚¢‚é•û‚Ç‚¿‚ç‚àOKô
ƒXƒeƒL‚ÈŠO‘l—«‚ðÐ‰î‚µ‚Ü‚·B
ŽÊ^•tƒvƒƒtƒB[ƒ‹‚©‚çƒAƒiƒ^‚̍D‚Ý‚Å‘I‚ñ‚łˁ™

http://u-serf.com/
@@@@@@@@@@@@@@@@@@@@@‚s‚b‚oÐ‰îƒZƒ“ƒ^[

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@AV’j—DE——D•åW@¡

’´‚Žû“ü‚P‚O‚O–œˆÈã!
ŒŽˆê‰ñA‹ó‚¢‚Ă鎞ŠÔ‚ÅŽB‰e‚µ‚Ü‚·‚̂ŁA•›‹Æ‚ɍœKB
—L–¼ŠÄ“‚ª‰SŽÒ‚ɐeØŽw“±

‚Žû“ü‚ð–]‚Þ•û‚Í
http://www.media-0.com/user/allright/
@@@@@@@@@@@@@@@@@@@@@@@@ƒTƒ“ƒvƒŠé‰æ

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

¡@—«‚Ƀ‚ƒeƒ‹‹ÉˆÓ@¡

‚ ‚¢‚‚̓‚ƒeƒ‹‚̂ɁA‚Ç‚¤‚µ‚ăIƒŒ‚̓‚ƒe‚È‚¢‚È‚¢‚ñ‚¾‚낤¥¥¥
‚»‚ê‚Í’j‚Ì”­‚·‚éƒtƒFƒƒ‚ƒ“‚̈Ⴂ‚È‚Ì‚Å‚·B

‚±‚̂ЂƂӂ«‚ŏ—«‚Ì–{”\‚ðƒVƒQƒL‚µA’N‚Å‚àƒ‚ƒeƒ‚ƒeŒN‚É!!!
—‹ü‚æ‚茋‰Ê‚ŁAŽÀŠ´‚µ‚ĉº‚³‚¢B


Re: buried in spams, recommendation?

2002-10-04 Thread Kirk Strauser


At 2002-10-03T22:29:28Z, Roger 'Rocky' Vetterberg [EMAIL PROTECTED] writes:

 I think there is an article on onlamp about procmail and spamfiltering,
 you might want to check it out.

plug type=shameless

I wrote a HOWTO at:

http://subwiki.honeypot.net/cgi-bin/view/Freebsd/FilterSpam

/plug
-- 
Kirk Strauser
In Googlis non est, ergo non est.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Parsing route dump received by using sysctl

2002-10-04 Thread yatin chalke

Hi,

I am currently trying to get a route dump in
freebsd4.4 using sysctl with NET_RT_DUMP.

I am running into problems while parsing the returned
rt_msghdr structures.

The sockaddr structures returned after the rt_msghdr
are messed up and it is not giving correct gateway or
netmask.

For ex: when I am parsing the received route dump the
netmask received is nonzero(random value) for a
default route (which it returns as 0.0.0.0) and also
netmask doesnt appear to be a sockaddr structure.

Also for further routes gateway and netmasks are
0.0.0.0.
I am  parsing the received sockaddr structures to get
all the values depending on flag bits set in rt_msghdr
structure.

If anyone can help me in this matter it will be a
great help.

Thanks,
--Yatin


__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Trouble mounting the root filesystem

2002-10-04 Thread Ruben de Groot

On Fri, Oct 04, 2002 at 08:06:18AM -0700, Nick Tonkin typed:
 
 On Fri, 4 Oct 2002, Ruben de Groot wrote:
 
  On Thu, Oct 03, 2002 at 11:02:24PM -0700, Nick Tonkin typed:
   
   Just installed FreeBSD 4.6.2 on a shiny new box with a Promise Fasttrack
   100 onboard ATA RAID controller.
 
 [ snip ]
 
   Oct 3 23:00:17 init: /etc/spwd.db: No such file or directory
   Enter full pathname of shell or RETURN for /bin/sh:
  
  You can not just put /etc on another filesystem. Many scripts and files
  (/etc/rc, /etc/fstab to name two) are needed early in the boot proces, when
  only root is mounted. This has nothing to do with your raid controller.
 
 
 That sounds like exactly it! I created a slice for /etc since I thought
 the default size for the / slice (256Mb) was too small. Thanks a
 million. Off to rebuild! Wonder of there's a way to change the slices
 around without re-installing everything.

Well, there's growfs(8), but I've never used it. Other than that you can 
of course dump - repartition - and restore.
But from my experience, 256Mb is more than enough for the root partition 
(including /etc, which is usually small). When I started using FreeBSD 
(4.2-RELEASE) I think the default size for / was about 40Mb. 

Good luck.

 
 - nick
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Software

2002-10-04 Thread Kris Kennaway

On Fri, Oct 04, 2002 at 10:26:08AM -0500, Bloomquist, Brigitte (US) wrote:
 Can you please let me know how to return software?  I just received the current 
release and no longer wish to be on the auto delivery system.
 
 Please inform me how to do so.
 
 Thank you!!!
 
 Brigitte
 
 (The software is being shipped to Jeffrey Stormshak, we are in the same household).

This is the community technical support list, not a commercial vendor.
Talk directly to the people from which you bought the software.

Kris



msg03855/pgp0.pgp
Description: PGP signature


linux_base vs linux_base-6?

2002-10-04 Thread Fernan Aguero

I have recently finished a clean installation of
FreeBSD-4.6.2. Since I run linux binaries I chose to install
the linux-compatibility packages from the install media.
This currently is linux_base-6, if I read it right.

Now many ports have their dependencies listed as
linux_base-7.1 or something similar. This means that my
linux-compatibility tree got updated when I installed some
of this ports? or should I do this
manually by going to /usr/ports/emulators/linux_base and
doing a 'make install'?

Now, what are the pros and cons of -7.1 and -6?

Suggestions?

Fernan

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Dial-in PPP connections

2002-10-04 Thread Katinka Mills

Hi all,

I have RTFM'd and googled all day (and I am not joking) but I can not get my
freebsd BOX to accept and incomming ppp connection.

I can use Hyperterminal to dial in and get login access with a user name and
password, but Dial Up Networking refuses to connect. It will negotiate a
speed, then just sits trying to authenticae the user.

I am currently trying to use the Method #2 in the PPP man page for inbound
connections.

Bellow is a log file of a failed connection.

Any help or pointers apreceated.

Regards,

Kat.

from ppp.log

Oct  4 22:24:47 serverbsd ppp[295]: Phase: Using interface: tun1
Oct  4 22:24:47 serverbsd ppp[295]: Phase: deflink: Created in closed state
Oct  4 22:24:47 serverbsd ppp[295]: tun1: Command: incoming: enable chap pap
passwdauth
Oct  4 22:24:47 serverbsd ppp[295]: tun1: Phase: PPP Started (direct mode).
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: Select changes time: no
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: bundle: Establish
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: closed - opening
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: Input is a tty
(/dev/ttyd0)
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: tty_Create:
physical (get): fd = 0, iflag = 0, oflag = 6, cflag = 4b00
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: physical (put):
iflag = 601, oflag = 6, cflag = cb00
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: Connected!
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: opening - carrier
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: Entering tty_Raw
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: carrier - lcp
Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: FSM: Using deflink as a
transport
Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: State change
Initial -- Closed
Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: State change
Closed -- Stopped
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: DescriptorRead:
read 39/2048 from 0
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync: Read
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 21 7d 20 7d 20 7d 34 7d
22 7d 26 7d 20 7d 20  }!} } }4}}} }
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 20 7d 20 7d 25 7d 26 2d
bd 46 d9 7d 27 7d 22  } } }%}-.F.}'}
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 28 7d 22 2b 44
   }(}+D~
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: proto_LayerPull: unknown -
0x007d
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: link_PullPacket: Despatch
proto 0x007d
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: Unknown protocol 0x007d
(reserved (Control Escape))
Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: SendProtocolRej(1)
state = Stopped
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: fsm_Output
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  08 01 00 2c 00 7d 21 7d 20
7d 20 7d 34 7d 22 7d  ...,.}!} } }4}}
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  26 7d 20 7d 20 7d 20 7d 20
7d 25 7d 26 2d bd 46  } } } } }%}-.F
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  d9 7d 27 7d 22 7d 28 7d 22
2b 44 7e  .}'}}(}+D~
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: proto_LayerPush: Using
0xc021
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync: Write
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  ff 03 c0 21 08 01 00 2c 00
7d 21 7d 20 7d 20 7d  ...!...,.}!} } }
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  34 7d 22 7d 26 7d 20 7d 20
7d 20 7d 20 7d 25 7d  4}}} } } } }%}
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  26 2d bd 46 d9 7d 27 7d 22
7d 28 7d 22 2b 44 7e  -.F.}'}}(}+D~
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: link_PushPacket: Transmit
proto 0xc021
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: m_enqueue: len = 1
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: m_dequeue: queue len = 1
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: link_Dequeue: Dequeued from
queue 1, containing 0 more packets
Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: DescriptorWrite:
wrote 48(48) to 0
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP: deflink: LayerStart
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP: deflink: SendConfigReq(1)
state = Stopped
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP:  MRU[4] 1492
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP:  MAGICNUM[6] 0x197a6335
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP:  QUALPROTO[8] proto c025,
interval 3ms
Oct  4 22:24:49 serverbsd ppp[295]: tun1: LCP:  AUTHPROTO[5] 0xc223 (CHAP
0x05)
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Debug: fsm_Output
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Debug:  01 01 00 1b 01 04 05 d4 05
06 19 7a 63 35 04 08  ...zc5..
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Debug:  c0 25 00 00 0b b8 03 05 c2
23 05 .%...#.
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Debug: proto_LayerPush: Using
0xc021
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Sync: Write
Oct  4 22:24:49 serverbsd ppp[295]: tun1: Sync:  ff 03 c0 21 01 

which MDA should I use?

2002-10-04 Thread Nigel Soon

Hi,

I am trying to decide on an MDA to use and I thought I had settled on
procmail but I was told procmail-3.22(current in ports) pre-dates
FreeBSD 4.6 by over a year. Does this mean there is something else I
should use or is procmail still my best bet?

Thanks,

Nigel

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



floppy disk

2002-10-04 Thread xxavi


Hello, I'm new on the list and I'm trying to configurate and mount my 
floppydisk, can anyone tell me how I could find any document that would help me.

bye

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
 
 Hello, I'm new on the list and I'm trying to configurate and mount my 
 floppydisk, can anyone tell me how I could find any document that
 would help me.

see /etc/disktab. i use this script to create floppies:

roman@freepuppy ~ 1021:0   ~/bin/newfd 
#!/bin/sh

fdformat -f 1440 fd0.1440 \
  disklabel -r -w fd0.1440 fd1440 \
  newfs -T fd1440 fd0.1440

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
6:52PM up 17 days, 2:07, 16 users, load averages: 0.12, 0.19, 0.16
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: which MDA should I use?

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-04 10:23:30 -0600:
 Hi,
 
 I am trying to decide on an MDA to use and I thought I had settled on
 procmail but I was told procmail-3.22(current in ports) pre-dates
 FreeBSD 4.6 by over a year. Does this mean there is something else I
 should use or is procmail still my best bet?

there's also maildrop.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
6:56PM up 17 days, 2:11, 16 users, load averages: 0.34, 0.23, 0.18
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ipfw stateful help - strange behaviour

2002-10-04 Thread Greg Panula

This post is more for -questions, since -security is now just a
discussion forum.

Try this ruleset:
 00100 check-state
 00500 allow tcp from any to 66.8.x.y 80 keep-state
 01000 deny tcp from any to 66.8.x.y 80
 65535 allow ip from any to any

With the above ruleset, rule 500 will create an entry in the state table
for both the intital set-up and then the actual connection.

The previous 500 rule(allow tcp from any to 66.8.x.y 80 keep-state
setup) was only entering a rule into the state table for setup part of
the connection.

Cheers,
  Greg


Aragon Gouveia wrote:
 
 Hi,
 
 I'm having a problem with ipfw's stateful operation which I can't quite
 figure out. Let me start with my ruleset.
 
 00100 check-state
 00500 allow tcp from any to 66.8.x.y 80 keep-state setup
 01000 deny tcp from any to 66.8.x.y 80
 65535 allow ip from any to any
 
 Ok this ruleset works great from all my machines. But I'm noticing a lot of
 traffic is hitting rule 1000. When enabling logging on rule 1000, I see
 around 10 hits a minute. I know it could be arbly generated packets directed
 at 66.8.x.y on port 80, but with this frequency it doesn't look right.
 
 So I changed my ruleset slightly to this :
 
 00100 check-state
 00500 allow tcp from any to 66.8.x.y 80 keep-state setup
 01000 fwd 66.8.b.c,34501 tcp from any to 66.8.x.y 80
 65535 allow ip from any to any
 
 This allowed me to analyse what was hitting rule 1000 by running tcpdump on
 66.8.b.c. Here's the output :
 
 17:06:45.824689 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 213.155.147.226.61175  
66.8.x.y.80: R 1312082120:1312082120(0) win 0 (DF)
 17:06:45.824722 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 213.155.147.226.61175  
66.8.x.y.80: R 1312082120:1312082120(0) win 0
 17:07:42.377830 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23973  
66.8.x.y.80: . ack 1478932865 win 7300 (DF)
 17:07:42.393216 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23853  
66.8.x.y.80: . ack 1478195413 win 7300 (DF)
 17:07:42.393275 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23971  
66.8.x.y.80: . ack 1478797841 win 7300 (DF)
 17:07:42.393343 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.24168  
66.8.x.y.80: . ack 1479411419 win 7300 (DF)
 17:07:42.423224 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.24170  
66.8.x.y.80: . ack 1479562687 win 7300 (DF)
 17:07:45.421580 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.24170  
66.8.x.y.80: . ack 1 win 7300 (DF)
 17:07:45.422375 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23853  
66.8.x.y.80: . ack 1 win 7300 (DF)
 17:07:45.424352 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23971  
66.8.x.y.80: . ack 1 win 7300 (DF)
 17:07:45.511551 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.23973  
66.8.x.y.80: . ack 1 win 7300 (DF)
 17:07:45.511607 0:10:b5:42:7d:69 0:20:ed:34:c9:6c 0800 60: 212.125.65.237.24168  
66.8.x.y.80: . ack 1 win 7300 (DF)
 
 Okay, what gives - no SYN packets. So I checked the state table a few
 seconds after these packets were forwarded to 66.8.b.c and :
 
 00500 227 135562 (T 252, slot 78) - tcp, 213.155.147.226 61162-66.8.x.y 80
 00500 101 33708 (T 254, slot 92) - tcp, 213.155.147.226 61176-66.8.x.y 80
 00500 3 132 (T 299, slot 149) - tcp, 212.125.65.237 24638- 66.8.x.y 80
 00500 3 132 (T 299, slot 150) - tcp, 212.125.65.237 24637- 66.8.x.y 80
 
 So it looks like the connections are matching the 'setup' flag and entering
 the state table, but they're not being matched by 'check-state' on further
 communication. Any ideas?
 
 I'm using IPFW1 on 4.7-RC.
 
 Thanks,
 Aragon
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-security in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



identical 3Com NICs causing problems

2002-10-04 Thread jr

i have two 3c589d-tp 3com NICs. i have edited /etc/pccard.conf a number of
times to look like this at each successive try:

card 3Com Corporation /3c589/
config 0x1 ep0 ?
config 0x1 ep1 ?

card 3Com Corporation /3c589/
config auto ep0 ?
config auto ep0 ?

card 3Com Corporation /3c589/
config 0x1 ep0 ?
config 0x3 ep1 ?

but i get the following error from pccardd under those above settings:

Config id 2 not present in this card
Resource allocation failure for 3Com Corporation(3C589D) snip
Resaon specified CIS was not found

The first card is recognized and the driver loaded. The second card is
recognized but there is the resource allocation error. 

Is it possible to have these two PC-Cards cards in my system and have them
both function? I want to build a firewall with an internal and external
interface using this Dell Inspiron 5000 laptop. I am running FreeBSD
4.6-STABLE

any help would be appreciated!

james

Here is pccardc dumpcis

Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
000:  00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
000:  43 02 ff
Attribute memory device information:
Device number 1, type EEPROM, WPS = OFF
Speed = 150nS, Memory block size = 8Kb, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000:  01 01 89 05
PCMCIA ID = 0x101, OEM ID = 0x589
Tuple #4, code = 0x21 (Functional ID), length = 2
000:  06 00
Network/LAN adapter
Tuple #5, code = 0x15 (Version 1 info), length = 58
000:  04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69
010:  6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43
020:  20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32
030:  61 00 30 30 30 30 30 32 00 ff
Version = 4.1, Manuf = [3Com Corporation], card vers = [3C589D]
Addit. info = [TP/BNC LAN Card Ver. 2a],[02]
Tuple #6, code = 0x1a (Configuration map), length = 6
000:  02 03 00 00 01 03
Reg len = 3, config register addr = 0x1, last config = 0x3
Registers: XX-- 
Tuple #7, code = 0x1b (Configuration entry), length = 15
000:  c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff
Config index = 0x1(default)
Interface byte = 0x1 (I/O)
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Max current average over 1 second: 3 x 10mA
Max current average over 10 ms: 5 x 10mA
Power down supply current: 5 x 1mA
Wait scale Speed = 7.0 x 100 ns
RDY/BSY scale Speed = 5.0 x 100 us
Card decodes 4 address lines, full 8/16 Bit I/O
IRQ modes: Level
IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #8, code = 0x1b (Configuration entry), length = 7
000:  03 01 71 55 26 26 54
Config index = 0x3
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Max current average over 1 second: 2 x 100mA
Max current average over 10 ms: 2 x 100mA
Power down supply current: 5 x 1mA
Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3
000:  00 00 ff
Tuple #10, code = 0x14 (No link), length = 0
Tuple #11, code = 0x10 (Checksum), length = 5
000:  88 ff 81 00 00
Checksum from offset 65416, length 129, value is 0x0
Tuple #12, code = 0xff (Terminator), length = 0
Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
000:  00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
000:  43 02 ff
Attribute memory device information:
Device number 1, type EEPROM, WPS = OFF
Speed = 150nS, Memory block size = 8Kb, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000:  01 01 89 05
PCMCIA ID = 0x101, OEM ID = 0x589
Tuple #4, code = 0x21 (Functional ID), length = 2
000:  06 00
Network/LAN adapter
Tuple #5, code = 0x15 (Version 1 info), length = 58
000:  04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69
010:  6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43
020:  20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32
030:  61 00 30 30 30 30 30 32 00 ff
Version = 4.1, Manuf = [3Com Corporation], card vers = [3C589D]
Addit. info = [TP/BNC LAN Card Ver. 2a],[02]
Tuple #6, code = 0x1a (Configuration map), length = 6
000:  02 03 00 00 01 03
Reg len = 3, config register addr = 0x1, last config = 0x3
Registers: XX-- 
Tuple #7, code = 0x1b (Configuration entry), length = 15
000:  c1 01 

Re: Good Job, Thanks

2002-10-04 Thread Toomas Aas

 Last night I used the nfs mounted /usr/src  /usr/obj capability to build
 4.7-RC on my dual 1Ghz PIII and installed it on my wimpy AMD-K6 300 this
 morning.  It worked flawlessly.  The alternative was to wait something
 like 3 weeks for the K6/300 (w/ only 64M RAM) to finish buildworld /
 buildkernel.

Would it really take 3 weeks? I have built world several times on PII 
233 (albeit with dual cpus and 192 MB RAM) and it has only taken hours 
(can't say exactly how many, but would guesstimate less than 8)

What you did is cool ofc.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Coffee -- n., a person who is coughed upon.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Good Job, Thanks

2002-10-04 Thread Mike Hogsett


  Last night I used the nfs mounted /usr/src  /usr/obj capability to build
  4.7-RC on my dual 1Ghz PIII and installed it on my wimpy AMD-K6 300 this
  morning.  It worked flawlessly.  The alternative was to wait something
  like 3 weeks for the K6/300 (w/ only 64M RAM) to finish buildworld /
  buildkernel.
 

I must say I am surprised how seriously everyone took me.  I was joking
that it would take 3 weeks to buildworld on my slow AMD K6/300.  I have
receievd 6 or more replies stating to the effect It doesn't take three
weeks, it took two days on my 386/25 or it only took 30 hours on my
486/66.

I guess I got an answer to another question, which I didn't ask.  There
really are many people keeping old (ancient) hardware alive with a little
demon.

 - Mike Hogsett


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Wireless troubles... Supported hardware???

2002-10-04 Thread Chris Strzelczyk

Hello,

I have looked for this in the FAQ, Handbook and mailing list but was 
not able to find anything significant.

I have bought a smc wireless card (SMC2632W).  This is listed as 
being fully supported in the hardware database but a dmesg -a gives me this:

Oct  4 12:18:36 stenchmaster pccardd[52]: No card in database for 
SMC(2632W-V2)

Is the V2 of this card supported?  Should I possibly upgrade to the 
latest stable?

Below is my configuration:

FreeBSD stenchmaster 4.6-RELEASE FreeBSD 4.6-RELEASE #1: Thu Sep 19 
17:20:16 EDT 2002 
cstrzelc@stenchmaster:/usr/obj/usr/src/sys/STENCHMASTER  i386


/etc/pccard.conf:

# Generally available IO ports
io  0x240-0x360

irq 5

# Available memory slots
memory  0xd4000  96k

# SMC's SMC2632W (also matches the 3.3V SMC2602W)
card SMC SMC2632W
config  auto wi ? 0x1
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop

wi is not disabled in my kernel and irq 5 is not taken.  I have 
pccard_enable set to yes.  The only thing I see in my dmesg besides the 
noted above is:

pccard: card inserted, slot 0

Thank you for any help.

-cs





-- 
   Intel: where Quality is job number 0.9998782345!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Dummynet ports

2002-10-04 Thread greg

I have dummynet working fine for controlling bandwidth.

My question is can i control bandwidth on certain ports ie, ftp?

Instead of slowing the entire box down?

-g


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



floppy disk

2002-10-04 Thread xxavi


Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:

grep: /etc/vfstab: No such file or directory
grep: /etc/vfstab: No such file or directory
mount: /dev/fd0: Device not configured

why does he say me that and how can I solucioned it?


On 04-Oct-2002 Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
 
 Hello, I'm new on the list and I'm trying to configurate and mount my 
 floppydisk, can anyone tell me how I could find any document that
 would help me.
 
 see /etc/disktab. i use this script to create floppies:
 
 roman@freepuppy ~ 1021:0   ~/bin/newfd 
 #!/bin/sh
 
 fdformat -f 1440 fd0.1440 \
   disklabel -r -w fd0.1440 fd1440 \
   newfs -T fd1440 fd0.1440
 
 -- 
 begin 666 nonexistent.vbs
 FreeBSD 4.7-RC
 6:52PM up 17 days, 2:07, 16 users, load averages: 0.12, 0.19, 0.16
 end
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



named : unable to write tsig info: 'example.org'

2002-10-04 Thread Dan Langille

I'm attempting to restrict zone transfers on some of my domains.  
I've set up the keys and allow-transfer statements.  But when I do an 

ndc reload, I get errors such as this in /var/log/messages:

named[89]: write_tsig_info: mkstemp(tsigs.RTdOEg) for TSIG info 
failed
named[89]: unable to write tsig info: 'example.org'

To where is trying to write this information?  /etc/namedb/secondary/ 



FWIW and FYI:
named is running as bind:bind

drwxr-xr-x  2 bind  bind  512 Oct  4 10:12 /etc/namedb/secondary/

cheers
-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



floppy disk

2002-10-04 Thread xxavi

Hi,

1. uname -a

# uname -a
FreeBSD x.org 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #8: Sun Sep 15 05:39:35
GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

2. which mount

# which mount 
/sbin/mount

3. file `which mount`

? i don't understand ?


4. try the mount with /dev/fd0c

# mount /dev/fd0c /drives/fd
grep: /etc/vfstab: No such file or directory
grep: /etc/vfstab: No such file or directory
mount: /dev/fd0c: Device not configured

5. if 4. fails, make sure you actually have a floppy in the drive :)

? i don't understand ?



On 04-Oct-2002 Roman Neuhauser wrote:
 don't top-post.
 
# [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
 On 04-Oct-2002 Roman Neuhauser wrote:
 # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
  
  Hello, I'm new on the list and I'm trying to configurate and mount my 
  floppydisk, can anyone tell me how I could find any document that
  would help me.
  
  see /etc/disktab. i use this script to create floppies:
  
  roman@freepuppy ~ 1021:0   ~/bin/newfd 
  #!/bin/sh
  
  fdformat -f 1440 fd0.1440 \
disklabel -r -w fd0.1440 fd1440 \
newfs -T fd1440 fd0.1440
 
 Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
 
 grep: /etc/vfstab: No such file or directory
 grep: /etc/vfstab: No such file or directory
 mount: /dev/fd0: Device not configured
  
 grep? since when does mount(8) call grep?
 and who's this /etc/vfstab guy anyway?
 
 ok. do these things:
 1. uname -a
 2. which mount
 3. file `which mount`
 4. try the mount with /dev/fd0c
 5. if 4. fails, make sure you actually have a floppy in the drive :)
 
 -- 
 begin 666 nonexistent.vbs
 FreeBSD 4.7-RC
 7:41PM up 17 days, 2:56, 16 users, load averages: 0.17, 0.24, 0.19
 end
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread John Bleichert

On Fri, 4 Oct 2002, Roman Neuhauser wrote:

 Date: Fri, 4 Oct 2002 19:46:40 +0200
 From: Roman Neuhauser [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: floppy disk
 
 don't top-post.
 
 # [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
  On 04-Oct-2002 Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
   
   Hello, I'm new on the list and I'm trying to configurate and mount my 
   floppydisk, can anyone tell me how I could find any document that
   would help me.
   
   see /etc/disktab. i use this script to create floppies:
   
   roman@freepuppy ~ 1021:0   ~/bin/newfd 
   #!/bin/sh
   
   fdformat -f 1440 fd0.1440 \
 disklabel -r -w fd0.1440 fd1440 \
 newfs -T fd1440 fd0.1440
  
  Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
  
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0: Device not configured
  
 grep? since when does mount(8) call grep?
 and who's this /etc/vfstab guy anyway?
 
 ok. do these things:
 1. uname -a
 2. which mount
 3. file `which mount`
 4. try the mount with /dev/fd0c
 5. if 4. fails, make sure you actually have a floppy in the drive :)
 
 -- 

Also, are you sure you've compiled support for floppy disks into your 
kernel? Also the support for the filesystem on them?


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread Roman Neuhauser



**
**
*  DO NOT TOP-POST!  *
**
**

# [EMAIL PROTECTED] / 2002-10-04 17:57:05 +0200:
 On 04-Oct-2002 Roman Neuhauser wrote:
  don't top-post.
  
 # [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
  On 04-Oct-2002 Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
   
   Hello, I'm new on the list and I'm trying to configurate and
   mount my floppydisk, can anyone tell me how I could find any
   document that
   would help me.
   
   see /etc/disktab. i use this script to create floppies:
   
   roman@freepuppy ~ 1021:0   ~/bin/newfd 
   #!/bin/sh
   
   fdformat -f 1440 fd0.1440 \
 disklabel -r -w fd0.1440 fd1440 \
 newfs -T fd1440 fd0.1440
  
  Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
  
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0: Device not configured
   
  grep? since when does mount(8) call grep?
  and who's this /etc/vfstab guy anyway?
  
  ok. do these things:
  1. uname -a

 # uname -a
 FreeBSD x.org 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #8: Sun Sep 15 05:39:35
 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386

fine
 
  2. which mount
 
 # which mount 
 /sbin/mount

fine
 
  3. file `which mount`
 
 ? i don't understand ?

just copypaste it into your shell. it looks like your /sbin/mount
was some wrapper over the normal mount(8). that grep error message
is highly suspicious. what shell are you using? are you sure it
would admit mount was a shell function or an alias when you asked
with which?

  4. try the mount with /dev/fd0c
 
 # mount /dev/fd0c /drives/fd
 grep: /etc/vfstab: No such file or directory
 grep: /etc/vfstab: No such file or directory
 mount: /dev/fd0c: Device not configured
 
  5. if 4. fails, make sure you actually have a floppy in the drive :)
 
 ? i don't understand ?

i don't know how much simpler i can make it:

is there a floppy disc in the drive?

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
8:10PM up 17 days, 3:25, 17 users, load averages: 0.10, 0.11, 0.13
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Dummynet ports

2002-10-04 Thread Fernando Gleiser

On Fri, 4 Oct 2002, greg wrote:

 I have dummynet working fine for controlling bandwidth.

 My question is can i control bandwidth on certain ports ie, ftp?

Yes you can. with http you say 'ipfw add pipe 1 tcp from any 80 to dest'
and the configure the pipe.
With FTP it is a bit more complicated, because of the way FTP work.
You need to add a rule for active mode FTP and another for passive mode.
with active mode it's easy, just replace 80 with 20 in the example and
you are done. With passive it is not that easy because the server uses
an ephemeral port, and the range for that ephemeral port depends on things
like operating system, ftp server and the like.


Ftp is bad, kay? ftp is brain damaged, mmmkay? :)

Learnin how to set up FTP (both incoming and outgoing) through a firewall,
without opening it too much is one of the passage rites for the serious
firewall sysadmin.


Fer


 Instead of slowing the entire box down?

 -g


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



floppy disk

2002-10-04 Thread xxavi


On 04-Oct-2002 Roman Neuhauser wrote:
 
 
 **
 **
 *  DO NOT TOP-POST!  *
 **
 **
 
# [EMAIL PROTECTED] / 2002-10-04 17:57:05 +0200:
 On 04-Oct-2002 Roman Neuhauser wrote:
  don't top-post.
  
 # [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
  On 04-Oct-2002 Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
   
   Hello, I'm new on the list and I'm trying to configurate and
   mount my floppydisk, can anyone tell me how I could find any
   document that
   would help me.
   
   see /etc/disktab. i use this script to create floppies:
   
   roman@freepuppy ~ 1021:0   ~/bin/newfd 
   #!/bin/sh
   
   fdformat -f 1440 fd0.1440 \
 disklabel -r -w fd0.1440 fd1440 \
 newfs -T fd1440 fd0.1440
  
  Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
  
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0: Device not configured
   
  grep? since when does mount(8) call grep?
  and who's this /etc/vfstab guy anyway?
  
  ok. do these things:
  1. uname -a

 # uname -a
 FreeBSD x.org 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #8: Sun Sep 15
 05:39:35
 GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
 
 fine
  
  2. which mount
 
 # which mount 
 /sbin/mount
 
 fine
  
  3. file `which mount`
 
 ? i don't understand ?
 
 just copypaste it into your shell. it looks like your /sbin/mount
 was some wrapper over the normal mount(8). that grep error message
 is highly suspicious. what shell are you using? are you sure it
 would admit mount was a shell function or an alias when you asked
 with which?
 
  4. try the mount with /dev/fd0c
 
 # mount /dev/fd0c /drives/fd
 grep: /etc/vfstab: No such file or directory
 grep: /etc/vfstab: No such file or directory
 mount: /dev/fd0c: Device not configured
 
  5. if 4. fails, make sure you actually have a floppy in the drive :)
 
 ? i don't understand ?
 
 i don't know how much simpler i can make it:
 
 is there a floppy disc in the drive?
 
 -- 
 begin 666 nonexistent.vbs
 FreeBSD 4.7-RC
 8:10PM up 17 days, 3:25, 17 users, load averages: 0.10, 0.11, 0.13
 end
 

is there a floppy disc in the drive?

answer: yes



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



floppy disk

2002-10-04 Thread xxavi


On 04-Oct-2002 John Bleichert wrote:
 On Fri, 4 Oct 2002, Roman Neuhauser wrote:
 
 Date: Fri, 4 Oct 2002 19:46:40 +0200
 From: Roman Neuhauser [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: floppy disk
 
 don't top-post.
 
 # [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
  On 04-Oct-2002 Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:
   
   Hello, I'm new on the list and I'm trying to configurate and mount my 
   floppydisk, can anyone tell me how I could find any document that
   would help me.
   
   see /etc/disktab. i use this script to create floppies:
   
   roman@freepuppy ~ 1021:0   ~/bin/newfd 
   #!/bin/sh
   
   fdformat -f 1440 fd0.1440 \
 disklabel -r -w fd0.1440 fd1440 \
 newfs -T fd1440 fd0.1440
  
  Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
  
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0: Device not configured
  
 grep? since when does mount(8) call grep?
 and who's this /etc/vfstab guy anyway?
 
 ok. do these things:
 1. uname -a
 2. which mount
 3. file `which mount`
 4. try the mount with /dev/fd0c
 5. if 4. fails, make sure you actually have a floppy in the drive :)
 
 -- 
 
 Also, are you sure you've compiled support for floppy disks into your 
 kernel? Also the support for the filesystem on them?
 
 
#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg
 
 


Hi, what do you mean when you say filesystem?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-04 18:50:21 +0200:
 # [EMAIL PROTECTED] / 2002-10-04 17:57:05 +0200:
  On 04-Oct-2002 Roman Neuhauser wrote:
  # [EMAIL PROTECTED] / 2002-10-04 17:25:44 +0200:
   On 04-Oct-2002 Roman Neuhauser wrote:
   # [EMAIL PROTECTED] / 2002-10-04 16:49:05 +0200:

Hello, I'm new on the list and I'm trying to configurate and
mount my floppydisk, can anyone tell me how I could find any
document that
would help me.

see /etc/disktab. i use this script to create floppies:

roman@freepuppy ~ 1021:0   ~/bin/newfd 
#!/bin/sh

fdformat -f 1440 fd0.1440 \
  disklabel -r -w fd0.1440 fd1440 \
  newfs -T fd1440 fd0.1440
   
   Hi, but when I put:  mount /dev/fd0 /drives/fd it says me that:
   
   grep: /etc/vfstab: No such file or directory
   grep: /etc/vfstab: No such file or directory
   mount: /dev/fd0: Device not configured

   grep? since when does mount(8) call grep?
   and who's this /etc/vfstab guy anyway?
   
   ok. do these things:
   1. uname -a
 
  # uname -a
  FreeBSD x.org 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #8: Sun Sep 15
  05:39:35
  GMT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL  i386
  
  fine
   
   2. which mount
  
  # which mount 
  /sbin/mount
  
  fine
   
   3. file `which mount`
  
  ? i don't understand ?
  
  just copypaste it into your shell. it looks like your /sbin/mount
  was some wrapper over the normal mount(8). that grep error message
  is highly suspicious. what shell are you using? are you sure it
  would admit mount was a shell function or an alias when you asked
  with which?
  
   4. try the mount with /dev/fd0c
  
  # mount /dev/fd0c /drives/fd
  grep: /etc/vfstab: No such file or directory
  grep: /etc/vfstab: No such file or directory
  mount: /dev/fd0c: Device not configured
  
   5. if 4. fails, make sure you actually have a floppy in the drive :)
  
  ? i don't understand ?
  
  i don't know how much simpler i can make it:
  
  is there a floppy disc in the drive?
 
 is there a floppy disc in the drive?
 
 answer: yes

thanks for not top-posting. but, erm, i wonder why you repeat the
text you're replying to instead of just typing below it?

anyway, can you do the other thing i told you to do?
type this into your shell:

file `which mount`

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
9:09PM up 17 days, 4:24, 17 users, load averages: 0.37, 0.17, 0.14
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux_base vs linux_base-6?

2002-10-04 Thread Alex Kiesel

On Fri, 2002-10-04 at 18:20, Fernan Aguero wrote:
 Now many ports have their dependencies listed as
 linux_base-7.1 or something similar. This means that my
 linux-compatibility tree got updated when I installed some
 of this ports? or should I do this
 manually by going to /usr/ports/emulators/linux_base and
 doing a 'make install'?

Most ports can run with linux-base-6. Personally I have made better
experience with linux-base-6.

AFAIK linux-base-6 represents a RedHat 6.2 system, while linux-base-7 is
RedHat 7.x. 


 Now, what are the pros and cons of -7.1 and -6?

I've not been able to run acroread or sybase-11.0.3 with linux-base-7.
With version 6 I've had no problems.

 Suggestions?

I'd continue to run linux-base-6.

Greets,
Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-04 19:03:48 +0200:
 On 04-Oct-2002 John Bleichert wrote:
  Also, are you sure you've compiled support for floppy disks into
  your kernel? Also the support for the filesystem on them?
 
 Hi, what do you mean when you say filesystem?

filesystem is a schema, an organization of things on the disc.
examples of a filesystem are FAT (used in MSDOS and Windows 9x),
NTFS (Windows NT, 2000, XP), or UFS, which is used in BSD unices.

you can make your FreeBSD understand various filesystems:
ISO 9660 (the filesystem used on CDs), FAT, NTFS, ext2 (Linux),
etc.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
9:18PM up 17 days, 4:33, 17 users, load averages: 0.31, 0.21, 0.17
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Oliver Fromme

Marco Beishuizen [EMAIL PROTECTED] wrote:
  I am trying to burn cd's with burncd. The first thing I tried was to blank
  an already burned cd with:
  
  burncd -f /dev/acd1c -s 4 blank fixate

Don't fixate a blank CD-RW.  Fixation is only required after
recording something on a CD-R or CD-RW.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: floppy disk

2002-10-04 Thread Charles Pelletier

jeez, now, come on, if someone can't understand something then don't make
'em feel like an idiot. it took me at least a year to get used to dealing
with 'filesystems' et al.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Cliff Sarginson


On Fri, Oct 04, 2002 at 09:15:00PM +0200, Marco Beishuizen wrote:
 
 Hi,
 
 I am trying to burn cd's with burncd. The first thing I tried was to blank
 an already burned cd with:
 
 burncd -f /dev/acd1c -s 4 blank fixate
 
 It seems that blanking is going ok, but when it tries to fixate I get the
 following error:
 
 burncd: ioctl(CDRIOCFIXATE): Input/output error
 
 When I try to mount the cd-rw after that I get:
 
 cd9660: /dev/acd1c: Input/output error
 
 Does anyone knows what is going wrong?
 
 Thanks,
 Marco

I am just guessing here, but if you have just blanked it, there isn't
anything to mount is there ? Also I am not entirely sure you should
fixate it after blanking it, there isn't anything on it to
fixate. 

Just some wild guesses on my part.
-- 
Regards
   Cliff Sarginson 
   The Netherlands

   Email: [EMAIL PROTECTED]
   Tel  : +31 (0)10 4764595


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Byterunner multiserial saga

2002-10-04 Thread Michael Green

I've got a Byterunner tc800 set to 0x100 and irq 4 to
correspond with an Arnet 8 port for use under SCO 
OpenServer for terminals (the motherboard com ports
are disabled). 

I'm having difficulty getting it to run under FBSD
4.6.0 (large numbers of dropped characters). 

I have confirmed that the hardware functions correctly
by installing SCO OpenServer.

I have confirmed that the GENERIC kernal works
sucessfully with the motherboards com ports.

I've reviewed man sio, LINT, handbook, and searched
the maillist archives, the www and Byterunner web
site.

/usr/sbin/config returns a syntax error when the
keywords tty, vector or  siointr (see below) are used.
*

Could someone expand on the instructions in man sio
especially the hex flags code and the use of tty and
the other keywords. 

Current kernal config file=
#device sio0 at isa? port IO_COM1 irq 4
#device sio1 at isa? port IO_COM2 irq 3
#device sio2 at isa? port IO_COM3 irq 5
#device sio3 at isa? port IO_COM4 irq 9
options COM_MULTIPORT
device sio0 at isa? port 0x100 flags 0x20705
...
device sio7 at isa? port 0x138 flags 0x20705 irq 4


* Example seen in maillist archives=
device sio11 at isa? port 0x138 tty flags 0xb05 irq 12
vector siointr




Oh yes and what does this mean?:

You should set the 0x1 flag (only in current yet)
as well, to avoid the case where a pending IRQ from a
higher port prevents sio`s test#3 from passing on a
lower port.

Thanks.
PS Is this the correct place for this query?


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Marco Beishuizen

On Fri, 4 Oct 2002, the wise Oliver Fromme spoke, and said:

 Marco Beishuizen [EMAIL PROTECTED] wrote:
   I am trying to burn cd's with burncd. The first thing I tried was to blank
   an already burned cd with:
  
   burncd -f /dev/acd1c -s 4 blank fixate

 Don't fixate a blank CD-RW.  Fixation is only required after
 recording something on a CD-R or CD-RW.

 Regards
Oliver

That did the trick. I wrote a file to the cd and fixate worked correctly.
At least I think it did, because when I want to mount the cd to look at
it, mount gives me an invalid argument error.

So my new problem is how to access a cd-rw with data on it.

Marco

-- 
In America, any boy may become president and I suppose that's just one
of the risks he takes.
-- Adlai Stevenson


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



tmda tdma (was Re: buried in spams, recommendation?)

2002-10-04 Thread parv

in message [EMAIL PROTECTED],
wrote Giorgos Keramidas thusly...

 On 2002-10-03 14:20, Philip Hallstrom [EMAIL PROTECTED] wrote:
 
...
  mwm uses tdma (or tmda - can't remember which way it's spelled :)
 
 [ports]mail/tmda :)
 tdma sounds more like a hallucinogenic drug, than a spam filter.

interesting.

initially when saw tmda on -ports list, at first instance i read
it (in my mind) as TDMA (time division multiple access).  so i was
confused what a tdma port is doing in mail category ... until i
re-read the name correctly.

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Oliver Fromme

Marco Beishuizen [EMAIL PROTECTED] wrote:
  That did the trick. I wrote a file to the cd and fixate worked correctly.
  At least I think it did, because when I want to mount the cd to look at
  it, mount gives me an invalid argument error.
  
  So my new problem is how to access a cd-rw with data on it.

What kind of file did you write to the CD?  Of course, it
has to be an image of a supported filesystem (usually an
ISO9660 image), otherwise you wouldn't be able to mount it.
You can only mount filesystems.

To create an ISO9660 filesystem image, use mkisofs (from
the ports collection).  Afterwards, use burncd to write
that image to a CD-R or CD-RW.

You can, of course, write an arbitrary file (a .tar file or
whatever) to a CD, but then you can't mount it.  You can
read it back with dd, though.

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

All that we see or seem is just a dream within a dream (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Marco Beishuizen

On Fri, 4 Oct 2002, the wise Oliver Fromme spoke, and said:

 Marco Beishuizen [EMAIL PROTECTED] wrote:
   That did the trick. I wrote a file to the cd and fixate worked correctly.
   At least I think it did, because when I want to mount the cd to look at
   it, mount gives me an invalid argument error.
  
   So my new problem is how to access a cd-rw with data on it.

 What kind of file did you write to the CD?  Of course, it
 has to be an image of a supported filesystem (usually an
 ISO9660 image), otherwise you wouldn't be able to mount it.
 You can only mount filesystems.

 To create an ISO9660 filesystem image, use mkisofs (from
 the ports collection).  Afterwards, use burncd to write
 that image to a CD-R or CD-RW.

 You can, of course, write an arbitrary file (a .tar file or
 whatever) to a CD, but then you can't mount it.  You can
 read it back with dd, though.

 Regards
Oliver

Yes, I wrote an arbitrary file to the cd. A .pdf file actually. I already
thought the mount error had something to do with a missing filesystem or
something like that.

I want to use the cd-writer to make periodic backups of important files.
The easiest thing to do would be to just copy the files with burncd,
like I did with the .pdf file. But it looks that I have to do a bit more
than that to use the cd-writer as a backup medium.

I think I have to learn more about mkisofs and creating images etc. :-)

Marco


-- 
What garlic is to salad, insanity is to art.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buried in spams, recommendation?

2002-10-04 Thread pbdlists

I've had very good results with SpamProbe:

http://sourceforge.net/projects/spamprobe

This is one of the (better, if you ask me) tools which popped up as a
reaction to Paul Graham's splendid article:

http://www.paulgraham.com/spam.html

Cheers,

Kurt

On Thu, Oct 03, 2002 at 04:52:08PM -0400, Peter Leftwich wrote:
 Can someone on the list PLEASE recommend a good quarantining filter app?
 
 I know mwm (Mike Someone) out there uses one that issues a challenge via
 reply or reply to all.  Thanks!!
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ftp access from my machine

2002-10-04 Thread cmellum


Hi: 
 
I recently installed FreeBSD from an ftp site.  Everything went reasonably 
well except for one important thing:  I can't access any ftp site from my 
machine.  I also can't use pkg_add.  Both ftp and pkg_add report connection 
refused for any site I try to connect to.  What makes it more strange is 
that I can use /stand/sysinstall to get packages over the internet without 
any problems.  I can also browse the internet from within KDE no problem.  
 
Does anybody know what might be causing this problem?  This might be 
unrelated, but I think I may have given my computer the wrong hostname (as 
far as I know, my computer doesn't have a hostname for me to give it!). 
 
Any help would be appreciated! 
 
Cameron 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

 Date: Fri, 4 Oct 2002 22:49:45 +0200 (CEST)
 From: Marco Beishuizen [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Fri, 4 Oct 2002, the wise Oliver Fromme spoke, and said:
 
  Marco Beishuizen [EMAIL PROTECTED] wrote:
That did the trick. I wrote a file to the cd and fixate worked correctly.
At least I think it did, because when I want to mount the cd to look at
it, mount gives me an invalid argument error.
   
So my new problem is how to access a cd-rw with data on it.
 
  What kind of file did you write to the CD?  Of course, it
  has to be an image of a supported filesystem (usually an
  ISO9660 image), otherwise you wouldn't be able to mount it.
  You can only mount filesystems.
 
  To create an ISO9660 filesystem image, use mkisofs (from
  the ports collection).  Afterwards, use burncd to write
  that image to a CD-R or CD-RW.
 
  You can, of course, write an arbitrary file (a .tar file or
  whatever) to a CD, but then you can't mount it.  You can
  read it back with dd, though.
 
  Regards
 Oliver
 
 Yes, I wrote an arbitrary file to the cd. A .pdf file actually. I already
 thought the mount error had something to do with a missing filesystem or
 something like that.
 
 I want to use the cd-writer to make periodic backups of important files.
 The easiest thing to do would be to just copy the files with burncd,
 like I did with the .pdf file. But it looks that I have to do a bit more
 than that to use the cd-writer as a backup medium.
 
 I think I have to learn more about mkisofs and creating images etc. :-)

Under V5 we should have UDF support. If that gets finished, you will
have exactly this ability. Last I heard ti could only read but most of
the write code had been completed. Until then, only ISO 9660 is
supported on CDs. I suggest that you write this with the Rockridge
extensions to allow normal file names.

The command I use for this is:
mkisofs -allow-lower-case -allow-multidot -d -L -r -o ~/newcd.iso path
burncd -f /dev/acd0c blank
burncd -f -s 4 /dev/acd0c data ~/newcd.iso fixate

This should do the trick. I suspect that I may have a couple of
redundant options in the mkisofs line as -r might imply one or more of
the others. Please read the man page for mkisofs as -L may not be
appropriate.

The resulting CD should mount and look just like the original files on
the UFS disk.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



VIRUS in ISO images!!!

2002-10-04 Thread Olivier Boniteau

I've taken a virus (bloodhound.mbr) in the following
mirror:


ftp://ftp.fr.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/4.6.2/4.6.2-disc1.iso


For removing the virus under DOS:
(on the first disk)

fdisk /cmbr 1


I recognize that I didn't check the MD5... but I was
sure that the iso were clean...

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

Sigh! Some days you just can't win. (Or type.)

I just read my own post and realized that I messed up the second
burncd command. the commands are:
mkisofs -allow-lower-case -allow-multidot -d -L -r -o ~/newcd.iso path
burncd -f /dev/acd0c blank
burncd -s 4 -f /dev/acd0c data ~/newcd.iso fixate
^^---Moved to the correct place!

TGIF!

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Brian T. Schellenberger


On Friday 04 October 2002 04:49 pm, Marco Beishuizen wrote:
| On Fri, 4 Oct 2002, the wise Oliver Fromme spoke, and said:
|  Marco Beishuizen [EMAIL PROTECTED] wrote:
|That did the trick. I wrote a file to the cd and fixate worked
|correctly. At least I think it did, because when I want to mount
|the cd to look at it, mount gives me an invalid argument
|error.
|   
|So my new problem is how to access a cd-rw with data on it.
| 
|  What kind of file did you write to the CD?  Of course, it
|  has to be an image of a supported filesystem (usually an
|  ISO9660 image), otherwise you wouldn't be able to mount it.
|  You can only mount filesystems.
| 
|  To create an ISO9660 filesystem image, use mkisofs (from
|  the ports collection).  Afterwards, use burncd to write
|  that image to a CD-R or CD-RW.
| 
|  You can, of course, write an arbitrary file (a .tar file or
|  whatever) to a CD, but then you can't mount it.  You can
|  read it back with dd, though.
| 
|  Regards
| Oliver
|
| Yes, I wrote an arbitrary file to the cd. A .pdf file actually. I
| already thought the mount error had something to do with a missing
| filesystem or something like that.
|
| I want to use the cd-writer to make periodic backups of important
| files. The easiest thing to do would be to just copy the files with
| burncd, like I did with the .pdf file. But it looks that I have to do
| a bit more than that to use the cd-writer as a backup medium.
|
| I think I have to learn more about mkisofs and creating images etc.
| :-)
|
| Marco



If you want to back up with burncd, I suggest using cdbackup which is 
a program I wrote.  If I can get some feedback on it I'll try to make 
it into a proper port.

For now, it is self-contained; just type cdbackup when you get it and 
put it where you want it to live and it should install itself.  Use 
the -h option for help.

Let me know if you have any questions.

And if others want to try it out, let me know.

It's 70K, so I'm going to send it just to Marco (and any others who 
request it), not to the entire list.

It support incremental backups; it does not support appending to an open 
CD, though I could consider adding that in the future, I suppose.  In 
my case my problem is that I have far more files than there is a spaced 
on a CD, rather than vice-versa, so that's the problem it's mainly 
meant to solve.


-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Marco Beishuizen

On Fri, 4 Oct 2002, the wise Kevin Oberman spoke, and said:

 Sigh! Some days you just can't win. (Or type.)

 I just read my own post and realized that I messed up the second
 burncd command. the commands are:
 mkisofs -allow-lower-case -allow-multidot -d -L -r -o ~/newcd.iso path
 burncd -f /dev/acd0c blank
 burncd -s 4 -f /dev/acd0c data ~/newcd.iso fixate
 ^^---Moved to the correct place!

 TGIF!

 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
 E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

Thanks! It worked great. I have one remark though: the option
-allow-lower-case wasn't recognised by mkisofs. Looking at the manpage
it should be -allow-lowercase. :-) But this was of course one of those
days...

Eventually, I didn't use the option -allow-lowercase, but the cd has no
problems of using lowercase characters. All files I copied to the cd show
up like the way they appear in FreeBSD.

The remarkable thing was actually, that when I used the wrong option,
mkisofs says it doesn't recognise the option, quits the program, and
returns to the prompt in my xterm, but now my xterm shows up with
unrecognisable characters (normally for me: root@hostname, now something
like: %^(%^%(%^()_)_*).

Did I hit a bug?

Marco

-- 
Fresco's Discovery:
If you knew what you were doing you'd probably be bored.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Newbie question help w/boot problem

2002-10-04 Thread mac

I got an old IBM to play with freeBSD I made a Install CD and was 
installing it the other day and during the install the machine 
basically crashed for what ever reason I rebooted the machine and the 
screen says this.

Booting [kernel]...
can't load 'kernel'
can't load 'kernel.old'

Type ? for a list of commands or help for more detailed help.
ok _


Thats it I can not get it to boot from the cd any more even though I 
have changed the BIOS to check the CD first and I also have a Win98 
boot disk and that doesn't work either. I remember selecting the boot 
manager for BSD before it crashed.

Is there any thing I can do to reformat the drive and start over?
Or get it to boot from the cd or floppy?

Thanks,
-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Kevin Oberman

 Date: Sat, 5 Oct 2002 00:29:48 +0200 (CEST)
 From: Marco Beishuizen [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Thanks! It worked great. I have one remark though: the option
 -allow-lower-case wasn't recognised by mkisofs. Looking at the manpage
 it should be -allow-lowercase. :-) But this was of course one of those
 days...

I really should have done a cut and paste on the command or pulled in
my shell script that runs mkisofs, but it's on a different system and
it seemed easier to just type it in.
 
 Eventually, I didn't use the option -allow-lowercase, but the cd has no
 problems of using lowercase characters. All files I copied to the cd show
 up like the way they appear in FreeBSD.

I suspected that both -allow-lowercase and -allow-multidot were
implicit in -r, but I had never actually tried it.

 The remarkable thing was actually, that when I used the wrong option,
 mkisofs says it doesn't recognise the option, quits the program, and
 returns to the prompt in my xterm, but now my xterm shows up with
 unrecognisable characters (normally for me: root@hostname, now something
 like: %^(%^%(%^()_)_*).
 
 Did I hit a bug?

Could you have wound up using a different character set? If you do a
hard reset on the xterm, does it start working right? Do characters
echo correctly? I'll admit that I have never seen this.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: burncd error

2002-10-04 Thread Marco Beishuizen

On Fri, 4 Oct 2002, the wise Kevin Oberman spoke, and said:

  Date: Sat, 5 Oct 2002 00:29:48 +0200 (CEST)
  From: Marco Beishuizen [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED]
 
  Thanks! It worked great. I have one remark though: the option
  -allow-lower-case wasn't recognised by mkisofs. Looking at the manpage
  it should be -allow-lowercase. :-) But this was of course one of those
  days...

 I really should have done a cut and paste on the command or pulled in
 my shell script that runs mkisofs, but it's on a different system and
 it seemed easier to just type it in.
 
  Eventually, I didn't use the option -allow-lowercase, but the cd has no
  problems of using lowercase characters. All files I copied to the cd show
  up like the way they appear in FreeBSD.

 I suspected that both -allow-lowercase and -allow-multidot were
 implicit in -r, but I had never actually tried it.

  The remarkable thing was actually, that when I used the wrong option,
  mkisofs says it doesn't recognise the option, quits the program, and
  returns to the prompt in my xterm, but now my xterm shows up with
  unrecognisable characters (normally for me: root@hostname, now something
  like: %^(%^%(%^()_)_*).
 
  Did I hit a bug?

 Could you have wound up using a different character set? If you do a
 hard reset on the xterm, does it start working right? Do characters
 echo correctly? I'll admit that I have never seen this.

I never changed my character set since I installed FreeBSD. I did change
it in applications such as Pine and LyX from ISO-8859-1 to ISO-8859-15 for
special characters used in Europe, but never system wide. I am using the
standard bourne shell in FreeBSD by the way.

When I exit the xterm and restart it the problem is gone, and works it ok.


 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
 E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



Marco
-- 
So far as I can remember, there is not one word in the Gospels in
praise of intelligence.
-- Bertrand Russell


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



burncd error

2002-10-04 Thread Marco Beishuizen


Hi,

I am trying to burn cd's with burncd. The first thing I tried was to blank
an already burned cd with:

burncd -f /dev/acd1c -s 4 blank fixate

It seems that blanking is going ok, but when it tries to fixate I get the
following error:

burncd: ioctl(CDRIOCFIXATE): Input/output error

When I try to mount the cd-rw after that I get:

cd9660: /dev/acd1c: Input/output error

Does anyone knows what is going wrong?

Thanks,
Marco


-- 
A student, in hopes of understanding the Lambda-nature, came to
Greenblatt.  As they spoke a Multics system hacker walked by.  Is it
true, asked the student, that PL-1 has many of the same data types as
Lisp?  Almost before the student had finished his question, Greenblatt
shouted, FOO!, and hit the student with a stick.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Block Zeroing Tool

2002-10-04 Thread Dan Nelson

In the last episode (Oct 04), Jacob S. Barrett said:
 Is there a tool for FreeBSD that zeros the unallocated blocks on a
 filesystem?
 
 The company I work for has an image on demand system for our lab
 machines.  This system relies on ghost which only supports file by
 file imaging on certain file systems.  I want to take disk images of
 certain FreeBSD installations.  Ghost will only take sector by sector
 images of FreeBSD partitions.  Since it is doing this it stores all
 the junk unused blocks as well.  This makes for a very large image
 even with high compression.  If I can zero out the unused blocks
 before taking the image with high compression the image size should
 be much smaller.
 
 So, is there utility to zero out those blocks?  Does this make sense? 
 Is there a better way to take images of FreeBSD machines?

dd if=/dev/zero of=filler bs=1m ; rm filler

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: what is IPFW2 ?

2002-10-04 Thread Matthew Seaman

On Fri, Oct 04, 2002 at 09:13:45AM +0600,  ??? wrote:

 I seen few time IPFW1 and IPFW2. what is it ?
 I'm running 4.5 and 4.6 and 4.6.2, but I couldn't find it in LINT, so what
 is it ??

IPFW2 is the next version of the IPFW software.  IPFW2 is the standard
version of IPFW in 5-CURRENT, but changes to the configuration were so
significant that it would have violated POLA to MFC it to 4-STABLE.
Instead it was made a compile time option.  It was added to 4-STABLE
on 23 July (after the RELENG_4_6 branch was created), so it is in
recent -STABLE and will be in 4.7-RELEASE.

To enable, add:

options IPFW2

to your kernel config (together with the other options to enable
IPFW), and add:

IPFW2=  TRUE

to /etc/make.conf

Original announcement on [EMAIL PROTECTED]:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=59316+0+archive/2002/freebsd-ipfw/20020728.freebsd-ipfw

Works perfectly for me, worth installing just for the keepalives feature.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



X server

2002-10-04 Thread iulian

Hi, there!
I have a big problem, for me!
I have a Siemens, Celeron 566 MHz, video card on board, chipset i810e.
I have read handbook, faq about configuring X server, I did those things
exeactly, but after startx it stops, I mean when the system reads the
XF86config, it stops.
What can I do?
Iulian


begin:vcard 
n:dumbrava;iulian
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:iulian dumbrava
end:vcard



Re: X server

2002-10-04 Thread Jason Oakley

Try installing gnome2 from the ports collection to make sure you have 
everything installed.
Since Gnome2 is a pretty good Window Manager, it should help you out.

At 11:18 AM 4/10/2002 +0200, iulian wrote:
Hi, there!
I have a big problem, for me!
I have a Siemens, Celeron 566 MHz, video card on board, chipset i810e.
I have read handbook, faq about configuring X server, I did those things
exeactly, but after startx it stops, I mean when the system reads the
XF86config, it stops.
What can I do?
Iulian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X server

2002-10-04 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-04 11:18:45 +0200:
 Hi, there!
 I have a big problem, for me!
 I have a Siemens, Celeron 566 MHz, video card on board, chipset i810e.
 I have read handbook, faq about configuring X server, I did those things
 exeactly, but after startx it stops, I mean when the system reads the
 XF86config, it stops.

I doubt it stops, and it stops is as vague a description as it can
get. Do you have NoDDC in you XF86config? Do you have agp.ko loaded
or compiled in your kernel?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

Content-Description: Card for iulian

How about a proper signature?

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
12:47PM up 16 days, 20:02, 20 users, load averages: 0.18, 0.14, 0.10
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X server

2002-10-04 Thread John Bleichert

On Fri, 4 Oct 2002, iulian wrote:

 Date: Fri, 04 Oct 2002 11:18:45 +0200
 From: iulian [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Subject: X server
 
 Hi, there!
 I have a big problem, for me!
 I have a Siemens, Celeron 566 MHz, video card on board, chipset i810e.
 I have read handbook, faq about configuring X server, I did those things
 exeactly, but after startx it stops, I mean when the system reads the
 XF86config, it stops.
 What can I do?
 Iulian
 

That 810 can be a problematic card. Search through the archives of this 
list at:

http://www.freebsd.org/search/search.html#mailinglists

Your 810 has been attended to repeatedly here :-)

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



who is responsible for CVSup collections ?

2002-10-04 Thread

Dear Sirs,

just an idea! do I really need alpha stuff on i386 and vice versa ?
maybe it's possible to organize few more collections, like

src-sys-common
src-sys-i386
src-sys-alpha

?

Regards, (îÁÉÌÕÞÛÉÅ ÐÏÖÅÌÁÎÉÑ)
Ilia Chipitsine (éÌØÑ ûÉÐÉÃÉÎ)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /var/spool/uucppublic

2002-10-04 Thread Toomas Aas

Hi!

 But he shouldn't get the idea that he doesn't need the uucp user and
 group, like I did (after reading that you shouldn't have users you don't
 need).  OS upgrade goes awry.  There IS a make.conf thing NOUUCP=true,
 but I haven't tried it yet, so can't say how well it works.

I have tried it and can at least say that it has caused no problems to 
me. Upgraded from 4.6-RELEASE to RELENG_4_6. Mergemaster notified me 
that /etc/uucp and some uucp-related scripts in /etc/periodic/ exist 
only on old system so I deleted these once the upgrade was complete.

I still left the uucp user and group intact, though.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I went to a general store, but they wouldn't let me buy anything specific.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



passwordless scp and cronjobs

2002-10-04 Thread Gerard Samuel

A few months ago, I had a cron job scp a file to another box within my
lan.  It worked great and things were good.
I dont remember why I turned it off, but Im trying to set it back up.
Both boxes are running FBSD 4.6.2-Release.
On the sending box -
1.  ssh-keygen -t rsa  //Accept the defaults and leave the passphrase empty.
2.  scp id_rsa.pub sys_dev@hivemind:  //SCP the public key over to the 
recieving box to the user who is going to recieve the file from the cron 
job.

On the recieving box -
1.  cp id_rsa.pub .ssh/authorized_keys2  // Copy the sender's public key 
to .ssh/authorized_keys2

  From the sending box, I run my script using the -v option to scp to be 
verbose.
Here is the output of the script -

Executing: program /usr/bin/ssh host hivemind, user sys_dev, command scp 
-v -t .
OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be 
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to hivemind.trini0.org [192.168.0.2] port 22.
debug1: Connection established.
debug1: identity file /home/gsam/.ssh/identity type -1
debug1: identity file /home/gsam/.ssh/id_rsa type 1
debug1: identity file /home/gsam/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version 
OpenSSH_3.4p1 FreeBSD-20020702
debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1 FreeBSD-20020702
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'hivemind.trini0.org' is known and matches the RSA1 host key.
debug1: Found key in /home/gsam/.ssh/known_hosts:1
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 - 32)
debug1: cipher_init: set keylen (16 - 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing password authentication.
[EMAIL PROTECTED]'s password:
--

Could someone point out to me where Im going wrong with this to have the 
cron job complete successfully without entering a password.
Thanks.

-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: booting question

2002-10-04 Thread Ruben de Groot

On Fri, Oct 04, 2002 at 08:27:17AM +0600,  ??? typed:
 Dear Sirs,
 
 how to force booting from da0s1e, not from da0s1a ??

Read LINT:

#
# The root device and filesystem type can be compiled in;
# this provides a fallback option if the root device cannot 
# be correctly guessed by the bootstrap code, or an override if
# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
#
options ROOTDEVNAME=\ufs:da0s2e\

 (I've no idea why, but /boot.config in this case doesn't work)

If it's not mounted, how can it be read?

 
 Regards, (? ?)
 Ilia Chipitsine ( ???)
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Kevin Oberman

 Date: Fri, 04 Oct 2002 13:31:56 -0400
 From: Gerard Samuel [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 A few months ago, I had a cron job scp a file to another box within my
 lan.  It worked great and things were good.
 I dont remember why I turned it off, but Im trying to set it back up.
 Both boxes are running FBSD 4.6.2-Release.
 On the sending box -
 1.  ssh-keygen -t rsa  //Accept the defaults and leave the passphrase empty.
 2.  scp id_rsa.pub sys_dev@hivemind:  //SCP the public key over to the 
 recieving box to the user who is going to recieve the file from the cron 
 job.
 
 On the recieving box -
 1.  cp id_rsa.pub .ssh/authorized_keys2  // Copy the sender's public key 
 to .ssh/authorized_keys2
 
   From the sending box, I run my script using the -v option to scp to be 
 verbose.
 Here is the output of the script -
 
 Executing: program /usr/bin/ssh host hivemind, user sys_dev, command scp 
 -v -t .
 OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug1: Rhosts Authentication disabled, originating port will not be 
 trusted.
 debug1: ssh_connect: needpriv 0
 debug1: Connecting to hivemind.trini0.org [192.168.0.2] port 22.
 debug1: Connection established.
 debug1: identity file /home/gsam/.ssh/identity type -1
 debug1: identity file /home/gsam/.ssh/id_rsa type 1
 debug1: identity file /home/gsam/.ssh/id_dsa type -1
 debug1: Remote protocol version 1.99, remote software version 
 OpenSSH_3.4p1 FreeBSD-20020702
 debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
 debug1: Local version string SSH-1.5-OpenSSH_3.4p1 FreeBSD-20020702
 debug1: Waiting for server public key.
 debug1: Received server public key (768 bits) and host key (1024 bits).
 debug1: Host 'hivemind.trini0.org' is known and matches the RSA1 host key.
 debug1: Found key in /home/gsam/.ssh/known_hosts:1
 debug1: Encryption type: 3des
 debug1: Sent encrypted session key.
 debug1: cipher_init: set keylen (16 - 32)
 debug1: cipher_init: set keylen (16 - 32)
 debug1: Installing crc compensation attack detector.
 debug1: Received encrypted confirmation.
 debug1: Doing password authentication.
 [EMAIL PROTECTED]'s password:
 --
 
 Could someone point out to me where Im going wrong with this to have the 
 cron job complete successfully without entering a password.
 Thanks.

The most obvious thing is that you generated SSH V2 RSA keys, but the
connection in the example used SSH V1 and is only interested in V1 keys.

Check the Protocol line in $HOME/.ssh/config and/or
/etc/ssh/ssh_config on the client side and /etc/ssh/sshd_config on the
server side and make sure both use V2.

You can force SSH V2 with -oProtocol=2 on the command line according
to the man page. I have not tried this.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Gerard Samuel

I started the whole process again and added the SSH2 option to the 
command line which now looks like this -
scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:

Towards the bottom you'll see its trying authentication methods, using 
the public key as the first option.
I would tend to believe if all were well, it shouldn't have to go past 
that point.
Ill try messing around some more with the ssh options and report back.

Thanks

Here is the output of the ssh debug -

Executing: program /usr/bin/ssh host hivemind, user sys_dev, command scp 
-v -t .
OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be 
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to hivemind.trini0.org [192.168.0.2] port 22.
debug1: Connection established.
debug1: identity file /home/gsam/.ssh/id_rsa type 1
debug1: identity file /home/gsam/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version 
OpenSSH_3.4p1 FreeBSD-20020702
debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1 FreeBSD-20020702
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 121/256
debug1: bits set: 1602/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'hivemind.trini0.org' is known and matches the DSA host key.
debug1: Found key in /home/gsam/.ssh/known_hosts:6
debug1: bits set: 1573/3191
debug1: ssh_dss_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try pubkey: /home/gsam/.ssh/id_rsa
debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug1: try privkey: /home/gsam/.ssh/id_dsa
debug1: next auth method to try is keyboard-interactive
Password:

Kevin Oberman wrote:

Date: Fri, 04 Oct 2002 13:31:56 -0400
From: Gerard Samuel [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]

A few months ago, I had a cron job scp a file to another box within my
lan.  It worked great and things were good.
I dont remember why I turned it off, but Im trying to set it back up.
Both boxes are running FBSD 4.6.2-Release.
On the sending box -
1.  ssh-keygen -t rsa  //Accept the defaults and leave the passphrase empty.
2.  scp id_rsa.pub sys_dev@hivemind:  //SCP the public key over to the 
recieving box to the user who is going to recieve the file from the cron 
job.

On the recieving box -
1.  cp id_rsa.pub .ssh/authorized_keys2  // Copy the sender's public key 
to .ssh/authorized_keys2

  From the sending box, I run my script using the -v option to scp to be 
verbose.
Here is the output of the script -

Executing: program /usr/bin/ssh host hivemind, user sys_dev, command scp 
-v -t .
OpenSSH_3.4p1 FreeBSD-20020702, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be 
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to hivemind.trini0.org [192.168.0.2] port 22.
debug1: Connection established.
debug1: identity file /home/gsam/.ssh/identity type -1
debug1: identity file /home/gsam/.ssh/id_rsa type 1
debug1: identity file /home/gsam/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version 
OpenSSH_3.4p1 FreeBSD-20020702
debug1: match: OpenSSH_3.4p1 FreeBSD-20020702 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1 FreeBSD-20020702
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'hivemind.trini0.org' is known and matches the RSA1 host key.
debug1: Found key in /home/gsam/.ssh/known_hosts:1
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 - 32)
debug1: cipher_init: set keylen (16 - 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Doing password authentication.
[EMAIL PROTECTED]'s password:
--

Could someone point out to me where Im going wrong with this to have the 
cron job complete successfully 

Re: Dummynet ports

2002-10-04 Thread Fernando Gleiser

On Fri, 4 Oct 2002, greg wrote:

 So if i did something like use wu-ftpd and use the passive ports
 directive in
 /etc/ftpaccess then i would be able to control the passive ports used
 and then pipe them with dummynet?

Yes. And no :). By doing that you can limit the bandwidth used by people
who access *your* ftp, but you can't control which ephemeral port will
bew chosen by a *remote* ftpd (ie, ftp.freebsd.org) because that is
daemon/OS dependant.

The best solution I've found is to install a dedicated proxy server for
FTP/HTTP and then limit the traffic for that proxy server. But you need
an extra machine for that.


Fer


 Does this sound right?

 Thanks in advance

 greg



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Kevin Oberman

 Date: Fri, 04 Oct 2002 15:48:56 -0400
 From: Gerard Samuel [EMAIL PROTECTED]
 
 I started the whole process again and added the SSH2 option to the 
 command line which now looks like this -
 scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:

Good. This is now at least running V2 protocol.

 Towards the bottom you'll see its trying authentication methods, using 
 the public key as the first option.
 I would tend to believe if all were well, it shouldn't have to go past 
 that point.

This is absolutely correct. Unfortunately, the client lacks the
knowledge of why the publickey method was rejected. You can only tell
that the attempt failed.

I doubt that you will luck into the correct fix by shots at the config
file. Instead, get debug information from the server side. To do this
you will need root access to the server-side system.

On the server side:
% /usr/sbin/sshd -p 378 -d
This will start a new instance of the ssh daemon that will connect to
port 378. (If 378 is not available on your system, pick another port
512.) This instance will not fork a daemon and will print verbose
debug information.

Then add -P 378 to the scp on the client and try again. The daemon
debug information is usually enough to clarify what is failing.

Finally, I really get uncomfortable seeing un-encrypted private keys
being used. They are a significant vulnerability. I hope that the
account is in a jail or in some other way limited in access on the
destination system.

You might consider the use of .shosts and host authentication for
this. While there is a slightly greater possibility of spoofing, it is
probably safer than an open key that can get you to somewhere
vulnerable. 

Good luck.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

 debug1: send SSH2_MSG_SERVICE_REQUEST
 debug1: service_accept: ssh-userauth
 debug1: got SSH2_MSG_SERVICE_ACCEPT
 debug1: authentications that can continue: 
 publickey,password,keyboard-interactive
 debug1: next auth method to try is publickey
 debug1: try pubkey: /home/gsam/.ssh/id_rsa
This SHOULD have worked!
 debug1: authentications that can continue: 
 publickey,password,keyboard-interactive
 debug1: try privkey: /home/gsam/.ssh/id_dsa
 debug1: next auth method to try is keyboard-interactive
 Password:

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: grub boot loader or freebsd boot loader

2002-10-04 Thread pbdlists

Grub is very powerful. (I would like to see it as the default boot loader
on FreeBSD.) But it is not so easy to configure, a bit a steep learning
curve. However, if you dig in, you'll be greatly rewarded with
flexibility. I suggest you give it a shot.

Cheers,

Kurt

On Thu, Oct 03, 2002 at 04:58:25PM -0500, SweeTLeaF wrote:
 
 Primary Master: 40gig
 Primary Slave: 20 gig
 
 I want to install XP on the first 20gig of the Master, Redhat 8.0 on
 the remaining 20gig of the Master and FreeBSD on the entire 20gig of
 the Slave. What would be my best options for being able to boot all 3.
 I heard grub had issues booting BSD so i just wanted to know my best
 approach before starting.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Thingie #1 - non-package updates

2002-10-04 Thread Kevin Stevens

I generally use port-upgrade to update installed packages, and upgrade
-STABLE releases manually.  However, this leaves a gap when software that
is installed as part of the base system, like bind, has upgrade releases
that occur more frequently than the -STABLE releases.

What's the common resolution to this situation?  I'm concerned about
potential compatibility issues if I remove/ignore the -STABLE version by
using rc.conf to point at a port/package version.

TIA.

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: passwordless scp and cronjobs

2002-10-04 Thread Gerard Samuel

  And deeper into the rabbit hole I go.
Here is a snip from server debug -
-
debug1: userauth-request for user sys_dev service ssh-connection method none
debug1: attempt 0 failures 0
debug1: Starting up PAM with username sys_dev
debug1: PAM setting rhost to gladiator.trini0.org
Failed none for sys_dev from 192.168.0.3 port 1042 ssh2
debug1: userauth-request for user sys_dev service ssh-connection method 
publickey
debug1: attempt 1 failures 1
debug1: test whether pkalg/pkblob are acceptable
debug1: trying public key file /home/developer/.ssh/authorized_keys
debug1: restore_uid
debug1: trying public key file /home/developer/.ssh/authorized_keys2
Authentication refused: bad ownership or modes for file 
/usr/home/developer/.ssh/authorized_keys2
debug1: restore_uid
Failed publickey for sys_dev from 192.168.0.3 port 1042 ssh2

Now, seeing this, got me thinking.  The directory is a shared directory 
between shared users (some friends of mine that I trust).
So I changed the ficticious user sys_dev's home directory to their own, 
and everything started working.
Kevin, thanks for the help.  Now that I have this working, I can look at 
locking down this little system

Kevin Oberman wrote:

Date: Fri, 04 Oct 2002 15:48:56 -0400
From: Gerard Samuel [EMAIL PROTECTED]

I started the whole process again and added the SSH2 option to the 
command line which now looks like this -
scp -o 'Protocol=2' -v ~/temp/file.zip sys_dev@hivemind:



Good. This is now at least running V2 protocol.

  

Towards the bottom you'll see its trying authentication methods, using 
the public key as the first option.
I would tend to believe if all were well, it shouldn't have to go past 
that point.



This is absolutely correct. Unfortunately, the client lacks the
knowledge of why the publickey method was rejected. You can only tell
that the attempt failed.

I doubt that you will luck into the correct fix by shots at the config
file. Instead, get debug information from the server side. To do this
you will need root access to the server-side system.

On the server side:
% /usr/sbin/sshd -p 378 -d
This will start a new instance of the ssh daemon that will connect to
port 378. (If 378 is not available on your system, pick another port
512.) This instance will not fork a daemon and will print verbose
debug information.

Then add -P 378 to the scp on the client and try again. The daemon
debug information is usually enough to clarify what is failing.

Finally, I really get uncomfortable seeing un-encrypted private keys
being used. They are a significant vulnerability. I hope that the
account is in a jail or in some other way limited in access on the
destination system.

You might consider the use of .shosts and host authentication for
this. While there is a slightly greater possibility of spoofing, it is
probably safer than an open key that can get you to somewhere
vulnerable. 

Good luck.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634

  

debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try pubkey: /home/gsam/.ssh/id_rsa


This SHOULD have worked!
  

debug1: authentications that can continue: 
publickey,password,keyboard-interactive
debug1: try privkey: /home/gsam/.ssh/id_dsa
debug1: next auth method to try is keyboard-interactive
Password:




  


-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Thingie #1 - non-package updates

2002-10-04 Thread Dan Nelson

In the last episode (Oct 04), Kevin Stevens said:
 I generally use port-upgrade to update installed packages, and
 -upgrade STABLE releases manually.  However, this leaves a gap when
 software that is installed as part of the base system, like bind, has
 upgrade releases that occur more frequently than the -STABLE
 releases.
 
 What's the common resolution to this situation?  I'm concerned about
 potential compatibility issues if I remove/ignore the -STABLE version
 by using rc.conf to point at a port/package version.

It works for me.

named_program=/usr/local/sbin/named
named_flags=-c /etc/namedb/named.conf

I used to do the same with ntpd, before 4.1.0 was imported.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Thingie #2 - system upgrade methods.

2002-10-04 Thread Kevin Stevens

When there is a point release of -STABLE, there seem to be several methods
for doing a binary upgrade, but none seem to fit my preference, and I
wanted to post and see if I'm missing something.

What I've been doing is downloading the boot floppies for the release,
booting from it/them, and selecting binary upgrade via FTP.  Once this is
done things go rather smoothly.  But it does require that I have a floppy
drive installed and physical access to the console, which isn't always
expedient.

What I'd prefer to do is to get the whole floppy creation process out of
the mix.  I understand, after several painful wounds, that running the
prior version sysinstall and upgrading from there doesn't work properly.
However, that is by far the most intuitive approach to take and I'm sure
it gets many newbies like myself in trouble.

What I don't understand is why it isn't possible to simply download the
newrev version of sysinstall, and run *that* on the current system, rather
than go through the whole floppy process.  The difference, obviously, is
that in one case you are running the newrev kernel, and in the other you
are running the newrev sysinstall under the old kernel.  But it's hard to
imagine changes to point releases that would cause a problem in doing the
latter - all you are doing is downloading and installing files, they don't
actuate until you reboot anyway.

Am I missing something obvious here?  It doesn't feel like I'm doing
this properly.

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VIRUS in ISO images?

2002-10-04 Thread Hanspeter Roth

  On Oct 04 at 23:13, Olivier Boniteau spoke:

 I've taken a virus (bloodhound.mbr) in the following
 mirror:

Where is the virus claimed to be located?

I had an installation with the FreeBSD boot selector. And one 
scanner (maybe norton 2 or 4) claimed there were a virus in the MBR.
When I booted from another disk that scanner installation didn't
complain about any virus...

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Missing ports

2002-10-04 Thread Socketd

Hi all

I have FreeBSD 4.6.2 and have just updated my ports (ports-all), but I am 
missing some ports and even some port-dirs like /usr/ports/gnome.

Why?

Br
Socketd

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Ensoniq Audio PCI gameport usable on FreeBSD?

2002-10-04 Thread Corey Holcomb-Hockin

I was wondering if I could get a gamepad working on freebsd using this 
port.  I was interested in using it with emulators  and game development.

Corey Hoclomb-Hockin


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: SSH not working after upgrade (4.6.0 to 4.6.2)

2002-10-04 Thread Gerard Samuel

I can only comment on the Password/Response scenario.
I entered -
ChallengeResponseAuthentication no
in /etc/ssh/ssh_config, on all my boxes and it was all good.

Ryan Christensen wrote:

My initial system was a minimal install of 4.6.0 (which I had added to
by installing a few ports unrelated to either openssl or openssh.)

I just upgraded to 4.6.2 via FTP.. everything is working like a charm
with the exception of SSH. When I try to connect from another host my
connection is refused. When I connect from localhost, I get: 


Password:
Response: 


.. w/ the cursor sitting @ Response:. Hitting enter a couple times
get's me to the pwd prompt.. at which point I am able to successfully
auth.

I'm continuing to search google  related docs for information on this,
or any similar cases. Anyone have any thoughts or recommendations?

By the by, I haven't been one to yet dive into the depths of SSH config
too deep.. so details with answers/suggestions would be preferred.

Thank you in advance!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


  


-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



The Complete FreeBSD, second edition: errata and addenda

2002-10-04 Thread Greg Lehey









  Errata and addenda for the Complete FreeBSD, second edition




  Last revision: 21 June 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the second edition, formatted on 16 December 1997.  If you have  this
book,  please  check this list.  If you have the first edition of 19 July 1996,
please check ftp://ftp.lemis.com/pub/cfbsd/errata-1. This  same  file  is  also
available via the web link http://www.lemis.com/.

This list is available in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps. See page 222 of the book  to  find
  out  how  to  print  out  PostScript.   If  at all possible, please take this
  document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-2.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

General changes
___


o In a number of places, I suggest the use of the  following  command  to  find
  process information:

  $ ps aux | grep foo

  Unfortunately,  ps  is sensitive to the column width of the terminal emulator
  upon which it is working.  This command usually works fine  on  a  relatively
  wide  xterm,  but if you're running on an 80-column terminal, it may truncate
  exactly the information you're looking for, so you end  up  with  no  output.
  You can fix that with the w option:

  $ ps waux | grep foo

  Thanks to Sue Blake [EMAIL PROTECTED] for this information


Location of the sample files


On  the  2.2.5 CD-ROM only, the location of the sample files does not match the
specifications in the book (/book on the first CD-ROM).  The 2.2.5 CD-ROM  came
out before the book, and it contains the files on the third (repository) CD-ROM
as a single gzipped tar file  /xperimnt/cfbsd/cfbsd.tar.gz.   It  contains  the
following files:

drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/
drwxr-xr-x jkh/jkh   0 Oct 17 13:01 1997 cfbsd/mutt/
-rw-r--r-- jkh/jkh 352 Oct 15 15:21 1997 cfbsd/mutt/.mail_aliases
-rw-r--r-- jkh/jkh9394 Oct 15 15:22 1997 cfbsd/mutt/.muttrc
drwxr-xr-x jkh/jkh   0 Oct 17 14:02 1997 cfbsd/scripts/
-rw-r--r-- jkh/jkh   18281 Oct 16 16:52 1997 cfbsd/scripts/.fvwm2rc
-rwxr-xr-x jkh/jkh1392 Oct 17 12:54 1997 cfbsd/scripts/install-desktop
-rw-r--r-- jkh/jkh 296 Oct 17 12:35 1997 cfbsd/scripts/.xinitrc
-rwxr-xr-x jkh/jkh 622 Oct 17 13:51 1997 cfbsd/scripts/install-rcfiles
-rw-r--r-- jkh/jkh1133 Oct 17 13:00 1997 cfbsd/scripts/Uutry
-rw-r--r-- jkh/jkh1028 Oct 17 14:02 1997 cfbsd/scripts/README
drwxr-xr-x jkh/jkh   0 Oct 18 19:32 1997 cfbsd/docs/
-rw-r--r-- jkh/jkh  199111 Oct 16 14:29 1997 cfbsd/docs/packages.txt

Page 2






Errata and addenda for the Complete FreeBSD, second edition


-rw-r--r-- jkh/jkh  189333 Oct 16 14:28 1997 cfbsd/docs/packages-by-category.txt
-rw-r--r-- jkh/jkh  188108 Oct 16 14:29 1997 cfbsd/docs/packages.ps
-rw-r--r-- jkh/jkh  226439 Oct 16 14:27 1997 cfbsd/docs/packages-by-category.ps
-rw-r--r-- jkh/jkh 788 Oct 16 15:01 1997 cfbsd/README
-rw-r--r-- jkh/jkh 248 Oct 17 11:52 1997 cfbsd/errata

To  extract  one  of these files, say cfbsd/docs/packages.txt, and assuming you
have the CD-ROM mounted as /cdrom, enter:

# cd /usr/share/doc
# tar xvzf /cdrom/xperimnt/cfbsd/cfbsd.tar.gz cfbsd/docs/packages.txt

See page 209 for more information on using tar.

These files are an early version of what is described in the book.  I'll put up
some 

The Complete FreeBSD, third edition: errata and addenda

2002-10-04 Thread Greg Lehey









  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

Re: Missing ports

2002-10-04 Thread Socketd

 Original Message 

On 10/5/02, 1:21:57 AM, Kris Kennaway [EMAIL PROTECTED] wrote regarding 
Re: Missing ports:

  I have FreeBSD 4.6.2 and have just updated my ports (ports-all), but I am
  missing some ports and even some port-dirs like /usr/ports/gnome.

 /usr/ports/gnome does not exist; gnome is a virtual category whose
 members are distributed amongst the other categories.

Oki

 What ports do you think are missing from the collection?

/usr/ports/net/cvsup-bin is not there.

Br
socket

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Missing ports

2002-10-04 Thread Adam Weinberger

 (10.04.2002 @ 1713 PST): Socketd said, in 0.6K: 
  What ports do you think are missing from the collection?
 
 /usr/ports/net/cvsup-bin is not there.

yes, and it hasn't been for a little over a year.

-Adam


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Missing ports

2002-10-04 Thread Jonathan Chen

On Sat, Oct 05, 2002 at 12:13:09AM +, Socketd wrote:

 /usr/ports/net/cvsup-bin is not there.

There isn't net/cvsup-bin (not any more) in the current tree.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Computers are like air conditioners.
  They stop working when you open Windows.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



4.7

2002-10-04 Thread srd

What's the deal with the upcoming release of 4.7?

-srd


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 4.7

2002-10-04 Thread srd

On the request of wd, I will no longer
send another email to any of the FreeBSD
mailing lists.

-srd

On Fri, 4 Oct 2002, srd wrote:

 What's the deal with the upcoming release of 4.7?

 -srd


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: VIRUS in ISO images!!!

2002-10-04 Thread robert Backhaus


--- Olivier Boniteau [EMAIL PROTECTED] wrote:
 I've taken a virus (bloodhound.mbr) in the following
 mirror:

Bloodhound is not a virus. There is no such virus.

Some AV systems (Notron's for one) use this codeword to refer to the
heuristics scanning - Identification of `virus like' code. They give
many more false positives than otherwise.

google searching for bloodhound virus will give you heaps on info.

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



dma

2002-10-04 Thread flightline_

dear sir,
is freebsd available for windows 98 or nt? is there a separate source or

document?
i am interested specifically in dma - want to program a dma controller
with address
and length, trigger a start, and poll till count comes to zero.

thanks
francis




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >