can't see CPU in top and other tools

2005-04-18 Thread Dmitry S. Vlasov
Hello!
I've a problem with two servers under FreeBSD.
CPU tools show me information about CPU utilization only few minutes 
after system reboot.
And after that I see constant CPU utilization:

TOP: CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  
0.0% idle
VMSTAT:
[EMAIL PROTECTED] vmstat -c 10
procs  memory  pagedisks faults  cpu
r b w avmfre  flt  re  pi  po  fr  sr ad0 md0   in   sy  cs us 
sy id
5 0 0  261964 172292  791   0   0   0 1268   4   0   0 2812 1781 1313 
10  9 82
4 0 0  267564 170752  649   0   0   0 564   0   6   0 2492 5860 1046  
0  0  0
9 0 0  277444 168268 1020   0   0   0 753   0   8   0 2437 6902 989  0  
0  0
4 0 0  297304 164100 1241   0   0   0 579   0   8   0 2429 8504 1001  
0  0  0
3 0 0  328484 157344 3597   0   0   0 1890   0   8   0 2336 12988 1147  
0  0  0
7 1 0  336036 154352 2110   0   0   0 796   0  35   0 2610 11445 1083  
0  0  0
5 0 0  341180 151820  985   0   0   0 612   0   9   0 2585 11027 1015  
0  0  0
5 0 0  341596 149124  967   0   0   0 562   0   8   0 2449 9302 896  0  
0  0
3 0 0  340464 150164  374   0   0   0 923   0   8   0 2531 4649 905  0  
0  0
6 0 0  337160 152328  628   0   0   0 1741   0  16   0 2596 3512 906  
0  0  0
(first line values are always the same...)

We tryied to upgrade from 4x to 5x - but unsuccessful
And problems still exist.
Thank you!
P.S.:
dmidecode:
# dmidecode 2.4
SMBIOS 2.3 present.
70 structures occupying 2412 bytes.
Table at 0x000FAEC0.
Handle 0x
   DMI type 0, 20 bytes.
   BIOS Information
   Vendor: Intel Corporation
   Version: SE7210TP10.86B.P.01.00.0023.122520031342
   Release Date: 12/25/2003
   Address: 0xF
   Runtime Size: 64 kB
   ROM Size: 1024 kB
   Characteristics:
   PCI is supported
   PNP is supported
   BIOS is upgradeable
   BIOS shadowing is allowed
   ESCD support is available
   Boot from CD is supported
   Selectable boot is supported
   BIOS ROM is socketed
   EDD is supported
   3.5/720 KB floppy services are supported (int 13h)
   3.5/2.88 MB floppy services are supported (int 13h)
   Print screen service is supported (int 5h)
   8042 keyboard services are supported (int 9h)
   Serial services are supported (int 14h)
   Printer services are supported (int 17h)
   CGA/mono video services are supported (int 10h)
   ACPI is supported
   USB legacy is supported
   LS-120 boot is supported
   ATAPI Zip drive boot is supported
   BIOS boot specification is supported
   Function key-initiated network boot is supported
Handle 0x0001
   DMI type 1, 25 bytes.
   System Information
   Manufacturer: Intel
   Product Name: SE7210TP1-E
   Version: 1.0
   Serial Number: 00
   UUID: Not Present
   Wake-up Type: Power Switch
Handle 0x0002
   DMI type 2, 15 bytes.
   Base Board Information
   Manufacturer: Intel
   Product Name: SE7210TP1-E
   Version: FRU Ver 0.01
   Serial Number: BZTP41500986
   Asset Tag: 00
   Features:
   Board is a hosting board
   Board is replaceable
   Location In Chassis: A0
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handlers: 0
Handle 0x0003
   DMI type 3, 21 bytes.
   Chassis Information
   Manufacturer: Intel Corporation
   Type: Main Server Chassis
   Lock: Not Present
   Version: SR1325TP1
   Serial Number: ECKA4190050
   Asset Tag: 00
   Boot-up State: Safe
   Power Supply State: Safe
   Thermal State: Safe
   Security Status: None
   OEM Information: 0x
Heigth: Unspecified
Number Of Power Cords: 1
   Contained Elements: 0
Handle 0x0004
   DMI type 4, 35 bytes.
   Processor Information
   Socket Designation: CPU 1
   Type: Central Processor
   Family: Pentium 4
   Manufacturer: Intel
   ID: 33 0F 00 00 FF FB EB BF
   Signature: Type 0, Family 15, Model 3, Stepping 3
   Flags:
   FPU (Floating-point unit on-chip)
   VME (Virtual mode extension)
   DE (Debugging extension)
   PSE (Page size 

gmirror losing drive

2005-04-18 Thread Andrea Venturoli
Hello.
I'm almost happily using gmirror on da0 and da1.
The problem is after every reboot da0 is gone and I have to issue:
gmirror forget gm0
gmirror insert gm0 da0
Then it will synchronize automatically.
Why? How do I resolve? Should I save the configuration in any way after 
issuing the previous commands?


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


Sendmail - massive logs

2005-04-18 Thread Gareth Bailey
Hi All,

I have found that my /var dir is filling up with logs caused by sendmail. I 
have no desire to use sendmail at the moment, and would like to turn it off 
completely (including logs).

How might i do this. Presently, I have the following line in my rc.conffile.

sendmail_enable=NONE

Please advise,

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


Re: Sendmail - massive logs

2005-04-18 Thread Olivier Nicole
 I have found that my /var dir is filling up with logs caused by sendmail. I 
 have no desire to use sendmail at the moment, and would like to turn it off 
 completely (including logs).
 How might i do this. Presently, I have the following line in my rc.conffile.
 sendmail_enable=NONE

That's the way to do it.

Now if you want to avoid any log, you must make sure you are not
trying to send any email either, that is no cron, no periodic, no
nothing. Because all these do send result by email, which means
sendmail by default.

Bests,

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


Can't build ports on older FreeBSD machine

2005-04-18 Thread Brett Glass
I've been asked to upgrade some software on an older FreeBSD 4.x box.  (The
owner is getting ready to move to a new box with 4.11 but can't take the
machine out of production just yet.) I upgraded all of the ports via CVS, and
then discovered that none of them would build. When I try to build a port,
I get messages like

/usr/ports/Mk/bsd.port.mk, line 4852: Malformed conditional 
(defined(USE_RCORDER) || defined(USE_RC_SUBR)  ${USE_RC_SUBR:U} != YES)

I'm not sure, but it appears that the master Makefile for the ports collection
was updated during the CVS update and requires features that the make utility 
which shipped with that version of FreeBSD doesn't have. (Correct me if I'm
wrong here, but that's what it looks like at first glance.) How can I build 
ports on that box? Note that I may be in a bit of a Catch-22 situation,
since any solution that requires installing a new make won't work if I have
to build it from a port.

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


gnome-btdownload not working

2005-04-18 Thread Didier Wiroth
Hello,
I'm using fbsd5.4-stable with gnome 2.10.

I've installed gnome-btdownload-0.0.20,1 (with py24-BitTorrent-core-4.0.1,1) 
from the ports.

When I try to download via the xterm shell with 
/usr/local/bin/btdownloadcurses.py, the bittorrent downloads work like a charm. 
But ... when I use the gnome-btdownload gui downloads don't work.

Even typing on a xterm for example: gnome-btdownload FreesBIE-1.1-i386.torrent
does indeed start the gui etc.. works great but downloads don't start. Here is 
some output:

Exception in thread bt_dl_thread:
Traceback (most recent call last):
  File /usr/local/lib/python2.4/threading.py, line 442, in __bootstrap
self.run()
  File /usr/local/lib/python2.4/threading.py, line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File /usr/X11R6/bin/gnome-btdownload, line 548, in download_thread
BitTorrent.download.download(self.args, file, status, finished, error, 
self.event, cols, path)
AttributeError: 'module' object has no attribute 'download'

As mentionned above, the gnome-btdownload gui starts, I choose the location 
where to save the file and then ... I can see the progress bar ... but the 
download doesn't start. With tcpdump I can see that it does not even try to 
connect, as no ip traffic is flowing. I browse through the download or 
upload or events tab, but no files are downloaded. 

I was wondering if someone is using it and if he had to patch the file or make 
some changes to have it work?

many thx
didier

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


gnome-btdownload not working

2005-04-18 Thread Didier Wiroth
Hello,
I'm using fbsd5.4-stable with gnome 2.10.

I've installed gnome-btdownload-0.0.20,1 (with py24-BitTorrent-core-4.0.1,1) 
from the ports.

When I try to download via the xterm shell with 
/usr/local/bin/btdownloadcurses.py, the bittorrent downloads work like a charm. 
But ... when I use the gnome-btdownload gui downloads don't work.

Even typing on a xterm for example: gnome-btdownload FreesBIE-1.1-i386.torrent
does indeed start the gui etc.. works great but downloads don't start. Here is 
some output:

Exception in thread bt_dl_thread:
Traceback (most recent call last):
  File /usr/local/lib/python2.4/threading.py, line 442, in __bootstrap
self.run()
  File /usr/local/lib/python2.4/threading.py, line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File /usr/X11R6/bin/gnome-btdownload, line 548, in download_thread
BitTorrent.download.download(self.args, file, status, finished, error, 
self.event, cols, path)
AttributeError: 'module' object has no attribute 'download'

As mentionned above, the gnome-btdownload gui starts, I choose the location 
where to save the file and then ... I can see the progress bar ... but the 
download doesn't start. With tcpdump I can see that it does not even try to 
connect, as no ip traffic is flowing. I browse through the download or 
upload or events tab, but no files are downloaded. 

I was wondering if someone is using it and if he had to patch the file or make 
some changes to have it work?

many thx
didier

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


Intel SRCU41L SCSI Raid Controller

2005-04-18 Thread Genco YILMAZ
Hi,
I have this raid controller and I cannot install any FreeBSD version 
except 5.1 Release.
5.1 causes no problem in installation but FreeBSD 5.3 and 5.4RC2 hang 
when boot process
reaches AMR module part(disk probing).  It detects RAID level and size 
then hangs. Verbose logging
only says GEOM: new disk amrd0 and stops.  Mainboard is NCCH-DR Asus 
Server board and there
are two Xeon processors.
   I have disabled acpi on startup but it changed nothing. If I enable 
safe mode,  installation starts with
no problem but I cannot use safe mode:(
If somebody has any idea or any experience with this card, I will 
be so glad to hear your suggestions.

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


pf ruleset for imap

2005-04-18 Thread Steven =?unknown-8bit?q?Bj=F8rken?= Vang

hello.

just installed pf, everything is looking good.
except my imap is blocked. what do i need to add, where?

#  FreeBSD [i386]
#  my.hostname.com
#  City, Country

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

# *** Default deny policy
#
block   drop log all

# *** Pass loopback traffic
#
passquick on lo0 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { udp, icmp } \
from ($ext_if) to any keep state

# *** Bootstrap
#
passout on $ext_if inet proto udp \
from any port 68 to any port 67 keep state

# *** DNS and NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

# *** SSH and HTTP
#
passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80 } flags S/SA keep state

# *** Active FTP
#
passin on $ext_if inet proto tcp \
from port 20 to ($ext_if) user proxy flags S/SA keep state

I guess that's it.
Thanks all,

-- Steven

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


RE: pf ruleset for imap

2005-04-18 Thread Vince
Do you use straight imap or imaps ?
I put both in but imap is 143 
Imaps is 993 

#IMAP and IMAPS
passin on $ext_if inet proto tcp \
 from any to ($ext_if) port { 143, 993 } flags S/SA keep state

Add it with the rest of your incoming rules.
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Steven Bjørken Vang
 Sent: 18 April 2005 11:25
 To: [EMAIL PROTECTED]
 Subject: pf ruleset for imap
 
 
 hello.
 
 just installed pf, everything is looking good.
 except my imap is blocked. what do i need to add, where?
 
 #  FreeBSD [i386]
 #  my.hostname.com
 #  City, Country
 
 # pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr
 
 int_if=ep0
 ext_if=lnc0
 
 # *** Options
 #
 set block-policy drop
 
 # *** Scrub incoming packets
 #
 scrub   in all
 
 # *** NAT
 #
 nat on $ext_if from $int_if:network to any - ($ext_if)
 rdr on $int_if proto tcp from any to any \
 port 21 - 127.0.0.1 port 8021
 
 # *** Default deny policy
 #
 block   drop log all
 
 # *** Pass loopback traffic
 #
 passquick on lo0 all
 
 # *** Outgoing
 #
 #
 passout on $ext_if inet proto tcp \
 from any to any flags S/SA keep state
 passout on $ext_if inet proto { udp, icmp } \
 from ($ext_if) to any keep state
 
 # *** Bootstrap
 #
 passout on $ext_if inet proto udp \
 from any port 68 to any port 67 keep state
 
 # *** DNS and NTP
 #
 passout on $ext_if inet proto udp \
 from ($ext_if) to any port { 53, 123 } keep state
 
 # *** SSH and HTTP
 #
 passin on $ext_if inet proto tcp \
 from any to ($ext_if) port { 22, 80 } flags S/SA keep state
 
 # *** Active FTP
 #
 passin on $ext_if inet proto tcp \
 from port 20 to ($ext_if) user proxy flags S/SA keep state
 
 I guess that's it.
 Thanks all,
 
 -- Steven
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

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


Big directory and the UDMA ICRC error writing fsbn message

2005-04-18 Thread Jesse Reynolds
Hello
Recently, a server of mine running FreeBSD 4.6.2-RELEASE started getting 
UDMA ICRC errors and put it's disk communication into PIO mode. I'm just 
wondering if this could have been caused by one very big and growing 
directory under /var, where one new file was being created every 15 
minutes. It had reached about 100,000 files in the one directory.

Is this possible?
Or is something more prozaic at play here, eg a dodgy cable or a disk on 
the way out?

There are two identical disks on this box that are mirrored with a 
hardware raid chip.

Here are the messages anyhow:
Apr  2 01:13:45 eagle /kernel: ad5: UDMA ICRC error writing fsbn 
119103807 of 0-255 (ad5 bn 119103807; cn 118158 tn 8 sn 39) retrying
Apr  2 01:14:01 eagle /kernel: ad5: UDMA ICRC error writing fsbn 
79975487 of 0-23 (ad5 bn 79975487; cn 79340 tn 12 sn 11) retrying
Apr  2 01:14:02 eagle last message repeated 2 times
Apr  2 01:14:02 eagle /kernel: ad5: UDMA ICRC error writing fsbn 
79975487 of 0-23 (ad5 bn 79975487; cn 79340 tn 12 sn 11) falling back to 
PIO m
ode

I'm also getting some other errors about time, eg:
Apr 15 03:17:13 eagle named[78]: gettimeofday returned bad tv_usec: 
corrected

Apr 18 15:16:54 eagle /kernel: microuptime() went backwards 
(44815198.498490 - 44815198.-695597409)

about the disks and filesystems:
# df -k
Filesystem  1K-blocks Used   Avail Capacity  Mounted on
/dev/ar0s1a   103214263190  886382 7%/
/dev/ar0s1g 107383706 94043514 474949695%/large
/dev/ar0s1f   4129310  1432826 236614038%/usr
/dev/ar0s1e   4129310   649442 314952417%/var
procfs  44   0   100%/proc
# atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad5 status: READY
Thanks very much
Jesse
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tcpwrappers problem

2005-04-18 Thread Didier Wiroth
Hi,
(using freebsd5.4-stable)

I'm trying to display a ftpd banner with hosts.allow, but it doesn't work.

I'm using ftpd (/usr/libexec/ftpd) started through inetd.
Ined is started with standard flags: 
/usr/sbin/inetd -wW -C 60

In hosts.allow I have:
ALL : ALL : allow
ALL : ALL : banners /usr/local/etc/banners/
ALL : PARANOID : RFC931 20 : deny

In /usr.../banners/ I've a banner called: ftpd and inetd and ftp etc.. copied 
the banner to different names to be sure ... ;-) 

The directory is world r-x and the banners are world readable. 

When changing for example: ALL:ALL:allow to ALL:ALL:deny, ftpd connections are 
blocked, so I assume the wrappers work.

Why isn't my banner displayed?
thanks
didier

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


RE: FreeBSD Support Provider

2005-04-18 Thread Ron Tschanschek
Hello!
 
A good few months ago I was searching your site, looking for details of
any organisations that were located close to me, that provided FreeBSD
support. Unless I'm going mad, I seem to remember a company in West
Yorkshire, located not very far away from Halifax, which did just that.
I remember going to their website, which was linked from FreeBSD.org,
but I now cannot find hide or hair of them. Can you give me any clue's
as to who the company might have been?
 
Hope to hear from you soon.
 
Best regards,
 
Ron Tschanschek
JBG Computer Services Ltd
Tel:   +44 (0)1422 31
Fax:  +44 (0)1422 311133
Mobile:  +44 (0)7831 432788
Email:   [EMAIL PROTECTED]
Web:www.jbg.co.uk http://www.jbg.co.uk/ 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IDS Recomendations

2005-04-18 Thread Brian McCann
This should probably be posted to freebsd-security, but I figured I'd
start here first.  I've got to start to implement an IDS system, and
I'm wondering what any of you guys are using for software.  I've
always used Snort  ACID, but I'm curious how others feel.  I've seen
Prelude, and it looks kinda cool, but Snort  ACID have proved
themselves over many years.  Any thoughts or suggestions?

--Brian

_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which interface: mountd,rpcbind

2005-04-18 Thread Lowell Gilbert
Florian Hengstberger [EMAIL PROTECTED] writes:

 Hi!
 I really worry about that it seems (man mountd, man rpcbind)
 impossible to specifiy the interface these daemons bind to.
 
 Specifing this in rc.conf
 
 rpcbind_enable=YES
 rpcbind_flags=-h 192.168.0.1
 nfs_server_enable=YES
 nfs_server_flags=-t -n 4 -h 192.168.0.1
 mountd_flags=-r
 
 the output of sockstat -l is this:
 root nfsd   398   3  tcp4   192.168.0.1:2049  *:*
 root mountd 396   4  udp4   *:812 *:*
 root mountd 396   5  tcp4   *:912 *:*
 root mountd 396   6  udp6   *:811 *:*
 root mountd 396   7  tcp6   *:911 *:*
 root rpcbind329   4  udp6   *:*   *:*
 root rpcbind329   5  stream /var/run/rpcbind.sock
 root rpcbind329   6  udp6   ::1:111   *:*
 root rpcbind329   7  udp6   *:*   *:*
 root rpcbind329   8  udp6   *:1023*:*
 root rpcbind329   9  tcp6   *:111 *:*
 root rpcbind329   10 udp4   127.0.0.1:111 *:*
 root rpcbind329   11 udp4   192.168.0.1:111   *:*
 root rpcbind329   12 udp4   *:808 *:*
 root rpcbind329   13 tcp4   *:111 *:*
 bind named  314   20 udp4   192.168.0.1:53*:*
 bind named  314   21 tcp4   192.168.0.1:53*:*
 bind named  314   22 udp4   127.0.0.1:53  *:*
 bind named  314   23 tcp4   127.0.0.1:53  *:*
 bind named  314   24 udp4   *:53  *:*
 ...
 
 The man page of sockstat does not give information about * int
 the last column, but I assume this means 'listens on all interfaces'.
 How can I avoid this?

You can't, as far as I can see.  Looks like it would be an afternoon's
work to add it in, but I wouldn't think it's worth worrying about it.
Since you bind to an address already, a packet filter firewall will
protect you from access on the wrong interface.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh terminates connection

2005-04-18 Thread Lowell Gilbert
Dino Vliet [EMAIL PROTECTED] writes:

 Hi all,
 
 when using ssh I encounter the following situation
 after a short moment of inactivity:
 
 write failed: permission denied
 
 Then I'm logged out and have to re-login.
 The problem is anoying because whenever I let
 postgresql for instance start a script, I can't walk
 away. 
 
 I'm using openSSH 3.5p1 (from the ports tree) on my
 freebsd 4.10 system.
 
 Can anyone advise me what to do to stop this?

Sounds like you're running afoul of your own firewall.  
Perhaps the session state is being timed out by the firewall or NAT
software?  

We can't really give much more of a pointer without more information...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcpwrappers problem

2005-04-18 Thread Micheal Patterson

- Original Message - 
From: Didier Wiroth [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Cc: freebsd-stable@freebsd.org
Sent: Monday, April 18, 2005 6:26 AM
Subject: tcpwrappers problem


Hi,
(using freebsd5.4-stable)
I'm trying to display a ftpd banner with hosts.allow, but it doesn't 
work.

I'm using ftpd (/usr/libexec/ftpd) started through inetd.
Ined is started with standard flags:
/usr/sbin/inetd -wW -C 60
In hosts.allow I have:
ALL : ALL : allow
ALL : ALL : banners /usr/local/etc/banners/
ALL : PARANOID : RFC931 20 : deny
In /usr.../banners/ I've a banner called: ftpd and inetd and ftp etc.. 
copied the banner to different names to be sure ... ;-)

The directory is world r-x and the banners are world readable.
When changing for example: ALL:ALL:allow to ALL:ALL:deny, ftpd 
connections are blocked, so I assume the wrappers work.

Why isn't my banner displayed?
thanks
didier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

At first glance, I would say because you have an ALL : ALL : allow 
before you have your ALL : ALL : banners /usr/local/etc/banners/

With that, it's never making it to the banners entry.
--
Micheal Patterson
Senior Communications Systems Engineer
TSG Incorporated
405-917-0600
Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. 

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


Re: Sendmail - massive logs

2005-04-18 Thread Lowell Gilbert
Olivier Nicole [EMAIL PROTECTED] writes:

 Now if you want to avoid any log, you must make sure you are not
 trying to send any email either, that is no cron, no periodic, no
 nothing. Because all these do send result by email, which means
 sendmail by default.

Just to be (a little more) clear:
these defaults can be changed.  
For example, setting daily_output, weekly_output, and monthly_output
in your periodic.conf can send the output to files instead of as mail
messages.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to make my RAID device WORM(write once and read many)

2005-04-18 Thread Lowell Gilbert
Please don't top-post.

prasadam kumar [EMAIL PROTECTED] writes:

 Thanks for responding to my query,
 actually it is a raid5 storage device it contains
 firewire and usb ports, through this
 interface a user can store data to the  raid5 device
 irrespective of file system.
 once he copied data to the device it should be
 immutable(i.e cannot be modify and delete).
 Can u suggest any approach to achieve this task.

If the system immutable and system undeletable flags are not good
enough for what you want, then the OS can't help you, and you will
need a hardware solution.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Starting applications automaticaly

2005-04-18 Thread Darren Henderson
On Sat, 16 Apr 2005, Brian Kinsey wrote:
That is not working. If I start a terminal window and save current session,
the terminal window is there again when I log back in. The same does not
happen with xbattbar.
You'll have to find another method for things you wish to start 
automatically as root while logged in as another user, most of them less 
then desireable. However, that probably isn't the issue.

I don't use xbattbar but I doubt there is any compelling reason it has to 
be started as root. Check in /dev and see who has rights to r/w apm and 
apmctl (on 4.x). I believe the default is root and members of operator. 
Make yourself a member of the operator group.

If the permissions aren't like that on your system them change them 
accordingly under 4.x or tweak /etc/devfs.conf on 5.x (not sure where in 
the 5.x series this started certainly 5.2 and beyond)

As to your question... Look in /usr/local/share/apps/kdm/sessions and see 
what kdm does for xfce. kdm invokes /usr/X11R6/bin/startxfce4. Take a look 
at startxfce4. It essentially looks for $HOME/.config/xinitrc, if not 
found it invokes /usr/X11R6/etc/xdg/xfce4/xinitrc. The default install 
doesn't create the former. If you want to change the startup then grab a 
copy of the latter creating the former and alter as desired.

-Darren
__
Darren Henderson  [EMAIL PROTECTED]
   Help fight junk e-mail, visit http://www.cauce.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A description of FreeBSD TCP/IP implementation

2005-04-18 Thread Andrew P.
Hello,
I have found that in some cases networking
does not work as I expect in FreeBSD. I'm
reading TCP/IP Illustrated now, but I feel
like I also need a simple, but extensive
source of documentation on TCP/IP
implementation in FreeBSD.
The Design and Implementation of the
FreeBSD Operating System seems to be a
very nice book, but it's not cheap and I'd
prefer using some free docs for starters.
A selection of network-related manpages
plus some commentary and comprehensive
examples would be great. Has anyone seen
something like that?
Thanks,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: tcpwrappers problem

2005-04-18 Thread Didier Wiroth
Damm ... ;-)) yes that's it
thanks a lot
didier

At first glance, I would say because you have an ALL : ALL : allow
before you have your ALL : ALL : banners /usr/local/etc/banners/



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


terminal server recommendation?

2005-04-18 Thread Noah
Hi there,

well I am needing some more remote control to my machines at my colo
facility.  can you possibly recommend a really nice terminal server?

also what about remote power cyclers?  any clues here?

cheers,

Noah

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


Re: terminal server recommendation?

2005-04-18 Thread Brian McCann
 OT for the list I'd think, but for power cyclers, I use the APC
MasterSwitch units with the network management card in them.  They
have a nice web interface, or you can console to them via serial, and
they support telnet as well (maybe SSH..not sure on that one.).  As
for a terminal server, since we have extra 1U servers sitting around,
I will be building my own, using EdgePort 8-Port Serial-USB
adapters...either on FreeBSD if they are supported or W*ndows,
depending on if FreeBSD supports them (haven't looked yet).

Hope that helps,
--Brian

On 4/18/05, Noah [EMAIL PROTECTED] wrote:
 Hi there,
 
 well I am needing some more remote control to my machines at my colo
 facility.  can you possibly recommend a really nice terminal server?
 
 also what about remote power cyclers?  any clues here?
 
 cheers,
 
 Noah
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann
Systems  Network Administrator, K12USA

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound not working

2005-04-18 Thread RW
On Sunday 17 April 2005 20:08, Emil Khatib wrote:
 Hi everybody.
 I'm using a SoundBlaster PCI 128 and I get a problem with sound when
 starting KDE. After builing and loading the sound moule
 (snd_es137x.ko) everything seems to work allright. KDE's startup
 melody sounds for a few seconds, but it suddenly stops without any
 error message. When I try to open a music file, it seems to work, but
 i get no sound!.

I had this, and I've seen it reported several times. After the KDE jingle 
plays, the volume controls get turned down to zero. Turning up the volume in 
applications has no effect because the controls are multiplicative.

Try running kmix, to the restore the volume levels. If the problem persists 
you can put it in autostart, and set it's option to restore volume controls 
on startup. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread RW
On Monday 18 April 2005 08:58, Brett Glass wrote:
 I've been asked to upgrade some software on an older FreeBSD 4.x box.  (The
 owner is getting ready to move to a new box with 4.11 but can't take the
 machine out of production just yet.) I upgraded all of the ports via CVS,
 and then discovered that none of them would build. When I try to build a
 port, I get messages like

 /usr/ports/Mk/bsd.port.mk, line 4852: Malformed conditional
 (defined(USE_RCORDER) || defined(USE_RC_SUBR)  ${USE_RC_SUBR:U} != YES)

 I'm not sure, but it appears that the master Makefile for the ports
 collection was updated during the CVS update and requires features that the
 make utility which shipped with that version of FreeBSD doesn't have.
 (Correct me if I'm wrong here, but that's what it looks like at first
 glance.) How can I build ports on that box? Note that I may be in a bit of
 a Catch-22 situation, since any solution that requires installing a new
 make won't work if I have to build it from a port.

The canonical solution is to upgrade world  kernel to 4.11.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: terminal server recommendation?

2005-04-18 Thread Noah
On Mon, 18 Apr 2005 11:01:08 -0400, Brian McCann wrote
 OT for the list I'd think, but for power cyclers,

okay where is a good list to go to for these discussions - because I am unable
to find one.

cheers,

Noah



 I use the APC
 MasterSwitch units with the network management card in them.  They
 have a nice web interface, or you can console to them via serial, and
 they support telnet as well (maybe SSH..not sure on that one.).  As
 for a terminal server, since we have extra 1U servers sitting around,
 I will be building my own, using EdgePort 8-Port Serial-USB
 adapters...either on FreeBSD if they are supported or W*ndows,
 depending on if FreeBSD supports them (haven't looked yet).
 
 Hope that helps,
 --Brian
 
 On 4/18/05, Noah [EMAIL PROTECTED] wrote:
  Hi there,
  
  well I am needing some more remote control to my machines at my colo
  facility.  can you possibly recommend a really nice terminal server?
  
  also what about remote power cyclers?  any clues here?
  
  cheers,
  
  Noah
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 -- 
 _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
 Brian McCann
 Systems  Network Administrator, K12USA
 
 I don't have to take this abuse from you -- I've got hundreds of
 people waiting to abuse me.
 -- Bill Murray, Ghostbusters
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Error making Sendmail with SMTP AUTH

2005-04-18 Thread Nick
I am trying to set up SMTP AUTH per the handbook section 22.10.  I have 
FreeBSD 5.3 and have installed cyrus-sasl-2.1.19_1; cyrus-sasl-1.5.28_3 
is also present.  I have set pwcheck_method: passwd and added the 3 
lines to make.conf.  I am trying to recompile Sendmail and the make 
outputs ends as below:

cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
-D_FFR_TLS_1 -I/usr/local/include/sasl1 -DSASL   -L/usr/local/lib -o 
sendmail alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o 
daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o 
map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o 
recipient.o savemail.o sasl.o sfsasl.o shmticklib.o sm_resolve.o 
srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o 
usersmtp.o util.o version.o -lutil -lwrap 
/usr/src/lib/libsmutil/libsmutil.a /usr/src/lib/libsm/libsm.a -lssl 
-lcrypto -lsasl
cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory
cc: /usr/src/lib/libsm/libsm.a: No such file or directory
*** Error code 1

What am I doing wrong?
Thanks,
Nick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hosed the jdk15 port in the pkg db

2005-04-18 Thread Louis LeBlanc
Hey fellow FreeBSD users.

I've just returned from a week off, and must have left my brain in
Orlando, because I can't for the life of me figure out how to fix this
problem.

Upon my return, I upgraded my ports tree, and noticed that portaudit
had several new packages listed with security issues.  Including
jdk1.5 and portupgrade.

Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and
several other packages listed.  As always, I used the -RN flags to
make sure any dependencies were upgraded as well.  I saved the
majority of packages to upgrade a little at a time.

They all went off without a hitch, except for the jdk15 port.  The
portupgrade port upgraded first, but I don't imagine the new tool is
the one used in the subsequent upgrades.  Normally, I upgrade
portupgrade first on its own, but this time I didn't.

Now, I have several stale dependencies for the jdk15 port.  The jdk
itself is there, but it's not registered.  I tried to force the
upgrade (portupgrade -fN) but it fails saying that
/usr/local/jdk1.5.0/bin/java is already registered - but not the
package.  I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but
it comes back with no output.  pkg_which simply returns a '?'.

pkgdb -u doesn't seem to do anything.

So I've somehow bonked something quite thoroughly.  Any suggestions on
how best to fix this - preferably without deleting all or most of the
packages I have installed?

TIA

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Bunker's Admonition:
  You cannot buy beer; you can only rent it.


pgpTpLy1YCZsJ.pgp
Description: PGP signature


Site Stats

2005-04-18 Thread Graham Bentley
Hi,
Apart from Webalizer, what other solutions can
you recommend for basic but functional site stats ?
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Site Stats

2005-04-18 Thread SuDaNym
In a message dated 4/18/2005 at  11:03:43 AM Central Daylight Time,  
[EMAIL PROTECTED] writes: 


Apart from Webalizer, what other  solutions can

check out Awstats  _http://awstats.sourceforge.net/_ 
(http://awstats.sourceforge.net/) 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error making Sendmail with SMTP AUTH

2005-04-18 Thread [EMAIL PROTECTED]
Nick wrote:
 I am trying to set up SMTP AUTH per the handbook section 22.10.  I have
 FreeBSD 5.3 and have installed cyrus-sasl-2.1.19_1; cyrus-sasl-1.5.28_3
 is also present.  I have set pwcheck_method: passwd and added the 3
 lines to make.conf.  I am trying to recompile Sendmail and the make
 outputs ends as below:
 
 cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src
 -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB
 -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS
 -D_FFR_TLS_1 -I/usr/local/include/sasl1 -DSASL   -L/usr/local/lib -o
 sendmail alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o
 daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o
 map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o
 recipient.o savemail.o sasl.o sfsasl.o shmticklib.o sm_resolve.o
 srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o
 usersmtp.o util.o version.o -lutil -lwrap
 /usr/src/lib/libsmutil/libsmutil.a /usr/src/lib/libsm/libsm.a -lssl
 -lcrypto -lsasl
 cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory
 cc: /usr/src/lib/libsm/libsm.a: No such file or directory
 *** Error code 1
 
 What am I doing wrong?
 


Show us your /etc/make.conf and the actually commands you're using to
(re)compile sendmail.

Also, you should consider removing one of the cyrus-sasl versions unless
you know you need both (preferably saslv1 as I think it's nearing EOL).

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


Re: Error making Sendmail with SMTP AUTH

2005-04-18 Thread Nick
Hi Greg
$ m make.conf
# -- use.perl generated deltas -- #
# Created: Sat Nov 20 20:42:01 2004
# Setting to use base perl from ports:
PERL_VER=5.8.5
PERL_VERSION=5.8.5
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl
and
# cd /usr/src/usr.sbin/sendmail
# make cleandir
# make obj
# make   error text generated at this point
# make install
Thanks,
Nick
[EMAIL PROTECTED] wrote:
Nick wrote:
 

I am trying to set up SMTP AUTH per the handbook section 22.10.  I have
FreeBSD 5.3 and have installed cyrus-sasl-2.1.19_1; cyrus-sasl-1.5.28_3
is also present.  I have set pwcheck_method: passwd and added the 3
lines to make.conf.  I am trying to recompile Sendmail and the make
outputs ends as below:
cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB
-DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS
-D_FFR_TLS_1 -I/usr/local/include/sasl1 -DSASL   -L/usr/local/lib -o
sendmail alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o
daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o main.o
map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o
recipient.o savemail.o sasl.o sfsasl.o shmticklib.o sm_resolve.o
srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o
usersmtp.o util.o version.o -lutil -lwrap
/usr/src/lib/libsmutil/libsmutil.a /usr/src/lib/libsm/libsm.a -lssl
-lcrypto -lsasl
cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory
cc: /usr/src/lib/libsm/libsm.a: No such file or directory
*** Error code 1
What am I doing wrong?
   


Show us your /etc/make.conf and the actually commands you're using to
(re)compile sendmail.
Also, you should consider removing one of the cyrus-sasl versions unless
you know you need both (preferably saslv1 as I think it's nearing EOL).
G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: lost root passwd

2005-04-18 Thread Matthew Seaman
On Sat, Apr 16, 2005 at 07:56:01PM +0200, Danny Pansters wrote:
 
 mount -a will not re-mount an already mounted filesystem only those in fstab 
 that are not mounted yet.

Actually, while that used to be the case, mount -a nowadays will
remount a filesystem with the flags specified in /etc/fstab.  That
changed somewhere before 4.8-RELEASE AFAIR.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   8 Dane Court Manor
  School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone
Tel: +44 1304 617253  Kent, CT14 0JL UK


pgp18nCSu9qAU.pgp
Description: PGP signature


cd-rom sysinstall fixit utility

2005-04-18 Thread Darrel
Having mistyped changes with the 'pw' command, giving my User and Root a
bad path to their shells might required a new installation.  I can not log
in at all.
Is there actually a way to change the shell of root while logged in with
the fixit utility on the cd-rom?
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error making Sendmail with SMTP AUTH

2005-04-18 Thread [EMAIL PROTECTED]
Nick wrote:
 Hi Greg
 
 $ m make.conf
 # -- use.perl generated deltas -- #
 # Created: Sat Nov 20 20:42:01 2004
 # Setting to use base perl from ports:
 PERL_VER=5.8.5
 PERL_VERSION=5.8.5
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
 SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
 SENDMAIL_LDFLAGS=-L/usr/local/lib
 SENDMAIL_LDADD=-lsasl
 
 and
 
 # cd /usr/src/usr.sbin/sendmail
 # make cleandir
 # make obj
 # make   error text generated at this point
 # make install
 


Nick:

I haven't used saslv1 in a long time but I used to use sendmail auth on
FBSD 5.3 (before recently moving to Postfix) that used SASLv2 with
sendmail quite successfully. The following lines are taken verbatim from
its /etc/make.conf:

SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+= -L/usr/local/lib
SENDMAIL_LDADD+= -lsasl2

I would try removing the old cyrus-sasl first, then use the above lines
to tell sendmail to build against saslv2 and then do a complete `make
world` if this is practical in your environment.

I suspect your problem might stem from some confusion over having both
sasl versions on the system. Another possibility is the documentation
you took the syntax for make.conf from is incorrect.

Maybe someone else on the list can shed more light on this...

Hope that helps,

G

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


Re: hosed the jdk15 port in the pkg db

2005-04-18 Thread Louis LeBlanc
On 04/18/05 11:47 AM, Louis LeBlanc sat at the `puter and typed:
 Hey fellow FreeBSD users.
 
 I've just returned from a week off, and must have left my brain in
 Orlando, because I can't for the life of me figure out how to fix this
 problem.
 
 Upon my return, I upgraded my ports tree, and noticed that portaudit
 had several new packages listed with security issues.  Including
 jdk1.5 and portupgrade.
 
 Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and
 several other packages listed.  As always, I used the -RN flags to
 make sure any dependencies were upgraded as well.  I saved the
 majority of packages to upgrade a little at a time.
 
 They all went off without a hitch, except for the jdk15 port.  The
 portupgrade port upgraded first, but I don't imagine the new tool is
 the one used in the subsequent upgrades.  Normally, I upgrade
 portupgrade first on its own, but this time I didn't.
 
 Now, I have several stale dependencies for the jdk15 port.  The jdk
 itself is there, but it's not registered.  I tried to force the
 upgrade (portupgrade -fN) but it fails saying that
 /usr/local/jdk1.5.0/bin/java is already registered - but not the
 package.  I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but
 it comes back with no output.  pkg_which simply returns a '?'.
 
 pkgdb -u doesn't seem to do anything.
 
 So I've somehow bonked something quite thoroughly.  Any suggestions on
 how best to fix this - preferably without deleting all or most of the
 packages I have installed?


It turns out this wasn't a problem in the pkgdb at all.  There was
some kind of problem unregistering the java vm during the uninstall of
the old jdk15 package.  I finally realized that the output from the
install was referring to a java vm registration, not a package
registration:

registervm: error: JavaVM /usr/local/jdk1.5.0/bin/java is already registered

When I realized this, I ran
# unregistervm /usr/local/jdk1.5.0/bin/java
then `make install` from /usr/ports/java/jdk15/ and everything worked.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Outside of a dog, a book is a man's best friend.  Inside a dog it's too
dark to read.
-- Groucho Marx


pgph6N0FAGsYt.pgp
Description: PGP signature


Re: Site Stats

2005-04-18 Thread Matthias F. Brandstetter
-- quoting Graham Bentley --
 Apart from Webalizer, what other solutions can
 you recommend for basic but functional site stats ?

you could look @ awstats
greets, Matthias

-- 
Homer/Apu/Moe:
 You can do it, Otto!
 You can do it, Otto!

Apu: Make this spare, I'll give you free gelato!

Moe: Then go back to my place where I will get you blotto!

Homer: Domo arigato, Mister Roboto!

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


Re: newbie question

2005-04-18 Thread Paul Schmehl
--On Sunday, April 17, 2005 11:52:36 AM -0400 [EMAIL PROTECTED] wrote:
Can anyone give me a very rough estimate on how much time is required on
an   ongoing basis, after a server is set up with FreeBSD and Apache, to
maintain   everything.  By everything I am referring to everything
required to keep  the  server up, and host about 100 domains.  Thank you
in advance and I  apologize  if this question is not appropriate for this
list.
I'm maintaining a server with three domains, running apache, squirrelmail, 
postfix, cyrus imap and saslauthd, mailman, djbdns and a perl-based 
bulletin board, and I probably spend an average of 8 hours a month doing 
server-admin type stuff.

If you set it up right, the only maintenance you have is running 
portupgrade and freebsd-update periodically, to ensure your apps don't have 
known security holes.  Make sure you have a good backup system in case a 
drive fails, and that's about it.

You can write canary scripts that monitor processes and attempt to 
restart them if they fail, and send you email as well.  Most of the eight 
hours is spent reading mail from cron jobs that are monitoring the server. 
FreeBSD just runs.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


the portupgrade apache21 dice throw

2005-04-18 Thread Chiang Seng Chang
Hi,
Whenever I portgrade apche (port is www/apache21), I would get the error:
find: /usr/local/include/apr-1/apr.h: No such file or directory
But sometimes it would work without the error.
I think what I did has time was to deinstall the required by apache21 
packages and apache21 by force, reinstall, and fixup the portsdb 
inconsistency later.  But I could not pinpoint what is causing the problem.

Anyone else is sufferring from this ?  Any cure ?
Regards.
-cs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions for post rm -rf /etc/*

2005-04-18 Thread Danny Howard
Glen Smith wrote:
Anyone have a suggestion for fixing  a machine three states away after
you rm -rf * dir/* inside of /etc or am I just screwed. I even had zsh
ask me if that's what I really want to do. ::sob:: 
 

Glen,
I'm glad this worked out for you.
I thought I might chime in that this is an excellent example of the idea 
that if something is broken on Unix try rebooting can often be a 
destructive solution.

I too once thought I had typed rm -rf /tmp/* late at night, then 
realised it was /etc/*!!  Copied the scripts over from another machine.  
This is a useful story to have for the occasional Interview Question, 
tell me about a time when you messed up, and how you went about 
recovering from it.  The best answer is one of these situations where, 
by not panicking, you turn a lethal problem into an interesting triumph. :)

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


Re: cd-rom sysinstall fixit utility

2005-04-18 Thread Ed Stover
On Mon, 2005-04-18 at 13:05 -0400, Darrel wrote:
 Having mistyped changes with the 'pw' command, giving my User and Root a
 bad path to their shells might required a new installation.  I can not log
 in at all.
 
 Is there actually a way to change the shell of root while logged in with
 the fixit utility on the cd-rom?

Just boot into single user mode, mount root, use vipw to fix the path,
and then reboot. done.

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

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


Re: gmirror losing drive

2005-04-18 Thread Danny Howard
Andrea Venturoli wrote:
Hello.
I'm almost happily using gmirror on da0 and da1.
The problem is after every reboot da0 is gone and I have to issue:
gmirror forget gm0
gmirror insert gm0 da0
Then it will synchronize automatically.
Why? How do I resolve? Should I save the configuration in any way 
after issuing the previous commands? 
Andrea,
I'm not entirely sure on this one ... you have RTFM?  There's gmirror 
configure -a ... but that is about synchronization.

What does gmirror info says before you forget / insert?
My hunch is that you are not rebooting cleanly, so when the system comes 
up, gmirror thinks it has to re-sync the disks, but it is not configured 
to do so automatically?

What command / process did you use to set up your mirror?
-d
--
http://dannyman.toldme.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie question

2005-04-18 Thread Chad Morland
On 4/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hello
 
 Can anyone give me a very rough estimate on how much time is required on an
 ongoing basis, after a server is set up with FreeBSD and Apache, to maintain
 everything.  By everything I am referring to everything required to keep  the
 server up, and host about 100 domains.  Thank you in advance and I  apologize
 if this question is not appropriate for this list.
 
 Sue

If you will be doing this as a business venture I HIGHLY recommend
that you either get a managed server or hire someone to help you admin
the server when you are stuck. There are many people out there that
offer this service. Go to any webhosting forum and ask for some
referrals.

The reason I say this is because it seems that A LOT of people think
they can make a quick buck off of webhosting without any real work.
These are usually the companies that fail quickly and give the hosting
industry a bad name. Running any type of business requires some
thought and experience.

There are a lot of minor issues that will stump a self described
newbie and having someone there to assist you will make your life
and the life of your clients that much easier.

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


Re: how to make my RAID device WORM(write once and read many)

2005-04-18 Thread
prasadam kumar wrote:
hai,
Thanks for responding to my query,
actually it is a raid5 storage device it contains
firewire and usb ports, through this
interface a user can store data to the  raid5 device
irrespective of file system.
once he copied data to the device it should be
immutable(i.e cannot be modify and delete).
Can u suggest any approach to achieve this task.
bye
ppk
---  
[EMAIL PROTECTED] wrote:
 

prasadam kumar wrote:
   

hai,
I am working Raid5 storage device and i want to
 

make
   

my device WORM(write once and read many) and
undeleatable. I formated the target device in vfat,
when 
i am mounting the device in host machine it should 
behavie like WORM. To achive this feature whether i
 

have to change in host machine or target machine,
which one is better approach and plz tell me how to
achive this.
bye
ppk

 

The first question is: for which purpose do you need
this feature ? In 
any case, you will need to have backup for this
RAID.
From my point of view, it looks like some version
control management 
system. May be, it will be wiser to use it ?

As i understand, you can't get this feature from
plain filesystem. Even 
if you hack vinum to allow write only once in every
block, usual 
filesystem will not work on such device. You can
make something like 
database with add-only interface (MySQL + some
scripting) and allow 
access from Web interface.

Take a look on some SCM solutions, it may be what
you want.
--
Best Regards,
Alexander Derevianko
___
freebsd-questions@freebsd.org mailing list
   

If users can't delete files, it indeed means that any attempt to open 
file for writing must create a new version of the file.
Or any user can put garbish (or zero length file) into any available to 
him.

Another approach will be to change permissions such that nobody can open 
again once created file. It seems for me, that it must be possible  to 
obtain such functionality via ACL permissions. But unfortunelly i don't 
have expirience with ACL permissions in latest FreeBSD's.

In any case, something like CVS repository with only last revision 
visible from user side will be best solution.
Where is some SCM systems based on versioning filesystem, you can take a 
look on them. For example, here http://www.daveeaton.com/scm/CMFAQ.html

But it seems for me that most of them are commercial. If you don't want 
to pay for it and have much spare time, you can make own
NFS server which will work under plain filesystem layer and will 
implement versioning.

Think deep about you task, and try to imagine how users will use this 
feature.

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


Re: cd-rom sysinstall fixit utility

2005-04-18 Thread Toni Schmidbauer
On Mon, Apr 18, 2005 at 01:05:53PM -0400, Darrel wrote:
 Is there actually a way to change the shell of root while logged in with
 the fixit utility on the cd-rom?

boot from the fixit cd/floppy, mount your root partition (e.g.
/dev/ad0s1a), edit /etc/passwd and change the shell to something
valid (/bin/csh should always work).

a quick search on google for freebsd fixit found the following, 
which might help:

http://www.freebsd-corp-net-guide.com/technotes/fixit.html

in your case, after mounting /dev/ad0s1a on /mnt, 
vi /mnt/etc/passwd - save, reboot and you should be fine.

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert| Toni Schmidbauer
-- Max Planck |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Heartbeat

2005-04-18 Thread Robert Slade
On Sun, 2005-04-17 at 19:28, Dan Nelson wrote:
 In the last episode (Apr 17), Robert Slade said:
  I'm trying to get heartbeat going. I have a problem though with the
  udpport setting. The default is 694, but heartbeat won't start and
  say that it cannot bind to that port something else is listening on
  it. Using netstat dosn't show anything (the only thing running on the
  system is ssh and samba).
 
 I don't remember having this problem when I installed heartbeat on my
 system. Here's my ha.cf file:
 
 ucast fxp0 172.16.0.1
 auto_failback off
 
 node node1
 node node2
 apiauth ccm uid=root
 apiauth cl_status uid=root
 apiauth ipfail uid=root
 apiauth ping uid=root

Thank you that solved one problem, the second of where to get a new
brain unfortunately...

Rob

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


Re: newbie question

2005-04-18 Thread Micheal Patterson




- Original Message - 
From: Chad Morland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, April 18, 2005 1:10 PM
Subject: Re: newbie question


On 4/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hello

 Can anyone give me a very rough estimate on how much time is required on
an
 ongoing basis, after a server is set up with FreeBSD and Apache, to
maintain
 everything.  By everything I am referring to everything required to keep
the
 server up, and host about 100 domains.  Thank you in advance and I
apologize
 if this question is not appropriate for this list.

 Sue

If you will be doing this as a business venture I HIGHLY recommend
that you either get a managed server or hire someone to help you admin
the server when you are stuck. There are many people out there that
offer this service. Go to any webhosting forum and ask for some
referrals.

The reason I say this is because it seems that A LOT of people think
they can make a quick buck off of webhosting without any real work.
These are usually the companies that fail quickly and give the hosting
industry a bad name. Running any type of business requires some
thought and experience.

There are a lot of minor issues that will stump a self described
newbie and having someone there to assist you will make your life
and the life of your clients that much easier.

-CM


Good advice Chad. Even for those that have been admin'ing *Nix boxes for
years get stumped by the most simplest of things at times. We rarely admit
it, but it happens.

Some additional things to consider if you plan on hosting sites as a
business.

oCGI access requirements of your clients.

oDNS, SMTP, POP3 requirements for your clients. These usually go hand in
hand with web hosting these days.

oThe ability for them to update pages properly on their own (ftp / front
page requirements / access)

oThe responsibility to ensure that the software is patched quickly as
needed (perl, php, mysql to name a few)

oSpam / AV filtering (do they want it? Do they not care?, Are they going
to trip out if you start filtering their mail?, etc)

oAre you going to host these on static IP's? If you're going to provide
SSL enabled sites, you have no choice since you can't use SSL on name based
virtual hosting.

oAre you going to need to do virtual domain maps for the users that
require / use email services?


A sundry of other items that are just too numerous to mention.

I'm not trying to scare anyone away from it, far from it, just trying to add
my .02 to the discussion of things to consider before you decide that
hosting is the thing for you.

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

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


Re: A description of FreeBSD TCP/IP implementation

2005-04-18 Thread Chuck Swiger
Andrew P. wrote:
I have found that in some cases networking
does not work as I expect in FreeBSD. I'm
reading TCP/IP Illustrated now, but I feel
like I also need a simple, but extensive
source of documentation on TCP/IP
implementation in FreeBSD.
See RFC 790-793, plus a few others?
Then take a look at the source code for anything else?
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPP slows down the system

2005-04-18 Thread Emil Khatib
Hey! this seems to work properly. At least by the moment. It works
even better than when i was disconnected :P. Thanks a lot

On 4/17/05, Jonathan Chen [EMAIL PROTECTED] wrote:
 On Sun, Apr 17, 2005 at 09:04:11PM +0200, Emil Khatib wrote:
  Hi everybody.
  I'm using a 56k connection to access the Internet. I'm using user PPP,
  and everytime I dial up, everything works too slow. At least X works
  quite bad (and so KDE). When I try startx, it freezes for a few
  seconds and then it starts and takes a long time to load KDE. Also,
  the applications in KDE start very slowly (when they start).
 
 KDE does DNS lookups like crazy. Make sure you've got an entry in
 /etc/hosts for the output of hostname(1), and see whether that makes a
 difference.
 --
 Jonathan Chen  |  To do is to be  -- Nietzsche
 [EMAIL PROTECTED] |  To be is to do  -- Sartre
|  Scooby do be do -- Scooby

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


Re: Limiting process memory consumption with rsetlimit and limit. . .

2005-04-18 Thread Chuck Swiger
David Grochowski wrote:
I'm currently working on a project where I need to limit the amount of
physical memory a process uses.  I've tried the rsetlimit function and the
limit shell command to do so, but I have had no luck (though I was able to
limit the virtual memory and cause it to segfault).  Neither seems to have
any effect on the physical memory available to the process.  If anyone
could enlighten me on how to limit the physical memory available to a
process, it would be greatly appreciated.
setrlimit(RLIMIT_RSS, ...) in C or something like:
8-sec# limit memoryuse 10
9-sec# limit
cputime unlimited
filesizeunlimited
datasize500MB
stacksize   64MB
coredumpsize100MB
memoryuse   10MB
memorylockedunlimited
maxproc 256
descriptors 512
sockbufsize unlimited
vmemorysize unlimited
This is zsh, other shells may have slightly different syntax.
In /bin/sh: ulimit -Sm 10240?
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI does nothing

2005-04-18 Thread Emil Khatib
Hi everybody.
I'm trying to use ACPI features of FreeBSD 5.3, but when I try to do
acpiconf S3 or S4 or S5 , it does absolutely nothing,...
Anyway, when I try shutdown -p time, it works allright, so I suppose
that it can work. I'm using FreeBSD 5.3 amd64 con an ASUS K8V-X mobo.
Thanks in advance for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to make my RAID device WORM(write once and read many)

2005-04-18 Thread Roland Smith
On Mon, Apr 18, 2005 at 09:27:48AM -0400, Lowell Gilbert wrote:
 Please don't top-post.
 
 prasadam kumar [EMAIL PROTECTED] writes:
 
  Thanks for responding to my query,
  actually it is a raid5 storage device it contains
  firewire and usb ports, through this
  interface a user can store data to the  raid5 device
  irrespective of file system.
  once he copied data to the device it should be
  immutable(i.e cannot be modify and delete).
  Can u suggest any approach to achieve this task.

If it's OK to invoke a shell-script to do the archiving, and if you're
using UFS it would be possible, I think. That script should do the following:

- check for name clashes (abort with an error if a file already exists).
- copy the file to the target disk.
- chmod ugo-w the file to remove all write permissions.
- chflags schg,sunlnk,uchg,uunlnk file

Of course this is not foolproof, because the superuser can change the
flags and permissions.

Another option would be to use a revision control system that can handle
arbitrary files like subversion. If you write (commit) a new version
of a file, the old version is not lost. This also supposes that you
create a wrapper script to make things easier (because the first write
has to be an add rather than a commit, and other details like
creating directories etc).

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpTYJhwAhBXS.pgp
Description: PGP signature


Re: terminal server recommendation?

2005-04-18 Thread Chuck Swiger
Noah wrote:
On Mon, 18 Apr 2005 11:01:08 -0400, Brian McCann wrote
OT for the list I'd think, but for power cyclers,
okay where is a good list to go to for these discussions - because I am 
unable
to find one.
Check the list archives for [EMAIL PROTECTED].
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IRQ problems b/n USB and PCI modem... help!

2005-04-18 Thread Philip Hallstrom
Hi all -
	I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound 
modem server...

Here's what's happening...
FreeBSD 4.9
Dell Dimension XPS T450 (ie. several year old dell).
Default BIOS settings (switching the PnP OS has no effect).
One NIC recognized as fxp0.  One IDE drive, one cdrom, one floppy.
Three USR 5610B PCI modems (which work fine individually).
I can access the first two modems via tip, but tipping to the last one 
locks up the entire system (network, console, everything).  Here's the 
relevant parts from /var/run/dmesg.boot:

pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
fxp0: Intel 82559 Pro/100 Ethernet port 0x1000-0x103f mem 
0xf400-0xf40f,0xf410-0xf4100fff irq 11 at device 13.0 on pci0
sio0: 3COM PCI FaxModem port 0x1070-0x1077 irq 10 at device 14.0 on pci0
sio0: moving to sio4
sio4: type 16550A
sio0: 3COM PCI FaxModem port 0x1078-0x107f irq 7 at device 15.0 on pci0
sio0: moving to sio5
sio5: type 16550A
sio0: 3COM PCI FaxModem port 0x1080-0x1087 irq 9 at device 16.0 on pci0
sio0: moving to sio6
sio6: type 16550A
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A

I am pretty sure my problem is that the USB controller and the third modem 
are both using IRQ 9, but I can't think of any way to resolve that.

I don't have USB compiled into my kernel and there aren't any settings in 
the BIOS to shut USB off completely.

I've also tried killing off sio0/IRQ4 in hopes the modem would take that 
IRQ, but no luck there either.


Anyone have any ideas on how I can get this to work?  Should I try FreeBSD 
5.x?

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


FreeBSD Culture

2005-04-18 Thread Stine Madsen
FreeBSD Culture
We are four undergraduate students (1st year) who have chosen Organizational
Culture and FreeBSD as the subject for our major written project. The
underlying assumption for our project is that the FreeBSD community can be
viewed and described within the framework of the theory for Organizational
behavior and culture - that is; as a 'virtual' organization. To investigate
and clarify this, we would like to confer with participants of the FreeBSD
community who are well-informed of the how's and why's of FreeBSD. 

The following non-exhausting list holds examples of questions we would like
to clarify:

- Does there exist myths, 'legends' and stories concerning FreeBSD, which
are common knowledge in the community.
- How does one get to be a member of '-core'? Or more accurately, how does a
member advance in the FreeBSD community?
- Is the language described in the 'jargon file' used and understood by all
members of the community?
- What motivates people to join the FreeBSD community and to contribute to
the common course?
- Is it possible to improve the structure of the FreeBSD community?

We are not sure where to post questions like these - and if freebsd.org as a
suitable forum for those kind of questions. Suggestions and thoughts about
this will be much appreciated.

All communication will be by mail, and all participants will be anonymous
should the prefer so. 

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


Turn off monitor

2005-04-18 Thread Ivan Voras
Is there a way to turn off the system monitor (console screen)?
There are actually two things I'd like: to turn off the screen after 
some period of inactivity (but after the screen saver runs - to keep the 
screensaver as a reminder that the monitor will be turned off soon), and 
to turn it off programatically, with a system command/program.

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


RE: IRQ problems b/n USB and PCI modem... help!

2005-04-18 Thread bob
Tip uses /etc/remote and the statements don't define
as many modems as you are using.

ee /etc/remote

# Finger friendly shortcuts
com1:dv=/dev/cuaa0:br#115200:pa=none:
com2:dv=/dev/cuaa1:br#115200:pa=none:
com3:dv=/dev/cuaa2:br#115200:pa=none:
com4:dv=/dev/cuaa3:br#115200:pa=none:
com5:dv=/dev/cuaa4:br#115200:pa=none:
com6:dv=/dev/cuaa5:br#115200:pa=none:
com7:dv=/dev/cuaa6:br#115200:pa=none:

you may also have to create devices /dev/cuaa4/dev/cuaa5  
/dev/cuaa6

check out /dev directory to see if your additional device defs are
there.

In 5.4 devices are auto created on first use, but in 4.x releases
you have to create your own when you want more than the system
default.

If you got that right them move NIC card to different slot to change
its irq #


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip
Hallstrom
Sent: Monday, April 18, 2005 5:24 PM
To: freebsd-questions@freebsd.org
Subject: IRQ problems b/n USB and PCI modem... help!


Hi all -
I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound
modem server...

Here's what's happening...

FreeBSD 4.9
Dell Dimension XPS T450 (ie. several year old dell).
Default BIOS settings (switching the PnP OS has no effect).

One NIC recognized as fxp0.  One IDE drive, one cdrom, one floppy.
Three USR 5610B PCI modems (which work fine individually).

I can access the first two modems via tip, but tipping to the last
one
locks up the entire system (network, console, everything).  Here's
the
relevant parts from /var/run/dmesg.boot:

pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
fxp0: Intel 82559 Pro/100 Ethernet port 0x1000-0x103f mem
0xf400-0xf40f,0xf410-0xf4100fff irq 11 at device 13.0 on
pci0
sio0: 3COM PCI FaxModem port 0x1070-0x1077 irq 10 at device 14.0
on pci0
sio0: moving to sio4
sio4: type 16550A
sio0: 3COM PCI FaxModem port 0x1078-0x107f irq 7 at device 15.0 on
pci0
sio0: moving to sio5
sio5: type 16550A
sio0: 3COM PCI FaxModem port 0x1080-0x1087 irq 9 at device 16.0 on
pci0
sio0: moving to sio6
sio6: type 16550A
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A


I am pretty sure my problem is that the USB controller and the third
modem
are both using IRQ 9, but I can't think of any way to resolve that.

I don't have USB compiled into my kernel and there aren't any
settings in
the BIOS to shut USB off completely.

I've also tried killing off sio0/IRQ4 in hopes the modem would take
that
IRQ, but no luck there either.



Anyone have any ideas on how I can get this to work?  Should I try
FreeBSD
5.x?

Thanks all!

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

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


Re: IRQ problems b/n USB and PCI modem... help!

2005-04-18 Thread Roland Smith
On Mon, Apr 18, 2005 at 02:24:28PM -0700, Philip Hallstrom wrote:
 Hi all -
   I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound 
 modem server...

 I am pretty sure my problem is that the USB controller and the third modem 
 are both using IRQ 9, but I can't think of any way to resolve that.

 Anyone have any ideas on how I can get this to work?  Should I try FreeBSD 
 5.x?

If tou try 5.x, and the machine works with acpi, you can set the
interrupt to use in /boot/loader.conf:
hw.acpi.pci.link.%d.%d.%d.irq=num where %d.%d.%d is the device
selector, and num is the irq to use. See acpi(4).

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgp4eVJfCxLRW.pgp
Description: PGP signature


Crash

2005-04-18 Thread Grant Peel
Hi all,
When a 'crash' is showing in wtmp (last) is there anywhere else that the 
kernel logs what 'might' have been going wronge at the time?

Looked everywhere I can think of.
-Grant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Culture

2005-04-18 Thread Greg 'groggy' Lehey
On Monday, 18 April 2005 at 23:24:32 +0200, Stine Madsen wrote:
 FreeBSD Culture
 We are four undergraduate students (1st year) who have chosen Organizational
 Culture and FreeBSD as the subject for our major written project. The
 underlying assumption for our project is that the FreeBSD community can be
 viewed and described within the framework of the theory for Organizational
 behavior and culture - that is; as a 'virtual' organization. To investigate
 and clarify this, we would like to confer with participants of the FreeBSD
 community who are well-informed of the how's and why's of FreeBSD.

 The following non-exhausting list holds examples of questions we would like
 to clarify:

 - Does there exist myths, 'legends' and stories concerning FreeBSD, which
 are common knowledge in the community.

Certainly!  Try googling for bikeshed, for example.  With some luck,
you might experience one Real Soon Now.

 - How does one get to be a member of '-core'? Or more accurately,
   how does a member advance in the FreeBSD community?

Heh.  As an ex-member of core, I'd say: participate, contribute,
underestimate the work and stand for election.  But I'm sure others
will give you better results.

 - Is the language described in the 'jargon file' used and understood by all
 members of the community?

Some of it.  Other terms are strongly rejected, er, deprecated.

 - What motivates people to join the FreeBSD community and to contribute to
 the common course?

Good question.  I'll leave that to others.

 - Is it possible to improve the structure of the FreeBSD community?

Of course!  Or of course not!  

 We are not sure where to post questions like these - and if
 freebsd.org as a suitable forum for those kind of
 questions. Suggestions and thoughts about this will be much
 appreciated.

I'm copying the FreeBSD-chat list, which may gain you further coverage.

 All communication will be by mail, and all participants will be
 anonymous should the prefer so.

That wouldn't be the FreeBSD way.

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


pgpVFmVUFV5IH.pgp
Description: PGP signature


Re: FreeBSD Culture

2005-04-18 Thread Hexren
 FreeBSD Culture
 We are four undergraduate students (1st year) who have chosen Organizational
 Culture and FreeBSD as the subject for our major written project. The
 underlying assumption for our project is that the FreeBSD community can be
 viewed and described within the framework of the theory for Organizational
 behavior and culture - that is; as a 'virtual' organization. To investigate
 and clarify this, we would like to confer with participants of the FreeBSD
 community who are well-informed of the how's and why's of FreeBSD. 

 The following non-exhausting list holds examples of questions we would like
 to clarify:

 - Does there exist myths, 'legends' and stories concerning FreeBSD, which
 are common knowledge in the community.
 - How does one get to be a member of '-core'? Or more accurately, how does a
 member advance in the FreeBSD community?
 - Is the language described in the 'jargon file' used and understood by all
 members of the community?
 - What motivates people to join the FreeBSD community and to contribute to
 the common course?
 - Is it possible to improve the structure of the FreeBSD community?

 We are not sure where to post questions like these - and if freebsd.org as a
 suitable forum for those kind of questions. Suggestions and thoughts about
 this will be much appreciated.

 All communication will be by mail, and all participants will be anonymous
 should the prefer so. 

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

-

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html
would seem to be a good starting point for finding some of thecore
members. Me myself is not that cersed in names that I would now if
some of the commiters and contributors hang around on this list but I
guess so.

Hexren

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


Multicast and security

2005-04-18 Thread John Pettitt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 

My ISP ( sonic.net - a *great* ISP)  just added support for the BBC
multicast trial (  see http://support.bbc.co.uk/multicast/streams.html ).

I'm looking at adding MROUTING to my gateway/firewall box (Soekris
4801 running 5.4 RC2).  However having not played with multicast
before I'm looking for pointers on the security issues (I don't want
to create a gaping hole in my FW).

I'm using ipfw for my normal FW stuff and I assume I need to add rules
for 224.0.0.0/4 to let mrouted do it's job but what (if anything) do I
need to do to make sure this can't be abused from the outside?

John


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
 
iD8DBQFCZD+TaVyA7PElsKkRAh/IAJ9H22H0QJUrt9xuO44NZrdP1jQpRwCgnV3y
mxRoeFr9HTcut7AA9/OOgQs=
=/EH4
-END PGP SIGNATURE-

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


Audigy Sound Card

2005-04-18 Thread Drew Tomlinson
I'm trying to get my Audigy sound card working.  I've followed the 
instructions in the Handbook and used 'kldload snd_emu10k1'.  My card is 
detected but something isn't right:

pcm0: Creative Audigy (EMU10K2) irq 9 at device 9.0 on pci0
pcm0: 0x20 bytes of rid 0x10 res 4 failed.
pcm0: unable to map register space
device_attach: pcm0 attach returned 6
Also, there is no /dev/dsp and /dev/sndstat shows no installed devices.  
Can anyone tell me if I'm on the right track and what pcm0: 0x20 bytes 
of rid 0x10 res 4 failed means?  This is a FreeBSD 5.4-STABLE #2: Sat 
Apr 16 15:53:56 PDT 2005 system.

Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3 freezes

2005-04-18 Thread Michael Kreykenbohm
In the last 2 weeks I have had a system that was stable under 5.2 freeze
about 1 -2 days apart.
I reinstalled the system as 5.3-stable 3 weeks ago. It seemed find for 1
week then then it looked like the Harddrive (Maxtor 30GB) 
had died (The Maxtor still causes another system to lockup if the fsck
background repair task is allowed to operate)

The Maxtor drive was replaced with a clean installed Seagate 80GB drive with
5.3 stable and looked to be fine, and then


The freezes occur with no related event in any logs. The system runs stable
for 14 hours to 3 days.
1 freeze I received a page fault in yarrow
2 freezes have simply locked the machine, requiring a full manual power off.

The kernal build is simple (I try to tamper as little as possible), you can
see the mods at the end:
(I realize I could spend the time and cut all the extra device drivers, but
I use the same setup
across multiple machines and like to keep them the same for maintainance
reasons)

Any help in directing how to fix this machine is appreciated.  
I have 4 other machines of varying hardware with the same setup, but
slightly different application sets
without a single problem. Other then this I have enjoyed the FreeBSD
stability...

Thanks in Advance...

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for
devices.

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires
NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  eisa
device  pci

# Floppy drives
device  fdc
# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
device  ahb # EISA AHA1742 family
device  ahc # AHA2940 and onboard AIC7xxx devices
device  ahd # AHA39320/29320 and onboard AIC79xx devices
device  amd # AMD 53C974 (Tekram DC-390(T))
device  isp # Qlogic family
device  mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
device  sym # NCR/Symbios Logic (newer chipsets + those
of `ncr')
device  trm # Tekram DC395U/UW/F DC315U adapters

device  adv # Advansys SCSI adapters
device  adw # Advansys wide SCSI adapters
device  aha # Adaptec 154x SCSI adapters
device  aic # Adaptec 15[012]x SCSI adapters,
AIC-6[23]60.
device  bt  # Buslogic/Mylex 

RE: IRQ problems b/n USB and PCI modem... help!

2005-04-18 Thread Philip Hallstrom
Tip uses /etc/remote and the statements don't define
as many modems as you are using.
Sorry, I should have mentioned that I already modified /etc/remote and did 
my MAKEDEV stuff.

[snip]
If you got that right them move NIC card to different slot to change
its irq #
I had the NIC card at the other end initially and it didn't work because 
it conflicted...

*sigh*
Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip
Hallstrom
Sent: Monday, April 18, 2005 5:24 PM
To: freebsd-questions@freebsd.org
Subject: IRQ problems b/n USB and PCI modem... help!
Hi all -
I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound
modem server...
Here's what's happening...
FreeBSD 4.9
Dell Dimension XPS T450 (ie. several year old dell).
Default BIOS settings (switching the PnP OS has no effect).
One NIC recognized as fxp0.  One IDE drive, one cdrom, one floppy.
Three USR 5610B PCI modems (which work fine individually).
I can access the first two modems via tip, but tipping to the last
one
locks up the entire system (network, console, everything).  Here's
the
relevant parts from /var/run/dmesg.boot:
pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
fxp0: Intel 82559 Pro/100 Ethernet port 0x1000-0x103f mem
0xf400-0xf40f,0xf410-0xf4100fff irq 11 at device 13.0 on
pci0
sio0: 3COM PCI FaxModem port 0x1070-0x1077 irq 10 at device 14.0
on pci0
sio0: moving to sio4
sio4: type 16550A
sio0: 3COM PCI FaxModem port 0x1078-0x107f irq 7 at device 15.0 on
pci0
sio0: moving to sio5
sio5: type 16550A
sio0: 3COM PCI FaxModem port 0x1080-0x1087 irq 9 at device 16.0 on
pci0
sio0: moving to sio6
sio6: type 16550A
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
I am pretty sure my problem is that the USB controller and the third
modem
are both using IRQ 9, but I can't think of any way to resolve that.
I don't have USB compiled into my kernel and there aren't any
settings in
the BIOS to shut USB off completely.
I've also tried killing off sio0/IRQ4 in hopes the modem would take
that
IRQ, but no luck there either.

Anyone have any ideas on how I can get this to work?  Should I try
FreeBSD
5.x?
Thanks all!
-philip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Culture

2005-04-18 Thread Murray Taylor
On Tue, 2005-04-19 at 07:24, Stine Madsen wrote:
 FreeBSD Culture
 We are four undergraduate students (1st year) who have chosen Organizational
 Culture and FreeBSD as the subject for our major written project. The
 underlying assumption for our project is that the FreeBSD community can be
 viewed and described within the framework of the theory for Organizational
 behavior and culture - that is; as a 'virtual' organization. To investigate
 and clarify this, we would like to confer with participants of the FreeBSD
 community who are well-informed of the how's and why's of FreeBSD. 
 
 The following non-exhausting list holds examples of questions we would like
 to clarify:
 
 - Does there exist myths, 'legends' and stories concerning FreeBSD, which
 are common knowledge in the community.
 - How does one get to be a member of '-core'? Or more accurately, how does a
 member advance in the FreeBSD community?
 - Is the language described in the 'jargon file' used and understood by all
 members of the community?
 - What motivates people to join the FreeBSD community and to contribute to
 the common course?

While not a contributor to FreeBSD per se, 
I could add that joining this community
on my part was due to me wanting to 'look under the hood'
(I have contributed some minor patches to a couple of ports,
some made it in as is, some prompted a better solution by 
the maintainer)
And as 'payback' I have now been able to pass on some of my learning
and experience to the next batch of newbies.
 
Knowing that I can peek, and learn _how_ it all works is a 
great motivating force. And being a believer in using the right tool
for a job (like I loath the combination 'multitools' you can buy too)
I am willing to spend the time to choose the tool.
Or if the tool is not available I like to be able to use the 
existing resources to build the requred tool.

As part of this I also go with the concept of 'elegant software'

http://www.eskimo.com/~scs/readings/software_elegance.html

For me FreeBSD fits the bill. 
And I too dont really care about what colour the bikeshed is!
And POLA too! no surprises!

Google bikeshed freebsd
Google POLA freebsd


 - Is it possible to improve the structure of the FreeBSD community?
 
 We are not sure where to post questions like these - and if freebsd.org as a
 suitable forum for those kind of questions. Suggestions and thoughts about
 this will be much appreciated.
 
 All communication will be by mail, and all participants will be anonymous
 should the prefer so. 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 ***This Email has been scanned for Viruses by MailMarshal.***
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multicast and security

2005-04-18 Thread Olivier Nicole
 I'm looking at adding MROUTING to my gateway/firewall box (Soekris
 4801 running 5.4 RC2).  However having not played with multicast
 before I'm looking for pointers on the security issues (I don't want
 to create a gaping hole in my FW).

It depends on how your ISP is doing his multicast routing. Here we are
using PIM and it means:

PIM proto 103 from router to router and from router to 224.0.0.13/32

IGMP proto 2 from client to 224/4

UDP from client to 224/4

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


Re: IRQ problems b/n USB and PCI modem... help!

2005-04-18 Thread Mike Tancsa
On Mon, 18 Apr 2005 14:24:28 -0700 (PDT), in
sentex.lists.freebsd.questions you wrote:

Hi all -
   I am in IRQ h*ll.  I'm trying to setup an box to use as an inbound 
modem server...

Here's what's happening...

FreeBSD 4.9
Dell Dimension XPS T450 (ie. several year old dell).
Default BIOS settings (switching the PnP OS has no effect).

One NIC recognized as fxp0.  One IDE drive, one cdrom, one floppy.
Three USR 5610B PCI modems (which work fine individually).

I can access the first two modems via tip, but tipping to the last one 
locks up the entire system (network, console, everything).  Here's the 
relevant parts from /var/run/dmesg.boot:

pci1: 3Dfx Voodoo 3 graphics accelerator at 0.0 irq 11
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
fxp0: Intel 82559 Pro/100 Ethernet port 0x1000-0x103f mem 
0xf400-0xf40f,0xf410-0xf4100fff irq 11 at device 13.0 on pci0
sio0: 3COM PCI FaxModem port 0x1070-0x1077 irq 10 at device 14.0 on pci0
sio0: moving to sio4
sio4: type 16550A
sio0: 3COM PCI FaxModem port 0x1078-0x107f irq 7 at device 15.0 on pci0
sio0: moving to sio5
sio5: type 16550A
sio0: 3COM PCI FaxModem port 0x1080-0x1087 irq 9 at device 16.0 on pci0
sio0: moving to sio6
sio6: type 16550A
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A


I am pretty sure my problem is that the USB controller and the third modem 
are both using IRQ 9, but I can't think of any way to resolve that.

I don't have USB compiled into my kernel and there aren't any settings in 
the BIOS to shut USB off completely.

This sounds like a number of bugs we have run into.  Perhaps moving
the serial card to being a PUC device like with did with the Smartlink
modem in the PR below
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/74786

Also, if you do ever use the USB bus, there are a number of bug fixes
you will need, especially with uhid.


Anyone have any ideas on how I can get this to work?  Should I try FreeBSD 
5.x?


If its the problem we are running into, no it will still be there
under RELENG_5.  However, in general RELENG_5 is much more stable,
especially if you cannot turn off USB in the BIOS.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I install dcc-dccd with postfix without sendmail?

2005-04-18 Thread Lefteris Tsintjelis
In my make.conf I have NO_SENDMAIL=true and I am using postfix instead. When
I try to install the port says the followin:

dcc-dccd-1.2.66 is marked as broken: Base system sendmail not found or too old, 
rebuild with WITH_SENDMAIL_PORT=yes.

Can I install the port without sendmail?

Please CC

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


Startup scripts question

2005-04-18 Thread Joshua Lewis
How do startup scripts work?

I added:

mysql_enable=²YES²

But I don¹t think it is working. I had rebooted my system the other day and
my mail server stopped working (postfix reading from mysql tables) and I
tried looking at my running processes:

ps ­ax |grep sql 

and nothing was returned. So I guessed mysql was not running.

I tried:

mysql start

and I got a socket error. I usually get this error when SQL was not started
properly. So I ran

/usr/local/etc/rc.d/mysql-server.sh start

And low and behold it was all working. So how do startup scripts work. Did I
add the wrong value to my /etc/rc.conf file?

Or did I miss something somewhere?

Does the entry in /etc/rc.conf correlate to the startup script. Should I
change my rc.conf file to read

mysql-server_enable=²YES²

Any advice would be welcome. Thanks for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Kris Kennaway
On Mon, Apr 18, 2005 at 01:58:44AM -0600, Brett Glass wrote:
 I've been asked to upgrade some software on an older FreeBSD 4.x box.  (The
 owner is getting ready to move to a new box with 4.11 but can't take the
 machine out of production just yet.) I upgraded all of the ports via CVS, and
 then discovered that none of them would build. When I try to build a port,
 I get messages like
 
 /usr/ports/Mk/bsd.port.mk, line 4852: Malformed conditional 
 (defined(USE_RCORDER) || defined(USE_RC_SUBR)  ${USE_RC_SUBR:U} != YES)
 
 I'm not sure, but it appears that the master Makefile for the ports collection
 was updated during the CVS update and requires features that the make 
 utility 
 which shipped with that version of FreeBSD doesn't have. (Correct me if I'm
 wrong here, but that's what it looks like at first glance.) How can I build 
 ports on that box? Note that I may be in a bit of a Catch-22 situation,
 since any solution that requires installing a new make won't work if I have
 to build it from a port.

Fortunately, make is not built from a port.  You need to update your
version of FreeBSD to use ports on that box.

Kris


pgpktMmJHiwK9.pgp
Description: PGP signature


Re: Crash

2005-04-18 Thread Kris Kennaway
On Mon, Apr 18, 2005 at 06:28:59PM -0400, Grant Peel wrote:
 Hi all,
 
 When a 'crash' is showing in wtmp (last) is there anywhere else that the 
 kernel logs what 'might' have been going wronge at the time?
 
 Looked everywhere I can think of.

Check the developers' handbook for how to set up kernel crash dumps
that will allow you to diagnose this further (if it should happen
again).

Kris


pgpdyTJwLmbz7.pgp
Description: PGP signature


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Brett Glass
At 09:19 PM 4/18/2005, Kris Kennaway wrote:

Fortunately, make is not built from a port.  You need to update your
version of FreeBSD to use ports on that box.

In other words, if one innocently updates one's ports one day, one
may suddenly find oneself to do anything with ports at all? This
seems to violate POLA.

--Brett Glass

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


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Michael C. Shultz
On Monday 18 April 2005 08:38 pm, Brett Glass wrote:
 At 09:19 PM 4/18/2005, Kris Kennaway wrote:
 Fortunately, make is not built from a port.  You need to update your
 version of FreeBSD to use ports on that box.

 In other words, if one innocently updates one's ports one day, one
 may suddenly find oneself to do anything with ports at all? This
 seems to violate POLA.

 --Brett Glass

Just how old is your version of BSD?  There is another option for you BTW:
add something like this to your ports-supfile

*default date=2003.01.01.00.00.00

but do adjust the year to something close to the year of your version of 
FreeBSD, then run cvsup.  Now if you still have all the ancient distfiles
you should be able to fix your ports. Here is a link to a site that seems to 
keep distfiles around forever in case you need to hunt down a few:

http://sf.gds.tuwien.ac.at/

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


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Kris Kennaway
On Mon, Apr 18, 2005 at 09:38:15PM -0600, Brett Glass wrote:
 At 09:19 PM 4/18/2005, Kris Kennaway wrote:
 
 Fortunately, make is not built from a port.  You need to update your
 version of FreeBSD to use ports on that box.
 
 In other words, if one innocently updates one's ports one day, one
 may suddenly find oneself to do anything with ports at all? This
 seems to violate POLA.

The ports support policy is right there on www.freebsd.org/ports for
all to read.  It's always been the case that you have to have your
eyes open if you want to update your FreeBSD system.

Kris


pgp8WalfxFPGq.pgp
Description: PGP signature


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Brett Glass
At 10:16 PM 4/18/2005, Kris Kennaway wrote:
  
The ports support policy is right there on www.freebsd.org/ports for
all to read.

It's not reasonable, IMHO. If a release hasn't been EOLed, ports should
work on it.

--Brett

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


Re: Can't build ports on older FreeBSD machine

2005-04-18 Thread Kris Kennaway
On Mon, Apr 18, 2005 at 10:22:13PM -0600, Brett Glass wrote:
 At 10:16 PM 4/18/2005, Kris Kennaway wrote:
   
 The ports support policy is right there on www.freebsd.org/ports for
 all to read.
 
 It's not reasonable, IMHO. If a release hasn't been EOLed, ports should
 work on it.

OK, but I don't care about your HO on this matter.

Kris

P.S. Reply-to was set for a reason, don't ignore it.

pgpy0fo0wSPXm.pgp
Description: PGP signature


gnome2 over an ssh2 connection

2005-04-18 Thread Joshua Lewis
I connect to my FreeBSD system from a PowerBook and was wondering (mostly
for fun) if I can run Gnome2 or KDE or something within a Terminal
connection on my PowerBook.

I can manage my FreeBSD system fine from a CLI but thought it would be fun
to run Gnome or KDE.

Is what I am mentioning even feasible? Right now after following the
handbook for installing gnome2 (5.7.1.2 Installing GNOME) I startx and get
an error Fatal server error:
xf86EnableIO: Failed to open /dev/io for extended I/O.

If I am just loony let me know otherwise if what I am trying to do is
feasible I will ask the gnome mailing list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: discarded oversize frames

2005-04-18 Thread Kyle Mott
Have you found a solution to this? I am having the same problems on a 
machine very recently updated (cvsupped + buildworld on 4/14/2005):
kernel.log:Feb 25 13:46:40 trinity kernel: rl0: discard oversize frame 
(ether type 3db4 flags 3 len 8381  max 1514)
kernel.log:Apr 10 14:27:37 trinity kernel: rl0: discard oversize frame 
(ether type 5a84 flags 3 len 2614  max 1514)
kernel.log:Apr 18 16:17:53 trinity kernel: rl0: discard oversize frame 
(ether type 1867 flags 3 len 16941  max 1514)

After the message, the machine becomes completely unresponsive and I 
have to do a power-off, power-on reset.


-Kyle

David Malone wrote:
On Fri, Feb 25, 2005 at 10:00:34AM -0500, Jonathan Pater wrote:
 

fxp0: discard oversize frame (ether type 800 flags 3 len 1515  max
1514)
Is this something I should be
worried about, or is it indicative of something else faulty in the local
network setup?
   

This message is produced if the ethernet card receives a packet
that is bigger than permitted by the MTU + the size of the ethernet
header. For normal ethernet this means that packets should be =
1514 bytes.
So, there are three ways to eliminate the the message:
1) Find the machine sending oversize packets and stop it.
2) Change the MTU on your interface using ifconfig, this
will only work if the other machines on the network expect
larget frames.
3) You could edit /usr/src/sys/net/if_ethersubr.c and remove
the code that prints this error and then recompile your
kernel.
David.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


UDP packets dropped due to full socket buffers

2005-04-18 Thread Dmitry S. Vlasov
Hello!
I see next one:
server[root]:/var/tmp # netstat -n -a -p udp
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
udp4   33269  0  *.1646 *.*
udp4   0  0  *.1645 *.*
udp4   0  0  *.69   *.*
udp4   0  0  *.514  *.*
server[root]:/var/tmp # netstat -n -s -a -p udp
udp:
   28698464 datagrams received
   0 with incomplete header
   0 with bad data length field
   0 with bad checksum
   187 with no checksum
   977 dropped due to no socket
   0 broadcast/multicast datagrams dropped due to no socket
   9688498 dropped due to full socket buffers
   0 not for hashed pcb
   19008989 delivered
   18904504 datagrams output
9688498 UDP datagrams was dropped and it's so sad :(
I try to enlarge this sysctl variable:
net.inet.udp.recvspace = 16
But problem still exist...
Can you help me, what else i've to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]