DepotNetµÏÆÕÍø£¬¼ÓÈë¾ÍËÍÄã100Ôª

2002-10-07 Thread qin11

http://buy100.yeah.net
DepotNetµÏÆÕÍø£¬ÖйúµÚÒ»¸öµÚÈý·½ÍøÉÏÁ¬Ëø·þÎñƽ̨!2001гÉÁ¢µÄµç×ÓÉÌÎñ¹«Ë¾£¬Íâ¹úʵÁ¦»ú¹¹×ö¼áÇ¿ºó¶Ü£¡ÐÅÓþ¶È¼«¸ßÍêÈ«¿ÉÒÔºÍÍøÒ×£¬ÐÂÀË£¬ËѺüÕâЩÍøÕ¾ÏàæÇÃÀ¡£
ÄãÖ»ÒªÃâ·Ñ×¢²á£¬¼ÓÈë¾ÍËÍÄã100Ôª¡£Äúÿ½éÉÜÒ»¸ö»áÔ±µ½µÏÆÕÍø£¬µÏÆÕÍø½«ËÍÄú£¤2Ôª¡£²»½öÈç´Ë£¬Äú²Î¼ÓµÏÆÕÍøÖ®ºó£¬½«¿ÉÒÔÃâ·Ñ³ÉΪ¶à¼ÒÉÌ»§µÄ´úÀíÉÌ£¬Ãâ·ÑΪÄãÄú¿ªÍ¨¶à¼ÒÍøÉÏÁ¬Ëøµê£¬ÕâЩÁ¬Ëøµê²»ÐèÒªÄú×Ô¼ºÎ¬»¤£¬ÄúµÄÈÎÎñÖ»ÊǽéÉÜÈ˲μӵÏÆÕÍø£¬µ½ÄúµÄÁ¬Ëøµê¹ºÂòÉÌÆ·¾ÍÐÐÁË¡£Èç¹ûÉÌ»§Í¨¹ýÄúµÄÁ¬ËøÊÛ³ö£¬Äú½«»ñµÃ×î¸ß20%µÄÌá³É£¬ÕæµÄÈÃÈËÐĶ¯£¡£¡£¡¿ì¿ì¼ÓÈ룬½¨Á¢×Ô¼ºµÄÉ̵꣡£¡½¨Á¢ÊôÓÚ×Ô¼ºµÄÊÂÒµ£¡£¡

µÏÆÕÿ¸öÔÂ28ºÅ½áËã½ð¶î²¢°ÑÇ®»ã¸øÿ¸ö»áÔ±¡£


°´ÏÂÃæÃâ·Ñ¼ÓÈ룡
http://buy100.yeah.net

ΪʲôÓеÏÆÕÍø£¿

ÿһ¸öÍøÉÏÊÂÒµ¾­ÓªÕߣ¬ÌرðÊÇÌṩÍøÉÏÏúÊÛ¡¢ÍøÉÏÓг¥·þÎñµÄ¾­ÓªÕߣ¬ÎÞÂÛÊÇ´ó¹«Ë¾»¹ÊÇС¸öÌ壬¶¼»áÃæÁÙ×ÅÒ»¸öÄÑÌ⣺ÈçºÎ¿ìËÙÓÐЧµÍ³É±¾µØ¿ªÕ¹Êг¡¡¢À©´óÏúÁ¿£¿

¡°ÎÒÉîÐÅÎÒ»¨ÔÚ¹ã¸æÉϵÄ50£¥µÄÇ®ÊÇÀË·ÑÁË£¬µ«ÎÊÌâÊÇÎÒ²»ÖªµÀÊÇÄÄ50£¥¡±--ÌÆ¡¤Êæ¶û´Ä²©Ê¿ÈçÊÇ˵¡£ÌƲ©Ê¿ÊÇÊÀ½ç×îÖøÃûµÄÓªÏú´óʦ֮һ£¬Ò²ÊÇÕ½ÂÔÐÔÕûºÏÓªÏú´«²¥ÀíÂ۵Ĵ´Ê¼ÈË£¬ÏÖÈÎÈ«ÇòÓªÏú½ç×î¸ßѧ¸®--ÃÀ¹úÎ÷±±´óѧÕûºÏÓªÏú´«²¥½ÌÊÚ¡£

ÁíÒ»·½Ã棬ÿһ¸öϸڹ¤ÈË¡¢Ê§ÒµÕ߶¼ÔÚ¼è¿àµØÑ°ÕÒ×Å»ú»á»òÕý¾­Óª×ÅСÉúÒâ¡£

¡°ÎÒÏ뿪¸ö·þ×°µê£¬¿ÉÊÇÎÒ×ʽðÓÐÏÞ£¬ÍúµÄµØµã×â½ðÄÇô¹ó£¬¾­Óª²»ÈÝÒ×ѽ£¡¡±--ͶÈëµÄ·çÏÕÓëÊÕÒæµÄÆÚÍûÓÀÔ¶¶¼ÊÇÀ§ÈÆ´´ÒµÕßµÄÄÑÌâ¡£
 
Ϊ½â¾öÒÔÉÏÏÖʵÎÊÌ⣬µÏÆÕÍø¾­¹ý³¤Ê±¼äÔÚ»¥ÁªÍøÏúÊÛ²ßÂÔ·½Ãæ½øÐÐÁËÉîÈëµÄÑо¿£¬ÔÚ×ܽáÁËÅ·ÃÀ¹ú¼Ò½ü3ÄêÀ´¿ìËÙÔö³¤µÄ»¥ÁªÍøÏúÊÛģʽµÄ»ù´¡ÉÏ£¬ÎªÖйú´øÀ´ÁË¡°µÏÆÕÍøÍøÉÏÁ¬Ëøƽ̨·þÎñ¡±¡£

´Ë¿Ì£¬ÔÚÅ·ÃÀ¹ú¼ÒÊýÒÔ°ÙÍò¼ÆµÄÈËÒѾ­³É¹¦ÔË×÷×ÅÔÚ¼Ò¹¤×÷µÄ¸ïÃüÐÔ¹¤×÷ģʽµÄʱºò£¬¶øÖйúÿÌìÈ´ÓгÉǧÉÏÍòÈËÃñϸÚÃæÁÙ׿è¿àµÄ¾ñÔñ¡£

µÏÆÕÍø£¬¸øÈκÎÈ˶¼´øÀ´ÁË»ú»á£¬´øÀ´ÁËÏ£Íû£¡

¡¡
 
µÏÆÕÍøÄÜ×öʲô£¿

¼òµ¥À´Ëµ£¬µÏÆÕÍøÊÇÒ»¸ö»ùÓÚ»¥ÁªÍøµÄÌṩÁ¬Ëø×ÊÔ´ºÍ½¨Á¢·ÖÏúÇþµÀ·þÎñµÄϵͳ¡£
µÏÆÕÍøÊÇ·þÎñÈκÎÈ˵Äƽ̨£¬ÎÞÂÛÄãÊǹ«Ë¾»¹ÊǸöÈË¡£
1¡¢¶ÔÓÚÈκÎÈË£¬µÏÆÕÍøÌṩһ¸ö×ÊÔ´ºÍϵͳ£¬ÈÃÄãÄܹ»ÇáÒ׳ÉΪһ¼Ò»ò¶à¼ÒÆóÒµµÄ´úÀíÉÌ£¬¶øÇÒ¶¼ÊÇÃâ·ÑµÄ£¬ÓëÄ¿Ç°Êг¡ÉÏÁ÷ÐеÄÌØÐí¾­Óª·½Ê½²»Í¬£¬Äã²»ÐèÒªÈκμÓÃË·Ñ£¬²»ÐèÒª×âÓÃÈκεêÃ棬²»ÐèÒªÈκνø»õ£¬¶øÇÒÂíÉϾÍÄÜʵʩ£¬ÎÞÈκηçÏÕ£¡
2¡¢¶ÔÓÚÕýÔÚ»ò´òËã¾­ÓªÍøÉÏÊÂÒµ£¨ÍøÉÏÏúÊÛ¡¢ÍøÉÏÓг¥·þÎñµÄ£©µÄ¹«Ë¾¡¢¸öÌåÆóÒµ£¬µÏÆÕÍøÌṩһ¸ö×ÊÔ´ºÍϵͳ£¬ÈÃÄã¿ìËÙ½¨Á¢ÊýÒÔÍò¼ÆµÄÅÓ´óÏúÊÛÇþµÀ£¬¶øÇÒÊÇÃâ·ÑµÄ¡£
 
µÏÆÕÍøΪÄã´øÀ´ÁËÍøÉÏ´´ÒµÖ¸»µÄ»ú»áÓëÃâ·Ñ×ÊÔ´£¬ÎÒÃDz¢²»±£Ö¤ÄãÄÜ׬µ½¶àÉÙÇ®£¬Ã¿Ò»¸öÐÐÒµ¶¼ÓÐËýµÄ¾­ÓªÌص㣬ÔÚÕâ¸öÐÐÒµ£¬ÄãͬÑùÐèҪȥÃþË÷£¡ËùÐÒµÄÊÇ£¬µÚÒ»£¬ÎÒÃÇΪÄ㿪»ÄÆÌÁË·£»µÚ¶þ£¬ÎÒÃDz»¶ÏΪÄã×öºÜ¶àÓÐÒæµÄÑо¿¹¤×÷¡£ÎÒÃÇ×î´óµÄÏ£ÍûÊÇ£º´ó¼Ò¹²Ó®£¡Â³Ñ¸Óо仰£º¸©Ê׸ÊΪÈæ×ÓÅ££¡¶øµÏÆÕÍø£¬Ô¸Òâ³ÉΪÖйúÈËÃñÔÚ»¥ÁªÍøʱ´úµÄÍøÂ翪»ÄÅ££¡
 






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



Re: make installworld obsolete files

2002-10-07 Thread Matthew Seaman

On Mon, Oct 07, 2002 at 12:31:15AM +0200, Jean-Yves Lefort wrote:

 Is the make installworld command deleting files belonging to older
 FreeBSD versions and no longer present in the version being installed?

No.  Obsolete files are left lying about on the hard drive.  Usually
there are very few files that drop out between updates, so this isn't
a massive problem.  It can be significant if you start playing with
the NO_FOO options in /etc/make.conf or for a major version upgrade.
 
 If no, is there a reliable way to identify those files in order to be
 able to delete them by hand?

If you go through a {build,install}world cycle and you don't use the
'-C' flag for install (set in /etc/make.conf), then all the files you
install will have timestamps within a few seconds of each other.  You
can then identify the files that haven't been modified using find,
eg. for the root partition:

find -x / -mtime +1 -ls \( -name modules.old -o -name etc -o -name dev \) -prune

but you're going to have to go through that list manually to work out
which files are actually surplus to requirements.

Cheers,

Matthew

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

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



Modem

2002-10-07 Thread Pookie

I know this is a common question but i need some help configuring a
Conexant-Ambit SoftK56 Data, ICH Modem on my Sony VAIO GRX570. I have NO
idea on where to start And i also have a Creative Sound Blaster
Extigy on i think ugen0. Is that already to work or is there something i
need to do

Im sorry for stupid questions but i need to FreeBSD on laptops
-Remi



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



Network problem (stall after a few packets)

2002-10-07 Thread Michele Costabile

I have installed FreeBSD 4.6.2 on a system with a Realtek RTL8139 
network card and I see a strange behaviour: I connect to the network, 
and get my IP with DHCP, but when I start a connection, e.g. I open lynx 
  or a X browser, I download a few chilobytes and then the network stalls.
I have tried 4.5 on the same machine and I did not experience this 
problem, I also use Windows every day on the same hardware and it works 
fine, so I am pretty sure that it is some comfiguration error I made.
Oddly, I have less problems with www.freebsd.org than with java.sun.com 
or other sites.
I installed Debian Linux 3.3r0 and I found the same problem.
I am not sure if I enabled IPv6 (how can i tell?).
Where could I start from for troubleshooting the problem?
I would like to be able to reconfigure rl0 in different ways, but I do 
not know how (reinstalling everything is too stupid).
I had experience with 4.3BSD on Sun, VAX and SVR4 from 1985 to 1992, so 
I think I can catch up easily once I have some pointers in hand.
Thank you very much!

Michele Costabile


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



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Matthew Seaman

On Mon, Oct 07, 2002 at 09:00:49AM +0100, Rus Foster wrote:

  I've got a general question. Say I've install /usr/ports/net/foobar_0.1,
 I do a cvsup and see new foo_bar0.2. What is the best way to upgrade?
 Either pkg_rm foobar_0.1 + pkg_add foobar_0.2, force the installation
 of 0.2 or is there some other way?

The third way: which is to install and use portupgrade -- it's in
ports/sysutils/portupgrade.

Generally, directories under /usr/ports don't have any sort of version
information in the name, with some exceptions.  Updating those ports
is handled very smoothly by portupgrade.

However, if there are two different versioned ports, eg.  www/apache13
and www/apache2, (or even www/mozilla and www/mozilla-devel), then
they are separate ports.  Don't assume that just because they have
similar names that one can be trivially substituted for the other.
Sometimes you can, but more usually it takes a lot of bodging around to
sort out dependencies and so forth if it can be done at all.

Cheers,

Matthew

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

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



Fwd: Re[2]: BTX halted

2002-10-07 Thread Ülkü SAYILAN

Hi,

Monday, September 30, 2002, 6:28:12 PM, you wrote:


I think this is SCSI device settle problem,
since default boot has been set up from CD and SCSI ID 0 and disk
SCSI ID is 4. Before FreeBSD installation MS NT was working on this
computer. After installation FreeBSD, it doesnt start kernel boot but
 it has found disk and has do partitions. is it possible setting up
 SCSI device during installion?!? I have tried all installaion
 procedure but I couldn't found any setting I belive that SCSI
 contoller isnt work properly. Also maybe FreeBSD hasn't got drive of this
 controler?!?!
 Tekram DC - 390F PCI SCSI controller
 BIOS version V3.20 date 1999-3-29

 disk is Quantum Atlas SCSI HD

 another error had depend on partition I understant but SCSý problem
 going on. Now it give such kind of error

 maounting root from ufs:/dev/md0c
 /stand/sysinstall running as init on vty0
 page fault
 syncing disk
 done
 uptime 21 sn
 reboot--


During my search I've found such URL consist of some error code and
linux kernel...

http://lists.insecure.org/linux-kernel/2000/Feb/1489.html
http://www.saclug.org/archive/2000/07/0332.html


especially such URL same as my problems
http://lists.insecure.org/linux-kernel/2000/Feb/0975.html


I decided to this SCSI controller has got some problems about unix and
derivatives... :( I couldn't kernel compile in FreeBSD ...

I wonder I am wrong? can you advice me?

I have done your previous advice during lsdev it couldn't found any
device and than founded 12 different kernel error.


MS On Mon, Sep 30, 2002 at 05:04:07PM +0300, Ülkü SAYILAN wrote:

 I have installed the freebsd 4.3 to no name SCSI pent 166 pc after
 installation, during boot process he has gave error like this
 
 int:...   err:0001aefl:..1026   eip
 esi:0..   ebx:0.. 0ecx: edx
 cs:0...   ed:0...43ebp:.esp
 
 
 ds es fs gs ss
 cs:eip:cc:00..00
 ss:ep:..0300
 
 BTX halted
 
 
 What's the mean of this, anybody can explane this message?!?!?
 
 is the problem depend on SCSI boot/disk partition, or ethernet cards?
 or anythings?

MS That's the boot loader crashing.  That's pretty severe.  In principal,
MS given the crashdump you've printed out, it should be possible to go
MS into the loader code and work out what was happening at that point,
MS but you'ld probably have to ask on freebsd-hackers to find someone
MS with the skills to do that.

MS This could be one of a number of problems --- disk hardware failure,
MS problems with the BIOS, wrong disk geometry.  It's unlikely to be
MS anything to do with the NICs.

MS One problem, and the first thing to check, is something that used to
MS be fairly common until sysinstall was modified to remove the
MS temptation to use such things. Dangerously dedicated disks sound
MS pretty cool to the uninitiated, but beware: many SCSI
MS controllers/bioses can't cope with them.  Unfortunately, the only
MS solution if you've installed your system this way is to go back to the
MS beginning and start all over again, and this time, install a proper
MS partition table.

MS If that isn't the case, can you verify that you can boot using the
MS boot blocks from the installation media (I assume CD Rom)?

MS Use this procedure:

MS Start to boot the system from the CD.  When you get the 10 second
MS count down, hit the space bar to interrupt.  You should end up at
MS the boot: prompt.

MS Now type:

MS unload
MS lsdev

MS This will either generate a BTX dump (in which case, you've
MS probably got pretty bad hardware problems) or it should show you a
MS list of all potential boot devices, including your hard drive. Now
MS type:

MS set currdev={harddrive}  (ie. what lsdev returned for your HD)
MS load kernel
MS boot

MS and you should end up with a running system.

MS If that whole rigmarole worked, then the problem is that somehow the
MS boot blocks on your hard drive have become scrambled, and you can
MS probably repair things by reinstalling them.

MS If it didn't work and you're not using dangerously dedicated disks,
MS then you've got really nasty trouble lowlevel trouble which will take
MS time, effort and probably the services of a FreeBSD guru to sort out.

MS Cheers,

MS Matthew







-- 


This e-mail was scanned by Antivirus!
http://www.kssgm.gov.tr

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



mailbox vulnerable after upgrade to 4-STABLE

2002-10-07 Thread Gheorghe Ardelean


Hi,

After upgrading one of my systems from 4.x to 4-STABLE
I get this message when starting pine:

Mailbox Vulnerable - directory /var/mail must have 1777 protection

but on my system /var and /var/mail is:

drwxr-xr-x  23 root  wheel  512 Sep 28 02:45 /var
drwxrwxr-x   2 root  mail  1536 Oct  7 12:04 /var/mail

and user mailboxes are:

-rw---  1 ardelean  users 514 Sep 30 16:19 /var/mail/ardelean
-rw---  1 root  wheel  511741 Oct  7 11:48 /var/mail/root

How can I fix this?

Best Regards,

 Gheorghe ARDELEAN
+---+
| Fraunhofer Institut fuer Integrierte Schaltungen  |
| Bereich Bauelementetechnologie IIS-B  |
| Schottky str. 10  |
| D-91058 Erlangen, Germany |


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



Re: block icmp with ipfw

2002-10-07 Thread Ceri Davies

On Sun, Oct 06, 2002 at 03:49:11AM +0300, Giorgos Keramidas wrote:
 On 2002-10-05 19:39, Jack L. Stone [EMAIL PROTECTED] wrote:
  At 09:41 PM 10.5.2002 +0300, Giorgos Keramidas wrote:
  On 2002-10-05 08:51, Jack L. Stone wrote:
   At 03:41 PM 10.5.2002 +0200, Patrick O'Reilly wrote:
   From: master [EMAIL PROTECTED]
 hi all i would like to know the syntax of ipfw to block icmp ping?
 (echo and reply)
   
ipfw add 123 deny ip from any to any icmtypes 8
  
    but if you still want to ping OUT
   ${fwcmd} add pass icmp from any to any icmptypes 8 out via ${oif}
  
  That will negate the effect of any firewall rules that block icmp
  packets though, i.e. it's the opposite of what was asked :-)
 
  then answer the poster's question. I don't have the same other rule in
  conflict
 
 Pardon me sounding a bit offensive, if I did.  I meant that there is
 no good rule that allows outgoing pings but blocks incoming ones.

This seems to work for me:

add 00602 allow icmp from any to any icmptypes 8 out
add 00603 allow icmp from any to any icmptypes 0 in
...
default deny

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

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



RE: Dummynet ports

2002-10-07 Thread Danny.Carroll

Ummm  Instead of having a new machine, you *can* setup a jail environment specifically 
for ftp, divert(with nat) everything ftp'ish to the jail's ip address and just 
bandwidth limit the jail.

-D

-Original Message-
From: Fernando Gleiser [mailto:[EMAIL PROTECTED]]
Sent: 04 October 2002 21:46
To: greg
Cc: [EMAIL PROTECTED]
Subject: Re: Dummynet  ports


On Fri, 4 Oct 2002, greg wrote:

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

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

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


Fer


 Does this sound right?

 Thanks in advance

 greg



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-

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



Re: Network problem (stall after a few packets)

2002-10-07 Thread Matthew Seaman

On Mon, Oct 07, 2002 at 10:27:02AM +0200, Michele Costabile wrote:
 I have installed FreeBSD 4.6.2 on a system with a Realtek RTL8139 
 network card and I see a strange behaviour: I connect to the network, 
 and get my IP with DHCP, but when I start a connection, e.g. I open lynx 
  or a X browser, I download a few chilobytes and then the network stalls.

This sounds as if it might be a problem with autonegotiation of the
media settings between your NIC and your switch.  (There's a very good
reason why those RealTek chipsets are universally despised amongst
people that develop ethernet drivers...)

Try forcing the card to use whatever settings are appropriate -- the
rl(4) has details of what media settings it understands.  It's easy to
force those settings via ifconfig(8) if you aren't using DHCP --- you
might want to beg, borrow or steal yourself a static IP number at
least for a while so you can run some tests.

However, I think that the following snippet inserted into
/etc/dhclient.conf should override any media settings obtained from
the DHCP server or any autonegotiated settings.  Untested, use at own
risk, slippery when wet.  See dhclient.conf(5) for the gory details.

interface rl0 {
media media 100baseTX mediaopt full-duplex;
}

 I am not sure if I enabled IPv6 (how can i tell?).

FreeBSD comes IPv6 capable --- generally to enable it for use on an
IPv6 network, you start by ifconfig'ing the interface with an inet6
address.  If you aren't interested in IPv6, then you can simply
pretend it doesn't exist, and the machine will work perfectly well
with the IPv4 settings you give it.

Cheers,

Matthew

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

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



Re: Network problem (stall after a few packets)

2002-10-07 Thread Edwin Groothuis

On Mon, Oct 07, 2002 at 10:27:02AM +0200, Michele Costabile wrote:
 I have installed FreeBSD 4.6.2 on a system with a Realtek RTL8139 
 network card and I see a strange behaviour: I connect to the network, 
 and get my IP with DHCP, but when I start a connection, e.g. I open lynx 
  or a X browser, I download a few chilobytes and then the network stalls.
 I have tried 4.5 on the same machine and I did not experience this 
 problem, I also use Windows every day on the same hardware and it works 
 fine, so I am pretty sure that it is some comfiguration error I made.
 Oddly, I have less problems with www.freebsd.org than with java.sun.com 
 or other sites.
 I installed Debian Linux 3.3r0 and I found the same problem.
 I am not sure if I enabled IPv6 (how can i tell?).
 Where could I start from for troubleshooting the problem?
 I would like to be able to reconfigure rl0 in different ways, but I do 
 not know how (reinstalling everything is too stupid).
 I had experience with 4.3BSD on Sun, VAX and SVR4 from 1985 to 1992, so 
 I think I can catch up easily once I have some pointers in hand.
 Thank you very much!

See if it's an MTU issue. ifconfig rl0 mtu 1400. Half the internet
is broken :-(

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]|Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:};:   | Interested in MUDs? http://www.FatalDimensions.org/

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



IRDA support

2002-10-07 Thread Rus Foster

Hi,
 Could some clarify the current support for IRDA in FreeBSD? I've had a
look at the handbook and googled but can't find anything aprt from
birda-1.00 in the ports tree.

Rgds

Rus

 --
http://www.fsck.me.uk - Rant wibble wave
http://shells.fsck.me.uk - Hosting and stuff


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



Strange thing after MOTD is displayed

2002-10-07 Thread Janine C . Buorditez

Hi.

After my MOTD is displayed, I get this strange thing:

l//: Command not found.

It is not in my MOTD, nor is it in .login.

Anyone please?

--janine

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



Re: Strange thing after MOTD is displayed

2002-10-07 Thread Ramsey G. Brenner

Did you check ~/.cshrc ?

On Monday 07 October 2002 04:47 am, Janine C.Buorditez wrote:
 Hi.

 After my MOTD is displayed, I get this strange thing:

 l//: Command not found.

 It is not in my MOTD, nor is it in .login.

 Anyone please?

 --janine

-- 
--
Ramsey G. Brenner
[EMAIL PROTECTED]
http://home.earthlink.net/~rgbrenner/

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



RE: Dial-in PPP connections

2002-10-07 Thread Katinka Mills

Hi All,

Here is my ppp.conf file:

# PPP.conf for DSL Kat 20/04/02

default:
 #Uncomment the next line to enable logging for troubleshooting
 # set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP
sync

 set device PPPoE:rl0:bigpond
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 enable lqr
 add default HISADDR
 set timeout 0
 set redial 0 0

 #Network Address Translation (NAT)
 nat enable yes
 nat log yes
 nat same_ports yes
 nat unregistered_only yes

# enable dns

isp:
 set authname xxx
 set authkey 


incoming:

 set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync

 enable chap pap passwdauth
 allow user *
 enable proxy
# set ifaddr 192.168.0.200
# accept dns

Regards,

Kat.


 -Original Message-
 From: JoeB [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, 5 October 2002 02:32
 To: Katinka Mills
 Subject: RE: Dial-in PPP connections


 Post your ppp.conf file.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Katinka Mills
 Sent: Friday, October 04, 2002 12:31 PM
 To: Freebsd-Questions
 Subject: Dial-in PPP connections

 Hi all,

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

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

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

 Bellow is a log file of a failed connection.

 Any help or pointers apreceated.

 Regards,

 Kat.

 from ppp.log

 Oct  4 22:24:47 serverbsd ppp[295]: Phase: Using interface: tun1
 Oct  4 22:24:47 serverbsd ppp[295]: Phase: deflink: Created in
 closed state
 Oct  4 22:24:47 serverbsd ppp[295]: tun1: Command: incoming:
 enable chap pap
 passwdauth
 Oct  4 22:24:47 serverbsd ppp[295]: tun1: Phase: PPP Started
 (direct mode).
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: Select changes time: no
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: bundle: Establish
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: closed
 - opening
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: Input is a tty
 (/dev/ttyd0)
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: tty_Create:
 physical (get): fd = 0, iflag = 0, oflag = 6, cflag = 4b00
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: physical (put):
 iflag = 601, oflag = 6, cflag = cb00
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: Connected!
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: opening
 - carrier
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: Entering tty_Raw
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: deflink: carrier - lcp
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: FSM: Using deflink as a
 transport
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: State change
 Initial -- Closed
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: State change
 Closed -- Stopped
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: deflink: DescriptorRead:
 read 39/2048 from 0
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync: Read
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 21 7d 20 7d
 20 7d 34 7d
 22 7d 26 7d 20 7d 20  }!} } }4}}} }
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 20 7d 20 7d
 25 7d 26 2d
 bd 46 d9 7d 27 7d 22  } } }%}-.F.}'}
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  7d 28 7d 22 2b 44
}(}+D~
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: proto_LayerPull:
 unknown -
 0x007d
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: link_PullPacket: Despatch
 proto 0x007d
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Phase: Unknown protocol 0x007d
 (reserved (Control Escape))
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: LCP: deflink: SendProtocolRej(1)
 state = Stopped
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: fsm_Output
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  08 01 00 2c 00
 7d 21 7d 20
 7d 20 7d 34 7d 22 7d  ...,.}!} } }4}}
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  26 7d 20 7d 20
 7d 20 7d 20
 7d 25 7d 26 2d bd 46  } } } } }%}-.F
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug:  d9 7d 27 7d 22
 7d 28 7d 22
 2b 44 7e  .}'}}(}+D~
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: proto_LayerPush: Using
 0xc021
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync: Write
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  ff 03 c0 21 08
 01 00 2c 00
 7d 21 7d 20 7d 20 7d  ...!...,.}!} } }
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  34 7d 22 7d 26
 7d 20 7d 20
 7d 20 7d 20 7d 25 7d  4}}} } } } }%}
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Sync:  26 2d bd 46 d9
 7d 27 7d 22
 7d 28 7d 22 2b 44 7e  -.F.}'}}(}+D~
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: Debug: link_PushPacket: Transmit
 proto 0xc021
 Oct  4 22:24:48 serverbsd ppp[295]: tun1: 

Power

2002-10-07 Thread Pookie

How does FreeBSD handle itself when i disconnect the power plug on my
laptop? I'm not sure how this works. Can someone please direct me in the
proper direction?



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



SSH asks strange questions...

2002-10-07 Thread Martin Moeller


Hi all,
after switching to 4.7-RC something strange happens,
whenever I try to connect to another host via ssh.
Before I can enter my password, I get the following
output:

# ssh -l someone some.sshhost.foo
Password:
Response:

The cursor remains behind the Response:.
If I press RETURN, I get the normal:

[EMAIL PROTECTED]'s password:

What's that about? Am I dreaming or have I really
overlooked it for years???

Any help appreciated!
Greetings!

Martin

--
Martin Moeller
mm at bsdsi.com || mmoeller at users.sourceforge.net
http://bsdsi.homeunix.com/
ICQ # 82221572


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



Re: Power

2002-10-07 Thread sonam singh


--- Pookie [EMAIL PROTECTED] wrote:
 How does FreeBSD handle itself when i disconnect the
 power plug on my
 laptop? I'm not sure how this works. Can someone
 please direct me in the
 proper direction?
 
 
 

whethet u compile the kernle with apm option . if not
recompile it . then do $ apm it will give u battery
status .

regards
Sonam Singh 


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


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

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



Re: SSH asks strange questions...

2002-10-07 Thread sonam singh


--- Martin Moeller [EMAIL PROTECTED] wrote:
 
 Hi all,
 after switching to 4.7-RC something strange happens,
 whenever I try to connect to another host via ssh.
 Before I can enter my password, I get the following
 output:
 
 # ssh -l someone some.sshhost.foo
 Password:
 Response:
 
 The cursor remains behind the Response:.
 If I press RETURN, I get the normal:
 
 [EMAIL PROTECTED]'s password:
 

which veriosn of ssh u are using and run the command
without -l option 
regards
Sonam Singh

 What's that about? Am I dreaming or have I really
 overlooked it for years???
 
 Any help appreciated!
 Greetings!
 
 Martin
 
 --
 Martin Moeller
 mm at bsdsi.com || mmoeller at users.sourceforge.net
 http://bsdsi.homeunix.com/
 ICQ # 82221572
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


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

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



Re: Savage 2000 (Diamond Viper Chipset) problems on X

2002-10-07 Thread Doug Poland

Todd Robinson said:
 I suspect it is because there were two versions of the card and
 mine is the older of the two with the Diamond Viper II chipset.  I
 have another card, a Number Nine with the Savage chipset,  that
 works great with the savage driver on an identical system (except
 for the video card).

 I don't suppose there are any Diamond Viper II users out there?

The box mine came in says Diamond Viper II all over it.

-- 
Regards,
Doug



 - Original Message -
 From: Doug Poland [EMAIL PROTECTED]
 To: Todd Robinson [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Sunday, October 06, 2002 5:20 PM
 Subject: Re: Savage 2000 (Diamond Viper Chipset) problems on X


 On Sun, Oct 06, 2002 at 01:45:07PM -0400, Todd Robinson wrote:
  Having a mind-bender of a time with a S3 Savage 2000 video
 card.
 
  The problem is that XFree86 4.2.0_1,1 does not seem to have
 drivers that work for this card.
 
  Previously the same card (also not working with the Savage
 2000 drivers) worked great with the Diamond Viper II driver. I
 have used this card for
 a
  few years and I have continued to use it because it never
 failed to work with XFree86 before, but this has me stumped.
 
  I've searched thru the news groups (where this mail list is
 mirrored)
 and
  have not been able to get things going. If anyone has any tips
 or has
 gotten
  either this card, or a Diamond Viper II to run on this XFree
 version any advice would be more than welcome!
 
 Works for me (accelerated).

 # XFree86 -version

 XFree86 Version 4.2.0 / X Window System
 (protocol Version 11, revision 0, vendor release 6600)
 Release Date: 18 January 2002
 Build Operating System: FreeBSD 4.5 i386 [ELF]
 Module Loader present

 # uname -a
 FreeBSD sheba.polands.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun
 Jun 16
 07:05:58
 CDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PCI
 i386

 # dmesg | grep -i s3
 pci1: S3 model 9102 graphics accelerator at 0.0 irq 11

 # dmesg | grep -i agp
 pcib1: VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge at device
 1.0 on
 pci0

 # grep -C3 savage /etc/XF86Config

 Section Device
 Identifier  S3-Savage2000
 Driver  savage
 ChipSet Savage2000
 CardS3 Savage2000
 EndSection

 Let me know if you want to see my XF86Config file

 --
 Regards,
 Doug


 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




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



Re: SSH asks strange questions...

2002-10-07 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-07 17:24:25 +0200:
 
 Hi all,
 after switching to 4.7-RC something strange happens,
 whenever I try to connect to another host via ssh.
 Before I can enter my password, I get the following
 output:
 
 # ssh -l someone some.sshhost.foo
 Password:
 Response:
 
 The cursor remains behind the Response:.
 If I press RETURN, I get the normal:
 
 [EMAIL PROTECTED]'s password:
 
 What's that about? Am I dreaming or have I really
 overlooked it for years???

ChallengeResponseAuthentication, archives, /etc/sshsshd_config

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
3:49PM up 19 days, 23:04, 9 users, load averages: 0.32, 0.21, 0.16
end

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



Re: Savage 2000 (Diamond Viper Chipset) problems on X

2002-10-07 Thread Todd Robinson

hmmm

Yes, I would love to see your XF86Config file. I have tomorrow off and will
have more time to play with it.

Thank you, I really appreciate it.
Todd


- Original Message -
From: Doug Poland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 9:47 AM
Subject: Re: Savage 2000 (Diamond Viper Chipset) problems on X


 Todd Robinson said:
  I suspect it is because there were two versions of the card and
  mine is the older of the two with the Diamond Viper II chipset.  I
  have another card, a Number Nine with the Savage chipset,  that
  works great with the savage driver on an identical system (except
  for the video card).
 
  I don't suppose there are any Diamond Viper II users out there?
 
 The box mine came in says Diamond Viper II all over it.

 --
 Regards,
 Doug


 
  - Original Message -
  From: Doug Poland [EMAIL PROTECTED]
  To: Todd Robinson [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Sunday, October 06, 2002 5:20 PM
  Subject: Re: Savage 2000 (Diamond Viper Chipset) problems on X
 
 
  On Sun, Oct 06, 2002 at 01:45:07PM -0400, Todd Robinson wrote:
   Having a mind-bender of a time with a S3 Savage 2000 video
  card.
  
   The problem is that XFree86 4.2.0_1,1 does not seem to have
  drivers that work for this card.
  
   Previously the same card (also not working with the Savage
  2000 drivers) worked great with the Diamond Viper II driver. I
  have used this card for
  a
   few years and I have continued to use it because it never
  failed to work with XFree86 before, but this has me stumped.
  
   I've searched thru the news groups (where this mail list is
  mirrored)
  and
   have not been able to get things going. If anyone has any tips
  or has
  gotten
   either this card, or a Diamond Viper II to run on this XFree
  version any advice would be more than welcome!
  
  Works for me (accelerated).
 
  # XFree86 -version
 
  XFree86 Version 4.2.0 / X Window System
  (protocol Version 11, revision 0, vendor release 6600)
  Release Date: 18 January 2002
  Build Operating System: FreeBSD 4.5 i386 [ELF]
  Module Loader present
 
  # uname -a
  FreeBSD sheba.polands.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun
  Jun 16
  07:05:58
  CDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PCI
  i386
 
  # dmesg | grep -i s3
  pci1: S3 model 9102 graphics accelerator at 0.0 irq 11
 
  # dmesg | grep -i agp
  pcib1: VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge at device
  1.0 on
  pci0
 
  # grep -C3 savage /etc/XF86Config
 
  Section Device
  Identifier  S3-Savage2000
  Driver  savage
  ChipSet Savage2000
  CardS3 Savage2000
  EndSection
 
  Let me know if you want to see my XF86Config file
 
  --
  Regards,
  Doug
 
 
  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




 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: block icmp with ipfw

2002-10-07 Thread Oliver Fromme

Ceri Davies [EMAIL PROTECTED] wrote:
  add 00602 allow icmp from any to any icmptypes 8 out
  add 00603 allow icmp from any to any icmptypes 0 in
  ...
  default deny

You should really do it the other way around:  let all ICMP
types through, _except_ for those that you don't want (i.e.
ICMP ECHO).  You will probably want several things to work
correctly which depend on ICMP, such as path MTU discovery
(RFC1191), detection of unreachable destinations or networks,
and similar things.  ICMP means internet control message
protocol -- without it, several internet-related things just
don't work.

Personally, I wouldn't block ICMP at all, not even ICMP ECHO.
FreeBSD's ICMP bandwidth limit handles the usual situations
where you'd want to limit ICMP pretty well.

$ sysctl net.inet.icmp.icmplim
net.inet.icmp.icmplim: 200

Regards
   Oliver

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

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

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



Re: Power

2002-10-07 Thread Brian T. Schellenberger



On Monday 07 October 2002 09:19 am, Pookie wrote:
| How does FreeBSD handle itself when i disconnect the power plug on my
| laptop? I'm not sure how this works. Can someone please direct me in
| the proper direction?

Why would FreeBSD have to do anything?

Your laptop should handle it itself down in the hardware.

If you have apm enabled, then FreeBSD's apm calls can *discover* that 
the power is now coming from the battery rather than the plug, but the 
operating system isn't called upon to *do* anything.

The proepr directions are to plug  unplug at will . . . if you want to 
monitor the status properly, enable apm in your kernel and in your 
rc.conf.

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

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



Re: SSH asks strange questions...

2002-10-07 Thread Thomas T. Veldhouse

You an also change your default protocol to ssh 2 rather than ssh 1 (so that
it tries using ssh 2 first).

For freebsd-security:  Why is the default still ssh 1?

Tom Veldhouse

- Original Message -
From: Roman Neuhauser [EMAIL PROTECTED]
To: Martin Moeller [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 8:50 AM
Subject: Re: SSH asks strange questions...


 # [EMAIL PROTECTED] / 2002-10-07 17:24:25 +0200:
 
  Hi all,
  after switching to 4.7-RC something strange happens,
  whenever I try to connect to another host via ssh.
  Before I can enter my password, I get the following
  output:
 
  # ssh -l someone some.sshhost.foo
  Password:
  Response:
 
  The cursor remains behind the Response:.
  If I press RETURN, I get the normal:
 
  [EMAIL PROTECTED]'s password:
 
  What's that about? Am I dreaming or have I really
  overlooked it for years???

 ChallengeResponseAuthentication, archives, /etc/sshsshd_config

 --




smime.p7s
Description: application/pkcs7-signature


RE: Ghost to image bkup FBSD(SOLUTION)

2002-10-07 Thread JoeB

For the archives


The question of using the Norton Ghost program to make an single flat
image file of an hard drives partition containing FBSD has been asked
many times on this list. UP until now the answer has all ways been that
the benefits of using Ghost on a MS/win partition can not be achieved
when used on a FBSD slice because the ghost created image file
contains all the unused space as well as the used space.

Jacob S. Barrett had the idea of zeroing out the unused space before
running ghost so ghost will compress all the zero filled space
resulting in an image file size and elapse run time comparable to what
you would achieve on a MS/win partition. This is a great work around.



Before running the Ghost program from native booted ms/dos you have
to run this command on FBSD before shutting FBSD down.


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


Below is the original thread



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Nelson
 Sent: Friday, October 04, 2002 10:33 AM
 To: Jacob S. Barrett
 Cc: [EMAIL PROTECTED]
 Subject: Re: Block Zeroing Tool

 In the last episode (Oct 04), Jacob S. Barrett said:

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

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

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



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



 I also have tried to use ghost to make image backups of FBSD,
 but the image is the same size as the FBSD slice.
 Have you tested the solution posted above to zero out the unused
 disk space in the FBSD slice so ghost will only image bkup real data?
 Did it work like you hoped?


Yes I have tested it,  and it works great.  Be sure to turn compression
on to high to get the best results.  Here is what I saw after zeroing
the unallocated blocks using the dd command.

FreeBSD partition size: 11G
Allocated space: 6G
Ghost image size: 3.4G

Before zeroing out the images on this box were between 8-9G.  Needless
to say our IT guy is much happier that my box isn't chewing up 9G per
image on the system anymore.  And I am happy that imaging this machine
only takes an hour now rather than 4.

-Jake

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



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



Re: block icmp with ipfw

2002-10-07 Thread Ceri Davies

On Mon, Oct 07, 2002 at 04:06:23PM +0200, Oliver Fromme wrote:
 Ceri Davies [EMAIL PROTECTED] wrote:
   add 00602 allow icmp from any to any icmptypes 8 out
   add 00603 allow icmp from any to any icmptypes 0 in
   ...
   default deny
 
 You should really do it the other way around:  let all ICMP
 types through, _except_ for those that you don't want (i.e.
 ICMP ECHO).  You will probably want several things to work
 correctly which depend on ICMP, such as path MTU discovery
 (RFC1191), detection of unreachable destinations or networks,
 and similar things.  ICMP means internet control message
 protocol -- without it, several internet-related things just
 don't work.

Yes, I have separate rules for those.
I should probably have stated this.

 Personally, I wouldn't block ICMP at all, not even ICMP ECHO.
 FreeBSD's ICMP bandwidth limit handles the usual situations
 where you'd want to limit ICMP pretty well.

I'd agree with this in most situations.
The machine that those rules are from is unfortunately severly under-spec'd
and overworked though, and I have found this makes a positive difference.

Ceri

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

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



siemens wireless pci adapter as dhcp client - success and questions

2002-10-07 Thread Andrew Gould

Happy Monday!

I have successfully installed and configured a Siemens
SpeedStream Wireless PCI Adapter, Model SS1024, in a
desktop PC running FreeBSD 4.6 Release.

I didn't know how to get wep configured via
/etc/rc.conf, so I used a shell script in
/usr/local/etc/rc.d.  Since I'm a newbie at networking
and my approach seemed too easy, I am concerned that I
may have missed something.  Would someone review the
script and tell me if I've forgotten anything
important?

Assumptions:
  * Firewall configuration is adequate
  * /etc/resolve.conf has been edited correctly
  * This test PC will be upgraded to FreeBSD 4-Stable


/usr/local/etc/rc.d/wi0-dhcp.sh:

#!/bin/sh
# /usr/local/etc/rc.d/wi0-dhcp.sh
# Configure wireless interface using DHCP

case $1 in
start)
ifconfig wi0 ssid datawok authmode shared nwkey
[replace with 0x and wep key]
dhclient wi0
echo ' wi0'
;;
stop)
kill `cat /var/run/dhclient.pid`
ifconfig wi0 remove
echo ' wi0 removed'
;;
status)
ifconfig wi0
;;
*)
echo 'usage: /usr/local/etc/wi0-dhcp.sh
[start|stop|status]'
;;
esac
# End of file


Thanks,

Andrew Gould

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

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



Shortcuts in KDE/Gnome

2002-10-07 Thread Lord Raiden

Silly me, but how do you make a shortcut to a program you just 
installed?  I keep forgetting.  It seems that after each time I install a 
new app on my desktop machine I have to create a shortcut to it, but I keep 
forgetting how.  Can anyone enlighten me?  Thanks.


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



Re: Shortcuts in KDE/Gnome

2002-10-07 Thread Andrew Gould

I'm assuming you're talking about icons on the desktop
rather than a menu item in the start menu.

In KDE:

1. Right click on the desktop
2. Select Create New/Link To Application
3. Fill out the fields in the various tabs (Mostly
self-explanatory)

Best of Luck,

Andrew Gould

--- Lord Raiden [EMAIL PROTECTED] wrote:
   Silly me, but how do you make a shortcut to a
 program you just 
 installed?  I keep forgetting.  It seems that after
 each time I install a 
 new app on my desktop machine I have to create a
 shortcut to it, but I keep 
 forgetting how.  Can anyone enlighten me?  Thanks.
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


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

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



route caching problems

2002-10-07 Thread rick norman


I'm running 4.6 release on a pc that I have configured as
a router.  The problem occurs when an app on this router
establishes a tcp connection to some other app several hops
away.  The route caching code adds a static host route to the
forwarding table.  This is fine as long as nothing changes, but
as soon as a downstream router has an interface change or a
route change, this static host route is no longer valid.  The routing
demons, in this case gated running ospf , update the routes, but the
static route is still there causing the tcp stream to fail.
What I think I need is some way to disable the caching 'optimizations'
for locally terminated connections.  Can someone suggest some options ?

Thanks,
Rick Norman



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



user-ppp statistic ?

2002-10-07 Thread Ilia Chipitsine

Dear Sirs,

is there any tool for statistics gathering from user-ppp logs ?
I'd like to calculate how much time every user hooked on the modem
(I'm using user-ppp for incoming connections).

I haven't found such tool in ports collection.

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


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



printing

2002-10-07 Thread Brian Henning

hello-
i plan on setting up a printer server with an old machine. this will be it's
only purpose. Would it be best to run a samba server on that machine if most
of the machine that will be printing  are windows or bsd machines? is there
a better or easier way to solve this problem?
thanks,
brian

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



Re: dilution of /dev/urandom

2002-10-07 Thread Fernando Gleiser

On Mon, 7 Oct 2002, Kevin Oberman wrote:


 Obviously I would suggest the man pages (man 4 random). /dev/urandom
 will never be exhausted. The numbers returned will simply become
 progressively less random. (Random enough for most things, but I always
 use /dev/random to make keys.)

Yes, it is true that urandom reverts back to a pnrg when the entropy
pool gets low. *But* IIRC there is only one entrophy pool in the
kernel, so /dev/random will stall until the entropy pool get replenished
even if you read from urandom only. I need to read the source to be sure,
but better safe than sorry :)

This means you can DoS some app which *needs* the randomness and reads
from  /dev/random just by messing around with /dev/urandom.

If both devices have separate entrpy pools, this is not an issue
(just remember: dont play with /dev/random unless you know what you're
doing)


 Both use truly random, external events to generate the entropy
 pool. By default, these are generated fairly slowly and the pool is
 easily exhausted. This is because the default is VERY paranoid about
 your system.

Agreed.



Fer


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



Re: mailbox vulnerable after upgrade to 4-STABLE

2002-10-07 Thread Kris Kennaway

On Mon, Oct 07, 2002 at 09:24:56AM +0200, Gheorghe Ardelean wrote:
 
 Hi,
 
 After upgrading one of my systems from 4.x to 4-STABLE
 I get this message when starting pine:
 
 Mailbox Vulnerable - directory /var/mail must have 1777 protection

I believe that's what it's supposed to be, and pine's warning about it
being insecure is bogus for FreeBSD.  The warning was removed from
the FreeBSD port of pine.

 How can I fix this?

Install pine from the ports collection.

Kris



msg04219/pgp0.pgp
Description: PGP signature


question about imap

2002-10-07 Thread Radko Keves

hi all 
my imapd can't authorize me
can anybody help me?

#cat /etc/pam.d/imap
authrequiredpam_unix.so 

but without pam too :(


imap version (last cvsup from ports:) ):
imap-wu-2001a,1

for example user test with right password:
#cat /var/log/messages
[...]
Oct  7 20:36:11 kripel imapd[55059]: Login failed user=test auth=test host=localhost 
[127.0.0.1]
Oct  7 20:36:14 kripel inetd[2905]: /usr/local/libexec/imapd[55059]: exit status 0x100
Oct  7 20:39:58 kripel imapd[55713]: Login failed user=test auth=test host=localhost 
[127.0.0.1]
Oct  7 20:40:01 kripel inetd[2905]: /usr/local/libexec/imapd[55713]: exit status 0x100
[...]

#cat /etc/inetd.conf | grep imap
imap4   stream  tcp nowait  root/usr/local/libexec/imapdimapd

for example with:
squirrelmail
outlook
[...]

thank and bye
-- 
20:40  up 2 days,  3:14, 15 users, load averages: 0,00 0,05 0,05
--
FreeBSD 5.0-CURRENT #16: root@kripel:/usr/src/sys/i386/compile/angel
--
powered by rado
--


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



Plug and Play USB?

2002-10-07 Thread Kevin Oberman

I there a way to access a umass device that is not plugged into the USB
until the system is up? I tried camcontrol and had no luck. It claims
that no devices were found. 

If the device (a 128 MB flash disk) is plugged in at boot time
everything works fine, but I don't want to always have it plugged in
when I boot up.

Thanks,

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

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



Re: chkrootkit help

2002-10-07 Thread Radko Keves

;), Mon, Oct 07, 2002 at 11:47:15AM -0700, Riley said that
 Hi all,
hi
 
 (Let me know if this belongs in -questions)
 
 I could sure use some help interpreting this.  A 4.6.2-RELEASE-p2 system
 (running bind 8.3.3-REL and sendmail 8.12.3) started getting syslog messages
 like:
try run latest sendmail with patch :)  and upgrade your box
 
 /kernel: file: table is full

i know it :) 
 along with related messages, then a core dump.  (syslog for this date is
 below.)
 
 I took this as a side effect of a recent spamassassin install/upgrade (2.41)
 and increased kern.maxfiles to 8192 and max.vnodes to 16384.  As the system
my kern.maxfiles is set to: 65536 and max.vnodes to 8662
and try to set up /etc/login.conf see:  man login.conf and all section of files  :) 
for users 
 started to recover for fun I ran chkrootkit which came back with this:
try compile lsof is better for ports
 
 Checking `bindshell'... INFECTED (PORTS:  114)
uf audionews port
 
 A few minutes later and ever since chkrootkit returns:
 
 Checking `bindshell'... not infected
 
 netstat -an  doesn't show anything on 114 and nothing unusual.
try:
telnet localhost 114 
but it can't help you 

cvsup

#cd /usr/src/usr.sbin/named
#make  make install  make clean

and restart named
 
 The system is on a dmz with ports 25, 53 and 110 mapped through.  Running
 chkrootkit on the firewall reported this:
 
 Checking `bindshell'... not infected
 Checking `lkm'... not tested: can't exec ./chkproc
try to recompile linux ksec that's good for adreses of system calls
or run:
#nm kernel | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] 
\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort 

to see you syscalls adreses :)
 Checking `rexedcs'... not found
 Checking `sniffer'...
 xl0 is not promisc
 xl2 is not promisc
 
 I'm not sure what to think about can't exec ./chkproc.  Also the xl1
 interface is not reported in the output and is the dmz interface that the
 above machine is on.  ifconfig shows:
 
 xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 10.100.100.1 netmask 0xff00 broadcast 10.100.100.255
 inet6 fe80::260:8ff:fe31:e4b0%xl1 prefixlen 64 scopeid 0x2
 ether 00:60:08:31:e4:b0
 media: Ethernet autoselect (10baseT/UTP)
 status: active
 
 Any comments would be greatly appreciated.
 
 Thanks,
 
 Riley
 
 
 That which does not kill us makes us stranger.
  --Kimchi
 
 
 Oct  7 03:13:56 aji sendmail[91248]: g97A2rnm091248: SYSERR(root): collect:
 I/O  error on connection from [203.48.40.139], from=[EMAIL PROTECTED]
 Oct  7 08:45:13 aji /kernel: file: table is full
 Oct  7 08:45:14 aji last message repeated 38 times
 Oct  7 08:46:27 aji last message repeated 35 times
 Oct  7 09:14:05 aji sendmail[93085]: g97G8Xnm093085: SYSERR(root): collect:
 I/O error on connection from adsl-63-rev-addr,
 from=[EMAIL PROTECTED]
 Oct  7 09:22:17 aji /kernel: file: table is full
 Oct  7 09:22:20 aji last message repeated 17 times
 Oct  7 09:23:21 aji last message repeated 16 times
 Oct  7 09:23:23 aji sendmail[93320]: g97GEKpG093112: SYSERR(UID0):
 [EMAIL PROTECTED]... openmailer(local): pipe (to mailer): Too many open
 files in system
someone play with you :)
 Oct  7 09:23:25 aji sendmail[93112]: g97GEKpI093112: SYSERR(root): Cannot
 open hash database /etc/mail/aliases.db: Too many open files in system
 Oct  7 09:23:22 aji inetd[93322]: /etc/spwd.db: Too many open files in
 system
 Oct  7 09:23:28 aji inetd[93322]: pop3/tcp: root: no such user
 Oct  7 09:25:42 aji /kernel: file: table is full
 Oct  7 09:25:43 aji last message repeated 4 times
 Oct  7 09:29:58 aji /kernel: file: table is full
 Oct  7 09:30:44 aji last message repeated 107 times
 Oct  7 09:30:53 aji /kernel: pid 93340 (cron), uid 0: exited on signal 11
 (core
  dumped)
ajajaja 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-security in the body of the message
bye
-- 
20:57  up 2 days,  3:31, 4 users, load averages: 0,00 0,00 0,00
--
FreeBSD 5.0-CURRENT #16: root@kripel:/usr/src/sys/i386/compile/angel
--
powered by rado
--


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



follow-up on fatal trap 12 issue

2002-10-07 Thread abe


I was only able to reproduce this error once where it produced a core.
Here is the log of the gdb session, and the trace from the debugger
immediately after the panic.

-Abe


GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd.
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD at phsyical address 0x004c1000
initial pcb at physical address 0x004030c0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x94
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc125a766
stack pointer   = 0x10:0xcc895c98
frame pointer   = 0x10:0xcc895ca8
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 228 (ping)
interrupt mask  = 
panic: from debugger
panic: from debugger
Uptime: 1m50s

dumping to dev #ad/0x20001, offset 3670176
dump ata0: resetting devices .. done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 
234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 
213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 
192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 
171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 
150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 
129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 
108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 
82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 
53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 
24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at ../../kern/kern_shutdown.c:474
474 if (dumping++) {
(kgdb) backtrace
#0  dumpsys () at ../../kern/kern_shutdown.c:474
#1  0xc01c5dfb in boot (howto=260) at ../../kern/kern_shutdown.c:313
#2  0xc01c61f5 in panic (fmt=0xc0361da4 from debugger)
at ../../kern/kern_shutdown.c:582
#3  0xc01404cd in db_panic (addr=-1054496922, have_addr=0, count=-1, 
modif=0xcc895b04 ) at ../../ddb/db_command.c:435
#4  0xc014046d in db_command (last_cmdp=0xc03be2c4, cmd_table=0xc03be104, 
aux_cmd_tablep=0xc03fd998) at ../../ddb/db_command.c:333
#5  0xc0140532 in db_command_loop () at ../../ddb/db_command.c:457
#6  0xc014264f in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc033077a in kdb_trap (type=12, code=0, regs=0xcc895c58)
at ../../i386/i386/db_interface.c:158
#8  0xc0340928 in trap_fatal (frame=0xcc895c58, eva=148)
at ../../i386/i386/trap.c:951
#9  0xc0340601 in trap_pfault (frame=0xcc895c58, usermode=0, eva=148)
at ../../i386/i386/trap.c:849
#10 0xc034017b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
  tf_edi = -1054466816, tf_esi = -1054482984, tf_ebp = -863413080, 
  tf_isp = -863413116, tf_ebx = 37, tf_edx = 0, tf_ecx = -1053739008, 
  tf_eax = 1033830400, tf_trapno = 12, tf_err = 0, tf_eip = -1054496922, 
  tf_cs = 8, tf_eflags = 66054, tf_esp = -1054466816, tf_ss = -1054466816})
at ../../i386/i386/trap.c:448
#11 0xc125a766 in ?? ()
#12 0xc125a98d in ?? ()
#13 0xc125b2c4 in ?? ()
#14 0xc021dacc in ip_output (m0=0xc0e63800, opt=0x0, ro=0xcbafdd7c, flags=0, 
imo=0x0) at ../../netinet/ip_output.c:579
#15 0xc02286b0 in udp_output (inp=0xcbafdd40, m=0xc0e63800, addr=0x0, 
control=0x0, p=0xcb69ea40) at ../../netinet/udp_usrreq.c:747
#16 0xc0228914 in udp_send (so=0xcbacb980, flags=0, m=0xc0e63800, addr=0x0, 
control=0x0, p=0xcb69ea40) at ../../netinet/udp_usrreq.c:907
#17 0xc01e43b3 in sosend (so=0xcbacb980, addr=0x0, uio=0xcc895ecc, 
top=0xc0e63800, control=0x0, flags=0, p=0xcb69ea40)
at ../../kern/uipc_socket.c:611
#18 0xc01e7c73 in sendit (p=0xcb69ea40, s=5, mp=0xcc895f0c, flags=0)
at ../../kern/uipc_syscalls.c:583
#19 0xc01e7d76 in sendto (p=0xcb69ea40, uap=0xcc895f80)
at ../../kern/uipc_syscalls.c:636
#20 0xc0340c09 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
  tf_edi = 0, tf_esi = -1077939200, tf_ebp = -1077942192, 
  tf_isp = -863412268, tf_ebx = 27, tf_edx = 0, tf_ecx = 16, tf_eax = 133, 
  tf_trapno = 12, tf_err = 2, tf_eip = 134530288, tf_cs = 31, 
  tf_eflags = 659, tf_esp = -1077942236, tf_ss = 47})
at 

Re: Proper way to upgrade packaes from ports

2002-10-07 Thread John Kozubik


Rus,

Please take a look at /usr/ports/sysutils/portupgrade, as it is the
appropriate tool for these sort of upgrades.

Circumstantial evidence over the years has led me to believe that most
ports will actually successfully and without issue overwrite their
previous iterations that were also installed via the ports tree (lynx,
wget, things like that).

-
John Kozubik - [EMAIL PROTECTED] - http://www.kozubik.com



On Mon, 7 Oct 2002, Rus Foster wrote:

 Hi All,
  I've got a general question. Say I've install /usr/ports/net/foobar_0.1,
 I do a cvsup and see new foo_bar0.2. What is the best way to upgrade?
 Either pkg_rm foobar_0.1 + pkg_add foobar_0.2, force the installation
 of 0.2 or is there some other way?

 Rgds

 Rus

 --
 http://www.fsck.me.uk - Rant wibble wave
 http://shells.fsck.me.uk - Hosting and stuff


 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: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 Date: Mon, 07 Oct 2002 14:49:23 -0500
 From: Jack L. Stone [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 At 12:21 PM 10.7.2002 -0700, John Kozubik wrote:
 
 Rus,
 
 Please take a look at /usr/ports/sysutils/portupgrade, as it is the
 appropriate tool for these sort of upgrades.
 
 Circumstantial evidence over the years has led me to believe that most
 ports will actually successfully and without issue overwrite their
 previous iterations that were also installed via the ports tree (lynx,
 wget, things like that).
 
 -
 John Kozubik - [EMAIL PROTECTED] - http://www.kozubik.com
 
 

 If you don't mind first deinstalling the old port, then a simple way is to:
 # pkg_delete foo_1
 ...then cd /usr/ports/foo_2:
 #make install clean
 
 You are now up to date.


This ignores dependencies. If I upgrade some port but don't get the
dependencies as well, things can break. portupgrade was designed to
handle these.

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

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



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kent Stewart



Kevin Oberman wrote:
Date: Mon, 07 Oct 2002 14:49:23 -0500
From: Jack L. Stone [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]

At 12:21 PM 10.7.2002 -0700, John Kozubik wrote:

Rus,

Please take a look at /usr/ports/sysutils/portupgrade, as it is the
appropriate tool for these sort of upgrades.

Circumstantial evidence over the years has led me to believe that most
ports will actually successfully and without issue overwrite their
previous iterations that were also installed via the ports tree (lynx,
wget, things like that).

-
John Kozubik - [EMAIL PROTECTED] - http://www.kozubik.com



 
If you don't mind first deinstalling the old port, then a simple way is to:
# pkg_delete foo_1
...then cd /usr/ports/foo_2:
#make install clean

You are now up to date.
 
 
 
 This ignores dependencies. If I upgrade some port but don't get the
 dependencies as well, things can break. portupgrade was designed to
 handle these.

Some of these are handled when I do a -Rufp. It starts at the port 
and handles all of its dependancies. This isn't a good idea if XFree86 
is one of the dependancies. Then -x option is supposed to take care of 
that but I have never used it. I have usually done a pkg_version -c 
and know what needs to be updated. When something disappears, which 
portupgrade does not handle, I delete the port and the new 
dependancies and start over.

FWIW, I usually portupgrade on one system and I always create a 
package on that system.

Kent

-- 
Kent Stewart
Richland, WA

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


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



chkrootkit help

2002-10-07 Thread Riley

Hi all,

I could sure use some help interpreting this.  I guess I'd like to know if
chkrootkit could give a false positive under a file table full condition?
A 4.6.2-RELEASE-p2 system (running bind 8.3.3-REL and sendmail 8.12.3)
started getting syslog messages like:

/kernel: file: table is full

along with related messages, then a core dump.  (syslog for this date is
below.)

I took this as a side effect of a recent spamassassin install/upgrade (2.41)
and increased kern.maxfiles to 8192 and max.vnodes to 16384.  As the system
started to recover for fun I ran chkrootkit which came back with this:

Checking `bindshell'... INFECTED (PORTS:  114)

A few minutes later and ever since chkrootkit returns:

Checking `bindshell'... not infected

netstat -an  doesn't show anything on 114 and nothing unusual.

The system is on a dmz with ports 25, 53 and 110 mapped through.  Running
chkrootkit on the firewall reported this:

Checking `bindshell'... not infected
Checking `lkm'... not tested: can't exec ./chkproc
Checking `rexedcs'... not found
Checking `sniffer'...
xl0 is not promisc
xl2 is not promisc

I'm not sure what to think about can't exec ./chkproc.  Also the xl1
interface is not reported in the output and is the dmz interface that the
above machine is on.  ifconfig shows:

xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.100.100.1 netmask 0xff00 broadcast 10.100.100.255
inet6 fe80::260:8ff:fe31:e4b0%xl1 prefixlen 64 scopeid 0x2
ether 00:60:08:31:e4:b0
media: Ethernet autoselect (10baseT/UTP)
status: active

Any comments would be greatly appreciated.  If this isn't a 'false positive'
I'll rebuild the machine.

Thanks,

Riley


That which does not kill us makes us stranger.
 --Kimchi


Oct  7 03:13:56 aji sendmail[91248]: g97A2rnm091248: SYSERR(root): collect:
I/O  error on connection from [203.48.40.139], from=[EMAIL PROTECTED]
Oct  7 08:45:13 aji /kernel: file: table is full
Oct  7 08:45:14 aji last message repeated 38 times
Oct  7 08:46:27 aji last message repeated 35 times
Oct  7 09:14:05 aji sendmail[93085]: g97G8Xnm093085: SYSERR(root): collect:
I/O error on connection from adsl-63-rev-addr,
from=[EMAIL PROTECTED]
Oct  7 09:22:17 aji /kernel: file: table is full
Oct  7 09:22:20 aji last message repeated 17 times
Oct  7 09:23:21 aji last message repeated 16 times
Oct  7 09:23:23 aji sendmail[93320]: g97GEKpG093112: SYSERR(UID0):
[EMAIL PROTECTED]... openmailer(local): pipe (to mailer): Too many open
files in system
Oct  7 09:23:25 aji sendmail[93112]: g97GEKpI093112: SYSERR(root): Cannot
open hash database /etc/mail/aliases.db: Too many open files in system
Oct  7 09:23:22 aji inetd[93322]: /etc/spwd.db: Too many open files in
system
Oct  7 09:23:28 aji inetd[93322]: pop3/tcp: root: no such user
Oct  7 09:25:42 aji /kernel: file: table is full
Oct  7 09:25:43 aji last message repeated 4 times
Oct  7 09:29:58 aji /kernel: file: table is full
Oct  7 09:30:44 aji last message repeated 107 times
Oct  7 09:30:53 aji /kernel: pid 93340 (cron), uid 0: exited on signal 11
(core
 dumped)


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


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



Problem with aic7892 in 4.5-Release

2002-10-07 Thread Long Le

Hi all,

When there are some intensive accesses to the hard drive, my machine
would stall for a few minutes. After that, there are some messages
on the console. I have an Adaptec SCSI controller and IBM hard drives.

I posted a message on freebsd-scsi a few months ago and received
suggestions that this might be a cable/termination problem. Meanwhile,
I have been seeing this problem on two machines and 8 hard drives.
I had hardware technicians do all the hardware checks and everything
checked fine.

Any help or suggestion would be very much apprecitated.
Please kindly cc' your reply to me since I'm not on the list.

Thanks,
-- long

Oct  4 22:56:29 goldberg /kernel: (da0:ahc0:0:0:0): SCB 0x5a - timed out
Oct  4 22:56:44 goldberg /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x9
Oct  4 22:56:44 goldberg /kernel: ACCUM = 0x4, SINDEX = 0x64, DINDEX = 0x65, ARG_2 = 
0xd
Oct  4 22:56:44 goldberg /kernel: HCNT = 0x0
Oct  4 22:56:44 goldberg /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa
Oct  4 22:56:44 goldberg /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89
Oct  4 22:56:44 goldberg /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
Oct  4 22:56:44 goldberg /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8
Oct  4 22:56:44 goldberg /kernel: SCSIPHASE = 0x0
Oct  4 22:56:44 goldberg /kernel: STACK == 0x3, 0x175, 0x160, 0x0
Oct  4 22:56:44 goldberg /kernel: SCB count = 255
Oct  4 22:56:44 goldberg /kernel: Kernel NEXTQSCB = 96
Oct  4 22:56:44 goldberg /kernel: Card NEXTQSCB = 96
Oct  4 22:56:44 goldberg /kernel: QINFIFO entries: 
Oct  4 22:56:44 goldberg /kernel: Waiting Queue entries: 
Oct  4 22:56:44 goldberg /kernel: Disconnected Queue entries: 3:53 18:99 13:100 24:58 
9:90 
Oct  4 22:56:44 goldberg /kernel: QOUTFIFO entries: 
Oct  4 22:56:44 goldberg /kernel: Sequencer Free SCB List: 30 0 23 21 20 1 31 8 16 12 
11 28 5 17 27 15 22 7 2 6 29 25 26 19 4 14 10 
Oct  4 22:56:44 goldberg /kernel: Pending list: 53, 99, 100, 58, 90
Oct  4 22:56:44 goldberg /kernel: Kernel Free SCB list: 45 25 120 31 44 11 103 101 124 
116 110 80 16 36 57 95 123 115 50 32 19 20 77 105 29 253 114 27 112 42 23 24 10 93 5 
89 102 14 84 68 37 56 12 52 3 83 9 46 72 139 91 18 15 109 62 65 39 128 71 81 6 129 76 
4 28 104 8 35 54 85 252 254 69 22 21 251 34 117 33 66 51 26 111 48 1 88 13 82 126 125 
38 60 97 55 73 7 30 79 94 2 49 118 17 67 92 43 78 98 74 0 40 107 127 75 87 64 113 119 
47 59 61 108 106 122 63 70 41 240 241 242 243 244 245 246 247 248 249 230 231 232 233 
234 235 236 237 238 239 220 221 222 223 224 225 226 227 228 229 210 211 212 213 214 
215 216 217 218 219 200 201 202 203 204 205 206 207 208 209 190 191 192 193 194 195 
196 197 198 199 180 181 182 183 184 185 186 187 188 189 170 171 172 173 174 175 176 
177 178 179 160 161 162 163 164 165 166 167 168 169 150 151 152 153 154 155 156 157 
158 159 140 141 142 143 144 145 146 147 148 149 130 131 132 133 134 135 136 137 138 
121 86 250 
Oct  4 22:56:44 goldberg /kernel: sg[0] - Addr 0x20868000 : Length 4096
Oct  4 22:56:44 goldberg /kernel: sg[1] - Addr 0xa949000 : Length 4096
Oct  4 22:56:44 goldberg /kernel: sg[2] - Addr 0x2d38a000 : Length 4096
Oct  4 22:56:44 goldberg /kernel: sg[3] - Addr 0x253cb000 : Length 4096
Oct  4 22:56:44 goldberg /kernel: (da0:ahc0:0:0:0): Queuing a BDR SCB
Oct  4 22:56:44 goldberg /kernel: (da0:ahc0:0:0:0): Bus Device Reset Message Sent
Oct  4 22:56:44 goldberg /kernel: (da0:ahc0:0:0:0): no longer in timeout, status = 34b
Oct  4 22:56:44 goldberg /kernel: ahc0: Bus Device Reset on A:0. 5 SCBs aborted

Oct  5 03:02:24 goldberg /kernel: (da3:ahc0:0:6:0): SCB 0x3e - timed out
Oct  5 03:02:24 goldberg /kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x8
Oct  5 03:02:24 goldberg /kernel: ACCUM = 0x0, SINDEX = 0x58, DINDEX = 0xe4, ARG_2 = 
0x0
Oct  5 03:02:24 goldberg /kernel: HCNT = 0x0
Oct  5 03:02:24 goldberg /kernel: SCSISEQ = 0x12, SBLKCTL = 0xa
Oct  5 03:02:24 goldberg /kernel: DFCNTRL = 0x0, DFSTATUS = 0x89
Oct  5 03:02:24 goldberg /kernel: LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x80
Oct  5 03:02:24 goldberg /kernel: SSTAT0 = 0x0, SSTAT1 = 0x8
Oct  5 03:02:24 goldberg /kernel: SCSIPHASE = 0x0
Oct  5 03:02:24 goldberg /kernel: STACK == 0x3, 0x108, 0x160, 0xe7
Oct  5 03:02:24 goldberg /kernel: SCB count = 255
Oct  5 03:02:24 goldberg /kernel: Kernel NEXTQSCB = 69
Oct  5 03:02:24 goldberg /kernel: Card NEXTQSCB = 69
Oct  5 03:02:24 goldberg /kernel: QINFIFO entries: 
Oct  5 03:02:24 goldberg /kernel: Waiting Queue entries: 
Oct  5 03:02:24 goldberg /kernel: Disconnected Queue entries: 1:10 12:79 3:61 0:107 
17:22 19:112 16:14 8:65 21:6 2:3 6:89 9:1 11:96 24:60 31:75 26:47 22:90 13:46 20:80 
23:124 30:104 15:34 27:127 28:77 7:12 29:110 4:26 14:9 25:8 5:15 18:62 
Oct  5 03:02:24 goldberg /kernel: QOUTFIFO entries: 
Oct  5 03:02:24 goldberg /kernel: Sequencer Free SCB List: 10 
Oct  5 03:02:24 goldberg /kernel: Pending list: 118, 42, 92, 43, 11, 119, 251, 68, 18, 
100, 29, 51, 114, 116, 139, 117, 59, 95, 105, 102, 76, 44, 16, 33, 91, 50, 97, 53, 55, 
40, 

IPFW and IpFilter

2002-10-07 Thread ksrgyn -


Hi,

  I have a problem where the ipfw and ipfilter can not work together.
  I need the packages matching first in the rules of ipfw and after in the 
rules of ipfiter.
  I configure my kernel with ipfw options before ipfilter options and i 
compile but don't work, then i try to compile my kernel with the ipfw 
options and without ipfilter options that was loaded as a module,  and don't 
work too.
  The packages must be checked first in IPFW and then they need to be 
checked in ipfilter. They are not being checked in IPFW, what's the problem 
?

This is what i find in IPFILTER FAQ:

IPF and IPFW both have features I want to use, must I choose between them?
No. You can run them both on a single machine. However, you must take care 
to ensure that one package's rules do not interfere with the other's. Note 
that the packages get access to rules in the order in which they were 
loaded, e.g. if IPFW is compiled in the kernel and IPF is loaded as a 
module, IPFW sees packets before IPF.


_
Tenha você também um MSN Hotmail, o maior webmail do mundo: 
http://www.hotmail.com/br


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



Re: directory structuer for a web server

2002-10-07 Thread Jerry McAllister

 
 where should one properly place the directory for the web pages in a web 
 server,
 and is there a standard name for it? I have a box with several domains 
 in it, so
 I created /www off of root, ant /www/www.foo.foo for each domain 
 under /www but
 I suspect this is not a standard solution. Any advice?

Not bad.   Really, the only thing that matters is keeping them
in a way that makes sense and makes it easy to keep them apart
and easy to address.

Mayn of our servers host several domains and almost al of these have
a virtual host web page.  We create an account for most of our virtual 
hosts (because there is a different person working on the web page 
for each) and then the home page for each virtual host then gets put 
in the directory 'web' in each of those home directories.

eg   ~accoutn_homedir/web/index.html  or whatever

For the servers themselves we follow a convention of installing
Apache in'/usr/local/web/...'
Everything, from binaries to config files to logs all fall under that.
The only thing outside of that is the apache.sh in /usr/local/rc.d
The servers own web pages start in  /usr/local/web/documents

I have seen some really convoluted setups with bits an pieces
strung out in /usr/sbin/... and /etc/... and other places.
I can only imagine the annoyance of managing those.

jerry

 
 -- 
 
 end
 
 Respectfully,
  Kirk D Bailey
 
 
 +-Thou Art Free. -Eris---+
 | http://www.howlermonkey.net  mailto:[EMAIL PROTECTED] |
 | KILL spam dead!  http://www.scambusters.org/stopspam/#Pledge |
 | http://www.tinylist.org  ++   mailto:[EMAIL PROTECTED] |
 +--Thinking| NORMAL |Thinking--+
++
 ---
 Introducing NetZero Long Distance
 Unlimited Long Distance only $29.95/ month!
 Sign Up Today! www.netzerolongdistance.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


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



Linux JDK 1.3 necessary to compile JDK 1.3.1 source from Sun?

2002-10-07 Thread Mark Haney

I'm learning Java, and would like to set up a Java 
development environment on FreeBSD. In the article Java
and Jakarta Tomcat on FreeBSD
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.html
as well as one other article I came across, the instructions
say to first install the Linux JDK. Then, build the JDK 1.3.1
source from SUN after downloading the patchset from
http://www.eyesbeyond.com/freebsddom/java/jdk13.html

Why is it necessary to install the Linux JDK before building the JDK from source
and the patchset?

Can I just use the Linux JDK?

Can I build from source and the patchset without first installing the Linux
version?

Thanks for any help,
Mark 



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



Re: Problem with aic7892 in 4.5-Release

2002-10-07 Thread Justin T. Gibbs

 Hi all,
 
 When there are some intensive accesses to the hard drive, my machine
 would stall for a few minutes. After that, there are some messages
 on the console. I have an Adaptec SCSI controller and IBM hard drives.
 
 I posted a message on freebsd-scsi a few months ago and received
 suggestions that this might be a cable/termination problem. Meanwhile,
 I have been seeing this problem on two machines and 8 hard drives.
 I had hardware technicians do all the hardware checks and everything
 checked fine.
 
 Any help or suggestion would be very much apprecitated.
 Please kindly cc' your reply to me since I'm not on the list.

What the messages are basically saying is that your drives are
not completing certain commands that we have issued to them.  There
were certainly some issues with certain DDYS drive firmware versions
that could cause these types of symptoms.  One thing that might help
you is to lower the tag depth to your drives using the camcontrol
utility.

Can you also post the drive information from an invocation of
dmesg on this system?

--
Justin

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



Re: Linux JDK 1.3 necessary to compile JDK 1.3.1 source from Sun?

2002-10-07 Thread Weston M. Price

You can indeed just use the Linux JDK, or even better, you can install the 
port of the 1.4.1 jdk to get the latest and greatest JDK. However BE 
FORWARNED THERE ARE PROBLEMS WITH JAVA ON FREEBSD WITH ANY JDK THAT YOU USE. 

If you want to use an IDE other than emacs you may have some problems.I 
found this aspect of FreeBSD maddening almost to the point of murderWorse 
than this, most people on the FreeBSD questions list (or at least the one's 
that I see posting regularly) are not Java developers. 

The FreeBSD port of the JDK is incredibly fast because it is a native binary. 
With the Linux port you always are executing through an emulation library. 
However, since you are just starting out it really shouldn't make much of a 
difference. I would suggest install the JDK1.4.1 port. You can find this in

/usr/ports/java/linux-sun-jdk14

You will still have to download the binary file from Sun's site, put doing a 
make all install clean in the aforementioned directory will tell you where to 
get the file. 

Regards,

Weston



On Monday 07 October 2002 08:37 pm, Mark Haney wrote:
 I'm learning Java, and would like to set up a Java
 development environment on FreeBSD. In the article Java
 and Jakarta Tomcat on FreeBSD
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.html
 as well as one other article I came across, the instructions
 say to first install the Linux JDK. Then, build the JDK 1.3.1
 source from SUN after downloading the patchset from
 http://www.eyesbeyond.com/freebsddom/java/jdk13.html

 Why is it necessary to install the Linux JDK before building the JDK from
 source and the patchset?

 Can I just use the Linux JDK?

 Can I build from source and the patchset without first installing the Linux
 version?

 Thanks for any help,
 Mark



 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: Problem with aic7892 in 4.5-Release

2002-10-07 Thread Long Le

Hi Justin,

Thanks for your quick response.

On Mon, 7 Oct 2002, Justin T. Gibbs wrote:

 What the messages are basically saying is that your drives are
 not completing certain commands that we have issued to them.  There
 were certainly some issues with certain DDYS drive firmware versions
 that could cause these types of symptoms.  One thing that might help
 you is to lower the tag depth to your drives using the camcontrol
 utility.

Thanks for your suggestion. I'll try it out.

 
 Can you also post the drive information from an invocation of
 dmesg on this system?

Here is the dmesg:

Sep 27 15:13:03 goldberg /kernel: Copyright (c) 1992-2002 The FreeBSD Project.
Sep 27 15:13:03 goldberg /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Sep 27 15:13:03 goldberg /kernel: The Regents of the University of California. All 
rights reserved.
Sep 27 15:13:03 goldberg /kernel: FreeBSD 4.5-RELEASE #13: Mon Sep 16 21:28:49 EDT 2002
Sep 27 15:13:03 goldberg /kernel: [EMAIL PROTECTED]:/usr/src/sys/compile/DIRT_BIGMEM
Sep 27 15:13:03 goldberg /kernel: Timecounter i8254  frequency 1193182 Hz
Sep 27 15:13:03 goldberg /kernel: CPU: Pentium III/Pentium III Xeon/Celeron 
(999.53-MHz 686-class CPU)
Sep 27 15:13:03 goldberg /kernel: Origin = GenuineIntel  Id = 0x686  Stepping = 6
Sep 27 15:13:03 goldberg /kernel: 
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
Sep 27 15:13:03 goldberg /kernel: real memory  = 1073664000 (1048500K bytes)
Sep 27 15:13:03 goldberg /kernel: avail memory = 1040121856 (1015744K bytes)
Sep 27 15:13:03 goldberg /kernel: Preloaded elf kernel kernel at 0xc04d.
Sep 27 15:13:03 goldberg /kernel: Pentium Pro MTRR support enabled
Sep 27 15:13:03 goldberg /kernel: md0: Malloc disk
Sep 27 15:13:03 goldberg /kernel: npx0: math processor on motherboard
Sep 27 15:13:03 goldberg /kernel: npx0: INT 16 interface
Sep 27 15:13:03 goldberg /kernel: pcib0: ServerWorks NB6635 3.0LE host to PCI bridge 
on motherboard
Sep 27 15:13:03 goldberg /kernel: pci0: PCI bus on pcib0
Sep 27 15:13:03 goldberg /kernel: pci0: S3 Savage 4 graphics accelerator at 1.0
Sep 27 15:13:03 goldberg /kernel: fxp0: Intel Pro 10/100B/100+ Ethernet port 
0x2000-0x203f mem 0xfea0-0xfeaf,0xfeb7f000-0xfeb7 irq 15 at device 2.0 on 
pci0
Sep 27 15:13:03 goldberg /kernel: fxp0: Ethernet address 00:02:55:d4:9f:74
Sep 27 15:13:03 goldberg /kernel: inphy0: i82555 10/100 media interface on miibus0
Sep 27 15:13:03 goldberg /kernel: inphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
Sep 27 15:13:03 goldberg /kernel: xl0: 3Com 3c905B-TX Fast Etherlink XL port 
0x2080-0x20ff mem 0xfeb7ec00-0xfeb7ec7f irq 10 at device 9.0 on pci0
Sep 27 15:13:03 goldberg /kernel: xl0: Ethernet address: 00:01:02:ed:b0:0c  
Sep 27 15:13:03 goldberg /kernel: miibus1: MII bus on xl0
Sep 27 15:13:03 goldberg /kernel: xlphy0: 3Com internal media interface on miibus1
Sep 27 15:13:03 goldberg /kernel: xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
Sep 27 15:13:03 goldberg /kernel: xl1: 3Com 3c905B-TX Fast Etherlink XL port 
0x2100-0x217f mem 0xfeb7e800-0xfeb7e87f irq 11 at device 10.0 on pci0
Sep 27 15:13:03 goldberg /kernel: xl1: Ethernet address: 00:01:02:ed:b6:3a
Sep 27 15:13:03 goldberg /kernel: miibus2: MII bus on xl1
Sep 27 15:13:03 goldberg /kernel: xlphy1: 3Com internal media interface on miibus2
Sep 27 15:13:03 goldberg /kernel: xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
Sep 27 15:13:03 goldberg /kernel: isab0: ServerWorks IB6566 PCI to ISA bridge
at device 15.0 on pci0
Sep 27 15:13:03 goldberg /kernel: isa0: ISA bus on isab0
Sep 27 15:13:03 goldberg /kernel: atapci0: ServerWorks ROSB4 ATA33 controller port 
0x700-0x70f at device 15.1 on pci0
Sep 27 15:13:03 goldberg /kernel: ata0: at 0x1f0 irq 14 on atapci0
Sep 27 15:13:03 goldberg /kernel: ohci0: OHCI (generic) USB controller mem 
0xfeb7d000-0xfeb7dfff irq 10 at device 15.2 on pci0
Sep 27 15:13:03 goldberg /kernel: usb0: OHCI version 1.0, legacy support
Sep 27 15:13:03 goldberg /kernel: usb0: OHCI (generic) USB controller on ohci0Sep 27 
15:13:03 goldberg /kernel: usb0: USB revision 1.0
Sep 27 15:13:03 goldberg /kernel: uhub0: (unknown) OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Sep 27 15:13:03 goldberg /kernel: uhub0: 4 ports with 4 removable, self powered Sep 27 
15:13:03 goldberg /kernel: pcib1: ServerWorks NB6635 3.0LE host to PCI bridge on 
motherboard
Sep 27 15:13:03 goldberg /kernel: pci1: PCI bus on pcib1
Sep 27 15:13:03 goldberg /kernel: ahc0: Adaptec aic7892 Ultra160 SCSI adapter port 
0x2200-0x22ff mem 0xe000-0xefff irq 9 at device 3.0 on pci1
Sep 27 15:13:03 goldberg /kernel: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 
SCBs
Sep 27 15:13:03 goldberg /kernel: orm0: Option ROMs at iomem 
0xc-0xc9fff,0xca000-0xce7ff on isa0
Sep 27 15:13:03 goldberg /kernel: fdc0: NEC 72065B or clone at port 
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Sep 27 

Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Chris Snyder

Kent Stewart wrote:

   I have usually done a pkg_version -c and know what needs to be updated. 

I use the pkg_version -c method as well-- it seems so much simpler than 
portupgrade, but am I missing something and/or running the risk of 
breaking things?

FWIW I think that keeping your ports/packages up-to-date could be 
covered better in the Handbook, considering how important it is in terms 
of security. There's no mention of either portupgrade or pkg_version in 
the ports/packages coverage.

chris.




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



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 Date: Mon, 07 Oct 2002 17:23:40 -0400
 From: Chris Snyder [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Kent Stewart wrote:
 
I have usually done a pkg_version -c and know what needs to be updated. 
 
 I use the pkg_version -c method as well-- it seems so much simpler than 
 portupgrade, but am I missing something and/or running the risk of 
 breaking things?
 
 FWIW I think that keeping your ports/packages up-to-date could be 
 covered better in the Handbook, considering how important it is in terms 
 of security. There's no mention of either portupgrade or pkg_version in 
 the ports/packages coverage.

The -c option to pkg_version is NOT safe. The message it puts out
makes this clear. I think Bruce said that he was planning on pulling it
once portupgrade stabilized because it was just too dangerous.

It has no intelligence on the dependencies and does not always do
things in the proper order. To do this properly you need to completely
graph all dependencies and their versions and update from the bottom
of the graph. I think it was Bruce's comments on this that led knu to
write portupgrade.

I'm sure that portupgrade would be in the base system except for the
dependency on ruby, just as cvsup would if not for the Mobula III
requirement. But both are nearly essential to maintaining a robust
system.

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

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



firebird-1.0.2 has been released.

2002-10-07 Thread Jan Knepper

Hi!
For those interested/using firebird, just released firebird 1.0.2 which 
has a test virus signature which will output the text of the email 
message otherwise send through CGI.
Check: http://www.digitaldaemon.com/FreeBSD/firebird/ for more information.
Thanks!
Jan



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



Re: portupgrade freetype2 problem

2002-10-07 Thread Kevin Oberman

 From: Chip Wiegand [EMAIL PROTECTED]
 Date: 07 Oct 2002 16:01:35 -0700
 Sender: [EMAIL PROTECTED]
 
 I am trying to use portupgrade to upgrade freetype2 but am getting this
 error:
 
 chip# portupgrade freetype2
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 214
 packages found (-0 +1) . done]
 ---  Skipping 'print/freetype2' (freetype2-2.1.1) which has already
 been ignored
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 * print/freetype2 (freetype2-2.1.1)
 
 What do I have to do to fix this?

Try portversion -v | grep freetype2

I suspect that two versions are installed. You can fix this in two
ways. (The first is really a work-around.)

1. Run pkgdb -F and delete the old port when asked. This only deleted
   the port from the database. It does not delete any files.

2. pkg_delete -f freetype2-\*
   portinstall freetype2

The second method insures that everything is completely clean while
the former may leave some old cruft around. 

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

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



Re: Plug and Play USB?

2002-10-07 Thread Warren Block

On Mon, 7 Oct 2002, Kevin Oberman wrote:

 I there a way to access a umass device that is not plugged into the USB
 until the system is up? I tried camcontrol and had no luck. It claims
 that no devices were found. 
 
 If the device (a 128 MB flash disk) is plugged in at boot time
 everything works fine, but I don't want to always have it plugged in
 when I boot up.

I thought that was what usbd did; usbd_enable=YES in /etc/rc.conf.

-Warren Block * Rapid City, South Dakota USA


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



Re: printing

2002-10-07 Thread Warren Block

On Mon, 7 Oct 2002, Brian Henning wrote:

 i plan on setting up a printer server with an old machine. this will be it's
 only purpose. Would it be best to run a samba server on that machine if most
 of the machine that will be printing  are windows or bsd machines? is there
 a better or easier way to solve this problem?

It depends on what you mean by Windows.  Win9x, yeah, you'll probably
need Samba.  Win NT/2000 have lpr clients and can print straight to lpd.

-Warren Block * Rapid City, South Dakota USA


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



Re: Secure FTPd

2002-10-07 Thread Eric Parusel

   Eehhh? CuteFtp can use SSL, so when they want to
connect, cuteftp first
   handle the SSL setup and then acts like a normal ftp
client.

  Could be.  I haven't chased through ssh well enough to
know how they do
  it.  It would be handy to have a SSL ftpd so if you do
it, make it
  available.

 You can both connect to a ssh- and a SSL ftp-server with
cuteftp, but it
 is not the same thing. If the only way to get a sftpd is
to run stunnel
 and ftpd, then I will make a SSL-ftpd under the BSD
license (when I get
 the programming knowledge to do so).

 Br
 socketd

Hmm, I think you two *may* be doing down the wrong path...
There's a (proposed) standard for encrypted FTP, it's called
FTP over TLS ...

Here's a link:
http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html

According to the web page there are 19 available client
implementations (Including CuteFTP Pro) and 17 available
server implementations.

I personally use FTP over TLS (CuteFTP Pro and proftpd
w/Peter Runestig's TLS patches, as well as the new mod_tls
developed by TJ Castaglia, derived from the former) and
recommend it fully!


Hope I helped,

Eric Parusel





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



Why am i getting this message for my 3COM NIC

2002-10-07 Thread Matt Garcia

Hi,

Whenever i try booting my FBSD box up (4.5-Stable)
during the boot process i keep getting the following
error:

txp0: couldn't map ports/memory

txp0 is my network card

Any clue why i'm receiving this message for my
Interface? this never happend before when i do
ifconfig txp0 up it says the interface doesn't exist. 
Also, when i try /stand/sysinstall and Do Post
Configure then Networking then Interfaces txp0 isnt in
the list just the usual, slip, ppp etc..

Any help would be welcome.  Thanks

__ 
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



Re: Why am i getting this message for my 3COM NIC

2002-10-07 Thread Josh Paetzel

On Mon, Oct 07, 2002 at 08:43:28PM -0400, Matt Garcia wrote:
 Hi,
 
 Whenever i try booting my FBSD box up (4.5-Stable)
 during the boot process i keep getting the following
 error:
 
 txp0: couldn't map ports/memory
 
 txp0 is my network card
 
 Any clue why i'm receiving this message for my
 Interface? this never happend before when i do
 ifconfig txp0 up it says the interface doesn't exist. 
 Also, when i try /stand/sysinstall and Do Post
 Configure then Networking then Interfaces txp0 isnt in
 the list just the usual, slip, ppp etc..
 
 Any help would be welcome.  Thanks
 
You're having a hardware conflict somewhere most likely.  Is Plug n Play OS 
set to NO or OFF in your BIOS?  You might also try swapping slots that the 
card is in. (assuming it's PCI)

Josh


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



URGENT BUSINESS ASSISTANCE

2002-10-07 Thread JOHNSON TAMUNO


Sir,
 
 
My name is Mr. JOHNSON TAMUNO, the manager, credit
 and foreign bills of Ecobank Plc. I am writing in
 respect of a foreign customer of my bank with
 account number 89-3k7-1996/Ecb who perished in a plane crash[Korean Air Flight 801] 
with the whole passengers
 aboard on August 6, 1997.
 
 Since the demise of this our customer, I personally
 has watched with keen interest to see the next of
 kin but all has proved abortive as no one has come to
 claim his funds of usd.20.5 m, [twenty million five
 hundred thousand united states dollars] which has
 been  with my branch for a very long time. 
 On this note, I decided to seek for whom his name
 shall be used as the next of kin as no one has come
 up to be the next of kin. And the banking ethics here
 does not allow such money to stay more than five
 years, because the money will be recalled to the
 bank tre easury as unclaimed after this period. In view
 of this I got your contact through my search via
 businessreport from your web site to see if you can assist.
 I will give you 25% of the total.
 Upon the receipt of your response, I will send to
 youby fax or e-mail the application letter, bank's fax
 number and the next step to take. I will not fail to
 bring to your notice that this business is hitch
 free and that you should not entertain any fear as all modalities
for fund transfer can be finalized within five
 banking days, after you apply to the bank as a relation to
 the deceased.
 
 When you receive this letter. Kindly send me an
 e-mail signifying Your decision including your private
 Tel/Fax numbers for quick communication. 
 
Yours Faithfully,
 
JOHNSON TAMUNO


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



Re: directory structuer for a web server

2002-10-07 Thread DaleCo, S.P.---'the solutions people'

From: Kirk Bailey [EMAIL PROTECTED]
Subject: Re: directory structuer for a web server


 
  where should one properly place the directory for the web pages
in a web
  server,
  and is there a standard name for it? I have a box with several
domains
  in it, so
  I created /www off of root, ant /www/www.foo.foo for each domain
  under /www but
  I suspect this is not a standard solution. Any advice?

Your option sounds as valid as mine or most any other.  Some other
layouts I've seen have a seperate partition for /home, so the
virtual-
hosted dirs are /home/clientname.

I'm not a security guru, so my reason is not based on security, but
I wouldn't go off of / on my box because / is generally a  much
smaller
partition; on most of my boxes /usr is 20x or more the size of the
rootdir.
I config apache to /usr/local/www/ and use name based VirtualHosts.
So, the server's main pages are addressed at /usr/local/www/htdocs,
and each
virt-hosted client is at /usr/local/www/htdocs/clientabbreviation.
Of course,
I guess if I get too many more clients, this could become clunky.

I link /usr/local/www/htdocs to /www, and each client folder to
/clientabbreviation,
so one relatively short command line gets me anywhere I'd like to be.
I do tend to be careful that folks aren't putting .. links or
commands
in their dirs or scripts...although this shouldn't create problems,
because a
.. command should go to /usr/local/www/htdocs, I'm pretty paranoid,
because, as I said, I'm not a guru when it comes to security...

HTH,

Kevin Kinsey, DaleCo, S.P.


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



Fw: directory structuer for a web server

2002-10-07 Thread DaleCo, S.P.---'the solutions people'


Well, I hope we got that right...send went off before I'm ready

KDK

From: DaleCo, S.P.---'the solutions people' [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 9:09 PM
Subject: Re: directory structuer for a web server


 From: Kirk Bailey [EMAIL PROTECTED]
 Subject: Re: directory structuer for a web server


  
   where should one properly place the directory for the web pages
 in a web
   server,
   and is there a standard name for it? I have a box with several
 domains
   in it, so
   I created /www off of root, ant /www/www.foo.foo for each
domain
   under /www but
   I suspect this is not a standard solution. Any advice?
 
 Your option sounds as valid as mine or most any other.  Some other
 layouts I've seen have a seperate partition for /home, so the
 virtual-
 hosted dirs are /home/clientname.

 I'm not a security guru, so my reason is not based on security, but
 I wouldn't go off of / on my box because / is generally a  much
 smaller
 partition; on most of my boxes /usr is 20x or more the size of the
 rootdir.
 I config apache to /usr/local/www/ and use name based VirtualHosts.
 So, the server's main pages are addressed at /usr/local/www/htdocs,
 and each
 virt-hosted client is at /usr/local/www/htdocs/clientabbreviation.
 Of course,
 I guess if I get too many more clients, this could become clunky.

 I link /usr/local/www/htdocs to /www, and each client folder to
 /clientabbreviation,
 so one relatively short command line gets me anywhere I'd like to
be.
 I do tend to be careful that folks aren't putting .. links or
 commands
 in their dirs or scripts...although this shouldn't create problems,
 because a
 .. command should go to /usr/local/www/htdocs, I'm pretty
paranoid,
 because, as I said, I'm not a guru when it comes to security...

 HTH,

 Kevin Kinsey, DaleCo, S.P.



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



Re: startx crashes for non-root users on Free86 4.2.0/FreeBSD 4.6

2002-10-07 Thread Adam Weinberger

install /usr/ports/x11/wrapper
like it says after the installation of XF86 ends.

-Adam


 (10.07.2002 @ 0822 PST): Cherie  John Carri said, in 4.3K: 
 -error messages follow-
 Xauth:(argv):1: bad display name FreeBSD_box.homelan.org:0 in list
 command.
 Xauth:(argv):1: bad display name FreeBSD_box.homelan.org:0 in add
 command.
 
 Fatal Server error: Cannot open log file /var/log/XFree86.0.log
 snipreport problems to [EMAIL PROTECTED]
 giving up.
 xinit: no such file or directory (errno 2): unable to connect to X
 server
 xinit:(argv):1:bad display name FreeBSD_box.homelan.org:0 in remove
 command.
 end error messages---
 end of startx crashes for non-root users on  Free86 4.2.0/FreeBSD 4.6 from Cherie 
 John Carri 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]


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



Linux emulation: acd0a is not a cooked ioctl CDROM

2002-10-07 Thread Lucky Green

Configuration:
FreeBSD 4.6.2 with latest patches and all ports cvsupped as of a few
days ago. ATAPI CDROM.

I am in the process of ripping a large CD collection. Fidelity is
paramount. By all accounts, the ripper of choice for audiophiles is
cdparanoia. Unfortunately, according to their web page, there is no
FreeBSD port of cdparanoia, even though OpenBSD and NetBSD ports exist.

I therefore installed the Redhat Linux RPM of cdparanoia. The RPM
installed without errors and I am able to execute the Linux binary just
fine. However, cdparanoia seems to be unable to communicate with my
CDROM drive. Here is the error message:


#./cdparanoia -vsQ

cdparanoia III release 9.7 (December 13, 1999)
(C) 1999 Monty [EMAIL PROTECTED] and Xiphophorus

Report bugs to [EMAIL PROTECTED]
http://www.xiph.org/paranoia/

Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/acd0a is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
/dev/cdrom is not a SCSI device

Checking /dev/hd0 for cdrom...
[... Trying a bunch of devices elided in the interest of brevity].

No cdrom drives accessible to root found.
-

At this point, cdparanoia dumps core.

Now I have no idea what a cooked ioctl is and Google was of no help,
but I suspect that somehow the Linux emulation layer in FreeBSD does not
provide cdparanoia with a device it knows how to talk to.

Does anybody here have any idea how to fix/debug this problem?

Thanks in advance,
--Lucky Green



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



portupgrade problem

2002-10-07 Thread Tom Carrick

I was using portupgrade happily upgrading my ports, when it barfed in
the middle of something. I don't remember exactly what, I think it could
have been links or libslang. I don't remember the exact error, only that
it had something to do with memory. So I assumed there just wasn't
enough available. I checked with top, and I still had a good 50MB of RAM
available, and most of my swap space (500MB orso) free.

Fair enough. So I try to continue. It fails on the package upgrade.
Trying to find out what fails, I tried pkgdb -u. Failed. Same error. I
tried deleting portupgrade and installing it again, to no effect.

It invariably, depending on the phase of the moon, I suppose, gives one
of two errors, either:

root@knyghtmare:/root# pkgdb -u
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 325
packages found (-3 +2)
(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:435: [BUG] Segmentation
fault
ruby 1.6.7 (2002-09-12) [i386-freebsd4]
Abort (core dumped)

or...

root@knyghtmare:/root# pkgdb -u
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 325
packages found (-3 +2) (...)Cannot allocate memory: Cannot update the
pkgdb!]

I've tried rebooting. Doesn't seem to help, and it was working fine
until it barfed on me.

I've tried deleting links and libslang, too, in case it messed the
database somehow. That's still my best theory, though deleting them
didn't help.

Anyone have any ideas?



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


Should I worry about having many X11 symlinks

2002-10-07 Thread Peter Leftwich

# find /usr/X11R6/lib/X11/ -type l | xargs ls -al | grep -v \/doc\/html\/
lrwxr-xr-x  1 root  wheel  11 Jun 19 18:19 /usr/X11R6/lib/X11/fs - /etc/X11/fs
lrwxr-xr-x  1 root  wheel  17 Jun 19 18:19 /usr/X11R6/lib/X11/lbxproxy - 
/etc/X11/lbxproxy
lrwxr-xr-x  1 root  wheel  18 Jun 19 18:19 /usr/X11R6/lib/X11/proxymngr - 
/etc/X11/proxymngr
lrwxr-xr-x  1 root  wheel  15 Jun 19 18:19 /usr/X11R6/lib/X11/rstart - /etc/X11/rstart
lrwxr-xr-x  1 root  wheel  12 Jun 19 18:19 /usr/X11R6/lib/X11/twm - /etc/X11/twm
lrwxr-xr-x  1 root  wheel  12 Jun 19 18:19 /usr/X11R6/lib/X11/xdm - /etc/X11/xdm
lrwxr-xr-x  1 root  wheel  14 Jun 19 18:19 /usr/X11R6/lib/X11/xinit - /etc/X11/xinit
lrwxr-xr-x  1 root  wheel  23 Jun 19 18:20 /usr/X11R6/lib/X11/xkb - 
../../../../etc/X11/xkb
lrwxr-xr-x  1 root  wheel  16 Jun 19 18:19 /usr/X11R6/lib/X11/xserver - 
/etc/X11/xserver
lrwxr-xr-x  1 root  wheel  12 Jun 19 18:19 /usr/X11R6/lib/X11/xsm - /etc/X11/xsm

`pkg_add -r wrapper` failed the first try because of an error about
/etc/X11/xserver/ServerPolicy or something like that.  A pkg_deinstall then
a `pkg_add -rf` fixed wrapper fine but should these symlinks be migrated
one way (/usr/X11R6/...) or the other (/etc/X11/..)?  ln -s thanks help\!

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: /dev/urandom is randomly cool

2002-10-07 Thread Peter Leftwich

On Mon, 7 Oct 2002, Oliver Fromme wrote:
 Peter Leftwich [EMAIL PROTECTED] wrote:
   On Sun, 6 Oct 2002, Fernando Gleiser wrote:
On Sun, 6 Oct 2002, Mikko Työläjärvi wrote:
  tr -cd a-zA-Z0-9  /dev/urandom | dd bs=$len count=1 2/dev/null
   It didn't work.  My shell is tcsh so I tried:
   tr -cd a-zA-Z0-9  /dev/urandom | dd bs=8 count=1  /dev/null
   And all I got was the next prompt.

 Yep, csh and tcsh suck pretty much.  Not being able to separately
 redirect stderr easily is one of the reasons.

Bizarre.  From now on I'll have to insert `bash ; ` before commands :)

 In this particular case, you can use head instead of dd:
 tr -cd a-zA-Z0-9  /dev/urandom | head -c 8

Thanks for that!  I was trying `cut -c` and didn't realize head had that
flag.  Now I can generate 8 characters:

# tr -cd a-zA-Z0-9  /dev/urandom | head -c 8 ; echo 
0tXx3p3m

...and random phone numbers :)

# tr -cd 0-9  /dev/urandom | head -c 10 ; echo 
5031594488

 If your intention is to generate passwords, then you should also include special 
characters, not just letters and digits.  I once wrote a small shell script to 
generate good passwords:
 http://www.secnetix.de/~olli/scripts/genpwd

Nope.

 After installing it somwhere in yout $PATH (for example in
 /usr/local/bin) and making it executable, type genpwd -h

Do any other flavors of unix come with password generators?

 for usage information.  It also uses /dev/urandom, if it
 exists, but it also works fine without -- you can easily
 remove that part from the script (three lines) and it will
 still work with sufficient randomness, without having to
 touch your kernel's entropy pool.

Why is this an entropy pool and not an entropy ocean?  Is there a way to
cat /dev/dsp or analyze my soundcard's mic-in and sample randomness?

 BTW, the script can also be (ab)used for other things.
 There are two examples in the usage message.
 Regards
Oliver
 Oliver Fromme, secnetix GmbH  Co KG, Oettingenstr. 2, 80538 München
 All that we see or seem is just a dream within a dream (E. A. Poe)

Thanks again Oliver.

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Compiling nm in a make buildworld.

2002-10-07 Thread Peter Losher

Hi - 

I have a freshly intalled 4.6.2-REL box, and I wanted to update the box to 
4.6.2-REL-p2.  I cvsup'ed the src tree, and make buildworld dies @nm:

Any ideas of what the cause could be?

-=-
=== gnu/usr.bin/binutils/nm
cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/nm 
-I/usr/src/gnu/usr.bin/binutils/nm/../libbfd/i386 
-I/usr/src/gnu/usr.bin/binutils/nm/../../../../contrib/binutils/include 
-I/usr/src/gnu/usr.bin/binutils/nm/../libbinutils 
-I/usr/src/gnu/usr.bin/binutils/nm/../../../../contrib/binutils/binutils
-c 
/usr/src/gnu/usr.bin/binutils/nm/../../../../contrib/binutils/binutils/nm.c
/usr/src/gnu/usr.bin/binutils/nm/../../../../contrib/binutils/binutils/nm.c: 
In function `main':
/usr/src/gnu/usr.bin/binutils/nm/../../../../contrib/binutils/binutils/nm.c:467: 
syntax error at null character
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/nm.
*** Error code 1
-=-

Thanks - 
-- 
[EMAIL PROTECTED] - [ http://www.plosh.net ] 

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



mounting the cdrom

2002-10-07 Thread Mat Branyon

is there an easy secure way to mount the cdrom and other devices as a
nonroot user?  if not, what are the security risks i face by installing
the package that allows this (and what is the name of the package, ive
only heard of it)

--mat



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



Re: /etc/make.conf and AMD Athlon 600

2002-10-07 Thread Peter Leftwich

On 6 Oct 2002, Gary W. Swearingen wrote:
 PL My PC has an AMD Athlon 600, so in /etc/make.conf should I have i686 or k7?
 Find your answer (k7) in /usr/src/share/mk/bsd.cpu.mk

I didn't have .../share/mk/ so I went out with google and downloaded
bsd.cpu.mk -- Wouldn't it be nice if mv had a flag to create directories
if they don't exist?  Same with the command touch.

 I've been using k6-2 for my AMD pre-Athlon CPU for a year or so,
 with no known problems, but do read the warnings in
 /etc/defaults/make.conf about it.  The default is i386.

Defaults are made to be over-ridden and surpassed as HW allows. ;-)

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: Secure FTPd

2002-10-07 Thread Doug Hardie


On Monday, Oct 7, 2002, at 17:18 US/Pacific, Eric Parusel wrote:

 Hmm, I think you two *may* be doing down the wrong path...
 There's a (proposed) standard for encrypted FTP, it's called
 FTP over TLS ...

 Here's a link:
 http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html


A number of proposed approaches for secure login and ftp have been 
floated over the years.  Only scp, sftp, and sshd have made it into the 
FreeBSD base.  I will keep watching.


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



Re: help with ln linking Please! [attn manpage authors!]

2002-10-07 Thread Peter Leftwich

On Mon, 7 Oct 2002, SweeTLeaF wrote:
 I am in the /usr/root dir
 ln -s desktop /root/Desktop/tmp

You should be using `ln -s /root/Desktop/tmp /usr/root/desktop`

The manpage is super unclear about sourcefile and targetfile, I have said
this for years.  Think of this paragraph:

SYNOPSIS
 ln [-fhinsv] source_file [target_file]

Given one or two arguments, ln creates a link to an existing file
source_file.  If target_file is given, the link has that name; target_file
may also be a directory in which to place the link; otherwise it is placed
in the current directory.  If only the directory is specified, the link
will be made to the last component of source_file.

... as this instead `ln -s actualfile linkfile`

 Now i was exspecting to see all the contents for /usr/root/desktop when i viewed the 
/root/Desktop/tmp dir. but that did not happen.
 Now when i go to /root/Desktop/tmp ...i see the link for desktop but when i do a ls 
desktop to try and view the files inside desktop i get nothing and a cd desktop gives 
an sys link error...and there are more files in desktop. I guess i am trying to 
mirror the two dir, so even though they have different names and on different 
filesystems, i will see the same contents.
 Thanks for any help.

I think you just had it backwards.

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



make buildworld: /usr/libexec/elf/ld: cannot find -lc

2002-10-07 Thread Jim


FreeBSD 4.2 getting the error when attempting to buildworld:

-- clip --

--
 Upgrading the installed make
--
cc -O -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=\5200209170\ 
-D__FBSDID=__RCSID -DDEFSHELL=1-static -o make arch.o buf.o compat.o 
cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o 
var.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o 
lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o 
lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o 
lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o 
lstReplace.o lstSucc.o  
/usr/libexec/elf/ld: cannot find -lc
*** Error code 1

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

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

Stop in /usr/src.
# uname -a
FreeBSD njkwan.concon.homeip.net 4.2-RELEASE FreeBSD 4.2-RELEASE #1: Sat Dec 
30 15:40:05 EST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/njkwan  
i386

--!clip--

I have read some things online that state that I need to specify a directory 
to find the c library??? using the -L switch?  When I do an ldconfig -m I 
show the following directories available:

# ldconfig -r | awk -F'' '{print $2}' | while read d;do dirname $d;done | 
uniq

/usr/lib
/usr/lib/compat
/usr/X11R6/lib
/usr/local/lib
/usr/local/lib/mysql

Any suggestions would be very nice.  TIA

-- 

- Jim

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



Re: Samba/USB Printer/Epson Photo Stylus 820

2002-10-07 Thread Gerard Samuel

I just setup a usb printer over the weekend.

Make sure your kernel is compiled for it.
Here is a snip from the kernel config file -
# USB Stuff
device  usb
device  uhci
device  ulpt

Depending on your usb chipset you may have to change uhci to ohci.

At first I tried a combo of apsfilter and LPRng, but it wasn't giving me 
any love.
I started using CUPS today, and Im getting good results so far with an 
HP DeskJet 640C.
I just need to get windows to print to it and Im golden...

Good Luck...

Tommy Forrest - KE4PYM wrote:

I'm interested in setting up FreeBSD 4.x/Samba to spool/act as print
server for a Epson Stylus Photo 820 for my other machines on the
network.  I found the FreeBSD handbook really good at explaining how to
do this with old-school connections (parallel/serial).  But I'm
interested in doing this using USB.  Are there any HOW-TO's out there
that explain how to do this??


Tommy Forrest - KE4PYM -  [EMAIL PROTECTED]
My two cents:
OS/2: Bill Gates' worst nightmare!

PGP Public Key Fingerprint: B9ED C46F C92E 0101  4B4C BFC1 907C A0D0



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


  


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




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



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread parv

in message [EMAIL PROTECTED],
wrote Kevin Oberman thusly...

 The biggest down-side is the requirement that I run portsdb -Uu to
 update the databases after a cvsup of the ports tree. This is a pretty
 CPU intensive operation and can take a while on an older system.

as i understand portsupgrade, portsdb -U would create the the
index as if you had typed make index in your ports ($PORTSDIR).

if you don't have the INDEX reflecting the current ports tree,
things may go out of hand.  such making of INDEX is part of freebsd
ports (not portsupgrade).  actually, after INDEX is made, portsdb
-u finishes lighting fast ... in comparison.


for me, creating the INDEX takes less time than updating it cvsup
over a dialup connection.  i don't have problem w/ the creation
process being CPU intensive; bottleneck on my system is heavy disk
activity.


  - parv

-- 


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



Re: Problem with aic7892 in 4.5-Release

2002-10-07 Thread Long Le

On Mon, 7 Oct 2002, Justin T. Gibbs wrote:

 What the messages are basically saying is that your drives are
 not completing certain commands that we have issued to them.  There
 were certainly some issues with certain DDYS drive firmware versions
 that could cause these types of symptoms.  One thing that might help
 you is to lower the tag depth to your drives using the camcontrol
 utility.

Hi all,

I am sorry if this question is obvious but I'm new to the camcontrol
utility. I'm just wondering if anyone has any comments on the following
commands.

root@goldberg 9:54pm ~  camcontrol tags da0
(pass0:ahc0:0:0:0): device openings: 128
root@goldberg 9:54pm ~  camcontrol tags da0 -N 64
(pass0:ahc0:0:0:0): tagged openings now 64
(pass0:ahc0:0:0:0): device openings: 64

Does this achieve what Justin suggested? Is 64 a good value of tag
depth or should I reduce it more?

Thanks,
-- long


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



Use MFS for /tmp, etc ?

2002-10-07 Thread Christopher Smith

What's the consensus for using an MFS filesystem for places like /tmp.
/var/tmp, /var/run, etc ?  I see in some oldish postings to -questions this
is considered a bad idea, does this still apply in more recent versions of
FreeBSD (4.6.2) ?

-- 
+- Christopher Smith, Systems Administrator --+
|  Server  Security Group, Information Technology Services   |
|  The University of Queensland, Brisbane, Australia, 4072|
+- Ph +61 7 3365 4046 | email [EMAIL PROTECTED] | Fax +61 7 3365 4065 -+



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



Installing bsd-airtools (on 4.6.2)

2002-10-07 Thread Bob Johnson

OK.  I'm confused.  I updated ports and tried to install bsd-airtools, 
and I'm told I need to upgrade.  Upgrade to what?  The bsd-airtools 
web site says I need FreeBSD 4.4, I'm running 4.6.2.

Do I need to upgrade FreeBSD, downgrade my ports collection, 
or what?

Thanks,

- Bob


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



help with ln linking Please!

2002-10-07 Thread SweeTLeaF

I am in the /usr/root dir

ln -s desktop /root/Desktop/tmp

Now i was exspecting to see all the contents for /usr/root/desktop when i viewed the 
/root/Desktop/tmp dir. but that did not happen.
Now when i go to /root/Desktop/tmp ...i see the link for desktop but when i do a ls 
desktop to try and view the files inside desktop i get nothing and a cd desktop gives 
an sys link error...and there are more files in desktop. I guess i am trying to mirror 
the two dir, so even though they have different names and on different filesystems, i 
will see the same contents.

Thanks for any help.



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



Re: Installing bsd-airtools (on 4.6.2)

2002-10-07 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-10-07 23:43:46 -0400:
 OK.  I'm confused.  I updated ports and tried to install bsd-airtools, 
 and I'm told I need to upgrade.  Upgrade to what?  The bsd-airtools 
 web site says I need FreeBSD 4.4, I'm running 4.6.2.
 
 Do I need to upgrade FreeBSD, downgrade my ports collection, 
 or what?

check /usr/ports/net/bsd-airtools/Makefile, the answer is there.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
8:20AM up 20 days, 15:35, 11 users, load averages: 0.05, 0.18, 0.15
end

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



Re: Linux JDK 1.3 necessary to compile JDK 1.3.1 source from Sun?

2002-10-07 Thread Jonathan Chen

On Mon, Oct 07, 2002 at 04:37:08PM -0400, Mark Haney wrote:

[...]
 Why is it necessary to install the Linux JDK before building the JDK from source
 and the patchset?

Because Sun's build procedure requires a valid bootstrap SDK to build
an SDK.

 Can I just use the Linux JDK?

Yup.

 Can I build from source and the patchset without first installing the Linux
 version?

Nope. However, once you've installled the native version, you can
delete the Linux version. The native version can also be used to
bootstrap any in-version upgrades.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around

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



Re: Proper way to upgrade packaes from ports

2002-10-07 Thread Kevin Oberman

 From: Andrew Knapp [EMAIL PROTECTED]
 Date: Mon, 7 Oct 2002 18:18:22 -0400
 
 AFAIK, doesn't portupgrade come with another utility called portversion?
 I use portversion -r (for recursive) to figure out what packages I do
 need to upgrade. It gives a nice read-out of what to upgrade.

Yes, portversion is a part of portupgrade. It should do almost
anything pkg_version does except -c. I use portversion -vL= to check
on what needs updating. But I then usually do portupgrade -Rra which
will upgrade all ports that are out of date and do so in the correct
bottom-up order.

portupgrade also includes pkgtools which lets you establish routine
options you always use for installing a certain port. For example, the
make option to use the MGA driver for a Matrox card instead of the
XFree86 driver or to build Galeon with full mozilla. The file
/usr/local/etc/pkgtools.conf lets you stop automatic upgrade of some
ports and many other things to make keeping ports current quite easy.

The biggest down-side is the requirement that I run portsdb -Uu to
update the databases after a cvsup of the ports tree. This is a pretty
CPU intensive operation and can take a while on an older system.

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

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



portupgrade freetype2 problem

2002-10-07 Thread Chip Wiegand

I am trying to use portupgrade to upgrade freetype2 but am getting this
error:

chip# portupgrade freetype2
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 214
packages found (-0 +1) . done]
---  Skipping 'print/freetype2' (freetype2-2.1.1) which has already
been ignored
** The following packages were not installed or upgraded (*:skipped /
!:failed)
* print/freetype2 (freetype2-2.1.1)

What do I have to do to fix this?

--
Chip


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



Samba/USB Printer/Epson Photo Stylus 820

2002-10-07 Thread Tommy Forrest - KE4PYM

I'm interested in setting up FreeBSD 4.x/Samba to spool/act as print
server for a Epson Stylus Photo 820 for my other machines on the
network.  I found the FreeBSD handbook really good at explaining how to
do this with old-school connections (parallel/serial).  But I'm
interested in doing this using USB.  Are there any HOW-TO's out there
that explain how to do this??


Tommy Forrest - KE4PYM -  [EMAIL PROTECTED]
My two cents:
OS/2: Bill Gates' worst nightmare!

PGP Public Key Fingerprint: B9ED C46F C92E 0101  4B4C BFC1 907C A0D0



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