router in freebsd 5.2

2004-10-13 Thread sonjaya
dear all

i newbie  in freebsd ,
i wan create router in freebsd 5.2 here my topolgi 

lan(1)--lan(2)--lan(3)gw--internet

lan(1)= 192.168.1.1/24
lan(2)= 172.18.2.1/16 
lan(3)= 172.18.1.1/16 
gw= 202.158.xx.xx

1. I wan't i can't access  from lan(1) to lan(2) ,
also to lan(3) ( ping , etc ) 
2. In lan(2) can go direct to gw ( internet) with
default gw 172.18.1.1 
3.i want make  lan(1) connect direct to internet by 
gw(172.18.2.1)see point no.2 
4. lan(3) linux router+NAT(IPtables) , lan(2) Freebsd
5.2 , lan(1) microsoft net 

i follow step in here  : 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/dialup-firewall/article.html



here my rc.conf ( lan(2)) 
rl0=172.18.2.1/16
rl1=192.168.1.1/24


hostname=gw.rt-rw.net
defaultrouter=172.18.1.1
ifconfig_rl0=inet 172.18.5.1  netmask 255.255.0.0
ifconfig_rl1=inet 192.168.1.1  netmask 255.255.255.0
firewall_enable=YES
firewall_type=OPEN
firewall_script=/etc/fw1
router_flags=-q
router=/sbin/routed
router_enable=YES
gateway_enable=YES

and here my firewall script ( /etc/fw1)

# Define the firewall command (as in /etc/rc.firewall)
for easy
# reference.  Helps to make it easier to read.
fwcmd=/sbin/ipfw

# Define our outside interface.  With userland-ppp
this
# defaults to tun0.
oif=rl0

# Define our inside interface.  This is usually your
network
# card.  Be sure to change this to match your own
network
# interface.
iif=rl1

# Force a flushing of the current rules before we
reload.
$fwcmd -f flush

# Check the state of all packets.
$fwcmd add check-state
# Stop spoofing on the outside interface.
$fwcmd add deny ip from any to any in via $oif not
verrevpath

# Allow all connections that we initiate, and keep
their state.
# but deny established connections that don't have a
dynamic rule.
$fwcmd add allow ip from me to any out via $oif
keep-state
$fwcmd add deny tcp from any to any established in via
$oif

# Allow all connections within our network.
$fwcmd add allow ip from any to any via $iif

# Allow all local traffic.
$fwcmd add allow all from any to any via lo0
$fwcmd add deny all from any to 127.0.0.0/8
$fwcmd add deny ip from 127.0.0.0/8 to any

# Allow internet users to connect to the port 22 and
80.
# This example specifically allows connections to the
sshd and a
# webserver.
$fwcmd add allow tcp from any to me dst-port 22,80 in
via $oif setup keep-state

# Allow ICMP packets: remove type 8 if you don't want
your host
# to be pingable.
$fwcmd add allow icmp from any to any via $oif
icmptypes 0,3,8,11,12

# Deny and log all the rest.
$fwcmd add deny log ip from any to any

until now i can ping from lan(1) to lan(3) , ofcourse
lan(1) can not acces to internet .

may in here can  tell me what should , thx 





 

=
SONJAYA

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


Etherboot: pkg-descr gives wrong instructions !

2004-10-13 Thread Rob
etherboot version: 5.2.4
Hi,
The instructions for creating bootup floppy for
diskless PCs in ports/net/etherboot/pkg-descr
is very wrong.
The files boot1a.bin device.zrom do not even exist!
Instead the following procedure worked for me:
  # cd /usr/ports/net/etherboot
  # make patch
  # cd work/etherboot-5.2.4/src
  # gmake bin/device.dsk
  # dd if=bin/device.dsk of=/dev/fd0c bs=512 conv=sync
I do not understand why I have to use 'gmake' instead
of the normal 'make' at line 4; 'make' ends here with
an error:
  Makefile, line 6: Could not find arch//Config
  Makefile.main, line 212: Could not find arch//Makefile
  make: fatal errors encountered -- cannot continue
The list for device names can be seen by doing:
# ( cd drivers/net ; ls *.c | sed 's/\.c//' )
With etherboot 5.2.4, the list is:
  3c509 eepro pcnet32
  3c515 eepro100  prism2smc9000
  3c595 epic100   prism2_pcisundance
  3c90x forcedeth prism2_plxtg3
  cs89x0lance r8169 tlan
  davicom   natsemi   rtl8139   tulip
  depca ns83820   sis900via-rhine
  e1000 ns8390sk_g16w89c840
Could somebody please fix this?
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Parental Controls

2004-10-13 Thread Geert Hendrickx
On Sun, Oct 10, 2004 at 01:42:26AM -0700, Ted Mittelstaedt wrote:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Joe Kraft
  Sent: Saturday, October 09, 2004 11:40 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Parental Controls
  
  
  I believe this road is the way to go, I'm using postfix so if this exact 
  solution doesn't work there is certainly a similar one.
  
 
 Yeah, ok, right.
 
 When you can get postfix to do this, let us know how you did it.
 
 Ted

In postfix's main.cf, set always_bcc = [EMAIL PROTECTED]

It forwards all incoming and outgoing mail to the address specified.  

GH

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


Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Geert Hendrickx
On Tue, Oct 12, 2004 at 06:50:42PM +0200, Geert Hendrickx wrote:
 Hello, 
 
 I'm running FreeBSD 4.10-STABLE on a hyperthreaded i386 processor.  My
 kernel has SMP enabled, and with sysctl machdep.hlt_logical_cpus=0, top
 shows two logical cpu's up and running.  Works fine.  
 
 Now I have some weird experiences running Maple 9.5 (with Linux
 emulation).  When sysctl machdep.hlt_logical_cpus is set to 0, Maple
 won't start.  I get the splash screen, but it hangs forever (top shows a
 java process eating all cpu time).  It takes a kill -9 to stop it.  
 
 When machdep.hlt_logical_cpus is set to 1 (single cpu), Maple starts
 fine, I can enter commands and everything works ok (except the help
 function, it crashes very often).  When I set the sysctl back to 0,
 Maple gets very unstable when I enter further commands.  Sometimes it
 hangs (without any cpu action like before), sometimes it crashes, very
 unpredictable behaviour really.  
 
 Does anyone have any clue about what is happening?  And about who is to
 blame, FreeBSD's SMP code, Maple, or maybe the Linux emulation code?  
 
 GH


The problems described above appear to have to do with the Java RE that
comes with the newer versions of Maple (older versions -- at least I
know about version 7 -- didn't use Java, and worked perfectly on
FreeBSD).  

I have hacked and patched some Maple shell scripts, so that Maple uses
the native FreeBSD JDK which I have compiled from the Ports, and now it
seems to work right.  

When I have fully tested this, I would like to update the FreeBSD
documentation (the part about Linux emulation), which describes how to
get Maple running on FreeBSD, and include the patches I've written.  How
should I do this?  

GH

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


Re: GNOME questions

2004-10-13 Thread Gary Dunn
On Wed, 2004-10-06 at 21:36, Gary Kline wrote:
 
   To the Gnome wizards out there,
 
   I've been experimenting with different window managers
   and need some tips on how making Gnome more comfortable 
   feel.  Here are some miscellaneous questions:
 
   How do I create different sized xterms and/or gnome terms
   of different sizes in different workspaces?  

gnome-terminal can save settings in classes, and a class can be
specified on the launch command line. If you want them to open when
Gnome starts, add them in the session startup control.


   Is it possible
   to have an xload app of a given size (or other GUI apps)
   and have them appear on various workspaces, or *all*
   workspaces?  Finally, how can I set up the Fn keys to
   perform certain tasks, for example, have F2 minimize a 
   window/xterm/app, and have F3 put the same application
   in front?

I think these are not so much Gnome attributes, they belong to the
underlying window manager. Sawfish, for example. 
 
   Both Gnome and KDE are nice front ends, but a bit heavy
   on the graphical interface side for a CLI hacker like
   me.  Feedback welcome!

A GUI is to the OS what a CPU case is to a motherboard. I am a Gnome fan
because it has the potential to bring OSS OSes to the masses. I have
always been a Mac fan, and like a well-designed GUI on my workstation.
But when I work on my servers I just ssh in and type away. Go figure.

-- 

Gary Dunn
[EMAIL PROTECTED]
Honolulu

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


Re: Error sending mail from off-network... (details inside)

2004-10-13 Thread Subhro
Are you authenticating yourself before attempting to send out mail to
the ISP SMTP. To prevent spammers, almost all ISPs allow the use of
their SMTPs only after you prove them that you are really a legitimate
customer. Also many ISPs wont allow you to use their mailservers
unless the IP which you are using (rather which had been assigned to
you) belongs to their own pool.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Make search broke?

2004-10-13 Thread Ralph M. Los


::-Original Message-
::From: Kris Kennaway [mailto:[EMAIL PROTECTED] 
::Sent: Wednesday, October 13, 2004 12:54 AM
::To: Ralph M. Los
::Cc: [EMAIL PROTECTED]
::Subject: Re: Make search broke?
::
::
::On Tue, Oct 12, 2004 at 11:45:20PM -0400, Ralph M. Los wrote:
:: Hi,
:: I've been losing my mind over this I even rm -rf 'd 
::my /usr/ports 
:: and downloaded a new tarball... but still, something's 
::borked.  I was 
:: looking at samba versions, and happened to do a make search 
:: name=samba, from my /usr/ports directory.  I got this back..
:: 
:: Port:   samba-2.2.8a_1
:: Path:   /usr/ports/net/samba
:: Info:   A free SMB and CIFS client and server for UNIX
:: Maint:  [EMAIL PROTECTED]
:: B-deps: autoconf-2.13.000227_5 cups-base-1.1.20.0 expat-1.95.7 
:: gettext-0.13.1_1 gmake-3.80_2 jpeg-6b_1 libiconv-1.9.1_3 
:: libtool-1.3.5_2 m4-1.4_1 perl-5.8.2_5 png-1.2.5_3 popt-1.6.4_2 
:: tiff-3.6.1_1
:: R-deps: cups-base-1.1.20.0 expat-1.95.7 gettext-0.13.1_1 jpeg-6b_1
:: libiconv-1.9.1_3 perl-5.8.2_5 png-1.2.5_3 popt-1.6.4_2 tiff-3.6.1_1
:: 
:: OK... fine, then I went and cvs up'd and did the same thing 
::again 
:: Same result.  Weird, because I remember installing from ports 
:: /usr/ports/net/samba and smbd -V yielded 2.2.11 (something), not 
:: 2.2.8!?  So, I rm -rf 'd my /usr/ports and downloaded a new 
:: tarball, tar zxvf 'd it back into /usr, and voila! Same thing.  
:: What the hell am I doing wrong here?
::
::make fetchindex
::
::Kris
::

Make fetchindex did it D'oh.  Thanks for the speedy answer.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  Ralph |
+   Boundariez.com   |
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  ralph[!at]boundariez[dot!]com | Nothing is idiot proof to a +
+AIM: SekurityWizard | sufficiently talented   +
+ICQ: 2206039|   idiot +
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installer

2004-10-13 Thread Subhro
Well this thread had been going on pretty long. Some people say for
the BSD installer, some throw out flames at it. My personal opinion
is, people who want to install and use BSD are expected to rad th
documentation and as far as I can remember, the handbook is pretty
descriptive about explaining the installation procedure. Unlike
Winshit ( read Wind0ze) and Linshit (read Linux) the performance of a
BSD box depends a lot on the steps taken and method followed while
installation. For example, for using soft updates effectively on your
file system, you need to break up the tree in different lables. You
can very well put the whole tree just under a single lable / (root)
but that would not let the kernel use its maximum potential. For
understanding these things some studying of the documentation is
required. In a nutshell, a BSD user can't be spoon feeded.

Getting to the point of RedHat, Mandrake and a few more installers the
poster had mentioned, try running your so called shining, sexy and
probably pretty looking GUI installer on an old Pentium I with just 16
MB RAM. You would understand what I am speaking about. On the other
hand, I use some throwaway 486s to make up a small cluster to solve my
problems and trust me, they work better in terms of raw MFLOP power
than even the latest Pentium IVs and Opetrons. I am not denying the
fact that any piece of software, however small it might be, always has
a good scope of improvement, and the BSD installer is not an exception
to the rule. But neverthless it DOES its work and does it pretty fine,
atleast I think so.

Getting to the point of crudeness of OS installers, do give a shot to
install OpenBSD on any kind of platforms. But OpenBSD is still one of
the most popular OS among network administrators as far as
implementation of packet filters, firewalls, routers (you can go on
naming) are concerned. And I believe the FreeBSD installer is much
polished than the former.

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating Literature

2004-10-13 Thread Subhro
Update from 4.X to 5.X is not impossible. And the basic method does
not differ from the update of any 4.X to 4.Y system (XY) or 5.X to
5.Y system (XY). But you need to study /usr/src/UPDATING VERY VERY
HARD. Also the update is not recommended as the 5.X family uses a new
file system called UFS2. UFS2 is much better in terms of performance,
fault tolerance and security than UFS. However 5.X family IS backward
compatible with UFS. As far as I know there is no method to convert a
UFS file system to UFS2 or vice versa.

Regards
S.


On Wed, 13 Oct 2004 03:33:49 - (GMT), Thomas Beer
[EMAIL PROTECTED] wrote:
 Dear All,
 
 I searched the FBSD site and the web for a compendium
 how to updat from 4.x to 5.x but was unsuccessful.
 
 Any pointers?
 
 Thanks Tom
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

2004-10-13 Thread Bart Silverstrim
On Oct 12, 2004, at 6:44 PM, Greg 'groggy' Lehey wrote:
On Tuesday, 12 October 2004 at  8:42:39 -0400, Bart Silverstrim wrote:
It gets to a point where I solve it by doing this or just no reply at
all.
Problem solved.
I don't see a problem.  What are you talking about?
:-)  Exactly!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't Install FreeBSD 5.x into IBM Machine with 2 XEON CPUs and IBM ServerRAID BIOS 5.11...

2004-10-13 Thread
Dear Sir,

I have a IBM machine with 2 Intel Xeon CPUs  (2.4GHz) , IBM ServerRAID BIOS 
5.11.05, 80P ULTRA160 SCSI DRIVE 36.4G x 5, 1GB RAM. And, I can't install FreeBSD 5.x  
(5.2.1 and 5.3-beta7) into this IBM machine. When I put the Install CD into CDROM, it 
just show a lot of message like Register data and I can't pause it so I can't post 
error message here. :(

I just have a question that if i could install FreeBSD 5.x into this IBM 
machine? 

Thank you very much.


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


Re: topposting (was: colourization in ls command)

2004-10-13 Thread Simon Burke
On Wed, 13 Oct 2004 08:20:19 -0400, Bart Silverstrim
[EMAIL PROTECTED] wrote:
 
 On Oct 12, 2004, at 6:44 PM, Greg 'groggy' Lehey wrote:
 
  On Tuesday, 12 October 2004 at  8:42:39 -0400, Bart Silverstrim wrote:
  It gets to a point where I solve it by doing this or just no reply at
  all.
 
  Problem solved.
 
  I don't see a problem.  What are you talking about?
 
 :-)  Exactly!
 
It may also help if you put the good ole hyphen hyphen space enter'
decent e-mail clients should see this as the start of a sig an will
remove anything below it, i know thunderbird and even gmail does, so
it tidys up the default sig at the end of each post.


-- 
Theres no place like ::1

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


Security patch causes problems (Was How to NOT load AGP)

2004-10-13 Thread Tuc
Hi,

I did a little more investigation of the problem with nVidia on 
5.2.1-RELEASE-pX where X is higher than 4...

It turns out that after hand applying patches, once I apply the
msync5.patch that was p9, my nVidia X starts to have problems and lock up.
Once I back this out, the machine operates properly.  I also ran into problems
where programs were coreing on Signal 6's SSH became useless, perl would
fall over randomly, etc.

This patch was all of 6 new lines, one changed line, but I can swap
back and forth and know that this will cause my machine to misbehave/crash.

Is there any way to start talking to someone to figure out what the
cause is and maybe have a change done?

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


Automatic Firewall software?

2004-10-13 Thread Brian J. McGovern
All,
This morning, I woke up to find one of my systems under hacker attack
(considerable multiple attempts to log in to ftp, ssh, etc., mostly using
system accounts). I loaded ipfw and set up a couple of quick rules to block
the point of origin. Unfortunately, the address appears to be DHCP'ed, so I
expect the hacker will at some point get a new address, and start over.

Rather than having to hang over my machine is there any software out
there that will monitor logs (e.g. /var/log/messages), parse out failed logins
like this, and run an ipfw command to block it? Perhaps something can be done
via PAM? 

An added extra bonus would be if it would unblock after some period
of time, in case a legit. user bungles their password, and can't get in
(saves the service call).

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


Re: Error sending mail from off-network... (details inside)

2004-10-13 Thread Eric Crist
On Oct 13, 2004, at 7:00 AM, Subhro wrote:
Are you authenticating yourself before attempting to send out mail to
the ISP SMTP. To prevent spammers, almost all ISPs allow the use of
their SMTPs only after you prove them that you are really a legitimate
customer. Also many ISPs wont allow you to use their mailservers
unless the IP which you are using (rather which had been assigned to
you) belongs to their own pool.
Regards
S.
I am trying to use my own SMTP server, not my ISPs.  Not only that, but 
I AM trying to authenticate.  As I said in my previous post, I can send 
when dialing in to the 'net, but not when connecting from the ghetto 
network I'm on here.  Only SMTP traffic seems to be stopping/timing 
out.  I can receive mail just fine.

Thanks.
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Geert Hendrickx wrote:
I have hacked and patched some Maple shell scripts, so that Maple uses
the native FreeBSD JDK which I have compiled from the Ports, and now it
seems to work right.  

When I have fully tested this, I would like to update the FreeBSD
documentation (the part about Linux emulation), which describes how to
get Maple running on FreeBSD, and include the patches I've written.  How
should I do this?  

GH
 

You should probably submit appropriate problem reports.   Create
patches with dif(1), and quote them inline in the pr.  For documentation,
the procedure is the same, you just patch the document SGML source.
The FDP primer would have more info on this.
If you have patches for the Maple port itself, it should probably be
discussed on the ports@ list, or perhaps even with the maintainer
him/herself.
I certainly don't speak for the Project itself, but this would seem
to be the canonical way of contributing back to FreeBSD ...
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where'd it go?

2004-10-13 Thread Gene Bomgardner
I remember in 4.6, there was a file where one could determine where 
individual user accounts could log in from. I found it useful in that I 
could allow only certain accounts to log in via telnet via a particular 
interface.

Since I upgraded to 5.2, I can't find that file anywhere, and I can't 
recall what it's called. I don't see it in the handbook either.

Does anyone know if it still exixts and where it is?
Thanx
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installer

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
On Oct 12, 2004, at 6:08 PM, Jerry McAllister wrote
Geez, another top poster who mangles the flow of the thread!!
jerry
James Skinner wrote:
Sorry about that (not really), but Mac Mail places the reply at the top.
Maybe I should use a Leet mail prog like yourself.
Well, the folks at Apple can write their Mail apps however they wish, but
the removal of the down and/or Pg Dn key from the Mac keyboard is,
at the least, a very sad mistake on their part ;-)
:-D
KDK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to update perl on FreeBSD 4.9R (Resolved)

2004-10-13 Thread Paul Schmehl
--On Tuesday, October 12, 2004 08:42:27 PM -0400 Danny 
[EMAIL PROTECTED] wrote:
I did not know you could install Perl module's through the ports.
Thank you, Christopher, Erik, Paul, Donald, and everyone else that
replied.
Bottom line: due to the fact that I did not know you could install
Perl module's via the ports, I got involved in an area (Perl) which I
am not at all familiar with. In my own defence, I have just searched
the FreeBSD site, the Handbook (and the ports section), and there is
no mention that you can install Perl modules from the ports, instead
of going the CPAN route.
No need to defend yourself.  We all learn by asking questions.
I am familiar with the ports, and think very highly of them, but I
have never worked with an application which required an additional
Perl module. But, now I know where to look.
You probably need to know that the CPAN modules are scattered throughout 
the ports tree.  They're usually found in the area they affect (www, 
editors, lang, etc.) depending upon what their function is.  To find one 
you need, use find or locate and search for p5 or p5-{your modulename} 
(like p5-Mail or p5-Mail-Tools.)

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


Shutdown And User Intervention

2004-10-13 Thread Rishi Chopra
Is there a way to issue a shutdown command that
doesn't require me to press a key to reboot?

Currently when I enter the command 'shutdown -p' the
system shuts down gracefully but I have to press a key
to reboot the system.

Ultimately I'd like to be able to power-off the system
gracefully without requiring the user (me) to press a
key  afterwards.

=
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shutdown And User Intervention

2004-10-13 Thread Robert Huff

Rishi Chopra writes:

  Is there a way to issue a shutdown command that
  doesn't require me to press a key to reboot?
  
  Currently when I enter the command 'shutdown -p' the
  system shuts down gracefully but I have to press a key
  to reboot the system.

shutdown -r works for mw.


Robert Huff


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


FW: Shutdown And User Intervention

2004-10-13 Thread Walker, Michael
Subject: Shutdown And User Intervention

 Is there a way to issue a shutdown command that
 doesn't require me to press a key to reboot?
snip

shutdown -p NOW does it for me, I guess it all depends on your
motherboard/BIOS power settings.

Mick Walker


**
This email and any files transmitted with it are confidential, and may be subject to 
legal privilege, and are intended solely for the use of the individual or entity to 
whom they are addressed.  
If you have received this email in error or think you may have done so, you may not 
peruse, use, disseminate, distribute or copy this message. Please notify the sender 
immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for 
the presence of viruses. The Capita Group and its subsidiaries accept no liability for 
any damage caused by any virus transmitted by this e-mail.
***

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


Re: [OT] Error sending mail from off-network... (details inside)

2004-10-13 Thread Ed Budd
Eric Crist wrote:
On Oct 13, 2004, at 7:00 AM, Subhro wrote:
Are you authenticating yourself before attempting to send out mail to
the ISP SMTP. To prevent spammers, almost all ISPs allow the use of
their SMTPs only after you prove them that you are really a legitimate
customer. Also many ISPs wont allow you to use their mailservers
unless the IP which you are using (rather which had been assigned to
you) belongs to their own pool.
Regards
S.

I am trying to use my own SMTP server, not my ISPs.  Not only that, but 
I AM trying to authenticate.  As I said in my previous post, I can send 
when dialing in to the 'net, but not when connecting from the ghetto 
network I'm on here.  Only SMTP traffic seems to be stopping/timing 
out.  I can receive mail just fine.

I had this problem once at a hotel. Turned out the hotel was 
transparently intercepting smtp traffic and funnelling it through their 
own relays. T-Bird's CRAM-MD5 auth was failing because their relays 
didn't support it. Try telnetting to what you think is your smtp server 
and see if your own banner comes up or something else -- that's how I 
discovered what was happening. It was a little unnerving until I figured 
it out.

Out of spite I just tunnelled everything through ssh. How dare they f**k 
with my mail!

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


Re: Where'd it go?

2004-10-13 Thread Subhro
I do not know if any such file existed, but your requirement can be
met using ipfw. ipfw allows/denies packets based on the uid. Have a
look through the man page of ipfw

Regards
S.


On Sun, 10 Oct 2004 15:55:31 -0500, Gene Bomgardner [EMAIL PROTECTED] wrote:
 I remember in 4.6, there was a file where one could determine where
 individual user accounts could log in from. I found it useful in that I
 could allow only certain accounts to log in via telnet via a particular
 interface.
 
 Since I upgraded to 5.2, I can't find that file anywhere, and I can't
 recall what it's called. I don't see it in the handbook either.
 
 Does anyone know if it still exixts and where it is?
 
 Thanx
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't Install FreeBSD 5.x into IBM Machine with 2 XEON CPUs and IBM ServerRAID BIOS 5.11...

2004-10-13 Thread Subhro
Without the error messages it is impossible to find anything out. You
can try to pause the screen of scrolling mesages using the Scroll lock
key and then navigate using the up and down arrows or Pg UP and Pg DN
keys.

Regards
S.


On Wed, 13 Oct 2004 12:01:04 +0800,  [EMAIL PROTECTED] wrote:
 Dear Sir,
 
I have a IBM machine with 2 Intel Xeon CPUs  (2.4GHz) , IBM ServerRAID BIOS 
 5.11.05, 80P ULTRA160 SCSI DRIVE 36.4G x 5, 1GB RAM. And, I can't install FreeBSD 
 5.x  (5.2.1 and 5.3-beta7) into this IBM machine. When I put the Install CD into 
 CDROM, it just show a lot of message like Register data and I can't pause it so I 
 can't post error message here. :(
 
I just have a question that if i could install FreeBSD 5.x into this IBM 
 machine?
 
Thank you very much.
 
 Regard,
 Botzong Jou
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Maple troubles with SMP -- solved. How to contribute this to the FBSD documentation now?

2004-10-13 Thread Geert Hendrickx
On Wed, Oct 13, 2004 at 09:16:42AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Geert Hendrickx wrote:
 
 
 I have hacked and patched some Maple shell scripts, so that Maple uses
 the native FreeBSD JDK which I have compiled from the Ports, and now it
 seems to work right.  
 
 When I have fully tested this, I would like to update the FreeBSD
 documentation (the part about Linux emulation), which describes how to
 get Maple running on FreeBSD, and include the patches I've written.  How
 should I do this?  
 
 GH
 
  
 
 You should probably submit appropriate problem reports.   Create
 patches with dif(1), and quote them inline in the pr.  For documentation,
 the procedure is the same, you just patch the document SGML source.
 The FDP primer would have more info on this.
 
 If you have patches for the Maple port itself, it should probably be
 discussed on the ports@ list, or perhaps even with the maintainer
 him/herself.
 
 I certainly don't speak for the Project itself, but this would seem
 to be the canonical way of contributing back to FreeBSD ...
 
 HTH,
 
 Kevin Kinsey

There is no Maple port, Maple must be installed from a CD with a valid
license key.  But there is a section in the Handbook which describes how
to get Maple running on FreeBSD.  Only, it has become harder with the
newer versions of Maple. :-)  I think I would rather rewrite the current
section than patch it.  Anyway thanks for the notes.  

GH

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


Re: ipfw - denying all - what port for OE

2004-10-13 Thread Dave McCammon

--- David Banning [EMAIL PROTECTED] wrote:

 My server is my desktop. My ipfw rules follow.
 Whenever I take
 out line 12000 is runs fine. When I put it back in I
 can't run
 OE. 
 
 01000 allow tcp from any to any 10060
 01040 allow tcp from any to any 22
 10100 allow tcp from any to any 80
 10200 allow tcp from any to any 10080
 10300 allow tcp from any to any 3128
 10400 allow tcp from any to any 8180
 10600 allow tcp from any to any 8025
 10700 allow tcp from any to any 110
 10800 allow tcp from any to any 25
 10810 allow tcp from any to any 109
 10820 allow tcp from any to any 106
 11001 allow tcp from any to any 389
 11002 allow tcp from any to any 636
 11003 allow tcp from any to any 379
 11004 allow tcp from any to any 390
 11005 allow tcp from any to any 3268
 11006 allow tcp from any to any 3269
 11007 allow tcp from any to any 143
 11008 allow tcp from any to any 993
 11009 allow tcp from any to any 995
 11010 allow tcp from any to any 119
 11011 allow tcp from any to any 563
 11012 allow tcp from any to any 443
 11013 allow tcp from any to any 465
 11015 allow tcp from any to any 625
 11016 allow tcp from any to any 135
 11017 allow tcp from any to any 935
 12000 deny tcp from 209.188.66.29 to any
 
I may be assuming alot here with the info you have
given but

Correct me if I'm wrong but I'm assuming 209.188.66.29
is your machine and it has the services running and,
your ipfw setup in your kernel has 
IPFIREWALL_DEFAULT_TO_ACCEPT.
With that setup, OE will work without rule 12000
because the client-to-server packets match rule 10700
and server-to-client will match the last rule (65535
in #ipfw show).
With rule 12000 inserted, client-to-server packets
match rule 10700 but server-to-client get blocked by
12000.

You may try adding:
01050 allow tcp from any to any established
and add to the end of the rest of the allow rules
setup example:
01000 allow tcp from any to me 10060 setup

or try rewriting your rules to use dynamic rules.
example:
01050 check-state
01000 allow tcp from any to me 10060 setup keep-state
01040 allow tcp from any to me 22 setup keep-state
10100 allow tcp from any to me 80 setup keep-state
10200 allow tcp from any to me 10080 setup keep-state
.
(last rule)
5 deny ip from any to any

Now, if your setup doesn't match what I outlined
above, please send your output of (as root) #ipfw show
. With this output we can better help you adjust your
ruleset.
You may want to also include your /etc/rc.conf file
and what firewall options your have in your kernel
config.







___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating Literature

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Thomas Beer wrote:
Dear All,
I searched the FBSD site and the web for a compendium
how to updat from 4.x to 5.x but was unsuccessful.
Any pointers?
Thanks Tom
 

Recommendations up until the present time have
been to backup data and reinstall from scratch.  This
allows you to format new filesystems as ufs2.
Some users have reported success in using make
buildworld and so forth ... as another poster mentioned
this morning, this is fraught with danger for the inexperienced.
Bruce Mah of the FreeBSD Documentation Project has mentioned
the need for updating the installation materials to reflect the
new realities of operating in a 5-STABLE world.  I do not know
at what stage this part of the project is currently hovering, but
he has at the very least *started* writing a Migration guide;
the link is here:
http://people.freebsd.org/~bmah/pub/article.html
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VoIP: sip client

2004-10-13 Thread Erik Norgaard
jason wrote:

 I found this http://www.voip-info.org/wiki-SIP.  It might help you out.

Thanks, I have been through a number of sites, asterisk.org, iptel.org,
voip-forum.com and the above - but I missed that page.

On freshmeat I have found a project that looks interesting: minisip, see
www.minisip.org. It appears to do just what I have been looking for -
that is VoIP/SIP and not much else. But the interesting part is that
they add some security enhancements, SIP over TLS, SRTP and MIKEY which
are still work-in-progress IETF standards.

However, it is for Linux, GPL, in alpha and not ported - anyone wants to
help?

Cheers, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Automatic Firewall software?

2004-10-13 Thread Paul Schmehl
--On Wednesday, October 13, 2004 10:04:24 AM -0400 Brian J. McGovern 
[EMAIL PROTECTED] wrote:
Rather than having to hang over my machine is there any software out
there that will monitor logs (e.g. /var/log/messages), parse out failed
logins like this, and run an ipfw command to block it? Perhaps something
can be done via PAM?
Yes.  Look at the Sentry Tools project at Sourceforge. 
(http://sourceforge.net/projects/sentrytools/)  In particular, portsentry 
will do exactly what you want.  It will throw up a temporary rule in ipfw 
blocking the host.  (I say temporary because when you restart ipfw it will 
go away.)  It will also add the host to your /etc/hosts.allow file, 
blocking it permanently from accessing privileged services.

An added extra bonus would be if it would unblock after some period
of time, in case a legit. user bungles their password, and can't get in
(saves the service call).
It won't do that, but you can just run ipfw show and then delete the rule. 
Then you can add that host to the portsentry.ignore file, and it will never 
happen again.  (Or you can do it proactively if you know the hosts or 
networks your users will be coming from.)

I've been using it for years.  Works very well, but be careful.  On a large 
server with lots of activity, you probably want to start by not blocking 
anything until you're comfortable with your ignore file.

I also use logsentry on a number of hosts.  Very nice program.  Both are 
well written and quite mature.

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


Re: GNOME questions

2004-10-13 Thread Gary Kline
On Wed, Oct 13, 2004 at 12:00:02AM -1000, Gary Dunn wrote:
 On Wed, 2004-10-06 at 21:36, Gary Kline wrote:
  
  To the Gnome wizards out there,
  
  I've been experimenting with different window managers
  and need some tips on how making Gnome more comfortable 
  feel.  Here are some miscellaneous questions:
  
  How do I create different sized xterms and/or gnome terms
  of different sizes in different workspaces?  
 
 gnome-terminal can save settings in classes, and a class can be
 specified on the launch command line. If you want them to open when
 Gnome starts, add them in the session startup control.
 

In what specific file?  Say that I want two xterms with
a -14-- point type, one anchored at +0-0 and the other
anchored at +0+0.  Also, let's say that I want one to
be initialized with '-iconic' and the other to be displayed.
Where is the session startup control?  (i have looked for
docs on by-hand configuration; haven't found it.)

 
  
[ ... ]


  Both Gnome and KDE are nice front ends, but a bit heavy
  on the graphical interface side for a CLI hacker like
  me.  Feedback welcome!
 
 A GUI is to the OS what a CPU case is to a motherboard. I am a Gnome fan
 because it has the potential to bring OSS OSes to the masses. I have
 always been a Mac fan, and like a well-designed GUI on my workstation.
 But when I work on my servers I just ssh in and type away. Go figure.
 

In just the past few years the number of Gnome-specific 
apps have mushroomed--it's great that FBSD is getting
more user-friendly--but without these hooks I get a slew
of output to stderr.  That's why it's time to move on,
move up.  Given my familiar set of xterms in various
workspaces, switching would be much easier.

gary

 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: GNOME questions

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Gary Kline wrote:
On Wed, Oct 13, 2004 at 12:00:02AM -1000, Gary Dunn wrote:
 

On Wed, 2004-10-06 at 21:36, Gary Kline wrote:
   

To the Gnome wizards out there,
	I've been experimenting with different window managers
	and need some tips on how making Gnome more comfortable 
	feel.  Here are some miscellaneous questions:

	How do I create different sized xterms and/or gnome terms
	of different sizes in different workspaces?  
 

gnome-terminal can save settings in classes, and a class can be
specified on the launch command line. If you want them to open when
Gnome starts, add them in the session startup control.
   


In what specific file? Say that I want two xterms with
a -14-- point type, one anchored at +0-0 and the other
anchored at +0+0. Also, let's say that I want one to
be initialized with '-iconic' and the other to be displayed.
Where is the session startup control? (i have looked for
docs on by-hand configuration; haven't found it.)
Clicky, clicky.  Gnome Menu  Applications  Desktop Preferences
 Advanced  Session ... pick the startup tab.
I *think* this is what you are asking?
I beg forgiveness in advance for a] butting in, b] any obtuseness,
missing the point, etc.
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-13 Thread Andreas Davour
On Wed, 13 Oct 2004, Rishi Chopra wrote:
Is there a way to issue a shutdown command that
doesn't require me to press a key to reboot?
Currently when I enter the command 'shutdown -p' the
system shuts down gracefully but I have to press a key
to reboot the system.
Ultimately I'd like to be able to power-off the system
gracefully without requiring the user (me) to press a
key  afterwards.
Check if you have the acpi kernel module loaded. Without it, the 
shutdown -p can't shutoff the computer without human intervention. At 
least in no way I know.

/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: topposting (was: colourization in ls command)

2004-10-13 Thread Tillman Hodgson
On Wed, Oct 13, 2004 at 01:58:28PM +0100, Simon Burke wrote:
 It may also help if you put the good ole hyphen hyphen space enter'
 decent e-mail clients should see this as the start of a sig an will
 remove anything below it, i know thunderbird and even gmail does, so
 it tidys up the default sig at the end of each post.

For those using Mutt with Vim as their editor, toss this into your
.vimrc:

 Delete quoted .sig's
au BufRead /tmp/mutt-* normal :g/^ -- .*/,/^$/-1d

to accomplish roughly the same thing.

-T


-- 
There is no such thing as 'social gambling.' Either you are there to
 cut the other bloke's heart out and eat it -- or you're a sucker. If
 you don't like this choice -- don't gamble.
-- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shutdown And User Intervention

2004-10-13 Thread Geert Hendrickx
On Wed, Oct 13, 2004 at 07:50:08AM -0700, Rishi Chopra wrote:
 Is there a way to issue a shutdown command that
 doesn't require me to press a key to reboot?
 
 Currently when I enter the command 'shutdown -p' the
 system shuts down gracefully but I have to press a key
 to reboot the system.
 
 Ultimately I'd like to be able to power-off the system
 gracefully without requiring the user (me) to press a
 key  afterwards.

Add the following to your kernel configuration file, build and install a
new kernel and try shutdown -p again: 

device  acpica

It's not in de GENERIC kernel because 1) this feature is still
experimental (however it seems to work fine), and 2) many users never
shutdown -p their FreeBSD machines anyway. :-)  

GH

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


Re: GNOME questions

2004-10-13 Thread Gary Kline
On Wed, Oct 13, 2004 at 11:46:43AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Gary Kline wrote:
 
 On Wed, Oct 13, 2004 at 12:00:02AM -1000, Gary Dunn wrote:
  
 
 On Wed, 2004-10-06 at 21:36, Gary Kline wrote:

 
To the Gnome wizards out there,
 
I've been experimenting with different window managers
and need some tips on how making Gnome more comfortable 
feel.  Here are some miscellaneous questions:
 
How do I create different sized xterms and/or gnome terms
of different sizes in different workspaces?  
  
 
 gnome-terminal can save settings in classes, and a class can be
 specified on the launch command line. If you want them to open when
 Gnome starts, add them in the session startup control.
 

 
 
 In what specific file? Say that I want two xterms with
 a -14-- point type, one anchored at +0-0 and the other
 anchored at +0+0. Also, let's say that I want one to
 be initialized with '-iconic' and the other to be displayed.
 Where is the session startup control? (i have looked for
 docs on by-hand configuration; haven't found it.)
 
 
 Clicky, clicky.  Gnome Menu  Applications  Desktop Preferences
  Advanced  Session ... pick the startup tab.
 
 I *think* this is what you are asking?
 
 I beg forgiveness in advance for a] butting in, b] any obtuseness,
 missing the point, etc.
 

Thanks for your help.  Right now I'm in the midst of 
portupgrading three servers.  So it'll be awhile.  My
test platform for Gnome is my Thinkpad 600E that I've
beefed up as far as possible.   The laptop is my testbed
for new wm's.  (I figure if things will work on a 400MHz,
288M computer, they'll work elsewhere ... I may be wrong!!)

Will I be able to edit this startup?  All I want to do
is find the right file to drop in some customization.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Problem to setup a dual Serial PCI Card under FreeBSD 5.2.1

2004-10-13 Thread Michael Bohn
Hi,
I have a two port serial pci card with a NM9835CV chipset
and I need help to  get this ports to work.
Currently I can see two sio ports in the  dmesg the onborad RS232 and one of the 
dual port PCI Card but the cuaa1 did not work. 


sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
 
Did anbody kowns how to  configure it?

1. did I need the optionCOM_MULTIPORT   ?  
2. Which line did I need in the  /boot/device.hints ?
3. What other things could be the reason for this problem.



Thank for Help 


Michael 



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


Unable to umount Cdrom drive.

2004-10-13 Thread Laszlo Antal
Hi,
I have FreeBSD 4.10 installed.
When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom
everything works fine.I can get to my ports and everything
But when I want to swap cds and I type #umount /cdrom
I get this error message:: Unable to umount /cdrom, Device is busy.
If I do the umont from KDE I get the same error message.
What I'm doing wrong??
Thank you for all the help.
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[SOLVED] Re: [OT] Error sending mail from off-network... (details inside)

2004-10-13 Thread Eric Crist
On Oct 13, 2004, at 10:05 AM, Ed Budd wrote:
Eric Crist wrote:
On Oct 13, 2004, at 7:00 AM, Subhro wrote:
Are you authenticating yourself before attempting to send out mail to
the ISP SMTP. To prevent spammers, almost all ISPs allow the use of
their SMTPs only after you prove them that you are really a 
legitimate
customer. Also many ISPs wont allow you to use their mailservers
unless the IP which you are using (rather which had been assigned to
you) belongs to their own pool.

Regards
S.
I am trying to use my own SMTP server, not my ISPs.  Not only that, 
but I AM trying to authenticate.  As I said in my previous post, I 
can send when dialing in to the 'net, but not when connecting from 
the ghetto network I'm on here.  Only SMTP traffic seems to be 
stopping/timing out.  I can receive mail just fine.
I had this problem once at a hotel. Turned out the hotel was 
transparently intercepting smtp traffic and funnelling it through 
their own relays. T-Bird's CRAM-MD5 auth was failing because their 
relays didn't support it. Try telnetting to what you think is your 
smtp server and see if your own banner comes up or something else -- 
that's how I discovered what was happening. It was a little unnerving 
until I figured it out.

Out of spite I just tunnelled everything through ssh. How dare they 
f**k with my mail!

EB

Yeah.  Shortly after sending my last email, I did just that.  Their 
server responds that it _is_ my server, but AUTH and other things don't 
work.  I'm staying at a hotel, but I just so happen to be installing 
new access-control hardware for this casino, which owns the hotel.  
Their MIS/IT staff aren't the brightest, and I've come to learn that 
there is not SMTP server setup to handle the funneling.  Kinda ironic - 
they funnel to their non-existent mail server.

To fix this, I opened a non-standard port on my mail server and was 
using that.  What I realized was they aren't blocking 465, which is 
open for SSL, which I had just forgotten to setup on this new laptop 
(bought it two days before going out of town).

Long story short - their IT staff aren't the brightest.
Thanks!
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: Unable to umount Cdrom drive.

2004-10-13 Thread Matthew Seaman
On Wed, Oct 13, 2004 at 11:22:12AM -0700, Laszlo Antal wrote:

 When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom

Verb. Sap.  Make that:

# mount -t cd9660 -o ro /dev/acd0c /cdrom

For best results, set up all of the options etc. in /etc/fstab, and
then just use:

# mount /cdrom

 everything works fine.I can get to my ports and everything
 But when I want to swap cds and I type #umount /cdrom
 I get this error message:: Unable to umount /cdrom, Device is busy.
 If I do the umont from KDE I get the same error message.
 What I'm doing wrong??

You've either got a process with it's current working directory
somewhere under /cdrom, or you've got a process with an open file
descriptor (or a memory map) on one of the files on the CD.

Try using:

# fstat -f /cdrom

to see if you can identify the culprits.  Then either close them down,
or CD to elsewhere in the filesystem if it's an interactive session.
Once the CD Rom is idle, you should be able to dismount it easily.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpsvtzvV21BD.pgp
Description: PGP signature


Wireless card problem.

2004-10-13 Thread Laszlo Antal
I have 4.10 FreeBSD installed on my laptop.
Everything working fine exept the Wireless network card stop working 
after about 5-10min. I disable the APM in the kernel but it still 
stops.
At boot up when the startup bring up my network cards the wireless
card on the bottom is POWERSAVING OFF POWERSLEEPING 100!!
My last idea is the POWERSLEEPING 100 is the problem but I could not 
figureout how to disable or set it to OFF.

Can somebody point me in the right direction?
Thank you Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to umount Cdrom drive.

2004-10-13 Thread Eric Crist
On Oct 13, 2004, at 1:29 PM, Matthew Seaman wrote:
On Wed, Oct 13, 2004 at 11:22:12AM -0700, Laszlo Antal wrote:
When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom
Verb. Sap.  Make that:
# mount -t cd9660 -o ro /dev/acd0c /cdrom
For best results, set up all of the options etc. in /etc/fstab, and
then just use:
# mount /cdrom
everything works fine.I can get to my ports and everything
But when I want to swap cds and I type #umount /cdrom
I get this error message:: Unable to umount /cdrom, Device is busy.
If I do the umont from KDE I get the same error message.
What I'm doing wrong??
You've either got a process with it's current working directory
somewhere under /cdrom, or you've got a process with an open file
descriptor (or a memory map) on one of the files on the CD.
Try using:
# fstat -f /cdrom
to see if you can identify the culprits.  Then either close them down,
or CD to elsewhere in the filesystem if it's an interactive session.
Once the CD Rom is idle, you should be able to dismount it easily.
To elaborate on what Matthew was saying, if you cd /cdrom once it's 
mounted, and you try to unmount, you're going to get an error.  I 
always make certain to cd back home and the unmount the CD.  You can't 
unmount a device that you're currently 'on.'

HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Where can I read the old questions??

2004-10-13 Thread Laszlo Antal
Hi,
I am trying to install Apache and PHP and MySQL. I'm having some trouble 
but I don't want to bug anybody with my questions.
I remember There was a lot of question about this topic So I would love 
to browse through them.

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


Re: Unable to umount Cdrom drive.

2004-10-13 Thread W. D.
At 13:22 10/13/2004, Laszlo Antal wrote:
Hi,

I have FreeBSD 4.10 installed.
When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom
everything works fine.I can get to my ports and everything
But when I want to swap cds and I type #umount /cdrom
I get this error message:: Unable to umount /cdrom, Device is busy.
If I do the umont from KDE I get the same error message.
What I'm doing wrong??

Thank you for all the help.

Laszlo

This can happen if your present working directory is

/cdrom

Just switch directories:

cd /

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: Where can I read the old questions??

2004-10-13 Thread Kris Kennaway
On Wed, Oct 13, 2004 at 11:36:56AM -0700, Laszlo Antal wrote:
 Hi,
 
 I am trying to install Apache and PHP and MySQL. I'm having some trouble 
 but I don't want to bug anybody with my questions.
 I remember There was a lot of question about this topic So I would love 
 to browse through them.

http://docs.freebsd.org lets you browse or search the mailing lists.
http://www.google.com/bsd/ is a better search index for bsd-related
stuff than the freebsd.org search engine.

Kris


pgpwS9Y3r787e.pgp
Description: PGP signature


Re: Where'd it go?

2004-10-13 Thread Christopher Nehren
On Sun, 2004-10-10 at 15:55 -0500, Gene Bomgardner wrote:
 I remember in 4.6, there was a file where one could determine where 
 individual user accounts could log in from. I found it useful in that I 
 could allow only certain accounts to log in via telnet via a particular 
 interface.
 
 Since I upgraded to 5.2, I can't find that file anywhere, and I can't 
 recall what it's called. I don't see it in the handbook either.
 
 Does anyone know if it still exixts and where it is?

The file about which you're enquiring is called login.access(5).


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


Re: Can't Install FreeBSD 5.x into IBM Machine with 2 XEON CPUs and IBM ServerRAID BIOS 5.11...

2004-10-13 Thread Mike Schuette
(My first post to this list, so no whining if I
top/bottom/whatever-posted incorrectly.)

I know that at least with floppy disks such as memtest, if the boot
sector is corrupt, you will get lots of hex codes spat onto your screen,
as this is the BIOS's only method of reporting errors. Perhaps try a
different CD, or making boot floppies  installing over the network.

Mike Schuette
Micro Systems Consulting
Minocqua, WI 54548


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


Re: Where can I read the old questions??

2004-10-13 Thread Matthew Seaman
On Wed, Oct 13, 2004 at 11:36:56AM -0700, Laszlo Antal wrote:

 I am trying to install Apache and PHP and MySQL. I'm having some trouble 
 but I don't want to bug anybody with my questions.
 I remember There was a lot of question about this topic So I would love 
 to browse through them.

There's nearly two years worth of archived postings to this list at:

http://lists.freebsd.org/pipermail/freebsd-questions/

which you can browse through.  You can guess how to find the archives
for the other FreeBSD lists...  Older messages can be found at:

http://docs.freebsd.org/mail/

but it's not such a nice interface.  A good trick with Google is to
search for:

site:freebsd.org your topic of interest

which will find all matching pages on any freebsd.org site -- most of
which are mailing list messages.

On the other hand, see

http://freebsd.rambler.ru/

for a very nice searchable interface to an archive of all of the
FreeBSD mailing lists.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgprJUotlNS2N.pgp
Description: PGP signature


RE: how do I suppress system messages?

2004-10-13 Thread Kevin Glick
Lynette,

System messages print out to the console on tty0 only, by default.  If you
want to use the console, switch to tty1 or above.  Do this by ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check /etc/defaults/rc.conf for
syslogd.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?

This is something that drives me crazy but I've not been able to find a way
to stop it. 

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain because
they even come across the screen when I'm using VI to edit files and then I
can't figure out the line I was in the middle of editing, and end up doing a
:q! and starting over, very frustrating because we get tons of mail and it
seems like I can't do anything as root because of these messages. 

Is there a command that will suppress the messages?   I remember being able
to do that when I was working on an HP-UX system but haven't figured it out
under FreeBSD.

Thanks for any help!

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


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


Re: Where can I read the old questions??

2004-10-13 Thread Danny MacMillan
On Wed, Oct 13, 2004 at 12:39:23PM -0600, Kris Kennaway wrote:
 
 ...
 
 http://www.google.com/bsd/ is a better search index for bsd-related
 stuff than the freebsd.org search engine.
 
 Kris

That's great!  But at least for me, you have to leave off the
trailing slash:  http://www.google.com/bsd

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


Re: how do I suppress system messages?

2004-10-13 Thread Eric Crist
On Oct 13, 2004, at 2:08 PM, Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If 
you
want to use the console, switch to tty1 or above.  Do this by 
ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L 
will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check 
/etc/defaults/rc.conf for
syslogd.

Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?
This is something that drives me crazy but I've not been able to find 
a way
to stop it.

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain 
because
they even come across the screen when I'm using VI to edit files and 
then I
can't figure out the line I was in the middle of editing, and end up 
doing a
:q! and starting over, very frustrating because we get tons of mail 
and it
seems like I can't do anything as root because of these messages.

Is there a command that will suppress the messages?   I remember being 
able
to do that when I was working on an HP-UX system but haven't figured 
it out
under FreeBSD.

Thanks for any help!
Lynette

You can also disable this by editing the file /etc/syslog.conf and 
commenting out the following line:

*.err;kern.debug;auth.notice;mail.crit  /dev/console
Simply put a # in front, save the file, and restart syslogd by doing 
the following as root:
# killall -1 syslogd

HTH
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Increasing variable#

2004-10-13 Thread FreeBSD questions mailing list
Hi
I need some help with this script I'm trying to write.
This is what I have:
#!/bin/sh
Max=4
Count=1
until [ $Count -gt $Max ]
do
   A$Count= `...something...`
Count=$(($Count+1))
done
exit 0
I want to put the result of something in a serie of variables with an 
increasing number in it's name:
A1=result_of_something
A2=result_of_something
A3=result_of_something
A4=...
etc.
until $Count  $Max

I don't know how to create such a variables serie, well, at least the 
example isn't working because the syntax A$Count generates an error and 
I have no idea what it should be.
I don't know how to search for such a topic...

Can anyone tell me how this should be handled?
thanks in advance,
Arno
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


acx100 on amd64

2004-10-13 Thread Bengt Torstensson
Hello
I've tried to find acx100-chipset driver for my built-in wlancard in my
laptop(ASUS L5800DF).
I have founds drivers for x86 and amd64(Linux-version of the drivers) but
none amd64-drivers for freebsd.
Is there any wrapper or something that i could use to get my wlan-card
working?
Thanks in advance,
Bengt Torstensson


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


Re: Increasing variable#

2004-10-13 Thread Paul Schmehl
--On Wednesday, October 13, 2004 10:26:09 PM +0200 FreeBSD questions 
mailing list [EMAIL PROTECTED] wrote:

Hi
I need some help with this script I'm trying to write.
If you google for unix shell scripting tutorial you will find a wealth of 
material on the web that will teach you anything you need to know about 
scripting.

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


Re: Postgres

2004-10-13 Thread Dick Davies
* Norman Uittenbogaart [EMAIL PROTECTED] [1010 16:10]:
 I'm trying to write a backup script for postgres and us a crontab on it.
 In the manual it says for pg_dumpall make $HOME/.pgpass so it won't ask 
 for a password.
 Now I made the .pgpass in root's homedir (i wanted to use root's 
 crontab) paste the password in it, chmod 400 it ...

Can't you just pgdump from the local socket? And not bother with the password
thing at all?


-- 
I never meant to hurt you. Just destroy everything you ever believed in. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing variable#

2004-10-13 Thread FreeBSD questions mailing list
On 13 okt 2004, at 22:34, Paul Schmehl wrote:
--On Wednesday, October 13, 2004 10:26:09 PM +0200 FreeBSD questions 
mailing list [EMAIL PROTECTED] wrote:

Hi
I need some help with this script I'm trying to write.
If you google for unix shell scripting tutorial you will find a 
wealth of material on the web that will teach you anything you need to 
know about scripting.

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

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


Re: Where can I read the old questions??

2004-10-13 Thread W. D.
At 13:36 10/13/2004, Laszlo Antal wrote:
Hi,

I am trying to install Apache and PHP and MySQL. I'm having some trouble 
but I don't want to bug anybody with my questions.
I remember There was a lot of question about this topic So I would love 
to browse through them.

Thank you Laszlo

--lantal

There are several places that have the archives to this
list.  However, Mail-Archive.com makes it very easy to
follow threads:

http://www.Mail-Archive.com/[EMAIL PROTECTED]/
http://www.Mail-Archive.com/lists.html



Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: Postgres

2004-10-13 Thread Randy Grafton
Dick Davies wrote:
* Norman Uittenbogaart [EMAIL PROTECTED] [1010 16:10]:
 

I'm trying to write a backup script for postgres and us a crontab on it.
In the manual it says for pg_dumpall make $HOME/.pgpass so it won't ask 
for a password.
Now I made the .pgpass in root's homedir (i wanted to use root's 
crontab) paste the password in it, chmod 400 it ...
   

Can't you just pgdump from the local socket? And not bother with the password
thing at all?
 

I chose to go with the pg_dump solution command from root's crontab. 
Cron runs a script once a night with the following commands:
DATE=`/bin/date +%Y%m%d`
/usr/local/bin/vacuumdb -a -F -v -U pgsql  /var/backups/$DATE_pg.vac
/usr/local/bin/pg_dump -Fc -U pgsql db_name  /var/backups/$DATE_db.bu

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


Re: Postgres

2004-10-13 Thread Andrew L. Gould
On Wednesday 13 October 2004 04:20 pm, Randy Grafton wrote:
 Dick Davies wrote:
 * Norman Uittenbogaart [EMAIL PROTECTED] [1010 16:10]:
 I'm trying to write a backup script for postgres and us a crontab
  on it. In the manual it says for pg_dumpall make $HOME/.pgpass so
  it won't ask for a password.
 Now I made the .pgpass in root's homedir (i wanted to use root's
 crontab) paste the password in it, chmod 400 it ...
 
 Can't you just pgdump from the local socket? And not bother with the
  password thing at all?

 I chose to go with the pg_dump solution command from root's crontab.
 Cron runs a script once a night with the following commands:
 DATE=`/bin/date +%Y%m%d`
 /usr/local/bin/vacuumdb -a -F -v -U pgsql 
 /var/backups/$DATE_pg.vac /usr/local/bin/pg_dump -Fc -U pgsql
 db_name  /var/backups/$DATE_db.bu

 -Randy

Why not run use pgsql's crontab?

Best of luck,

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


Re: how do I suppress system messages?

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynette Tillner
Sent: Wednesday, October 13, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: how do I suppress system messages?
This is something that drives me crazy but I've not been able to find a way
to stop it. 

When I log into my FreeBSD 4.6 Web Server as root, I get messages from
sendmail that I can't suppress with dmesg.  They are a real pain because
they even come across the screen when I'm using VI to edit files and then I
can't figure out the line I was in the middle of editing, and end up doing a
:q! and starting over, very frustrating because we get tons of mail and it
seems like I can't do anything as root because of these messages. 

Is there a command that will suppress the messages?   I remember being able
to do that when I was working on an HP-UX system but haven't figured it out
under FreeBSD.

Thanks for any help!

Lynette

Kevin Glick wrote:
Lynette,
System messages print out to the console on tty0 only, by default.  If you
want to use the console, switch to tty1 or above.  Do this by ALT+2(tty1),
ALT+3(tty2), etc.
When you're in Vi, and syslog prints across the screen, using CTRL+L will
re-draw the screen, and remove the syslog messages.
If you want to get rid of the messages altogether, look into disabling
syslogd, via /etc/rc.conf.  (Man syslogd, or check /etc/defaults/rc.conf for
syslogd.
Kevin Glick
ITS Manager
Sterling Business Forms
[EMAIL PROTECTED]
 

Some good advice here, for sure, but does she really want to disable
syslogd, unless the only service she really cares about on this
box is http (and unless she'd disabled a lot of stuff, it probably
isn't...)??  IIRC, in /etc/syslog.conf, instruction is given on how
to redirect ttyv0 output to /var/log/console.log, which seems a
better option.  Disabling syslogd would ((probably)) stop logging
of some useful information (like auth.info) as well as the sendmail
output that's driving her crazy. Disclaimer: I'm not an expert,
and don't [exactly] play one on questions@ ...
My $0.02,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to umount Cdrom drive.

2004-10-13 Thread terry tyson
On Wed, 13 Oct 2004 11:22:12 -0700, Laszlo Antal [EMAIL PROTECTED] wrote:
 Hi,
 
 I have FreeBSD 4.10 installed.
 When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom
 everything works fine.I can get to my ports and everything
 But when I want to swap cds and I type #umount /cdrom
 I get this error message:: Unable to umount /cdrom, Device is busy.
 If I do the umont from KDE I get the same error message.
 What I'm doing wrong??
 
 Thank you for all the help.
 
 Laszlo
 
Try
# umount /dev/acd0c
HTH
-- 
Terry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help! Vinum drive crashed

2004-10-13 Thread Marc Smits
Dear Vinum-know-it-all / Greg:-)

Vinum reported one my disks in the volume has crashed. As mentioned in the thread
http://lists.freebsd.org/pipermail/freebsd-questions/2004-May/045942.html I did 2 
things.

1. vinum - setstate up BigDisk0.p0.s0 BigDisk0.p0
FreeBSD did not like that and decided to reboot once I tried to mount 
/dev/vinum/BigDisk0

2. vinum - create -f /etc/vinum.conf
Now I have an extra plex in the volume BigDisk0.p0, instead of an extra
volume which I can mount.

As for now I assume I can still get the voluma back up and get my data
back. Can anyone tell me how?

Thanks a lot, Marc



ttyp2 0:20 #kneh# [/dev/vinumuname -a
FreeBSD kneh.xs4all.nl 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 
2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

ttyp2 0:21 #kneh# [/home/marcvinum start
Warning: defective objects

P BigDisk0.p0 C State: corrupt  Subdisks: 3 Size:228 GB
S BigDisk0.p0.s0State: stalePO:0  B Size: 76 GB

ttyp2 0:29 #kneh# [/dev/vinumvinum list
6 drives:
D a State: up   Device /dev/ad0hAvail: 78159/78159 MB 
(100%)
D b State: up   Device /dev/ad1hAvail: 78159/78159 MB 
(100%)
D c State: up   Device /dev/ad2hAvail: 78159/78159 MB 
(100%)

1 volumes:
V BigDisk0  State: up   Plexes:   2 Size:228 GB

2 plexes:
P BigDisk0.p0 C State: corrupt  Subdisks: 3 Size:228 GB
P BigDisk0.p1 C State: up   Subdisks: 0 Size:  0  B

3 subdisks:
S BigDisk0.p0.s0State: stalePO:0  B Size: 76 GB
S BigDisk0.p0.s1State: up   PO:   76 GB Size: 76 GB
S BigDisk0.p0.s2State: up   PO:  152 GB Size: 76 GB

/varlog/vinum_history does not contain anything shocking. Just the following a number 
of times:
14 Oct 2004 00:36:44.888556 *** Created devices ***
14 Oct 2004 00:37:22.739420 *** vinum started ***
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changing MTU size for Netgraph pseudo devices

2004-10-13 Thread Denis Guerrero
I recently came across the documentation provided at
http://archives.neohapsis.com/archives/sf/ids/2003-q4/0029.html
for implementing the Netgraph Fast-Channel kernel module on FreeBSD 
systems it works great. One thing that I have not been able to figure 
out is how to change the mtu on the pseudo device to anything greater 
than 1500(I want mtu 9000). If I do

#ifconfig fec0 mtu 1000 (this works if its any value less than 1500)
but, if I do
#ifconfig fec0 mtu 9000 (I get the following:  ifconfig: ioctl (set 
mtu): Invalid argument )

I also tried changing the NG_FEC_MTU_Default 1500 line in the 
ng_fec.h file to

NG_FEC_MTU_Default 9000
and then do a build/install new kernel and build/install world. Still 
have no success. Any suggestions would be greatly appreciated.

HERE IS MY ENTIRE SCRIPT:
#! /bin/sh
 echo load module;
 cd /usr/src/sys/modules/netgraph/fec/
 kldload /usr/src/sys/modules/netgraph/fec/ng_fec.ko
 echo kldstat results;
 kldstat
 echo create psuedo fec interfaces;
 ngctl mkpeer fec dummy fec
 echo bind physical interfaces to pseudo devices;
 ngctl msg fec0: add_iface 'em0'
 ngctl msg fec0: add_iface 'em1'
 echo set capture mode for each pseudo interface;
 ngctl msg fec0: set_mode_inet
 echo set all physical and pseudo interfaces to promiscuous mode;
 ifconfig fec0 promisc
 ifconfig em0 promisc
 ifconfig em1 promisc
 echo bring up pseudos;
 ifconfig fec0 up
Regards,
Denis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to umount Cdrom drive.

2004-10-13 Thread Randy Grafton
Mike Jeays wrote:
On Wed, 2004-10-13 at 14:22, Laszlo Antal wrote:
 

Hi,
I have FreeBSD 4.10 installed.
When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom
everything works fine.I can get to my ports and everything
But when I want to swap cds and I type #umount /cdrom
I get this error message:: Unable to umount /cdrom, Device is busy.
If I do the umont from KDE I get the same error message.
What I'm doing wrong??
Thank you for all the help.
Laszlo
--lantal
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
   

I use a script eject, as follows. It CDs back to my home directory,
and then ejects the CD. Lazy but effective.
#!/bin/sh
cd $HOME
umount /cdrom
cdcontrol -f /dev/acd0c eject

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

Most of the time this message pops up because either you are in the 
/cdrom (mounted) directory or a file form that directory is still in use.
The 'eject' script is a pretty good idea.

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


Daily reboots...

2004-10-13 Thread Eric Crist
Hello all,
I don't know why, but my system keeps restarting at about 14:00 or 
14:30 every day.  Really starting to p!ss me off.  Any ideas what could 
be causing this, or how I could find it?

Thanks.
-
Eric F Crist
Secure Computing Networks


PGP.sig
Description: This is a digitally signed message part


Re: Daily reboots...

2004-10-13 Thread Kris Kennaway
On Wed, Oct 13, 2004 at 07:11:25PM -0500, Eric Crist wrote:
 Hello all,
 
 I don't know why, but my system keeps restarting at about 14:00 or 
 14:30 every day.  Really starting to p!ss me off.  Any ideas what could 
 be causing this, or how I could find it?

Could be internal (e.g. cron job doing something special) or external
(e.g. something else causing a massive drain on the power line at the
time, dropping the voltage supplied to your system) factors.


pgpVzRsfZ1zOe.pgp
Description: PGP signature


Re: Daily reboots...

2004-10-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Kris Kennaway wrote:
On Wed, Oct 13, 2004 at 07:11:25PM -0500, Eric Crist wrote:
 

Hello all,
I don't know why, but my system keeps restarting at about 14:00 or 
14:30 every day.  Really starting to p!ss me off.  Any ideas what could 
be causing this, or how I could find it?
   

Could be internal (e.g. cron job doing something special) or external
(e.g. something else causing a massive drain on the power line at the
time, dropping the voltage supplied to your system) factors.
 

I've also experienced this due to CPU overheating; but it wasn't in
the afternoon.  An early morning cron job doing backups via tar
and scp over a network caused the CPU (which had a dying fan)
to overheat and the system shut down as a result, as near as we
could tell in post-mortem.  BIOS was apparently set to allow it
to restart, and loads during the workday never peaked enough
to tax the CPU as much as the nightly backup.  Something of an
interesting detective case (for us).
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-13 Thread Subhro
On Thu, 14 Oct 2004 00:11:05 -0400 (EDT), John Gillis [EMAIL PROTECTED] wrote:
My apologies if this has already been asked. I'd like to upgrade
 my non-production machines to 5.3

Nice idea

 once it is released, however I'd like
 the production servers to lag behind once I make sure everything is
 working right.

If everything is not working right, then 5.3 wouldnever be tagged
STABLE. This is not Windows.

This might mean that my production servers would be running 4.x
 for the next few months. Compiling world, the kernel, and ports is done on
 non-production machines however, with the ports being packaged and
 installed on the servers and /usr/src being NFS mounted from a
 non-production machine.

4.10-R uses gcc 2.95 and 5.3 uses gcc 3.4. The binaries compiled with
the later are not backward compatble.

After installing 5.3 on the non-production machines, I'd like to
 track the 4-RELEASEs into another directory, say /usr/src.4 while tracking
 5.3-RELEASE in /usr/src.

This can be done without trouble. man cvsup.

snip

Regards
S.

-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling 4-RELEASE on 5-STABLE

2004-10-13 Thread John Gillis
 If everything is not working right, then 5.3 wouldnever be tagged
 STABLE. This is not Windows.

Granted, however I need to make sure that everything works fine in
my environment on my hardware with my software. The reason I use FreeBSD
is that I trust your release engineering moreso than any other vender (as
it were)*, however.. there are still things that could go wrong and I
prefer not to find out when a production server heads south or doesn't
have the right firmware on the RAID card.. so that's why I lag.

Also, at least one piece of hardware is near impossible to
upgrade. An old 486/25 that's running Snort, without a cd-rom and a 200M
hard drive.

 4.10-R uses gcc 2.95 and 5.3 uses gcc 3.4. The binaries compiled with
 the later are not backward compatble.

What about my question about boot strapping? Does that ensure that
I could compile the world/kernel of 4.x on 5.3?
John


* Are you a vendor? You don't vend... I should say that I trust you more
than any other operating system.. but that's too wordy.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


old way and new way still same error

2004-10-13 Thread sonjaya
 dear all 
 
  i try make new kernel for my machine freebsd ,i
 ussualy do that whit this 
 gw-mtc# cd /usr/src/sys/i386/conf/
 gw-mtc# /usr/sbin/config BANDOENG3
 Kernel build directory is ../compile/BANDOENG3
 Don't forget to do a ``make depend''
 gw-mtc# cd ../compile/BANDOENG3/
 gw-mtc# make depend
 rm -f .olddep
 if [ -f .depend ]; then mv .depend .olddep; fi
 make _kernel-depend
 cc -c -O -pipe -mcpu=pentiumpro -Wall
 -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual -fformat-extensions -std=c99 -g
 -nostdinc
 -I- -I. -I../../.. -I../../../contrib/dev/acpica
 -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd
 -I../../../contrib/ngatm -D_KERNEL -include
 opt_global.h -finline-limit=8000 --param
 inline-unit-growth=100 --param
 large-function-growth=1000 -mno-align-long-strings
 -mpreferred-stack-boundary=2 -ffreestanding
 ../../../i386/i386/genassym.c
 cc1: error: invalid parameter `inline-unit-growth'
 cc1: error: invalid parameter
 `large-function-growth'
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/BANDOENG3.
 gw-mtc#
 
 
 i do another way like in freebsd handbook :
 gw-mtc# rm -rf /usr/obj/*
 gw-mtc# cd /usr/src/
 gw-mtc# make buildkernel KERNCONF=BANDOENG3
 cd /usr/src/sys/modules;

MAKEOBJDIRPREFIX=/usr/obj/usr/src/sys/BANDOENG3/modules
 KMODDIR=/boot/kernel DEBUG_FLAGS=-g MACHINE=i386
 KERNBUILDDIR=/usr/obj/usr/src/sys/BANDOENG3 make 
 cleandir
 +for: not found
 *** Error code 127
 
 Stop in /usr/src/sys/modules.
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/BANDOENG3.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 gw-mtc#
 
 
 any body here what should i fix it, i doit cvsup
 every
 morning and get problem like this .
 thc
 

 


=
SONJAYA

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


stopping sendmail completely

2004-10-13 Thread Choy Kho Yee
Hi, I wish to stop sendmail from starting during boot up completely
since I don't need it. And I found this on the net:
 By the way, if getting rid of Sendmail is your goal, then
 sendmail_enable=NONE, while working, is not the best solution.
 sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
 setting, and you can easily disable even loading rc.sendmail by 
setting
 the mta_startup_script knob to an empty string ().

Does this mean that I only need to add the entry:
#--
mta_startup_script=
#-
in /etc/rc.conf to stop sendmail completely?
Thanks.
---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/
There are only 10 types of people in the world, i.e.
those who understand binary numbers and those who do not.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]