smbfs: problems with umount and mount

2002-10-28 Thread Anton
Hello everybody!

I can't umount smbfs volume and can't mount them under non super user.

Here is part of my fstab:

-
//Administrator@hw/c/hw/c   smbfs   rw,noauto,-N0   0
//Administrator@hw/d/hw/d   smbfs   rw,noauto,-N0   0
//Administrator@hw/e/hw/e   smbfs   rw,noauto,-N0   0
//Administrator@hw/z/hw/z   smbfs   rw,noauto,-N0   0
-

When I mount_smbfs under root all OK.
But how can I mount_smbfs under any other user?

When I tried to mount it said:

-
~ mount /hw/d
Warning: no cfg file(s) found.
smbfs: can not setup kernel iconv table (default:tolower): syserr = Operation not 
permitted
-


I can't umount smbfs volume if I used it at least one time!
It answers:

-
~# umount /hw/e
umount: unmount of /hw/e failed: Device busy
-

But fstat says nothing:

-
~# fstat /hw/e
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W NAME
-


What can you advice?
Anton


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



Re: ftpd.conf

2002-10-28 Thread Andrew Stuart
On Sun, 27 Oct 2002 at 11:43:02 +0100, Ms Carlsson wrote:
 I thought the mailinglist was for questions when you can figure it out 
 yourself.
 
 But i see that this mailinglist is just for wannabees who think they can.
 
 Thanks for the help anyway.
 
 

To begin with, if you are going to be 'pissy' no one is going to help
you, so you may as well just go else where, If you really want help try
showing some respect and answer the questions given. We ARE NOT mind
readers, we are volunteers who support an operating system we
use/like/love. After how rude you have been and so disrespectful I dont
know why I am even bothering.. but..

What is it you need a ftpd.conf for, other then that you 'need one'.
What is it your trying to do? are you using the lukemftpd or are you
using the stock ftpd?

Do you have something specific your trying to change with the default
(assuming your using lukemftpd).

looking at man ftpd.conf (once again assuming lukemftpd)

DEFAULTS
 The following defaults are used:

   checkportcmd  all
   classtype chroot CHROOT
   classtype guest  GUEST
   classtype real   REAL
   display   none
   limit all-1 # unlimited connections
   maxtimeoutall7200   # 2 hours
   modifyall
   motd  allmotd
   notifynone
   passive   all
   timeout   all900# 15 minutes
   umask all027
   uploadall
   modifyguest  off
   umask guest  0707

you can put that in a /etc/ftpd.conf and you have all the default
settings, reading that man page will explain the settings and give
you other options.

this is a start, if there is something specific your looking for, you
need to give us more info.


that being said, if you want to be a troll and mouth off more dont
bother, just send it to /dev/null, otherwise there are plenty of people
on this list that are willing to help if they have the info they need to
be able to help you.

-- 
Andrew

Genius, n.:
A chemist who discovers a laundry additive that rhymes with
bright.

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



USB Printer Problem

2002-10-28 Thread nyingelay
***
Printer:Epson Stylus C40UX (usb)
OS: FreeBSD 4.7-RELEASE
***
It is the only printer attached to my computer via usb.

When I tried to lpr filename, the printer responded to it for awhile by 
moving its cartridge holder, but nothing got actually printed.  That was 
after I rebooted the PC.  For the second time when I tried to lpr filename, 
there were no responses from the printer at all.  After each reboots, the 
printer acknowledges the commands for once only, and just sits there idle.

I have followed the directions under the title Printing in the FreeBSD 
Handbook, and of course, replacing the lp0 as ulpt0.  Here's the output 
that I get:
=
bash-2.05b$ dmesg | grep ulpt0
ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 2, iclass 7/1
=

So, this means that the OS already acked the printer.  Am I right?  But it 
still does not print.  Does it have to do with that PostScript thing?

Please help me out with this problem guys!  Thanks!!!
^


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



Concatenating 2 or more mbox format files

2002-10-28 Thread BSD Freak
Hi all,

Does anyone have a quick and easy way to concatenate two or more MBOX 
format mailbox files? I tried:

cat mboxfile1 mboxfile2  newfile

but it didn't really work...

Thanks..

-
Would you like to receive faxes to your personal email address?
You can with mBox.  Visit http://www.mbox.com.au/fax

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



Re: Concatenating 2 or more mbox format files

2002-10-28 Thread Matthew Seaman
On Mon, Oct 28, 2002 at 08:49:43PM +1100, BSD Freak wrote:

 Does anyone have a quick and easy way to concatenate two or more MBOX 
 format mailbox files? I tried:
 
 cat mboxfile1 mboxfile2  newfile

That should work just fine.  mbox format just concatenates the
individual messages together: the separator is the character sequence
'\n\nFrom ' or in other words, a blank line followed by the envelope
'From ' header (ie. without a colon) -- which is the reason why if you
write:

From at the beginning of a new paragraph in a message it typically
gets a '' or some other character prepended.  Mail delivery agents
and user agents often add some extra headers:

Status: RO
Content-Length: 1463
Lines: 5

right before the blank line that divides the headers from the message
body, but should be able to cope without.  Some mail user agents
(Netscape, Mozilla) will create a dummy first message in the mbox
file for their own purposes, but 2 seconds with a text editor can fix
that.

What precisely went wrong when you tried to concatenate the mbox files?

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



Kernel will not compile, please help

2002-10-28 Thread J. Foobar
I am attempting to compile a custom kernel in order to
add support for ipfw.

I ran into several undefined reference errors for
'xpt_done', etc.

The last error:
scsi_low.o(.text+0xc6f): undefined reference to
'xpt_done'

The failure occurs both using the traditional method
during make and the new method during buildkernel.

I searched for this error and others indicated that
umass might be the problem.  I commented out the umass
line and recompiled.  Same error.  I commented out all
the lines in the usb sections of the config file (as I
do not need USB support at present) and still get the
same error.  

I'm really not sure what else to try.  I have pasted
the entire contents of the config file below.

Thanks,
Justin

#
# GENERIC -- Generic kernel configuration file for
FreeBSD/i386
#
# For more information on this file, please read the
handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in
/usr/share/doc/handbook
# if you've installed the doc distribution, otherwise
always see the
# FreeBSD World Wide Web server
(http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed
explanations of the
# device lines is also present in the ./LINT
configuration file. If you are
# in doubt as to the purpose or necessity of a line,
check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.43
2002/05/23 17:04:01 obrien Exp $

machine i386
cpu I686_CPU
ident   JFOOKERNEL
maxusers0

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

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

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

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data
PCMCIA floppy,
# don't use the above line for fdc0 but the following
one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device ncr # NCR/Symbios Logic
#device sym  

/usr/home encryption.

2002-10-28 Thread Yann Golanski
Is there a simple and efficent way to encrypt /usr/home so that only the
user can read his own directory?

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus
NNGS:  nick kierun, server nngs.cosmic.org, port 9696.



msg06823/pgp0.pgp
Description: PGP signature


Re: Kernel will not compile, please help

2002-10-28 Thread Ceri Davies
On Mon, Oct 28, 2002 at 02:50:51AM -0800, J. Foobar wrote:
 I am attempting to compile a custom kernel in order to
 add support for ipfw.
 
 I ran into several undefined reference errors for
 'xpt_done', etc.
 
 The last error:
 scsi_low.o(.text+0xc6f): undefined reference to
 'xpt_done'

Do you have any scsi devices ?
If so, you need to uncomment the scbus line.
If not, comment out all the scsi devices.

 devicencv # NCR 53C500
 devicensp # Workbit Ninja SCSI-3
 devicestg # TMC 18C30/18C50
 
 # SCSI peripherals
 #device   scbus   # SCSI bus (required)

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



Re: /usr/home encryption.

2002-10-28 Thread f.johan.beisser
On Mon, 28 Oct 2002, Yann Golanski wrote:

 Is there a simple and efficent way to encrypt /usr/home so that only the
 user can read his own directory?

not really.

it would be a processing nightmare anyway. you probably want to simply
adjust the UMASK of each user to not allow anyone to read anyone elses
home directory. just as effective, and much less CPU overhead.

 ---/ f. johan beisser /--+
  http://caustic.org/~jan  [EMAIL PROTECTED]
Champagne for my real friends, real pain for
  my sham friends. -- Tom Waits


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



Re: SMP problems

2002-10-28 Thread Toomas Aas
 Also, in `top', sometimes under the STATE column it will display
 'CPU0 or CPU1.  

Speaking of top, the 'C' column shows wheter the process is running on 
CPU0 or CPU1

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* The secret of the universe is @*^^^# NO CARRIER


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



Re: Kernel will not compile, please help

2002-10-28 Thread J. Foobar
Ceri-

That nailed it.  I must have overlooked those 3 lines.

Thank you so much.

Regards,
Justin

--- Ceri Davies [EMAIL PROTECTED] wrote:
 On Mon, Oct 28, 2002 at 02:50:51AM -0800, J. Foobar
 wrote:
  I am attempting to compile a custom kernel in
 order to
  add support for ipfw.
  
  I ran into several undefined reference errors for
  'xpt_done', etc.
  
  The last error:
  scsi_low.o(.text+0xc6f): undefined reference to
  'xpt_done'
 
 Do you have any scsi devices ?
 If so, you need to uncomment the scbus line.
 If not, comment out all the scsi devices.
 
  device  ncv # NCR 53C500
  device  nsp # Workbit Ninja SCSI-3
  device  stg # TMC 18C30/18C50
  
  # SCSI peripherals
  #device scbus   # SCSI bus (required)
 
 Ceri
 -- 
 you can't see when light's so strong
 you can't see when light is gone


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



RE: ftpd.conf

2002-10-28 Thread RD
Hi -
 I just stumbled across this message...   
Ask for help dude and give the list time... The list isn't all fbsd
pros...There are lots of peeps that are nooBs too...   

Now for ftpd   ( I don't use that one )
I would go with pure-ftpd and compile it --with-everything since your
new to fbsd...It has tons of options and u can add the switches in
startup command...I run mine virtual daemon mode it has its own
pwd files etc... It don't mess with the fbsd system at all

http://www.pureftpd.org/documentation.shtml

All u gotta do is d/l the tar.gz file
Gunzip -c pure-ftpd-1.0.12.tar.gz | tar xvf -
Change into the dir it makes

./configure --with-everything  
Make
Make install

It’s the best one I have seen for noobies

Just look at these options u have -
--(switches sorted by ##standard switches## lexical order)--

-4  --ipv4only
-a  --trustedgidgid
-A  --chrooteveryone
-b  --brokenclientscompatibility
-B  --daemonize 
-c  --maxclientsnumber  number
-C  --maxclientsperip   number
-d  --verboselog
-D  --displaydotfiles   
-e  --anonymousonly 
-E  --noanonymous   
-f  --syslogfacilityfacility
-F  --fortunesfile  file
-g  --pidfile   path to pid file
-G  --norename
-h  --help  
-H  --dontresolve   
-i  --anonymouscantupload
-I  --maxidletime   time (min)
-j  --createhomedir
-k  --maxdiskusagepct   percentage
-K  --keepallfiles
-l  --login auth or auth:config file
-L  --limitrecursionnumber:number
-m  --maxload   load
-M  --anonymouscancreatedirs
-N  --natmode
-o  --uploadscript
-O  --altlogformat:log file
-p  --passiveportrange  minport:maxport
-P  --forcepassiveipip address
-q  --anonymousratioupload ratio:download ratio
-Q  --userratio upload ratio:download ratio
-r  --autorename
-R  --nochmod
-s  --antiwarez 
-S  --bind  ip address,port
-t  --anonymousbandwidthbandwidth (Kb/s)
-T  --userbandwidth bandwidth (Kb/s) or [up bw]:[down bw]
-u  --minuiduid
-U  --umask mask
-V  --trustedip ip address
-w  --allowuserfxp  
-W  --allowanonymousfxp
-x  --prohibitdotfileswrite 
-X  --prohibitdotfilesread  
-y  --peruserlimits per user max:max anonymous sessions
-z  --allowdotfiles
-Z  --customerproof



--(switches sorted by ##GNU-style long switches## lexical order)--

-W  --allowanonymousfxp
-z  --allowdotfiles
-w  --allowuserfxp  
-O  --altlogformat:log file
-t  --anonymousbandwidthbandwidth (Kb/s)
-M  --anonymouscancreatedirs
-i  --anonymouscantupload
-e  --anonymousonly 
-q  --anonymousratioupload ratio:download ratio
-s  --antiwarez 
-r  --autorename

-S  --bind  ip address,port
-b  --brokenclientscompatibility

-A  --chrooteveryone
-j  --createhomedir
-Z  --customerproof

-B  --daemonize 
-D  --displaydotfiles   
-H  --dontresolve   

-P  --forcepassiveipip address
-F  --fortunesfile  file

-h  --help  

-4  --ipv4only

-K  --keepallfiles

-l  --login auth or auth:config file
-L  --limitrecursionnumber:number

-c  --maxclientsnumber  number
-C  --maxclientsperip   number
-k  --maxdiskusagepct   percentage
-I  --maxidletime   time (min)
-m  --maxload   load
-u  --minuiduid

-N  --natmode
-E  --noanonymous   
-R  --nochmod
-G  --norename

-p  --passiveportrange  minport:maxport
-y  --peruserlimits per user max:max anonymous sessions
-g  --pidfile   path to pid file
-X  --prohibitdotfilesread  
-x  --prohibitdotfileswrite 

-f  --syslogfacilityfacility

-a  --trustedgidgid
-V  --trustedip ip address

-U  --umask mask
-o  --uploadscript
-T  --userbandwidth bandwidth (Kb/s) or [up bw]:[down bw]
-Q  --userratio upload ratio:download ratio

-d  --verboselog

PS - if this is the route u would like to take,  I could walk you
through setting it up in a matter of minutes
My ICQ# 32251187
MSN [EMAIL PROTECTED]

Chill out on list or you'll never get any help from the guru's
L8r
RD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:owner-freebsd-questions;FreeBSD.ORG] On Behalf Of Ms Carlsson
Sent: Sunday, October 27, 2002 5:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: ftpd.conf


I thought the mailinglist was for questions when you can figure it out 
yourself.

But i see that this mailinglist is just for wannabees who think they
can.

Thanks for the help anyway.


 
  i do not have one, why waste your time to answer me if you dont even

  can help me, this is not just a waste of your time it is waste of 
  mine too.
 

Seems like a reasonable question to me.  Asking for more information 
before spouting off is part of solving problems.

  so is here anybody serious here, i need a 

Re: USB Printer Problem

2002-10-28 Thread Cliff Sarginson
On Mon, Oct 28, 2002 at 01:44:54AM -0800, nyingelay wrote:
 ***
 Printer:  Epson Stylus C40UX (usb)
 OS:   FreeBSD 4.7-RELEASE
 ***
 It is the only printer attached to my computer via usb.
 
 When I tried to lpr filename, the printer responded to it for awhile by 
 moving its cartridge holder, but nothing got actually printed.  That was 
 after I rebooted the PC.  For the second time when I tried to lpr filename, 
 there were no responses from the printer at all.  After each reboots, the 
 printer acknowledges the commands for once only, and just sits there idle.
 
I had *exactly* the same problem, but with an Epson 740U. So I tried
printing under Windows and it would only print in black and only legibly
at the highest quality .. I cleaned the heads etc, and the status
monitor said there was plenty of ink. So, more out of a guess than
anything else I replaced the ink cartridges -- and lo and behold it
worked just fine on all O/S'es. What that implies I don't know, although
obviously the colour cartridge was blocked beyond repair. I don't use
the printer much, so... maybe the cheapo cartridges I use had got fed
up. You only have to replace the catridges twice with real Epson ones
and it is about the same cost as a new printer (here in Holland anyway !)

Did it ever work under other releases ? The fact that it is recognised
means it is in the file of signatures for USB devices, that does not
always mean it will work.

I am sending this, not saying this is your problem, but the symptoms are
so similar I thought I would pass it on.
 
-- 
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: No route to host

2002-10-28 Thread Andrey Simonenko
On Mon, 28 Oct 2002 12:33:31 + (UTC) in lucky.freebsd.questions, Christian M?nk  
wrote:
 Hello FreeBSD Team.
 My name is Christian and I have a problem.
 I looked through the FAQ and the docs about the prob. when you get the No route to 
host reply when trying to ping. But my nic is intact. I made some Kernel 
configurations cause I want this one PC act as a router. So I thought something with 
all the stuff I changed is wrong. So I # everything out in the rc.conf that might 
cause the problem. Even though, what I as a beginner don?t like is that there are so 
many examples out there about how to config your system to act as a router. Is there 
no main script that includes it all? Well so much for that one.
 Hopefully you guys can help me, since I?m totally down cause I?m working on that 
prob. 4 days now. 
 Thanks in advance.

Follow this steps:

1. Configure your kernel to see your NICs in dmesg(8) output.

2. Add ifconfig_fxp0=inet 10.10.10.10 netmask 255.255.255.0 like strings to
/etc/rc.conf file and check if your NICs have correct IP addresses. Use
ifconfig(8) command for this.

3. Add default route for your computer with the defaultrouter parameter
in /etc/rc.conf. If you use, for example, pppd(8), then read documentation
for pppd(8) how to set default route.

4. Then try to send packets to some hosts no in your LAN.

5. Say your computer to be a router with the gateway_enable variable in
/etc/rc.conf.

6. ... try to do above steps first.

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



root-tail question

2002-10-28 Thread Bryan Cassidy
I don't know if this is the appropriate mailing list but it should be pretty simple 
for someone to answer so. I just installed root-tail from the ports and when I 
root-tail -f /var/log/message and it prints the output from /var/log/messages on the 
top left of the window and the text is kinda small. I was wondering 3 things. First 
I would like to know how do I change the font size, second how could I make it go to 
the bottom left but not all the way down so it would cover the toolbar of fluxbox. I 
dont want it to cover the toolbar. Third is if anyone uses root-tail could you post 
what options you use when you load root-tail?

---
E-Mail: Bryan Cassidy [EMAIL PROTECTED]
Operating System: FreeBSD 4.6.2
Gaim: bsdsys
Yahoo Messenger: bsdsys

Please do not simply Reply-To: Bryan Cassidy
[EMAIL PROTECTED] It is OK to Cc: me as long as you send the
Reply back To: the original mailing lists. I have put alot of time in
setting up filters so please don't simply reply to me unless I tell
you to or send you one directly.

 _      
|  ___| __ ___  ___| __ ) ___||  _ \  
| |_ | '__/ _ \/ _ \  _ \___ \| | | |
|  _|| | |  __/  __/ |_) |__) | |_| | 
|_|  |_|  \___|\___|//|/ 

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



System calls: int $0x80 vs. lcall $7, $0

2002-10-28 Thread Anton Shcherbinin
Gentlemen,  I  am new to FreeBSD programming and going to write a simple
program  which  will  not  use  libc.  I tried to find out how to make a
system call of FreeBSD kernel. But 2 different sources of information, a
book  on  assembly  programming  and  FreeBSD  Developers' Handbook, say
contrary things, and I got completely confused.

My  assembly  book says (trying to translate from Russian into English):
``Numbers of system calls (which are in /usr/include/sys/syscall.h file)
and  way  of  getting  to  entry  point (long call to 0007:) are
standardized  in  SysV/386  ABI,  but  for  example  Linux  uses another
convention  --  interrupt 80H. [...] In more traditional Unix systems --
FreeBSD  and Solaris -- system calls are implemented according to common
SysV/386 standard.''

On the other hand,
http://www.freebsd.org/doc/en/books/developers-handbook/x86-system-calls.html
says: ``Further, although the kernel is accessed using int 80h [...]''

So  what's the truth? int $0x80  or  lcall $7,$0 ? Or are both possible?
If  both,  which  is  better?  What  is SysV/386 ABI standard and does
FreeBSD   follow   it?   If  it follows this standard, where could I get
this  standard  from?  (I  did  try  Google  search,  but  found nothing
resembling a standard or official documents).

Thanks a lot for any clues. If this maillist is not the most appropriate
place to ask questions like this, please direct me to the right place.

-- 
Anton


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



Re: Re[2]: machine disappearance after upgrade 4.7

2002-10-28 Thread Dan Kalowsky
On Monday, October 28, 2002, at 07:48 AM, Alex wrote:

Dear Dan,

Giving us the network configuration would help us in understanding the
problem. As it is, you have gave us to little information.


Sorry about that Alex, it's been a crazy week here.  Beyond the output 
of ifconfig, I haven't that much knowledge on the network layout being 
used.

Output from ifconfig for your review:

bash-2.05a$ ifconfig -a
de0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 207.106.130.84 netmask 0xfff0 broadcast 207.106.130.95
inet6 fe80::200:c0ff:fea9:c9f3%de0 prefixlen 64 scopeid 0x1
inet 207.106.130.93 netmask 0x broadcast 207.106.130.93
ether 00:00:c0:a9:c9:f3
media: Ethernet autoselect (10baseT/UTP)
status: active
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
ppp1: flags=8010POINTOPOINT,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00

Hope any of this can be useful to someone.

---
Dan KalowskyA little less conversation,
http://www.deadmime.org/~danka little more action.
[EMAIL PROTECTED]- A Little Less Conversation,
[EMAIL PROTECTED]Elvis Presley


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


Re: ppp dials out at boot time

2002-10-28 Thread Artem Okounev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hello Thomas,

Monday, October 28, 2002, 3:29:41 PM, you wrote:

 I've configured ppp as auto dial on demand. My resolv.conf
 contains the adresses of my ISP's nameservers. In addition
 I've an LAN interface (fxp0) with no LAN behind it.

 In  rc.conf  I've  configured  the  LAN interface as inet
 192.168.1.1  netmask  255.255.255.0,  in  /etc/hosts I've
 assigned  the hostname r2d2 to 192.168.1.1. The hostname
 is  introduced  in  rc.conf. In /etc/host.conf I implement
 first  /etc/hosts  to  look for name-address resolution,
 then use bind.

 In  this  configuration,  it  seems  to  me,  that the LAN
 interface introduces a dial out, after the ifconfig during
 the boot, to resolve the address of the interface, instead
 of  using  the  /etc/hosts  file.  If  I  comment  out the
 ifconfig  line  in  rc.conf,  it  doesn't  take  place any
 longer. The same happens if I comment out the bind line in
 /etc/host.conf,  but  then  no  dns  request is solved and
 answered any longer.

 So, what is the sense of the ifconfig dialing out? What do
 I  made wrong with that? I think my private network number
 can not be resolved anywhere, or am I wrong?

Are  you  sure  that  ifconfig  is  dialing  out? By default
sendmail  do  DNS  lookup on startup. If you enabled another
network daemons (e.g. xntpd) then they also want DNS.

- --
Best regards,
 Artemmailto:aokounev;yahoo.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (MingW32)

iD8DBQE9vUB2bOuJ0KL1C+MRAqvPAJ43iWpyA7DjSfoWflCcJBV6C+MM3ACgufeZ
p4CSe7m/rWsQbeipqz9XxcQ=
=rOtU
-END PGP SIGNATURE-


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



No route to host

2002-10-28 Thread Christian Mnk
Hello FreeBSD Team.
My name is Christian and I have a problem.
I looked through the FAQ and the docs about the prob. when you get the No route to 
host reply when trying to ping. But my nic is intact. I made some Kernel 
configurations cause I want this one PC act as a router. So I thought something with 
all the stuff I changed is wrong. So I # everything out in the rc.conf that might 
cause the problem. Even though, what I as a beginner don?t like is that there are so 
many examples out there about how to config your system to act as a router. Is there 
no main script that includes it all? Well so much for that one.
Hopefully you guys can help me, since I?m totally down cause I?m working on that prob. 
4 days now. 
Thanks in advance.

Christian


   
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

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



ipnat redirection problem

2002-10-28 Thread zulkarnain
Hi,

I'm trying to configure out the transparent proxy with 
ipnat-redirection
 
rdr fxp1 0/0 port 80 - 202.167.aaa.ccc port 3128

but this scheme isn't working fine.

When I go (through PC1) to some web servers, I get error 
about inaccessibility web server at client browser.From 
freebsd box I see (using ipnat -l)any packets redirect to 
squid box, but at squid box I did not see any packets from 
freebsd box. 

What can I do at this situation? Can anybody push me to 
right direction?


Best regards,
zulkarnain



Internet
   |
   |
-
 |  |
   SQUID   fxp0 202.167.aaa.bbb
202.167.aaa.ccc FreeBSD 4.6
   fxp1 202.167.xxx.yyy
|
   
| |   |
   PC1   PC2 PC3
   202.167.xxx.ddd 202.167.xxx.eee  202.167.xxx.fff


 kernel config -
options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPFIREWALL_VERBOSE
options		IPFIREWALL_VERBOSE_LIMIT=300
options		IPFIREWALL_FORWARD
options		IPFILTER
options		IPFILTER_LOG


 /etc/rc.conf ---
ipfilter_enable=YES
ipnat_enable=YES
ipmon_enable=YES
ipfs_enable=YES

 /etc/ipnat.rules 
rdr fxp1 0/0 port 80 - 202.167.aaa.ccc port 3128

 squid.conf 
http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

=
Ikuti polling TELKOM Memo 166 di www.plasa.com dan menangkan hadiah masing-masing Rp 250.000 tunai.
=

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


dscheck, negative b_blkno, Hard Drive Panic?

2002-10-28 Thread Grant Peel
Good Morning all,

I have been setting up a some cronjobs this week to do dumps. Currently my
server is partitioned as such:

Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/amrd0s1a   484M95M   351M21%/
/dev/amrd0s1h   7.6G   2.5G   4.5G36%/home
/dev/amrd0s1g   992M97M   816M11%/mail
/dev/amrd0s1e   4.7G   1.8G   2.6G40%/usr
/dev/amrd0s1f14G   967M12G 7%/var
procfs  4.0K   4.0K 0B   100%/proc
/dev/amrd0s1d   3.8G   576M   2.9G16%/backup

I am dumping /var, /usr, /, and /home each Monday starting at 0200.
They are being dumped into /home/bacup. (I then FTP them to a different
local box).

This morning I seen this in the logs, and, the dump was unsuccessfull.

 DUMP: Date of this level 0 dump: Mon Oct 28 02:20:03 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/amrd0s1h (/home) to /home/backup/home.full_dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 2731756 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 24.99% done, finished in 0:15
  DUMP: 47.07% done, finished in 0:11
  DUMP:   DUMP: read error from /dev/amrd0s1h: Invalid argument:
[block -835969890]: count=4096
read error from /dev/amrd0s1h: Invalid argument: [block -835969882]:
count=4096
  DUMP:   DUMP: read error from /dev/amrd0s1h: Invalid   DUMP:   DUMP: read
error from /dev/amrd0s1h: Invalid argument: [block -2055499334]: count=6144
read error from /dev/amrd0s1h: Invalid argument: [sector -1982468763]:
count=512
argument: [sector -835969890]: count=512
...
...
DUMP: fopen on /dev/tty fails: Device not configured
  DUMP: The ENTIRE dump is aborted.

and in my/var/log/messages and dmesg logs I get:

dscheck(#amrd/0x20007): negative b_blkno -1982468757

I have been searching all morning (google, av etc) with no luck. It looks
like these may be systems errors. Any Ideas?

Also, one thing I have noticed in my searches, others that have seen this
ALSO notice that they happened in the early morning hours (i.e. 0100 0200
0300 etc.) Is this just coinciudental, or is there some significance?

Any thoughts would be appreciated.

-Grant

P.S. the other three file systems dumped no problem.


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



Re: dscheck, negative b_blkno, Hard Drive Panic?

2002-10-28 Thread Jerry McAllister
 
 Good Morning all,
 
 I have been setting up a some cronjobs this week to do dumps. Currently my
 server is partitioned as such:
 
 Filesystem  Size   Used  Avail Capacity  Mounted on
 /dev/amrd0s1h   7.6G   2.5G   4.5G36%/home
 ,,,
 /dev/amrd0s1d   3.8G   576M   2.9G16%/backup
 
 I am dumping /var, /usr, /, and /home each Monday starting at 0200.
 They are being dumped into /home/bacup. (I then FTP them to a different
 local box).
 
 This morning I seen this in the logs, and, the dump was unsuccessfull.
 
  DUMP: Date of this level 0 dump: Mon Oct 28 02:20:03 2002
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping /dev/amrd0s1h (/home) to /home/backup/home.full_dump
   DUMP: mapping (Pass I) [regular files]
   DUMP: mapping (Pass II) [directories]
   DUMP: estimated 2731756 tape blocks.
   DUMP: dumping (Pass III) [directories]
   DUMP: dumping (Pass IV) [regular files]
   DUMP: 24.99% done, finished in 0:15
   DUMP: 47.07% done, finished in 0:11
   DUMP:   DUMP: read error from /dev/amrd0s1h: Invalid argument:
 [block -835969890]: count=4096
 read error from /dev/amrd0s1h: Invalid argument: [block -835969882]:
 count=4096
   DUMP:   DUMP: read error from /dev/amrd0s1h: Invalid   DUMP:   DUMP: read
 error from /dev/amrd0s1h: Invalid argument: [block -2055499334]: count=6144
 read error from /dev/amrd0s1h: Invalid argument: [sector -1982468763]:
 count=512
 argument: [sector -835969890]: count=512

I am not sure why it ways 'invalid argument' here, but it looks to me
like this is a disk read error.  COuld be something was written in error
on the file or it could be that you are developing a bad spot on the disk.
My response to seeing disk errors is to assume the disk is going bad and
replace it at the earliest point possible.  

By the way, you might have included the dump command you are using
and maybe the cron entry, and relevant portion of script.  It might
help.  

 ...
 DUMP: fopen on /dev/tty fails: Device not configured
   DUMP: The ENTIRE dump is aborted.

I don't know why this is except maybe it was trying write a message.
Do you have errors redirected somewhere?   This one is for someone 
else to thing about.
 
 and in my/var/log/messages and dmesg logs I get:
 
 dscheck(#amrd/0x20007): negative b_blkno -1982468757

Hmmm.   This I don't recognize.  Is the block count overflowing?

jerry

 
 I have been searching all morning (google, av etc) with no luck. It looks
 like these may be systems errors. Any Ideas?
 
 Also, one thing I have noticed in my searches, others that have seen this
 ALSO notice that they happened in the early morning hours (i.e. 0100 0200
 0300 etc.) Is this just coinciudental, or is there some significance?
 
 Any thoughts would be appreciated.
 
 -Grant
 
 P.S. the other three file systems dumped no problem.
 
 
 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: getting my router to log to my Freebsd box help ?

2002-10-28 Thread Brent Bailey
That didnt seem to work .. I was reading on cisco's site that i might have
to edit  /etc/syslog.conf  with something like:
local7.* /usr/log/cisco/ubr-syslog.log

so ive tried both senarios...and still nothing .. is it one or the other
or both things that need to be added  or changed ??any help is VERY appreciated

Brent Bailey CCNA


 so would it be something like

 syslogd -a 172.16.x.x/24:UDP port number ??

 if this is so ...
 can i do this multiple times  ???
 I have multiple routers that i want to log to this FreebSD machine so
 would i do the command above on multiple lines ??

 or like :
 syslogd -a 172.16.x.x/24:xxx  172.16.x.x/24:xxx ???

 thanx
 Brent


 # [EMAIL PROTECTED] / 2002-10-23 09:18:47 -0400:
 Im trying to get my Cisco router to log to my FBSD machine..Im using
 Freebsd 4.5
 I have no issues with the router ...however im having issues trying
 to get syslog OR syslogd to accept UDP log traffic from my router
 ...and have it write to a flat text file.
 im under the assumtion that you use:
 syslogd -a ip address of router

the man page says that the format is ipaddr/masklen[:service].
that doesn't look like the /masklen part is optional.

 --
 If you cc me or take the list(s) out completely I'll most likely
 ignore your message.




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



Re: Starting natd

2002-10-28 Thread Lowell Gilbert

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



Re: root-tail question

2002-10-28 Thread erk!
On Mon, 28 Oct 2002 06:53:39 -0600
Bryan Cassidy [EMAIL PROTECTED] wrote:

 I don't know if this is the appropriate mailing list but it should be
 pretty simple for someone to answer so. I just installed root-tail
 from the ports and when I root-tail -f /var/log/message and it prints
 the output from /var/log/messages on the top left of the window and
 the text is kinda small. I was wondering 3 things. First I would like
 to know how do I change the font size, second how could I make it go
 to the bottom left but not all the way down so it would cover the
 toolbar of fluxbox. I dont want it to cover the toolbar. Third is if
 anyone uses root-tail could you post what options you use when you
 load root-tail?

read it's manpage for a full list of options and whatnot.  

it's default position is to be in the top left, but you can change this
with some experimentation.  it's a little difficult to get it set to
where you want it, but once you figure out what you're doing, it's a
piece of cake.  you can change the font size even more easily.

anyway, read its docu.  it's very straightforward and covers all your
questions in detail.

also to note: it doesn't cover the toolbar.  afaik, it always stays
behind everything.

- erk!

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



Re: Install FreeBSD 4.4 into EXTENDED Partition

2002-10-28 Thread Lowell Gilbert
[EMAIL PROTECTED] (Gary W. Swearingen) writes:

 Lowell Gilbert [EMAIL PROTECTED] writes:
 
  Just to be clear; it *can* use extended partitions for disk space.
  It's just that the BIOS can't boot from them, and therefore the
  standard FreeBSD installer won't *install* into one.  In theory, you
  can get around this, but not with the standard installer.
 
 Just to be clear: the BIOS can boot from them, as it does in many
 people's Linux setups.

My use of terminology was a little imprecise, but this statement is
even more so.  On no PC-class machine does the BIOS boot *anything*
except the MBR.  Linux systems (for example) that boot from extended
partitions do so by using a boot manager that lives on the disk,
somewhere beyond the 512-byte boot sector, but the BIOS knows nothing
about those partitions.

 (FreeBSD would either have to be able (like Linux) to use the same
 secondary-partitioning scheme as IBM did or FreeBSD would have to be
 able to shoehorn its slices in, supporting a tertiary-partitioning
 scheme.)

That's not really the problem.  The boot manager has to know how to
invoke the FreeBSD loader.  With the root filesystem in its own
extended partition, and the right set of boot blocks in that
partition, you can boot FreeBSD from an extended partition, without
changing any of FreeBSD's filesystem or slice support.  [A number of
people have done it; the only tricky part is that, as I mentioned in
my earlier message, the FreeBSD installer can't do it for you.]

Be well.

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



Re: Concatenating 2 or more mbox format files

2002-10-28 Thread Michael Joyner
Quoting BSD Freak [EMAIL PROTECTED]:

cat mboxfile1  newfile
echo  newfile
cat mboxfile2  newfile

the echo is *very* important. ;)
 Hi all,
 
 Does anyone have a quick and easy way to concatenate two or more MBOX 
 format mailbox files? I tried:
 
 cat mboxfile1 mboxfile2  newfile
 
 but it didn't really work...
 
 Thanks..
 
 -
 Would you like to receive faxes to your personal email address?
 You can with mBox.  Visit http://www.mbox.com.au/fax
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


-- 
FreeBSD System Administrator
http://manhattan.hq.dyns.cx/

-
This mail sent through IMP: http://horde.org/imp/

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



IDE Disk hard error

2002-10-28 Thread Jan Lentfer
Hi all,

my machine crashed due to a power failure during a make installworld.
Now I get this:
/kernel: ad0s1f: hard error reading fsbn 35393727 of 17236032-17236047
(ad0s1 bn 35393727; cn 2203 tn 40 sn 12) status=59 error=40

It is always the same, so I guess there's only a small area damaged. I
know the Handbook says to replace the disk (this is a Maxtor 20GB disk),
but since is not a production system, just my private Dial-In Server, I
am not really looking forward into getting a new disk. Any chance to fix
this error? What about badsect? How does this work?

TIA,

Jan
-- 
Jan Lentfer
System Administrator
Molecular Cell Biology / AG Holstein, Darmstadt University of
Technology, Schnittspahnstr. 10, 64287 Darmstadt, Germany
Tel: +49 6151 16 5563 / Tel private: +49 6155 899393 / mobile: +49 163
4712037


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



MRTG queries

2002-10-28 Thread Patrick Holahan
Hi there..

I'm running mrtg-2.9.18pre11 with apache2 (httpd-2.0.36) on FreeBSD
4.6-RELEASE

I've written a custom script for MRTG and seem to be having some problems
and was wondering if anyone can answer some questions with regards to MRTG
itself..

1. If you have multiple .cfg files (in different directories with different
target names) but the .cfg file name is the same.. Will MRTG accept this?

2. Does MRTG support target names of pure numbers? (eg Target[123]:
`/usr/local/scripts/bwscript` )

3. If the bwscript file is copied into multiple directories (eg: /mrtg/1
/mrtg/2 /mrtg/3 and so on) but also, with the same name.. And therefore,
creates the same values / filenames in each directory (val1, val2, val3,
val4, tim1, tim2, tim3, tim4) would this cause MRTG to have a panic/not
work?

Any suggestions are welcome

Thanks  Regards
Patrick


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



IPNat and GRE problems

2002-10-28 Thread Girnet Vladimir

Hello,

After transfering from NATD to IPNat and from FreeBSD-4.4 to FreeBSD 4.7, we have 
problems with some VPN servers.

 - we cannot connect to these servers by DNS name, the only conection accepted is to 
specify directly IP address,
 - the VPN servers does not ask more for passwords ...it is a very strange issue.
VPN servers are on Windows NT.

 Can you help me, please, to solve these problems?

Looking forward to your reply,
Vladimir Girnet
MEGADAT.COM S.R.L.
 MOLDOVA, Chisinau
  www.mdl.net



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



Re: Amanda FreeBSD: gtar must be run as operator

2002-10-28 Thread Toomas Aas
Hi!

 Where are you setting what user amdump gets run as?

That depends on how you start amdump. If you do it with cron (as 99% of 
people do, I think) then you specify the user in /etc/crontab (if using 
systemwide crontab)

BTW, Amanda has its own mailing list which was pretty good, last time I 
checked. You find details at www.amanda.org.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Bugs are Sons of Glitches!


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



no route to host 2nd

2002-10-28 Thread Christian Mnk
Maybe I didn?t explain it enough. My Prob. is that I can?t ping in my LAN or anywhere 
else. When I wanna go online i do ppp and dial and i get the PPP. But that?s it. 
Network interface is o.k. Worked fine yesterday and works fine in an M$ environment. 
Normal realtek chipset. 
Any other ideas what I?m doing wrong?



   
-- 
___
Get your free email from http://mymail.operamail.com

Powered by Outblaze

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



samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
I upgraded Samba from 2.2.5_3 to 2.2.6 and now printing from Win2k has
stopped working.  Downgrading back to 2.2.5_3 lets printing work
again.  Accessing the disk shares works just fine, still.  Server is
running FreeBSD 4.7-STABLE.

When I start Samba 2.2.6, it reports this:

[2002/10/24 14:22:57, 0] smbd/server.c:main(707)
  smbd version 2.2.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/10/24 14:22:57, 0] printing/print_cups.c:cups_printer_fn(110)
  Unable to connect to CUPS server localhost - Connection refused

but I have not enabled CUPS in samba at all.  Does anyone know what I
need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
my config:

[global]
   security = user
   hosts deny = ALL
   hosts allow = localhost, onceler.kcilink.com, raj.kcilink.com

   preserve case = yes
   short preserve case = yes
   map archive = no
 
   socket options = SO_KEEPALIVE

   locking = yes
   deadtime = 15

   workgroup = KCI
   server string = Yertle Samba Server
   guest account = nobody
   default service = reference

   domain master = yes
   local master = yes 
   preferred master = yes
   os level = 65

   wins support = yes

   time server = True

   printing = bsd
   load printers = yes
   print command = lpr -v -r -P%p %s

[homes]
   comment = Home Directory
   writable = yes
   browseable = no
   public = no
;   create mode = 0644
   create mask = 0755

[printers]
   comment = HP LJ4 PostScript Printer
   browseable = no
   printable = yes
   public = no
   writable = no
   path = /var/tmp
   create mode = 0600

; the default, if invalid accesses
[reference]
   comment = KCI: Samba LAN manager
   path = /tmp
   public = yes

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



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Dan Nelson
In the last episode (Oct 28), Vivek Khera said:
 I upgraded Samba from 2.2.5_3 to 2.2.6 and now printing from Win2k
 has stopped working.  Downgrading back to 2.2.5_3 lets printing work
 again.  Accessing the disk shares works just fine, still.  Server is
 running FreeBSD 4.7-STABLE.
 
 When I start Samba 2.2.6, it reports this:
 
 [2002/10/24 14:22:57, 0] smbd/server.c:main(707)
   smbd version 2.2.6 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2002
 [2002/10/24 14:22:57, 0] printing/print_cups.c:cups_printer_fn(110)
   Unable to connect to CUPS server localhost - Connection refused
 
 but I have not enabled CUPS in samba at all.  Does anyone know what I
 need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
 my config:

When you did the install, you probably just skipped that options dialog
that came up, right?  All the options on that page are select to
enable, except CUPS which is select to _disable.  Rebuild samba, and
select the Without CUPS line.  Quite annoying.  I work around it by
adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in
net/samba/Makefile.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: wu-imap question

2002-10-28 Thread Vivek Khera
 BM == Brian McCann [EMAIL PROTECTED] writes:

BM Hi all.  I'm using wu-imapd and I have a small, but annoying, problem.
BM When I try to add a mailbox in Outlook Express, it of course downloads a
BM list of folders...however, it returns 65k+ folders...most are files in
BM the system.  How do I prevent it from searching everywhere, or tell it
BM specifically where to look for mail folders?  Any ideas?

In your home directory, create a file called .mailboxlist and in it
have your mailbox files one per line:

% cat ~vivek/.mailboxlist
nsmail/Mutual Funds
Trash
Sent
nsmail/Sent
INBOX
Deleted Messages
nsmail/Deleted Messages
%

For example.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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



Installing XFree-4 from ports

2002-10-28 Thread G D McKee
Hi

I keep getting the following error when I try to complie
/usr/ports/x11/XFree86-4

Here is the error:

greeneville# cd /usr/ports/x11/XFree86-4
greeneville# make
 X420src-1.tgz doesn't seem to exist in /usr/ports/distfiles/xc.
 Attempting to fetch from ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/.
Receiving X420src-1.tgz (25961532 bytes): 100%
25961532 bytes transferred in 535.9 seconds (47.31 kBps)
 Wraphelp.gz doesn't seem to exist in /usr/ports/distfiles/xc.
 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/.
Receiving Wraphelp.gz (4206 bytes): 100%
4206 bytes transferred in 0.0 seconds (88.44 kBps)
 4.2.0-4.2.1-1-freebsd.patch.gz doesn't seem to exist in
/usr/ports/distfiles/xc.
 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/anholt/patches-4.2.0
//.
Receiving 4.2.0-4.2.1-1-freebsd.patch.gz (53041 bytes): 100%
53041 bytes transferred in 0.2 seconds (215.88 kBps)
===  Extracting for XFree86-libraries-4.2.1_2
 Checksum OK for xc/X420src-1.tgz.
 Checksum OK for xc/Wraphelp.gz.
 Checksum OK for xc/4.2.0-4.2.1-1-freebsd.patch.gz.
===   XFree86-libraries-4.2.1_2 depends on executable: imake - found
===   XFree86-libraries-4.2.1_2 depends on shared library: freetype.9 -
found
/usr/bin/gunzip -f -c /usr/ports/distfiles/xc/Wraphelp.gz 
/usr/ports/x11/XFree86-4-libraries/work/xc/lib/Xdmcp/Wraphelp.c
===  Patching for XFree86-libraries-4.2.1_2
===  Applying distribution patches for XFree86-libraries-4.2.1_2
===  Applying FreeBSD patches for XFree86-libraries-4.2.1_2
cd /usr/ports/x11/XFree86-4-libraries/work/xc/nls;  for i in Compose
XI18N_OBJS XLC_LOCALE; do  /bin/ln -s zh_TW.big5 $i/zh_TW.Big5;  done
===  Configuring for XFree86-libraries-4.2.1_2
cp: /usr/X11R6/lib/X11/config/version.def: No such file or directory
cd ./config/imake  make   -f Makefile.ini BOOTSTRAPCFLAGS= CC=cc
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f
./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from config/cf/site.def:58,
 from config/cf/Imake.tmpl:45,
 from Imakefile.c:14:
config/cf/xf86site.def:637: warning: `InstallXdmConfig' redefined
config/cf/host.def:5: warning: this is the location of the previous
definition
config/cf/xf86site.def:638: warning: `InstallXinitConfig' redefined
config/cf/host.def:6: warning: this is the location of the previous
definition
config/cf/xf86site.def:639: warning: `InstallFSConfig' redefined
config/cf/host.def:7: warning: this is the location of the previous
definition
In file included from config/cf/FreeBSD.cf:572,
 from config/cf/Imake.tmpl:94,
 from Imakefile.c:14:
config/cf/xfree86.cf:14: version.def: No such file or directory
In file included from config/cf/site.def:158,
 from config/cf/Imake.tmpl:100,
 from Imakefile.c:14:
config/cf/host.def:5: warning: `InstallXdmConfig' redefined
config/cf/xf86site.def:637: warning: this is the location of the previous
definition
config/cf/host.def:6: warning: `InstallXinitConfig' redefined
config/cf/xf86site.def:638: warning: this is the location of the previous
definition
config/cf/host.def:7: warning: `InstallFSConfig' redefined
config/cf/xf86site.def:643: warning: this is the location of the previous
definition
config/cf/host.def:10: warning: `BuildFontServer' redefined
config/cf/xf86site.def:641: warning: this is the location of the previous
definition
./config/imake/imake: Exit code 1.
  Stop.
*** Error code 1

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

Stop in /usr/ports/x11/XFree86-4-libraries.
greeneville#



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



Re: Concatenating 2 or more mbox format files

2002-10-28 Thread Michael Joyner
Quoting Michael Joyner [EMAIL PROTECTED]:
oops, typo! 

should be:

cat mboxfile1  newfile
echo  newfile
cat mboxfile2  newfile

:)

 Quoting BSD Freak [EMAIL PROTECTED]:
 
 cat mboxfile1  newfile
 echo  newfile
 cat mboxfile2  newfile
 
 the echo is *very* important. ;)
  Hi all,
  
  Does anyone have a quick and easy way to concatenate two or more MBOX 
  format mailbox files? I tried:
  
  cat mboxfile1 mboxfile2  newfile
  
  but it didn't really work...
  
  Thanks..
  
  -
  Would you like to receive faxes to your personal email address?
  You can with mBox.  Visit http://www.mbox.com.au/fax
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
  
 
 
 -- 
 FreeBSD System Administrator
 http://manhattan.hq.dyns.cx/
 
 -
 This mail sent through IMP: http://horde.org/imp/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


-- 
FreeBSD System Administrator
http://manhattan.hq.dyns.cx/

-
This mail sent through IMP: http://horde.org/imp/

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



Re: divxPlayer

2002-10-28 Thread Michael Joyner
turn on your linuxulator

btw, mplayer is a native player for *BSD that plays divx files very nicely.

Quoting Mike Johnston [EMAIL PROTECTED]:

 When i try to launch divxPlayer (up to date and compiled from ports) I get:
 
 ELF binary type 3 not known.
 Abort trap
 
 
 anyone know the fix?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


-- 
FreeBSD System Administrator
http://manhattan.hq.dyns.cx/

-
This mail sent through IMP: http://horde.org/imp/

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



Apache port version

2002-10-28 Thread Kevin D. Kinsey, DaleCo, S.P.
Sorry if this is a repeat ??, but shouldn't
/usr/ports/www/apache13/ be building 
v 1.3.27 instead of .26?

Kevin Kinsey
DaleCo, S.P.


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



Fw: Apache port version

2002-10-28 Thread Kevin D. Kinsey, DaleCo, S.P.
- Original Message - 
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 11:17 AM
Subject: Apache port version


 Sorry if this is a repeat ??, but shouldn't
 /usr/ports/www/apache13/ be building 
 v 1.3.27 instead of .26?
 
 Kevin Kinsey
 DaleCo, S.P.

And, now to be really stupid and answer
myself:  yes, it should, and it does on your
other server, idiot, so go figure out why
and THEN ask your question.

Kevin Kinsey 


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



Re: getting my router to log to my Freebsd box help ?

2002-10-28 Thread Dom Lam
Hey Brent,

Here's what I have for part of my syslog.conf
local1.warning  /var/log/sqa/TonyWarning
local1.crit /var/log/sqa/TonyCritical

I am logging to local1 crit and warning messages to files TonyCritical and
TonyWarning level messages respectively.
The one thing is you must have those files and path already there to write
to

also go to /etc/defaults/rc.conf and edit syslogd there.
I have in mine:

### Network daemon (miscellaneous) ###
syslogd_enable=YES# Run syslog daemon (or NO).
syslogd_program=/usr/sbin/syslogd # path to syslogd, if you want a
different one.
# syslogd_flags=s # Flags to syslogd (if enabled).

You should also be able to place this in your regular /etc/rc.conf.

Let me know how you make out.
I can research the Cisco side too if you want but I have confidence you got
that right.

-Dom






- Original Message -
From: Brent Bailey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 8:20 AM
Subject: Re: getting my router to log to my Freebsd box help ?


 That didnt seem to work .. I was reading on cisco's site that i might have
 to edit  /etc/syslog.conf  with something like:
 local7.* /usr/log/cisco/ubr-syslog.log

 so ive tried both senarios...and still nothing .. is it one or the other
 or both things that need to be added  or changed ??any help is VERY
appreciated

 Brent Bailey CCNA


  so would it be something like
 
  syslogd -a 172.16.x.x/24:UDP port number ??
 
  if this is so ...
  can i do this multiple times  ???
  I have multiple routers that i want to log to this FreebSD machine so
  would i do the command above on multiple lines ??
 
  or like :
  syslogd -a 172.16.x.x/24:xxx  172.16.x.x/24:xxx ???
 
  thanx
  Brent
 
 
  # [EMAIL PROTECTED] / 2002-10-23 09:18:47 -0400:
  Im trying to get my Cisco router to log to my FBSD machine..Im using
  Freebsd 4.5
  I have no issues with the router ...however im having issues trying
  to get syslog OR syslogd to accept UDP log traffic from my router
  ...and have it write to a flat text file.
  im under the assumtion that you use:
  syslogd -a ip address of router
 
 the man page says that the format is ipaddr/masklen[:service].
 that doesn't look like the /masklen part is optional.
 
  --
  If you cc me or take the list(s) out completely I'll most likely
  ignore your message.




 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



info

2002-10-28 Thread lana
hi ,,your home based business opportunity sounds interesting .. got few questions

pleasecall me 614-837-8112

thank..you
LANA


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



Re: divxPlayer

2002-10-28 Thread Steve Wingate

 
 From: Mike Johnston [EMAIL PROTECTED]
 Date: 2002/10/28 Mon AM 11:53:23 EST
 To: [EMAIL PROTECTED]
 Subject: divxPlayer
 
 When i try to launch divxPlayer (up to date and compiled from ports) I get:
 
 ELF binary type 3 not known.
 Abort trap

My guess is that you installed Linux emulation, but don't have it running 
automatically, through rc.conf.


Work like you don't need the money
Dance like nobody's watching
Love like you've never been hurt


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



Re: Typical times installing from ports via 56k modem?

2002-10-28 Thread Erik Trulsson
On Mon, Oct 28, 2002 at 11:16:13AM -0500, Mark Haney wrote:
 Hi,
 
 I'm new to FreeBSD, choosing it about two months ago as my first venture into
 the open-source OS world. I installed 4.6.0 from CD, and have updated to 4.7
 RELEASE via CVSUP. I also updated my ports collection from CVSUP, but haven't
 upgraded any of my installed ports yet.
 
 It took about 1.5 hrs for the CVSUP from 4.6.0 to 4.7, and another 2 hours for
 the build (on a P3-500 with 128MB RAM).
 
 My question is... Is it realistic to upgrade via ports with a 56K modem? I tried
 installing a few small things via ports, and it worked well, but I'm wondering
 how long it will take to download and build things like the XFree86, or GNOME.
 Do these things take days, or might I be able to accomplish it overnight?

It is quite realistic.  A back-of-the-envelope calculation indicates
that downloading the distfile for XFree86-4 over a 56K modem should
take something like 3 hours.  Buildtime for you is probably somewhat
less than that.  I believe GNOME is of similar size.
So you will most likely be able to do it overnight.




 
 Thanks in advance for answers to these questions, or any other tips on keeping
 FreeBSD up to date via ports and 56k modem. (Please copy me in replies, as I'm
 not subscribed to the list.)
 


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]

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



[no subject]

2002-10-28 Thread Sebastian Boldt
Hello,

how do I make buildworld and let it compile
the MIT Kerberos V port as the system kerberos
instead of heimdal?

thanks in advance...

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



Re: Concatenating 2 or more mbox format files

2002-10-28 Thread Cliff Sarginson
On Mon, Oct 28, 2002 at 12:06:02PM -0500, Michael Joyner wrote:
 Quoting Michael Joyner [EMAIL PROTECTED]:
 oops, typo! 
 
 should be:
 
 cat mboxfile1  newfile
 echo  newfile
 cat mboxfile2  newfile
 
A pretty damn serious typo if I may say so

 :)
 
  Quoting BSD Freak [EMAIL PROTECTED]:
  
  cat mboxfile1  newfile
  echo  newfile
  cat mboxfile2  newfile
  
  the echo is *very* important. ;)
   Hi all,
   
   Does anyone have a quick and easy way to concatenate two or more MBOX 
   format mailbox files? I tried:
   
   cat mboxfile1 mboxfile2  newfile
   
   but it didn't really work...
   
   Thanks..
   

-- 
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: divxplayer

2002-10-28 Thread Mike Johnston
Unfortunatley, adding the line linux=YES to /etc/rc.conf has not 
solved the problem of me getting :

ELF binary type 3 not known.
Abort trap.

I've tried running netscape communciator as well with the same msg.

so it's definitely linux ports.. and i have linux-base-7.1.1 installed.


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


Re: MIT Kerberos

2002-10-28 Thread D. Penev
On Mon, Oct 28, 2002 at 09:08:01PM +0100, Sebastian Boldt wrote:

Date: Mon, 28 Oct 2002 21:08:01 +0100
From: Sebastian Boldt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Hello,

how do I make buildworld and let it compile
the MIT Kerberos V port as the system kerberos
instead of heimdal?


You cann't compile MIT Kerberos with buildworld, instead
install kerberos port (/usr/ports/security/krb5), if you have
any lines for kerberos in make.conf comment them, leave uncomment
only KRB5_HOME=/usr/local and make buildworld.



thanks in advance...

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


--
Regards,
D. Penev

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



Share printer with CUPS and samba

2002-10-28 Thread Anish Mistry
I've tried many times to get FreeBSD machine to share it's printer though 
samba with little success.  The other day I was finally able to get the 
printer visible from my 2000 box and was able to use that Add Printer Wizard 
to upload the drivers.   The files copied just fine, but then my FreeBSD box 
just went crazy, lots of harddisk activity and then my /usr partition filled 
up (1.2 GB free).

-info
Printer: HP Deskjet 920C on the FreeBSD machine
Samba is compiled with cups support.
smb.conf--
 [global]
workgroup = WORKGROUP
netbios name = MYCOMP
encrypt passwords = Yes
;socket options = IPTOS_LOWDELAY
; print config
printer admin = @ntadmin,root
add printer command = yes
load printers = yes
printing = cups
printcap name = cups
[my_music]
path = /usr/home/amistry/windows-share/jail/ftp/pub/my-music
read only = yes
guest ok = yes
; print config
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
public = yes
guest ok = yes
writable = no
printable = yes
printer admin = @ntadmin,root
[print$]
path = /usr/local/samba/printer
guest ok = yes
browseable = yes
read only = yes
write list = @ntadmin,root


Thanks,

-- 
Anish Mistry

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



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Dan Nelson
In the last episode (Oct 28), Vivek Khera said:
  DN == Dan Nelson [EMAIL PROTECTED] writes:
 DN When you did the install, you probably just skipped that options dialog
 DN that came up, right?  All the options on that page are select to
 DN enable, except CUPS which is select to _disable.  Rebuild samba, and
 DN select the Without CUPS line.  Quite annoying.  I work around it by
 DN adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in
 DN net/samba/Makefile.
 
 CUPS is linked in both 2.2.5 and 2.2.6, but in 2.2.6 it seems to want
 to actually *use* it even though I don't configure it.
 
 Also, if I select the Disable CUPS flag, all it accomplishes is to
 not register the dependency.  CUPS is still linked for some reason.

Ah. The port Makefile probably needs to be tweaked a bit then.  It
looks like samba will use cups if it can find it.  Try this:

diff -u -r1.104 Makefile
--- Makefile17 Oct 2002 13:49:31 -  1.104
+++ Makefile28 Oct 2002 17:26:04 -
@@ -123,6 +125,8 @@
 LIB_DEPENDS+=  cups.2:${PORTSDIR}/print/cups-base
 CONFIGURE_ENV+=CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+=   --without-cups
 .endif
 
 .if defined(KRB5_HOME)  exists(${KRB5_HOME})

 
 Does your smbd have cups linked (as reported by ldd)?

No, since I don't have the cups port installed, so samba couldn't use
it.
 
-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Garance A Drosihn
At 12:03 PM -0500 10/28/02, Vivek Khera wrote:

  DN == Dan Nelson [EMAIL PROTECTED] writes:


 but I have not enabled CUPS in samba at all.  Does anyone know what I
 need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
 my config:


DN When you did the install, you probably just skipped that options dialog
DN that came up, right?  All the options on that page are select to
DN enable, except CUPS which is select to _disable.  Rebuild samba, and
DN select the Without CUPS line.  Quite annoying.  I work around it by
DN adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in
DN net/samba/Makefile.

CUPS is linked in both 2.2.5 and 2.2.6, but in 2.2.6 it seems to want
to actually *use* it even though I don't configure it.

Also, if I select the Disable CUPS flag, all it accomplishes is to
not register the dependency.  CUPS is still linked for some reason.

Does your smbd have cups linked (as reported by ldd)?


Be a little careful here.  It sounds like you:

  1) installed samba-with-cups
 a) which by definition would install CUPS, if you did
not already have it installed.

  2) backed off to previous version of samba
 a) which backs out the version of *samba* that was installed,
but probably does not back out versions of any other
ports which were installed while installing a new samba.

  3) installed samba-without-cups
 a) ...but CUPS is probably still installed.
 b) if so, the configure scripts for samba will notice that
CUPS is on the machine, and will probably use it.  This
would be the correct behavior, IMO, because if you *do*
have CUPS installed then samba *should* use it.

Some of that is just guessing on my part, but it sounds pretty
plausible.  I would suggest that you see if CUPS is installed.
Also check to see if it is a recent install.  If so, then
/usr/local/sbin/pkg_deinstall cups
and then try the samba-without-cups install once again.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

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



[no subject]

2002-10-28 Thread James Dean
I am running FreeBSD stable and am having issues with my CD-RW drive that I 
didn't before.  I have recently reinstalled, due to QT3/KDE3 issues that I 
just gave up on, but the drive was working fine with burncd and such, but no 
I get errors even trying to mount about the device not being configured.  
There are two drives and in my /dev/ there is an acd0a, acd0c, acd1c but no 
acd1a and when I run ./MAKEDEV acd1a I get an error about a limit of 32 
devices.  The handbook said to add device acd1 and acd0 to the kernel, but 
the build says that acd is an unknown device.  Here are the errors and my 
current kernel files, any help would be great.

./MAKEDEV acd1a
[: 1a: bad number
acd1a is invalid -- can't have more than 32 cd devices

mount -t cd9660 /dev/acd1c /cdrom1
cd9660: /dev/acd1c: Device not configured

burncd -f /dev/acd1c -s 6 data WarLinux-0.5cd.iso fixate
burncd: open(/dev/acd1c): Device not configured

machine i386
cpu I686_CPU
ident   BSDGURU
maxusers32

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

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

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

device  isa
device  eisa
device  pci
device  pcm

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

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  cd  # CD

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12

device  vga0at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100

# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13

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

Re:

2002-10-28 Thread Michael Joyner
have your tried:
cd /dev
sh MAKEDEV acd1 
?
Quoting James Dean [EMAIL PROTECTED]:

 I am running FreeBSD stable and am having issues with my CD-RW drive that I 
 didn't before.  I have recently reinstalled, due to QT3/KDE3 issues that I 
 just gave up on, but the drive was working fine with burncd and such, but no
 
 I get errors even trying to mount about the device not being configured.  
 There are two drives and in my /dev/ there is an acd0a, acd0c, acd1c but no 
 acd1a and when I run ./MAKEDEV acd1a I get an error about a limit of 32 
 devices.  The handbook said to add device acd1 and acd0 to the kernel, but 
 the build says that acd is an unknown device.  Here are the errors and my 
 current kernel files, any help would be great.
 
 ./MAKEDEV acd1a
 [: 1a: bad number
 acd1a is invalid -- can't have more than 32 cd devices
 
 mount -t cd9660 /dev/acd1c /cdrom1
 cd9660: /dev/acd1c: Device not configured
 
 burncd -f /dev/acd1c -s 6 data WarLinux-0.5cd.iso fixate
 burncd: open(/dev/acd1c): Device not configured
 
 machine i386
 cpu I686_CPU
 ident   BSDGURU
 maxusers32
 
 #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug 
 symbols
 
 options MATH_EMULATE#Support for x87 emulation
 options INET#InterNETworking
 options INET6   #IPv6 communications protocols
 options FFS #Berkeley Fast Filesystem
 options FFS_ROOT#FFS usable as root device [keep 
 this!]
 options SOFTUPDATES #Enable FFS soft updates support
 options UFS_DIRHASH #Improve performance on big 
 directories
 options MFS #Memory Filesystem
 options MD_ROOT #MD is a potential root device
 options NFS #Network Filesystem
 options NFS_ROOT#NFS usable as root device, NFS 
 required
 options MSDOSFS #MSDOS Filesystem
 options CD9660  #ISO 9660 Filesystem
 options CD9660_ROOT #CD-ROM usable as root, CD9660 
 required
 options PROCFS  #Process filesystem
 options COMPAT_43   #Compatible with BSD 4.3 [KEEP 
 THIS!]
 options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
 options UCONSOLE#Allow users to grab the console
 options USERCONFIG  #boot -c editor
 options VISUAL_USERCONFIG   #visual boot -c editor
 options KTRACE  #ktrace(1) support
 options SYSVSHM #SYSV-style shared memory
 options SYSVMSG #SYSV-style message queues
 options SYSVSEM #SYSV-style semaphores
 options P1003_1B#Posix P1003_1B real-time extensions
 options _KPOSIX_PRIORITY_SCHEDULING
 options ICMP_BANDLIM#Rate limit bad replies
 options KBD_INSTALL_CDEV# install a CDEV entry in /dev
 options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
 # output.  Adds ~128k to driver.
 options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
 # output.  Adds ~215k to driver.
 options CPU_ENABLE_SSE
 options USER_LDT
 options TCP_DROP_SYNFIN
 options EXT2FS  # Mount linux partition
 options COMPAT_LINUX
 
 # To make an SMP kernel, the next two are needed
 #optionsSMP # Symmetric MultiProcessor Kernel
 #optionsAPIC_IO # Symmetric (APIC) I/O
 
 device  isa
 device  eisa
 device  pci
 device  pcm
 
 # Floppy drives
 device  fdc0at isa? port IO_FD1 irq 6 drq 2
 device  fd0 at fdc0 drive 0
 
 # ATA and ATAPI devices
 device  ata0at isa? port IO_WD1 irq 14
 device  ata1at isa? port IO_WD2 irq 15
 device  ata
 device  atadisk # ATA disk drives
 device  atapicd # ATAPI CDROM drives
 device  atapifd # ATAPI floppy drives
 options ATA_STATIC_ID   #Static device numbering
 
 # SCSI peripherals
 device  scbus   # SCSI bus (required)
 device  da  # Direct Access (disks)
 device  cd  # CD
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device  atkbdc0 at isa? port IO_KBD
 device  atkbd0  at atkbdc? irq 1 flags 0x1
 device  psm0at atkbdc? irq 12
 
 device  vga0at isa?
 
 # splash screen/screen saver
 pseudo-device   splash
 
 # syscons is the default console driver, resembling an SCO console
 device  sc0 at isa? flags 0x100
 
 # 

Re:mjoyner2@hq.dyns.cx

2002-10-28 Thread James Dean
Thanks, I hadn't, of course, tried the obvious and it worked, that was 
really quick, thanks alot!
Toomanymirrors





_
Surf the Web without missing calls! Get MSN Broadband.  
http://resourcecenter.msn.com/access/plans/freeactivation.asp


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


Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
 GAD == Garance A Drosihn Garance writes:

GAD Some of that is just guessing on my part, but it sounds pretty
GAD plausible.  I would suggest that you see if CUPS is installed.
GAD Also check to see if it is a recent install.  If so, then
GAD /usr/local/sbin/pkg_deinstall cups
GAD and then try the samba-without-cups install once again.

Yeah... it seems that the Without CUPS option to Samba doesn't do
the right thing if cups-base is installed (ie, for KDE).

Also, it seems that if Samba is built with CUPS, it doesn't honor the
printing=bsd setting and tries to use CUPS anyway.

I just built with cups_base removed and printing seems to work again.

Thanks for the tip.  Luckily the machine running samba doesn't have/need
KDE on it.

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



Re: samba printing stopped after upgrade to 2.2.6

2002-10-28 Thread Vivek Khera
 DN == Dan Nelson [EMAIL PROTECTED] writes:

DN Ah. The port Makefile probably needs to be tweaked a bit then.  It
DN looks like samba will use cups if it can find it.  Try this:

Thanks for the patch.  I ended up just deleting cups_base since it was
not needed for any other port on my system.  Looks like a Samba bug if
it ignores bsd style printing if CUPS is linked...

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



Compaq NC6134 gigabit ethernet drivers for FreeBSD 4.7

2002-10-28 Thread Montgomery, Les
I'm looking for a FreeBSD driver to support Compaq's NC6134 PCI gig ethernet
HBA.  
Any help would be appreciated.

Fyi - Compaq's site does have Linux (Suse and Redhat) drivers available

Thanks.

Les Montgomery


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



linux_base-7.1_1 fails

2002-10-28 Thread David Banning
On install, I get the following error on a port;

glibc-2.2.4-29.i386.rpm
execution of glibc-2.2.4-29 script failed, exit status 0
*** Error code 1

Stop in /usr/ports/emulators/linux_base.
*** Error code 1

I have done a make clean, and deleted the rpm in the distfile
and restarted the install with the same effect.
Any idea what is causing this? 

I am not sure if it's related, but I recently did an upgrade from
4.5Stable to 4.7Stable which caused netscape(linux) to not work.
One thing led to another and I am attempting to install netscape again
and linux base along with it.


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



Re: re: divxplayer

2002-10-28 Thread Steve Wingate
 
 Unfortunatley, adding the line linux=YES to /etc/rc.conf has not 
 solved the problem of me getting :
 
 ELF binary type 3 not known.
 Abort trap.
 
 I've tried running netscape communciator as well with the same msg.

Did you reboot afterwards?


Work like you don't need the money
Dance like nobody's watching
Love like you've never been hurt


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



Re: Installing XFree-4 from ports

2002-10-28 Thread Kris Kennaway
On Mon, Oct 28, 2002 at 05:07:20PM -, G D McKee wrote:
 Hi
 
 I keep getting the following error when I try to complie
 /usr/ports/x11/XFree86-4
 
 Here is the error:
 
 greeneville# cd /usr/ports/x11/XFree86-4
 greeneville# make

Do you have a stale imake port installed?  Remove it.

Kris



msg06887/pgp0.pgp
Description: PGP signature


Re: Installing XFree-4 from ports

2002-10-28 Thread Kris Kennaway
On Mon, Oct 28, 2002 at 09:00:59PM -, G D McKee wrote:
 Hi
 
 I have had a look at the installed ports and this is not one.
 
 Here is the list
 
 greeneville# cd /var/db/pkg/
 greeneville# ll -d im*
 drwxr-xr-x  2 root  wheel  512 Dec 22  2001 imap-uw-2001a,1
 greeneville#
 
 Many thanks

I don't understand what you're trying to say.

Kris



msg06888/pgp0.pgp
Description: PGP signature


Re: root-tail question

2002-10-28 Thread Kent Stewart


Bryan Cassidy wrote:
 I don't know if this is the appropriate mailing list but it should
 be pretty simple for someone to answer so. I just installed
 root-tail from the ports and when I root-tail -f /var/log/message
 and it prints the output from /var/log/messages on the top left
 of the window and the text is kinda small. I was wondering 3
 things. First I would like to know how do I change the font size,
 second how could I make it go to the bottom left but not all the
 way down so it would cover the toolbar of fluxbox. I dont want it
 to cover the toolbar. Third is if anyone uses root-tail could you
 post what options you use when you load root-tail?


I don't try and position it and I use the default fonts. I have then 
set up as a session default. All text comes up with that size font.

The only thing I have found is that the default tail doesn't include
enough lines. So I have aliases like

slog(tail -30 /var/log/security)
slog5   (tail -50 /var/log/security)

The longer ones I only use from a windowed environment such as
SecureCRT on W2K or a console windows on kde-3 with scrollbars on the
right side. I have one called mlog which looks at messages and so 
on. One my web server, I have aliases that display both lengths of the 
current httpd-access.log and error log.  As a personal preference, I 
don't believe in using long names like root-tail. I also have aliases 
like vlog that cd into /var/log and etc.

Kent

--
Kent Stewart
Richland, WA

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


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


dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Paulo Roberto
Hi,

I have read the man pages, searched a few forums, but I did not found a
way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
access to the dhcp server configuration, so I need to change it on my
client. I also tried to chmod it to only read mode, but that did not
work out. Any tips?

thanks

Paulo

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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



video cards supported

2002-10-28 Thread Tony Esposito
Hello,
I can not find any list of video cards supported for FreeBSD 4.0 at
http://www.freebsd.org.
Can you assist?
Thanks!

Anthony (Tony) Esposito
Database Administrator
Inovis(tm), formerly Harbinger and Extricity
2425 North Central Expressway
Suite 900
Richardson, Texas 75080, USA
Direct (972)643-3115
Fax (972)479-9779



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



Re: Installing XFree-4 from ports

2002-10-28 Thread G D McKee
Hi

I have had a look at the installed ports and this is not one.

Here is the list

greeneville# cd /var/db/pkg/
greeneville# ll -d im*
drwxr-xr-x  2 root  wheel  512 Dec 22  2001 imap-uw-2001a,1
greeneville#

Many thanks

Gordon

- Original Message -
From: Kris Kennaway [EMAIL PROTECTED]
To: G D McKee [EMAIL PROTECTED]
Cc: Freebsd-Questions@Freebsd. Org (E-mail)
[EMAIL PROTECTED]
Sent: Monday, October 28, 2002 8:49 PM
Subject: Re: Installing XFree-4 from ports




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



Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Philip Hallstrom
Never tried it, but you could look for the spot in the various rc* files
that setup dhcp and once it's done re-write /etc/resolv.conf with what you
want it to be...

?

On Mon, 28 Oct 2002, Paulo Roberto wrote:

 Hi,

 I have read the man pages, searched a few forums, but I did not found a
 way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
 access to the dhcp server configuration, so I need to change it on my
 client. I also tried to chmod it to only read mode, but that did not
 work out. Any tips?

 thanks

 Paulo

 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/

 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: DUMP: bad sblock magic number

2002-10-28 Thread Brent Kearney

Thanks for the reply.  I must have been thinking of ufsdump from
solaris... I'm having another difficulty with dump on FreeBSD 4.2
though:  the nodump flag is being ignored. 

Since I can't dump directories, and I need to dump /home/foo, I
set `chflag nodump` to /home/*, and then removed nodump for 
/home/foo.  Doing the same dump command I issue below simply 
ignores the nodump flags and tries to dump the whole /home fs.
The same thing happens for different dump levels, and with '-h 1'
or without the -h flag.

Is the nodump flag a documented, but un-implemented feature?

Thanks again,

Brent


On Mon, Oct 21, 2002 at 10:12:24PM -0400, Lowell Gilbert wrote:
 Brent Kearney [EMAIL PROTECTED] writes:
 
  Hello, I'm trying the following on FreeBSD 4.2:
  
  dump -0 -h 0 -u -a -f /dev/nsa0 /home/foo
  
  And the dump is dying with the message:
  
DUMP: Dumping /home/shared to /dev/nsa0
DUMP: bad sblock magic number
DUMP: The ENTIRE dump is aborted.
  
  /home/foo is not a mount point, but I seem to remember FreeBSD's dump 
  being able to dump subdirectories.
 
 The man page seems to say otherwise, so you're on your own there.
 Luckily, you have the source.
 
  I can dump /home (which is a mount
  point) without any errors, so its not a problem with /dev/nsa0.  What
  does bad sblock magic number mean?
 
 It means, more or less, that it can't find a valid filesystem for the
 parameters given it.

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



Re: video cards supported

2002-10-28 Thread Steve Wingate

 
 From: Tony Esposito [EMAIL PROTECTED]
 Date: 2002/10/23 Wed PM 05:44:52 EDT
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: video cards supported
 
 Hello,
   I can not find any list of video cards supported for FreeBSD 4.0 at
 http://www.freebsd.org.
   Can you assist?
   Thanks!

Because the video card support has little to do with FreeBSD (nvidia binary drivers 
notwithstanding). The list of video cards supported by X11 would be found at 
www.xfree86.org. 


Work like you don't need the money
Dance like nobody's watching
Love like you've never been hurt


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



bringing webmin online per need

2002-10-28 Thread Lord Raiden
	I'm wondering how I would go about bringing the webmin admin program up 
only when I needed it?  I want to be able to start it from the shell, use 
it as needed, then kill it again to help aid security a bit.  I don't like 
the idea of just leaving it running all the time if I don't need 
it.  Anyone got any good suggestions for this?  Maybe example start and 
kill scripts that could be executed at the command line?  That way I make 
sure that I start and kill all related services correctly.


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


Re: Home network design

2002-10-28 Thread Nick Rogness
On Mon, 28 Oct 2002, Kristin Guttormsen wrote:


 I have been playing around with different configurations for my home
 network for some time and while I have learned much of the specifics, I
 remain dissatisfied with my general concepts.  I hope someone can offer
 some clarity to my designs, and then I should be able to solve the
 specifics (I hope) with time and study.

 I have a cable connection through ATTBI (1-5 dynamic IP's available at
 $5/month a piece after the first, no truly static IP's).

 I have three registered domains (mynet1.net, mynet2.net, mynet3.net) and
 can work out dynamic dns using available free resources.

 I have 4 user pc's (win98se, nt4 workstation, win2k, winxp mix) that
 need constant connection, a networked ps2 (needed as I'm a beta tester),
 an occasionally laptop connection needed (win2k or xp), and I'd like to
 be able to let 1-5 people drop in whenever for lan parties.  I also have
 4 constant servers built (2 freebsd, 1 will be sol linux when it
 arrives, 1 linux of oft changing flavor), and I also have one borrowed
 server which I'm currently using for my Novell training which may
 eventually join the network (undecided yet).

 Network hardware currently available: 5 port switch, router w/ 4 port
 switch, 4 port hub, and I'm picking up an 8 port switch next week
 sometime.

 I have 2 public websites to host and one which I use purely for testing
 and fun.  I have had ftp, irc, mail (only for my private domain, not the
 two others), nntp, and a game server running publicly.  I have remote
 storage (a private fileserver for friends (mostly mp3 and video)) and a
 mysql server which are not for public use but which DO need to be fully
 accessible from any location (as well as desiring remote network
 management just for showing off).

 I'd like to be moderately secure, although I'm not talking about fortune
 500 class sensitive material.  If nothing else, I'm doing all this to
 broaden my skills and experience and have a little fun.

 Where I start to break down is deciding what to do as far as how many
 ip's to get and where to assign them.  Do I build a full DMZ, or use a
 3rd nic DMZ out of a firewall gateway, or just lump them altogether?
 Should I run the servers each with the public IP's and share the private
 systems behind NAT, or the other way around, or should everything use
 NAT behind a single or maybe two public IP's?  So far I've compiled
 about 11 different network designs but don't have enough knowledge to
 know the pro's and cons each would present.  Can anyone suggest an
 appropriate physical layout and address scheme (and if anyone is feeling
 REALLY helpful how they would break down the application load across the
 different machines (ie what services would play together nicely residing
 on the same server)?

This is a rather difficult question to answer.  It's like asking
a fisherman how to catch a fish.  Everyone has there own ideas on
how you should do this.  It depends mostly on what you want to
accomplish or what has more importance, functionality or security.

However, I'll take a shot at it.  Consider the following diagram:


Internet Connection
|
|
HUB/SW
|
|
NAT
|
Web Server 
FreeBSD Firewall ---HUB/sw  protected machines
(DMZ)   (RFC1918) 10.0.0.0
|   OR ext. IP subnet
|
HUB/Sw
|
  Private Lan (192.168 or other RFC1918)


The service breakdown is simple.  Anything that needs to be
accessed FROM the outside world (ie, the Internet) put on the
DMZ.  Firewall off the important services for the DMZ network.
Put general machines in the private segement.  Run NAT where
needed.

This is generally how most firewall appliances (like Cisco PIX,
Sonic Wall, etc) work.  It's just a matter of preference anyway,
it's not like your running some massive network service.

Of course, you could just KISS and put everything behind a BSD
gateway and NAT certain ports to different machines.  That is the
easiest.



Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]







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



Re: Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Steve Wingate
  I have read the man pages, searched a few forums, but I did not found a
  way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
  access to the dhcp server configuration, so I need to change it on my
  client. I also tried to chmod it to only read mode, but that did not
  work out. Any tips?
 

Depending what it is you want to not be overwritten you should be able to achieve the 
desired results throught supersede and/or prepend statements in dhcp.conf.
OpenBSD supports use of a resolv.conf.tail file that also hold entries you don't want 
overwritten (no idea about FreeBSD).


Work like you don't need the money
Dance like nobody's watching
Love like you've never been hurt


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



re: divxplayer

2002-10-28 Thread Nick Rogness
On Mon, 28 Oct 2002, Mike Johnston wrote:

 Unfortunatley, adding the line linux=YES to /etc/rc.conf has not
 solved the problem of me getting :

Should be:

linux_enable=YES



 ELF binary type 3 not known.
 Abort trap.

 I've tried running netscape communciator as well with the same msg.

 so it's definitely linux ports.. and i have linux-base-7.1.1 installed.


When you run from the command line:

# linux

What does it say?


Nick Rogness [EMAIL PROTECTED]
-
 Wouldn't it be great if we could answer people with a
  kick to the crotch?  [EMAIL PROTECTED]



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



Kerberos is set up - now what?

2002-10-28 Thread Kirk Strauser
I'm trying to get some practical experience with Kerberos on my FreeBSD-4.7
server.  I installed both versions from source by adding:

  MAKE_KERBEROS4= yes
  MAKE_KERBEROS5= yes

to /etc/make.conf and building world.  I followed some HOWTOs from the web
and made a few principals to experiment with.  Now that everything seems to
be working, what are some good Kerberized services to experiment with?  My
goal for playing with Kerberos is building a single-login set of services;
I'd like to log in to a workstation, and have ready access to mail, ftp, and
logging in various Unix servers on my LAN.  I don't have any specific need
that I'm trying to meet, other than learning about a large-scale AAA system
that I have no previous experience with.

For starters, how do I configure sshd to allow Kerberos authentication?
-- 
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



Re: bringing webmin online per need

2002-10-28 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (10.28.2002 @ 1520 PST): Lord Raiden said, in 0.6K: 
   I'm wondering how I would go about bringing the webmin admin program 
   up only when I needed it?  I want to be able to start it from the shell, 
 use it as needed, then kill it again to help aid security a bit.  I don't 
 like the idea of just leaving it running all the time if I don't need 
 it.  Anyone got any good suggestions for this?  Maybe example start and 
 kill scripts that could be executed at the command line?  That way I make 
 sure that I start and kill all related services correctly.
 end of bringing webmin online per need from Lord Raiden 

Real easy:

start: /usr/local/etc/rc.d/webmin.sh start
stop:  /usr/local/etc/rc.d/webmin.sh stop

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9vcpRo8KM2ULHQ/0RAgcuAKDBl0uJZNp5EFsi1lYQSrsygsFYsgCfXF6J
J8QfOCuikzKWxy/xNwJ9Vj4=
=Ih/V
-END PGP SIGNATURE-

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



Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Robin Damm
On Mon, Oct 28, 2002 at 02:11:48PM -0800, Paulo Roberto wrote:
 Hi,
 
 I have read the man pages, searched a few forums, but I did not found a
 way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
 access to the dhcp server configuration, so I need to change it on my
 client. I also tried to chmod it to only read mode, but that did not
 work out. Any tips?

man dhclient.conf

As an example my /etc/dhclient.conf contains the following:

interface ed0 {
supersede domain-name-servers 127.0.0.1;
append domain-name  example.com;
}

The resulting /etc/resolv.conf looks like this:

search isp.domain.com example.com
nameserver 127.0.0.1

-- 
Robin Damm [EMAIL PROTECTED]

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



[hardware] Tagged Command Queuing or Larger Cache ?

2002-10-28 Thread Wilkinson,Alex
Howdy Crew,

I am about to buy a new hard disk for my FreeBSD work station.
Since FreeBSD's ATA drivers implement Tagged Command Queuing and IBM make
the only ATA disks that implement tagged command queuing ( ie since the 60GXP family ),
an IBM 40GB 120GXP looks like the best solution.

However, my question is:

Do the benifits from a having a larger disk cache such as the WD 40GB 7200RPM w/8MB 
Cache
has, outweigh the benefits of Tagged Command Queuing ?

Thanks

 - aW




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



Ñåìèíàðû â íîÿáðå

2002-10-28 Thread russiaseminar
   Ìåæäóíàðîäíûé èíôîðìàöèîííûé êîíñàëòèíãîâûé Öåíòð 


Ïðèãëàøàåò ðóêîâîäèòåëåé ïðåäïðèÿòèé, ôèíàíñîâûõ äèðåêòîðîâ, ðóêîâîäèòåëåé 
ïëàíîâî-ýêîíîìè÷åñêèõ ñëóæá, ñïåöèàëèñòîâ ïî óïðàâëåíèþ ôèíàíñàìè, à òàêæå
  ÷àñòíûõ ëèö ïðèíÿòü ó÷àñòèå ñåìèíàðàõ-ïðàêòèêóìàõ, ïðîâîäèìûõ â íîÿáðå 
 2002 ãîäà â Êèåâå:

  Îòåëü «Ñàíêò-Ïåòåðáóðã» ã. Êèåâ, áóëüâàð Ò. Øåâ÷åíêî, 4 


^^

   ÏÐÎÁËÅÌÛ ÈÑÏÎËÍÅÍÈß ÑÓÄÅÁÍÛÕ ÐÅØÅÍÈÉ. 
  Ïðàêòè÷åñêèå àñïåêòû.  

5 íîÿáðÿ

   Ïðîáëåìû ñ èñïîëíåíèåì ñóäåáíûõ ðåøåíèé - ãîëîâíàÿ áîëü äëÿ ìíîãèõ 
óêðàèíñêèõ ïðåäïðèÿòèé. Äàæå ïðè íàëè÷èè ðåøåíèÿ õîçÿéñòâåííîãî ñóäà î 
âçûñêàíèè äîëãà ïðîöåäóðà åãî âîçâðàòà ìîæåò çàòÿíóòüñÿ íà äëèòåëüíûé ñðîê. 
Ê ñîæàëåíèþ, îòñóòñòâèå ó äîëæíèêà äåíåæíûõ ñðåäñòâ è èìóùåñòâà, 
áåçäåÿòåëüíîñòü ñóäåáíûõ èñïîëíèòåëåé, à òàêæå ñîçäàíèå ïðåïÿòñòâèé 
ìåñòíûìè âëàñòÿìè, ïðåïÿòñòâóþò áûñòðîìó èñïîëíåíèþ ñóäåáíûõ ðåøåíèé. 
Îñîáîå âíèìàíèå áóäåò óäåëåíî îñâåùåíèþ ïðîáëåìíûõ âîïðîñîâ èç ïðàêòèêè 
èñïîëíèòåëüíîãî ïðîèçâîäñòâà. 
   Ñåìèíàð îðèåíòèðîâàí íà ïðàêòèêîâ, çàíèìàþùèõñÿ âîïðîñàìè âîçâðàòà 
äîëãîâ è íîñèò ñóãóáî ïðàêòè÷åñêèé õàðàêòåð.

Âåä¸ò ñåìèíàð: çàìåñòèòåëü äèðåêòîðà Äåïàðòàìåíòà Ãîñóäàðñòâåííîé 
èñïîëíèòåëüíîé ñëóæáû Ìèíèñòåðñòâà Þñòèöèè Óêðàèíû: ÊÓÇÜ À.Ð. 

ÑÒÎÈÌÎÑÒÜ Ó×ÀÑÒÈß:

350 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 1-2 ðÿäó - V.I.P. ðÿäû
310 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 3-5 ðÿäó.
Äëÿ âòîðîãî è òðåòüåãî ó÷àñòíèêà ñêèäêà - 5% è 7% ñîîòâåòñòâåííî.


^^
  ÑÈÑÒÅÌÀ ÑÁÛÒÀ è ÄÈËÅÐÑÊÀß ÑÅÒÜ: 
  ïîñòàíîâêà, ðàçâèòèå, êîíòðîëü. 

  12 íîÿáðÿ 

Ýôôåêòèâíàÿ ðàáîòà ñëóæáû ñáûòà ñòàíîâèòñÿ îäíèì èç êëþ÷åâûõ óñëîâèé 
óñïåøíîãî ðàçâèòèÿ áèçíåñà. 
Êàê ïðàâèëüíî îðãàíèçîâàòü ðàáîòó ñëóæáû ñáûòà? Êàê ïëàíèðîâàòü ñáûò? 
Êàê ðàçðàáîòàòü ýôôåêòèâíóþ ñòðàòåãèþ ñáûòà â êîíêóðåíòíîé ñðåäå 
èìåííî äëÿ Âàøåé êîìïàíèè? Cëóøàòåëÿì ñåìèíàðà áóäåò ïðåäëîæåí ñèñòåìíûé 
ïîäõîä ê ïîñòðîåíèþ äèëåðñêîé ñåòè, äàíû ðåêîìåíäàöèè ïî ïîñòðîåíèþ 
äîëãîñðî÷íûõ îòíîøåíèé ñ ïåðñïåêòèâíûìè äèëåðàìè è ðåêîìåíäàöèè ïî ðåøåíèþ 
íàèáîëåå òèïè÷íûõ ïðîáëåì è íåñòàíäàðòíûõ ñèòóàöèé.
Ïðèíÿâ ó÷àñòèå â ñåìèíàðå, ñëóøàòåëè ñìîãóò óñïåøíî ðåøàòü ýòè è ìíîãèå 
äðóãèå çàäà÷è ïî óïðàâëåíèþ ñáûòîì. 

Âåä¸ò ñåìèíàð: ÊÀËÌÛÊΠÀ.Ñ. - áèçíåñ-êîíñóëüòàíò ïî òîðãîâëå. 
Ïðîøåë îáó÷åíèå â èíñòèòóòå ïðîåêòíûõ ìåíåäæåðîâ AGIT, Ãåðìàíèÿ. 
Ñòàæèðîâàëñÿ â âåäóùåé åâðîïåéñêîé òîðãîâîé êîìïàíèè METRO, Ãåðìàíèÿ. 
Àâòîð ïðîåêòîâ äëÿ êîìïàíèé EUROMART, UNITRADE, METRO, ÃÀÌÌÀ, PUMA, ÝÍÐÀÍ, 
MEZOKRED, ÍÜÞ ÂÈÍÄ ËÅÍÒÀ, FOZZY, ÈÍÒÅÐÒÅÕÍÈÊÀ è äð.

ÑÒÎÈÌÎÑÒÜ Ó×ÀÑÒÈß:

333 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 1-2 ðÿäó - V.I.P. ðÿäû
299 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 3-5 ðÿäó.
Äëÿ âòîðîãî è òðåòüåãî ó÷àñòíèêà ñêèäêà - 5% è 7% ñîîòâåòñòâåííî.

^^
ÏÎÑÒÀÍÎÂÊÀ ÑÈÑÒÅÌÛ ÁÞÄÆÅÒÈÐÎÂÀÍÈß.

  14 íîÿáðÿ

   Ïðîöåññ ïîñòàíîâêè áþäæåòèðîâàíèÿ òðåáóåò ñëàæåííîé ðàáîòû âñåõ ïîäðàçäåëåíèé 
êîìïàíèé âî ãëàâå ñ ôèíàíñîâîé ñëóæáîé. Íà ñåìèíàðå-ïðàêòèêóìå ðàññìàòðèâàåòñÿ 
ïîñëåäîâàòåëüíîñòü äåéñòâèé, íåîáõîäèìûõ äëÿ ïîñòàíîâêè ñèñòåìû áþäæåòíîãî 
óïðàâëåíèÿ, íà÷èíàÿ ñ ïðåäâàðèòåëüíîé óïðàâëåí÷åñêîé è ôèíàíñîâîé äèàãíîñòèêè 
êîìïàíèè è çàêàí÷èâàÿ ðàçðàáîòêîé ïàêåòà âíóòðåííèõ óïðàâëåí÷åñêèõ äîêóìåíòîâ 
ïî áþäæåòèðîâàíèþ.
   Ó÷àñòèå â ñåìèíàðå, ïðîãðàììà êîòîðîãî ïîñòðîåíà íà îñíîâå îáîáùåíèÿ 
ïðàêòè÷åñêîãî îïûòà, ïîçâîëèò ñëóøàòåëÿì ñàìîñòîÿòåëüíî ñôîðìèðîâàòü äëÿ ñâîåé 
êîìïàíèè òåõíîëîãèþ âíåäðåíèÿ áþäæåòèðîâàíèÿ, à òàêæå ñèñòåìó îöåíêè ðåçóëüòàòîâ 
ðàçðàáîòàííîé ìîäåëè áþäæåòíîãî óïðàâëåíèÿ.

Âåä¸ò ñåìèíàð: Ëþáèì Ãåðàñèìåíêî - ôèíàíñîâûé êîíòðîëåð (financial controller)  
êîìïàíèè Ôèëèï Ìîððèñ Óêðàèíà. Ñåðòèôèöèðîâàííûé ìåæäóíàðîäíûé áóõãàëòåð-àóäèòîð 
ACCA. Ïðîøåë îáó÷åíèå â Óíèâåðñèòåòå Ïýéñ (ÑØÀ). Àâòîð óíèêàëüíûõ ðàçðàáîòîê 
è ìåòîäèê áþäæåòèðîâàíèÿ.

Ïàðòíåð ñåìèíàðà: Êîðïîðàöèÿ Ãàëàêòèêà (ÐÔ) - îäèí èç êðóïíåéøèõ â ÑÍÃ 
ðàçðàáîò÷èêîâ êîìïëåêñíûõ ðåøåíèé â îáëàñòè àâòîìàòèçàöèè óïðàâëåíèÿ 
ïðîèçâîäñòâåííî-õîçÿéñòâåííîé è ôèíàíñîâîé äåÿòåëüíîñòüþ ïðåäïðèÿòèÿ. 

ÑÒÎÈÌÎÑÒÜ Ó×ÀÑÒÈß:

350 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 1-2 ðÿäó - V.I.P. ðÿäû
310 ãðí. áåç ÍÄÑ (åäèíûé íàëîã) - çà îäíîãî ó÷àñòíèêà ñ ìåñòîì â 3-5 ðÿäó.
Äëÿ âòîðîãî è òðåòüåãî ó÷àñòíèêà ñêèäêà - 5% è 7% ñîîòâåòñòâåííî.

^^^
   ÂÝÄ êîíòðàêòû: òàìîæåííûé êîíòðîëü.

Re: video cards supported

2002-10-28 Thread John Bleichert
On Mon, 28 Oct 2002, Steve Wingate wrote:

 Date: Mon, 28 Oct 2002 18:04:23 -0500
  
  From: Tony Esposito [EMAIL PROTECTED]
  Date: 2002/10/23 Wed PM 05:44:52 EDT
  To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
  Subject: video cards supported
  
  Hello,
  I can not find any list of video cards supported for FreeBSD 4.0 at
  http://www.freebsd.org.
  Can you assist?
  Thanks!
 
 Because the video card support has little to do with FreeBSD (nvidia binary drivers 
notwithstanding). The list of video cards supported by X11 would be found at 
www.xfree86.org. 
 
 

Specifically, 

http://www.xfree86.org/current/Status.html



#  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: FreeBSD 4.7 Watchdog Timeouts

2002-10-28 Thread Sander Holthaus - Orange XL
Please, surely there must be ANYONE who knows something about this. Which
mail-list can I also address to try t solve this?

 Since FreeBSD 4.5, I've been using a Toshiba Satellite 320 CDT laptop with
 a Xircom Realport REM56G PCMCIA networkcard (and modem). While not easy, I
 got it to work under 4.5, and later 4.6 by setting it to PCIC-complaint
 under the BIOS (instead of 16bit mode), using IRC 10 and putting
 machdep.pccard.mem_start=0xd in sysctl.conf. I always got a few
Watchdog
 timeouts on starting up and when the card had to autonegoiate the media,
but
 it worked.

 Now, I upgraded to FreeBSD 4.7, and the card has stopped working :-( Tried
 everything in the book (I think) to get it working again, but to no avail.
 It doesn't crash FreeBSD anymore like when for using 16bit PCCARD-mode in
 the BIOS and a shared IRQ 11, however it just doesn't to work. The
 connection LED goes on, but the receive LED never blinks, EVER. After a
few
 second, a watchdog timeout occurs and the connections LED goes out and on
 again.

 I did notice a difference between 4.5 / 4.6 and 4.7. Just before the
pccard
 deamon starts, I would see the machdep.pccard.mem_start value changing
from
 something like 65360 to 85xxx. Later on I would see it again but from
85xxx
 to 85xxx (same value twice), rpobably from the entry I put in the
 sysctl.conf (machdep.pccard.mem_start=0xd4000).
 It doesn't anymore, just says the 8 to 8 at the end...

 Any idea's / suggestions? My guess is, that everything is OK (no IRC
 confilicts etc) , except for the place in memory that is used for the
 driver...

 Kind Regards,
 Sander Holthaus


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



Re: No route to host

2002-10-28 Thread Charles Pelletier

Charles Pelletier
Tech. Coordinator
St Luke's School

- Original Message -
From: Christian Münk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 6:33 AM
Subject: No route to host


 Hello FreeBSD Team.
 My name is Christian and I have a problem.
 I looked through the FAQ and the docs about the prob. when you get the No
route to host reply when trying to ping. But my nic is intact. I made some
Kernel configurations cause I want this one PC act as a router. So I thought
something with all the stuff I changed is wrong. So I # everything out in
the rc.conf that might cause the problem. Even though, what I as a beginner
don?t like is that there are so many examples out there about how to config
your system to act as a router. Is there no main script that includes it
all? Well so much for that one.

can you post your /etc/rc.conf?
are you using NAT at all?
have you entered the dns in /etc/resolv.conf?
is the problem solely with your freebsd machine, i mean, am i to understand
that you get a connection but you can't browse to anything or ping to
anything ONLY on the freebsd box? that is all usually a strong hint that you
haven't entered your ISP's DNS information.

think of what is required for windows to get online via dial up or anything
else. if you've done everything for freebsd that you would have done for
windoze then you should be okay. it's basic troubleshooting.





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



NEC Versa LS and 3COM Megahertz card

2002-10-28 Thread Mike Jeays
I have a NEC Versa LX (Pentium 200), with a 3Com Megahertz
combined Ethernet and modem PCMCIA card (3CCFEM556 B).

The Ethernet part works fine under a well-known proprietary
OS, but FreeBSD 4.7 refuses to see it on boot-up.  I have
fiddled with the BIOS options, but have had no success.

Any suggestions, including alternative, inexpensive PCMCIA
cards that are known to work?


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



limewire and fluxbox?

2002-10-28 Thread Mike Johnston
I'm wondering if anyone else has noticed that limewire displays very poorly
on fluxbox..
to the point that you can't resize the window as it's tiny??? you see a
small square and can't see limewire.. 

does this make any sense? It's kinda hard to describe.


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



Re: limewire and fluxbox?

2002-10-28 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (10.28.2002 @ 1618 PST): Mike Johnston said, in 0.4K: 
 I'm wondering if anyone else has noticed that limewire displays very poorly
 on fluxbox..
 to the point that you can't resize the window as it's tiny??? you see a
 small square and can't see limewire.. 
 
 does this make any sense? It's kinda hard to describe.
 end of limewire and fluxbox? from Mike Johnston 

It's not fluxbox. It's limewire. Limewire does a very poor job of
determining screen geometry.

So does, for that matter, the cvsup gui.

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9vdbSo8KM2ULHQ/0RAt6zAKCoyFsYKAtxwyL12IHjeenZxDEZMwCgjYVk
n0xg3oqwr17l4wgYAMkUHHQ=
=kOqR
-END PGP SIGNATURE-

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



Lexmark Z33 printer help

2002-10-28 Thread Morten Grunnet Buhl

Hello fellow FreeBSD friends,
I would like to hear if anyone have gotten a Lexmark Z33 printer
working. I have found this link [1] to an official linux lexmark driver
but I cant get it working with ghostscript port.
I could really need some pointers  by now. Im completely clueless.

Btw the printer is an usb.. 

TIA, Morten.


1 http://www.lexmark.dk/domino/html/emea/drivem.nsf/(PrinterDetached)/ \
AD5AD632772C66D8C1256B920071D04C?openDocumentCTR=GBLNG=en_GB
--
DetEr.dk - Rules are made to control the fun.

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



Re: Typical times installing from ports via 56k modem?

2002-10-28 Thread Michael Ross
Hiya,

speaking from experience on this one ( I have moved all the way from
freeBSD 4.4-4.7 all with my trusty dial up modem) It is realistic to tackle all
of this from your own modem, it just takes time.

 It took about 1.5 hrs for the CVSUP from 4.6.0 to 4.7, and another 2
 hours for the build (on a P3-500 with 128MB RAM).

That seems a little bit long, was that the only CVSUP you did between the
two? you might be able to speed things up by trying to find a cvsup server
that is closer to you.
 
 My question is... Is it realistic to upgrade via ports with a 56K
 modem? I tried installing a few small things via ports, and it worked well, but I'm
 wondering how long it will take to download and build things like the XFree86,
 or GNOME. Do these things take days, or might I be able to accomplish it
 overnight?

some tips to use that I have found helpfull,

* find a download server that you get good ping times off (search the mirror 
archives and then ping the closest ones to you)
* Run all of your downloads overnight, I find I tend to get better download rates 
from local servers when the network is less congested.
* When downloading ports to install, do make fetch-recursive this will fetch the 
tarballs for the port and for all of the dependecies.. simply a make or a make install 
will download a package, then build it before going onto the next one.

Once the make fetch-recursive is finished you should be able to go through and do a 
simple make install and the port should build without needing to download anything 
else.
* when upgrading ports, get a copy of portupgrade, and use portupgrade -raF - this  
should go through and download the tarballs for the ports you want to upgrade. 
Then later when your off the net do a portupgrade -ra to build them.

Michael Ross 
[EMAIL PROTECTED]

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



Re: bringing webmin online per need

2002-10-28 Thread Lord Raiden


Real easy:

start: /usr/local/etc/rc.d/webmin.sh start
stop:  /usr/local/etc/rc.d/webmin.sh stop


oh.  Ok, I get to wear the newbie of the day hat now.


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



enabling tcp bandwidth limiting?

2002-10-28 Thread Mike Johnston
According to the FreeBSD 4.7 release notes:
The tcp protocol now has the ability to dynamically limit the send-side
window to maximize bandwidth and minimize round trip times. The feature can
be enabled via the net.inet.tcp.inflight_enable sysctl.

Can someone explain how to enable this feature? Do i add it to rc.conf?


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



Re: enabling tcp bandwidth limiting?

2002-10-28 Thread Fernando Gleiser
On Mon, 28 Oct 2002, Mike Johnston wrote:

 According to the FreeBSD 4.7 release notes:
 The tcp protocol now has the ability to dynamically limit the send-side
 window to maximize bandwidth and minimize round trip times. The feature can
 be enabled via the net.inet.tcp.inflight_enable sysctl.

 Can someone explain how to enable this feature? Do i add it to rc.conf?

Add net.inet.tcp.inflight_enable=1 to /etc/sysctl.conf
If you want to enable it without rebooting, say the magic words:

# sysctl -w net.inet.tcp.inflight_enable=1


Fer



 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



good colour laser printers?

2002-10-28 Thread Jacob Rhoden
Hi,

I was wondering if there are any people who use colour laser printers with 
freebsd, what models work and print photos fairly well? (I dont want to 
pay excessive amounts of money for a colour laser printer, especially if it 
doesnt work with FreeBSD)

Thanks for any input!
Jacob


 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

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



pkg_add(1) logic

2002-10-28 Thread Eric van Gyzen
The following error message from pkg_add(1) doesn't make sense [to me]:

amelia:/var/db/pkg# pkg_add -r bash
Fetching ftp://blah/packages/Latest/mysql-client.tgz... Done.
pkg_add: package 'mysql-client-3.23.52' or its older version already 
installed
amelia:/var/db/pkg# ls -d mysql-client*
mysql-client-3.23.49

Yes, that's correct: an /OLDER/ version is installed.  I would like to 
update to the version on the ftp server.  That's why I ran pkg_add.  Why 
does it not update the package without the -f flag?  I realize that there 
is now a pkg_update command, but it lacks the ability to fetch packages -- 
and their dependencies -- remotely.

Would anyone like to explain this logic?

Thanks.

Eric

-- 
Eric van Gyzen
   Sr. Systems Programmer, ISDS, Duke University
PGP Public Key:  http://www.stat.duke.edu/~vangyzen/vangyzen.asc


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



opening inetd port in firewall

2002-10-28 Thread Roberto Armenteros
Hi all, I am running samba as an inetd service. I just
implemented a block all firewall and need to open
certain ports. What ports should I open for inetd and
samba to work properly? What port does inetd bind to?
I know samba needs to bind to 137/8/9 UDP and TCP. Is
this still the case when running from inetd?

Thanks a lot,

ROB

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

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



Apache2 and SSL

2002-10-28 Thread BSD Freak
Hi all,

We are just trialing apache2 built from the ports collection) on a 4.7-
R box. Can't seem to get SSL going though. IS SSL supported in apache2?
Does anyone know of quick HOWTO?

Thanks

-
NEW to mBox, receive faxes to any email address!
Find out more http://www.mbox.com.au/fax

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



Re: ntpdate problems in /etc/rc.conf

2002-10-28 Thread Kent Stewart


Peter Leftwich wrote:

I thought I had this in my /etc/rc.conf but didn't, so I added the
following lines and rebooted:

ntpdate_enable=YES # Run ntpdate to sync time on boot (or NO).
ntpdate_program=/usr/sbin/ntpdate # path to ntpdate, if you want a different one.
ntpdate_flags=-b clock.isc.org  # Flags to ntpdate (if enabled).

My clock still says it is 20:11 PM when it is really 19:11 PM right now!

Am I missing something, or needing to set the CMOS/motherboard clock...?



I thought ntpdate had to be run manually or via a cron job. I have an 
ntpd running and it changed immediately after 2am.

Kent

--
Kent Stewart
Richland, WA

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


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


Re: pkg_add(1) logic

2002-10-28 Thread Kris Kennaway
On Mon, Oct 28, 2002 at 10:31:31PM -0500, Eric van Gyzen wrote:
 The following error message from pkg_add(1) doesn't make sense [to me]:
 
 amelia:/var/db/pkg# pkg_add -r bash
 Fetching ftp://blah/packages/Latest/mysql-client.tgz... Done.
 pkg_add: package 'mysql-client-3.23.52' or its older version already 
 installed
 amelia:/var/db/pkg# ls -d mysql-client*
 mysql-client-3.23.49
 
 Yes, that's correct: an /OLDER/ version is installed.  I would like to 
 update to the version on the ftp server.  That's why I ran pkg_add.  Why 
 does it not update the package without the -f flag?  I realize that there 
 is now a pkg_update command, but it lacks the ability to fetch packages -- 
 and their dependencies -- remotely.
 
 Would anyone like to explain this logic?

pkg_add will not deinstall the old package before adding the new one
(yes, this is a limitation).  If it goes ahead and installs the new
version, it will install over the top of the old one, possibly leaving
old files lying around on the filesystem and certainly screwing up the
consistency of your package database (/var/db/pkg).

At some point in the future pkg_add will hopefully gain the ability to
correctly upgrade packages; for now your best bet is to use a tool
like portupgrade (with the -P switch if you like to use packages)
which will do it for you correctly.

Kris



msg06923/pgp0.pgp
Description: PGP signature


what does RELENG mean?

2002-10-28 Thread Dan Langille
I've just been told that RELENG means RELEASE ENGINNER.  Is this 
actually defined somewhere?
-- 
Dan Langille


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



DHCP

2002-10-28 Thread Mike Stacy
I'm new to FreeBSD, what I'm trying to do is install the latest version of
FreeBSD onto my box using my dsl line which is networked through my WinXP
box(DHCP). Now when I'm installing I say DHCP : YES in Options, then after
everything else is set I go into Installation Media, select FTP , then I
select the server ftp.freebsd.org, then it wants to know where my dsl line
is that's the  part I can't figure out, can someone tell me what to
do..




-Tnx
  Mike


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



Re: dhcp option to *not* overwrite /etc/resolv.conf

2002-10-28 Thread Eric Thornton
add this to your /etc/dhclient.conf

interface (outside interface) {
supersede domain-name-servers (preferred DNS);
}

you can alternately use prepend domain-name-servers to add your DNS to the
TOP of the resolv.conf list.



- Original Message -
From: Paulo Roberto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 5:11 PM
Subject: dhcp option to *not* overwrite /etc/resolv.conf


 Hi,

 I have read the man pages, searched a few forums, but I did not found a
 way to prevent dhcp to do not change my /etc/resolv.conf. I do not have
 access to the dhcp server configuration, so I need to change it on my
 client. I also tried to chmod it to only read mode, but that did not
 work out. Any tips?

 thanks

 Paulo

 __
 Do you Yahoo!?
 Y! Web Hosting - Let the expert host your web site
 http://webhosting.yahoo.com/

 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: MIT Kerberos

2002-10-28 Thread Sebastian Boldt
On Mon, 28 Oct 2002 21:49:48 +0200
D. Penev [EMAIL PROTECTED] wrote:

 On Mon, Oct 28, 2002 at 09:08:01PM +0100, Sebastian Boldt wrote:
 Date: Mon, 28 Oct 2002 21:08:01 +0100
 From: Sebastian Boldt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 Hello,
 
 how do I make buildworld and let it compile
 the MIT Kerberos V port as the system kerberos
 instead of heimdal?
 
 You cann't compile MIT Kerberos with buildworld, instead
 install kerberos port (/usr/ports/security/krb5), if you have
 any lines for kerberos in make.conf comment them, leave uncomment
 only KRB5_HOME=/usr/local and make buildworld.
 
 
 thanks in advance...
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 -- 
 Regards,
 D. Penev
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

But what do I do with ssh and sshd when I want them to
authenticate through krb? Okay, sshd can be pam'nized, but
wat about ssh?


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



Re: DHCP

2002-10-28 Thread erk!
On Mon, 28 Oct 2002 23:58:04 -0500
Mike Stacy [EMAIL PROTECTED] wrote:

 I'm new to FreeBSD, what I'm trying to do is install the latest
 version of FreeBSD onto my box using my dsl line which is networked
 through my WinXP box(DHCP). Now when I'm installing I say DHCP : YES
 in Options, then after everything else is set I go into Installation
 Media, select FTP , then I select the server ftp.freebsd.org, then it
 wants to know where my dsl line is that's the  part I can't figure
 out, can someone tell me what to do..

when you start the install, don't select 'standard install' first. 
scroll down to 'configure', and under that menu should be one called
'networking'.  from there, it's pretty straightforward.  it will first
ask you if you want to configure things via ipv6..select 'no' on that
one, at which point it will ask if you want to detect settings via DHCP.
select 'yes' on that, and you're good to go.

it actually won't matter whether or not your main line is through your
winxp box.  freebsd will detect settings via dhcp regardless of whether
or not it's there.

- erk

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



Re: limewire and fluxbox?

2002-10-28 Thread erk!
On Mon, 28 Oct 2002 17:18:32 -0700
Mike Johnston [EMAIL PROTECTED] wrote:

 I'm wondering if anyone else has noticed that limewire displays very
 poorly on fluxbox..
 to the point that you can't resize the window as it's tiny??? you see
 a small square and can't see limewire.. 
 
 does this make any sense? It's kinda hard to describe.

the little box is intended to be a little quick launch sort of thing. 
unfortunately, when you try to minimize fluxbox, it will also go back to
this, instead of docking itself into the taskbar.  really, really lame,
imo.  i think you can just double-click on the box, and it should pop-up
the main window.

- erk

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



  1   2   >