Re: Help deleted /dev/ad0s2 tree

2003-03-11 Thread Subhro Sankha Kar
Glenn Todd writes: 

Foolishly I deleted my /dev/ad0s2a tree.  However, I tried the following in 
an attempt to recreated but I am getting stumped at the end of the process. 

Booted the system in single user mode, then created a read/writable file 
system with: 

mount_mfs -T minimum -s 131072 /dev/null /tmp 

cd to /tmp and cp MAKEDEV from the read only /dev.MAKEDEV 

created a device node with:
/MAKEDEV ad0s2a  (note this created the whole tree in tmp) 

attempted to mount this with the command  

mount /tmp/ad0s2a /mnt  but got the error that ad0s2a was busy.  As a result 
cannot get a readwritable /dev to create the device nodes.  What am I doing 
wrong?? 

Glenn 

 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
Hello Glenn,
I am not too sure but the eason why u get a device busy message is that ur 
newly created device is alreaqdy mounted on /tmp. U cant remount it on /dev 
while it is mounted in /tmp. Check what the securelevel ur kernel is running 
in and if u can boot in multiuser. Reset the kernel security level to -1 and 
do the same. It should be solved 

Subhro Sankha Kar
IIIT-Calcutta 

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


Backup Solution

2003-03-11 Thread Wayne Swart
Hi everyone

I am looking for a centralized backup solution for FreeBSD. It must be
able to backup to harddrive, rather than to a tape drive, and must have
support for FreeBSD/Linux and Windows 2000 clients.

Does anyone have any suggestions ?

Kind Regards

Wayne Swart

Network Aministrator
MICS Online
TEL: +2712 661 
FAX: +2712 661 9996
mailto:[EMAIL PROTECTED]

First they ignore you, then they laugh at you, then they fight you, then
you win.
--Mahatma Gandhi

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


Re: How Do I Build IPFW2 Only (Was Re: How Do I Specify -DIPFW2 In make.conf?)

2003-03-11 Thread Ceri Davies
On Mon, Mar 10, 2003 at 04:25:14PM -0800, Drew Tomlinson wrote:
 - Original Message -
 From: Ceri Davies [EMAIL PROTECTED]
 To: Drew Tomlinson [EMAIL PROTECTED]
 Cc: FreeBSD Questions [EMAIL PROTECTED]
 Sent: Monday, March 10, 2003 12:55 PM
 
  On Mon, Mar 10, 2003 at 11:20:40AM -0800, Drew Tomlinson wrote:
   I would like to enable IPFW2 support in 4.7-STABLE.  The Handbook
   (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me
 to
   add 'options IPFW2' to the kernel config file and I understand that.
  
   Then it tells me to compile libalias and ipfw with the -DIPFW2 make
 option.
   If I understand the purpose of /etc/make.conf correctly, I should be
 able to
   specify -DIPFW2 there?  How do I accomplish this?
  
   I'm sure this has been covered previously but my searches on Google are
 not
   turning it up.  Thanks for a nudge to the appropriate docs!
 
  IPFW2= true
 
 Thank you for your response.  I have added this to make.conf.
 
 Prior to adding it, I ran 'make buildworld'.  How can I just rebuild IPFW so
 it is IPFW2 instead without rebuilding my whole world?  I saw in the
 Handbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q21
 .4.15.1 an example for building pieces.  Based on this example, I went to
 /usr/src/sys/netinet and tried issuing make but without success.  I don't
 really understand the make process very well but I'm sure it didn't work
 because there was no Makefile.  Can I just build IPFW2 instead of rebuilding
 the whole world?

You could try cd /usr/src; make -DNOCLEAN buildworld.
That should just rebuild the bits that are different, but may not work.
If a buildworld doesn't take you a long time, then I'd just do another
one if I were you.

 Thanks for helping me through this.

No problem.

Ceri
-- 

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


Re: your mail

2003-03-11 Thread Ruben de Groot
On Tue, Mar 11, 2003 at 01:09:23AM -0600, Ryan Thompson typed:
 Paul Lathrop wrote to Ryan Thompson:
 
   I'd also like to remind the original poster about the security
   risks associated with suid binaries. There are many subtle ways in
   which suid binaries can bite one in the ass... especially where
   other local users are present.
 
  Is just learning Perl an option here? Perl scripts aren't binaries -
  to my understanding at least.
 
 Correct. They're interpreted scripts, just like shell scripts. The
 only difference is, they're fed through /usr/bin/perl instead of
 /bin/sh. The operating system doesn't distinguish between them.
 
  Will they also be denied by the OS?
 
 Yes.

True. But there is the suidperl binary to circumvent this. If your 
/usr/bin/suidperl is suid root (which it is not by default I believe), 
perl will honor the suid or sgid bits on your perlscripts.


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


5.0 Release and Xircom CEM56-100

2003-03-11 Thread shpokas
hello all,

i have FreeBSD 5.0 RELEASE installed on OmniBook 6000
the problem is that i cannot get Xircom CreditCard Ethernet 10/100+ Modem 56 
(CEM56-100) to work.

i did quite extensive search in newsgroups, but with less help.
it is listed in /etc/defaults/pccard.conf (so, supported, also seen in h/w notes)
first question: which drivers do i need?

one post said that de driver drives the card. i tend to believe that xe is the right 
one.

i have recompiled kernel, and put in kernel configuration
device xe
device de
device miibus

However, the card is not recognized (nothing in dmesg) and when i put it in and out, i 
got:

pccard0: Card has no functions!
pccbb0: PC Card card activation failed

one post suggested to put
hw.cbb.start_mem=
in /etc/loader.conf
but i do not have w2k on notebook, so i can't get this information.
could linux provide it? and would this help?

i hope my question here is appropriate.
thanks,
shpokas


---
http://www.one.lv - Tavs mobilais e-pasts!

Tagad lasi savu e-pastu ar mobilo telefonu - wap.one.lv!

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


Re: unable to subscribe

2003-03-11 Thread Volker Kindermann
 Basically I send this:
 
 subscribe freebsd-security-notifications
 --
 
 I get this 
 
 commands (exactly as shown) back to [EMAIL PROTECTED]:
 
 auth 2cd8eff3 subscribe freebsd-security-notifications 
 [EMAIL PROTECTED]
 
 If you do not want this action to be taken, simply ignore this message
 and the request will be disregarded.
 --
 
 Then I reply with this:
 auth 2cd8eff3 subscribe freebsd-security-notifications
 [EMAIL PROTECTED]
 
 And I get this:
  auth 2cd8eff3 subscribe freebsd-security-notifications 
 [EMAIL PROTECTED]

is it just a display problem, or are you responding with [EMAIL PROTECTED]
instead of [EMAIL PROTECTED]

 -volker




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


¾ÍµÈÄãÁË£¡

2003-03-11 Thread jinmai
Title: New Page 1













-
200M+50M+  189/
 79/  
http://www.kldns.net  http://www.cnkl.net
-
:: JKLMailer PowerBywww.VRMO.com QQ:5009353 ::



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


¾ÍµÈÄãÁË£¡

2003-03-11 Thread jinmai
Title: New Page 1













-
200M+50M+  189/
 79/  
http://www.kldns.net  http://www.cnkl.net
-
:: JKLMailer PowerBywww.VRMO.com QQ:5009353 ::



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


Changing console behaviour

2003-03-11 Thread michael green
Further to my question about missing shared object
libmytinfo.so.2, Peter Elsner was again kind enough to
guide me to the compatibilty libraries, which once
loaded solved the problem. I created a fresh FBSD 4.7
installation and ran the install script which ran
through without a problem. Unfortunately the console
behavour is still very abnormal, which leads me to
believe that there may be some error in the way the
console is configured. Which brings me to my question,
is there any way to alter the console behaviour at
all, and if so what changes would be most likeley to
improve compatibility to MS Foxpro Unix for SCO?
Thanks in advance, regards, Michael Green. 

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

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


which lib contains ber_malloc ?

2003-03-11 Thread Heinrich Rebehn
Hi,

can anyone tell me which library contains the symbol ber_malloc? I am trying 
to compile am-utils with ldap support and the configure script throws an error:

/usr/local/lib/libldap.so: undefined reference to `ber_memalloc'

liblber does *not* contain the symbol.

I use FreeBSD 4.7-RELEASE.

Thanks for any help

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: freebsd nis server with debian clients

2003-03-11 Thread Scott Mitchell
On Tue, Mar 11, 2003 at 01:24:15PM +1100, Neeraj Arora wrote:
 This means, the libraries on Linux do not understand shadow passwords on
 NIS. Thus, if I want to use shadow passwords with a Linux Machine, I have
 to expose them to clients. There is a possibility that I could delete or
 hide the binary ypcat from allowing users to see it, but that does not
 disallow any of the users to compile their own version and retrieve
 sensitive information. Could this be classified as a security hole???

This is wrong -- Linux NIS is quite happy using shadow passswords, it just
implements them differently to FreeBSD.  The problem is that the FreeBSD
NIS Makefile does not, by default, generate the shadow.byname map that
Linux clients are expecting to see.  To generate this map, you need to
patch /var/yp/Makefile as I described in my earlier reply to your
question.  The post from Mike Galvez points to a very similar patch.  I
should point out that I did this to support RedHat boxes here; it should
work on Debian as well, but YMMV.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon

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


Boot/install/config util like Solaris Jumpstart?

2003-03-11 Thread Chris Shenton
We're planning on deploying a handful of commodity boxes to act as a
loose mail cluster hidden behind a pair of load balancers.  They'll
have almost identical SW installs: APOP, SMTP, IMAP, LDAP.  Naturally
they'll have per-box differences, like their ethernet address, perhaps
some box-unique service like webmail.

If we were deploying on Solaris, we'd use their Jumpstart tools.  It
allows diskless booting, then automated install of base OS,
additional packages, then subsequent configuration tweaks.  Very handy
for a rack of 1U boxes. 

Is there something like this for FreeBSD? Or do I have to roll my own,
most likely based on the existing dhcp/tftp/nfs diskless boot code
with per subnet and per target address filesystem overlays
(/etc/rc.d/[init]diskless)?

Thanks.


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


Re: transparent ipfw

2003-03-11 Thread IAccounts
 Been browsing for a bit (knowing I will get some rtfm responses from this) but
 havnt come across a solid answer for this.  Most solutions involve NAT or some
 other non-routable ip block type of solution.

 Have the following (192.168.100.0/24 used in place of routable addresses)

 - Internet connection coming into port 1 of Cisco switch(switch address
 192.168.100.1).
 - Other FreeBSD servers(192.168.100.2 - 192.168.100.252) connected to various
 ports on the switch using the switch as the gateway device.
 - Other networks(192.168.101.0/24 etc...) connected to the switch which is
 bridging them over to the internet connection out of port 1.

 Wish to place a FreeBSD server in front of the switch to count traffic to and
 from various IP addresses for the entire network.

 NIC1 on the FreeBSD box would go to the Internet Connection
 NIC2 on the FreeBSD box would go to the switch.

 All addresses used are routable(3 /24 blocks will be coming down to NIC1), and
 all addresses/packets should be passed through without any NAT or other
 readdressing taking place. Aside from telnetting into the box itself, it doesn't
 need any IP addresses except for whatever is needed for the above setup.

 Comments appreciated, this would be my first implementation of ipfw / fw rules
 in general using a FreeBSD box.


In your kernel:

options BRIDGE
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=xx # where xx == any number

In /etc/sysctl.conf

net.link.ether.bridge
net.link.ether.bridge_ipfw

No IP's needed now. You could put one on the switch side of the box, for
ssh access. Then your IP's can be placed directly on the servers
themselves.

This setup (bridged) is great because if for some reason the bridge fails,
or it needs to be taken offline, you can pull the wire from the bridge,
plug it back into the switch and your immediatly back in business. (of
course less your firewall).

If you need help with this, I will be happy to give you more info. I have
this exact setup in two places at this ISP I work for, plus I use it at
home to protect the integrity of my wireless lan (this one is running
IPSec however). What first took me months of RD to implement, now takes
me minutes.

Steve





 Dave



 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: Primary Slave does not work

2003-03-11 Thread Bill Moran
Subhro Sankha Kar wrote:
Hello Folks,
I am a newbie to FreeBSD. I got a 40GB IDE Seagate Cheetah connected to 
the Primary as the master and a Samsung CD-ROM SC-152C as a slave to the 
Hard Drive. I have also got a Samsung CD Writer SW-212B connected to the 
secondary controller as master. When I boot FreeBSD-4.7-Release it fails 
to recognise my CDROM Drive. I can see entries like ATA Device 
Identification Retries Exceeded. Just for an experiment I tried to 
connect the CDROM as a slave to the CD Writer on the Secondary. This 
time it worked fine. I cant keep my CDROM and CDWRITER on the same 
controller as I need to copy on-the-Fly. Can you please help me to make 
my CDROM work as a slave to the HD?
Get a better CD ROM?
Search the list archives for threads on CD ROMs.  I believe the upshot is
that many CD ROMs have badly implemented ATA interfaces that don't work
well with certain other interfaces.  (i.e. You CD ROM works OK with a
CD burner that's only doing ATA 33, but can't function on a chain with
a HDD that's doing ATA 100)
The problem seems to be fairly common, it comes up on the list about once
a month.  I've seen it a number of times as well, and the solution has
always been to move the CD ROM to the secondary chain.  In your case,
moving to the secondary chain is a problem (I assume) because you want
to dup CDs at the max speed the burner will go.  If you _need_ to have
it work, you'll either need a CD ROM that works with all other ATA devices,
or switch to SCSI devices.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: difficulties with BIND going from 8.* to 9.*

2003-03-11 Thread IAccounts
 I decided today it was time to install bind9 from ports and I am have
 having some issues I need help with.  Under 8.* I started BIND with the -u
 bind -g bind flags and a sockstat -4 showed named running as user bind.
 However, in 9.* I understand the -u bind flag is enough, but the server
 fails to start since it can open /var/run/named.pid. If I simply run the
 server with no -u flag, the server starts fine ( except denote below ).
 Although BIND is running in a jail() by itself, I'd still like for the
 server to run non-root.

First, I would check to see who owns the named.pid file. Sounds like you
are logged in as root and when you start it with no -u flag, there is no
issue. This may be because root is the only one with write access on the
file.

 1. Mar 10 20:32:13 darken named[796]: couldn't add command channel
 127.0.0.1#953: not found

This one has to do with configuring rndc keys (as far as I know). I began
this process of doing this, but gave up when I ran out of time. BIND will
continue to run normally, but you will not be able to use the rndc
controls for it. (At least I cant). There are many docs on configuring
this in google.


 2. Mar 10 20:32:13 darken named[796]: dns_master_load:
 /usr/local/etc/namedb/192.168.0.in-addr.arpa.conf:1: extra input text
 Mar 10 20:32:13 darken named[796]: zone 0.168.192.in-addr.arpa/IN: loading
 master file /usr/local/etc/namedb/192.168.0.in-addr.arpa.conf: extra input
 text

 It is also important to note that I am using the same named.conf  and zone
 files I did under 8.*

Extract the conf files from 9 source, input your info manually and see if
that clears up these issues.

Steve



 Michael






 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: suid shell script

2003-03-11 Thread Peter Elsner
One creates the script, places it in /usr/local/bin (for example), and runs 
it via a root CRONTAB entry.



At 12:42 AM 3/11/2003 -0500, you wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday, March 11, 2003, at 12:28  AM, Jonathan Chen wrote:
Dunno about Linux, but every other modern UNIX out there doesn't allow
setuid scripts.
Thanks for your response. Now my question is - how does one automate tasks 
requiring root privileges?

Paul Lathrop
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+bXczlos2supvBQwRApNCAJ4hBh/IW04wPaNl/dYQ97elF2OzIwCfecdP
Twx+Q8robLPf47PCbCsn0HU=
=HKrj
-END PGP SIGNATURE-
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



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


Re: Enabling APM in Freebsd 4.7

2003-03-11 Thread Mica Telodico
 --- Tijl Coosemans [EMAIL PROTECTED] ha scritto: 
On Tue, 11 Mar 2003 00:03:53 +0100 (CET), Mica
 Telodico wrote:
 
  Hi, 
  
  I've installed FreeBSD 4.7 and I'd like to get
 enabled
  the APM support. I know that I can enable it by
  compile it in the kernel, but I've read about
 another
  system that consist in the writing of a line in
 the
  /boot/loader.conf (enable apm0) but  at start the
  loader says that there is a syntax error : enable
 apm0

 
  ^
  
  Why? How I can enable it without recompiling the
  kernel?
 
 You should modify /boot/kernel.conf to look like
 this:
 
   en apm0
   [some other kernel options]
   q
 
 Then in your /boot/loader.conf make sure you have
 this:
 
   userconfig_script_load=YES
 
  I've noticed also that in the GENERIC kernel
 config 
  there is a disable flag in the line of the APM
  device, I have to delete that to enable the APM
  support?The line looks like this one:
  
  device apm0 nexus? disable Flag 0x20
  
  I've changed it into :
  
  device apm0 nexus? Flag 0x20
  
  is this right?
 
 Yes, if your recompile your kernel now, apm should
 be enabled by
 default.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message 


Thank you all for your responds , I've enabled APM
now, but I can get the suspend mode working but the
standby mode no , in the console appears :ata0:
resetting devices... and the system is dead , I have
to reboot :cry:. Why? I've thought about a BIOS issue,
but I've tried in linux and the situation is opposite
( standby works and suspends no) .

Any one knows something about?

Thanks bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

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


Re: which lib contains ber_malloc ?

2003-03-11 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Hi,

can anyone tell me which library contains the symbol ber_malloc? I am 
trying to compile am-utils with ldap support and the configure script 
throws an error:

/usr/local/lib/libldap.so: undefined reference to `ber_memalloc'

liblber does *not* contain the symbol.

Sorry, i fooled myself, liblber *does* contain the symbol. Also the subject of 
my mail was wrong :-(

Heinrich

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


Re: difficulties with BIND going from 8.* to 9.*

2003-03-11 Thread Stephen Hilton
On Tue, 11 Mar 2003 09:12:35 -0500 (EST)
IAccounts [EMAIL PROTECTED] wrote:

  I decided today it was time to install bind9 from ports and I am have
  having some issues I need help with.  Under 8.* I started BIND with the -u
  bind -g bind flags and a sockstat -4 showed named running as user bind.
  However, in 9.* I understand the -u bind flag is enough, but the server
  fails to start since it can open /var/run/named.pid. If I simply run the
  server with no -u flag, the server starts fine ( except denote below ).
  Although BIND is running in a jail() by itself, I'd still like for the
  server to run non-root.
 
 First, I would check to see who owns the named.pid file. Sounds like you
 are logged in as root and when you start it with no -u flag, there is no
 issue. This may be because root is the only one with write access on the
 file.
 
  1. Mar 10 20:32:13 darken named[796]: couldn't add command channel
  127.0.0.1#953: not found
 
 This one has to do with configuring rndc keys (as far as I know). I began
 this process of doing this, but gave up when I ran out of time. BIND will
 continue to run normally, but you will not be able to use the rndc
 controls for it. (At least I cant). There are many docs on configuring
 this in google.
 
 
  2. Mar 10 20:32:13 darken named[796]: dns_master_load:
  /usr/local/etc/namedb/192.168.0.in-addr.arpa.conf:1: extra input text
  Mar 10 20:32:13 darken named[796]: zone 0.168.192.in-addr.arpa/IN: loading
  master file /usr/local/etc/namedb/192.168.0.in-addr.arpa.conf: extra input
  text
 
  It is also important to note that I am using the same named.conf  and zone
  files I did under 8.*
 
 Extract the conf files from 9 source, input your info manually and see if
 that clears up these issues.

Here is some information from a previous discussion of this 
topic.

HTH



One thing that I have not resolved is the issue with man pages. 
The Bind 9 docs are in HTML so that should be your main reference. 

/usr/local/share/doc/bind9/arm/Bv9ARM.html

Also a very good idea is to run Bind 9 chroot , my 
/etc/rc.conf entry looks like this:

named_flags=-u bind -t /var/chroot/named  # Flags for chrooted named

And then this link should help with basic setup (the file list 
I provided is more up2date, the email is old so some files 
locations to rename/remove have changed for FreeBSD 4.7)

http://groups.google.com/groups?q=chroot+bind+group:mailing.freebsd.*start=10hl=enlr=ie=UTF-8oe=UTF-8selm=aadvma%24ngg%241%40FreeBSD.csie.NCTU.edu.twrnum=12

---snip---
CHROOT OVERVIEW

What chroot essentially does is to create a fake root
directory - from the perspective of the daemon, the whole
file system is rooted at this chroot directory.  Therefore
the only files/directories the daemon can see, are those
located within this directory.  (In some ways this is not
unlike the view of the filesystem given to ftp users when
the default ftp root of an ftp server is set to something
other than the real root directory.)


FREEBSD DETAILS

On FreeBSD, the default location for Bind's configuration
files is /etc/namedb.  Sometimes we also use a subdirectory
/etc/namedb/s, this is used to create a sandbox, which 
limits some of the access the named daemon has but not 
nearly as securely as using chroot.  Bind9 now has a special
feature which makes it a little easier to chroot, among
other things eliminating the need to place shared libraries
and other executables in the chroot jail.

Since Bind already exists in the base FreeBSD system, for
thoroughness we should consider renaming the existing files
in order to minimize confusion and mixed versions.  Here is
a list of files to consider renaming or removing:

/usr/bin/dig
/usr/bin/dnsquery
/usr/bin/host
/usr/libexec/dnskeygen
/usr/libexec/named-xfer
/usr/sbin/named
/usr/sbin/ndc
/usr/sbin/nslookup
/usr/sbin/nsupdate

For those who regularly rebuild their system from source,
once you've installed an independent version of Bind it's 
best to configure your system to no longer build the version
in the base system.  This is done by adding the following 
entry to /etc/make.conf (if this file doesn't exist, just
create it and add the following line - like rc.conf it 
only contains items which override default settings):

NO_BIND=true

We will move our configuration and other necessary files 
to /var/chroot/named, which will allow us to create logfiles
within the chroot jail without filling up ie the / filesystem.

Create the necessary directories and permissions:

mkdir /var/chroot
mkdir /var/chroot/named
chown bind.bind /var/chroot/named
chmod 750 /var/chroot/named
cd /var/chroot/named
mkdir etc
mkdir etc/namedb
mkdir var
mkdir dev

Create the special files and set permissions:

cp -p /etc/localtime 

Re: Backup Solution

2003-03-11 Thread Kirk Strauser
At 2003-03-11T09:36:24Z, Kevin Stevens [EMAIL PROTECTED] writes:

 It must be able to backup to harddrive, rather than to a tape drive, and
 must have support for FreeBSD/Linux and Windows 2000 clients.

  /usr/ports/misc/amanda-server
  /usr/ports/misc/amanda-client

I wasn't aware that the version in ports supported backup-to-disk in any
meaningful way.  Am I wrong?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: What is a practical max nujmber of files in a directory

2003-03-11 Thread Bill Moran
Dan Nelson wrote:
In the last episode (Mar 10), Bill Moran said:

Question for the gurus or anyone who has done any test on filesystem
performance.
Where is the point at which a directory has too many files in it?
Mainly with regard to performance degredation?
It Depends

http://www.cnri.dit.ie/Downloads/fsopt.pdf has a nice rundown of the
performance benefits of softupdates, dirhash, dirpref, and vmiodir for
different benchmarks (including tests on directories with up to 2
files).  vmiodir and dirpref are now on by default, but the results for
softupdates and dirhash are still useful.
Thanks for the input ... that was definately an interesting article.  I
would have expected dirhash to do more but ...
Anyway, it still wasn't exactly what I was looking for.  It occurred to
me that I should just describe what I'm doing 
I'm writing a web-interface to file-sharing.  It's back-ended by a metadata
database and a filesystem based file store.  I've decided (based on my
experience with software such as squid and huge directories resulting from
unpacking the php documentation) to split the file store up between
directories so that the directory listings never get too big.  The question
I need to answer is: how many files can a directory contain before the
system determines that no more files should be placed in it?  The database
will determine where and what file to retrieve, so I don't need to worry
about the listing getting too long to be easily managed by command-line
tools, but I want to make sure that finding a specific file in that
directory doesn't get too awfully time-consuming.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Installing Freebds

2003-03-11 Thread Martin Karlsson

* Giorgos Keramidas [EMAIL PROTECTED] [2003-03-11 04.55 +0200]:
[...snip...] 
 Note: For details about installing FreeBSD, written in French, you can
 always point our browser at:
 http://www.FreeBSD.org/doc/fr_FR.ISO8859-1/books/handbook/install.html
 
Hi Giorgos,

FYI, the directory URL:http://www.FreeBSD.org/doc seems to contain
only English, Spanish, Japanese, and German docs. 

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

-- 
Martin Karlsson

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


Re: Difference between Vinum and atacontrol RAID?

2003-03-11 Thread Chuck Swiger
Pete wrote:
[ ... ]
The RAID-1 volume I'm using right now is with two drives attached to
a non-RAID card with a Promise chipset.
Does it work if you move the two drives to another machine without a 
Promise, Highpoint, or other RAID controller card or MB chipset...?

Hardware based RAID is likely to be faster, particularly in the case
of parity calculations for RAID-5.  (Not that many IDE controllers can
do RAID-5, but...)
 
It would be, but the RAID on the Promise and Highpoint devices is not
true hardware RAID.  It's just software RAID with the drivers moved over
to an EPROM on the card.
When you write to a RAID-1 mirror on such a device, does the CPU and PCI 
bus see two copies of the data?  Or does the Promise or HPT deal with 
distributing the data across the right devices itself?

 I know from my own experience and that of
other people that the Linux software RAID outperforms the hardware
RAID of these devices.  I'm willing to bet that the FreeBSD RAID at
least comes close, if not betters the Linux performance.
Software-based RAID can do fine for things like -0  -1; but without 
numbers, subjective discussion of performance can be misleading

-Chuck

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


NEED UR HELP

2003-03-11 Thread hamid qureshi
HELLO SIR
  I READ YOUR MAIL ADRESS WHEN I SEARCHING THE ASSEMBLY LANGUAGR 
PROGRAMING NOTES.

 SIR, I NEED UR HELP IN ASSEMBLY LANGUAGE.I NEED A PROGRAM IN WHICH
WE INPUT THE NUMBER IN DECIMAL,AND THEN WE RECEIVED THE OPTION IN WHICH FORM 
 YOU WANT RESULT,
  IN HEXA OR BINERY FORM.
SIR PLEASE I NEED THE CODING OF THIS PROGRAM IN WHICH I IMPLEMENT IN MASM 
5.

A STUDENT
M HAMID
PAKISTAN
[EMAIL PROTECTED],[EMAIL PROTECTED]




_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


disabling sendmail and using postfix

2003-03-11 Thread freebsd
Hi,
(freebsd newbie)
I've installed postfix from ports. At the end of the
installion script I was asked if it should modify the
/etc/mail/mailer.conf file which I answered with yes!

My question is, how is postfix started? It did not install
a .sh file in /usr/local/etc/rc.d.

Is still started with the sendmail_enable=yes variable in
rc.conf or do I have to set sendmail_enable=NONE, and add
something different to use postfix?

What other specific freebsd files do I have to or should
I modify when using postfix (for example like make.conf)?
Where can I find more info when using postfix on freebsd?

Thanks a lot
Didier

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


Re: your mail

2003-03-11 Thread Mike Meyer
In [EMAIL PROTECTED], Ruben de Groot [EMAIL PROTECTED] typed:
 True. But there is the suidperl binary to circumvent this. If your 
 /usr/bin/suidperl is suid root (which it is not by default I believe), 
 perl will honor the suid or sgid bits on your perlscripts.

I'd still recommend sudo instead of suid perl scripts. While it's
easier to write secure suid program in Perl than in C or the shell,
it's still difficult enough that I'd prefer having one trusted program
to writing a number of such scripts.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: Change default IPC limitations

2003-03-11 Thread Kung Ching-Yi
I got some help from John so I will give it a try.
Thanks for all your kind helps.
From: taxman [EMAIL PROTECTED]
To: Kung Ching-Yi [EMAIL PROTECTED], 
[EMAIL PROTECTED]
Subject: Re: Change default IPC limitations
Date: Mon, 10 Mar 2003 22:30:22 -0500
On Monday 10 March 2003 08:49 pm, Kung Ching-Yi wrote:
 Hi, I have a need to change the following settings.
 kern.ipc.msgmni
 kern.ipc.semmns
 kern.ipc.shmmni

 I can't use sysctl to modify these since it returns read-only 
message.

 I assume I need to rebuild the kernel but I don't know exactly which 
module
 (header, source code etc) I need to modify. Can anybody help?

 Besides, do I need to build anything other than kernel to have it work
 correctly?
I don't know, and if you don't get any answers here after a couple days, 
try
asking on -hackers.  Some of what you are looking for may be here if you
haven't seen this yet:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html

and this is outdated, but may help you understand the roots of IPC on 
FreeBSD
http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/index.html

Tim


_
¨Ï¥Î MSN Messenger¡A»PªB¤Í¦b½u¤W²á¤Ñ: http://messenger.microsoft.com/tc 

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


Re: which lib contains ber_malloc ?

2003-03-11 Thread Ion Badulescu
[why the bcc to amd-dev? it's a legitimate question, no reason to hide...]

On Tue, 11 Mar 2003, Heinrich Rebehn wrote:

 can anyone tell me which library contains the symbol ber_malloc? I am trying 
 to compile am-utils with ldap support and the configure script throws an error:
 
 /usr/local/lib/libldap.so: undefined reference to `ber_memalloc'

That would be liblber.so -- but even that only has ber_alloc, not 
ber_malloc, on my systems. It comes from openldap.

We should probably test-compile (and maybe even run) a ldap program as
part of the configure before deciding that ldap support is functional...

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.



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


Re: disabling sendmail and using postfix

2003-03-11 Thread Kjell
From:   [EMAIL PROTECTED]
Subject:disabling sendmail and using postfix
To: [EMAIL PROTECTED]
Date sent:  Tue, 11 Mar 2003 17:34:20 +0100

 Hi,
 (freebsd newbie)
 I've installed postfix from ports. At the end of the
 installion script I was asked if it should modify the
 /etc/mail/mailer.conf file which I answered with yes!
 
 My question is, how is postfix started? It did not install
 a .sh file in /usr/local/etc/rc.d.
 
Was all set up for you

 Is still started with the sendmail_enable=yes variable in
 rc.conf or do I have to set sendmail_enable=NONE, and add
 something different to use postfix?
 
Just after hitting YES above you shuld have seen the following:

If you have postfix configured in your /etc/mail/mailer.conf (answered 
yes to the previous question) and would like to enable postfix to start at 
boot time, please set these variables in your /etc/rc.conf file:

sendmail_enable=YES
sendmail_flags=-bd
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

This will disable Sendmail completely.

 What other specific freebsd files do I have to or should
 I modify when using postfix (for example like make.conf)?
 Where can I find more info when using postfix on freebsd?
 
If you want to do something different from standard setup, you may want 
to edit some of the files in /etc/mail after studying the documentation.

 Thanks a lot
 Didier




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


send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
I'm running FreeBSD as the only operating system on my home machine,
using Comcast non-professional as my ISP. My problem is that send-pr is
written to use a local mail daemon to send mail to the GNATS submission
site. Running a mail daemon, however, is strictly and expressly
prohibited by Comcast's Terms of Service. Is there another way of
submitting bug reports that doesn't require me to either breach my
contract with my ISP, or manually copy and paste text for each report
(yes, I've checked the web interface, which is 'currently disabled')?



... No, the answer isn't get a better ISP.


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


Re: send-pr(1) requires local mail daemon, breach of contract forComcast users

2003-03-11 Thread Miguel Mendez
On Tue, 11 Mar 2003 12:54:02 -0500
Christopher Nehren [EMAIL PROTECTED] wrote:


Howdy,

 I'm running FreeBSD as the only operating system on my home machine,
 using Comcast non-professional as my ISP. My problem is that send-pr
 is written to use a local mail daemon to send mail to the GNATS
 submission site. Running a mail daemon, however, is strictly and
 expressly prohibited by Comcast's Terms of Service. Is there another
 way of submitting bug reports that doesn't require me to either breach
 my contract with my ISP, or manually copy and paste text for each
 report(yes, I've checked the web interface, which is 'currently
 disabled')?

Maybe you can configure sendmail to use your ISP's SMTP server as smart
host, would that still be against the contract?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
Tired of Spam? - http://www.trustic.com


pgp0.pgp
Description: PGP signature


Squid and httpd_accelerator

2003-03-11 Thread G D McKee
Hi

I am trying to set up a reveres proxy server using squid.  I have looked at
the following sites but with no luck - has anyone got a working config?  I
want a virtual config.  I have set-up apache to bind all the web servers on
the local nic and ones on other boxes and bound squid on port 80 to the
external nic on the firewall box.

I have been looking at
http://www.squid-cache.org/Doc/Users-Guide/detail/accel.html and
http://squid.visolve.com/white_papers/reverseproxy.htm to try and get it
working.

Many thanks

Gordon



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


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 13:09, Dan Nelson wrote:

 I'm sure runing an incoming mail daemon is the prohibited part.  Just
 using it to send messages can't be prohibited imho.

From the Comcast Acceptable Use Policy:

You may not resell, share, or otherwise distribute the Service or any
portion thereof to any third party without the written consent of Comcast. 
For example, you cannot provide Internet access to others through a dial up 
or wireless connection (unless you are subject to a Service plan that permits 
otherwise), host shell accounts over the Internet, provide email or 
news service, or send a news feed. You may not use the Service for 
commercial purposes. The Service offering is a residential 
consumer product designed for your personal, non-commercial use of 
the Internet. For example, the Service does not provide the type 
of security, upstream performance and total downstream throughput capability
typically associated with commercial use. 

You may not run a server in connection with the Service, nor may you
provide network services to others via the Service unless you are
subject to a Service plan that permits otherwise. Examples of prohibited
uses include, but are not limited to, running servers for mail, http,
ftp, irc, wifi, and dhcp, and multi-user interactive forums. 

Apparently they think otherwise. In running the mail server, I provide
mail service to myself. They provide me with POP3 and SMTP mail -- they
want me to use them.


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


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Mike Meyer
In [EMAIL PROTECTED], Christopher Nehren [EMAIL PROTECTED] typed:
 On Tue, 2003-03-11 at 13:09, Dan Nelson wrote:
 
 From the Comcast Acceptable Use Policy:

This is all silly. send-pr should work without having a local SMTP
server. What error are you getting when you run it - at least, I
assume you are getting an error. If not, what behavior are you seeing
other than it doesn't work. It's really hard to help diagnose a
problem given no information whatsoever.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 13:29, Dan Nelson wrote:
 I'm almost positive that when they mean server they mean an incoming
 server.  A sendmail that simply queues outgoing email for sending
 should not be prohibited.  If you're worried, just send an email to
 their support group.

I've sent them an email asking about the smarthost setup -- the ball's
in their court now. 

Thanks for the help, it's most appreciated.


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


Cant' get networking to work with 3comm PCI card on notebook

2003-03-11 Thread Robert Stackpole
I'm new to freebsd but I have set up a couple of systems successfully
before.  My current problem is with a Dell Inspiron 7000 notebook.  I have
installed freebsd 4.6 with x running Gnome destop and all is well.  The
problems is that the network pci is not working.  I did not have this
computer connected to the Internet during the install but the card was in
the pci slot.  It is a 3 comm Megahertz card model 3cxem556 b.  Both
computer and card are about 5 years old.  When I try to add additional
network devices I get faith0 unknown network interface device  I can
still configure it but it doesn't work.

I'm assuming its some kind of missing driver or a step I missed during the
setup process?? If it is a driver I would need to know where to locate one
an how to install it...what directory, etc.  As well as any suggestions
for working around the lack of a network connection.  I do have another
machine running the same os with a network connection.  I could use a
floppy drive to move files.

Any help is appreciated

-bob

[EMAIL PROTECTED]


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


APM standby freeze the PC

2003-03-11 Thread Mica Telodico
Hi, I have this configuration:

MoBo MSI KT4 Ultra
CPU Athlon XP 2400+
Matrox G450

I'd like to keep my computer in standby when I don't
use it , but if I give the command : apm -Z in the
console appears : ata0: resetting devices...

And the system locks up . The Suspend mode works
perfectly. On linux the standby works too.
My IDE configuration (if this can be of any help )

IDE0:
Master: Maxtor 60GB ATA133
Slave: Nec DV5800 DVD Reader
IDE1:
Master: Quantum Fireball 30GB ATA100
Slave: HP CD-Writer Plus 8100

Thanks for UR help

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

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


Re: newbie : no mouse in x

2003-03-11 Thread Lee Harr
I just installed FreeBSD 4.7 and it works fine in the shell but when I
try to get into KDE or GNOME I have no mouse. I've used


Do you need mouse in the text console?

I never use that, and so in all my XF86Config files, I just
use the raw mouse device: /dev/psm0
usually, the type auto works, sometimes I have to
use type microsoft.
If you don't need mouse in the console, I would recommend
trying that. It has never failed for me.




_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: How to enable ACL support in 5.0?

2003-03-11 Thread Dancho Penev
On Mon, Mar 10, 2003 at 01:48:23PM +0100, Gabriel Ambuehl wrote:
Date: Mon, 10 Mar 2003 13:48:23 +0100
From: Gabriel Ambuehl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How to enable ACL support in 5.0?
Hello,
I might appear stupid or not having read the manual, but whatever I
try, I can't get setfacl to work (keeps failing:
setfacl: acl_get_file() failed: Operation not supported).
I read the manual and it says I should add acls as option to fstab
which I did:
/dev/ad7s1g /home   ufs rw,acls 2   2
What version is this filesystem: UFS1 or UFS2 ? UFS2 has full support
for acls but with UFS1 you must enable extended attributes. If you
have kernel source files I'll suggest you to read
/usr/src/sys/ufs/ufs/README.acls.


or use tunefs to set the flag statically in the superblock but tunefs
man page knows nothing at all about ACL.
From tunefs man page:

-a enable | disable
Turn on/off the administrative ACL enable flag.
So what do I need to do to get ACLs to work? Also, I was wondering
when to use ugidfw (more exotic stuff, I presume) and when just basic
ACLs. I think the whole ACL stuff could use some more docs, anyway.
For most users, this could be the single most visible change to the
system (SMPng etc are mostly under the hood so that's not as obvious
to most).
I'd appreciate any comments or pointers on this issue.

TIA  regards,
Gabriel
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Regards,
Dancho Penev
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Installing ports witout internet

2003-03-11 Thread Lee Harr
I've always used FreeBSD on machines connected to the internet... so I
have never experienced installing applications offline.
My question is: Is it possible to install applications (using the port
collection ) on a machine that's not connected to the internet?
If yes, what are the requirements?


Possible? Of course. Fun? Not exactly.

Thing is, FreeBSD is designed to be connected to a network. Things
are so easy that I constantly amaze people with installing all
sorts of software just by typing a few words.
Once you disconnect from the network, you have to do all of the
dependency checking, downloading, transferring, building, etc
manually. It won't be fun.
Look at the man pages for the pkg_* tools and see what help is
there for determining dependencies and downloading tarballs, but
I really think you will be much happier if you can just connect
to the network.
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Re: send-pr(1) requires local mail daemon, breach of contract for Comcast users

2003-03-11 Thread Giorgos Keramidas
On 2003-03-11 12:54, Christopher Nehren [EMAIL PROTECTED] wrote:
 I'm running FreeBSD as the only operating system on my home machine,
 using Comcast non-professional as my ISP. My problem is that send-pr
 is written to use a local mail daemon to send mail to the GNATS
 submission site. Running a mail daemon, however, is strictly and
 expressly prohibited by Comcast's Terms of Service. Is there another
 way of submitting bug reports that doesn't require me to either
 breach my contract with my ISP, or manually copy and paste text for
 each report (yes, I've checked the web interface, which is
 'currently disabled')?

You can always configure Sendmail to listen on localhost:25 only.
This is what the relevant part of my rc.conf looks like:

: ### sendmail options: ###
: sendmail_enable=NO
: sendmail_submit_enable=YES
: sendmail_submit_flags=-L smtpd -bd -q60m -ODaemonPortOptions=Addr=localhost
: sendmail_msp_queue_enable=YES
: sendmail_msp_queue_flags=-L mailq -Ac -q15m

The sendmail_submit_xxx flags make sure that I only have a Sendmail
daemon that listens on 127.0.0.1.

I'm sure that your ISP can't object to *this* sort of setup.

- Giorgos


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


Re: send-pr(1) requires local mail daemon, breach of contract forComcast users

2003-03-11 Thread Kirk Strauser
At 2003-03-11T18:40:02Z, Christopher Nehren [EMAIL PROTECTED] writes:

 I've sent them an email asking about the smarthost setup -- the ball's in
 their court now.

 Thanks for the help, it's most appreciated.

I will go out on a limb and assert as fact that running an outgoing mail
queue is absolutely, positively not against their TOS.  Note that running
Sendmail in client-only mode and sending out email via that instance of
sendmail is exactly identical to configuring your email client to connect
directly to their servers.  Both are outgoing SMTP connections, end of
story.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: send-pr(1) requires local mail daemon, breach of contract forComcast users

2003-03-11 Thread Bill Moran
Christopher Nehren wrote:
I'm running FreeBSD as the only operating system on my home machine,
using Comcast non-professional as my ISP. My problem is that send-pr is
written to use a local mail daemon to send mail to the GNATS submission
site. Running a mail daemon, however, is strictly and expressly
prohibited by Comcast's Terms of Service. Is there another way of
submitting bug reports that doesn't require me to either breach my
contract with my ISP, or manually copy and paste text for each report
(yes, I've checked the web interface, which is 'currently disabled')?
Just configure sendmail for local submission only (see the docs on rc.conf
and the new configuratin options for sendmail)  That is NOT in breach of
your contract since sendmail is NOT running as a daemon at that point.
If you're worried about false accusations ... running sendmail in local
submission mode will not expose an SMTP port to the network, nor will
it look any different when it delivers than any other mail sending program.
Just make sure to configure smart host to send to your ISPs mail gateway.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


use postfix and spamassassin

2003-03-11 Thread freebsd
Hi,
(freebsd newbie)

I've tried freebsd for a few month now and now I would like
to use it as an anti-spam server. 

I installed postfix and spamassassin from the
ports-collection. 

The server should only check every [EMAIL PROTECTED]
incoming mail against spamassassin and after having checked
the mail, it should forward it to our
mainserver.xyz.domanin.com which host the test.domain.com!

The anti-spam server should not host any mail accounts! It
should only forward the mail if it is not spam! 

Has someone been doing this? May be he can share some
experience?

Many thanks
Didier

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


/dev and FreeBSD 5.0

2003-03-11 Thread Michael J Ruhl
Howdy,

I use tcpdump pretty frequently, and on previous version of FreeBSD, I
could set the permissions of the bpf filters so that I could read them
(group access).

With 5.0, it seems that I can only use tcpdump with root.  How can I
specify that the bpf devices are created with group r when not created
by root?

Thanks!

Mike




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


Some Info

2003-03-11 Thread vignesh vignesh
Hi,
   I am student and I would like to get some information about FreeBSD.What 
is the advantages and disadvantages of this operating system?

Regards,
V_Waran


_
Are you in love? Find a date on MSN Personals http://match.msn.com.my/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: send-pr(1) requires local mail daemon,breach of contract for Comcast users

2003-03-11 Thread Christopher Nehren
On Tue, 2003-03-11 at 14:51, Giorgos Keramidas wrote:
 You can always configure Sendmail to listen on localhost:25 only.
 This is what the relevant part of my rc.conf looks like:
 I'm sure that your ISP can't object to *this* sort of setup.

Based upon a point raised by Bill Moran, I see how that works now.

Thanks again to those who have helped me with this.

Best regards,
Christopher


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


installijng freebsd on a second disk

2003-03-11 Thread Rajeev Agrawala
Hi,

I have a freebsd machine running 4.2. I dwant to upgrade the machine to 
4.7-RELEASE, but don't want to do an in-place upgrade. Is it possible, 
to install freebsd on a second disk on a freebsd system running live, by 
running /stand/sysinstall. Here /stand/sysinstall is from 4.2 release 
and as I mentioned before, I will point it to install freebsd 4.7 from CD.

Thanks,

rajeev

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


Re: /dev and FreeBSD 5.0

2003-03-11 Thread Lowell Gilbert
Michael J Ruhl [EMAIL PROTECTED] writes:

 I use tcpdump pretty frequently, and on previous version of FreeBSD, I
 could set the permissions of the bpf filters so that I could read them
 (group access).
 
 With 5.0, it seems that I can only use tcpdump with root.  How can I
 specify that the bpf devices are created with group r when not created
 by root?

As the release notes indicated, devices are now implemented by
devfs(5).  See its manual page; looks like you want a rule to set the
file modes on the node.

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


RE: use postfix and spamassassin

2003-03-11 Thread John Straiton
I can't help you with your transport problems (try the postfix-users
list if you don't get a response here), but I've documented my
Cyrus+Postfix+SpamAssassin+F-Prot install that I use for my personal
email.

The configuration should be the same except that you wouldn't take local
delivery of the email.

http://my.lostinfo.com/files_other/postfix_amavisd/

Which is a follow up to:
http://my.lostinfo.com/files_other/cyrus_imap/


John 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Tuesday, March 11, 2003 3:09 PM
 To: [EMAIL PROTECTED]
 Subject: use postfix and spamassassin
 
 
 Hi,
 (freebsd newbie)
 
 I've tried freebsd for a few month now and now I would like
 to use it as an anti-spam server. 
 
 I installed postfix and spamassassin from the
 ports-collection. 
 
 The server should only check every [EMAIL PROTECTED] 
 incoming mail against spamassassin and after having checked 
 the mail, it should forward it to our 
 mainserver.xyz.domanin.com which host the test.domain.com!
 
 The anti-spam server should not host any mail accounts! It 
 should only forward the mail if it is not spam! 
 
 Has someone been doing this? May be he can share some experience?
 
 Many thanks
 Didier
 
 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: send-pr(1) requires local mail daemon, breach of contract forComcast users

2003-03-11 Thread Mike Meyer
In [EMAIL PROTECTED], Bill Moran [EMAIL PROTECTED] typed:
 Just configure sendmail for local submission only (see the docs on rc.conf
 and the new configuratin options for sendmail)  That is NOT in breach of
 your contract since sendmail is NOT running as a daemon at that point.

Actually, it *is* running as a daemon. Specifically, it's running a
queue browser to deliver stalled mail from the queue every 30 minutes
- at least, that's how defaults/rc.conf sets things up.

 If you're worried about false accusations ... running sendmail in local
 submission mode will not expose an SMTP port to the network, nor will
 it look any different when it delivers than any other mail sending program.
 Just make sure to configure smart host to send to your ISPs mail gateway.

Sendmail (used to?) open a port for local submissions when run in
submit mode. If his ISP does generic port scans, they may pick that
up. You may be able to disable it in sendmail, and you can certainly
block it with your firewall of choice. The third alternatve is to
install a mail system that doesn't have a local port in submit-only
mode.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: Installing ports witout internet

2003-03-11 Thread Mike Meyer
In [EMAIL PROTECTED], Lee Harr [EMAIL PROTECTED] typed:
 I've always used FreeBSD on machines connected to the internet... so I
 have never experienced installing applications offline.
 My question is: Is it possible to install applications (using the port
 collection ) on a machine that's not connected to the internet?
 If yes, what are the requirements?
 Once you disconnect from the network, you have to do all of the
 dependency checking, downloading, transferring, building, etc
 manually. It won't be fun.

No, all you have to do is download the files manually. Once they in
/usr/ports/distfiles, you can use the standard ports makefiles to
build and install things.

The real catch is that you have to fetch all the dependency distfiles
for the port as well as it's distfile. If you have a part-time
connection, you can do make fetch-recursive while you're online, and
the ports system will fetch all the dependencies for you. Second best
is to do make fetchrecursive with DISTDIR pointing at an empty
directory which you're going to populate and transfer to your
system. Worst is to do make all-depends-list to get the complete
dependency list, then go to each port listed and see what it fetches,
then fetch and transfer them independently.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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


Re: Some Info

2003-03-11 Thread David Kelly
On Wed, Mar 12, 2003 at 04:21:51AM +0800, vignesh vignesh wrote:
 
 Hi,
I am student and I would like to get some information about FreeBSD.What 
 is the advantages and disadvantages of this operating system?

The advantage of FreeBSD over other OS's is that not only can you try it
for free, keep it for free if you like it, but you can also use it for
free in whole or part for most anything you want without obligation to
give away your own work for free.

Could do the same with Linux but you would have to hire a lawyer to help
you keep GPL from infecting your unique product additions.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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


Re: Hot-Swapable Drives and FreeBSD

2003-03-11 Thread Doug Reynolds
On Mon, 10 Mar 2003 13:35:46 -0600, Martin McCormick wrote:

   Is there a safe way short of rebooting to let FreeBSD
know that a hot-pluggable drive has been added?

   I recently added one to a FreeBSD4.7 system.  When the
connector made contact, a console message that Channel A had just
reset popped up so the hardware knew it was there.  The system
continued to work properly as expected, but it only knew about
/dev/da0.

   As soon as I rebooted, it then knew about both drives.

   I wanted to add a new drive to a running system and keep
the reboots down to a minimum.  Thank you.

this might sounds like a dumb question, but did you try to mount the
file system, and do you have made the device node with MAKEDEV?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



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


Re: installijng freebsd on a second disk

2003-03-11 Thread Nigel Soon
have a look at this link:
http://ezine.daemonnews.org/200302/fbsdscratch.html

Nigel

On Tue, 11 Mar 2003, Rajeev Agrawala wrote:

 Hi,
 
 I have a freebsd machine running 4.2. I dwant to upgrade the machine to 
 4.7-RELEASE, but don't want to do an in-place upgrade. Is it possible, 
 to install freebsd on a second disk on a freebsd system running live, by 
 running /stand/sysinstall. Here /stand/sysinstall is from 4.2 release 
 and as I mentioned before, I will point it to install freebsd 4.7 from CD.
 
 Thanks,
 
 rajeev
 
 
 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


ssh'ing into jail(8)

2003-03-11 Thread Cary Mathews
If this is not the right fourm to ask this question, please redirect me to
the correct place, or documentation which addresses this issue.

I am setting up an internal (192.168.x.x) network of  computers consisting
of jail(8)'d virtual machines. I have set up djbdns to provide DNS service
for this internal network.

I have assigned my 192.168.x.x addresses to the lo0 interface so I don't
have to make major adjustments to my firewall ruleset.

I am able to ping all my internal machines from the host computer. I am
able to do dns lookups using the dns tools provided with djbdns, and the
nslookup and dig tools. So I am confident that name resolution is working.

Within the jailed hosts, I have turned off the portmap, syslogd, sendmail,
and inetd daemons and am running only cron and sshd daemons upon start up.

But when I attempt to ssh into one of the jailed hosts, the connection
times out and reports: Connection closed by 192.168.1.100.

A partial sockstat reading while the hosts are attempting to connect
shows:
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
sshd sshd 596134 tcp4   192.168.1.100:22  192.168.1.100:2604
sshd sshd 596137 udp4   192.168.1.100:2625192.168.1.1:53
root sshd 596124 tcp4   192.168.1.100:22  192.168.1.100:2604
cary ssh  596113 tcp4   192.168.1.100:2604192.168.1.100:22

A quick description of the addresses:
150.252.106.57 - external IP address of host computer, also running
dnscache for external lookups
192.168.1.1 - IP address of internal dnscache for 192.168.x.x addresses
192.168.1.100 - IP address of jail(8)'d host
192.168.53.1 - IP address of jail(8)'d tinydns server host

ssh debugging output shows:
[snip initial key-exchange]
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
{and ssh hangs here...}

The messages, security, and auth logs under /var/log in the jail'd host
are completly empty.  Under the host machine logs , there is nothing as
well.

I'm at a loss of what else to trouble shoot.  I'm not subscribed to the
list so if you could Cc: me, I would appreciate it.

Thank you in advance for any help offered!

Cary Mathews


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


Re: newbie : no mouse in x

2003-03-11 Thread Rob
On Tue, Mar 11, 2003 at 07:17:39PM +, Lee Harr wrote:
 Do you need mouse in the text console?
 
 I never use that, and so in all my XF86Config files, I just
 use the raw mouse device: /dev/psm0
 usually, the type auto works, sometimes I have to
 use type microsoft.
 
 If you don't need mouse in the console, I would recommend
 trying that. It has never failed for me.

Has anyone else noticed that even when moused_enable=NO is set it the
/etc/rc.conf file moused starts at boot? I ended up writing a stupid
little shell script to kill the proccess.


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


POST data not available in cgi perl scripts

2003-03-11 Thread Olivier Dony
I understand this might be a little off topic but I can only reproduce the 
problem on one of my FreeBSD server, so it's not that much OT.

It's very simple, the data from a HTTP POST never reaches my CGI perl scripts.
There are no errors in the server log, the CGI executes fine, no debug with 
CGI::Carp, etc.. only thing is that the POST data is always empty. And that 
no matter what browser I use of course. Also I'm using CGI.pm, but handling 
it by hand yields the same results. The POST DATA is always empty.
Though if I run my script with 'perl -c' in interactive mode and POST
something it works ok and the script gets my POST DATA without problem.

Displaying the %ENV shows the correct QUERY_STRING when using GET, but with
POST the POST DATA never makes it to the script. 

This happens only on one of my FreeBSD : 4.7-RELEASE, apache 1.3.27, system 
perl v5.005_03, whereas the same CGI scripts run fine on my other 5.0-RELEASE
and 4.4-RELEASE, with the same apache version, and perl different or the same.

I have no idea where or what I could look to solve the problem. Maybe others
have had the same issue or any perl/cgi gurus have any ideas for me?

I will be glad to provide any additional info or config files.

TIA a lot for any hints

--
Olivier


PS: An example of a very basic test that fails, I POST into this CGI script,
and the output of the POST data is empty, though CONTENT_LENGTH is correct :

FILE post.cgi
#!/usr/bin/perl -w
print Content-type:text/html\n\n;
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
print DATA: [$buffer]br\n; # - nothing output between the brackets here
@pairs = split(//, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(C, hex($1))/eg;
$FORM{$name} = $value;
}
print htmlbody;
foreach $key (keys(%FORM)) {
print $key = $FORM{$key}br;
}
#   ^^^ here my output is always empty too

foreach $key (sort(keys %ENV)) {
print $key = $ENV{$key}br\n;
}

print /body/html;
/FILE post.cgi

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


Silky Sweet Inner Meat...!!

2003-03-11 Thread Samantha Jones
Title: ABSOLUTE FREE SMUT





   
 
  
   
 
 






  

 
  
  



  



We appreciate your patronage, and thank you for opting in To cancel your subscription to this newsletter, click here.




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


Re: POST data not available in cgi perl scripts

2003-03-11 Thread Olivier Dony
On Wed, Mar 12, 2003 at 12:21:59AM +0100, Olivier Dony wrote:
 (...)
 Though if I run my script with 'perl -c' in interactive mode and POST
^^^
Sorry here I meant 'perl' in command line to get the CGI.pm interactive mode,
and of course not 'perl -c', which I had used just before to check the syntax.

 something it works ok and the script gets my POST DATA without problem.
 (...)


--
Olivier

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


good compact flash/smart card readers?

2003-03-11 Thread JacobRhoden
Hi,

Im about to buy a usb cf card reader (i want to be able to write to cf cards) 
does anyone here have one they would reccomend which works well in FreeBSD?

Thanks,
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


ng_pppoe: session in wrong state

2003-03-11 Thread The Anarcat
Hi!

Yesterday, I started having problems with my ADSL PPPoE connection. My
connection would be slow for about 20 minutes then just timeout. When
ppp tries to connect again, the kernel says:

/kernel: session in wrong state

I search the mailing lists and found a message with a similar problem
but no solution.

ppp just goes through the procedure as if the server wasn't there:

Mar 11 18:24:11  ppp[2309]: tun0: Phase: deflink: dial - carrier
Mar 11 18:24:16  ppp[2309]: tun0: Phase: deflink: Disconnected!

I found that the message is sent from ng_pppoe.c:1084:

/*
 * Check the session is in the right state.
 * It needs to be in PPPOE_SINIT.
 */
sp = sendhook-private;
if (sp-state != PPPOE_SINIT) {
printf(session in wrong state\n);
LEAVE(ENETUNREACH);
}

This doesn't seem to be a new commit, so I think it might be related
to my setup here.

I am able to reconnect by power-cycling the modem. The disconnect
sometimes occurs with a:

Mar 11 18:21:10  ppp[2253]: tun0: Phase: deflink: ** Too many LQR packets lost **
Mar 11 18:21:10  ppp[2253]: tun0: CCP: deflink: State change Stopped -- Closed

so I thought of disabling the LQR. I have yet to see an effect.

Here is my ppp.conf:

default:
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that device references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa2

 set log Chat CCP command IPCP tun Phase 
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 enable dns
 set server /var/run/tun  0177

pppoe:
 set device PPPoE:ep0
 set mru 1492
 set mtu 1492
 set authname 
 set authkey 
 set cd 5
 disable lqr
 set dial
 set login
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 add default HISADDR# Add a (sticky) default route
 disable dns# request DNS info (for resolv.conf)

I have just upgraded this machine to 4.8-RC, and I have the same
results. The OS before was 4.6-STABLE.

A.

-- 
There has been only one Christian.
They caught him and crucified him -- early.
- Mark Twain


pgp0.pgp
Description: PGP signature


Re: good compact flash/smart card readers?

2003-03-11 Thread David Kelly
On Wed, Mar 12, 2003 at 10:30:46AM +1100, JacobRhoden wrote:
 Hi,
 
 Im about to buy a usb cf card reader (i want to be able to write to cf cards) 
 does anyone here have one they would reccomend which works well in FreeBSD?

SanDisk ImageMate, P/N SDDR-31, works exceptionally well. Just start
usbd and plug it in. Dmesg will say something like this when it appears:

umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2
umass0: Get Max Lun not supported (STALLED)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: SanDisk ImageMate II 1.30 Removable Direct Access SCSI-2 device 
da0: 650KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present

Only problem here is when you have SCSI drives which are not wired
in your kernel configuration. The USB SanDisk may pre-empt da0 on boot
so your /etc/fsck is out of kilter. BTDT. SCSI disks needed to be wired
in place anyhow but I've managed to go 8 years without.

I thought it was a 1.0 MB/sec device on my Macintosh or somewhere. Maybe
with a different USB interface under FreeBSD? Plugged into my G4's
keyboard and asking what Apple System Profiler says, it only says,
Device Speed: Full. What ever that means.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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


¤é±`¥Î«~¤WºôÁÊ

2003-03-11 Thread acom
Title: ±z¦³¤U¦C¯S½è¶Ü







  

  
«lÃz¡I¡I¾_¾Ù¡I¡I



  ±z¦³¤U¦C¯S½è¶Ü¡H


  1.¨Æ·~¥ø¹Ï¤ß


  2.¤£¥Ì¤ß¥­¤Z


  3.¤£º¡©ó²{ª¬


  4.«i©ó­±¹ï¥¼¨Ó


  ¥u­n±z¾Ö¦³¤W¦C¯S½è¡A§Ú­Ì±N§K¶O°ö°V±z©Ò¦³¬ÛÃö§Þ¾¯à¤O¡A´£¨Ñ±zµ²¦Xºô¸ô¡B¹êÅé¡A­¹¦ç¦í¦æ¡B   
¦Y³Üª±¼Öªº³q¸ô¨Æ·~¡IÂI¿ï§Ú¡A±z´N¥i¥H±o¨ì¡I
ps:±N·|¦³±M¤H¬°±z¸Ô²Ó¸Ñ»¡³á¡I



 

  








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


Re: good compact flash/smart card readers?

2003-03-11 Thread Scott Mitchell
On Wed, Mar 12, 2003 at 10:30:46AM +1100, JacobRhoden wrote:
 Hi,
 
 Im about to buy a usb cf card reader (i want to be able to write to cf cards) 
 does anyone here have one they would reccomend which works well in FreeBSD?
 
 Thanks,
 Jacob

I have a Sitecom CN-300 reader that seems to work perfectly... it's a
multi-slot CF/SmartMedia/MMC/MemoryStick readers.  The Sitecom website
claims that this model has been discontinued, but they're certainly still
available here in .uk.  People have reported success with SanDisk readers
in the past, too.

HTH,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon

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


nasty HD crash -- can any one help with suggestions?

2003-03-11 Thread Steve Warwick
Murphy struck with a vengeance this morning.

I have all my clients data on drive 2 in my server (why, because I was about
to do a machine / OS swap). However, for some reason the second drive went
down raaaly hard early this morning, some 4-5 hours before the
changeover.

So the question is, can I recover from this?

I cannot boot the server with the second drive in fstab as it hangs when it
hits the corrupted part. Running fsck gives me the same errors, it hits a
segment and poops - it can't even continue.

Exact message from boot seq:

ad2s1e hard error reading fsbn 12714175 of 6357056-6357167 (ad2s1e bn
12714175; cn 791 tn 107 sn 19)ad2s1e hard error reading fsbn 12714175 of
6357056-6357167 (ad2s1e bn 12714175; cn 791 tn 107 sn 19) status=59 error=40
ad2: DMA problem fallback to PIO mode
/dev/ad2s1e cannot read blk 6357056


Fsck show block 6357056 and 6357058 have problems but hangs after *58



Thoughts, suggestions gratefully received - please don't beat me up, I know
I screwed up but I let my paranoia slip.



TIA


Steve




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


Re: Backup Solution

2003-03-11 Thread Brian Astill
On Tue, 11 Mar 2003 07:45 pm, Wayne Swart wrote:
 Hi everyone

 I am looking for a centralized backup solution for FreeBSD. It must
 be able to backup to harddrive, rather than to a tape drive, and must
 have support for FreeBSD/Linux and Windows 2000 clients.

bu (in ports) looks good

-- 
Regards,
Brian

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


Re: suid shell script

2003-03-11 Thread Lee Harr
There are a couple of scripts I use for my own convenience
that I ran setuid root


I have one of those: my dialer script.

What I did is create a short C wrapper:

#include stdlib.h

int main() {
system(/root/bin/dial);
return 0;
}
Then I made that suid root.

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Mounting a Bootable FreeBSD disk

2003-03-11 Thread Martin McCormick
This is a time when I don't understand all I know yet.  I
just built a system using the FreeBSD4.7 CDROM and then removed
that bootable drive and temporarily added it to another identical
FreeBSD box as a second drive.

I added it hot for practice in an upcoming upgrade and
used camcontrol rescan 0:1:0 to get the running system to see the
new drive.  This appeared to go without a hitch and the kernel
printed several diagnostic messages about the new drive.  Good,
so far.

I know that secondary drives containing a UNIX file
system are extremely easy to mount.

This bootable drive, when in its proper slot, brings a
system right up with no errors.  When I try to run fsck on
/dev/da1 or mount /dev/da1s1 on /mnt, the complaint is of a bad
superblock.

Should a regular mount command work?

Unless the SCSI start up procedure corrupted the drive, I
don't see why there should be any complaint.

Again, my procedure was to run camcontrol rescan 0:1:0 to
make the system see the new SCSI device.  Then I tried to fsck
and or mount and that's when I got all the bad superblock
messages.

The disk in question is bootable right in to FreeBSD with
no boot manager or multiple OS's.  It is as simple as it gets.

The plan is to temporarily mount the drive, make a tar
ball of the whole thing, and then put it back in its home server.

The errors remind me of what I saw the first time I ever
tried to mount a DOS-formatted floppy disk or a CDROM before I
read about the special forms of mount that exist in FreeBSD.
Many thanks to all of you.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Center for Computing and Information Services Network Operations Group

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


Re: Mounting a Bootable FreeBSD disk

2003-03-11 Thread Chad Leigh -- Shire . Net LLC
try using /dev/da1s1a for the root partition slice of the hot added 
disk with
the bootable system on it.

Chad

On Tuesday, Mar 11, 2003, at 19:08 US/Mountain, Martin McCormick wrote:

This is a time when I don't understand all I know yet.  I
just built a system using the FreeBSD4.7 CDROM and then removed
that bootable drive and temporarily added it to another identical
FreeBSD box as a second drive.
I added it hot for practice in an upcoming upgrade and
used camcontrol rescan 0:1:0 to get the running system to see the
new drive.  This appeared to go without a hitch and the kernel
printed several diagnostic messages about the new drive.  Good,
so far.
I know that secondary drives containing a UNIX file
system are extremely easy to mount.
This bootable drive, when in its proper slot, brings a
system right up with no errors.  When I try to run fsck on
/dev/da1 or mount /dev/da1s1 on /mnt, the complaint is of a bad
superblock.
	Should a regular mount command work?

Unless the SCSI start up procedure corrupted the drive, I
don't see why there should be any complaint.
Again, my procedure was to run camcontrol rescan 0:1:0 to
make the system see the new SCSI device.  Then I tried to fsck
and or mount and that's when I got all the bad superblock
messages.
The disk in question is bootable right in to FreeBSD with
no boot manager or multiple OS's.  It is as simple as it gets.
The plan is to temporarily mount the drive, make a tar
ball of the whole thing, and then put it back in its home server.
The errors remind me of what I saw the first time I ever
tried to mount a DOS-formatted floppy disk or a CDROM before I
read about the special forms of mount that exist in FreeBSD.
Many thanks to all of you.
Martin McCormick WB5AGZ  Stillwater, OK
OSU Center for Computing and Information Services Network Operations 
Group

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: Mounting a Bootable FreeBSD disk

2003-03-11 Thread Martin McCormick
Chad Leigh -- Shire.Net LLC writes:
try using /dev/da1s1a for the root partition slice of the hot added 
disk with
the bootable system on it.

Oh my!  I forgot about the swap partition.  It works.

Lately, every time I have written to this  list, it turns
out that I did something just plain stupid.  Thanks for your
patience.

Martin McCormick

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


Re: Some Info

2003-03-11 Thread taxman
On Tuesday 11 March 2003 03:21 pm, vignesh vignesh wrote:
 Hi,
 I am student and I would like to get some information about
 FreeBSD.What is the advantages and disadvantages of this operating system?

First read the information at www.freebsd.org.  There is so much there that 
will help you answer that question and draw your own conlusions.  Then we can 
help you usefully.

Then the most basic I can make it is when it works it works really well and 
keeps working.  There is a fairly steep learning curve to get a number of 
things working.

Tim


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


Running Apps with wine...

2003-03-11 Thread Rod Person
Can anyone run anything with WINE. I have setup wine a tried apps using documentation 
from winehq, but none of the app that are listed as working work for me.

Anyone have any tip, hints or good place to find info on running anything on wine? Or 
someplace to find different examples of wine conf file?

TIA
Rod

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


Re: pkg-comment all gone...

2003-03-11 Thread Lowell Gilbert
William Palfreman [EMAIL PROTECTED] writes:

 Not that I've got anything against it or anything, but I've noticed that
 recent ports tree cvsups have wiped out most of the pkg-comment files.

They were moved into the makefiles, to save inodes.

 When did this policy change happen, because I can't see anything about
 it from googling?  No criticism though: I always found pkg-descr much
 more useful.

It has been discussed for many months now, and the changeover was
first attempted some time ago.  There's a lot of information in the
mailing list archives.

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


Libtool port question

2003-03-11 Thread Sean O'Neill
Yeah I know - this is more appropriate for the ports mailing list ... 
hoping someone here knows before I go off and subscribe to the ports 
mailing list to ask the same question.

Anyone know why ports/devel/libtool14 is actually libtool 1.3.4 and NOT 
libtool 1.4.# ?  1.3.4 is pretty old. Hell, the distfile in 
ports/devel/libtool14 was updated almost 3 years ago.

--

. ..- -. .. -..- .-. ..- .-.. . ... 
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill 

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


Package set removal

2003-03-11 Thread Kevin Stevens
I would like to remove the X11 implementation from my 4.7-STABLE
installation, and was wondering if there's a better way to do it than
package-by-package.  I originally installed it over a base system by using
/stand/sysinstall and specifying the additional distribution set.  Is
there a way to remove everything that was installed then in one fell
swoop?  I'm trepidant about just going in and specifying a base install
again, I don't want to destroy/affect my existing base install, just
remove the GUI stuff.

KeS



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


Re: disabling sendmail and using postfix

2003-03-11 Thread Shantanu Mahajan
+++ [EMAIL PROTECTED] [freebsd] [11-03-03 17:34 +0100]:
| Hi,
| (freebsd newbie)
| I've installed postfix from ports. At the end of the
| installion script I was asked if it should modify the
| /etc/mail/mailer.conf file which I answered with yes!
| 
| My question is, how is postfix started? It did not install
| a .sh file in /usr/local/etc/rc.d.
| 
| Is still started with the sendmail_enable=yes variable in
| rc.conf or do I have to set sendmail_enable=NONE, and add
| something different to use postfix?
| 
| What other specific freebsd files do I have to or should
| I modify when using postfix (for example like make.conf)?
| Where can I find more info when using postfix on freebsd?
| 
| Thanks a lot
| Didier
| 
| --
mailer.conf is used as a mail wrapper. since postfix
is sendmailish, the other progs. are not affected
since they think that they are talking to sendmail
prog. but in reality postfix is running.

Regards,
Shantanu

-- 
Truly great madness can not be achieved without significant intelligence.

PGP keyID : 137AFD9E
PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC  D92A F0D4 C2ED 137A FD9E


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


Re: Fetchmail question

2003-03-11 Thread Shantanu Mahajan
+++ Dragoncrest [freebsd] [10-03-03 22:26 -0500]:
|   Hi all.  Got a question about fetchmail again.  This one should be 
| easy.  I'm looking for the easiest way to get fetchmail to purge a mailbox 
| for me.  Here's what I'm after.  First off, when my mail downloads, fetch 
| has been told (via a config I have in sendmail) to leave mail on the server 
| if the user has an invalid domain name.  IE. From viruses, spam, etc.  What 
| I want it to do is to try to download all of the messages on the server, 
| then, regardless if they succeed or fail, I want fetchmail to just nuke 
| them off the server.  Currently it only nukes mail that has been 
| successfully delivered to the local computer.  I want it to dump all of 
| them so that it doesn't end up leaving all the rejected mail messages to 
| pile up on the server, yet at the same time I don't want it to wipe all of 
| the messages till it's tried to download each message at least 
| once.  Anyone got any good suggestions on how to setup fetch to do this?
| 
| --
if you are downloading for POP, try filtermail.
/usr/ports/mail/filtermail

Regards,
Shantanu

-- 
Truly great madness can not be achieved without significant intelligence.

PGP keyID : 137AFD9E
PGP keyID fingerprint : C7DA 3350 1DEA F371 37DC  D92A F0D4 C2ED 137A FD9E


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


Status of /usr/ports/mail/drac

2003-03-11 Thread James Long
I find the email address [EMAIL PROTECTED] in the Makefile for the 
/usr/ports/mail/drac port, but mail to that address bounces with
a mailbox disabled error.  Is this port still maintained?

I am unable to compile it (for sendmail), due to a checksum mismatch.
If I override the checksum mismatch, then the patch files fail to apply
cleanly.  I find that Antoine Jacoutot has had the same problems, but
got no reply to his query of 17 Jan.

I have cvsup'ed my ports tree as of a few minutes ago, with no change
in symptoms.

My goal is to set up a pop daemon with an alternate password mechanism
(i.e., not using /etc/master.passwd) and pop-before-smtp relaying.
I am currently running cucipop with master.passwd authentication, and
no pop-before-smtp.

May I solicit your suggestions?

Thanks, and regards from Portland, 

Jim


=
For databases compatible with other MTAs than sendmail, use:

WITH_POSTFIX=yes(Postfix)
WITH_POSTFIX_DB3=yes(Postfix with DB3 database maps)
WITH_EXIM=yes   (Exim)

Define WITH_FOREGROUND to make the rpc.dracd daemon stay in
foreground instead of detaching itself. This breaks the
startup script.
=
 drac.tar.Z doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from ftp://ftp.cc.umanitoba.ca/src/.

20705 bytes transferred in 0.5 seconds (41.21 kBps)
===  Extracting for drac-1.11_2
 Checksum mismatch for drac.tar.Z.
Make sure the Makefile and distinfo file (/usr/ports/mail/drac/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args].
*** Error code 1

Stop in /usr/ports/mail/drac.

--h2C4cW8w057956.1047443913/ns.museum.rain.com--


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


Re: Installing ports witout internet

2003-03-11 Thread Chuck Swiger
Lee Harr wrote:
I've always used FreeBSD on machines connected to the internet... so I
have never experienced installing applications offline.
My question is: Is it possible to install applications (using the port
collection ) on a machine that's not connected to the internet?
Possible? Of course. Fun? Not exactly.

Thing is, FreeBSD is designed to be connected to a network. Things
are so easy that I constantly amaze people with installing all
sorts of software just by typing a few words.
Once you disconnect from the network, you have to do all of the
dependency checking, downloading, transferring, building, etc
manually. It won't be fun.
make fetch-recursive, then burn /usr/ports/distfiles (or all of 
/usr/ports, for that matter, if you just want to make install without 
waiting to recompile) to a CD-ROM.

Then again, there's no reason why the OP couldn't build out a system 
that was connected to the Internet as they please, back that up, and 
then restore to the offline system.

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


Traceroute issues

2003-03-11 Thread Dragoncrest
	Hi all.  Got a really weird issue here.  Got a router that uses simple nat 
that for some reason won't allow me to traceroute out of my freebsd box, 
but every other computer connected to the router can, and can traceroute 
with flying colors.  What might possibly be wrong with my machine that I 
can't traceroute anywhere?

	I have no IPFW setup on the box at all, nor is it running.  This is all 
that I have running on the box:

root  45538  0.0  0.2   424  220  p0  R+   11:52PM   0:00.00 ps -aux
root  1  0.0  0.2   556  212  ??  SLs   1Feb03   0:00.73 /sbin/init --
root  2  0.0  0.0 00  ??  DL1Feb03   0:20.63  (pagedaemon)
root  3  0.0  0.0 00  ??  DL1Feb03   0:00.00  (vmdaemon)
root  4  0.0  0.0 00  ??  DL1Feb03   0:58.62  (bufdaemon)
root  5  0.0  0.0 00  ??  DL1Feb03  41:44.80  (syncer)
root  6  0.0  0.0 00  ??  DL1Feb03   1:09.51  (vnlru)
root 81  0.0  0.6   952  516  ??  Ss1Feb03   0:34.44 
/usr/sbin/syslogd -s
root 88  0.0  0.6  1080  536  ??  Is1Feb03   0:00.43 
/usr/sbin/inetd -wW
root 90  0.0  0.6  1004  504  ??  Ss1Feb03   0:57.63 /usr/sbin/cron
root 92  0.0  1.1  2348 1048  ??  Is1Feb03   0:00.59 /usr/sbin/sshd
root131  0.0  0.5   956  488  v0  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv0
root132  0.0  0.5   956  488  v1  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv1
root133  0.0  0.5   956  488  v2  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv2
root134  0.0  0.5   956  488  v3  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv3
root135  0.0  0.5   956  488  v4  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv4
root136  0.0  0.5   956  488  v5  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv5
root137  0.0  0.5   956  488  v6  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv6
root138  0.0  0.5   956  488  v7  Is+   1Feb03   0:00.03 
/usr/libexec/getty Pc ttyv7
root  28842  0.0  0.6   940  584  ??  Is   Wed06PM   0:00.04 /sbin/dhclient dc0
root  30562  0.0  1.2  1740 1128  ??  Ss   Wed07PM   1:18.84 sendmail: 
accepting connections (sendmail)
root  0  0.0  0.0 00  ??  DLs   1Feb03   0:00.00  (swapper)

	Anyone know why this is happening?  I've tried with a Kingston router and 
a Linksys DSL router.  This connection is on DSL by the way.  :)

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


Re: Traceroute issues

2003-03-11 Thread Daxbert
Quoting Dragoncrest [EMAIL PROTECTED]:

   Hi all.  Got a really weird issue here.  Got a router that uses simple nat 
 that for some reason won't allow me to traceroute out of my freebsd box, 
 but every other computer connected to the router can, and can traceroute 
 with flying colors.  What might possibly be wrong with my machine that I 
 can't traceroute anywhere?

Could if be that the other hosts are using ICMP instead of UDP for traceroute?

From your FreeBSD host, try...

# traceroute -I hostname

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


RE: Traceroute issues

2003-03-11 Thread Michael K. Smith
 
   Hi all.  Got a really weird issue here.  Got a router 
 that uses simple nat 
 that for some reason won't allow me to traceroute out of my 
 freebsd box, 
 but every other computer connected to the router can, and can 
 traceroute 
 with flying colors.  What might possibly be wrong with my 
 machine that I 
 can't traceroute anywhere?
 

Hello:

Could you send the output from a 'ifconfig -a' and a 'netstat -rn'?

Mike


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


5.0 Install Kernel/Dell Inspiron 2650

2003-03-11 Thread Lucas Reddinger
Apparently, I need to disable eisa support to successfully boot a kernel
on my Dell Inspiron 2650.

In 4.x, I would do a `boot -c` followed by `eisa 0`.

What about FreeBSD 5.0? I tried `set hint.eisa.0.disabled=1` at the stage
3 boot prompt. It didn't seem to work. Any other ideas?

I _really_ need the ACPI support. _Any_ help is appriciated.

Thanks in advance,
Lucas

P.S. I apologize if this already made it to the lists. I've been having
trouble with my mail client.



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


usb not working on intel motherboard

2003-03-11 Thread JacobRhoden
Hi, 

Hi,

It seems that no matter what I do I can not get usb devices to even be 
recognised. (Yes usbd is running).  Relevant DMESG and usbd error messages 
below. Does anyone have any ideas? (I have tried usb mouse, keyboard, and 
camera).

Thanks,
Jacob

FreeBSD elkanah.its.unimelb.edu.au 4.8-RC FreeBSD 4.8-RC #1: Wed Mar 12 
15:00:01 EST 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JOAB2  i386

uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xe800-0xe81f irq 11 
at device 29.0 on pci0
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xe880-0xe89f irq 5 at 
device 29.1 on pci0
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xec00-0xec1f irq 9 at 
device 29.2 on pci0
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

And verbose debug output from usbd:

%/usr/sbin/usbd -d -vv -f /dev/usb0 -f /dev/usb1 -f /dev/usb2
usbd: opened /dev/usb0
usbd: opened /dev/usb1
usbd: opened /dev/usb2
usbd: reading configuration file /etc/usbd.conf
usbd: action 1: ActiveWire board, firmware download
  vndr=0x0854 prdct=0x0100 rlse=0x
  attach='/usr/local/bin/ezdownload -f 
/usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}'
usbd: action 2: Entrega Serial with UART
  vndr=0x1645 prdct=0x8001 rlse=0x0101
  attach='/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 
/dev/${DEVNAME}'
usbd: action 3: USB ethernet
  devname: [ack]ue[0-9]+
  attach='dhclient ${DEVNAME}'
  detach='killall dhclient'
usbd: action 4: Mouse
  devname: ums[0-9]+
  attach='/usr/sbin/moused -p /dev/${DEVNAME} -I 
/var/run/moused.${DEVNAME}.pid'
usbd: action 5: USB device
usbd: 5 actions
usbd: opened /dev/usb
usbd: doing timeout discovery on /dev/usb0
usbd: doing timeout discovery on /dev/usb1
usbd: doing timeout discovery on /dev/usb2
usbd: processing event queue due to timeout on /dev/usb
usbd: doing timeout discovery on /dev/usb0
usbd: doing timeout discovery on /dev/usb1
usbd: doing timeout discovery on /dev/usb2
usbd: processing event queue due to timeout on /dev/usb


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


Re: Libtool port question

2003-03-11 Thread Kris Kennaway
On Tue, Mar 11, 2003 at 09:53:52PM -0600, Sean O'Neill wrote:
 Yeah I know - this is more appropriate for the ports mailing list ... 
 hoping someone here knows before I go off and subscribe to the ports 
 mailing list to ask the same question.
 
 Anyone know why ports/devel/libtool14 is actually libtool 1.3.4 and NOT 
 libtool 1.4.# ?  1.3.4 is pretty old. Hell, the distfile in 
 ports/devel/libtool14 was updated almost 3 years ago.

FAQ..read the archives

Kris


pgp0.pgp
Description: PGP signature


sed to replace the words

2003-03-11 Thread Kok Kok
Hi all

I have question how to replace words using sed

./script 61.100 192.168

The script is 
#!/bin/sh
sed -e 's/$2/$1/g' file  newfile

The problem is 192.168 can't replace 61.100 in the
newfile

Please help

Thank you




__ 
Post your free ad now! http://personals.yahoo.ca

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


XFree86 4.3.0 fails to make

2003-03-11 Thread xcas
I tried updating with 'portupgrade' like recommended.. but it ends up
croaking on 'XFree86-libraries-4.3.0'..

uname -a output..
FreeBSD localhost.bsd-unix.org 4.8-RC FreeBSD 4.8-RC #0: Sat Mar  8
19:42:55 MST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KADAFI
i386


the error message...

+ LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib
cc -o ./libxlcUTF8Load.so.2
~ -shared -rpath /usr/X11R6/lib -Wl,-soname,libxlcUTF8Load.so lcUTF8Load.o
-L/usr/ports/x11/XFree86-
4-libraries/work/xc/exports/lib -lX11 -lc
+ rm -f libxlcUTF8Load.so
+ ln -s libxlcUTF8Load.so.2 libxlcUTF8Load.so
+ rm -f
/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib/libxlcUTF8Load.so
+ cd /usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib
+ ln -s ../../lib/X11/xlibi18n/lc/Utf8/libxlcUTF8Load.so .
rm -f libxlcUTF8Load.so.2
mv -f libxlcUTF8Load.so.2~ libxlcUTF8Load.so.2
rm -f
/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib/libxlcUTF8Load.so.2
Bus error (core dumped)
*** Error code 138
Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11/xlibi18n/lc.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11/xlibi18n.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
*** Error code 1
Stop in /usr/ports/x11/XFree86-4-libraries.
Mar 11 23:13:32 localhost /kernel: pid 66995 (make), uid 0: exited on
signal 10 (core dumped)
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade55065.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
! x11/XFree86-4-libraries (XFree86-libraries-4.3.0) (coredump)

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


RE: sed to replace the words

2003-03-11 Thread Michael K. Smith
Does it have to be sed specifically?  How about:

cat test.sed | awk '{print $2,$1}'  newfile

Mike

Michael K. Smith NoaNet
206.219.7116 (work)  206.579.8360 (cell)
[EMAIL PROTECTED]   http://www.noanet.net



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kok Kok
 Sent: Tuesday, March 11, 2003 10:17 PM
 To: [EMAIL PROTECTED]
 Subject: sed to replace the words
 
 
 Hi all
 
 I have question how to replace words using sed
 
 ./script 61.100 192.168
 
 The script is 
 #!/bin/sh
 sed -e 's/$2/$1/g' file  newfile
 
 The problem is 192.168 can't replace 61.100 in the
 newfile
 
 Please help
 
 Thank you
 
 
 
 
 __
  
 Post your free ad now! http://personals.yahoo.ca
 
 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: (works now) XFree86 4.3.0 fails to make

2003-03-11 Thread xcas


On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:

 I tried updating with 'portupgrade' like recommended.. but it ends up
 croaking on 'XFree86-libraries-4.3.0'..

 uname -a output..
 FreeBSD localhost.bsd-unix.org 4.8-RC FreeBSD 4.8-RC #0: Sat Mar  8
 19:42:55 MST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KADAFI
 i386


 the error message...

 + LD_LIBRARY_PATH=/usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib
 cc -o ./libxlcUTF8Load.so.2
 ~ -shared -rpath /usr/X11R6/lib -Wl,-soname,libxlcUTF8Load.so lcUTF8Load.o
 -L/usr/ports/x11/XFree86-
 4-libraries/work/xc/exports/lib -lX11 -lc
 + rm -f libxlcUTF8Load.so
 + ln -s libxlcUTF8Load.so.2 libxlcUTF8Load.so
 + rm -f
 /usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib/libxlcUTF8Load.so
 + cd /usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib
 + ln -s ../../lib/X11/xlibi18n/lc/Utf8/libxlcUTF8Load.so .
 rm -f libxlcUTF8Load.so.2
 mv -f libxlcUTF8Load.so.2~ libxlcUTF8Load.so.2
 rm -f
 /usr/ports/x11/XFree86-4-libraries/work/xc/exports/lib/libxlcUTF8Load.so.2
 Bus error (core dumped)
 *** Error code 138
 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11/xlibi18n/lc.
 *** Error code 1
 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11/xlibi18n.
 *** Error code 1
 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11.
 *** Error code 1
 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib.
 *** Error code 1
 Stop in /usr/ports/x11/XFree86-4-libraries.
 Mar 11 23:13:32 localhost /kernel: pid 66995 (make), uid 0: exited on
 signal 10 (core dumped)
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade55065.0 make
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped / !:failed)
 ! x11/XFree86-4-libraries (XFree86-libraries-4.3.0) (coredump)

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


Works fine now.. I thought I'd try it without portupgrade.. so I did
pkg_delete -f to all the XFree packages displayed in pkg_info | grep
XFree.. then I did..

# cd /usr/ports/x11-servers/XFree86-4-Server/
# make all install clean

:-)

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


how do i invoke the command ee or vi when system fails to load

2003-03-11 Thread NOEL BALANSAG
hello.

pardon my stupid question, but how do i invoke the
command ee or vi? i recently removed partition no.
2 on my disk, and fbsd resides on partition no. 3, so
now i have 2 partitions, windoze on partition 1 and =
fbsd on partition 2. but when i boot into fbsd, the
system cannot see the files, and drops me into the #
prompt.

how do i invoke ee or vi? is it ok to just edit
the file /etc/fstab and reboot? is there anything
else i need to do?

thanks in advance.

pls. cc any response because this email address of
mine is not subscribed, bec. any mail from my other
subscribe addy gets bounced due to a spammer on my
isp. i hate spammers!!! they should be shot!

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

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


Re: how do i invoke the command ee or vi when system fails to load

2003-03-11 Thread Lowell Gilbert
NOEL BALANSAG [EMAIL PROTECTED] writes:

 pardon my stupid question, but how do i invoke the
 command ee or vi? i recently removed partition no.
 2 on my disk, and fbsd resides on partition no. 3, so
 now i have 2 partitions, windoze on partition 1 and =
 fbsd on partition 2. but when i boot into fbsd, the
 system cannot see the files, and drops me into the #
 prompt.
 
 how do i invoke ee or vi? is it ok to just edit
 the file /etc/fstab and reboot? is there anything
 else i need to do?

FAQ.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY

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


sfs UID 71

2003-03-11 Thread Dru

I was reading my daily output on a 4.7-RELEASE and noticed the following
user was created:

 sfs:*:71:

as well as the following groups:

 nogroup:*:65533:
 nobody:*:65534:
 sfs:*:71:

What was strange was that I hadn't installed or upgraded any applications
for at least 2 days. The only thing I had done different was to run
tripwire --check for the first time on that system. (I had installed
tripwire a few weeks earlier but not used it).

Am I correct in assuming that tripwire creates that user/groups the first
time it is used (rather than installed), or should I investigate further?

Dru

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


Re: how do i invoke the command ee or vi when system fails toload

2003-03-11 Thread Tom Parquette
NOEL BALANSAG wrote:

hello.

pardon my stupid question, but how do i invoke the
command ee or vi? i recently removed partition no.
2 on my disk, and fbsd resides on partition no. 3, so
now i have 2 partitions, windoze on partition 1 and =
fbsd on partition 2. but when i boot into fbsd, the
system cannot see the files, and drops me into the #
prompt.
how do i invoke ee or vi? is it ok to just edit
the file /etc/fstab and reboot? is there anything
else i need to do?
thanks in advance.

pls. cc any response because this email address of
mine is not subscribed, bec. any mail from my other
subscribe addy gets bounced due to a spammer on my
isp. i hate spammers!!! they should be shot!
__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
 

Noel,
From your description I'm assuming you are going into single user mode. 
It sounds like fstab is pointing in the wrong place.
If you can figure out where your /usr filesystem is you can issue a 
mount command to remount it.
Once you have /usr mounted, ee should work for you.
Hope this helps.
Cheers...

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


Re: What is a practical max nujmber of files in a directory

2003-03-11 Thread Chuck Swiger
Bill Moran wrote:
[ ... ]
I'm writing a web-interface to file-sharing.  It's back-ended by a metadata
database and a filesystem based file store.
Sounds like a pretty classic application for WebDAV.

The question I need to answer is: how many files can a directory 
contain before the system determines that no more files should be
placed in it?
When you have more than a few thousand files per directory, that's the 
point where many platforms seem to slow down very significantly.

What's the size range and average size of an item?

If you do something a little clever-- perhaps concat'ing small ( 8 K) 
items together (keeping track of this with your metadata DB), and only 
using seperate files for larger items-- you might be able to finesse the 
situation.

--
-Chuck
...with 900 emails to go; take one down, pass it around;
899 emails to go...
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Installing Freebds

2003-03-11 Thread Giorgos Keramidas
On 2003-03-11 02:29, Marc Bosse [EMAIL PROTECTED] wrote:
 hello I would like of the assistance to install Free Bds on my
 computer. I tested by boot starting from CD-Rom but not function.
 Can be better explained me the simple procedure ?

Are you sure you burned the .iso image as an 'image' and not as a
single file at the root directory of your CDROM disk?

 in french if possible

Note: For details about installing FreeBSD, written in French, you can
always point our browser at:
http://www.FreeBSD.org/doc/fr_FR.ISO8859-1/books/handbook/install.html

- Giorgos


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


Re: Installing Freebds

2003-03-11 Thread Giorgos Keramidas
On 2003-03-11 16:35, Martin Karlsson [EMAIL PROTECTED] wrote:
 * Giorgos Keramidas [EMAIL PROTECTED] [2003-03-11 04.55 +0200]:
 [...snip...]
  Note: For details about installing FreeBSD, written in French, you can
  always point our browser at:
  http://www.FreeBSD.org/doc/fr_FR.ISO8859-1/books/handbook/install.html

 Hi Giorgos,

 FYI, the directory URL:http://www.FreeBSD.org/doc seems to contain
 only English, Spanish, Japanese, and German docs.

Grmpf.  That's what I get when posting URLs out of memory :/
Sorry about that, you're right Martin.

- Giorgos


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


Re: What is a practical max nujmber of files in a directory

2003-03-11 Thread Dan Nelson
In the last episode (Mar 11), Bill Moran said:
 Dan Nelson wrote:
 In the last episode (Mar 10), Bill Moran said:
   Question for the gurus or anyone who has done any test on
   filesystem performance.
 
  It Depends
 
 Thanks for the input ... that was definately an interesting article. 
 I would have expected dirhash to do more but ...

It does for simple filename lookup operations, and from your
description that might be just what you want.  See the charts near the
middle of the document.  Most of the benchmark tests later in the paper
also timed creation of files, and softupdates sort of blew the scale :)
Bumping vfs.ufs.dirhash_maxmem might help if you have a lot of
directories that will be hashed.

For a time, there was a filesystem called ifs which basically was FFS
with no directories, and all the files named by their inodes for
immediate lookup.  It was removed to make way for UFS2, though, but I
believe it will be put back at some point.

 too big.  The question I need to answer is: how many files can a
 directory contain before the system determines that no more files
 should be placed in it?  The database will determine where and what
 file to retrieve, so I don't need to worry about the listing getting
 too long to be easily managed by command-line tools, but I want to
 make sure that finding a specific file in that directory doesn't get
 too awfully time-consuming.

I don't think there is a limit on the number of files.  I seem to
remember a limit on 65534 subdirectories in a single directory (because
the inode link count only goes up to 64k), though.
 
-- 
Dan Nelson
[EMAIL PROTECTED]

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


Thanks for the help!

2003-03-11 Thread J. Seth Henry
I appreciate all the helpful comments regarding programming under FreeBSD.
I think I have enough to take another stab at it. I also discovered that
the developer's handbook has a lot of useful info - though it seems the
chapter on signals is missing?

Thanks again,
Seth Henry


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


OT: ML Archive Front end alternatives

2003-03-11 Thread Gerard Samuel
Im looking for a mailing list archive front end like hypermail.
Unfortunately, this is the only one that I've heard about, and was 
wondering if there were any others,
that are in the ports collection.

Thanks for any insight you may provide...

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


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


  1   2   >